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

/* Fixing boxed to be better at wide displays */
.coh-container-boxed { max-width:100% !important; margin-left:120px !important; margin-right:120px !important; }
@media(max-width:1023px) { .coh-container-boxed { margin-left:64px !important; margin-right:64px !important; } }
@media(max-width:564px) { .coh-container-boxed { margin-left:20px !important; margin-right:20px !important; } }
/*.coh-container-boxed .two-col { max-width:789px; margin:auto; }*/
.fa-magnifying-glass:after { color:#00563f !important; }
.hover-link:hover { cursor:pointer;text-decoration:underline; }

/* 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-7 { width:100%; }
.views-element-container .cols-7 tbody tr td { padding: 15px 5px; font-size:13px; font-weight:400; } 
.views-element-container .cols-7 .views-field-title { padding-left:25px; width:20%; }
.views-field-field-location-geolocation-proximity { padding-right:25px !important; }  
.views-element-container .cols-7 .views-field-field-location-phone { white-space:nowrap; } 
.views-element-container .cols-7 .views-field-field-location-phone, .views-element-container .cols-7 .views-field-field-location-email, .views-element-container .cols-7 .views-field-field-location-url-1 { width:15%; }  
.views-element-container .cols-7 tbody .views-field-title, .views-element-container .cols-7 tbody .views-field-title a { font-weight:bold; text-decoration:none; }
.views-element-container .cols-7 tr:nth-child(even) { background-color: #F4F4F4; }
.views-element-container .cols-7 thead tr { background-color: #F4F4F4; }
.views-element-container .cols-7 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; }

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

/*Main Nav Section*/
/* Make About Us submenu not go off page */
#menu-primary-menu li:nth-child(4) .primary-nav__item__container { right:-215px; }
@media (min-width:768px) { 
  #menu-primary-menu > li:nth-child(n+6)  { display: none; }
}
@media(max-width:767px) { .coh-style-secondary-nav { display:none !important; } }
@media(min-width:1024px) { #menu-primary-menu li:nth-child(3) .primary-nav__item__container { left:-22.5rem; }}


/*FORMS*/
.form-one-col { display:grid;grid-template-columns:minmax(0, 1fr);grid-gap:32px;padding-right:32px; }
.form-two-col { display:grid;grid-template-columns:repeat(2, minmax(0, 1fr)); grid-gap:32px;padding-right:32px; }
.form-two-col .one-col { grid-column:1 / 3; }
@media(max-width:767px){ 
	.form-two-col { grid-template-columns:minmax(0, 1fr); } 
	.form-two-col .one-col { grid-column:auto; }
}
/* Form text / disclaimers */
.form-small-text { font-family:'Work Sans';font-weight:300;font-size:14px;line-height:19px;color:#2D3936; }
/*Form Labels*/
form .form-item label { font-family:'Open Sans' !important; font-weight:700;color:#2D3936; }

.form-updates-label{font-weight:400 !important;}
.form-checkbox{width:1.25rem !important;height:1.25rem !important;margin-left:.25rem;margin-right:1rem !important;}

@media(max-width:425px){
.contact-us-confirmation-message a{padding-left:25px !important;padding-right:25px !important;}
}

/*Heading Paragraph CTA */
/*Various Col <ul>*/
@media(min-width:1024) { .three-col-ul { column-count:3;column-gap:32px; } }
@media(min-width:767px) { .two-col-ul, .three-col-ul { column-count:2;column-gap:64px; } }
.custom-two-col{display:grid;grid-template-columns:repeat(2, 1fr);justify-items:center;}
.brochure-grid{display:grid;grid-template-columns:repeat(2, 1fr);justify-items:center;max-width:70%;margin:auto;}
@media(max-width:1024px){.brochure-grid{max-width:85%;}}
@media(max-width:768px){.brochure-grid{max-width:100%;}}
@media(max-width:425px){.brochure-grid{grid-template-columns:repeat(1, 1fr);text-align:center;}}

/* Image Card 01 */
/* BIOS sub-compoenent */
.bio .linkedin:before { content:url('/sites/g/files/xkzibx291/files/2025-01/BSE_Logo_Bio_LinkedIn.png'); }
.bio .email:before { content:url('/sites/g/files/xkzibx291/files/2025-01/BSE_Logo_Bio_Email.png'); }
/* Biography Card (switching even/odd because the first entry is even)*/
.bio:nth-child(even) { background-color:white; }
.bio:nth-child(odd) { background-color:#f1f9f8; }
.bio:nth-child(odd) .row-container { flex-direction:row-reverse; }
/* Commenting out these lines, made images on the left smaller than images on the right
.bio:nth-child(odd) .row-container .img-container { padding-left:0;padding-right:8rem; }
.bio:nth-child(odd) .row-container .img-container img { margin-left:0;margin-right:auto;width:91.5%; }
*/
.bio:nth-child(odd) .row-container .img-container img { margin-left:0;}

@media(max-width:1439.9px) { 
	.bio:nth-child(odd) .row-container .img-container { padding-left:0;padding-right:4rem; } 
	.bio:nth-child(odd) .row-container .text-container { padding-left:0; }
}
@media(max-width:1023.9px) { 
	.bio:nth-child(odd) .row-container .img-container { padding-left:0;padding-right:2rem; } 
	.bio:nth-child(odd) .row-container .text-container { padding-left:0; }
}
@media(max-width:767.9px) { 
	.bio:nth-child(odd) .row-container { flex-direction:column-reverse !important; }
	.bio:nth-child(odd) .row-container .img-container { padding-left:0;padding-right:0; }
	.bio:nth-child(odd) .row-container .text-container { padding-left:0; }
}
.bio:nth-child(odd) .row-container .text-container { float:right;width:100%;padding-left:0; }

/* Component Content */
/* Why Berkley Specialty Excess / Image Card Accordion */
@media(min-width:1024px) { 
	.img-left .berkley-img-acc .flex-container .text-and-acc-column { padding-left:120px !important; }
}
@media(min-width:768px) and (max-width:1023.9px) { .img-left .berkley-img-acc .flex-container .text-and-acc-column { padding-left:30px !important; } }
@media(min-width:768px) { 
	.img-left .berkley-img-acc .flex-container { flex-direction:row-reverse;margin:0; } 
	.img-left .berkley-img-acc .flex-container .text-and-acc-column { padding-right:0; }
	.img-left .berkley-img-acc .flex-container .text-and-acc-column .accordion-column { margin-left:auto; }
	.img-left .berkley-img-acc .flex-container .image-column { padding-left:0 !important; }
	.img-left .berkley-img-acc .flex-container .image-column img { margin-left:0; }
}
.update-bg-color .changeable-bg-color { background-color:unset; }
.update-bg-color.light-blue { background-color: #f1f9f8; }

/* Blogs */
.button-group { display:flex;flex-direction:row; }
.button-group button { width:12rem;height:48px;font-size:16px;font-weight:600;background-color:white;color:#00563f;border:2px solid #00563f;display:flex;justify-content:center;align-items:center;margin-right:40px; }
.button-group button:hover { background-color:#00563f;color:white;font-weight:700; }
.button-group button:focus { outline-color:#00563f; }
.button-group button.active { color:white;background-color:#00563f; }
/*.button-group button.active:hover { border:2px solid #00563f;background-color:white;color:#00563f;font-weight:700; }*/
.button-group button:active { background-color:#00563f !important;color:white !important; }
@media(max-width:767.9px) { .button-group { flex-direction:column;gap:1.5rem; } }
.semibold, .semi-bold { font-weight:600 !important;font-size:16px !important; }
/* SIDEBAR STYLES */
.blog-list-item { margin:6px 0;padding:4px 0;border-bottom:1px solid #7c9384; }
.blog-list-item a { margin-left:12px;font-family:'Open Sans';font-weight:400;font-size:20px;line-height:28px;text-decoration:none; color:#00563f;display:flex;width:fit-content;}
.blog-list-item a:hover { text-decoration:underline;color:#125740; }
.js-pager__items { display: flex; display: webkit-flex; justify-content: flex-start !important; -webkit-box-orient: horizontal; }
.js-pager__items .pager__item { margin-right:10px;list-style-type:none;margin-left:10px; }
/* Page elements */
/* Descriptive List, looks like bulleted list format. Can remove ::before to have it be un-bulleted */
dl.fake-ul { margin-top:1rem;margin-bottom:1rem; }
dl.fake-ul dt { font-weight:500 !important;display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:flex-start;align-items:center; }
dl.fake-ul dt::before { content:"";background-color:#e67205;width:5px;height:5px;border-radius:50%;margin-right:12px; }
dl.fake-ul dt p { font-weight:500; }
dl.fake-ul p { margin-top:0 !important; }
dl.fake-ul dd:nth-child(n-1) { margin-bottom:12px; }
/* temporarily remove filter button */
.button-group button[data-tag="1191"] { display:none !important; }

/*LinkedIn*/
.Background__Overlay-sc-e7fef316-2{background-color:#FFF !important;}

