﻿/*!
 * home.css
 * Version - 1.0
 * Website: trilado.vn
 * Author: Ghida
 * Copyright (c) 2020 bicweb.com
 */
 .logo h1 {
    margin: 0;
    font-size: 1rem;
}
a{
    transition: all .3s ease;
}
/*====================
Box tin mới nhát
=====================*/
.main {
    padding: 20px 0 0;
}
.gd_text {
    font-size: 16px;
}
.content_box_news .col-left .gd_text {
    color: #F15C22;
}
.gd_post__image {
    padding: 3px;
    border-radius: 5px;
    border: 1px solid #e7e7e7;
    position: relative;
}
.gd_post__image a{
    display: block;
    height: 100%;
    width: 100%;
    overflow:hidden;
}
.gd_text {
    font-size: 16px;
    color: #222;
    transition: all .3s ease;
    margin: 0;
}
.gd_text:hover{
    color: #F15C22;
}
.gd_post__image:hover img{
    transform: scale(1.1);
}
.gd_banner_items {
    /*max-height: 500px;*/
    overflow: hidden;
}
.content_box_news .col-right {
    border: 1px solid #e7e7e7;
    border-radius: 5px;
    overflow: hidden;
}
.content_box_news .list_news {
    list-style: none;
}

.content_box_news .col-right .gd_text {
    font-size: 16px;
    color: #222;
}
.content_box_news .col-right .gd_text:hover{
    color: #f9b005;
}

.content_box_news  .nav-tabs .nav-item {
    margin-bottom: -1px;
    width: 50%;

}
.content_box_news  .nav-tabs .nav-link {
    border: 1px solid transparent;
    padding: 10px 0;
    text-align: center;
    text-transform: uppercase;
    font-weight: 500;
    border-radius: 0;
    color: #F15C22;
}
.content_box_news .nav-tabs .nav-item.show .nav-link, .content_box_news .nav-tabs .nav-link.active {
    color: #fff;
    background-color: #F15C22;
}
 .content_box_news .nav-tabs {
    border-bottom: 1px solid #dee2e6;
    margin-left: -15px;
    margin-right: -15px;
}
.content_box_news .list_news li {
    padding: 10px 0;
    border-top: 1px solid #e7e7e7;
}
.content_box_news .list_news li:first-child{
    border-top:none;
}
.nav.nav-tabs li:nth-child(2) {
    border-right: 1px solid #e7e7e7;
    border-left: 1px solid #e7e7e7;
}
.gd_post__image :{
    overflow: hidden;
     position: relative;

}
.gd_post__image a{
    position: relative;
}
.gd_post__image a:before{
    content:"";
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    z-index: 1;
    transition: all .3s ease;
    background: rgba(0, 0, 0, .2);
    opacity: 0;
}

.gd_post__image img {
    transition: all .3s ease;
    width: 100%;
    max-height: 100%;
    object-fit: cover;
    height: 100%;
}
.gd_post__image:hover:before {
    opacity: 1;
}
/*==========
post dạng list
============*/
.list_new {
    padding-top: 50px;
    position: relative;
}
.list_new:before{
    content:'';
    position: absolute;
    width: calc(100% + 15px);
    height: 1px;
    background: #e7e7e7;
    top: 25px;
    left: 0;
}
.gd_post__list {
    display: flex;
    margin-bottom: 20px;
}
.gd_post__list .gd_post__image{
    width: 30%;
    min-width: 30%;
    margin-right:15px;
    margin-bottom: 0;
    height: 125px;
}
.gd_post__list .gd_post__image img{
    height: 100%;
    object-fit: cover;
    max-width: 100%;

}
.gd_post__list  .gd_post__image a {
    display: block;
    height: 100%;
    width: 100%;
    overflow: hidden;
}
.gd_post__list  .gd_post__image:hover:before{

    content: none;
}
.gd_post__list .gd_post__image:hover img{
    transform: scale(1.1);
}
.gd_post__list  .gd_post__excerpt {
    display: -webkit-box;
    max-width: 100%;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 38px;
    line-height: 17px;
}
.gd_readmore {
    display: inline-block;
    margin-top: 5px;
    color: #222;
    background: #e7e7e7;
    padding: 1px 10px;
    border-radius: 15px;
    font-size: 14px;
}
.gd_readmore:hover {
    background-color: #F15C22;
    color: #fff;
}
.list-right-new .gd_post__image {
    height: 165px;
    overflow: hidden;
}

.list-right-new .gd_post__image img{
    height: 100%;
}
.list-right-new {
    padding-top: 16px;
}
.gd_post__title{
    display: -webkit-box;
    max-width: 100%;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 38px;
}
.content_post_bar .gd_post__item {
    margin-bottom: 20px;
}
/*============ 
list cat ngang
=============*/
.list_cattegory_post .gd_text {
    color: #F15C22;
    margin-bottom: 10px;
}
.list_cattegory_post.cat_ngang .gd_post__item {
    width: 48%;
    float: left;
    margin-right: 2%;
    margin-bottom: 20px;
}
.list_cat_4 .gd_readmore , .list_cat_3 .gd_readmore{
    display: none;
}
.list_cat_4 .gd_post__list {
    display: flex;
    margin-bottom: 15px;
}
.list_cat_4 .gd_post__list .gd_post__image, .list_cat_3 .gd_post__list .gd_post__image {
    min-width: 40%;
    width: 40%;
    height: 120px;
}

.title.cat {
    border-bottom: 1px solid #F15C22;
    margin-bottom: 20px;
}
.title.cat .title_category{
    color: #F15C22;
    text-transform: uppercase;
    font-size: 22px;
}
.content_cat.content_cat_3 {
    width: 48%;
    float: left;
    margin-bottom: 20px;
}
.content_cat.content_cat_3:nth-child(2n){
    margin-right: 2%
}

.list_cattegory_post.cat_doc .gd_post__item {
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e7e7e7;
}
.content_cat.content_cat_4 {
    display: inline-block;
    width: 100%;
    margin-bottom: 20px;
}
.owl-nav {
    font-size: 30px;
    position: absolute;
    top: 50%;
    display: flex;
    justify-content: space-between;
    width: 100%;
    color: #fff;
    height: 0;
    transform: translateY(-50%);
}

.owl-prev {
    width: 30px;
    height: 30px;
    text-align: center;
    background: #F15C22;
    color: #fff;
    font-size: 21px;
    border-radius: 3px;
    opacity: 0;
    transition: all .3s ease;
    cursor: pointer;
}
.owl-next{
    width: 30px;
    height: 30px;
    text-align: center;
    background: #F15C22;
    color: #fff;
    font-size: 21px;
    border-radius: 3px;
    opacity: 0;
    transition: all .3s ease;
    cursor: pointer;
}

.banner_post .owl-prev{
    position: relative;
    left: 0px;
}
.banner_post .owl-next{
    position: relative;
    right: 0px;
}
.banner_post:hover .owl-next{
    opacity: 1;
    right: 30px;
} 
.banner_post:hover .owl-prev{
    opacity: 1;
    left: 30px;
}
.banner_post:hover .owl-prev
.slider_restaurant:hover .owl-next{
    opacity: 1;
    transform: translateX(-50px);
}
.slider_restaurant:hover .owl-prev{
    opacity: 1;
    transform: translateX(50px);
}
.restaurant {
    padding: 40px 0 10px;
    background: #e7e7e7;
}
.title_box {
    padding: 25px;
    text-align: justify;
    padding-right: 0;
}
.tite_box_restaurant{
    text-align: left;
}

.content_box_nha_hang {
    background: #fff;
    padding: 4px;
}
.list_restaurant {
    padding-top: 30px;
}
.list_restaur_item {
    margin-bottom: 20px;
}
.list_restaurant .gd_post__image {
    padding: 3px;
    border-radius: 5px;
    border: 1px solid #e7e7e7;
    position: relative;
    background: #fff;
    height: 187px;
}
.list_restaurant .gd_post__image img{
    height: 100%;
    object-fit: cover;
}
.trademark_item img {
    width: auto !important;
    margin: auto;
    max-height: 110px;
}
.trademark_link {
    height: 120px;
    display: flex;
    align-items: center;
}
.trademark {
    padding: 30px 0;
}
.trademark .owl-nav {
    width: 67px;
    top: -38px;
    right: 0;
    height: auto;
}
.trademark .owl-nav .owl-prev, .trademark .owl-nav .owl-next{
    opacity: .6;
    font-size: 14px;
    padding-top: 5px;

}
.trademark .owl-nav .owl-prev:hover, .trademark .owl-nav .owl-next:hover{
    opacity: 1;
}
/*==========
 sitebar
 ===========*/
.gd_widget .gd_post__inner {
    display: flex;
}
.gd_widget .gd_post__image {
    width: 100px;
    height: 70px;
    float: left;
    min-width: 100px;
    margin-right: 10px;
}

.textwidget.custom-html-widget img {
    max-width: 100%;
}
.gd_widget.gd_widget_article .gd_text {
    font-size: 14px;
    font-weight: 600;
}
.widget {
    margin-bottom: 30px;
    border: 1px solid #e7e7e7;
    padding: 10px;
    border-radius: 5px;
}
.gd_widget__title {
    text-transform: uppercase;
    margin-bottom: 10px;
    border-bottom: 1px solid #f15a24;
}
.gd_widget .gd_widget__title .gd_text{
    font-size: 20px;
}
.widget ul{
    padding-left: 0;
    list-style: none;
    margin-bottom: 0;
}
.list_video li {
    margin-top: 5px;
    padding-top: 5px;
    border-top: 1px dotted#e7e7e7;
}
.gd_bg_video figure{ 
    position: relative;
    cursor: pointer;
}

.gd_widget .gd_bg_video .icon {
    font-size: 43px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: red;
    z-index: 9;
    margin:auto;
}
.gd_bg_video figure:before{
    content:"";
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 15px;
    height: 15px;
    background: #fff;
    z-index: 8;
    position: absolute;
}
.list_video .gd_text {
    display: -webkit-box;
    max-width: 100%;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 38px;
    font-weight: 600;
}

    .widget .cat-item {
        border-top: 1px solid #e7e7e7;
        position: relative;
        background:url(../images/icon-bep15.png) no-repeat 0 12px;
        padding-left: 20px;
        font-size: 14px;
    }
  
    .widget .cat-item:first-child{
        border-top: none;
    }

       .widget .cat-item a{
            color: #222;
            padding:10px 0;
            display: block;
       }
    .widget_categories .gd_text {
        padding-bottom: 10px;
        margin-bottom: 0;
    }
    .widget_categories  .gd_widget__title{
        margin-bottom: 0;
    }
/*================== bamner home*/
.gd_posts__image a {
    display: block;
    position: relative;
}
.gd_posts__image .gd_text {
    position: absolute;
    bottom: 0px;
    left: 0px;
    color: #fff;
    padding: 15px;
    text-align: left;
    z-index: 2
}
.gd_posts__image {
    position: relative;
}
.gd_posts__image img {
    transition: all .3s ease;
    max-height: 577.5px;
    object-fit: cover;
}
.coll-2 .gd_posts__image img {
    height: 181.7px;
    object-fit: cover;
    transition: all .3s ease ;
}
.gd_posts__image:hover img{
    transform: scale(1.1);
}
.logo h1 img, .logo h2 img {
    max-width: 95px;
}
.content_banner_post {
    margin-top: 30px;
}
.gd_posts__image a{
    overflow: hidden;
}
.gd_posts__image a::before {
    bottom: 0;
    content: "";
    display: block;
    height: 100%;
    width: 100%;
    position: absolute;
    -webkit-transition: background-color 0.3s ease;
    -moz-transition: background-color 0.3s ease;
    -o-transition: background-color 0.3s ease;
    transition: background-color 0.3s ease;
    background-image: linear-gradient(to bottom, rgba(0,0,0,0) , #000 83%);
    opacity: .6;
    z-index: 1
}
/*.coll-1 .gd_posts__image .gd_text {
    bottom: 15%;
}*/
/*=============*/
@media screen and (min-width:1367px) and (max-width:1920px) {
    .container {
        max-width: 1400px
    }
}

@media screen and (min-width:1200px) and (max-width:1366px) {
    .container {
        max-width: 1200px 
    }
}
@media screen and (max-device-width: 1199px) {
    .gd_post__list .gd_post__image {
        width: 40%;
        min-width: 40%;
    }
    .list-right-new .gd_post__image {
        height: auto;
        overflow: hidden;
    }
    .coll-2 .gd_posts__image img {
        height: 141.7px;
        object-fit: cover;
    }
 
}

@media screen and (max-device-width: 992px) {
   .gd_widget .gd_post__image {
        width: 87px;
        height: 59px;
        float: left;
        min-width: 74px;
        margin-right: 10px;
    }
    .gd_widget .gd_widget__title .gd_text {
        font-size: 18px;
    }
   .list_new .gd_post__item {
        width: 50%;
        padding: 5px;
        float: left;
    }
   .list_cattegory_post.cat_ngang .gd_post__item {
        width: 100%;
        float: none;
        margin-right: 0;
        margin-bottom: 15px;
        border-bottom: 1px solid #e7e7e7;
        padding-bottom: 10px;
    }
    .title.cat .title_category {
        font-size: 18px;
    }
   .list_cattegory_post.cat_doc .gd_post__list {
        display: block;
        margin-bottom: 20px;
    }
    .list_cat_4 .gd_post__list .gd_post__image, .list_cat_3 .gd_post__list .gd_post__image {
        min-width: 40%;
        width: 100%;
        height: auto;
    }
    .title_box{
        padding-right: 25px;
    }
    .coll-2 .gd_posts__image img {
        height: 250.7px;
        object-fit: cover;
    }
    .coll-1 .gd_posts__image img {
        height: 181.7px;
        object-fit: cover;
        transition: all .3s ease ;
    }
}
@media screen and (max-device-width: 767px) {
    
   .content_box_news .col-right {
        border: 1px solid #e7e7e7;
        border-radius: 5px;
        overflow: hidden;
        /* margin: 15px; */
        max-width: calc(100% - 30px);
        margin-left: 15px;
        margin-top: 15px;
        padding: 0;
    }
    .list_new::before {
        width: calc(100%);
    }
    .content_cat.content_cat_3 {
        width: 100%;
        float: left;
    }
  .list-right-new  .gd_post__title {
        display: -webkit-box;
        max-width: 100%;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        min-height: 34px;
    }
    .list-right-new .list_new .gd_post__item {
        width: 50%;
        padding: 0px;
        float: left;
    }
    .coll-2 .gd_posts__image img {
        height: 181.7px;
        object-fit: cover;
    }
}

@media screen and (max-device-width: 576px) {
   .content_box_news .col-left .gd_text {
        margin-bottom: 0;
    }
    .list_cattegory_post .gd_text {
        color: #F15C22;
        margin-bottom: 0;
    }
    .content_box_news .col-right .gd_text{
        margin-bottom: 0;
    }
    .gd_post__list .gd_post__excerpt{
        padding-top: 5px;
    }
    .title_box {
        padding-right: 25px;
        padding: 5px;
    }
}

@media screen and (max-device-width: 414px) {
   
}
@media screen and (max-device-width: 360px) {
    .content_box_news .col-left .gd_text,.list_cattegory_post .gd_text {
        margin-bottom: 0;
        display: -webkit-box;
        max-width: 100%;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        min-height: 38px;
    }
    .btn.gd_readmore {
        display: none;
    }
    .gd_post__list .gd_post__image {
        height: 89px;
    }

}