/*
	Theme Name: The WARroom
	Theme URI: http://warrenkinsella.com
	Description: The WARroom Theme
	Version: 0.9
	Author: Nick Nelson (@thenicknelson)
	Author URI: http://nicknelson.net
	Tags: HTML5, CSS3

	License: Copyright
*/

/*------------------------------------*\
    MAIN
\*------------------------------------*/

/* global box-sizing */
*,
*:after,
*:before {
	-moz-box-sizing:border-box;
	box-sizing:border-box;
	-webkit-font-smoothing:antialiased;
	font-smoothing:antialiased;
	text-rendering:optimizeLegibility;
}
/* html element 62.5% font-size for REM use */
html {
	font-size:62.5%;
}
body {
	font:300 11px/1.4 'Helvetica Neue', Helvetica, Arial, sans-serif;
	color:#444;
}
/* clear */
.clear:before,
.clear:after {
    content:' ';
    display:table;
}

.clear:after {
    clear:both;
}
.clear {
    *zoom:1;
}
img {
	max-width:100%;
	vertical-align:bottom;
}
a {
	color:#0074D9;
	text-decoration:none;
}
h2 a, .maintitle a {color:#111;}
a:hover {
	color:#444;
}
a:focus {
	outline:0;
}
a:hover,
a:active {
	outline:0;
}
input:focus {
	outline:0;
	border:1px solid #04A4CC;
}

.author a { color:#0074D9; }

ul {
	-webkit-padding-start: 20px;
}

/*------------------------------------*\
    STRUCTURE
\*------------------------------------*/

/* wrapper */
.wrapper {
	max-width:1280px;
	width:95%;
	margin:0 auto;
	position:relative;
}
/* header */
.header {

}

/* nav */
nav {

	float: left;
	padding: 0px;	
}

/*
#menu-icon {
	display: hidden;
	width: 40px;
	height: 40px;
	background: #c63333 url(http://treehouse-blog.s3.amazonaws.com/Respond-Menu/img/menu-icon.png) center;
}

a:hover#menu-icon {

	background-color: #444;
	border-radius: 4px 4px 0 0;

}
*/

.underbar {
    background:#000000;
    height:30px;
    padding-top:5px;
}

.underbar ul li{
	float:left;
	list-style-type:none;
	text-transform:uppercase;
	margin-left:2em;
	color:#ffffff;
}

.underbar ul li a{
	color:#ffffff;
	text-decoration:none;
}

.underbar ul li a:hover{
	text-decoration:underline;
	
}

.underbar ul {
	float:left;
        margin:0px;
}

/* sidebar */
aside.sidebar {
	float:left;
	margin-left:2em;
	width:300px;
}

aside.sidebar.img {
	margin-bottom:1em;
	border:1px solid red;
}

main {float:left;}
/* footer */
.footer {

}

footer {
	clear:both;
	text-align:center;
	float:none;
}

/*------------------------------------*\
    PAGES
\*------------------------------------*/



/*------------------------------------*\
    IMAGES
\*------------------------------------*/



/*------------------------------------*\
	TYPOGRAPHY
\*------------------------------------*/

@font-face {
	font-family:'Font-Name';
	src:url('fonts/font-name.eot');
	src:url('fonts/font-name.eot?#iefix') format('embedded-opentype'),
		url('fonts/font-name.woff') format('woff'),
		url('fonts/font-name.ttf') format('truetype'),
		url('fonts/font-name.svg#font-name') format('svg');
    font-weight:normal;
    font-style:normal;
}

	h1, h2, .halfbox .maintitle {
		fzont-family: 'Playfair Display', serif;
                font-family: "kepler-std-condensed-subhead";
                font-weight:600;
                letter-spacing: 0px;
		font-size:48px;
		line-height:42px;
		text-transform:uppercase;
		margin:0px;
		margin-top:10px;
		color:#0074D9;
	}
        
        h3 {
            font-family: 'Alegreya', serif;
            font-size:20px;
            margin-bottom:0px;
        }
        
        .featuretitle {
            margin-top:10px;
            font-size:18px;
            font-weight:300;
            padding:6px 10px;
            text-transform:uppercase;
            background:rgb(50,50,50);
            color:rgb(255,255,255);
            display:inline-block;
            width:100%;
        }
        
        .halfbox.title {}
        .halfbox.meta {}
        .halfbox.content {}

	.articlecontent li, p {
		fzont-family: 'PT Sans', sans-serif;
                font-family: 'Alegreya', serif;
		font-size:19px;
	}
        
        p.content {
            font-family: 'PT Sans', sans-serif;
            font-size:14px;
        }

	p.articlemeta, .feedzy-rss li {
                font-family: "proxima-nova",sans-serif;
		font-size:16px;
		line-height:20px;
		margin:0px;
		font-weight:300;
		-webkit-margin-before:0.5em;
		-webkit-margin-after:2.5em;
	}

	blockquote {
		font-style:italic;
	}
        
        p.articlemeta, .singletopcategory {
            font-family: "proxima-nova",sans-serif;
		font-size:14px;
		line-height:14px;
		margin:0px;
		font-weight:300;
            margin:0px 0px 0px 0px;
            padding:0px;
            text-transform:uppercase;
            font-size:14px
        }
        
        .singletopcategory {
            margin-top:30px;
        }
        
        .singleheader {
            margin-bottom:30px;
        }
        
        nav li {

                font-family:'PT Sans', sans-serif;
                font-size:14px;
                font-weight:bold;
	}
        
        .featurebox h3 {
            margin:0px;
            padding:10px;
        }


/*------------------------------------*\
    RESPONSIVE
\*------------------------------------*/

@media only screen and (min-width:0px) {

	.sideAd img {width:100%;}
    .halfbox {
        display:inline-block;
        width: 48%;
        float:left;
        padding:10px;
        bzorder:1px solid rgb(230,230,230);
        border-top:4px solid rgb(40,40,40);
        bzackground:#F5F5F5;
        margin:10px 0px 10px 0px;
    }
    
    .halfbox.nth-of-type(2) {
        background:#F5F5F5;
    }
    
    .halfbox h4 {
        padding:0px;
        margin:0px;
        font-size:14px;
    }
    
    .halfbox .image {
        margin-top:5px;
    }
    

    
    .halfbox .maintitle {
        font-size:36px;
        text-transform:uppercase;
        line-height:28px;
        margin:0px;
        margin-top:8px;
        color:#000000;
    }
    .halfbox li.title {
        text-transform:none;
        margin:0px;
    }

    .halfbox .meta {
        font-size:14px;
        text-transform:uppercase;
        margin:0px;
        margin-bottom:8px;
        color:#000000;
        font-family: 'PT Sans', sans-serif;
        font-weight:bold;
    }
    .halfbox .content {
        font-size:14px;
        margin:0px;
        color:#000000;
        font-family: 'PT Sans', sans-serif;
    }
    
    .halfbox.odd {
        background:#f5f5f5;
    }
    .topstoriescontainer ul, .topstoriescontainer li {
        margin:0px;
        padding:0px;
    }
    
    .topstoriescontainer .feedzy-rss .rss_item {
        margin:0px;
    }
    
    .topstoriescontainer span.title {
        font-family: "proxima-nova",sans-serif; 
        font-size:14px;
        line-height:14px;
    }
    
    .xhalfbox .ximage {width:50%;float:left;}
    

}

@media only screen and (min-width:320px) {
.sideAd, .sideAd img {width:50%; float:left;}
.adsbygoogle {float:left;}
.sideAd {margin-left:20px;}
main {
		width:100%;
	}
h1, h2, .halfbox .maintitle {
        font-size:34px;
        line-height:34px;
}
.halfbox {
    width:100%;
}
}
@media only screen and (min-width:480px) {
.halfbox {
    width:100%;
}
}

@media only screen and (max-width : 640px) {
	header {

		psosition: absolute;

	}
        
        .sidebar img {
            float:none;
        }
        
	#menu-icon {

		display:inline-block;

	}
/*
	nav ul, nav:active ul { 
                color:#ff0000;
		display: none;
		position: absolute;
		padding: 20px;
		background: #c63333;
		border: 0px solid #444;
		right: 20px;
		top: 40px;
		width: 35%;
		border-radius: 4px 0 4px 4px;
                z-index: 100;
	}

	nav li {

		text-align: center;
		width: 100%;
		padding: 10px 0;
		margin: 0;
	}

	nav:hover ul {

		display: block;

	}
        */

}

@media only screen and (min-width:768px) {
	.sideAd img {width:100%;}
	main {
		width:100%;
	}
	.articlecontent {
	margin-left:50px;
	}
        
        h1, h2, .halfbox .maintitle {
        font-size:48px;
        line-height:42px;
        }
.halfbox {
    width:48%;
}

    .halfbox:nth-of-type(1)  {
        margin:15px 8px 35px 0px;
        
    }
    .halfbox:nth-of-type(2) {
        margin: 15px 0px 35px 7px;
    }

}
@media only screen and (min-width:701px) {
.subheadads {
    float:left;
    width:50%;
    padding:0px;
    margin-bottom:20px;
}

.subheadads:nth-of-type(1) {
    padding-right:10px;
}

.subheadads:nth-of-type(2) {
    padding-left:10px;
}

/* logo */
.logo {

}
.logo-img {
    width:400px;
    margin-top:25px;
}

.logo img {
    margin-left:40px;
}

.header-img {
    float:right;
}

}
@media only screen and (max-width:700px) {
        aside.sidebar, aside.sidebar li {
            width:80%;
            float:left;
        }
       aside.sidebar li {
            width:100%;
            float:left;
        }
        
.subheadads {
    float:left;
    width:100%;
    padding:0px;
    margin-bottom:20px;
}

.subheadads:nth-of-type(1) {
    padding-right:0px;
}

.subheadads:nth-of-type(2) {
    padding-left:0px;
}

.logo-img {
    width:200px;
    margin-top:12px;
}

.header-img {
    width:102px;
    float:right;
}


}

@media only screen and (min-width:701px) and (max-width:1024px) {
        aside.sidebar {
            float:none;
            margin-left:0em;
            width:100%;
        }
        
        aside.sidebar li {
            width:40%;
            float:left;
        }
      
}

@media only screen and (min-width:701px) {
    .articlecontent {
            margin-left:50px;
            margin-right:50px;
	}

}

@media only screen and (min-width:1024px) and (max-width:1279px) {
	main {
		width:65%;
	}
	.sidebar {
		width:20%;
	}
	
}

@media only screen and (min-width:1280px) and (max-width: 1366px) {
	main {
		width:800px;
	}
	.sidebar {
		width:300px;
	}	

}

@media only screen and (min-width:1367px) {
	main {
		width:800px;
	}
	.sidebar {
		width:300px;
	}	

}

@media only screen and (-webkit-min-device-pixel-ratio:1.5),
	   only screen and (min-resolution:144dpi) {

}



/*------------------------------------*\
    MISC
\*------------------------------------*/

::selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-webkit-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-moz-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}

/*------------------------------------*\
    WORDPRESS CORE
\*------------------------------------*/

.alignnone {
	margin:5px 20px 20px 0;
}
.aligncenter,
div.aligncenter {
	display:block;
	margin:5px auto 5px auto;
}
.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
a img.alignnone {
	margin:5px 20px 20px 0;
}
a img.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.aligncenter {
	display:block;
	margin-left:auto;
	margin-right:auto;
}
.wp-caption {
	background:#FFF;
	border:1px solid #F0F0F0;
	max-width:96%;
	padding:5px 3px 10px;
	text-align:center;
}
.wp-caption.alignnone {
	margin:5px 20px 20px 0;
}
.wp-caption.alignleft {
	margin:5px 20px 20px 0;
}
.wp-caption.alignright {
	margin:5px 0 20px 20px;
}
.wp-caption img {
	border:0 none;
	height:auto;
	margin:0;
	max-width:98.5%;
	padding:0;
	width:auto;
}
.wp-caption .wp-caption-text,
.gallery-caption {
	font-size:11px;
	line-height:17px;
	margin:0;
	padding:0 4px 5px;
}
.sticky {

}
.bypostauthor {

}

/*------------------------------------*\
    PRINT
\*------------------------------------*/

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

}

.page-numbers {
        display:inline-block;
        font-size:18px;
	padding: 5px 10px;
	border: 1px solid #eee;
	line-height: 1;
	text-decoration: none;
	border-radius: 2px;
	font-weight: 600;
        margin: 0px auto 30px auto;
        text-align:center;
}
.page-numbers.current,
a.page-numbers:hover {
	background: #f9f9f9;
}
a.page-numbers {
    display:inline-block;
}
.pagination {
    text-align:center;
}
/* =========================================================
Comments
 ========================================================= */
.comments {margin-top:30px;}
ol.commentlist { list-style:none; margin:0 0 1em; padding:0; text-indent:0; }
ol.commentlist li { }
ol.commentlist li.alt { }
ol.commentlist li.bypostauthor {}
ol.commentlist li.byuser {}
ol.commentlist li.comment-author-admin {}
ol.commentlist li.comment { border-bottom:1px dotted #666; padding:1em; }
ol.commentlist li.comment div.comment-author {}
ol.commentlist li.comment div.vcard { font:normal 16px georgia,times,serif; }
ol.commentlist li.comment div.vcard cite.fn { font-style:normal; }
ol.commentlist li.comment div.vcard cite.fn a.url {}
ol.commentlist li.comment div.vcard img.avatar { height:52px; width:52px; border:5px solid #ccc; float:right; margin:0 0 1em 1em; }
ol.commentlist li.comment div.vcard img.avatar-32 {}
ol.commentlist li.comment div.vcard img.photo {}
ol.commentlist li.comment div.vcard span.says {}
ol.commentlist li.comment div.commentmetadata {}
ol.commentlist li.comment div.comment-meta { font-family: "proxima-nova",sans-serif; font-size:11px; }
ol.commentlist li.comment div.comment-meta a { color:#ccc; }
ol.commentlist li.comment p { font-size:15px; margin:0 0 1em; }
ol.commentlist li.comment ul { font-size:15px; list-style:square; margin:0 0 1em 2em; }
ol.commentlist li.comment div.reply { font-size:18px; }
ol.commentlist li.comment div.reply a { font-weight:bold; }
ol.commentlist li.comment ul.children { list-style:none; margin:1em 0 0; text-indent:0; }
ol.commentlist li.comment ul.children li {}
ol.commentlist li.comment ul.children li.alt {}
ol.commentlist li.comment ul.children li.bypostauthor {}
ol.commentlist li.comment ul.children li.byuser {}
ol.commentlist li.comment ul.children li.comment {}
ol.commentlist li.comment ul.children li.comment-author-admin {}
ol.commentlist li.comment ul.children li.depth-2 { border-left:5px solid #555; margin:0 0 .25em .25em; }
ol.commentlist li.comment ul.children li.depth-3 { border-left:5px solid #999; margin:0 0 .25em .25em; }
ol.commentlist li.comment ul.children li.depth-4 { border-left:5px solid #bbb; margin:0 0 .25em .25em; }
ol.commentlist li.comment ul.children li.depth-5 {}
ol.commentlist li.comment ul.children li.odd {}
ol.commentlist li.even { background:#fff; }
ol.commentlist li.odd { background:#f6f6f6; }
ol.commentlist li.parent { border-left:5px solid #111; }
ol.commentlist li.thread-alt { }
ol.commentlist li.thread-even {}
ol.commentlist li.thread-odd {}

.videoWrapper {
	position: relative;
	padding-bottom: 56.25%; /* 16:9 */
	padding-top: 25px;
	height: 0;
}
.videoWrapper iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

iframe {
	width: 100%;
}

