/*========== Global Styles ==========*/
html {
  scroll-behavior: smooth;
}

/* Add link outlines from Chrome & Firefox */
:focus {
outline: 1px dotted blue;
  outline-offset: 2px;
}
/* END Add link outlines from Chrome & Firefox */
h1 {color: #033660; font-weight: bold;}

/*========== END Global Styles ==========*/

/*========== Index Page Styles ==========*/
.index-container {
  position: relative;  
  background-color: #006699;
}
@media only screen and (min-width: 64em) { 
  .index-container {
    display:none;
  }
} 

.index-item {
  max-width:75%;
  margin: 0 auto 0 auto;
  align-items: center;
  /*background-color: #e0e0e0;*/
  padding: 1.63em;
}

@media only screen and (max-width: 64em) { 
  .index-item {
    max-width: 100%;
  }
} 
@media only screen and (max-width: 32em) { 
  .index-item {
    padding-top:3.5em;
  }
} 
.index-item h4 {
  font-size: 1.2rem;
  font-weight: bold;
  color: white;
}
.index-item p {
  font-size: 14px;
  font-weight: 400;
  color: white;
  padding-top:.5em;

  
}
video { 
  position: fixed;
  right: 0;
  bottom: 0;
  min-width: 100%; 
  min-height: 100%;
  object-fit: fill;
}
video.index-bg {
  display: block;
  position: relative;
  top:9.2em;
  z-index:-1;
}

/*Overrides*/

/*Gravity Forms*/
.gform-theme--foundation .gform_fields {
  grid-row-gap: 15px;
}


/*========== Navigation Styles ==========*/
.frontend-header-nav {
	background-color: white;
	position: absolute;
	top: 0;
	width: 100%;
}
@media only screen and (max-width:69em){
.wp-block-navigation__responsive-container .wp-block-navigation__responsive-container-content{
  display: none;
} 
}

.skip{
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
 }
 .skip:focus{
    position:static;
    width: auto;
    height: auto;
 }

.title-bar {
    width: 100%;
}
.top-bar {
	background-color: rgba(255,255,255,0.9);
	height: 92px;
	padding: 0;
    width: 100%;
	position: relative;
	z-index: 1;
}
.top-bar ul{
	background:transparent;
	position: relative;
}
.top-bar .dropdown .menu {
	background: transparent;

}
.top-bar .dropdown .menu a:hover{
    color: #063660;

}
.dropdown.menu .submenu>li a{
    background-color: rgba(255,255,255,0.9);
}
.dropdown.menu .submenu li a:hover{
	color:#063660;
    background-color: #fff;
    border-right:3px solid #063660;
}
ul.dropdown.menu .submenu {   
    border: none !important; 
    margin-top: 5px;
    width: 225px;
    float: left !important;
    position: absolute !important;
    top:82px !important;
}
.dropdown.menu .submenu.first-sub {
  left:auto;
}
.topbar-nav {
	position: relative;	
	margin-top: 5px;
    margin-left: 20px;
    z-index: 9999;
  background-color:#000:
}
.topbar-nav img{
    min-width:150px;
}

.menus-icon {
    content: ' ';
    color: black;
    width: 20px;
  height: 16px;
    text-align: center;
}
.itsy {
    width:15em;
}

/* 2021 3 button nav */
.sec-menu {
  position: absolute;
  top: 93px;
  left: 0px;
  z-index: 9999;
  font-size: 1.1rem;
}
#about-pop-out {
  position: absolute;
  top: 93px;
  left: 188px;
  z-index: 9999;
  width: 29%;
  padding:2em;
  background-color: rgba(0, 102, 153,.9);
  color:white;
  display: none;
  animation: fadeIn 1s;
}
#sell-pop-out {
  position: absolute;
  top: 166px;
  left: 188px;
  z-index: 9999;
  width: 29%;
  padding:2.87em;
  background-color: rgba(0, 102, 153,.9);
  color:white;
  display: none;
  animation: fadeIn 1s;
}
#med-pop-out {
  position: absolute;
  top: 305px;
  left: 188px;
  z-index: 9999;
  width: 29%;
  padding:2.87em;
  background-color: rgba(0, 102, 153,.9);
  color:white;
  display: none;
  animation: fadeIn 1s;
}
#group-pop-out {
  position: absolute;
  top: 445px;
  left: 188px;
  z-index: 9999;
  width: 29%;
  padding:2.87em;
  background-color: rgba(0, 102, 153,.9);
  color:white;
  display: none;
  animation: fadeIn 1s;
}
#IFP-pop-out {
  position: absolute;
  top: 538px;
  left: 188px;
  z-index: 9999;
  width: 29%;
  padding:2.87em;
  background-color: rgba(0, 102, 153,.9);
  color:white;
  display: none;
  animation: fadeIn 1s;
}
@media only screen and (max-width: 85.375em) {
  #hide-mobile {
    display: none;
  }
}

@media only screen and (max-width: 64em) {
  .sec-menu {
    top:117px;
    transform-origin: top left;
    transform: scale(.95);
  }
  #top-nav > ul {
    padding-left:175px;
  }
  #top-nav li {
    text-align: left;
    }
  #hide-mobile {
    display: none;
  }
}
@media only screen and (max-width: 30em) {
  .sec-menu {
    transform: scale(.65);
    font-weight:bold;
}
  #top-nav > ul {
    padding:0;
  }
  #top-nav li {
    text-align: right;
    font-size: .85rem;
  }
  #hide-mobile {
    display: none;
  }
}
.sec-menu ul {
  list-style-type: none;
  margin: 0;
  padding-left:0;
}
.sec-menu li {
  background-color: rgba(3, 54, 96, 1);
  cursor: pointer;
  transition: all ease .6s;
  border-bottom: 2px solid rgba(0, 0, 0, 0.6);
}
.sec-menu li:last-of-type {
  border-bottom: none;
}
.sec-menu li:first-of-type {
  border-right: 2px solid rgba(0, 0, 0, 0.6);
}

.sec-menu li:hover {
  background-color: #011a2f;
  
}

a.sec-menu-btn {
color: white;
text-align: center;
text-decoration: none;
padding: 1em 1.5em;
display: block;
}
a.sec-menu-btn p{
  font-family: sans-serif;
  line-height: 1.3;
  margin-top: .5em;    
}
a.sec-menu-btn:last-of-type p{
  margin-bottom: 0;
}
.sec-menu-btn img {
  margin: 0 auto 0 auto;
  padding-bottom: 0;

}
.sec-menu-btn .icon {
  display: block;
  
}
.popper p::after {
  content: '\203A';
  font-size:1.25em;
  padding-left:.25em;
  transition: all ease 300ms;
}
.popper p:hover::after {
  margin-left:.5rem;
}

/*
a{color:#fff;}
a:link{color:#fff;}*/
a:hover{color:#ff7e00;}
a:active{color:#000;text-decoration:underline;}

/*-------------------------------------------
testing specificity on frontend-navigation
--------------------------------------------*/
.wp-block-navigation-item a{color:#033660 !important;}
.wp-block-navigation-item a:hover{color:red !important;}
.wp-block-button.is-style-fill{color:pink !important;}
.wp-block-button a:hover{color:#033660 !important;
background-color:#8ed0ff !important;}
/*-------------end specificity test----------*/

/*========== END Navigation Styles ==========*/

/*========== Carrier Card Styles ============*/
.link-contain {
  width:245px;
  margin-bottom:20px;
  margin-right: 40px;
  float: left;
}
.link-contain2 {
  width:65%;
  margin-bottom:40px;
  clear: both;
  /*margin-right: 40px;
  float: left;*/
}
.carrier-card {
  width:100%;
  margin:1.2em;
  background-color:#ffffff;
  box-shadow:0px 0px 10px #cacaca;
}
.carrier-card2 {
  width:110%;
  margin-left:1.2em;
  background-color:#ffffff;
  box-shadow:0px 0px 10px #cacaca;
}
.card-info {
  width: 100%;
  padding:1.2em 1.2em .6em 1.2em;
  height: 355px;
}
.card-info img{
  margin:0 0 1.2em 0;
}
.card-info p {
  padding:0 .6em;
}
.card-info button {
    box-shadow:0px 0px 10px #cacaca;
}
.card-info a {
  color:black;
}
.card-info a:hover {
  color:black;
}
/*========== Agent Page Menu Styles =============*/

.left-sidebar {
  position: absolute;
  left: -20px; 
  top: 175px;
  width: 220px;
  height: auto;
}

/*========== Offers Card Styles ============*/
.offer-link-contain {
  width:245px;
  margin-bottom:20px;
  margin-right: 40px;
  float: left;
}

.offer-carrier-card {
  width:100%;
  margin:1.2em;
  background-color:#ffffff;
  box-shadow:0px 0px 10px #cacaca;
}

.offer-card-info {
  width: 100%;
  padding:1.2em 1.2em .6em 1.2em;
  
}
.offer-card-info img{
  margin:0 auto 1.2em auto;
}
.offer-card-info p {
  padding:0 .6em;
}
.offer-card-info button {
    box-shadow:0px 0px 10px #cacaca;
}
.offer-card-info a {
  color:black;
}
.offer-card-info a:hover {
  color:black;
}

/*========== MSS Card Styles ============*/

.mss-contain {
  width:65%;
  margin-bottom:20px;
  clear: both;
  /*margin-right: 40px;
  float: left;*/
}

.mss-card {
  width:110%;
  margin:1.2em;
  background-color:#ffffff;
  box-shadow:0px 0px 10px #cacaca;
  padding:15px;
}

/*========== Agent Page Menu Styles =============*/



/*========== Page Styles ==========*/
.body-bg { /* for index page */
  background-image: linear-gradient(white, #006699);
  background-repeat: no-repeat;
}

.wrapper {
    position: absolute;
    width: 100%;
    height: auto;
    z-index: -9999;
    background-size: cover;
}


.stopfade { 
   opacity: .5;
}

.image-boxes {
	position: relative;
	margin-top:84vh;
  /*margin-top:33%;
    margin-bottom: 2%;*/
}
.image-boxes .box-container{
    padding: 10px 10px 1px 10px;
    background-color: rgba(6,54,96,0.9);
    color: #fff;
    margin-top:10px;
    margin-bottom:10px; 
}
.image-boxes .box-container .button{
    color: #063660;
    font-weight: bold;
    font-size: 1.0em;
}
.image-boxes .box-container .button:hover{
    color: #fff;
    text-shadow: 1px 2px 3px #000000;
}
@media only screen and (max-width: 65em) {
  .flip-me {
    transform: scaleX(-1);
  }
}


/*========== END Page Styles ==========*/

/*========== Countdown Styles ==========*/
.countdown-timer-wrapper {
  border-radius: 5px;
  background-color: rgba(0, 0, 0, 0.6);
  margin-bottom: 20px;
  max-width: 300px;
  margin: 20px auto 50px auto;
}

.countdown-timer-wrapper h5 {
  font-size: 14px;
  letter-spacing: 0.5px;
  text-align: center;
  padding-top: 10px;
  text-shadow: none;
}

.countdown-timer-wrapper .timer {
  padding: 10px;
  text-align: center;
  padding-top: 15px;
}

.countdown-timer-wrapper .timer .timer-wrapper {
  display: inline-block;
  width: 60px;
  height: 50px;
}

.countdown-timer-wrapper .timer .timer-wrapper .time {
  font-size: 28px;
  font-weight: bold;
  color: #ffffff;
}

.countdown-timer-wrapper .timer .timer-wrapper .text {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
}

/*========== END Countdown Styles ==========*/

/*========== Login Styles ==========*/
#slide-out input{
  margin-bottom: 20px;
}

.slide-btn {
  position:relative;
  z-index: 9999;
  width:110px;
  height:50px;
  top:14px;
  right:14px;
  float:right;
  background-color:#ff6600;
  border: 1px solid #e0e0e0;
}
.slide-btn:hover {
  opacity:.9;
  cursor:pointer;
}
.slide-btn p{
  color:#ffffff;
  margin:0;
  padding-top: .7em;
  padding-left: .25em;
  padding-right: .25em;
  font-weight: bold;
  /*line-height: 1.0em;*/
  text-align: center;
}
#slide-out {
  width:300px;
  height:auto;
  padding:20px;
  margin-right:10px;
  position:fixed;
  z-index: 99999;
  top:10px;
  right:0;
  background-color:#f9f9f9;
  border: 1px solid #e0e0e0;
}
#slide-out span{
  cursor: pointer;
}
.form h3 {
  margin-top:0px;
}
.form span {
  margin-top:0px;
}
.form input {
  margin-bottom:10px;
}
input.text-input {
  width:100%;
}

/*========== END Login Styles ==========*/

/*========== Footer Styles ==========*/
.footer-upper {
    padding:20px;
    background-color: rgba(6,54,96,0.95);
    color: #fff;
	position: relative;
	z-index: 1;
}
.footer-lower .row {
    background-color: transparent;
    width: 100%;
}
.footer-lower {
    padding:30px 20px 20px 20px;
    background-color: black;
    color: #fff;
    font-size: 12px;
    font-weight: normal;
    position: relative;
    margin-top:2em;

}
.complie{
  font-size:14px;
}
/*========== END Footer Styles ==========*/

/*========== Font Styles ==========*/
h1 {
  font-size:2rem;
}
/*========== END Font Styles ==========*/

/*========== Hamburger Styles ==========*/

.hamburger ul{
  list-style-type: none;
  background-color: white;
  margin: 0px;
}
.hamburger ul li {
  padding: 20px 20px 0px 40px;
  font-weight: bold;
}
.hamburger ul li:first-of-type{
  padding-top: 1.0em;
  
}
.hamburger ul li:last-of-type{
  padding-bottom: 1.0em;
  
}


/*========== END Hamburger Styles ==========*/

/*========== Testimonial Styles ==========*/

.testimonial {
  position: relative;
  margin-top: 30px;
  padding: .75em;
  width: 100%;
  background-color: rgba(255,255,255,.75);
}

/*========== End Testimonial Styles ==========*/

/*============Style Nee ======================*/
/* this is the poster background for mobile*/
.neenee {
	background: url(http://weknowhealthinsurance.co/wp-content/uploads/2024/04/Poster.jpg) no-repeat top center; background-size: cover;
	position: fixed;
	z-index: 50;
}

/*====fail background classes=============*/
.fail1 {
  background: url(https://berwickinsurance.com/themes/berwick-theme/img/mouse.jpg) no-repeat top center; background-size: cover;
}
.fail2 {
  background: url(https://berwickinsurance.com/themes/berwick-theme/img/portrayal-89189_1280.jpg) no-repeat top center; background-size: cover;
}
.fail3 {
  background: url(https://berwickinsurance.com/themes/berwick-theme/img/Cat.jpg) no-repeat top center; background-size: cover;
}
.fail6 {
  background: url(https://berwickinsurance.com/themes/berwick-theme/img/viscacha.jpg) no-repeat top center; background-size: cover;
}

/*==========fail background classes with media queries==========*/
/* ----------- iPhone 5, 5S, 5C and 5SE ----------- */
/* Portrait */
@media only screen 
  and (min-device-width: 320px) 
  and (max-device-width: 568px)
  and (-webkit-min-device-pixel-ratio: 2)
  and (orientation: portrait) {
      
.fail1 {
  background: url(https://berwickinsurance.com/themes/berwick-theme/img/mousesm.jpg) no-repeat top center; background-size: cover;
}
.fail2 {
  background: url(https://berwickinsurance.com/themes/berwick-theme/img/portrayalsm.jpg) no-repeat top center; background-size: cover;
}
.fail3 {
  background: url(https://berwickinsurance.com/themes/berwick-theme/img/Catsm.jpg) no-repeat top center; background-size: cover;
}
.fail6 {
  background: url(https://berwickinsurance.com/themes/berwick-theme/img/viscachasm.jpg) no-repeat top center; background-size: cover;
}  
.begone {
 display: none;
}
/*.cd-faq-group{
      margin-bottom:500px;    
      }*/
.complie{
  font-size:10px;
}
}

/* ----------- iPhone 6, 6S, 7 and 8 ----------- */
/* Portrait */
@media only screen 
  and (min-device-width: 375px) 
  and (max-device-width: 667px) 
  and (-webkit-min-device-pixel-ratio: 2)
  and (orientation: portrait) { 
      
.fail1 {
  background: url(https://berwickinsurance.com/themes/berwick-theme/img/mousesm.jpg) no-repeat top center; background-size: cover;
}
.fail2 {
  background: url(https://berwickinsurance.com/themes/berwick-theme/img/portrayalsm.jpg) no-repeat top center; background-size: cover;
}
.fail3 {
  background: url(https://berwickinsurance.com/themes/berwick-theme/img/Catsm.jpg) no-repeat top center; background-size: cover;
}
.fail6 {
  background: url(https://berwickinsurance.com/themes/berwick-theme/img/viscachasm.jpg) no-repeat top center; background-size: cover;
}
.begone {
 display: none;
}
.complie{
  font-size:12px;
}
}

/* ----------- iPhone 6+, 7+ and 8+ ----------- */
/* Portrait */
@media only screen 
  and (min-device-width: 414px) 
  and (max-device-width: 736px) 
  and (-webkit-min-device-pixel-ratio: 3)
  and (orientation: portrait) { 

.fail1 {
  background: url(https://berwickinsurance.com/themes/berwick-theme/img/mousesm.jpg) no-repeat top center; background-size: cover;
}
.fail2 {
  background: url(https://berwickinsurance.com/themes/berwick-theme/img/portrayalsm.jpg) no-repeat top center; background-size: cover;
}
.fail3 {
  background: url(https://berwickinsurance.com/themes/berwick-theme/img/Catsm.jpg) no-repeat top center; background-size: cover;
}
.fail6 {
  background: url(https://berwickinsurance.com/themes/berwick-theme/img/viscachasm.jpg) no-repeat top center; background-size: cover;
}
.begone {
 display: none;
}
.complie{
  font-size:12px;
}
}

/* ----------- iPhone X ----------- */
/* Portrait */
@media only screen 
  and (min-device-width: 375px) 
  and (max-device-width: 812px) 
  and (-webkit-min-device-pixel-ratio: 3)
  and (orientation: portrait) { 

.fail1 {
  background: url(https://berwickinsurance.com/themes/berwick-theme/img/mousesm.jpg) no-repeat top center; background-size: cover;
}
.fail2 {
  background: url(https://berwickinsurance.com/themes/berwick-theme/img/portrayalsm.jpg) no-repeat top center; background-size: cover;
}
.fail3 {
  background: url(https://berwickinsurance.com/themes/berwick-theme/img/Catsm.jpg) no-repeat top center; background-size: cover;
}
.fail6 {
  background: url(https://berwickinsurance.com/themes/berwick-theme/img/viscachasm.jpg) no-repeat top center; background-size: cover;
}
.begone {
 display:none;
}
.complie{
  font-size:12px;
}      
}

/* ----------- Galaxy S6 ----------- */
/* Portrait */
@media screen 
  and (device-width: 360px) 
  and (device-height: 640px) 
  and (-webkit-device-pixel-ratio: 4) 
  and (orientation: portrait) {

.fail1 {
  background: url(https://berwickinsurance.com/themes/berwick-theme/img/mousesm.jpg) no-repeat top center; background-size: cover;
}
.fail2 {
  background: url(https://berwickinsurance.com/themes/berwick-theme/img/portrayalsm.jpg) no-repeat top center; background-size: cover;
}
.fail3 {
  background: url(https://berwickinsurance.com/themes/berwick-theme/img/Catsm.jpg) no-repeat top center; background-size: cover;
}
.fail6 {
  background: url(https://berwickinsurance.com/themes/berwick-theme/img/viscachasm.jpg) no-repeat top center; background-size: cover;
} 
.begone {
    display: none;
}
.complie{
  font-size:12px;
}
}

/*====end of fail background media queries===============*/
/*==== Replace video with image media queries ========

@media only screen and (max-width: 586px) {
  body {
         background: url(../img/Poster.png) no-repeat top center fixed;
         background-size: cover;
         background-color: #000;
    }
  video {
        display: none;
    }
}
*/

/*======Over riding Foundations Table settings====*/
.resetTable table {
  margin-bottom: 0;
  border-radius: 0; }
 .resetTable thead,
  tbody,
  tfoot {
    border:none;
    background-color:transparent;}
  .resetTable caption {
    font-weight: bold;
    padding: 0px; }
  .resetTable thead,
  tfoot {
    background: transparent;;
    color: #0a0a0a; }
 .resetTable thead tr,
    tfoot tr {
      background: transparent; }
  .resetTable thead th,
    thead td,
    tfoot th,
    tfoot td {
      padding: 0px;
      font-weight: bold;
      text-align: left; }
 .resetTable tbody tr:nth-child(even) {
    background-color: transparent; }
 .resetTable tbody th,
  tbody td {
    padding: 0px;
	
}
/*======Blog Post Styles========*/
.blog last-child {
  float: left;
}

.left-sidebar {
  display: inline-block;
  height: 100vh;
  margin-left: 3.0em;
  height: 100%;
  width: 25%;
}
.blog-post {
  background-color:#ffffff;
  box-shadow:0px 0px 10px #cacaca; 
  padding: 20px;
  margin:20px 20px 50px 20px;
}
.blog-pic {

}
.blog-title-box {
  margin-top:10px;
}
.blog-content {

}
.post:last-child:not(:first-child), .post:last-child:not(:first-child) {
	float:left;
}


/*====== Training Calendar Cards ========*/
div.flex-container {
  display: flex;
  flex-wrap: wrap;
  box-sizing: border-box;
}
section.training-section {
  position: relative;
  align-items: stretch;
  margin-bottom: 1em;
  transition: all ease 500ms;
}
section.training-section:hover {
  transform: translateY(-5px);
}
.training-cards {
  text-align: center;
  color:#fff;
  max-width: 10em;
  margin:1em;
  height: 100%;
}
@media only screen and (max-width: 64em) {
  .training-cards {
    max-width: 20em;
  }
}
.training-cards a {
  color:white;
}

.training-cards p img {
  display: block;
  margin: 0 auto 0 auto;
}
.training-cards p {
  padding:1rem 0 1rem 0;
  line-height: 1.4;
  align-items: center;
}
.cards-main {
  display: flex;
  flex-direction: column;
  padding: 10px;
  box-shadow: 5px 5px 10px #585858; 
  border-radius: 20px 20px 0 0;  
  height: 100%;
}
.card-bot {
  display: flex;
  flex-direction: column;
  align-self: flex-end;
  margin: auto 0 0 0;
}
.compliance-card {
  background-color: #1E7800;
}
.marketing-card {
  background-color: #033660;
}
.agentsupport-card {
  background-color: #85794f;
}
.sales-card {
  background-color: #610303;
}
.marketing-card {
 background-color:#033660;
}
.spotlight-card {
  background-color:#85794f;
}
.technology-card {
  background-color: #585858;
}
.IFP-card {
  background-color: #585858;
}