/*
Theme Name: Toolbox
Theme URI: http://wordpress.org/extend/themes/toolbox
Author: Automattic
Author URI: http://automattic.com/
Description: A semantic, HTML5, canvas for CSS artists and an ultra-minimal set of super-clean templates for your own WordPress theme development.
Version: 1.4
License: GNU General Public License
License URI: license.txt
Tags: custom-menu, sticky-post, microformats, rtl-language-support, translation-ready, full-width-template, post-formats

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

Modified by Marco Miotti / MIT Trancik Lab
*/


/* Basics 
-------------------------------------------------------------- */
html {
    overflow-y: scroll;
    margin: 0;
    padding: 0;
}

body {
	/*font: 13px/1.231  Helvetica, sans-serif;*/
	font: 14px 'Open Sans', Helvetica, sans-serif;
	/*letter-spacing: -0.01em;*/
	line-height: 150%;
	color: black;
    -webkit-text-size-adjust: 100%;
    margin: 0;
    padding: 0 0 1em 0;
    background-color: #eee;
}

/*
	960 Grid System ~ Text CSS.
	Learn more ~ http://960.gs/

	Licensed under GPL and MIT.
*/

/* =Basic HTML
--------------------------------------------------------------------------------*/


a:focus
{
	outline: 1px dotted invert;
}

hr
{
	border-color: #ccc;
	border-style: solid;
	border-width: 1px 0 0;
	clear: both;
	height: 0;
}

/* =Headings
--------------------------------------------------------------------------------*/

h1,
article.category-statements h3
{
	font-size: 24px;
	font-weight: 400;
	color: #00a0e0;
	margin: 0.9em 0 0.7em 0;
}

h2
{
	font-size: 20px;
	font-weight: 600;
}

h3
{
	font-size: 16px;
	margin: 0.9em 0 0.6em 0;
}
h4
{
	font-size: 16px;
	margin: 10px auto;
}

h3 a {
	text-decoration: none;
}


a {
	color: black;
	text-decoration: underline;
}

a:visited {
	color: black;
}

a:hover {
	color: #00a0e0;
	text-decoration: none;
	/*opacity: 0.7;*/
}

img {
	opacity: 1.0;
}

img:hover {
	opacity: 0.85;
}

ul {
	list-style-position: outside;
	-webkit-padding-start: 1.4em;
	-moz-padding-start: 1.4em;
	-webkit-margin-before: 0em;
	display:block;
}

article.category-statements li {
	margin-bottom: 1em;
}

article.category-statements li li {
	margin-bottom: 0.5em;
}

.menu-nav-container {
	display: block;
	float: right;
	padding-bottom: 0;
}

#menu-nav a:hover {
	opacity: 1.0;
}

.pika-stage a:hover {
	opacity: 2;
}


/* =Structure
-------------------------------------------------------------- */

#main {
	padding-top: 0.4em;
	/*border-top: 3px solid #ddd;*/
}

.entry-content img,
img.aligncenter {
	/*width: 100%;*/
	max-width: 100%;
}

.page-id-335 #main {
	padding-top: 0;
	border-top: none;
}

.shaded-content-box-wrapper {
	background-color: #efefef;
	padding: 0;
}

.top-wrapper {
	padding-top: 0;
}

.content-box {
	width: 90%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 2em;
}

.main-content-box {
	background-color: #fff;
	box-sizing: border-box;
}

#branding {
	position: relative;
	margin-top: 1em;
	/*padding-bottom: 0.6em;*/
}

.logo-link {
	display: block;
	text-indent: -5000px;
	background: no-repeat top left;
	text-decoration: none;
}

#mit-logo-link {
	position: absolute;
	top: 0;
	right: 2em;
	width: 47px;
	height: 25px;
	background-image: url('images/logo_MIT.png');
	background-size: 47px 25px;
}

#idss-logo-link {
	position: absolute;
	top: 4.2em;
	right: 2em;
	width: 109px;
	height: 67px;
	background-image: url('images/logo_IDSS.png');
	background-size: 109px 67px;
}

#primary {
	padding-top: 1px;
	/*float: left;
	margin: 0 -240px 0 0;
	width: 100%;*/
}

#content {
	margin: 0;
	padding-bottom: 2em;
}
#main .widget-area {
	float: right;
	overflow: hidden;
	width: 220px;
}



/* Increase the size of the content area for templates without sidebars */
.full-width #content,
.image-attachment #content,
.error404 #content {
	margin: 0px;
	/*border-top: 3px solid #ddd;*/
	/*font-size: 14px;*/
}

/* Text meant only for screen readers */
.screen-reader-text,
.assistive-text {
	position: absolute !important;
	clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
	clip: rect(1px, 1px, 1px, 1px);
}

/* Alignment */
.alignleft {
	display: inline;
	float: left;
}
.alignright {
	display: inline;
	float: right;
}
.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}


/* =Header
-------------------------------------------------------------- */

#site-title {
	width: 195px;
	height: 31px;
	margin: 28px 0 12px 0;
}

#site-title a {
	display: block;
	width: 100%;
	height: 100%;
	background: url('images/logo_alt.png') no-repeat transparent;
	background-size: 195px 31px;
	text-indent: -5000px;
	text-decoration: none;
}
#site-description {
	display: inline;
	font-size: 1em;
	font-weight: normal;
	margin: 0 0 1em;
}


/* =Menu
-------------------------------------------------------------- */

#access {
	display: block;
	width: 100%;
	font-size: 1.1em;
	height: 1.9em;
	color: #ccc;
}
#access ul {
	list-style: none;
	margin: 0;
	padding-left: 0;
}
#access li {
	float: left;
	position: relative;
}
#access a {
	line-height: 1.3em;
	padding: 0.15em 0.2em;
	font-size: 1.15em;
	text-decoration: none;
	color: #263c8d;
	font-weight: 600;
}
#access a:hover {
	color: #fff;
	background-color: #00a0e0;
}
#access .current-menu-item a {
	color: #00a0e0;
}
#access .current-menu-item a:hover {
	color: #fff;
	background-color: #00a0e0;
}
#access ul ul {
	box-shadow: 0 3px 3px rgba(0,0,0,0.2);
	-moz-box-shadow: 0 3px 3px rgba(0,0,0,0.2);
	-webkit-box-shadow: 0 3px 3px rgba(0,0,0,0.2);
	display: none;
	float: left;
	position: absolute;
	top: 2em;
	left: 0;
	z-index: 99999;
}
#access ul ul ul {
	left: 100%;
	top: 0;
}
#access ul ul a {
	background: #dedede;
	line-height: 1em;
	padding: .5em .5em .5em 1em;
	width: 10em;
	height: auto;
}

#access ul ul :hover > a {
	background: #00a0e0;
}
#access ul ul a:hover {
	background: #00a0e0;
}
#access ul li:hover > ul {
	display: block;
}


/* =Content
-------------------------------------------------------------- */

.sticky {
}
.entry-meta {
	clear: both;
	display: block;
}
.single-author .entry-meta .byline {
	display: none;
}
#content nav {
	display: block;
	overflow: hidden;
}
#content nav .nav-previous {
	float: left;
	width: 50%;
}
#content nav .nav-next {
	float: right;
	text-align: right;
	width: 50%;
}
#content #nav-above {
	display: none;
}
.paged #content #nav-above,
.single #content #nav-above {
	display: block;
}
#nav-below {
	margin: 1em 0 0;
}
.page-link {
	clear: both;
	margin: 0 0 1em;
}
.page .edit-link {
	clear: both;
	display: block;
}

/* 404 page */
.error404 .widget {
	float: left;
	width: 33%;
}
.error404 .widget .widgettitle,
.error404 .widget ul {
	margin-right: 1em;
}
.error404 .widget_tag_cloud {
	clear: both;
	float: none;
	width: 100%;
}

/* Notices */
.post .notice,
.error404 #searchform {
	background: #eee;
	display: block;
	padding: 1em;
}

/* Image Attachments */
.image-attachment div.entry-meta {
	float: left;
}
.image-attachment nav {
	float: right;
	margin: 0 0 1em 0;
}
.image-attachment .entry-content {
	clear: both;
}
.image-attachment .entry-content .entry-attachment {
	background: #eee;
	margin: 0 0 1em;
	padding: 1em;
	text-align: center;
}
.image-attachment .entry-content .attachment {
	display: block;
	margin: 0 auto;
	text-align: center;
}

/* Aside Posts */
.format-aside .entry-header {
	display: none;
}
.single .format-aside .entry-header {
	display: block;
}
.format-aside .entry-content,
.format-aside .entry-summary {
	padding-top: 1em;
}
.single .format-aside .entry-content,
.single .format-aside .entry-summary {
	padding-top: 0;
}

/* Gallery Posts */
.format-gallery .gallery-thumb {
	float: left;
	margin: 0 1em 0 0;
}

/* Image Posts */
.format-image .entry-header {
	display: none;
}
.single .format-image .entry-header {
	display: block;
}
.format-image .entry-content,
.format-image .entry-summary {
	padding-top: 1em;
}
.single .format-image .entry-content,
.single .format-image .entry-summary {
	padding-top: 0;
}


.page-id-335 #news {
	border-top: 3px solid #ddd;
}

#news h3 {
	display:inline;
	border-bottom: 1px solid black;
}

/*#news .entry-content {
	line-height: 175%;
}*/

#news .entry-content li {
	margin-bottom: 0.6em;
}

.page-template-projects-php .category-projects,
.page-template-data-php .category-data,
.page-template-teaching-php .category-teaching {
	border-top: 3px solid #ddd;
	min-height: 275px;
	/*max-height:	275px;*/
	margin: 1px;
	display: inline-block;
	overflow: hidden;
}


.page-template-data-php .category-data .thumbnail,
.page-template-teaching-php .category-teaching .thumbnail,
.page-template-projects-php .category-projects .thumbnail,
.page-template-people-php .category-people .thumbnail {
	float: left;
	margin: 0 12px 0 0;	
}

.page-template-people-php .category-people {
	border-top: 3px solid #ddd;
	min-height: 270px;
	overflow: hidden;
}


#news a:hover {
	text-decoration: none;
}

#overview {
	display: inline-block;
	/*border-top: 3px solid #ddd;*/
	margin: 5px 0 10px 0;

}

#columns {
	-moz-column-count:2; /* Firefox */
	-webkit-column-count:2; /* Safari and Chrome */
	column-count:2;	
}

#column {
	-moz-column-count:1; /* Firefox */
	-webkit-column-count:1; /* Safari and Chrome */
	column-count:1;
	
}

.people-text {
	-moz-column-count:1; /* Firefox */
	-webkit-column-count: 1;
	column-count:1;
}

.people-text p {
	margin: 0px;
}

.pub_content li {
}


/* =Images
-------------------------------------------------------------- */

a img {
	border: none;
}
p img {
	margin-bottom: 0.5em; /* a small bottom margin prevents content floating under images */
}
/*
Resize images to fit the main content area.
- Applies only to images uploaded via WordPress by targeting size-* classes.
- Other images will be left alone. Use "size-auto" class to apply to other images.
*/
img.size-auto,
img.size-full,
img.size-large,
img.size-medium,
.attachment img,
.widget-area img,
.wp-caption {
	max-width: 100%; /* When images are too wide for containing element, force them to fit. */
	height: auto; /* Override height to match resized width for correct aspect ratio. */
}
img.alignleft {
	margin-right: 1em;
}
img.alignright {
	margin-left: 1em;
}
.wp-caption {
	padding: .5em;
	text-align: center;
}
.wp-caption img {
	margin: .25em;
}
.wp-caption .wp-caption-text {
	margin: .5em;
}
.gallery-caption {
}
.wp-smiley {
	margin: 0;
}

/* =Forms
-------------------------------------------------------------- */

#searchform label {
	display: none;
}
#searchform input#s {
	width: 60%;
}
input[type=text],
input#s {
	margin: 0 1em 0 0;
	width: 60%;
}
textarea {
	width: 80%;
}

/* Class for labelling required form items */
.required {
	color: #cc0033;
}


/* =Comments
-------------------------------------------------------------- */

article.comment {
	display: block;
}
#respond input[type=text] {
	display: block;
	width: 60%;
}
#respond textarea {
	display: block;
	margin: 0 0 1em;
	width: 80%;
}
#respond .form-allowed-tags {
	clear: both;
	width: 80%;
}
#respond .form-allowed-tags code {
	display: block;
}


/* =Widgets
-------------------------------------------------------------- */

.widget {
	display: block;
}
.widget-area .widget_search {
	overflow: hidden;
}
.widget-area .widget_search input {
	float: left;
}


/* =Footer
-------------------------------------------------------------- */

#colophon {
	/*padding: 1em 0 0;*/
}

#colophon h1 {
	/*font-size: 1.5em;*/
}

.contact {
	float: left;
	width:48%;
	padding-left: 2em;
	border-top: 3px solid #ddd;
	box-sizing: border-box;

}

.links {
	position: relative;
	float:right;
	width:48%;
	padding-left: 2em;
	border-top: 3px solid #ddd;
	box-sizing: border-box;
}

@media only screen and (max-width: 850px), only screen and (max-device-width: 850px) {
	#access {
		height: 3.3em;
	}
	#columns {
		-moz-column-count: 1; /* Firefox */
		-webkit-column-count: 1; /* Safari and Chrome */
		column-count: 1;
	}
}

@media only screen and (max-width: 500px), only screen and (max-device-width: 500px) {
	.content-box {
		width: auto;
	}

	#site-title {
		width: 160px;
		height: 25px;
	}

	#site-title a {
		background-size: 160px 25px;
	}

	#mit-logo-link {
		width: 35px;
		height: 19px;
		background-size: 35px 19px;
	}

	#idss-logo-link {
		position: relative;
		top: 0;
		right: auto;
	}

	#access {
		font-size: 0.95em;
		padding: 0.1em 0;
		height: 5.3em;
	}

	.contact {
		width: 100%;
		padding-left: 0;
		float: none;
	}

	.links {
		width: 100%;
		padding-left: 0;
		float: none;
	}

	.page-template-data-php .category-data,
	.page-template-teaching-php .category-teaching,
	.page-template-projects-php .category-projects,
	.page-template-people-php .category-people {
		margin: 8px 0 20px 0;
	}

	.page-template-data-php .category-data .thumbnail,
	.page-template-teaching-php .category-teaching .thumbnail,
	.page-template-projects-php .category-projects .thumbnail,
	.page-template-people-php .category-people .thumbnail {
		float: none;
		margin: 0 0 6px 0;	
	}

}

/*@media only screen and (max-width: 320px), only screen and (max-device-width: 320px) {
	body {
		width: 980px;
		margin: 1em auto;
		-webkit-text-size-adjust:none;
	}

	#main {
		min-height: 846px;
	}
	
}*/