/*
Theme Name: Divi Child
Theme URI: http://www.elegantthemes.com/gallery/divi
Description: Divi child theme via FreshySites
Author: FreshySites
Author URI: https://freshysites.com/
Template:  Divi
Version: 1.2.0
*/
/* Add your own styles at the bottom */

/* -- COLORS -- */

.white, 
.white h1, .white h2, .white h3, .white h4, .white h5, .white h6, .white li, .white a,
h1.white, h2.white, h3.white, h4.white, h5.white, h6.white, li.white, a.white, p.white {
	color: #fff;
}

.black, 
.black h1, .black h2, .black h3, .black h4, .black h5, .black h6, .black li, .black a,
h1.black, h2.black, h3.black, h4.black, h5.black, h6.black, li.black, a.black, p.black {
	color: #000;
}

.primary, 
.primary h1, .primary h2, .primary  h3, .primary h4, .primary h5, .primary h6, .primary li, .primary a,
h1.primary, h2.primary, h3.primary, h4.primary, h5.primary, h6.primary, li.primary, a.primary, p.primary {
	color: #32a709;
}

.secondary, 
.secondary h1, .secondary h2, .secondary h3, .secondary h4, .secondary h5, .secondary h6, .secondary li, .secondary a,
h1.secondary, h2.secondary, h3.secondary, h4.secondary, h5.secondary, h6.secondary, li.secondary, a.secondary, p.secondary {
	color: #daf238;
}

.tertiary, 
.tertiary h1, .tertiary h2, .tertiary h3, .tertiary h4, .tertiary h5, .tertiary h6, .tertiary li, .tertiary a,
h1.tertiary, h2.tertiary, h3.tertiary, h4.tertiary, h5.tertiary, h6.tertiary, li.tertiary, a.tertiary, p.tertiary {
	color: #e4debe;
}

/* background colors */
.bg-white, a.bg-white {background-color: #fff;}
.bg-black, a.bg-black {background-color: #000;}
.bg-primary, a.bg-primary {background-color: #32a709;}
.bg-secondary, a.bg-secondary {background-color: #daf238;}
.bg-tertiary, a.bg-tertiary {background-color: #e4debe;}

/* -- END COLORS -- */


/* -- TYPOGRAPHY -- */

.text-lowercase, 
.text-lowercase h1, .text-lowercase h2, .text-lowercase h3, .text-lowercase h4, .text-lowercase h5, .text-lowercase h6, .text-lowercase li, .text-lowercase a {
	text-transform: lowercase !important;
}

.text-uppercase, 
.text-uppercase h1, .text-uppercase h2, .text-uppercase h3, .text-uppercase h4, .text-uppercase h5, .text-uppercase h6, .text-uppercase li, .text-uppercase a {
	text-transform: uppercase !important;
}

.text-capitalize, 
.text-capitalize h1, .text-capitalize h2, .text-capitalize h3, .text-capitalize h4, .text-capitalize h5, .text-capitalize h6, .text-capitalize li, .text-capitalize a {
	text-transform: capitalize !important;
}

.text-transform-none, 
.text-transform-none h1, .text-transform-none h2, .text-transform-none h3, .text-transform-none h4, .text-transform-none h5, .text-transform-none h6, .text-transform-none li, .text-transform-none a {
	text-transform: none !important;
}

.font-weight-bold, 
.font-weight-bold h1, .font-weight-bold h2, .font-weight-bold h3, .font-weight-bold h4, .font-weight-bold h5, .font-weight-bold h6, .font-weight-bold li, .font-weight-bold a {
	font-weight: 700;
}

.font-weight-normal, 
.font-weight-normal h1, .font-weight-normal h2, .font-weight-normal h3, .font-weight-normal h4, .font-weight-normal h5, .font-weight-normal h6, .font-weight-normal li, .font-weight-normal a {
	font-weight: 400;
}

.font-italic {font-style: italic;}

.text-underline-none, .text-underline-none a {text-decoration: none !important;}

.text-underline, .text-underline a {text-decoration: underline !important;}

.text-nowrap, .text-nowrap a {white-space: nowrap !important;}

.text-wrap-normal, .text-wrap-normal a {white-space: normal !important;}

/* -- END TYPOGRAPHY -- */


/* -- TEMPLATE -- */



/* -- END TEMPLATE -- */


/* -- HEADER -- */

/* helps logo to not be pixelated when scaled down */
#logo {
	-webkit-transform: none !important;
	transform: none !important;
}

/* when mobile menu is open, change hamburger icon to x icon */
#et_mobile_nav_menu .mobile_nav.opened .mobile_menu_bar::before {
	content: '\4d';
}

/* makes sub sub menu icon be right arrow instead of down arrow */
#top-menu .menu-item-has-children .menu-item-has-children > a:first-child::after, 
#et-secondary-nav .menu-item-has-children .menu-item-has-children > a:first-child::after {
	content: '5';	
}

/* if parent link of child menu is a deadlink, then make it not clickable */
#main-header #mobile_menu.et_mobile_menu .menu-item-has-children > a[href="#0"] { 
	pointer-events: none;
}

/* - mobile menu toggling elements, injected via jQuery - */

/* make menu list item be relative, to be able to position toggle within this item */
#main-header #mobile_menu.et_mobile_menu .menu-item-has-children {
	position: relative;	
}
/* the new toggle element, which is added via jQuery */
#main-header #mobile_menu.et_mobile_menu .sub-menu-toggle {
	position: absolute;
	background-color: rgba(0,0,0,0.03);
	z-index: 1;
	width: 36px;
	height: 36px;
	line-height: 36px;
	border-radius: 50%;
	top: 4px;
	right: 4px;
	cursor: pointer;
	text-align: center;
}
/* the new toggle element when popped */
#main-header #mobile_menu.et_mobile_menu .sub-menu-toggle.popped {
	background-color: rgba(0,0,0,0.1);
}
/* toggle icon */
#main-header #mobile_menu.et_mobile_menu .sub-menu-toggle::before {
	font-family: "ETmodules" !important;
	font-weight: normal;
	font-style: normal;
	font-variant: normal;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	line-height: 36px;
	font-size: 24px;
	text-transform: none;
	speak: none;
	content: '\33';
}
/* toggle icon when triggered */
#main-header #mobile_menu.et_mobile_menu .sub-menu-toggle.popped::before {
	content: '\32';
}
/* hide sub menus by default */
#main-header #mobile_menu.et_mobile_menu .sub-menu-toggle ~ ul.sub-menu {
	display: none !important;
	padding-left: 0;
}
/* show sub menu when triggered via jQuery toggle, and add slight bg color */
#main-header #mobile_menu.et_mobile_menu .sub-menu-toggle.popped ~ ul.sub-menu {
	display: block !important;
	background-color: rgba(0,0,0,0.03);
}
/* remove sub menu list item left padding, since padding will be on anchors */
#main-header #mobile_menu.et_mobile_menu li li {
	padding-left: 0;
}

/* adjust mobile menu anchors side paddings */
#main-header #mobile_menu.et_mobile_menu li a {
	padding-left: 20px;
	padding-right: 20px;
}
/* indent sub menu */
#main-header #mobile_menu.et_mobile_menu li li a {
	padding-left: 40px;
	padding-right: 20px;
}
/* indent sub sub menus further */
#main-header #mobile_menu.et_mobile_menu li li li a {
	padding-left: 60px;
	padding-right: 20px;
}
/* if mobile menu anchor has toggle, make room for it to fit next to the link */
#main-header #mobile_menu.et_mobile_menu .menu-item-has-children .sub-menu-toggle + a {
	padding-right: 44px;
}

/* - end mobile menu toggling elements - */

/* undo Divi's default styling of mobile menu links that have children */
#main-header #mobile_menu.et_mobile_menu .menu-item-has-children > a {
	background-color: transparent;
	font-weight: inherit;
}

/* make the current page's mobile menu link be different */
#main-header #mobile_menu.et_mobile_menu li.current-menu-item > a {
	font-weight: bolder;
}

/* -- END HEADER -- */


/* -- FOOTER -- */

#freshy_copyright span {
	display: inline-block;
	line-height: 1.5em;
}

/* vertical pipe divider */
#freshy_copyright span.copyright_via {
	width: 33.33333%;
	height: 1px;
	overflow: hidden;
	white-space: nowrap;
	text-indent: 100%;
	background: rgba(255,255,255,0.25);
	vertical-align: middle;
	margin: 10px auto 15px;
	display: block;
}

#freshy_copyright a.copyright_fs {
	display: block;
	vertical-align: middle;
	width: 45px;
	height: 20px;
	background-image: url("/wp-content/uploads/freshysites-logo-white.svg");
	background-repeat: no-repeat;
	background-size: 45px 20px;
	text-indent: 100%;
	white-space: nowrap;
	overflow: hidden;
	margin: 0 auto;
}

/* fix if using Impreza to remove underline */
#freshy_copyright a:hover {
	border: 0 !important;
}

@media (min-width: 600px) {
	/* vertical pipe divider */
	#freshy_copyright span.copyright_via {
		width: 1px;
		height: 20px;
		margin: 0 10px;
		display: inline-block;
	}
	#freshy_copyright a.copyright_fs {
		display: inline-block;
	}
}

@media (max-width: 980px) {
	#footer-bottom .et-social-icons li:first-child {
		margin-left: 0;
	}
}

/* -- END FOOTER -- */


/* -- RESPONSIVE -- */

/* do for mobile */
@media screen and (max-width: 767px) {
	/* hide on mobile */
	.hide-mobile {
		display: none;
	}
}

/* do for desktop */
@media screen and (min-width: 768px) {
	/* hide on desktop */
	.hide-desktop {
		display: none;
	}
}

/* -- END RESPONSIVE -- */


/* -- CHECKLIST -- */

.checklist ul {
    margin: 0;
	padding: 0 !important;
    list-style: none;
}

.checklist ul li {
    position: relative;
    padding-left: 30px;
    margin: 0 0 6px !important;
}

.checklist-columns-2 ul li,
.checklist-columns-3 ul li,
.checklist-columns-4 ul li {
	margin-bottom: 30px !important;
}

@media (max-width: 638px) {
	.checklist-columns-2 ul li,
	.checklist-columns-3 ul li,
	.checklist-columns-4 ul li {
		margin-bottom: 20px !important;
	}
	.checklist-columns-2 ul li:last-child,
	.checklist-columns-3 ul li:last-child,
	.checklist-columns-4 ul li:last-child {
		margin-bottom: 0 !important;
	}
}

/* create columns of list items with this class */
@media (min-width: 639px) {
	.checklist-columns-2 ul::after,
	.checklist-columns-3 ul::after,
	.checklist-columns-4 ul::after {
		content: '';
		clear: both;
		display: table;
	}
	.checklist-columns-2 ul li,
	.checklist-columns-3 ul li,
	.checklist-columns-4 ul li {
		float: left;
		width: 50%;
      	padding-right: 30px;
	}
	.checklist-columns-2 ul li:nth-child(odd),
	.checklist-columns-3 ul li:nth-child(odd),
	.checklist-columns-4 ul li:nth-child(odd){
		clear: both;	
	}
	.checklist-columns-2-alt > ul,
	.checklist-columns-3-alt > ul,
	.checklist-columns-4-alt > ul {
		-moz-column-count: 2;
		-moz-column-gap: 8px;
		-webkit-column-count: 2;
		-webkit-column-gap: 8px;
		column-count: 2;
		column-gap: 20px;
	}
	.checklist-columns-2-alt ul li,
	.checklist-columns-3-alt ul li,
	.checklist-columns-4-alt ul li {
		break-inside: avoid-column;
	}
}
@media (min-width: 981px) {
	.checklist-columns-3 ul li,
	.checklist-columns-4 ul li {
		float: left;
		width: 33.333333%;
	}
	.checklist-columns-3 ul li:nth-child(odd),
	.checklist-columns-4 ul li:nth-child(odd) {
		clear: none;	
	}
	.checklist-columns-3 ul li:nth-child(3n+1),
	.checklist-columns-4 ul li:nth-child(3n+1) {
		clear: both;	
	}
	.checklist-columns-3-alt ul,
	.checklist-columns-4-alt ul {
		-moz-column-count: 3;
		-webkit-column-count: 3;
		column-count: 3;
	}
}
@media (min-width: 1199px) {
	.checklist-columns-4 ul li {
		float: left;
		width: 25%;
	}
	.checklist-columns-4 ul li:nth-child(odd) {
		clear: none;	
	}
	.checklist-columns-4 ul li:nth-child(3n+1) {
		clear: none;	
	}
	.checklist-columns-4 ul li:nth-child(4n+1) {
		clear: both;	
	}
	.checklist-columns-4-alt ul {
		-moz-column-count: 4;
		-webkit-column-count: 4;
		column-count: 4;
	}
}

.checklist ul li::before {
    font-family: 'FontAwesome';
    content: '\f00c';
    width: 20px;
    margin: 0;
    display: inline-block;
    text-align: center;
    position: absolute;
    top: 0;
    left: 0;
    color: #1b9d64;
    /* set font size helps make icon sharper */
    font-size: 22px;
	font-weight: normal;
}

.pluslist ul li::before {
    content: '\f055';
}
.eventlist ul li::before {
    content: '\f274';
}
.locationlist ul li::before {
    content: '\f041';
}
.externallist ul li::before {
	content: '\f14c';	
}
.pdflist ul li::before {
    content: '\f1c1';
	color: red;
}
.userlist ul li::before {
	content: '\f2c0';
}

.checklist-white ul li::before {
	color: #fff;
}

.checklist ul>li>ul li::before {
	content: '\f111';
	font-size: 10px;
}

.checklist-white ul>li>ul li::before {
	content: '\f111';
	font-size: 10px;
	color: #fff;
}
/* -- END CHECKLIST -- */


/* -- DIVI HACKS -- */

/* make parallax image be centered at the start */
.et_parallax_bg {
	background-position: center center;	
}

/* Divi was turning off bottom padding on last paragraphs, when it should be only if it's the last child */
p:last-of-type {
	padding-bottom: 1em;
}
p:last-child {
	padding-bottom: 0;
}

/* if there are more than one paragraphin the Fullwidth Header module, they should have padding */
.et_pb_fullwidth_header p:not(:last-child) {
	padding-bottom: 1em;
}

/* -- END DIVI HACKS -- */


/* -- TESTIMONIALS PLUGIN -- */

/* flip quote so it's an opening quote icon for grid and slider versions */
.b3_archive_testimonials_grid article .b3_quote.grid_quote::before,
.et_pb_module.et_pb_testimonial_slider .et_pb_slides_testi::before {
	-moz-transform: scale(-1,-1);
	-o-transform: scale(-1,-1);
	-webkit-transform: scale(-1,-1);
	transform: scale(-1,-1);
}

/* -- END TESTIMONIALS PLUGIN -- */


/* -- GRAVITY FORMS -- */

/* partially due to Surbma's restyling of the form, 
there now apepars to be excess margin above fields at certain screen sizes,
when two or more inputs have errors side by side (hence the + in the CSS),
so let's remove that top gap */
@media only screen and (max-width: 761px), (max-device-width: 1023px) and (min-device-width: 768px) {
	.gform_wrapper form .gform_body ul.gform_fields li.gfield.gfield_error+li.gfield.gfield_error {
		margin-top: 0;
	}
}

/* we swap out form ajax spinner via PHP Function, and add spinning if its PNG */
img.gform_ajax_spinner[src$=".png"] {
	-webkit-animation: lime-spin 1.5s linear infinite;
	-moz-animation: lime-spin 1.5s linear infinite;
	animation: lime-spin 1.5s linear infinite;
	padding: 0;
	margin-left: 10px;
}
@-moz-keyframes lime-spin { 100% { -moz-transform: rotate(360deg); } }
@-webkit-keyframes lime-spin { 100% { -webkit-transform: rotate(360deg); } }
@keyframes lime-spin { 100% { -webkit-transform: rotate(360deg); transform:rotate(360deg); } }

/* fix for when Date Picker is used */
#ui-datepicker-div:empty {
	margin-top: 0;	
}

/* -- END GRAVITY FORMS -- */


/* -- HELPERS -- */

/* use the "fullwidth-section" class on a SECTION to make a "standard" SECTION truly be fullwidth 
(NOTE: the ROW module settings needs to be set to fullwidth, and the SECTION needs THIS class) */
.fullwidth-section.et_pb_section {
	padding: 0;
}
.fullwidth-section.et_pb_section > .et_pb_row.et_pb_row_fullwidth {
	width: 100% !important;
	max-width: 100% !important;
	padding: 0;
}

/* use the "fullwidth-row" class on a SECTION to make a "full width" ROW truly be fullwidth 
(NOTE: the ROW module settings needs to be set to fullwidth, with no gutters, and the SECTION needs THIS class,
and unlike the class above, THIS class will auto-add padding to the columns) */
.fullwidth-row.et_pb_section {
	padding: 0;	
}
.fullwidth-row.et_pb_section .et_pb_row.et_pb_row_fullwidth {
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
}
/* helps add padding to each column */
.fullwidth-row.et_pb_section .et_pb_row.et_pb_row_fullwidth > .et_pb_column {
	padding: 50px 10%;
}
@media (min-width: 767px) {
	.fullwidth-row.et_pb_section .et_pb_row.et_pb_row_fullwidth > .et_pb_column {
		padding: 80px 6%;
	}
}
/* for some reason Divi removes bottom margin from modules if in column with no gutters, 
so we need to add margins back */
.fullwidth-row.et_pb_section .et_pb_row.et_pb_row_fullwidth.et_pb_gutters1 > .et_pb_column .et_pb_module:not(:last-child) {
	margin-bottom: 30px;
}
@media (min-width: 981px) {
	.fullwidth-row.et_pb_section .et_pb_row.et_pb_row_fullwidth.et_pb_gutters1 > .et_pb_column_2_3 .et_pb_module:not(:last-child) {
		margin-bottom: 4.242%;
	}
	.fullwidth-row.et_pb_section .et_pb_row.et_pb_row_fullwidth.et_pb_gutters1 > .et_pb_column_1_3 .et_pb_module:not(:last-child) {
		margin-bottom: 9.27%;
	}	
}
/* reduce gap between toggles if in fullwidth row */
.fullwidth-row.et_pb_section .et_pb_row.et_pb_row_fullwidth.et_pb_gutters1 > .et_pb_column .et_pb_module.et_pb_toggle:not(:last-child) {
	margin-bottom: 3px;
}

/* -- END HELPERS -- */

/* ---------- CUSTOM CODE - KML - FRESHYSITES - 2019 ------------ */

/* ---------- General ---------- */

/* -- Change the highlighted text color -- */
::selection {
    background-color: #1b9d64;
    color: #fff;
}

::-moz-selection {
    background-color: #1b9d64;
    color: #fff;
}

::-o-selection {
    background-color: #1b9d64;
    color: #fff;
}

::-ms-selection {
    background-color: #1b9d64;
    color: #fff;
}

::-webkit-selection {
    background-color: #1b9d64;
    color: #fff;
}

.et_pb_scroll_top.et-pb-icon {
    background: rgba(27, 157, 100, 0.5);
}

/* Divi column stacking on mobile */

@media all and (max-width: 980px) {

/*** wrap row in a flex box ***/
	
.custom_row {
	display: -webkit-box;
	display: -moz-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	-webkit-flex-wrap: wrap; /* Safari 6.1+ */
	flex-wrap: wrap;	
}
	
/*** custom classes that will designate the order of columns in the flex box row ***/
	
.first-on-mobile {		
	-webkit-order: 1;
	order: 1;
	}
	
.second-on-mobile {
		
	-webkit-order: 2;
	order: 2;
	}
	
.third-on-mobile {
	-webkit-order: 3;
	order: 3;
	}
	
.fourth-on-mobile {
		
	-webkit-order: 4;
	order: 4;
	}
}

/* Slider as header background */
.et_builder_inner_content>.et_pb_section>.et_pb_module {
	padding-top: 0 !important;
}

/* ---------- custom button ---------- */
.et_pb_module a.custom_button_3 {
    background-color: #0149CC; /* Change this color to your own */
    background-image: linear-gradient(to right,#0149CC,#00C6FF,#0149CC); /* Change this color to your own */
    display: inline-block !important;
    cursor: pointer;
    position: relative;
    transition: color 0.35s ease, background-position 0.3s ease-in-out, 
    background-color 0.35s ease, box-shadow 0.3s ease-in-out;
    z-index: 1;
    overflow: hidden;
    background-size: 200% 100%;
    background-position: 0 0;
}

.et_pb_module a.custom_button_3:hover {
    box-shadow: -0.25em 0.25em 2.25em rgba(0,0,0,0.35);
    background-position: 100% 100%;
}

/* ---------- Gravity Forms ---------- */
/* Gravity Forms - make the text darker */
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],
body .gform_wrapper select {
	color: #262626;
}


/* Gravity Forms - button text color */
body .gform_wrapper .gform_footer input.button, 
body .gform_wrapper .gform_page_footer input.button, 
body div.form_saved_message div.form_saved_message_emailform form input[type=submit],
body .gform_wrapper .gform_footer input.button:hover, 
body .gform_wrapper .gform_page_footer input.button:hover, 
body div.form_saved_message div.form_saved_message_emailform form input[type=submit]:hover {
	color: #fff;
}

/* Gravity Forms - no field labels */
body .gform_wrapper .minimal-style ul li.gfield,
body .gform_wrapper .minimal-style .top_label div.ginput_container {
	margin-top: 0;
}

body .gform_wrapper .minimal-style textarea.textarea {
	margin-top: 12px;
}

/* move the button to the left */
body .gform_wrapper .gform_footer {
	text-align: left;
	padding: 0px 0 10px;
    margin: 0px 0 0;
}

/* field styling */
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 {
	background-color: #fff;
    border: 1px solid #707070;
}
.referral #label_2_8_3 {
	white-space: nowrap;
}

/* ---------- fancy divider---------- */
.fancy {
    line-height: 0.5;
    text-align: center;
}
.fancy em {
    display: inline-block;
    position: relative;  
}
.fancy em:before,
.fancy em:after {
    content: "";
    position: absolute;
    height: 0;
    border-top: 1px solid #fff;
    top: 9px;
    width: 300px;
}
.fancy em:before {
    right: 100%;
    margin-right: 15px;
}
.fancy em:after {
    left: 100%;
    margin-left: 15px;
}

.fancy.green-h em:before,
.fancy.green-h em:after {
	border-top: 1px solid #1b9d64;
}
/* responsiveness */
@media (max-width: 767px) {
	.fancy em:before,
	.fancy em:after {
		width: 100px;
	}	
}

/* ---------- Images - box shadow ---------- */
.et_pb_text_inner img {
	box-shadow: 4px 2px 5px 0px rgba(1, 28, 16, 0.25098039);
}

/* exceptions */
.no-img-shadow .et_pb_text_inner img,
.no-img-shadow img {
	box-shadow: none;
}

/* a la carte */
.image-shadow img {
	box-shadow: 4px 2px 5px 0px rgba(1, 28, 16, 0.25098039);
}

/* ---------- Divi - Gallery module - hide image title---------- */
.mfp-bottom-bar .mfp-title {
	display: none;
}

/* blurry thumbnails */
#main-content #et-boc #office .et_pb_gallery .et_pb_gallery_items .et_pb_gallery_item.et_pb_grid_item .et_pb_gallery_image img {
	object-fit: scale-down !important;
}
/* ---------- iframes on mobile---------- */
@media (max-width: 768px) {
	body iframe {
		height: 300px;
	}	
}

/* ---------- Top bar ---------- */
/*change icon color */
#top-header #et-info #et-info-phone:before,
#top-header #et-info #et-info-email:before,
.et-social-icons li.et-social-icon a.socicon:before {
	color: #1b9d64;
}

/* ---------- Header ---------- */
@media (min-width: 981px) and (max-width: 1023px) {
	#top-menu-nav #top-menu li a {
		font-size: 10px;
	}
	

	#top-menu-nav #top-menu li {
		padding-right: 3px;
	}
}

@media (min-width: 1024px) and (max-width: 1279px) {
	#top-menu-nav #top-menu li a {
		font-size: 11px;
	}
	
	#top-menu-nav #top-menu li {
		padding-right: 3px;
	}
}

@media (min-width: 1280px) and (max-width: 1365px) {
	#top-menu-nav #top-menu li a {
		font-size: 14px;
	}
}

/* logo on mobile */
@media (max-width: 980px) {
	body.et_header_style_left #logo, 
	body.et_header_style_split #logo {
		max-width: 60%;
	}
}

/* mobiel fix space above header */
@media (max-width: 767px) {
	body.et_fixed_nav.et_secondary_nav_two_panels #main-header, 
	body.et_non_fixed_nav.et_transparent_nav.et_secondary_nav_two_panels #main-header {
		    top: 30px !important;
	}
}
/* ---------- Slider ---------- */
/* button transitions */
.slider-button .n2-ss-button-container a {
	transition: all 0.3s ease-out !important;
}


/* responsive slider sizing */
@media (min-width: 981px) and (max-width: 1642px) {
	.n2-ss-slider .n2-ss-layer-content .n2-ss-layer.h-logo-slider img {
		width: 50% !important;
	}


	.n2-ss-layer-row-inner .n2-ss-layer .n2-ss-layer-col .slider-heading {
		font-size: 70% !important;
	}
}

@media (max-width: 980px) {
	.n2-ss-slider .n2-ss-layer-content .n2-ss-layer.h-logo-slider img {
		width: 70% !important;
	}
	
	.n2-ss-layer-row-inner .n2-ss-layer .n2-ss-layer-col .slider-heading {
		font-size: 40% !important;
	}
}

/* ---------- Slider quicklink buttons on the right ---------- */
/*above the slider*/
.slider-section {
	z-index: 0;
}

/* make quick links go below other sections */
.z-index-top {
	z-index: 6;
}

/* position buttons in slider section */
.slider-buttons {
    top: -556px;
}

/* button row moved up */
.slider-buttons-row {
	position: fixed;
}

/* stop the links from showing over the footer, se JS in Settings > Header and Footer */
.scroll-fixed {
	bottom: 330px;
}

/* slider button hovers */
.slider-buttons .et_pb_image {
	position: relative;
    left: 191px;
	transition: all 0.3s ease-out !important;
}

.slider-buttons .et_pb_image:hover {
	position: relative;
    left: 170px;
}

/* repsonsiveness */
@media (min-width: 1620px) and (max-width: 1788px) {
	.slider-buttons {
    	top: -525px;
	}
	
	.slider-buttons .et_pb_image {
		left: 171px;
	}
}

@media (min-width: 1460px) and (max-width: 1619px) {
	.slider-buttons {
    	top: -480px;
	}
	
	.slider-buttons .et_pb_image {
		left: 156px;
	}
}

@media (min-width: 1367px) and (max-width: 1459px) {
	.slider-buttons {
    	top: -435px;
	}
	
	.slider-buttons .et_pb_image {
		left: 140px;
	}
}

@media (min-width: 1281px) and (max-width: 1366px) {
	.slider-buttons {
    	top: -408px;
	}
	
	.slider-buttons .et_pb_image {
		left: 131px;
	}
}

@media (min-width: 1170px) and (max-width: 1280px) {
	.slider-buttons {
    	top: -383px;
	}
	
	.slider-buttons .et_pb_image {
		left: 123px;
	}
}

@media (min-width: 1050px) and (max-width: 1169px) {
	.slider-buttons {
    	top: -350px;
	}
	
	.slider-buttons .et_pb_image {
		left: 111px;
	}
}

@media (min-width: 981px) and (max-width: 1049px) {
	.slider-buttons {
    	top: -315px;
	}
	
	.slider-buttons .et_pb_image {
		left: 100px;
	}
}

/* hide on mobile */
@media (max-width: 980px) {
	.slider-buttons-row {
    	display: none;
	}
}

/* Slider - google badge 
@media (min-width: 1750px) {
	.google-badge {
		bottom: -90px;
		left: 40px;
	}
}

@media (min-width: 1550px) and (max-width: 1749px) {
	.google-badge {
		    bottom: -50px;
	}
}

@media (min-width: 1210px) and (max-width: 1549px) {
	.google-badge {
		    bottom: -10px;
	}
}

@media (min-width: 981px) and (max-width: 1209px) {
	.google-badge {
		    bottom: 5px;
	}
}

@media (max-width: 980px) {
	.google-badge .n2-ss-layer-col .n2-ss-layer .n2-notow div {
		    text-align: center;
			top: 0;
	}
}
*/
/* ---------- Push effect hover ---------- */
.hvr-push .et_pb_image {
  display: inline-block;
  vertical-align: middle;
  -webkit-transform: perspective(1px) translateZ(0);
  transform: perspective(1px) translateZ(0);
  box-shadow: 0 0 1px rgba(0, 0, 0, 0);	
}

.hvr-push .et_pb_image:hover, 
.hvr-push .et_pb_image:focus, 
.hvr-push .et_pb_image:active {
  -webkit-animation-name: hvr-push;
  animation-name: hvr-push;
  -webkit-animation-duration: 0.3s;
  animation-duration: 0.3s;
  -webkit-animation-timing-function: linear;
  animation-timing-function: linear;
  -webkit-animation-iteration-count: 1;
  animation-iteration-count: 1;
}

@-webkit-keyframes hvr-push {
  50% {
    -webkit-transform: scale(0.8);
    transform: scale(0.8);
  }
  100% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
}
@keyframes hvr-push {
  50% {
    -webkit-transform: scale(0.8);
    transform: scale(0.8);
  }
  100% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
}

/* ---------- Home - three boxes ---------- */
/* box shadow */
.home-three-boxes .et_pb_column {
	box-shadow: 0px 0px 12px 2px #d8d8d8;
	transition: all 0.3s ease-in-out;
	-webkit-transform: perspective(1px) translateZ(0);
    transform: perspective(1px) translateZ(0);
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
    -webkit-transition-property: transform;
    transition-property: transform;
    -webkit-transition-timing-function: ease-out;
    transition-timing-function: ease-out;
}

/* hover */
.home-three-boxes .et_pb_column:hover {
    -webkit-transform: translateY(-8px);
    transform: translateY(-8px);
}

/* fix for first column */
.et_pb_row_2>.et_pb_column:nth-child(1) {
	transition: all 0.3s ease-in-out !important;
}

/* select bolded/colored font */
.home-three-boxes .et_pb_column .et_pb_text_inner em {
	font-style: normal;
	color: #1b9d64;
	text-transform: uppercase;
}


/* ---------- Home - centered logo icon  ---------- */
@media (max-width: 320px) {
	/*.et_pb_row.home-two-columns-second .et_pb_column.column-1 {
		padding-bottom: 130px !important;
	}
	
	.et_pb_row.home-two-columns-second .et_pb_column.column-2 {
		padding-top: 130px !important;
	}*/
	
	.center-logo-icon-second {
		position: absolute;
    	top: 22%;
	}
}

@media (min-width: 321px) and (max-width: 381px) {
	/*.et_pb_row.home-two-columns-second .et_pb_column.column-1 {
		padding-bottom: 130px !important;
	}
	
	.et_pb_row.home-two-columns-second .et_pb_column.column-2 {
		padding-top: 130px !important;
	}*/
	
	.center-logo-icon-second {
		position: absolute;
    	top: 25%;
	}
}

@media (min-width: 382px) and (max-width: 458px) {
	/*.et_pb_row.home-two-columns-second .et_pb_column.column-1 {
		padding-bottom: 130px !important;
	}
	
	.et_pb_row.home-two-columns-second .et_pb_column.column-2 {
		padding-top: 130px !important;
	}*/
	
	.center-logo-icon-second {
		position: absolute;
    	top: 27%;
	}
}

@media (min-width: 459px) and (max-width: 535px) {
	/*.et_pb_row.home-two-columns-second .et_pb_column.column-1 {
		padding-bottom: 130px !important;
	}
	
	.et_pb_row.home-two-columns-second .et_pb_column.column-2 {
		padding-top: 130px !important;
	}*/
	
	.center-logo-icon-second {
		position: absolute;
    	top: 30%;
	}
}

@media (min-width: 536px) and (max-width: 589px) {
	/*.et_pb_row.home-two-columns-second .et_pb_column.column-1 {
		padding-bottom: 130px !important;
	}
	
	.et_pb_row.home-two-columns-second .et_pb_column.column-2 {
		padding-top: 100px !important;
	}*/
	
	.center-logo-icon-second {
		position: absolute;
    	top: 31%;
	}
}

@media (min-width: 590px) and (max-width: 689px) {
	/*.et_pb_row.home-two-columns-second .et_pb_column.column-1 {
		padding-bottom: 130px !important;
	}
	
	.et_pb_row.home-two-columns-second .et_pb_column.column-2 {
		padding-top: 130px !important;
	}*/
	
	.center-logo-icon-second {
		position: absolute;
    	top: 33%;
	}
}

@media (min-width: 690px) and (max-width: 767px) {
	/*.et_pb_row.home-two-columns-second .et_pb_column.column-1 {
		padding-bottom: 130px !important;
	}
	
	.et_pb_row.home-two-columns-second .et_pb_column.column-2 {
		padding-top: 100px !important;
	}*/
	
	.center-logo-icon-second {
		position: absolute;
    	top: 35%;
	}
}

@media (min-width: 768px) and (max-width: 980px) {
	.center-logo-icon-second {
		position: absolute;
    	top: 25%;
	}
}

@media (min-width: 981px) {
	.center-logo-icon-second {
		position: absolute;
    	top: 33%;
	}
	
	.center-logo-icon-second .et_pb_image_wrap {
		left: 0.2%;
	}
}

/* ---------- Footer ---------- */
/* no bullets */
#footer-widgets .footer-widget li {	
	padding-left: 0;
}

#footer-widgets .footer-widget li:before {	
	content: none;
}

/* border */
#footer-bottom {
	border-top: 1px solid #1b9d64;
}

/* full width bottom footer */
#footer-bottom .container{
	margin-right: 2.773%; 
	margin-left: 2.773%; 
	width:94.454%!important;
	max-width: 94.454%;
}

/* custom container width */
#main-footer .container {
	max-width: 1400px;
}

.footer-info a {
	white-space: nowrap;
}

/* ---------- Interior pages ---------- */
.interior-header {
	z-index: 12;
}

.interior-header .interior-heading {
	position: relative;
    top: 40px;
}


/* -------------- Home Page 3 Squares ------------- */

@media (min-width: 981px) and (max-width: 1343px) {
	.expert-care .clear-choice {
		padding-top: 70px!important;
	}
	.expert-care .specialty-care {
		padding-top: 60px!important;
	}
}

/* ---------- Your Treatment page ---------- */
#examples .before-after-before,
#examples .before-after-after {
	text-align: center;
}



/* ---- Homepage textimonial resizing ---- */
@media (min-width: 981px) and (max-width: 1280px) {
	.kid-testimonials .iheu-info h3 {
    	font-size: 14px!important;
	}
}
@media (min-width: 480px) and (max-width: 700px) {
	.kid-testimonials .iheu-info h3 {
    	font-size: 11px!important;
	}
}
@media (min-width: 300px) and (max-width: 479px) {
	.kid-testimonials .iheu-info h3 {
    	font-size: 18px!important;
	}
}

/* ---------- Password protected pages ---------- */
@media (min-width: 768px) {
	article.post-password-required .et_pb_section {
		width: 60%;
		margin: 150px auto;
	}	
}

@media (max-width: 767px) {
	article.post-password-required .et_pb_section {
		width: 80%;
		margin: 50px auto;
	}	
}

/* finance page */
/*----Specific Positioning/styling of Fields(desktop)----*/

/* new site */
/*--3% Reduction Field--*/
.et_pb_code_inner iframe#calc-59364 .ng-scope .calculoid-container .calculoid-fields div.gridster ul li#calculoid-field-289617m {
	background: #003920;
    left: 0%!important;
    width: 100%!important;
    top: 0px!important;
    height: 70px!important;
}

.gridster ul li.calculoid-field-item h2.calculoid-field-title {
	float: left;
    margin-left: 36%;
    color: #8da79b;
    padding-right: 10px;
}

li.calcNewInputDesign.calculoid-field-type-formula .calculoid-box div.ng-scope #field_289617 {
	border: none;
	background-color: transparent;
}

/* old site */
li#calculoid-field-122968 {
    background: #003920;
    left: 0%!important;
    width: 100%!important;
    top: 0px!important;
    height: 70px!important;
}

li#calculoid-field-122968 h4.calculoid-field-title.ng-scope.ng-binding {
    float: left;
    margin-left: 36%;
    color: #8da79b;
    padding-right: 10px;
}

div#field_122968 {
    color: #fff;
    font-size: 34px;
    font-weight: bold;
}
/*--End 3% Reduction Field--*/

/*--You Save Field--*/
li#calculoid-field-122969 {
    background: #003920;
    left: 0%!important;
    width: 100%!important;
    top: 40px!important;
    height: 70px!important;
}

li#calculoid-field-122969 h4.calculoid-field-title.ng-scope.ng-binding {
    float: left;
    margin-left: 43%;
    color: #8da79b;
    padding-right: 10px;
    font-style: italic;
}

div#field_122969 {
    color: #fff;
    font-size: 34px;
    font-weight: bold;
    font-style: italic;
    text-decoration: underline;
}
/*--End You Save Field--*/

/*--Fin Responsibility Field--*/
li#calculoid-field-110005 {
    left: 0%!important;
    width: 100%!important;
    top: 122px!important;
    height: 70px!important;
}

li#calculoid-field-110005 h4.calculoid-field-title.ng-scope.ng-binding {
    float: left;
    padding-right: 10px;
    padding-left: 40px;
    font-weight: bold;
}

.calculoid-container input[type=text] {
    font-size: 30px!important;
    line-height: 38px!important;
    color: #000!important;
    font-weight: bold;
    margin-top: -8px!important;
}

li#calculoid-field-110005 span.prefix.ng-binding {
    font-size: 30px;
    color: #000;
    padding-right: 5px;
    font-weight: bold;
}
/*--End Fin Responsibility Field--*/

/*--Monthly Field--*/
li#calculoid-field-110004 {
    top: 180px!important;
    height: 140px!important;
}

li#calculoid-field-110004 h4.calculoid-field-title.ng-scope.ng-binding {
    padding-right: 10px;
    padding-left: 28px;
    font-weight: bold;
}

/*--End Monthly Field--*/

/*--Term Field--*/
li#calculoid-field-110024 {
    top: 315px!important;
    height: 140px!important;
}

li#calculoid-field-110024 h4.calculoid-field-title.ng-scope.ng-binding {
    padding-right: 10px;
    padding-left: 28px;
    font-weight: bold;
}
/*--End Term Field--*/


/*--Initial Field--*/
li#calculoid-field-110025 {
    top: 420px!important;
    height: 140px!important;
}

li#calculoid-field-110025 h4.calculoid-field-title.ng-scope.ng-binding {
    padding-right: 10px;
    padding-left: 28px;
    font-weight: bold;
    float: left;
}

div#field_110025 {
    font-size: 30px;
    color: #000;
    font-weight: bold;
}
/*--End Initial Field--*/

/*-----------------------TABLET RESPONSIVE-land----------------------------*/
@media screen and (max-width: 1024px) {
  li#calculoid-field-122968 h4.calculoid-field-title.ng-scope.ng-binding { /*-3%reduc-*/
    margin-left: 24%;
}
  
    li#calculoid-field-122969 h4.calculoid-field-title.ng-scope.ng-binding { /*-save-*/
    margin-left: 37%;
}
}

/*-----------------------TABLET RESPONSIVE-port----------------------------*/
@media screen and (max-width: 768px) {
  li#calculoid-field-122968 h4.calculoid-field-title.ng-scope.ng-binding { /*-3%reduc-*/
    margin-left: 0%;
}
  
    li#calculoid-field-122969 h4.calculoid-field-title.ng-scope.ng-binding { /*-save-*/
    margin-left: 0%;
}
  
  li#calculoid-field-110005 {
    height: 65px;
   padding-bottom: 0px;
  }
  
  /*--lora issue--*/
  li#calculoid-field-110005 {
        top: 150px!important;
  }
  
  li#calculoid-field-110004 {
    top: 200px!important;
  }
  
  li#calculoid-field-110024 {
    top: 330px!important;
  }
  
  li#calculoid-field-110024 {
    top: 330px!important;

  }
}

/*-----------------------MOBILE RESPONSIVE-port----------------------------*/
@media screen and (max-width: 414px) {
div#field_122968, div#field_122969 {
    font-size: 22px;
}
  
  li#calculoid-field-122969, li#calculoid-field-122968, li#calculoid-field-110005, li#calculoid-field-110024, li#calculoid-field-110025 {
    top: 0px!important;
    margin: 0px!important;
}
  
  li#calculoid-field-110005 h4.calculoid-field-title.ng-scope.ng-binding, li#calculoid-field-110004 h4.calculoid-field-title.ng-scope.ng-binding {
    padding-left: 0px;
  }
  
  li#calculoid-field-110004 {
    top: 0px!important;
}
}

/*--Height of Calculator--*/
.ng-scope.ng-isolate-scope.gridster.gridster-desktop.gridster-loaded {
    height: 600px;
}

.calculoid-fields {
    font-family: 'open sans';
}

.page-id-1630 .wpb_text_column.wpb_content_element.white {
    margin-bottom: 15px;
}

/*-Logo/header for Calculator Page-*/
.page-id-1630 div#site-logo:after {
    content: 'Hatala Orthodontics, P.C.';
    font-size: 26px;
    font-style: italic;
    top: 31px!important;
    position: absolute;
    left: 118px;
    text-align: left!important;
    width: 240px;
}

.page-id-1630 .nav-main .site-logo {
    position: relative;
    text-align: center;
    margin-top: 24px;
    margin-bottom: 24px;
    letter-spacing: 1px;
    width: 117px;
}

/*-tablet-*/
@media screen and (max-width: 1024px) {
  .page-id-1630 .nav-main .site-logo {
    margin-top: 0;
    margin-bottom: 0;
  }
  
 .calculoid-container input[type=number], .calculoid-container input[type=text], .calculoid-container select {
    height: 42px!important; /*--taller input box for financial responsibility--*/
}
}

/*-mobile-*/
@media screen and (max-width: 414px) {
.page-id-1630 .site-logo img {
    max-height: 30px;
}

.page-id-1630 .nav-main .site-logo {
  width: auto!important;
}

.page-id-1630 div#site-logo:after {
    content: 'Hatala Orthodontics, P.C.';
    font-size: 17px;
    top: 20px!important;
    left: 40px;
    text-align: left!important;
}
  
  .page-id-1630 .site-main {
    margin-top: -103px;
}
}

/*-End Logo/header for Calculator page-*/

.page-id-1630 h1 {
    font-size: 43px!important;
}

.jslider div.jslider-label {
  font-size: 24px!important;
  color: #000;
}

.slider-input-wrapper span.ng-binding, .jslider-value.ng-binding span {
    font-size: 20px;
    font-weight: bold!important;
    color: #000!important;
    font-family: 'open sans';
}


h4.calculoid-field-title.ng-scope.ng-binding {
    font-size: 27px!important;
}

h1.ng-scope.ng-binding {
    display: none;
}

.page-id-1630 nav#site-navigation, .page-id-1630 nav#site-navigation2, .page-id-1630 nav#site-navigation3, .page-id-1630 a#rum_sst_tab, .page-id-1630 .footer-nav {
    display: none;
}

.page-id-1630 .site-main {
  padding-top: 0px;
}

.calculoid-container .ng-scope a {
    display: none;
}

.jslider-pointer, .jslider.sliderCSS div.jslider-bg i.before, .jslider.sliderCSS div.jslider-bg i.after {
    background-color: #FFE700!important;
}

.jslider-pointer {
    background-color: #FFF!important;
}

h4.calculoid-field-title.ng-scope.ng-binding {
    margin-top: 0px;
    margin-bottom: 15px;
    font-weight: normal;
}

@media screen and (max-width: 768px) {
.page-id-1630 .wpb_text_column.wpb_content_element {
    padding-top: 0px!important;
}
  
  .nav-main {
    margin-bottom: 0px;
}
  
.page-id-1630 .vc_column-inner {
    padding-top: 0px!important;
}
  
  span.prefix.ng-binding {
    padding-right: 3px;
}
  }

@media screen and (max-width: 414px) {

  .page-id-1630 div#site-logo {
    margin-bottom: 0px!important;
}
  
  .page-id-1630 .nav-main {
    padding-top: 141px;
}
    
  .page-id-1630 .site-logo {
    left: 0%;
  }
    
    .page-id-1630 .nav-main .row .col-md-4.col-sm-6:nth-child(2) {
    width: 100%;
}
  
  h4.calculoid-field-title.ng-scope.ng-binding {
    font-size: 18px!important;
    margin-bottom: 3px;
}
  
  .wpb_text_column.wpb_content_element.vc_custom_1468423367717 {
    margin-top: -21px;
}
  
  .calculoid-field-item .jslider.sliderCSS div.jslider-pointer {
    width: 30px!important;
    height: 30px!important;
    border-radius: 50%;
    top: -12px!important;
  }
  
  .jslider div.jslider-value {
    top: -28px!important;
}
}

@media screen and (min-width: 768px) {
.slider-input-wrapper span.ng-binding, .jslider-value.ng-binding span {
    font-size: 30px;
    line-height: 0px;
  }
}

/*--Mobile for top position--*/
/*-mobile-*/
@media screen and (max-width: 414px) {
 
  #calculoid-field-83327 h4.calculoid-field-title.ng-scope.ng-binding {
    padding-bottom: 10px!important;
}
}

/*---------Positioning for Calculoid fields - Tablet------------------*/
@media screen and (max-width: 1024px) { 
  .ng-scope.ng-isolate-scope.gridster.gridster-desktop.gridster-loaded {
    height: 620px!Important;
}
  
}


/*-------------------------------------------------------End Calculoid/Page--------------------------------------------------------------------------*/

