/*
	Theme Name: Crite 2014
	Theme URI: http://thecrite.com
	Description: Refreshing the crite for 2013
	Version: 1.0
	Author: Dan Hannigan (@danhannigan)
	Author URI: http://danhannigan.me
*/

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

/* global box-sizing */
*,
*:after,
*:before {
	-moz-box-sizing:border-box;
	box-sizing:border-box;
	text-rendering:optimizeLegibility;
}
/* html element 62.5% font-size for REM use */
html {
	font-size:62.5%;
}
body {
	font:300 11px/1.4 'Source Sans Pro', '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:#444;
	text-decoration:none;
}
a:hover {
	color:#444;
}
a:focus {
	outline:0;
}
a:hover,
a:active {
	outline:0;
}
input:focus {
	outline:0;
	border:1px solid #04A4CC;
}

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

/* wrapper */
.wrapper {
	max-width:1280px;
	width:95%;
	margin:0 auto;
	position:relative;
}
/* header */
.header {
	width:100%;
	overflow:auto;
}
/* logo */
.logo {
	float:left;
}
.logo-img {

}
/* nav */
.nav {
	float:right;
}
.nav ul {
	list-style:none;
	margin:0px auto;
}
.nav ul li {
	float:left; 
	margin-right:10px;
}
section {
	width:100%;
	overflow:auto;
	clear:both;
}
/* sidebar */
.sidebar {
	width:320px;
	float:right;
}
/* footer */
.footer {

}

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

/* Home page featured post grid */
.featured-post-grid {
	height:450px;
	width:100%;
	margin-top:5px;
}
.featured-post-grid .item {
  display:inline;
  float:left;
  background:#333;
  overflow:auto;
  position:relative;
  border:1px solid #fff;
}
.big-feature {
	width:50%;
	height:450px;
	font-size:2.4em;
}
.regular-feature {
	width:25%;
	height:225px;
	font-size:1.6em;
}
.item-title {
	position:absolute;
	bottom:0px;
	left:0px;
	background:rgba(0,0,0,0.8);
	width:100%;
	display:block;
	color:#fff;
	padding:10px;
}

/* Home page columns */
.four-column-home {
	width:100%;
}
.four-column-home .column {
	display:inline-block;
	float:left;
}
.four-column-home .news-features,
.four-column-home .opinions,
.four-column-home .sports {
	margin-right:15px;
	padding-right:15px;
	border-right:1px solid #e5e5e5;
}
.four-column-home .news-features {
	width:300px;
}
.four-column-home .opinions {
	width:360px;
}
.four-column-home .sports {
	width:300px;
}
.four-column-home .images {
	width:200px;
}

.four-column-home article {
	padding-bottom:5px;
	margin-bottom:5px;
	border-bottom:1px solid #e5e5e5;
}
.four-column-home h2 {
	font-size:1.4em;
	font-weight:lighter;
	text-transform:uppercase;
	border-bottom:4px solid #820a0c;
}
.four-column-home h1 {
	font-size:1.4em; 
	line-height:1.1em; 
}

.four-column-home p {
	font-size:1.3em;
}


/* single page article */
.page article,
.single article {
	max-width:720px;
	min-width:320px;
	width:100%;
	float:left;
	font-size:1.5em;
}

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



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




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

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

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

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

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

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

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

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

.clear {
	clear:both;
}

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