.logo {
    width: 200px;
}

.logo-private {
    width: 150px;
}

#message-container {
    position: fixed;
    top: 0px;
    right: 0px;
    z-index: 9999 !important;
    padding: 10px 10px 0 0;
}

.banner {
    position: relative;
    width: 100%;
    height: 320px;
    background: url('../img/banner.png');
    background-position: center center;
    -webkit-filter: grayscale(100%) !important;
    filter: grayscale(100%) !important;
}

.banner>.text {
    position: absolute;
    width: 100%;
    height: 150px;
    top: 50%;
    transform: translateY(-50%);
}

.banner>.text>img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 250px;
}

.banner>.text>.filter {
    -webkit-filter: opacity(80%) !important;
    filter: opacity(80%) !important;
    width: 100%;
    height: 150px;
    z-index: -1;
    background-color: #000;
    display: inline-block;
    position: absolute;
    top: 0px;
    left: 0px;    
}

.mesonry {
    writing-mode: vertical-lr;
    overflow-x: auto;
    width: 100%;
}

.mesonry-inner {
    display: grid;
    grid-gap: 10px;
    grid-template-columns: 1fr 1fr 1fr 1fr 0fr;
    grid-auto-rows: 12vh;
    grid-auto-flow: dense;
    height: 500px;
}

.mesonry-item {
    display: block;
    overflow: hidden;
    writing-mode: horizontal-tb;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    cursor: pointer;
}

.mesonry-item:nth-child(5n+1) {
    background-color: red;
    grid-row-start: span 0;
    grid-row-end: span 3;
    grid-column-start: span 0;
    grid-column-end: span 4;

}

.mesonry-item:nth-child(5n+2) {
    background-color: green;
    grid-row-start: span 0;
    grid-row-end: span 2;
    grid-column-start: span 0;
    grid-column-end: span 2;
}

.mesonry-item:nth-child(5n+3) {
    background-color: blue;
    grid-row-start: span 0;
    grid-row-end: span 2;
    grid-column-start: span 0;
    grid-column-end: span 2;

}

.mesonry-item:nth-child(5n+4) {
    background-color: orange;
    grid-row-start: span 2;
    grid-row-end: span 2;
    grid-column-start: span 2;
    grid-column-end: span 2;
}

.mesonry-item:nth-child(5n+5) {
    background-color: gray;
    grid-row-start: span 2;
    grid-row-end: span 2;
    grid-column-start: span 2;
    grid-column-end: span 2;
}

.mesonry-item>div {
    position: absolute;
    bottom: 0;
    padding: 10px 20px;
    color: #FFF;
    width: 100%;
}

.mesonry-item>div>h3 {
    position: relative;
    font-size: 1.15rem;
    color: #FFF !important;
    z-index: 1;
}

.mesonry-item>div>span {
    position: relative;
    font-size: 0.75rem;
    color: #FFF !important;
    z-index: 1;
}

.mesonry-item>div>.filter {
    -webkit-filter: opacity(80%) !important;
    filter: opacity(80%) !important;
    width: 100%;
    height: 100%;
    background-color: #000;
    display: inline-block;
    position: absolute;
    bottom: 0px;
    left: 0px;
    z-index: 0;
}

/* ---------------------------------------------- */

.news-item {
    width: 300px;
    height: 300px;
    padding: 0 5%;
    display: inline-block;
    position: relative;
}

.news-item>.inner {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
}

.news-item>.inner>h3 {
    font-size: 1rem;
    color: #FFF;
    position: relative;
    z-index: 10;
    padding: 20px 20px 0 20px;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    text-align: left;
}

.news-item>.inner>span {
    font-size: 0.75rem;
    color: #FFF;
    position: relative;
    z-index: 10;
    padding: 20px;
    display: inline-block;
    width: 100%;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    text-align: left;
}

.news-item>.inner>.filter {
    -webkit-filter: opacity(80%) !important;
    filter: opacity(80%) !important;
    width: 100%;
    height: 100%;
    background-color: #000;
    display: inline-block;
    position: absolute;
    bottom: 0px;
    left: 0px;
}

.partners {
    width: 100%;
    height: 120px;
    margin: 0 5%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    column-gap: 10px;
}

.partners>div {
    width: 120px;
    height: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #ffffffad;
    border-radius: 10px;
}

.partners>div>img {
    width: 100px !important;
}

/* .news {
    display: flex;
    flex-direction: row;
    justify-content: left;
    flex-wrap: wrap;
    gap: 20px;
}

.news-item {
    width: 200px;
    height: 200px;
    position: relative;
    cursor: pointer;
}

.news-item>.inner {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
}

.news-item>.inner>h3 {
    font-size: 1rem;
    color: #FFF;
    position: relative;
    z-index: 10;
    padding: 10px 10px 0 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.news-item>.inner>span {
    font-size: 0.75rem;
    color: #FFF;
    position: relative;
    z-index: 10;
    padding: 10px;
    display: inline-block;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.news-item>.inner>.filter {
    -webkit-filter: opacity(80%) !important;
    filter: opacity(80%) !important;
    width: 100%;
    height: 100%;
    background-color: #000;
    display: inline-block;
    position: absolute;
    bottom: 0px;
    left: 0px;
} */

/* ---------------------------------------------- */

.mesonry__clients {
    writing-mode: vertical-lr;
    overflow-x: auto;
    width: 100%;
    padding: 0 10px 10px 10px;
}

.mesonry-inner__clients {
    display: grid;
    grid-gap: 5px;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-auto-rows: 9vh;
    grid-auto-flow: dense;
}

.mesonry-item__clients {
    display: block;
    overflow: hidden;
    writing-mode: vertical-lr;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px solid #FFF;
    padding: 10px;
}

.mesonry-item__clients>img {
    object-fit: cover;
    width: 100%;
}

.mesonry-item__clients.w-1 { 
    grid-row-end: span 1; 
}

.mesonry-item__clients.w-2 { 
    grid-row-end: span 2; 
}

.mesonry-item__clients.w-3 { 
    grid-row-end: span 3; 
}

.mesonry-item__clients.w-4 { 
    grid-row-end: span 4; 
}

.mesonry-item__clients.w-5 { 
    grid-row-end: span 5; 
}

.mesonry-item__clients.h-1 { 
    grid-column-end: span 1; 
}

.mesonry-item__clients.h-2 { 
    grid-column-end: span 2; 
}

.mesonry-item__clients.h-3 { 
    grid-column-end: span 3; 
}

.mesonry-item__clients.h-4 { 
    grid-column-end: span 4; 
}

.mesonry-item__clients.h-5 { 
    grid-column-end: span 5; 
}





@media screen and (max-width: 1250px) {
    .partners {
        /*height: unset;*/
        gap: 10px;
    }
}

@media screen and (max-width: 800px) {
    .news {
        justify-content: center;
    }
}

@media screen and (max-width: 600px) {
    .banner {
        height: 210px;
    }

    .banner>.text {
        height: 100px;
    }

    .banner>.text>span {
        font-size: 1.5rem;
    }

    .banner>.text>.filter {
        height: 100px;
    }
}

@media screen and (max-width: 400px) {
    .banner {
        height: 110px;
    }

    .banner>.text {
        height: 50px;
    }

    .banner>.text>span {
        font-size: 1.25rem;
    }

    .banner>.text>.filter {
        height: 50px;
    }
}
