/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between images, videos, audio and canvas and the bottom of
 * their containers: h5bp.com/i/440
 */

audio,
canvas,
img,
svg,
video {
    vertical-align: middle;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

body {
	font-family: 'Raleway', sans-serif;
	margin: 0;
	padding: 0;
}

a {
	text-decoration: underline;
	color: #717578;
}

p {
	font-size: 0.875em;
	line-height: 1.6;
	color: #717578;
}

p.small {
	font-size: 0.75em;	
}

p.alert {
	color: #cc0000;
}

h1 {
	font-size: 1.4em;
	font-weight: normal;
	color: #145aa8;
}

h4 {
	font-size: 0.875em;
	color: #145aa8;
}

figure {
	margin: 0;
}

figure.right {
	margin: 0 0 0.25em 0.5em;
}

figure.left {
	margin: 0 0.5em 0.25em 0;
}

figure figcaption {
	font-size: 0.75em;
	line-height: 1.3;
	font-style: italic;
	color: #999;
	margin: 0.5em 0 0 0;
}

button, a.button {
	padding-bottom: 0.45em;
    padding-top: 0.5em;
	background-color: #145aa8;
    border: 1px solid #666666;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.5) inset;
    outline: medium none;
	text-decoration: none;
}

button:hover, a.button:hover {
	background-color: #86b148;
}

section {
	clear: both;
	margin: 1em 0;
}

hr.page-heading {
	border-top: 2px solid #86b148;
	width: 20%;
	margin-bottom: 2em;
	text-align: left;
}

.center {
	text-align: center;
}

.colored {
	color: #86b148;
}

.upper {
	text-transform: uppercase;
}

.required {
	color: #CC0000;
}

#document-header h1 {
	margin: 0.3em 0 0.4em 0;
}

#mobile-menu-control {
	display: block;
	background-color: #fff;
	border: 1px solid #d8d6d1;
	border-top: none;
	border-bottom-left-radius: 6px;
	border-bottom-right-radius: 6px;
	text-align: center;
	text-decoration: none;
}

#mobile-menu-control img {
	margin-top: 1.25em;
}

#mobile-menu-control p {
	font-size: 0.625em;
	font-weight: bold;
	color: #d8d6d1;
	text-transform: uppercase;
	margin: 0.5em 0;
}

#mobile-menu-control i {
	color: #d8d6d1;
	margin-top: 0.2em;
}

#mobile-menu-control.active {
	background-color: #4f4f51;
	border-bottom-left-radius: 0;
	border-bottom-right-radius: 0;
	border: none;
}

#mobile-menu-control.active i {
	color: #86b148;
}

#mobile-menu-control.active p {
	padding-bottom: 2em;
	margin-bottom: 0;
}

#mobile-menu {
	display: none;
	clear: both;
	border-top: 4px solid #86b148;
	background-color: #4f4f51;
}

#mobile-menu ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

#mobile-menu ul li {
	font-size: 0.875em;
	border-bottom: 1px solid #6e6e70;
}

#mobile-menu ul li.last {
	border-bottom: none;
}

#mobile-menu ul li a {
	display: block;
	color: #fff;
	font-weight: normal;
	padding: 1em 0 1em 2.5em;
	text-decoration: none;
}

#content {
	background:
		url('/media/ui/content-top-bg.png') repeat-x,
		url('/media/ui/content-bg.png');
	max-width: 71.875em;
	margin: 0 auto;
	border-bottom: 11px solid #86b148;
}

#content ul li, #content ol li {
	font-size: 0.875em;
	line-height: 1.6;
	color: #717578;
	margin-bottom: 0.4em;
}

.no-multiplebgs #content {
	background: url('/media/ui/content-bg.png');
}

#document-main {
	border-top: 11px solid #ebedef;
	background-color: #fff;
	margin: 1.5em 0;
	padding: 0 0.625em 0.5em 0.625em;
}

body.home #document-main {
	border-top: none;
	background: none;
	margin: 0;
	padding: 0;
}

body.home main h1 {
	font-size: 1.2em;
	font-weight: 300;
	line-height: 1.4;
	color: #fff;
}

body.home main img {
	box-shadow: -3px 3px 0 3px rgba(29, 78, 133, 0.5);
}

#company-benefits {
	background-color: #ebedef;
	border-top: 11px solid #dee0e2;
}

#company-benefits h2 {
	color: #717578;
	font-size: 1.5625em;
	margin: 0;
}

#company-benefits div.company-benefit {
	padding: 1.625em 1.425em 0 1.425em;
	height: 159px;
	cursor: pointer;
}

#company-benefits div.company-benefit div.company-benefit-content {
	border-bottom: 1px dotted #b7b9bb;
	height: 133px;
}

#company-benefits div:last-child div.company-benefit-content {
	border-bottom: none;
}

#company-benefits p {
	font-size: 0.7725em;
	margin: 0.9em 0;
}

#company-benefits p a {
	text-transform: uppercase;
}

main div.rotating-content {
	display: none;
}

main #rotating-content-0 {
	display: block;
}

#document-footer {
	max-width: 71.875em;
	margin: 0 auto;
}

#document-footer-default {
	background-color: #ebedef;
}

#document-footer-home {
	display: none;
	border-top: 12px solid #ebedef;
}

#document-footer-home h3 {
	color: #86b148;
	text-transform: uppercase;
	margin: 0.5em 0 0.75em 0;
}

body.home #document-footer-home {
	display: block;
}

body.home #document-footer-default {
	display: none;
}

#document-footer #copyright {
	font-size: 0.75em;
	font-style: italic;
	color: #aca7a7;
}

#document-footer-home #copyright {
	margin: 1.75em 0;
}

#document-footer #copyright a {
	color: #aca7a7;
	padding-left: 0.3em;
}

#document-footer-partners-logo {
	margin-bottom: 1em;	
}

#document-footer-partners-logo-rotator {
	position: relative;
	height: 60px;
}

#document-footer-partners-logo-rotator img {
	position: absolute;
	display: none;
	max-height: 60px;
}

#document-footer-partners-logo img.first {
	display: inline-block;
}

#document-footer nav ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

#document-footer nav ul li {
	text-transform: uppercase;
	margin-bottom: 0.5em;
}

#document-footer nav ul li.first {
	padding-left: 0;	
}

/* Our Titles */

#our-titles section {
	border-top: 1px solid #ebedef;
	margin-top: 0;
}

#our-titles section.last {
	border-bottom: 1px solid #ebedef;
}

#our-titles div.our-titles-content {
	display: none;
}

#our-titles div.our-titles-content ul {
	padding-left: 1.2em;
	list-style: none;
	margin: 0;
}

#our-titles div.our-titles-content ul li {
	font-size: 0.875em;
	margin-bottom: 1.5em;
}

#our-titles div.our-titles-content ul li a {
	text-decoration: none;
}

#our-titles div.our-titles-content ul li a:hover {
	text-decoration: underline;
	color: #86b148;
}

#our-titles h2 {
	color: #86b148;
	text-transform: uppercase;
	font-size: 1.17em;
	cursor: pointer;
	margin: 1.41em 0;
}

#our-titles h2 i.fa {
	color: #145aa8;
	width: 1.2em;
	font-size: 0.7em;
}

#our-titles-image img.off {
	display: block;
	opacity: 0.3;
	border: 1px solid #ebedef;
}

#our-titles-image img, #our-titles-image.health #health-off, #our-titles-image.flying #flying-off, #our-titles-image.sailing #sailing-off, #our-titles-image.pets #pets-off, #our-titles-image.hobby #hobby-off {
	display: none;
}

#our-titles-image.health #health-on, #our-titles-image.flying #flying-on, #our-titles-image.sailing #sailing-on, #our-titles-image.pets #pets-on, #our-titles-image.hobby #hobby-on {
	display: block;
	border: 1px solid #ebedef;
}

#our-titles-image p {
	display: none;
}

#our-titles-image.health #health-credit {
	display: block;
	background-color: #ebedef;
	font-size: 0.55em;
	text-align: right;
	margin: 0;
	padding: 0.5em;
	text-transform: uppercase;
}

/* Contact Us */

#contact-us h4 {
	margin-bottom: 0;
	line-height: 1.6;
}

#contact-us p {
	margin-top: 0;
}

/* Tiny MCE */

#tinymce {
	padding: 1em;
	font-size: 1em;
}

/* Partner Index */

#partner-index li {
	border-bottom: 1px solid #ebedef;
	padding: 2em 2em 1em 2em;
}

#partner-index li.last {
	border-right: none;
}

#partner-index div.partner-index-logo {
	height: 60px;
	text-align: center;
}

#partner-index div.partner-index-logo img {
	max-height: 60px;
}


/* Partner Detail */

#partner-detail-cover {
	padding: 1em 3.5em 0 3.5em;
	border-bottom: 1px solid #ebedef;
	margin-bottom: 1em;
	height: 216px;
	overflow: hidden;
}

#partner-detail-cover img {
	display: none;
	border: 1px solid #ebedef;
	border-left: 5px solid #ebedef;
	border-top-left-radius: 4px;
}

#partner-detail-cover img.first {
	display: inline-block;
}

#partner-detail-logo {
	padding: 1em 2em;
}

/* Special Reports */

#special-reports li {
	text-align: center;
}

/** Recaptcha **/
#recaptcha {
	margin-bottom: 1em;
}

#recaptcha_response_field {
	margin: 0;
}

#recaptcha_privacy {
	font-size: 0.8em;
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */
  
@media only screen and (min-width: 30.063em ) {
	#site-container {
		min-width: 62.5em;
	}
}

@media only screen and (min-width: 40.063em) {
	h1 {
		font-size: 1.7em;
	}
	
	hr.page-heading {
		width: 8.33333%;
	}
	
	#document-header {
		margin: 1.5625em 0;
	}
	
	#document-header h1 {
		margin: 0;
	}
	
	#document-header nav {
		float: right;
	}
	
	#document-header nav ul {
		margin: 0.875em 0 0 0;
		padding: 0;
		list-style: none;
	}
	
	#document-header nav ul li {
		display: inline-block;
		float: left;
		height: 38px;
		border-left: 1px solid #dadada;
		margin-left: 1.6875em;
		padding-left: 1.6875em;
	}
	
	#document-header nav ul li:first-child {
		border-left: none;
		margin-left: 0;
		padding-left: 0;
	}
	
	#document-header nav ul li a {
		color: #717578;
		font-weight: 600;
		text-decoration: none;
		text-transform: uppercase;
		line-height: 38px;
	}
	
	#document-header nav ul li.on a {
		border-bottom: 4px solid #86b148;
		padding-bottom: 0.325em;
		color: #145aa8;
	}
	body.home main h1 {
		font-size: 2.375em;
		margin: 1.75em 0 1.25em 0;
	}
	body.home main h1.no-image {	
		margin-top: 5em;
	}
	#company-benefits div.on {
		background-color: #fff;
		background-image: url('/media/ui/company-benefit-bg.png');
		background-repeat: no-repeat;
		margin-left: -23px;
		padding-right: 0;
	}
	
	#company-benefits div.on div.company-benefit-content {
		border-bottom: 6px solid #d3d5d7 !important;
		padding-left: 1.4625em;
		padding-right: 1.425em;
	}
	
	#company-benefits div.before-on div.company-benefit-content {
		border-bottom: none;
	}
	
	#company-benefits div.on h2, #company-benefits div.on p {
		color: #145aa8;
	}
	
	#company-benefits div.on p a {
		color: #86b148;
	}
	
	#document-footer-partners-logo {
		padding: 0 1.5em 0 1em;
		margin-bottom: 0;
	}
	
	#document-footer-home {
		padding-top: 1.75em;
	}
	
	#document-footer nav ul li {
		display: inline;
		font-size: 0.9125em;
		padding-left: 0.7em;
		margin-bottom: 0;
	}
	
	#document-footer #copyright {
		text-align: right;
	}
	
	#document-main {
		margin: 3.75em 0;
		padding: 2em 4em;
	}
	
	body.home #document-main {
		margin: 0;
		padding: 0;
	}
	
	#our-titles div.our-titles-content ul {
		margin: 1em 0;
	}
	
	#partner-index li {
		border-right: 1px solid #ebedef;
	}
	
	#partner-index li.bottom-row {
		border-bottom: none;
	}
	
	div.partner-detail-left {
		border-right: 1px solid #ebedef;
		padding-right: 0;
		margin-bottom: 2em;
	}
	
	div.partner-detail-right {
		padding-left: 1.4em;
	}
	
	div.split-column-left {
		padding-right: 1.4em;
	}
	
	div.split-column-right {
		border-left: 1px solid #ccc;
		padding-left: 1.4em;
	}
}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
