﻿@import url(../Polished/StyleSheet.css);

.browse-homepage .panel {background:#e9e9e9; border:none;}
.DI_FeatureList {line-height:36px;}

.listingdisplaypanel .listingimage img {padding: 0; margin:auto; position: relative; right: 0px;}

/* directory browse map/list view icons */
.maplistlink {color:#fff; font-family:Arial; padding:0 5px 0 10px; font-size:16px; position:relative; bottom:2px;}
.maplisticon {background:#4DB2F7; padding:5px; color:#fff; width:auto; border-radius:2px; position:relative; top:28px; left:15px; margin-bottom:40px;}
.maplisticon .glyphicon {color:#fff; font-size:16px; padding-top:4px; padding-left:5px;}

.gallerypanel  {padding:0 5px;}
@media (max-width: 767px) {
    /* Home page thumbnail page styles */
    .gallery-wrapper {padding:0; background:#fff;}
    .gallery-homepage {max-width:1200px; margin:0 auto; float:none;}
    .gallery-homepage #PhotoGalleryHeading {color:#222; background:#f1f3f7; border:1px solid #e5EeF0; padding:10px 10px; font-size:22px; margin:0 5px;}
    .gallery-homepage .mgphotogallery {margin:0 auto; text-align:center; padding:15px; font-weight:bold; background:#fff; border:1px solid #e5EeF0; height:auto; margin-bottom:10px;}
    .gallery-homepage .mgphotogallery img {margin:0 auto; margin-bottom:10px; max-height:240px;}
    .gallery-homepage .mgphotogallery a {display:block; line-height:26px; color:#222;  font-size:16px;}

    /* photo gallery display page */
    .gallery-description {padding-top:20px;}

     .photogallerysubmit .btn  {width:100%; margin:10px 0 20px 0;}

    /* PhotoGallery.aspx page styles */
    .gallerydisplay .mgphotogallery {margin:0 auto; text-align:center; padding:15px; font-weight:bold; background:#fff; border:1px solid #e5EeF0; height:auto; margin-bottom:10px;}
    .gallerydisplay .mgphotogallery img {margin:0 auto; margin-bottom:10px; max-height:240px;}
    .gallerydisplay .mgphotogallery a {display:block; color:#222;}
    .gallerysubmitform .btn {width:100%;}
}
@media (min-width: 768px) and (max-width: 991.98px) {
    /* Home page thumbnail page styles */
    .gallery-wrapper {padding:0; background:#fff;}
    .gallery-homepage {max-width:1200px; margin:0 auto; float:none;}
    .gallery-homepage #PhotoGalleryHeading {color:#222; background:#f1f3f7; border:1px solid #e5EeF0; padding:10px 10px; font-size:22px; margin:0 5px;}
    .gallery-homepage .mgphotogallery {width:31%; margin:0 4px; text-align:center; padding:10px; font-weight:bold; background:#fff; border:1px solid #e5EeF0; min-height:300px;}
    .gallery-homepage .mgphotogallery img {margin:0 auto; margin-bottom:10px; max-height:240px;}
    .gallery-homepage .mgphotogallery a {display:block; line-height:24px; color:#222; font-size:16px;}

    /* photo gallery display page */
    .gallery-description {padding-top:20px;}

     .photogallerysubmit .btn  {display:block; float:left;}

    /* PhotoGallery.aspx page styles */
    .gallerydisplay .mgphotogallery {width:31%; margin:0 auto; text-align:center; padding:5px; font-weight:bold; background:#fff; border:1px solid #e5EeF0; margin:0 5px; margin-bottom:10px; min-height:300px;}
    .gallerydisplay .mgphotogallery img {margin:0 auto; margin-bottom:10px; max-height:240px;}
    .gallerydisplay .mgphotogallery a {display:block; color:#222;}
    .gallerysubmitform .btn {width:100%;}
}
@media (min-width: 992px) and (max-width: 1199.98px) {
    /* Home page thumbnail page styles */
    .gallery-wrapper {padding:0; background:#fff; margin-top:30px;}
    .gallery-homepage {max-width:1200px; margin:0 auto; float:none; padding:0 0 0 10px;}
    .gallery-homepage #PhotoGalleryHeading {color:#222; background:#f1f3f7; border:1px solid #e5EeF0; padding:10px 10px; font-size:22px; margin:0 5px;}
    .gallery-homepage .mgphotogallery {width:31%; margin:5px 8px; text-align:center; padding:10px; font-weight:bold; background:#fff; border:1px solid #e5EeF0; min-height:335px;}
    .gallery-homepage .imagediv {height:190px; overflow:hidden; margin-bottom:10px;}
    .gallery-homepage .mgphotogallery img {margin:0 auto; margin-bottom:15px; object-fit:cover; transition: all .2s ease-out!important; width:255px; height:190px;}
    .gallery-homepage .mgphotogallery img:hover {margin:0 auto; object-fit:cover; transform: scale(1.1); width:255px; height:190px;}
    .gallery-homepage .mgphotogallery a {display:block; color:#222;}

    /* photo gallery display page */
    .gallery-description {padding-top:20px;}

    .photogallerysubmit .btn  {float:right; position:relative; top:25px; right:10px;}

    /* PhotoGallery.aspx page styles */
    .gallerydisplay .mgphotogallery {width:31%; margin:0 auto; text-align:center; padding:5px; font-weight:bold; background:#fff; border:1px solid #e5EeF0; margin:5px 7px; margin-bottom:10px; min-height:280px;}
    .gallerydisplay .imagediv {height:150px; overflow:hidden; margin-bottom:5px;}
    .gallerydisplay .mgphotogallery img {margin:0 auto; margin-bottom:10px; max-height:150px; object-fit:cover; transition: all .2s ease-out!important;}
    .gallerydisplay .mgphotogallery img:hover {margin:0 auto; margin-bottom:10px; max-height:150px; object-fit:cover; transform: scale(1.1);}
    .gallerydisplay .mgphotogallery a {display:block; color:#222;}
    .gallerysubmitform .btn {width:100%;}
}
@media (min-width: 1200px) {
    /* Home page thumbnail page styles */
    .gallery-wrapper {padding:0; background:#fff; margin-top:30px;}
    .gallery-homepage {max-width:1200px; margin:0 auto; float:none; padding:0 0 0 10px;}
    .gallery-homepage #PhotoGalleryHeading {color:#222; background:#f1f3f7; border:1px solid #e5EeF0; padding:10px 10px; font-size:22px; margin:0 5px;}
    .gallery-homepage .mgphotogallery {width:32%; margin:0 5px; text-align:center; padding:10px; font-weight:bold; background:#fff; border:1px solid #e5EeF0; min-height:300px;}
    .gallery-homepage .imagediv {height:190px; overflow:hidden; margin-bottom:10px;}
    .gallery-homepage .mgphotogallery img {margin:0 auto; margin-bottom:15px; object-fit:cover; transition: all .2s ease-out!important; width:255px; height:190px;}
    .gallery-homepage .mgphotogallery img:hover {margin:0 auto; object-fit:cover; transform: scale(1.1); width:255px; height:190px;}
    .gallery-homepage .mgphotogallery a {display:block; color:#222;}

    /* photo gallery display page */
    .gallery-description {padding-top:20px;}

    .photogallerysubmit .btn  {float:right; position:relative; top:25px; right:10px;}

    /* PhotoGallery.aspx page styles */
    .gallerydisplay .mgphotogallery {width:32%; margin:0 auto; text-align:center; padding:5px; font-weight:bold; background:#fff; border:1px solid #e5EeF0; margin:0 5px; margin-bottom:10px; min-height:300px;}
    .gallerydisplay .imagediv {height:170px; overflow:hidden; margin-bottom:10px;}
    .gallerydisplay .mgphotogallery img {margin:0 auto; margin-bottom:10px; max-height:170px; object-fit:cover; transition: all .2s ease-out!important;}
    .gallerydisplay .mgphotogallery img:hover {margin:0 auto; margin-bottom:10px; max-height:170px; object-fit:cover; transform: scale(1.1);}
    .gallerydisplay .mgphotogallery a {display:block; color:#222;}
    .gallerysubmitform .btn {width:100%;}
}

  .mgphotogallery a:link, .mgphotogallery a:visited {color:#222; text-decoration:none;}
  .mgphotogallery a:active, .mgphotogallery a:hover {color:#555; text-decoration:underline;}

