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

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


@font-face {
  font-family: 'averta_light';
  src: url("./fonts/Averta-Light.otf") format("opentype");
  font-weight:300;
   }
@font-face {
  font-family: 'averta_light';
  src: url("./fonts/Averta-Black.ttf") format("truetype");
  font-weight:900;
   }

@font-face {
  font-family: 'averta_light';
  src: url("./fonts/Averta-Semibold.otf") format("opentype");
  font-weight: bold; }

@font-face {
  font-family: 'Gotham-Medium';
  src: url("./fonts/Gotham-Medium.otf") format("opentype");
  font-weight: 500; }

@font-face {
  font-family: 'Avenir';
  src: url("./fonts/AvenirNextLTPro-Regular.otf") format("opentype");
  font-weight: 400; }


body{font-family:  "averta_light" !important;}
.nav > li > a {font-family:  "averta_light" !important;}
.alt-font{font-family: "averta_light" !important;}

a,p,h1, h2, h3, h4, h5, h6,span.widget-title,li{font-family: "averta_light" !important;}
.stars a{font-family:'fl-icons'!important}
body {
    font-family: averta_light, -apple-system, BlinkMacSystemFont, segoe ui, helvetica neue, Arial, sans-serif !important;
    overflow: hidden;
}
.archive .post-item .box-text {
/*     background: #9b6c34; */
/*     color: #fff; */
    text-align: justify;
}
.archive .post-item .box-text h5 {
/*     color: #fff; */
}
li.current-dropdown>.nav-dropdown {
    border-bottom: 7px solid #cd7d29;
    padding: 0;
}
ul.sub-menu.nav-dropdown a {
    margin: 0;
    padding: 20px 30px;
    color: #333;
    font-weight: 600;
}
ul.sub-menu.nav-dropdown a:hover {
    background: #f7f7f7;
}
.slider-gallery .gallery-col.col img {
    max-height: 100px;
    object-fit: contain;
}
.slider-gallery  .flickity-slider {
    align-items: center;
    display: flex;
}
.header-main .nav > li > a {
    font-size: 14px;
    color: #333;
    font-weight: 600;
    padding: 0;
}
.header-main .nav > li {
    margin: 0 20px;
}

.header-main .nav > li > a:after {
    position: absolute;
    content: '';
    bottom: 0;
    right: 100%;
    width: 10px;
    height: 6px;
    background: #cd7d29;
    opacity: 0;
    transition: all .2s ease, right 0s ease .2s;
}

.header-main .nav > li.active > a:after {
        right: 0;
    opacity: 1;
    width: 100%;
    transition: right .3s ease, width .3s ease .3s;
}

.header-main .nav > li:hover > a:after{
        right: 0;
    opacity: 1;
    width: 100%;
    transition: right .2s ease, width .2s ease .2s;
}


.sec-banner .bg.fill {
    margin: auto;
    opacity: 1;
    width: 100%!important;
    -webkit-transform-origin: 100% 0;
    -moz-transform-origin: 100% 0;
    -ms-transform-origin: 100% 0;
    -o-transform-origin: 100% 0;
    transform-origin: 100% 0;
    -webkit-animation: immortalkenburns 20000ms linear 0s infinite alternate;
    animation: immortalkenburns 20000ms linear 0s infinite alternate;
}

.banner.animation .bg.fill {
    width: calc(100% + 150px);
    height: calc(100% + 150px);
    will-change: transform;
    animation: bgPos 100s linear infinite;
    transform: translate3d(-75px, -75px, 0) rotate(0.001deg);
}


 @-webkit-keyframes immortalkenburns
{
    0%
{
    -webkit-transform:scale(1);
    -webkit-transition:-webkit-transform 20000ms linear 0s
}
    100%
{
    -webkit-transform:scale(1.2);
    -webkit-transition:-webkit-transform 20000ms linear 0s
}

}
    @-moz-keyframes immortalkenburns
{
    0%
{
    -moz-transform:scale(1);
    -moz-transition:-moz-transform 20000ms linear 0s
}
    100%
{
    -moz-transform:scale(1.2);
    -moz-transition:-moz-transform 20000ms linear 0s
}

}
    @-ms-keyframes immortalkenburns
{
    0%
{
    -ms-transform:scale(1);
    -ms-transition:-ms-transform 20000ms linear 0s
}
    100%
{
    -ms-transform:scale(1.2);
    -ms-transition:-ms-transform 20000ms linear 0s
}

}
    @-o-keyframes immortalkenburns
{
    0%
{
    -o-transform:scale(1);
    -o-transition:-o-transform 20000ms linear 0s
}
    100%
{
    -o-transform:scale(1.2);
    -o-transition:-o-transform 20000ms linear 0s
}

}
    @keyframes immortalkenburns
{
    0%
{
    transform:scale(1);
    transition:transform 20000ms linear 0s
}
    100%
{
    transform:scale(1.2);
    transition:transform 20000ms linear 0s
}

}



.sec-banner .slider {
    max-height: 80vh;
    overflow: hidden;
}

.sec-chiase .img:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: -10px;
    left: -10px;
    z-index: -1;
    border: 3px solid;
}

.sec-chiase h3 {
    font-family: Gotham-Medium !important;
    font-size: 26px;
    margin: 0;
    font-weight: 900;
}
.title {
    position: relative;
    padding-left: 15px;
}


.title:before {
    content: "";
    position: absolute;
    background: #fff;
    width: 5px;
    height: 65px;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}
.sec-chiase blockquote {
    font-style: normal;
    font-size: 15px;
    padding: 0;
    margin: 0;
    border: none;
    text-align: justify;
    padding-top: 50px;
}
.sec-chiase blockquote:before {
    content: "";
    position: absolute;
    top: 6px;
    background: url(/wp-content/uploads/2021/11/pp.png) no-repeat;
    width: 64px;
    height: 49px;
    left: -30px;
}
.sec-chiase a.button {
    display: block;
    width: max-content;
    margin: 0;
    margin-left: auto;
    font-size: 14px;
    font-weight: normal;
}
.sec-chiase {
    padding-top: 100px !important;
}
.sec-chiase a.button:after ,.sec-news a.button:after{
    content: "\f178";
    font-family: 'Font Awesome 5 Pro';
    font-weight: normal;
}


/*portfolio-archive */
.portfolio-archive 
 div#content {
    background: url(/wp-content/uploads/2021/12/bg_white.jpg) no-repeat;
    background-size: cover;
}

.portfolio-archive 
 .page-title {
    display: none;
}

@keyframes bgPos {
25% {
transform:translate3d(0px, -150px, 0) rotate(0.001deg)
}
75% {
transform:translate3d(0, 0, 0) rotate(0.001deg)
}
}


.portfolio-archive 
 .banner .bg.fill {
    width: calc(100% + 150px);
    height: calc(100% + 150px);
    will-change: transform;
    animation: bgPos 100s linear infinite;
    transform: translate3d(-75px, -75px, 0) rotate(0.001deg);
}

.portfolio-archive .banner .banner-inner,.portfolio-archive .banner {
    max-height: 370px;
    overflow: hidden;
}
.breadcrumbs {
    background: #ebebeb;
    text-align: center;
    padding: 15px;
    font-weight: normal;
}
/**/

.featured_item_cats.breadcrumbs {
    display: none;
}

.portfolio-single-page .featured-title .page-title-inner {
    min-height: 370px;
}

.portfolio-single-page .title-bg.fill {
    width: calc(100% + 150px);
    height: calc(100% + 150px) !important;
    will-change: transform !important;
    animation: bgPos 100s linear infinite;
    transform: translate3d(-75px, -75px, 0) rotate(0.001deg) !important;
}
.portfolio-single-page h1.entry-title {
    margin: 0;
    font-size: 35px;
    letter-spacing: 0;
    font-weight: 900;
}


.tt-field i {
    min-width: 25px;
    font-size: 20px;
    text-align: center;
    margin-right: 5px;
    color: #cd7d29#000;
}
.tt-field p {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
    font-size: 15px;
}

.tt-field {
    border: 2px solid #cd7d29;
    border-radius: 10px;
    padding: 15px;
}

.ttda h3 {
    font-size: 30px;
    color: #cd7d29;
    margin-bottom: 30px;
}
.noidung h1 {
    color: #cd7d29;
    font-size: 30px;
    margin-bottom: 25px;
}
.noidung p {
    font-size: 15px;
    margin-bottom: 5px;
}

.ttda a {
    background: #cd7d29;
    width: 100%;
    margin-top: 15px;
    border-radius: 10px;
    color: #fff !important;
    display: block;
    padding: 5px;
    font-size: 22px;
    font-weight: bold;
    text-align: center;
}
button.flickity-button.flickity-prev-next-button {
    color: #9b6c34;
}
.portfolio-single-page div#portfolio-content {
    margin-top: 30px;
    padding-bottom: 0;
}
.portfolio-single-page div#portfolio-content p {
    margin-bottom: 0;
}
.portfolio-single-page div#portfolio-content img {
    margin-bottom: 15px;
}
.portfolio-related {
    background: #f7f7f7;
    padding: 30px 0;
}
.title-related {
    text-align: center;
    font-size: 28px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -1px;
    color: #cd7d29;
    position: relative;
    width: max-content;
    margin: auto;
    margin-bottom: 50px;
}
.title-related:after {
    content: "";
    position: absolute;
    background: #cd7d29;
    width: 230px;
    height: 1px;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
}

.portfolio-related .box-text {
    position: absolute;
    bottom: -30px;
    background: #a88e6e;
    width: 95%;
    left: 50%;
    transform: translateX(-50%);
    padding: 15px;
}
.portfolio-related .box-text h6 {
    font-size: 20px;
    letter-spacing: -1px;
    color: #fff;
    opacity: 1;
    font-weight: bold;
}
.portfolio-related .box-text .portfolio-box-category  {
    display: none;
}
.portfolio-related .box-text p ,.portfolio-box  .box-text{
    color: #fff;
    font-weight: bold;
    font-size: 14px;
}
.cus-descreption {
    display: none;
}
.portfolio-related .box-text i,.portfolio-box .box-text i {
    margin-right: 10px;
}

.portfolio-single-page div#portfolio-content .portfolio-inner.pb {
    padding-bottom: 0;
}

.portfolio-related .col {
    margin-bottom: 30px;
}

/**/
.portfolio-box-category {
    display: none;
}
.portfolio-box .box-text {
    position: absolute;
    bottom: -30px;
    background: #223f8b;
    width: 95%;
    left: 50%;
    transform: translateX(-50%);
    padding: 15px;
}
.portfolio-archive .col {
    margin-bottom: 30px;
}
.portfolio-box .box-text h6 {
    font-size: 20px;
    letter-spacing: -1px;
    color: #fff;
    opacity: 1;
    font-weight: 900;
}

.row-title h2 {
    text-align: center;
    font-size: 28px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -1px;
    color: #cd7d29;
    position: relative;
    width: max-content;
    margin: auto;
    margin-bottom: 20px;
}
.row-title h2:after {
    content: "";
    position: absolute;
    background: #cd7d29;
    width: 230px;
    height: 1px;
    left: 50%;
    bottom: -2px;
    transform: translateX(-50%);
}

.sec-duan .cus-descreption {
    font-size: 14px;
    font-weight: normal;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.sec-news .row-title h2 {
    color: #fff;
}
.sec-news .row-title h2:after {
    background: #fff;
}

.sec-news .box-image {
    padding: 10px;
    border: 1px solid #fff;
}
.sec-news .row>.col.large-6:nth-child(1) .box-text h5.post-title {
    font-size: 20px;
}
.is-divider {
    display: none;
}
.sec-news .row>.col.large-6:nth-child(2) .box-text h5.post-title {
    font-size: 16px;
    font-weight: 300;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.sec-news .row>.col.large-6:nth-child(1) .box-text p.from_the_blog_excerpt {
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.sec-news .box-text {
    padding: 10px 0;
}

.sec-news .col.large-6 {
    padding-bottom: 0;
}
.sec-news a.button {
    border: 3px solid #fff;
    font-size: 14px;
    font-weight: normal;
    margin: 0;
    padding: 0 40px;
}
.sec-banner .text-box {
    background: rgb(0 0 0 / 50%);
    width: auto !important;
    padding: 5px 20px;
}
.sec-banner .text-box {
    background: rgb(0 0 0 / 50%);
    width: auto !important;
    padding: 5px 20px;
    bottom: 30px;
    top: unset;
    left: 0;
    transform: unset !important;
}
.sec-banner .text-box h3 {
    font-weight: bold;
}

.slider-gallery .gallery-col .box-image {
    /*border: 1px solid #ddd;
    padding-bottom: 0;*/
}
.row-title  p {
    max-width: 56%;
    margin: auto;
    margin-bottom: 15px;
}
.slider-gallery {
    margin-top: 50px;
}
.slider-gallery button.flickity-button.flickity-prev-next-button {
    opacity: 1;
    top: 50%;
    transform: translateY(-50%);
}
.slider-gallery .gallery-col.col .col-inner {
    padding:5px;
    height: 100px;
    display: flex;
    flex-flow: column;
    border: 1px solid #ddd;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.slider-gallery button.flickity-button.flickity-prev-next-button.previous {
    left: -20px;
}
.slider-gallery button.flickity-button.flickity-prev-next-button.next {
    right: -20px;
}


.sec-footer h3 {
    font-size: 30px;
    font-weight: 900 !important;
    color: #ebd4a5;
}
li.menu-item.menu-item-gtranslate {
    margin: 0 5px;
    line-height: 0;
}
li.menu-item.menu-item-gtranslate a:after {
    opacity: 0 !important;
}


.sec-footer h3.section-title span {
    border: none;
    padding: 0;
}
.sec-footer h3.section-title b {
    height: 1px;
    opacity: 1;
}
.sec-footer h3.section-title {
    align-items: baseline;
}

.sec-footer li {
    font-size: 14px;
    color: #ebd4a5;
    list-style: none;
    margin-left: 0 !important;
    padding-left: 20px;
    position: relative;
}
.sec-footer li i {
    position: absolute;
    left: 0;
    top: 3px;
}

.sec-footer .img img {
    /*width: auto;*/
}
.sec-footer .social-icons.follow-icons {
    font-size: 200% !important;
    color: #ebd4a5;
    display: flex;
    align-items: center;
    
}
.sec-footer .social-icons.follow-icons i.icon-facebook:before {
    content: "\f082" !important;
    font-family: 'Font Awesome 5 Brands' !important;
}
.sec-footer .social-icons.follow-icons a i{
    display: flex;
    align-items: center;
}


@media (max-width: 1024px){
    .slider-gallery button.flickity-button.flickity-prev-next-button.next {
    right: -15px;
}
.slider-gallery button.flickity-button.flickity-prev-next-button.previous {
    left: -15px;
}
}

@media (max-width: 849px){
    .sec-chiase h3{
        font-size: 22px;
    }
    .sec-chiase {
    padding-top: 50px !important;
}
.sec-chiase blockquote:before {
    width: 32px;
    height: 25px;
    background-size: contain;
    left: -10px;
}
.sec-chiase blockquote {
    padding-top: 30px;
    font-size: 14px;
}
.sec-footer h3 {
    font-size: 22px;
}
.blog-archive .col.post-item {
    max-width: 50%;
}
.sec-duan .cus-descreption {
    display: none;
}
.sec-news .row>.col.large-6:nth-child(1) .box-text p.from_the_blog_excerpt {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
}

@media (max-width: 549px){
    .sec-banner .text-box h3 {
    font-weight: bold;
    font-size: 12px;
}
.sec-banner .text-box {
    left: 15px;
    bottom: 15px;
}
	.home .sec-chiase .img {
    max-width: 50%;
	margin: auto;
}
/* 
	.sec-chiase .box-image {
    max-width: 50%;
    margin: auto;
} */
.row-title p {
    max-width: 100%;
}
.sec-footer .img img {
    width: auto;
    max-width: 150px;
    margin: auto;
    display: block;
}
.sec-chiase h3 {
    font-size: 20px;
}
.row-title h2{
    font-size: 24px;
    margin-bottom: 0;
}
.portfolio-archive .col {
    max-width: 100%;
    flex-basis: 100%;
}
.portfolio-single-page h1.entry-title {
    font-size: 22px;
}
.portfolio-single-page .featured-title .page-title-inner {
    min-height: 150px;
}
.noidung h1{
    font-size: 22px;
}
.ttda h3 {
    font-size: 24px;
    color: #cd7d29;
    margin-bottom: 10px;
}
.title-related{font-size: 24px;}
.banner h3 {
    line-height: 1.4;
}
body .header.show-on-scroll,body .stuck .header-main {
    height: 70px !important;
}

}