/* css for banner */


.gallery-banner-container{
    width: 100%;
    height:300px;
    position: relative;
}
.gallery-banner-image{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}
.gallery-banner-image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.gallery-banner-content{
    position: absolute;
    width: 80%;
    height:80%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}
.gallery-banner-title{
    font-size: 33px;
    color: #FFF;
}
.gallery-button{
    width: 200px;
    height: 50px;
    border-radius: 5px;
    color: #fff;
    background-color: #ff9000;
    border: none;
    font-size: 18px;
    font-weight: 600;
    line-height: 50px;
}
/* css for gallery list */
.gallery-section{
    margin-bottom: 5%;
}
.gallery-menu-container{
    width: 100%;
    padding: 20px;
    display:flex;
    flex-direction: row;
    justify-content: space-around;
}
.gallery-menu-title{
    color: #105c95;
    text-align: center;
}
.gallery-menu-title p{
    letter-spacing: 2px;
    font-weight: 700;
    font-size: 18px;
}
.gallery-menu-item{
    width: 82px;
    position: relative;
    overflow: hidden;
}
.gallery-menu-link{
    display:flex;
    justify-content: space-between;
    align-items: center;
    width: 70%;
}
.gallery-menu-item a {
    text-decoration: none;
    color: #000;
    height: 40px;
}
.gallery-menu-item a span p {
    text-align: center;
    font-size: 18px;
}
.gallery-menu-item:before{
    content: '';
    position: absolute;
    bottom: -3px;
    width: 100%;
    height:3px;
    background: #105c95;
}
.gallery-menu-item:hover:before{
    bottom: 0;
}
.gallery-menu-item:hover a{
    font-weight: 700;
    color: #105c95;
}
.gallery-list-image{
    display:grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 10px;
    min-height: 900px;
    margin-bottom: 20px; 
}
.gallery-image-container{
    width: 100%;
    height: auto;
    position: relative;
    overflow: hidden;
}
.gallery-image-container:hover img{
    transform: scale(1.2)
}
.gallery-image-container:hover .gallery-image-content{
    /*bottom: 5px;*/
    bottom: 0;
}
.gallery-image-container:hover .gallery-big-container.gallery-image-content{
    bottom: 0%;
}

/*Responsive*/
@media(min-width: 768px) {
    .gallery-big-image{
        grid-row: 1 / span 2;
    }
    .gallery-big-sec-image{
        grid-row: 2 / span 2;
        grid-column: 3;
    }
    .gallery-big-third-image{
        grid-row: 3 / span 2;
        grid-column: 2;
    }
    .gallery-big-fourth-image{
        grid-row: 5 / span 2;
    }   
}
.gallery-image-container img{
    width: 100%;
    height: 100%;
    transition: .5s;
}
.gallery-image-content{
    position:absolute;
    width:100%;
    height:30%;
    left: 0;
    bottom: -30%;
    padding: 3rem 1rem;
    transition: .3s;
    background-image: linear-gradient(to bottom, rgba(0,0,0,0), rgba(0,0,0,0.5));
}
.gallery-big-container .gallery-image-content{
    bottom: -16%;
    height: 16%;
}
.gallery-content-title{
    font-size:16px;
    color: #fff;
}
.gallery-content-link{
    color: rgba(255,255,255, .7);
    text-decoration: none;
}
.list-image-pagination{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 5rem;
    margin-top: 1rem;
}
.list-image-list-button{
    display:flex;
    justify-content: space-between;
    height: 45px;
}
.list-image-button{
    width: 40px;
    height: 40px;
    border-radius: 5px;
    background-color: #fff;
    color: #105b93;
    box-shadow: 1px 2px 4px 2px rgba(0,0,0,.1);
    border: none;
    cursor: pointer;
    transition: .4s;
    font-size: 18px;
    font-weight: 600; 
    display:flex;
    justify-content: center;
    align-items: center;
    margin: 0 5px;
}
.list-image-button:hover{
    background: #105b93;
    color: #FFF;
}
.list-image-button:hover a{
    color: #FFF
}
.list-image-pagination .active{
    background: #105b93;
}
.list-image-pagination .active a{
    color: #FFF;
}
/* css for article */

.gallery-aricle{
    width: 100%;
    min-height: 211px;
    background-color: rgba(0,0,0,.4);
    position: relative;
}
.article-image-list{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    position: absolute;
    top: -15%;
}
.gallery-article-image{
    margin: 10px;
}
.gallery-article-image img{ 
    width: 100%;
    height: auto;
    object-fit: cover;
}
.gallery-article-content{
    width: 100%;
    height: auto;
    padding: 20px;
    color: #fff;
    display:flex;
    flex-direction: column;
    align-items: center;
    text-align: right;
}
.gallery-article-button{
    width: 40%;
    height:35px;
    font-size: 15px;
    box-shadow: 0px 0px 4px 1px rgba(0,0,0,.3);
    line-height: 35px;
    text-align: center;
}
.gallery-article-button i{
    margin-left: 1em;
}
.gallery-article-title{
    text-align: right;
    width: 100%;
}
.gallery-retro-title{
    text-align: left;
}
.gallery-article-text{
    font-size: 14px;
    line-height: 27px;
}
.gallery-banner-text, .gallery-article-text{
    color: #FFF;
}
.gallery-article-item{
    margin-bottom: 5%;
}
.gallery-retro-item{
    background: #fff;
}
.gallery-retro-content{
    order: 1;
}
.gallery-retro-image-list{
    order: 2
}
.gallery-retro-article{
    color: rgba(0,0,0,.7);
}
.gallery-retro-article p {
    color: rgba(0,0,0,.7);
    text-align: left;
}
.gallery-article-industrial{
    background-color: #105b93;
}

/* css for list sample */
.list-sample{
    margin-top: 20px;
}
.sample-banner-title{
    width: 100%;
    display:flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 15px 0;
    color: #105b93;
}
.sample-banner-title p{
    letter-spacing: 2px;
}
.banner-main-sample{
    padding-right: 0;
}
.banner-sample-img img, .banner-sample-small-img img{
    width: 100%;
    height: 100%
}
.banner-sample-small-img:nth-child(1){
    margin-bottom: 1.1rem;
}
.list-sample-menu{
    margin: 20px 0;
}
.list-sample-menu .list-menu-container{
    width: 100%;
    height:fit-content;
}
.list-sample-block{
    padding-right: 10px;
    padding-left: 0;
}
.list-sample-container{
    position:relative;
    width: 100%;
    height:300px;
    margin-bottom: 2em;
}
.list-sample-image{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;;
    height: 80%;
}
.list-sample-image img{
    width: 100%;
    height: 100%;
}
.list-sample-content{
    position: absolute;
    height: 20%;
    width: 100%;
    bottom: 0;
    left: 0;
}
.list-sample-content p{
    font-size:14px;
    color: rgba(0,0,0.4);
}
.list-sample-price-container{
    display: flex;
    width: 100%;
    justify-content: space-between;
}
.list-sample-price{
    width: 47%;
}
.list-sample-button{
    flex: 1;
    margin-left: 5px;
    display: flex;
    justify-content: space-between;
}
.list-sample-price p{
    text-decoration: line-through;
    font-size: 15px;
    margin:0;
    color: rgba(0,0,0,.4);
}
.list-sample-price .list-sample-sale{
    color: #105b93;
    text-decoration: none;
    font-weight: 500;
    font-size: 17px;
}
.list-sample-button button{
    cursor:pointer;
    height: 30px;
}
.sample-sale-button{
    padding: 4px;
    font-size: 11px;
    color: #105b93;
    border: 1px solid #105b93;
    background: #fff;
    font-weight: 600;
    border-radius: 4px;
    transition: .5s;
}
.sample-sale-button:hover{
    background: #105b93;
    color: #fff;
}
.sample-cart-button{
    border: 1px solid #ff9000;
    color: #ff9000;
    background: #fff;
    border-radius: 3px;
    transition: .5s;    
}
.sample-cart-button:hover{
    background: #ff9000;
    color: #fff;
}
.list-sample-status{
    position:absolute;
    top: 5%;
    left: 5%;
    width: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}
.list-sample-status span {
    width: 50px;
    height: 25px;
    background: #ff9000;
    margin-right: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.list-sample-status .sample-hot-status{
    background:rgb(172,229,36);
}
.list-sample-status span p {
    margin: 0;
    font-weight: 600;
    color: #fff;
}
.list-menu-item a{
    display: flex;
    align-items: center;
    justify-content: center;
}
.list-menu-item a span  p {
    margin: 0;
    font-size:16px;
}
.list-menu-item:hover a span p {
    font-weight: 600;
    color: #105b93;
}
.list-menu-find-input{
    width: 100%;
    height: 35px;
    position:relative;
    overflow: hidden;
    border: 1px solid #afb4b7;
    border-radius: 5px;
}
.list-menu-find-input .fa-search{
    
}
.input-find-sample{
    width: inherit;
    height:inherit;
    background: rgba(128,128,128,.16);
    padding-left: 7px;
    border: 0 none;
}
.input-find-sample::placeholder{
    font-size:15px;
    font-style: italic;
    color: rgba(0,0,0,.4);
}
/* css for filter-sample */
.sample-filter-container .card-header, .sample-filter-container .card-body{
    padding: 0;
}
.sample-filter-container .card-header{
    background-color: #fff;
}
.sample-filter-container .card-body{
    background-color: rgba(0,0,0,.1);
}
.custom-collapse-link{
    width: 100%;
    height:45px!important;
    font-size: 17px;
    display: flex;
    color: #000;
    text-decoration: none;
    height: 35px;
    padding-left: 15px; 
    text-transform: unset;
    background: #fff;
    border: none;
}
.custom-collapse-link a{
    text-decoration: none;
    color: #000;
}
.custom-collapse-link:hover{
    color:#000;
    text-decoration: none;
}
.list-sample-filter-item button{
    width: 100%;
    height:35px;
    background-color: rgba(0,0,0,0);
    border: none;
    display:flex;
    align-items: center;
    padding-left: 15px;
}
.list-sample-filter-item button p {
    margin: 0;
}
.list-sample-filter-item button:hover{
    background-color: rgba(0,0,0,.2);
}
 
/* css for list sample side item */

.sample-list-title{
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #105b93;
}
.sample-list-title p{
    margin: 0;
    color:#fff;
    font-size: 15px;
    font-weight: bold;
}
/* css cho sp bán chay nhất */
.sample-rank-item{
    width: 100%;
    padding-top: 10px;
    padding-left: 10px;
    padding-bottom: 10px;
    display:flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid rgba(0,0,0, .1);
}
.sample-rank-content{
    margin:0 10px;
    flex: 1;
}
.sample-rank-content span{
	display: block;
}
.sample-rank-content span.sale-price{
	color: #ff0000;
}
.sample-rank-content a {
    margin: 0;
    font-size: 15px;
    color: #000;
	display: block;
}
.sample-rank-content .sample-rank-name{
    margin-bottom: 5px;
    text-align: left;
}
.sample-rank-sale{
    font-weight: 700;
    color: #105b93;
    font-size: 16px;
}
.sameple-rank-normal-price{
    text-decoration: line-through;
    color: rgba(0,0,0,.1);
}

/* css for filter field */
.sample-filter-title{
    font-size: 16px;
    color: #000;
    font-weight: 600;
}
.sample-filter-container{
    border: 1px solid rgba(0,0,0, .1);
    padding: 10px;
}
.sample-menu-container{
    padding: 0;
}
.list-sample-filter, .filter-sample-container{
    margin-bottom:20px
}
.list-sample-filter, .filter-sample-container, .list-rank-sample{
    box-shadow: 0px 0px 4px 1px rgba(0,0,0,.1);
}
.sample-material-container{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
}
.sample-material-item{
    width: 50%;
}
.sample-material-checkbox{
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}
.sample-material-checkbox label, .sample-color-item label{
    cursor: pointer;
    color: #000;
}
.sample-material-checkbox input{
    margin-right: 10px;
}
.material-checkbox-block .check-icon-block i{
    font-size: 20px;
}
.sample-material-item p {
    margin: 0;
    font-size:15px;
}
.sample-color-item span, .material-checkbox-block {
    width: 25px;
    height: 25px;
    margin-right: 10px;
    position: relative;
}

.checkbox-block .fa-check{
    font-size:20px;
    visibility: hidden;
}

.checkbox-block input, .material-checkbox-block input{
    position:absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
}
.check-icon-block{
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    z-index: 1;
    pointer-events: none;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}
.material-checkbox-block .check-icon-block{
    background-color: #fff;
    border: 1px solid rgba(0,0,0,.5);
}
.checkbox-block input:checked ~ .check-icon-block .fa-check,.material-checkbox-block input:checked ~ .check-icon-block .fa-check{
    color :#fff;
    visibility: visible;
}
.sample-color-item{
    display:flex;
    margin-bottom: 10px;
}
.sample-white-item span{
    border: 1px solid rgba(0,0,0,.4);
}
.sample-white-item .checkbox-block .check-icon-block .fa-check{
    color: rgba(0,0,0,.4);
    visibility: visible;
}

/* css for price filter module */
.ui-widget-content {
    background: #d9d9d9;
    border: medium none !important;
    border-radius: 0;
    height: 5px !important;
    margin: 1rem 0 2.5rem;
}
.sample-filter-container .sidebar-btn{
    width: 38%;
}
.ui-widget-content .ui-state-default {
    background: #005f95;
    border-color: #000;
    border-radius: 50%;
    box-shadow: none;
    cursor: pointer;
    font-weight: normal;
    height: 1.5rem !important;
    width: 1.5rem !important;
}
.sample-rank-image{
    width: 40%;
}

.or--info-gallery {
    overflow: inherit;
    position: relative;
}
.or--info-gallery .post-thumbnail {
    overflow: hidden;
}

.or--info-gallery .post__properties {
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 750px;
}
.easyzoom-flyout img {
    max-width: unset;
}
.header-1--bottom .row {
    flex-flow: row;
}
.row:before, .row:after {
    display: none;
}
/*Construction*/
.construction {
    margin-top: 20px;
}
.construction .sample-list-title {
    justify-content: left;
    padding-left: 20px;
}
.construction .list-sample-filter {
    -webkit-box-shadow: 0px 6px 15px -5px rgba(128,128,128,1);
    -moz-box-shadow: 0px 6px 15px -5px rgba(128,128,128,1);
    box-shadow: 0px 6px 15px -5px rgba(128,128,128,1);
}
.construction__items .item {
    cursor: pointer;
    padding: 10px 20px;
    border-bottom: solid 1px #7d7d7d59;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}
.construction__items .item span {
    float: right;
}
.construction__items .item:last-child {
    border-bottom: none;
}
.construction__items a {
    color: #7d7d7d;
    display: block;
}
.construction__items .item:hover, .construction__items .construction__items-filter {
    background-color: #7d7d7d;
    color: #fff;
}
.construction__items .construction__items-filter a{
    color: #fff;
    display: block;
}
.construction__items .item:hover a {
    color: #fff;
}
/*Page danh muc cong trinh*/
.construction .gallery-big-image {
    grid-column: 2 / 3;
    grid-row: 1 / span 3;
}
.construction .gallery-big-image .wrap-image {
    height: 50%;
    position: relative;
    overflow: hidden;
}
.construction .gallery-list-image {
    min-height: inherit;
}
.construction .gallery-list-image:first-child {
    margin-bottom: 10px;
}
.gallery-big-image .wrap-image:first-child {
    margin-bottom: 10px;
}
.gallery-big-image .wrap-image:last-child {
    margin-top: 10px;
}
.construction .gallery-image-container.gallery-big-image:hover img {
    transform: unset;
}
.construction .gallery-image-container.gallery-big-image:hover .gallery-image-content {
    bottom: unset;
}
.construction .gallery-image-container:hover .gallery-image-content {
    height: auto;
}
.construction .gallery-image-container .wrap-image__first:hover img, 
.construction .gallery-image-container .wrap-image__last:hover img {
    transform: scale(1.2);
}
.construction .gallery-image-container .wrap-image__first:hover .gallery-image-content, 
.construction .gallery-image-container .wrap-image__last:hover .gallery-image-content {
    bottom: 0;
    height: auto;
}
.construction .list-image-pagination {
    margin: 20px 0;
}
.construction {
    margin-bottom: 50px;
}
/*info*/
.main-construction .article-image-list {
    position: unset;
}
.main-construction .gallery-retro-item .gallery-article-banner {
    background-color: #fff;
    padding-right: 0;
}
.main-construction .gallery-article-item {
    background-color: #fff;
    margin-bottom: 30px;
}
.main-construction .gallery-article-banner {
    padding: 25px;
    background-color: rgba(0,0,0,.4);
}
.main-construction .gallery-article-title {
    text-transform: uppercase;
    font-size: 35px;
}
.main-construction .gallery-article-image {
    margin: 0;
}
.main-construction .gallery-article-content {
    padding: 0;
}

/*Responsive*/
@media(min-width: 992px) {
    .or-news .gallery-image-content {
        display: flex;
        align-items: center;
    }
}
@media(max-width: 991px) {
    .or--info-gallery .post__properties {
        bottom: inherit;
    }
    /*Page danh muc cong trinh*/
    .construction .gallery-list-image {
        grid-template-columns: repeat(2, 1fr);
    }
    .construction .gallery-big-image {
        grid-row: 1 / span 2;
    }
}

@media(min-width: 768px) and (max-width: 991px) {
    .service-detail .post-info {
        margin-top: 150px;
    }
    .or--info-gallery .post__properties {
        left: 42%;
        min-width: 660px;
    }
}

@media(max-width: 767px) {
    .article-image-list {
        position: inherit;
        top: 0;
    }
    .gallery-retro-image-list .article-image-list {
        top: 0;
    }
    .gallery-image-container {
        width: 50%;
        float: left;
        margin-bottom: 10px;
    }
    .gallery-list-image {
        display: inline-block;
    }
    .gallery-image-container:nth-child(even) {
        padding-left: 5px;
    }
    .gallery-image-container:nth-child(odd) {
        padding-right: 5px;
        clear: left;
    }
    .gallery-big-container .gallery-image-content {
        height: auto;
    }
    .gallery-image-content {
        height: auto;
        bottom: 0 !important;
    }
    .gallery-menu-container {
        display: block;
    }
    .gallery-menu-title {
        margin-bottom: 20px;
    }
    .gallery-menu-link {
        margin: 0 auto;
        overflow-x: auto;
        width: 100%;
    }
    .gallery-menu-item {
        min-width: 80px;
    }
    /*detail service*/
    .service-detail .post-info {
        margin-top: 215px;
    }
    .post__properties-item:last-child {
        margin-top: 15px;
    }
    .gallery-banner-title{
        font-size: 2.5rem;
    }
    /*Page danh muc cong trinh*/
    .construction .gallery-list-image {
        display: block;
    }
    .construction .gallery-image-container:nth-child(even) {
        padding-left: 0;
    }
    .construction .gallery-image-container:nth-child(odd) {
        padding-right: 0;
    }
    .construction .gallery-image-container {
        width: 100%;
    }
    .main-construction .gallery-retro-image-list {
        order: 1;
    }
    .main-construction .gallery-article-content {
        margin-top: 20px;
    }
    .main-construction .gallery-retro-item .gallery-article-banner {
        padding-right: 25px;
    }
    .main-construction .gallery-article-title {
        font-size: 25px;
    }
}