﻿/*Gallery*/
img.AF2DetailsImage { max-height: 820px; max-width: 100%; }
span.AF2GalleryImage { background-position: center center; background-size: cover; display: block; padding-top: 80% }
.AF2TopLeft { float: left; width: 75%; }
.AF2TopRight { float: right; width: 25%; }
.AF2ShareLinks { float: right; }
.AF2BottomLeft { float: left; width: 75%; }
.AF2BottomRight { float: right; text-align: right; width: 25%; }
.AF2ImageGalleryDownloadDiv { float: left; display: block; margin-left: 5%; }
.AF2ImageGalleryDownloadDivDocument { margin-left: 0 !important; width: 100% !important; }
.AF2ImageGalleryViewDiv { float: left; display: block; }
nav.AF2Pager { margin-top: 0; text-align: center; margin-bottom: 50px; }
span.PagerArrows { font-size: 18px; line-height: 20px !important; }
span.PagerArrowsActive { font-size: 18px; line-height: 19px !important; }
.AF2Search { width: 215px; float: left; margin-right: 10px; }
.AF2Search input[type=text] { border-radius: 4px !important; border-bottom-right-radius: 0 !important; border-top-right-radius: 0 !important; }
.AF2DropDown { float: left; margin-right: 10px; }
.AF2ImageGallerySearchDiv { position: relative; padding-top: 14px; padding-bottom: 25px; }
.AF2ImageGallerySearchDiv .AF2SearchText { position: absolute; left: 0px; top: 28px; }
.AF2ImageGallerySearchDiv input.AF2SearchTextbox { width: 215px; height: 14px; position: absolute; left: 60px; top: 32px; }
.AF2ImageGallerySearchDiv input.AF2SearchSubmit { width: 64px; height: 19px; position: absolute; left: 281px; top: 30px; }
.AF2ImageGallerySearchDiv span.AF2SearchCategoryText { position: absolute; left: 369px; top: 28px; }
.AF2ImageGallerySearchDiv select.AF2SearchCategory { width: 215px; height: 20px; position: absolute; left: 432px; top: 28px; }
.AF2ImageGallerySearchDiv .AF2SearchTagText { position: absolute; left: 28px; top: 56px; }
.AF2ImageGallerySearchDiv .imageGalleryTagFilterInput { width: 215px; height: 14px; position: absolute; left: 60px; top: 60px; }
.AF2ImageGallerySearchDiv input.AF2SearchTagSubmit { width: 64px; height: 19px; position: absolute; left: 281px; top: 58px; }
.AF2ImageGallerySearchDiv span.AF2SortByText { position: absolute; left: 660px; top: 28px; }
.AF2ImageGallerySearchDiv select.AF2SortBy { width: 215px; height: 20px; position: absolute; left: 712px; top: 28px; }
a.AF2ClearSearch { color: #990000; display: block; }
span.AF2SearchResult { padding-left: 4px; }
#spanSearchResults { margin-left: 10px; }
.AF2ImageGalleryImagesContainer {display:flex;flex-wrap:wrap; flex:1;}
.AF2ImageGallerylvItem { width:20%; padding: 10px;min-width:200px;}
.AF2ImageGallerylvImage a { display: block; }
.AF2ImageGallerylvItem h2{font-size:20px;}
img.AF2GalleryImage { margin: 0 auto; }
.AF2ImageGallerylvCommand { padding: 10px 0px; text-align: center; }
.AF2ImageGallerylvCommand a { color: Black !important; text-decoration: none !important; }
a.AF2ImageGalleryDownload { color: #000000; height: 26px; line-height: 26px; text-decoration: none; margin-left: 10px; }
a.AF2ImageGalleryView { color: #000000; height: 20px; line-height: 24px; text-decoration: none; margin-left: 20px; }
span.AF2ImageGalleryEmailBack { color: #000000; display: block; /*height: 21px;*/ line-height: 26px; /*padding-left: 25px;*/ padding-top: 5px; text-decoration: none; }
.AF2ImageGallerylvDocument { overflow: hidden; width: 100%; padding: 4px; text-align: center; margin: 20px 0px; text-align: center; }
.AF2ImageGallerylvDocument span.ImageGalleryDocument { margin-left: 0px !important; font-size: 6.8em !important; }

/*Details*/
.AF2ImageDiv { list-style: none outside none; margin-top: 5px; margin-bottom: 60px; padding-bottom: 40px; position: relative; min-height: 350px; }
.AF2ImageGalleryDivLeft { width: 45%; margin-left: 10%; float: left; padding-top: 15px; }
.AF2ImageImg { text-align: center; margin-bottom: 20px; }
span.AF2DetailsImage { border-color: #999999; border-width: 1px; border-style: solid; background-position: center center; height: 632px; background-size: cover; display: block; }
span.AF2SpanFilename { padding-top: 2px; font-size: 14px; }
span.AF2SpanAuthor { /*font-weight: bold;*/ /*padding-top: 2px;*/ font-size: 11.5px; color: #333333; }
.AF2ImageSocialLinks { color: #333333; }
.AF2SpanDescriptionAuthor { padding-top: 2px; font-size: 13px; font-style: italic; }
.AF2LeftPaneIcon { margin-bottom: 10px; padding-left: 0; font-size: 1em; color: #666; float: left; width: 15px; }
.AF2LeftPaneItem { margin-bottom: 10px; padding-left: 0; font-size: 1em; color: #666; margin-left: 20px; }
.AF2LeftPaneItemLast { margin-bottom: 0; }
.AF2ImageGalleryDivLeft h1 { font-style: italic; }
.AF2DetailsTitle { /*font-style: italic;*/ font-family: "Helvetica Neue",Helvetica,Arial,"Lucida Grande",sans-serif; font-size: 1.8em; font-weight: bold; margin-bottom: 10px; color: #444; }
hr.AF2DetailsHR { margin-top: 0; margin-bottom: 0; height: 1px; color: #848484; }
.AF2DetailsHRContainer { padding: 30px 0; }
.AF2DetailsCaption { font-size: 1.2em; color: #444; }
.fa-download, .fa-camera, .fa-tags { color: #666666 !important; }
span.AF2SpanRelated { font-size: 20px; font-weight: bold; color: #555555; }
ul.AF2DetailsRelatedList { font-size: 16px; text-decoration: none; color: #333333; list-style-type: circle !important; }
ul.AF2DetailsRelatedList li { margin-top: 10px; list-style-type: circle !important; }
ul.AF2DetailsRelatedList li a { font-size: 13px; text-decoration: none; color: #555555; }
.AF2ImageGalleryDivRight { width: 40%; float: right; padding-top: 15px; }
.AF2ImageInfo { margin-right: 2%; padding-top: 5px; width: 445px; }
span.AF2SpanDate { font-weight: bold; font-size: 14px; }
a.AF2DetailsDownload { text-decoration: none !important; color: #007db7 !important; font-size: 14px;}
a.AF2DetailsDownload span.ImgSize { font-size: 1em; }
span.AF2DetailsTagsTitle { font-size: 11.5px !important; color: #333333; }
.AF2ImageTitle { padding-bottom: 25px; padding-left: 0 !important; padding-right: 0 !important; }
span.AF2DetailsTagsBody a { color: #007db7 !important; font-size: 1em; }
span.DetailsBottom { font-weight: bold; color: #444; font-size: 1em; }
.at-share-btn-elements a { margin: 0 8px 5px !important; }
a.AF2DetailsDownload {  }
a.AF2DetailsDownload:hover { color: #B41019 !important; }
img.AF2BackToGalleryImg { margin-bottom: 3px; }
a.AF2BackToGallery { width: 160px; height: 45px; font-size: 1.2em; padding-top: 10px; }

/*Pager*/
.AF2PagerDiv { float: right; margin-right: 5px; }
span.AF2NumericSpan { padding-left: 5px; padding-right: 5px; line-height: 27px; }
a.AF2SelectedPage { text-decoration: none !important; color: #FFFFFF !important; font-size: 15px; }
a.AF2Page { text-decoration: none !important; color: #808080 !important; font-size: 15px; }
a.AF2PagerNext { display: block; float: right; margin-left: 3px; /*margin-top: 6px;*/ }
a.AF2PagerPrev { display: block; float: left; margin-right: 3px; /*margin-top: 6px;*/ }

.dropdown-menu>li>a{cursor:pointer;}


@media (max-width: 1199px), (max-device-width: 1199px) {
  .AF2ImageGalleryDivLeft { width: 45% !important; margin-left: 3% !important; }
  .AF2ImageGallerylvItem{width:25%;}
}

@media (max-width: 980px), (max-device-width: 980px) {
  .AF2ImageGalleryDivLeft { width: 55% !important; margin-left: 0 !important; }
  
}

@media (max-width: 991px), (max-device-width: 991px) {
  .AF2ImageGalleryDownloadDiv { margin-left: 0 !important; width: 100% !important; }
  .AF2ImageGalleryViewDiv { margin-left: 0 !important; width: 100% !important; }
  a.AF2ImageGalleryView { margin-left: 0 !important; }
  a.AF2ImageGalleryDownload { margin-left: 0 !important; }
  .AF2DropDown { margin-bottom: 1%; }
  span.AF2ImageGalleryFilename { height: 52px; }
  .AF2ImageGallerylvDocument span.ImageGalleryDocument { font-size: 6em !important; }
  .AF2BottomLeft { float: none !important; width: 100% !important; }
  .AF2BottomRight { float: none !important; text-align: center !important; margin-top: 30px; width: 100% !important; }
  .AF2ImageGallerylvItem{width:33.33%;}
}

@media (max-width: 767px), (max-device-width: 767px) {
  /*Two Images*/
  .AF2ImageGallerylvItem { width: 50%; }

  .AF2ImageGallerySearchDiv { }
  .AF2ImageGalleryImagesContainer { margin-right: 0px !important; }
  .AF2TopLeft { float: none !important; width: auto !important; }

  .AF2TopRight { float: none !important; width: auto !important; margin: auto; margin-bottom: 20px; text-align: center; }
  .AF2ShareLinks { float: none !important; }

  .AF2Search { margin-bottom: 1%; }

  img.AF2DetailsImage { width: 100% !important; max-height: none !important; }
}

@media (max-width: 500px), (max-device-width: 500px) {
  .AF2ImageGallerylvItem { width: 100%; }
  .AF2ImageGalleryDivLeft { width: 90% !important; }
  .AF2ImageGalleryDivRight { width: 100% !important; }
  .AF2Search { width: 95% !important; }
}
