/* @override
	http://amxfp.siebird.net/assets/css/main.css */

/*
 * 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;}
::-moz-selection {background: #b3d4fc;text-shadow: none;}
::selection {background: #b3d4fc;text-shadow: none;}
hr {display: block;height: 1px;border: 0;border-top: 1px solid #ccc;margin: 1em 0;padding: 0;}
img { vertical-align: middle;}
fieldset {border: 0;margin: 0;padding: 0;}
textarea { resize: vertical;}

/* ==========================================================================
   Chrome Frame prompt
   ========================================================================== */

.chromeframe {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Amerimax Fabricated 2013. Author: @siebird

   Colors:
   Logo Blue: #1683C3
   Sky Blue: #21AEED

   ========================================================================== */

body {
	min-width: 960px;
}

p, li {
	color: #444;
	font: 14px/21px Arial, "Myriad Pro", sans-serif;
}

a {
	color: #21AEED;
	text-decoration: none;
}

a:hover {
	color: #000;
}

/*
 *
 * Simple Grid, Thank's Chris: http://css-tricks.com/dont-overthink-it-grids/
 *
 */

*, *:after, *:before {
  -webkit-box-sizing: border-box;
  	 -moz-box-sizing: border-box;
  		  box-sizing: border-box;
}

.wrapper {
	margin: auto;
	position: relative;
	width: 960px;
}

.grid {
	background-color: #FFF;
	margin: auto;
	position: relative;
	width: 100%;
}

.grid:after {
  content: "";
  display: table;
  clear: both;
}

.grid > div {
	float: left;
	padding: 0 10px;
}

.grid-5 {width: 5%;}
.grid-10 {width: 10%;}
.grid-15 {width: 15%;}
.grid-20 {width: 20%;}
.grid-25 {width: 25%;}
.grid-30 {width: 30%;}
.grid-35 {width: 35%;}
.grid-40 {width: 40%;}
.grid-45 {width: 45%;}
.grid-50 {width: 50%;}
.grid-55 {width: 55%;}
.grid-60 {width: 60%;}
.grid-65 {width: 65%;}
.grid-70 {width: 70%;}
.grid-75 {width: 75%;}
.grid-80 {width: 80%;}
.grid-85 {width: 85%;}
.grid-90 {width: 90%;}
.grid-95 {width: 95%;}
.grid-100 {width: 100%;}

.grid-33 {width: 33.3333%;}
.grid-66 {width: 66.6667%;}

.grid-pad {padding: 20px 0 0;}

.grid-reverse > div {
	float: right !important;
}


#header {
	background: #CFD1CF;
	background-color: rgba(198,200,199,.75);
	position: absolute;
	top: 10px;
	min-width: 960px;
	width: 100%;
	z-index: 100;
}


#logo {
	float: left;
}

#logo a {
	background: url('../img/logo.png') no-repeat left top;
	display: block;
	height: 56px;
	text-indent: -9999px;
	width: 250px;
}

#nav-main {
	float: left;
	list-style: none;
	position: relative;
	z-index: 500;
}

#nav-main > li {
	float: left;
	margin-right: 2px;
	position: relative;
}

#nav-main > li > a {
	background: #21AEED;
	color: #FFF;
	display: inline-block;
	font: bold 12px/35px "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif;
	height: 35px;
	padding: 0 10px;
	text-decoration: none;
	text-transform: uppercase;
}

#nav-main > .has-children:hover > a {
	height: 37px;
}

#nav-main > li > a:hover,
#nav-main > .has-children:hover > a {
	background: #1683C3;
}

.has-children > ul {
	background: #1683C3;
	display: none;
	list-style: none;
	margin: 0;
	padding: 0;
	position: absolute;
	width: 250px;
}

.has-children:hover > ul {
	display: block;
}

.has-children > ul > li {
	position: relative;
	width: 250px;
}

.has-children > ul > li > a {
	color: #FFF;
	display: block;
	padding: 10px;
	position: relative;
	text-decoration: none;
}

.has-children > ul > li > a:hover,
.has-children > ul > li.has-children:hover a {
	background: #1597d4;
}

.has-children > ul > li.has-children:hover {
	width: 252px;
}

.has-children > ul > li.has-children > ul {
	position: absolute;
	left: 100%;
	top: 0px;
}

.has-children > ul > li.has-children:hover > ul {
	display: block;
}

.has-children > ul > li.has-children:hover > ul > li > a:hover {
	background: #138cc5;
}


#search {
	background: #21AEED;
	float: left;
	height: 35px;
	margin-top: 16px;
	position: relative;
	width: 150px;
}

#search input {
	font-size: 12px;
	height: 21px;
	margin: 7px;
	width: 136px;
}

#search button {
	background: url('../img/ico-search.png') no-repeat left top;
	border: none;
	display: block;
	height: 20px;
	position: absolute;
	right: 8px;
	text-indent: -9999px;
	top: 10px;
	width: 20px;
}

#slideshow {
	display: block;
	height: 200px;
	position: absolute;
	top: 0px;
	min-width: 960px;
	width: 100%;
}


#slides {
	display: block;
	height: 450px;
	overflow: hidden;
	position: absolute;
	top: 0px;
	min-width: 960px;
	width: 100%;
	z-index: 50 !important;
}

.slide {
	display: block;
	height: 450px;
	min-width: 960px;
	width: 100%;
}

.caption {
	background-color: #FFF;
	background-color: rgba(255,255,255,.9);
	border: 2px solid #21AEED;
	height: auto !important;
	left: 50%;
	padding: 20px;
	position: absolute;
	top: 130px;
	width: 450px;
}

.caption h2 {
	color: #21AEED;
	font-family: "freight-sans-pro",sans-serif;
	font-size: 28px;
	font-style: normal;
	font-weight: 400;
	letter-spacing: -1px;
	line-height: 32px;
	margin: 0;
	text-transform: uppercase;
}

.caption p {
	margin-bottom: 0;
}

.caption a {
	background-color: #1996ce;
	background-image: -webkit-gradient(linear, left top, left bottom, from(#21aeed), to(#127faf));
	background-image: -webkit-linear-gradient(top, #21aeed, #127faf);
	background-image: -moz-linear-gradient(top, #21aeed, #127faf);
	background-image: -o-linear-gradient(top, #21aeed, #127faf);
	background-image: -ms-linear-gradient(top, #21aeed, #127faf);
	background-image: linear-gradient(top, #21aeed, #127faf);
	filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,StartColorStr='#21aeed', EndColorStr='#127faf');
	border-radius: 3px;
	color: #FFF;
	display: inline-block;
	font-size: 12px;
	margin-top: 10px;
	padding: 5px 10px;
	text-transform: uppercase;
}

#nav-slides {
	position: absolute;
	margin-left: -450px;
	left: 50%;
	top: 420px;
	min-width: 100px;
	z-index: 100;
}

#nav-slides a {
	background: #FFF;
	display: block;
	float: left;
	margin-right: 10px;
	height: 15px;
	width: 15px;
	text-indent: -9999px;
}

#nav-slides a.activeSlide {
	background: #54AADF;
}


#tiles {
	border-top: 1px solid #21AEED;
	margin-top: 490px;
}

#tiles > h2 {
	color: #21AEED;
	font: bold 22px/22px "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif;
	margin-top: -11px;
	text-align: center;
	text-transform: uppercase;
}

#tiles > h2 span {
	background: #FFF;
	padding: 5px 20px;
}

.tile > img {
	max-width: 100%;
}

.btn {
	font-size: 14px;
	display: inline-block;
	margin: 10px;
	text-decoration: none;
	text-transform: uppercase;
}

.btn:hover {
	color: #000;
}

.btn:after {
	background: url('../img/blue-arrow.png') no-repeat right top;
	content: "";
	display: inline-block;
	height: 14px;
	margin-left: 8px;
	position: relative;
	top: 2px;
	width: 14px;
}

#content {
	margin-top: 200px;
}

#main, #sidebar {
	border-top: 1px solid #21AEED;
	margin-top: 60px;
}

#main > h1 {
	color: #21AEED;
	font: bold 22px/22px "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif;
	margin-top: -11px;
	text-align: center;
	text-transform: uppercase;
}

#main > h1 span {
	background: #FFF;
	padding: 5px 20px;
}

#main h2 {
	color: #21AEED;
}

.intro {
	margin-bottom: 20px;
}

.intro p:first-of-type {
	color: #444;
	font-size: 22px;
}

.pic {
	border: 1px solid #21AEED;
	float: right;
	margin-left: 10px;
	padding: 3px;
}

.tabs-nav {
	border-bottom: 1px solid #21AEED;
	list-style: none;
	margin: 0;
	padding: 0;
	width: 100%;
}

.tabs-nav > li {
	float: left;
	margin: 0px 5px;
	position: relative;
}

.tabs-nav > li.active-tab {
	background: #FFF;
	border: 1px solid #21AEED;
	border-bottom: 1px solid #FFF;
	border-radius: 3px 3px 0px 0px;
	padding-bottom: 8px;
	margin-bottom: -5px;
}

.tabs-nav > li > a {
	color: #999;
	display: block;
	padding: 5px 10px;
	text-decoration: none;
}

.tabs-nav > li > a:hover {
	background: #21AEED;
	border-radius: 25px;
	color: #FFF;
}

.tabs-nav > li.active-tab > a {
	color: #000;
	font-weight: bold;
}

.tabs-nav > li.active-tab > a:hover {
	background-color: #FFF;
}

.entry {
	position: relative;
	border-bottom: 5px solid #CCC;
	margin: 40px 0;
}

.entry h3 {
	font-weight: normal;
}

.entry a {
	color: #000;
	margin-left: 0;
}

.entry .pic {
	margin-top: 10px;
}

.entry small {
	color: #B1B1B1;
}

.breadcrumbs {
	color: #666;
	position: absolute;
	font-size: 12px;
	top: 0;
	right: 0;
}

.breadcrumbs a {
	color: #666;
}

#sidebar {
	padding-top: 30px;
}

.intro > h2,
#sidebar > h3 {
	color: #999;
	font: bold 16px/22px "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif;

	text-transform: uppercase;
}

#sidebar > h3 span {
	background: #FFF;

}

.sub-menu {
	list-style: none;
	margin: 0px !important;
	padding: 0px !important;
}

.sub-menu li {
	font: 12px/18px Arial, Helvetica, Geneva, sans-serif;
}

.sub-menu > li {
	background: #f5f5f5;
	margin: 5px 0px;

}

.sub-menu a {
	display: block;
	padding: 5px;
	text-decoration: none;
}

.sub-menu a:hover {
	background-color: #CCC;
}

.sub-menu ul {
	list-style: none;
	margin: 0 !important;
	padding: 0 !important;
}

.sub-menu > li > ul > li {
	border-bottom: 1px solid #FFF;
}

.sub-menu > li > ul > li > a {
	padding-left: 20px !important;
}

.sub-menu > li > ul > li > ul > li > a {
	padding-left: 40px !important;
}

.parent-here > a,
.here > a {
	color: #000;
	font-weight: bold;
	text-transform: uppercase;
}

.sub-menu > .parent-here,
.sub-menu > .here {
	border-left: 3px solid #bebebe;
}

#footer {
	background-color: #efefef;
	background-image: -webkit-gradient(linear, left top, left bottom, from(#e0e0e0), to(#ffffff));
	background-image: -webkit-linear-gradient(top, #e0e0e0, #ffffff);
	background-image: -moz-linear-gradient(top, #e0e0e0, #ffffff);
	background-image: -o-linear-gradient(top, #e0e0e0, #ffffff);
	background-image: -ms-linear-gradient(top, #e0e0e0, #ffffff);
	background-image: linear-gradient(top, #e0e0e0, #ffffff);
	filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,StartColorStr='#e0e0e0', EndColorStr='#ffffff');
	border-top: 1px solid #BDBCC1;
	margin-top: 30px;
}

.ad {
	margin-top: 10px;
	position: relative;
	min-height: 150px;
}

.ad h3 {
	color: #168BBB;
	font-family: "freight-sans-pro",sans-serif;
	font-size: 22px;
	font-style: normal;
	font-weight: 400;
	line-height: 22px;
	margin: 0;
	padding-left: 260px;
	text-transform: uppercase;
}

.ad h3 small {
	display: block;
	text-transform: none;
}

.ad p {
	padding-left: 260px;
}

.ad a {
	color: #000;
	padding-left: 260px;
	font-size: 12px;
	font-weight: bold;
	display: inline-block;
	margin: 10px 0px;
	text-decoration: none;
	text-transform: uppercase;
}

.ad a:after {
	background: url('../img/blue-arrow.png') no-repeat right top;
	content: "";
	display: inline-block;
	height: 14px;
	margin-left: 8px;
	position: relative;
	top: 2px;
	width: 14px;
}

.ad img {
	position: absolute;
	width: 250px;
}

#footer .grid {
	background: none;
}

#nav-footer {
	border-top: 1px solid #333;
	list-style: none;
	padding: 10px;
	text-align: center;
}

#nav-footer li {
	display: inline;
	margin: 0 10px;
}

#nav-footer li a {
	color: #999;
	text-decoration: none;
}

#nav-footer li a:hover {
	color: #666;
}


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

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

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

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

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

.invisible { visibility: hidden;}

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

.clearfix:after { clear: both;}

.clearfix { *zoom: 1;}


/* ==========================================================================
   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;
    }
}