/*
 * HTML5 Boilerplate
 *
 * 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,
button,
input,
select,
textarea {
    color: #222;
}

body {
    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 and the bottom of their containers: h5bp.com/i/440
 */

img {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Font-face
   ========================================================================== */

@font-face {
	font-family: 'Taz Semibold';
	src: url('../fonts/tazwt06-semibold-webfont.eot');
	src: url('../fonts/tazwt06-semibold-webfont.eot?#iefix') format('embedded-opentype'),
		 url('../fonts/tazwt06-semibold-webfont.woff') format('woff'),
		 url('../fonts/tazwt06-semibold-webfont.ttf') format('truetype'),
		 url('../fonts/tazwt06-semibold-webfont.svg#tazsemibold') format('svg');
	font-weight: normal;
	font-style: normal;

}

@font-face {
	font-family: 'Taz';
	src: url('../fonts/tazwt07-bold-webfont.eot');
	src: url('../fonts/tazwt07-bold-webfont.eot?#iefix') format('embedded-opentype'),
		 url('../fonts/tazwt07-bold-webfont.woff') format('woff'),
		 url('../fonts/tazwt07-bold-webfont.ttf') format('truetype'),
		 url('../fonts/tazwt07-bold-webfont.svg#tazbold') format('svg');
	font-weight: bold;
	font-style: normal;

}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

html {
	background: #ececec;
}
body#layout1 {
	background: url(images/background-layout1.jpg) center top no-repeat;
}
body {
	font-family: "Segoe UI", Frutiger, "Frutiger Linotype", "Dejavu Sans", "Helvetica Neue", Arial, sans-serif;
	font-size: 15px;
	line-height: 18px;
	color: #002b7a;
}
a {
	text-decoration: underline;
	color: #002b7a;
}
a:hover {
	text-decoration: none;
}
h1 {
	font-weight: bold;
	font-size: 26px;
	line-height: 32px;
    margin-top:0px;
}
h2,
h3,
.intro {
	font-weight: bold;
	font-size: 17px;
	line-height: 23px;
}
.button {
	font-family: "Taz Semibold", "Segoe UI", Frutiger, "Frutiger Linotype", "Dejavu Sans", "Helvetica Neue", Arial, sans-serif;
	display: block;
	color: white;
	background: #3ea9ee;
	background: -moz-linear-gradient(top,  #3ea9ee 50%, #3ca2e5 50%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(50%,#3ea9ee), color-stop(50%,#3ca2e5));
	background: -webkit-linear-gradient(top,  #3ea9ee 50%,#3ca2e5 50%);
	background: -o-linear-gradient(top,  #3ea9ee 50%,#3ca2e5 50%);
	background: -ms-linear-gradient(top,  #3ea9ee 50%,#3ca2e5 50%);
	background: linear-gradient(to bottom,  #3ea9ee 50%,#3ca2e5 50%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#3ea9ee', endColorstr='#3ca2e5',GradientType=0 );
	height: 50px;
	font-size: 21px;
	text-decoration: none;
	line-height: 50px;
	padding: 0 15px;
	float: left;
}
.button-rounded {
	display: block;
	color: white;
	background-color: #002b7a;
	font-weight: bold;
	height: 50px;
	font-size: 15px;
	text-decoration: none;
	line-height: 47px;
	padding: 0 40px;
	margin-right: 25px;
	float: left;
	border-radius: 3px;
}
.button-rounded-small {
	display: block;
	color: white;
	background-color: #002b7a;
	font-weight: bold;
	height: 25px;
	font-size: 15px;
	text-decoration: none;
	line-height: 22px;
	padding: 0 25px;
	margin-right: 25px;
	float: left;
	border-radius: 3px;
}
blockquote {
	text-align: center;
	padding-top: 20px;
	padding-bottom: 20px;
}
blockquote p {
	font-family: "Taz Semibold", "Segoe UI", Frutiger, "Frutiger Linotype", "Dejavu Sans", "Helvetica Neue", Arial, sans-serif;
	font-size: 44px;
	line-height: 50px;
	margin: 10px 0;
}
blockquote p:before {
	content: '\201C';
}
blockquote p:after {
	content: '\201D';
}
blockquote footer {
	text-align: right;
}
blockquote footer cite {
	font-style: normal;
}


body > header {
	/*height: 115px;*/
}
body#layout2 > header {
	background: #002b7a url(../images/background-layout2.jpg) center top no-repeat;
	height: 65px;
	margin-bottom: 30px;
}

nav a,
menu a {
	text-decoration: none;
}
nav a:hover,
menu a:hover span {
	text-decoration: underline;
}
nav ul {
	padding: 0;
	margin: 0;
}
menu {
	padding: 0;
	float: right;
}
menu a {
	margin-left: 10px;
	font-weight: bold;
	font-size: 12px;
}
menu a i {
	margin-right: 8px;
	font-size: 16px;
	position: relative;
	top: 2px;
}

nav#topnav {
	margin-bottom: 80px;
}
nav#topnav ul {
	margin: 10px 0 0;
	float: right;
}
nav#topnav ul li {
	color: #f3f3f3;
	float: left;
	margin-left: 5px;
}
nav#topnav ul li a {
	color: #f3f3f3;
	font-weight: bold;
	display: block;
	font-size: 16px;
	padding: 0 10px 3px;
	text-shadow: 1px 1px 0px #231B18;
	text-shadow: 1px 1px 0px rgba(35, 27, 24, 0.43);
}
nav#topnav ul li a:hover,
nav#topnav ul li a.active {
	text-decoration: none;
	background: #253473;
	border-radius: 3px;
}

body > footer2 {
	background: url(../images/footer-top.jpg) center top no-repeat;
	padding-top: 113px;
	margin-bottom: 30px;
}
nav#footernav h3 {
	font-family: "Taz Semibold", "Segoe UI", Frutiger, "Frutiger Linotype", "Dejavu Sans", "Helvetica Neue", Arial, sans-serif;
	font-size: 15px;
	line-height: 18px;
}
nav#footernav ul li {
	font-size: 13px;
	line-height: 20px;
}

nav#toolnav {
	margin-bottom: 10px;
}
nav#toolnav ul li {
	float: left;
	width: 19.76%;
	margin-left: 0.3%;
	text-align: center;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
nav#toolnav ul li:first-child {
	margin-left: 0;
}
nav#toolnav ul li a {
	color: white;
	background-color: #004A81;
	display: block;
	/*height: 75px;*/
	border-radius: 3px;
}
nav#toolnav ul li a:hover,
nav#toolnav ul li a.active {
	text-decoration: none;
	background-color: #001b4c;
}
nav#toolnav ul li a i {
	display: block;
	font-size: 22px;
	padding: 15px 0 10px;
}

nav.breadcrumbs {
	font-size: 15px;
	line-height: 23px;
}
nav.breadcrumbs ul li {
	float: left;
}
nav.breadcrumbs ul li:after {
	content: "/";
	margin: 0 3px;
	font-size: 90%;
}
nav.breadcrumbs ul li:last-child:after {
	content: "";
}
nav.tabs ul li {
	float: left;
	margin-right: 10px;
	display: block;
}
nav.tabs ul li a {
	text-decoration: none;
	font-weight: bold;
	height: 35px;
	line-height: 45px;
	background-color: #e5edf6;
	display: block;
	padding: 0 35px;
	border-radius: 3px 3px 0 0;
}
nav.tabs ul li a:hover,
nav.tabs ul li a.active {
	color: white;
	background-color: #002d7c;
}


body#layout1 main header {
	margin-bottom: 80px;
}
body#layout1 main header .block {
	height: 307px;
	background: white;
	border: 1px solid #002b7a;
	border: 1px solid rgba(0, 43, 122, 0.76);
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
body#layout1 main header .block.more-info {
	padding: 20px;
	font-size: 24px;
	font-family: "Taz Semibold", "Segoe UI", Frutiger, "Frutiger Linotype", "Dejavu Sans", "Helvetica Neue", Arial, sans-serif;
}
body#layout1 main header .block.more-info h1 {
	font-size: 41px;
	margin: 15px 0;
	font-family: Taz, "Segoe UI", Frutiger, "Frutiger Linotype", "Dejavu Sans", "Helvetica Neue", Arial, sans-serif;
}
body#layout1 main header .block.more-info p {
	font-size: 35px;
	line-height: 41px;
	margin: 0 0 80px;
}
body#layout1 main header .block.more-info .phone {
	line-height: 50px;
	float: right;
	text-decoration: none;
}
body#layout1 main header .block.more-info .phone i {
	font-size: 27px;
	margin-right: 10px;
	position: relative;
	top: 5px;
}
section#subheader {
	background-color: #002b7a;
	color: white;
	padding: 13px 0 33px;
}
section#subheader p {
	-webkit-column-count: 2;
	-moz-column-count: 2;
	column-count: 2;
	-webkit-column-gap: 20px;
	-moz-column-gap: 20px;
	column-gap: 20px;
}

#asides {
	background: url(../images/asides-background.png) top center no-repeat;
	height: 290px;
	position: relative;
	margin-bottom: 25px;
}

#asides .news {
	padding-top: 70px;
}
#asides .news img {
	float: left;
	margin: 0 15px 5px 0;
}
#asides .news h2 {
	margin: 0;
}
#asides .news .date {
	font-size: 11px;
}

#asides .call2action {
	background: url(../images/call2action.png) 45px 35px no-repeat;
	height: 290px;
}
#asides .call2action a {
	position: absolute;
	top: 120px;
	right: 0;
}

#tool {
	background: white;
	position: relative;
	border-radius: 3px;
	margin-bottom: 20px;
	padding: 30px 20px 0px;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	-webkit-box-shadow:  0px 0px 8px 1px rgba(79, 79, 79, 0.5);
	box-shadow:  0px 0px 8px 1px rgba(79, 79, 79, 0.5);
}
#tool:after {
	bottom: 100%;
	border: solid transparent;
	content: " ";
	height: 0;
	width: 0;
	position: absolute;
	pointer-events: none;
}
#tool:after {
	border-color: rgba(255, 255, 255, 0);
	border-bottom-color: #ffffff;
	border-width: 10px;
	left: 30%; /* location of arrow */
	margin-left: -10px;
}
#tool hr {
	border-color: #cae0f8;
}
#tool header input[type="search"] {
	width: 100%;
	height: 65px;
	background-color: #e5edf6;
	border: none;
	padding: 0 150px 0 15px;
	color: #4883c3;
	font-weight: bold;
	margin-bottom: 15px;
	-webkit-box-shadow: inset 2px 2px 5px 2px rgba(0, 0, 0, 0.21);
	box-shadow: inset 2px 2px 5px 2px rgba(0, 0, 0, 0.21);
}
#tool header a.search {
	margin: 0;
	position: absolute;
	top: 38px;
	right: 27px;
}
#tool section {
	background-color: #f8f9fb;
	position: relative;
}
#tool section > div {
	padding: 0 10px 20px;
	border-top: 1px solid #ccc;
}
#tool section > div > *:last-child {
	margin-bottom: 0;
}
#tool section h2 {
	float: left;
}

/*** fields ***/
#tool .field {
	margin: 0 0 10px;
}
#tool .field label:first-child {
	width: 145px;
	text-align: right;
	margin-right: 20px;
	display: inline-block;
	line-height: 30px;
}
#tool input[type="text"],
#tool input[type="email"],
#tool input[type="password"],
#tool input[type="url"],
#tool input[type="number"],
#tool input[type="tel"],
#tool input[type="search"],
#tool select,
#tool textarea {
	width: 535px;
	height: 34px;
	line-height: 30px;
	padding: 0 5px;
	border: 1px solid #cae0f8;
	border-radius: 3px;
	background-color: white;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
#tool select {
	padding: 5px;
}
#tool textarea {
	height: 100px;
	line-height: 20px;
	padding: 5px;
}
#tool input[type="checkbox"] + label,
#tool input[type="radio"] + label {
	margin: 0 15px 0 5px;
}

/*** dl ***/
#tool dl {
	margin: 0 0 30px;
}
#tool dl dt {
	width: 245px;
	text-align: right;
	margin-right: 20px;
	float: left;
}
#tool dl dd {
	margin: 0 0 10px;
	font-weight: bold;
}

/*** table ***/
#tool table {
	width: 100%;
}
#tool table tr {
	
}
#tool table th {
	font-weight: bold;
}
#tool table th,
#tool table td {
	padding: 5px;
	text-align: left;
	border-bottom: 1px solid #ccc;
	border-right: 1px solid #ccc;
	border-left: 1px solid #ccc;
}
#tool table tr th:last-child,
#tool table tr td:last-child {
}
#tool table *:last-child tr:last-child th,
#tool table *:last-child tr:last-child td {
	border-bottom: none;
}
/*
#tool table tbody tr:nth-child(2n-1) td,
#tool table tfoot tr:nth-child(2n-1) td {
	background-color: #EBECEE;
}
    */










/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

/*
 * 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;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@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
     */

    .ir a:after,
    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;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
