/**
 * NukeViet Content Management System
 * @version 4.x
 * @author VINADES.,JSC <contact@vinades.vn>
 * @copyright (C) 2009-2021 VINADES.,JSC. All rights reserved
 * @license GNU/GPL version 2 or any later version
 * @see https://github.com/nukeviet The NukeViet CMS GitHub project
 */

/* Các tùy chỉnh CSS của giao diện nên để vào đây */
.container {
    padding-left: 10px;
    padding-right: 10px;
}

img {
    max-width: 100%;
}

.row {
    margin-left: -10px;
    margin-right: -10px;
    display: flex;
    flex-wrap: wrap;
}

.row>div {
    padding-left: 10px;
    padding-right: 10px;
}

.align-items-center {
    align-items: center;
}

.mt-30 {
    margin-top: 30px;
}

.mt-100 {
    margin-top: 100px;
}

.nav>li>a {
    position: relative;
    display: block;
    padding: 10px;
}

.navbar-default .navbar-collapse,
.navbar-default .navbar-form {
    border: none;
}

.navbar-default {
    background-color: transparent;
    border-color: transparent;
}

.navbar-default .navbar-nav>li>a {
    color: #222;
    text-transform: uppercase;
    font-weight: 500;
}

.navbar-default .navbar-nav>.active>a,
.navbar-default .navbar-nav>.active>a:hover,
.navbar-default .navbar-nav>.active>a:focus {
    color: #be1010;
    background-color: transparent;
}

.navbar-default .navbar-nav>li>a:hover,
.navbar-default .navbar-nav>li>a:focus {
    color: #be1010;
    background-color: transparent;
}

.navbar-default .navbar-nav>.open>a,
.navbar-default .navbar-nav>.open>a:hover,
.navbar-default .navbar-nav>.open>a:focus {
    background-color: transparent;
    color: #be1010;
}

.footer-info-connect {
    padding: 15px 0;
    background-image: linear-gradient(to right, #be8f108c, #cd5a0ac9, #b88006cc, #9300009e);
}

.footer-info-connect,
.footer-info-connect a {
    color: #fff;
}

.footer-info-connect>.wraper.container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: row;
    flex-wrap: nowrap;
}

.footer-info-connect>.wraper.container .box-item-info {
    display: flex;
    align-items: center;
    gap: 30px;
}

.footer-info-connect>.wraper.container .box-item-info:first-child {
    margin-right: 150px;
}

.footer-info-connect .icon-svg>img {
    filter: brightness(0) invert(1);
}

.footer-info-connect .icon-svg .fa {
    font-size: 45px;
}

.footer-info-connect>.wraper.container .box-item-info .info-text>span {
    display: block;
    font-size: 16px;
    font-weight: 400;
}

.footer-info-connect>.wraper.container .box-item-info .info-text>span:last-child {
    font-size: 20px;
    font-weight: 700;
}

footer .box-copyright {
    background-color: #930000;
    font-size: 12px;
    color: #fff;
    padding: 5px 0;
    font-weight: 300;
}

footer .box-copyright>.wraper.container {
    display: flex;
    flex-wrap: wrap;
}

footer .box-copyright a {
    color: #fff;
}

.ml-auto {
    margin-left: auto;
}

footer .row {
    margin-left: -20px;
    margin-right: -20px;
}

footer .row>div {
    padding-left: 20px;
    padding-right: 20px;
}

.breadcrumbs-search {
    background-color: #f6f6f6;
    border-radius: 6px;
    padding: 5px 8px 5px 15px;
    margin-bottom: 15px;
    min-height: 46.79px;
}

.breadcrumbs-search>.row {
    display: flex;
    align-items: center;
}

.footer-info-connect .social-list {
    display: flex;
    align-items: center;
    gap: 35px;
}

/* About Us */
#about-us {
    padding: 50px 0;
}

.box-section-title {
    text-align: center;
}

.box-section-title h2 {
    font-size: 24px;
    font-weight: 100;
    margin-bottom: 15px;
    font-family: "Dancing Script", cursive;
    font-optical-sizing: auto;
}

.box-section-title h2>span {
    position: relative;
}

.box-section-title h2>span::before {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #9d6e6d;
}

.box-section-title h3,
.box-section-title h2.single_title {
    font-size: 32px;
    margin-bottom: 15px;
    color: #a80300;
    text-transform: uppercase;
    font-family: unset !important;
    font-weight: 700;
}

.box-section-title h2.single_title {
    margin-bottom: 35px;
}

.section-title {
    font-size: 24px;
    margin-bottom: 0;
    color: #a80300;
    text-transform: uppercase;
    font-weight: 700;
}

.about-us-vision .section-title {
    font-size: 24px;
    margin-bottom: 10px;
    color: #a80300;
    text-transform: uppercase;
    font-weight: 700;
    text-align: center;
}

.content-box {
    padding: 10px;
    font-size: 18px;
    letter-spacing: 0.65px;
    line-height: 1.75;
    text-align: justify;
}

.about-us-vision .content-box {
    box-shadow: 0 0 10px #a6a6a6;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 40px;
}

.about-us-content .content-item {
    background: #fff1f1;
    border-radius: 10px;
    padding: 20px;
}

.content-box ul {
    list-style: none;
    padding-left: 0;
    margin-left: 0;
}

.content-box ul>li {
    margin-bottom: 15px;
}

.content-box ul>li h3 {
    font-size: 18px;
    margin-bottom: 5px;
}

ul.mission-list {
    margin-top: 5px;
    padding-left: 20px;
    list-style: disc;
}

ul.mission-list>li {
    margin-bottom: 5px;
    font-style: italic;
}

/* Testimonial */
.testimonial-item {
    border-radius: 10px;
    padding: 15px 20px;
    box-shadow: 0 0 10px #a6a6a6;
    background: #fff;
}

.testimonial-item .description {
    font-weight: 400;
    text-align: justify;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    -webkit-line-clamp: 12;
    height: calc(24px * 12);
    line-height: 24px;
}

.testimonial-item .author {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 15px;
    border-top: 1px dashed #ccc;
    padding-top: 20px;
    font-size: 16px;
    font-weight: 500;
}

.testimonial-item .author img {
    width: 65px !important;
    height: 65px !important;
    border-radius: 50%;
}

.sohomepage-slider {
    margin-bottom: 60px !important;
}

.owl2-stage-outer {
    padding: 20px 0;
}


/* section-news */
.section-news {
    margin-bottom: 30px;
}

.section-news h2 {
    font-size: 22px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.section-news .post-new-item {
    box-shadow: 0 0 10px #dcdcdc;
    border-radius: 10px;
    padding: 13px 15px 5px;
    background: #fff;
}

.section-news .first-new {
    padding-right: 15px;
}

.section-news .first-new img {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
}

.section-news figure {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 10px;
    position: relative;
    background: #fff;
}

.section-news figure img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: auto;
}

.section-news h3 {
    font-size: 18px;
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    word-break: break-word;
    -webkit-line-clamp: 1;
    height: calc(21px * 1);
    line-height: 21px;
}

.section-news .first-new h3 {
    margin-top: 10px;
    margin-bottom: 5px;
}

.section-news p {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    word-break: break-word;
    -webkit-line-clamp: 2;
    height: calc(21px * 2);
    line-height: 21px;
    color: #888;
}

.section-news ul {
    padding: 0;
}

.section-news ul li {
    display: flex;
    width: 100%;
    flex-direction: row;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
}

.section-news ul li figure {
    width: 135px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    max-height: 86px;
    margin: 0;
}

.section-news ul li figure img {
    width: 100%;
}

.section-news ul li span.publtime {
    font-size: 14px;
}

.section-news ul li .info {
    width: calc(100% - 135px);
}

#home-feedback {
    background: #fff1f1;
    padding: 50px 0 0;
    margin-bottom: 45px;
}

#featured-course {
    background: #fff1f1;
    padding: 50px 0;
}

.item-course {
    overflow: hidden;
    transition: all 0.3s ease;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 0 10px #a6a6a6;
    background: #fff;
    margin-bottom: 30px;
}

.item-course figure {
    overflow: hidden;
    border-radius: 5px;
    margin: 0;
    position: relative;
    aspect-ratio: 4 / 3;
    background: #be1010;
}

.item-course figure img {
    width: 100%;
    height: auto;
    transition: all 0.3s ease;
    border-radius: 5px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.item-course h3 {
    font-size: 18px;
    margin: 15px 0 10px;
    line-height: 1.5;
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    word-break: break-word;
    -webkit-line-clamp: 1;
    height: 28px;
    line-height: 28px;
    font-weight: 700;
}

.item-course p {
    color: #666;
}

#top-slider .top-slide-item {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

#top-slider .top-slide-item figure {
    position: relative;
    margin: 0;
    padding: 0;
}

#top-slider .top-slide-item figure img {
    width: 100%;
    height: auto;
}

#top-slider .top-slide-item-content {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 90%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 40px 50px;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    transform: translate(-50%, -50%);
    border-radius: 20px;
}

#top-slider .top-slide-item-content h1 {
    font-size: 40px;
    margin-bottom: 10px;
    font-weight: 700;
}

#top-slider .top-slide-item-content p {
    font-size: 16px;
    margin-bottom: 20px;
    font-weight: 300;
}

#top-slider .top-slide-item-content .top-slide-action {
    font-size: 16px;
    padding: 10px 20px;
    border-radius: 20px;
    font-weight: 500;
}

.page-cong-dong .box-section-title h2 {
    font-size: 32px;
    margin-bottom: 25px;
    color: #222;
    text-transform: capitalize;
    font-family: unset !important;
    font-weight: 700;
    margin-top: 30px;
}

.page-cong-dong .box-section-title h3 {
    font-size: 24px;
}

.page-cong-dong #programs,
.page-cong-dong #cta {
    background: #fff1f1;
    padding: 50px 0;
    margin-bottom: 50px;
}

.page-cong-dong #programs .row {
    margin-top: 50px;
}

.page-cong-dong #programs .content-item {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
}

.page-cong-dong #programs h3 {
    font-size: 20px;
}

.page-cong-dong .stories-content .content-item {
    background: #f5f5f5;
    border-radius: 10px;
    padding: 20px;
    font-size: 18px;
    font-style: italic;
    text-align: left;
    font-weight: 400;
}

.page-cong-dong #cta {
    margin-bottom: 0;
}

.page-cong-dong #cta .cta-button {
    font-size: 16px;
    padding: 10px 20px;
    border-radius: 20px;
    font-weight: 500;
    margin-top: 20px;
}

.page-cong-dong p,
.page-cong-dong ul li {
    margin-bottom: 15px;
    letter-spacing: 0.5px;
    line-height: 1.5;
    font-size: 18px;
}

#our-journey {
    background: #fff1f1;
    padding: 50px 0;
}

#home-news {
    padding-top: 45px;
    padding-bottom: 45px;
}

#footer .contact-footer {
    display: flex;
    justify-content: space-around;
    padding: 0 0 10px;
    margin: 0 0 10px;
    border-bottom: 0.5px dashed color(srgb 1 1 1 / 0.8);
}

.footer-socials .social-list {
    display: flex;
    align-items: center;
    gap: 35px;
    padding: 0;
    justify-content: flex-start;
    margin-top: 20px;
    margin-bottom: 0;
}

.section-header.fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1;
    background: #fff;
    box-shadow: 0 0 10px #a6a6a6;
}

header.fixed {
    padding-top: 90px;
}

header.fixed #header .logo img {
    max-width: 90px;
    transition: all 0.3s ease;
}

a.btn {
    font-size: 16px;
    padding: 10px 20px;
    border-radius: 20px;
    font-weight: 500;
}

.title-cattitle {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    text-align: center;
    margin-top: 20px;
}

ul.desc-news li {
    font-size: 13px;
}

.show-3-lines {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    height: calc(21px * 3);
    line-height: 21px;
    color: #666;
}

#our-spirit {
    background: url(/uploads/congdong-tamhuyet.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: bottom;
    padding: 50px 0;
    min-height: 700px;
    position: relative;
}

#our-spirit::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
}

#our-spirit .wraper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
}

#our-spirit .box-section-title h2 {
    color: #fff;
}

.page-cong-dong {
    font-size: 16px;
    line-height: 1.5;
}

.about-us-content .text-left.content-box {
    padding-left: 30px;
}

.story-player {
    border-radius: 15px;
    overflow: hidden;
    background: #333;
    padding: 0;
    width: 100%;
    aspect-ratio: 16/9;
    margin-bottom: 15px;
}

.story-item {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    width: 100%;
    margin-bottom: 14px;
    border-radius: 10px;
    background: #333;
    cursor: pointer;
    position: relative;
}

.story-item:not(.active):hover::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    content: '';
    background: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    border: 2px solid #be1010;
}

.story-item.active {
    border: 2px solid #be1010;
}

.story-item.active::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    content: '';
    background: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
}

.story-item.active::after {
    position: absolute;
    top: 0;
    left: 0;
    content: '\25BA';
    color: #fff;
    font-size: 30px;
    line-height: 1;
    text-align: center;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sohomeslider-inner-feedback.owl2-carousel .owl2-stage {
    display: flex;
    align-items: center;
}

figure.post-fg {
    text-align: center;
    overflow: hidden;
    border-radius: 5px;
    margin: 0;
    position: relative;
    aspect-ratio: 4 / 3;
    background: rgb(213 220 222);
    margin-bottom: 15px;
}

figure.post-fg img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: auto;
}

.page-cong-dong figure {
    width: 800px;
    max-width: 100%;
    margin: 10px auto;
}

@media (min-width: 768px) {
    .navbar-nav>li>a {
        padding-top: 0;
        padding-bottom: 0;
    }
}

@media (max-width: 768px) {
    .about-us-vision.mt-100 {
        margin-top: 30px;
    }

    #our-spirit {
        min-height: 500px;
    }

    .about-us-content img {
        margin-bottom: 30px;
    }

    .about-us-content .content-item {
        margin-bottom: 30px;
    }

    .about-us-content .text-left.content-box {
        padding-left: 10px;
    }

    .section-news .first-new {
        padding-right: 10px;
    }

    footer .box-copyright .ml-auto {
        display: none;
    }

    .footer-info-connect>.wraper.container .box-item-info:not(.ml-auto) {
        display: none;
    }

    .footer-info-connect>.wraper.container .box-item-info.ml-auto {
        margin-left: unset;
    }

    .footer-info-connect>.wraper.container .box-item-info.ml-auto ul {
        padding: 0;
        margin: 0;
    }

    #top-slider .top-slide-item-content h1 {
        font-size: 24px;
    }

    #top-slider .top-slide-item-content p {
        font-size: 14px;
    }

    #top-slider .top-slide-item-content {
        padding: 15px 20px;
    }

    .page-cong-dong .box-section-title h2 {
        font-size: 24px;
    }

    .page-cong-dong .box-section-title h3 {
        font-size: 18px;
        margin-bottom: 10px;
    }

    .page-cong-dong .stories-content .content-item,
    .page-cong-dong #programs .content-item {
        margin-bottom: 15px;
    }
}

@media (max-width: 576px) {
    #top-slider .top-slide-item-content {
        padding: 10px 15px;
    }

    #top-slider .top-slide-item-content h1 {
        font-size: 18px;
    }

    #top-slider .top-slide-item-content .top-slide-action {
        font-size: 14px;
        padding: 5px 15px;
        border-radius: 15px;
        font-weight: 400;
    }
}