:root {
    --primary: #EA5151;
    --light: #F3F4F5;
    --dark: #282F34;
}

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

.container-fluid {
    padding-right: 0;
    padding-left: 0;
}


/*** 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;
}


/*** Button ***/

.btn {
    font-weight: 500;
    transition: .5s;
}

.btn-group {
    border-radius: 12px;
}

.btn.btn-primary,
.btn.btn-secondary {
    color: #FFFFFF;
}

.btn-lg {
    border-color: #EA5151;
}

.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;
}


/*** Navbar ***/

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

.navbar .navbar-brand {
    display: flex;
    align-items: center;
}

.navbar .navbar-brand img {
    max-height: 25px;
}

@media (min-width: 576px) {
    .navbar .navbar-brand img {
        max-height: 50px;
    }
}

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

.navbar .navbar-nav .btn-link {
    margin: 25px 0 25px 4px;
    padding: .375rem 1.25rem;
    color: #000;
    font-size: 15px;
    font-weight: 500;
    text-transform: uppercase;
    outline: none;
}

.navbar .navbar-nav .btn-link:hover,
.navbar .navbar-nav .btn-link.active {
    display: inline-block;
    font-weight: 400;
    line-height: 1.5;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    user-select: none;
    background-color: transparent;
    padding: .375rem 1.25rem;
    border-radius: 12px;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    color: #fff;
    background: linear-gradient(270deg, rgba(234, 81, 81, 0.8) 0%, rgba(255, 136, 136, 0.8) 100%);
}

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

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link {
        margin-right: 0;
        padding: 10px 0;
    }
    .navbar .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }
}

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

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }
    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header ***/

.header-bg {
    background: linear-gradient(rgba(0, 0, 0, .7), rgba(0, 0, 0, .7)), url(../img/bg-1.jpg) center center no-repeat;
    background-size: cover;
}

.btn-play {
    position: relative;
    display: block;
    box-sizing: content-box;
    width: 16px;
    height: 26px;
    border-radius: 100%;
    border: none;
    outline: none !important;
    padding: 18px 20px 20px 28px;
    background: #FFFFFF;
}

.btn-play:before {
    content: "";
    position: absolute;
    z-index: 0;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 60px;
    height: 60px;
    background: #FFFFFF;
    border-radius: 100%;
    animation: pulse-border 1500ms ease-out infinite;
}

.btn-play:after {
    content: "";
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 60px;
    height: 60px;
    background: #FFFFFF;
    border-radius: 100%;
    transition: all 200ms;
}

.btn-play span {
    display: block;
    position: relative;
    z-index: 3;
    width: 0;
    height: 0;
    left: -1px;
    border-left: 16px solid var(--primary);
    border-top: 11px solid transparent;
    border-bottom: 11px solid transparent;
}

@keyframes pulse-border {
    0% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
        opacity: 1;
    }
    100% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(2);
        opacity: 0;
    }
}

.header .row>* {
    padding-left: 0;
    padding-right: 0;
}

.header-item {
    color: #FFFFFF;
    height: 100%;
}

.header-item img {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.header-item .text {
    position: absolute;
    margin: 0.75rem 0.75rem;
    bottom: 1.25rem;
    left: 1rem;
}

.header-item .text2 {
    position: absolute;
    margin: 0rem 0.5rem;
    bottom: 0.5rem;
    left: 0.5rem;
    right: 0.5rem;
}

.header-item .display-1 {
    color: transparent;
    -webkit-text-stroke: 2px var(--primary);
}

.owl-carousel-item .text {
    position: absolute;
    margin: 0.75rem 0.75rem;
    bottom: 1.25rem;
    left: 1rem;
}

.owl-carousel-item .text2 {
    position: absolute;
    margin: 0rem 0.5rem;
    bottom: 2rem;
    left: 2rem;
    right: 2rem;
}

.header-carousel .owl-nav {
    position: absolute;
    width: 95vw;
    /* height: 50%; */
    bottom: 45%;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: space-between;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(256, 256, 256, 0);
    background: transparent;
    border: 1px solid rgba(256, 256, 256, 0);
    font-size: 22px;
    transition: .5s;
}

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

.header-carousel .owl-dots {
    display: none;
}

.header-carousel .owl-dot {
    display: none;
}

.header-carousel .owl-dot::after {
    display: none;
}

.header-carousel .owl-dot.active {
    display: none;
}


/*** Schedule ***/

.schedule .schedule-col {
    padding: 1rem !important
}

.schedule .schedule-col .date {
    padding: .5rem .5rem .5rem .75rem !important
}

.schedule .schedule-col .text {
    padding: .5rem !important
}

.schedule .schedule-col .cta {
    padding: .25rem !important
}

.schedule .schedule-col span {
    font-size: 0.8rem;
    line-height: 1.2;
}

.schedule .schedule-col i {
    font-size: 2rem;
    line-height: 1.2;
}

@media (min-width: 576px) {
    .schedule .schedule-col {
        padding: 1.5rem !important
    }
    .schedule .schedule-col span {
        font-size: 1.2rem;
        line-height: 1.2;
    }
    .schedule .schedule-col .date {
        padding: 1rem !important
    }
    .schedule .schedule-col .text {
        padding: 1rem !important
    }
    .schedule .schedule-col .cta {
        padding: .5rem !important
    }
}

@media (min-width: 768px) {
    .schedule .schedule-col {
        padding: 2rem !important
    }
    .schedule .schedule-col .date {
        padding: 1rem !important
    }
    .schedule .schedule-col .text {
        padding: 1rem !important
    }
    .schedule .schedule-col .cta {
        padding: .5rem !important
    }
}

@media (min-width: 992px) {
    .schedule .schedule-col {
        padding: 2rem !important
    }
    .schedule .schedule-col .date {
        padding: 1rem !important
    }
    .schedule .schedule-col .text {
        padding: 1rem !important
    }
    .schedule .schedule-col .cta {
        padding: .5rem !important
    }
}

@media (min-width: 1200px) {
    .schedule .schedule-col {
        padding: 2rem !important
    }
    .schedule .schedule-col .date {
        padding: 1rem !important
    }
    .schedule .schedule-col .text {
        padding: 1rem !important
    }
    .schedule .schedule-col .cta {
        padding: .5rem !important
    }
}

@media (min-width: 1400px) {
    .schedule .schedule-col {
        padding: 3rem !important
    }
    .schedule .schedule-col .date {
        padding: 1rem !important
    }
    .schedule .schedule-col .text {
        padding: 1rem !important
    }
    .schedule .schedule-col .cta {
        padding: .5rem !important
    }
}


/*** Calender ***/

.schedule .calendar,
.schedule .calendar_weekdays,
.schedule .calendar_content {
    max-width: 450px;
}

.schedule .calendar {
    margin: auto;
    font-weight: 400;
    background: #8EC4AD;
    border: 1px solid #153E2D;
}

.schedule .calendar_content {
    background: #8EC4AD;
}

.schedule .calendar_weekdays {
    background: #8EC4AD;
}

.schedule .calendar_header {
    padding: 10px 0;
}

.schedule .calendar_content,
.schedule .calendar_weekdays,
.schedule .calendar_header {
    position: relative;
    overflow: hidden;
}

.schedule .calendar_weekdays div {
    display: inline-block;
    vertical-align: top;
    color: #000 !important;
}

.schedule .calendar_weekdays div,
.schedule .calendar_content div {
    width: 14.28571%;
    overflow: hidden;
    text-align: center;
    background-color: transparent;
    color: #000;
    font-size: 16px;
    padding: 15px 0;
}

.schedule .calendar_content div {
    border: 1px solid transparent;
    float: left;
    position: relative;
    z-index: 0;
}

.schedule .calendar_content div:hover {
    border: 1px solid #dcdcdc;
    cursor: default;
}

.schedule .calendar_content div.blank:hover {
    cursor: default;
    border: 1px solid transparent;
}

.schedule .calendar_content div.past-date {
    color: #445066;
}

.schedule .calendar_content div.today {
    font-weight: bold;
    font-size: 16px;
    color: #fff !important;
}

.schedule .calendar_content div.today:after {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    bottom: 0;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    content: '';
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin: 0 auto;
    background: #EA5151;
    z-index: -1;
    -webkit-box-shadow: 0px 5px 11px -9px rgba(0, 0, 0, 0.48);
    -moz-box-shadow: 0px 5px 11px -9px rgba(0, 0, 0, 0.48);
    box-shadow: 0px 5px 11px -9px rgba(0, 0, 0, 0.48);
}

.schedule .calendar_content div.selected {
    background-color: #f0f0f0;
}

.schedule .calendar_header {
    width: 100%;
    text-align: center;
}

.schedule .calendar_header h2 {
    padding: 0 10px;
    font-weight: 500;
    font-size: 20px;
    color: #000;
    float: left;
    width: 100%;
    margin: 0 0 10px;
}


/*** Search & Visiting Hours & Address ***/

.search {
    background: url(../img/search-bg.png) center center no-repeat;
    background-size: cover;
}


/*** New Course ***/

.new-course .new-course-col .date {
    padding: 0.25rem 0.75rem;
}

.new-course .new-course-col .course {
    padding: 0.25rem 0.75rem;
}

.new-course .new-course-col .cta {
    padding: 0.25rem 0.5rem;
}

.new-course .new-course-col span {
    font-size: 0.75rem;
    line-height: 1.2;
    letter-spacing: -0.05rem;
}

.new-course .new-course-col i {
    font-size: 1.5rem;
    line-height: 1.2;
}

@media (min-width: 576px) {
    .new-course .new-course-col .date {
        padding: 0.5rem 1.5rem;
    }
    .new-course .new-course-col .course {
        padding: 0.5rem 1.5rem;
    }
    .new-course .new-course-col .cta {
        padding: 0.25rem 0.5rem;
    }
    .new-course .new-course-col span {
        font-size: 1.1rem;
        line-height: 1.2;
    }
    .new-course .new-course-col i {
        font-size: 2rem;
        line-height: 1.2;
    }
}


/*** Course Detail ***/

.course-detail .course-detail-col {
    padding: .75rem !important;
}

@media (min-width: 576px) {
    .course-detail .course-detail-col {
        padding: 1.5rem !important;
    }
}

@media (min-width: 768px) {
    .course-detail .course-detail-col {
        padding: 1.5rem !important;
    }
}

@media (min-width: 992px) {
    .course-detail .course-detail-col {
        padding: 1.5rem !important;
    }
}

@media (min-width: 1200px) {
    .course-detail .course-detail-col {
        padding: 2rem !important;
    }
}

@media (min-width: 1400px) {
    .course-detail .course-detail-col {
        padding: 2rem !important;
    }
}


/*** Course-apply ***/

.course-apply .course-apply-col i {
    font-size: 3rem;
    line-height: 1.2;
}

.fa-male {
    color: #153E2D;
}

.fa-female {
    color: #EA5151;
}

.course-apply .course-apply-col {
    padding: .75rem !important;
}

@media (min-width: 576px) {
    .course-apply .course-apply-col {
        padding: 1.5rem !important;
    }
}

@media (min-width: 768px) {
    .course-apply .course-apply-col {
        padding: 1.5rem !important;
    }
}

@media (min-width: 992px) {
    .course-apply .course-apply-col {
        padding: 1.5rem !important;
    }
}

@media (min-width: 1200px) {
    .course-apply .course-apply-col {
        padding: 2rem !important;
    }
}

@media (min-width: 1400px) {
    .course-apply .course-apply-col {
        padding: 2rem !important;
    }
}


/*** license-course ***/

.license-course .license-course-col .btn-group i {
    width: 58px;
    height: 58px;
    padding: 20px 20px;
    border-radius: 50%;
    color: #EA5151;
    background: rgba(234, 81, 81, 0.2);
}

.license-course .license-course-col .date {
    padding: 0.25rem 0.75rem;
}

.license-course .license-course-col .course {
    padding: 0.25rem 0.75rem;
}

.license-course .license-course-col .cta {
    padding: 0.25rem 0.5rem;
}

.license-course .license-course-col span {
    font-size: 0.75rem;
    line-height: 1.2;
    letter-spacing: -0.05rem;
}

.license-course .license-course-col .cta i {
    font-size: 1.5rem;
    line-height: 1.2;
}

@media (min-width: 576px) {
    .license-course .license-course-col .date {
        padding: 0.5rem 1.5rem;
    }
    .license-course .license-course-col .course {
        padding: 0.5rem 1.5rem;
    }
    .license-course .license-course-col .cta {
        padding: 0.25rem 0.5rem;
    }
    .license-course .license-course-col span {
        font-size: 1.1rem;
        line-height: 1.2;
    }
    .license-course .license-course-col .cta i {
        font-size: 2rem;
        line-height: 1.2;
    }
}


/*** Footer ***/

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

.footer .btn.btn-social:hover {
    color: var(--primary);
}

.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";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--primary);
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
}

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

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