    /* The Modal (background) */

.modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Stay in place */
    z-index: 2;
    /* Sit on top */
    padding-top: 6%;
    /* 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: 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;
}


/* Add Animation */

@-webkit-keyframes animatetop {
    from {
        top: -300px;
        opacity: 0
    }
    to {
        top: 0;
        opacity: 1
    }
}

@keyframes animatetop {
    from {
        top: -300px;
        opacity: 0
    }
    to {
        top: 0;
        opacity: 1
    }
}


/**
         * ----------------------------------------
         * 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: white;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

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

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

.modal-body {
    padding: 2px 16px;
    background-color: #f5f5f5;
    border: 1px #f5f5f5 solid;
}

.modal-body h3 {
    text-align: center;
    padding-top: 20px;
    color: #ea2d62
}

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

.modal-body .form-banner {
    background: transparent !important;
}

.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: white;
    margin-top: 0;
    margin-bottom: 0;
    font-size: 32px;
}

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

.modal-content .new-form input[type="submit"] {
    cursor: pointer;
    display: inline-block;
    width: 100%;
    /* height: 40px; */
    /* line-height: 1; */
    text-align: center;
    border-radius: 2px;
    background-color: var(--primary-color);
    color: #ffffff;
    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;
    margin-bottom: 0px;
}

.modal-header .close {
    margin: 0px !important;
}

@media only screen and (max-width: 768px) {
    .modal-content {
        width: 90%;
    }
.modal {
    
    padding-top: 50%;
   
}

}