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


}


@media only screen and (max-width: 767px){
  
   header.main-header{
     text-align: center;
 }

  .brand.logo {
    width: 100%;
   }
  .brand.logo img{
    padding-bottom: 20px;
    border-bottom: 2px solid black;
    margin-bottom: 20px;

   }
   
  .navbar-header{
   	padding-left: 0;
   	padding-right: 0;
   }
   


  .sidebar{
    margin: 10px 25px;
  }
  .footerwidget,
  .footer-menu,
  .copyright{
    padding: 25px;
  }


}


@media (min-width: 540px){
  .site-branding {
    float: left;
    
  }
  .block-search {
    float: right;
    margin: 10px 0 12px 0;
    
  }

}

@media (min-width: 767px){
  
  
  .brand.logo {
    padding-right: 20px;
    border-right: 2px solid black;
    margin-right: 20px;
  }


  .menu-base-theme a span.sub-arrow {
    top: 23px;
    border-width: 5px;
  }
  .container{
    padding-left: 0;
    padding-right: 0;
    max-width: 100%;
}

.paragraph--type--image-left .field--name-field-image{
  float: left;
  margin-right: 35px;
  margin-bottom: 20px;
  
}

.paragraph--type--image-right .field--name-field-image{
  float: right;
  margin-left: 35px;
  margin-bottom: 20px;
  
}

  .paragraph--type--two-columns{
    display: flex;
  }
  .paragraph--type--two-columns .field--name-field-text-column-1,
  .paragraph--type--two-columns .field--name-field-text-column-2{
    flex: 50%;
  }
  .paragraph--type--two-columns .field--name-field-text-column-1{
    margin-right: 30px;
  }

}



/***************************************/



body{
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  line-height: 1.8em;
  background: white;
}

.region-content {
  font-size: 115%;
}


a{
  color: #900;
}
a:hover{
    color: red;
}


img {
   max-width: 100%;
   height: auto;
}

h1, .h1{
  font-size: 2.4em;
}

h2, .h2{
  font-size: 1.8em;
}

h3, .h3{
  font-size: 1.5em;
}

h4, .h4{
  font-size: 1.2em;
}

.h1, .h2, .h3, h1, h2, h3 {
    margin-top: 10px;
    margin-bottom: 20px;
    font-weight: bold;
}

h1.page-title{
  margin-top: 35px;
}

ol, ul {
  padding-left: 40px;
}


header.main-header {
  background: white;
  padding: 20px 0;
  box-shadow: 0 0 5px #333;
}

.main-header .container{
	padding:12px;
}

.main-header .col-md-3{
  width: 100%;
}

.logo img {
    width: 250px;
  }
  

.site-branding__name{
    margin-bottom: 2px;
}

.site-branding__name a{
  color: #069;
  font-size: 2.8em;
  font-weight: bold;
  line-height: normal;
  letter-spacing: 1px;
}
.site-branding__name a:hover{
  color: #900;
  text-decoration: none;
}

.site-branding__slogan{
  text-transform: uppercase;
  letter-spacing: 2px;
  line-height: normal;
  }
.site-branding__slogan .blavatnik{
  color: #900;
}


.sidebar .field-content p{
    margin: 0 0 5px 0;
}

.region-sidebar-first h2,
.region-sidebar-second h2{
  font-size: 1.4em;
  color:#ffffff;
  margin-top: 0;
  background: #990000;
  padding: 12px 15px;
  letter-spacing: 1px;
}

.region-sidebar-first .node h2,
.region-sidebar-second .node h2{

  background: none;
  padding: 0;
  font-size: 18px;


}




/*** search ***/


#search-block-form{
  width: 200px;
}

/*** search END ***/



/*** menu **************************/

.region-primary-menu{
	margin-top: 0;
}

.main-menuwrap, 
.region-primary-menu, 
.menu-base-theme li a {
  background: #272727;
  color: #EEEEEE;
  font-weight: normal;
  letter-spacing: 1px;
}

nav.block{
  margin-bottom: 0;
}

.main-menuwrap{
    margin-bottom:1px;
    text-transform: uppercase;
    width: 100%;
}


.main-menuwrap nav{
    z-index: 10;
}

ul.menu-base-theme ul{ /* sub-menu border */
    border: 1px solid #888888;
}


.menu-base-theme li a{

}

.menu-base-theme li.active a{
	background: inherit;
}
.menu-base-theme ul a:hover,
.menu-base-theme ul a:focus, 
.menu-base-theme ul a:active, 
.menu-base-theme ul a.highlighted, 
.menu-base-theme > li a:hover,  
.menu-base-theme li a.is-active,
.menu-base-theme li a:hover{
		background: #900;;
        color: #FFFFFF;
}


.menu-base-theme ul a.has-submenu, /* v.2.0.1 */
.menu-base-theme ul a.has-submenu:hover,
.menu-base-theme ul li:first-child a.has-submenu:active{
    padding: 9px 36px 9px 24px;
}



.navbar-default .navbar-toggle{ /* mobile menu toggle */
		background:#222;
		margin-right:5px;
}

.menu-base-theme > li:first-child,
.menu-base-theme > li {
    background: none;
    padding: 0;
}


ul#main-menu{
   margin: 0 auto;
   max-width: 1170px;
}

.menu-base-theme a span.sub-arrow, 
.menu-base-theme ul a span.sub-arrow {
    border-style: solid;
}

.menu-base-theme ul a span.sub-arrow{
    border-color: transparent transparent transparent #cccccc;
}

/*** menu ENDS ****************************/


/***** slideshow *****/
.region-slideshow{
  border: none;
}

/**************************/


#page-title .container,
#wrapper .container{
*  padding: 0 30px;
}



/******* People node, view *******/


body.page-node-type-people .field--name-field-image img,
body.path-people .views-field-field-image img{
  object-fit: cover;
  width: 180px;
  height: 180px;
}

body.page-node-type-people .field--name-field-people-photo,
body.path-people .views-field-field-people-photo{
    float: left;
    margin: 0 25px 10px 0;
    padding: 1px;
}

body.page-node-type-people .people-position,
body.page-node-type-people .field--name-field-links,
body.path-people .people-position{
  margin-bottom: 12px;
}

body.page-node-type-people .field--name-field-links .field__item{
  display: inline;
  margin-right: 12px;
}

body.path-people .views-row{
    display: block;
 /*   overflow: auto; */
    margin-bottom: 45px;
}

.views-field-field-bio{
	margin-top: 1em;
}

.field--name-field-bio button.btn,
.views-field-field-bio button.btn {
  background-image: none;
  background: none;
  border: none;
  color: #900;
  padding: 0;
  margin-top: 5px;
  margin-bottom: 0;
}

.field--name-field-bio button.btn:hover,
.views-field-field-bio button.btn:hover{
  color: red;
}

h3.people-name{
  font-size: 1.5em;
  margin-top: 0;
  margin-bottom: 3px;
}

body.path-people .views-field-title h3{
    font-size: 1.4em;
    margin-top: 0;
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

body.path-people #wrapper .container table tr td{
    border-bottom: 1px solid #eeeeee;
}
body.path-people #wrapper .container table tr th#view-field-year-1-table-column,
body.path-people #wrapper .container table tr td.views-field-field-year-1{
    text-align: right;
    padding: 8px 40px 8px 8px;
}

tr.people-alumni td,
.people-page thead tr th{
	padding: 5px 10px;
	text-align: left;
}
.people-page thead tr th{
     background: #AAA;
     color: #FFF;
     padding: 8px 12px;
}

tr.people-alumni td.views-field-field-alumni-email{

}

tr.people-alumni td.views-field-field-alumni-email img{
     display: inherit;
}


/*** people END ***/




/*** button overwrite ***/

.btn{
  border: 1px solid #999;
  margin-bottom: 20px;
}

/*** button overwrite END ***/

/*** research ***/
body.path-research .region-content .research-image-caption {
  float: left;
  width: 270px;
  padding: 10px;
  color: #EEE;
  background: #272727;
  margin-right: 25px;
  margin-bottom: 25px;
  border: 1px solid #DDD;
}

body.path-research .region-content .enlarge {
  color: #999;
}

/****************/

/*** photo album STARTS ***/
.node--type-photo-album .field--name-field-photos .field__item{
    float: left;
    margin: 6px;
    padding: 1px;
}
/*** photo album ENDS ***/

/*** colorbox ***/

a.colorbox img{
    border: 1px solid #900;
    padding: 1px;
}

#cboxTitle{
    font-size: 18px;
}
/*** colorbox END ***/

/*** news ***/

/*
body.path-news .views-row{
   font-size: 14px;
   line-height: 2em;
}
*/

#block-views-block-news-block-1 .views-field-title,
body.path-news .views-field-title {
    font-weight: bold;
}

.news-view-row{
  margin-bottom: 20px;
}
.news-view-row p{
  margin-bottom: 8px;
}
/*** news ENDS ***/



/*****************************/

/*** footerwidget ****/

.footerwidget{
    padding: 40px;
    background: #333333;
}

.footerwidget a{
  color: #DDDDDD;
}

.footerwidget p{
    margin: 0;
}

.footerwidget ul.menu{
    margin-left: 0;
}

.footerwidget ul.menu li{
    list-style: none;
}

/**********************/



/*** footer ***/

.footer-menu{
    line-height: 2em;
    padding: 15px 25px;
    background: #222;
}
.footer-menu p{
    margin: 0;
}

.footer-menu .col-md-6{
  width: 100%;
}
.footer-menu a{
  color: #999999;
}

.footer-menu a:hover{
  color: #fffff;
}




/*** footer END ***/

/*** copyright START ***/

.copyright{
    color: #888;
    background: #111;
}




/*** copyright ENDS ***/


/******* tooltips *****/



.tooltip {
    position: relative;
    display: inline-block;
    border-bottom: 1px dotted blue;
    opacity: 1;
    z-index: inherit; /* overwrites the bootstrap tooltip class */
    color: blue;

}

.tooltip .tooltiptext {
    visibility: hidden;
    width: 350px;
    background-color: #EEE;
    color: #000;
    text-align: left;
    border: 1px solid #AAA;
    border-radius: 2px;
    padding: 5px;


    position: absolute;
    z-index: 1;
    top: 100%;
    left: 50%;
    margin-left: -175px;
    opacity: 0;
    transition: opacity 0.3s;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
        opacity: 1;
}



/**********************/

/******** paragraphs ******/


.paragraph .field--name-field-subheading{
    font-size: 1.4em;
    margin-bottom: 10px;
    margin-top: 10px;
}


.paragraph--type--images{
    margin: 30px 0;
}

.paragraph--type--images .field__item img{
    float: left;
    margin-right: 20px;
    margin-bottom: 20px;
}


.field--name-field-components > .field__item{
    overflow: hidden;
    margin-bottom: 20px;
}



.paragraph--type--photo-album .field--name-field-images .field__item{
  float: left;
  margin-right: 12px;
  margin-bottom: 20px;
  min-height: 220px;
}


/***********************/


/***** custom blocks ***/


#block-views-block-image-blocks-block-1{
    float: right;
    max-width: 600px;
}
/*************************/


/******* jQuery Accordion ***********/

.ui-state-default,
.ui-widget-content .ui-state-default,
.ui-widget-header .ui-state-default,
.ui-button,
html .ui-button.ui-state-disabled:hover,
html .ui-button.ui-state-disabled:active {
    border: 1px solid #699E87;
    background: #b1d1c2;
    color: #454545;
}



.ui-widget-content a{
    color: #900;
}

.ui-state-active,
.ui-widget-content .ui-state-active,
.ui-widget-header .ui-state-active,
a.ui-button:active, .ui-button:active,
.ui-button.ui-state-active:hover {
    border: 1px solid #447a62;
    background: #699E87;

}

/*************************/


/**** paragraph - table ****/
.field--type-tablefield table{
    width: 100%;
}

.field--type-tablefield table caption{
    font-size: 22px;
    color: #272727;
}

.field--type-tablefield table tr.even{
    background: #eeeeee;
}
.field--type-tablefield table tr td{
    padding: 5px;
    width: 50%;
}

/*************************/

/*** paragraph - 3 tables ***/


/**** external links ***/
svg.ext,
svg.mailto{
    padding-right: 0;
}
svg.ext path, 
svg.mailto path {
    stroke: #900;
}

/***********************/

/**** more link ***/

.more-link {
    text-align: left;
    border-top: 2px solid #990000;
}

/*****************/

/*** exposed views filters ***/

.block-webform-block {
  padding: 5px 18px;
  border: 1px solid;
}

form.webform-submission-form input, 
form.webform-submission-form button, 
form.webform-submission-form select, 
form.webform-submission-form textarea, 
.block-webform-block input, 
.block-webform-block button, 
.block-webform-block select, 
.block-webform-block textarea {
  padding: 5px;
  border: 1px solid;
}

/****************************/



/*** table ***/
#wrapper .container table{
    width: 100%;
}
#wrapper .container table tr th,
#wrapper .container table tr td{
    padding: 5px;
}
#wrapper .container table tr th{
    border-bottom: 2px solid #272727;
}
#wrapper .container table tr td{
  border-bottom: 1px solid #ccc;
}
/**************/

/*** hide the "Reset your password" link ***/

body.path-frontpage .block-user-login-block .item-list{
  display: none;
}
/******************************************/
