/* Laya Colours
midblue         #00679A   0,103,154
brightBlue      #4CC2F1   76,194,241
darkBlue        #1C3660   28,54,96
pink            #D60570   214,5,112
dark pink       #991636   153,22,54
grey            #DDDDDD   221,221,221
lightgrey       #F1F1F1   241,241,241
darkgrey        #555555   85,85,85
limegreen       #B5B000   181,176,0
darkgreen       #827A04   130,122,4
orange          #DC6B2F   220,107,47
darkorange      #864A33   134,74,51
yellow          #EFDF00   239,223,0
darkyellow      #CFB500   207,181,0
*/

body, p {
	font-family: open_sansregular, arial, helvetica, sans-serif;
}

.layalifecompany a{
  background-color:#B5B000;
  color: #ffffff;
}

h1 {
  color: #B5B000;
  text-align:center;
}

.login-section {
    margin-left: 10px;
}

.banner_and_quote, .banner {
  position: relative;
  overflow: visible;
  padding: 0;
  margin-bottom: 0px;
}

.big_banner_image {
  width: 100%;
  padding-bottom: 48%;
  background-size: 100%;
  background-repeat: no-repeat;
}

.banner_and_quote .headline, .banner .headline {
  position: absolute;
  top: 0px;
  left: 40px;
  width: 840px;
  width: calc(100% - 80px);
  float: left;
}

.banner_and_quote .headline {
  width: 500px;
  width: calc(100% - 380px); /* Leave some space for quick quote */
}

.memberofferexplain .headline {
  max-width: 40%;
  left: 20px;
}

.banner_header {
  background-image: none;
  color: #1C3660 !important;
  font-size: 28px;
  margin: 20px 0 10px 0;
  padding: 0;
  max-width: 370px;
  text-align: center;
  line-height: 36px;
  font-family: Conv_CoconPro-Regular, arial, sans-serif;
}

.memberofferexplain .banner_header {
  max-width: 100%;
}

.banner_followup {
  font-size: 18px;
  color: white;
  text-align: center;
}

.banner_key_benefits {
  position: absolute;
  top: 55%;
  width: 500px;
  width: calc(100% - 290px);
  margin-top: 0px;
  overflow: hidden;
}

.banner_key_benefits p {
  margin: 0;
  font-family: Conv_SariOT-Bold, arial, sans-serif;
  font-size: 18px;
}

.banner_key_benefits ul {
  padding-left:20px;
  margin:10px 0;
  float: left;
  width: 100%;
}

.banner_key_benefits li {
  font-size: 16px;
  color: #1C3660;
  font-family: Conv_SariOT-Bold, arial, sans-serif;
}

.banner_footer {
  position: absolute;
  bottom: 10px;
  width: 100%;
  width: calc(100% - 370px);
  max-width: 700px;
  margin: 0;
}

.banner_footer, .banner_footer p {
  font-size: 11px;
  text-align: left;
  color: black;
  padding-left: 0.6rem;
  text-indent: -0.8rem;
  font-family: Conv_SariOT-Bold, arial, sans-serif;
  margin: 0;
}

.memberofferexplain .main_text {
  float: left;
  width: 100%;
  max-width: 530px;
  max-width: calc(100% - 380px);
}

.memberofferexplain .box_right {
  float: right;
}

.memberofferexplain .box_right a {
  display: block;
}

.memberofferexplain li {
  margin-top: 10px
}

.quote_tool {
  font-size: 14px;
  margin: 15px 0 15px -9px;
}

/* Temporarily set life sales tool to have a base font size of 14px until Wilson gets round to changing */
.life-sales-tool {
  font-size: 14px;
}

.mid_topics ul {
  overflow: auto;
}

.mid_topic {
  float: left;
  width: 47%;
  margin-right: 6%;
  text-align: left;
  background: none;
}

.mid_topic2 {
  margin-right: 0;
  float: right;
}

.mid_topic3 {
  display: none;
}

.mid_topic_button {
  display: inline-block;
  list-style: none;
  height: 30px;
  line-height: 30px;
  font-size: 16px;
  font-weight: bold;
  text-align: left;
  background-color: #fff;
  color: #B5B000;
  display: block;
  width: 100%;
}

.mid_topic_list {
  text-align: left;
  list-style: initial;
}

.mid_topic p {
  padding: 5px 10px;
  text-align: left;
  margin: 0 0 18px 0;
  font-size: 13px;
  line-height: 1;
}

.mid_topic h2 {
  font-size: 20px;
  line-height: 1.5;
  min-height: 20px;
  padding: 5px 10px;
  margin-bottom: 0px;
  font-family: Conv_SariOT-Bold, arial, sans-serif;
  color: #00679A;
}

/* Original styling on Laya life buttons */
/* .btn-primary {
  box-shadow: inset 0px 1px 0px 0px #D60570 !important;
  background: linear-gradient(#D60570, #991636) !important;
}

.btn-primary:active {
  box-shadow: inset 0px 1px 0px 0px #D60570 !important;
  transform: none !important;
}

.btn-primary:hover {
  box-shadow: inset 0px 1px 0px 0px #D60570 !important;
  background: linear-gradient(#991636, #D60570) !important;
} */

.image-banner .btn {
	min-width: 200px;
}

.btn {
	border-radius: 50vh;
	font-family: Conv_CoconPro-Regular, arial, sans-serif;
	font-size: 16px;
	min-width: 80px;
	margin: 0 6px;
	margin-bottom: 8px;
	padding: 8px 20px;
	box-shadow: none;
	transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

.btn-primary {
	background: #d60570;
	color: #fff;
	border: 1px solid #d60570 !important;
	border-color: #d60570 !important;
}

.btn-primary:active {
	color: #fff;
	background: #a40456 !important;
	background-color: #a40456;
	border-color: #a40456 !important;
}

.btn-primary:hover {
	color: #fff;
	background: #b1045c !important;
	border-color: #b1045c !important;
}
.btn-link {
	background: rgba(255, 255, 255, 0.00);
	color: #d60570;
	border: 1px solid rgba(255, 255, 255, 0.00) !important;
	border-color: rgba(255, 255, 255, 0.00) !important;
}

.btn-link:active {
	color: #AA0061;
	background: rgba(255, 255, 255, 0.00);
	border-color: rgba(255, 255, 255, 0.00) !important;
}

.btn-link:hover {
	color: #AA0061;
	background: rgba(255, 255, 255, 0.00);
	border-color: rgba(255, 255, 255, 0.00) !important;
}

.sales_tool {
  min-height: 608px;
}

.sitemap ul ul {
  margin-top: 0px;
  /*t4 type="media" id="1007" formatter="path/*"/>*/
  background-image: url(/media/layacommon/images/icons/list_link.gif);
  background-repeat: no-repeat;
  background-position: 2% 0%;
}

.call_to_action_bar .btn-primary {
  /* Commenting out so that font size can be inherited from bootstrap size classes */
  /* font-size: 24px; */
}


/* Laya Life */
/* Quick Quote Banner Tool */
.hero {
  width: 100%;
  height: auto;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}
.life-section {
  margin-bottom: 40px;
}

.quote-section {
  position: relative;
  top: -340px;
  margin-bottom: -340px;
  float: left;
}

.quote-section #quote-tool {
  min-height: 360px;
}

#sales-panel {
  margin: 0px 20px 12px;
  background: rgba(255, 255, 255, 0.5);
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.5), rgba(240, 240, 240, 0.8));
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
  padding: 0;
}

.benefit-list {
  text-align: center;
  margin-bottom: 40px;
}
.benefit-list li {
  display: inline-block;
  width: 220px;
  margin: 0 8px;
  vertical-align: top;
}
.benefit-list i {
    display: inline-block;
    width: 130px;
    height: 130px;
    margin-bottom: 8px;
    border-radius: 65px;
    box-shadow: 0px 0px 30px rgba(102, 102, 102, 0.25);
}
.benefit-list h4 {
    font-size: 20px;
    line-height: 24px;
    color: #666666;
}

#sales-panel .panel-body {
  text-align: center;
  padding: 12px 16px;
}

#sales-panel h1 {
  background: none;
  color: #1C3660;
  margin: 0px;
  font-size: 18px;
  padding: 0px;
}
#main-body h1 {
  background: none;
  text-align: left;
  line-height: 120%;
}
#main-body h2 {
    color: #D60570;
}

/* h1#get-a-quote {
    position: relative;
    top: -336px;
    color: #ffffff;
    background-image: none;
    padding-bottom: 0px;
    margin-top: 16px;
    text-shadow: 3px 3px 8px rgba(0, 0, 0, 0.5);
    font-size: 32px;
    line-height: 105%;
} */

#main-body p,
#main-body li{
  font-size: 14px;
  line-height: 22px;
  color: #666666;
}
#main-body.bullet-points p {
  line-height: 200%;
  color: #666666;
}

#main-body li.larger {
  list-style: disc;
  margin-left: 40px;
}

.call_to_action_bar {
  padding: 20px 10px;
  border-radius: 4px;
  margin-top: 40px;
  margin-bottom: 0px;
  background-color: rgba(245, 245, 245, 0.5);
}

.call_to_action_bar .btn-primary {
  /* Commenting out so that font size can be inherited from bootstrap size classes */
  /* font-size: 18px; */
}

.bullet-points {
    padding-left: 40px;
}

#main-body.bullet-points p:first-child:before,
#main-body.bullet-points p:last-child:before {
    content: "";
    display: none;
    width: 32px;
    height: 32px;
    float: left;
    margin: -2px 4px 0 0;
    background: none;
}
#main-body.bullet-points p:before {
        content: "";
    display: block;
    width: 32px;
    height: 32px;
    float: left;
    margin: -2px 4px 0 0;
    background: url('/media/layalife/images/icons/svg/ic_tick_life.svg') no-repeat;
}


/* BANNER ALERTS */
.laya-life .alert {
	position: relative;
	padding: .75rem 1.25rem;
	margin-bottom: 1rem;
	border: 1px solid transparent;
	border-radius: 4px;
}

.laya-life .alert-heading {
	font-family: open_sansregular, arial, helvetica, sans-serif;
	font-size: 16px; 
	color: #444444;
	margin-bottom: 4px;
}

.laya-life .alert p {
	font-family: open_sansregular, arial, helvetica, sans-serif;
	font-weight: 600;
	font-size: 12px; 
	color: #888010;
	letter-spacing: 0.5px;
}

.laya-life .alert-success {
	background-color: #f4f4df;
	border-color: transparent;
}


	/* MOBILE ALERT */
    @media only screen and (max-width : 767px) {
		.laya-life .alert {
			margin-bottom: 2rem;
			border-radius: 0;
		}
	}
	/* END MOBILE ALERT */

/* END BANNER ALERTS */


/* IMAGE BANNER WITH TEXT and CTA */
.unselectable {
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	cursor: default;
}

/* When new look and feel goes live remove this class */
.laya-life .image-banner {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
    background-size: cover;
    background-position: center top;
    border-radius: 0px;
    margin-top: -15px;
}
.laya-life .banner-title {
	font-family: Conv_CoconPro-Regular, arial, sans-serif;
	color: #ffffff;
	font-size: 48px;
	margin-bottom: 20px;
	line-height: 110%;
	width: 540px;
	background: none;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.25);
}
/* !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! */

.laya-life .hero-banner {
    position: relative;
    width: 100%;
    height: 440px;
    overflow: hidden;
    background-size: cover;
    background-position: center top;
    border-radius: 0px;
    margin-top: -15px;
}
.laya-life .hero-banner h1 {
	font-size: 56px;
	line-height: 120%;
	padding-bottom: unset;
	margin-bottom: 16px;
	margin-top: 32px;
}
.laya-life .hero-banner p.subheading {
	font-family: Conv_CoconPro-Regular, arial, sans-serif;
	font-size: 24px;
	color: #ffffff;
	margin-bottom: 40px;
}
.laya-life h1 {
	color: #36383a;
    text-align: left;
    background-image: none;
    font-size: 40px;
    padding: 40px 0;
}
.laya-life.card-set .card {
	padding-bottom: 28px;
	min-height: 240px;
}
.laya-life.card-set h3,
.overlay-banner h3 {
	font-size: 28px;
	color: #36383a;
	margin: 0px 0px 8px 0px;
	line-height: 120%;
}
.overlay-banner {
	background-color: #fafafa;
	padding: 40px 32px;
	margin: 40px 0;
    border-radius: 30px;
	position: initial;
}
.overlay-banner h1 {
    padding: 8px 0;
	margin-top: 0;
}
.overlay-banner .cta-quote {
	padding-top: 24px;
}
.laya-life.card-set p,
.laya-life p {
	font-size: 16px;
	color: #53565a;
	line-height: 150%;
}
.laya-life .card-button {
	text-align: center;
	background-color: #fff;
	border-radius: 20px;
	padding: 60px 60px 42px 60px;
	margin: 28px;
}
.laya-life .card-sm {
	text-align: center;
	background-color: #fff;
	border: 1px solid #eaeaeb;
	border-radius: 14px;
	padding: 32px 24px;
	margin-bottom: 16px;
}
.laya-life .card-sm h2 {
	font-size: 32px;
	line-height: 1.1;
	margin: 0 0 8px 0;
    color: #6F6703;
}
.laya-life .card-sm h3 {
	font-size: 22px;
    font-family: Conv_CoconPro-Regular, arial, sans-serif;
	margin: 0px 0px 8px 0px;
    color: #6F6703;
}
.laya-life .card-sm p {
	margin: 0px;
}

.image-testimonial {
    height: 410px;
    overflow: hidden;
    background-size: cover;
    background-position: center top;
    border-radius: 30px;
	margin: 60px 0;
}
#life-testimonial {
	padding-left: 80px;
	padding-bottom: 40px;
}
#life-testimonial h4 {
	font-family: Conv_CoconPro-Regular, arial, sans-serif;
	font-size: 24px;
	color: #36383a;
	margin-bottom: 8px;
	line-height: 120%;
}
#life-testimonial p {
	font-size: 14px;
	color: #53565a;
	margin-bottom: 40px;
}
#life-testimonial h4:before {
	content: "";
	width: 40px;
	height: 54px;
	float: left;
	margin: -6px 12px 0 0;
	background: url('/media/layalife/images/icons/svg/ic_bullet_point_hands_holding_alt.svg') no-repeat;
}
.laya-life .life-card-heading { text-align: center; }
.laya-life .life-card {
	display: flex;
	flex-direction: column;
	width: 392px;
	border-radius: 20px;
	padding: 32px 24px 24px 24px;
	margin: 0 auto;
	margin-bottom: 40px;
	background: #FFF;
	align-items: center;
	gap: 0.5rem;
	box-shadow: 0px 4px 40px 0px rgba(79, 108, 129, 0.12);
}
.laya-life .life-card p {
	text-align: center;
}
.laya-life .ic-container {
	width: 50px;
	height: 50px;
	background-size: contain;
	background-repeat: no-repeat;
	margin-bottom: 20px;
}



.laya-life #quote-tool {
	margin-bottom: 20px;
}
.laya-life #qqMainHeader {
	color: #B5B000 !important;
	text-shadow: none !important;
	font-size: 36px !important;
	text-align: center !important;
}

.hide-cta {
	visibility: hidden;
}
	
.curve-bottom-white {
	background: url('/media/layalife/images/generalimagery/bg-get-a-quote-topwhitecurve.svg') no-repeat;
    height: 110px;
    width: 120%;
    margin-left: -60px;
    -webkit-transform: scale(-1, -1);
    transform: scale(-1, -1);
}

	/* COLOUR SECTION */
	.laya-life .color-block {
		background-color: #827A04;
		background: linear-gradient(0deg, rgb(111, 103, 3) 10%, rgba(130,122,4,1) 50%);
		display: inline-block;
		padding: 60px;
	}
	.laya-life h1 {
		background-image: none;
		text-align: left;
		line-height: 120%;
	}
	
	.laya-life .color-block h1 {
		color: #ffffff;
	}

	.laya-life .icon-placeholder {
		-webkit-box-flex: 1;
		flex: 1;
		display: -webkit-box;
		display: inline-flex;
		-webkit-box-align: center;
		align-items: center;
		margin-bottom: 20px;
	}

	.laya-life .icon-placeholder i {
		margin: 0 12px;
		min-width: 50px;
		height: 50px;
	}

	.laya-life .icon-placeholder p {
		font-size: 16px;
		color: #ffffff;
		margin: 0;
	}
	.laya-life .call_to_action_bar {
		display: inline-block;
		font-size: 18px;
	}
/* END COLOUR SECTION */



	/* TABLET LANDSCAPE BANNER */
    @media only screen and (max-width : 1199px) {
		.laya-life .banner-title {
			font-size: 40px;
		}		
	}
	/* END TABLET LANDSCAPE BANNER */
    
    /* TABLET PORTRAIT BANNER */
    @media only screen and (max-width : 991px) {
		 /* .laya-life {
          z-index: -1;
        } */
      
		.laya-life .banner-title { font-size: 40px; }
		.laya-life .banner-title { font-size: 40px; }
		.laya-life #qqMainHeader { font-size: 32px !important; }
      
		.laya-life .jumbotron {
			margin-bottom: 0px;
		}
	}
	/* END TABLET PORTRAIT BANNER */
    

	/* MOBILE BANNER */
    @media only screen and (max-width : 767px) {
		.curve-bottom-white {
			height: 100px;
			width: 130%;
			bottom: 0;
			position: absolute;
		}
		.curve-top-white {
			margin: 0 -60px 40px -60px;
		}
		.laya-life .color-block h1 {
			font-size: 30px;
		}
		.laya-life .banner-title {
			font-size: 30px;
			width: 100%;
		}
      
      
      /* ******************** */
		.laya-life .hero-banner {
			height: 356px;
		}
		.laya-life .hero-banner .banner-title {
			font-size: 30px;
		}
        .laya-life .hero-banner p.subheading {
			font-size: 16px;
			margin-bottom: 24px;
		}
		.laya-life .card .icon-placeholder {
			margin-bottom: 0px;
		}
		.laya-life.card-set h1 {
			padding: 40px 15px 32px 15px;
		}
		.laya-life.card-set h1,
		.laya-life.overlay-banner h1,
		.laya-life h1 {
			font-size: 28px;
		}
		.laya-life.card-set h3,
		.laya-life.overlay-banner h3 {
			font-size: 20px;
		}
		#life-testimonial {
			padding: 0 20px 40px 20px;
		}
		#life-testimonial h4 {
			font-size: 16px;
		}
		.laya-life.overlay-banner h1 {
			padding-bottom: 20px;
			text-align: center;
		}
		.overlay-banner {
			width: 100%;
			margin: 0 auto;
			text-align: center;
			padding: 32px 0px;
			border-radius: 0;
		}
		.overlay-banner .cta-quote {
			padding-top: 0;
		}
		.image-testimonial {
			height: 220px;
			width: 90%;
			margin: 40px auto -20px;
		}
		.laya-life .life-card {
			width: 100%
		}
		.laya-life .laya-life-faq {
			padding: 2rem;
			border-radius: 0.625rem;
			background: #fff;
			box-shadow: 0px 4px 40px 0px rgba(79, 108, 129, 0.12);
		}
		.laya-life .card-button {
			padding: 24px 16px 16px 16px;
			margin: 16px 8px;
		}
		.laya-life .btn {
			white-space: normal;
		}
      
      /* ******************** */
      
      
		.laya-life .call-to-action-bar {
			font-size: 18px;
		}
		.laya-life .call_to_action_bar .tel {
			background: none;
			border: none;
			display: inline;
		    color: #d60570;
		    font-size: inherit;
			font-family: open_sansregular, arial, helvetica, sans-serif;
		    font-weight: bold;
		    padding: 5px 4px;
		    text-align: center;
		    line-height: normal;
		}
		.laya-life .call_to_action_bar .tel a {
			color: #d60570;
		}
		.laya-life .call_to_action_bar .tel a:hover, .tel a:focus {
			background: none;
		}
	}
	/* END MOBILE BANNER */

/* END IMAGE BANNER WITH TEXT and CTA */



/* ICON SET */
.ic-no-medical-new {
    background: url('/media/layalife/images/icons/svg/ic_no_medical_new.svg') no-repeat;
}
.ic-easy-sign-up-new {
    background: url('/media/layalife/images/icons/svg/ic_easy_sign_up_new.svg') no-repeat;
}
.ic-online-discount-new {
    background: url('/media/layalife/images/icons/svg/ic_online_discount_new.svg') no-repeat;
}
.ic-phone {
    background: url('/media/layalife/images/icons/svg/ic_phone.svg') no-repeat;
}
.ic-circle-euro {
    background: url('/media/layalife/images/icons/svg/ic_circle_euro.svg') no-repeat;
}
.ic-house-chimney-medical {
    background: url('/media/layalife/images/icons/svg/ic_house_chimney_medical.svg') no-repeat;
}
.ic-info-circle {
    background: url('/media/layalife/images/icons/svg/ic_info_circle.svg') no-repeat;
	width: 24px;
	height: 24px;
	margin: 8px 20px 12px 0;
}
.curve-top-white {
    background: url('/media/layalife/images/generalimagery/bg-get-a-quote-topwhitecurve.svg') no-repeat;
	height: 110px;
	margin: -60px -60px 40px -60px;
}
/* END ICON SET */



/*****************************************/
/* DELETE THESE ONCE THE ABOVE ARE IN USE */
/* AND REMOVE NEW FROM THE CLASS NAME ABOVE */
/* ICONS */
.ic-no-medical {
    background: url('/media/layalife/images/icons/svg/ic_no_medical.svg') no-repeat;
}
.ic-easy-sign-up {
    background: url('/media/layalife/images/icons/svg/ic_easy_sign_up.svg') no-repeat;
}
.ic-online-discount {
    background: url('/media/layalife/images/icons/svg/ic_online_discount.svg') no-repeat;
}
/* END ICONS */
/* DELETE THESE ONCE THE ABOVE ARE IN USE*/
/*****************************************/


/* TABLET LANDSCAPE */
    @media only screen and (max-width : 1199px) {	
	  #sales-panel {
      			margin: 0px 20px 12px;
		 }
	 .quote-section {
			top: -280px;
			margin-bottom: -280px;
	 	 }
	  h1#get-a-quote {
      			top: -280px;
		  }
	}
	/* END TABLET LANDSCAPE */
    
    /* TABLET PORTRAIT */
    @media only screen and (max-width : 991px) {	
		#sales-panel {
			margin: 0px 20px 12px;
		}
		.quote-section {
			top: -220px;
			margin-bottom: -220px;
		}
		h1#get-a-quote {
      		top: -220px;
		}
	}
	/* END TABLET PORTRAIT */

/* MOBILE */
@media (max-width: 767px) {	
	#sales-panel {
      		margin: 0px 20px 12px;
	}
	h1#get-a-quote {
		top: -120px;
	}
	.quote-section {
		top: -130px;
		margin-bottom: -130px;
 	}
	.bullet-points {
		padding-left: 15px;
		padding-top: 12px;
	}
	#main-body h1 {
		font-size: 30px;
	}
	.benefit-list li {
		width: 260px;
		margin-bottom: 48px;
	}
}
/* END MOBILE */
/* END Laya Life Quick Quote Banner Tool */



@media only screen and (max-width: 767px){
  .banner_header {
    margin: 0px auto 40px;
  }
}


/* Breakpoint sm */
@media only screen and (min-width:767px) and (max-width: 992px){
}


@media only screen and (min-width:768px){
  .banner_and_quote .headline, .banner .headline {
    background: none !important;
  }
}


@media only screen and (min-width:1200px){  

  .banner_header {
    font-size: 36px;
  }
  
  .banner_followup {
    font-size: 24px;
  }
  
  .banner_key_benefits p {
    font-size: 20px;
    line-height: 1;
  }

  .banner_key_benefits li {
    font-size: 16px;
    padding-left: 10px;
    text-indent: -30px;
    line-height: 1.5;
  }

}


@media only screen and (min-width:993px){  

  .memberofferexplain .headline {
    top: 40px;
  }
}

@media only screen and (max-width: 768px){
}

@media only screen and (max-width: 480px){
  
}

@media only screen and (min-width: 768px) and (max-width:992px){
  #memberOfferForm {
    float: right !important;
  }
}


@media (min-width: 500px) and (max-width: 767px){
}

@media  (max-width: 767px){
    .logo-wrapper .header_logo{
        margin: 10px auto 0;
    }
}

@media (min-width: 700px) and (max-width: 992px){
  
}

@media (max-width: 992px){
}

@media (max-width: 500px){
}

/* Existing content fixes*/
@media (min-width: 940px){
}

@media (min-width: 768px) and (max-width: 1200px) {
  
  .quote_tool {
    margin-top: 5px;
  }
  
}

@media (min-width: 768px) and (max-width: 992px) {
  
  
  .banner_key_benefits li, .banner_key_benefits p {
    font-size: 14px;
  }
  
  .banner_footer {
    bottom: -40px;
    line-height: 1;
  }  
  
  .mid_topics {
    margin-top: 60px;
  }
  
  .mid_topic h2 {
    font-size: 16px;
  }
  
  .mid_topic_button {
    width: 100%;
  }
  
  .footer_list_3 {
    width:250px;
    background-position:95% 10%;
  }
  
  .footer_logo img{
    width: 180px !important;
    height: auto !important;
  }
  
}


@media (min-width: 10px) and (max-width: 767px) {
  
  .layalifecompany {
    display:none;
  }
  
  .login_pages {
    margin-top:0;
  }
  
  .site_tab {
    width: 100%;
  }
  
  .banner_and_quote .headline, .banner .headline, .memberofferexplain .headline {
    position: relative;
    width: 100%;
    max-width: 100%;
    float: none;
    top: initial;
    left: initial;
    padding-bottom: calc(5%);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center top;
    height: 200px;
    height: 60vw;
  }
  

  .big_banner {
    display: none;
  }

  
  .banner_and_quote, .banner {
    padding: 0 0 10px 0;
    background-size: 320px;
    background-position:center top;
  }
  
  .banner_header {
    font-size: 19px;
    line-height: 1.4;
    margin: 0 auto;
  }
  
  .banner_followup {
    font-size: 15px;
    color: white;
    line-height: 1;
    margin: 20px auto;
  }
  
  .quote_tool {
    position: static;
    margin: 10px auto;    
  }
  
  .banner_key_benefits {
    position: static;
    float: none;
    margin: 20px auto;
    width: 300px;
  }
  
  .banner_key_benefits p {
    font-size: 16px;
  }
  
  .banner_key_benefits ul {
    padding: 0 35px;
    width: 100%;
    text-indent: -30px;
  }
  
  .banner_key_benefits  li{
    color: #00679A;
    font-size: 14px;
  }
  
  .banner_footer, .banner_footer p {
    position: static;
    color: #00679A;
    width: 100%;
    font-size: 9px;
  }
  
  .memberofferexplain .main_text {
    max-width: 100%;
  }
  
  .mid_topic {
    width: 100%;
/*    background: #B5B000; */
  }
  
  .mid_topic  h2{
    font-size: 16px;
    line-height: 40px;
    height: 50px;
  }
  
  .box_right {
    float: none;
    margin: 0 auto 20px;
  }
  
  .memberofferexplain .banner_header {
    max-width: 100%;
  }
  
  .memberofferexplain .banner_followup {
    margin: 0px auto 10px;
    max-width: 280px;
  }
  
  .memberofferexplain .main_text {
    float: none;
    padding: 5px;
    margin: 0px;
  }
  
  .memberofferexplain .box_right {
    float: none;
  }
}

.header-invert .logo-wrapper img {
	background: none;	
	padding-left: 0px;
	height:auto!important;
}


@media(min-width: 768px) {
	#laya-life-contact-us-btn {
		display:none;
	}
}































































































