﻿.popup-bg {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 9999;
}

.open-modal {
    background-color: #418fde;
    color: #fff;
    padding: 5px 5px;
    margin: 0;
    border: none;
    cursor: pointer;
    width: auto;
    z-index: 6001;
    position: fixed;
    right: 15px;
    bottom: 0px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

    .open-modal:hover {
        background-color: #3e3e3e;
    }



/*popup contact modal css*/

#modalForm {
    width: 513px;
}

.modal-closed {
    position: relative;
    top: 5px;
    right: 1.5%;
    float: right;
    color: #000;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
}


.modal-opened {
    font-size: 16px;
}

@media (max-width: 767px) {
    .open-modal {
        background-color: #418fde;
        color: #fff;
        padding: 5px 0px 0px 5px;
        margin: 0;
        border: none;
        text-align: center;
        cursor: pointer;
        width: 90%;
        z-index: 6001;
        position: fixed;
        right: 5%;
        bottom: 0px;
        border-top-left-radius: 10px;
        border-top-right-radius: 10px;
    }
}

@media (max-width: 768px) {
    .modal-opened {
        font-size: 18px;
    }

    .scrolll {
        overflow: scroll;
        z-index: 999999999999;
        position: absolute;
        width: 100%;
        height: 80vh;
    }

    div#modalForm {
        left: 2.5% !important;
        right: 2.5% !important;
        width: 95%;
        height: 85vh;
        position: fixed !important;
        top: 35px !important;
    }

    .popup-bg {
        display: none;
        position: fixed;
        z-index: 1;
        background-color: rgb(0, 0, 0);
        background-color: rgba(0, 0, 0, 0.4);
        z-index: 9999;
    }
}

#modalForm label {
    text-transform: none;
    font-weight: 400;
}

#modalForm input[type=text], #modalForm input[type=email], #modalForm textarea {
    width: 100%;
    padding: 10px;
    margin: 5px 0px;
}

.grecaptcha-badge {
    visibility: hidden;
}

#modalForm label {
    display: none;
}

div#modalForm {
    position: relative;
    top: 0%;
    left: 0%;
}

/*Pulse Effect*/
.pulse {
    display: block;
    background: #418fde;
    cursor: pointer;
    box-shadow: 0 0 0 rgba(204,169,44, 0.5);
    animation: pulse 2s infinite;
}

    .pulse:hover {
        animation: none;
    }

@-webkit-keyframes pulse {
    0% {
        -webkit-box-shadow: 0 0 0 0 rgba(65, 143, 222, 0.4);
    }

    70% {
        -webkit-box-shadow: 0 0 0 50px rgba(65, 143, 222, 0);
    }

    100% {
        -webkit-box-shadow: 0 0 0 0 rgba(65, 143, 222, 0);
    }
}

@keyframes pulse {
    0% {
        -moz-box-shadow: 0 0 0 0 rgba(65, 143, 222, 0.4);
        box-shadow: 0 0 0 0 rgba(65, 143, 222, 0.4);
    }

    70% {
        -moz-box-shadow: 0 0 0 50px rgba(65, 143, 222, 0);
        box-shadow: 0 0 0 50px rgba(65, 143, 222, 0);
    }

    100% {
        -moz-box-shadow: 0 0 0 0 rgba(65, 143, 222, 0);
        box-shadow: 0 0 0 0 rgba(65, 143, 222, 0);
    }
}

#modalForm iframe {
    height: 580px !important;
}

.form-line {
    margin-top: 1px !important;
}

li.form-line:not(.form-line-column) .form-input-wide[data-layout=half] {
    width: 100%;
}

li#id_22.form-line, li#id_7.form-line {
    width: 45%;
}