/*
 Theme Name: Reflective Lighting
 Theme URI: https://reflective.lighting
 Description: Child theme for Divi theme, created for Reflective Lighting.
 Author: Creekland & Co, LLC
 Author URI: https://creekland.co
 Template: Divi
 Version: 1.0.0
*/

:root {
    --rf-blue: #627E8F;
    --rf-gold: #BD9F80;
}

/** Breadcrumbs **/
.rl-breadcrumbs a {
    color: var(--rf-blue);
}

.rl-breadcrumbs__current {
    font-weight: bold;
    color: var(--rf-gold);
}

/** Similar Styles **/
.rl-similar-styles h2 {
    font-size: 30px;
    margin-bottom: 20px;
}
.rl-similar-styles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.rl-item-image {
    width: 200px;
    height: 250px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.rl-item-image.no-image-placeholder {
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
}

.rl-similar-style-item {
	width: 250px;
}

.rl-similar-style-item a {
    text-decoration: none;
    display: block;
}


/** Carousel **/
.dica-image-container{
  max-width: none !important;
  width: fit-content !important;
}

.dica-image-container img{
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
}

#et-boc .dica_divi_carousel .dica_divi_carouselitem .dica-image-container .image {
    padding-bottom: 0;
    width: 100%;
    height: 100%;
}

/* the element that contains BOTH the image and dots */
.dica-slider,
.dica-slider-wrapper,
.dica-container {
  position: relative;
}

/* force the slider height to be based on image */
.dica-image-container {
  display: inline-block;
  width: 100%;
  height: auto;
}

.dica-container {
	height: 550px;
}

/* make the image define the height */
.dica-image-container img {
  display: block;
  width: 100%;
  height: auto;
}

/* dots pinned to bottom of current image */
.dica-dots,
.slick-dots {
  position: absolute !important;
  left: 0;
  right: 0;
  bottom: 12px; /* adjust */
  z-index: 5;
}

/** Contact Forms **/
.rl-contact-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  justify-items: start;
  gap: 1rem;
}

.rl-contact-row span {
	width: 100%;
}

.rl-contact-row > * {
	grid-column: auto;
	grid-row: auto;
}

.rl-contact-row br {
	display: none;
}

.rl-contact-row input, .rl-contact-row select{
	display: grid;
	width: 100%;
	height: 55px;
	font-size: 15px;
	padding: 1em;
	border-color: rgba(98, 126, 143, .25);
	color: var(--rf-blue);
}

.rl-contact-span-2 {
	display: grid;
	grid-column: span 2 !important;
}

.rl-contact-row .rl-contact-date {
	border: 1px solid rgba(98, 126, 143, .25);
	color: var(--rf-blue);
}

.rl-contact-row textarea {
	width: 100%;
	height: 150px;
	font-size: 15px;
	padding: 1em;
	border-color: rgba(98, 126, 143, .25);
	color: var(--rf-blue);
}

.rl-contact-row .rl-contact-submit {
	background: var(--rf-gold);
	color: #ffffff;
	text-transform: uppercase;
	width: 200px;
	border: 1px solid var(--rf-gold);
}

@media (min-width: 1200px) {
    .rl-similar-styles-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}
.rl-similar-style-item img {
    width: 100%;
    height: auto;
}
.rl-similar-style-item h4 {
    color: #627E8F;
    margin-top: 20px;
    font-size: 14px;
    line-height: 1.5em;
    text-transform: capitalize;
    padding: 0;
}

@media (max-width: 768px) {

}

.swiper-pagination-bullet {
	margin: 1em 0 0 0;
	width: 12px;
	height: 12px;
	border: 1px solid #BD9F80 !important;
}

/* Add padding to the main post content area */
.single .entry-content {
    padding: 20px !important; 
}

/* Homepage Blurbs */
.rl-homepage-blurb_section {
	height: 550px !important;
	margin-top: 4em !important;
}

.rl-homepage-blurb_container {
	position: relative;
	top: -3em;
}

.rl-homepage-blurb_container .et_pb_column {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
	gap: 5px;
}

#menu-global-header-navigation {
	padding-bottom: 2em;
}

.rl-homepage-blurb {
	display: flex;
    align-items: flex-start;
	padding: 1em;
	margin: 0 1em;
	height: 184px;
	border-radius: 6px;
	background: #627E8F;
	color: #fff;
}

.rl-homepage-blurb .et_pb_blurb_content {
	display: flex;
	align-items: top;
}

.rl-homepage-blurb .et-pb-icon {
	padding-right: 0.5em;
	transition: none;
}

.rl-homepage-blurb h4 {
	padding-bottom: 1em;
}


@media (max-width: 767px) {
	.et_pb_row_1_tb_body {
		flex-direction: column;	
	}

	.rl-homepage-blurb_section {
		height: auto !important;
		margin-top: 4em !important;
	}

	.rl-homepage-blurb_container .et_pb_column {
		display: block;
	}
	.rl-homepage-blurb {
		display: flex;
		align-items: flex-start;
		padding: 1em;
		margin: 0 0.5em;
		height: auto;
		border-radius: 6px;
		background: #627E8F;
		color: #fff;
	}
}


/* Content Order */
.rl-page-content_left { order: 1; }
.rl-page-content_right { order: 2; }


@media (max-width: 767px) {
  .rl-page-content_left { order: 2; }
  .rl-page-content_right { order: 1; }
}


.posts-grid {
  display: grid;
  gap: 24px;
}

.post-item {
	text-align: center;
  border: 1px solid #e0e0e0;
  padding: 16px;
  background: #fff;
}

.posts-grid.columns-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.posts-grid.columns-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.posts-grid.columns-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.posts-grid.columns-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }