/* This stabilizes the html so pages don't jump around when navigating through the site   */
html {
        min-height: 100%;
        margin-bottom: 1px;
} 


body {
    background: #8a8b8c;
	margin-top: 0px;
	margin-right: 2%;
	margin-left: 2%;  background: #edece7;
	font-family: 'Roboto', sans-serif;
	font-size: 1em;
    /* Mozilla Firefox: */
    background: -moz-linear-gradient(top, #8a8b8c, #CCC);
    /* Chrome and Safari:*/
    background: -webkit-gradient(linear,
                left top, left bottom, from(#8a8b8c), to(#CCC));
    /* Microsoft Internet Explorer */
    filter: progid:DXImageTransform.Microsoft.Gradient(
                StartColorStr='#8a8b8c', EndColorStr='#CCC', GradientType=0);
	  background-attachment: fixed;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  padding-left:8%;
	
}
 
#container { /* The container is the live area that holds all the pages elements */
        z-index: 2;
		margin: 0 auto; /* the auto value on the sides, coupled with the width, centers the layout */
        max-width: 860px;
		min-width: 280px;
        padding: 0;
		padding-bottom: 1%;
		padding-top: 0;
        color: #000;	
		border-radius: 0px 0px 4px 4px;  /* for Chrome */
		overflow:hidden;
		 opacity: 1.00;
        -moz-opacity: 1.00;
        filter: alpha(opacity=100);
    }

#header { /* holds all the header elements: */
	float: left;
	height: auto;
	padding-top: 2%;
	margin: 0px;
	}

/* link color and behavior */
a { 
color: #A31F34; 
text-decoration: none;
font-weight:bold;
}
a:visited {
	text-decoration: none;
	color: #A31F34;
}	
a:hover {
	text-decoration: underline;
	color: #990033;
}	
a:active {
	text-decoration: none;
	color:#903;
}	

p {
	margin:0;
	padding:0;
	margin-bottom: .6em;
	font-size:1em;
	line-height:1.4em;
	}
.red {
	color: #a31F34;
	font-weight:bold;
	}

#contentbox ul {
	padding-top: 0;
	margin-top: 0;
	padding-left: 2%;
	list-style-position: inside;
	padding-left: 1em;
 	text-indent: -1em;
	margin-bottom: 1em;
	}
	
#contentbox li {
	padding-left: 0;
	font-size:1em;
	line-height:1.3em;
	list-style-type: none;
	list-style-position: inside;
	margin-bottom: .4em;
	}

#contentbox li:before {
  content: '\25BA';
  position: relative;
  left: 0;
  font-size:.8em;
  margin-top: -2px;
  margin-right: 4px;
  color: #A31F34;
}
/* header group at upper left */

#title { /* holds the org name and subtitle */
	float: left;
	width: auto;
	height: auto;
	}


#org-name a {
	display: block;
	font-family: 'Izhitsa';
	text-shadow: 3px 3px 3px #000;
	width: 102%;
	height: auto;
	color: #fff;
	float: left;
	margin-top: 0;
	margin-bottom: 0;
	font-size: 4.5em;
	letter-spacing:0px;
	opacity: 0.80;
        -moz-opacity: 0.80;
        filter: alpha(opacity=80);
	}

#org-name a:hover {
	text-decoration:none;
	color: #A31F34;
text-shadow: 4px 4px 4px #000;
	}	
	
#org-name-alt a {
	display: block;
	font-family: 'Izhitsa';
	text-shadow: 3px 3px 3px #000;
	width: 102%;
	height: auto;
	color: #fff;
	float: left;
	margin-top: 3%;
	margin-bottom: 3%;
	font-size: 6em;
	letter-spacing: 0;
	opacity: 0.86;
        -moz-opacity: 0.86;
        filter: alpha(opacity=86);
	}

#org-name-alt a:hover {
	text-decoration:none;
	color: #A31F34;
text-shadow: 4px 4px 4px #000;
	}	
#subtitle {
	float: left;
	width: auto;
	color: #fff;
	font-size: 1.5em;
	line-height: 1em;
	margin-top: -1%;
	margin-left: 1%;
	margin-bottom: 2%;
	font-weight:normal;
	 opacity: 0.90;
        -moz-opacity: 0.90;
        filter: alpha(opacity=90);
	text-shadow: 3px 3px 3px #000;
	}

#subtitle-alt {
	float: left;
	width: auto;
	color: #fff;
	font-size: 1.9em;
	line-height: 2em;
	font-weight:normal;
	 opacity: 0.90;
        -moz-opacity: 0.90;
        filter: alpha(opacity=90);
	text-shadow: 3px 3px 3px #000;
	}

#searchbox {
	float: right;
	width: auto;
	height: auto;
	z-index: 16;
	padding: 0px;
	margin-top: 6px;
}

#mission {
	position:relative;
	float:left;
	display: none;
	}


/* basic text formats */

h1 {
	font-size: 1.4em;
	font-weight:bold;
	line-height:1em;
	color: #A31F34;
	margin-bottom: 2%;
	margin-top: 0;
	border-bottom: 1px solid #666;
	padding-bottom: 2%;
}

h2 {
	font-size: 1em;
	color: #003366;
	font-weight: bold;
	margin-top: 1.6%;
	margin-bottom: .4%;
}

h3 {
	font-size: 1em;
	color: #A31F34;
	font-weight: bold;
	margin-top: 0;
	margin-bottom: 2%;
}

h4 {
	font-size: 1.2em;
	font-weight:bold;
	line-height:1em;
	color: #A31F34;
	margin-bottom: 0.6%;
	margin-top: 2%;
}	
	
#content {
	width: 100%;
	float: left;
	height: auto;
	padding: 0;
	padding-bottom: 1%;
	margin-bottom: 2%;
	z-index: 25;
	}

#home-page-spacer {
	float: left;
	display: block;
	width: 100%;
	height: 30vw;
	}

#contentbox, #announcements {
	float: left;
	height: auto;
	padding: 2%;
	margin-right: 2%;
	z-index: 12;
	border: 2px solid #A31F34;
	border-radius: 3px 3px 3px 3px;  /* for Chrome */
	background: #bfbfbf; /* Old browsers */
	background: -moz-linear-gradient(top,  #bfbfbf 0%, #ffffff 38%, #ffffff 60%, #bfbfbf 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#bfbfbf), color-stop(38%,#ffffff), color-stop(60%,#ffffff), color-stop(100%,#bfbfbf)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #bfbfbf 0%,#ffffff 38%,#ffffff 60%,#bfbfbf 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #bfbfbf 0%,#ffffff 38%,#ffffff 60%,#bfbfbf 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #bfbfbf 0%,#ffffff 38%,#ffffff 60%,#bfbfbf 100%); /* IE10+ */
	background: linear-gradient(to bottom,  #bfbfbf 0%,#ffffff 38%,#ffffff 60%,#bfbfbf 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#bfbfbf', endColorstr='#bfbfbf',GradientType=0 ); /* IE6-9 */
	 opacity: 0.96;
        -moz-opacity: 0.96;
        filter: alpha(opacity=96);
	}


#contentbox {
	width: 90%;
	}
	
#contentbox-no-gradient {
	float: left;
	width: 90%;
	height: auto;
	line-height: 1.4em;
	padding: 2%;
	margin-right: 2%;
	z-index: 12;
	border: 2px solid #A31F34;
	border-radius: 3px 3px 3px 3px;  /* for Chrome */
		background: #ffffff;
	}	
	
#announcements {
	float: left;
	height: auto;
	width: 82%;
	margin-top: 0;
	padding-top: 1%;
	padding-left: 2%;
	padding-right: 1%;
	padding-bottom: 0;
	font-size: 1em;
	line-height: 1em;
	color:#000;
	border: 1px solid #A31F34;
	border-radius: 3px 3px 3px 3px;  /* for Chrome */
		margin-bottom: 2%;
				-moz-box-shadow: 5px 5px 5px #666;
		-webkit-box-shadow: 5px 5px 5px #666;
		box-shadow: 5px 5px 5px #666;
			 opacity: .90;
        -moz-opacity: .90;
        filter: alpha(opacity=90);
	}
#announcements a {
	font-weight: bold;
		}

#tag {
	float: left;
	height: auto;
			 opacity: 0.90;
        -moz-opacity: 0.90;
        filter: alpha(opacity=90);
	width: 78%;
	font-size: 1.2em;
	line-height: 1.5em;
	font-style:italic;
	color: #000;
	text-shadow: 1px 1px 1px #CCC;
	padding: 1%;
	padding-bottom: 0
	;
	margin-top: 2%;
	z-index: 12;
	border: 2px solid #A31F34;
	border-radius: 6px 6px 6px 6px;  /* for Chrome */
	background: #bfbfbf; /* Old browsers */
	background: -moz-linear-gradient(top,  #bfbfbf 0%, #ffffff 38%, #ffffff 60%, #bfbfbf 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#bfbfbf), color-stop(38%,#ffffff), color-stop(60%,#ffffff), color-stop(100%,#bfbfbf)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #bfbfbf 0%,#ffffff 38%,#ffffff 60%,#bfbfbf 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #bfbfbf 0%,#ffffff 38%,#ffffff 60%,#bfbfbf 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #bfbfbf 0%,#ffffff 38%,#ffffff 60%,#bfbfbf 100%); /* IE10+ */
	background: linear-gradient(to bottom,  #bfbfbf 0%,#ffffff 38%,#ffffff 60%,#bfbfbf 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#bfbfbf', endColorstr='#bfbfbf',GradientType=0 ); /* IE6-9 */
	}

	
#counter {
	
}
	
.columns {
	-moz-column-count: 2;
	-moz-column-gap: 30px;
	-webkit-column-count: 2;
	-webkit-column-gap: 30px;
	column-count: 2;
	column-gap: 30px;
	margin: 0;
	padding-right: 2%;

	}

.single-column {
	width: 60%;
	}
	
.columns-alt {
	-moz-column-count: 2;
	-moz-column-gap: 8px;
	-webkit-column-count: 2;
	-webkit-column-gap: 8px;
	margin: 0;
	padding-right: 2%;

	}
	
#sliderbox {
	float: left;
	width: 100%;
	padding-top: 1%;
	padding: 1%;
	margin-top: -2%;
	margin-left: 0;
	margin-right: 0;
	}


.width40 {
	width: 48%;
	float:left;
	margin-right: 2%;
	}


.red {
	position:relative;
	color: #A31F34;
	margin-right: 4px;
	margin-left: 4px;
	}

.rule {
	width: 100%;
	height: 6px;
	border-bottom: 1px solid #000;
	margin-bottom: 3%
	}
	
.mobile-show {
	display: none;
	}


.big-video {
	float:left;
	width: 85%;
	height: 460px;
	margin-bottom: 0;
	margin-top: 1%;
	border: 1px solid #A31F34;
	border-radius: 3px 3px 3px 3px;  /* for Chrome */
				-moz-box-shadow: 3px 3px 3px #666;
		-webkit-box-shadow: 3px 3px 3px #666;
		box-shadow: 3px 3px 3px #666;
	}

.video {
	float:left;
	width: 46%;
	height: 260px;
	margin-bottom: 4%;
	margin-top: 2%;
	margin-right: 2%;
	border: 2px solid #A31F34;
	border-radius: 6px 6px 6px 6px;  /* for Chrome */
				-moz-box-shadow: 3px 3px 3px #666;
		-webkit-box-shadow: 3px 3px 3px #666;
		box-shadow: 3px 3px 3px #666;
	}

.video-small {
	float:left;
	width: 324px;
	height: 184px;
	margin-bottom: 1%;
	margin-top: 1%;
	margin-left: 1%;
	border: 1px solid #A31F34;
	border-radius: 3px 3px 3px 3px;  /* for Chrome */
				-moz-box-shadow: 3px 3px 3px #666;
		-webkit-box-shadow: 3px 3px 3px #666;
		box-shadow: 3px 3px 3px #666;
	}

.photo {
	float:left;
	width: 98%;
	height: auto;
	margin-bottom: 2%;
	margin-top: 2%;
	border: 2px solid #A31F34;
	border-radius: 6px 6px 6px 6px;  /* for Chrome */
				-moz-box-shadow: 3px 3px 3px #666;
		-webkit-box-shadow: 3px 3px 3px #666;
		box-shadow: 3px 3px 3px #666;
		overflow:hidden;
	}

.photo-band {
	float:right;
	width: 324px;
	height: auto;
	margin-bottom: 2%;
	margin-top: 2%;
	border: 2px solid #A31F34;
	border-radius: 6px 6px 6px 6px;  /* for Chrome */
				-moz-box-shadow: 3px 3px 3px #666;
		-webkit-box-shadow: 3px 3px 3px #666;
		box-shadow: 3px 3px 3px #666;
		overflow:hidden;
	}

.map {
	float:clear;
	width: 66%;
	height: 324px;
	padding: 0;
	margin-bottom: 2%;
	margin-top: 2%;
	margin-right: 2%;
	border: 2px solid #A31F34;
	border-radius: 3px 3px 3px 3px;  /* for Chrome */
				-moz-box-shadow: 3px 3px 3px #666;
		-webkit-box-shadow: 3px 3px 3px #666;
		box-shadow: 3px 3px 3px #666;
		
	}
.map-container {
	float:left;
	border: none;
	width: 100%;
	height: 90%;
	margin-bottom: 1%;
	border-radius: 6px 6px 6px 6px;  /* for Chrome */

	}
	
.map-caption {
	font-size: .8em;
	font-weight:bold;
	margin: 2%;
	color: #A31F34;
	}

.opaque {
		opacity: 1.0;
        -moz-opacity: 1.00;
        filter: alpha(opacity=100);
}

.inline-photo {
	float:right;
	width: 50%;
	height: auto;
	margin-bottom: 2%;
	margin-top: 1%;
	margin-left: 3%;
	margin-right: 3%;
	border: 1px solid #A31F34;
	border-radius: 6px 6px 6px 6px;  /* for Chrome */
				-moz-box-shadow: 3px 3px 3px #666;
		-webkit-box-shadow: 3px 3px 3px #666;
		box-shadow: 3px 3px 3px #666;
			opacity: 1.00;
    -moz-opacity: 1.0;
    filter: alpha(opacity=100);
	}

.inline-photo-left {
	float:left;
	width: 50%;
	height: auto;
	margin-bottom: 2%;
	margin-top: .5%;
	margin-right: 3%;
	border: 1px solid #A31F34;
	border-radius: 3px 3px 3px 3px;  /* for Chrome */
				-moz-box-shadow: 3px 3px 3px #666;
		-webkit-box-shadow: 3px 3px 3px #666;
		box-shadow: 3px 3px 3px #666;
			opacity: 1.00;
    -moz-opacity: 1.0;
    filter: alpha(opacity=100);
	overflow:hidden;
	}

.inline-photo-right {
	float:right;
	width: 50%;
	height: auto;
	margin-bottom: 2%;
	margin-top: .5%;
	margin-left: 3%;
	border: 1px solid #A31F34;
	border-radius: 3px 3px 3px 3px;  /* for Chrome */
				-moz-box-shadow: 3px 3px 3px #666;
		-webkit-box-shadow: 3px 3px 3px #666;
		box-shadow: 3px 3px 3px #666;
			opacity: 1.00;
    -moz-opacity: 1.0;
    filter: alpha(opacity=100);
	overflow:hidden;
	}

.bio-photo {
	float:left;
	width: 40%;
	max-height: auto;
	margin-bottom: 2%;
	margin-top: .5%;
	margin-right: 3%;
	border: 1px solid #A31F34;
	border-radius: 3px 3px 3px 3px;  /* for Chrome */
				-moz-box-shadow: 3px 3px 3px #666;
		-webkit-box-shadow: 3px 3px 3px #666;
		box-shadow: 3px 3px 3px #666;
			opacity: 1.00;
    -moz-opacity: 1.0;
    filter: alpha(opacity=100);

	}

.tiny-inline-photo {
	float:clear;
	width: 36%;
	height: auto;
	margin-bottom: 2%;
	margin-top: 1%;
	margin-left: 0;
	border: 1px solid #A31F34;
	border-radius: 3px 3px 3px 3px;  /* for Chrome */
				-moz-box-shadow: 3px 3px 3px #666;
		-webkit-box-shadow: 3px 3px 3px #666;
		box-shadow: 3px 3px 3px #666;
			opacity: 1.00;
    -moz-opacity: 1.0;
    filter: alpha(opacity=100);
		overflow:hidden;
	}
	

.caption {
	font-size:.7em;
	line-height:1.5em;
	font-style:italic;
	}
	
.callout {
	font-size:1.12em;
	line-height:1.4em;
}


	
.floatright {
	float: right;
	margin-top: 2%;
	}
	
#spacer {
	height: 45vw;
	width: 100%;
	}
	
#footer {
	float: left;
	width: 100%;
	margin-top: 0;
	margin-bottom: 2%;
	padding: 0;
	padding-bottom: 0;
	padding-left: 2%;
	color:#fff;
	font-size: 1.2em;
	line-height: 1.3em;
	}
/*
#footer {
	position: absolute;
    left: 0;
    bottom: 0;
    height: 100px;
    width: 100%;
	margin-left: 6vw;
	color:#fff;
	font-size: 1.2em;
	line-height: 1.3em;
	}	
*/

#footerlogo {
	float: left;
	width: 56px;
	height: 30px;
	background-image: url(../images/MIT-logo-sprite-54x28.gif);
	background-repeat: no-repeat;
	background-position: -168px 0px;
	margin-top:2px;
	margin-right: 2%;	
	}
#footerlogo:hover {
	background-image: url(../images/MIT-logo-sprite-54x28.gif);
	background-repeat: no-repeat;
	background-position: -56px 0px;
	}
	
.footertext {
	float: left;
	margin-left: 0;
	margin-top: 0;
	margin-right: 4%;
	text-shadow: 2px 2px 2px #000;
	}	

.footertext a {
	color: #fff;
	font-weight:bold;
	}

#socialmediawidget {
	color: #FFF;
	text-shadow: 1px 1px 1px #000;
	float: clear;
	margin-top: 1%;
	margin-bottom: 2%;
	margin-right: 4px;
	}
.pdf-icon {
	margin-bottom: -12px;	
	}

a[target="_blank"]{
    background: url(/images/off-site.svg) no-repeat center right;
    padding-right: 20px;
	padding-top: 2px;
    white-space: nowrap;
} 
	
a[href $='.pdf'] { 
   padding-right: 20px;
   background: transparent url(/images/pdf.svg) no-repeat center right;
   padding-top: 2px;
   margin-right: 2px;
   white-space: nowrap;
}
	
a[href ^="mailto:"] {
	background: url(/images/email.svg) no-repeat center right;
	padding-right: 24px;
	margin-right: 2px;
    white-space: nowrap;
}	

a:hover[href ^="mailto:"] {
	background: url(/images/email-on.svg) no-repeat center right;
	padding-right: 24px;
	margin-right: 2px;
    white-space: nowrap;
}


@media screen and (max-width: 980px) {
	
	#searchbox {
	float:left;
	padding-top: 0;
	padding-bottom: 1%;
}

#org-name a {
	font-size: 7.5vw;
}
	
#org-name-alt a {
	font-size: 8.6vw;
	}
	
#subtitle {
	font-size: 2.6vw;
}

#subtitle-alt {
	font-size: 2.6vw;
}
		
	
}

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

body {
    background: #8a8b8c;
	margin-top: 0px;
	margin-right: 2%;
	margin-left: 2%;  
	padding-left:0;
	
}		

	
.mobile-show {
	display: block;
	}

	
.video {
	float:left;
	width: 60%;
}

.photobox {
	width: 20%;
}
	
.big-video {
	width: 85%;
	height: 324px;
	margin-bottom: 4%;
	margin-top: 2%;
	}	
.map {
	width: 72%;
	height: 244px;
}

}

@media screen and (max-width: 640px) {
	
#logo-holder {
	margin-top: 2%;
	margin-left: 6%;
	}

#searchbox {
	float: left;
	margin-top: 2%;
	margin-bottom: 2%;
}

.columns {
	       -moz-column-count: 1;
       -webkit-column-count: 1;
	}

.photobox {
	width: 26%;
	margin-right: 3%;
}

.inline-photo {
	width: 30vw;
}

#socialmediawidget {
	margin-top: 4%;
	margin-bottom: 6%;

	}

.single-column {
	width: 100%;
	}
.map {
	width: 98%;
	height: 244px;
}

}

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

#header { /* holds all the header elements: */
	width: 100%;
}

#content {
	width: 100%;
}

#org-name a {
	width: 100%;
	font-size: 9.4vw;
	margin-top: 3%;
	letter-spacing:0;
	margin-bottom: 1%;
	}
#org-name-alt a {
	font-size: 9.2vw;
	}

#subtitle {
	font-size: 3vw;
	font-weight:bold;
	margin-bottom: 4%;
	}

#subtitle-alt {
	font-size: 3vw;
	font-weight:bold;
	margin-bottom: 4%;
	}

#contentbox {
	padding: 4%;
}

.inline-photo {
	width: 46vw;
	margin-bottom: 2%;
	margin-top: 2%;
	margin-left: 3%;
}

.inline-photo-left {
	width: 98%;
	float:left;
	margin-right:5%;
	margin-bottom: 5%;
}

#footer {
	float: left;
	margin-top: 1%;
	padding-top: 2%;
	margin-bottom: 4%;
	padding: 0;
	padding-left: 2%;
	}

#footerlogo {
	margin-left: 2%;
	margin-top: 1%;
	margin-bottom:4%;
	margin-right: 3%;	
	}

	
.footertext {
	font-size: .9em;
	line-height: 1.25em;
	margin-bottom: 2%;
	}
	
.video {
	width: 100%;
	height: 180px;
}
		
.big-video {
	width: 99%;
	height: 244px;
	margin-bottom: 0;
	margin-top: 2%;
	}

.video-small {
	float:left;
	width: 96%;
	height: 184px;
	margin-left: 0;
	
	}	
	
#home-page-spacer {
	float: left;
	display: block;
	width: 100%;
	height: 50vw;
	}

#announcements {
	width: 96%;
}

#tag {
	float: left;
	height: auto;
	width: 92%;
	font-size: 1.16em;
	line-height: 1.2em;
	color: #333;
	padding: 3%;
}

.auto-width {
	width: 100%;
	}
.mobile-hide {
	display:none;
	}

}