/* Hide Pypestream in Admin */
.user-logged-in .primary-nav__item__container--submenu { top:288px !important; }
.user-logged-in #pypestream-wrapper { display:none !important; }

/* Main Navigation Mobile Reponsiveness */
@media(min-width:1024px) { 
	.mobile-only{display:none !important;} 
	#menu-primary-menu li:nth-child(6), #menu-primary-menu li:nth-child(7), #menu-primary-menu li:nth-child(8) { display:none; }
}
@media(max-width:1023px) {
	.secondary-nav { display:none; }
	.mobile-only { display:block; }
}

/* Footer No Text Wrap */
footer .footer-sections ul li a { white-space:nowrap; }

/* Find An Agent */
[id^="block-agentdistanceblock"] h2 { position:absolute; top:-100px; left:0; }
[id^="block-agentdistanceblock"] { display: flex; position:relative; height: 151px; align-items: center; padding: 35px; margin-bottom:65px; margin-top:65px; width: 100%; box-shadow: 0px 4px 10px #00000033; border-top-width: 4px; border-top-style: solid; border-top-color: #004f71; }
#location-distance-form { overflow-x:auto; } 
#location-distance-form input, #location-distance-form select { width: 379px; height: 40px; background: #eee; border: none; padding-left: 20px; padding-right:20px; color: #2D3936; border-bottom: 1px solid #004f71; font-size: 13px; margin-right: 65px; }
#block-views-block-locator-block-2 .geolocation-map-container { min-height: 649px; margin-bottom: 45px; }
#block-views-block-locator-block-2 + .views-element-container .contextual-region, #block-views-block-locator-block-2 + .views-element-container [class^="js-view-dom-id"] { overflow-x: auto; box-shadow: 0px 4px 10px #00000033; border-top-width: 4px; border-top-style: solid; border-top-color: #004f71; }
.views-element-container .cols-8 { width:100%; }
.views-element-container .cols-8 tbody tr td { padding: 15px 5px; font-size:13px; font-weight:400; } 
.views-element-container .cols-8 .views-field-title { padding-left:25px; width:15%; }
.views-field-field-location-geolocation-proximity { padding-right:25px !important; }  
.views-element-container .cols-8 .views-field-field-location-phone { white-space:nowrap; } 
.views-element-container .cols-8 .views-field-field-location-phone, .views-element-container .cols-8 .views-field-field-location-email, .views-element-container .cols-8 .views-field-field-location-url-1 { width:15%; }  
.views-element-container .cols-8 tbody .views-field-title, .views-element-container .cols-8 tbody .views-field-title a { font-weight:bold; text-decoration:none; }
.views-element-container .cols-8 tr:nth-child(even) { background-color: #F4F4F4; }
.views-element-container .cols-8 thead tr { background-color: #F4F4F4; }
.views-element-container .cols-8 thead tr th { font-size: 13px; font-weight: 400; padding:20px 5px 15px; text-align:left; } 
tbody .views-field-field-location-phone a, tbody .views-field-field-location-email a, tbody .views-field-field-location-url-1 a { font-weight:400;text-decoration:none;}
.ssa-component-instance-4682c36b-c98b-4960-a678-a040bff2fe0e { margin-top:-80px; }
.contextual-region nav { padding:10px; }
.contextual-region nav .js-pager__items { display: flex; align-items: center; justify-content: center; }
.contextual-region nav .js-pager__items li { padding:0 5px; }

div.ssa-instance-44aa54a91ccd63057565de0823f0d01c:first-child { background: rgba(0,0,0,.6); padding: 10px; border-radius: 4px; }

/* What we write // This page is now Public Entities We Insure*/
.ssa-component-instance-fb0478cd-c0ef-4aa2-8740-60f82c4726b7 .coh-ce-cpt_leader_cards_public_entity-85ad4376:last-child { grid-column-end: 4; }
.ssa-component-instance-fb0478cd-c0ef-4aa2-8740-60f82c4726b7 .coh-ce-cpt_leader_cards_public_entity-85ad4376:nth-last-child(2) { grid-column-end: 3; }
/* What We Write Section */
@media(min-width:1024px) and (max-width:1190px) { 
	#what-we-write-grid { grid-template-columns:repeat(3, minmax(0, 1fr)) }
}

/* Secondary Navigation */
.coh-ce-cpt_above_site_header-729e8105 .js-coh-menu-item-link {
	color: #000000;
}

/* Bullet Coloring in WYSIWYG LI components */
/* Blue */
.coh-wysiwyg .bpe-blue::marker {
	color: #18558C;
}
/* Orange */
.coh-wysiwyg .bpe-orange::marker {
	color: #E89037;
}

/* WYSIWYG smaller p fonts on mobile */
.coh-wysiwyg .mobile-responsive {
	font-size: 20px;
	line-height: 28px;
}
@media (max-width:565px) {
	.coh-wysiwyg .mobile-responsive {
		font-size: 16px;
		line-height: 24px;
	}
}

/* About Us */
/* Image Card Accordion- making paragraph text above accordion reponsive */
@media(max-width:564px) {
	.paragraph-responsive {
		font-size: 14px;
		line-height: 20px;
	}
}

/* Footer Styling */
/* Headers are bold */
.footer-sections ul .heading { font-family: "Open Sans"; font-weight:700; }

/*Page Editor Default Behavior Change to Avoid Cutting Off Main Navigation*/
.ssa-app .hCCCcw { z-index:0 !important; }

/* Leadership Cards creating 3x2 layout at large display, and 2x2x1 display at tablet only */
@media(min-width:1024px) {  
	.leadership-cards .card:nth-child(4) { grid-column:3 / 1; grid-row:2; }
	.leadership-cards .card:nth-child(5) { grid-column:2 / 4; grid-row:2; }
}
@media(min-width:768px) and (max-width:1023px) {
	.leadership-cards .card:nth-child(5) { grid-column:span 2;}
}