
/*
 Theme Name:     KVC Custom Theme
 Theme URI:      https://kvcbuilders.com/
 Description:    Divi Child Theme
 Author:         Quarterdeck Digital
 Author URI:     hhttps://www.quarterdeck.io/
 Template:       Divi
 Version:        2.0.0
*/

/* =Theme customization starts here
------------------------------------------------------- */
@import url("https://cdn-ileckia.nitrocdn.com/gpAkkWviWuzObQzYHUuNBZLsmALOYvUt/assets/static/source/rev-5cb887a/fonts.googleapis.com/17adef4dfa2d8c2b5e905ca1e55ca83e.css2");

.dm-sans-regular {
	font-family: "DM Sans", sans-serif;
	font-optical-sizing: auto;
	font-weight: 300;
	font-style: normal;
}

div#custom, div#project-planning {
	scroll-padding-top: 18em;
}

/*Universal Styles*/
@media only screen and (min-width: 600px) {
	h1 {
		font-family: sangbleukingdom;
		color: #192534;
		font-weight: 400px !important;
		font-size: 76px;
		line-height: 90px;
	}
	
	h2 {
		font-family: sangbleukingdom !important;
		color: #192534;
		font-weight: 400px !important;
		font-size: 39px;
		line-height: 50px;
	}
	
	h3 {
		font-family: sangbleukingdom;
		color: #192534;
		font-weight: 400px !important;
		font-size: 31px;
		line-height: 45px;
	}
	
	h4 {
		font-family: sangbleukingdom;
		color: #192534;
		font-size: 24px;
		line-height: 36px;
		font-weight: 400px !important;
	}
	
	h5 {
		font-family: dm sans, sans-serif;
		color: #192534;
		font-size: 20px;
		font-weight: 600px !important;
		line-height: 27px;
	}
	
	h6 {
		font-family: dm sans, sans-serif;
		color: #192534;
		font-size: 17px !important;
		font-weight: 600px !important;
		line-height: 23px !important;
	}
	
	h7 {
		font-family: sangbleukingdom;
		color: #192534;
		font-size: 92px;
		line-height: 100px;
	}
	
	p {
		font-family: dm sans, sans-serif;
		color: #192534;
		font-weight: 300px;
		font-size: 18px;
		line-height: 25px;
	}
	
	p2 {
		font-family: dm sans, sans-serif;
		color: #192534;
		font-weight: 600px;
		font-size: 18px;
		line-height: 27px;
	}
	
	body {
		font-family: dm sans, sans-serif;
		font-size: 18px;
		font-weight: 300px;
		line-height: 24px;
	}
	
	ul {
		font-size: 18px;
	}
	
	.et_pb_button {
		font-size: 18px;
	}
	
	.post-meta {
		font-family: dm sans;
	}
}

@media only screen and (max-width: 600px) {
	h1 {
		font-family: sangbleukingdom;
		color: #192534;
		font-weight: 400px;
		font-size: 43px;
		line-height: 51px;
	}
	
	h2 {
		font-family: sangbleukingdom !important;
		color: #192534;
		font-weight: 400px !important;
		font-size: 39px;
		line-height: 50px;
	}
	
	h3 {
		font-family: sangbleukingdom;
		color: #192534;
		font-weight: 400px;
		font-size: 29px !important;
		line-height: 41px;
	}
	
	h4 {
		font-family: sangbleukingdom;
		color: #192534;
		font-size: 19px !important;
		line-height: 29px;
	}
	
	h5 {
		font-family: dm sans, sans-serif;
		color: #192534;
		font-size: 17px !important;
		font-weight: 600px;
		line-height: 26px;
	}
	
	h6 {
		font-family: dm sans, sans-serif;
		color: #192534;
		font-size: 17px;
		font-weight: 600px !important;
		line-height: 23px;
	}
	
	p {
		font-family: dm sans, sans-serif;
		color: #192534;
		font-weight: 300px;
		font-size: 17px !important;
		line-height: 25px;
	}
	
	p2 {
		font-family: dm sans, sans-serif;
		color: #192534;
		font-weight: 600px;
		font-size: 17px;
		line-height: 26px;
	}
	
	body {
		font-family: dm sans, sans-serif;
		font-size: 17px;
		font-weight: 300px;
		line-height: 26px;
	}
	
	ul {
		font-size: 17px;
	}
	
	.et_pb_button {
		font-size: 17px;
	}
}

/*Sticky button CSS
.btn-sticky {
	font-size: 18px;
	font-family: inherit;
	color: #192534;
	border-radius: 0px; 
	border: 0px;
	text-transform: uppercase;
	letter-spacing: 0px; 
	background-color: #DBDEDE;
	opacity:.6;
	padding: 10px 20px; 
	position: fixed;
	bottom: 60%;
	right: 0%;
	transition: all 300ms ease 0ms;
	box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.1);
	z-index: 99;
	 -moz-transform:rotate(-90deg);
    -ms-transform:rotate(-90deg);
    -o-transform:rotate(-90deg);
    -webkit-transform:rotate(-90deg);
    transform-origin: bottom right;
}
.btn-sticky:hover {
	box-shadow: 0px 15px 20px rgba(0, 0, 0, 0.3);
}
.btn-sticky:after{
	content: "\e01d";
	font-family: "ETModules";
	font-size: 18px;
	color: #1C2533;
	margin-left:10px;
 display: inline-block;
	z-index: 99;
	 -moz-transform:rotate(90deg);
    -ms-transform:rotate(90deg);
    -o-transform:rotate(90deg);
    -webkit-transform:rotate(90deg);
    transform-origin: cebter;
}
@media only screen and (max-width: 600px) {
 	.btn-sticky {
		display:none
	}
}*/

/*make the parts of the blog post flexible*/
.et_pb_post {
	display: flex;
	flex-direction: column;
}

/*blog post featured image*/
.et_pb_post .et_pb_image_container, .et_pb_post .entry-featured-image-url {
	order: 1;
}

/*blog post title*/
.et_pb_post .entry-title {
	order: 3;
}

/*blog post meta*/
.et_pb_post .post-meta {
	order: 2;
}

/*blog post excerpt and button*/
.et_pb_post .post-content {
	order: 4;
}

/*remove negative margin on blog image*/
.et_pb_blog_grid .et_pb_image_container {
	margin: 0 !important;
}

.pa-blog-equal-height .pa-auto-height {
	height: auto !important;
}

.pa-blog-equal-height .pa-auto-margin {
	margin-top: 20px !important;
}

/*Accordian open styling*/
.pa-add-accordion-icon .et_pb_accordion_item.et_pb_toggle_open .et_pb_toggle_title:before {
	display: block;
	content: "";
}

/*Page dropdown menus prevent collapsing on mobile*/
@media (max-width: 980px) {
	.pa-open-mobile-menu .et_pb_menu__menu {
		display: flex !important;
	}
	
	.pa-open-mobile-menu .et_mobile_nav_menu {
		display: none !important;
	}
}

/*Blog styling*/
.et_pb_post {
	margin-bottom: 0px;
}

.single .post {
	padding-bottom: 0px;
}

/*add a neceassry position to the blog posts*/
.et_pb_blog_grid .et_pb_post, .et_pb_posts .et_pb_post {
	position: relative;
}

/*make the title link spread over the entire post*/
.et_pb_blog_grid .et_pb_post .entry-title a:after, .et_pb_posts .et_pb_post .entry-title a:after {
	position: absolute;
	display: block;
	content: "";
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
}

/*change the mouse cursor into a pointer*/
.et_pb_blog_grid .et_pb_post:hover, .et_pb_posts .et_pb_post:hover {
	cursor: pointer;
}

body .gform_footer .gform_button {
	cursor: pointer !important;
}

/*drop shadow on close button*/
div#closebutton {
	text-shadow: var(--close-button-shadow, 0px 0px 0px rgba(0, 0, 0, 0));
}

/*change form error color*/
.gform_wrapper .gfield_error .gfield_repeater_cell label, .gform_wrapper .gfield_error label, .gform_wrapper .gfield_error legend, .gform_wrapper .gfield_validation_message, .gform_wrapper .validation_message, .gform_wrapper [aria-invalid=true]+label, .gform_wrapper label+[aria-invalid=true] {
	color: #f0ab28;
}

.column1 {
	float: left;
	width: 3%;
}

.column2 {
	float: left;
	width: 77%;
}

.col1 {
	float: left;
	width: 50%;
}

.col2 {
	float: left;
	width: 50%;
}

/* Clear floats after the columns */
.row:after {
	content: "";
	display: table;
	clear: both;
}

.single .et_pb_post {
	margin-bottom: 0px;
}

.animate__animated {
	-webkit-animation-duration: 0s;
	-webkit-animation-duration: var(--animate-duration);
	animation-duration: 0s;
	animation-duration: var(--animate-duration);
	-webkit-animation-fill-mode: both;
	animation-fill-mode: both;
}

.et_pb_section_0.hero-section-class-1202 .et_pb_fullwidth_header_container, .hero-section-class-1202 .et_pb_fullwidth_header_container {
	min-height: 90vh !important;
}

.page-id-133 .dmpro-carousel-main span.dmpro-carousel-image {
	display: none;
}

.pag.e-id-127 .dmpro-carousel-main span.dmpro-carousel-image {
	display: none;
}

li::marker {
	font-size: 15px !important;
}

body:not(.et-fb) .rv_element {
	display: none;
}

.et_pb_button.rv_button_opened:after {
	content: "2";
}

.et_pb_button.rv_button_closed:after {
	content: "3";
}

#kvc-map-countries {
	position: relative;
}

#kvc-map-countries #maine, #kvc-map-countries #rhode_island, #kvc-map-countries #vermont, #kvc-map-countries #new_hampshire, #kvc-map-countries #cape_island, #kvc-map-countries #greater_boston {
	background-color: rgba(66, 89, 122, .95) !important;
	color: #eeeae7;
	padding: 24px;
	width: 100%;
	max-width: 262px;
}

.detail-inner-block {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	color: #eeeae7;
}

.detail-inner-block div {
	display: flex;
	justify-content: center;
	align-items: center;
}

.detail-inner-block div:not(:last-child) {
	padding-bottom: 10px;
}

#kvc-map-countries h3 {
	font-family: dm sans, sans-serif;
	font-size: 18px;
	font-weight: 500;
	text-transform: uppercase;
	line-height: 1.2;
	letter-spacing: 1px;
	border-bottom: 1px solid #8aa2c3;
	padding-bottom: 10px;
	margin-bottom: 14px;
	color: #eeeae7 !important;
}

.detail-inner-block div img {
	width: 19px;
	margin-right: 10px;
}

.detail-inner-block div p {
	font-family: dm sans, sans-serif;
	font-size: 18px;
	color: #eeeae7 !important;
}

#kvc-map-countries #maine {
	right: 6%;
	position: absolute;
	top: 53%;
}

#kvc-map-countries #new_hampshire {
	position: absolute;
	top: 46%;
	left: 36%;
}

#kvc-map-countries #vermont {
	position: absolute;
	top: 32%;
	left: 19%;
}

#kvc-map-countries #greater_boston {
	position: absolute;
	top: 44%;
	left: 34%;
}

#kvc-map-countries #rhode_island {
	position: absolute;
	bottom: 20%;
	left: 35%;
}

#kvc-map-countries #cape_island {
	position: absolute;
	bottom: 20%;
	left: 50%;
}

.project-template-default .et_pb_bg_layout_dark h5 {
	color: #eeeae7 !important;
}

@media screen and (max-width: 768px) {
	.project-template-default .et_pb_section:last-child .et_pb_text_inner {
		display: inline-block;
	}
	
	.et_pb_text_dov_6780_64 img.wp-image-600.alignnone.size-medium {
		padding-top: 15px !important;
	}
	
	.project-template-default footer .et_pb_text_inner, .project-template-default #overlay-6780 .et_pb_section:last-child .et_pb_text_inner {
		display: block !important;
	}
	
	.project-template-default .et_pb_section:last-child h6 {
		padding-bottom: 0px;
		margin-bottom: 10px;
	}
	
	#kvc-map-countries #maine, #kvc-map-countries #rhode_island, #kvc-map-countries #vermont, #kvc-map-countries #new_hampshire, #kvc-map-countries #cape_island, #kvc-map-countries #greater_boston {
		padding: 20px;
		max-width: 240px;
	}
	
	#kvc-map-countries h3 {
		font-size: 18px !important;
	}
	
	#kvc-map-countries #cape_island, #kvc-map-countries #new_hampshire {
		left: 30%;
	}
}
