@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;
   }

  .sidebar{
    margin: 10px 25px;
  }
  
  .container {
    max-width: 100%;
  }
  
  .footerwidget,
  .footer-menu,
  .copyright{
    padding: 25px;
  }


}




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



  .menu-base-theme a span.sub-arrow {
    border-color: #fff transparent transparent transparent;
  }
  .container{
    padding-left: 0;
    padding-right: 0;
  }

  .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;
}


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


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

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

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

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

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

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

h1.page-title,
h2.alumni-title{
  color: #27638C;
}

.region-content ol,
.region-content ul {
  overflow: hidden;
  padding-left: 40px;
}


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


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

.logo img {
    width: 250px;
  }
  


.site-name a{
  color: #900;
  font-weight: bold;
  line-height: normal;
  font-size: 26px;
  
}

.site-name a:hover{
    color: #27638C;
    text-decoration: none;
}

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

   .site-branding__slogan{
     font-size: 12px;
     text-transform: uppercase;
     letter-spacing: 2px;
  }



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

.region-sidebar-first .block > h2,
.region-sidebar-second .block > h2{
  font-size: 1.6em;
  color:#ffffff;
  margin:0 0 25px 0;
  background: #900;
  padding: 15px 20px;
  text-transform: uppercase;
}

.region-sidebar-first .node h2,
.region-sidebar-second .node h2{
	font-size:1.6em;
  background: none;
  margin:0;
  padding: 0;
}




/*** search ***/


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

/*** search END ***/



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

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

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

nav.block{
  margin-bottom: 0;
}

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


.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 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,
.menu-base-theme li.active a{
		background: #900;;
    color: #FFFFFF;
}
.menu-base-theme ul a:hover,
.menu-base-theme > li a:hover{
	background: #770303;
	color: #FFF;
}

.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;
    border-left: none;
}


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-base-theme a span.sub-arrow::before{
	content: "+";
}

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

/******* ImageField Slideshow *************/

.imagefield_slideshow-wrapper{
	border: none;
  padding: 0;
  margin: 0;
}

/******************************************/
/***** slideshow *****/
.slideshow{
    display: block;
}

.region-slideshow{
  border: none;
}


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

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

*/

body.path-frontpage #wrapper{
  margin-top: 20px;
}

/********* Equipment ***************/

.view-equipment .view-content .views-row{
  margin-bottom: 55px;
}

.view-equipment .views-field-field-image {
  float: left;
  margin-right: 25px;
}

.view-equipment .views-field-title h2 {
  margin: 0;
  font-size: 1.8em;
}

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



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


.view-people .views-field-title h2 {
  font-size: 1.4em;
  margin: 0;
}

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-photo,
body.path-people .views-field-field-photo{
    float: left;
    margin-right: 25px;
    padding: 1px;
    border: 1px solid #444;
}

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

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

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

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-title{
	* text-align: right;
}
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,
input[type="submit"]{
	background: #900;
	margin-bottom: 20px;
	border: 1px solid #7e0707;
	font-size: inherit;
}

.btn:hover,
input[type="submit"]:hover{
	color: white;
	background: #7e0707;
	border: 1px solid #640808;
}

/*********** button overwrite END *************/

/*** research ***/


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

/*** 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;
}
*/

.view-news .views-row h2{
  margin-bottom: 3px;
  
}

.view-news .views-row .field--name-field-date{
	font-weight: bold;
  color: #EEE;
  background: #245575;
  padding: 10px 20px;
}

.view-news .views-row .field--name-body p{
  margin-bottom: 0;
}

.view-news .views-row .node__links ul.inline li{
  padding: 0;
}
#block-views-block-news-block-1 .views-row{
	border-bottom: 5px solid #557f9b;
	margin-bottom: 40px;
}
#block-views-block-news-block-1 .container{
	padding:0;
}

#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 {
  background: #245575;
  padding: 40px;
}



.footerwidget a{
  color: #FFFFFF;
}

.footerwidget p{
    margin: 0;
}

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

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

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



/*** footer ***/


.footer-menu{
    line-height: 2em;
    padding: 0 25px;
    background: #557f9b;
    border-top: none;
}
.footer-menu p{
    margin: 0;
}

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

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




/*** footer END ***/

/*** copyright START ***/


.copyright {
  background: #27638C;
  color: #89a9bf;
  border: none;
}


/*** 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;
}
/******************************************/

/***** intranet *****/

body.path-intranet .container{
    min-width: 97%;
}

.view-content table tr:nth-child(2n) {
    background-color: #f2f2f2;
}


.view-filters{
    background: #EEE;
    padding: 5px 20px;
}

.view-filters .form-text{
	margin-top: 0;
}
.views-exposed-form input[type=text],
.views-exposed-form select{
    display: inherit;
}


.view-content table{
   width: 100%;
}

body.path-intranet .region-content th,
body.path-intranet .region-content td{
    padding: 8px;
    border: 1px solid #DDD;
}

.view-filters label{
	font-weight: bold;
}

.view-filters #edit-field-cell-type-value .form-item label{
    display: none;
}
.view-filters #edit-field-cell-type-value .form-item-field-cell-type-value-select-other-list:before{
    content: 'Cell Type';
    font-weight: 700;
}
.view-filters #edit-field-cell-type-value .form-item-field-cell-type-value-select-other-text-input::before{
    content: 'Cell Type - Other';
    font-weight: 700;
}

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

/**** disable "Delete" tab on the front page node ***/

body.path-frontpage ul.tabs li:last-child{
    display: none;
}

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