.main_menu .filter_button {
    background-image: url(down.png);
    background-repeat: no-repeat;
    background-position: right center;
    cursor: pointer;
    padding: 0 25px 0 10px;
    background-size: contain;
    display: inline-block;
}

.main_menu .filter_button.up {
    background-image: url(up.png);
}

.mainWrapper .gallery {
    margin: 10px;
}

.mainWrapper .gallery .thumbnails {
    line-height: 0;
}

.mainWrapper .gallery .thumb {
    display: inline-block;
    width: 200px;
    height: 200px;

    margin: 10px 0 0 10px;

    border: 1px dotted #555;
    cursor: pointer;
}

.mainWrapper .gallery .thumb:hover {
    border: 1px solid #666;
}

.mainWrapper .gallery .thumb div {
    width: 100%;
    height: 100%;
    background-position: -50px 0;
    background-repeat: no-repeat;
    background-size: 300px 200px;
}



.mainWrapper .gallery .info_pane {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;

    min-width: 1000px;
}

.mainWrapper .gallery .info_pane>div:first-child {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background-color: #000;
    opacity: 0.6;
}

.mainWrapper .gallery .info_pane>div:last-child {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}

.mainWrapper .gallery .preview_back {
    position: absolute;
    top: calc(50% - 301px);

    width: 100%;

    background-color: #111;

    padding: 100px 25px 100px 50px;

    min-width: 702px;
}

@media only screen and (max-width: 1000px) {
    .mainWrapper .gallery .preview_back {
        top: 0;
        height: 100%;
    }
}

.mainWrapper .gallery .preview_photo {
    display: inline-block;

    width: 602px;
    height: 402px;

    border: 1px solid #222;

    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

@media only screen and (max-width: 1000px) {
    .mainWrapper .gallery .preview_photo {
        display: block;
    }
}

.mainWrapper .gallery .preview_text {
    display: inline-block;
    max-width: calc(100% - 610px);
    height: 402px;
    vertical-align: top;
    overflow: auto;
    padding: 0 0 0 50px;
}

@media only screen and (max-width: 1000px) {
    .mainWrapper .gallery .preview_text {
        display: block;
    }
}

.mainWrapper .gallery .preview_text h1 {
    font-size: 1.5rem;
    color: #d6d6d6;
    
    padding: 0;
    margin: 20px 0 10px 0;
}

.mainWrapper .gallery .preview_text h2 {
    font-size: 1rem;
    color: #7d7d7d;
    padding: 0;
    margin: 20px 0 25px 0;
}

.mainWrapper .gallery .preview_text h3 {
    font-size: 0.9rem;
    color: #7d7d7d;

    padding: 0;
    margin: 0 0 10px 0;
}

.mainWrapper .gallery .preview_text h4 {
    font-size: 0.75rem;
    color: #7d7d7d;

    padding: 0;
    margin: 10px 0 10px 0;
}

.mainWrapper .gallery .filter {
    padding-top: 10px;
}

.mainWrapper .gallery .filter>div {
    border-bottom: 1px solid #555;
    margin-bottom: 5px;
    padding-bottom: 5px;
}

.mainWrapper .gallery .tag {
    font-size: 0.8rem;
    line-height: 30px;
    border: 1px dotted #555;
    color: #7d7d7d;
    margin: 0 0 0 10px;
    padding: 0px 10px 2px 7px;
    border-radius: 9px;
    vertical-align: middle;
    cursor: pointer;
}

.mainWrapper .gallery .tag.none {
    border: 1px solid #000;
    cursor: default;
}

.mainWrapper .gallery .tag.remove {
    color: #d6d6d6;
    border: 1px solid #d6d6d6;
}

.mainWrapper .gallery label {
    font-size: 0.9rem;
}