#main-content {
    background-color: #fff;
}
@media all and (min-width: 750px) {
    #main-content {
        background-color: #383533;
        border: none;
    }
}
.gallery-landing {
    display: none;
    flex-wrap: wrap;
    justify-content: center;
    background-color: #fff;
    padding: 50px 0;
}
.gallery-landing.compact {
    background-color: #383533;
    justify-content: center;
    border-top: 1px solid #fff;
}
@media all and (min-width: 750px) {
    .gallery-landing {
        display: flex;
    }
    #main-content {
        display: none;
    }
}
.gallery-landing a {
    width: 27%;
    margin: 0 2% 2%;
    position: relative;
    max-width: 350px;
}
.gallery-landing.compact a {
    width: 12%;
    margin: 0 1% 1%;
    max-width: 115px;
    text-decoration: none;
    opacity: 0.5;
}
.gallery-landing a span {
    position: absolute;
    top: 15%;
    width: 90%;
    left: 5%;
    text-align: center;
    color: #000;
    background-color: rgba(255,255,255,0.7);
    padding: 10px 0;
    text-transform: uppercase;
    font-weight: bold;
    display: none;
}
@media all and (min-width: 750px) {
    .gallery-landing.compact a span {
        display: block;
        position: relative;
        color: #fff;
        background-color: #383533;
        text-transform: none;
        font-weight: 300;
        font-size: 12px;
        padding: 0;
        margin: 0;
        text-align: left;
        left: 0;
        width: 100%;
    }
}
@media all and (min-width: 990px) {
    .gallery-landing.compact a span {
        font-size: 14px;
    }
}
.gallery-landing a:hover span, #main-content .gallery-menu a:focus span {
    display: block;
}
.gallery-landing.compact a:hover, .gallery-landing.compact a:focus, .gallery-landing.compact a:active {
    opacity: 1;
    color: #f4b822;
}

#main-content .gallery-menu {
    background-color: rgba(4, 4, 4, 0.8);
    position: relative;
    width: 100%;
    margin-top: 1px;
    z-index: 1000;
}
@media all and (min-width: 750px) {
    #main-content .gallery-menu {
        display: none;
    }
}
#main-content .gallery-menu .accordionButton {
    background-image: url('/images/expand-icon.png');
    background-repeat: no-repeat;
    background-position-y: center;
    background-size: 18px;
    background-position-x: right;
    display: block;
    text-decoration: none;
    margin: 0 6%;
}

#main-content .gallery-menu .accordionButton.on {
    background-image: url('/images/collapse-icon.png');
}
#main-content .gallery-menu h1 {
    color: #fff;
    margin: 1px 0 0;
    font-size: 16px;
    text-align: center;
    font-weight: 300;
    padding: 10px 5px;
}
#main-content .gallery-menu .accordionContent {
    position: absolute;
    background-color: rgba(4, 4, 4, 0.8);
    width: 100%;
}
#main-content .gallery-menu .accordionContent ul {
    margin: 0;
    padding: 0;
}
#main-content .gallery-menu .accordionContent li {
    list-style-type: none;
    padding: 6px 25px;
}
#main-content .gallery-menu .accordionContent a {
    color: #fff;
    text-decoration: none;
}
#main-content .gallery-menu .accordionContent a.active {
    color: #f4b822;
}
#main-content .gallery-menu .accordionContent a:hover, #main-content .gallery-menu .accordionContent a:focus {
    text-decoration: underline;
}
.gallery-images {
    padding: 20px 20px 0;
    display: inline-block;
    width: 100%;
    position: relative;
}
.gallery-images .slick-prev {
    left: 0;
}
.gallery-images .slick-next {
    right: 0;
}
.slide-counter {
    text-align: right;
    float: right;
    position: relative;
    padding: 10px 20px;
    background-color: #fff;
    z-index: 50;
}
@media all and (min-width: 750px) {
    .slide-counter {
        background-color: #383533;
        color: #fff;
    }
}
.gallery-bottom {
    padding: 10px 20px;
    overflow-y: scroll;
    -webkit-overflow-scrolling: touch;
    width: calc(100% - 40px);
    position: absolute;
}
@media all and (min-width: 750px) {
    .gallery-bottom {
        width: auto;
        position: relative;
        padding: 20px 20px 0;
        overflow-y: auto;
        color: #fff;
        max-width: 500px;
    }
}
.gallery-bottom h2 {
    margin: 0 0 10px;
    font-weight: 300;
    text-transform: uppercase;
    font-size: 20px;
    letter-spacing: 2px;
}
@media all and (min-width: 750px) {
    .gallery-bottom h2 {
        color: #f4b822;
        text-transform: none;
        font-size: 28px;
    }
}
.gallery-bottom h3 {
    margin: 10px 0;
    font-weight: 300;
    font-size: 15px;
    letter-spacing: 2px;
}
.gallery-bottom p {
    font-size: 12px;
    line-height: 20px;
}
.gallery-bottom .design-delivers {
    margin: 20px 0 0px;
    font-weight: 300;
    font-size: 15px;
    letter-spacing: 2px;
}
.gallery-bottom p span {
    display: block;
    padding: 5px 0;
}
@media all and (min-width: 750px) {
    .kitchen {
        display: flex;
        align-items: flex-start;
    }
    .kitchen > div {
        width: 50%;

    }
}
/*
@media all and (max-height: 812px) and (orientation:landscape) {
    #header-block {
        align-items: center;
    }
    #header-block #logo-block {
        max-height: 25px;
        display: block;
        margin: 5px;
    }
    #header-block #logo-block img {
        max-height: 25px;
        width: auto;
        margin: 0 auto;
    }
    #main-content .gallery-menu h1 {
        padding: 5px 5px;
    }
}





/*

@media all and (min-width: 1px) {
    #main-content {
        background-image: url('/owery/images/homepage-bg-sml.jpg');
    }
}
@media all and (min-width: 500px) {
    #main-content {
        background-image: url('/owery/images/homepage-bg-med.jpg');
    }
}
@media all and (min-width: 1000px) {
    #main-content {
        background-image: url('/owery/images/homepage-bg-lrg.jpg');
    }
}*/