@import '../../css/STSongti-SC-Black/style.css';
@import '../../css/TimesNewRoman/style.css';

.stsong-only,
.stsong {
    font-family: 'STSongti-SC-Black', Arial, Helvetica, sans-serif;
}

.stsong {
    color: #212529;
}

.times-new-roman-only,
.times-new-roman {
    font-family: 'TimesNewRomanPSMT', Arial, Helvetica, sans-serif;
}

.times-new-roman {
    color: #212529;
}

html{
    scroll-behavior: smooth;
}

body {
    background-color: #F7F7F7;
    top: 0px;
}

/*Website Scroll bar styloing*/
::-webkit-scrollbar {
    width: 5px;
    border-radius:50%;
}

/* Track */
::-webkit-scrollbar-track {
    background: #fff; 
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #006AB5; 
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #555; 
}

/*END OF SCROLL BAR STYLING*/

.event-description p {
    font-size: 16px !important;
}

.event-description img {
   width:100% !important;
   height:auto !important;
}
@media only screen and (max-width: 600px) {
    body {
        position: relative;
    }
}

.relative {
    position: relative;
}

.white {
    color: white;
}

.black {
    color: black;
}

.lightblue {
    color: #006AB5;
}

.gold {
    color: #E4C27B;
}

.blue {
    color: #004381;
}

.grey {
    color: #676767;
}

.gold {
    color: #E4C27B;
}

.titlestyle {
    border-left: 5px solid #006AB5;
    padding-left: 15px;
    padding-top: 2px;
    padding-bottom: 2px;
}

.bg-section {
    width: 100%;
    background-size: cover;
    background-attachment: fixed;
    position: relative;
    background-image: var(--bg-image);
    background-repeat: no-repeat;
    padding: 0;
}

.bg-course {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 90%;
    box-shadow: inset 0 0 0 1500px rgba(255, 255, 255, 0.6);
}

.bg-course:hover {
    outline: 10px solid #004381;
    outline-offset: -10px;
}

.bg-attachment-fixed {
    /* background-attachment: fixed; */
    position: relative;
}

.bg-image {
    background-image: var(--bg-image);
    background-repeat: no-repeat;
    background-size: cover;
}

.bg-with-shadow {
    box-shadow: inset 0 0 0 1500px rgba(0, 0, 0, 0.6);
}

.bg-white {
    background-color: #fff;
}

.bg-black {
    background-color: #000;
}

.centered {
    width: 300px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.navbar {
    width: 100%;
    margin-top: 0;
    margin-bottom: 0;
    z-index: 9999 !important;
    position: fixed;
}

.navbar-custom {
    background-color: transparent;
    font-size: 14px;
    z-index: 0;
    top: 0;
    width: 100%;
}

.navbar-custom .nav-item {
    position: relative;
}

.navbar-custom .nav-item.dropdown .dropdown-item {
    color: #004381 !important;
}

.navbar-custom.bg-white {
    background-color: white;
    color: #004381;
}

.navbar-custom .nav-item a {
    color: #ffffff !important;
    text-decoration: none;
}

.navbar-custom .nav-item a:hover,
.navbar-custom .nav-item.active a {
    display: block;
    color: #ffffff !important;
}

.navbar-custom.bg-white .nav-item a {
    color: #004381 !important;
    text-decoration: none;
}

.navbar-custom.bg-white .nav-item a:hover,
.navbar-custom.bg-white .nav-item.active a {
    color: #004381 !important;
}

.navbar-brand img {
    max-width: 150px;
    text-decoration: none;
    border-bottom: none;
}

@media only screen and (max-width:414px){
    .navbar-brand img {
        max-width: 130px;
        text-decoration: none;
        border-bottom: none;
    }
}

.navbar-brand:hover {
    text-decoration: none;
    border-bottom: none;
}

li.nav-item {
    margin: 0px 8px;
}

.navbar-custom li.nav-item.active:not(.social-media),
.navbar-custom li.nav-item:not(.social-media):hover {
    border-bottom: 2px solid #fff;
}

.navbar-custom .nav-item.dropdown .dropdown-menu .dropdown-item {
    /* padding: 10px; */
}

.navbar-custom .nav-item.dropdown .dropdown-menu .dropdown-item.active,
.navbar-custom .nav-item.dropdown .dropdown-menu .dropdown-item:active {
    background-color: #fff;
}

.navbar-custom .nav-item.dropdown .dropdown-item:hover,
.navbar-custom.bg-white li.nav-item.active:not(.social-media),
.navbar-custom.bg-white li.nav-item:not(.social-media):hover {
    border-bottom: 2px solid #004381;
}

.navbar-custom .nav-item .nav-link.social-media {
    width: 35px;
}

.dropdown-menu a {
    color: #006AB5 !important;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.section-title-container {
    display: inline-block;
}

.section-title-container .section-title:before {
    content: " ";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    background-color: #006AB5;
}

.section-title-container .section-title {
    padding-left: 15px;
    line-height: 1.5;
    position: relative;
}

.section-title-container .section-title.zh {
    font-family: 'STSongti-SC-Black', Arial, Helvetica, sans-serif;
}

.section-title-container .section-title.bm {
    font-family: 'TimesNewRomanPSMT', Arial, Helvetica, sans-serif;
}


.white-box-container .white-box {
    position: relative;
    background-color: #fff;
    /* width: 90%; */
    padding: 25px 25px 15px;
    min-height: 104px;
    max-height: 260px;
    margin:0 auto;
}

.white-box-container .white-box img {
    position: absolute;
    left: 5px;
    bottom: 0px;
    width: 50px;
}

.float-container {
    position: relative;
}

.course-component{
    background-color: black;
}

.course-component img{
    width:80%
}

@media only screen and (max-width:500px){
    .course-component img{
        width:100%;
    }
}

.event-container {
    background-color: white;
}
.event-bg{
    background-image: var(--bg-image);
    background-repeat: no-repeat;
    background-size: cover;
    height:200px;
}
.event-container .card-body {
    position: relative;
}

.event-container a,
.event-container a:hover {
    text-decoration: none;
    color: #000000;
}

.event-container .date-month:before {
    content: " ";
    position: absolute;
    right: 0;
    width: 1px;
    height: 50%;
    border: 1px solid #cecece;
    background-color: #cecece;
}

.event-container .month {
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 0;
    font-size: 16px;
}

.event-container .day {
    text-align: center;
    font-size: 14px;
    font-weight: bolder;
    margin-bottom: 0px;
}

.event-container .datetime {
    margin-bottom: 0;
}

.event-container .location {
    color: #676767;
}

.event-container .short-description {
    font-size: 15px;
    margin-bottom: 0;
}

#upcoming-event-carousel .carousel-indicators {
    bottom: -30px;
    cursor: pointer;
}

#upcoming-event-carousel .carousel-indicators li {
    height: 12px;
    padding: 0px;
    width: 12px;
    border-radius: 50%;
    border: 1px solid #006AB5;
    transition: all 0.5s ease-in-out;
}

#upcoming-event-carousel .carousel-indicators .active {
    background-color: #006AB5;
    width: 24px;
    border-radius: 15px;
}

#upcoming-event-carousel .carousel-control-next,
#upcoming-event-carousel .carousel-control-prev {
    top: 50%;
    bottom: unset;
    width: auto;
    padding: 8px;
    border-radius: 50%;
    border: 1px solid black;
    opacity: 1;
    background-color: black;
}

#upcoming-event-carousel .carousel-control-next {
    transform: translate(50%, 0);
    right: 0px;
}

#upcoming-event-carousel .carousel-control-prev {
    transform: translate(-50%, 0);
    left: 0px;
}

@media (min-width: 992px) {
    .float-container {
        position: absolute;
        top: 50%;
        transform: translate(0%, -50%);
        -webkit-transform: translate(0%, -50%);
        -moz-transform: translate(0%, -50%);
        -o-transform: translate(0%, -50%);
    }
}

.size-12 {
    font-size: 12px;
}

.size-10 {
    font-size: 10px;
}

footer img {
    max-width: 250px !important;
}

footer {
    background-color: white;
    -webkit-box-shadow: 0px -1px 5px 2px#ededed;
    -moz-box-shadow: 0px -1px 5px 2px#ededed;
    box-shadow: 0px -1px 5px 2px #ededed;
}

.awards-container img {
    max-width: 100px;
    width: 100%;
    margin: 0 auto;
}

.awards-container p {
    bottom: 4px;
}

.slick-slide {
    margin:2px 2px 2px 2px;
}

.courseheader {
    background-color: white;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    box-shadow: inset 0 0 0 1500px rgb(0 0 0 / 75%);
}

.courseheader h3 {
    text-align: center;
    color: white;
    display: block;
    border: 1px solid white;
    margin-top: 120px;
    margin-bottom: 50px;
}

.courseheader p {
    color: white;
    font-size: 19px;
    padding-top: 2px;
}

.iconimg img {
    width: 45px;
}

ol.d {
    list-style-type: decimal;
}

ol li {
    padding-top: 15px;
}

/* The Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.9);
}

/* Modal Content (image) */
.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
}

/* Add Animation */
.modal-content {
    -webkit-animation-name: zoom;
    -webkit-animation-duration: 0.6s;
    animation-name: zoom;
    animation-duration: 0.6s;
}

.ddck {
    position: absolute;
    bottom: 0;
}

.ddck img {
    height: 240px;
}

#scrollToTop {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 15px;
    width: 40px;
    height: 40px;
    z-index: 99;
    cursor: pointer;
    outline: transparent;
    border-radius: 100%;
    border-color: transparent;
    padding: 0;
    border: none;
    background: #F7F7F7;
}

/* The Pop Up Close Button */
.close {
    position: absolute;
    right: 35px;
    color: #f1f1f1;
    font-size: 24px;
    font-weight: bold;
    transition: 0.3s;
}
  
.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

@media only screen and (max-width:600px){
    .close{
        top:67px;

    }
}

.chat,
.closechat {
    bottom: 8vh;
    right: 11px;
    position: fixed;
    z-index: 99;
    width: 50px;
    cursor: pointer;
}

.chat .image-container {
    width: 50px;
    height: 50px;
    overflow: hidden;
    border-radius: 50%;
    position: relative;
}

.chat .image-container:before {
    content: "";
    background-color: transparent;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.chat.people {
    right: 10px;
}

.chat.people.ppl .image-container:hover+.chat-name {
    display: block;
    bottom: 50%;
    left: 0;
    transform: translate(-120%, 50%);
}

.chat-name {
    display: none;
    color: #676767;
    position: absolute;
    font-size: 11px;
    padding-left: 2px;
    padding-right: 2px;
    border-radius: 10%;
}


.button {
    background-color: #004381;
    border: none;
    color: white;
    padding: 8px 48px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 14px;
    cursor: pointer;
    position: relative;
}

.button.md {
    width: 150px;
}

.button.lg {
    width: 200px;
}

.button.xl {
    width: 250px;
}

.button.with-white-border:after {
    content: " ";
    position: absolute;
    width: 100%;
    height: 1px;
    background-color: #fff;
    border-bottom: 1px solid #fff;
    left: 0;
    right: 0;
    bottom: 0px;
}

.button:hover {
    text-decoration: none;
    color: white;
}

.event-tag {
    position: absolute;
    right: 0px;
    top: 0px;
    display: inline-block;
    padding: 8px 15px;
    color: white;
    text-align: center;
    line-height: 1;
}

.event-tag.Active {
    background: green;
}

.event-tag.end {
    background: red;
}

.event-tag.hold {
    background: orange;
}

a.call {
    padding: 0;
    margin: 0;
    color: #212529;
}

a.call:hover {
    text-decoration: none;
    color: #212529;
}

.slick-prev,
.slick-next,
#testimonial .slick-prev,
#testimonial .slick-next {
    top: 50%;
    width: 40px;
    height: 40px;
    padding-bottom: 0;
    z-index: 99;
}

.slick-prev:before,
.slick-next:before,
#testimonial .slick-prev:before,
#testimonial .slick-next:before {
    font-size: 40px;
}

.quote-img-position {
    position: absolute;
    bottom: -10px;
    width: 180px;
    right: -41px;
    transform: translate(50%, 0);
    -webkit-transform: translate(50%, 0);
    -moz-transform: translate(50%, 0);
    -o-transform: translate(50%, 0);
    z-index: 0;
}

@media screen and (max-width:991px) {
    .quota-container {
        top: -35px;
    }
}