.layer-list-row {
    display: flex;
    flex-wrap: wrap;
    margin: -1px;
}

.layer-list-col {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 1px;
}

.four-in-list .layer-list-background {
    display: none;
}

.showMobile .four-in-list .layer-list-background {
    display: block !important;
}

.hideMolile .four-in-list .layer-list-background {
    display: none !important;
}

@media screen and (min-width: 576px) {
    .layer-list-col-25,
    .layer-list-col-33,
    .layer-list-col-50 {
        flex-basis: 50%;
        max-width: 50%;
    }
}

@media screen and (min-width: 768px) {
    .layer-list-col-25 {
        flex-basis: 25%;
        max-width: 25%;
    }
    .layer-list-col-33 {
        flex-basis: 33.333336%;
        max-width: 33.333336%;
    }

    .showDesktop .four-in-list .layer-list-background {
       display: block !important;
    }

    .hideDesktop .four-in-list .layer-list-background {
       display: none !important;
    }
}

.layer-list-item {
    display: flex;
    position: relative;
    height: 17.5em;
    background-color: #f1f1f2;
    justify-content: center;
    align-items: center;
}

.four-in-list {
    height: 14em;
}

h3.logo-title {
    position: relative;
    text-align: center;
    margin: 0;
    padding: 0 15px;
    text-shadow: 0 0 19px rgba(255, 255, 255, 1);
}

.layer-list-item:hover,
.layer-list-item:focus {
    background-color: #dddada;
}

.lli-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 55%;
    height: auto;
    transform: translate(-50%, -50%);
}

.lli-logo.vertical {
    width: auto;
    height: 60%;
}

.layer-list-background {
    background-size: cover;
    background-position: 50% center, 50% center;
    background-repeat: no-repeat;
    position: absolute;
    inset: 0px;
    opacity: 0.5;
}

.lli-content {
    display: none;
}
