/* -------------------------------------------------------------------------- */ /* -----| GALLERY LIST |----------------------------------------------------- */ /* -------------------------------------------------------------------------- */
#galleryList {
  margin: 0 auto;
  padding: 0 4px;
  text-align: center;
}
#galleryList li {
  display: inline-block;
  list-style: none;
  margin: 5px 6px;
  padding: 0;
  vertical-align: top;
  float: none;
}
#galleryList li a {
  background-color: #fff; /* border: 1px solid #CCC; */
  display: block;
  padding: 4px;
}
#galleryList li a:hover {
  border-color: #999;
}
#galleryList li a img {
  border: none;
  border-radius: 10px !important;
} /* -------------------------------------------------------------------------- */ /* -----| GALLERY FOOTER |--------------------------------------------------- */ /* -------------------------------------------------------------------------- */
#galleryFooter {
  /* border-top: 1px solid #CCC; */
  margin-top: 10px;
  padding: 3px;
  text-align: center;
  overflow: hidden;
}
#credit {
  float: right;
  font-size: 0.9em;
  margin: 4px 0;
}
#galleryFooter #credit a {
  color: #369;
} 
/* -------------------------------------------------------------------------- */ 
/* ----| PAGINATION - CENTERED |-------------------------------------------- */ 
/* -------------------------------------------------------------------------- */
/*==================================================
                MODERN PAGINATION
==================================================*/

#galleryPagination{
    margin:40px 0 10px;
    padding:0;
    text-align:center;
    display:flex;
    justify-content:center;
    align-items:center;
    gap:10px;
    flex-wrap:wrap;
}

#galleryPagination li{
    list-style:none;
    margin:0;
    padding:0;
    border:none;
}

#galleryPagination li a,
#galleryPagination li.current,
#galleryPagination li.inactive{

    min-width:46px;
    height:46px;

    display:flex;
    justify-content:center;
    align-items:center;

    padding:0 18px;

    border-radius:50px;

    font-size:15px;
    font-weight:600;

    text-decoration:none;

    transition:.35s ease;

    box-shadow:0 5px 15px rgba(0,0,0,.08);
}


/* Normal Button */

#galleryPagination li a{

    background:#ffffff;
    color:#444;
    border:1px solid #e6e6e6;
}


/* Hover */

#galleryPagination li a:hover{

    background:linear-gradient(135deg,#f22066,#ED145B);
    color:#fff;
    transform:translateY(-3px);
    box-shadow:0 12px 25px rgba(255,136,0,.35);
}


/* Active */

#galleryPagination li.current{

    background:linear-gradient(135deg,#f22066,#ED145B);
    color:#fff;
    border:none;
    cursor:default;
}


/* Disabled */

#galleryPagination li.inactive{

    background:#f5f5f5;
    color:#bcbcbc;
    border:1px solid #ececec;
    cursor:not-allowed;
}


/* Hide "Page" Text */

#galleryPagination li.title{
    display:none;
}
/* -------------------------------------------------------------------------- */
 /* ----| MISCELLANEOUS |--------------------------------------------------- */
  /* -------------------------------------------------------------------------- */ 
  /* --- CLEAR FIX --- */
.clearfix:after {
  visibility: hidden;
  display: block;
  font-size: 0;
  content: " ";
  clear: both;
  height: 0;
}
* html .clearfix {
  zoom: 1; /* IE6 */
}
*:first-child + html .clearfix {
  zoom: 1; /* IE7 */
} /** * UberGallery.css created and implimented by, * Chris Kankiewicz -- http://www.ChrisKankiewicz.com */
/* Desktop - 4 Columns */


/* Desktop */


#galleryList li{
    
    width:calc(20% - 10px);
}
#galleryList{
        display:flex;
        flex-wrap:wrap;
        gap:4px;
        justify-content:center;}

   

    #galleryList li a{
        display:block;
        padding:0;
        background:#fff;
        border-radius:10px;
        overflow:hidden;
        height:auto;          /* Remove fixed height */
    }

    #galleryList li a img{
        width:100%;
        height:auto;          /* Original image height */
        display:block;
        object-fit:unset;     /* No stretching */
        border-radius:10px;
    }

/* Tablet */
@media (max-width:991px){

    #galleryList li{
        width:calc(31.333% - 7px) !important;
    }
   #galleryList{
        display:flex;
        flex-wrap:wrap;
        gap:4px;
        justify-content:center;}

   

    #galleryList li a{
        display:block;
        padding:0;
        background:#fff;
        border-radius:10px;
        overflow:hidden;
        height:auto;          /* Remove fixed height */
    }

    #galleryList li a img{
        width:100%;
        height:auto;          /* Original image height */
        display:block;
        object-fit:unset;     /* No stretching */
        border-radius:10px;
    }
    #galleryPagination li a, #galleryPagination li.current, #galleryPagination li.inactive {
    min-width: 35px;
    height: 38px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 15px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: .35s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, .08);
}
 #galleryPagination {
    margin: 0px 0 10px !important;
   
}   
}

/* Mobile Only */
@media screen and (max-width:427px){

    #galleryList{
        display:flex;
        flex-wrap:wrap;
        gap:4px;
        justify-content:center;}

    #galleryList li{
        width:calc(47.333% - 7px) !important;
    }

    #galleryList li a{
        display:block;
        padding:0;
        background:#fff;
        border-radius:10px;
        overflow:hidden;
        height:auto;          /* Remove fixed height */
    }

    #galleryList li a img{
        width:100%;
        height:auto;          /* Original image height */
        display:block;
        object-fit:unset;     /* No stretching */
        border-radius:10px;
    }

    #galleryPagination li a, #galleryPagination li.current, #galleryPagination li.inactive {
    min-width: 35px;
    height: 38px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 15px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: .35s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, .08);
}
#galleryPagination {
    margin: 0px 0 10px !important;
   
}
}