﻿/*Gallery*/
div.ImageGallery
{
    padding-bottom: 4% !important;
    min-height: 300px;
}

@media (max-width: 1199px), (max-device-width: 1199px)
{
    div.ImageGalleryDivLeft
    {
        width: 45% !important;
        margin-left: 3% !important;
    }
    /*Four Images*/
    div.ImageGallerylvItem
    {
        width: 23% !important;
    }

    div.ImageGallerylvItemDocument
    {
        width: 23% !important;
    }
}

@media (max-width: 980px), (max-device-width: 980px)
{
    div.ImageGalleryDivLeft
    {
        width: 55% !important;
        margin-left: 0 !important;
    }
}

@media (max-width: 991px), (max-device-width: 991px)
{
    img.DetailsImage
    {
        width: auto !important;
    }
    div.ImageGalleryDownloadDiv
    {
        margin-left: 0 !important;
        width: 100% !important;
    }
    div.ImageGalleryViewDiv
    {
        margin-left: 0 !important;
        width: 100% !important;
    }
    a.ImageGalleryView
    {
        margin-left: 0 !important;
    }
    a.ImageGalleryDownload
    {
        margin-left: 0 !important;
    }
    div.DropDown
    {
        margin-bottom: 1%;
    }
    div.ImageGallerylvItem
    {
        height: 246px !important;
    }
    div.ImageGallerylvItemDocument
    {
        height: 246px !important;
    }
    span.ImageGalleryFilename
    {
        height: 52px;
    }
    div.ImageGallerylvDocument span.ImageGalleryDocument
    {
        font-size: 6em !important;
    }
}

@media (max-width: 974px), (max-device-width: 974px)
{
}

@media (max-width: 767px), (max-device-width: 767px)
{
    /*Three Images*/
    div.ImageGallerylvItem
    {
        width: 31% !important;
    }
    div.ImageGallerylvItemDocument
    {
        width: 31% !important;
    }

    div.Search
    {
        margin-bottom: 1%;
    }
}

@media (max-width: 545px), (max-device-width: 545px)
{
    /*Two Images*/
    div.ImageGallerylvItem
    {
        width: 48% !important;
        height: 200px !important;
    }
    div.ImageGallerylvItemDocument
    {
        width: 48% !important;
    }
    img.GalleryImage
    {
        max-height: 100px;
    }
    div.ImageGallerylvImage
    {
        height: auto !important;
    }
    div.ImageGallerylvImage a
    {
        height: auto !important;
    }
    img.GalleryImage
    {
        position: inherit !important;
        top: 0 !important;
        left: 0 !important;
        margin-right: auto !important;
        transform: none !important;
    }
}

@media (max-width: 500px), (max-device-width: 500px)
{
    div.ImageGalleryDivLeft
    {
        width: 90% !important;
    }
    div.ImageGalleryDivRight
    {
        width: 100% !important;
    }

    div.Search
    {
        width: 95% !important;
    }
}

button.Filter
{
    background: #36332c;
    background: -moz-linear-gradient(top, #36332c 0%, #252420 99%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#36332c), color-stop(99%,#252420));
    background: -webkit-linear-gradient(top, #36332c 0%,#252420 99%);
    background: -o-linear-gradient(top, #36332c 0%,#252420 99%);
    background: -ms-linear-gradient(top, #36332c 0%,#252420 99%);
    background: linear-gradient(to bottom, #36332c 0%,#252420 99%);
    color: white;
}

.Filter:hover, .Filter:focus, .Filter.focus
{
    color: white !important;
}

a.Clear
{
    background: #D61A01;
    background: -moz-linear-gradient(top, #D61A01 0%, #830A00 99%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#D61A01), color-stop(99%,#830A00));
    background: -webkit-linear-gradient(top, #D61A01 0%,#830A00 99%);
    background: -o-linear-gradient(top, #D61A01 0%,#830A00 99%);
    background: -ms-linear-gradient(top, #D61A01 0%,#830A00 99%);
    background: linear-gradient(to bottom, #D61A01 0%,#830A00 99%);
    color: white !important;
    text-decoration: none !important;
}

.dropdown-menu>li>a
{
    text-decoration: none !important;
}

div.ImageGalleryDownloadDiv
{
    float: left;
    display: block;
    margin-left: 5%;
}

div.ImageGalleryDownloadDivDocument
    {
        margin-left: 0 !important;
        width: 100% !important;
    }

div.ImageGalleryViewDiv
{
    float: left;
    display: block;
}

nav.Pager
{
    text-align: right;
    margin-right: 1%;
}

div.Search
{
    width: 215px;
    float: left;
    margin-right: 10px;
}

div.Search input[type=text]
{
    border-radius: 4px !important;
    border-bottom-right-radius: 0 !important;
    border-top-right-radius: 0 !important;
}

div.DropDown
{
    float: left;
    margin-right: 10px;
}

div.ImageGallerySearchDiv
{
    position: relative;
    padding: 2%;
}

div.ImageGallerySearchDiv .SearchText
{
    position:absolute;
    left:0px;
    top:28px;
}

div.ImageGallerySearchDiv input.SearchTextbox
{
    width: 215px;
    height:14px;
    position:absolute;
	left:60px;
    top:32px;
}

div.ImageGallerySearchDiv input.SearchSubmit
{
    width:64px;
    height:19px;
    position:absolute;
    left:281px;
    top:30px;
}

div.ImageGallerySearchDiv span.SearchCategoryText
{
    position:absolute;
    left:369px;
    top:28px;
}

div.ImageGallerySearchDiv select.SearchCategory
{
    width: 215px;
    height:20px;
    position:absolute;
    left:432px;
    top:28px;
}

.ImageGallerySearchDiv .SearchTagText
{
    position:absolute;
		left:28px;
    top:56px;
}

.ImageGallerySearchDiv .imageGalleryTagFilterInput
{
    width: 215px;
    height:14px;
    position:absolute;
	left:60px;
    top:60px;
}

.ImageGallerySearchDiv input.SearchTagSubmit
{
    width:64px;
    height:19px;
    position:absolute;
    left:281px;
    top:58px;
}

div.ImageGallerySearchDiv span.SortByText
{
    position:absolute;
    left:660px;
    top:28px;
}

div.ImageGallerySearchDiv select.SortBy
{
    width: 215px;
    height:20px;
    position:absolute;
    left:712px;
    top:28px;
}

div.GalleryTopBar
{
    height: 25px;
    line-height: 25px;
    font-size: 15px;
    font-weight: bold;
    text-transform: uppercase;
    background: url("/DesktopModules/ImageGallery/images/search_tan_bg.png");
}

div.Pager
{
    float: right;
    margin-right: 5px;
}


.pagination>.active>a, .pagination>.active>span
{
    border-color: #CFCFCF !important;
    background: #CFCFCF !important;
    background: -moz-linear-gradient(top, #CFCFCF 0%, #979797 99%) !important;
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#CFCFCF), color-stop(99%,#979797)) !important;
    background: -webkit-linear-gradient(top, #CFCFCF 0%,#979797 99%) !important;
    background: -o-linear-gradient(top, #CFCFCF 0%,#979797 99%) !important;
    background: -ms-linear-gradient(top, #CFCFCF 0%,#979797 99%) !important;
    background: linear-gradient(to bottom, #CFCFCF 0%,#979797 99%) !important;
    color: white !important;
}

.pagination>li>a, .pagination>li>span
{
    background: none repeat scroll 0 0 #FFFFFF !important;
    color: black !important;
}

a.ClearSearch
{
    color: #990000; display: block;
}

span.SearchResult
{
    padding-left:4px;
}

div.ImageGalleryImagesContainer
{
}

div.ImageGallerylvItem
{
    float: left;
    list-style: none outside none;
    margin: 0 1% 20px 1%;
    width: 18%;
    height: 220px;
    padding: 4px 0px;
}

div.ImageGallerylvItemDocument
{
    float: left;
    list-style: none outside none;
    margin: 0 1% 20px 1%;
    width: 18%;
    height: 220px;
    padding: 4px 0px;
}

div.ImageGallerylvImage
{
    overflow: hidden;
    width: 100%;
    padding: 4px;
    height: 151px;
}

div.ImageGallerylvImage a
{
    display: block;
    position: relative;
    height: 150px;
}

img.GalleryImage
{
    border-color: #999999;
    border-width: 1px;
    border-style: solid;
    margin: 0 auto;
        max-width: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%);
}

div.ImageGallerylvCommand
{
    padding: 10px 0px;
    text-align: center;
}

div.ImageGallerylvCommand a
{
    color:Black !important;
    text-decoration:none !important;
}

a.ImageGalleryDownload
{
    color: #000000;
    height: 26px;
    line-height: 26px;
    text-decoration: none;
    margin-left: 10px;
}

a.ImageGalleryView
{
    color: #000000;
    height: 20px;
    line-height: 24px;
    text-decoration: none;
    margin-left: 20px;
}

span.ImageGalleryEmailBack
{
}

div.ImageGallerylvDocument
{
    overflow: hidden;
    width: 100%;
    padding: 4px;
    text-align: center;
    margin: 20px 0px;
    text-align: center;
}

div.ImageGallerylvDocument span.ImageGalleryDocument
{
    margin-left: 0px !important;
    font-size: 6.8em !important;
}

/*Details*/
@media (max-width: 991px), (max-device-width: 991px)
{
    div.ImageDetailsDivLeft
    {
        float: none !important;
        width: 100% !important;
    }

    div.ImageDetailsDivRight
    {
        float: none !important;
        width: 100% !important;
        margin-top: 10px;
    }

    div.ImageImg
    {
        margin-bottom: 20px;
    }
}
@media (max-width: 600px), (max-device-width: 600px)
{
    span.SpanFilename
    {
        width: 100% !important;
    }

    span.SpanAuthor
    {
        width: 100% !important;
    }
}

div.ImageDiv
{
    list-style: none outside none;
    padding:0px 12px 35px 12px;
    position: relative;
    min-height: 350px;
}

div.ImageDetailsDivLeft
{
    width: 48%;
    float: left;
    padding-top: 15px;
}

div.ImageImg
{
    float: left;
    text-align: center;
    width: 100%;
}

img.DetailsImage
{
    max-width: 100%;
}

span.SpanFilename
{
    float: left;
    font-weight: bold;
    padding-top: 2px;
}

span.SpanAuthor
{
    float: right;
    font-weight: bold;
    padding-top: 2px;
}

div.DetailsRelated
{
    float: left; margin-left: 18px; padding-left: 15px; padding-top: 25px;
}

span.SpanRelated
{
    font-weight: bold;
    font-size: 20px;
}

ul.DetailsRelatedList
{
    padding-left: 15px; font-weight: bold; color: #036; text-decoration: none;
}

div.ImageDetailsDivRight
{
    width: 48%;
    float: right;
    padding-top: 15px;
}

div.ImageInfo
{
    float: right;
    margin-right: 2%;
    padding-top: 5px;
    width: 100%;
}

span.SpanDate
{
    float: left;
    font-weight: bold;
    font-size: 14px;
}

a.DetailsDownload
{
    text-decoration: none !important;
    color: #9a2d2c !important;
}

a.BackToGallery
{
    float: right
}

.DetailsComment
{
    font-style: italic;
    font-size: 11px;
}

/*Pager*/
div.PagerDiv
{
    float: right;
    margin-right: 5px;
}

span.NumericSpan
{
    padding-left: 5px;
    padding-right: 5px;
    line-height: 27px;
}

a.SelectedPage
{
    text-decoration: none !important;
    color: #FFFFFF !important;
    font-size: 15px;
}

a.Page
{
    text-decoration: none !important;
    color: #808080 !important;
    font-size: 15px;
}

a.PagerNext
{
    display: block;
    float: right;
    margin-left: 3px;
    /*margin-top: 6px;*/
}

a.PagerPrev
{
    display: block;
    float: left;
    margin-right: 3px;
    /*margin-top: 6px;*/
}