/*
Theme Name: Divi Child Theme
Description: Child Theme for Divi
Author:  Hand to Sky
Template: Divi
Version:  1.0.211111
*/


/*
---------------------------
	CSS DIRECTORY
---------------------------
	=Font Setup
	=Global
	=Header
	=Footer
	=Media Queries
*/

/* ====Font Setup /////////////////////////////////////////////////*/
:root {
	--primary: #25255E;
	--secondary: #055795;
	--tertiary: #00aeef;
	--light: #fff;
	--dark: #141414;
	--font: 'Open Sans', Helvetica, Arial, Lucida, sans-serif;
	--heading: 'Montserrat', Helvetica, Arial, Lucida, sans-serif;
	--trans: 0.3s all ease-in-out;
}

html {
	font-size: 16px;
}

body {
	font-family: var(--heading) !important;
	font-size: 1rem;
	font-weight: 400;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: var(--heading);
}

.et_pb_text_inner>ol>li {
	padding-bottom: 20px;
}

/* ====Global /////////////////////////////////////////////////*/
.align-center {
	display: flex;
	align-items: center;
}

@media (max-width: 992px) {
	.align-center {
		display: block;
	}
}

.align-center.et_pb_specialty_fullwidth .et_pb_row>.et_pb_column:first-of-type {
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.align-center h2 {
	padding-bottom: 0px;
}

.container-break .et_pb_row {
	--wrapper-padding-inline: 10px;
	--wrapper-max-width: 1080px;
	display: grid;
	grid-template-columns:

		minmax(var(--wrapper-padding-inline), 1fr) minmax(0, calc(var(--wrapper-max-width) / 4)) minmax(0, calc(var(--wrapper-max-width) / 4)) minmax(0, calc(var(--wrapper-max-width) / 4)) minmax(0, calc(var(--wrapper-max-width) / 4)) minmax(var(--wrapper-padding-inline), 1fr);
}

.container-break .et_pb_row>.et_pb_column {
	width: 100% !important;
}

.container-break .et_pb_row>.et_pb_column:first-of-type {
	grid-column: 2 / 5;
	padding-right: clamp(2.5rem, -1.25rem + 7.8125vw, 5rem);
}

.container-break .et_pb_row>.et_pb_column:last-of-type {
	grid-column: 5 / -1;
}

.home-heading h1 span {
	font-size: 33%;
	vertical-align: text-top;
	top: -10px;
	position: relative;
}

body .et_pb_row .et_pb_column .et_pb_testimonial_portrait {
	margin-left: 0;
	margin-right: auto;
}

body .et_pb_row .et_pb_column .et_pb_testimonial_author {
	margin-top: 10px;
}

.slick-track {
	display: flex !important;
}

.slick-slide {
	height: inherit !important;
}

/* ====Header /////////////////////////////////////////////////*/


/* ====Footer /////////////////////////////////////////////////*/
.footer-socials {
	display: flex;
	align-items: center;
	justify-content: center;
}

.footer-socials:before {
	content: 'Follow Us';
	display: inline-block;
	font-size: clamp(1rem, -0.125rem + 2.3438vw, 1.75rem);
	font-weight: bold;
	color: var(--light);
	top: -4px;
	position: relative;
	margin-right: 2rem;
}

/* ====Projects /////////////////////////////////////////////////*/
.home .projects .pagination {
	display: none !important;
}

.project-roll {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2rem;
	max-width: 1000px;
	margin-inline: auto;
}

.home .project-roll.slick-slider .project {
	margin-right: 2rem;
	display: flex;
}

.project-roll .project {
	display: flex;
	flex-direction: column;
	height: 100%;
}

.project-content,
.project-inner {
	flex: 1 0 auto;
	display: flex;
	flex-direction: column;
}

.project-inner {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: flex-start;
	padding: 1.5rem 2rem;
	background-color: var(--light);
	border: 1px solid #ddd;
}

.project-image {
	position: relative;
	background-size: cover;
	background-position: center;
}

.project-image:before {
	display: block;
	content: "";
	width: 100%;
	padding-top: calc(9 / 16 * 100%);
}

.project-inner .title {
	font-size: 1.25rem;
	color: var(--primary);
	font-weight: bold;
}

.project-excerpt {
	margin-bottom: 20px;
	font-size: 15px;
	line-height: 1.7;
	color: var(--primary);
}

.project-btn {
	margin-top: auto;
	padding: 6px 20px 6px 25px;
	border: 1px solid var(--primary);
	color: var(--primary);
	border-radius: 100px;
	font-size: 1.125rem;
	transition: var(--trans);
}

.project-btn:after {
	vertical-align: bottom;
	content: "\35";
	line-height: inherit;
	font-size: inherit !important;
	opacity: 1;
	margin-left: .3em;
	left: auto;
	font-family: ETmodules !important;
	font-weight: 400 !important;
}

.project-btn:hover,
.project-btn:focus {
	background-color: var(--primary);
	color: var(--light);
}

body .slick-prev,
body .slick-next {
	width: 38px;
	height: 73px;
	transition: 0.3s all ease;
}

body .slick-prev {
	left: -10rem;
}

body .slick-next {
	right: -7rem;
}

body div.slick-slider:not(.wdcl-carousel) .slick-prev:before,
body div.slick-slider:not(.wdcl-carousel) .slick-next:before {
	content: "";
	display: block;
	background-image: url('img/arrow.png');
	width: 38px;
	height: 73px;
	background-repeat: no-repeat;
	background-size: contain;
	transition: 0.3s all ease;
}

body .slick-next:before {
	transform: rotate(180deg);
}

.wdcl-carousel .slick-prev,
.wdcl-carousel .slick-next {
	background-color: transparent !important;
	color: #fff !important;
}

.wdcl-carousel .slick-prev:before,
.wdcl-carousel .slick-next:before {
	opacity: 1 !important;
}

.wdcl-carousel .slick-prev {
	left: 0 !important;
}

.wdcl-carousel .slick-next {
	right: 0 !important;
}


/* ----Project Single */

.single-project .et-l--body .et_builder_inner_content .et_pb_text_inner h2 {
	font-weight: 700;
	font-size: 28px;
	color: #25255E !important;
	padding-block: 0px 20px;
}

.single-project .gallery {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	justify-items: flex-start;
	gap: 20px;
}

.single-project .gallery .gallery-item,
.single-project .gallery .gallery-item a {
	width: 100% !important;
	margin: 0 !important;
	float: none;
}

.single-project .gallery br {
	display: none !important;
}

/* ====Tablepress /////////////////////////////////////////////////*/
body .entry-content thead th,
.entry-content tr th,
body .tablepress>:where(thead, tfoot)>*>th {
	background-color: var(--light);
	color: var(--primary);
	font-weight: bold;
	font-size: 1.125rem;
}

body .tablepress>:where(thead, tfoot)>*>th {
	background-color: var(--primary);
	color: var(--light);
	text-align: center;
}

body .entry-content thead th,
.entry-content tr th,
body .entry-content tr td,
body .tablepress>:where(tbody)>tr>td {
	text-align: center;
	padding: 10px 7px;
	font-size: 1.125rem;
	color: var(--primary);
	border: 2px solid var(--tertiary);
}

.green {
	color: #289c38;
}

.red {
	color: #e22c39
}

.blue {
	color: #24afe9;
}

.purple {
	color: #b568b4;
}

/* Elements */
.highlighted-list h2 {
	margin-bottom: 20px;
	padding: 0;
}

.highlighted-list ul li {
	padding-bottom: 7px;
}

.list-spacing p {
	padding-bottom: 0;
}

.list-spacing ul {
	font-size: 1rem;
}

.products {
	position: relative;
}

.products:after {
	position: absolute;
	content: "";
	width: 100%;
	height: 100%;
	inset: 0;
	background-image: url('img/glyph.png');
	background-size: contain;
	background-repeat: no-repeat;
	background-position: bottom center;
	pointer-events: none;
}


.product {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
	padding: 1.5rem 1rem;
	background-color: #204679;
}

.product:nth-child(even) {
	background-color: #255087;
}

.product img {
	width: 100%;
	max-width: 24px;
}

.product>div:first-of-type {
	padding-right: 40px;
}

.product>div:last-of-type {
	flex: 1 0 auto;
	display: flex;
	justify-content: flex-end;
}

.product .title,
.product .subtitle {
	color: var(--light);
}

.product .subtitle {
	font-size: 1.125rem;
}

.product .title {
	font-size: 1.5rem;
	line-height: 1.4em;
	font-weight: bold;
	padding-bottom: 10px;
	text-wrap: balance;
}

/* Services Page */

.entry-content #core-services-list.highlighted-list ol li ol {
	padding-top: 15px;
	line-height: 28px;
}

.entry-content #core-services-list.highlighted-list ol li ol li {
	padding-bottom: 5px;
}

/* Gravity Forms */

body .gform_wrapper input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]),
body .gform_wrapper textarea.textarea,
body div.form_saved_message div.form_saved_message_emailform form input[type=text] {
	color: #222 !important;
}


/* Mailing List form */

#mailing-list .gform-theme--foundation .gform_footer,
#mailing-list .gform-theme--foundation .gform_page_footer {
	display: block;
}

#mailing-list .gform_button.button {
	font-size: 20px;
	font-weight: 500;
	padding: .3em 1em;
	line-height: 1.7em !important;
	background-color: transparent;
	background-size: cover;
	background-position: 50%;
	background-repeat: no-repeat;
	border: 2px solid;
	color: #FFFFFF !important;
	border-color: #FFFFFF;
	border-width: 1px !important;
	font-family: inherit;
	display: inline-block;
	margin: 0 0 0 18px;
	cursor: pointer;
	border-radius: 100px;
	-webkit-transition-duration: .2s;
	transition-duration: .2s;
	-webkit-transition-property: all !important;
	transition-property: all !important;
}

/* ====Gallery /////////////////////////////////////////////////*/
body .et_pb_gutters3 .et_pb_column_1_2 .et_pb_grid_item {
	width: 100%;
	margin-right: 0;
	margin-bottom: 0;
}

body .et_pb_gallery_grid .et_pb_gallery_items {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

/* ====Media Queries /////////////////////////////////////////////////*/
@media (max-width: 991px) {
	.container-break .et_pb_row {
		grid-template-columns: 1fr;
		padding-inline: 40px;
	}

}

@media (max-width: 767px) {
	.project-roll {
		grid-template-columns: 1fr;
	}
}

@media (min-width: 768px) {}

@media (min-width: 992px) {}

@media (min-width: 1200px) {}