/*   
Theme Name: HG Theme
Description: Theme dev by HG Team
Author: Hoang Giang Nguyen
Version: 1.0
*/
:root {
    --footer-line-height: 38px;
    --primery-color: #f38543;
}
.mx-0{margin: 0;}
.px-0{padding: 0;}
.mb-40{margin-bottom: 40px;}
.mt-0{margin-top: 0;}
.d-none{display: none!important;}
a{color: #fff;}
a:hover,a:focus,.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6{color: var(--primery-color);}
.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6{font-family: 'Open Sans Condensed', sans-serif;}
img.img-logo {
    height: 92px;
    margin-bottom: 30px;
    margin-left: 15px;
}
img{max-width: 100%;}
body{font-size: 16px;background: #161616;color: #fff;}
select {color: #000;}
.breadcrumb{background: #161616;padding-top: 95px;}
main{min-height: calc(100vh - 224px);}
/*logo home*/
a.logo-home {
    position: absolute;
    top: calc(50% - 25vh);
    left: calc(50% - 25vh);
    z-index: 999;
}
img.img-logo-home{height: 50vh;}
@media only screen and (min-width: 1024px){
    .home.logo-header{display: none;}
}
/*nav menu*/
ul#menu-main-menu {
    display: flex;
    flex-direction: column;
    position: fixed;
    z-index: 9999;
}
.nav>li>a:focus, .nav>li>a:hover{background: transparent;}
.navbar-hg li ul.sub-menu{
    display: none;
    list-style: none;
    padding: 0;
    margin: 0;
}
.navbar-hg>li>ul.sub-menu>li>ul>li a{padding-left: 35px;}
.navbar-hg li {position: relative;min-width: 250px;}
.navbar-hg li i{
    position: absolute;
    right: 0;
    top: 0;
    padding: 15px 0;
    font-size: 14px;
    z-index: 10;
    cursor: pointer;
    transition: all 0.5s;
    opacity: 1;
}
a.open-menu i.fa-plus{transform: rotate(90deg);transition: all 0.5s;opacity: 0;}
.navbar-hg li i:before{padding:0 20px;}
.navbar-hg ul a{padding: 6px 25px;display: block;}
.new-navbar {
    position: fixed;
    top: 20px;
    z-index: 9999;
    width: 100%;
    background: transparent;
    border: none;
}
.d-flex-col{display: flex;flex-direction: column;}
.title-sub {
    font-size: 22px;
    font-weight: 500;
    line-height: 30px;
    margin-bottom: 20px;
}
.navbar-toggle .icon-bar{background: #fff;z-index: 9999;}
/*---------end --------*/
/*home slider*/
.slider-section {
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
}
.home-slider.owl-carousel .owl-item img {
    height: 100vh;
    object-fit: cover;
    object-position: center;
}
.home-slider.owl-carousel .owl-item:before {
    content: '';
    width: 100vw;
    height: 100vh;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 1;
    transition: all 2s ease;
    background: linear-gradient(to bottom, black 0, transparent 50%, transparent 63%, rgba(0, 0, 0, 1) 100%);
}
.home-slider.owl-carousel .owl-item.active:before{
    opacity: 0.4;
    transition: all 2s ease;
}
.home-slider .owl-nav .owl-prev{
    position: absolute;
    top: 40%;
    left: 10px;
    width: 40px;
    height: 40px;
    background: #ffffff70!important;
    border-radius: 100%;
    opacity: 0;
    transition: all 0.8s ease;
}
.home-slider:hover .owl-prev{opacity: 1;}
.home-slider .owl-nav .owl-next{
    position: absolute;
    top: 40%;
    right: 10px;
    width: 40px;
    height: 40px;
    background: #ffffff70!important;
    border-radius: 100%;
    opacity: 0;
    transition: all 0.8s ease;
}
.home-slider:hover .owl-next{opacity: 1;}
.home-slider .owl-nav button.owl-prev span {
    font-size: 40px;
    position: absolute;
    top: 2px;
    left: -1px;
    line-height: 0;
    padding: 15px;
    color: #555;
}
.home-slider .owl-nav button.owl-next span {
    font-size: 40px;
    position: absolute;
    top: 2px;
    right: -1px;
    line-height: 0;
    padding: 15px;
    color: #555;
}
/*---------end --------*/
/*sidebar*/
.title-sidebar {
    background: #272727;
    font-weight: 600;
    border-radius: 5px 5px 0 0;
}
.blog-sidebar {
    margin-bottom: 15px;
    border: 1px solid #ddd;
    display: flow-root;
    border-radius: 5px;
    box-shadow: 0 0 4px #99999940;
}
.blog-sidebar>*{padding: 15px;}
.blog-sidebar ul {
    list-style: none;
    margin: 0;
}
.blog-sidebar ul li.cat-item:not(:last-child) {
    padding-bottom: 15px;
}
.blog-sidebar:first-child {
    margin-top: 86px;
}
/*---------end --------*/
/*Phân trang*/
.page-numbers{
    position: relative;
    display: block;
    padding: .5rem .75rem;
    margin-left: -1px;
    line-height: 1.25;
    color: #007bff;
    background-color: #fff;
    border: 1px solid #dee2e6;
}
.page-numbers.current{
    z-index: 1;
    color: #fff;
    background-color: #337ab7;
    border-color: #337ab7;
}
/*---------end --------*/
/*archive box*/
.y-text-editor {
    margin-bottom: 30px;
}
.box-archive{
    border: 1px solid #ddd;
    /*border-radius: 5px;*/
    box-shadow: 0 0 6px #99999940;
}
.box-archive-excerpt{margin-bottom: 15px;}
.box-archive-excerpt p{margin: 0;}
.box-archive-body {
    padding: 15px;
}
.box-archive-date {
    padding: 15px;
    background: #ededed;
}
.box-archive-img img{
    width: 100%;
    object-fit: cover;
}
@media only screen and (max-width: 767px){
    .box-archive-img img{height: 50%;}
}
/*---------end --------*/
/*single template*/
.single-date{margin-bottom: 20px;padding-bottom: 20px;border-bottom: 1px dotted #ddd;}
.single-body {
    margin-bottom: 40px;
}
.aligncenter{
    display: block;
    margin: 0 auto;
}
.alignright{
    float: right;
    margin: 5px 0 15px 15px;
    width: 50%;
}
.alignleft {
    float: left;
    margin: 5px 15px 15px 0px;
    width: 50%;
}
.wp-caption-text {
    text-align: center;
    font-style: italic;
    padding: 10px;
    margin: 0;
}
.wp-caption{max-width: 100%;}
.wp-caption.alignleft,.wp-caption.alignright{max-width: 50%;}
.single-body img{height: auto;}
.txt-share {
    margin-bottom: 10px;
    display: block;
}
.share-post {
    margin-bottom: 20px;
    border-bottom: 1px dotted #ddd;
    padding-bottom: 20px;
}
/*---------end --------*/
/*other post*/
.list-post .box-item-post .item-post {
    display: flex;
    flex-flow: wrap column;
    align-items: flex-start;
    height: 100%;
}
.item-post .img-post{
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    overflow: hidden;
    padding-bottom: 66.6667%;
}
.item-post .img-post img{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: auto!important;
    height: auto!important;
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
}
.desc-post {
    height: 44px;
    overflow: hidden;
    line-height: 22px;
}
.list-post .box-item-post{
    margin-bottom: 30px;
}
/*---------end --------*/
/*back to top*/
.topbutton{position: fixed;bottom: 20px;right: 20px;}
/*---------end --------*/
/*footer*/
.footer {
    padding: 20px 0;
    width: 100%;
    z-index: 9999;
}
.footer ul{list-style: none;padding: 0;margin-bottom: 20px;}
ul.list-social {
    display: flex;
    margin: 0;
    float: right;
}
.list-social li a {
    border-radius: 50%;
    width: var(--footer-line-height);
    height: var(--footer-line-height);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #fff;
    transition: all 0.3s;
}
.list-social li a:hover{
    background: #ff5c00;
    text-decoration: none;
    transition: all 0.3s;
    border: #ff5c00;
    box-shadow: 0 0 3px #000;
}
.list-social li {
    display: inline-block;
    margin-right: 10px;
    border-radius: 100%;
}
.list-social li a i {
    font-size: 20px;
    color: #fff;
}
.list-social li:hover{
    box-shadow: 0 0 6px #0006;
}
.footer .title-footer {
    font-size: 22px;
    font-weight: 500;
    line-height: 30px;
}
.footer-menu a{line-height: var(--footer-line-height);color: #fff;}
.footer-menu{color: #ddd;}
.copyright p{margin: 0;color: #fff;line-height: 38px;line-height: var(--footer-line-height);}
/*---------end --------*/
/*ajax loadmore*/
.btn-view-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    content: "";
    background-image: url(/wp-content/themes/myTheme/assets/img/mouse.svg);
    background-repeat: no-repeat;
    background-position: center center;
    border: 0px solid #000;
    border-radius: 50%;
    animation: pulse 1s infinite;

}
.box-loadmore .loader {
    display: none;
    border: 10px solid var(--primery-color);
    border-radius: 50%;
    border-top: 10px solid #161616;
    border-bottom: 10px solid #161616;
    width: 45px;
    height: 45px;
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s cubic-bezier(0, 0, 0.56, 0.53) infinite;
    margin: 0 auto;
}
.box-loadmore.active .loader {
    display: block;
}
.box-loadmore.active .btn-view-more {
    display: none;
}
.box-loadmore{position: relative;}
.archive-project .box-loadmore {margin-top: 30px;}
/*---------end --------*/
/*filter ajax*/
ul.filter{list-style: none;padding: 0;display: flex;margin: 20px 0;}
ul.filter li {
    display: inline-flex;
    vertical-align: middle;
    padding-right: 10px;
}
/*---------end --------*/
/*Light Galerry IMG*/
.view-img {
    color: #fff;
    position: absolute;
    bottom: 10px;
    right: 25px;
    font-weight: 400;
}
.col-img{transition: all 0.5s;}
.video {
    cursor: pointer;
}
.video .lg-video-play {
    width: 84px;
    height: 60px;
    position: absolute;
    left: 50%;
    top: 50%;
    margin-left: -42px;
    margin-top: -30px;
    z-index: 9;
    background: url(/wp-content/themes/myTheme/assets/img/youtube-play.png);
    cursor: pointer;
}
/*---------end --------*/
/*about*/
.about button.owl-dot{
    background: rgba(255, 255, 255, 0.2);
    width: 50px;
    margin: 2px;
    padding: 1px !important;
    border: 0;
}
.about button.owl-dot.active{background: var(--primery-color);}
.sub-title {
    font-family: 'Open Sans Condensed';
    font-size: 24px;
    line-height: 28px;
    padding-left: 30px;
    position: relative;
}
.sub-title:before {
    content: '';
    width: 20px;
    height: 1px;
    position: absolute;
    left: 0;
    top: 50%;
    background: var(--primery-color);
}
.wrap-item {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.wrap-item .item{
    width: calc(calc(100% / 3) - 20px);
    height: 184px;
    position: relative;
    padding-left: 48px;
    box-sizing: border-box;
}
.wrap-item .item:before {
    position: absolute;
    top: 0;
    right: 0;
    width: 119px;
    height: 100%;
    content: '';
    border: 1px solid #a35529;
}
.wrap-item .item .box-content {
    display: inline-block;
    background-color: #161616;
    position: relative;
    margin-top: 50px;
    margin-left: -48px;
}
.wrap-item .item .number-item{font-size: 46px;line-height: 56px;text-transform: uppercase;font-family:'Open Sans Condensed' ;color: var(--primery-color);}
.wrap-item .item .content-item{font-family:'Open Sans Condensed' ;margin-bottom: 10px;}
.item.milestone {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    cursor: pointer;
    position: relative;
    margin-bottom: 200px;
}
.item.milestone:nth-child(even){flex-direction: row-reverse;}
.item.milestone .dots {
    position: absolute;
    width: 71px;
    height: 71px;
    border: 1px solid #a1a1a1;
    content: '';
    top: 50%;
    right: 0px;
    transform: translate(50%,-50%);
    border-radius: 50%;
    background-color: #161616;
}
.item.milestone:nth-child(odd) .box_img{
    padding-right: 100px;
}
.item.milestone:nth-child(even) .box_img{
    padding-left: 100px;
}
.item.milestone:nth-child(even) .box_img .dots {
    right: unset;
    left: -30px;
    transform: translate(-50%,-50%);
}
.item.milestone:nth-child(even) .box_img .dots:before {
    left: 33%;
    transform: translate(calc(-50% - 10px),100%) rotateY(
        180deg);
    â€¨-webkit-transform: translate(calc(-15% - 10px),100%) rotateY(180deg);
    -moz-transform: translate(calc(-50% - 15px),100%) rotateY(180deg);
    -ms-transform: translate(calc(-50% - 15px),100%) rotateY(180deg);
    -o-transform: translate(calc(-50% - 15px),100%) rotateY(180deg);
}
.item.milestone .dots:after {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    width: 25px;
    height: 25px;
    background-color: #ffffff;
    content: '';
    border-radius: 50%;
    transition: .3s all;
}
.item.milestone .dots:before {
    position: absolute;
    bottom: 8px;
    left: 63%;
    transform: translate(calc(-50% + 10px),100%);
    background-image: url(/wp-content/uploads/2021/09/line_process.png);
    width: 53px;
    height: 502px;
    background-size: cover;
    background-repeat: no-repeat;
    content: '';
}
.item.milestone .box_img{position: relative;}
.item.milestone .box_img img{border-radius: 15px;box-shadow: 0 0 5px #000;}
.item.milestone:last-child .dots:before{content: unset;}
.item.milestone:nth-child(odd) .box_content{padding-left: 80px;}
.item.milestone:nth-child(even) .box_content{padding-right: 80px;}
.item.milestone:hover .dots:after{background: var(--primery-color);}
h3.text_active {
    font-size: 46px;
}
/*---------end --------*/
/*------client------*/
.clients {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}
.clients .item{
    width: 20%;
    height: 120px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    transition: .3s all;
    cursor: pointer;
}
.clients .item img {
    max-height: 70%;
    max-width: 80%;
    object-fit: contain;
    filter: brightness(0) invert(1);
}
.clients .item:hover {
    background: white;
}
.clients .item:hover img {
    filter: brightness(1) invert(0);
}
/*------end------*/
/*grid style*/
.list_project .item img {
    width: 100%;
    display: block;
    transform: scale(1) rotate(
        0deg);
    transition: .5s all;
    height: 100%;
    object-fit: cover;
}
.list_project{
    display: grid;
    background-color: transparent;
}
.list_project .row {
    position: relative;
    background: white;
}
.list_project .row:before {
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    content: '';
    height: 1px;
    background: rgba(255, 255, 255, 1);
    z-index: 2;
    pointer-events: none;
}
.list_project .row ul {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-evenly;
    z-index: 9;
    pointer-events: none;
    margin: 0;
    list-style: none;
    padding: 0;
    margin: 0;
}
.list_project .row ul li {
    width: 1px;
    height: 100%;
    background: rgba(255, 255, 255, 0.6);
}
.list_project .item {
    position: relative;
    overflow: hidden;
    padding-bottom: 1px;
}
.list_project .item a {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 9;
}
.list_project .item:hover:before {
    opacity: 0.8;
}
.list_project .item:before {
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    background-image: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 100%);
    bottom: 0;
    left: 0;
    width: 100%;
    content: '';
    position: absolute;
    z-index: 7;
    opacity: 0;
    transition: .3s all;
}
.list_project .row.style_4 {
    display: grid;
    grid-template-columns: 50% 25% 25%;
    grid-template-rows: 50%;
}
.row.style_4 .item:nth-child(2), .row.style_4 .item:nth-child(3) {
    grid-row: 1/3;
}
.list_project .row.style_2 {
    display: grid;
    grid-template-columns: 25% 50% 25%;
}
.list_project .row.style_3 {
    display: grid;
    grid-template-columns: 25% 25% 50%;
}
.list_project .item .box_content {
    position: absolute;
    left: 20px;
    bottom: 20px;
    right: 20px;
    z-index: 8;
}
.list_project .item .box_content h3 {
    color: #ffffff;
    font-size: 26px;
    margin: 0;
    transition: 0.5s all;
}
.text_up {
    text-transform: uppercase;
}
.list_project .item:hover .box_content h3 {
    color: var(--primery-color);
    transition: 0.5s all;
}
ul.list_tax {
    display: flex;
    padding: 0;
    list-style: none;
    margin-bottom: 30px;
    flex-wrap: wrap;
}
ul.list_tax a {
    padding: 0px 32px;
    line-height: 50px;
    display: inline-block;
    background: #1d1d1d;
}
ul.list_tax a.active{color: var(--primery-color);}
ul.list_tax li:not(:first-child){
    border-left: 1px solid #505050;
}
/*end*/
/*single project*/
.all_info_pr{display: flex;flex-wrap: wrap;}
.slick-slide img{width: 100%; cursor: pointer;}
.slider-for .slick-arrow {
    position: absolute;
    top: calc(50% - 20px);
    z-index: 10;
    border-radius: 100%;
    width: 40px;
    height: 40px;
    border: 0px;
    background: #0000007a;
}
.slider-for .slick-arrow:hover{background: #000;}
.slider-for .btn-prev{left: 20px;}
.slider-for .btn-next{right: 20px;}
.wrap-box{display: flex;flex-wrap: wrap;}
.col-left-prj:before{content: '';position: absolute;left: 15px;top: 0;height: 100%;width: 4px;background: var(--primery-color);}
.col-left-prj{padding-left: 45px;}
.title-project{opacity: 0.6;font-size: 14px;line-height: 24px;}
.col-right-prj .col-item:after{content: "";position: absolute;bottom: 0;width: calc(100% - 30px);height: 1px;background: #fff;}
.col-right-prj .col-item{margin-bottom: 20px;}
.col-right-prj {padding-left: 50px;}
/*end*/
/*liên hệ*/
ul.company-info{list-style: none;padding: 0;}
ul.company-info li i{width: 16px;margin-right: 5px;font-size: 12px;}
ul.company-info li {line-height: 30px;}
.wrap-box-space{display: flex;flex-wrap: wrap;justify-content: space-between;}
.wrap-box-space label.half{width: calc(50% - 10px);}
.wrap-box-space label.half input{width:100%;}
.wrap-box-space label.full,.wrap-box-space label.full input,.wrap-box-space label.full textarea{width:100%;}
.wrap-box-space input,.wrap-box-space textarea{color: #000;padding: 5px;margin: 10px 0;}
.wrap-box-space label{font-weight: 400;}
.wrap-box-space input.wpcf7-form-control.wpcf7-submit {
    background: var(--primery-color);
    color: #fff;
    padding: 5px 15px;
    border: 0px;
    border-radius: 2px;
}
.wrap-box-space input.wpcf7-form-control.wpcf7-submit:hover{opacity: 0.9;}
/*end*/
@media screen and (min-width:1024px){
    .box-mobile{display: none;}
    ul#menu-main-menu{top: 172px;}
    .new-navbar{width: 300px;}
    h1 {font-size: 46px;line-height: 56px;text-transform: uppercase;}
    h2.main-title{font-size: 46px;line-height: 56px;text-transform: uppercase;margin-bottom: 50px;}
    
}
@media screen and (max-width:1023px){
    .box-desktop{display: none;}
    .item.milestone .dots{display: none;}
    .about.owl-carousel {
        margin-bottom: 40px;
    }
    .item.milestone:nth-child(odd) .box_img {
        padding-right: 0px;
    }
    .item.milestone:nth-child(odd) .box_content {
        padding-left: 0px;
    }
    .item.milestone:nth-child(even) .box_content {
        padding-right: 0px;
    }
    .item.milestone:nth-child(even) .box_img {
        padding-left: 0px;
    }
    .item.milestone{margin-bottom: 50px;}
    h3.text_active {
        font-size: 46px;
        margin: 0;
        line-height: 66px;
    }
    h1.title-post-detail,h2.main-title{font-size: 46px;margin-bottom: 30px;}
}
@media screen and (min-width:768px){
    .footer{
        background: transparent;
    }
    .home-footer .footer{
        position: fixed;
        bottom: 0;
    }
}
@media screen and (max-width: 767px){
    .footer-bottom .row{display: flex;align-items: center;}
    .copyright p{text-align: left;font-size: 11px;}
    .footer-bottom .row>*{width: 50%;}
    .footer-bottom .back-top{position: absolute;right: 0;bottom: 0;}
    .footer{padding: 15px 0;}
    .slider-section{height: calc(100vh - 68px);}
    .collapse-hg .nav-main{display: none;}
    .new-navbar{position: absolute;}
    img.img-logo {
        height: 75px;
        margin-left: 15px;
    }
    .breadcrumb{padding: 120px 0 0 0;}
    .navbar-toggle.open-menu-mob .icon-bar:nth-child(1),.open-menu-mob .icon-bar:nth-child(4){opacity: 0;}
    .navbar-toggle.open-menu-mob .icon-bar:nth-child(2){transform: rotate(-45deg);}
    .navbar-toggle.open-menu-mob .icon-bar:nth-child(3){transform: rotate(45deg);opacity: 1;}
    .navbar-toggle .icon-bar:nth-child(3){opacity: 0;margin-top: -2px;}
    .navbar-toggle .icon-bar{transition: all 0.5s;}
    .wrap-item .item{width: calc(calc(100% / 2) - 20px);margin-bottom: 20px;}
    .list_project .row ul{display: none;}
    .list_project .row {grid-template-columns: 1fr!important;}
    .list_project .row:before{height: 0;}
    .col-left-prj {
        padding-left: 35px;
        margin-bottom: 20px;
    }
    .col-right-prj{padding-left: 15px;}
    h3.text_active{font-size: 30px;margin: 0;line-height: 45px;}
    .milestone .content{font-size: 12px;}
    .item.milestone{margin-bottom: 30px;}
    h1.title-post-detail,h2.main-title{font-size: 36px;margin-bottom: 30px;}
    ul#menu-main-menu {
    top: 0;
    left: 0;
    padding: 95px 0;
}
ul#menu-main-menu:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #000000ab;
}
}
