@charset "UTF-8";

body {
    background: unset!important;
}

#right_div {
    display: none;
}

section {
    padding: var(--section-padding);
}

#hero {
    padding: 0;
    --carousel-control-width: 100px;
    --height: 600px;
    --content-padding: 50px 40px;
    height: var(--height);
}

#hero .carousel-control {
    width: var(--carousel-control-width);
}

#hero .carousel-control:hover {
    background: rgba(0, 0, 0, 0.2);
}

.carousel-control-next-icon, 
.carousel-control-prev-icon {
    filter: drop-shadow(2px 4px 6px black)
}

#hero .carousel-inner {
    margin-left: auto;
    margin-right: auto;
}

.carousel,
.carousel-inner,
.carousel-item {
    height: 100%;
}

.carousel-item {
    /*
    background: 
        linear-gradient(0deg, rgba(0, 0, 0, 0.60) 0%, rgba(0, 0, 0, 0.60) 100%), 
        var(--slider-bg) no-repeat center center;
    */
    background: var(--slider-bg) no-repeat center center;
    background-size: cover;
    /* padding: 0 var(--carousel-control-width); */
}

.carousel-item:has(.slider-bg-top) {
    background-position-y: top;
}

.carousel-item:has(.slider-bg-right) {
    background-position-x: right;
}

.carousel-item:not(:has(.slider-content *)) {
    background: var(--slider-bg) no-repeat top center;
    background-size: cover;
}

.carousel .carousel-indicators li {
    display: inline-block;
    height: 10px;
    width: 10px;
    border-radius: var(--card-radius);
    border: solid 2px #fff;
    background: transparent;
    opacity: 0.5;
}

.carousel .carousel-indicators li.active {
    background: #fff;
}

.carousel .carousel-indicators li:hover {
    opacity: 1;
}

.slider-content {
    display: flex;
    flex-direction: column;
    row-gap: 20px;
    /* height: 100%; */
    padding: var(--content-padding);
    padding-left: var(--carousel-control-width);
    justify-content: center;
    text-decoration: none;
	background: rgba(0, 0, 0, 0.5);
    /* transform: translate(0%, 50%); */
    min-height: 50%;
	/* width: 60%; */
    /* padding-left: 15%!important; */
	margin: 0;
	align-items: start;
	text-align: left!important;
}

/*
#slider .slider-content .slide-lead * {
    text-align: left !important;
}
*/

.slider-content *:not(.slider-content .slider-content *) {
    width: 100%;
    color: #fff;
    /* text-align: center; */
   /* text-shadow:
        1px 1px 4px #000, 
        0px 0px 10px #7d7d7d; */
}

.slider-content h4 {
    font-size: clamp(18px, 10.67px + 2.04vw, 40px);
    line-height: 160%;
}

.slider-content .slide-lead {
    font-size: clamp(14px, 10.67px + 0.93vw, 24px);
    line-height: 160%;
}

.slider-content .slide-lead.long-lead div {
    font-size: clamp(10px, 6.54px + 0.96vw, 20px);
}

.carousel-control {
    --bs-btn-hover-bg: rgba(0, 0, 0, 0.2)!important;
}

#news .top1 .news-img {
    width: 100%;
    aspect-ratio: 452 / 240;
}

#news .top-2-3 .latest-news-list {
    height: 100%;
}

#news .top-2-3 .latest-news-list > .row {
    height: 100%;
}

#news .top-2-3 .news-img {
    aspect-ratio: 225 / 190;
}

#news .top-2-3 .news-item {
    height: calc((100% - var(--bs-gutter-y)) / 2);
}

#news .top-2-3 .list-item {
    flex-direction: row;
    height: 100%;
}

#elearn .content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}


@media(min-width: 992px) {
    .carousel .slider-content:has(.slider-content-lg-6) {
        width: 66%;
    }
}

@media(max-width: 991px) {
    #hero {
        --height: 400px;
        --carousel-control-width: 75px;
        --content-padding: 30px 25px;
    }

    .slider-content {
        height: 100%;
        padding-right: var(--carousel-control-width);
    }

    .slider-content * {
        text-align: center;
    }

    body {
        --section-padding: 28px 8px;
    }

    #elearn .content {
        position: absolute;
        height: 100%;
        justify-content: start;
    }
}

@media(max-width: 767px) {
    #hero {
        --height: 350px;
        --carousel-control-width: 40px;
        --content-padding: 40px 20px;
    }
}

@media(max-width: 575px) {
    #hero {
        --height: 300px;
        --carousel-control-width: 25px;
        --content-padding: 25px 10px;
    }
}