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

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
html {overflow:scroll;}
body {
	font-family: Arial;
	font-size: 14px;
	background: repeat-x #E5E4D7;
}

header,
.body_container,
.footer_container, 
nav {
	width: 1042px;
	margin: 0 auto;
}

.header_container {
	padding-top: 30px;
	background: #383d38;
}

header {
	min-height: 140px;
	background: #fff;
}
header .title {
	min-height: 140px;
}
header h3 {
	float: left;
	margin: 0;
	padding: 20px 0 0 38px;
	/*font-family: 'Bree Serif', serif;
	font-family: 'Gloria Hallelujah', cursive;*/
	font-family: 'Bangers', cursive;
	font-size: 74px;
	font-weight: normal;
	text-transform: uppercase;
	letter-spacing: 2px;
	color: #1B3D1B;
}
	header h3 span {
		color: #1B982A;
	}
header h4 {
	float: right;
	margin: 0;
	padding: 60px 41px 0px 0px;
	font-family: "Bangers",cursive;
	font-size: 40px;
	font-weight: normal;
	color: #47A545;
}
	header h4 span {
		color: #1B3D1B;
	}

.rotate {
	transform: rotate(-5deg);
	/* Safari */
	-webkit-transform: rotate(-5deg);
	/* Firefox */
	-moz-transform: rotate(-5deg);
	/* IE */
	-ms-transform: rotate(-5deg);
	/* Opera */
	-o-transform: rotate(-5deg);
}

.nav_container {
	background-color: #4a69a9;
	background-color: #1E9E2D;
	clear:both;
}
nav {
	padding-left: 41px;
	box-sizing: padding-box;
}
nav ul {
	margin: 0;
	padding: 0;
}
nav ul li {
	display: inline-block;
	margin: 0 28px 0 0;
}
nav a {
	text-decoration: none;
	text-transform: uppercase;
	line-height: 54px;
	font-family: 'oswaldregular';
	font-size: 24px;
	font-weight: bold;
	color: #fff;
}
	nav a:hover {
		text-decoration: underline;
	}

.body_container {
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	padding: 36px 39px;
	background: #fff repeat-y;
	-webkit-box-shadow: -10px 0 8px -8px #999, 10px 0 8px -8px #999;
	-moz-box-shadow: -10px 0 8px -8px #999, 10px 0 8px -8px #999;
	box-shadow: -10px 0 8px -8px #999, 10px 0 8px -8px #999;
}

section {
	float: left;
	width: 632px;
	margin-right: 24px;
}
article {
	border-top: 1px solid #1B3D1B;
	margin-bottom: 45px;
}
article a {
	text-decoration: none;
	color: #333333;
}
	article a:hover {
		text-decoration: underline;
	}
article.single-post {
	border: none;
}
article .article-image {
	position: relative;
}
article .article-type {
	position: absolute;
	top: 0px;
	left: 0;
	padding: 7px 34px 7px 16px;
	font-family: 'oswaldregular';
	font-size: 30px;
	text-transform: uppercase;
	background: #1B3D1B;
	color: #fff;
}
article h2, article h2 a {
	margin: 15px 0 0;
	font-family: 'oswaldregular';
	font-size: 30px;
	font-weight: normal;
	text-transform: uppercase;
	text-decoration: none;
	color: #333333;
}
article.single-post h2 {
	margin-top: 0;
}
	article h2 a:hover {
		text-decoration: underline;
	}
	article .article-metadata {
		margin: 0;
		font-family: 'oswaldregular';
		font-size: 16px;
	}
	article .article-posted-by,
	article .article-date-posted {
		text-transform: uppercase;
	}
	article .article-metadata a {
		color: #7d8692;
	}
	article .article-category {
		margin-right: 15px;
	}
	article .article-content {
		margin: 24px 0;
		font-size: 16px;
	}
	
	.comments-holder-container {
		margin-top: 30px;
		padding: 15px;
		font-size: 14px;
		background: #f0f0f0;
		border-top: 1px solid #ddd;
		border-bottom: 1px solid #ddd;
		border-left: 1px solid #eee;
		border-right: 1px solid #eee;
	}
	.comments-holder-container h4 {
		margin: 0 0 15px;
	}
	.comments-holder-container form {
		margin-bottom: 25px;
		padding-bottom: 25px;
		border-bottom: 1px solid #bbb;
	}
	.comments-holder-container .field {
		padding: 0 0 5px;
	}
	.comments-holder-container #URL {
		display: none;
	}
	.comments-holder-container form textarea {
		width: 85%;
	}
	.comments-holder-container .no-comments-yet {
		margin: 0 0 10px;
	}
	.comments-holder-container .num, .comments-holder-container .author, .comment .date {
		font-size: inherit;
	}
	.comments-holder-container .author {
		font-weight: bold;
	}
	.comments-list.root-level {
		padding: 0;
	}
	.comment {
		padding-top: 0;
	}
	.comment p {
		margin-top: 0;
	}
	.comment .comment-text {
		min-height: 100px;
		padding: 0 15px;
	}

aside {
	float: left;
	width: 308px;
}

aside h4 {
	margin: 0;
	padding: 15px 18px;
	text-transform: uppercase;
	font-family: 'Bangers', cursive;
	font-size: 32px;
	font-weight: normal;
	line-height: 28px;
	background-color: #1B3D1B;
	color: #fff;
}
aside .box {
	margin-bottom: 25px;
	padding: 15px 21px;
	background-color: #f5f5f5;
	border-bottom: 1px solid #ddd;
	border-left: 1px solid #eee;
	border-right: 1px solid #eee;
}
aside .box p {
	margin: 0 0 15px 0;
	font-size: 16px;
	font-weight: bold;
	line-height: 20px;
	color: #7d8692;
}
	aside .box p a {
		text-decoration: none;
		color: #333333;
	}
	aside .box p a:hover {
		text-decoration: underline;
	}
	a.twitter,
	a.youtube,
	a.facebook, 
	a.googleplus {
		display: inline-block;
		width: 51px;
		height: 51px;
		margin-right: 10px;
		text-indent: -5000px;
		overflow: hidden;
		background: url(../img/twitter-icon.png);
	}
	a.youtube {
		background: url(../img/youtube-icon.png);
	}
	a.facebook {
		background: url(../img/facebook-icon.png);
	}
	a.googleplus {
		background: url(../img/googleplus-icon.png);
	}
	aside .box p span {
		font-family: 'oswaldregular';
		font-weight: normal;
		font-size: 13px;
	}

.footer_container {
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	padding: 36px 9px 10px;
	text-align: center;
	font-size: 13px;
	background: #1E9E2D;
	color: #fff;
	-webkit-box-shadow: -10px 0 8px -8px #999, 10px 0 8px -8px #999;
	-moz-box-shadow: -10px 0 8px -8px #999, 10px 0 8px -8px #999;
	box-shadow: -10px 0 8px -8px #999, 10px 0 8px -8px #999;
}
	.footer_container a {
		display: inline-block;
		margin: 0 15px;
		text-decoration: none;
		color: #fff;
	}













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

@media only screen and (max-width: 1041px) {
	.header_container, .body_container, .footer_container, nav, header {
		width: 100%;
	}
	.body_container {
		background: none;
		background-color: #fff;
		padding: 36px 30px;
	}
	section, 
	aside {
		box-sizing: border-box;
	}
	section {
		float: left;
		margin-right: 24px;
		width: 65%;
	}
	aside {
		float: left;
		width: 32%;
	}
	.article-image img {
		width: 100%;
		height: auto;
	}
	a.twitter, a.youtube, a.facebook, a.googleplus {
		margin-right: 5px;
	}
}

@media only screen and (max-width: 939px) {
	.body_container {
		padding: 36px 20px;
	}
	section {
		width: 62%;
	}
	aside {
		width: 35%;
	}
	a.twitter, a.youtube, a.facebook, a.googleplus {
		margin-right: 2px;
	}
}

@media only screen and (max-width: 839px) {
	section, 
	aside {
		width: 100%;
	}
	header h4 {
		float: none;
		clear: both;
		padding: 0 0 10px 38px;
	}
	.about-us, .contact-us {
		width: 100%;
		box-sizing: border-box;
		padding-left: 32px;
	}
	.contact-us {
		padding-top:20px;
	}
}

@media only screen and (max-width: 500px) {
	header h3 {
		font-size: 50px;
	}
	header h4 {
		font-size: 20px;
	}
	nav {
		padding: 5px 0 5px 41px;
	}
	nav ul li {
		display: block;
		margin: 0;
	}
	nav a {
		font-size: 16px;
		line-height: 20px;
		margin: 5px 28px 5px 0;
	}
	article .article-type {
		font-size: 20px;
		padding: 7px 34px 7px 16px;
		top: 25px;
	}
	article h2 {
		font-size: 24px;
	}
	article .article-metadata {
		font-size: 14px;
	}
	article .article-content {
		font-size: 14px;
	}
}