/*
Theme Name: Twenty Twenty-One Child
Theme URI: https://wordpress.org/themes/twentytwentyone/
Description: Twenty Twenty-One Child Theme
Author: the WordPress team
Author URI: https://wordpress.org/
Template: twentytwentyone
Version: 1.0.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: twentychild
Tags:two-columns, left-sidebar, right-sidebar, light, responsive-layout, custom-background, custom-colors, custom-header, custom-menu, featured-image-header, featured-images, flexible-header, full-width-template, sticky-post, theme-options, threaded-comments, translation-ready
*/
/* ******************  NEW GALLERY CSS  ********************** */
.gallery-overview-new-area{
    margin-top: 60px;
    margin-bottom: 110px;
}
.gallery-overview-new-wrapper{
    max-width: 900px;
    margin: 0 auto;
}
.gallery-overview-new-each{
    height: 100%;
    min-height: 380px;
    position: relative;
}
.gallery-overview-new-each::after{
    content: '';
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background-color: #2D2A26;
    opacity: .45;
    transition: all 0.5s;
    -webkit-transition: all 0.5s;
}
.gallery-overview-new-each:hover::after{
    background-color: #12312B;
    opacity: .8;
    transition: all 0.5s;
    -webkit-transition: all 0.5s;
}
.gall-over-new-each-text{
    display: flex;
    flex-direction: column;
    justify-content:center;
    height: 100%;
    padding: 30px 21px 25px;
    position: absolute;
	width:100%;
    z-index: 1;
	row-gap:80%;
	 transition: all 0.5s;
}
.gall-over-new-each-text h3{
    font-size: 24px;
    line-height: 32px;
    letter-spacing: 0px;
    color: #F8F4EB;
}
.gall-over-new-each-text a.common-link{
    color: #F8F4EB;
    font-size: 16px;
    line-height: 19px;
}
.gallery-overview-new-each:hover .gall-over-new-each-text{
    row-gap:0%;
	 transition: all 0.5s;
}
.gallery-overview-new-each-area{
    margin-top: 50px;
}
.gallery-overview-new-each-area .row{
    margin-left: -20px;
    margin-right: -20px;
}
.gallery-overview-new-each-area .row .col-lg-4{
    padding-left: 20px;
    padding-right: 20px;
}
.gallery-cat-new-each{
    border: 2px solid #2D2A26;
    margin-bottom: 65px;
}
.gallery-category-new-wrapper .row{
    /*margin-left: -35px;
    margin-right: -35px;*/
}
.gallery-category-new-wrapper .row .col-lg-6{
    padding-left: 35px;
    padding-right: 35px;
}
.gallery-cat-new-each img{
    width: 100%;
}
.gallery-category-new-area{
    margin-top: 60px;
    margin-bottom: 120px;
}
.gallery-cat-new-each .row{
    margin-left: -15px;
    margin-right: -15px;   
}
.gallery-cat-new-each{
    position: relative;
    background-color: transparent;
    padding: 0px;
	border-radius: 0px
}
.gallery-cat-new-each:hover{
    background-color: transparent;   
}
.gallery-cat-new-each:hover::after{
    position: absolute;
    content: '';
    background-image: url(/wp-content/uploads/2024/10/gallery-up.png);
    width: 52px;
    height: 52px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    transition: all 0.5s;
    -webkit-transition: all 0.5s;
}
.gallery-cat-new-each:hover::before{
    position: absolute;
    content: '';
    width: 100%;
    height: 100%;
    background-color: #2D2A26;
    opacity: .8;
    top: 0px;
    left: 0px;
    z-index: 1;
    transition: all 0.5s;
    -webkit-transition: all 0.5s;
}
.gallery-category-new-area .select-style{
    height: 40px;
    line-height: 30px;
}
.modal-dialog {
    max-width: 950px;
    margin-top: 150px;
}
.modal-body{
    padding: 0px;
}
.gallery-post-slider .swiper-button-next{
    right: -56px;
}
.gallery-post-slider .swiper-button-prev{
    left: -56px;
}
.modal-content{
    background-color: transparent;
    border: none;
}
.gallery-post-slider .swiper-button-prev:after{
    display: none;
} 
.gallery-post-slider .swiper-button-next:after{
    display: none;
}
.modal-header {
    border: none;
}
.modal-header .close{
    background-color: #fff;
    margin: 0rem -2rem -4rem auto;
    opacity: 1;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}
.modal-dialog{
	pointer-events:all !important
}
.gallery-content-position{
	position:absolute;
	bottom:-30px;
	width:calc(100% - 30px);
}
.gallery-content-position p{
	margin:0px;
}
@media(max-width:991px) {
    .gallery-overview-new-each-area .row{
        margin-left: -15px;
        margin-right: -15px;
    }
    .gallery-overview-new-each-area .row .col-lg-4{
        padding-left: 15px;
        padding-right: 15px;
        margin-bottom: 40px;
    }
    .gallery-category-new-wrapper .row{
        margin-left: -15px;
        margin-right: -15px;
    }
    .gallery-category-new-wrapper .row .col-lg-6{
        padding-left: 15px;
        padding-right: 15px;
    }
    .gallery-cat-new-each {
      margin-bottom: 45px;
    }
    .modal-content{
        padding-left: 30px;
        padding-right: 30px;
    }
}
@media(max-width:767px){
    .gallery-post-slider .swiper-button-next {
        right: -26px;
    }
    .gallery-post-slider .swiper-button-prev {
        left: -26px;
    }
}
.loader{
	position:fixed;
	top:0px;
	left:0px;
	width:100%;
	height:100%;
	background:#F8F4EB;
	z-index: 99;
}