/**
 * Theme Name:     AC1 Developments Child Theme
 * Author:         Elegant Themes
 * Template:       Divi
 * Text Domain:	   ac1-developments-child-theme
 * Description:    Smart. Flexible. Beautiful. Divi is the most powerful theme in our collection.
 */

#page-container .et_pb_menu--without-logo .et_pb_menu__menu>nav>ul>li {
	margin-top:4px;
}

.page-id-571 .et_pb_section {
	background-color: #FFFFFF!important;
}

.footer-row p,
.footer-row h2,
.footer-row h6 {
  color: #000000;
}

.legal-pages .et_pb_text_inner {
	display:flex;
	align-items:center;
	justify-content:flex-end;
	gap:10px;
}

.footer-pages .et_pb_text_inner {
	display:grid;
	gap:5px;
}

.project-section {
	margin-top: 20px !important;
	margin-bottom: 20px!important;
	display: flex!important;
	flex-direction: column;
    align-items: center;
	background-color: #FFFFFF !important;
}

.project-section .et_pb_text h4 {
	margin-top: 10px;
	font-family: 'Michroma', Helvetica, Arial, Lucida, sans-serif;
    font-size: 25px;
	color: #000000 !important;
    line-height: 1.4em;
}

.project-section .et_pb_row {
	width: 90%!important;
	padding: 10px 20px!important;
	max-width: 1080px;
    margin: 0px auto;
}

.et_pb_contact_submit {
	color: #FFFFFF !important;
    border-width: 0px !important;
    border-radius: 0px;
    letter-spacing: 0.2em;
    font-size: 12px;
    font-family: 'Open Sans', Helvetica, Arial, Lucida, sans-serif !important;
    text-transform: uppercase !important;
    background-color: #d9212b !important;
    padding-top: 16px !important;
    padding-right: 24px !important;
    padding-bottom: 16px !important;
    padding-left: 24px !important;
}


.project-section .et_pb_row:first-child {
    padding-top: 30px !important; 
}

.project-section .et_pb_row:last-child {
    padding-bottom: 30px !important;
}

.no-margin {
	margin: 0px!important;
}

.no-padding {
	padding: 0px!important;
}

.project-description .et_pb_column {
	padding-inline: 10px;
}

.project-section .et_pb_text p {
	color: #000000;
	font-family: Open Sans, Arial, sans-serif;
	font-weight: 500;
}

.project-image-column {
	width: 100%;
	display:flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.project-image-column .et_pb_image {
	margin: 0px!important;
	width: 100%;
}

.project-image-column .et_pb_image .et_pb_image_wrap{
	width: 100%;
}

.project-image-column img {
	width: 100%; 
    max-height: 300px;
    object-fit: cover;
}

.project-title-row {
	display: flex;
	gap: 30px;
}

.project-title-row::after{
	display: none;
}

.project-key-details{
	font-size: 16px;
    line-height: 26px;
    margin-top: 5px;
}
.portrait-gallery {
	max-height: 750px;	
}

.et_pb_gallery_grid .et_pb_gallery_items::after {
	display: none;
}

.et_pb_gallery_grid .et_pb_gallery_items {
	display: flex;
	gap: 15px;
}


.project-section .et_pb_row {
  background: rgba(10, 8, 8, 0.07);
}

.footer-social-row .et_pb_column {
	display: flex;
	justify-content:center;
}

.social-icons {
	display: flex;
	gap: 25px;
}

.social-icons svg {
    width: 32px;
    height: 32px;
    fill: white;
    transition: fill 0.3s ease-in-out;
    cursor: pointer;
}

.social-icons svg:hover {
    fill: #24B6EB;
	transform: scale(1.05);
}

.text-black {
	color: #000000 !important;
}

.slider-row {
	margin: 0px !important;
	max-width: unset!important;
	width: 100%;
	max-height: 750px;
    display: flex;
    align-items: stretch;
    overflow: hidden;
}

#hero-carousel .swiper-slide img {
    max-width: 100%;
	max-width: 100%;
    width: 100%;
    height: 750px;
    object-fit: cover;
}

#hero-carousel {
	max-height: 750px;
}

.slider-info-column {
	background-color: #d9212b;
	width: 35%!important;
	display: flex;
    flex-direction: column;
    padding-left: 30px;
    min-height: 750px !important;
    justify-content: center;
}

.slider-info {
	min-width: 300px;
	display: flex;
	flex-direction: column;
    gap: 25px;
}

.slider-info-column h3, .slider-info-column p {
	color: #FFFFFF !important;
}

.hero-button {
  max-width: max-content;
  display: inline-block;
  padding: .75rem 1.25rem;
  color: #000000!important;
  background-color: #FFFFFF!important;
  text-transform: uppercase;
  font-size: 1rem;
  letter-spacing: .15rem;
  transition: all .3s;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.hero-button:hover {
  color: #FFFFFF!important;
  background-color: #000000!important;
  cursor: pointer;
}

.portrait-column {
	max-height: 800px !important;
    overflow: hidden;
}

.slider-photo-column {
	width: 65%!important;
}


@media (max-width: 1367px) {
		 .slider-row {
        max-height: 600px;
    }

    #hero-carousel .swiper-slide img {
        height: 600px; 
    }

    #hero-carousel {
        max-height: 600px;
    }

    .slider-info-column {
        min-height: 600px !important;
    }
}

@media (max-width: 1025px) {
	.slider-info-column {
		padding-left: 20px;
	}
}

@media (min-width:981px) and (max-width:1279px) {
	.et_pb_menu .et-menu>li {
		padding-left:6px;
		padding-right:6px;
	}

}
@media (max-width:980px) {
/* 	.project-gallery-row .et_pb_gallery .et_pb_gallery_item {
        width: 33.33% !important; 
    } */

	.map-column {
		display: flex!important;
		min-height: 450px!important;
		margin-bottom: 20px!important;
	}
	
	.nav-section .et_pb_column {
		margin-bottom:0;
	}
	.nav-section .et_pb_row {
		display:flex;
		align-items:center;
	}
	#mobile_menu1 {
		width:200px;
		left:unset;
		right:0;
    }
	.footer-title.et_pb_module {
		margin-bottom:15px;
	}
	.subfooter-row .et_pb_column:first-child .et_pb_text_inner {
		text-align:center;
	}
	.subfooter-row .et_pb_column {
		margin-bottom:15px;
	}
	.legal-pages .et_pb_text_inner {
		justify-content:center;
	}
	.project-title-row {
	flex-direction: column;
	}
	.project-image-column .et_pb_image {
		max-width: max-content;
	}
	
.slider-row {
        flex-direction: column;
		max-height: max-content;
    }
	.hero-button {
		align-self: center;
	}

    .slider-info-column {
        width: 100% !important;
        height: 300px !important;
        min-height: 300px !important;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding: 20px;
    }

    .slider-info {
        width: 100%;
        max-width: 500px;
    }

    .slider-photo-column {
        width: 100% !important;
        height: 600px; /* Remaining height for the image */
		align-items: center;
        justify-content: center;
        overflow: hidden;
    }

    #hero-carousel .swiper-slide img {
        object-fit: cover;
    }

    #hero-carousel {
        height: 600px;
    }
	
	#services {
		padding-top: 35px;
	}
	
	.video-column {
		background-position: center bottom !important;
		min-height: 650px !important;
	}
	
	.video-column .et_pb_section_video_bg .mejs-container {
		margin-top: -250px!important;
	}
}

@media (max-width: 481px) {
/*
	.et_pb_gallery .et_pb_gallery_item {
        width: 50% !important; 
    }
	
	*/

		.video-column .et_pb_section_video_bg .mejs-container {
		margin-top: -0px!important;
	}
	.et_pb_gallery_grid .et_pb_gallery_items {
		flex-wrap: wrap;
	}
}

@media (max-width: 479px) {
	.social-icons {
	gap: 15px;
}
	.map-column {
		min-height: 300px!important;
		margin-bottom: 20px!important;
	}
}
