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

html, button, input, select, textarea {
	color: #222;
}
html {
	font-size: 1em;
	line-height: 1.4;
}
a {
    color: black;
}

::-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;
}
audio, canvas, img, video {
	vertical-align: middle;
}
fieldset {
	border: 0;
	margin: 0;
	padding: 0;
}
textarea {
	resize: vertical;
}
.browsehappy {
	margin: 0.2em 0;
	background: #ccc;
	color: #000;
	padding: 0.2em 0;
}
/* ===== Initializr Styles ==================================================
   Author: Jonathan Verrecchia - verekia.com/initializr/responsive-template
   ========================================================================== */

body {
	font: 14px/21px Georgia, Arial;
}
.wrapper {
	width: 90%;
	margin: 0 5%;
}
/* ===================
    ALL: Orange Theme
   =================== */

#mainpage {
	background-image: url(../img/drafts/header_below.jpg);
	background-repeat: no-repeat;
}
#currentpage{
	color:#DCDEDF;
	text-decoration:none;
}
#headdiv {
	position: relative;
	background-image: url(../img/drafts/header.jpg);
	background-repeat: no-repeat;
	text-align: center;
	height: 100px;
}
#headcontain {
	border-color:#84A2AD;
	background-color:#DCDEDF;
}
.header-container {
	border-bottom: 5px solid #84A2AD;
}
.footer-container, .header-container img {
	float: left;
}
.footer-container, .grey {
	background-color: #DCDEDF;
	border-color: #939B9E;
}
.blue {
	background: #cee4ed;
	border-color: #84A2AD;
}
.title {
	color: white;
}
/* ==============
    MOBILE: Menu
   ============== */

#menu-icon {
	display: hidden;
	width: 40px;
	height: 40px;
	background: #4C8FEC url(../img/misc/menu-icon.png) center;
}
a:hover#menu-icon {
	background-color: #444;
	border-radius: 4px 4px 0 0;
}
nav ul {
	z-index:2;
	list-style: none;
}
nav li {
	z-index:2;
	display: inline-block;
	float: left;
	padding: 5px
}
/* ==============
    MOBILE: Main
   ============== */

.main {
	padding: 10px 0;
}
.main p {
	margin: 5px;
}
.oldcontent p{
	margin: 10px;
}
.main ul {
	list-style-position: inside;
	padding: 0;
	margin: 5px;
}
.main li {
}
.main aside h1 {
	font-size: 2em;
}
.mosaicbox {
	display: table;
	color: black;
	border-top-style: solid;
	border-top-width: 10px;
}
.mosaicbox,.grid-sizer{
	width:100%
}
.mosaicbox.full{
	width:100%
}
.gutter-sizer{
	width:0%;
}
.content {
	width: 100%;
	display: table;
}
.content-righttext {
	display: table-cell;
	vertical-align: middle;
	padding: 1px 0 0 1px;
}
.content-leftimg {
	display: table-cell;
	width: 80 px;
	vertical-align: middle;
	padding: 5px 5px;
}
.content-footer {
	clear: both;
	padding: 1px 0 5px 1px;
}
.footer-container footer {
	color: white;
	padding: 10px 0;
}
/* ===============
    ALL: IE Fixes
   =============== */

.ie7 .title {
	padding-top: 20px;
}

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















/* ==========================================================================
   Media Queries
   ========================================================================== */

@media only screen and (max-width : 480px) {
#menu-icon {
	display: inline-block;
}
nav {
	float: right;
	padding: 20px;
}
nav ul, nav:active ul {
	display: none;
	position: absolute;
	padding: 20px;
	background: #fff;
	border: 5px solid #444;
	right: 20px;
	top: 60px;
	width: 50%;
	border-radius: 4px 0 4px 4px;
}
nav li {
	text-align: center;
	width: 100%;
	padding: 10px 0;
	margin: 0;
}
nav:hover ul {
	display: block;
}
}

@media only screen and (min-width: 481px) {
/* ====================
    INTERMEDIATE: Menu
   ==================== */
   
nav {
	position:absolute;
	bottom:0px;
	right:5%;
	padding: 0px;
}
nav li, ul {
	padding: 0px;
	margin: 0px;
}
nav li {
	background-color:#84A2AD;
}
nav li + li {
	border: solid #000000;
	border-width: 0px 0px 0px 2px;
}
nav a {
	display:inline-block;
	color: #000000;
	font-size: 14px;
	padding:3px 10px 3px 10px;
}
#menu-icon {
	display: none;
}

/* ========================
    INTERMEDIATE: IE Fixes
   ======================== */

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

.header-container {
}
.mosaicbox {
	-webkit-box-shadow: 0 5px 10px #aaa;
	-moz-box-shadow: 0 5px 10px #aaa;
	box-shadow: 0 5px 10px #aaa;
	margin: 1% 0%;
}
.mosaicbox,.grid-sizer{
	width:49%
}
.mosaicbox.expanded{
	width:100%
}
.gutter-sizer{
	width:2%;
}
/* ============
    WIDE: Menu
   ============ */


/* ============
    WIDE: Main
   ============ */


@media only screen and (min-width: 1150px) {
/* ============
    SUPERWIDE: Main
   ============ */

.mosaicbox,.grid-sizer{
	width:32%
}
.mosaicbox.expanded{
	width:66%
}
.gutter-sizer{
	width:2%;
}
/* ==========================================================================
   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;
	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) ")";
}
.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;
}
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;
}
}
