/*
Theme Name: S4 Consulting
Author: MONDIAL.vn
Author URI: https://mondial.vn
Description: Công ty S4 Consulting
Version: 100.0
*/
@import url("style_adder.css");
@font-face {
    font-family: 'mainr';
    src: url("fonts/mainr.ttf");
    font-display: swap;
}
@font-face {
    font-family: 'mainm';
    src: url("fonts/mainm.ttf");
    font-display: swap;
}
@font-face {
    font-family: 'mainb';
    src: url("fonts/mainb.ttf");
    font-display: swap;
}

:root {
    --main: #cc3a19;
    --sub: #0e979f;
	--lgray: #808080;
    --gray: #202020;
}
::-webkit-scrollbar { width: 10px; background-color: #ddd; }
::-webkit-scrollbar-thumb {
    height: 20%;
    background: #aaa;
    border: 1px solid #ddd;
    transition: 0.3s;;
}
::-webkit-scrollbar-thumb:hover { background: var(--sub) }
::selection { background: var(--main); color: #fff; }
::-moz-selection { background: var(--main); color: #fff; }
::-webkit-selection { background: var(--main); color: #fff; }

html {
    scroll-behavior: smooth;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
}
html,body,button,p,text,textarea,select,input {
	outline: 0;
	font-family: 'mainr';
    line-height: 1.4;
}
b, strong { font-family: 'mainm'; }
h1, h2, h3, h4, h5, h6 {
    margin: 15px 0;
    font-weight: normal;
    font-family: 'mainm';
    line-height: 1.2;
    transition: 0.3s;;
}
p { font-size: 17px; line-height: 1.5;}
*:focus { box-shadow: none !important; }
input::placeholder {
    opacity: 1 !important;
    transition: 0.3s;
}
input[type='text']:focus::placeholder,
input[type='email']:focus::placeholder { color: transparent !important; }
/*WRAPPER_CENTER*/
.wrapper-center { margin: auto; max-width: 1600px; }
@media (min-width: 569px) { .wrapper-center { width: 90%;}}
@media (max-width: 568px) { .wrapper-center { margin: 0 30px }}


/*header*/
.pdt60 { padding-top: 110px }
.fixed {
	width: 100%;
	position: fixed;
	top: 0;
	z-index: 1;
}
.head-bar { 
    padding: 10px 0; 
    background-color: #fff;
}

.head-bar .right { justify-content: flex-end; }
.head-logo .custom-logo-link img { max-width: 100px; }
.head-top { padding: 5px 0; }
.head-top .decor {
    top: 0;
    height: 100%;
}
.head-top .left { left: 0;}
.head-top .right { right: 0;}
.head-top .mondial-button {
    font-size: 13px;
    margin: 0 0 0 15px;
    padding: 5px 40px 5px 10px;
}
.head-top .mondial-button::after { top: -3px; right: 5px}
.head-top .text { font-size: 13px;}

.head-price-btn { 
    display: flex;
    align-items: center;
    margin-left: 30px;
    padding: 3px 20px;
    height: 30px;
    font-size: 15px;
    font-family: 'mainm';
    background-color: var(--main);
    color: #fff;
}
.head-price-btn:hover { background-color: var(--sub); }
.search-n-lang { justify-content: flex-end; }
.polylang-langswitcher { 
    padding: 0;
    margin: 0 0 0 20px;
    display: flex;
    align-items: center;
    list-style: none;
}
.polylang-langswitcher li { 
    line-height: 1;
    padding-left: 10px;
    margin: 0 0 0 10px;
}
.polylang-langswitcher li a {
    line-height: 1;
    text-transform: uppercase;
    color: #000;
}
.polylang-langswitcher li:last-child {
    display: inline-block;
    border-left: 1px solid #ddd;
}
.current-lang a { color: #aaa !important}
.polylang-langswitcher li:hover a {
    color: var(--main);
}
.head-search { 
    overflow: hidden;
    margin-right: 20px;
    border-radius: 20px;
    background-color: #f1f1f1;
}
.head-search input[type=search] {
    background-color: transparent;
    width: 150px;
    font-size: 14px;
    padding: 5px 15px;
    border-radius: 99px;
}
.head-search button { 
    border: unset; 
    margin-right: 5px; 
    background-color: transparent;
}
.search-bar button:hover {
    opacity: 0.5;
    background: transparent;
}
.page-search-bar form {
    margin: 20px 0; 
    display: flex;
    border: 1px solid #ddd
}
.page-search-bar form input { width: 100%;}
.page-search-bar form button { 
    border: 2px solid #fff;
    padding: 0 20px;
    background-color: #fff;
}
.page-search-bar form button:hover {
    
}

@media (min-width: 1201px) {
    .search-n-lang { width: 100%; margin-bottom: 10px; }
}
@media (max-width: 1200px) {
    .head-top .decor { display: none}
    .head-price-btn { order: 1 }
    .head-menu { margin-left: 20px; order: 2 }
}
@media (max-width: 1024px) {
    .head-top .text { width: calc(100% - 125px); }
    .head-top .mondial-button { width: 125px; }
}
@media (max-width: 768px) {
    .head-search { display: none; }
    .head-logo .custom-logo-link img { max-width: 90px; }
}
/*head main menu*/
#mega-menu-primary >li>.mega-menu-link {
    font-family: 'mainm' !important;
    padding: 0 !important;
}
#mega-menu-wrap-primary .mega-menu-toggle .mega-toggle-block-0 .mega-toggle-animated-inner, 
#mega-menu-wrap-primary .mega-menu-toggle .mega-toggle-block-0 .mega-toggle-animated-inner::before, 
#mega-menu-wrap-primary .mega-menu-toggle .mega-toggle-block-0 .mega-toggle-animated-inner::after {
    height: 2px;
}
#mega-menu-wrap-primary #mega-menu-primary p {
    font-size: 14px !important;
    margin: 5px 0;
}
@media (min-width: 1201px) {
    #mega-menu-primary >li>.mega-menu-link {
        margin: 0 20px !important;
    }
    #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item {
        position: relative;
    }
    #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item>ul {
        top: 40px;
        box-shadow: unset !important;
    }
    #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item>ul>li a {
        line-height: 1.3 !important;
    }
    .mega-current-category-ancestor>a,
    .mega-current-menu-item>a,
    .mega-current-post-ancestor>a {
        color: var(--main) !important;
        border-bottom: 2px solid var(--sub) !important;
    }
}
@media (max-width: 1200px) {
    #mega-menu-primary >li>.mega-menu-link {
        padding: 0 15px !important;
    }
    #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item>ul {
        padding: 0 !important;
    }
}


/*footer*/
.footer-info { padding: 50px 0; }
.footer-info a:not(.mondial-button) { color: #000 }
.footer-info a:not(.mondial-button):hover { color: var(--main)}
.footer-info .foot-logo img { 
    max-width: 240px; 
    width: 100%; 
    padding-bottom: 30px; 
	padding-left:50px;
}
.footer-info .info tbody { display: flex; flex-wrap: wrap; }
.footer-info .info>table>tbody { gap: 30px;padding-left:20px; }
.footer-info .info>table>tbody>tr:nth-child(2n) td,
.footer-info .info>table>tbody>tr>td { background-color: transparent;}
.footer-info .info table tr:nth-child(4) td { padding: 10px 30px; background-color: #f1f1f1 !important }
.footer-info .info table tr:nth-child(4) .mondial-button { 
    text-align: center;
    width: 100%;
}
.footer-info .info table tr:nth-child(5) table { margin: 10px 0;}
.footer-info .info table tr:nth-child(5) table td:nth-child(1) { width: 40px !important; }
.footer-info .info table tr:nth-child(5) table td:nth-child(2) { width: calc(100% - 40px) !important; }
@media (min-width: 1025px) {
    .footer-info .info>table>tbody>tr { width: calc(33.33% - 20px); }
}
@media (max-width: 1024px) and (min-width: 569px) {
    .footer-info .info>table>tbody>tr { width: calc(50% - 15px); }
}
@media (min-width: 769px) {
    .footer-info .foot-logo img { padding-right: 40px; }
    .footer-info .foot-logo { width: 25% }
    .footer-info .info { width: 75% }
}
@media (max-width: 568px) {
    .footer-info .info>table>tbody>tr { width: 100%; }
}

.copyright { padding: 20px 0; background-color: #f1f1f1; }
.copyright .social p { margin: 15px 20px; }
.copyright .social img:hover { transform: scale(1.1); }
@media (max-width: 768px) {
    .copyright { padding: 30px }
    .copyright .box { width: 100%; text-align: center; }
    .copyright .social { justify-content: center; }
}
/*end footer*/



/*trang chu - home*/
.mondial-home {
    position: relative;
    overflow: hidden;
}
/*trang chu - banner*/
.home-banner-1 h1 {
    margin: 10px 0 0 0;
    line-height: 1.1;
}
.home-banner-1 .list-button .wp-block-buttons {
    margin-top: 0;
}
.home-banner-1 .list-button .wp-block-button a { 
    margin-bottom: 0;
    padding: 0;
    background: transparent;
    font-family: 'mainm';
}
.home-banner-1 .list-button .wp-block-button a::after {
    position: absolute;
    content: url('images/arrow-right-3.png');
    right: -22px;
    top: 1px;
}
.home-banner-1 .list-button .wp-block-column,
.home-banner-1 .list-button .wp-block-column p { transition: 0.3s; }
.home-banner-1 .list-button .wp-block-column:hover p { color: #fff !important }

.home-banner-1 .list-button .wp-block-column:nth-child(1) { border-top: 3px solid var(--main); }
.home-banner-1 .list-button .wp-block-column:nth-child(2) { border-top: 3px solid var(--sub); }
.home-banner-1 .list-button .wp-block-column:nth-child(1):hover { background: var(--main); }
.home-banner-1 .list-button .wp-block-column:nth-child(2):hover { background: var(--sub); }
.home-banner-1 .list-button .wp-block-column:nth-child(1) .wp-block-button a {color: var(--main); }
.home-banner-1 .list-button .wp-block-column:nth-child(2) .wp-block-button a {color: var(--sub); }
.home-banner-1 .list-button .wp-block-column:nth-child(1) .wp-block-button a::after {
    filter: brightness(50%) sepia(100) saturate(100) hue-rotate(25deg);
}
.home-banner-1 .list-button .wp-block-column:nth-child(2) .wp-block-button a::after {
    filter: brightness(50%) sepia(100) saturate(100) hue-rotate(180deg);
}
.home-banner-1 .list-button .wp-block-column:hover .wp-block-button a { color: #fff }
.home-banner-1 .list-button .wp-block-column:hover .wp-block-button a::after { filter: brightness(0) invert(1); }
.home-banner-1 .list-button .wp-block-column {

    box-shadow: 0 5px 10px -3px #00000050;
}
@media (min-width: 1201px) { .home-banner-1 { padding: 5px; } }
@media (max-width: 1200px) {
    .home-banner-1::before {
        z-index: 1;
        position: absolute;
        content: '';
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(to right, #fff,#fff, #ffffff50);
    }
}
@media (min-width: 569px) {
    .home-banner-1 .list-button .wp-block-column { 
        min-width: 260px; 
        padding: 15px 50px 15px 20px;
    }
}
@media (max-width: 568px) {
    .home-banner-1 { padding: 30px; margin: 0 }
    .home-banner-1 .list-button .wp-block-column { 
        background: #fff; 
        padding: 15px 25px;
    }
    .home-banner-1 p { font-size: 16px;}
    .home-banner-1 .list-button .wp-block-column a { font-size: 14px;}
    .home-banner-1 .wp-block-group { padding: 3px;}
    .home-banner-1 .wp-block-group .wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column {
        flex-basis: unset !important;
    }
}
/*trang chu - cau chuyen*/
.home-story>.wp-block-column:hover { background-color: var(--main) !important; transition: 0.3s; }
.home-story>.wp-block-column p { margin: 0; }
.home-story>.wp-block-column:hover p {  color: #fff; }
.home-story .wp-block-group {
    height: 100%;
    justify-content: space-between;
}

@media (min-width: 1025px) {
    .home-story .wp-block-group .bottom {
        padding: 15px 0;
        position: relative;
        overflow: hidden;
    }
    .home-story .wp-block-group .bottom .wp-block-button {
        position: absolute;
        top: 0px;
        left: -100%;
        transition: 0.3s;
    }
    .home-story .wp-block-group .bottom .wp-block-button>a {
        background-color: transparent;
        padding: 10px 55px 10px 0;
    }
    .home-story>.wp-block-column:hover img { opacity: 0; }
    .home-story>.wp-block-column:hover .bottom .wp-block-button { left: 0; }
}
@media (max-width: 1024px) {
    .home-story .wp-block-group .bottom .wp-block-button>a {
        margin-top: 20px;
    }
}

/*trang chu - chuc nang*/
.home-function {
    padding: 40px 0;
    background-color: #f1f1f1;
}
.home-function .function {
    position: relative;
    margin: 50px 0;
    transition: 0.3s;
}
.home-function .function::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--main);
    transition: 5s;
}
.home-function .function:hover::before { width: 100%; }
.home-function .function a {
    position: relative;
    font-family: "mainm";
}
.home-function .function a::before {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--main);
    transition: 0.3s;
}
.home-function .function a:hover::before { width: 100%; }

.func-image {
    width: 100%;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translate(0, -50%);
}
.box-clear { opacity: 1; }
.box-hide { opacity: 0; }
.func-image img { opacity: 0; margin: auto; }
.home-function .function { opacity: 0.5; }

.func-image.box-clear img,
.home-function .function:hover,
.home-function .function.box-clear { opacity: 1; }
.home-function-in-m { margin-top: 30px;}
.home-function-in-m .owl-item { background-color: transparent !important;}
.home-function-in-m .item { padding: 3px }
.func-image-m { 
    position: relative; 
    width: 100%;
    padding-top: 100%;
}
.func-image-m img {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    height: 100%;
    object-fit: contain;
}
@media (min-width: 769px) {
    .home-function-m { display: none; }
}
@media (max-width: 768px) {
    .home-function-d { display: none; }
}

/*trang chu - dich vụ*/
.home-services { 
    padding: 40px 0;
    background-image: url("images/symbol.png");
    background-repeat: no-repeat;
    background-position: top center;
    background-attachment: fixed;
}
.home-services .list-services { margin: 20px -15px;}
.home-services .item {
    background-color: #f1f1f1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin: 15px;
    padding: 40px;
    height: calc(100% - 30px);
    transition: 0.3s;
}
.home-services .item:hover { background-color: var(--main); }
.home-services .item:hover * { color: #fff; }
.home-services .item h3 {
    font-family: 'mainr';
    font-size: 32px;
    margin: 0 0 15px 0;
}
.home-services .item .info { overflow: hidden; }
.home-services .item .bottom { width: 100%; }

@media (min-width: 1025px) {
    .home-services .item .thumbnail { margin-top: 30px; }
    .home-services .item .thumbnail img {
        max-width: 90px;
        max-height: 90px;
        object-fit: contain;
    }
    .home-services .item .bottom>.mondial-button {
        background-color: transparent;
        padding: 10px 55px 10px 0;
    }
    .home-services .item .info { position: relative; }
    .home-services .item .bottom {
        position: absolute;
        top: 0;
        left: -100%;
        transition: 0.3s;
    }
    .home-services .item:hover .bottom { left: 0; }
}
@media (max-width: 1400px) and (min-width: 1025px) {
    .home-services .item .thumbnail { min-height: 120px; }
}
@media (max-width: 1024px) {
    .home-services { padding: 50px 0;}
    .home-services .item .description {
        margin: 15px 0;
        color: #000;
        overflow: hidden;
        display: -webkit-box;
        -webkit-line-clamp: 4;
                line-clamp: 4; 
        -webkit-box-orient: vertical;
    }
    .home-services .item:hover .description { color: #fff }
}

/*slide chỉnh cùng chiều cao*/
.owl-carousel .owl-stage { display: flex;}
.article-items {
    display: flex;
    flex: 1 0 auto;
    height: 100%;
}
.aticle-box {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}
/*trang chu - tin tuc*/
.home-news { padding: 40px 0; }
.home-list-news { margin-top: 30px; }
.home-news .aticle-box { width: 100%; }
.home-news .item { padding: 3px;}
.home-news .item .right { 
    padding: 40px;
    background-color: #f1f1f1;
}
.home-news .item .title { 
    font-size: 24px;
    font-family: 'mainm';
}
.home-news .item .description { 
    margin: 20px 0; 
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
}
@media (min-width: 769px) {
    .home-news .left { width: 55%;}
    .home-news .right {
        position: absolute;
        top: 50%;
        right: 0;
        transform: translate(0, -50%);
        width: 50%;
    }
}
.owl-dots { margin-top: 30px !important;}
.owl-dots .owl-dot span {
    width: 40px !important;
    height: 5px !important;
    border-radius: 0 !important;
}
.owl-dots .owl-dot.active span { background-color: var(--main) !important;}

.list-owl-nav button {
    position: absolute;
    border: none;
    background-color: transparent;
}
.list-owl-nav button span {
    visibility: hidden;
    position: relative; 
}
.list-owl-nav button:hover { 
    opacity: 0.5;
    background-color: transparent;
}
.list-owl-nav button span::before {
    visibility: visible;
    bottom: -40px;
    z-index: 10;
    position: absolute;
}
.list-owl-prev span::before { content: url('images/arrow-1.png'); right: -35px }
.list-owl-next span::before { content: url('images/arrow-2.png'); left: -35px }
.list-owl-prev { left: 0px }
.list-owl-next { right: 0px }

/*trang chu - customers*/
.home-customers { padding: 10px 0 50px 0; }
.home-customers p { margin: 30px; }
/*trang chu - feedback*/
.home-feedback {
    padding: 40px 0;
    background-color: #f1f1f1;
}
.home-feedback .owl-item {
    background-color: transparent !important;
}
.home-feedback .item {
    overflow: hidden; 
    margin: 0 -30px;
    padding: 3px;
}
.home-feedback .item .box { margin: 30px }
.home-feedback .item .title {
    text-transform: uppercase;
    font-family: 'mainm';
    color: var(--main);
    font-size: 20px;
    margin-bottom: 20px;
}

.home-feedback .description img { max-width: 100px; }
.home-feedback .description p { margin: 0; }
@media (min-width: 769px) {
    .home-feedback .thumbnail {
        position: relative;
        left: -20px;
        box-shadow: 20px -20px #ddd;
    }
    .home-feedback .thumbnail img {
        box-shadow: 10px -10px #ccc;
    }
}
/*trang trong*/
.single-page { padding-bottom: 50px;}
.the-content { padding: 50px 0; }
.wp-block-heading,
.single-page p { 
    margin-top: 15px;
    margin-bottom: 15px;
}
@media (max-width: 568px) {
    .single-page { padding: 10px 0 50px 0;}
}
/*trang tim kiem search-page*/
.search-page {
    padding: 30px 0;
    background: #f1f1f1;
}
.search-page .right {
    padding: 20px;
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 0px 7px -4px #00000050;
}
.search-page .right h2 { margin: 0 0 10px 0;}
.search-page .right a { 
    color: #000;
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
}
.search-page .right a .count {
    font-size: 12px;
    padding: 3px 8px;
    border-radius: 5px;
    font-family: 'mainm';
    background: #f1f1f1;
    transition: 0.3s;
}
.search-page .right a:hover {
    color: var(--main)
}
.search-page .right a:hover .count {
    background: var(--main);
    color: #fff;
}

.search-page-in { margin: 0 -15px;}
.search-page .box { margin: 20px 15px;}
.search-page .search-results { margin-top: 20px; }
.the-search-item {
    border-radius: 5px;
    background: #fff;
    padding: 15px;
    margin: 15px 0;
    box-shadow: 0 0px 7px -4px #00000050;
}
.the-search-item * { color: #000 }
.the-search-item .post-item-thumbnail img { border-radius: 3px;}
.the-search-item .info { margin-left: 15px;}
.the-search-item .title {
    font-family: 'mainm';
    font-size: 18px;
}
.the-search-item .description,
.the-search-item .title {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* number of lines to show */
            line-clamp: 2; 
    -webkit-box-orient: vertical;
    transition: 0.3s;
}
.the-search-item .description {
    font-size: 15px;
    margin: 8px 0;
}
.the-search-item .time { color: var(--lgray); }
.the-search-item .read-more {
    font-family: 'mainm';
    color: var(--main)
}
.the-search-item .bottom { justify-content: space-between; font-size: 13px;}
.the-search-item:hover .title { color: var(--main)}
@media (max-width: 568px) {
    .the-search-item { align-items: flex-start;}
    .the-search-item .post-item-thumbnail { padding-top: 100%;}
    .the-search-item .title { font-size: 15px;}
    .the-search-item .description { font-size: 14px;}
}
/*trang 404*/ 
.head-title-404 h2 { 
    color: var(--main);
    margin: 30px;
}
.mondial-404 .return-home { margin: 30px 0; }

/*trang vi sao chon*/

@media (max-width: 768px) and (min-width: 569px) {
    .wp-block-media-text {
        display: block;
    }
}
@media (max-width: 568px) {
    .page-why-oracle-netsuite { flex-direction: column-reverse;}
    .wp-block-media-text__content { padding: 0 !important; }
}
/*trang oracle netsuite*/
.wp-block-cover .wp-block-cover__inner-container { z-index: 2; }
.page-oracle-block-2::after {
    position: absolute;
    content: '';
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200px;
    background: #fff;
    z-index: 1;
}

.page-oracle-service.wp-block-cover { overflow: unset; }
@media (min-width: 1025px) {
    .page-oracle-service .wp-block-image { position: relative; top: -50px}
    .page-oracle-service .wp-block-columns { padding-bottom: 50px;}
}
@media (max-width: 1024px) {
    .page-oracle-service .wp-block-columns { padding: 30px 0;}
}
@media (min-width: 769px) {
    .page-oracle-intro-text.wp-block-column.has-background { padding: 50px }
}
@media (max-width: 768px) {
    .page-oracle-service.pos-2 .wp-block-columns,
    .page-oracle-service.pos-4 .wp-block-columns {
        flex-direction: column-reverse;
    }
}
/*trang lien he*/
.page-contact-number {
    margin-top: 0;
    margin-bottom: 0;
}
.page-contact-email .wp-block-column:nth-child(1) { border-top: 3px solid var(--main)}
.page-contact-email .wp-block-column:nth-child(2) { border-top: 3px solid var(--sub)}
.page-contact-email .wp-block-column:nth-child(3) { border-top: 3px solid #ffac26}
/*navigation*/
.navigation {
	padding: 10px;
	width: 100%;
	text-align: center;
}
.navigation ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
	padding: 0;
	margin: 0;
}
.navigation li {
    display: inline-block;
    margin: 5px 3px;
}
.navigation li a {
    font-size: 14px;
    display: inline-block;
    padding: 6px 15px;
    background-color: #ddd;
    color: #000;
    cursor: pointer;
}
.navigation li a:hover {
    color: #fff;
    background-color: var(--sub);
}
.navigation li.active a {
    color: #fff;
    background-color: var(--main);
}
/*end navigation*/




/*css breadcrumb - nut - tieu de - menu */
.anisl { transform: translate3d(-100px, 0px, 0px); }
.anisr { transform: translate3d(100px, 0px, 0px); }
.anist { transform: translate3d(0px, -100px, 0px); }
.anisb { transform: translate3d(0px, 100px, 0px); }
.anis {
    position: relative;
    z-index: 10;
    opacity: 0;
    transition: all 800ms ease-out;
}
.anis.in-view {
    opacity: 1;
    transform: translate3d(0px, 0px, 0px);
    z-index: 0;
}

/*breadcrumb*/
.breadcrumbs { 
    padding: 10px 0;
    background-color: #f1f1f1; 
}
.aioseo-breadcrumbs * { color: #000; font-size: 14px; }
.aioseo-breadcrumb-separator {
    margin: 0 6px;
    color: var(--main)
}
/*end breadcrumb*/


/*main title*/
.mondial-title { font-size: 40px;}
.entry-title { 
    text-transform: uppercase;
    font-size: 40px;
    position: relative;
    padding-bottom: 10px;
    margin: 0 0 30px 0;
}
.entry-title::after {
    position: absolute;
    content: "";
    width: 60px;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--sub);
}
.entry-title::after {
    left: 50%;
    transform: translate(-50%, 0);
}

/*trang tin tuc - danh mục*/
.category-page-head .category-description p { color: #fff; }
.category-page-head { padding: 60px 0px; }
.sub-category-page-head { margin-bottom: 50px;}
.mondial-posts { padding-bottom: 50px; }

.list-hot-posts-in { margin: 0 -10px;}
.list-hot-posts .hot-item {
    color: #fff;
    font-size: 20px;
    font-family: 'mainm';
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 30px;
    margin: 10px;
    height: calc(100% - 20px);
    border-top-right-radius: 30px;
}
.list-hot-posts .hot-item:hover { box-shadow: 0 5px 5px -3px #000; }

.list-hot-posts .item:nth-child(1) .hot-item { background: #009688; }
.list-hot-posts .item:nth-child(2) .hot-item { background: #CD6155; }
.list-hot-posts .item:nth-child(3) .hot-item { background: #D4AC0D; }
.list-hot-posts .item:nth-child(4) .hot-item { background: #2874A6; }

.list-hot-posts .hot-item .title { 
    width: 100%;
    margin-bottom: 15px;
}
.list-hot-posts .hot-item .read-more { 
    display: flex;
    justify-content: flex-end;
}
.list-hot-posts .hot-item .read-more img { 
    position: relative;
    right: 0px;
}
.list-hot-posts .hot-item:hover .read-more img { right: -10px; }

.the-subcat-list { margin-bottom: 50px;}
.the-subcat { margin: 30px 0;}
.the-subcat .title { font-size: 40px;}
@media (min-width: 1025px) {
    .parent-category-page-head { margin-bottom: 80px; }
    .category-page-head-info { padding: 60px 0 80px 0; }
    .category-page-head h1 { font-size: 60px;}
    .category-page-head .category-description p { font-size: 24px;}
    .list-hot-posts { height: 80px; }
    .list-hot-posts-out {
        position: absolute;
        width: 100%;
        top: -180px;
        left: 0;
    }
}
@media (max-width: 1024px) and (min-width: 569px) {
    .list-hot-posts { margin-top: 30px;}
}
@media (min-width: 569px) {
    .the-subcat>.description { width: 50%; font-size: 18px; }
    .list-hot-posts-margin {
        max-width: 1600px;
        width: 90%;
        margin: auto;
    }
}
@media (max-width: 568px) {
    .list-hot-posts-in { margin: 0 }
    .list-hot-posts .hot-item {
        flex-direction: row;
        justify-content: unset;
        margin: 0;
        height: 100%;
        border-top-right-radius: 0;
    }
    .list-hot-posts .hot-item .title { width: 80%; }
    .list-hot-posts .hot-item .read-more { width: 20%; }
    .list-hot-posts .hot-item .read-more img {
        width: 30px;
        height: 30px;
    }
}
.mondial-post { 
    overflow: hidden; 
    padding: 50px 0;
}
.mondial-post .decor {
    z-index: -1;
    opacity: 0.3;
    right: 0;
    bottom: 0;
    width: 60%;
}
.category-title { 
    font-family: 'mainm';
    font-size: 40px;
}
.the-list-post { margin: 20px -10px}
.the-post-item {
    display: flex;
    flex-direction: column;
	height: calc(100% - 30px);
    margin: 15px 10px;
    overflow: hidden;
    background-color: #f1f1f1;
}
.the-post-item:hover { box-shadow: 0px 3px 10px -5px #000; }
.post-item-thumbnail {
    position: relative;
    width: 100%;
    padding-top: 66.66%;
}
.post-item-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s ease-out;
}
.the-post-item:hover .post-item-thumbnail img { filter: blur(2px); }
.the-post-item .post-title {
    color: #000;
    position: relative;
    display: block;
    margin: 15px 20px 15px 0;
    padding-left: 30px;
}
.the-post-item .post-title::before {
    content: "";
    position: absolute;
    width: 20px;
    height: 2px;
    background-color: var(--sub);
    left: 0;
    top: 10px;
}
.the-post-item .post-layer {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: #000;
    padding: 20px;
    position: absolute;
    z-index: 3;
    width: 100%;
    height: 100%;
    background: #f1f1f1;
    left: -100%;
    top: 0;
    transition: 0.3s;
}
.the-post-item:hover .post-layer { left: 0; }
.the-post-item .post-layer .description {
    font-size: 15px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
}
.the-post-item .read-more { 
    margin-top: 10px;
    color: var(--main);
    font-size: 14px;
    font-family: 'mainm';
}
.the-post-item .post-time {
    position: absolute;
    z-index: 1;
    left: 15px;
    top: 0;
    text-align: center;
    background-color: var(--main);
    letter-spacing: 1px;
    padding: 6px 8px 8px 8px;
    color: #fff;
    transition: 0.3s;
}
.the-post-item .post-time .date {
    font-size: 24px;
    font-family: 'mainb';
    line-height: 1;
}
.the-post-item .post-time .month { font-size: 13px; }
.the-post-item:hover .post-time { background: var(--sub);}
@media (max-width: 1024px) and (min-width: 569px) {
    .the-post-item .post-title { font-size: 14px; }
}


/*trang dich vu - danh muc*/
.the-project-item .post-title,
.the-service-item .post-title { 
    color: #000;
    font-family: 'mainm';
    text-transform: uppercase;
    word-spacing: 1px;
    line-height: 1.4;
    font-size: 15px;
    margin: 20px 20px 20px 0;
}

/*trang tin tuc - chi tiet*/
h1.post-title { 
    position: relative;
    font-size: 40px;
}
h1.post-title::after { 
    position: absolute;
    content: '';
    background: var(--sub);
    width: 60px;
    height: 2px;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 0);
}
.the-content p,
.box-detail ul,
.box-detail ol {
    margin: 15px auto;
}
.box-related {margin-top: 50px;}

@media (min-width: 769px) { 
    h1.post-title {
        max-width: 80%;
        margin: 0 auto 40px auto;
        padding-bottom: 10px;
        text-align: center;
    }
}



/*block editor*/
.tac { text-align: center; }
.tal { text-align: left; }
.tar { text-align: right; }
.taj { text-align: justify; }
.tajlc { text-align: justify; text-align-last: center }
.ttu { text-transform: uppercase; }
.tdu { text-decoration: underline; }
.psr { position: relative; }
.psa { position: absolute; }
.lh1 { line-height: 1;}
.ls1 { letter-spacing: 1px;}
.clb { color: #000; }
.clw { color: #fff; }
.cls { color: var(--sub) }
.clm { color: var(--main); }
.cld { color: var(--main); }
.fs20 { font-size: 20px; }
.fs30 { font-size: 30px; }
.fs40 { font-size: 40px; }
.fs50 { font-size: 50px; }
.fs60 { font-size: 60px; }
.ffb { font-family: 'mainb';}
.ffm { font-family: 'mainm';}
.ffr { font-family: 'mainr';}

.gap0 { gap: 0 }
.gap1 { gap: 1em }
.gap2 { gap: 2em }
.gap3 { gap: 3em }
.gap4 { gap: 4em }
.gap5 { gap: 5em }

.bgw { background-color: #fff}
.bgm { background-color: var(--main)}
.bgs { background-color: var(--sub)}
.vh100 { height: 100vh }
.w100 { width: 100% }
.w90 { width: 90% }
.w80 { width: 80% }
.w70 { width: 70% }
.w60 { width: 60% }
.w50 { width: 50% }
.w40 { width: 40% }
.w30 { width: 30% }
.w20 { width: 20% }
.w10 { width: 10% }
.lsn { list-style: none;}
.mg0 { margin: 0 !important}
.mga { margin: 15px auto !important }
.pd0 { padding: 0 !important;}
.jcc { justify-content: center;}
.b2s { border: 2px solid var(--sub)}
.br20 { border-radius: 20px; }
.br15 { border-radius: 15px; }
.br10 { border-radius: 10px; }


/*trinh soan thao*/
/*ul ol li*/
.the-content ul li { position: relative; list-style: none; }
.the-content ul li::before {
    position: absolute;
    content: "";
    left: -20px;
    top: 1.2ex;
    width: 12px;
    height: 2px;
    background-color: var(--sub);
}
.the-content ol li::marker {
    color: var(--main);
    letter-spacing: 2px;
}
.wp-block-list { margin-top: 0; }

/*p*/

/*.wp-block-quote*/
.wp-block-quote {
    box-shadow: 5px 5px #ddd;
    max-width: 800px;
    position: relative;
    padding: 20px 30px;
    margin: 30px auto;
    border: 2px solid var(--sub)
}
.wp-block-quote::before {
    content:url('images/quote.png');
    position: absolute;
    right: 30px;
    top: -25px;
}
.wp-block-quote cite {
    position: relative;
    padding-left: 30px;
    font-family: 'mainm';
    color: #000;
    font-size: 1em;
}
.wp-block-quote cite::before {
    position: absolute;
    content: '';
    left: 0;
    bottom: 12px;
    width: 20px;
    height: 2px;
    background-color: var(--main);
}
/*.wp-block-cover*/
.wp-block-cover { min-height: 360px; }
.wp-block-spacer { margin: 0; }
@media (max-width: 768px) {
    .mh50 { height: 50px !important}
    .mh40 { height: 40px !important}
    .mh30 { height: 30px !important}
    .mh20 { height: 20px !important}
}

/*.wp-block-image*/
.wp-block-image { margin: 0; }
@media ( max-width: 768px ) { .wp-block-media-text__media { min-height: 360px !important; } }

/*wp-block-columns*/
.wp-block-column.has-background { padding: 15px 25px; }
@media (max-width: 768px) { 
.col-m-reverse { flex-direction: column-reverse; }
}
@media (max-width: 568px) { 
.wp-block-columns.is-layout-flex { gap: 1em }
}

/*button*/
.mondial-button,
.wp-block-button__link:not(.has-background) {
    background: var(--main);
    color: #fff;
    display: inline-block;
    position: relative;
    border-radius: 0;
    font-size: 15px;
    line-height: 1.2;
    font-family: 'mainm';
    padding: 10px 55px 10px 20px;
    margin: 10px 0;
}
.mondial-button::after,
.wp-block-button__link:not(.has-background)::after {
    position: absolute;
    content: url('images/arrow-right.png');
    right: 15px;
    top: 4px;
}
.mbtn-1:hover,
.mondial-button:hover,
.wp-block-button__link:not(.has-background):hover { 
    background-color: var(--sub);
    color: #fff;
}
.mbtn-2,
.wp-button-2 .wp-block-button__link:not(.has-background) {
    background: #fff;
    color: var(--main);
    font-family: 'mainb';
}
.mbtn-2::after,
.wp-button-2 .wp-block-button__link:not(.has-background)::after {
    position: absolute;
    content: url('images/arrow-right-2.png');
    right: 15px;
    top: 4px;
}
.mbtn-2:hover,
.wp-button-2 .wp-block-button__link:not(.has-background):hover {
    color: #fff;
    background-color: var(--sub);
}
.mbtn-2:hover::after,
.wp-button-2 .wp-block-button__link:not(.has-background):hover::after {
    filter: brightness(0) invert(1);
}

@media (max-width: 568px) {
    .wp-block-buttons>.wp-block-button.wp-block-button__width-25 { width: auto; text-align: center; }
}

/*tags*/
.post-tags a { margin-right: 5px; }
.post-tags a:hover {text-decoration: underline;}

/*template*/
.box-detail { max-width: 900px; margin: auto; }
@media (min-width: 769px) {
    .template-post-title-text { text-align: center; }
}



/*responsive*/
@media (min-width: 769px) {
	.dom { display: none !important; }
}
@media (max-width: 768px) {
    .mfs40 { font-size: 40px !important;}
    .dod { display: none; }
    .home-story-title .wp-block-buttons {
        justify-content: flex-start !important;
    }
}
@media (max-width: 568px) {
    .mtal { text-align: left; }
    .mtac { text-align: center; }
}

@media (max-width: 1024px) and (min-width: 769px) {
    .home-story.is-layout-flex {
        flex-wrap: wrap !important
    }
    .home-story:not(.is-not-stacked-on-mobile)>.wp-block-column {
        flex-basis: unset !important;
        width: calc(50% - 1em);
    }

}
