/* ==================================================================
   HTML5 Boilerplate styles - h5bp.com (generated via initializr.com)
   ================================================================== */

html, button, input, select, textarea {
    color: #222;
}

::-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;
}

hr.red{
	border-top: 5px solid #CD5C5C;
}

img {
	max-width: 100%;
	height: auto;
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

.chromeframe {
    margin: 0.2em 0;
    background: #ccc;
	color: #000;
    padding: 0.2em 0;
}

/* ===================
   GS Theme
   =================== */

/* ===================
   Typography
   =================== */

body {
    font: 100%/150% 'Open Sans', sans-serif;
}

h1 {
	font-family: 'Archivo Narrow', sans-serif;
	color: #CD5C5C;
	line-height: 1.1;
}

h2,h3,h4,h5,h6 {
	font-family: 'Sanchez', Garamond, serif;
	color: #29547d;
	line-height: 1.1;
}

	blockquote, blockquote p {color: #777; font-style: italic; }
	blockquote { margin: 0 0 20px; padding: 9px 20px 0 19px; border-left: 1px solid #ddd; }
	blockquote cite { display: inline-block; font-size: 75%; color: #555; margin-left: 50%; }
	blockquote cite:before { content: "2014 020"; }
	blockquote cite a, blockquote cite a:visited, blockquote cite a:visited { color: #555; }

code {
	border:1px solid #ececec;
	padding:2px;
	font-family: Consolas, Monaco, "Courier New", Courier, monospace;
	font-size: 75%;
	background:#f9f9f9;
	color:#000;
}

/* ===================
   Layout
   =================== */

.wrapper {
    width: 90%;
	max-width: 1026px; /* 1140px - 10% for margins */
	min-width: 300px;
    margin: 0 auto;
}

.header-container {
	background-color: #2B5780;
}

.header-container {
        -webkit-box-shadow: 0 5px 10px #aaa;
        -moz-box-shadow: 0 5px 10px #aaa;
        box-shadow: 0 5px 10px #aaa;
}

.main aside {
	padding-left: 3%;
	border-left: 1px solid #ccc;
}

.footer-container {
    width: 100%;
}

.title {
    color: white;
	float: left;
	margin: 2% 0;
	letter-spacing: .05em;
	line-height: 110%;
}

.main {
    padding: 30px 0;
}

.footer-container footer {
	border-top: 5px solid #CD5C5C;
    color: #696969;
    padding: 20px 0;
}

/* ==============
    Links
   ============== */

a {
	color: #CD5C5C;
	text-decoration: underline;
	outline: 0;
}

a:visited , a:hover, a:focus { color: #2B5780; }

p a, p a:visited { line-height: inherit; }   

.title a, .title a:visited, footer  a, footer a:visited {
	color: inherit;
	text-decoration: none;
	outline: 0;
}

/* ==============
    Menu
   ============== */

nav {
	max-width: 100%;
}

nav ul {
	margin: 2% auto;
    padding: 0;
	list-style:none;	
	float:right;
}	

nav li {
	display:inline;
	margin:0;
}

nav a {
	margin-bottom: 3px;
    display:inline-block;
	padding:  25px 20px;
	text-transform:uppercase;
	border: 1px solid #7398B7;
}

nav li a:link, nav li a:visited {
	color:#eee;
	text-decoration:none;
}	

nav li a:hover, nav li a:focus {
	color:#FFF;
	background:#7096B6;
	text-decoration:none;
}

nav li.current a {
	color:#FFF;
	background:#7096B6;
	background:rgba(255,255,255,.2);
	text-decoration:none;
}

    nav li:first-child a {
        margin-left: 0;
    }

    nav li:last-child a {
        margin-right: 0;
    }

/* ===============
   Images
   =============== */

   img {
	max-width: 100%;
	height: auto;
    vertical-align: middle;
}

img.floatleft { 
    float: left; 
    margin: 2px 8px 2px 0; 
}

img.floatright { 
    float: right; 
    margin: 2px 0 2px 8px; 
}

img.center {
	display: block;
	margin: 2px auto 10px
}
/* ================
   Video responsive
   ================ */

.videobox {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding-top: 56.25%; /* 16:9 Aspect Ratio */
}

.responsive-iframe {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
  border: none;
}


/* ==========================================================================
   Media Queries
   ========================================================================== */

@media only screen and (min-width: 480px) {
/* ========================
    INTERMEDIATE: IE Fixes
   ======================== */
   nav ul li {display: inline;}
    .oldie nav a {margin: 0 0.7%;}
}

/*Wide*/
	@media only screen and (min-width: 768px) {
    .main article { float: left; width: 70%; }
    .main aside { float: right; width: 23%; }
	}

/* All Mobile Sizes (devices and browser) */
	@media only screen and (max-width: 767px) {
	.title { width: auto;}	
	.main aside {
		border-top: 5px solid #CD5C5C;
		border-left: none;
		margin-top: 3%;
		padding: 30px 0 0 0;
	}

	nav a {padding: 5px 10px;}
}

/* Mobile Landscape Size to Tablet Portrait (devices and browsers) */
	@media only screen and (min-width: 480px) and (max-width: 767px) {}

/* Mobile Portrait Size to Mobile Landscape Size (devices and browsers) */
	@media only screen and (max-width: 479px) {
	nav ul { float; none;}
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    *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: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }

	nav {display: none;}
	.main {padding: 0 0;}

	/*a, a:visited {
        text-decoration: underline;
    } Uncomment to underline links */

    /*a[href]:after {
        content: " (" attr(href) ")";
    } Uncomment to include link urls in full  */

    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;
    }
}

/* ===============
   IE Fixes
   =============== */

.ie7 .title {
    padding-top: 20px;
}