/*
Theme Name: ESI
Theme URI: https://environmentalsolutions.mit.edu
Description: Custom theme for the Environmental Solutions Initiative at MIT.
Author: ESI
Version: 3.0
*/

@import url("css/style.css");
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700&display=swap');

body.home #content h3 {
    display: block;
    font-size: 1.17em;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    font-weight: bold;
}

.post_formatting h1 {
	font-size: 24px;
}
.post_formatting h2 {
	font-size: 22px;
}
.post_formatting h3 {
	font-size: 20px;
}
.post_formatting h4 {
	font-size: 18px;
}
.post_formatting h5 {
	font-size: 17px;
}
.post_formatting h6 {
	font-size: 17px;
}

.juicer-feed h1.referral a {
    color: #f05a4b;
    display: none;
}

.accordions .accordion-content p, ul, h {
	color: #231F20;
    font-family: Avenir, sans-serif;
    font-size: 17px;
    line-height: 1.5;
}

.accordions-head-title {
	color: white;
    font-family: Avenir, sans-serif;
    font-size: 19px;
    line-height: 1.5;
}
#accordions-1649 .accordion-content{
	color: #231F20;
    font-family: Avenir, sans-serif;
    font-size: 14px;
    line-height: 1.5;
}

th, td {
    padding: 12px;
    text-align: left;
}
tr:nth-child(even) {
	background-color: #f2f2f2
}
table {
    width: 100%;
}



.full_width,
.one_half,
.one_third,
.two_third,
.one_fourth,
.three_fourth,
.one_fifth,
.two_fifth,
.three_fifth,
.four_fifth,
.one_sixth,
.five_sixth {
	font-size: 13px;
	padding: 5px;
}

#right_sidebar p {
	font-size: 15px;
}

/*.post_formatting h1, .post_formatting h2, .post_formatting h3, .post_formatting h4, .post_formatting h5, .post_formatting h6 {
    margin-bottom: 30px;
    font-family: "AvenirBold";
	font-size: 19px;
    color: #203F7D;
    line-height: 1.2;
}*/


/* News Media Page */


.page-template-template-news-media .post {
    margin: 0px 5px;
    border: 1px solid #f1f1f1;
    /* background-color: rgba(0,68,124,1); */
    border-radius: 5px;
    overflow: hidden;
}


.page-template-template-news-media .post img {
    position: relative;
    display:block;
}
.news-media-post-text {
    background-color: rgba(0,68,124,0.85);
    padding:10px;
    min-height: 105px;
}
.news-media-post-text h4 a, .news-media-post-text p, .news-media-post-text p a {
    color:#fff;
}
.news-short-content {
	font-size: 12px;
}
.news-title, .grid-date-post {
	font-size: 12px;
}
.post_formatting h3.news-title {
    font-size: 16px;
	margin-bottom: 2px;
}
.news .news-title a {
    font-size: 16px;
    line-height: 22px;
}

/* Tweet-PHP */


.esi_twitter_profile {
    width: 100%;
    clear: both;
    display: inline-block;
}

.twitter_profile_image {
    width: auto;
    display: inline-block;
    float: left;
    width: 105px;
}

.twitter_profile_image img {
    border-radius: 50%;
    border: 1px solid #f3f3f3;
    overflow: hidden;
}

.twitter_profile_info {
    padding: 20px;
    display: inline-block;
}

.twitter_user_name {
    display: block;
}
.twitter_user_name a {
    font-size:28px;
    color:#000;
    font-weight: 400;

}

.tweet-wrap .status {
    height: 175px;
    display: block;
    padding: 10px;
}



.tweet-wrap {
    border: 1px solid #f1f1f1;
    margin: 0px 5px;
    font-size: 16px;
    border-radius:5px;
}

#twitter .meta {
    background-color: #f1f1f1;
    width: 100%;
    display: block;
}

#twitter .meta a {
    font-size: 12px;
    padding:0px 10px;
}
/*Fixes*/
ul.the_people li.externaladvisoryboard {
    display: block;
    width: 100%;
    margin: 0 20px 15px 0;
    text-align: left;
}
section.people_section_blocks a{width: 33%}
@media only screen and (max-width: 900px){
section.people_section_blocks a {
    width: 80%;
}
}
/*Fixes*/

/*23-10-2018*/
ul.the_people li.facultyadvisorycouncil {
    width: 150px;
}

/** added by LL for news page 6-2019 **/

#right_sidebar .menu-news-media-sidebar-container {
	border-top: 5px solid rgba(0,68,124,0.85);
/* 	border-bottom: 5px solid rgba(0,68,124,0.85);
	margin-bottom: 15px; */
}

ul#menu-news-media-sidebar {
    margin: 0;
    padding: 0;
    list-style: none;
	padding-top:8px;
}

ul#menu-news-media-sidebar > li {
    padding: 6px 0;
}
.news-media-archive {
	line-height:1.35;
}
.news-and-media-sidebar {
	font-size:0;
}
.news-and-media-sidebar > *:not(ul) {
	font-size:inherit;
}

ul#lct-widget-news-category,
ul#lct-widget-news-category li {
	margin: 0;
	padding:0;
	list-style-type:none;
}
ul#lct-widget-news-category {
	border-bottom: 5px solid rgba(0,68,124,0.85);
	margin-bottom: 15px;	
	padding-bottom:8px;
}
ul#lct-widget-news-category li {
	    padding: 6px 0;
}
#right_sidebar .current-cat > a,
#right_sidebar .current-menu-item > a,
#right_sidebar .current_page_item > a {
	color: #333;
	font-weight:600;
}
#home-slides {
    height:400px;
    position: relative;
	z-index:1;
	overflow:hidden;
}
@media screen and (min-width: 1024px) {
	#home-slides {
	    height: 85vh;
	}
}
@media screen and (max-width:768px) {
	#home-slides .hero-text-wrapper {
	    width: 88%;
	    margin: 0 auto;
	}
}
#home-slides .slide {
	display: block;
	height: 100%;
	object-fit: cover;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 1;
}
#home-slides .slide img {
	display:block !important;
}
#home-slides .slide a {
	color:#fff;
	text-decoration:underline;
}
#home-slides .slide.active {
	display: block;
	z-index: 3;
}
#home-slides .hero-text-wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
    top: 58px;
	height:100%;
}
#home-slides .hero__text {
	z-index:4;
}

.slider-control {
	    -webkit-appearance: none;
    border: 0;
    width: 30px;
    position: absolute;
    top: 80%;
    left: 5%;
    color: #fff;
    height: 30px;
	z-index:100;
	background:transparent;
	font-size:30px;
	outline:none;
	cursor:pointer;
}
.slider-control.slide-next {
	left: auto;
	right:5%;
}
.carousel-item .caption {
	position: absolute;
    top: 50%;
    right: 10%;
	transform:translateY(-50%);
    width: 50%;
    background: rgba(0,0,0,.75);
    color: #fff;
    padding: 30px 35px;
    max-width: 600px;
}
@media (min-width:961px) {
	#carousel {
		height: 85vh;
		overflow:hidden;
	}
	.carousel-item {
		height: 85vh;
	}
	.carousel-item img {
		position:absolute;
		top: 50%;
    	left: 50%;
    	width: 100%;
		height:100%;
		object-fit:cover;
    	transform: translate(-50%,-50%);
	}	
	.carousel-item .caption {
		z-index:1;
	}
}
.carousel-item .caption a{
	color:#fff;
	text-decoration:underline;
}
.carousel-item .caption h2 {
	font-size: 30px;
    font-weight: normal;
    margin: 0 0 20px 0;
}
@media (min-width:960px) {
	.carousel-item .caption h2 {
		font-size: 36px;
	}
}
.carousel-indicators li {
	width: 16px !important;
    height: 16px !important;
    background: transparent;
    border: 2px solid #fff;
    border-radius: 50%;
	cursor:pointer;
}
.carousel-indicators li.active {
	background:#fff;
}
.carousel-control-next,
.carousel-control-prev {
	z-index: 999;
	opacity:1 !important;
}

@media (max-width:960px) {
	.carousel-item {
		background-size:cover;
		background-position:center center;
		background-repeat:no-repeat;
		padding:75px 0;
	}
	.carousel-item img {
		display:none;
	}
	.carousel-item .caption {
		position: relative;
    	top: auto;
    	right: auto;
		transform:translate(0,0);
    	width: 75%;
		margin: 0 auto;
    	padding: 15px;
	}
}

body.home {
    font-family: "AvenirRegular";
}
body.home #content .card {
	border-radius:0;
	border:none;
	background: transparent;
}
body.home .btn {
    background: inherit;
    border: inherit;
    cursor: pointer;
    display: inherit;
    font-size: 14px;
    letter-spacing: .1em;
    padding: 15px 25px;
    text-transform: uppercase;
	border-radius:inherit;
	box-shadow:inherit;
}
body.home .btn-outline, 
body.home .btn-outline:active, 
body.home .btn-outline:link, 
body.home .btn-outline:visited {
    background: transparent;
    border: 2px solid #fff;
    color: #fff !important;
}

@media screen and (min-width: 1024px) {
	body.home .btn {
		display:inline-block;
	}
}

body.home #content h3 {
    margin-top: 0;
    margin-bottom: 0;
}
body.home .cards .card {
	bottom: 0;
}
body.home .cards .card .inner {
	height:100% !important;
}

#footer .social_icons a.youtube_icon {
	background: #fff url(/wp-content/uploads/2019/10/esi_youtube.png) no-repeat center center;
    background-size: 55% auto;
	color:transparent;
}
#footer .social_icons a.youtube_icon:hover {
	background: #1B75C3 url(/wp-content/uploads/2019/10/esi_youtube_hover.png) no-repeat center center;
    background-size: 55% auto;
	color:transparent;
}
#footer .social_icons a.twitter_icon {
	background: #fff url(/wp-content/uploads/2019/10/esi_twitter.png) no-repeat center center;
    background-size: 55% auto;
	color:transparent;
}
#footer .social_icons a.twitter_icon:hover {
	background: #1B75C3 url(/wp-content/uploads/2019/10/esi_twitter_hover.png) no-repeat center center;
    background-size: 55% auto;
	color:transparent;
}
#footer .social_icons a.facebook_icon {
	background: #fff url(/wp-content/uploads/2019/10/esi_facebook.png) no-repeat center center;
    background-size: 55% auto;
	color:transparent;
}
#footer .social_icons a.facebook_icon:hover {
	background: #1B75C3 url(/wp-content/uploads/2019/10/esi_facebook_hover.png) no-repeat center center;
    background-size: 55% auto;
	color:transparent;
}

.sustainable-development-goals-images img {
	display:inline-block;
	margin:5px;
}
#header {
	z-index:9998;
}

/*** fix to accommodate new menu item 11/16/21 ***/

@media (min-width:769px) and (max-width:1100px) {
	#site_wrapper #logo_table .logo_cell.mit_logo a {
		width: 62.25px;
		height: 32.25px;
		background-size: cover;
	}
	#site_wrapper #logo_table .logo_cell.esi_logo a {
		width: 147px;
		height:35.25px;
		background-size:cover;
	}
	#site_wrapper #main_nav_wrapper {
		width: 63% !important;
	}
	#site_wrapper #header ul#menu-main-navigation > li {
		padding: 15px 6px;
		margin: 0;
	}
	#site_wrapper #header ul#menu-main-navigation>li a {
		letter-spacing: 1px;
	}
}
@media (min-width:1000px) and (max-width:1100px) {
	#site_wrapper #main_nav_wrapper {
		width: 70% !important;
	}
	#site_wrapper #header ul#menu-main-navigation > li {
		padding: 35px 0 35px 35px;
		margin: 0;
	}
	#site_wrapper #header ul#menu-main-navigation>li a {
		letter-spacing: 2px;
	}
}

.callout {
	background:#6db4e0;
}
.callout h2 {
    font-size: 40px;
}
.callout .container a.btn {
    background: #ec4c33 !important;
	font-family: 'Montserrat', sans-serif;
	font-size:17px;
}
.callout .container a.btn:hover {
    color: #ec4c33 !important;
	background:#fff !important;
}
