/*!
Theme Name: robertandrewfowler
Theme URI: https://digitalguider.com/
Author: DG Development Team
Author URI: https://digitalguider.com/
Description: A custom WordPress theme for robertandrewfowler
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: robertandrewfowler
*/

.wpcf7-not-valid-tip:not(:nth-child(1)):not(:nth-child(2)) {display:none;}
.nice-select.wpcf7-form-control.wpcf7-select.wpcf7-validates-as-required.form-select {width: 100%;}
.custom-post .latest-article__item {margin-top: 30px;}

/************************************************************************ portfolio-details Start********************************************************************/
.protab-sec .about-us-2__nav-tabs .nav{
  gap: 30px;
}
.protab-sec  .protfolio__item-media img{
width: 100%;
  height: 500px;
display: inline-block;
}
.protab-sec .protfolio__pdf .protfolio__pdf-media img{
  width: 100%;
  height: 500px;
}
.protab-sec .protfolio__pdf .title-itmes{
  margin-top: 20px;
}
.protab-sec .protfolio__pdf .title-itmes{
  margin-top: 20px;
}
.protab-sec .protfolio-imre2 .title-itmes{
 margin-top: 20px;
}
.protab-sec .protfolio__item {
  margin-bottom: 0px;
}
/************************************************************************ portfolio-details End********************************************************************/

a.blog-img img {
    width: 100%;
    display: block;
    border-radius: 10px;
    background: #fff;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    padding: 18px;
}


.lightbox .lb-close {
    top: 15px !important;
    right: 24px !important; 
    position: absolute !important;
    z-index: 10000;
    font-size: 2rem;
    color: #fff;
}

.lb-nav a.lb-prev,
.lb-nav a.lb-next {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 40px;
    height: 80px;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    opacity: 1 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background 0.3s ease;
}

.lb-nav a.lb-prev {
    left: 10px !important;
}

.lb-nav a.lb-next {
    right: 10px !important;
}
	img.lb-image{
		width:100%!important;
	}

.lb-image {
    max-width: 100% !important;
    height: auto !important;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}


.lb-outerContainer {
    width: 100% !important;
    max-width: 850px;
    margin: 0 auto;
}

.custom-gallery .blog-card {
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.custom-gallery .blog-card:hover {
    transform: translateY(-4px);
}

.custom-gallery .blog-img img {
    width: 100%;
  	height: 370px;
    object-fit: cover;
    display: block;
}

.affordable-houseing-wapper .affordable-houseing-img img {
    width: 600px;
    height: 400px;
    object-fit: cover;
}