﻿/*
Theme: Theme Machine Responsive
Author: Orchard Team modified by Planet Telex – http://www.orchardproject.net, http://www.planettelex.net
Copyright: 2012, Orchard. All Rights Reserved
Acknowledgments: Modifications to TheThemeMachine for an enhanced mobile/responsive experience included snippets from: 
HTML5 BP (github.com/h5bp/html5-boilerplate), 
Normalize (git.io/normalize),
1140 Grid System (cssgrid.net/)
*/

/*  Color Palette
**************************************************************

Background: #fff
Borders: #dbdbdb
Text: #434343
Secondary Text: #999999
Main Accent: #999
Links: #5f97af
*/

/* Reset
***************************************************************/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-weight: inherit;
    font-style: inherit;
    font-size: 100%;
    font-family: inherit;
    vertical-align: baseline;
}

/* Remember focus styles! */
:focus { outline: 0; }

ol, ul { list-style: none; }

/* Tables still need 'cellspacing="0"' in the markup */
table { border-collapse: separate; border-spacing: 0; }
caption, th, td { text-align: left; font-weight: normal; }

blockquote:before, blockquote:after,
q:before, q:after { content: ""; }
blockquote, q { quotes: "" ""; }

/* HTML 5 elements as block */  
article, aside, details, figcaption, figure, 
footer, header, hgroup, nav, section, summary { display: block; }

/* Embedded Content */
figure {margin: 0}
img, object, embed, video { max-width: 100%; _width: 100%; height: auto; } /* Fluid images */
.lt-ie9 img, .lt-ie9 object, .lt-ie9 embed, .lt-ie9 video { width: inherit }
img {border: 0;	-ms-interpolation-mode: bicubic} /* Improve IE's resizing of images */
svg:not(:root) {overflow: hidden} /* Correct IE9 overflow */
audio, canvas, video { display: inline-block; } /* Corrects `inline-block` display not defined in IE 8/9. ! normalize.css v2.0.1 | MIT License | git.io/normalize */
audio:not([controls]) { display: none; height: 0; } /* Prevents modern browsers from displaying `audio` without controls. Remove excess height in iOS 5 devices. ! normalize.css v2.0.1 | MIT License | git.io/normalize */

/* Links */
a:focus { outline: thin dotted; } /* Addresses `outline` inconsistency between Chrome and other browsers. */
a:active, a:hover { outline: 0; } /* Improves readability when focused and also mouse hovered in all browsers. */

/* Box Model */
* { -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; }

/* Remove Filters in IE9 */
.lt-ie10.gt-ie8 * { filter: none!important; }

/* Clearing Floats
***************************************************************/

.group:after, .clear-both:after 
{
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

.zone:after, .widget-control:after /* .zone:after self clears every zone container - .widget-control:after self clears any floats used in a widget */
{
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

/* Padding to WYSIWYG placed Images
***************************************************************/
.content-item img, /* Defaults since no alignment attributes have been added to images. */
.content-item img[align="left"],
.content-item img[align="top"],
.content-item img[align="texttop"],
.content-item img.left { margin: 0.323em 0.923em 0.923em 0; float: left; }

.content-item img[alignf="right"],
.content-item img.right { margin: 0.323em  0.923em 0.923em 0; float: right; }

.content-item img[align="middle"],
.content-item img[align="absmiddle"], .content-item img.center, .content-item img.middle { float: none; margin: 0.923em auto; padding: 0;}

/* Hide Images in mobile, tablet only */
img.desktop-view-only {
	display: none;
}

/* General (Base styling for ALL devices and resolutions)
***************************************************************/

/* Default font settings. 
The font-size 81.3% sets the base font to 13px 

Pixels     EMs         Percent Points
6px     0.462em     46.2%     5pt
7px     0.538em     53.8%     5pt
8px     0.615em     61.5%     6pt
9px     0.692em     69.2%     7pt
10px     0.769em     76.9%     8pt
11px     0.846em     84.6%     8pt
12px     0.923em     92.3%     9pt
13px     1em         100%     10pt
14px     1.077em     107.7%     11pt
15px     1.154em     115.4%     11pt
16px     1.231em     123.1%     12pt
17px     1.308em     130.8%     13pt
18px     1.385em     138.5%     14pt
19px     1.462em     146.2%     14pt
20px     1.538em     153.8%     15pt
21px     1.615em     161.5%     16pt
22px     1.692em     169.2%     17pt
23px     1.769em     176.9%     17pt
24px     1.846em     184.6%     18pt
*/

/*
 * 1. Sets default font family to sans-serif.
 * 2. Prevents iOS text size adjust after orientation change, without disabling
 *    user zoom. !normalize.css v2.0.1 | MIT License | git.io/normalize
 */

html {
    -webkit-text-size-adjust: 100%; /* 2 */
    -ms-text-size-adjust: 100%; /* 2 */
    background: #b0b0b0;
}

body  {
  line-height: 1.25; 
  font-size: 81.3%; /* May need to adjust responsive navigation placement if you change this value */
  color: #434343; 
  background: #fff;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: normal;
  margin: 0 auto;
}

/* Headings */
h1,h2,h3,h4,h5,h6 { font-weight: bold; margin:.6em 0;}

h1 { font-size: 1.308em; }
h2 { font-size: 1.231em; }
h3 { font-size: 1.154em; }
h4 { font-size: 1.077em; }
h5 { font-size: 1em; }
h6 { font-size: 1em; }

h1 img, h2 img, h3 img, 
h4 img, h5 img, h6 img {
  margin: 0;
}

/* Aside Headings */
aside h1 { font-size: 1.625em; }
aside h2 {
    font-size: 1.625em;
}
aside h2 span { font-weight: normal; }
aside h3 { font-size: 1em; }
aside h4 { font-size: 1em; }
aside h5 { font-size: 1em; }
aside h6 { font-size: 1em; }

p {
    margin-bottom: 1em; 
}

/* Lists */
li ul, 
li ol       { margin:0 2.03125%; }
ul, ol      { margin: 1.5em 0 1.5em 6%; line-height: 1.538em; }

ul          { list-style-type: disc; }
ol          { list-style-type: decimal; }

dl          { margin: 0 0 1.5em 0; }
dl dt       { font-weight: bold; }
dd          { margin-left: 2.03125%;}

a:focus, 
a:hover     { text-decoration: underline; }
a           { color: #995499; text-decoration: none; }

blockquote  { margin: 0.923em 1.25%; line-height: 1.538; padding-left: 50px; font-style: italic; background: url('../Images/UI/Icons/circle-with-quote-orange.png') no-repeat; }
b, strong   { font-weight: bold; }
em,dfn      { font-style: italic; }
dfn         { font-weight: bold; }
mark        { background: #ff0; color: #000; }
sup, sub    { line-height: 0; }

abbr, abbr[title],
acronym     { border-bottom: 1px dotted #666; }
address     { margin: 0 0 0.923em; font-style: italic; }
del         { color:#666; }

pre         { margin: 0.923em 0; white-space: pre; white-space: pre-wrap; word-wrap: break-word;}
pre,code,tt { font: 1em 'andale mono', 'lucida console', monospace; line-height: 1.462em; }


/* Forms
***************************************************************/

form              { margin: 0; padding: 0;}
legend            { font-size: 1.231em; font-weight: normal; border:none;}
fieldset          { padding:.4615em 0 0; margin:0 0 .923em 0; border: 0px solid #dbdbdb; }
label             { font-weight:normal; display:block; padding: 0 0 0.3em 0; }
label.forcheckbox { margin:0 0 0 .4em; display:inline; }

input[type="text"], input[type="password"], input[type="number"], input[type="email"], input[type="tel"], input[type="search"],
select, textarea {
    display: block;
    width: 43.33333333333333%;
    padding: 0.4615em;
	border-radius: 11px;
	border: 1px solid #ccc;
	font-size: 16px;
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

input[type="checkbox"] {
    margin:.37em 0 1.2em 0;
}

fieldset ol     { list-style-type:none; padding: 0; margin: 0; }
fieldset ol li  { margin: 0 0 .4615em 0; }

form.inline, form.inline fieldset { /* todo: (heskew) need something other than .inline ... */
    display:inline;
}

form.inline fieldset {
    margin:0;
}

input[type="checkbox"]:focus, input[type="radio"]:focus {
    outline:1px dotted #666d51;
}

input[readonly] {
    background-color: #EBEBE4;
    color: #545454;
}

legend span {
    font-weight:normal;
}
label span {
    font-weight:normal;
}
label input {
    vertical-align:text-top;
}
.hint {
    display:block;
    font-size: 0.846em;
    color:#999;
    margin-top: 3px;
    padding: .2307em;
}
input.text, input.textMedium, input.text-box {
    line-height:1.2em;
}
/*Are we using the two classes below?*/
input.text-small {
    width: 5.41666666666667%; 
}
input.textMedium {
    width: 35.20833333333333%;
}
select:focus, textarea:focus, input.text:focus, input.text-box:focus, input.text-small:focus, input.textMedium:focus  {
    border-color:#666d51;
}
input.check-box {
    margin-left:0;
    vertical-align:-.1em;
}
input.large.text, textarea, fieldset {
    clear:both;
}

textarea {
    min-height:8em;
}

/* Structure
***************************************************************/

#layout-header, .zone-navigation, .zone-featured, #layout-before-main, #layout-main, #footer, #layout-after-main, #layout-tripel {
    max-width:960px;
    margin:0 auto;
}

/* Navigation */
#layout-navigation {
    background: #fff;
    margin: -1em auto 0;
    display: block;
    border-bottom: none;
}

.lt-ie8 #layout-navigation { margin-top: -1em; } /* Fix IE7 responsive navigation positioning issue */

nav ul {
    position: relative;
    z-index: 8000;
    margin: 0px;
    padding: 0px;
    list-style: none;
}

        nav ul li {
        display:block;
        margin:0 0 -1px 0;
        border:1px solid #a64ca6;
        background: #8c2e8c;
    } /* Responsive Changes*/

    nav > ul li.current {
        background: #641e66;
    }
    nav > ul li.current a { font-weight: bold; }
    
    nav > ul li.dropdown:hover {
        background: #eee;
    }
    
    nav > ul li.dropdown li.dropdown:hover {
        background: #ddd;
    }
    
    nav > ul > li.dropdown a.footer-links, nav > ul > li.dropdown a.footer-links:hover {
        padding-right: 2em;
        background: transparent url("../Images/UI/Icons/arrow-down-white.png") no-repeat 95% center;
    }
    
    nav ul li a {   
        display:block;
        padding:.5em 18px;
        color: #fff;
        font-size: 1.077em;
        text-decoration:none;
        line-height:24px;
    }
    nav ul li a:hover { text-decoration: none; }

/* first level */
nav > ul > li { float:none; }
nav > ul > li > a { float:none; }
nav > ul > li:hover > ul { display:block; }
nav > ul > li:hover { }
    
/* second level */
nav > ul > li > ul { margin: 0 0px 0px -1px; padding:0px; display:none; position:relative; border: 1px solid #dbdbdb; border-width: 0 0 0 1px; width: 100%; } /* Responsive Changes */
nav > ul > li > ul > li { list-style-type:none; margin:0px; border: none;}
nav > ul > li > ul > li > a { display:block; text-decoration:none; padding-left: 1.5em; }
nav > ul > li > ul > li > a:before { content: "→ "; }
nav > ul > li > ul > li:hover > a { }

nav > ul > li > ul > li:hover > ul { display:block; }

/* third level */
nav > ul > li > ul > li > ul { margin: 0 ; padding:0px; display:none; position:relative; border: 1px solid #dbdbdb; border-width: 0; width: 100%; } /* Responsive Changes */
nav > ul > li > ul > li > ul > li { list-style-type:none; margin:0px; border: none;}
nav > ul > li > ul > li > ul > li > a { display:block; text-decoration:none; padding-left: 2.5em; }
nav > ul > li > ul > li > ul > li > a:before { content: "→ "; }
nav > ul > li > ul > li > ul > li:hover > a { }

/* deeper levels */
nav > ul > li > ul > li > ul ul { display:none; }

/* Main Navigation */
#layout-navigation nav > ul > li a { text-transform: capitalize; }
#layout-navigation nav > ul > li:hover { background: #67236c; }
.homepage a.home-link {
    background: #67236c;
    font-weight: 600;
}
.menu-main-menu a.about-desktop { display: none; }

/* Agents Menu */
.menu-agents-menu { display: none; }

/* responsive navigation */
#nav-collapsed { /* wrapper for collapsed navigation in mobile/small tablets */
    position: relative;
    z-index: 9999;
    display: block;
    float: left;
    height: 2.2em;
    margin:  0 -47% -2px 0;
    padding: .5em 50% 0.5em 0;
    outline: none;
}

/* These bars are added markup for styling purposed only (three span tags)
 * You should consider changing to a background img (svg preferably with !Modernizr.svg fallback) */
#nav-collapsed span.responsive-nav-bars {
    display: block;
    float: left;
    clear: both;
    margin: 1px auto;
    width: 2em;
    height: 3px;
    background-color: #888; /* change color as desired for the three "nav bars" when in default state */
}
#nav-collapsed.is-active span.responsive-nav-bars { background-color: #666; } /* Change color of three "nav bars" when active */


/* Duplicate main navigation in footer. 
 * Only needed if set in ResponsiveChanges.js */
.footer-menu { display: block!important; margin: 0!important; } 


/* Breadcrumb */
nav ul.breadcrumb 
{
    border:none;
    display: inline-block;
    margin: -9px;
    z-index: 9997;
}

    nav ul.breadcrumb li
    {
        border:none;
        background:none;
        display:block;
        float: left;
        margin:0 2px -1px 0;
    }

    nav ul.breadcrumb li:after
    {
        content: "/"
    }
    
    nav ul.breadcrumb li.last:after
    {
        content: ""
    }

        nav ul.breadcrumb li a 
        {
            padding:0 9px;
            display:block;
            float: left;
            color: #5F97AF;
            font-size: 100%;
        }
        
        nav ul.breadcrumb li a:hover
        {
            text-decoration: underline;
        }
        
#layout-header {}
    #branding 
    {
        float: left; 
        width: 35%;
        max-width: 120px;
        height: 2em;
        padding: 0;
        margin: .4em 0 0;
        transition:all .2s linear; 
        -o-transition:all .2s linear; 
        -moz-transition:all .2s linear; 
        -webkit-transition:all .2s linear;
    }
    #branding a 
    {
        display: block;
        max-width: 199px;
        height: 100%;
        text-indent: -9999px;
        overflow: hidden;
        background: url("../Images/Skin/Header/AgentInsider_logo_mobile.png") no-repeat;
        background-size: 100%;
    }
#layout-navigation {}
#layout-featured {
    background: #b465b6;
    max-width: 100%;
    box-shadow: 0 3px 7px #999;
}
.homepage #layout-featured {
    background: #d2d2d2 url('../Images/Skin/Featured/bg-slideshow.jpg') no-repeat center bottom;
    /*border-bottom: 10px solid #fff;*/
}
#layout-before-main {}
#layout-main { padding-top: 1em; }
.homepage #layout-main { padding: 0; }
    #aside-first {}
        .aside-first { display: none; }
    #layout-content {}
        #messages {}
        #before-content {}
        #content {}
        #after-content {}
    #aside-second {}
#layout-after-main {}
#layout-tripel {}
    #tripel-first {}
    #tripel-second {}
    #tripel-third {}
#layout-footer { background: #b0b0b0;width: 100%; padding: 2em 0; }
    #footer-quad {}
        #footer-quad-first {}
        #footer-quad-second {}
        #footer-quad-third {}        
        #footer-quad-forth {}
    #footer-sig {}
    
/* Zones */
.zone 
{
    padding: 1em; /* Zones variate on size so percentages are not ideal. */
    
    /* Enable this to see zone visualizations 
    background-color: yellow;
    box-shadow:inset 0 0 1px purple;
    -moz-box-shadow:inset 0 0 1px purple;
    -webkit-box-shadow:inset 0 0 1px purple; */
    
} 
.zone-header { padding: 1em 1em; position: relative; }
.zone-navigation { padding: 0; } /* Responsive Changes */
.zone-featured { padding: 0 0; }
.zone-before-main {}
.zone-aside-first {}
.zone-messages {}
.zone-before-content {}
.zone-content {}
.zone-after-content {}
.zone-aside-second {}
.zone-after-main {}
.zone-tripel-first {}
.zone-tripel-second {}
.zone-tripel-third {}
.zone-footer-quad-first {}
.zone-footer-quad-second {}
.zone-footer-quad-third {}
.zone-footer-quad-fourth {}
.zone-footer {}

/* Secondary Zones moved to 769px media query as this is when the multi-column layout begins..*/

/* Main
***************************************************************/

/* Page Titles */
.zone-featured .page-title { padding: 1em; }
.zone-featured .page-title h1 {
	display: inline;
	margin-right: .3em;
    font-size: 1.7em;
    color: #fff;
    text-transform: uppercase;
}
.zone-featured .page-title .page-description {
	display: inline;
	width: auto;
	color: #fff;
	font-weight: 600;
	font-size: 1.2em;
}
.zone-featured .page-title .page-description span { font-weight: 300; }
.homepage .page-title h1 {
    font-weight: bold;
    text-transform: uppercase;
    font-size: 1.625em;
}
.homepage .page-title h1 span {
    text-transform: capitalize;
    font-weight: normal;
}

/* Content lists and details */
.content-description { font-size: 1.154em; }
.content-items { padding: 0; margin: 0; list-style: none; }
.content-items li { padding: 0; margin: 0; }
.content-items .content-item { border-top: 1px solid #dbdbdb; padding: .4615em 0 .4615em 0; }
.content-items .content-item header {}
.content-items .content-item header h1 { font-size: 1.308em; color:#434343; }
.content-items .content-item header h1 a { color: #434343; }
.content-items .content-item header h1 a:hover {}

/* Homepage content list */
.homepage .content-item.page > ul {
    margin: 1em 0 0 3em;
    list-style: none;
}
.homepage .content-item.page > ul > li { margin-bottom: 2em; }
.homepage .content-item h2 {
    text-transform: uppercase;
    font-weight: bold;
}
.homepage .award-winning ul {
    margin: 0 0 1em;
    list-style: none;
}
/* Tags */
.tags { margin-top: .9230em; }
.tags a { background-color: #dbdbdb; padding: .2307em .4615em; color: #434343; }
.tags a:hover { background-color: #434343; color: #fff; }

/* Metadata */
.metadata { margin: 0 0 .9230em 0; color: #999; font-size: 0.846em; }
.metadata .published { display: inline; margin: 0 .4615em 0 0; }
.metadata .commentcount { display: inline; }
.meta {}

/* Comments */
#comments { margin: 1.846em 0 0 0; padding: 0; }
.comment-form { margin: 1.846em 0 0 0; padding: 0; }
.comments { margin: 0; padding: 0; list-style: none; }
.comments li { margin: .9230em 0 0 0; padding: 1.25%; border: 1px solid #dbdbdb; }
.comment { margin: 0; padding: 0; }
.comment h4 { font-size: 1.077em; }
.comment .who {}
.comment .what {}
.comment #add-comment {}
.comment-form #comment-by { font-size: 1.231em; font-weight: normal; margin: 0 0 1.2em 0; border:none; }
.comment-disabled {}
.comment-count { font-size: 1.231em; }

/* Confirmations */
.message, .validation-summary-errors { margin:.7692em 0 .3076em 0; padding: .41666666666667%; }
.messages a { font-weight:bold; }
.message-Information { background:#e6f1c9; /* green */ border:1px solid #cfe493; color:#062232; }
.message-Warning { background:#fdf5bc; /* yellow */ border:1px solid #ffea9b; }
.critical.message, .validation-summary-errors, .message-Error { background:#e68585; /* red */ border:1px solid #990808; color:#fff; }

/* Lead Program Images */
.lead-program-image {
	margin-top: 1em;
}

/* Agent Landing Pages */

/* Widgets */
.agent-landing-pages aside .widget { margin-bottom: 0;}

/* Header */
.agent-landing-pages #nav-collapsed { display: none; }
.agent-landing-pages .widget-header-contact h3 {
    margin: 0;
}

/* Hero */
.agent-landing-pages article[class^="widget-agent-rif-featured-background"] {	 
	background: none!important;
    border: none!important;
    border-radius: 0px!important;    
    padding: 0!important;
}
.agent-landing-pages article[class^="widget-agent-rif-featured-background"] .bg-hero,
.agent-landing-pages article[class^="widget-agent-thank-you-featured-background"] .bg-hero  {
	background-repeat: no-repeat;
	background-size: cover;
	box-sizing: content-box;
}
.agent-landing-pages article[class^="widget-agent-rif-featured-background"] .bg-hero {	
	height: 21.500em;
}
.agent-landing-pages article[class^="widget-agent-thank-you-featured-background"] .bg-hero {	
	height: 23.3em;
}
.agent-landing-pages .agent-hero-wrap {
	margin: 0 auto;
    max-width: 87.2143em;
}
.agent-landing-pages .agent-hero-title {		
    margin: -22.2em 0 ;    
    width: 90%;
	float: left;
}
.agent-landing-pages.thank-you .agent-hero-title {		
	margin: -20.2em 1em ;    
}
.agent-landing-pages .agent-hero-title h2 {
	font-size: 2.25em;	
	font-weight: normal;
}
.agent-landing-pages .agent-hero-title p {
	font-size: 1.5em;
}

/* RIF Form */
.agent-landing-pages #confirmAgentEmailAddress { 
	display: none!important;
}
.agent-landing-pages #agent-sem-rif-form_lead-contact-form-ul, .agent-landing-pages #agent-sem-rif-form_lead-type-ul {
	margin: 0;
	list-style: none;
}
.agent-landing-pages .widget-agent-leads ul {
    padding-left: 1em;
	list-style: none; 
}
.agent-landing-pages .widget-agent-sem-rif-form {
    padding: 0.5em 1em 1.5em;
	background: #969595; /* Old browsers */
	/* IE9 SVG, needs conditional override of 'filter' to 'none' */
	background: url("/Media/AI/images/bg-module-swirl-big.png") no-repeat scroll right top, url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzk2OTU5NSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNmZmZmZmYiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
	background: url("/Media/AI/images/bg-module-swirl-big.png") no-repeat scroll right top, -moz-linear-gradient(top,  #969595 0%, #ffffff 100%); /* FF3.6+ */
	background: url("/Media/AI/images/bg-module-swirl-big.png") no-repeat scroll right top, -webkit-gradient(linear, left top, left bottom, color-stop(0%,#969595), color-stop(100%,#ffffff)); /* Chrome,Safari4+ */
	background: url("/Media/AI/images/bg-module-swirl-big.png") no-repeat scroll right top, -webkit-linear-gradient(top,  #969595 0%,#ffffff 100%); /* Chrome10+,Safari5.1+ */
	background: url("/Media/AI/images/bg-module-swirl-big.png") no-repeat scroll right top, -o-linear-gradient(top,  #969595 0%,#ffffff 100%); /* Opera 11.10+ */
	background: url("/Media/AI/images/bg-module-swirl-big.png") no-repeat scroll right top, -ms-linear-gradient(top,  #969595 0%,#ffffff 100%); /* IE10+ */
	background: url("/Media/AI/images/bg-module-swirl-big.png") no-repeat scroll right top, linear-gradient(to bottom,  #969595 0%,#ffffff 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#969595', endColorstr='#ffffff',GradientType=0 ); /* IE6-8 */
	background-size: cover;
	border: 2px solid #fff;
    border-radius: 8px;
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.55);
	color: #333333;
}
.agent-landing-pages .widget-agent-sem-rif-form h2 {
	color: #ffffff;
	background: none!important;
	padding: 0!important;
	font-size: 2.875em;
	font-weight: normal;
	text-align: center;
}
.agent-landing-pages .widget-agent-sem-rif-form span.required {
    color: #F22727;
	margin: .5em 0 0 .8em;
	bottom: -.5em;
	position: relative;
	display: none;
}
.agent-landing-pages .widget-agent-sem-rif-form label { margin-top: .3em; padding: 0; font-weight: 800; }
.agent-landing-pages .widget-agent-sem-rif-form label span.required { margin: 0; bottom: 0; }
.agent-landing-pages .widget-agent-sem-rif-form input[type="text"], .agent-landing-pages .widget-agent-sem-rif-form input[type="tel"], .agent-landing-pages .widget-agent-sem-rif-form select {
    margin-bottom: 0;
    border: 1px solid #e8e8e8;
	padding: .3em;
	width: 100%;
	max-width: 100%;
	border-radius: 0;
}
.agent-landing-pages .widget-agent-rif-phone, 
.agent-landing-pages .widget-agent-rif-social-follow-us {
	display: none;
}
.agent-landing-pages .widget-agent-sem-rif-form .lead-phone input[type="tel"], .agent-landing-pages .widget-agent-sem-rif-form .lead-phone input[type="text"] {
    display: inline;
    width: 20%;
    margin-right: 1%;
}
/* re-factor phone input styles*/
#agent-sem-rif-form_phone-number-text {
	width: 58%;
}
#agent-sem-rif-form_phone-number-exchange-text.input-extension {
	width: 4.5em;
	margin-right: 0;
}
.agent-landing-pages .widget-agent-sem-rif-form .lead-types li {
    display: inline-block;
    width: 8em;
}
.gt-ie8.lt-ie10.agent-landing-pages .widget-agent-sem-rif-form .lead-types li {
	width: 8.5em;
}
.agent-landing-pages .widget-agent-sem-rif-form .lead-types img {
    display: none;
}
.agent-landing-pages .widget-agent-sem-rif-form .lead-types p {
    float: left;
	margin: 0!important;
}
.agent-landing-pages .widget-agent-sem-rif-form input[type="checkbox"] {
    margin: 0 0 0 4px;
    display: inline-block;
    vertical-align: middle;
}
.agent-landing-pages .widget-agent-sem-rif-form .lead-submit input {
	display: block;
	width: 10em;
	margin: 1.5em auto;
	padding-right: 3em;
	padding-left: 3em;
}
.agent-landing-pages .widget-agent-sem-rif-form .credits-logos {
    display: block;
    width: 102px;
    margin: 1em auto 0;
}
.agent-landing-pages .widget-agent-sem-rif-form .credits-logos li {
    display: block;
    float: left;
    margin-right: .3em;
}
.agent-landing-pages .widget-agent-sem-rif-form .lead-submit input {
    background: #abcf3e; /* Old browsers */
	/* IE9 SVG, needs conditional override of 'filter' to 'none' */
	background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2FiY2YzZSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiM4NGFjMDAiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
	background: -moz-linear-gradient(top,  #abcf3e 0%, #84ac00 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#abcf3e), color-stop(100%,#84ac00)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #abcf3e 0%,#84ac00 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #abcf3e 0%,#84ac00 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #abcf3e 0%,#84ac00 100%); /* IE10+ */
	background: linear-gradient(to bottom,  #abcf3e 0%,#84ac00 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#abcf3e', endColorstr='#84ac00',GradientType=0 ); /* IE6-8 */
}
.agent-landing-pages .widget-agent-sem-rif-form  .lead-types, .agent-landing-pages .widget-agent-sem-rif-form  .lead-types h3 { color: #333333; margin-top: 0.5em; }
.agent-landing-pages .widget-agent-sem-rif-form  h3 { margin: 0.6em 0!important; }
.agent-landing-pages .widget-agent-sem-rif-form  .credits-logos { display: none; }

.agent-landing-pages .widget-agent-rif-phone {
	border-right: 1px solid #92bccd;
    float: left;
    height: 1.8em;
    margin: 0.4em 1.81818% -1em 0;
    padding-right: 1em;
	text-align: right;
	font-size: 1.250em;
    width: 50%;
}
.agent-landing-pages .widget-agent-rif-social-follow-us {
    float: right;
	height: 1.8em;
	margin-top: 0.4em;
}
.agent-landing-pages .widget-agent-rif-login {
	background: none;
	text-align: right;
	font-size: 0.875em;	
	padding-top: 0.875em;
	padding-right: 1.25em;
}
.agent-landing-pages .widget-agent-rif-login a{
	color: #ffffff;
	font-weight: 800;
}

/* Title Snippet Widget */
.agent-landing-pages .widget-agent-partner-landing-page-title {
    margin: 2.7em 2em -1.3em;
}
.agent-landing-pages .widget-agent-partner-landing-page-title h3 { margin: 0; }

/* Leads and Thank you */
.agent-landing-pages .insurance-leads .content-item > header h1, .agent-landing-pages.thank-you .content-item > header h1 {
    color: #016289;
    font-size: 2.15em;
    line-height: 1.2em;
    margin-top: 0.2em;
    text-transform: capitalize;
}

/* Insurance Leads Page */
.agent-landing-pages.insurance-leads #before-content {
	background-color: #ffffff;
}
.agent-landing-pages.insurance-leads .aside-1 .aside-first, .agent-landing-pages.insurance-leads .aside-1 #layout-content {
	display: block;
	width: 100%;
}
.agent-landing-pages.insurance-leads .aside-1 #layout-content {
	border-left: none;
    padding-left: 0;
}
.agent-landing-pages.insurance-leads .zone-before-content {
	padding: 0;
	margin-bottom: 1em;
}
.agent-landing-pages.insurance-leads #layout-main-container { 
	padding-bottom: 40px;
	background: #ffffff; /* Old browsers */
	/* IE9 SVG, needs conditional override of 'filter' to 'none' */
	background: -moz-linear-gradient(top,  #ffffff 300px, #f5f5f5 300px); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(300px,#ffffff), color-stop(300px,#f5f5f5)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #ffffff 300px,#f5f5f5 300px); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #ffffff 300px,#f5f5f5 300px); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #ffffff 300px,#f5f5f5 300px); /* IE10+ */
	background: linear-gradient(to bottom,  #ffffff 300px, #f5f5f5 300px); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#f5f5f5',GradientType=0 ); /* IE6-8 */
}
.agent-landing-pages.insurance-leads .search-engine-marketing {
    background: none repeat scroll 0 0 rgba(0, 0, 0, 0) !important;
    border: medium none !important;
    border-radius: 0 !important;
    padding: 0 0 2em !important;
}
.agent-landing-pages.insurance-leads .menu-main-menu, .agent-landing-pages.insurance-leads .menu-agents-menu .first, .agent-landing-pages.insurance-leads #layout-after-main, .agent-landing-pages.thank-you .menu-main-menu, 
.agent-landing-pages.thank-you .menu-agents-menu .first, .agent-landing-pages.thank-you #layout-after-main, .agent-landing-pages.insurance-leads #layout-featured, .agent-landing-pages.thank-you  .page-title {
	display: none!important;
}
.agent-landing-pages.insurance-leads .widget-agents-menu li.last:before, .agent-landing-pages.thank-you .widget-agents-menu li.last:before {
    border-left: none!important;
}

/* Thank You page. */
.agent-landing-pages.thank-you .widget-featured-background  {
	display: none;
}
.agent-landing-pages.thank-you .aside-2 #layout-content, .agent-landing-pages.thank-you .aside-2 .aside-second {
	clear: both;
	width: 100%;
	border: none;
}
.agent-landing-pages.thank-you .search-engine-marketing {
    background: none repeat scroll 0 0 rgba(0, 0, 0, 0) !important;
    border: medium none !important;
    border-radius: 0 !important;
    padding: 0em !important;
}
.agent-landing-pages.thank-you  #layout-featured {
	background: none repeat scroll 0 0 #ffffff;
	box-shadow: none;
}
.agent-landing-pages.thank-you #layout-main .widget, .agent-landing-pages.thank-you #layout-tripel-container .widget {
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    box-sizing: border-box;
    padding: 0.5em 1.78571em 1.5em;
}
.agent-landing-pages.thank-you #layout-main-container,  .agent-landing-pages.thank-you #layout-tripel-container{
	background-color: #f5f5f5;
}
.agent-landing-pages.thank-you aside h2 {
    font-size: 1.231em;
}
.agent-landing-pages article[class*="widget-agent-thank-you"] h2 { padding-top: .5em!important;}
.agent-landing-pages article[class*="widget-agent-thank-you"] p { padding-bottom: .5em;}
.agent-landing-pages article[class*="widget-agent-thank-you"]  .button { margin-bottom: 0!important;}
.agent-landing-pages .widget-agent-thank-you-blog {
	background: url(/Media/AI/images/iq-agent-blog-bg.jpg) no-repeat right top #fff;
	background-clip: border-box;	
}
.agent-landing-pages .widget-agent-thank-you-facebook {
	background: url(/Media/AI/images/iq-agent-facebook-bg.jpg) no-repeat right top #fff;
	background-clip: border-box;	
}
.agent-landing-pages .widget-agent-thank-you-linkedIn {
	background: url(/Media/AI/images/iq-agent-linkedin-bg.jpg) no-repeat right top #fff;
	background-clip: border-box;	
}
.agent-landing-pages .widget-agent-thank-you-twitter {
	background: url(/Media/AI/images/iq-agent-twitter-bg.jpg) no-repeat right top #fff;
	background-clip: border-box;	
}
.agent-landing-pages #layout-tripel article[class*="widget-hometripelcallout"] h2, .agent-landing-pages.thank-you #layout-main .widget h2, .agent-landing-pages.thank-you #layout-tripel .widget h2 {
    background: none!important;
    padding-left: 0!important;
}

/* Widgets
***************************************************************/
.widgets {}
.widget h1 { font-size: 1.077em; }

/* Edit Mode Widgets */
/* These are the edit controls that appear when you're logged-in */
.widget-control { position: relative; border: 1px dotted #5f97af; }
.widget-control .manage-actions { position:absolute; top: 0px; right: 0px; }
.widget-control .manage-actions a { display: block; background-color: #dbdbdb; color: #434343; padding: 3px 6px;  }
.widget-control .manage-actions a:hover { background-color: #434343; color: #fff; text-decoration: none; }

/* Content Mode */
.content-control { border: 1px dotted #5f97af; overflow:auto; position: relative; }
.content-control .manage-actions { position:absolute; top: 0px; right: 0px; }
.content-control .manage-actions a { display: block; background-color: #dbdbdb; color: #434343; padding: 3px 6px;  }
.content-control .manage-actions a:hover { background-color: #434343; color: #fff; text-decoration: none; }

/* Non-Display Widgets */
article[class*="css-display-none"], .widget-head-tag-widget, .widget-page-title-widget, .widget-shared-script-widget, .widget-shared-java-script-file-widget, .widget-shared-css-file-widget, .widget-session-manager, .widget-session-tracking-parameters-widget, .widget-mobile-detection-widget, .widget-netacuity-city-state-widget, .widget-netacuity-zip-code-widget { display: none;}

/* IA Widgets */

/* Agent Carrier Logos */
.widget-agent-carrier-logo { display: none; }

/* Header Contact Information */
.widget-header-contact { float: right; }
.widget-header-contact h2 { display: none; }
.widget-header-contact h3 {
	margin-top: -.5em;
    line-height: 1.25;
    font-weight: bold;
}
.widget-header-contact h3 .call-us-at {
    display: block;
    height: 1.3em;
    padding: .25em 0 0 1.5em;
    background: url("../Images/Content/Widgets/Header-Contact/icon-phone.png") no-repeat 0 center;
    background-size: 1.3em;
}
.widget-header-contact h3 .number { font-size: 1.4em; }

/* Agents Login Mobile Link */
.widget-agents-login-mobile {
    margin: 0;
    padding: 1em 2em;
    background: #8c2e8c;
}
.widget-agents-login-mobile div {
    max-width: 11em;
    margin: 0 auto;
    padding: .2em 0 .2em 2em;
    background: #8c2e8c url("../Images/UI/Icons/lock-white.png") no-repeat;
}
.widget-agents-login-mobile a {
    color: #fff;
    text-transform: capitalize;
}

/* Featured Slideshow */
.widget-featured-slideshow { position: relative; }
.widget-featured-slideshow .flexslider { position: static; }
.widget-featured-slideshow h3 { margin-top: 3em;font-weight: normal; }
.widget-featured-slideshow h3 .accent1,
.widget-featured-slideshow h3 .accent2 {
    text-transform: uppercase;
    font-weight: bold;
}
.widget-featured-slideshow h3 .accent2 {
    display: block;
	margin-top: .2em;
    font-size: 2em;
}
.widget-featured-slideshow .slide-content {
    font-size: 1.25em;
    text-align: center;
}
.widget-featured-slideshow .slide-content > .fourcol {
	padding: 0 1em;
}
.widget-featured-slideshow .slide-content ul {
    margin: 1em auto 1em;
    list-style: none;
	text-align: left;
}
.widget-featured-slideshow .slide-content ul li:before {
    content: "• ";
    color: #ff6e00;
    margin-right: .2em;  
}
.widget-featured-slideshow .slide-content .button {
    margin-bottom: 1em;
}
.widget-featured-slideshow .slide-content .button.alt { margin-bottom: 2em; }
.widget-featured-slideshow blockquote {
	background: none;
	background: none;
	color: #000;
	font-size: 1.15em;
	margin: 4em 0 0;
	padding: 0;
}
.widget-featured-slideshow blockquote cite {
	float: right;
	font-size: .8em;
	line-height: 1.2;
	text-indent: -.7em;
	font-style: normal;
}

/* Arrows Changes */
.widget-featured-slideshow ul.slides { margin-top: 4em; }
.widget-featured-slideshow .flex-direction-nav {
	position: absolute;
	top: 0;
	width: 100%;
	background: #ddd;
	height: 4em;
	box-shadow: 0 5px 7px rgba(0,0,0,.3);
}
.widget-featured-slideshow .flex-direction-nav a {
	width: 50%;
	height: 4em;
	margin: 0;
	background-size: 2em;
	background-position: center;
	left: auto;
	right: auto;
	top: auto;
}
.widget-featured-slideshow .flex-direction-nav .flex-prev {
	border-right: 1px solid #ccc;
}
.widget-featured-slideshow .flex-direction-nav .flex-next {
	border-left: 1px solid #eee;
	right: 0;
}

/*  Sign Up Form Global Styling */
.widget-sign-up-form {
    position: relative;
    margin: 1em 0;
    padding: 2em 2em 2em 3em;
    background: #efefef;
    border-radius: 1.5em;
}
.homepage .widget-sign-up-form {
    display: none;
}
.widget-sign-up-form .panel2 {
    display: none;
}
.widget-sign-up-form .panel2 #btn-back {
    margin: 1.5em 0 0;
    display: inline-block;
    color: #888;
    text-transform: capitalize;
    border-bottom: 1px dotted #bbb;
    padding-bottom: 3px;
    cursor: pointer;
}
.widget-sign-up-form h3 {
    position: relative;
    display: inline-block;
    margin-top: 0;
    padding-right: .5em;
    background: #eee;
    font-size: 2em;
    text-transform: capitalize;
}
.widget-sign-up-form h3 .accent {
    text-transform: uppercase;
    font-weight: bold;
}
.widget-sign-up-form h4 {
	font-size: 1.5em;
	margin-top: 0;
}
.widget-sign-up-form h4 .accent {
    text-transform: uppercase;
    font-weight: bold;
}
.widget-sign-up-form h3 + hr {
    display: block;
    border: 1px solid #ddd;
    margin: -1.85em 0 2em;
}
.widget-sign-up-form ul {
    list-style: none;
    margin-top: 0;
}
.widget-sign-up-form ul li { margin-bottom: .3em; }
.widget-sign-up-form label {
    display: inline-block;
    width: 100%;
    margin-right: 1%;
    text-transform: capitalize;
}
.widget-sign-up-form label span {
    text-transform: uppercase;
    font-weight: bold;
}
.widget-sign-up-form input,
.widget-sign-up-form select {
    display: inline-block;
    width: 100%;
}
.widget-sign-up-form .phone input {
    width: 32.6%;
    margin-right: 1%;
}
.widget-sign-up-form .phone input:first-of-type { border-radius: 11px 0 0 11px;}
.widget-sign-up-form .phone input:nth-child(2n + 1) { border-radius: 0; }
.widget-sign-up-form .phone input:last-of-type { margin-right: 0; border-radius: 0 11px 11px 0; }
.widget-sign-up-form input[type="checkbox"] {
    width: 8%;
    margin-right: 2%;
	vertical-align: top;
}
.widget-sign-up-form button, 
.widget-sign-up-form .button {
    float: right;
    font-size: 1.5em;
    width: 72%;
    max-width: 13em;
	margin-bottom: 0;
    padding: .5em;
    font-weight: normal;
    border: none;
}
.widget-sign-up-form p.phone {
	clear: both;
	text-align: right;
	margin: 0;
	font-weight: bold;
	font-size: 1.5em;
	padding-top: .3em;
}
.widget-sign-up-form p.phone span { font-size: .7em; }
#confirmSignUpEmail { display: none; }

/* Panel 1 */
.widget-sign-up-form .panel1 .button {
    max-width: 6em;
    margin-right: .4em;
    font-weight: bold;
}

/* Panel 2 */
.widget-sign-up-form .panel2 li {
    display: inline-block;
    width: 100%;
    font-size: .9em;
}
.widget-sign-up-form .panel2 label { width: 88%; }
.widget-sign-up-form button span { font-weight: bold; }

/* Home Carrier Logos */
.widget-carrier-logos ul {
    list-style: none;
}
.widget-carrier-logos li {
    display: inline-block;
    position: relative;
    width: 32%; 
	margin: 0 8% .5em;
}
.widget-carrier-logos li img {
	diaplay: inline-block;
	vertical-align: middle;
	-webkit-transition: all 500ms ease;
	-moz-transition: all 500ms ease;
	-o-transition: all 500ms ease;
	transition: all 500ms ease;
	width: 100px;
	height: auto;
    margin: 0 auto;
    opacity: .4;
    filter: url("data:image/svg+xml;utf8,&lt;svg xmlns=\'http://www.w3.org/2000/svg\'&gt;&lt;filter id=\'grayscale\'&gt;&lt;feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/&gt;&lt;/filter&gt;&lt;/svg&gt;#grayscale"); /* Firefox 10+, Firefox on Android */
    filter: gray; /* IE6-9 */
    -webkit-filter: grayscale(100%); /* Chrome 19+, Safari 6+, Safari 6+ iOS */
}
.lt-ie9 .widget-carrier-logos li img,
.gt-ie9 .widget-carrier-logos li img { opacity: 1; filter: none; }
.widget-carrier-logos li img:hover {
	opacity: 1;
	filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'1 0 0 0 0, 0 1 0 0 0, 0 0 1 0 0, 0 0 0 1 0\'/></filter></svg>#grayscale");
    -webkit-filter: grayscale(0%);
}

/* ASIDE WIDGETS */
aside .widget { margin-bottom: 3em; }

/* Success Stories */
.widget-success-stories { display: none; }

/* Lead Type Samples */
.widget-lead-type-samples ul {
    margin: 0; 
    list-style: none;
}
.widget-lead-type-samples a {
    display: block;
    color: #434343;
    text-transform: capitalize;
    padding: .5em 0 .5em 3em;
}
.widget-lead-type-samples a span {
    font-weight: bold;
    text-transform: uppercase;
}
.widget-lead-type-samples a.auto { background: url("../Images/Content/Widgets/Lead-Type-Samples/auto_icon.png") no-repeat; }
.widget-lead-type-samples a.homeowners { background: url("../Images/Content/Widgets/Lead-Type-Samples/home_icon.png") no-repeat; }
.widget-lead-type-samples a.renters { background: url("../Images/Content/Widgets/Lead-Type-Samples/renters_icon.png") no-repeat; }
.widget-lead-type-samples a.term-life { background: url("../Images/Content/Widgets/Lead-Type-Samples/termLife_icon.png") no-repeat; }
.widget-lead-type-samples a.health { background: url("../Images/Content/Widgets/Lead-Type-Samples/health_icon.png") no-repeat; }
.widget-lead-type-samples a.senior-health { background: url("../Images/Content/Widgets/Lead-Type-Samples/senior_icon.png") no-repeat; }

/* Sign Up and Contact CTA */
.widget-sign-up-contact-cta { text-align: center; }
.widget-sign-up-contact-cta img {
    display: block;
    width: 2em;
    margin: 0 auto;
}
.widget-sign-up-contact-cta a.button {
    margin-bottom: 0;
}

/* Chat Button */
#LP_DIV_1396024416185 { margin: 0 auto; }

/* Mobile Sign up and Contact on homepage*/
.widget-mobile-contact-signup {
	position: relative;
	bottom: -1em;
    padding: 1em 0;
    margin: 0 -1em -1em;
    background: #eee;
}
.widget-mobile-contact-signup p {
    width: 15em;
    margin: 0 auto;
    font-weight: 600;
    font-size: 1.3em;
}
.widget-mobile-contact-signup a.button {
    display: block!important;
    margin: .5em 0 1em;
    padding: .75em;
}
.widget-mobile-contact-signup img {
    float: left;
    margin: 1em 1em 3em;
}

/* Contact Page Form */
.widget-contact-us-form {
	margin-top: -2em;
    padding: 0!important;
    border: none!important;
}
.widget-contact-us-form ul {
	list-style: none;
    margin: 0;
}
.widget-contact-us-form label { font-weight: 600; }
.widget-contact-us-form input[type="text"], .widget-contact-us-form textarea {
	width: 100%;
	margin-bottom: .5em;
}
.widget-contact-us-form input[type="submit"] {
    float: right;
    margin-top: 1em;
}

/* FOOTER WIDGETS */
#footer .widget,
#footer .widget a {
	text-transform: capitalize;
	color: #fff;
}
#footer .widget ul {
	margin: 0;
	list-style: none;
}
#footer .widget h2 span { font-weight: normal; }

/* Recent Blogs */
.widget-footer-recent-blog-posts .content-items .content-item {
	padding: 0;
	border: none; 
}
.widget-footer-recent-blog-posts .blog-post h2 {
    font-size: 1em;
}

/* Social Icons */
.widget-footer-social-icons { margin: .5em 0 2em;}
.widget-footer-social-icons a {
	margin-right: .5em;
}

/* Pager
***************************************************************/

.pager { list-style: none; padding: 0; margin: 12px 0 0 0; }
.pager li { float: left; padding: 0 12px 0 0; margin: 0; }
.pager a, .pager span { font-size: 1.077em; display: block; background-color: #dbdbdb; padding: 6px 6px; color: #434343;}
.pager a:hover { background-color: #434343; color: #fff; }
.pager span { background-color:inherit; }


/* Misc
***************************************************************/

.small      { font-size: 0.615em; margin-bottom: 1.875em; line-height: 1.875em; }
.large      { font-size: 1.231em; line-height: 2.231em; margin-bottom: 1.25em; }
.hide       { display: none; }

.quiet      { color: #666; }
.loud       { color: #000; }
.highlight {
	color: #f07c05;
	font-weight: bold;
}
.added      { background:#060; color: #fff; }
.removed    { background:#900; color: #fff; }

.first      { margin-left:0; padding-left:0; }
.last       { margin-right:0; padding-right:0; }
.top        { margin-top:0; padding-top:0; }
.bottom     { margin-bottom:0; padding-bottom:0; }

.credits { float: left; }
.user-display { float: left; padding: 0 1.25%; }
.user-display .welcome {}
.user-display .user-actions {}

.login-form { margin: 1.8461em 0 0 0; }



/* Buttons
***************************************************************/

input[type="submit"], input[type="button"], button, .button, .button:link, .button:visited {
    display: inline-block;
    background-color: #f07c05;
    color:#fff;
    cursor:pointer;
    margin:.2em 0 2em 0;
    padding: .5em 1.5em;
    text-transform: uppercase;
    font-weight: bold;
    text-align:center;
    border-radius: 6px;
	font-size: 1em;
	border: none;
	-webkit-appearance: none;
	-webkit-border-radious: 0;
}

input[type="submit"]:hover, input[type="button"]:hover,
input[type="submit"]:active, input[type="button"]:active,
input[type="submit"]:focus, input[type="button"]:focus,
button:hover, .button:hover,
button:active, .button:active,
button:focus, .button:focus {
    background: #c76a12;
    text-decoration:none; 
}

/* Alternate Button */
input[type="submit"].alt, input[type="button"].alt, button.alt, .button.alt, .button.alt:link, .button.alt:visited {
    background: #6a6a6a;
    font-size: .75em;
}




/*
 Media Queries
***************************************************************/

/* MOBILE PORTRAIT */
@media only screen and (min-width: 20em) {

} /* end media query */




/* MOBILE LANDSCAPE */
@media only screen and (min-width: 30em) {

/* Structure*/
#branding {
	margin: .2em;
    transition:all .2s linear; 
    -o-transition:all .2s linear; 
    -moz-transition:all .2s linear; 
    -webkit-transition:all .2s linear;
}

/* Float Images */
p img.left, 
p img[align="left"]     { float: left; margin: 0.923em 0.923em 0.923em 0; }
p img.right, 
p img[align="right"]    { float: right; margin: 0.923em 0 0.923em 0.923em; }

/* Agent Landing Pages */
.agent-landing-pages .agent-hero-title h2 {
	font-size: 2.200em;
}
.agent-landing-pages .agent-hero-title p {
	font-size: 1.650em;
}	

/* Widgets */
/* Home Carrier Logos */
.widget-carrier-logos li { width: 14%; }

} /* end media query */




/* SMALL TABLET */
@media only screen and (min-width: 37.5em) {

/* Branding */
#branding a {
    max-width: 300px;
}

/* Navigation */

/* responsive navigation */
#nav-collapsed { /* wrapper for collapsed navigation in mobile/small tablets */
    height: 3em;
    margin-top: .3em;
}
#nav-collapsed span.responsive-nav-bars { height: 15%; }

/* Forms */
select, textarea, input.text, input.textMedium, input.text-small, input.text-box { max-width: 65%;}

/* Widgets */

/* Header Contact */
.widget-header-contact h3 {
	margin: 0;
}

/* Sign Up Form */
.widget-sign-up-form h3 { font-size: 2.5em; }
.widget-sign-up-form label { width: 22%; }
.widget-sign-up-form input,
.widget-sign-up-form select {
    width: 77%;
    max-width: 100%; 
}
.widget-sign-up-form .phone input { width: 25%; }
.widget-sign-up-form .panel2 li { width: 49%; }

/* Contact Us Page */
.widget-contact-us-form input[type="text"],
.widget-contact-us-form textarea {
	max-width: 100%;
}
.widget-contact-us-form li {
	display: block;
	width: 31.4%;
	margin-right: 3%;
	float: left;
	clear: left;
}
.widget-contact-us-form li:last-of-type {
	clear: none;
	width: 65%;
	margin-top: -4.6em;
	margin-right: 0;
}


} /* end media query */




/* TABLET/NETBOOK (iPad and most Android Tablets in portrait) */
@media only screen and (min-width: 50em) { 
    
/* Structure
***************************************************************/
.zone-header { padding: .5em 1em; }

/* Show Hidden Images */
img.desktop-view-only { display: block; }

/* Branding */
#branding {
	width: 300px;
    max-width: 300px;
    height: 3em;
}
#branding a { background: url("../Images/Skin/Header/AgentInsider_iQ_logo.jpg") no-repeat; background-size: contain; }

/* Navigation */
#layout-navigation {
    margin-top: 0;
    background: #8c2e8c;
}
.lt-ie8 #layout-navigation { margin-top: 2em; }
.lt-ie10.gt-ie8 #layout-navigation .widget-menu-widget { display: inline-block; }
nav ul li {
    margin: 0;
    border: none;
}
nav li.last { margin-right: 0; } 
nav ul li a { padding: 1em; }
nav > ul li.dropdown:hover { background: #eee; } 
nav > ul li.dropdown li.dropdown:hover { background: #eee; } 
 
/* first level */
nav > ul > li { float:left; }
nav > ul > li > a { float:left; } 
    
/* second level */
nav > ul > li > ul { margin: 24px 0px 0px -1px; position:absolute; width: auto; }
.lt-ie8 nav > ul > li > ul { margin-left: -6.9em; }
nav > ul > li > ul > li > a { padding:0 18px; }
nav > ul > li > ul > li > a:before { content: ""; }

/* third level */
nav > ul > li > ul > li > ul { margin: -20px -1px 0px 90% ; position:absolute; width: auto;}
nav > ul > li > ul > li > ul > li > a { padding:0 18px; }
nav > ul > li > ul > li > ul > li > a:before { content: ""; }

/* Main Menu */
.menu-main-menu a.about-desktop { display: block; }

/* Footer links in main navigation */
.menu-main-menu li.register-link,
.menu-main-menu li.footer-links { display: none; }

/* Agent Menu */
.menu-agents-menu { display: block; }


/* Zones
***************************************************************/
.zone-navigation {
    margin: 0 auto;
    padding: 0 1em;
}
.zone-featured { padding: 0 1em; }

/* Secondary Zones */

/* Aside Zones */
/* If zone 1 is on */
.aside-1 #layout-content { float: right; width: 77.5%; padding-left: 2.5%; border-left: 1px solid #eee;   }
.aside-1 .aside-first {display: block; float: left; width: 22.5%; }

/* If zone 2 is on */
.aside-2 #layout-content { float: left; width: 62.5%; padding-right: 2em; border-right: 1px solid #b7b7b7;  }
.aside-2 .aside-second { float: right; width: 34.5%; }

/* If zones 1, 2 are on */
.aside-12 #layout-content { width: 62.5%; }
.aside-12 .aside-first, .aside-12 .aside-second { width: 18.75%; }
.aside-12 .aside-first, .aside-12 .aside-second, .aside-12 #layout-content { float:left; }

/* Tripel Zones*/
#layout-tripel > div { float:left; width: auto; }

/*2 zones on */
.tripel-12 #layout-tripel > div { width:50%; } /* If zones 1, 2 are on */
.tripel-23 #layout-tripel > div { width:50%; } /* If zones 2, 3 are on */
.tripel-13 #layout-tripel > div { width:50%; } /* If zones 1, 3 are on */

/*3 zones on */
.tripel-123 #layout-tripel > div { width:33.33333333333333%; } /* If zones 1, 2, 3 are on */

/* Quad Footer Zones */
#footer-quad > div { float:left; width:25%; }

/*1 zone on */
.split-1 #footer-quad-first { width:auto; } /* If zone 1 is on */
.split-2 #footer-quad-second { width:auto; } /* If zone 2 is on */
.split-3 #footer-quad-third { width:auto; } /* If zone 3 is on */
.split-4 #footer-quad-fourth { width:auto; } /* If zone 4 is on */

/*2 zones on */
.split-12 #footer-quad-first, .split-12 #footer-quad-second { width:50%; } /* If zones 1, 2 are on */
.split-13 #footer-quad-first, .split-13 #footer-quad-third { width:50%; } /* If zones 1, 3 are on */
.split-14 #footer-quad-first, .split-14 #footer-quad-fourth { width:50%; } /* If zones 1, 4 are on */
.split-23 #footer-quad-second, .split-23 #footer-quad-third { width:50%; } /* If zones 2, 3 are on */
.split-24 #footer-quad-second, .split-24 #footer-quad-fourth { width:50%; } /* If zones 2, 4 are on */
.split-34 #footer-quad-third, .split-34 #footer-quad-fourth { width:50%; } /* If zones 3, 4 are on */

/*3 zones on */
.split-234 #footer-quad-second { width:50%; } /* If zones 2, 3, 4 are on */
.split-134 #footer-quad-first { width:50%; } /* If zones 1, 3, 4 are on */
.split-124 #footer-quad-fourth { width:50%; } /* If zones 1, 2, 4 are on */
.split-123 #footer-quad-third { width:50%; } /* If zones 1, 2, 3 are on */

/*3 zones on - alternate layout*/
/*.split-123 #footer-quad-first, .split-123 #footer-quad-second, .split-123 #footer-quad-third { width:33.33333333333333%; }*/ /* If zones 1, 2, 3 are on */
/*.split-124 #footer-quad-first, .split-124 #footer-quad-second, .split-124 #footer-quad-fourth { width:33.33333333333333%; }*/ /* If zones 1, 2, 4 are on */
/*.split-134 #footer-quad-first, .split-134 #footer-quad-third, .split-134 #footer-quad-fourth { width:33.33333333333333%; }*/ /* If zones 1, 3, 4 are on */
/*.split-234 #footer-quad-second, .split-234 #footer-quad-third, .split-234 #footer-quad-fourth { width:33.33333333333333%; }*/ /* If zones 2, 3, 4 are on */
	
/*
GRID LAYOUT BEGINS HERE FOR USE 
WITHIN HTML WIDGET AREAS AND EDITOR IF ADDITIONAL COLUMNS/ROWS ARE
DESIRED
***************************************************************/
/* This is using the 1140 Grid System: http://cssgrid.net/ */
.row {
	width: 100%;
	margin: 0 auto;
	overflow: hidden;
}
.row:after {
	content: ".";
	display: block;
	width: 100%;
	height: 0;
	visibility: hidden;
}
.onecol    { width: 4.85%;  } /* grid_1  */
.twocol    { width: 13.45%; } /* grid_2  */
.threecol  { width: 22.05%; } /* grid_3  */ 
.fourcol   { width: 30.75%; } /* grid_4  */
.fivecol   { width: 39.45%; } /* grid_5  */
.sixcol    { width: 48%;    } /* grid_6  */
.sevencol  { width: 56.75%; } /* grid_7  */
.eightcol  { width: 65.4%;  } /* grid_8  */
.ninecol   { width: 74.05%; } /* grid_9  */
.tencol    { width: 82.7%;  } /* grid_10 */
.elevencol { width: 91.35%; } /* grid_11 */
.twelvecol { width: 100%;   } /* grid_12 */
	
/* layout & column defaults */
.onecol, .twocol, .threecol, .fourcol, .fivecol, .sixcol, .sevencol, .eightcol, .ninecol, .tencol, .elevencol { 
	float: left; 
	position: relative;
	margin-right: 3.8%; 
}
	
/* adding float to large column */
.twelvecol {
	float: left;
	position: relative;
}
	
/* default styles & fixes */
.col-last { 
	margin-right: 0; 
	float: right;
}

/* Content
***************************************************************/
.homepage .content-item.page h2 {
    height: 36px;
    line-height: 1.7;
}
.homepage h2.award-winning {
	padding-left: 2.5em;
	background: url('../Images/UI/Icons/circle-with-arrow-purple.png') no-repeat;
}
.homepage h2.enhanced-performance  {
    height: 2.6em!important;
    background: url('../Images/UI/Icons/circle-with-graph-orange.png') no-repeat;
}
.homepage h2.enhanced-performance span {
    display: block;
    font-weight: normal;
    text-transform: capitalize;
}
.homepage div.award-winning,
.homepage div.enhanced-performance { margin: 0 0 2em 3em; }

/* Agent Landing Pages */
.agent-landing-pages.insurance-leads .aside-1 #layout-content {
	clear: none;
	width: 60%;
	float: right;
}
.agent-landing-pages.insurance-leads .aside-1 .aside-first {
	clear: none;
	width: 40%;
}
.agent-landing-pages.insurance-leads #before-content {
	background-color: transparent;
}
.agent-landing-pages.thank-you .aside-2 #layout-content {
	clear: none;
	width: 62.5%;
	float: left;	
}
.agent-landing-pages.thank-you .aside-2 .aside-second  {
	clear: none;
	float: right;
	width: 33.3%;
}
.agent-landing-pages .agent-hero-title {
	width: 60%; 
}
.agent-landing-pages.thank-you .agent-hero-title { margin-left: 2em; }
.agent-landing-pages.thank-you .search-engine-marketing { padding: 0 2em!important; }


/* Widgets
***************************************************************/
/* Agent Carrier Logo */
.widget-agent-carrier-logo {
	width: 8.5em;
	margin-top: 1.3em;
	padding-right: 0;
	float: left;
	display: inline-block;
	height: 2.5em;
}
.widget-agent-carrier-logo div.border {
    border-left: 1px solid #ccc;
    margin-left: -3.5em;
    padding-left: 1em;
}
.widget-agent-carrier-logo img { width: 100%; }

/* Header Contact Information */
.widget-header-contact { margin-top: .7em; }
.widget-header-contact h2 {
    display: block;
    font-size: .875em;
    font-weight: normal;
}
.widget-header-contact h2 span {
    font-size: 1.25em;
    font-weight: bold;
    text-transform: uppercase;
}
.widget-header-contact h3 { line-height: 2; }
.widget-header-contact h3 .call-us-at {
    display: inline-block;
    height: 2.5em;
	margin-top: -.5em;
    padding: .25em 0 0 2.5em;
    background-size: auto;
}
.widget-header-contact h3 .number {
    font-size: 1.5em;
    line-height: 1.5;
}

/* Agents Login Mobile */
.widget-agents-login-mobile { display: none; }

/* Agents Menu Desktop */
.widget-agents-menu { float: right; }
.widget-agents-menu .last {
    font-weight: bold;
}
.widget-agents-menu li.last:before {
    border-left: 1px solid #fff;
	content: '';
	height: 1em;
	float: left;
	margin-top: 1.35em;
}
.widget-agents-menu .last a {
    padding: 1em 2em 1em 1em;
    background: #8c2e8c url("../Images/UI/Icons/lock-white.png") no-repeat 85% center;
}
.widget-agents-menu .last a:hover { background: #67236c url("../Images/UI/Icons/lock-white.png") no-repeat 85% center; }

/* Featured Slideshow */
.widget-featured-slideshow { margin: 0; }
.widget-featured-slideshow .slide-content {
    font-size: 1em;
    text-align: left;
}
.widget-featured-slideshow .slide-content ul {
    margin: 1em 0 1em .5em;
    list-style: none;
}
.widget-featured-slideshow .slide-content > .fourcol { padding: 0; }

/* Sign Up Form */
.widget-sign-up-form { margin: 1em 32px; }
.widget-sign-up-form:before {
    display: block;
    z-index: 1;
    content: "";
    background: url("../Images/Content/Widgets/Sign-Up-Form/img-arrow-ribbon.png") no-repeat;
    position: absolute;
    left: -32px;
    top: 1.5em;
    width: 80px;
    height: 128px;
}
.widget-sign-up-form .panel1,
.widget-sign-up-form .panel2 { display: block; }
.widget-sign-up-form .panel1 #btn-next,
.widget-sign-up-form .panel2 #btn-back { display: none; }

/* Home Carrier Logos */
.widget-carrier-logos ul {
    max-width: 95%;
    margin: 0 auto;
}
.widget-carrier-logos li { width: 10%; margin: 0 3% .5em; }

/* ASIDE WIDGETS */
/* Sample Lead Types */
.multiple-lead-types { display: none; }

/* Success Stories */
.widget-success-stories {
    display: block;
    padding-bottom: 2em;
}
.widget-success-stories ul {
    list-style: none;
    margin: 0;
}
.widget-success-stories blockquote {
    padding-bottom: 1.5em;
    border-bottom: 1px solid #ddd;
    background: url('../Images/UI/Icons/circle-with-quote-orange.png') no-repeat;
}
.widget-success-stories p {
    margin: 0;
    padding: 5px 0 0 50px;
    text-transform: capitalize;
}
.widget-success-stories p.author {
    background: url(../Images/Content/Widgets/Success-Stories/img-testimonials-arrow.jpg) no-repeat 20% 0;
    margin-top: -1em;
    padding-top: 2em;
    font-weight: bold;
    text-transform: uppercase;
}
.widget-success-stories .flex-direction-nav .flex-next {
    top: auto;
    bottom: -2em;
    height: 1em;
    color: #8c2e8c;
    font-weight: bold;
    opacity: 1;
    right: 0;
    text-align: right;
    background: none;
}
.widget-success-stories .flexslider:hover .flex-next {
    opacity: 1;
    right: 0;
}
.widget-success-stories .flex-next:before { display: none; }
.widget-success-stories .flex-prev { display: none; }

/* Mobile Contact and Sign Up Button on Homepage */
.widget-mobile-contact-signup {
    display: none;
}

} /* end media query */


@media only screen and (min-width: 65em) {
	/* Arrow Changes */
.widget-featured-slideshow ul.slides {
	margin: 0;
}
.widget-featured-slideshow .flex-direction-nav {
	position: static;
	width: auto;
	background: transparent;
	height: auto;
	box-shadow: none;
	border-radius: 0 0 10px 10px;
}
.widget-featured-slideshow .flex-direction-nav a {
	position: absolute;
	width: 68px;
	height: 474px;
	margin: -20px 0 0;
	background-size: 3em;
	background-position: center 0;
	top: 50%;
}
.widget-featured-slideshow .flex-direction-nav .flex-prev {
	left: -3em;
	border: none;
}
.widget-featured-slideshow .flex-direction-nav .flex-next {
	right: -3em;
	border: none;
}

}


@media only screen and (min-width: 80em) { /* 1280px */ 
/* DESKTOP */
body { font-size: 100%; } /* Increased legibility on large screens */
#layout-header, .zone-navigation,  .zone-featured, #layout-before-main, #layout-main, #footer, #layout-after-main, #layout-tripel {
    max-width: 69em;
}

/* Structure */
.zone-header { padding: .3em 1em; }

/* Agent Landing Pages */
.agent-landing-pages .widget-agent-rif-phone, 
.agent-landing-pages .widget-agent-rif-social-follow-us {
	display: block;
}
.agent-landing-pages.thank-you .widget-featured-background {
	display: block;
}
.agent-landing-pages.thank-you .agent-hero-title {		
	margin: -18.2em 2em;    
	width: 45%;
}			
.agent-landing-pages article[class^="widget-agent-rif-featured-background"] .bg-hero, .agent-landing-pages article[class^="widget-agent-thank-you-featured-background"] .bg-hero {
	background-size: auto;
}
.agent-landing-pages .widget-agent-sem-rif-form .lead-types li {
	width: 7.5em;
}
.gt-ie8.lt-ie10.agent-landing-pages .widget-agent-sem-rif-form .lead-types li {
	width: 8em; 
}
.agent-landing-pages.insurance-leads #layout-main-container { 
	/* IE9 SVG, needs conditional override of 'filter' to 'none' */
	background: -moz-linear-gradient(top,  #ffffff 365px, #f5f5f5 365px); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(365px,#ffffff), color-stop(365px,#f5f5f5)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #ffffff 365px,#f5f5f5 365px); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #ffffff 365px,#f5f5f5 365px); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #ffffff 365px,#f5f5f5 365px); /* IE10+ */
	background: linear-gradient(to bottom,  #ffffff 365px, #f5f5f5 365px); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#f5f5f5',GradientType=0 ); /* IE6-8 */
}
.agent-landing-pages.insurance-leads .zone-content { padding-left: 2em; }
.agent-landing-pages .widget-agent-sem-rif-form .lead-phone input[type="tel"], .agent-landing-pages .widget-agent-sem-rif-form .lead-phone input[type="text"] { width: 21.2%; }
/* re-factor phone input styles*/
#agent-sem-rif-form_phone-number-text {
	width: 14em;
}
#agent-sem-rif-form_phone-number-exchange-text.input-extension {
	width: 5em;
	margin-right: 0;
}
.agent-landing-pages .widget-agent-sem-rif-form .lead-phone input.input-extension { margin-right: 0; }

/* Widgets */
/* Agent Carrier Logo*/
.widget-agent-carrier-logo { width: 11.5em; }
.widget-agent-carrier-logo div.border { margin-left: 1em; }

/* Featured Slideshow */
.widget-featured-slideshow .flex-direction-nav a { margin-top: -38px; }
.widget-featured-slideshow .flex-direction-nav .flex-prev {
	left: -8%;
	border: none;
	background-size: auto;
}
.widget-featured-slideshow .flex-direction-nav .flex-next {
	right: -8%;
	border: none;
	background-size: auto;
}

} /* end media query */

@media only screen and (min-width: 94em) {
	/* Featured Slideshow */
	.widget-featured-slideshow .flex-direction-nav .flex-prev {
		left: -15%;
	}
	.widget-featured-slideshow .flex-direction-nav .flex-next {
		right: -15%;
	}
}





/* PRINT */
@media print {
* {background: transparent !important; color: black !important; text-shadow: none !important; filter:none !important; -ms-filter: none !important} /* Black prints faster */
a, a:visited {color: #444 !important; text-decoration: underline}
a[href]:after {content: " (" attr(href) ")"}
abbr[title]:after {content: " (" attr(title) ")"}
.ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after {content: ""}  /* Don't print links for images, javascript or internal links */
pre, blockquote {border: 1px solid #999; page-break-inside: avoid; }
thead {display: table-header-group; } /* Repeat header row at top of each printed page */
tr, img {page-break-inside: avoid; }
img {max-width: 100% !important; }
@page {margin: 0.5cm}
p, h2, h3 {orphans: 3; widows: 3}
h2, h3{page-break-after: avoid}
}
