/* Cram Base CSS 1.06
-------------------------------------------------------------- */

/* The good box model
-------------------------------------------------------------- */
*,
*:after,
*:before {
	box-sizing:border-box;
	-moz-box-sizing:border-box;
	-webkit-box-sizing:border-box;
	text-rendering:optimizeLegibility;
	-webkit-font-smoothing: antialiased;
}



/* Make images sorta responsive
-------------------------------------------------------------- */
img { max-width: 100%; height: auto; vertical-align: bottom; }



/* Nicolas Gallagher's micro clearfix
-------------------------------------------------------------- */
.row { width: 80%; max-width: 1200px; margin: 0 auto; }
.row:before, .row:after, .clear:before, .clear:after, .grid:before, .grid:after { content:""; display:table; }
.row:after, .clear:after, .grid:after { clear: both; }
.row, .clear, .grid { zoom: 1; position: relative; }
.row .row { width: auto; max-width: none; }

@media (max-width:1024px) {

	.row { width: 88%; }

}/* end @media */



/* Simple Resposive Grid 
-------------------------------------------------------------- */

.grid {
	margin: 0;
}

.grid .item {
	padding: 1em 0;
}

.grid .item figure img {
	width: 100%;
}

.grid .item > a {
	display: block;
}

.grid.mobile .item {
	width: 50%;
	float: left;	
}

@media (min-width:600px) {

	.grid {
		margin: 0 -2em;
	}
	
	.grid .item {
		padding: 2em;
		width: 50%;
		float: left;
	}
	
}/* end @media */

@media (max-width:979px) {

	.grid.mobile .item:nth-child(2n+1) {
		clear: left;
	}
	
}/* end @media */

@media (min-width:600px) and (max-width:979px) {

	.grid .item:nth-child(2n+1) {
		clear: left;
	}
	
}/* end @media */

@media (min-width: 980px) {

	.grid.two {
		margin: 0 -3em;
	}
	
	.grid.two .item {
		padding: 2em 3em;
	}

	.grid.three .item {
		width: 33.333%;
	}
	
	.grid.four .item {
		width: 25%;
	}
	
	.grid.five .item {
		width: 20%;
	}
	
	.grid.two .item:nth-child(2n+1),
	.grid.three .item:nth-child(3n+1),
	.grid.four .item:nth-child(4n+1),
	.grid.five .item:nth-child(5n+1) {
		clear: left;
	}
	
}/* end @media */

.gallery.grid {
	margin: 0 -0.5em;
}

.gallery.grid .item {
	padding: 0.5em;
}



/* Slats 
-------------------------------------------------------------- */

.slats .item, .slat {
	padding: 1em;
	margin: 0 -1em;
}

.slats .item figure img,
.slat figure img {
	width: 100%;
}

@media (min-width:600px) {

	.slats .item,
	.slat {
		padding: 2em;
		margin: 0 -2em;
		overflow: hidden;
	}
	
	.slats .item figure,
	.slat figure {
		width: 45%;
		float: left;
		margin-right: 2em;
	}
	
	.slats .item article,
	.slat article {
		padding-top: 0;
		overflow: hidden;
	}
	
	.slats .item article:first-child,
	.slat article:first-child {
		background: #fafafa;
		border-bottom: 1px solid #ddd;
		padding: 2em;
	}
	
}/* end @media */

@media (min-width: 980px) {

	.slats .item figure,
	.slat figure {
		width: 30%;
		margin-right: 3em;
	}
	
}/* end @media */



/* basic menu code 1.0
-------------------------------------------------------------- */
nav ul, .menu {
	list-style: none;
	margin: 0;
	padding: 0;
}

.dropmenu, .dropmenu ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.dropmenu li, .menu li {
	margin: 0;
	float: left;
	background: transparent;
	position: relative;
}

.dropmenu li a {
	text-decoration: none;
	display: block;
	padding: 0.75em 1em;
	white-space:nowrap;
}

.dropmenu li, .dropmenu li a {
	color: #777;
	text-shadow: 0 0 3px rgba(0,0,0,0.1);
}

.dropmenu li ul {
	background: #fff;
	display: none;
	position: absolute;
	left: 0; top: 100%;
	box-shadow: 0 0 3px rgba(0,0,0,0.1);
	z-index: 999;
}

.dropmenu li ul li {
	float: none;
}

.dropmenu li ul li ul {
	left: 100%; top: 0;
}

.dropmenu li:hover {
	background: #ddd;
	background: rgba(0,0,0,0.1);
}

.dropmenu li:hover > ul {
	display: block;
}

.dropmenu li.dir > a:after {
	content: " +";
}



/* =WordPress Core
-------------------------------------------------------------- */
.alignnone {
    margin: 1em 1em 1em 0;
}

.alignright {
    float: right;
    margin: 0 0 1em 1em;
}

.alignleft {
    float: left;
    margin: 0 1em 1em 0;
}

.aligncenter {
    display: block;
    margin: 1em auto;
}

.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    padding: 0.5em 1em;
    text-align: center;
}

.wp-caption-text {
    font-size: 0.75em;
    line-height: 1.5;
    margin: 0;
}

.gallery-caption {}

.sticky {}

.bypostauthor {}



/* Search Form
-------------------------------------------------------------- */
.searchform {
    padding: 0 2em 0 0;
    overflow: hidden;
    position: relative;
	background: #eee;
}

.searchform label {
    display: none;
}

.searchform input[type=text] {
    margin: 0;
    width: 100%; 
}

.searchform input[type=submit] {
    position: absolute;
    top: 0; right: 0;
    background: url(images/search.png) no-repeat center;
    text-indent: -999em;
    width: 2em; height: 100%;
}




/* gallery shortcode styles
-------------------------------------------------------------- */
.gallery {
    margin: 0 -0.5em 1em;
    overflow: hidden;
}
.gallery-item {
    float: left;
    padding: 0.5em;
    margin: 0;
}
.gallery img {
    width: 100%;
    display: block;
    margin: 0 auto;
}
/* A gallery image caption */
.gallery .gallery-caption {
}
.gallery-columns-1 .gallery-item {
    width: 100%;
    float: none;
}
.gallery-columns-2 .gallery-item {
    width: 50%
}
.gallery-columns-3 .gallery-item {
    width: 33.3333%
}
.gallery-columns-4 .gallery-item {
    width: 25%
}
.gallery-columns-5 .gallery-item {
    width: 20%
}
.gallery-columns-6 .gallery-item {
    width: 16.6667%
}
.gallery-columns-7 .gallery-item {
    width: 14.2857%
}
.gallery-columns-8 .gallery-item {
    width: 12.5%
}


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

@media print {

	#content * {
		background:transparent !important;
		color:#000 !important;
		box-shadow:none !important;
		text-shadow:none !important;
	}
	a, a:visited {
		text-decoration:underline;
	}
	#content .post 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;
	}
	
	#header {
		min-height: 120px !important;
	}
	#header .logo {
		width: 100% !important;
	}
	#header .logo a {
		background-size: 75px 75px !important;
		min-height: 120px !important;
	}
	#site-navigation {
		display: none;
	}
	
	
} /* end @media */



/*-----------------------------------------------------------------------------------*/
/* the end of base styles
/*-----------------------------------------------------------------------------------*/