/*
Theme Name: Edinburg Square
Author: Christina Reeser
Author URI: https://www.adoconnor.com
Description: This is a base accessibility template
Tags: accessibility-ready, two-columns, custom-logo, custom-menu, featured-images

*/

/*

Edita Regular
font-family: edita,serif;
font-weight: 400;
font-style: normal;

Edita Bold
font-family: edita,serif;
font-weight: 700;
font-style: normal;

Brioso Pro Semibold Italic
font-family: brioso-pro,serif;
font-weight: 600;
font-style: italic;

*/


@import url("css/gff5tzu.css");


body{
background-color: #fff;
font-family: edita,serif;
font-weight: 400;
font-style: normal;
font-size: 24px;
}

h1,h2,h3,h4,h5,h6, .h1,.h2,.h3,.h4,.h5,.h6{
  color: #313131;
  font-family: edita,serif;
} 

h2,h3,h4,h5,h6, .h1,.h2,.h3,.h4,.h5,.h6{
color: #074A6A;
font-family:"sofia-pro";
font-weight: 600;
margin: 40px 0;
}
 
.page-title { text-align: center; font-weight: bold; font-size: 55px; margin-top: 4rem;}

h2, .h2 { font-size: 44px; }
h3, .h3 {
font-family:"sofia-pro";
font-weight: 500;
font-size: 35px;
letter-spacing: -0.7px;
font-style: normal;
}

a {
  color: #007DB4;
  text-decoration: underline;
  font-weight: bold;
	transition: all 1s ease;
	-webkit-transition: all 1s ease;
	-moz-transition: all 1s ease;
}

.site-title a{
  color:#007DB4;
  text-decoration: none;
}

a:hover, .site-title a:hover, a:focus, .site-title a:focus{
  color:#074A6A;
}

p {
    margin-top: 0;
    margin-bottom: 2rem;
}

.p-4 {
    padding-bottom: 0 !important;
}

.btn-primary, .button,
input[type="submit"], button {
  background-color: #007DB4 !important;
  margin: 0 auto;
  border-radius: 4px;
  transition: all 1s ease;
  font-family:"sofia-pro";
  text-decoration: underline;
}

.mobile-footer { display: none; }

.menu-open #content,
.menu-open #es-footer,
.menu-open footer,
.menu-open .hero,
.menu-open .home-slide-container  { display: none;}


.menu-open #pi-navigation { height: 100%;}

/* HOMEPAGE SLIDER */

.home-slide-container { margin: 0; padding: 0;}
.home-slide { position: relative; background-color: #F0EFEB; width: 100%; overflow: hidden; }
.slide-mobile { display:none;}
.slide img {
  max-width: 100%;
  height: auto;
}

@media only screen and (max-width:1400px) {
	.home-header-content p { font-size: 24px; }
}

@media only screen and (max-width:1200px) {
	.home-header-content p { font-size: 22px; }
}

@media only screen and (max-width:960px) {
	.home-header-content p { font-size: 18px; }
}

@media only screen and (max-width:767px) {
	.slide-desktop { display:none;}
	.slide-mobile { display:block;}
	.slide-text { order: 2;}
	.home-header-content p { font-size: 24px; }
}




/* FORM ELEMENTS */
input, select, option, .gform_wrapper select option, label,
.gform_legacy_markup_wrapper .gform_footer input.button, 
.gform_legacy_markup_wrapper .gform_footer input[type="submit"] { 
	font-family:"sofia-pro" !important;
	font-size: 18px !important;
	transition: all 1s ease;
}

/* FORM ELEMENTS */
input, select, option, 
.gform_legacy_markup_wrapper .gform_footer input.button, 
.gform_legacy_markup_wrapper textarea.medium,
.gform_legacy_markup_wrapper .gform_footer input[type="submit"] { 
	border: 1px solid #C3C3C3;
	border-radius: 4px;
	padding: 8px 4px;
	font-family:"sofia-pro";
}

.gform_legacy_markup_wrapper input:not([type="radio"]):not([type="checkbox"]):not([type="submit"]):not([type="button"]):not([type="image"]):not([type="file"]) {
    padding: 10px 4px !important;
}

.gform_legacy_markup_wrapper select {
   padding: 12px !important;
}



select {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	background-image:
	linear-gradient(45deg, transparent 50%, gray 50%),
	linear-gradient(135deg, gray 50%, transparent 50%),
	linear-gradient(to right, #fff, #fff);
	background-position:
	calc(100% - 20px) calc(1em + 5px),
	calc(100% - 15px) calc(1em + 5px),
	calc(100% - 2.5em) 0.5em;
	background-size:
	5px 5px,
	5px 5px,
	1px 1.5em;
	background-repeat: no-repeat;
}



.gform_footer { text-align: center;}

input[type="checkbox"] { 
    position: absolute;
}
input[type="checkbox"] ~ label { 
    padding-left:1.8em;
    display:inline-block;
}

.ginput_container_consent { margin: 40px 0 !important;}

.button:hover, button:hover {
  background-color: #0F3054 !important;
}

input[type="submit"], button{
  background-color: #313131;
  border:0px;
  padding:10px 30px !important;
  border-radius:2px;
  color:#fff;
  text-decoration: underline;
  font-size: 18px !important;
  min-width: 278px;
  margin-top: 40px !important;
}

input[type="submit"]:hover, button:hover{
background-color:#0000ff;
color:#fff;
}

input[type="submit"]:focus, button:focus{
box-shadow: 0 0 0 0.2rem rgba(38,143,255,.5);
}


.gfield_wrapper *, .gfield_label { font-family: sofia-pro; font-size: 18px; font-weight: normal !important;}

.gform_wrapper label.gfield_label, .gform_wrapper legend.gfield_label {
    font-weight: 400 !important;
    font-size: 18px !important;
    color: #333333;
}


/* HOME PAGE CONTENT */

/*
.home-slide, .slick { max-height: 600px; }
.slick img { height: 100%; width: auto; }
*/



.home-header-container { 
background: #F8EBDC 0% 0% no-repeat padding-box;

}

.home-header-container .wp-block-column:not(:first-child) {
    margin-left: 0em;
}


.home-header-container img, .hero img { max-width: 100%; width: 100%; height: auto;}
.home-header-content { font-size: 30px; padding: 0 4rem;}

.home-header-content span { 
display: block;
font: italic normal 600 53px/53px Brioso Pro;
margin-top: 20px;
font-family: brioso-pro,serif;
font-weight: 600;
font-style: italic;
letter-spacing: -1.06px;
color: #245149;
 }

.home-featured { padding: 7rem 20rem 15rem 20rem;}
.home-featured p { max-width: 785px; padding: 20px 0; margin: 0 auto;}



.home-feature-boxes { 
	margin-top: 10rem;
	}

.home-feature-boxes a { 
	color: #0F3054 !important;
	display: block;
	font-size: 35px;
	margin-bottom: 0 !important;
	padding: 15px 0;
	transition: all 1s ease;
}

.home-feature-boxes .wp-block-column:hover .has-white-background-color { 
	opacity: 0 !important; 
}

.home-feature-boxes .wp-block-column:hover a { 
	color: #fff !important;
	background-color:#007DB4 !important;
}


.home-feature-boxes .wp-block-cover { 
	padding: 0; 
}

.home-feature-boxes .has-white-background-color { 
	transition: all 1s ease;
}

 
.home-feature-boxes .has-white-background-color:hover { 
	background-color: transparent;
}




/*
.home-feature-boxes .has-white-background-color:hover p { 
	color: #fff !important;
	background-color:#007DB4 !important;
	border: 10px solid red;
}
*/

.home-feature-boxes .wp-block-cover .wp-block-cover__inner-container {
	color: #0F3054 !important;
	font-family:"sofia-pro";
}

.home-feature-boxes .wp-block-cover .wp-block-cover__inner-container p {
	margin: 0;
	padding: 15px 0;
}


.home-featured a {
  color: #007DB4 !important;
}

.home-featured a:hover {
  color: #074A6A !important;
}



.home-featured p { font-size: 30px;}

/* FLOORPLANS */

.floorplans .wp-block-column  { padding:40px 0; 
	transition: all 1s ease;
	}
.floorplans a { font-size: 30px; font-weight: bold}
.floorplans p { margin-bottom: 0; padding-bottom:0; }

.floorplans p.has-text-align-center { 
	transition: all 1s ease;
	-webkit-transition: all 1s ease;
	-moz-transition: all 1s ease;
}


.floorplans .wp-block-column:hover  { background-color: #007DB4 !important}
.floorplans .wp-block-column:hover a,
.floorplans .wp-block-column:hover p { color: #fff}

.ds-vertical-align {   
	align-items: center;
	justify-content: center;
  }

 .skinny, article { max-width: 872px; margin: 0 auto;}

.section_contact { 
  background-color: #F0EFEB;
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  padding: 60px;
  margin-bottom: 0px;
  margin-top: 60px;
}

body:not(.home) #content img{
max-width:100%;
width: 100%;
height: auto;
}

.home-header.mobile { display: none; }

/** comment */
#comments ol{
  list-style:none;
}

#comments .comment{
  padding:10px;
  border:1px solid #ccc;
  margin-bottom:10px;
}
/** end */

/** skip link**/
.skip-link {
  position: fixed !important;
  z-index: 200000;
  top: 2px;
  left: 2px;
  opacity: 0;
  transition: all .4s;
}

.skip-link:focus{
  opacity: 1;
}
/* end */

/** Header */
.header-container { max-width: 100%; padding: 0 4rem; }

.main-header { 
    display: block;
    /*border: 1px solid blue;*/
    height: 160px;
}

#pi-navigation {
    position: fixed;
    width: 100%;
    top: 0;
    height: 160px;
    box-shadow: 0 3px 10px rgb(0 0 0 / 0.2);
    background-color: #fff;
    z-index: 99990;
    
}

.custom-logo{
  max-width:100%;
  height:auto;
}
/* End header */

/** Menu */
#pi-navigation .navbar-nav li{
  list-style:none;
  position:relative;
}

#pi-navigation .navbar-nav{
  display:flex;
}

#pi-navigation .navbar-nav > li > a{
  color:#313131;
  display:block;
  padding:1.4rem 1.6rem;
  font-weight:bold;
}

#pi-navigation .navbar-nav > li > a:hover, #pi-navigation .navbar-nav > li.current-menu-item > a{
  
}

.pi-close{
  color:#313131;
  font-size:32px;
}

#pi-navigation .navbar-nav > li >  ul{
  position:absolute;
  transition:opacity 200ms linear;
  margin-top:10px;
  padding-top:4px;
  padding-bottom:4px;
   position:absolute;
  background-color:#065465;
  padding-left:0px ;
  opacity: 0;
    left: -9999px;
    z-index: 99990;
  min-width: 200px;
}

figcaption { text-align: center; font-family: Edita Bold; font-size: 18px; text-transform: none; line-height: 1.2}
figcaption strong { text-align: center; font-family: Edita Bold; font-size: 18px !important;text-transform: none;  }

#pi-navigation .navbar-nav > li >  ul:before{
  content:"";
  position:absolute;
  top:-10px;
  left:20px;
  font-size:12px;
  color:#065465;
  
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 10px 10px 10px;
  border-color: transparent transparent #065465 transparent;
}

#pi-navigation .navbar-nav > li:hover >  ul,#pi-navigation .navbar-nav > li.is-focused >  ul, #pi-navigation .navbar-nav > li > a:focus+ul{
  display:block;
  opacity:1;
  left: 0;
    right: auto;
    top: auto;
    bottom: auto;
 
  /* width: 200px; */
}

#pi-navigation .navbar-nav > li >  ul > li > a{
  display:block;
  padding:0.4rem 1rem;
  color:#fff;
  text-align: left;
  text-decoration:none;
  transition:all 0.2s;
  font-size:14px;
}

#pi-navigation .navbar-nav > li >  ul > li{
  padding:0 4px
}

#pi-navigation .navbar-nav > li >  ul > li > a:hover{
  background-color:rgba(0, 0, 0, 0.1);
}


/** End */

/** Main */
.pi-box{

}
/** End */

/** Widget */
.widget-content ul{
  padding-left:20px;
}
/** End */

/** Footer */
#es-footer, footer { background-color: #0F3054; color: #fff;  }
#es-footer a, footer a { color: #fff;  }
#es-footer a:hover, footer a:hover { color: #F99377 !important;  }


/** End footer */

/* =WordPress Core
-------------------------------------------------------------- */
.alignnone {
  margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
  display: block;
  margin: 5px auto 5px auto;
}

.alignright {
  float:right;
  margin: 5px 0 20px 20px;
}

.alignleft {
  float: left;
  margin: 5px 20px 20px 0;
}

a img.alignright {
  float: right;
  margin: 5px 0 20px 20px;
}

a img.alignnone {
  margin: 5px 20px 20px 0;
}

a img.alignleft {
  float: left;
  margin: 5px 20px 20px 0;
}

a img.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.wp-caption {
  background: #fff;
  border: 1px solid #f0f0f0;
  max-width: 96%; /* Image does not overflow the content area */
  padding: 5px 3px 10px;
  text-align: center;
}

.wp-caption.alignnone {
  margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
  margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
  margin: 5px 0 20px 20px;
}

.wp-caption img {
  border: 0 none;
  height: auto;
  margin: 0;
  max-width: 98.5%;
  padding: 0;
  width: auto;
}

.wp-caption p.wp-caption-text {
  font-size: 11px;
  line-height: 17px;
  margin: 0;
  padding: 0 4px 5px;
}

/* Text meant only for screen readers. */
.screen-reader-text {
border: 0;
clip: rect(1px, 1px, 1px, 1px);
clip-path: inset(50%);
height: 1px;
margin: -1px;
overflow: hidden;
padding: 0;
position: absolute !important;
width: 1px;
word-wrap: normal !important; /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}

.screen-reader-text:focus {
background-color: #eee;
clip: auto !important;
clip-path: none;
color: #444;
display: block;
font-size: 1em;
height: auto;
left: 5px;
line-height: normal;
padding: 15px 23px 14px;
text-decoration: none;
top: 5px;
width: auto;
z-index: 100000;
/* Above WP toolbar. */
}

/* == WordPress WYSIWYG Editor Styles == */

.entry-content img {
	margin: 0 0 1.5em 0;
	}
.alignleft, img.alignleft {
	margin-right: 1.5em;
	display: inline;
	float: left;
	}
.alignright, img.alignright {
	margin-left: 1.5em;
	display: inline;
	float: right;
	}
.aligncenter, img.aligncenter {
	margin-right: auto;
	margin-left: auto;
	display: block;
	clear: both;
	}
.alignnone, img.alignnone {
	/* not sure about this one */
	}
.wp-caption {
	margin-bottom: 1.5em;
	text-align: center;
	padding-top: 5px;
	}
.wp-caption img {
	border: 0 none;
	padding: 0;
	margin: 0;
	}
.wp-caption p.wp-caption-text {
	line-height: 1.5;
	font-size: 10px;
	margin: 0;
	}
.wp-smiley {
	margin: 0 !important;
	max-height: 1em;
	}
blockquote.left {
	margin-right: 20px;
	text-align: right;
	margin-left: 0;
	width: 33%;
	float: left;
	}
blockquote.right {
	margin-left: 20px;
	text-align: left;
	margin-right: 0;
	width: 33%;
	float: right;
}

.gallery dl {}
.gallery dt {}
.gallery dd {}
.gallery dl a {}
.gallery dl img {}
.gallery-caption {}

.size-full {}
.size-large {}
.size-medium {}
.size-thumbnail {}

/* == WP CSS - Comment Styles == */

.commentlist .reply {}
.commentlist .reply a {}

.commentlist .alt {}
.commentlist .odd {}
.commentlist .even {}
.commentlist .thread-alt {}
.commentlist .thread-odd {}
.commentlist .thread-even {}
.commentlist li ul.children .alt {}
.commentlist li ul.children .odd {}
.commentlist li ul.children .even {}

.commentlist .vcard {}
.commentlist .vcard cite.fn {}
.commentlist .vcard span.says {}
.commentlist .vcard img.photo {}
.commentlist .vcard img.avatar {}
.commentlist .vcard cite.fn a.url {}

.commentlist .comment-meta {} 
.commentlist .comment-meta a {}
.commentlist .commentmetadata {}
.commentlist .commentmetadata a {}

.commentlist .parent {}
.commentlist .comment {}
.commentlist .children {}
.commentlist .pingback {}
.commentlist .bypostauthor {}
.commentlist .comment-author {}
.commentlist .comment-author-admin {}

.commentlist {}
.commentlist li {}
.commentlist li p {}
.commentlist li ul {}
.commentlist li ul.children li {}
.commentlist li ul.children li.alt {}
.commentlist li ul.children li.byuser {}
.commentlist li ul.children li.comment {}
.commentlist li ul.children li.depth {}
.commentlist li ul.children li.bypostauthor {}
.commentlist li ul.children li.comment-author-admin {}

#cancel-comment-reply {}
#cancel-comment-reply a {}

.nav-links{
	display:flex;
	justify-content:space-between;
}

.nav-links .page-numbers{
	margin-right:10px;
}

.nav-links .nav-previous, .nav-links .nav-next{
  text-align: center;
}

.size-auto, 
.size-full,
.size-large,
.size-medium,
.size-thumbnail {
	max-width: 100%;
	height: auto;
}

/* Mobile navigation */
/*--------------------------------------------------------------
5.2 Menus
--------------------------------------------------------------*/
#masthead { text-align: right;}

.logo-img { padding-top: 20px;}
.relay { 
font-family: 'sofia-pro', sans-serif;
font-size: 18px;
margin-top: 20px;
letter-spacing: 0.45px;
width: 100%
}
.site-navigation {
	display: block;
	margin: 0;
}

/* Styling the links */
.site-navigation a {
	display: block;
	font-size: 24px;
	padding: 1.25em 0.75em;
	color: #313131;
	text-decoration: none;
	box-sizing: border-box;
	width: 100%;
	white-space: normal;
	border-bottom: 3px solid #F99377;
	font-weight: bold;
	
}

#es-footer .site-navigation a {
	display: block;
	font-size: 24px;
	padding: 0.5em 0.7em;
	color: #fff;
	text-decoration: underline;
	box-sizing: border-box;
	width: 100%;
	white-space: normal;
	border-bottom: 0px solid #F99377;
	letter-spacing: 0.6px;
}




.site-navigation a:hover {
	display: block;
	color: #007DB4;
	border-bottom: 3px solid #007DB4;
	
}

#es-footer .site-navigation a:hover {
	color: #D1D011;
	background-color: transparent;
	text-decoration: underline;
	box-sizing: border-box;
	width: 100%;
	white-space: normal;
	border-bottom: 0px solid #007DB4;
	
}

/* Background color change on Hover */
.site-navigation .menu a:hover,
.site-navigation .menu a:focus { 
	color: #007DB4;
}

/* Set menu item's width to 100% */
.header-navigation .menu li {
	display: block;
	width: 100%;
	/* border-top: 1px solid #bbb; */
}

.footer-menu { text-align: center; margin: 0 auto; }
.footer-menu li { display: inline-block; text-decoration: none; }

/* Esto capaz que no hace falta */
.site-navigation .menu li ul li:hover,
.site-navigation .menu li ul li:focus {
	background-color: #606060;
}

/* Styling the toggle buttons */
.menu-toggle {
	background-color: #fff !important;
	padding: 4px !important;
	color: #007DB4;
	font-size: 1.125em;
	text-decoration: none;
	border: 0px solid #000000;
	border-radius: 0px;
	display: block;
	/* position: absolute; */
	top: 1em;
	right: 1em;
	width: 40px;
	min-width: 40px;
	margin-top: 0 !important;
	line-height: 1;
	float: right;
}

.menu-toggle:hover { color: #313131; background-color: transparent !important; }

.menu-text { display: block; font-size: 9px; font-family: sofia-pro; color: #313131; font-weight: 400; }
.menu-toggle .dashicons { font-size: 26px; width: 26px; height: auto;}
.es-phone, .mobile-logo-col { display: none; }
.es-phone { margin-top: 2px; font-weight: normal; text-align: center;}
.es-phone i { color: #007DB4; font-size: 16px; margin: 0px 0 6px 0;  }
.es-phone:hover, .es-phone i:hover, .es-phone a:hover { color: #313131 !important; }

.yellow-rule { border-bottom: 3px solid #F99377; width: 118px; margin: 40px auto;}
.yellow-line { border-bottom: 3px solid #F99377; width: 118px; margin: 40px 0 90px 0;}
.title-rule { margin-bottom: 100px;}
.pipe-divider { color: #007DB4; padding: 0 10px;}
.footer-copyright,
.footer-address { text-align: center; font-family: sofia-pro; font-size: 18px; letter-spacing: 0.4px; margin: 0; padding: 0 20px 20px 20px;}
.footer-copyright { font-size: 16px; padding-bottom: 60px;}

.footer-logo {width: 100%; text-align: center; padding-top: 40px;}
.menu-toggle .dashicons {
	vertical-align: text-bottom;
}

.menu-toggle .dashicons:before {
	content: '\f228';
}

.toggled .menu-toggle {
	background-color: #606060;
}

.toggled .menu-toggle .dashicons:before {
	content: '\f158';
}

.dropdown-toggle {
	background-color: transparent;
	padding: 1.1em;
	position: absolute;
	top: 0.4em;
	right: 0.5em;
	border: 1px solid transparent;
	border-left: 1px solid #bbb;
	border-radius: 0;
	color: #fff;
	text-align: center;
}

.dropdown-toggle:hover,
.dropdown-toggle:focus {
	border: 1px dashed #ffffff;
}

.dropdown-toggle .dashicons {
	font-size: 1.25rem;
}

.dropdown-toggle .dashicons:before {
	content: '\f347';
}

.toggled-on > .dropdown-toggle .dashicons:before {
	content: '\f343';
}

/* Hide Submenus by default using absolute positioning instead of display:none;. */
.header-navigation .menu,
.header-navigation .menu li,
.header-navigation .menu ul,
.header-navigation .menu li:hover > ul,
.header-navigation .menu li:focus > ul {
	position: absolute;
	top: 100%;
	left: -9999em;
	/* color: #ff00ff; */
	padding: 0;
	margin: 0;
}

/* Display the menu when clicked on Menu Toggle */
.toggled .menu {
	display: block;
	position: relative;
	top: 0;
	left: 0;
}

.toggled .menu li {
	position: relative;
	left: unset;
}

.toggled .menu li > .sub-menu {
	display: none;
}

.toggled .menu .toggled-on > .sub-menu {
	display: block;
	position: relative;
	left: 0;
	top: 100%;
}

.site-navigation .menu ul a,
.site-navigation .menu ul ul a {
	padding: 1.25em 0.75em;
}

.site-navigation .menu ul a {
	padding: 1.25em 1.25em;
}

.site-navigation .menu ul ul a {
	padding: 1.25em 1.75em;
}

.site-navigation .menu ul a,
.site-navigation .menu ul ul a {
	background-color: #444; 
}
	
/* Second and following tiers submenus */
.site-navigation .menu ul li {
}

.menu .current_page_item > a,
.menu .current_page_ancestor > a,
.menu .current-menu-item > a,
.menu .current-menu-ancestor > a { 
	color: #007DB4;
	border-bottom-color: #007DB4;
}

.toggled .social-menu {
	display: flex;
	justify-content: space-evenly;
	background-color: #ff0058;
	border-top: 1px solid #bbb;
}

.toggled .social-menu li {
	width: 2.75em;
	height: 2.75em;
	border: 1px solid #bbb;
	border-radius: 2px;
	margin: 0.5em 0;
}

.toggled .social-menu a {
	padding: 0.4em;
	text-align: center;
}

.social-menu a .dashicons {
	vertical-align: middle;
}

.social-menu a .dashicons:before {
	content: "\f240";
}

.social-menu a[href*="twitter.com"] .dashicons:before {
	content: "\f301";
}

.social-menu a[href*="facebook.com"] .dashicons:before {
	content: "\f304";
}

.social-menu a[href*="instagram.com"] .dashicons:before {
	content: "\f12d";
}

.social-menu a[href*="wordpress.org"] .dashicons:before,
.social-menu a[href*="wordpress.com"] .dashicons:before {
	content: "\f120";
}

/*--------------------------------------------------------------
6. Accessibility
--------------------------------------------------------------*/
/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important; /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 1rem;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
	/* Above WP toolbar. */
}

/* Do not show the outline on the skip link target. */
#content[tabindex="-1"]:focus {
	outline: 0;
}


.gfield_consent_label {
display: inline
}

.slick-dots li button {
	background: none repeat scroll 0 0 transparent !important;
	border: 0 none;
	color: transparent;
	cursor: pointer;
	display: block;
	font-size: 0;
	height: 20px;
	line-height: 0;
	outline: medium none;
	padding: 5px !important;
	width: 20px;
	min-width: 20px;
	margin-top: 0 !important;
	
}

/* Mobile nav end */



@media only screen and (max-width:1400px) {
	
	.main-header { 
    /*border: 1px solid red;*/
    height: 280px;
	}
	
	.home-header-container {
    padding: 40px 0;
	}

	.logo-col, .nav-col { 
	flex: 0 0 100%;
	max-width: 100%;
	text-align: center;
	}
	
	#masthead {
    text-align: center;
	}
	
	.site-navigation .primary-menu, .site-navigation .social-menu, .site-navigation .footer-menu {
    display: flex;
    position: static;
    margin-top: auto;
    margin-bottom: auto;
    padding: 0px;
    margin: 0 auto;
    order: 1;
	}
	
	#pi-navigation {
    position: fixed;
    width: 100%;
    top: 0;
    height: auto;
    box-shadow: 0 3px 10px rgb(0 0 0 / 0.2);
    background-color: #fff;
    z-index: 99990;
    }

}

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

	.home-featured {
    padding: 60px;
    padding-bottom: 180px;
	}
	
	.home-header-container .wp-block-columns { text-align: center; margin-left: 0 !important;}
	
	.home-header-container .wp-block-column:nth-child(2n) {
    margin-left: 0em !important;
    padding: 0 20px;
	}
	.home-header-container img {
    max-width: 80%;
    width: 80%;
    height: auto;
    margin: 0 auto;
	}
}


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

	#es-footer .site-navigation a { font-size: 22px !important;}
}

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


	.home-feature-boxes {
    margin-top: 5rem;
    margin-bottom: 0em;
	}
	
	.home-header-content { margin: 0 !important; padding: 20px;}
	.home-header.desktop { display: none; }	
	.home-header.mobile { display: block; }
	
	.header-navigation .primary-menu {
    display:block ;
    position: static;
    margin-top: auto;
    margin-bottom: auto;
    padding: 0px;
    margin: 0 auto;
    order: 1;
	}
	
	.widgets-row { height: 0px; overflow: hidden;}
}

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

	.mobile-footer { display: block; }
	.desktop-only { display: none; }
	
	.footer-address, .footer-copyright { line-height: 1; }
	.pipe-divider.mobile-footer {
    display: block;
    font-size: 24px;
	margin: 15px 0;
	}
	
	.home-header-container img {
    max-width: 100%;
    width: 100%;
	}
	
	.main-header { 
    height: 80px;
	}
	
	
   .logo-col, .relay { display: none;}
   .mobile-logo-col { display: inline-block; float: left;}
   .mobile-icons { float: right;  border: 0px solid red; margin-top: 10px;}
   .es-phone, .menu-toggle { display: inline-block; line-height: 1;}
   .es-phone a { text-decoration: none !important;}
   .logo-img { padding-top: 10px;}
   .es-mobile-header { 
   	display: block; 
   	height: 80px; 
    box-shadow: 0 3px 10px rgb(0 0 0 / 0.2);
    padding: 10px 42px;
     }
   .main-header { margin-bottom: 0px;}
   .header-container { padding: 0rem; }
   .page-title { font-size: 42px; margin-top: 2rem; }
   .yellow-rule { margin: 30px auto; }
   h2, .h2 { font-size: 36px; }
   .mobile-relay { display: none; font-size: 16px; font-family: sofia-pro; margin: 40px 0; margin-left: 40px;}
   #masthead { text-align: left; }
   .site-navigation a { font-size: 22px; padding-left: 40px;}
   .main-header .pb-2, .main-header .py-2 { padding: 0!important;}
   
   .section_contact {
    padding: 20px;
    margin-top: 40px;
	}
	
	#pi-navigation {
    position: relative;
    height: auto;
	}
	
	.site-navigation .footer-menu  {
		display: block;
		align-items: center;
		position: relative;
		font-family:"sofia-pro";
	  }
	  
	  .site-navigation .footer-menu menu  {
		position: relative;
		left: auto; top: auto;
		border: 1px solid yellow;
	  }
	
	
	.site-navigation .footer-menu {
		margin: 0 auto;
		order: 2;
		text-align: center;
		align-items: center;
		}
	.footer-menu li {
    	display: block;
    text-decoration: none;
	}

}

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

.home-feature-boxes .wp-block-column:not(:only-child) {
    flex-basis: calc(100%)!important;
    flex-grow: 0;
    margin:0 !important;
    }
    
    .home-feature-boxes .wp-block-cover, .home-feature-boxes .wp-block-cover-image {
    min-height: 530px;
    }
    
    .home-featured {
    padding-bottom: 250px;
	}
}


/* Navigation start */
@media screen and (min-width: 890px) {


	.es-mobile-header, .mobile-relay { display: none; }
  
	  .menu-toggle,
	  .dropdown-toggle {
		display: none;
	  }
  
  
	  .site-navigation {
		display: flex;
		align-items: center;
	  }
 
	  .header-navigation .primary-menu,
	  .header-navigation .social-menu {
		display: flex;
		position: static;
		margin-top: auto;
		margin-bottom: auto;
		padding:0px;
		margin-left: auto;
	  	order: 2;
	  }
  
  
  
	  .site-navigation .social-menu {
		border-left: 1px solid #bbb;
	  }
  
	  .header-navigation .menu li {
		position: relative;
		width: auto;
		left: unset;
		list-style:none;
		margin: 0 0.75em;
	  }
  
	  .site-navigation .menu ul li:first-child {
		border-top: 0;
	  }
  
	  .site-navigation .menu a,
	  .site-navigation .menu ul a,
	  .site-navigation .menu ul ul a {
		font-size: 24px;
		padding: 0.75em 0;
		padding-bottom: 5px;
		display: block;
		letter-spacing: 0.48px;
		font-family: sofia-pro;
		font-weight: 500;
	  }
  
	  /* Hide Dropdowns by Default
	   * and giving it a position of absolute */
	  .site-navigation .menu ul {
		position: absolute; 
		/* has to be the same number as the "line-height" of "nav a" */
		top: 100%;
		left: -9999em;
		/*! border: 1px solid #606060; */
	  }
	
	  /* Display Dropdowns on hover and focus */
	  .site-navigation .menu li:hover > ul,
	  .site-navigation .menu li:focus > ul,
	  .site-navigation .menu li.focus > ul {
		left: 0;
		z-index:2;
		padding-left:0;
	  }
	
	  /* First Tier Dropdown */
	  .site-navigation .menu ul li {
		position: relative;
		width: 170px;
	  }
  
	  /* Second, Third and more Tiers	
	   * We move the 2nd and 3rd etc tier dropdowns to the left
	   * by the amount of the width of the first tier.
	  */
	  .site-navigation .menu li li:hover > ul,
	  .site-navigation .menu li li:focus > ul,
	  .site-navigation .menu li li.focus > ul {
		top: 0;
		left: 100%; 
	  }
  
	  .site-navigation .menu ul a:hover,
	  .site-navigation .menu ul a:focus {
		background-color: #313131;
		color: #fff;
		text-decoration: underline;
	  }
  
	  .menu-item-has-children > a:after,
	  .page_item_has_children > a:after {
		font-family: dashicons;
		content: '\f347';
		vertical-align: bottom;
		margin-left: 0.25em;
	  }
  
	  .menu-item-has-children .menu-item-has-children > a:after,
	  .menu-item-has-children .page_item_has_children > a:after,
	  .page_item_has_children .menu-item-has-children > a:after,
	  .page_item_has_children .page_item_has_children > a:after {
		content: '\f345';
		font-family: dashicons;
		position: absolute;
		right: 0;
		top: 50%;
		transform: translate(0, -50%);
	  }  
  
  }
  
 
@media only screen and (max-width:767px) { 

	.home-feature-boxes .wp-block-cover {
    min-height: 300px;
	}
	
	.home-feature-boxes {
    margin-top: 1rem;
    margin-bottom: 1em;
	}


	body.home .wp-block-spacer {
    height: 0 !important;
	}
	
	.home-featured p { font-size: 24px;}
	
	.home-featured { padding: 20px 20px 200px 20px; }

}
  
/* Navigation end */