
 .content .news-top .news-slider img{
    min-height: 440px;
}
main .news-state .news-img .caption,
 .content .news-top .news-slider .caption{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    right: 0;
    display: flex;
    align-items: flex-end;
    padding: 0.5rem 3rem;
    box-shadow: 0 -261px 119px -111px #fff inset;
}
 .content .news-top .news-slider .caption .titr{
    position: relative;
}
main .news-state .news-img .caption .title::before,
 .content .news-top .news-slider .caption .titr::before{
    content: '';
    position: absolute;
    width: 4px;
    height: 90%;
    background-color: #333333;
    top: 51%;
    right: 0;
    transform: translateY(-50%);
}
main .news-state .news-img .caption .title::before{
    background-color: #f8b022;
}
.news-slider,
.flickity-slider,
.flickity-viewport{
    min-height: 440px;
    height: 100% !important;
}
.carousel-cell{
    margin-right: 10px;
    width: 100%;
    height: 100% !important;
}
.flickity-button{
    background: #33333390;
    color: #fff;
    box-shadow: none;
    border-radius: 5px;
}
.flickity-button:hover {
    background: #33333390;
}
 .content .news-top .news-media .media .img-box{
    width: 40%;
    height: 100%;
}
 .content .news-top .news-media .media p{
    text-align: justify;
}

header .news-cart-box .last-news .title{
    border-bottom: 3px solid #707070;
}
header .news-cart-box .last-news .body{
    overflow: auto;
}
header .news-cart-box .last-news .body::-webkit-scrollbar{
    width: 3px;
    border-radius: 5px;
    background-color: #ececec;
}
header .news-cart-box .last-news .body::-webkit-scrollbar-thumb{
    background-color: #bcbcbc;
}
header .news-cart-box .last-news .body .news a{
    position: relative;
}
header .news-cart-box .nav-tabs{
    border-bottom: 3px solid #333333;
}
header .news-cart-box .nav-tabs .nav-item .active{
    background-color: #00036A;
    color: #fff;
    border-radius: 4px 4px 0 0;
}
header .news-cart-box .nav-tabs .nav-link{
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0;
}
.news-tricks .media .img-box{
    height: 170px;
    position: relative;
}
.news-cart .img-box{
    height: 0;
    position: relative;
    padding-bottom: 70%;
}
.news-tricks .media .img-box img,
.news-cart .img-box img{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    right: 0;
}
.news-cart .body{
    overflow: hidden;
}
main .news-state .news-img .caption{
    box-shadow: 0 -201px 97px -111px #fff inset
}
main .news-state .news-img .caption .title{
    position: relative;
}
main .news-tricks .media .img-box{
    width: 30%;
}
main .news-tricks .media .media-body p{
    margin-bottom: 1rem;
}
main .news-gallery .img-box{
    height: 183px !important;
}
main .news-gallery .img-box:hover img{
    transform: scale(1.1);
}


/* page menu-items */



@media (min-width: 768px){
    .news-tricks .news-cart{
        background-color: white !important;
    }
}
@media (min-width: 768px) and (max-width: 992px){
   .news-img .title{
    font-size: 1rem;
   }
}
@media (min-width: 992px){
    body{
        padding-bottom: 0px !important;
    }
     .content .news-top .news-media .media .img-box{
        width: 32% !important;
    }
    header .news-cart-box .last-news .body{
        height: 330px !important;
    }
    .bg-header{
        background-image: url('../img/Group\ 3.png') !important;
    }
    .bg-logo{
        background-image: url('../img/Group\ 33.svg') !important;
    }
    .news-tricks .media .img-box{
        height: 170px !important;
    }
}
@media (max-width: 1200px){
    
}
@media (max-width: 992px){
    body{
        padding-bottom: 80px;
    }
    main .news-tricks .media .img-box,
     .content .news-top .news-media .media .img-box{
        width: 34%;
    }
    header .news-cart-box .last-news .body{
        max-height: 265px;
    }
    .bg-header,
    .bg-footer,
    .bg-logo{
        background-image: none;
        display: none;
    }
    .news-tricks .media .img-box{
        height: 115px;
    }
}
@media (max-width: 768px){
    main .news-tricks .media .img-box{
        height: 95px;
    }
    .news-tricks .news-cart .img-box,
    main .news-tricks .media .img-box, 
     .content .news-top .news-media .media .img-box{
        height: 125px;
    }
    .news-tricks .news-cart{
        background-color: transparent;
    }
}
@media (max-width: 576px){
    main .news-tricks .media .img-box{
        height: 120px;
    }
     .content .news-top .news-slider img,
    .news-slider,
    .flickity-slider,
    .flickity-viewport{
        min-height: 300px;
        /* height: 100% !important; */
        height: 320px;
    }
}
/* update */

.news-cart-box .news-cart .img-box{
    padding-bottom: 97%;
}
header .news-cart-box .last-news .body .news .sqr{
    width: 7px;
    height: 7px;
}
header .news-cart-box .last-news .body .news{
    position: relative;
    border-bottom: 1px solid #e7e7e7;
    padding-bottom: 3px;
}
header .news-cart-box .nav-tabs .nav-link{
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #929292;
    color: #fff;
    border-radius: 0;
}
.cart-items .title{
    padding: 0.5rem 0;
}
.news-gallery .img-box .desc{
    bottom: -50%;
    height: max-content;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.635);
    transition: all 0.3s;
    opacity: 0;
    visibility: hidden;
    font-size: 0.9rem;
}
.news-gallery .img-box:hover .desc{
    bottom: 0;
    visibility: visible;
    opacity: 1;
}
