/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.18.2
*/

/*************** ADD CUSTOM CSS HERE.   ***************/

@font-face {
    font-family: 'UTM Avo';
    src: url('./assets/fonts/UTM_AVO/UTM_AVO.TTF') format('truetype');
    font-weight: normal
}

@font-face {
    font-family: 'UTM Avo';
    src: url('./assets/fonts/UTM_AVO/UTM_AVO.TTF') format('truetype');
    font-weight:400
}
@font-face {
    font-family: 'UTM Avo';
    src: url('./assets/fonts/UTM_AVO/UTM_AVO.TTF') format('truetype');
    font-weight:500
}

@font-face {
    font-family: 'UTM Avo';
    src: url('./assets/fonts/UTM_AVO/UTM_AVOBOLD.TTF') format('truetype');
    font-weight:600
}
@font-face {
    font-family: 'UTM Avo';
    src: url('./assets/fonts/UTM_AVO/UTM_AVOBOLD.TTF') format('truetype');
    font-weight:700
}
@font-face {
    font-family: 'UTM Avo';
    src: url('./assets/fonts/UTM_AVO/UTM_AVOBOLD.TTF') format('truetype');
    font-weight:bold
}


:root {
    --color-black: #000000;
    --color-white: #ffffff;
    --color-grey: #cccccc;
    --FontAwesome: 'Font Awesome 5 Free';
    --fs-color-third: #fcda80;
    --font-html-size: 62.5%;
}

html {
    font-size: var(--font-html-size);
}

body {
    font-size: 1.4rem !important;
    font-family: 'UTM Avo', sans-serif !important;

}
.nav li a {
    font-weight:500;
}

p {
    margin-bottom: 1.5rem;
}

.dark,
.dark p,
.dark td {
    color: var(--color-white);
}


.col-child-left > .col-inner {
    margin-right: auto !important;
    margin-left: 0 !important;
}
.col-child-center > .col-inner {
    margin-right: auto !important;
    margin-left: auto !important;
}

.col-child-right > .col-inner {
    margin-right: 0 !important;
    margin-left: auto !important ;
}

.off-canvas-left .mfp-content,
.off-canvas-right .mfp-content {
    background-color: hsla(0, 0%, 100%, 1);
}

.off-canvas:not(.off-canvas-center) .nav-vertical li > a {
    font-size: 1em;
    text-transform: capitalize;
    font-weight: 500;
    color: var(--color-black);
}

.wpcf7-form.submitting .button  {
    pointer-events: none;
    box-shadow: inset 0 0 0 100px rgba(0, 0, 0, .2);
}

.text-capitalize {
    text-transform: capitalize;
}


@keyframes spin {
  0% { 
      transform: translate(-50%, -50%) rotate(0deg); 
      
  }
  100% { 
      transform: translate(-50%, -50%) rotate(360deg);
  }
}


.wpcf7-form.submitting .button   {
   pointer-events: none;
}

.wpcf7-form.submitting .button:before {
    content:'';
    position: absolute;
    left: calc(50% - 14px);
    top: calc(50% - 14px);
     width: 28px;
    height: 28px;
    border: 3px solid #FFF;
    border-bottom-color: #FF3D00;
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
}

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);

    }
}


h1,.h1{
    font-size:4.8rem;   
    margin-bottom: 1.5rem;
}

.container.section-title-container  {
    margin-bottom:1.5rem;
}

.container.section-title-container :is(h1,h2,h3,h4,h5,h6) {
    margin-bottom:0;
}


.button:not(.icon), button:not(.icon), input[type=button], input[type=reset], input[type=submit] {
    border: 1px solid transparent;
    font-size: 1em;
    font-weight: 500;
    letter-spacing: 0;
    line-height: 3.8rem;
    margin-right: .8rem;
    margin-top: 0;
    max-width: 100%;
    min-height: 4rem;
    padding: 0 2rem;
}

.button:not(.icon).is-large {
    font-size: 1.8rem;
    line-height: 4.2rem;
    min-height: 4.4rem;
}

.button:not(.icon).is-larger {
    font-size: 2rem;
    line-height: 4.6rem;
    min-height: 4.8rem;
}

.button:not(.icon).is-xlarge {
    font-size: 2.4rem;
    line-height: 5.2rem;
    min-height: 5.4rem;
}

.button:not(.icon).is-xxlarge {
    font-size: 2.8rem;
    line-height: 5.8rem;
    min-height: 6rem;
}

.button.is-outline {
    border-width: 1px;
    border-color: currentColor;
}


.button:not(.icon).primary,
.button:not(.icon).secondary {
    box-shadow:none !important;
    transition: all 0.3s;
}


.button.primary:not(.is-outline) {
    background: linear-gradient(to right, var(--fs-color-third) 0%, var(--fs-color-primary) 50%,  var(--fs-color-third) 100% );
    border: none;
    background-size: 200% 100%;
    background-position: 0% 100%;
}


.button.secondary:not(.is-outline) {
    background: linear-gradient(to right, var(--fs-color-third) 0%, var(--fs-color-secondary) 50%,  var(--fs-color-third) 100% );
    border: none;
    background-size: 200% 100%;
    background-position: 0% 100%;
    color: #333;
}

.button.primary:not(.is-outline):hover,
.button.secondary:not(.is-outline):hover{
    background-position: 100% 100%;
    
}


.section-title-normal {
    border-bottom: 0;
}

.section-title-normal span {
    border-bottom: 0;
    margin-bottom: 0;
    margin-right: 0;
    padding-bottom: 0;
}

.mfp-container {
    padding: 12px;
}


.section-title b {
    flex: 1;
    height: 0;
    opacity: 0;
}

h2 {
    font-size:2.8rem;
}

.bigger > h2 {
     font-size:4.4rem;
}


.bigger > h3 {
     font-size: 2.6rem;
}

.section-title-bold span, .section-title-bold-center span {
    border: 0;
    padding: 0;
}



.section-title.section-title-bold .section-title-main,
.section-title.section-title-bold-center .section-title-main { 
    position:relative; 
    padding-bottom: 0.8rem;
}
.section-title.section-title-bold .section-title-main:after,
.section-title.section-title-bold-center .section-title-main:after {
    background-color: currentColor;
    border-radius: 2px;
    content: "";
    display: inline-block;
    height: 4px;
    left: 0;
    bottom: 0;
    position: absolute;
    width: 70px;
}

.section-title.section-title-bold-center .section-title-main:after  {
    left:50%;
    transform:translateX(-50%);
}


.box-badge .box-text {
    background-color: hsl(0deg 0% 0% / 50%) !important;
    bottom: 0;
    padding: 2rem;
    position: absolute;
    z-index: 1;
    color: #eee;
    transition: opacity .3s, transform .3s, background .3s , background-color .3s;
}

.box-badge .box-text :is(h1, h2, h3, h4, h5, h6, .heading-font ) {
    color: #eee;
}

.box-text {
    font-size: 1em;
    padding-bottom: 1.5rem;
    padding-top: 1rem;
}

.dark, .dark p, .dark td {
    color: #eee;
}

.icon-box.icon-small .icon-box-img {
    width:1.4rem !important;
}

.icon-box.icon-small.icon-box-left .icon-box-img+.icon-box-text {
    padding-left: .6rem;
}


.icon-box.icon-small.icon-box-right .icon-box-img+.icon-box-text {
    padding-right: .6rem;
}

.last-reset > p:has( + style ) {
    margin-bottom:0 !important;
}

.box-shadow-1,.box-shadow-1-hover:hover,.row-box-shadow-1 .col-inner,.row-box-shadow-1-hover .col-inner:hover {
    box-shadow: 0 1px 3px rgba(0,0,0,.14)
}

.box-shadow,.box-shadow-2,.box-shadow-2-hover:hover,.row-box-shadow-2 .col-inner,.row-box-shadow-2-hover .col-inner:hover {
    box-shadow: 0 3px 9px rgba(0,0,0,.14)
}

.box-shadow-3,.box-shadow-3-hover:hover,.row-box-shadow-3 .col-inner,.row-box-shadow-3-hover .col-inner:hover {
   box-shadow: 0 10px 20px rgba(0,0,0,.14)
}

.box-shadow-4,.box-shadow-4-hover:hover,.row-box-shadow-4 .col-inner,.row-box-shadow-4-hover .col-inner:hover {
   box-shadow: 0 14px 28px rgba(0,0,0,.14)
}

.box-shadow-5,.box-shadow-5-hover:hover,.row-box-shadow-5 .col-inner,.row-box-shadow-5-hover .col-inner:hover {
    box-shadow: 0 30px 40px 0 rgba(0,0,0,.2)
}



.select-resize-ghost, .select2-container .select2-choice, .select2-container .select2-selection, input[type=date], input[type=email], input[type=number], input[type=password], input[type=search], input[type=tel], input[type=text], input[type=url], select, textarea {
    border: 1px solid #eee;
    box-shadow: none !important;
    font-size: 1em;
    height: 4rem;
    padding: 0 .75em;
    border-radius: 4px;
    font-size:1.4rem;
}

.wpcf7-form .button {
    height: 4rem;
    border-radius: 4px;
    min-width:12rem;
}


.icon-box-left .has-icon-bg .icon,
.icon-box-right .has-icon-bg .icon {
    position: relative;
    width: 100%;
}
.box-blog-post .post-title {
    margin: 0 0 1rem;
}
.box-blog-post .post-title  a{
    color: var(--fs-color-primary);
    margin: 0;
    /*display: -webkit-box;*/
    -webkit-line-clamp: 2; /* Limit to 2 lines */
    /*-webkit-box-orient: vertical;*/
    /*overflow: hidden;*/
    /*text-overflow: ellipsis;*/
    line-height:1.5;
    text-transform: uppercase;
}

.box-blog-post .post-title a:hover {
    text-decoration: underline;
    color:#d72e7d;
}

.box-blog-post.box-overlay  .post-title a {
    color: var(--color-white) !important;
     text-decoration:  none !important;
}
.box-blog-post .post-title.is-large  a {
    font-size:1.4rem;
    /*height: 4.2rem;*/
}

.box-blog-post .post-meta  {
    font-size: 1.2rem;
    color: #6c757d;
    opacity: 1;
}

.box-blog-post .is-divider {
    display:none;   
}

.from_the_blog_excerpt  {
    color: var(--color-black);
}

.page-numbers > li {
    margin:0 0.4rem !important;
}
    
.nav-pagination>li>a, .nav-pagination>li>span {
    border: 1px solid;
    border-radius: 4px;
    display: block;
    font-size: 1.1em;
    font-weight: 500;
    height: 3.6rem;
    line-height: 3.4rem;
    min-width: 4rem;
    padding: 0px 6px;
    text-align: center;
    transition: all .3s;
    vertical-align: top;
    width: auto;
        background-color: #333;
    color: #fff !important;
    text-decoration: none !important;
}


.tabbed-content .nav  >  li >  a {
    color:#333;

    padding: 0.5rem 1rem;
}

.tabbed-content .nav  >  li.active >  a {
    color:var(--fs-color-primary);
}


.ux-loader__inner {

    top: 50%;
}

.loading-spin, .processing:before {
    animation: spin .5s linear infinite;
    border-bottom: 1px solid rgba(0, 0, 0, .1) !important;
    border-left: 1px solid var(--fs-color-primary);
    border-right: 1px solid rgba(0, 0, 0, .1) !important;
    border-top: 1px solid rgba(0, 0, 0, .1) !important;
}


.box-image.processing:before, .dark .loading-spin, .dark .processing:before, .dark.loading-spin, .dark.processing:before {
    border: 1px solid rgba(0, 0, 0, .1) !important;
    border-left-color: #fff !important;
}

/*************** HEADER ***************/
.nav-size-xlarge>li>a {
    font-size:1.8rem;
}

.slider-chay-muot > .col > .col-inner {
    
}

.slider-chay-muot .ux-logo {
    margin: 0 2rem !important;
    transition: all 0.3s;
}

.slider-chay-muot .ux-logo:hover {
   transform: scale(1.05)
}

.text  a {
    color: currentColor;
}

.text.line-bottom {
    position:relative;
    padding-bottom: 1rem;
    margin-bottom:1.5rem;
}

.text.line-bottom :is(h1,h2,h3,h4,h5,h6) {
    margin-bottom: 0;
}

.text.line-bottom:after {
    background-color: currentColor;
    border-radius: 2px;
    content: "";
    display: inline-block;
    height: 4px;
    left: 0;
    bottom: 0;
    position: absolute;
    width: 70px;
}

.header-nav-main  > li:hover > a {
    color:var(--fs-color-primary) !important
}
    
/*************** END HEADER ***************/

/*************** FOOTER ***************/
#footer {
    font-size: 1.4rem;
}

#footer h1,
#footer h2,
#footer h3,
#footer h4,
#footer h5,
#footer h6 {
    font-size: initial;
}


#footer .icon-box:hover path {
    fill: var(--fs-color-primary)
}

.vt-btn.letstalk {
    height: 4.6rem;
    background: #0d5792;
    font-size: 15px;
    text-transform: uppercase;
    line-height: 4.6rem;
    text-align: center;
    display: inline-block;
    padding: 0 2rem;
    border-radius: 10rem;
    overflow: hidden;
    position: relative;
    width: 16rem;
}
.vt-btn.letstalk a {
    text-decoration: none;
    color: #fff;
}

.vt-btn.letstalk span {
    position:absolute;
    top:50%;
    left:0%;
    width:100%;
    transform:translateY(-50%);
    transition: all 0.3s;
}

.vt-btn.letstalk span.back-text {
      transform:translateY(50%);
}


.vt-btn.letstalk:hover span.letstalk-text {
    transform:translateY(-150%);;
}

.vt-btn.letstalk:hover span.back-text  {
    transform:translateY(-50%);
}
    
.vt-btn::before, .vt-btn--modal::before {
    background: -webkit-gradient(linear, left top, right top, from(rgba(255, 255, 255, 0)), to(rgba(255, 255, 255, 0.3)));
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.3) 100%);
    content: "";
    display: block;
    height: 100%;
    left: -100%;
    position: absolute;
    top: 0;
    -webkit-transform: skewX(-10deg);
    transform: skewX(-10deg);
    width: 50%;
    z-index: 2;
}

.vt-btn:hover, .vt-btn--modal:hover {
    cursor: pointer;
        color: #fff;
    text-decoration: none;
}
.vt-btn:hover::before, .vt-btn--modal:hover::before {
    -webkit-animation: hover-effect--01 1s;
    animation: hover-effect--01 1s;
}

@keyframes hover-effect--01 {
    100% {
        left: 125%;
    }
}


.icon-checkmark:before {
    content: "\f058";
    font-family: var(--FontAwesome);
    font-weight: 400;
}

/*************** END FOOTER ***************/



/*************** BLOG ARCHIVE ***************/
.archive-page-header {
    position:relative;
    overflow: hidden;
    min-height: 12rem;
    place-content: center;
}
.archive-page-header .archive-page-header-bg {

    width:100%;
}

.archive-page-header .archive-page-header-bg  img {
    width:100%;
}

.archive-page-header h1 {
    font-size: 3.2rem;
    margin-bottom:0;
    text-transform: uppercase;
}

.archive-page-header .term-description {
    margin-top:2rem;
}

.row-box-shadow-1 .col.post-item > .col-inner,
.blog-archive .col.post-item > .col-inner{
    border: 1px solid rgba(0, 0, 0, .125);
    border-radius: .25rem;
    box-shadow:none;
}

.blog-archive .col.post-item > .col-inner  .box-text {
    padding-left: 1.2em;
    padding-right: 1.2em;
}

.page-wrapper {
   padding-top:0;
   padding-bottom:0;
}


td, th {
    border-bottom: 0;
    font-size: 1em;
    line-height: 1.4;
    padding: 1rem ;
    text-align: left;
    color: inherit;
}

.entry-content  a:hover {
    text-decoration: underline;

}

.slider [data-animate], [data-animate] {
        transition: filter 0.6s, transform 0.8s, opacity .3s ease-in;
    }
    
.rank-math-breadcrumb p {
    margin-bottom: 0;
}

.image-glow{
	overflow: hidden;
}

.image-glow:after{
	content: "";
	position: absolute;
    width: 200%;
    height: 0%;
    left: 50%;
    top: 50%;
    background-color: rgba(255,255,255,.3);
    transform: translate(-50%,-50%) rotate(-45deg);
}


.image-glow:hover:after{
    height: 250%;
    transition: all 600ms linear;
    background-color: transparent;
}

.image-glow img {
    filter: brightness(1) !important;
}

.image-grayscale.image-glow:hover img {
    filter: brightness(1) grayscale(100%) !important;
}

.rounded > .col > .col-inner {
    border-radius:2rem;
    overflow:hidden;
}

.box-text-color-1.box .box-text,
.box-text-color-2.box .box-text,
.box-text-color-3.box .box-text {
    background-color: var(--color-white);
}

.box-text-color-1.box .box-text :is(h1,h2,h3,h4,h5,h6) {
    color: var(--fs-color-primary);
}

.box-text-color-2.box .box-text :is(h1,h2,h3,h4,h5,h6) {
    color: var(--fs-color-secondary);
}

.box-text-color-3.box .box-text :is(h1,h2,h3,h4,h5,h6) {
    color: var(--fs-color-third);
}

.box-text-color-1.box:hover .box-text {
    background-color: var(--fs-color-primary) !important ;
}
.box-text-color-2.box:hover .box-text {
    background-color: var(--fs-color-secondary) !important ;
}

.box-text-color-3.box:hover .box-text {
    background-color: var(--fs-color-third) !important;
}


.box-text-color-1.box:hover .box-text :is(h1,h2,h3,h4,h5,h6) {
    color: var(--color-white);
}

.box-text-color-2.box:hover  .box-text :is(h1,h2,h3,h4,h5,h6) {
    color: var(--color-white);
}

.box-text-color-3.box:hover  .box-text :is(h1,h2,h3,h4,h5,h6) {
    color: var(--color-white);
}
/*************** END BLOG ARCHIVE ***************/


/*************** BLOG SINGLE ***************/
h1.entry-title {
    font-size:2.8rem;
    color: var(--fs-color-primary);
}
.entry-content {
    padding-top: 0;
    font-size:1.6rem;
}

.post {
    margin: 0;
}

.widget .widget-title  {
    color: #222;
    display: block;
    font-size: 29px;
    font-weight: normal;
    margin: 0 0 2rem;
    position: relative;
    text-align: left;
    text-transform: uppercase;
}

.widget-title + .is-divider {
    display:none;
}

/*************** END BLOG SINGLE ***************/



/*************** SINGLE PROJECT ***************/

#bao-gia-nhanh,
#tu-van-nhanh{
        border-radius: 2rem;
    overflow: hidden;
}


.searchform .button.icon {
    height: 4rem;
    min-width: 4rem;
    font-size: 1.2rem;
}

label {
    color: #444;
    font-size: 1.4rem;
    font-weight: 400;
    margin-bottom: .6rem;
}


label  .required {
    color :red;
}
.mfp-ready .mfp-close {
    opacity: 1;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.8rem;
    mix-blend-mode: normal;
}

form h4 {
    color: #000;
    font-size: 16px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    position: relative;
    text-transform: uppercase;
}

form h4::after {
    background-color: #ed1d24;
    bottom: 0;
    content: "";
    display: inline-block;
    height: 3px;
    left: 0;
    position: absolute;
    width: 25px;
}


b, strong {
    font-weight: inherit;
    font-weight: bold;
}

.project-sidebar {
    font-size:1.4rem;
}

.project-sidebar .col-inner , 
.project-sidebar .is-sticky-column {
    background-color:#fff; 
    padding:2.4rem
}

.project-sidebar ul li {
    margin-left: 1.3em;
}

.project-logo .img {
    width:100%;
}
/*************** END SINGLE PROJECT ***************/


@media only screen and (min-width: 850px) {
    .row-5-cols > .col {
        max-width:20% !important;
        flex-basis:20% !important;
    }
}

@media only screen and (max-width: 849px) {
    /*************** ADD TABLET CSS HERE  ***************/

    .select-resize-ghost,
    .select2-container .select2-choice,
    .select2-container .select2-selection,
    input[type='date'],
    input[type='email'],
    input[type='number'],
    input[type='password'],
    input[type='search'],
    input[type='tel'],
    input[type='text'],
    input[type='url'],
    select,
    textarea {
        font-size: 1.6rem;
    }
    
    .bigger > h2 {
        font-size: 3rem;
    }


}

@media only screen and (max-width: 549px) {
    /*************** ADD MOBILE ONLY CSS HERE  ***************/
}
