/*! 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,
button,
input,
select,
textarea {
    color: #222;
}

html {
    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,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

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

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browse Happy prompt
   ========================================================================== */

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

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

body {
	background:  #080A1A; 
	/*background:  #000000 url(../images/img04.gif) repeat-x 0 0px; */ /* Grey line between Header and Article  GIF is a black column above a grey column */
	font: 100% "Trebuchet MS", Arial, Helvetica, sans-serif;
	font-size: small;
}

h1, h2, h3 {
	/*margin-bottom: 20px;*/
	/* text-transform: lowercase; */
	font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
	font-weight: normal;
	text-align: center;
	 /* color: #01DF74; original brown - #733800*  slightly darker green - #04B45F */
}

h1 { color: #FFFFFF; }
h2 { color: #FFFFFF; }
h3 { font-weight: bold; color: #FFFFFF; }

h1 { font-size: 1.8em; }
h2 { font-size: 1.3em; }

p, blockquote, ul, ol {
	/*margin-bottom: 1.5em;*/
	/*line-height: 1.5em;*/
	color:#FFFFFF;
	text-align: center;
}

blockquote, ul, ol {
	margin-left: 3em;
}

blockquote {
	margin-right: 3em;
}

a {
	color: #FFFFFF;
	text-decoration: none;
	font-weight: bold;
}

a:hover {
	text-decoration: underline;
	color: #01DF74;
}

hr {
	/*display: none;*/
	height: 12px; 
	margin: 10px 0px 0px 0px;
	padding: 0px 0px 0px 0px;
	background: url(../images/img06.gif) repeat-x left center; 
	border: none;
}

img{
	/*max-width:calc(100% - 10px);*/
	max-width:100%;
	max-height:100%;
	height: auto;
	width:auto;
	max-height: auto;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.button {
/*	-moz-border-radius: 8px;
    -webkit-border-radius: 8px;
    border-radius: 8px; */
}

/* CONTAINERS
---------------------------------------------- */
#container {
	margin: 0px auto;
}

.ie6 #container { /* Applied in IE6 only */
	width: 900px;  
}

#page {
	background: #080A1A; /*080A1A*/
	padding: 10px;
	max-width: 940px;
}

header {
}

#logo {
	margin: 0;
	text-align: center;
}

#logo h1 {
	margin: 0;
	font-size: 2.0em;
}

#logo h2 {
	margin: 0;
	font-size: 1.3em;
}

nav {
	margin: 0;
	padding: 0;
	text-align: center;
}

.ie6 nav,
.ie7 nav { /* Applied in IE6 and IE7 only */
	width: 380px;
}

nav ul {
	margin: 0;
	margin-top: 0.5em;
	padding: 0;
}

nav li {
	display: inline;
	font-size: 0.9em;
	border-left: 1px solid #FFFFFF;
	padding: 0 5px 0 5px;	
}

nav li:first-child {
	padding-left: 0;
	border: none;
}

nav li:last-child {
	padding-right: 0;
}

#wrapper {
	/*width: 700px;*/
	width: 100%;
	height: 100%;
	margin: 0 auto;
	/*background: url(../images/img03.gif) repeat-y; /* Brown in Aside - 240px wide*/
}
/*
#wrapper img { for some reason this code causes article item to be ignored
	max-height: auto;
	display: block;
	margin-left: auto;
	margin-right: auto;
}​*/

article {
	background: #FFFFFF;
	padding: 10px;
}

article h2 {
	line-height: 1.0;
}

article ul {
	padding: 0;
}

article p {
	color:#000000;
	text-align: left;
}

aside {
	margin-top: 10px;
	padding: 10px;
	width: 180px;
	background: #080A1A;

/*	border: 2px solid;
	-moz-border-radius: 25px;
	-webkit-border-radius: 25px;
	border-radius: 25px;*/
}

aside ul {
	margin: 0;
	padding: 0;
	list-style: none;
	line-height: normal;
}

aside li {
	margin-bottom: 20px;
}

aside li li {
	margin: 0;
}

aside dd {
	margin: 0;
	margin-bottom: 10px;
}

aside h2 {
	margin-bottom: 20px;
	padding-bottom: 10px;
	/*background: url(../images/img05.gif) repeat-x left bottom;*/
	color: #000000;
}

aside blockquote {
	margin-left: 0;
	margin-right: 0;
}

#pdf iframe {
	height: 20em;
	width: 100%;
}	

#left {
	width: 300px;
}

#right {
}

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

/* ==========================================================================
   Media Queries for Responsive Design.
   ========================================================================== */

   /* 320px
---------------------------------------------- */
@media only screen and (min-width: 320px) {

	
}

/* 480px
---------------------------------------------- */
@media only screen and (min-width: 320px) and (max-width: 480px) {

}

/* 480px
---------------------------------------------- */
@media only screen and (min-width: 480px) {

	body {
		font-size: medium;
	}

	h1 { font-size: 2em; }
	h2 { font-size: 1.4em; }

	h1 { font-size: 2em; }
	h2 { font-size: 1.5em; }

	#logo h1 {
		font-size: 2.6em;
	}

	#logo h2 {
		font-size: 1.5em;
	}

	nav li {
		font-size: 1.2em;
		border-left: 1px solid #FFFFFF;
	}

	#container {
		max-width: 300px; 
	}
	
		
	#left {
		float:left;
	}

	article {
		margin-left: 220px;
	}
		
	aside {
		float:left;
	}

	#pdf iframe {
		height: 63em;
		width: 100%;
	}	

}

/* 480px-600px
---------------------------------------------- */
@media only screen and (min-width: 480px) and (max-width: 600px) {

/*	nav li {
		padding-left: 4%;
	}*/

}

/* 600px
---------------------------------------------- */
@media only screen and (min-width: 600px) {
	
	/*nav {
		position: relative;
		padding: 20px 0px 0px 0px;
	}*/

	nav ul {
		text-align: center;
	}

	nav li {
		padding: 0 15px 0 15px;
	}
	
	nav ul {
	margin: 0;
	margin-top: 0.5em;
	padding: 0;
	}
	
}

/* 600px-767px
---------------------------------------------- */
@media only screen and (min-width: 600px) and (max-width: 767px) {

	nav li {
		font-size: 1.2em;
		padding: 0 15px 0 15px;
	}

}

/* 768px
---------------------------------------------- */
@media only screen and (min-width: 768px) {

	#container {
		max-width: 800px; /*950*/
	}
	
	#page {
		padding-left: 0;
		width: 97.9167%;
	}
	
	/*nav li {
		padding: 0 25px 0 25px;
		float: left;
	}*/
	
/* 992px
---------------------------------------------- */
@media only screen and (min-width: 992px) {

	/* Your styles for 992px and above would go here. */

}


/* 2x - These are retina display devices
			like the iPhone 4 and iPad
---------------------------------------------- */
@media only screen and (-webkit-min-device-pixel-ratio: 1.5), 
only screen and (-o-min-device-pixel-ratio: 3/2), 
only screen and (min-device-pixel-ratio: 1.5) {

	/* Your styles for retina displays, like iPhone 4 and iPad, would go here. */

}

@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;
    }
}
