/*
Theme Name: EI Foundation
Theme URI: http://wordpress.ei.columbia.edu
Author: EI Web Team
Author URI: http://wordpress.org/
Description: Base theme for EI WordPress sites. Uses selected Foundation framework grid and components.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: earth institue, foundation
Text Domain: ei-foundation
*/

body {
	font-family: 'Open Sans', Helvetica, Arial, Verdana, Sans-Serif;
}

h1, h2, h3, h4, h5, h6 {
	color:inherit;
}

.alignright {
	float:right;
	margin:4px 0 5px 25px;
}

.alignleft {
	float:left;
	margin:4px 25px 5px 0;
}

.alpha9 {
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=90)";
  filter: alpha(opacity=90);
  -moz-opacity: 0.9;
  opacity: 0.9;
}

.div{
	overflow:auto;	
}

.white-text {
	color:#fff;
}

.no-border{
	border:0 !important;	
}

.arrow-right{
	border-top:8px solid transparent;
	border-bottom:8px solid transparent;
	border-left:8px solid #000;
	float:right;
	margin-left:7px;
}

header{
	width:100%;
	padding:15px 0;
	color:#fff;
}

h2.site-title{
	margin:0;
}

.site-title a{
	color:inherit;
	text-decoration:none;
}

header .ei-cu-logos{
	margin-top:5px;
}

.separator {
	margin:0 5px;
}

header .description{
	margin:11px 0 0 0;
	font-size:1.3em;
	line-height:1.1em;
	font-weight:normal;
}

header .description a{
	text-decoration:none;
}

header .widgets div:first-child{
	margin-top:5px;
}

header .widgets #searchform {
	display:none;
}

#topbar-widget .addthis_toolbox{
	position:absolute;
	bottom:15px;
	right:13px;
}

.main{
	padding-top:30px;
}

#searchsubmit {
	margin:8px 0 0 0;
	padding:4px 8px;
}

#page-title .page {
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=70)";
	filter: alpha(opacity=70);
	-moz-opacity: 0.7;
	opacity: 0.7;
}

.content.has-feature #page-title {
	display:none;
}

.callout{
	width: 100%;
	font-size:1.4em;
	line-height:1.5em;
}

.no-max-height{
	max-height:none !important;
}

.home #page-title {
	display:none;
}

.top-bar a{
	text-decoration:none;
} 

.top-bar ul.title-area{
	padding-left:0;
}

.top-bar-section ul li > a, .top-bar-section .dropdown li a {
	padding-top:0;
	padding-bottom:0;
}

.top-bar-section ul li:first-child{
	border-top:1px solid #666;
}

.top-bar-section ul li{
	border-bottom:1px solid #666;
}

.top-bar-section .dropdown li.title h5 a{
	font-size:0.8125rem;
	filter: alpha(opacity=70);
	opacity: 0.7;
}

/* bg hover for menu items that have link in parent */
.top-bar-section .dropdown li.parent-link a:hover{
	background-color:#272727;
}

/* lower opacity for current menu item:
.top-bar-section .current-menu-item:not(.menu-item-has-children) a, .top-bar-section li.current-menu-item > ul.dropdown > li > a.parent-link{
	filter: alpha(opacity=70);
	opacity: 0.7;
}
*/

.gradient{
	height:100%;
	width:100%;
	background: -moz-linear-gradient(top,  rgba(0,0,0,0) 60%, rgba(0,0,0,0.50) 98%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(60%,rgba(0,0,0,0)), color-stop(98%,rgba(0,0,0,0.50)));
	background: -webkit-linear-gradient(top,  rgba(0,0,0,0) 60%,rgba(0,0,0,0.50) 98%);
	background: -o-linear-gradient(top,  rgba(0,0,0,0) 60%,rgba(0,0,0,0.50) 98%);
	background: -ms-linear-gradient(top,  rgba(0,0,0,0) 60%,rgba(0,0,0,0.50) 98%);
	background: linear-gradient(to bottom,  rgba(0,0,0,0) 60%,rgba(0,0,0,0.50) 98%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#a6000000',GradientType=0 );
}

.vertical-center{
	position: absolute;
	top: 50%;
	transform: translate(0, -50%);
}


.resize{
	width: 100%;
	padding-bottom: 75%;
	position: relative;
}

.resize > div {
	position: absolute;
	top: 0; bottom: 0; left: 0; right: 0;
}

.resize > div > img{
	width:100%;
	height:100%;
}

.four-by-three{
	padding-bottom: 75%;
}

.sixteen-by-nine{
	padding-bottom: 56.25%;
}

.three-by-two{
	padding-bottom: 66.6%;
}

.categories-tags{
	margin-top:17px;
}

.wp-caption, .wp-caption img{
	max-width:100%;
}

iframe{
	max-width:100%;
}

.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%;
}


/* feature area */

#feature-area + div.main {
	padding-top:0;
}

#feature-text h1{
	line-height:1.3em;	
}

#feature-image{
	padding-left: 0;
    padding-right: 0;
}




/* sidebar */

#sidebar{
	margin:20px 0;
	padding:10px;
	background-color:#F0F0F0;
	border:1px solid #ccc;
	color:#222;
}

#sidebar > li > ul{
	padding-left:1em;
}

#sidebar h2{
	font-size:1em;
	font-weight:bold;
	margin-top:0;
}

#sidebar > li{
	list-style:none;
	margin-bottom:28px;
	padding-bottom:28px;
	border-bottom:2px solid #ccc;
	overflow:auto;
}

#sidebar li:last-child{
	padding-bottom:0;
	margin-bottom:0;
	border-bottom:0;
}

#sidebar .pagenav{
	padding:10px 10px 15px 10px;
	border:1px solid #ccc;
	font-size:95%;
}

#sidebar .pagenav > h2, #sidebar .pagenav > h2 a{
	margin:3px 0 4px 0;
	color:#fff;
}

#sidebar .pagenav a{
	color:#E7E7E7;
}

#sidebar .pagenav a:hover{
	text-decoration:underline;
}

#sidebar .pagenav .current_page_item > a:hover{
	text-decoration:none;
}

#sidebar .widget_search .widgettitle{
	margin-bottom:4px;
}

#sidebar #searchform, #sidebar #searchform input#s{
	margin-bottom:0;
}

#sidebar #searchform .screen-reader-text{
	display:none;
}

#sidebar .pagenav .current_page_item > a {
	color:inherit;
}


#sidebar .textwidget p:first-child{
	margin-top:12px;
}


/* comments */

ol.comment-list{
	padding-left:0;
	list-style-type:none;
}


/* footer */

footer .row{
	background-color:#333;
	color:#fff;
	padding:15px 0;
}

footer a{
	color:#ccc;
}

footer .addthis_toolbox{
	float:right;
	margin:3px 0 5px 10px;
}

footer ul#menu-footer{
	margin-bottom:0;
}

footer ul#menu-footer li{
	font-size:.9em;
}

/* posts archive */

.post {
	padding-bottom:30px;
	margin-bottom:30px;
	border-bottom:3px solid #ccc;
	overflow:auto;
}

.post:last-of-type {
	border-bottom:0;
	margin-bottom:0;
}

.post .title{
	margin:0;
	line-height:1.2em;
}

.post .author-time{
	margin:3px 0 20px;
}

.post img.attachment-post-thumbnail, .post img.attachment-thumbnail{
	float:left;
	margin:0 20px 10px 0;
}

.post .excerpt .wp-post-image{
	float:left;
	margin:5px 15px 10px 0;
}

/* .main div.post:last-child {
	border-bottom:0;
	margin-bottom:5px;
	padding-bottom:0;
} */

/* single post */

.single .metadata{
	margin-bottom:35px;
}

.single .author-time{
	margin-bottom:5px;
}

/* authors */

.author .author-time .author, .author .author-time .separator{
	display:none;
}


a.next-posts{
	float:right;
}


/* foundation specific */

/* resets */

button, .button{ color:#fff; } /* removed !important 6/16 */

button.secondary, .button.secondary { color:#333; } /* removed !important 6/16 */

a.button-1{
	border-radius:15px;
    border: 2px solid #fff;	
	padding:7px 20px 8px 20px;
	font-size:110%;
	text-decoration:none;
	display:inline-block;
	line-height:100%;
}

blockquote{
	border-left:0;
}
	
/* move topbar menu left -- kosher? */
.top-bar .toggle-topbar.menu-icon{
	padding-left:0;
	left:15px;
}
.top-bar .toggle-topbar.menu-icon a{
	padding:0 0 0 25px;
}
.top-bar .toggle-topbar.menu-icon a span:after{
	left:2px;
}

/* small only */	
@media only screen and (max-width:440px) {
	
	.wp-caption, .wp-caption img{
		width: 100% !important;
	}

}

/* medium and up */
@media only screen and (min-width: 40.063em) {
	
	header{
		padding:30px 0 15px 0;
		position:relative;
	}
	
	header .description, header .widgets{
		position:absolute;
		right:0;
		padding-right:inherit;
	}
	
	header .description{
		bottom:0;
	}
	
	header .widgets{
		bottom:27px;
	}
	
	header .widgets div{
		text-align:right;
	}
	
	header .widgets #searchform{
		display:block;
	}
	
	header .widgets #s {
		margin-bottom:0;
		padding:1px 2px;
		height:1.7em;
		width:220px;
		float:right;
	}
	
	header .widgets #searchsubmit {
		float:right;
		clear:both;
		margin:4px 0 0 0;
		padding:1px 4px;
		font-size:.8em;
	}
	
	header .widgets .searchform .screen-reader-text{
		display:none;
	}
	
	header .addthis_toolbox{
		float:right;
	}
	
	.top-bar-section li.hide-for-medium-up{
		display:none;
	}
	
	.top-bar-section > ul > li{
		border:0 !important;
		z-index:999;
	}
	
	.top-bar-section .menu > li > ul.dropdown > li.parent-link{
		border-top:1px solid #666;
	}
	
	/* border left for third level lis:
	.top-bar-section .menu li ul.dropdown ul.dropdown li{
		border-left:1px solid #666;
	} */
	
	.main{
		padding-bottom:40px;
	}
	
	.categories, .tags{
		line-height:1.5em;
	}
	
	.callout{
		width: 40%;
		float:right;
		padding:10px;
		margin:5px 0 10px 20px;
	}
	
	#feature-area{
		position:relative;
		color:#fff;
	}
	
	#feature-text{
		position:absolute;
		z-index:9;
		padding-left:70px;
	}
	
	#feature-text h1{
		margin:15px 0;
		font-size:170%;
		line-height:1.2em;
	}
	
	#feature-text h3{
		max-width:50%;
		margin:15px 0 0 0;
		font-size:100%;
		line-height:1.4em;
	}
	
	#feature-area + div.main {
		padding-top:30px;
	}
	
	#sidebar{
		padding:0;
		background-color:transparent;
		border:none;
		color:inherit;
	}
	
	footer .menu-footer-container{
		display: table;
	}
	
	footer ul#menu-footer{
		display: table-row;
		margin:0;
	}
	
	footer ul#menu-footer > li{
		display: table-cell;
		padding-right:30px;
		font-size:.95em;
		margin-bottom:0;
	}
	
}