/*!
	Theme Name: ECOMCX Theme
	Theme URI: https://ecomcx.com/
	Description: Giao diện được thiết kế và lập trình bởi ECOMCX
	Author: ECOMCX Team
	Author URI: https://ecomcx.com/
	Version: 2.1
	Stable tag: 2.1
	Text Domain: https://ecomweb.net
	Tags: flexible-header, custom-colors, custom-menu, custom-logo, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/*Global CSS*/

* {
	font-family: 'Quicksand', sans-serif;
}

section {
	position: relative;
}

h1, h2, h3, h4, h5, h6{
	font-weight: 600 !important;
	color: inherit !important;
}

p {
	color: var(--text-color);
}

a {
	color: inherit !important;
	text-decoration: none !important;
	transition: opacity 150ms linear, color 150ms linear, background 150ms linear;
}

a:focus, a:hover{
    text-decoration:none!important;
    outline: none!important;
}

.animated {
    -webkit-animation-duration: 1.25s;
    animation-duration: 1.25s;
    visibility: visible !important;
}

.fadeInUp {
    animation-name: fadeInUp;
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translate3d(0,100%,0);
    }
    
    100% {
        opacity: 1;
        transform: none;
    }
}

@media only screen and (min-width: 992px) {
    .site-main {
        padding-left: 300px;
    }
}

/* End of Global CSS */

/*Swiper Slide CSS*/
.swiper {
    width: 100%;
    height: 100%;
  }

.swiper-slide {
text-align: center;
font-size: 18px;
background: #fff;

/* Center slide text vertically */
display: -webkit-box;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-webkit-box-pack: center;
-ms-flex-pack: center;
-webkit-justify-content: center;
justify-content: center;
-webkit-box-align: center;
-ms-flex-align: center;
-webkit-align-items: center;
align-items: center;
}

.swiper-slide img {
display: block;
width: 100%;
height: 100%;
object-fit: cover;
}

/*End of Swiper Slide CSS*/

/*Header*/
.ecx-header {
	position: relative;
}

.ecx-dialog-header {
    position: absolute;
    width: 300px;
    height: 100vh;
    z-index: 999;
    overflow: scroll;
}

.ecx-dialog-header .ecx-dialog-wrap {
    display: flex;
    width: 300px;
    height: 100vh;
    position: fixed;
    background: #fff;
}

.site-logo {
    position: relative;
}

.ecx-dialog-header #menu-main-menu {
    display: block;
}

.ecx-dialog-header #menu-main-menu li a {
    color: #7c7f83 !important;
    font-size: 20px;
    padding: 0;
}

.ecx-dialog-header #menu-main-menu li.current-menu-item a, .ecx-dialog-header #menu-main-menu li a:hover {
    color: var(--primary-color) !important;
}

.ecx-dialog-header #menu-main-menu>li:not(:last-child) {
    padding-bottom: 30px;
}

.ecx-dialog-header #menu-main-menu>li .dropdown-toggle::after {
    border: none !important;
    font-family: "FontAwesome";
    content: "\f078";
    font-size: 14px;
    margin-left: 10px;
    display: inline-block;
    vertical-align: baseline;
    transition: all .3s linear;
}

.ecx-dialog-header #menu-main-menu>li .dropdown-toggle.show::after {
	transform: rotate(180deg);
}

.ecx-dialog-header #menu-main-menu>li>.dropdown-menu {
    position: relative;
    border: none;
    padding: 20px 0 0 20px;
}

.ecx-dialog-header #menu-main-menu>li>.dropdown-menu .dropdown-item {
    padding: 0;
    font-size: 16px;
}

.ecx-dialog-header #menu-main-menu>li>.dropdown-menu>li:not(:last-child) {
    padding-bottom: 15px;
}

.searchform {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.searchform input#s {
    width: calc(100% - 50px);
    padding: 10px 20px;
    border: none;
	box-shadow: 0px 0px 5px 0px rgb(0 0 0 / 20%);
	outline: 1px;
}

.searchform input#searchsubmit {
	background-position: center;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' class='bi bi-search' viewBox='0 0 16 16'%3E%3Cpath d='M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001c.03.04.062.078.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1.007 1.007 0 0 0-.115-.1zM12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-color: #fff;
    border: none;
	box-shadow: 5px 0 5px 0 rgb(0 0 0 / 20%);
    margin-left: -5px;
    width: 50px;
    padding: 10px 0;
}

input#searchsubmit:hover {
	background-color:rgba(24, 88, 123);
	fill:#fff;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23fff' class='bi bi-search' viewBox='0 0 16 16'%3E%3Cpath d='M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001c.03.04.062.078.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1.007 1.007 0 0 0-.115-.1zM12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0z'/%3E%3C/svg%3E");
}

.searchform input#s:focus,.wrap-button-search.active .searchform input#s:hover {
	background-color:rgb(232, 240, 254);
}

.ecx-social ul {
	list-style-type: none;
	padding-left: 0 !important;
}

.ecx-social ul li {
    position: relative;
    overflow: hidden;
    width: 25px;
    height: 25px;
    padding: 0;
    margin: 0px 1px;
    display: inline-block;
    vertical-align: middle;
}

@media only screen and (min-width: 992px) {
	.ecx-dialog-header .ecx-header-wrap {
	    position: relative;
	    padding: 60px;
	}

	.ecx-dialog-header #main-menu {
		display: block !important;
	}

	.ecx-social ul li a img {
	    bottom: 0;
	    left: 0;
	    position: absolute;
	    -moz-transition: all 300ms linear;
	    -ms-transition: all 300ms linear;
	    -o-transition: all 300ms linear;
	    -webkit-transition: all 300ms linear;
	    transition: all 300ms linear;
	}

	.ecx-social ul li a img:first-child {
	    bottom: -35px;
	    -webkit-transition: all .4s ease-in-out;
	    -moz-transition: all .4s ease-in-out;
	    -o-transition: all .4s ease-in-out;
	    transition: all .4s ease-in-out;
	}

	.ecx-social ul li:hover a img:first-child {
	    bottom: 0;
	    z-index: 1;
	}

	.ecx-social ul li:hover a img:last-child {
	    bottom: -35px;
	}
}

@media only screen and (max-width: 991px) {
    .ecx-header {
        min-height: 60px;
    }

    .ecx-dialog-header {
        position: fixed;
        width: 100%;
        height: 60px;
        overflow: hidden;
    }

    .ecx-dialog-header .ecx-dialog-wrap {
        width: 100%;
        height: 60px;
        align-items: center;
        justify-content: space-between;
    }

    .ecx-dialog-header .ecx-header-wrap {
        width: 100%;
        justify-content: space-between;
        align-items: center;
    }

    .ecx-dialog-header .ecx-header-wrap .site-logo {
        order: 2;
    }

    .ecx-dialog-header .navbar-toggler {
        border: none;
        box-shadow: none !important;
        font-size: 16px;
	    font-weight: 600;
	    color: var(--text-color) !important;
    }

    .ecx-dialog-header #main-menu{
        position: absolute;
	    z-index: 999;
	    background: rgba( 0, 0, 0, .1 );
	    height: 100vh;
	    width: 100vw;
	    top: calc( 0% - 10px );
	    left: 0;
        visibility: hidden;
        opacity: 0;
        transition: all .3s linear;
    }

    .ecx-dialog-header #main-menu.show {
        visibility: visible;
        opacity: 1;
    }

    .ecx-dialog-header #main-menu .navbar-content {
	    width: 300px;
	    height: 100vh;
	    background: #fff;
	    padding: 60px 20px;
	    visibility: hidden;
        transform: translateX(-100%);
        transition: all .5s linear;
	}

	.ecx-dialog-header #main-menu.show .navbar-content {
        visibility: visible;
        transform: translateX(0);
    }

    .ecx-dialog-header #main-menu .navbar-toggler {
        position: absolute;
        top: 20px;
        left: 250px;
    }

    .ecx-dialog-header #main-menu .ecx-social {
        margin-top: 60px;
    }
}

/*End of Header*/

/*Footer*/
.actionToolbar_mobile {
    display: flex;
    position: fixed;
    bottom: 0;
    width: 100%;
    z-index: 9999;
}

.actionToolbar_mobile ul{
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
    height: 45px;
    width: 100%;
    border-top: 1px solid #e7e7e7;
    background: #fff;
    padding: 5px 10px;
    list-style-type: none;
}

.actionToolbar_mobile ul{
    margin: 0;
    display: -webkit-flex;
    display: -moz-flex;
    display: flex;
    -webkit-justify-content: space-between;
    justify-content: space-between;
    -webkit-align-items: center;
    align-items: center;
    width: 100%;
}

.actionToolbar_mobile ul li {
    width: 20%;
}

.actionToolbar_mobile ul li.social a img {
    width: 30px;
    height: auto;
}

.actionToolbar_mobile ul li a svg path {
    fill: var(--secondary-color);
}

.actionToolbar_mobile ul li.actionToolbar_call a{
    display: block;
    background: #fff;
    width: fit-content;
    margin: -25px auto 0;
    border-radius: 50%;
}

.actionToolbar_mobile ul li.actionToolbar_call a svg {
    width: 25px;
    height: 25px;
    fill: var(--primary-color);
    margin: auto;
    padding: 12px;
    border: 1px solid  var(--primary-color);
    border-radius: 50%;
}

.actionToolbar_mobile ul li.actionToolbar_call a svg path {
    fill: var(--primary-color);
}


.actionToolbar_mobile ul li .navbar-toggler {
    border: none;
    box-shadow: none !important;
    transition: color .3s ease;
}

.actionToolbar_mobile ul li [aria-expanded="true"] {
    color: var(--secondary-color);
}

#site-footer {
    position: relative;
    background-color: #f8f9fa;
    margin-top: 50px;
    overflow: hidden;
}

.ft-bg-overlay {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image: url('/wp-content/uploads/2023/03/poly-bg-color.svg');
    background-repeat: no-repeat;
    background-position: top center;
    background-size: cover;
    transform: rotate(180deg);
    -webkit-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
    opacity: .2;
    z-index: 0;
}

.main-footer {
    position: relative;
    z-index: 9;
    padding: 50px 0 31px;
}

.main-footer .top-main-footer {
    padding: 19px 0;
    width: 100%;
    justify-content: space-between;
}

.main-footer .ecx-social ul li {
    width: 35px;
    height: 35px;
}

.main-footer .ecx-social ul li img {
    width: auto;
    height: 35px;
}

.main-footer .footer-title {
    position: relative;
    font-size: 16px;
    line-height: 23px;
    margin: 0 !important;
    text-transform: uppercase;
    color: var(--primary-color) !important;
    margin-bottom: 31px !important;
}

.main-footer .footer-content p {
    margin-bottom: 10px;
}

.main-footer .ecx-title {
    font-size: 16px;
    line-height: 23px;
}

.footer-support-phone {
    position: relative;
    display: block;
    margin-top: 8px;
    color: var(--primary-color);
}

.footer-support-phone a {
    font-size: 23px;
    line-height: 33px;
    font-weight: 600;
    padding: 0 24px;
}

.main-footer .footer-title svg {
    display: none;
}

.main-footer .footer-content ul {
    list-style-type: none;
    padding-left: 0;
}

.footer-content ul li {
    display: block;
    position: relative;
    line-height: 28px;
    padding: 2px 0 2px 8px;
    color: var(--text-color);
}

.footer-content ul li a {
    position: relative;
    overflow: hidden;
}

.copyright {
    position: relative;
    z-index: 9;
    padding: 8px 0;
    background: var(--primary-color);
}

.copyright-menu ul {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin: 0;
    list-style-type: none;
    padding-left: 0;
    margin: 0;
}

.copyright-menu ul li {
    color: #ffffff;
}

.copyright-menu ul li:not(:last-child) {
    margin-right: 19px;
}

.copyright-text p {
    color: #ffffff;
    margin: 0;
}

.copyright-text p a {
    font-weight: 600;
}

.copyright .copyright-mobile {
    display: none;
}

@media only screen and (min-width: 992px) {
    #site-footer {
        padding-left: 300px;
    }

    .main-footer .middle-main-footer {
        margin-top: 19px;
        border-top: 1px solid #e7e7e7;
        border-bottom: 1px solid #e7e7e7;
        padding: 31px 0 50px;
    }

    .main-footer .middle-main-footer .col-lg-3 {
        width: 20%;
    }

    .main-footer .middle-main-footer .col-lg-3:first-child {
        width: 40%;
    }
}

@media only screen and (min-width: 768px) {
    .main-footer .footer-content {
        display: block !important;
        visibility: visible;
    }
}

@media only screen and (max-width: 991px) {
    .main-footer .footer-content {
        margin-bottom: 31px;
    }

    .copyright .copyright-mobile {
        display: block;
    }
}

@media only screen and (max-width: 767px) {
    .footer .main-footer-wrap {
        display: flex;
        flex-wrap: wrap-reverse;
        flex-direction: row-reverse;
    }
    
    .main-footer .footer-col:not(#footer-info) {
        border-bottom: 1px solid #efefef;
        margin-bottom: 0;
    }

    .main-footer #footer-block {
        border: none !important;
    }

    .main-footer .footer-title {
        line-height: 20px;
        font-size: 14px;
        font-weight: 500 !important;
        padding: 10px 0;
        margin-bottom: 0 !important;
        width: 100%;
    }

    .main-footer .footer-title a {
        width: 100%;
    }
    
    .main-footer .footer-title svg {
        display: block;
        position: absolute;
        top: 10px;
        right: 5px;
        vertical-align: middle;
        text-align: center;
        font-size: 14px;
        line-height: 40px;
        transition: .3s linear all;
    }

    .main-footer .footer-title a[aria-expanded="true"] svg {
        transform: rotate(-90deg);
    }

     .main-footer .footer-col:not(#footer-info) .footer-content {
         margin-bottom: 0
     }

    .copyright {
        margin-bottom: 45px;
    }

    .copyright .copyright-text p {
        text-align: center;
    }

    .copyright .copyright-text p span {
        display: none;
    }
}

/*End of Footer*/

/*Homepage*/
.ecx-top-banner {
    position: relative;
    background-color: transparent;
    background-image: radial-gradient(at top center,#263D81 0%, #000000 100%);
}

.ecx-background-overlay {
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    position: absolute;
}

.ecx-top-banner .ecx-background-overlay {
    background-image: url(/wp-content/uploads/2023/03/poly-bg-white.svg);
    background-position: top center;
    background-repeat: no-repeat;
    background-size: 100% auto;
    opacity: .7;
    mix-blend-mode: overlay;
    transition: background .3s,border-radius .3s,opacity .3s;
}

.top_banner_wrapper {
    min-height: 100vh;
}

.motion-effects-parents {
    width: 100%;
}

.motion-effects-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.motion-effects-layer {
    position: absolute;
    top: 0;
    left: 0;
    background-repeat: no-repeat;
    background-size: cover;
}

.ecx-top-banner .motion-effects-layer {
    background-image: url(/wp-content/uploads/2023/03/poly-bg-white.svg);
    background-position: top center;
    background-repeat: no-repeat;
    background-size: 105% auto;
    background-attachment: scroll;
}

.banner-content {
    position: relative;
    height: 100vh;
    align-content: center;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}



/*End of Homepage*/

