/*
	Theme Name:   Seraialand Child
	Theme URI:    
	Description:  Seraialand child theme
	Author:       
	Author URI:   
	Template:     seraialand
	Version:      1.0
*/


/* Child theme CSS
--------------------------------------------------------------- */

.contact-title{
	width: 80% !important;
	font-size: 18px;
}

/* custom post */
/* Ensure the grid items are equal height */
.row {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
}

.col-md-4 {
    display: flex;
    flex-direction: column;
}

.custom-project-item {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    box-sizing: border-box;
    margin-bottom: 20px; /* Adjust for vertical spacing */
}

/* Styling for images and titles within project items */
.custom-project-img,
.custom-project-title-box {
    width: 100%;
}

/* Ensure the title box also stretches */
.custom-project-title-box {
    flex-grow: 1;
    text-align: center;
    margin-top: 10px;
}

@media (max-width: 768px) { /* Mobile view */
    .col-md-4 {
        flex: 1 1 100%; /* Single column on mobile */
    }
}

/* AREA FILTER CSS */
#custom-project-filter {
    text-align: center;
}

#custom-project-filter span {
    font-weight: bold;
    margin-right: 10px;
    font-family: 'FuturaLTPro-Heavy';
    line-height: 1.3 !important;
    color: #315755;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.project-filter-button {
    display: inline-block;
    margin-right: 10px;
    padding: 6px 14px 4px;
    background-color: transparent;
    color: #315755;
    font-weight: bold;
    border: none;
    font-size: 16px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.project-filter-button:hover {
    background-color: #315755; /* Hover background color */
    color: #fff; /* Hover text color */
}

.project-filter-button.active {
    background-color: #315755; /* Active (selected) background color */
    color: #fff; /* Active (selected) text color */
    border-color: #315755; /* Active (selected) border color */
}

#custom-project-content{
	margin-top:2em;
}

/* Responsive CSS */
@media (max-width: 1200px) {
    .project-filter-button {
        font-size: 14px;
        padding: 6px 12px 4px;
    }
}

@media (max-width: 992px) {
    .project-filter-button {
        font-size: 14px;
        padding: 6px 10px 4px;
    }

    #custom-project-filter span {
        display: block;
        width: 100%;
        text-align: center;
        margin-bottom: 10px;
    }

    #custom-project-filter {
        padding: 0 10px;
    }

    .project-filter-button {
        margin-bottom: 1em;
        margin-right: 5px;
        font-size: 14px;
        padding: 6px 8px 4px;
    }
	#custom-project-content{
	margin-top:1em;
}
	.tab-content {
		width: 80% !important;
	}
}

@media (max-width: 768px) {
    .project-filter-button {
        font-size: 14px;
        padding: 6px 8px 4px;
        margin-right: 5px;
        margin-bottom: 0.5em;
    }

    #custom-project-filter {
        padding: 0 10px;
    }
	#custom-project-content{
	margin-top:1em;
}
	.tab-content {
		width: 100% !important;
	}
	
	.house-type-box {
    margin-left: 0 !important;
    margin-right: 0 !important; 
}

}

@media (max-width: 576px) {
    .project-filter-button {
        font-size: 14px;
        padding: 4px 8px 2px;
        margin-right: 3px;
        margin-bottom: 0.5em;
    }

    #custom-project-filter {
        padding: 0 5px;
    }
	#custom-project-content{
	margin-top:1em;
}
	.tab-content {
		width: 100% !important;
	}
}

/* project - past project */
.tab-content img {
    width: 100%; /* Ensure images fill the slide area */
    height: 500px !important; /* Maintain aspect ratio */
    object-fit: cover; /* Ensure the images cover the entire slide area */
}

 .tab-container {
	     
   text-align:center;
    margin: 0 auto;
  }

.showcase-container{
	margin-top: 3em !important;
	margin-bottom: 1em;
}

  .tabs {
    display: flex;
    justify-content: center;
    list-style-type: none;
    padding: 0;
	margin-bottom: 2rem;
    margin-top: 2em;

  }

  .tabs .tab-link {
    padding: 10px 20px;
    cursor: pointer;
    border-color: #315755;
	  color:#315755;
	  border: 1px solid;
    font-weight: bold;
  }

  .tabs .tab-link.current {
	  background-color: #315755;
    color: #fff;
    border-color: #315755;
  }

  .tab-content {
    display: none;
	  width: 60%;
    margin: auto;
  }

  .tab-content.current {
    display: block;
  }

.house-type-box {
    padding-top: 0 !important;
    padding-bottom:  0 !important;
    text-align: center;
	   
    margin-left: 100px;
    margin-right: 100px;
}

.house-type-row{
	 border-top: 2px solid #315755 !important;
}

.house-type-tt {
    margin-top: 2em;
}

.property-info{
	border-bottom: none !important;
}

/* STAGE PROGRESS SECTION */
.stage-status-icon-img{
	width: 35px;
    margin-right: 0.8rem;
}

.site-progress-stage-row{
	display:flex;
	    align-items: center;
    justify-content: space-between;
	    margin: 0.4rem 0;
}

.stage-title, .property-info-title{
	text-transform: uppercase;
}

.stage-title{
	display: flex;
	justify-content: center;
    align-items: center;
}


.divider-grey-line{
	    border-bottom: 1.5px solid #d1d1d1;
}

.status-and-date{
	display:flex;
	align-items: center;
}

.site-title-container{
	margin-top: 3rem;
	margin-bottom: 3rem;
}

    .site-progress-container {
        margin-left: 100px;
        margin-right: 100px;
    }

.site-progress-stage-accordion {
  cursor: pointer;
}

.site-progress-gallery-row {
    padding: 2rem 0 1.5rem;
   border-bottom: 1.5px solid #d1d1d1;
}

div#site-progress {
    margin-bottom: 4.5em;
}

.gallery-item img {
    width: 100%;
    height: 230px;
    object-fit: cover;
}
.gallery-item{
	    margin-bottom: 1rem;
}

.close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

/* Style the accordion container */
.site-progress-stage-accordion {
    cursor: pointer;
    padding: 10px;
    border: 1px solid #ddd;

}

/* Style the active accordion */
.site-progress-stage-accordion.active {
    background-color: #f1f1f1;
    border-color: #ccc;
}

/* Style the panel (hidden by default) */
.site-progress-gallery-row {
    display: none;
    border: 1px solid #ddd;
    border-top: none;
    border-radius: 0 0 5px 5px;
}



/* Optional: Style the toggle icon with FontAwesome */
.toggle-icon::before {
    content: "\f078" !important; /* Unicode for down arrow */
	 font-family: FontAwesome;
    float: right;
    transition: transform 0.3s;
	margin-left: 10px;
	    margin-bottom: 2px;
}

.site-progress-stage-accordion.active .toggle-icon::before {
    content: "\f077"; /* Unicode for up arrow */
    transform: rotate(180deg);
	margin-left: 10px;
	    margin-bottom: 2px;
}

/* Prevent accordion interaction when there's no content */
.site-progress-stage-accordion.no-content {
    cursor: default;
    background-color: #eee;
}

//
/* Style the toggle icon */
.toggle-icon {
    display: inline-block;
    width: 16px; /* Adjust size as needed */
    height: 16px; /* Adjust size as needed */
    font-family: "Font Awesome 6 Free";
    font-weight: 900; /* Use 900 for solid icons */
    cursor: pointer;
    transition: transform 0.3s;
	
}



/* Optional: Add any other necessary styles */
.site-progress-stage-row {
    display: flex; 
    align-items: center;
    justify-content: space-between;
}


/* Set cursor to not-allowed for empty galleries */
.site-progress-stage-accordion.no-gallery {
    cursor: default;
}

.site-title-container p {
    margin-top: 0.5rem;
    font-size: 19.5px;
}

@media (max-width: 1300px) {
	.gallery-item p {
    margin-top: 10px;
    line-height: 20px;
}
	
}

@media (max-width: 992px) {
	.site-title-container p {
    margin-top: 0.5rem;
    font-size: 19px;
	}
		
	.status-and-date h5{
		font-size: 20px;
    letter-spacing: 1.5px !important;
	}
	.gallery-item img {
		height: 250px;
	}
	.stage-status-icon-img {
		width: 36px;
	}
	.progress-gallery .col-sm-4{
		    padding-right: 10px;
    padding-left: 10px;
	}
	.stage-title h6{
		margin-left: 0.5rem;
		text-align: right;
		font-size: 15px;
        letter-spacing: 2px !important;
	}
	.site-progress-container {
    margin-left: 100px;
    margin-right: 100px;
	}
	.progress-gallery .col-md-4 {
        flex: none !important;
		width: 50%;
    }
}

/* Responsive styles for iPad and mobile SITE PROGRESS SECTION */

/* iPad view */
@media only screen and (max-width: 768px) {
	.site-title-container p {
    margin-top: 0.5rem;
    font-size: 18px;
}
    .site-progress-container {
        margin-left: 50px;
        margin-right: 50px;
    }

    .status-and-date h5 {
        font-size: 19px;
    }

    .stage-status-icon-img {
        width: 30px;
        margin-right: 0.5rem;
    }
	
	.progress-gallery .col-md-4 {
        flex: none !important;
		width: 50%;
    }
	    .site-progress-container {
        margin-left: 0;
        margin-right: 0;
    }
}

@media only screen and (max-width: 668px) {
	  .status-and-date h5 {
        font-size: 17px;
    }
	.stage-title h6{
		font-size: 14px;
	}
}

@media all and (max-width: 550px) {
	.progress-gallery .gallery-item {
		max-width: 100% !important;
	}
	.site-progress-stage-row{
		display: block;
	}
	.stage-title {
		justify-content: left;
		margin-top: 0.2em;
	}
	    .stage-status-icon-img {
			width: 24px;
	}
	
	  .status-and-date h5 {
        font-size: 16px;
        margin-top: 2px;
    }
	.stage-title h6 {
		font-size: 13px;
		text-align: left;
	}
	.stage-title {
		text-align: left;
	}
	
	.site-progress-stage-accordion{
		padding: 6px 10px;
	}
}

/* Mobile view */
@media only screen and (max-width: 450px) {
	.progress-gallery .col-md-4 {
        flex: none !important;
		width: 100%;
    }
}

.lb-loader,.lightbox {
    text-align: center;
    line-height: 0;
    position: absolute;
    left: 0
}

body.lb-disable-scrolling {
    overflow: hidden
}

.lightboxOverlay {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 9999;
    background-color: #000;
    filter: alpha(Opacity=80);
    opacity: .8;
    display: none
}

.lightbox {
    width: 100%;
    z-index: 10000;
    font-weight: 400;
    outline: 0
}

.lightbox .lb-image {
    display: block;
    height: auto;
    max-width: inherit;
    max-height: none;
    border-radius: 3px;
    border: 4px solid #fff
}

.lightbox a img {
    border: none
}

.lb-outerContainer {
    position: relative;
    width: 250px;
    height: 250px;
    margin: 0 auto;
    border-radius: 4px;
    background-color: #fff
}

.lb-outerContainer:after {
    content: "";
    display: table;
    clear: both
}

.lb-loader {
    top: 43%;
    height: 25%;
    width: 100%
}

.lb-cancel {
    display: block;
    width: 32px;
    height: 32px;
    margin: 0 auto;
    background: url(../images/loading.gif) no-repeat
}

.lb-nav {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: 10
}

.lb-container>.nav {
    left: 0
}

.lb-nav a {
    outline: 0;
    background-image: url(data:image/gif;base64,R0lGODlhAQABAPAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==)
}

.lb-next,.lb-prev {
    height: 100%;
    cursor: pointer;
    display: block
}

.lb-nav a.lb-prev {
    width: 34%;
    left: 0;
    float: left;
    background: url(../images/prev.png) left 48% no-repeat;
    filter: alpha(Opacity=0);
    opacity: 0;
    -webkit-transition: opacity .6s;
    -moz-transition: opacity .6s;
    -o-transition: opacity .6s;
    transition: opacity .6s
}

.lb-nav a.lb-prev:hover {
    filter: alpha(Opacity=100);
    opacity: 1
}

.lb-nav a.lb-next {
    width: 64%;
    right: 0;
    float: right;
    background: url(../images/next.png) right 48% no-repeat;
    filter: alpha(Opacity=0);
    opacity: 0;
    -webkit-transition: opacity .6s;
    -moz-transition: opacity .6s;
    -o-transition: opacity .6s;
    transition: opacity .6s
}

.lb-nav a.lb-next:hover {
    filter: alpha(Opacity=100);
    opacity: 1
}

.lb-dataContainer {
    margin: 0 auto;
    padding-top: 5px;
    width: 100%;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px
}

.lb-dataContainer:after {
    content: "";
    display: table;
    clear: both
}

.lb-data {
    padding: 0 4px;
    color: #ccc
}

.lb-data .lb-details {
    width: 85%;
    float: left;
    text-align: left;
    line-height: 1.1em
}

.lb-data .lb-caption {
    font-size: 13px;
    font-weight: 700;
    line-height: 1em
}

.lb-data .lb-caption a {
    color: #4ae
}

.lb-data .lb-number {
    display: block;
    clear: left;
    padding-bottom: 1em;
    font-size: 12px;
    color: #999
}

.lb-data .lb-close {
    display: block;
    float: right;
    width: 30px;
    height: 30px;
    background: url(../images/close.png) top right no-repeat;
    text-align: right;
    outline: 0;
    filter: alpha(Opacity=70);
    opacity: .7;
    -webkit-transition: opacity .2s;
    -moz-transition: opacity .2s;
    -o-transition: opacity .2s;
    transition: opacity .2s
}

.lb-data .lb-close:hover {
    cursor: pointer;
    filter: alpha(Opacity=100);
    opacity: 1
}

@media (max-width: 768px) {
    .lightbox-content {
        max-width: 100%;
        max-height: 100%;
        margin: auto;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}
    