﻿#galeria {
    width: 100%;
    min-height: 400px;
    text-align: center;
    /*padding: 10px 50px 10px 70px;*/
}

#GalleryText {
    padding-bottom: 0;
    margin-bottom: 10px;
}

.verThumb {
    margin: 10px auto 10px auto;
    width: 135px;
    height: 203px;
    min-width: 144px;
    min-height: 217px;
}

.horThumb {
    margin: 10px auto 50px auto;
    width: 240px;
    height: 160px;
    min-width: 120px;
    min-height: 80px;
}

.verThumb, .horThumb {  /*, .slideFrame */
    border-style: solid;
    border-width: 1px;
    border-radius: 4px;
    border-color: #eaeaea;
}

.slideFrame {
    width: 260px !important;
    height: 260px !important;
    margin: 1px 1px;
    display: inline-block;
    /*float: left;*/
}

.slideFrame a img:hover {
    opacity: 0.8;
}

    .slideFrame div {
        margin-top: 0px;
        padding-top: 3px;
        /*height: 240px;*/
    }

.slideFrame div:nth-child(2) {
    font-size: 12px;
    line-height: 12px;
    text-align: left;
    padding: 0px 10px;
    height: 15px;
}

.slideFrame div:nth-child(2) p {
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    text-align: center;
}

img {
    border-radius: 4px;
    z-index: 3;
}

h2 {
    font-size: 24px;
}

.lg-outer .lg-inner {
    background: url(../../Content/images/jdp_logo.jpg) top center no-repeat;
    background-size: 30em 1.8em;
    background-position-y: 45px;
}

.lg-outer .lg-image {
    max-width: 85%;
    max-height: 85%;
}

.lg-sub-html {
    padding: 10px 40px 40px;
}

@media (min-width: 320px) {
    .lg-outer .lg-inner {
        background-size: 18em 1.08em;
    }

    .lg-sub-html {
        padding: 10px 40px 10px;
    }
}

@media (min-width: 576px) {
    .slideFrame {
        width: 220px !important;
        height: 220px !important;
    }

    .slideFrame div {
        height: 210px;
        background-color: #fbfbfb;
    }

    .horThumb {
        width: 195px;
        height: 130px;
        min-width: 195px;
        min-height: 130px;
    }

    .verThumb {
        width: 126px;
        height: 189px;
        min-width: 126px;
        min-height: 189px;
    }
}

@media (min-width: 768px) {
    .lg-outer .lg-inner {
        background-size: 21em 1.3em;
        background-position-y: 47px;
    }

    .lg-sub-html {
        padding: 10px 40px 10px;
    }
}

@media screen (max-width: 1024px) {
    #LogoRow {
        height: 80px;
    }
}

