/* Hide Pypestream in Admin */
.user-logged-in .primary-nav__item__container--submenu { top:288px !important; }
.user-logged-in #pypestream-wrapper { display:none !important; }
#location-distance-form div[data-lastpass-icon-root] { display:none; }

/* 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; }*/
body { overflow-x:hidden; }
.onhover:hover { box-shadow:0 2px 4px rgba(0, 0, 0, 0.35); }

/* Old, not ready to delete yet */
/* 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; } */

/*trying the peiwc layout*/
[id^="block-agentdistanceblock"] h2 { position:absolute; top:-100px; left:0; }
[id^="block-agentdistanceblock"] { display: flex; position:relative;height:fit-content; min-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: #2f7d78; }
/*#location-distance-form { overflow-x:auto; } */
#location-distance-form input, #location-distance-form select { max-width:100%;width: 379px; height: 40px; background: #eee; border: none; padding-left: 20px; padding-right:20px; color: #2D3936; border-bottom: 1px solid #2f7d78; font-size: 13px; margin-right: 65px; }
#location-distance-form input:focus, #location-distance-form select:focus { box-shadow:none; border:2px solid #2f7d78; }
#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: #2f7d78; }
.views-element-container .cols-8, .views-element-container .cols-7 { width:100%; }
.views-element-container .cols-8 tbody tr td, .views-element-container .cols-7 tbody tr td { padding: 15px 5px; font-size:13px; font-weight:400; } 
.views-element-container .cols-8 .views-field-title, .views-element-container .cols-7 .views-field-title { padding-left:25px; }
.views-field-field-location-geolocation-proximity { padding-right:25px !important; }  
.views-element-container .cols-8 .views-field-field-location-phone, .views-element-container .cols-7 .views-field-field-location-phone { white-space:nowrap; } 
.views-field-field-location-zip, .views-field-field-location-state { width:8%; }
.views-field-field-location-phone { width:10%; }
.views-field-field-location-url-1 { max-width:18%; min-width:150px; overflow-wrap:anywhere; }
.views-field-field-location-geolocation-proximity { width:11%; }
/* .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-7 tbody .views-field-title a, .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-8 tr:nth-child(even), .views-element-container .cols-7 tr:nth-child(even) { background-color: #F4F4F4; }
.views-element-container .cols-8 thead tr, .views-element-container .cols-7 thead tr { background-color: #F4F4F4; }
.views-element-container .cols-8 thead tr th, .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; }
.views-element-container .cols-7 a { color:#2f7d78; }
.views-element-container .cols-7 a:hover { text-decoration:underline !important; }

/*Find an Agent / Broker */
#location-distance-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 0 4rem;
}
#location-distance-form label { font-size:12px;font-weight:400; }
#location-distance-form input:focus, #location-distance-form select:focus { box-shadow:none !important;-webkit-box-shadow:none !important;border:2px solid #2f7d78; }
#location-distance-form #autocomplete_search { background-image:url(/sites/g/files/xkzibx156/files/2025-01/BMAG_Img_InputWithCarrot-2.png);background-position-x:right;background-position-y:center; }
@media(max-width:1222px) { 
	#block-agentdistanceblock--2 { width:fit-content;height:fit-content; }
	#location-distance-form { grid-template-columns:minmax(0, 1fr); }
	#location-distance-form #autocomplete_search { grid-row:2;margin-right:0;margin-bottom:16px; }
}

/* PDF Crowd */
.pdfcrowd-body .pdf-logo { display: block; }
.pdfcrowd-body .pdf-logo img { max-width:223px; height: 37px; aspect-ratio: 223 / 37; }
.pdfcrowd-body .coh-style-well-rounded-rounded-hero [class*="coh-ce-cpt_rounded_drop_zone_and_wide_i"]:first-child { padding-top:0; }
.pdfcrowd-body .coh-col-xl { flex-basis:100%; }
.pdfcrowd-body .coh-col-xl img { max-height: 400px; width:100%; object-fit:cover; margin-bottom:10px; }
.pdfcrowd-body [class*="coh-ce-cpt_rounded_image_card_01"], .pdfcrowd-body [class*="coh-ce-cpt_rounded_image_card_accordion"] { background-color:#fff !important; }
.pdfcrowd-body [class*="coh-ce-cpt_right_rounded_image_card_01"], .pdfcrowd-body [class*="coh-ce-cpt_rounded_image_card_01"] { padding: 5px 0 0 !important; margin: 5px 0 0 !important; }
.pdfcrowd-body [class*="coh-ce-cpt_rounded_image_card_accordion"] [class*="coh-ce-cpt_rounded_image_card_accordion"]:first-child { padding: 5px 0 0 !important; margin: 5px 0 0 !important; }
.pdfcrowd-body [class*="coh-ce-cpt_rounded_image_card_accordion"] .js-accordion-list-container { margin-top:20px; }
/* .pdfcrowd-body .accordion-button--active.coh-style-accordion-button-usic + .js-accordion-item-body { display:none; }
.pdfcrowd-body .accordion-button--active.coh-style-accordion-button-usic:after { content: "\f055"; } */
.pdfcrowd-body .coh-style-accordion-button-usic:after { margin-top:auto; margin-bottom:auto; }
.pdfcrowd-body .three-col[class*="coh-ce-cpt_rounded_image_split_cards"] a:nth-child(5) { margin-top:80px; } 
.pdfcrowd-body .coh-row-inner[class*="coh-ce-cpt_right_rounded_image_card_01"] .coh-col-xl:first-child, .pdfcrowd-body .coh-row-inner .image_card_accordion_show_images { order:2; }
.pdfcrowd-body .coh-row-inner.row-reverse .coh-column:first-child { order:2; }
.pdfcrowd-body .three-col[class*="coh-ce-cpt_rounded_image_split_cards"] { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
/* PDF Crowd Single Pages */
.pdfcrowd-body [data-history-node-id="1236"] [class*="coh-ce-cpt_right_rounded_image_card_01"] .coh-style-berkley-image-card-01-title, .pdfcrowd-body [data-history-node-id="1231"] [class*="coh-ce-cpt_right_rounded_image_card_01"] .coh-style-berkley-image-card-01-title,  
.pdfcrowd-body [data-history-node-id="1206"] [class*="coh-ce-cpt_right_rounded_image_card_01"] .coh-style-berkley-image-card-01-title { margin-top:50px !important; }
.pdfcrowd-body [data-history-node-id="1231"] .three-col[class*="coh-ce-cpt_rounded_image_split_cards"] a:nth-child(5) { margin-top:inherit !important; } 
.pdfcrowd-body [data-history-node-id="1231"] .three-col[class*="coh-ce-cpt_rounded_image_split_cards"] a, .pdfcrowd-body [data-history-node-id="1216"] .three-col[class*="coh-ce-cpt_rounded_image_split_cards"] a, 
.pdfcrowd-body [data-history-node-id="1206"] .three-col[class*="coh-ce-cpt_rounded_image_split_cards"] a, .pdfcrowd-body [data-history-node-id="1211"] .three-col[class*="coh-ce-cpt_rounded_image_split_cards"] a { max-height: 365px; } 
.pdfcrowd-body .ssa-component-instance-3e7286c4-d0b0-4ceb-a23e-78c1ff0be579 { margin-top: -90px !important; }

.pdfcrowd-body [data-history-node-id="1216"] .js-accordion-list-container { margin-top:40px; }
.pdfcrowd-body [data-history-node-id="1216"] .three-col[class*="coh-ce-cpt_rounded_image_split_cards"] a:nth-child(3), .pdfcrowd-body [data-history-node-id="1216"] .three-col[class*="coh-ce-cpt_rounded_image_split_cards"] a:nth-child(4) { margin-top:-40px; } 
.pdfcrowd-body [data-history-node-id="1206"] .ssa-component-instance-36f9f302-5e56-4856-a4ef-a1027b4e4ecc .coh-wysiwyg { margin-top:120px !important; }
.pdfcrowd-body [data-history-node-id="1206"] .ssa-component-instance-608f7278-1746-4d8f-a139-bc73eb16000b { margin-top: -80px !important; }
/*.pdfcrowd-body [data-history-node-id="1206"] .three-col[class*="coh-ce-cpt_rounded_image_split_cards"] a:nth-child(3), .pdfcrowd-body [data-history-node-id="1206"] .three-col[class*="coh-ce-cpt_rounded_image_split_cards"] a:nth-child(4) { margin-top:-20px !important; }*/
.pdfcrowd-body [data-history-node-id="1206"] .three-col[class*="coh-ce-cpt_rounded_image_split_cards"] a:nth-child(5) { margin-top:20px !important; }
.pdfcrowd-body [data-history-node-id="1206"] .js-accordion-list-container { margin-top:100px; }
.pdfcrowd-body [data-history-node-id="1211"] .three-col[class*="coh-ce-cpt_rounded_image_split_cards"] a:nth-child(5) { margin-top:inherit !important; }
/*Eliminate extra space on Rounded Split Image Cards with PDF*/
.pdfcrowd-body .card-text-container { min-height:1px !important; }


/*Small Hero Component on locator*/
#locator-header { position:relative; right:120px; width:100vw; padding-bottom:0;}
@media(max-width:1440px) { #locator-header { right:80px; } }
/*@media(max-width:1023px) { #locator-header {right:64px; } }*/
@media(max-width:767px) { #locator-header {right:64px; width:800px; } }


/*Basic Button Component classes */
.coh-style-link-button-light{background-color:#FFFFFF; color:#184C5F !important; border: solid 1px #FFFFFF; border-radius:10px;}
.coh-style-link-button-light:hover{background-color:#184C5F; color:#FFFFFF !important; border: solid 1px #FFFFFF;}

.coh-style-link-button-dark{background-color:#184C5F; color:#FFFFFF; border: solid 1px #184C5F; border-radius:10px;}
.coh-style-link-button-dark:hover{background-color:#FFFFFF; color:#184C5F;}

#portalBtnContainer { display:flex; flex-direction:column; gap:15px; }

/*Quick Service Chat*/
#pypestream-wrapper{display:none !important;}

/*Main Navigation Menu Section*/
/*Header LOGIN Button*/
.header__find-btn{border-radius:8px;}
@media(min-width:1024px) and (max-width:1075px) { .header__find-btn{min-width:123px !important;} }
/* No button in submenu for login button */
#menu-primary-menu > li:nth-child(7).is-expanded .primary-nav__item__container__information a { display:none; }
@media (min-width:565px) { 
  #menu-primary-menu > li:nth-child(8), #menu-primary-menu > li:nth-child(9), #menu-primary-menu > li:nth-child(10)  { display: none; }
}
@media (max-width:564px) { #menu-primary-menu > li:nth-child(8), #menu-primary-menu > li:nth-child(9), #menu-primary-menu > li:nth-child(10)  { display: flex; } }
@media (max-width:1084px) and (min-width:1024px) { .header__content a img { height:32px; } }
@media (max-width:1111px) and (min-width:1076px) { .coh-style-berkley-header .header__find-btn { min-width:100px; } }
@media (max-width:1439px) and (min-width:1215px) { .coh-style-berkley-header .primary-nav__item { margin-left:2rem; } }
/* Make longer menu items break to a new line */
#menu-primary-menu .long-item { white-space:break-spaces; }
/*Handle sub-menu at laptop width*/
@media (max-width:1439px) and (min-width:1024px) {
	#menu-primary-menu > li:first-child .primary-nav__item__container, #menu-primary-menu > li:nth-child(2) .primary-nav__item__container { left:-120px; width:fit-content;}
}
@media (max-width:1880px) and (min-width:1024px) {
	#menu-primary-menu > li:nth-child(5) .primary-nav__item__container, #menu-primary-menu > li:nth-child(6) .primary-nav__item__container, #menu-primary-menu > li:nth-child(7) .primary-nav__item__container   { right:0; }
}
#menu-primary-menu > li:nth-child(7) .primary-nav__item__container { right:0; }
@media (min-width:1024px) { 	
	#menu-primary-menu > li:nth-child(6) .primary-nav__item__container { right:0; }  
}
@media (min-width:1024px) and (max-width:1315px) { #menu-primary-menu > li:nth-child(4) .primary-nav__item__container { right:-235px; } }
/* Style Longer text in sub-menu dropdowns to break to new line  */
/*.long-item { white-space:initial; }*/
/* Bold Billing and Payments in the secondary and main nav (mobile) */
.coh-style-secondary-nav .bold, #menu-primary-menu .bold { font-weight:700; }

/*Homepage*/
/*Hero needs to break to one column before 1023px; logo is cut off  */
@media (max-width:1115px) { 
	.break-early { flex-direction:column-reverse; } 
	.break-early .coh-col-lg-4, .break-early .coh-col-xl-8 { flex: unset !important; max-width:100% !important; }
	.break-early .coh-style-well-rounded-rounded-hero { border-top-left-radius:0; }
}
/* Remove video header and like icons */
/*.vp-title { display:none; }*/
/*.vp-sidedock { display:none; }*/

/* Report Fraud page / Phone and Email before font-awesome */
.telephone a, .email a { text-decoration:none; }
.telephone a::before { font:var(--fa-font-solid); content:"\f095"; font-size:28px; color:black; margin-right:1rem;}
.email a::before { font:var(--fa-font-solid); content:"\f0e0"; font-size:28px; color:black; margin-right:1rem; }

/*FORMS */
.form-one-column { padding-right:2rem; }
.form-two-column { display:grid; grid-template-columns:repeat(2, minmax(0, 1fr)); grid-gap:3rem 2rem; padding-right:2rem; }
@media(max-width:1023px) { .form-two-column { grid-template-columns:1fr; } }


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

/* Who We Insure page: Image adjustment */
.coh-ce-cpt_right_rounded_image_card_01-55fea6 { max-height:none !important; }


/* Find an Agent */
nav .js-pager__items { padding:0 1.5rem; }


/* Manufacturing and Wholesale page- Multi Column */
@media(max-width:767px) { .move-up { margin-top:-24px; } }

/* Homepage, sizing down berkley southwest logo */
@media(min-width:1150px) { 
	.coh-ce-cpt_image_card_01-d3816dbd { width:70%; margin:auto;} 
	#portalBtnContainer { flex-direction: row; }
}

/* Workers Compensation Page Address section */
.two-column-div { display:grid; grid-template-columns:repeat(2, minmax(0, 1fr)); grid-gap:0 1rem; max-width:766px; margin-left:auto;margin-right:auto; }
@media(max-width:767px) { .two-column-div{ grid-template-columns:1fr; } }

/* Life at Berkley Southwest */
.values-video-container { padding:45px 120px 0; }
@media (max-width:1023px) { 
	.values-video-container { padding:45px 64px 0; }
	.values-video-container .coh-video-vimeo_iframe #mep_0 { max-width:50%; }
}
@media (max-width:565px) { 
	.values-video-container { padding:30px 20px 0; } 
	.values-video-container .coh-video-vimeo_iframe #mep_0 { max-width:300px; }
}
.values-video-container .coh-video-vimeo_iframe { display:flex; align-content:center; justify-content:center; align-items:center; }
.values-video-container .coh-video-vimeo_iframe #mep_0 { max-width:789px; max-height:350px; }
