/* 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; }*/

/* 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; }

.coh-style-berkley-image-card-01-title{margin-bottom:1em;}
.coh-ce-cpt_square_leadership_cards-d0f7524a:visited{color:#ffffff;}

.coh-ce-cpt_hero_content_container-3574f570 .coh-link:hover{color: rgba(0, 61, 76, 0.87); border: 2px solid rgba(0, 61, 76, 0.87); background-color:#ffffff;}

/*Header Image Outline*/
.coh-ce-cpt_berkley_site_header-1b88f1b:active, .coh-ce-cpt_berkley_site_header-1b88f1b:focus{outline: solid 2px #862633;}
.coh-ce-cpt_berkley_site_header-d6303f9c:active, .coh-ce-cpt_berkley_site_header-d6303f9c:focus{outline: solid 2px #862633;}

/* primary navigation buttons style */
.primary-nav__learn-more-btn:hover{color:#862633 !important; background-color:#ffffff;}
.header__find-btn:hover{color:#862633 !important; background-color:#ffffff !important;}
.coh-style-berkley-header .primary-nav__learn-more-btn:active, .coh-style-berkley-header .primary-nav__learn-more-btn:focus{outline:2px solid #862633 !important; outline-offset:4px;} 

/*Header Style*/
.primary-nav__button{font-weight:400 !important; font-size:18px !important;}
.header__find-btn{font-weight:bold !important; font-size:14px !important;}
.coh-ce-cpt_above_site_header-c705cfdd .secondary-nav .coh-menu-list-item a{font-size:14px; line-height:28px;}


/* Footer style*/
.no-top-margin{font-size:13px; font-weight:400; height:21.5px; line-height:8px;}
.js-coh-menu-item-link{font-weight:600; font-size:13px;}
.contact-info{font-size:13px; line-height:8px;}
.coh-ce-cpt_sub_theme_berkley_site_foote-910ead22 .contact-info ul li a{font-size:13px !important; line-height:18px !important;}

/* Footer link styling*/
.coh-ce-cpt_sub_theme_berkley_site_foote-4e2b1489 a:hover{color:#ededed !important; text-decoration:underline;}
.coh-ce-4559537b:hover{color:#ededed !important; text-decoration:underline;}

/* Contact form styling */
.webform-button--submit{border: solid 2px #862633 !important;}
.webform-button--submit:hover{color:#862633 !important; background-color:#ffffff !important;}
.coh-style-berkley-form-contact-us-webform form .form-text{border-color:#862633 !important;}
.coh-style-berkley-form-contact-us-webform form .form-select{border-color:#862633 !important;}
.coh-style-berkley-form-contact-us-webform form .form-type-email input{border-color:#862633 !important;}
.coh-style-berkley-form-contact-us-webform form .form-type-textarea textarea{border-color:#862633 !important;}

/* Remove circle on image card 1 arrow */
.coh-style-berkley-image-card-01-cta:after{content:"\f061";}
.coh-style-berkley-image-card-01-cta:hover:after{content:"\f061" !important;}

/* Hero General CSS (Centered Buttons)
.coh-container.coh-ce-cpt_hero_content_container-3574f570{margin-left:36px;}
.coh-ce-cpt_hero_content_container-3574f570 .coh-link{margin-right:20px;}
*/

/* Form CSS*/
.form-select.required:active, .form-select.required:focus, .form-text.required:active, .form-text.required:focus, .form-email.required:active, .form-email.required:focus, .form-text:active, .form-text:focus, .form-select:active, .form-select:focus, .form-textarea.required:active, .form-textarea.required:focus{outline: solid 2px #862633 !important;}

/* Accordion CSS*/
.coh-ce-cpt_image_card_accordion-282eb0fd{margin-bottom:40px;}

/* Heros with Buttons*/
@media (min-width:320px){
.coh-ce-cpt_hero_content_container-3574f570{margin-left:25px;}}
@media (min-width:375px){
.coh-ce-cpt_hero_content_container-3574f570{margin-left:50px;}}
@media (min-width:425px){
.coh-ce-cpt_hero_content_container-3574f570{margin-left:72px;}}
@media (min-width:768px){
.coh-ce-cpt_hero_content_container-3574f570{margin-left:1px;}
.coh-ce-cpt_hero_content_container-46455895{width:70%}
.coh-ce-cpt_hero_content_container-3574f570 .coh-link{margin-right:6px;}}
@media (min-width:1024px){
.coh-ce-cpt_hero_content_container-3574f570{margin-left:40px;}
.coh-ce-cpt_hero_content_container-3574f570 .coh-link{margin-right:35px;}
.coh-ce-cpt_hero_content_container-46455895{width:555px}}
@media (min-width:1440px){
.coh-ce-cpt_hero_content_container-3574f570{margin-left:40px;}
.coh-ce-cpt_hero_content_container-3574f570 .coh-link{margin-right:35px;}
.coh-ce-cpt_hero_content_container-46455895{width:555px}}
@media (min-width:1920px){
.coh-ce-cpt_hero_content_container-3574f570{margin-left:43px;}
.coh-ce-cpt_hero_content_container-3574f570 .coh-link{margin-right:30px;}}
@media (min-width:2560px){
.coh-ce-cpt_hero_content_container-3574f570{margin-left:40px;}
.coh-ce-cpt_hero_content_container-3574f570 .coh-link{margin-right:30px;}}
/*Two Text Rows Buttons*/
@media (min-width:320px){
.ssa-component-instance-6b7e2731-6586-4ec9-97aa-5c05ad99a3f7 .coh-ce-cpt_hero_content_container-3574f570{margin-left:22px;}}
@media (min-width:375px){
.ssa-component-instance-6b7e2731-6586-4ec9-97aa-5c05ad99a3f7 .coh-ce-cpt_hero_content_container-3574f570{margin-left:40px;}}
@media (min-width:425px){
.ssa-component-instance-6b7e2731-6586-4ec9-97aa-5c05ad99a3f7 .coh-ce-cpt_hero_content_container-3574f570{margin-left:62px;}}
@media (min-width:768px){
.ssa-component-instance-6b7e2731-6586-4ec9-97aa-5c05ad99a3f7 .coh-ce-cpt_hero_content_container-3574f570{margin-left:13px;}
.ssa-component-instance-6b7e2731-6586-4ec9-97aa-5c05ad99a3f7 .coh-ce-cpt_hero_content_container-3574f570 .coh-link{margin-right:18px;}
.ssa-component-instance-6b7e2731-6586-4ec9-97aa-5c05ad99a3f7 .coh-ce-cpt_hero_content_container-46455895{width:82%}}
@media (min-width:1024px){
.ssa-component-instance-6b7e2731-6586-4ec9-97aa-5c05ad99a3f7 .coh-ce-cpt_hero_content_container-3574f570{margin-left:23px;}
.ssa-component-instance-6b7e2731-6586-4ec9-97aa-5c05ad99a3f7 .coh-ce-cpt_hero_content_container-3574f570 .coh-link{margin-right:28px;}
.ssa-component-instance-6b7e2731-6586-4ec9-97aa-5c05ad99a3f7 .coh-ce-cpt_hero_content_container-46455895{width:555px;}}
@media (min-width:1440px){
.ssa-component-instance-6b7e2731-6586-4ec9-97aa-5c05ad99a3f7 .coh-ce-cpt_hero_content_container-3574f570{margin-left:23px;}
.ssa-component-instance-6b7e2731-6586-4ec9-97aa-5c05ad99a3f7 .coh-ce-cpt_hero_content_container-3574f570 .coh-link{margin-right:25px;}}
@media (min-width:1920px){
.ssa-component-instance-6b7e2731-6586-4ec9-97aa-5c05ad99a3f7 .coh-ce-cpt_hero_content_container-3574f570{margin-left:25px;}
.ssa-component-instance-6b7e2731-6586-4ec9-97aa-5c05ad99a3f7 .coh-ce-cpt_hero_content_container-3574f570 .coh-link{margin-right:25px;}}
@media (min-width:2560px){
.ssa-component-instance-6b7e2731-6586-4ec9-97aa-5c05ad99a3f7 .coh-ce-cpt_hero_content_container-3574f570{margin-left:25px;}}

.coh-style-link-button-dark{color:#862633; background-color:#ffffff; border: solid 1.75px #862633; padding: 10px 70px 10px 70px; font-size: 12px; line-height: 18px; min-width:223px; letter-spacing: 1px;}
.coh-style-link-button-dark:visited{color:#862633;}
.coh-style-link-button-dark:hover{color:#ffffff; background-color:#862633;}
.footer-section .coh-style-custom-600-fw { text-transform: capitalize; font-weight:600; }
.footer-section .coh-style-custom-600-fw + ul, .footer-section .coh-style-custom-600-fw + ul .coh-menu-list-item:nth-child(1), .footer-section .coh-style-custom-600-fw + ul .coh-menu-list-item:nth-child(2), .footer-section .coh-style-custom-600-fw + ul .coh-menu-list-item:nth-child(4) { margin-top:0; }

@media (min-width:565px) {
#menu-primary-menu > li:nth-child(6), #menu-primary-menu > li:nth-child(7) { display: none;}
}

/* Products / Inland-marine page- Teaser List Component */
@media (min-width:1200px) {
	.coh-ce-cpt_teaser_list-c9de76262 p {
		width: 300px;
		margin: auto;
	}
}

/* Cards on the Homepage */
.front-page-container .coh-col-xl-4 { max-height:250px; }
.front-page-container .coh-col-xl-4 img { max-width:256px;margin-left:auto;margin-right:auto; }

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

/* Alert Box */
.alert-box.hidden { display:none; }
.alert-box, .alert-box-claims { width:350px;max-width:100%;background-color:#003d4c;color:white;padding:32px 16px;border-radius:24px;position:relative;z-index:5;top:24px; }
.alert-box .alert-text, .alert-box-claims .alert-text { display:flex;margin-bottom:1rem;flex-direction:column; }
.alert-box .alert-text a, .alert-box-claims .alert-text a { color:white !important;text-decoration:underline; }
.alert-box .alert-text a:focus, .alert-box-claims .alert-text a:focus { outline-color:white; }
.alert-box a, .alert-box-claims a { height:40px;width:100px;display:flex;margin-right:auto;color:white;border:1px solid #862633;background-color:#862633;justify-content:center;align-items:center;border-radius:20px;font-weight:600; }
.alert-box a:hover, .alert-box-claims a:hover { background-color:white;color:#862633;border:1px solid #862633; }
.alert-box a:focus, .alert-box-claims a:focus { outline:1px 2px solid white; }
.alert-box a:focus:hover, .alert-box-claims a:focus:hover { background-color:white;color:#862633;border:1px solid #862633; }

.alert-box a.reset, .alert-box-claims a.reset { background-color:white;border-color:#862633;color:#862633; }
.alert-box a.reset:hover, .alert-box-claims a.reset:hover { color:white;background-color:#862633; }
.alert-box a.reset:focus, .alert-box-claims a.reset:focus { outline-color:#862633; }
.alert-box a.reset:focus:hover, .alert-box-claims a.reset:focus:hover { background-color:#862633;border:1px solid white; }
/*Form*/
.coh-style-berkley-form-contact-us-webform #block-webform-2 form { min-height:205px; }
/*FORM COLUMNS*/
.form-one-column { display:grid; grid-template-columns:1fr; padding-right:2rem; }
.form-two-column { display:grid; grid-template-columns:repeat(2, minmax(0, 1fr)); padding-right:2rem; grid-gap:21px 2rem; }
@media(min-width:788px) { .form-two-column .one-col { grid-column:1 / 3; } }
@media(max-width:787px) { .form-two-column, .form-one-column { grid-template-columns:1fr; grid-gap:2rem; padding-right:0; } }

/* Reset Button */
#reset-form-button { color:white;background-color:#862633;font-weight:600;height:52px;width:fit-content;display:flex;justify-content:center;align-items:center;padding:8px 16px; }
#reset-form-button:hover { color:#862633;background-color:white;border:1px solid #862633; }
#reset-form-button:focus { outline:1px 2px solid #862633; }
