/* SITE DEFAULTS */
body { font-family: sans-serif; font-size: 12pt; margin: 0; padding: 0; line-height: 1.5em; background-color: #f3f3f3; text-rendering: geometricprecision; -moz-osx-font-smoothing: grayscale; }
a { color: #769c03;; text-decoration: none; }
a:hover { color: #94c305; text-decoration: underline; }
h1, h2, h3, h4, h5, h6, p { margin: 0 0 1em 0; padding: 0; }

/* MANAGED CONTENT STYLING */
#cms { min-height: 400px; }
#cms h3 { color: #4a2783; }
#cms h4, #cms h5, #cms h6 { font-size: 1.1em; }
#cms img { max-width: 90vw; height: auto; }
#cms img[align="left"] { float: left; margin-right: 15px; margin-bottom: .5em; }
#cms hr { background: transparent; border: none; border-bottom: 1px #8db512 solid; margin: 20px 0; padding: 0; }
#cms li { margin-bottom: 6px; }

/* ARTICLE STYLING */
.kw-life_insurance-our_life_insurance_partners img.article_summary_image { border: 1px solid lightgray; }
img.article_summary_image { margin-right: 1em; margin-bottom: 0.5em; float: left; }
p.article_summary_summary { margin-bottom: 0 !important; }
div.article_summary { margin-bottom: 2em; }
.article_summary_more { font-size: 90%; }
.article_display_image { float: right; margin-left: 1em; margin-bottom: .5em; clear: right; }
.article_display { position: relative; }
.article_display_widgets { text-align: right; padding-bottom: 10px; position: static; }
.article_display_facebook::before { content: "\f230"; font-family: FontAwesome; }
.article_display_twitter::before { content: "\f081"; font-family: FontAwesome; padding-left:1em;}
.article_display_linkedin::before { content: "\f08c"; font-family: FontAwesome; padding-left:1em;}
.article_display_print { margin-right: 20px; }
.article_display_print::before { content: "\f02f"; font-family: FontAwesome; }

/* CONTACT FORM */
#contact_form input[type="tel"] { font-size: 16px; }
#contact_form label { white-space: nowrap; }
#contact_form label, #contact_form legend { display: block; font-weight: bold; margin: 0; padding: 0; }
#contact_form label.form_inline { display: inline; font-weight: normal; }
#contact_form .verror { color: red; font-style: italic; }
#contact_form .form_field { padding: 4px; font-size: 100%; margin: 0 0 20px 0; border: 1px #e0e0e0 solid; }
#contact_form fieldset { margin: 0 0 20px 0; padding: 0; border: none; }
#contact_form .form_field:focus { background: #ffffdd; border-color: #c0c0c0; }
#contact_form input[type="text"], #contact_form input[type="tel"], #contact_form textarea { width: 90%; }
#contact_form input[type="submit"] { background: #8db512; border: 0; color: white; font-size: 20px; padding: 10px; cursor: pointer; }
#contact_form input[type="submit"]:hover { background: #7da502; }
#contact_form div.calculator_privacy_policy { font-size: 80%; margin: 0; margin-bottom: 30px; width: 89%; padding: 10px; border: 1px solid #c0c0c0; background: #e0e0e0;  }

/* HAMBURGER */
#hamburger { border: 1px solid #999; width: 30px; padding: 5px 10px; position: absolute; top: 16px; left: 16px; display: none; z-index: 3; }
#hamburger span { background: #999; display: block; height: 3px; margin: 5px 0; }
html.mm-opened #hamburger span.top-bar { transform: rotate( 45deg ); top: 7px; }
html.mm-opened #hamburger span.middle-bar { opacity: 0; }
html.mm-opened #hamburger span.bottom-bar { transform: rotate( -45deg ); top: -7px; }
#hamburger { overflow: hidden; }
#hamburger span { position: relative; transform: rotate( 0 ); top: 0; left: 0; opacity: 1; transition: none 0.5s ease; transition-property: transform, top, left, opacity; }
html.mm-opened #hamburger span.middle-bar { left: -40px; }

/* Mobile menu */
.mm-menu.mm-shadow-page:after{content:"";display:block;width:20px;height:120%;position:absolute;left:100%;top:-10%;z-index:99}.mm-menu.mm-shadow-page.mm-right:after{left:auto;right:100%}.mm-menu.mm-shadow-page.mm-front:after,.mm-menu.mm-shadow-page.mm-next:after{content:none;display:none}.mm-menu.mm-shadow-page:after,.mm-menu.mm-shadow-panels .mm-panel.mm-opened:nth-child(n+2){box-shadow:0 0 10px rgba(0,0,0,.3)}
.mm-navbar { height: 330px; background: transparent url("/images/circles.png") 50% 50% no-repeat; color: white !important; line-height: 130px; background-size: cover; }
.mm-listview a::before { content: "\f152\00a0\00a0\00a0"; font-family: FontAwesome; }
.mm-listview a.kw-home::before { content: "\f015\00a0\00a0\00a0"; font-family: FontAwesome; }
.mm-panels > .mm-panel.mm-hasnavbar { padding-top: 130px; }

/* LAYOUT */
#get-a-quote { display:block;transform:rotate(-90deg);position:fixed;right:28px;top:300px;line-height:28px;transform-origin:100% 0;border-radius:4px 4px 0 0;background:#8db512;color:white;padding:0 10px;z-index:999; box-shadow:0 0 10px rgba(0,0,0,.3) }
#get-a-quote:hover { padding-bottom: 10px; text-decoration: none; right:38px; background-color: #7da502; }
#page { margin: 0 auto; max-width: 980px; min-width: 320px; padding-bottom: 50px; }
#wrapper { position: relative; }
#header { line-height: 4em; border-bottom: 1px #4a2783 solid; margin-bottom: 20px; }
#header_main { line-height: 1.7em; min-width: 237px; max-width: 980px; margin: 0 auto; padding: 0 0; position: relative; }
#header_content { padding: 0 1em; }
#header h1 { background: url("/images/logo.png") 50% 50% no-repeat; width: 216px; height: 73px; margin: 0; padding: 0; line-height: 73px; overflow: hidden; text-indent: -9660px; float: left; }
#header h1 a { display: block; }
#main { padding: 0 1em; }
#breadcrumbs { padding: 0 16px; line-height: 1.7em; font-size: 90%; margin-bottom: 20px; }
#banner { background-size: cover; border-top: 1px #4a2783 solid; margin: 0 auto; position: relative; }
#banner div { height: 50px; line-height: 50px; overflow: hidden; background: #4a2783; color: white; border-top: 1px #4a2783 solid; margin: 0; text-align: center; }
#banner em { background: rgba(141,181,18,.8); color: white; font-size: 2em; padding: .25em .5em; font-style: normal; }
#banner p { line-height: 3.8em; padding: 30px 0 0 1em; height: 250px; margin: 0 auto; max-width: 980px; min-width: 320px; }
/*#banner .tel { color: white; position: absolute; bottom: 50px; right: 10px; text-decoration: none; font-size: 2.5em; font-family: "Lucida Console", Monaco, monospace; font-weight: bold; letter-spacing: -3px; text-shadow: 0 0 3px black; }*/
/*#banner .tel_area { color: #8eb60a; }*/
#banner .tel, #header_main .tel { height: 27px; text-decoration: none; background: #8eb60a url("/images/PhoneIcon.png") right 50% no-repeat; line-height: 27px; color: white; border-radius: 4px; font-size: 1.2em; font-family: "Lucida Console", Monaco, monospace; font-weight: bold; letter-spacing: -1px; padding: 2px 55px 2px 5px; }
#banner .tel { position: absolute; top: 10px; right: 10px; }
#header_main .tel { margin-top: 20px; float: right; display: none; }
#eucookie { text-align: left; left: 0; width: 100%; box-shadow:0 0 10px rgba(0,0,0,.3); }
#eucookie_content { background: #8db512; color: white; padding: 0 10px; border-bottom: 1px #4466cc solid; box-shadow: 0 5px 5px rgba(0,0,0,.5); }
#eucookie a { font-size: 0.75em; padding: 0 10px; color: #769c03; display: block; float: right; line-height: 24px; margin: 5px 10px 0 10px; background: white; border-radius: 20px; height: 24px; text-decoration: none; }
#eucookie a:hover { color: #8db512; box-shadow:0 0 10px rgba(0,0,0,.3); }
#eucookie p { margin: 0; padding: 12px 0; line-height: 1em; font-size: 0.8em; }
#eucookie.eucookie_top { top: 0; position: absolute; }
#eucookie.eucookie_bottom { position: fixed; bottom: 0; }

/* HEADER NAV */
#headernav .wrap { display: none; }
#headernav ul { margin: 0; padding: 0; list-style-type: none; float: right; }
#headernav ul li { float: left; padding: 0 10px; }
#headernav ul li a.l1 { display: block; color: #4a2783; line-height: 73px; }
#headernav ul li a.l1::after { content: " \25BE"; }
#headernav ul li a.l1:hover, #headernav ul li a.l1.active, #headernav ul li a.l1.permactive { color: #8db512; text-decoration: none; }
#headernav ul .wrap { z-index: 2; position: absolute; top: 73px; width: 100%; left: 0; }
#headernav ul .cont { height: 295px;  margin: 0 auto; background: #f3f3f3 url("/images/tmp.jpg") 20px 20px no-repeat; padding: 25px 10px 20px 590px; border: 1px #e0e0e0 solid; border-top: none; box-shadow: 10px 10px  5px rgba(0,0,0,.2); }
#headernav dl { margin: 0 0 25px 0; padding: 0; }
#headernav dt { color: #4a2783; margin: 0 0 10px 0; padding: 0 0 10px 0; font-size: 1.3em; border-bottom: 1px #4a2783 solid; }
#headernav dd { margin: 0; padding: 0; }
#headernav dd a { padding-left: 5px; color: #5d5d5d; }
#headernav dd::before { content: "\25B8"; color: #a0a0a0; }
#headernav .c2a { background: #8db512; color: white; padding: 10px; }
#headernav .c2a:hover { background: #7da502; text-decoration: none; }

/* HEADER IMAGE */
.b_tl, .b_bl, .b_tr, .b_br { background-repeat: no-repeat; }
.b_tl { background-position: top left; }
.b_bl { background-position: bottom left; }
.b_tr { background-position: top right; }
.b_br { background-position: bottom right;}

/* FOOTER */
#footer { background: #22184c; font-size: 90%; color: white; font-family: Verdana, Geneva, sans-serif; clear: both; }
#footer_content { max-width: 980px; min-width: 320px; margin: 0 auto; padding: 1em 0; }
#footer a { color: #b0b0d0; }
#footer a:hover { text-decoration: none; color: white; }
#footer p.l { float: left; width: 40%; }
#footer p.r { float: right; width: 60%; text-align: right; }
#quicklinks2 { border-top: 1px #b0b0d0 solid; border-bottom: 1px #b0b0d0 solid; font-size: 80%; margin: 1.5em 1em; padding: 1em; }
#quicklinks2 ul { margin: 0; padding: 0; list-style-type: none; }
#quicklinks2 li { margin: 0; padding: 0 20px; float: left; }
#quicklinks2 a:hover { text-decoration: underline; }
#quicklinks1 { line-height: 2em; padding: 0 1em; }
#quicklinks1 .ql_group { float: left; width: 25%; }
#quicklinks1 h4 { text-transform: uppercase; margin-bottom: 0; }
#quicklinks1 ul { margin: 0 0 1em 0; padding: 0; list-style-type: none; }
#quicklinks1 li a:hover:before { content: "\003E\00a0"; }
#quicklinks1 li { overflow: hidden; height: 2em; }
#legal { color: #b0b0d0; padding: 0 1em; }
#quicklinks2 .tel { float: right; }

/* Partner sites */
#partner_sites { background: #22184c; }
#partner_sites h5 { text-align: center; color: #fff; padding: 10px; display: none; margin: 0; }
#partner_sites p { margin: 0; padding: 0; text-align: center; font-size: 85%; }
#partner_sites a { margin: 0 .5em; display: inline-block; color: #b0b0d0; padding: 7px 10px; border-radius: 20px 20px 0 0; background: #32285c; }
#partner_sites a:hover { text-decoration: none; background-color: #52487c; }
#partner_sites a.active_site { background: #52487c; color: #c0c0e0; padding-top: 12px; }
.results_header { background-color: #e0e0e0; padding: 15px; border: 1px #d0d0d0 solid; margin-bottom: 20px; }
.results_header .results_header_link_email { text-align: center; display: block; cursor: pointer; }
.results_header .results_header_link_email:before { font-family: FontAwesome; content: "\f003  "; color: purple; }
.results_header .results_header_link_back { text-align: center; display: block; margin-bottom: 15px; }
.results_header .results_header_link_back:before { font-family: FontAwesome; content: "\f0e2  "; color: purple; }
p.results_header_summary { text-align: center; margin-bottom: 25px !important; }

/* APPLICATION FORM */
#life_form { float: left; width: 45%; font-size: 12pt; max-width: 540px; margin: 0 40px 20px 0; background: #fff; padding: 10px 2%; }
#life_form fieldset { border: none; padding: 0; margin: 0 0 20px 0; }
#life_form legend { font-variant: small-caps; font-weight: bold; color: #4a2783; margin: 0 0 5px 0; width: 100%; border-bottom: 1px #4a2783 dashed; padding: 0 0 5px 0; }
#life_form .normal { display: block; margin-bottom: 10px; }
#life_form .normal .label { display: block; clear: left; }      
#life_form .radiolabel { background: #9f9f9f; color:#fff; border-radius:8px; margin-right: 5px; cursor:pointer; float:left; display:block; padding: 7px; margin-bottom: 15px; }
#life_form span.error { color: red; font-weight: bold; margin-left: 10px; font-style: italic; font-size: 90%; }
#life_form .highlighted, .radiolabel:hover {background: #8eb60a;}
#life_form .radiolabel input { margin-right: 5px; cursor: pointer; }
#life_form .wrapper, #life_form input, #life_form select { border: 1px #a0a0a0 solid; padding: 4px 2px 4px 8px; background: white; }
#life_form input[type="submit"] { cursor: pointer; background: #8eb60a; color: white; border-radius: 8px; padding: 10px 20px; margin-top: 5px;}
#life_form input[type="submit"]:hover { background: #7da502; }
#life_form .wrapper { display: block; color: #6d6d6d; }
#life_form input, #life_form select { font-size: 100%; color: black; }
#life_form .normal .wrapper input { border: none; }

#life_result, #covercalc_overlay { z-index: 10; position: absolute; top: 0; left: 0; width: 100%; height: 100%; padding-top: 5%; }
#life_result_wrapper, #covercalc_wrapper { margin: 0 auto; width: 500px; border: 1px black solid; background: white; padding: 15px; font-size: 120%; position: relative; }
#life_result_close { position: absolute; right: 10px; top: 10px; text-decoration: none; color: white; font-size:1.5em; }
#life_result, #life_overlay, #covercalc_overlay { background-color: rgba(220,220,220,.8) !important; z-index: 10;}
#life_result .loading { background: transparent url("/images/progress_green.gif") left 50% no-repeat; padding-left: 18px; text-decoration: none; cursor: default; }
#life_result a.loaded { text-decoration: none; cursor: default; width: 75% !important; }
#life_result .Friends {background: url("/images/logos/friends.jpg") no-repeat right 0em; }
#life_result .Royal {background: url("/images/logos/royal.jpg") no-repeat right 0em; }
#life_result .New {background: url("/images/logos/new.jpg") no-repeat right 0em; }
#life_result .Zurich {background: url("/images/logos/zurich.jpg") no-repeat right 0em; }
#life_result .Aviva {background: url("/images/logos/aviva.jpg") no-repeat right 0em; }
#life_result .Irish {background: url("/images/logos/irish.jpg") no-repeat right 0em; }
#life_result .small { font-size: 75%; width: 85%; margin: 0 0 25px 0; }
#life_result_extra table { font-size: 90%; margin: 0 auto 15px auto;}
#life_result_extra td { padding: 4px 14px 4px 4px; }
#life_overlay { text-align: center; width: 100%; height: 100%; position: absolute; top: 0; left: 0; font-size: 200%; padding-top: 25%; text-shadow: 2px 2px white; }

.bestdeal2 .green { color: #8bb900; }
.bestdeal2 table { width: 100%;font-size:80% }
.bestdeal2 th { color: #8bb900; font-weight: normal; padding: 4px 10px; text-align: left; }
.bestdeal2 td { padding: 1px 10px; }
.bestdeal2 .button { text-align: center; color: white; text-decoration: none; background: #4a2783; border: 1px #4a2783 solid; border-radius: 6px; padding: 10px; margin-bottom: 16px; display: block; float: left; width: 205px; }
.bestdeal2 .button:hover { background: #474382; color: white; }
.bestdeal2 .button.gap { margin-right: 16px; }
.bestdeal2 { overflow: hidden; color: #4a2783; }
.bestdeal2 .right { text-align: right; }
.bestdeal2 .clear { clear: left; }
.bestdeal2 .center { text-align: center; }
.bestdeal2 .big { font-size: 145%; }
.bestdeal2 .bigger { font-size: 170%; }
.bestdeal2 img { display: block;margin-left: auto;margin-right: auto;margin-bottom: 20px;}
.bestdeal2 p { margin: 0 0 15px 0; padding: 0; }
#life_result #discounthead, #covercalc_head { background: #8bb900; color: white; text-align: center; margin: -15px -15px 15px -15px; line-height: 44px; }
.life_calculator_bottom_blurb { float: left; width: 45%; }

/* HOME PAGE */
.homefb { margin-bottom: 40px; height: 150px; position: relative; background: white; padding: 10px 1% 60px 1%; }
.homefb h4 { margin-bottom: 10px; padding-top: 10px; font-size: 1.5em; text-align: center; background: #f3f3f3; color: #4a2783;}
.homefb h4 i { display: block; padding: 6px 0; }
.homefb .c2a_max, .homefb .c2a_min { padding: 0 2.5%; line-height: 40px; display: block; text-align: center; width: 41.25%; position: absolute; }
.homefb .c2a_max:hover, .homefb .c2a_min:hover { text-decoration: none; }
.homefb .c2a_max { background: #8db512; color: white; bottom: 10px; left: 2.5%; }
.homefb .c2a_min { background: #e0e0e0; color: #5d5d5d; bottom: 10px; right: 2.5%; }
.homefb .c2a_max:hover { background: #7da502; }
.homefb .c2a_min:hover { background: #d0d0d0; color: #4d4d4d; }
.homefb p { padding: 0 10px; overflow: hidden; height: 48px; line-height: 24px;}
.homefb .fa { font-size: 42px; }

/* MISC */
#main h1, #main h2 { font-size: 1.5em; }
#main h3 { font-size: 1.3em; border-bottom: 1px #8db512 solid; padding-bottom: 4px;}
#main h3 a:hover { text-decoration: none; }
#main p {margin-bottom:1.5em;}

/* Mobile */
@media only screen and (max-width: 960px) {
	.homefb h4 { background: white;}
	div#banner { padding-top: 0; border-top: none; font-size: 1em; }
	#banner .tel { display: none; }
	#banner div { font-size: 0.9em; font-style: normal; }
	#breadcrumbs { margin-top: 16px; line-height: 1.7em; font-size: 90%; }
	
	#quicklinks1 .ql_group { width: 50%; }
	#quicklinks2 { border-top: none; }
	#footer_content { padding-top: 0; }
	/*#quicklinks1 .ql_group { width: 50%; }
	#quicklinks1 .ql_group h4, #quicklinks1 .ql_group li { text-align: center; }*/
	#footer { width: 100%; }
	#life_form { width: 100%; background: #f3f3f3; padding: 0; margin: 0; }
	.life_calculator_bottom_blurb { display: none; }
	#life_form .fieldset { background: #f3f3f3;}
	#hamburger { display: block; }
	#headernav { display: none; }
	#header_main .tel { display: block; }
	#header_content { padding-left: 83px; }
	#footer p.l, #footer p.r { float: none; width: 100%; text-align: center; }
	#quicklinks2 .tel { float: left; }
}

/* Desktop */
@media only screen and (min-width: 960px) {
   div.homefb { width: 46%; float: left; }
   .homefbe { margin-right: 4%; }
}

/* Intermediate */
@media only screen and (max-width: 570px) {
	#page { padding-bottom: 0px; }
	#quicklinks1 .ql_group { width: 100%; }
	#quicklinks2 li { width: 50%; margin: 0; padding: 1px 0;}
	#life_result_wrapper { width: 90%; }
	#life_form fieldset { margin-bottom: 30px; }
	.bestdeal2 { width: 90%; }
	.bestdeal2 .button, .bestdeal2 .gap { float: none; margin: 0 auto 16px auto !important; }	
	#bestdeal2 table { font-size: 12px; }
	img.article_summary_image { display: block; float: none; }
	form#contact_form table { width: 100%; }
	.article_display_image { float: none; margin-left: 0; margin-bottom: .5em; width: 100%; display: block; }
}

/* Intermediate, phone number on top of the page */
@media only screen and (max-width: 650px) {
	#quicklinks1 { float: none; text-align: center; }
	#header_main .tel { margin-bottom: 10px; margin-top: 0; margin-left: auto; margin-right: auto; display: block; clear: both; float: left; }
}

/* Intermediate, header image 
@media only screen and (max-width: 670px) {
	div#banner { background-image: url("/images/homepic_small.jpg") !important; }
}
 @media only screen and (max-width: 450px) {
	div#banner { background-position: -100px 0px; }
} */
