/**
 * MCB @ Berkeley Custom Styles
 */

/* UC Berkeley Font for Title */
@font-face {
  font-family: 'UCBerkeleyOSDemi';
  src: url("../fonts/uc_berkeley_os_demi-webfont.eot");
  src: url("../fonts/uc_berkeley_os_demi-webfont?#iefix") format("embedded-opentype"), 
       url("../fonts/uc_berkeley_os_demi-webfont.woff") format("woff"), 
       url("../fonts/uc_berkeley_os_demi-webfont.ttf") format("truetype"), 
       url("../fonts/uc_berkeley_os_demi-webfont.svg#UCBerkeleyOSDemi") format("svg");
  font-weight: normal;
  font-style: normal; 
}

body {
    color: #333;
    font-family: "Open Sans",sans-serif;
    font-size: 15px;
    line-height: 1.5;
}

a {
    color: #003262;
    text-decoration: none;
}

h1, h2, h3, h4, h5, h6, h4-style, h3-style {
    color: #003262;
    font-family: "Open Sans",sans-serif;
    font-weight: 400;
    line-height: 1.1;
}

h3-style {
    font-size: 24px;
}

h4-style {
    font-size: 18px;
}

td,
th {
  padding: 5px 7px;
}

li {
    line-height: 1.8;
}

.container-fluid {
  margin-right: auto;
  margin-left: auto;
  max-width: 1200px;
}

.region-content a {
	text-decoration: underline;
}

.navbar-default {
	background-color: #003262;
}

/* UC Berkeley link in top nav bar */
.navbar-default .navbar-brand {
	color: #fff;
	font-size: 16px;
    font-weight: 600;
    display: inline;
}
.navbar-default .navbar-brand a {
    color: #fff;
}
.navbar-default .navbar-brand:hover,
.navbar-default .navbar-brand:focus {
	color: #fdb515;
}

.navbar-header:before {
    display: inline;
}

/* Top right navbar links */
.navbar-default .navbar-nav {
    float: right;
}
.navbar-default .navbar-nav > li > a {
	color: #fff;
    padding: 15px 12px 15px 10px;
    font-size: 14x;
}
.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus {
	color: #fdb515;
}
.navbar-default .navbar-nav > .active > a {
	background-color: transparent;
	color: #fff;
}
.navbar-default .navbar-nav > .active > a:hover, 
.navbar-default .navbar-nav > .active > a:focus {
	background-color: transparent;
	color: #fdb515;
}

.sf-menu.sf-style-default a:hover,
.sf-menu.sf-style-default a:focus {
    text-decoration: underline;
}



/* Page title */
#page-header p a,
#page-header h1 a,
#page-header p a:active,
#page-header h1 a:active  {
	font-family: "UCBerkeleyOSDemi","Minion Pro","Times New Roman",times,serif;
	color: #003262;
	font-size: 44px;
	line-height: 1.1em;
	padding-top: 0px;
	text-decoration: none;
}

#page-title{
    margin: 5px 0px;
}

#page-title p,
#page-title h1 {
    display: inline;
}

.submitted {
  color: #595959;
}

/* Main Superfish Menu */

.sf-menu a {
    text-decoration: none;
}

.sf-menu.sf-style-default {
    margin-bottom: 1px;
}

.sf-sub-indicator {
    background: rgba(0, 0, 0, 0) url("../images/arrows-777777.png") no-repeat scroll -10px -100px;
}

.sf-menu.sf-style-default a,
.sf-menu.sf-style-default a:visited,
.sf-menu.sf-style-default span.nolink {
  border-left: none; 
  border-top: none; 
  color: #555;  
  padding: 0.75em; 
  font-size: 1.2em;
  font-weight: 500;
}
.sf-menu.sf-style-default li.first a.sf-depth-1,
.sf-menu.sf-style-default li.first a.sf-depth-1:visited{
  padding-left: 0.2em; 
}
.sf-menu.sf-style-default span.sf-description {
  color: #555;
}
.sf-menu.sf-style-default li,
.sf-menu.sf-style-default li li,
.sf-menu.sf-style-default li li li,
.sf-menu.sf-style-default.sf-navbar {
  background: #fff;  
}

.sf-menu.sf-style-default li.active-trail {
  border-bottom: 2px solid #ddd;
}

.sf-menu.sf-style-default li li.active-trail {
    border-bottom: none;
  }

.sf-menu.sf-style-default li:hover,
.sf-menu.sf-style-default li.sfHover,
.sf-menu.sf-style-default a:focus,
.sf-menu.sf-style-default a:hover,
.sf-menu.sf-style-default a:active,
.sf-menu.sf-style-default span.nolink:hover {
  background: #fff;  
}

.sf-menu.sf-style-default a.sf-with-ul, 
.sf-menu.sf-style-default span.nolink.sf-with-ul {
  padding-right: 1.25em;
}

/* End Main Superfish Menu */

/* Grad/Undergrad Superfish Menu */

.sf-menu.sf-style-none li > a {
    padding: 8px 20px 8px 20px;
    text-decoration: none !important;
}

.sf-menu.sf-style-none li > a:hover {
    text-decoration: underline !important;
}

.sf-menu.sf-style-none {
    margin-bottom: 1px;
}

.sf-menu.sf-style-none a,
.sf-menu.sf-style-none a:visited,
.sf-menu.sf-style-none span.nolink {
  border: none; 
  color: #003262;  
  padding: 0.5em; 
  font-size: 15px;
  font-weight: 500;
}

.sf-menu.sf-style-none li.first a.sf-depth-1,
.sf-menu.sf-style-none li.first a.sf-depth-1:visited {
  padding-left: 0.2em; 
}
.sf-menu.sf-style-none span.sf-description {
  color: #003262;
}
.sf-menu.sf-style-none li,
.sf-menu.sf-style-none li li,
.sf-menu.sf-style-none li li li {
  background: #f5f5f5;  
  line-height: 1.2;
}

.sf-menu.sf-style-none li.active-trail {
  border-bottom: none;
}

.sf-vertical, .sf-vertical li {
    width: 100%;
}

.sf-vertical li:hover > ul, 
.sf-vertical li.sfHover > ul {
    left: 95%;
}

.sf-menu.sf-style-none li::before,
.sf-menu.sf-style-none li:hover:focus:active::before,
.sf-menu.sf-style-none li.sfHover:hover:focus:active::before {
    background: #2997FF none repeat scroll 0 0;
    border-radius: 30px;
    color: #fff;
    content: ' » ';
    font-size: 16px;
    height: 15px;
    left: 0;
    line-height: 12px;
    position: absolute;
    text-align: center;
    top: 8px;
    width: 15px;
}

.sf-menu.sf-style-none li li::before,
.sf-menu.sf-style-none li li.active-trail::before {
    background: none;
    content: '';
}

.sf-menu.sf-style-none li.active-trail::before {
    background: #003262 none repeat scroll 0 0;
}





/* End Grad/Undergrad Superfish Menu */

.btn-info {
  color: #fff;
  background-color: #003262;
  border-color: #003262;
}

h2.block-title {
    font-size: 24px;
    margin-top: 10px;
}

.page-frontpage h2 {
    margin-top: 8px;
    margin-bottom: 15px;
}

#page-header hr {
	margin-top: 0px;
	margin-bottom: 5px;
}

.breadcrumb {
    background-color: transparent;
    border-radius: none;
    margin-bottom: 20px;
    margin-top: 0px;
    padding: 8px 15px 8px 2px;
}

.breadcrumb > .active {
  color: #595959;
}

/* Frontpage Jumbotron */
.container .jumbotron, .container-fluid .jumbotron {
    padding-left: 0px;
    padding-right: 0px;
}
.container .jumbotron, .container-fluid .jumbotron {
    padding-left: 0px;
    padding-right: 0px;
}
.jumbotron {
    padding-bottom: 0px;
    padding-top: 0px;
}
.jumbotron {
    background-color: #fff;
    color: inherit;
    margin-bottom: 3px;
    padding-bottom: 0px;
    padding-top: 0px;
}

.jumbotron p {
    font-size: 1.1em;
}

/* Frontpage Slideshow */

.view-homepage-slideshow-bootstrap {
  background: #003262; 
  background-image:url(/sites/mcbdev.berkeley.edu/themes/mcb_bootstrap/images/tesselation-bg-10.png);
  background-position: right bottom; 
  background-repeat: no-repeat;
  padding: 0px;
  margin: 0px;
  height: 400px;
  position: relative;
}

.views-slideshow-cycle-main-frame-row-item img {
  float: left;
  padding: 0;
  margin: 0;
  margin-right: 20px;
}

.views-slideshow-cycle-main-frame-row-item .slideshow-text {
  position: absolute;
  z-index: 400;
  top: 40px;
  left: 840px;
  font-size:20px;
  color: #ffffff;
  overflow: hidden;
  width: 300px;
}

.views-slideshow-cycle-main-frame-row-item .slideshow-credit {
  font-style: italic;
  font-size:12px;
  color: #ffffff;
  position: absolute;
  z-index: 300;
  bottom: 40px;
  left: 840px;
  width: 300px;
}

#views_slideshow_controls_text_previous_homepage_slideshow_bootstrap-block_1,
#views_slideshow_controls_text_next_homepage_slideshow_bootstrap-block_1 {
  background-repeat: no-repeat;
  position: absolute;
  top: 180px;
  width: 36px;
  height: 0px;
  padding-top: 180px;
  z-index: 301;
  overflow: hidden;
  opacity: 0.7;
}

#views_slideshow_controls_text_previous_homepage_slideshow_bootstrap-block_1 {
  background-image: url(../images/slider_prev.png);
  left: 10px;
}

#views_slideshow_controls_text_next_homepage_slideshow_bootstrap-block_1 {
  background-image: url(../images/slider_next.png);
  right: 10px;
}

#views_slideshow_controls_text_pause_homepage_slideshow_bootstrap-block_1 {
  display: none;
}

@media only screen and (min-width:800px) and (max-width:1150px) {

    .view-homepage-slideshow-bootstrap {
      height: 250px;
    }

    .slideshow-image img {
      margin-right: 15px;
      max-width: 500px;  /* 550x275 */
      max-height: 250px;
    }

    .views-slideshow-cycle-main-frame-row-item .slideshow-text {
      top: 30px;
      left: 545px;
      font-size:17px;
      width: 210px;
    }

    .views-slideshow-cycle-main-frame-row-item .slideshow-credit {
      position: absolute;
      font-size:10px;
      bottom: 30px;
      left: 545px;
      width: 210px;
    }

    #views_slideshow_controls_text_previous_homepage_slideshow_bootstrap-block_1,
    #views_slideshow_controls_text_next_homepage_slideshow_bootstrap-block_1 {
      background-repeat: no-repeat;
      position: absolute;
      top: 130px;
      width: 36px;
      height: 0px;
      padding-top: 130px;
    }

}

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

    .view-homepage-slideshow-bootstrap {
      height: 100%;
      max-height: 400px;
    }

    .slideshow-image img {
      margin-right: 0px;
      max-width: 800px;
      width: 100%;
      max-height: 400px;
      height:  100%;
    }

    .views-slideshow-cycle-main-frame-row-item .slideshow-text {
      display: none;
    }

    .views-slideshow-cycle-main-frame-row-item .slideshow-credit {
      display: none;
    }

    #views_slideshow_controls_text_previous_homepage_slideshow_bootstrap-block_1,
    #views_slideshow_controls_text_next_homepage_slideshow_bootstrap-block_1 {
      background-repeat: no-repeat;
      position: absolute;
      top: 100px;
      width: 36px;
      height: 0px;
      padding-top: 100px;
    }

}

/* Frontpage Intro text */
div.frontpage-intro {
    margin-top:  25px;
}

.frontpage-intro-text p {
    font-size: 1.2em; 
    color: #000000; 
    font-style:bold;
    text-align: left;
    font-weight: 400;
}

.frontpage-intro a {
    font-style: bold;
    font-weight: 400;
}

.frontpage-intro img {
    height:70px; 
    margin-bottom:5px; 
    margin-top:5px; 
    width:70px
}

/* Frontpage News */
.view-frontpage td {
  padding: 5px 15px 5px 0px;
  width: 50%;
  vertical-align: top;
}

.view-frontpage .views-field-title {
    font-size: 1.1em;
    padding: 10px 0 0 0;
    text-decoration: none;
    font-weight: bold;
    margin-bottom: 10px;
}

.view-frontpage .views-field-title a {
    text-decoration: none;
}

.view-frontpage .views-field-title a:focus,
.view-frontpage .views-field-title a:hover {
    text-decoration: underline;
    color: #003262;
}

.view-frontpage img {
  border-bottom: 4px solid #003262;
}

/* Frontpage Events */

#upcoming_seminars .event {
  margin-bottom: 10px;
}

#upcoming_seminars .event_date {
  display:block; 
  color: #003262; 
  font-size: 18px;
  font-weight: bold; 
  font-family: Open Sans;
}

#upcoming_seminars .event_time {
  display:block; 
  color: #003262; 
  font-size: 14px; 
  font-weight: bold
}

/* Frontpage Welcome */
#welcome-block h2 {
  margin-top: 10px;
  font-size: 24px;
}

#welcome-message {
  padding-right: 20px;
}

#welcome-message p {
  font-size: 1.2em;
}

#division-list h2 {
  margin-bottom:20px;
  font-size: 24px;
}

#division-list {
  padding-left: 15px;
}

#division-list .row {
  margin-bottom: 10px;
  color:#000000;
  font-size:12px
}

#division-list img {
  margin-top: 5px; 
  margin-bottom: 5px; 
  height: 40px; 
  width: 40px; 
  float:left
}

/* Frontpage Tweets */

.view-tweets img {
  padding: 0px 10px;
  padding-bottom: 10px;
}

.view-tweets h2 {
  margin-bottom: 5px;
  margin-top: 15px;
}

.view-tweets .views-row {
  margin-bottom: 15px;
  padding-right: 15px;
}

/* Collapse Accordians */

fieldset.collapsible .panel-heading a.panel-title {
  text-decoration:none;
  color: #003262;
  height: 44px;
}

fieldset.collapsible .panel-heading a.panel-title:hover,
fieldset.collapsible .panel-heading a.panel-title:focus {
  text-decoration:underline;
}

/* Image Content Type */
.node-image img {
	margin-bottom: 20px;
	border: 5px solid #eaeaea;
}

.node-image .field-name-body {
	width: 820px;
	display: block;
}

.node-image .field-name-field-image-credit {
	margin-top: 20px;
	font-style: italic;
}

/* Breadcrumb separator */
.breadcrumb > li + li::before {
    padding: 0 5px;
    color: #ccc;
    content: " » ";
}

/* Search Box and Title*/

#search form {
    margin-left: 140px;
}

#search {
    height: 65px;
    width: 390px;
    float: right;
    padding-top: 7px;
    padding-right: 10px;
    margin-top: 0px;
    background: #fff url(images/mcb_icon.png) no-repeat left top;
}

#search-icon {
    height: 23px;
    width: 23px;
    vertical-align:bottom;
    margin-bottom: 3px;
}

/* frontpage Events block*/
#upcoming_seminars
{
  margin: 0;
  padding: 0;
  list-style-type: none;
}

#upcoming_seminars li
{
  padding: 7px 0;
}

#upcoming_seminars li a
{
  font-weight: bold;
}

/* Left Content Region */

.region-content-left {
    margin-top: 0px;
}

.region-content-left h2 {
    font-size: 20px;
    margin-top: 0px;
}

.region-content-left section {
    margin-bottom: 20px;
}

/* Pre-footer spacing */
div.bottom-spacer {
  clear: both;
  margin-top: 25px;
}

/* Bottom Region */
.bottom {
  background-color: #316783;/*#3b7ea1 306480;*/
  color: #FFFFFF;
  max-width: none;
  padding-bottom: 10px;
}

.bottom .block-title {
  color: white;
}

.bottom a {
  color: white;
  padding-top: 10px;
}

.view-tweets {
  padding-left: 10px;
}

.view-tweets .views-row  {
  padding: 5px 0px 10px 10px;
  display: inline;
}

.view-tweets img {
  width: 40px;
  height: 40px;
  float: left;
  padding: 0;
  padding-right: 10px;
}

.view-tweets .view-content {
  clear: both;
}

/* Footer */

footer.footer {
    background-color: #003262;
    color: white;
    padding-top: 5px;
    margin-top: 0px;
    border-top: none;
}

img.footer-logo {
    padding-top: 20px;
}

footer.footer h2 {
    color: white;
    font-size: 1.2em;
    font-weight: 500;
}

footer.footer a {
    color: white;
}

footer.container-fluid {
    max-width: none;
}

footer ul {
  padding: 5px;
}

footer ul li {
  list-style: none;
  margin: 0;
  padding: 3px 0 2px 0;
  clear:both;
}

/* Slideshow gallery view */
.slideshow-gallery tr.odd, tr:nth-child(2n+1) {
    background-color: transparent;
}

.slideshow-gallery table, 
.slideshow-gallery td, 
.slideshow-gallery th {
    vertical-align: top;
    border: 0;
    padding: 0 7px 10px 7px;
}

.slideshow-gallery tr {
    border-bottom: 1px solid #ccc;
}

/*Directory*/

table.directory_detail {
	padding: 0;
	border: 0;
  width: 70%;
}

table.directory_detail tbody {
	border: 0;
}

/* Directory Lists */

table.directory-list {
    width: "90%";
}

.directory-list th {
    background-color: #999;
    color: white;
    border-bottom: 1px solid #ccc;
}

.directory-list tr.odd {
    background-color: #dedede;
}

.directory-list td, th{
    padding: 3px;
}

/* Image captions */
.caption {
	border:1px solid #ECEAE4;
	margin: 0.6em;
	padding: 0.6em;
	background-color:#F0EEE8;
}

.caption img {
	vertical-align:middle;
	margin-bottom:2px;
}

.right { 
	margin: 0.5em 0pt 0.5em 0.8em; 
	float:right;
}

.left { 
	margin: 0.5em 0.8em 0.5em 0; 
	float:left; 
}

.caption p {
  text-align: left;
  font-size: 80%;
  font-family: Helvetica, Arial, Verdana, san-serif;
  color:#999;
}

.clear{
  clear:both;
}

/* Grad News block */
.news-block .views-field-title a {
    font-size: 1.1em;
    font-weight: 600;
}

.news-block .views-row {
    margin-bottom: 10px;
}

/*Faculty Research Pages*/
.node-faculty-research-page .field-name-field-image {
    float: right;
    padding: 0 10px 10px 20px;
}
  
.node-faculty-research-page h2.field-label {
    font-size: 1.2em;
    margin-bottom: 5px;
}

/*Faculty research page index view */
.view-faculty-research-index span.views-field-title {
    font-weight: bold;
  }
  
.view-faculty-research-index div.views-row {
    margin-top: 8px;
}

/* Tables with cell borders */

table.cell-borders td,
table.row-borders tr {
    border: 1px solid #ccc;
}

/* Article images */
.node-article .field-name-field-image img,
.node-content .field-name-field-image img {
    float: left;
    padding: 3px;
    margin: 0;
    margin-right: 20px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
}

.node-content figure {
    display: inline;
}

.node-content .field-name-field-image div {
    display: inline;
}

div.field-name-field-image {
    display: inline;
}

.frontpage-news .views-field-field-image img {
    float: left;
    padding: 0;
    margin: 0;
    margin-right: 5px;
    margin-bottom: 5px;
    border: 1px solid #ccc;
}

.directory_image {
    float: right;
    width: 150px;
    border: 1px solid #aaaaaa;
    padding: 3px;
    background-color: #eaeaea;
}

/*Google Search Results page*/
.gsc-control-cse table,
.gsc-control-cse tbody,
.gsc-control-cse tr,
.gsc-control-cse td {
  border: none;
}

.gsc-control-cse {
  padding-top: 0;
}

.gsc-webResult {
  margin-bottom: 0;
}

.gsc-webResult table {
  margin: 0;
}

/*Tablesorter on courses page */
.tablesorter-default .header,
.tablesorter-default .tablesorter-header {
  background-image: url(data:image/gif;base64,R0lGODlhFQAJAIAAACMtMP///yH5BAEAAAEALAAAAAAVAAkAAAIXjI+AywnaYnhUMoqt3gZXPmVg94yJVQAAOw==);
  background-position: center right;
  background-repeat: no-repeat;
  cursor: pointer;
  white-space: normal;
  padding: 4px 20px 4px 4px;
}
.tablesorter-default thead .headerSortUp,
.tablesorter-default thead .tablesorter-headerSortUp,
.tablesorter-default thead .tablesorter-headerAsc {
  background-image: url(data:image/gif;base64,R0lGODlhFQAEAIAAACMtMP///yH5BAEAAAEALAAAAAAVAAQAAAINjI8Bya2wnINUMopZAQA7);
}
.tablesorter-default thead .headerSortDown,
.tablesorter-default thead .tablesorter-headerSortDown,
.tablesorter-default thead .tablesorter-headerDesc {
  background-image: url(data:image/gif;base64,R0lGODlhFQAEAIAAACMtMP///yH5BAEAAAEALAAAAAAVAAQAAAINjB+gC+jP2ptn0WskLQA7);
}
.tablesorter-default thead .sorter-false {
  background-image: none;
  cursor: default;
  padding: 4px;
}

.tablesorter .filtered {
  display: none;
}

/* filter row */
.tablesorter-filter-row td {
  background: #eee;
  line-height: normal;
  text-align: center; /* center the input */
  -webkit-transition: line-height 0.1s ease;
  -moz-transition: line-height 0.1s ease;
  -o-transition: line-height 0.1s ease;
  transition: line-height 0.1s ease;
}
/* optional disabled input styling */
.tablesorter-filter-row .disabled {
  opacity: 0.0;
  filter: alpha(opacity=0);
  cursor: not-allowed;
}

/* filters */
.tablesorter-filter {
  width: 95%;
  height: inherit;
  margin: 3px;
  padding: 3px;
  background-color: #fff;
  border: 1px solid #bbb;
  color: #333;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: height 0.1s ease;
  -moz-transition: height 0.1s ease;
  -o-transition: height 0.1s ease;
  transition: height 0.1s ease;
}

/* collapsed arrows for tablesorter child rows */
tr.tablesorter-hasChildRow td .collapsed i {
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 6px solid #555;
  border-right: 0;
  margin-right: 10px;
}

tr.tablesorter-hasChildRow td i {
  width: 0;
  height: 0;
  display: inline-block;
  border-top: 6px solid #555;
  border-bottom: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  margin-right: 5px;
  user-select: none;
  -moz-user-select: none;
}

.hidden {
  display: none;
}

tr.tablesorter-childRow {
  background-color: #efefef;
}

.nowrap {
  white-space: nowrap;
}

/* multi column layouts */
table.twocolumn, table.threecolumn, table.fourcolumn, table.fivecolumn {
  padding: 0;
  border: 0;
  width: 100%;
}

table.twocolumn tbody,
table.twocolumn tbody tr,
table.threecolumn tbody,
table.threecolumn tbody tr,
table.fourcolumn tbody,
table.fourcolumn tbody tr,
table.fivecolumn tbody,
table.fivecolumn tbody tr {
  border: 0;
}

table.twocolumn tbody tr.even, 
table.twocolumn tbody tr:nth-child(2n+2),
table.threecolumn tbody tr.even, 
table.threecolumn tbody tr:nth-child(2n+2),
table.fourcolumn tbody tr.even, 
table.fourcolumn tbody tr:nth-child(2n+2),
table.fivecolumn tbody tr.even, 
table.fivecolumn tbody tr:nth-child(2n+2) {
  background-color: #ffffff;
}

table.twocolumn td {
  border: 0;
  width: 50%;
}

table.threecolumn td {
  border: 0;
  width: 33%;
}

table.fourcolumn td {
  border: 0;
  width: 25%;
  vertical-align: top;
}

table.fivecolumn td {
  border: 0;
  width: 20%;
  vertical-align: top;
}



/* Basic responsive*/
table.table-responsive {
  padding: 0;
  border: 0;
  width: 100%;
}

table.table-responsive tbody,
table.table-responsive tbody tr {
  border: 0;
}

table.table-responsive tbody tr.even, 
table.table-responsive tbody tr:nth-child(2n+2) {
  background-color: #ffffff;
}

table.table-responsive td {
  border: 0;
}

/* Grad Alumni Profile Index Page */
.view-grad-alumni-profiles table, 
.view-grad-alumni-profiles tbody, 
.view-grad-alumni-profiles tr,
.view-grad-alumni-profiles td,
.view-alumni-profiles table, 
.view-alumni-profiles tbody, 
.view-alumni-profiles tr,
.view-grad-alumni-profiles td, {
	view-alumni-profiles:#fff;
}

.view-grad-alumni-profiles img,
.view-alumni-profiles img {
    margin-left: auto;
    margin-right: auto;
}
  
.view-grad-alumni-profiles td,
.view-alumni-profiles td {
  text-align: center;
  width: 20%;
  vertical-align: top;
}

.view-grad-alumni-profiles .views-field-field-lab-affiliation {
	margin-bottom: 20px;
}

.view-grad-alumni-profiles tr:nth-child(2n+2) {
	background-color: #ffffff;
}

.view-grad-alumni-profiles .views-field-title,
.view-alumni-profiles .views-field-title {
	font-size: 1.2em;
	font-weight: bold;
}

.page-grad-people-alumni-profiles .view-grad-alumni-profiles h1 {
  text-align: left;
}

.node-grad-alumni-profile .field-items {
  padding-bottom: 10px;
}

.view-grad-alumni-profiles tr:nth-child(2n+2) {
  background-color: #ffffff;
}

.view-grad-alumni-profiles .views-field-title,
.view-alumni-profiles .views-field-title {
  font-size: 1.2em;
  font-weight: bold;
}

.page-grad-people-alumni-profiles .view-grad-alumni-profiles h1 {
  text-align: left;
}

#block-views-grad-alumni-profiles-block-1 .view-grad-alumni-profiles td {
  text-align: left;
}

#block-views-grad-alumni-profiles-block-1 .views-field-field-lab-affiliation {
  margin-bottom: 0px;
}

#block-views-grad-alumni-profiles-block-1 .view-footer {
  padding-left: 7px;
}

.view-alumni-profiles table {
    table-layout: fixed;
}

.view-alumni-profiles .views-field-field-image img {
  display: block;
  width: 75%;
}

/* Postdoc Profile Index Page */
.view-postdoc-profiles table, 
.view-postdoc-profiles tbody, 
.view-postdoc-profiles tr,
.view-postdoc-profiles td {
  border: 0;
}

.view-postdoc-profiles td {
  text-align: center;
  width: 25%;
  vertical-align: top;
}

.view-postdoc-profiles .views-field-field-lab-affiliation {
  margin-bottom: 20px;
}

.view-postdoc-profiles tr:nth-child(2n+2) {
  background-color: #ffffff;
}

.view-postdoc-profiles .views-field-title {
  font-size: 1.2em;
  font-weight: bold;
}

.view-postdoc-profiles .views-field-field-image img {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 50%;
}

.view-postdoc-profiles .views-exposed-form {
  margin-bottom:  20px;
}

.node-postdoc-profiles .field-name-body {
  margin-top:  40px;
}

.node-postdoc-profiles h2.field-label {
  font-size: 1%;
  color: #5c5c5c;
}

/*Student Perspectives Page*/
.node-grad-student-perspective img,
.node-undergraduate-perspective img {
  float: right;
  background: none repeat scroll 0 0 #274969;
    border: 1px solid #274969;
    margin-left: 5px;
    margin-bottom: 5px;
    padding: 2px;

}

.node-grad-student-perspective .field-name-field-class,
.node-grad-student-perspective .field-name-field-division,
.node-grad-student-perspective .field-name-field-secondary-division,
.node-grad-student-perspective .field-name-field-mentor-lab,
.node-undergraduate-perspective .field-name-field-class,
.node-undergraduate-perspective .field-name-field-emphasis {
  font-size: 1.3em;
  font-weight: bold;
  color: #000;
}

.node-grad-student-perspective figure.clearfix::after,
.node-undergraduate-perspective figure.clearfix::after {
  clear: none;
}

.node-grad-student-perspective .field-name-body,
.node-undergraduate-perspective .field-name-body {
  margin-top: 10px;
}

/*Student Perspectives List*/
.view-grad-student-perspecitives .views-row,
.view-undergraduate-perspectives .views-row {
  display: block;
  clear:both;
  margin: 10px 0;
}

.block-main .view-grad-student-perspecitives .views-field-title,
.block-main .view-undergraduate-perspectives .views-field-title {
  font-size: 1.4em;
    font-weight: bold;
    padding-top: 25px;
}

.block-main .view-grad-student-perspecitives .views-field-field-class,
.block-main .view-undergraduate-perspectives .views-field-field-emphasis,
.block-main .view-undergraduate-perspectives .views-field-field-class {
  font-size: 1.2em;
    font-weight: bold;
}

.block-main .view-grad-student-perspecitives img,
.block-main .view-undergraduate-perspectives  img {
  float: left;
  margin: 5px 10px 15px 0;
  padding: 5px;
  background: none repeat scroll 0 0 #ededed;
    border: 1px solid #e1e1e1;
}

/*Student Perspectives Block*/

.view-grad-student-perspecitives .views-field-title,
.view-undergraduate-perspectives .views-field-title {
  font-size: 1.1em;
    font-weight: bold;
}

.view-grad-student-perspecitives .views-field-field-class,
.view-grad-student-perspecitives .views-field-field-division,
.view-grad-student-perspecitives .views-field-field-mentor-lab,
.view-undergraduate-perspectives .views-field-field-class,
.view-undergraduate-perspectives .views-field-field-emphasis {
  font-size: 1.0em;
    font-weight: bold;
}

.view-grad-student-perspecitives .view-footer,
.view-undergraduate-perspectives .view-footer {
  margin-top: 10px;
}

/*--- Department News View --*/


.view-department-news .views-row {
    margin-top: 30px;
}

.view-department-news .views-field-title a,
.view-department-news .views-field-title a:link,
.view-department-news .views-field-title a:visited,
.view-grad-news .views-field-title a,
.view-grad-news .views-field-title a:link,
.view-grad-news .views-field-title a:visited {
    font-size: 1.4em;
    font-weight: bold;
    color: #274969;
    text-decoration: none;
    padding-top: 20px;
}

.view-department-news .views-field-body a:link,
.view-department-news .views-field-body a:visited,
.view-grad-news .views-field-body a:link,
.view-grad-news .views-field-body a:visited {
  color: #274969;
}

.view-department-news .views-field-body,
.view-grad-news .views-field-body {
  padding-top: 5px;
}

.view-department-news .views-field-body p {
  display: inline;
}

.view-department-news .views-field-field-news-image img,
.view-grad-news .views-field-field-news-image img {
  float: left;
  margin-right: 20px;
  margin-bottom: 30px;
}

.view-department-news .views-field-created,
.view-grad-news .views-field-created {
  font-style: italic;
  padding: 5px 0 5px 0;
}

.view-department-news .views-row {
    clear: both;
}

.view-department-news .views-field-body img {
    display:  none;
}

/* Directory Module */

table.directory_detail {
  border: 0px;
  width: 850px;
}

table.directory_detail td {
  word-wrap:break-word;
}

table.datagrid td,th {
  border: 1px solid #eaeaea;
}

.directory_image {
  float: right;
  max-width: 250px;
  border: 1px solid #aaaaaa;
  padding: 3px;
  background-color: #eaeaea;
}

.node-article .field-name-field-image {
  float: left;
  border: 1px solid #dedede;
  margin: 3px 10px 10px 0px;
  padding: 3px;
}

/* Photo Credits */
.field-name-field-photo-credit,
.photo-credit {
  font-style: italic;
  font-size: 0.9em;
  clear: both;
  padding-top: 20px;
}

/* Figure captions */
figure {
  padding: 4px;
  margin: auto;
}

figure img {
  width: 100%;
  border:  1px solid #cccccc;
}

.figure-right {
  margin-left:10px; 
  float:right; 
  width: 40%
}

.figure-left {
  margin-right:10px; 
  float:left; 
  width: 40%
}

figcaption {
  font-size: 0.9em;
  font-style: italic;
  padding: 5px;
  text-align: left;
}

@media only screen and (max-width:580px) {
.view-grad-alumni-profiles td {
    padding: 3px 5px;
  }
  
  .view-grad-alumni-profiles img {
    transform: scale(0.7);
  }

  .view-grad-alumni-profiles .views-field {
    font-size: 0.8em;
  }

  .view-grad-alumni-profiles .views-field-title {
    font-size: 1.0em;
  }

  table.table-responsive,
  table.twocolumn-responsive,
  table.threecolumn-responsive {
    display: block;
  }
  
  .table-responsive td, 
  .table-responsive tr,
  .twocolumn-responsive td, 
  .twocolumn-responsive tr,
  .threecolumn-responsive td, 
  .threecolumn-responsive tr,
  .fourcolumn-responsive td, 
  .fourcolumn-responsive tr ,
  .fivecolumn-responsive td, 
  .fivecolumn-responsive tr  { 
    display: block !important;
  }

  .table-responsive td,
  .twocolumn-responsive td,
  .threecolumn-responsive td,
  .fourcolumn-responsive td,
  .fivecolumn-responsive td { 
    width: 100% !important;
    margin-bottom: 15px;
    clear: both;
  }
}

/* Code for smaller screens */
@media only screen and (min-width:768px) and (max-width:900px) {
    .sf-menu.sf-style-default a,
    .sf-menu.sf-style-default a:visited,
    .sf-menu.sf-style-default span.nolink {
        font-size: 1em;
    }

    #page-header h1 a,
    #page-header h1 a:active {
        font-size: 38px;
    }

    ul.secondary {
        font-size: 12px;
    }
}

@media only screen and (min-width:768px) and (max-width:820px) {
    #search {
        width: 250px;
        background: none;
    }

    #search form {
        margin-left: 0px;
    }

    .navbar-default .navbar-brand {
        font-size: 14px;
    }

    ul.secondary {
        font-size: 11px;
    }

}

@media only screen and (max-width:767px) {
	#header {
	  display: none;
    }
    
    #page-title h1 {
        display: block;
    }

    #search form {
        margin-left: 0px;
    }
    
    #search {
        height: 65px;
        width: 390px;
        float: left;
        padding-top: 7px;
        padding-right: 10px;
        margin-top: 0px;
        background: none;
    }

    .navbar-default .navbar-brand {
      font-size: 13px;
      font-stretch: semi-condensed;
    }

    .view-tweets .views-row  {
      display: block;
    }

    #division-list {
      padding-left: 0;
    }

    .fivecolumn-responsive td, 
    .fivecolumn-responsive tr  { 
      display: block !important;
    }

    .fivecolumn-responsive td { 
      width: 100% !important;
      margin-bottom: 15px;
      clear: both;
    }
}