/********** Template CSS **********/
:root {
    --primary: #06BBCC;
    --light: #F0FBFC;
    --dark: #181d38;

    --first-color: #de1a2b;
    --first-color-opacity: #ffb1b833;
    --second-color: #161616;
    /* --first-color-opacity: 83, 175, 190; */
    --third-color: rgb(254, 92, 54);
    --second-color-opacity: 254, 92, 54;
    /* --third-color: rgb(254, 178, 72); */
    --fourth-color: rgb(67, 67, 67);
    --light-gray: rgb(243, 243, 243);
}

body {
    font-family: 'Bai Jamjuree', Arial, Helvetica, sans-serif !important;
}

label {
    font-weight: 700 !important;
}

h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4,
h5,
.h5,
h6,
.h6 {
    font-family: 'Bai Jamjuree', Arial, Helvetica, sans-serif !important;
}

a,
span,
button,
select,
li,
option,
textarea,
th {
    font-weight: 500 !important;
}

.fw-medium {
    font-weight: 600 !important;
}

.fw-semi-bold {
    font-weight: 700 !important;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}

.empty-records-message {
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: rgb(179, 179, 179);
    font-weight: 400;
    font-style: italic;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

.gap-1 {
    gap: 1em;
}

.gap-2 {
    gap: 3em;
}

.gap-3 {
    gap: 3em;
}


/* -- WSP BUTTON -- */


.btn-whatsapp-pulse {
    background: #25d366;
    color: white;
    position: fixed;
    bottom: 20px;
    right: 20px;
    font-size: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 0;
    height: 0;
    padding: 35px;
    text-decoration: none;
    border-radius: 50%;
    animation-name: pulse;
    animation-duration: 1.5s;
    animation-timing-function: ease-out;
    animation-iteration-count: infinite;
    z-index: 999;
}

.btn-whatsapp-pulse:hover {
    color: white;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
    }

    80% {
        box-shadow: 0 0 0 14px rgba(37, 211, 102, 0);
    }
}

.btn-whatsapp-pulse-border {
    bottom: 120px;
    right: 20px;
    animation-play-state: paused;
}

.btn-whatsapp-pulse-border::before {
    content: "";
    position: absolute;
    border-radius: 50%;
    padding: 25px;
    border: 5px solid #25d366;
    opacity: 0.75;
    animation-name: pulse-border;
    animation-duration: 1.5s;
    animation-timing-function: ease-out;
    animation-iteration-count: infinite;
}

@keyframes pulse-border {
    0% {
        padding: 25px;
        opacity: 0.75;
    }

    75% {
        padding: 50px;
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}


/*** Button ***/
.btn {
    font-weight: 600;
    transition: .5s;
}

.btn.btn-primary {
    background: var(--first-color);
    color: #FFFFFF;
    border: none;
}

.btn.btn-primary:focus {
    box-shadow: 0 0 0 0.25rem #de1a2a78;
}

.btn.btn-secondary {
    background-color: var(--second-color);
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 0px;
}


/*** Navbar ***/
.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free" !important;
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar-light .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 25px 0;
    color: #FFFFFF;
    font-size: 15px;
    text-transform: uppercase;
    outline: none;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--first-color);
}

.navbar-nav .user-avatar-container {
    display: inline-block;
    height: 50px;
    width: 50px;
    border-radius: 50%;
    overflow: hidden;
}

.navbar-nav .user-avatar-container img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

@media (max-width: 991.98px) {
    .navbar-light .navbar-nav .nav-link {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar-light .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }
}

.navbar-light .navbar-brand,
.navbar-light a.btn {
    height: 75px;
}

.navbar-light .navbar-nav .nav-link {
    color: var(--dark);
    font-weight: 500;
}

.navbar-light.sticky-top {
    top: -100px;
    transition: .5s;
}

.navbar .navbar-brand {
    width: 300px;
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        margin-top: 0;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .dropdown-menu.fade-down {
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        transform: rotateX(0deg);
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}

@media (0px <=width <=426px) {

    .navbar .navbar-brand {
        width: 200px
    }

    /* slider home */

    .principal-carrousel-container .badge-pill-subtitle {
        margin: 5px 0 !important;
        font-size: .7em !important;
    }

    .principal-carrousel-container h2 {
        font-size: 1.9em !important;
    }

    .principal-carrousel-container p {
        font-size: .8em !important;
    }

}

@media (min-width: 1200px) {
    .display-3 {
        font-size: 3.5rem;
    }
}

@media (426px <=width <=990px) {

    .navbar .navbar-brand {
        width: 250px
    }

    /* slider home */

    .principal-carrousel-container .badge-pill-subtitle {
        margin: 5px 0 !important;
        font-size: .8em !important;
    }

    .principal-carrousel-container h2 {
        font-size: 2.5em !important;
    }

    .principal-carrousel-container p {
        font-size: 1.1em !important;
    }

}



/* ------------- PRINCIPAL CARROUSEL -------------*/

.principal-carrousel-container .owl-stage-outer,
.principal-carrousel-container .owl-carousel-item,
.principal-carrousel-container img {
    max-height: calc(100vh - 75px);
}

.principal-carrousel-container img {
    object-fit: cover;
}


/* ------------ COURSES -----------*/

.courses-container .course-item .image-inner-container {
    height: 300px;
}

.courses-container .course-item .image-inner-container img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

@media (max-width: 1400px) {
    .courses-container .course-item .image-inner-container {
        height: 250px;
    }
}

@media (max-width: 1200px) {
    .courses-container .course-item .image-inner-container {
        height: 200px;
    }
}


/*** Header carousel ***/
@media (max-width: 768px) {
    .header-carousel .owl-carousel-item {
        position: relative;
        min-height: 500px;
    }

    .header-carousel .owl-carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.header-carousel .owl-nav {
    position: absolute;
    top: 50%;
    right: 8%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    margin: 7px 0;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: transparent;
    border: 1px solid #FFFFFF;
    font-size: 22px;
    transition: .5s;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    background: var(--first-color);
    border-color: var(--first-color);
}

.page-header {
    background: linear-gradient(rgba(24, 29, 56, 0.459), rgba(24, 29, 56, 0.466)), url(../img/banner-courses-home.jpg);
    background-color: var(--second-color);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.page-header-inner {
    background: rgba(15, 23, 43, .7);
}

.breadcrumb-item+.breadcrumb-item::before {
    color: var(--light);
}


/*** Section Title ***/
.section-title {
    position: relative;
    display: inline-block;
    text-transform: uppercase;
}

.section-title::before {
    position: absolute;
    content: "";
    width: calc(100% + 80px);
    height: 2px;
    top: 4px;
    left: -40px;
    background: var(--first-color);
    z-index: -1;
}

.section-title::after {
    position: absolute;
    content: "";
    width: calc(100% + 120px);
    height: 2px;
    bottom: 5px;
    left: -60px;
    background: var(--first-color);
    z-index: -1;
}

.section-title.text-start::before {
    width: calc(100% + 40px);
    left: 0;
}

.section-title.text-start::after {
    width: calc(100% + 60px);
    left: 0;
}


/*** Service ***/
.service-item {
    border: 1px dashed #a1a1a1;
    background-color: #ececec26;
    transition: .5s;
}

.service-item:hover {
    margin-top: -10px;
    background: var(--first-color);
}

.service-item * {
    transition: .5s;
}

.service-item:hover * {
    color: var(--light) !important;
}


/*** Categories & Courses ***/
.category img,
.course-item img {
    transition: .5s;
}

.category a:hover img,
.course-item:hover img {
    transform: scale(1.1);
}


/*** Team ***/

.team-item {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    width: -webkit-fill-available;
}

.team-item img {
    transition: .5s;
}

.instructor-content {
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

/* .team-item:hover img {
    transform: scale(1.1);
} */


/*** Testimonial ***/
.testimonial-carousel::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

.testimonial-carousel::after {
    position: absolute;
    content: "";
    top: 0;
    right: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

.owl-carousel .owl-stage{display: flex;}
.instructor-item-carousel {
    display: flex;
    flex: 1 0 auto;
    height: 100%;
}


@media (min-width: 768px) {

    .testimonial-carousel::before,
    .testimonial-carousel::after {
        width: 200px;
    }
}

@media (min-width: 992px) {

    .testimonial-carousel::before,
    .testimonial-carousel::after {
        width: 200px;
    }
}


.testimonial-carousel .owl-item .testimonial-text,
.testimonial-carousel .owl-item.center .testimonial-text * {
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-text {
    background: var(--first-color) !important;
}

.testimonial-carousel .owl-item.center .testimonial-text * {
    color: #FFFFFF !important;
}

.testimonial-carousel .owl-dots {
    margin-top: 24px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    border: 1px solid #CCCCCC;
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    background: var(--first-color);
    border-color: var(--first-color);
}


.testimonial-carousel .owl-item {
    /* width: 220px !important; */
}

.testimonial-carousel .img-carousel-container {
    height: 200px !important;
}

img.img-cover {
    height: 100% !important;
    width: 100% !important;
    object-fit: cover;
}

.testimonial-carousel img.img-cover {
    height: 100% !important;
    max-height: 200px;
    object-fit: contain;
}





.testimonial-carousel .image-user-container {
    height: 200px;
    padding: .5em;
}


/*** Footer ***/
.footer .btn.btn-social {
    margin-right: 5px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    font-weight: normal;
    border: 1px solid #FFFFFF;
    border-radius: 35px;
    transition: .3s;
}



.course-item {
    border-radius: 1.5em;
    overflow: hidden;
}

/* icons */

/* .footer .btn.icon-twitter:hover {
    background-color: #1DA1F2;
    color: #FFFFFF;
}

.footer .btn.icon-facebook:hover {
    background-color: #3B5998;
    color: #FFFFFF;
}

.footer .btn.icon-youtube:hover {
    background-color: #FF0000;
    color: #FFFFFF;
}

.footer .btn.icon-linkedin:hover {
    background-color: #0077B5;
    color: #FFFFFF;
}

.footer .btn.icon-instagram:hover {
    background-color: #E4405F;
    color: #FFFFFF;
}

.footer .btn.icon-website:hover {
    background-color: var(--first-color);
    color: #FFFFFF;
} */


.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #FFFFFF;
    font-size: 15px;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free" !important;
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--light);
}

.footer .footer-menu a {
    margin-right: 15px;
    padding-right: 15px;
    border-right: 1px solid rgba(255, 255, 255, .1);
}

.footer .footer-menu a:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
}


/*------------ HOME  -------------- */

.banner-content-container * {
    color: white !important;
}



/*---------- MODAL LOGIN REGISTER STYLES ------------*/

.hide {
    display: none !important;
}

.trigger-custom {
    padding: 10px 20px;
    border-radius: 3px;
    border: 0;
    background: #ccc;
    font-size: 14px;
    border-top: 1px solid #FFF;
    border-bottom: 1px solid #aaa;
    cursor: pointer;
}

.trigger-custom:hover {
    background: #d5d5d5;
}

#login_register_modal .iziModal-content header {
    background: #eee;
    /* margin-bottom: 10px; */
    overflow: hidden;
    border-radius: 3px 3px 0 0;
    width: 100%;
}

#login_register_modal .iziModal-content header a {
    display: block;
    float: left;
    width: 50%;
    padding: 0;
    text-align: center;
    background: #ddd;
    color: #999;
    height: 73px;
    vertical-align: middle;
    line-height: 73px;
}

#login_register_modal .iziModal-content header a.active {
    background: #fff;
    color: #777;
}

#login_register_modal .iziModal-content section {
    padding: 30px;
}

#login_register_modal .iziModal-content section input:not([type="checkbox"]),
#login_register_modal .iziModal-content section button:not(.select2-selection__choice__remove) {
    width: 100%;
    border-radius: 3px;
    border: 1px solid #ddd;
    margin-bottom: 26px;
    padding: 15px;
    font-size: 14px;
}

#login_register_modal .iziModal-content section button:not(.select2-selection__choice__remove) {
    height: 46px;
    padding: 0;
    background: var(--first-color);
    color: white;
    margin: 0;
    border: 0;
    cursor: pointer;
    width: 50%;
    float: left;
}

#login_register_modal .iziModal-content section button:disabled {
    opacity: 0.8;
    cursor: not-allowed;
}

#login_register_modal .iziModal-content section input:focus {
    border-color: #28CA97;
}

#login_register_modal .iziModal-content section label[for="check"] {
    margin-bottom: 26px;
    font-size: 14px;
    color: #999;
    display: block;
}

#login_register_modal .iziModal-content section footer {
    overflow: hidden;
}

#login_register_modal .iziModal-content section button:hover {
    opacity: 0.8;
}

#login_register_modal .iziModal-content section button:nth-child(1):not(.select2-selection__choice__remove) {
    border-radius: 3px 0 0 3px;
    background: var(--second-color);
}

#login_register_modal .iziModal-content section button:nth-child(2) {
    border-radius: 0 3px 3px 0;
}

#login_register_modal .iziModal-content .icon-close {
    background: #FFF;
    margin-bottom: 10px;
    position: absolute;
    right: -8px;
    top: -8px;
    font-size: 14px;
    font-weight: bold;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    border: 0;
    color: #a9a9a9;
    cursor: pointer;
}

#login_register_modal .iziModal-content .icon-close:hover,
#login_register_modal .iziModal-content .icon-close:focus {
    color: black;
}

#login_register_modal .iziModal-content header.auth-header-confirmation a {
    width: 100%;
    float: none;
    font-size: 1.3em;
    text-align: center;
    color: var(--first-color);
    font-weight: bold;
    height: 100%;
    line-height: 1.5em;
    padding: 20px 30px;
}

#login_register_modal .iziModal-content header.auth-header-confirmation {
    height: auto;
}


#login_register_modal .iziModal-content section input:not([type="checkbox"]):focus {
    outline-color: var(--second-color);
}

#login_register_modal .iziModal-content section input:not([type="checkbox"]) {
    margin-bottom: 5px;
}

#login_register_modal .input-group {
    margin-bottom: 23px;
}

#login_register_modal .error-credentials-message {
    padding: 20px;
    background-color: rgba(255, 0, 0, 0.342);
    border-radius: 5px;
    margin-bottom: 1.2em;
    color: rgb(61, 61, 61);
}


#login_register_modal .event-success-message {
    height: 300px;
}

#login_register_modal .event-success-message .iziModal-content,
#login_register_modal .event-success-message .iziModal-content .main-message-container {
    height: 100%;
}

#login_register_modal .event-success-message .iziModal-content {
    font-size: 18px;
}

#login_register_modal .event-success-message .iziModal-content .icon-success {
    font-size: 3em;
}

.message-form {
    gap: 1em;
}

.message-form span {
    color: rgb(122, 122, 122);
    white-space: normal;
    font-size: 0.9em;
}


/* ------------- SELECT 2 ----------------*/

.select2-container--default .select2-selection--multiple .select2-selection__choice,
.select2-container--default .select2-results__option[aria-selected=true],
.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: var(--first-color);
    color: #ffffff;
}

.select2 {
    width: 100% !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 100%;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    color: white;
}

.select2-container .select2-selection--multiple .select2-selection__rendered {
    white-space: break-spaces;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
    outline: none;
}

.select2-container--default .select2-selection--multiple {
    padding: 11px 10px 16px;
}

.select2-container .select2-selection--single {
    height: auto;
    padding: 10px;
}


/*-------- GENERAL LABEL ------*/

label.error {
    order: 2;
    width: 100%;
    margin: 0 0 -0.5em 0.5em;
    color: rgb(197, 0, 0);
}

input.no-label-error~label.error {
    display: none !important;
}


.loadSpinner {
    display: none;
}

.loadSpinner.active {
    display: inline-block;
}


.text-primary {
    color: var(--first-color) !important;
}

.text-secondary {
    color: var(--second-color) !important;
}

.description-c-o {
    width: 70%;
    /* height: 90px; */
    display: flex;
    text-align: center;
    justify-content: center;
    font-size: 17px;
    align-items: center;
    font-style: oblique;
}

.logo-adp-white img {
    width: 190px;
    margin-bottom: 1rem;
}

.card-img {
    height: 160px;
    margin-top: -70px;
}

.card-img img {
    width: auto;
    height: 100%;
}


.div-effect {
    margin-top: 70px;
    height: calc(100% - 70px);
    border: 1px solid transparent;
    transition: all.4s ease;
    border-radius: 15px;
    bottom: 90px;
}


.div-effect:hover {
    border: 1px solid var(--first-color);
    transform: scale(1.04);
    box-shadow: 1px 1px 25px 1px rgba(198, 119, 119, 0.75);
    -webkit-box-shadow: 1px 1px 25px 1px rgba(198, 119, 119, 0.75);
    -moz-box-shadow: 1px 1px 25px 1px rgba(198, 119, 119, 0.75);
}

.accordion-item {
    border: none;
}

.accordion-button {
    border-radius: 35px !important;
}

.making-numbers {
    font-size: 2.7em;
    font-weight: bold;
    color: var(--first-color);
}

.background-black-design {
    background-color: var(--second-color) !important;
}


.accordion-button:not(.collapsed) {
    color: var(--first-color);
    background-color: #f3f0f084 !important;
}

/* .bg-header-section {
    background-color: #f3f0f084;
} */


@media (max-width: 991px) {

    .container-characteristics {
        gap: 40px;
    }

}

.badge-pill-subtitle {
    margin: 10px 0;
    font-size: 1em;
    padding: 0.5em 1em;
    border-radius: 20px;
    background-color: var(--first-color);
    color: white;
    font-weight: bold;
}

.bg-light-primary {
    border: 1px dashed #dfdfdf;
    background-color: #f3f0f00f;
    transition: all ease-in .3s;
}

.bg-light-primary:hover {
    box-shadow: 1px 1px 25px 1px rgba(206, 206, 206, 0.75);
}

.container-footer-socials a {
    padding: 18px;
    background-color: var(--first-color);
    border: solid 1px var(--first-color) !important;
}

.btn-outline-light:hover {
    background-color: var(--first-color);
    transform: scale(1.2);
}


/* * ---------- ERROR PAGES ---------- */

.error-container {
    max-width: 500px;
    text-align: center;
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.btn-error {
    background-color: #008cff;
    color: white;
    font-weight: bold;
}
.btn-error:hover {
    background-color: #4eafff;
    color: white;
}
