﻿/*Gallery*/
#ImageGallerySearchDiv {
    margin: 0 0 1rem;
}

    #ImageGallerySearchDiv:before, #ImageGallerySearchDiv:after {
        content: " ";
        display: table;
    }

    #ImageGallerySearchDiv:after {
        clear: both;
    }

span.DGOV2GalleryImage {
    background-position: center center;
    background-size: cover;
    display: block;
    padding-top: 66.66665%
}

.DGOV2Search, .DGOV2DropDown {
    width: 280px;
}

.DGOV2Search {
    float: left;
    margin-right: 1rem;
}

.styled-form .DGOV2Search input[type=text], .styled-form .DGOV2Search button {
    margin: 0
}

.DGOV2Search button.btn {
    box-shadow: none;
}

.DGOV2Search i {
    font-size: 1.2rem;
    position: relative;
    top: 2px;
}

.DGOV2DropDown {
    float: right;
    margin-left: 1rem;
}

.SingleImage h1.page-title, .SingleImage .page-banner .content-wrap p {
    display: none;
}

#SearchText .Clear a.btn {
    text-transform: uppercase;
    letter-spacing: 2px;
    background: #ebeff5;
    color: #254267;
    border: 2px solid #254267;
    box-shadow: none;
    width: 250px;
}

    #SearchText .Clear a.btn:hover {
        color: #fff;
        background: #254267;
    }

#spanSearchResults {
    margin-left: 10px;
    position: relative;
    top: -8px;
    color: #717171;
}

@media (max-width: 1500px) {
    #ImageGallerySearchDiv {
        display: flex;
        justify-content: space-between;
    }

    #ImageGallerySearchDiv:before, #ImageGallerySearchDiv:after {
        display: none;
    }

    .DGOV2Search, .DGOV2DropDown {
        width: 24%;
        margin: 0;
        float: none;
    }
}

@media (max-width: 1180px) {
    #ImageGallerySearchDiv {
        flex-wrap: wrap;
        margin-bottom: 0;
    }

    .DGOV2Search, .DGOV2DropDown {
        width: 48%;
        margin-bottom: 1rem;
    }
}

@media (max-width: 650px) {
    .DGOV2Search, .DGOV2DropDown {
        width: 100%;
    }
}

.image-gallery-detail .text-center > .btn {
    display: none;
}

.image-gallery-detail a.details-url img {
    display: block;
    margin: auto;
}

.image-gallery-detail a.details-url:hover, a.details-url:focus {
    background-color: transparent;
}

.image-gallery-detail h1 {
    font-family: Lato, sans-serif;
    font-size: 1.6rem;
}

.image-gallery-detail ul.meta {
    margin-left: 0;
    margin-bottom: 3rem;
}

    .image-gallery-detail ul.meta li {
        list-style: none;
        font-size: 17px;
    }

        .image-gallery-detail ul.meta li span {
            margin-bottom: .8rem;
        }

    .image-gallery-detail ul.meta i {
        color: #333;
        margin-right: 5px;
        display: inline-block;
        max-width: 20px;
    }

    .image-gallery-detail ul.meta strong {
        margin-right: .4rem;
    }

    .image-gallery-detail ul.meta .pipe-separator {
        padding-left: 8px;
        padding-right: 8px;
    }

    .image-gallery-detail ul.meta li.download a {
        display: inline-block;
    }

    .image-gallery-detail ul.meta li.tags a {
        display: inline-block;
    }

.image-gallery-detail .inner-wrap-narrow {
    margin-left: 30px;
    width: calc(100% - 30px);
}

.image-gallery-detail hr {
    border-bottom: none;
}

.image-gallery-detail p {
    font-size: 18px;
}

.btn-photo-gallery {
    margin-top: 2rem;
}

.image-gallery-detail .social {
    justify-content: left;
    margin: 0 0 1.5rem;
    display: flex;
}
.image-gallery-detail ul.meta a {
    line-height: 1.2em;
}

.image-gallery-detail .social .subhead {
    font-size: 1rem;
    text-align: left;
    margin-top: 13px;
    margin-right: 8px;
}

.image-gallery-detail .social  a.a2a_button_facebook:hover {
    background-color: #3b5998;
    border-color: #3b5998;
}

.image-gallery-detail .social  a.a2a_button_x:hover {
    background-color: #000;
    border-color: #000;
    color: #FFF;
}

span.DGOV2SearchResult {
    padding-left: 4px;
}

.DGOV2ImageGalleryImagesContainer {
    display: flex;
    flex-wrap: wrap;
    flex: 1;
    margin: 0 -5px;
    padding: 1rem 0 4rem;
}

.DGOV2ImageGallerylvItem {
    width: 25%;
    padding: 5px;
    min-width: 200px;
}

.DGOV2ImageGallerylvImage a {
    display: block;
}

.aImageDetailsImgLink {
    font-size: 0;
}

.DGOV2ImageGallerylvItem h2 {
    font-size: 20px;
}

img.DGOV2GalleryImage {
    margin: 0 auto;
}

.DGOV2ImageGallerylvDocument {
    overflow: hidden;
    width: 100%;
    padding: 4px;
    text-align: center;
    margin: 20px 0px;
}

.DGOV2ImageGallerylvDocument span.ImageGalleryDocument {
    margin-left: 0px !important;
    font-size: 6.8em !important;
}

/*Details*/
.at-share-btn-elements a {
    margin: 0 8px 5px !important;
}

div.DGOV2ImageGalleryLoadMoreContainer {
    text-align: center;
    padding: 1rem 0 4rem;
}

.image-gallery-loadmore.disabled {
    color: #fff !important;
    background-color: #355e93 !important;
    opacity: 1 !important;
    border-color: #355e93 !important;
}

.dropdown-menu > li > a {
    cursor: pointer;
}

@media (max-width: 1199px), (max-device-width: 1199px) {
    .DGOV2ImageGallerylvItem {
        width: 25%;
    }
}

@media (max-width: 980px), (max-device-width: 980px) {
}

@media (max-width: 991px), (max-device-width: 991px) {

    .DGOV2ImageGallerylvDocument span.ImageGalleryDocument {
        font-size: 6em !important;
    }

    .DGOV2ImageGallerylvItem {
        width: 33.33%;
    }
}

@media (max-width: 767px), (max-device-width: 767px) {
    /*Two Images*/
    .DGOV2ImageGallerylvItem {
        width: 50%;
    }
}

@media (max-width: 500px), (max-device-width: 500px) {
    .DGOV2ImageGallerylvItem {
        width: 100%;
    }
}

@media only screen and (max-width: 1199px) {
    .image-gallery-detail .inner-wrap-narrow {
        margin-top: 2rem;
        margin-left: auto;
    }
}
