/*
Theme Name: Wordpress Foundation
Theme URI: http://320press.com/wpfoundation
Description: A bones/Zurb foundation based wordpress theme.
Version: 2.0
Author: 320press
Author URI: http://320press.com
Tags: bones, zurb, foundation, 320press, clean, basic
*/

/* layout */

.fc-webicon { float: left; line-height: 43px; width: 16px; height: 13px; text-align: left; margin-top: 10px; margin-bottom: 5px; margin-right: 10px; }
.fc-webicon:hover { }


/* RSS */
.rss { background: url("images/webicons/fc-webicon-rss-s.png") no-repeat; height: 20px; width: 20px; }

/* Twitter */

.twitter { background: url("images/twitter-icon.png") no-repeat; margin-top: 14px; }
.twitter li:hover {  background: url("images/twitter-icon-hover.png") no-repeat;  }

.nav-bar.twitter > li:hover  { background: url("images/twitter-icon-hover.png") no-repeat; }


.more-link{
	white-space: nowrap;
}

body { 
background-repeat: repeat;
background-color: #eee; 
}

/*
#main {
-webkit-box-shadow: 0px 0px 2px 2px rgba(0, 0, 0, .05);
box-shadow: 0px 0px 2px 2px rgba(0, 0, 0, .05);
}
*/

#sidebar1 { background-color: #fff; padding: 0; }

.widget  { padding: 20px; border-bottom: 1px solid #2ba6cb; }

.widget li{ list-style: none;}

.widget a { color:#222;}
.widget a:hover{ color:#222!important;}


#wrapper  { 
	background-color: #fff; 
	padding: 10px 15px;
	border: 1px solid #dfdfdf;
	-webkit-border-radius: 0 0 5px 5px;
	-moz-border-radius: 0 0 5px 5px;
	border-radius: 0 0 5px 5px;
	border-bottom: 0;
	}

#wrapper-content { 
	padding: 0 ;
	background: #fff;
	border: 1px solid #dfdfdf;
	border-top: 0;
	-webkit-border-radius: 0 0 5px 5px;
	-moz-border-radius: 0 0 5px 5px;
	border-radius: 0 0 5px 5px;
	}

div.single {
border: 1px solid #dfdfdf !important;
-webkit-border-radius: 0 0 5px 5px;
-moz-border-radius: 0 0 5px 5px;
border-radius: 0 0 5px 5px;
background: #fff;

}

.single article {
border-bottom: 0 !important;
}



.small-logo a span.home-icon {
	background: url("images/home-icon.png") no-repeat;
	background-position: 0 0;
	width: 16px;
	height: 29px;
	margin-top: 14px;
	display: block;
}

.small-logo a:hover span.home-icon {
	background: url("images/home-icon.png") no-repeat;
	background-position: -16px 0;
	width: 16px;
	height: 29px;
	display: block;
}


.nav-bar {
	margin-top: 0;
	background: #00c8ff;
	border-bottom: 1px solid #03b3e4;
	height: 45px;
	padding-left: 160px;
	box-shadow: 0 5px 8px -1px rgba(0, 0, 0, 0.2);
}

.nav-bar > li.active  {
background-color: inherit;
}

.nav-bar > li:hover {
background: #fff;
}

.nav-bar > li:hover a{
color: #00c8ff;
}

.nav-bar > li {
border-right: 1px solid #6E6E6E;
border-top: 0;
border-left: 0;
border-bottom: 0;
line-height: 43px;
color: #fff;
font-weight: 600;
text-transform: uppercase;
}

.nav-bar > li  a{
color: #fff;
}

.nav-bar > li  a:hover{
color: #2ba6cb !important;
}

.nav-bar > li:last-child {
	border-right: 0;
}

img { border: 0; }

#main{
background-color: #FAFAFA;
padding: 0;
}

p.attribution{
	text-align: right;
}

a:hover {
color: #fff!important;
}

#main article{
	padding-left: 20px;
	padding-right: 20px;
	margin-top: 10px;
	border-bottom: 1px dotted #2ba6cb;
}

div.panel {
padding: 0;
border: 0;
background-color: #fff;

}

.subhead {
font-size: 20px;
margin-top: 0 ;
margin-bottom: 17px;
margin-left: 25px;
}

#logo {
width: 430px;
height: 79px;
background: url('images/logo-psd.png') no-repeat left top;
}

/* Big Articles
-------------------------------------------------------------------------------------*/


.postdatehentry { 
	background: #222; 
	position: absolute;
	top: 35px;
	margin-left: 10px;
	color: #f1f1f1; 
	padding: 4px 5px; 
	font-size: 12px; 
	font-style: italic; 
	width:auto; 
	opacity:0.8;
	}
	
.postdatehentry-small{ 
	background: #222; 
	position: absolute;
	margin-left: 10px;
	top: 35px;
	color: #f1f1f1; 
	padding: 4px 5px; 
	font-size: 12px; 
	font-style: italic; 
	width:auto; 
	opacity:0.8;
	}
	
	
#rij { width: 100%; height: 100%; padding: 0 20px; }

.grid-big {
	width: 100%;
	padding: 0 20px;
}

.grid-big article {
		padding-left: 0 !important;
		padding-right: 0 !important;
		}

.grid-big .hentry {
	padding: 0 0 0 0;
	margin: 0 0 0 0;
	border: none;
	position: relative;
}

.grid-big .hentry .featured-image {
	width: 100%;
	height: 300px;
	margin: 0 0 0 0;
}

.grid-big .hentry .featured-image img {
	width: 100%;
	height: 300px;
}

.grid-big  article{ border-bottom: 0 !important; margin-top: 0; }

.grid-big .hentry h2.post-title {
	font-size: 18px;
	display: inline-block;
	position: absolute;
	top: 41px;
	max-width: 90%;
}

.grid-big .hentry h2.post-title a {
	font-size: 18px;
	background: #2ba6cb;
	margin-left: 10px;
	padding: 10px 15px 10px 15px;
	display: inline-block;
	color: #fff;
	text-decoration: none;
	opacity:0.8;
}

#clearfix { clear:both; overflow:hidden; height:0;}

.divider { width: 1%; height: 190px; float: left; background: #fff;}

.grid-small {
	float: left;
	width: 49%;
	margin: 0;
	padding: 0;
	margin-bottom: 5px;
}

.grid-small article {
		padding-left: 0 !important;
		padding-right: 0 !important;
		border-bottom: 0 !important;
		}

.grid-small .hentry {
	padding: 0 0 0 0;	
	border: none;
	position: relative;
}

.grid-small .hentry .featured-image {
	height: 190px;
	margin: 0 0 0 0;
}

.grid-small .hentry .featured-image img {
	height: 190px;
}


.grid-small .hentry h2.post-title {
	font-weight: 500;
	font-size: 14px;
	display: inline-block;
	position: absolute;
	top: 41px;
	max-width: 90%;
}

.grid-small .hentry h2.post-title a {
	font-weight: 500;
	font-size: 14px;
	background: #2ba6cb;
	margin-left: 10px;
	opacity: 0.8;
	padding: 5px 10px 5px 10px;
	display: inline-block;
	color: #fff;
	text-decoration: none;
}


header .menu-action {
    float: left;
    margin-top: 0;
    position: relative;
    top: 1px;
}

header .menu-action .button.small {
    padding: 8px;
}

header .menu-action .button.small svg {
    opacity: 0.5;
}

.mobile-nav-container{
	margin-left: -100%;
	float: left;
	width: 50%;
	position: absolute;
	top: 150px;
}

.active .mobile-nav-container{
	display: block;
	margin-left: 0;
}

.active #main{
	margin-left: 55%;
}

.mobile-nav-container,
#main{
	-moz-transition: all 0.25s ease-in 0s;
}

.side-nav{
	height: auto;
}

ul.tabs.vertical {
    border-bottom: 1px solid #E6E6E6;
    height: auto;
}

ul.tabs {
    border-bottom: 1px solid #E6E6E6;
    display: block;
    height: 40px;
    margin-bottom: 20px;
    padding: 0;
}

ul.tabs.vertical li {
    border-left: 3px solid #CCCCCC;
}

ul.tabs.vertical li, ul.tabs.vertical li {
    float: none;
    height: auto;
}

ul.tabs li:first-child {
    margin-left: 0;
}

ul.tabs li {
    display: block;
    float: left;
    margin: 0;
    padding: 0;
}

ul.tabs.vertical li a {
    -moz-border-bottom-colors: none;
    -moz-border-image: none;
    -moz-border-left-colors: none;
    -moz-border-right-colors: none;
    -moz-border-top-colors: none;
    background: none repeat scroll 0 0 #F2F2F2;
    border-color: #E6E6E6;
    border-style: solid;
    border-width: 1px 1px 0 0;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.5) inset;
    color: #555555;
    display: block;
    font-size: 14px;
    height: auto;
    line-height: 1;
    padding: 15px 20px;
}

ul.tabs li a {
    color: #6F6F6F;
    display: block;
    font-size: 14px;
    height: 40px;
    line-height: 40px;
    padding: 0 23.8px;
}

/* single.php header */
 
	.newheader			{ background-position: 0 -85px; height:200px; width:100%; border-top: #b3b3b3 solid 1px; margin-bottom:15px; }
	.headerimage		{ background-position: 0 -85px; height:200px; width:100%; color: white; text-align:right; }
	.headerimage a		{ color:white;}
	.headerimage 		{ }
	.postnametxt		{ font-size:22px; padding:4px 10px 7px 0; width:auto; background: #2ba6cb; opacity:0.8;}
	.postname	   	    h3{ margin-bottom: 3px!important;}
	.postname 			{ margin: 122px 0 0 14px; float:left; width:auto;  text-align: left; }
	.postdate			{ background: #222; margin-top: 4px; color: #f1f1f1; padding: 4px 5px; font-size: 12px; font-style: italic; width:auto; opacity:0.8;}
	 section 			    p 	{ margin-bottom: 10px ;}
	.readmore			{ width: 88px; }
	
	
/* typography */
h1, h2, h3, h4, h5, h6{ font-family: 'Open Sans', sans-serif; font-weight: 300;}

.siteinfo h1{ font-weight: 800; }

/* post styling */

#main p.meta{
	font-style: italic;
	color: #808080;
}

div[id*='attachment_']{
	max-width: 100%;
	height: 100%;
}

#credit320{
	background: url('images/320press_mini.png') no-repeat left top transparent;
	padding-left: 20px;
	display: inline !important;
}

#main article img{
	margin: 5px;
	
}

h1.single-title{
	line-height: 1.1;
}

img.alignleft{
	margin-right: 10px;
	float: left;
}

img.alignright{
	margin-left: 10px;
	float: right;
}

img.aligncenter{
	display: block;
	margin: 0 auto;
}

p.tags a:hover{
	color: #f0f0f0;
}

video {
	max-width: 100%;
	height: auto;
}

.video-container {
	position: relative;
	padding-bottom: 56.25%;
	padding-top: 30px;
	height: 0;
	overflow: hidden;
}

.video-container iframe,  
.video-container object,  
.video-container embed {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.video-wrapper {
	width: 630px;
	max-width: 100%;
	margin-bottom: 18px;
}

pre {
    background-color: #F5F5F5;
    border: 1px solid rgba(0, 0, 0, 0.15);
    display: block;
    font-size: 12px;
    line-height: 18px;
    margin: 0 0 18px;
    padding: 8.5px;
    white-space: pre-wrap;
    word-wrap: break-word;
}

code {
    color: rgba(0, 0, 0, 0.75);
    padding: 1px 3px;
}

code, pre {
    font-family: Monaco,Andale Mono,Courier New,monospace;
    font-size: 12px;
	padding: 5px 15px;
}

/* featured posts slider */
#featured{
	border: 1px solid #E6E6E6;
}

#featured div{
	padding: 0 15px;
}

#featured h3{
	margin-top: .2em;
	padding-left: .05em;
}

#featured p{
	padding-left: .1em;
}

#featured h3,
#featured p{
	width: 100%;
}

/* page styling */

/* default WordPress classes */
.alignnone { margin: 5px 20px 20px 0; }

.aligncenter, div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

.alignright, a img.alignright{
    float: right;
    margin: 0 0 21px 21px;
}

.alignleft, a img.alignleft {
    float: left;
    margin: 0 21px 0 0;
}

.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

a img.alignnone {
    margin: 0 21px 21px 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption-text {
	font-style: italic;
	font-size: 0.923em;
	text-align: center;
}


.page-template-page-homepage-php #main {
	border-bottom: none;
}

/* comments */

#comments{
	line-height: 3.1rem;
	margin-bottom: 18px;
}

ol.commentlist,
ol.commentlist ul.children{
	list-style-type: none;
	margin-left: 0;
}

ol.commentlist div.avatar{
	float: left;
	margin-right: 10px;
}

ol.commentlist time{
	font-size: .8em;
	color: #eeeeee;
}

ol.commentlist div.comment-author{
	position: relative;
}

.panel ol.commentlist a.comment-edit-link{
	color: #ffffff;
	text-decoration: none;
}

ol.commentlist span.edit-comment{
	position: absolute;
	right: 1.5em;
	top: 0;
}

.comment h4{
	margin-bottom: 0;
}

a.comment-reply-link{
	position: absolute;
	right: 1.5em;
	bottom: 0;
}

#cancel-comment-reply{
	padding-left: 20px;
}

#comment-nav ul{
	list-style-type: none;
	margin: 0;
}

#comment-form-elements{
	list-style-type: none;
	margin: 0;
}

/* specific post-type styles */

/* image attachment */

.attachment #main .post_content img{
	max-width: 100%;
}

li.next{
	text-align: right;
}


	
	 .gallery-caption {
		font-style: italic;
		font-size: 0.923em;
	}
	
	.wp-caption.alignright { margin-left: 31px; }
		
	.wp-caption { margin-bottom: 21px; }
	
	 .wp-caption-text {
    	margin-bottom: 0;
    	margin-right: 10px;
	}

#sidebar1 .metadata,
#sidebar1 .caption{
	padding-bottom: 20px;
}

/* widget styles */

.widget{
	margin-bottom: 0;
}

.widget li{
	margin-bottom: 2px;
}

.widget ul.children{
	margin-bottom: 0;
}

.widget ul.children li{
	margin-left: 9px;
}

#tag-cloud{
	margin-bottom: 18px;
}

a[class^='tag-link-']:hover{
	color: #f0f0f0;
}

@media only screen and (min-width: 768px) {
	ol.commentlist div.avatar{
		margin-right: 0;
	}
	
	#main{
		border-bottom: none;
	}

	#featured h3{
		margin-top: 2em;
		padding-left: 2em;
	}

	#featured p{
		padding-left: 4em;
	}

	#featured h3,
	#featured p{
		width: 66%;
	}
}

@media only screen and (min-width: 940px) {
	/* desktop specific styles */
	
	#main{
		margin-bottom: 0;
	}
	
	ol.commentlist div.avatar{
		margin-right: 0;
	}
	
}



/*-- RESPONSIVE --*/


/* #Tablet & Small Desktop
================================================== */

/* Note: Design for a width of 1024px */

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



/*-----------------------------------------------------------------------------------*/
/*	First - Grid Articles
/*-----------------------------------------------------------------------------------*/
.grid-big { 
	
}

.grid-big .hentry .featured-image {
	height: 292px;
}

.grid-big .hentry .featured-image img {
	height: 292px;
}

.grid-small {
	
}

.grid-small .hentry .featured-image {
   
	height: 146px;
}

.grid-small .hentry .featured-image img {
    
	height: 146px;
}



/*-----------------------------------------------------------------------------------*/
/*	End Responsive
/*-----------------------------------------------------------------------------------*/


}


/* #Tablet (Portrait)
================================================== */

/* Note: Design for a width of 768px */

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


/*-----------------------------------------------------------------------------------*/
/*	First- Grid Posts
/*-----------------------------------------------------------------------------------*/

.grid-big {
	
}

.grid-big .hentry .featured-image {
	
	
}

.grid-big .hentry .featured-image img {
	
	
}

.grid-small {
	
}

.divider { height: 160px;}

.grid-small .hentry .featured-image {
	
	height: 160px;
}

.grid-small .hentry .featured-image img {
	
	height: 160px;
}



/*-----------------------------------------------------------------------------------*/
/*	End Responsive
/*-----------------------------------------------------------------------------------*/


}



/*  #Mobile (Portrait)
================================================== */

/* Note: Design for a width of 320px */

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



/*-----------------------------------------------------------------------------------*/
/*	First - Grid Posts
/*-----------------------------------------------------------------------------------*/

.nav-bar {
padding-left: 0;
height: auto;
}

.small-logo a span.home-icon {
margin-top: 0;
border-top: 10px solid #00c8ff;
}

.small-logo a span.home-icon a:hover{
margin-top: 0;
border-top: 10px solid #00c8ff;
}

.grid-big {
	
}


.grid-big .hentry .featured-image {
	
	height: 174px;
}

.grid-big .hentry .featured-image img {
	
	height: 174px;
}

.grid-big .hentry h2.post-title a {
	font-size: 16px;
	line-height: 22px;
}

.grid-small {
	
	
}

.headerimage {
background-position: 0;
}

#logo {
width: 245px;
height: 112px;
margin-top: 10px;
background: url('images/logo-psd-small.png') no-repeat left top;
}

.grid-small .hentry .featured-image {
    height: 130px;
   
}

.grid-small .hentry .featured-image img {
    height: 130px;
    
}


/*-----------------------------------------------------------------------------------*/
/*	End Responsive
/*-----------------------------------------------------------------------------------*/


}


/* #Mobile (Landscape)
================================================== */

/* Note: Design for a width of 480px */

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


/*-----------------------------------------------------------------------------------*/
/*	First - Grid Posts
/*-----------------------------------------------------------------------------------*/

.nav-bar {
padding-left: 0;
height: auto;
}

.small-logo a span.home-icon {
margin-top: 0;
border-top: 5px solid 00c8ff;
}

.grid-big {
	
}

.grid-big .hentry .featured-image {
	height: 280px;
}

.grid-big .hentry .featured-image img {
	
	height: 280px;
}

.grid-small {
   
}

.grid-small .hentry .featured-image {
    
	height: 135px;
}

.grid-small .hentry .featured-image img {
    
	height: 135px;
}

.grid-small .hentry .meta-category {
	top: 0;
}





/*-----------------------------------------------------------------------------------*/
/*	End Responsive
/*-----------------------------------------------------------------------------------*/


}