/*
Theme Name: ADDA Architects & Urban Designers
Theme URI: https://www.addaarchitects.in/
Author: Kombee Technologies (I) Private Limited
Author URI: https://www.kombee.com/
Description: Kombee Technologies (I) Private Limited WordPress Theme
Requires at least: 6.7
Tested up to: 7.1
Requires PHP: 7.2
Version: 1.0
Text Domain: addaarchitects
*/

.loader2 {
    pointer-events: none;
}

/* ==========================================================================
   Project Box Effects (Listing & Archive Pages)
   ========================================================================== */

.gallery-item {
    position: relative;
    float: left;
    overflow: hidden;
}

.gallery-item a {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
}

.grid-item-holder {
    float: left;
    width: 100%;
    height: auto;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

/* Grayscale thumbnail with smooth zoom on hover */
.gallery-item img,
.grid-item-holder img {
    width: 100%;
    height: auto;
    display: block;
    position: relative;
    z-index: 1;
    background: #292929;
    filter: grayscale(100%);
    -webkit-filter: grayscale(100%);
    -webkit-transition: all 1.8s cubic-bezier(.19, 1, .22, 1) 0s;
    transition: all 1.8s cubic-bezier(.19, 1, .22, 1) 0s;
}

.gallery-item:hover img,
.grid-item-holder:hover img {
    opacity: 0.7;
    filter: grayscale(0);
    -webkit-filter: grayscale(0);
    -webkit-transform: scale(1.15);
    transform: scale(1.15);
}

/* Semi-transparent dark sliding box overlay */
.grid-det {
    position: absolute;
    left: 20px;
    bottom: 8px;
    top: 120px;
    right: 100%;
    z-index: 10;
    overflow: hidden;
    background: rgba(45, 45, 50, .85);
    -webkit-transition: right 0.25s ease-in-out;
    transition: right 0.25s ease-in-out;
    pointer-events: none;
}

.grid-det2 {
    position: absolute;
    left: 20px;
    bottom: 8px;
    top: 345px;
    right: 100%;
    z-index: 10;
    overflow: hidden;
    background: rgba(45, 45, 50, .85);
    -webkit-transition: right 0.25s ease-in-out;
    transition: right 0.25s ease-in-out;
    pointer-events: none;
}

/* Slide in box from left to right on hover */
.gallery-item:hover .grid-det,
.grid-item-holder:hover .grid-det,
.gallery-item:hover .grid-det2,
.grid-item-holder:hover .grid-det2 {
    right: 20px;
}

/* Project title, gold underline, and arrow inside the sliding box */
.grid-det-item,
.grid-det_category {
    position: absolute;
    bottom: 8px;
    left: 0;
    width: 100%;
    padding: 10px 14px;
    z-index: 10;
    opacity: 0;
    margin-top: -10px;
    -webkit-transition: opacity 0.3s ease-in-out 0.15s, margin-top 0.3s ease-in-out 0.15s;
    transition: opacity 0.3s ease-in-out 0.15s, margin-top 0.3s ease-in-out 0.15s;
}

.gallery-item:hover .grid-det-item,
.grid-item-holder:hover .grid-det-item,
.gallery-item:hover .grid-det_category,
.grid-item-holder:hover .grid-det_category {
    opacity: 1;
    margin-top: 0;
}

.grid-det_link {
    color: #fff !important;
    display: block;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 2px;
    text-align: left;
    position: relative;
    font-weight: 600;
}

/* Accent gold/olive underline */
.grid-det_link:before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 20px;
    height: 1px;
    background: #8b8f42;
}

/* Arrow icon */
.grid-det_link i {
    padding-left: 10px;
    color: #8b8f42;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

.gallery-item:hover .grid-det_link i,
.grid-item-holder:hover .grid-det_link i {
    padding-left: 20px;
}

/* Page load box swipe overlay */
.pr-bg {
    background: #2a2a2e;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 100%;
    overflow: hidden;
    z-index: 100;
    pointer-events: none;
}