header{
/*
    top: 0;
    opacity: 1;
*/
}
.hambButton img:last-child{
    opacity: 1;
}
.hambButton img:first-child{
    opacity: 1;
}
.brandsMainSection {
    padding: 180px 130px 60px;
    text-align: center;
    overflow: hidden;
}
h1 {
    font-size: 36px;
    margin-bottom: 30px;
}
ul.brandsLogos {
    margin-top: 60px;
    text-align: center;
}
.brandsLogos li {
        /* float: left; */
    display: inline-block;
    width: 12.5%;
    height: 100px;
    margin-right: -4px;
    border-style: solid;
    border-color: #5e5754;
    border-width: 1px 1px 1px 0;
}
.brandsLogos li:last-child{
    border-width: 1px 0;
}
.brandsLogos li a{
    width: 100%;
    height: 100%;
    position: relative;
    display: block;
    cursor: pointer;
}
.brandsLogos li a img{
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    width: 90%;
}
h2 {
    text-align: center;
    margin-bottom: 30px;
}
.brandsList {
    margin: 0 130px;
}
.brandRow {
    width:100%;
    padding-bottom: 60px;
    margin-bottom: 30px;
    display: table;
    position: relative;
    border-bottom: 1px solid #5e5754;
}
.brandRow:last-child{
    border: none;
}
.brandThumb {
    float: left;
    width: 260px;
    height: 160px;
    object-fit: cover;
    
    
    margin: 0 0 5px 15px;
    display: block;
}
.brandDetails {
    position: relative;
    float: left;
    width: 100%;
    margin-left: 20px;
}
.brandDetails h3{
    font-size: 20px;
    margin-bottom: 20px;
    margin-left: 300px;
}
.brandDetails > p{
    float: right;
    width: calc(100% - 300px);
}
.brandRow .readMoreBtn {
    bottom: 30px;
    color: #5e5754;
    font-size: 14px;
    left: auto;
}
.readMoreBtn:before, .readMoreBtn:after{
    background: #5e5754;
}
.newsDate {
    position: absolute;
    right: 0;
    font-size: 10px;
}
.topLogo img {
    transition: none;
}
@media screen and (max-width:960px){
    .brandsMainSection{
        padding: 150px 30px 60px;
    }
    .brandsList{
        margin: 0 30px;
    }
}
@media screen and (max-width:768px){
    .brandsMainSection {
        padding: 150px 30px 60px;
    }
    .brandRow .readMoreBtn{
        bottom: 20px
    }
    .brandDetails{
        padding-bottom: 30px;
    }
    .brandsLogos li{
        width: 25%;
    }
    .brandsLogos li:nth-child(4n){
        border-right: none;
    }
    .readMoreBtn:before, .readMoreBtn:after {
        width: 100px;
        opacity: 1;
    }
    .brandDetails > p{
        clear:both;
        float: none;
        width: auto !important;
    }
    .brandDetails h3{
        margin-left:0;
    }
    .postContainer img {
        max-width: calc(100vw - 40px);
    }
}
@media all and (max-width:700px) and (orientation:landscape){
    .brandThumb {
        margin-right: 20px;
    }
    .brandDetails h3{
        width:80%;
        line-height:1.3;
    }
}
@media screen and (max-width:567px){
    .brandsLogos li{
        width: 50%;
    }
    .brandsLogos li:last-child {
        border-width: 0px 1px;
    }
    .brandThumb {
        float: none;
        width: 100%;
        margin-left: 0;
        margin-bottom: 20px;
    }
    .brandDetails {
        width: 100%;
        margin-left: 0px;
        margin-right: 0 !important;
        margin-top: 20px;
    }
    .brandsLogos li a img{
        width: 80%;
    }
    .brandsLogos li:nth-child(2n){
        border-right: none;
        border-left: none;
        border-top: none;
    }
    .brandsLogos li:nth-child(2n+1){
        border-top: none;
    }
    .brandsLogos li:first-child,.brandsLogos li:nth-child(2){
        border-top: 1px solid #5e5754;
        margin-bottom: -7px;
    }
    .brandsLogos li:last-child{
        border-bottom: 1px solid #5e5754;
        border-left: none;
    }
}