.custom_gallery_cont {
    height: 250px;
    overflow: hidden;
    text-align: center;
    margin: 6px auto;
    display: block;
    text-align: center;
    border: 1px solid #eaedea;
    position: relative;
}
.custom_overlaysec {
    width: 100%;
    height: 100%;
}

.custom_gallery_cont figure {
    margin: 0px auto;
    align-self: center;
    float: none !important;
}

.custom_gallery_cont img {
    /* height: 100%;
    width: auto !important; */
    max-height: 100%;
    max-width: 100%;
    width: auto;
    height: auto;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    float: none;
}
.custom_gallery_cont .expand_btn {
    width: 20px;
    height: 20px;
    position: absolute;
    margin: auto;
}

.gallerypage {
    /* float: none !important; */
    /* margin-top: auto !important;
    margin-bottom: 20px !important;
    margin-left: auto !important;
    margin-right: auto !important; */
}
.gallerypage .them_overlay img {
    float: left !important;
    /* margin: auto; */
}

.kode_blog_fig img {
    max-width: 242px;
}

@media (max-width: 767px) {
    .navigation {
        float: right !important;
        width: auto !important;
        padding: 0px 0px !important;
    }
    .toploginsection {
        margin: 7px 5px !important;
    }

    .mobileborder {
        border: 1px solid #ccc !important;
        padding: 35px 5px !important;
    }

    .kode_mosques_wrap,
    .kode_pray_text,
    .kode_services_wrap {
        padding: 2.5rem 0px !important;
    }
    .kode_team_wrap {
        padding: 2.5rem 0px 3.5rem !important;
    }
    .kode_pillars_wrap {
        padding: 2.5rem 0px 0px 0px !important;
    }
    .kode_gallery3_wrap {
        padding: 2.5rem 0px 4rem !important;
    }

    .kode_blog_fig img {
        max-width: 100% !important;
    }
    .top_logo {
        margin-bottom: 1px !important;
    }
    .kode_service_text {
        padding: 42px 13px 1px !important;
    }

    .breadcrumbs,
    .kode_sab_banner_wrap {
        display: none !important;
    }

    .sab_banner_text h2 {
        margin-bottom: 0px;
    }
    .kode_sab_banner_wrap {
        padding: 25px !important;
    }
}

@media (max-width: 480px) {
    .sab_banner_text h2 {
        font-size: 2rem !important;
    }
}

@media (max-width: 991px) {
    .kode_top_info li:nth-child(2) {
        display: block !important;
    }
}

/*.imgborder {
	  border:2px solid #fff;
      box-shadow: 10px 10px 5px #ccc;
      -moz-box-shadow: 10px 10px 5px #ccc;
      -webkit-box-shadow: 10px 10px 5px #ccc;
      -khtml-box-shadow: 10px 10px 5px #ccc;
}*/

.userlogin .dropdown-item {
    padding: 10px 1.5rem !important;
}

@media (max-width: 480px) {
    .kode_top_info .open > .dropdown-menu.userlogin {
        left: -0px;
    }
}

.dashboard_notice {
    color: #000;
    margin-bottom: 10px;
}

.dashboard_notice a {
    color: #0d0052;
}

.flashdiv {
    position: relative;
    margin: auto;
    width: 100%;
    padding: 15px;
    text-align: center;
    color: #fff;
    font-size: 20px;
    border: 2px solid #46a256;
    border-radius: 10px;
    background: #46a256;
    transition: all 0.3s;
    cursor: pointer;
}
.flashdiv:hover {
    filter: contrast(1.1);
}

.flashdiv:active {
    filter: contrast(0.9);
}

.flashdiv::before,
.flashdiv::after {
    content: "";
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 2px solid #46a256;
    transition: all 0.5s;
    animation: clippath 3s infinite linear;
    border-radius: 10px;
}

.flashdiv::after {
    animation: clippath 3s infinite -1.5s linear;
}

@keyframes clippath {
    0%,
    100% {
        clip-path: inset(0 0 98% 0);
    }

    25% {
        clip-path: inset(0 98% 0 0);
    }
    50% {
        clip-path: inset(98% 0 0 0);
    }
    75% {
        clip-path: inset(0 0 0 98%);
    }
}

.bg::before {
    background: rgba(130, 240, 145, 0.5);
}


.noborderall, .noborderall tr, .noborderall tr td {
    border: 0px !important;
}