﻿main {
    overflow: hidden;
}

.gallery_container { 
    margin: 10px 3% auto 3%;
    text-align: left;
}

.tile {
    border: 1px solid lightgrey;
    display: inline-block;
    margin: 5px;
    text-align: left;
}

.image {
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.tile-helper {
    display: inline-block;
    height: 100%;
    vertical-align: middle;
    overflow: hidden;
}

.overlay {
    background-color: black;
    opacity: 0;
    width: 100%;
    position: relative;
    cursor: pointer;
}

.overlay:hover {
    opacity: 0.8;
}

.tile-caption {
    bottom: 0;
    position: absolute;
    text-align: center;
    word-wrap: break-word;
    width: 100%;
    color: white;
    display: inline-block;
}

    .tile-caption label {
        width: 100%;
        font-size: 1vw;
        margin-bottom: 0;
        cursor: pointer;
    }

.animate {
    transition: all .35s ease-out;
    -moz-transition: all .35s ease-out;
    -webkit-transition: all .35s ease-out;
    -o-transition: all .35s ease-out;
}

.overlay:hover > .tile-caption {
    bottom: 40%;
}

.inner-triangle {
    border-left: 20px solid #049cdb;
    border-right: 20px solid transparent;
    border-bottom: 20px solid transparent;
    height: 0;
    width: 0;
    position: absolute;
    left: 0;
}

#gridSlider, #gridSlider-affix {
    position: absolute;
    float: right;
    right: 8%;
    margin-bottom: 60px;
}

    #gridSlider .slider-selection, #gridSlider-affix .slider-selection {
        background: #BABABA;
    }


.grid-size-panel {
    display: inline-block;
    width: 100%;
    height: auto;
    background-color: transparent;
    padding-top: 10px;
    padding-bottom: 10px;
    position: absolute;
    margin-top: -45px;
    background-color: transparent;
}

@media (max-width: 750px) {
    .grid-size-panel {
        position: relative;
        margin-top: 0;
        background-color: white;
        height: 40px;
    }
}

.grid-loading-circle {
    margin-left: 50%;
    margin-top: 15px;
}

.no-results {
    font-size: 1.17em;
    margin: 1em 0;
    font-weight: bold;
}