#main-header {
    position: absolute;
}

.main-trangchu {
    position: absolute;
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
    /* padding-top: 125px; */
    overflow: hidden;
}

.container-trangchu {
    opacity: 0;
    transform: translateY(100%);
    transition: opacity 0.5s ease-in-out, transform 0.6s ease-in-out;
    display: flex;
    flex-wrap: wrap;
    align-content: space-around;
    margin: auto;
    height: calc(98% - 80px);
    padding-left: 30px;
    padding-right: 30px;
}
.container-trangchu > div {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
}

.trangchu-about.row {
    margin-left: 0 !important;
    margin-right: 0 !important;
}
@media (max-width: 768px) {
    .trangchu-about.row {
        display: flex;
        align-content: flex-start;
        justify-content: flex-start;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}
.trangchu-about .row > div {
    padding-left: 25px;
    padding-right: 25px;
}

#main-trangchu .cell {
    position: relative;
    box-sizing: border-box;
    border-radius: 20px;
    background: -webkit-linear-gradient(
        42deg,
        #0f5b89 0%,
        #009dca 100%
    ) !important;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    /*  box-shadow: rgba(0, 0, 0, 0.1) 0px 20px 25px -5px, rgba(0, 0, 0, 0.2) 0px 10px 10px -5px;*/
    overflow: hidden;
    text-align: center;
    height: 100%;
}
@media (max-width: 767.7px) {
    #main-trangchu .embed-responsive .embed-responsive-item,
    .embed-responsive embed,
    .embed-responsive iframe,
    .embed-responsive object,
    .embed-responsive video {
        position: absolute;
        top: -22px;
        bottom: 0;
        left: 0;
        width: 107%;
        height: 135%;
        border: 0;
        background-position: center;
    }
    #main-trangchu .cell-3 .cell {
        background-size: 100% 113% !important;
        background-repeat: no-repeat !important;
        background-image: url(https://i.ytimg.com/vi/L441soTQaaI/sddefault.jpg) !important;
        width: 112%;
        left: -18%;
        transform: scale(1.3);
        border-radius: 10px;
    }
    #main-trangchu .cell-3 .cell:hover {
        transform: scale(1.3);
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    }
    .ytp-large-play-button svg {
        height: 30px !important;
    }
}
@media (min-width: 768px) and (max-width: 819px) {
    .video_intro {
        display: inline-block !important;
    }
    #main-trangchu .cell-3 {
        display: none;
    }
}

#main-trangchu .cell:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.trangchu-about {
    /* height: 40%; */
}
.citapps {
    padding-top: 20px;
    padding-bottom: 20px;
    margin-bottom: 30px;
    position: relative;
}
.swiper-pagination-bullets.swiper-pagination-horizontal {
    bottom: -20px;
}

.image-box {
    border-radius: 20px;
    margin: 0 auto;
    width: 100%;
    max-width: 102px;
    background: #00000021;
    cursor: pointer;
    box-shadow: inset rgba(0, 0, 0, 0.2) 0px -4px 8px,
        rgba(0, 0, 0, 0.1) 0px 4px 8px;
    transition: 350ms ease-in-out;
    /* padding: 10px; */
    overflow: hidden;
}
.image-box:hover {
    transform: scale(1.05);
}
.image-box .resize {
    padding-top: 100%;
}
.image-box .resize > img {
    object-fit: contain;
    background-color: #fff;
}

.card .image-box img {
    padding: 16%;
}

.card .profile-details {
    align-items: center;
    font-weight: 800;
    padding-top: 3px;
    font-size: 17px;
}

.slider-container {
    position: relative;
    margin: auto;
    height: 100%;
    width: 100%;
    text-align: center;
}

.slider-images {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 100%;
    text-align: center;
    vertical-align: middle;
}
.swiper {
    width: 100%;
    height: 100%;
    margin-left: auto;
    margin-right: auto;
}
/* .swiper-grid-column > .swiper-wrapper {
  flex-direction: unset;
} */
.swiper-slide {
    text-align: center;
    /* display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
  flex-direction: column; */
    padding-top: 5px;
    padding-bottom: 5px;
}
.swiper-slide h5 a {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    -webkit-box-orient: vertical;
    height: 35px;
}

.slider-image {
    width: 100%;
    flex: 0 0 auto;
    object-fit: contain;
}
.slider-image.resize {
    padding-top: 56.25%;
}

/* .slider-image.resize > img {
  object-fit: contain;
} */
.arrow-prev,
.arrow-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    cursor: pointer;
}

.arrow-next {
    right: 15px;
}

.arrow-prev {
    left: 15px;
}

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

.dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    margin: 0 1px;
    background-color: #ff8a00;
    border-radius: 50%;
}

.dot.active {
    background-color: #ff8a00;
    transform: scale(1.6);
    margin-top: -3px;
}

#main-trangchu .cell.cell-3 .button {
    position: relative;
    justify-content: center;
    align-items: center;
}

.menuicons {
    /* menu dưới cùng */
    /* height: 14%; */
    position: relative;
    display: none;
}

.menu-home {
    display: flex;
    width: 50%;
    height: 80%;
    min-width: 270px;
    padding: 15px;
    margin: 0px auto;
    border-radius: 20px;
    box-shadow: 0 0 7px rgba(173, 216, 230, 0.8);
}
@media (max-width: 375px) {
    .menu-home {
        display: flex;
        width: 50%;
        height: 65%;
        min-width: 270px;
        padding: 10px;
        margin: 0px auto;
        border-radius: 20px;
        box-shadow: 0 0 7px rgba(173, 216, 230, 0.8);
    }
    @media (max-width: 280px) {
        .menu-home {
            display: flex;
            width: 50%;
            height: 65%;
            min-width: 227px;
            padding: 10px;
            margin: 0px auto;
            border-radius: 20px;
            box-shadow: 0 0 7px rgba(173, 216, 230, 0.8);
        }
    }
    #main-trangchu .cell-2 {
        padding-bottom: 20px;
        flex: 0 0 100%;
        max-width: 85% !important;
    }
}
@media (max-width: 768px) {
    /*#video-box{
  display: none !important;
}
.video_intro{
  display: block !important;
}
.video_intro.show {
    width: 0 !important;
}*/
}

@media screen and (min-width: 1024px) and (max-width: 1366px) {
    .menu-home {
        display: flex;
        width: 51%;
        height: 72%;
        min-width: 270px;
        padding: 20px;
        margin: 0px auto;
        border-radius: 20px;
        box-shadow: 0 0 7px rgba(173, 216, 230, 0.8);
    }
    .container-trangchu {
        max-width: 1007px !important;
    }
}
@media (min-width: 1024px) and (max-width: 1366px) and (min-height: 600px) {
    .menu-home {
        display: flex;
        width: 33%;
        height: 59%;
        min-width: 261px;
        padding: 11px;
        margin: 0px auto;
        border-radius: 20px;
        box-shadow: 0 0 7px rgba(173, 216, 230, 0.8);
    }
    .image-box {
        max-width: 64px !important;
    }
    .citapps {
        height: 300px !important;
    }
}

@media screen and (min-width: 769px) and (max-width: 992px) {
    .trangchu-about {
        display: flex;
        flex-wrap: wrap;
        align-content: center;
        justify-content: center;
        flex-direction: row;
        align-items: center;
    }
    .embed-responsive-16by9::before {
        padding-top: 98% !important;
    }
    #video-box {
        display: none;
    }
    .video_intro {
        display: block !important;
        padding-top: 38% !important;
    }
    #main-trangchu .cell {
        height: 200px !important;
    }
    #main-trangchu .trangchu-about .cell-3 {
        position: relative;
        transform: scale(1);
    }
    .trangchu-about.row {
        margin-top: 25px;
    }
    .swiper-button-prev {
        display: none;
    }
    .swiper-button-next {
        display: none;
    }
    .col-md-4 {
        flex: 0 0 57% !important;
        max-width: 33% !important;
    }
    .video_intro.show {
        width: auto !important;
        max-width: auto !important;
    }
}

.menu-list {
    flex-direction: row;
    display: flex;
    justify-content: space-between;
    height: 100%;
    width: 100%;
}

.menu-logo {
    border: none;

    height: 100%;
    aspect-ratio: 1/1;
    border-radius: 10px;
    display: block;
    background-color: unset;
    box-shadow: 0 0 10px rgba(173, 216, 230, 0.8);
    transition: 350ms ease-in-out;
}
.menu-logo:hover {
    transform: scale(1.15);
    border: none;
}
.visible {
    opacity: 1;
    transform: translateY(0%);
}

/* 2 arrow swiper */

.swiper-navBtn {
    color: #fff;
    height: 50px;
    width: 50px;
    transform: translateY(-40%);
    background: #ff8a00;
    border-radius: 50%;
    position: absolute;
    /*  margin-top: 50px;*/
}

.swiper-button-next {
    right: -37px;
}

.swiper-button-prev {
    left: -37px;
}

.swiper-navBtn::before,
.swiper-navBtn::after {
    font-size: 24px;
    line-height: 0 !important;
}
#container-trangchu .swiper-horizontal > .swiper-pagination-bullets {
    bottom: -20px;
}
.swiper-pagination-bullet {
    background-color: #fff;
    opacity: 0.7;
}
.swiper-pagination-bullet-active {
    opacity: 1;
}

.container-trangchu {
    max-width: 1140px;
}

@media screen and (max-width: 767px) {
    .swiper-navBtn {
        display: none;
    }
}

@media (max-width: 768px) {
    #main-trangchu .cell-2 {
        padding-left: 0;
        padding-right: 0;
        padding-bottom: 10px;
        flex: 0 0 100%;
        max-width: 100%;
    }
    .trangchu-about {
        display: flex;
        flex-wrap: wrap;
        align-content: center;
        justify-content: center;
        align-items: center;
    }
    #main-trangchu .cell-1 .cell {
        max-width: 78%;
    }
    .container-trangchu {
        height: 88%;
        margin-top: 10%;
    }
}
@media (min-width: 1024px) {
    #main-trangchu .cell-1 {
        -ms-flex: 0 0 26%;
        flex: 0 0 26%;
        max-width: 26%;
    }

    #main-trangchu .cell-2 {
        -ms-flex: 0 0 30%;
        flex: 0 0 34%;
        max-width: 34%;
    }

    #main-trangchu .cell-3 {
        -ms-flex: 0 0 40%;
        flex: 0 0 40%;
        max-width: 40%;
    }

    .trangchu-about .row {
        /* margin-left: -50px;
    margin-right: -50px; */
    }
    .trangchu-about .row > div {
        padding-left: 30px;
        padding-right: 30px;
    }
    .citapps {
        height: 320px;
    }
}

.citapps h5 {
    font-size: 13px;
    font-weight: 200;
}
.citapps h5 a {
    color: #fff;
}
.citapps h5 a:hover {
    color: var(--color-orange);
}
.citapps {
    background-repeat: no-repeat;
    background-size: cover;
}
.main-trangchu {
    background-repeat: no-repeat;
    background-size: cover;
}
@media (max-width: 768px) {
    .citapps {
        background-image: none !important;
    }
}
@media (min-width: 360px) and (max-width: 440px) and (max-height: 940px) {
    /* .citapps {
        top: -10% !important;
    } */
}
@media (min-width: 360px) and (max-width: 380px) and (max-height: 700px) {
    .citapps {
        top: -3% !important;
        height: 218px !important;
    }
}

@media (max-width: 1023.95px) {
    .embed-responsive-16by9::before {
        padding-top: 82%;
    }
    /* .citapps {
        top: -17%;
    } */
    .menuicons {
        display: none;
    }
    #main-trangchu .header-top.loaded #menu-dich-vu {
        display: block;
    }
    .mascot {
        padding-left: 0;
        display: inline-block;
    }
    .main-trangchu {
        height: calc(100% - 70px);
        padding-top: 0;
        padding-bottom: 0;
        top: 90px;
    }
    body.admin-bar .main-trangchu {
        height: calc(100% - 15px);
        top: 15px;
    }
    .trangchu-about .row {
        margin-left: -10px;
        margin-right: -10px;
    }
    .trangchu-about .row > div {
        padding-left: 10px;
        padding-right: 10px;
    }
    .citapps {
        height: 260px;
    }
    .citapps h5 {
        font-size: 10px;
        font-weight: 100;
    }
    .citapps h5 a {
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        height: 39px;
    }
    .image-box {
        max-width: 60px;
        /*    padding: 5px;*/
        border-radius: 10px;
        box-shadow: inset rgba(0, 0, 0, 0.2) 0px -3px 6px,
            rgba(0, 0, 0, 0.1) 0px 3px 6px;
    }
}

@media (min-width: 992px) {
    .container-trangchu {
        padding-left: 60px;
        padding-right: 60px;
    }
}

/*css linh vật*/
@media (max-width: 768px) {
    .page-template-templ-UI-home .linh-vat-action {
        bottom: 15% !important;
    }
    .page-template-templ-UI-home .linh-vat-action {
        position: absolute;
        width: 175px !important ;
        height: 165px !important;
        display: block;
        right: -91px !important;
        bottom: 50% !important;
        animation: fadeIn 5s forwards;
        z-index: 0;
    }
    .page-template-templ-UI-home #icon-linh-vat {
        position: relative;
        top: 10%;
        display: block;
        width: 63% !important;
        height: 84% !important;
        background: url(images/linh-vat.png) center / contain no-repeat;
    }
    .page-template-templ-UI-home .hello-text .hello {
        transform: translate(59%, -50%) !important;
        font-size: 14px;
        right: -7% !important;
    }
    .mascot {
        display: none;
    }
    .video-home {
        display: none;
    }
    /* .citapps {
        top: -25% !important;
    } */
}
@media (min-width: 414px) and (max-width: 440px) and (max-height: 944px) {
    .page-template-templ-UI-home .linh-vat-action {
        width: 174px !important;
        height: 184px !important;
    }
}

@media (min-width: 360px) and (max-width: 380px) and (max-height: 740px) {
    #main-trangchu .cell-2 .cell {
        width: 120%;
    }
    .page-template-templ-UI-home .linh-vat-action {
        width: 182px !important;
        height: 153px !important;
    }
    .page-template-templ-UI-home #icon-linh-vat {
        right: -12%;
        top: 10%;
        width: 50% !important;
        height: 75% !important;
    }
}
@media (min-width: 540px) and (max-width: 766px) and (max-height: 740px) {
    #main-trangchu .cell-1 {
        display: none;
    }
    #main-trangchu .cell-3 .cell {
        display: none;
    }
    #main-trangchu .video_intro {
        display: block !important;
    }
    #main-trangchu #play_video_intro {
        left: 70%;
    }
    .citapps {
        top: 0%;
    }
}
@media (max-width: 375px) {
    .linh-vat-action {
        bottom: 10% !important;
    }
}
.page-template-templ-UI-home .linh-vat-action {
    position: absolute;
    top: 12%;
    left: 56%;
    width: 264px;
    height: 239px;
    display: block;
    animation: fadeIn 5s forwards;
    z-index: 0;
}
@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateX(0);
    }
    100% {
        opacity: 1;
        transform: translateX(-50px);
    }
}
.page-template-templ-UI-home #icon-linh-vat {
    display: block;
    width: 70%;
    height: 70%;
    background: url(images/linh-vat.png) center / contain no-repeat;
}

.page-template-templ-UI-home .hello-text {
    position: absolute;
    top: 24%;
    right: 2%;
    width: 100%;
    transform: translate(-25%, -50%);
    font-size: 10px;
    color: #fff;
    opacity: 1;
    transition: opacity 5s ease-in-out;
    padding: 5px;
    background-color: #fff0;
    display: flex;
    justify-content: left;
    align-items: center;
}
.page-template-templ-UI-home .hello-text span {
    max-width: 100px;
}
.page-template-templ-UI-home .hello-text .hello {
    transform: translate(43%, -50%);
    font-size: 14px;
    right: -7% !important;
}
.page-template-templ-UI-home .hello-text {
    box-shadow: none !important;
    animation: none !important;
}
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.2);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(0, 0, 0, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
    }
}

.hide {
    /*    display: none;*/
}

.hello-text.hide {
    opacity: 1;
    transition: opacity 0.5s ease;
}

.click-me.hide {
    display: none;
}
.hello.hide {
    display: none;
}
.move.hide {
    display: none;
}

#play_video_intro:after,
#play_video_intro:before {
    animation: video 25s linear infinite;
    -webkit-animation: video 25s linear infinite;
    -moz-animation: video 25s linear infinite;
    -webkit-transition: all ease 0.3s;
    -moz-transition: all ease 0.3s;
    transition: all ease 0.3s;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    position: absolute;
    content: '';
}

#play_video_intro:before {
    background: rgba(255, 138, 0, 0.161);
    width: 56px;
    height: 53px;
    animation-delay: 0.5s;
    -webkit-animation-delay: 0.5s;
    -moz-animation-delay: 0.5s;
    -webkit-border-radius: 33.33% 50%;
    -moz-border-radius: 33.33% 50%;
    border-radius: 33.33% 50%;
}

#play_video_intro:after {
    background: rgba(255, 138, 0, 0.302);
    height: 42px;
    width: 46px;
}

.video_intro {
    z-index: 111;
    width: 0;
    max-width: calc(100vw - 40px);
    position: relative;
    padding-top: 80%;
    left: 0;
    right: 0;
    top: 44%;
    transform: translateY(2%);
    margin: 0 auto;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    -webkit-transition: all 0.3s linear;
    -o-transition: all 0.3s linear;
    transition: all 0.3s linear;
    opacity: 1;
    /* box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px; */
}

.video_intro_iframe.d-none {
    width: 0%;
}

.video_intro_iframe {
    width: 100%;
}

.video_intro_iframe iframe {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    border: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    z-index: 11;
}

.video_intro_iframe1 {
    width: 840px;
    transform: translateY(calc(-50% + 50px));
    max-width: calc(100vw - 40px);
    position: fixed;
    left: 0;
    right: 0;
    top: 50%;
    margin: 0 auto;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    -webkit-transition: all 0.5s linear;
    -o-transition: all 0.5s linear;
    transition: all 0.5s linear;
}

.video_intro.show {
    padding-top: 80%;
    width: 840px;
    max-width: calc(100vw - 100px);
    transform: translate(-20%, 5%);
    opacity: 1;
}

#play_video_intro {
    content: '';
    position: absolute;
    top: 49%;
    left: 46%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    font-size: 25px;
    line-height: 51px;
    text-align: center;
    border-radius: 50%;
    background: #ff8a00;
    color: #fff;
}

#play_video_intro i {
    position: absolute;
    top: 23%;
    left: 35%;
    font-size: 16px;
    transition: transform 0.3s ease-in-out;
}

#play_video_intro:hover i {
    transform: scale(0.95);
}

@keyframes video {
    0% {
        -webkit-border-radius: 33.33% 50%;
        -moz-border-radius: 33.33% 50%;
        border-radius: 33.33% 50%;
        -webkit-transform: translate(-50%, -50%) rotate(0);
        -ms-transform: translate(-50%, -50%) rotate(0);
        transform: translate(-50%, -50%) rotate(0);
    }

    100% {
        -webkit-border-radius: 50% 33.33%;
        -moz-border-radius: 50% 33.33%;
        border-radius: 50% 33.33%;
        -webkit-transform: translate(-50%, -50%) rotate(1800deg);
        -ms-transform: translate(-50%, -50%) rotate(1800deg);
        transform: translate(-50%, -50%) rotate(1800deg);
    }
}

@-webkit-keyframes video {
    0% {
        -webkit-border-radius: 33.33% 50%;
        -moz-border-radius: 33.33% 50%;
        border-radius: 33.33% 50%;
        -webkit-transform: translate(-50%, -50%) rotate(0);
        -ms-transform: translate(-50%, -50%) rotate(0);
        transform: translate(-50%, -50%) rotate(0);
    }

    100% {
        -webkit-border-radius: 50% 33.33%;
        -moz-border-radius: 50% 33.33%;
        border-radius: 50% 33.33%;
        -webkit-transform: translate(-50%, -50%) rotate(1800deg);
        -ms-transform: translate(-50%, -50%) rotate(1800deg);
        transform: translate(-50%, -50%) rotate(1800deg);
    }
}

@-moz-keyframes video {
    0% {
        -webkit-border-radius: 33.33% 50%;
        -moz-border-radius: 33.33% 50%;
        border-radius: 33.33% 50%;
        -webkit-transform: translate(-50%, -50%) rotate(0);
        -ms-transform: translate(-50%, -50%) rotate(0);
        transform: translate(-50%, -50%) rotate(0);
    }

    100% {
        -webkit-border-radius: 50% 33.33%;
        -moz-border-radius: 50% 33.33%;
        border-radius: 50% 33.33%;
        -webkit-transform: translate(-50%, -50%) rotate(1800deg);
        -ms-transform: translate(-50%, -50%) rotate(1800deg);
        transform: translate(-50%, -50%) rotate(1800deg);
    }
}

.page-template-templ-UI-home .tool-actions .linh-vat-action {
    display: none !important;
}

/*.page-template-templ-UI-home .modal-content {
  z-index: 1041;
}*/
/* .page-template-templ-UI-home .modal-backdrop {
    z-index: -1 !important;
} */
