/*Prevent div from moving upon form opening*/
.modal-open {
    padding-right: 0px !important;
    overflow: unset !important;
}

/* The Modal (background) */
.modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Stay in place */
    z-index: 1;
    /* Sit on top */
    padding-top: 100px;
    /* Location of the box */
    left: 0;
    top: 0;
    width: 100%;
    /* Full width */
    height: 100%;
    /* Full height */
    overflow: auto;
    /* Enable scroll if needed */
}

.modal2 {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Stay in place */
    z-index: 1;
    /* Sit on top */
    padding-top: 100px;
    /* Location of the box */
    left: 0;
    top: 0;
    width: 100%;
    /* Full width */
    height: 100%;
    /* Full height */
    overflow: auto;
    /* Enable scroll if needed */
}

.comment-form input {
    background-color: #e6e4e4;
}

/* Modal Content */
.modal-content {
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    width: 100%;
    top: 20;
    border-radius: unset;
}

/* The Close Button */
.close {
    color: #aaaaaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    color: black;
    opacity: 1;
}

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

.modal-title-training {
    font-size: 35px;
    text-align: center;
    padding: 25px;
    font-weight: 600;
    font-family: "the_seasonsregular" !important;
    background-color: #173654;
    color: #bf9745;
    margin: 0;
}

.price-listing-logo {
    /* max-width: 100%; */
    max-width: 40%;
    background-color: #222831;
}

.leave-comment div {
    background-color: #222831;
    border-bottom: 3px solid #bf9745;
}

table thead tr .course-training {
    font-family: "the_seasonsregular", sans-serif !important;
    font-size: 25px;
    font-weight: 600;
    color: #222831;
    text-align: center;
    background-color: rgb(34 40 49 / 10%);
    padding: 10px;
}

table thead tr .course-training span{
    background-color: rgba(211, 211, 211, 0.1);
}

table thead tr .course-training span{
    font-family: "Montserrat", sans-serif !important;
    font-size: 25px;
    font-weight: 600;
    color: #222831;
    text-align: center;
    background-color: rgb(34 40 49 / 0%);
    padding: 10px;
}

.course-training th{
    font-size: 25px;
    font-family: "Montserrat", sans-serif;
    padding: 10px 15px;
    color: #222831;
}

.course-training-subhead th {
    font-size: 18px;
    font-family: "Montserrat", sans-serif;
    font-weight: 600;
    padding: 10px 15px;
    color: #222831;
    background-color: rgb(231 232 233 / 30%);
}

.leave-comment table {
    font-family: arial, sans-serif;
    border-collapse: collapse;
    width: 100%;
    margin: 0 0 45px;
}

.leave-comment td,
.leave-comment th {
    border: 1px solid #dddddd;
    text-align: left;
    padding: 20px 15px 30px;
    font-family: "Montserrat", sans-serif !important;
    line-height: 30px;
    font-size: 17px;
    color: #000;
}

.leave-comment tbody ul li {
    list-style: circle;
    margin-left: 30px;
}

.w-20 {
    width: 20%;
}

.w-60 {
    width: 60%;
}

.w-10 {
    width: 10%;
}

.modal {
    z-index: 1050;
}

.carousel-dontmove {
    position: relative !important;
    background-image: url(lb/training2.jpg);
    width: 100%;
    height: 85vh;
    background-position: top center;
}

@media screen and (max-width: 767px) {
    .leave-comment table {
        border: 0;
    }

    .leave-comment table caption {
        font-size: 1.3em;
    }

    .leave-comment table thead .course-training-subhead {
        border: none;
        clip: rect(0 0 0 0);
        height: 1px;
        margin: -1px;
        overflow: hidden;
        padding: 0;
        position: absolute;
        width: 1px;
    }

    .leave-comment table tr {
        border-bottom: 3px solid #ddd;
        display: block;
        margin-bottom: 30px;
    }

    .leave-comment table td {
        border-bottom: 1px solid #ddd;
        display: flex;
        font-size: 15px;
        flex-direction: column;
        padding: 30px 20px;
    }

    .leave-comment table td::before {
        content: attr(data-label);
        float: left;
        font-weight: bold;
        text-transform: uppercase;
        font-size: 16px;
    }

    .leave-comment table td:last-child {
        border-bottom: 0;
    }

    .leave-comment .modal-title-training {
        font-size: 30px !important;
        margin-bottom: 25px;
    }

    .leave-comment .breadcrumbs {
        right: 0px !important;
    }
}

@media screen and (max-width: 600px) {
    .price-listing-logo {
        max-width: 90%;
    }
}

@media screen and (max-width: 500px) {
    .modal-title-training {
        font-size: 25px !important;
    }

    .leave-comment table thead tr .course-training {
        font-size: 21px;
    }
}

@media screen and (min-width: 913px) and (max-width: 991px) {
    .hero-banner .left {
        display: flex;
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
        height: 50%;
    }
    
    .modal-content {
        margin-top: 35rem;
    }
}