
section[data-module="az-gallery"] {

}


section[data-module="az-gallery"] .grid{
	margin: auto;
}

section[data-module="az-gallery"] .grid-item {
	display: inline-block;
	height: 240px;
	overflow: hidden;
	text-align: center;
	width: 32%;
	margin: 5px;
}

    section[data-module="az-gallery"] .grid-item img{
        width:100%;
        height:auto;
        filter: url(filters.svg#grayscale);
        filter: gray;
        -webkit-filter: grayscale(1);
        transition: 0.9s;
    }
    section[data-module="az-gallery"] .grid-item img:hover{
        filter: none;
    }
    
    section[data-module="az-gallery"] .isotope-pager .pager {
      display: inline-block;
    }

    section[data-module="az-gallery"] .filters {
        width: 100%;
        text-align: center;
        padding-bottom: 35px;
        padding: 10px;
        margin: 0;
    }
    
    section[data-module="az-gallery"] .filters ul {
        list-style: none;
        padding: 0;
        /* box-shadow: -1px 1px 11px rgba(0,0,0,.4); */
        margin: 0;
        /* border-radius: 30px; */
        /* background-color: #232323; */
    }
    
    section[data-module="az-gallery"] .filters li {
	display: inline-block;
	padding: 5px 15px;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	background-color: #ccc;
    transition: 0.3s;
    }

section[data-module="az-gallery"] .filters li.active, section[data-module="az-gallery"] .filters li:hover {
	background-color: #000;
	color: #fff;
    transition: 0.3s;
}

    section[data-module="az-gallery"] .filters li a{
        color: #000;
        text-decoration: none;
    }
    section[data-module="az-gallery"] .filters li a.active, section[data-module="az-gallery"] .filters li a:hover{
        color: #fff;
    }
    
    
    section[data-module="az-gallery"] .filters li.active a {
        color: #e3ca66;
        /* border: 1px solid #e3ca66; */
        /* border-radius: 15px; */
        /* box-shadow: -1px 1px 11px rgba(0,0,0,.4); */
        /* padding: 10px 25px; */
    }
    
    
    section[data-module="az-gallery"] .isotope-pager a {
        margin: 5px;
        display: inline-block;
        width: 30px;
        height: 30px;
        line-height: 32px;
        color: #fff;
        font-weight: 600;
        transition: 0.3s;
        /* position: relative; */
        /* padding-right: 26px; */
        box-shadow: -1px 1px 11px rgba(0,0,0,.1);
        border-radius: 50%;
        background-color: #232323;
        border: navajowhite;
        text-decoration: none;
        font-size: 16px;
        text-align: center;
    }
    
    section[data-module="az-gallery"] .isotope-pager a:hover {
        color: #fff;
        /* border: .5px solid #ffeeac; */
        /* box-shadow: -1px 1px 10px 3px rgba(0,0,0,.1); */
        background-color: brown;
    }
    
    section[data-module="az-gallery"] .isotope-pager .active {
        color: #e3ca66 !important;
        /* box-shadow: -1px 1px 10px 5px rgba(0,0,0,.1); */
        border-radius: 50%;
        background-color: brown;
        border: none;
    }
    
    section[data-module="az-gallery"] .isotope-pager .prev{
      border-radius: 30px 0 0 30px;
    }
    
    section[data-module="az-gallery"] .isotope-pager .next{
      border-radius: 0 30px 30px 0;
    }
    
    section[data-module="az-gallery"] .isotope-pager a::before,.isotope-pager a:after{
      content: "";
      position: absolute;
      border-top: 30px solid transparent;
      border-bottom: 30px solid transparent;
    }
    section[data-module="az-gallery"] .isotope-pager .num::before,.next::before{
      border-right: 20px solid #2c3e50;
      right: 100%;
    }
    
    section[data-module="az-gallery"] .isotope-pager .num:after,.prev:after{
      border-right: 20px solid #f1f1f1;
      right: 0;
    }
    
    
    section[data-module="az-gallery"] .overlay {
        position: absolute;
        bottom: 0;
        /* background: rgb(0, 0, 0); */
        background: rgba(0, 0, 0, 0.72);
        /* color: #f1f1f1; */
        width: 100%;
        transition: .5s ease;
        opacity: 0;
        color: white;
        font-size: 20px;
        padding: 20px;
        text-align: center;
        height: 100%;
        display: flex;
        /* flex-wrap: wrap; */
        justify-content: center;
        align-items: center;
    }
    
    section[data-module="az-gallery"] .grid-item:hover .overlay {
      opacity: 1;
    }

    section[data-module="az-gallery"] .main-filter {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        width: 100% !important;
    }

    section[data-module="az-gallery"] .bg-image{
        background-color: #cccccc;
        height: 300px; 
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover; 
    }


    section[data-module="az-gallery"] .isotope-pager {
        text-align: center;
        margin-top: 20px;
    }

    .admin-bar .mfp-wrap .mfp-close, .admin-bar .mfp-wrap .mfp-close:hover {
        top: 0 !important;
        right: 5px;
    }



@media only screen and (max-width: 1440px) and (min-width: 1200px) {

}

@media (min-width: 768px) and (max-width: 980px) {

}
@media (max-width: 480px) {

    section[data-module="az-gallery"] .grid-item {
        height: 130px;
        width: 45%;
        margin: 5px;
    }

    section[data-module="az-gallery"] .bg-image {
        height: 130px;
    }

    section[data-module="az-gallery"] .filter-scroll-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    section[data-module="az-gallery"] .filters {
        display: flex;
        flex-wrap: nowrap;
        gap: 10px;
        padding: 0;
        margin: 0;
        list-style: none;
    }
    
    section[data-module="az-gallery"] .filters li {
        white-space: nowrap;
        padding: 8px 16px;
        background: #f0f0f0;
        border-radius: 20px;
        cursor: pointer;
        flex: 0 0 auto;
        transition: background 0.3s;
    }
    
    section[data-module="az-gallery"] .filters li.active {
        background: #0073aa;
        color: #fff;
    }
    
 
}

