/* The Modal (background) */

.modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Stay in place */
    z-index: 9999;
    /* Sit on top */
    padding-top: 8%;
    /* Location of the box */
    left: 0;
    top: 0;
    width: 100%;
    /* Full width */
    height: 100%;
    /* Full height */
    overflow: auto;
    /* Enable scroll if needed */
    background-color: rgb(0, 0, 0);
    /* Fallback color */
    background-color: rgba(0, 0, 0, 0.4);
    /* Black w/ opacity */
}


/* Modal Content */

.modal-content {
    position: relative;
    background-color: #fefefe;
    margin: auto;
    padding: 0;
    border: 1px solid #888;
    width: 65%;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s;
    border-radius: 20px;
}

.modal-body img {
    border-bottom-left-radius: 20px;
    border-top-left-radius: 20px;
}


/**
 * ----------------------------------------
 * animation scale-up-center
 * ----------------------------------------
 */

@-webkit-keyframes scale-up-center {
    0% {
        -webkit-transform: scale(0.8);
        transform: scale(0.8);
    }
    100% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }
}

@keyframes scale-up-center {
    0% {
        -webkit-transform: scale(0.8);
        transform: scale(0.8);
    }
    100% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }
}

.scale-up-center {
    -webkit-animation: scale-up-center 2s cubic-bezier(0.390, 0.575, 0.565, 1.000) infinite alternate both;
    animation: scale-up-center 2s cubic-bezier(0.390, 0.575, 0.565, 1.000) infinite alternate both;
}


/**
 * ----------------------------------------
 * animation slide-right
 * ----------------------------------------
 */

@-webkit-keyframes slide-right {
    0% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }
    100% {
        -webkit-transform: translateX(100px);
        transform: translateX(100px);
    }
}

@keyframes slide-right {
    0% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }
    100% {
        -webkit-transform: translateX(40px);
        transform: translateX(40px);
    }
}

.slide-right {
    -webkit-animation: slide-right 1.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) infinite alternate both;
    animation: slide-right 1.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) infinite alternate both;
}


/* The Close Button */

.close {
    color: red;
    float: right;
    font-size: 38px;
    font-weight: bold;
    margin-top: -52px !important;
    opacity: 1;
    margin-right: 0px;
    display: none;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.modal-header {
    padding: 2px 16px;
    background-color: #f8c301;
    color: white;
    text-align: center;
    /* border-radius: 10px; */
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

.modal-body {
    padding: 0px 0px;
    /* background-color: #f5f5f5; */
    /* border: 1px #f5f5f5 solid; */
}

.modal-body h3 {
    text-align: center;
    padding-top: 0px;
    color: #000000;
    font-size: 32px;
    padding-bottom: 15px;
    font-family: Gogh;
    line-height: 35px;
}

.modal-body h4 {
    text-align: center;
    padding-top: 10px;
    color: #F44336;
    font-size: 22px;
    font-weight: 600
}

.modal-body p {
    text-align: center;
    color: #000000;
    font-size: 24px;
    font-weight: 600;
}

.modal-body span.closebtn {
    display: inline-block;
    width: 100%;
    height: 53px;
    text-align: center;
    border-radius: 2px;
    background-color: #000000;
    color: #ffffff;
    font-size: 19px;
    border: 0px;
    line-height: 2.7;
    font-weight: 600;
    -webkit-transition: 0.3s ease-in-out;
    margin-top: 20px;
    margin-bottom: 20px;
    text-decoration: none;
    cursor: not-allowed;
}

.img-box-1 {
    background-image: url(assets/image/popup-img.jpg);
    background-size: cover;
    height: auto;
    background-repeat: no-repeat;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
    background-position: center top;
}

.modal-footer {
    padding: 2px 16px;
    background-color: #f5f5f5;
    color: whitesmoke;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
}

.modal-header h2 {
    margin-right: auto;
    margin-left: auto;
    padding-top: 10px;
    padding-bottom: 10px;
    color: #3d3d3d;
    margin-top: 0;
    margin-bottom: 0;
    font-size: 35px;
}

.modal-content .form-banner {
    margin-left: 0;
    padding: 0;
    margin-right: 0;
    width: 95%;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    border: none;
}

.modal-content .new-form input[type="submit"] {
    cursor: pointer;
    display: inline-block;
    width: 100%;
    height: 53px;
    line-height: 1;
    text-align: center;
    border-radius: 2px;
    background-color: #f8c301;
    color: #3d3d3d;
    font-size: 20px;
    border: 0px;
    font-weight: 700;
    transition: 0.3s ease-in-out;
    -webkit-transition: 0.3s ease-in-out;
    margin-top: 20px;
    margin-bottom: 20px;
}

.modal-content .new-form input[type="submit"]:hover {
    background-color: #000000;
    color: white;
}

#mySidenav a {
    position: absolute;
    left: -80px;
    transition: 0.3s;
    padding: 15px;
    width: 200px;
    text-decoration: none;
    font-size: 20px;
    color: #fff;
    border-radius: 0 5px 5px 0;
    /* margin-top: 110px; */
    position: fixed;
    z-index: 1;
}

#mySidenav a:hover {
    left: 0;
}

#about {
    top: 10px;
    background-color: orange;
}

#open-modal-popup-func {
    top: 40%;
    left: 0 !important;
    padding-left: 0 !important;
    display: none;
}

.modal-backdrop {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: auto !important;
    background-color: #000;
}

.new-form .submit {
    text-align: center;
}

.modal-body .form-banner input[type="text"],
.modal-body .form-banner input[type="tel"],
.modal-body .form-banner input[type="email"] {
    width: 100%;
    height: 39px;
    padding: 10px;
    border: 0px;
    border-radius: 2px;
    margin-top: 14px;
    border: 1px solid #cbcbcb;
    border-radius: 4px
}

@media only screen and (max-width: 768px) {
    .modal-content {
        width: 90%;
    }
    .modal-content .form-banner {
        margin-top: 0px !important;
        margin-left: 10px;
    }
    .modal-content .new-form input[type="submit"] {
        margin-top: 10px;
        margin-bottom: 10px;
    }
    .modal-header h2 {
        padding-top: 2px;
        padding-bottom: 2px;
        font-size: 28px;
    }
    .modal {
        padding-top: 25%;
    }
    .modal-body img {
        display: none;
    }
    .row.new-form {
        margin: 5px;
    }
    .modal-content .new-form input[type="submit"] {
        height: 40px;
    }
    .modal-body span.closebtn {
        height: 40px;
        line-height: 2;
        margin-top: 2px;
    }
}


/* The Modal (background) */

.modal-2 {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Stay in place */
    z-index: 9999;
    /* Sit on top */
    padding-top: 12%;
    /* Location of the box */
    left: 0;
    top: 0;
    width: 100%;
    /* Full width */
    height: 100%;
    /* Full height */
    overflow: auto;
    /* Enable scroll if needed */
    background-color: rgb(0, 0, 0);
    /* Fallback color */
    background-color: rgba(0, 0, 0, 0.4);
    /* Black w/ opacity */
}


/* Modal Content */

.img-box-2 {
    background-image: url(assets/image/pop-up-2.jpg);
    background-size: cover;
    height: auto;
    background-repeat: no-repeat;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
    background-position: center top;
}

.modal-content-2 {
    position: relative;
    background-color: #fefefe;
    margin: auto;
    padding: 0;
    border: 1px solid #888;
    width: 40%;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s;
    border-radius: 20px;
}

.modal-body-2 img {
    border-bottom-left-radius: 20px;
    border-top-left-radius: 20px;
    height: -webkit-fill-available;
}


/**
 * ----------------------------------------
 * animation scale-up-center
 * ----------------------------------------
 */

@-webkit-keyframes scale-up-center {
    0% {
        -webkit-transform: scale(0.8);
        transform: scale(0.8);
    }
    100% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }
}

@keyframes scale-up-center {
    0% {
        -webkit-transform: scale(0.8);
        transform: scale(0.8);
    }
    100% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }
}

.scale-up-center {
    -webkit-animation: scale-up-center 2s cubic-bezier(0.390, 0.575, 0.565, 1.000) infinite alternate both;
    animation: scale-up-center 2s cubic-bezier(0.390, 0.575, 0.565, 1.000) infinite alternate both;
}


/**
 * ----------------------------------------
 * animation slide-right
 * ----------------------------------------
 */

@-webkit-keyframes slide-right {
    0% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }
    100% {
        -webkit-transform: translateX(100px);
        transform: translateX(100px);
    }
}

@keyframes slide-right {
    0% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }
    100% {
        -webkit-transform: translateX(40px);
        transform: translateX(40px);
    }
}

.slide-right {
    -webkit-animation: slide-right 1.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) infinite alternate both;
    animation: slide-right 1.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) infinite alternate both;
}


/* The Close Button */

.cross {
    color: red;
    float: right;
    font-size: 38px;
    font-weight: bold;
    margin-top: -52px !important;
    opacity: 1;
    margin-right: 0px;
}

.cross:hover,
.cross:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.modal-header {
    padding: 2px 16px;
    background-color: #f8c301;
    color: white;
    text-align: center;
    /* border-radius: 10px; */
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

.modal-body-2 {
    padding: 0px 0px;
    background-image: linear-gradient(0deg, #0cbf7e, #0cbf7e);
    border-radius: 20px;
}

.modal-body-2 h3 {
    text-align: center;
    padding-top: 30px;
    color: #000000;
    font-size: 52px;
    padding-bottom: 0px;
    font-family: Gogh;
    line-height: 50px;
}

.modal-body-2 h4 {
    text-align: center;
    padding-top: 40px;
    color: #F44336;
    font-size: 22px;
    font-weight: 600
}

.modal-body-2 .form-banner p {
    text-align: center;
    color: #000000;
    font-size: 17px;
    font-weight: 600;
    background: none;
    margin: 0;
}

.modal-body-2 .form-banner p span {
    text-align: center;
    color: #000000;
    font-size: 17px;
    font-weight: 700;
    background: none;
}

.modal-body-2 span.closebtn {
    display: inline-block;
    width: 100%;
    height: 53px;
    text-align: center;
    border-radius: 2px;
    background-color: #000000;
    color: #ffffff;
    font-size: 19px;
    border: 0px;
    line-height: 2.7;
    font-weight: 600;
    -webkit-transition: 0.3s ease-in-out;
    margin-top: 20px;
    margin-bottom: 20px;
    text-decoration: none;
    cursor: not-allowed;
}

.modal-footer {
    padding: 2px 16px;
    background-color: #f5f5f5;
    color: whitesmoke;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
}

.modal-header h2 {
    margin-right: auto;
    margin-left: auto;
    padding-top: 10px;
    padding-bottom: 10px;
    color: #3d3d3d;
    margin-top: 0;
    margin-bottom: 0;
    font-size: 35px;
}

.modal-content-2 .form-banner {
    margin-left: 0;
    padding: 0;
    margin-right: 0;
    width: 100%;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    border: none;
}

.modal-content-2 .new-form input[type="submit"] {
    cursor: pointer;
    display: inline-block;
    width: 100%;
    height: 53px;
    line-height: 1;
    text-align: center;
    border-radius: 2px;
    background-color: #f8c301;
    color: #3d3d3d;
    font-size: 20px;
    border: 0px;
    font-weight: 700;
    transition: 0.3s ease-in-out;
    -webkit-transition: 0.3s ease-in-out;
    margin-top: 20px;
    margin-bottom: 20px;
}

.modal-content-2 .new-form input[type="submit"]:hover {
    background-color: #000000;
    color: white;
}

#mySidenav a {
    position: absolute;
    left: -80px;
    transition: 0.3s;
    padding: 15px;
    width: 200px;
    text-decoration: none;
    font-size: 20px;
    color: #fff;
    border-radius: 0 5px 5px 0;
    /* margin-top: 110px; */
    position: fixed;
    z-index: 1;
}

#mySidenav a:hover {
    left: 0;
}

#about {
    top: 10px;
    background-color: orange;
}

#open-modal-popup-func {
    top: 40%;
    left: 0 !important;
    padding-left: 0 !important;
    display: none;
}

.modal-backdrop {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: auto !important;
    background-color: #000;
}

.new-form .submit {
    text-align: center;
}

.modal-body-2 .form-banner input[type="text"],
.modal-body-2 .form-banner input[type="tel"],
.modal-body-2 .form-banner input[type="email"] {
    width: 100%;
    height: 39px;
    padding: 10px;
    border: 0px;
    border-radius: 2px;
    margin-top: 14px;
    border: 1px solid #cbcbcb;
    border-radius: 4px
}

@media only screen and (max-width: 768px) {
    .modal-content-2 {
        width: 90%;
    }
    .modal-content-2 .form-banner {
        margin-top: 0px !important;
        margin-left: 24px;
        margin-right: auto;
    }
    .modal-content-2 .new-form input[type="submit"] {
        margin-top: 10px;
        margin-bottom: 10px;
    }
    .modal-header h2 {
        padding-top: 2px;
        padding-bottom: 2px;
        font-size: 28px;
    }
    .modal-2 {
        padding-top: 45%;
    }
    .modal-body-2 img {
        display: none;
    }
    .modal-body-2 h3 {
        line-height: 45px;
        padding-bottom: 1px;
    }
}