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

  .brand.logo {
    margin-bottom: 18px;
  }
  
  .navbar,
  .menu-base-theme li a{
    color: #ffffff;
    background: #272727;
  }
  
  .footerwidget{
    padding: 25px;
  }

.footer-menu,
.copyright{
    padding: 0 25px;
}

}

@media (min-width: 767px) {
	
	.main-header .container .row .col-md-3 {
    flex: none;
    max-width: 100%;
  }
  .menu-base-theme > li a:hover, 
  .menu-base-theme li.active a, 
  .menu-base-theme li a.is-active {
  	background: #990000;
  }

  .main-menuwrap .container{
    padding-left: 0;
    padding-right: 0;
  }
  .menu-base-theme a {
    border: 0;
  }
  .menu-base-theme > li {
    border: 0;
    padding: 0;
  }
  .menu-base-theme a span.sub-arrow {
    top: 23px;
    border-width: 5px;
    border-color: #fff transparent transparent transparent;
    right: 16px;
    left: auto;
  }
  .container {
    padding-left: 0;
    padding-right: 0;
    max-width: 100%;
  }
  
}



@media only screen and (min-width: 540px){
 
 .site-name a{
  font-size: 32px;
}
 
  .brand.logo {
    padding-right: 20px;
    border-right: 2px solid black;
    margin-right: 20px;
}

.site-branding{
    float: left;
}

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


}


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

   .site-name a{
      font-size: 32px;
      height:auto;
      line-height: normal;
  }

     .brand.logo {
       padding-bottom: 10px;
       border-bottom: 2px solid black;
       margin-bottom: 10px;
       padding-right: 20px;
   }

   .site-branding__slogan{

      text-transform: uppercase;
      letter-spacing: 3.5px;
  }
  
}


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




body{
  background: white;
  color: black;
  font-size: 14px;
  -moz-osx-font-smoothing: grayscale;
  font-family: 'Roboto', sans-serif;
  line-height: 1.8em;

}

a{
  color: #900;
}
a:hover{
    color: red;
}
/*
.region-content{
	   padding: 0 30px;
}
*/

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

#block-views-block-latest-results-block-1 h2,
h1, .h1{
    font-size: 32px;
    font-weight: bold;
    
}

blockquote{
    font-size: unset;
}
.region-content,
.sidebar{
  font-size: 118%;
}

.region-sidebar-first h2,
.region-sidebar-second h2{
  color:#dddddd;
  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;


}

.container {
  max-width: 1140px;
}


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

.main-header .container{
	 padding:15px 
}


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

.logo img {
    width: 250px;
}

.region-header .brand{
	color: #000;
}

.site-name a{
    color: #990000;  
    font-weight: bold;
    letter-spacing: 1px;
    line-height: normal;
}

.site-name a:hover{
    color: black;
    text-decoration: none;
}

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







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

nav.block{
  margin-bottom: 0;
}

.region-primary-menu{
	margin-top: 0;
}
.main-menuwrap{
    text-transform: uppercase;
    width: 100%;
    max-width: 100%;
    padding:0;
}


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

.menu-base-theme a{
	font-weight: 700;
	border-bottom: none;
}
ul.menu-base-theme ul{ /* sub-menu border */
    border: 1px solid #888888;
}

.main-menuwrap .menu-base-theme,
.main-menuwrap .menu-base-theme li a{
  color: #ffffff;
  background: #272727;
  letter-spacing: 1px;
}


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


.menu-base-theme a.has-submenu, 
.menu-base-theme a.has-submenu:hover, 
.menu-base-theme a:focus, 
.menu-base-theme a:active,
.menu-base-theme ul li:first-child a.has-submenu:active{
    padding: 13px 36px 13px 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: 1140px;
}

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

.menu-base-theme a span.sub-arrow{
	color: #ffffff;
}

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



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


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




/*** search ***/

.search-block-form{
  float: right;
  margin: 20px 0 12px 0;
}
#search-block-form{
  width: 200px;
}


/*** search END ***/




/*** button overwrite ***/

.btn a{
	color: #ffffff;
}

.btn, 
.button,
input.button,
input[type="submit"] {
	font-weight: 700;
	color: #fff;
  background: #900;
  border: 1px solid #900;
  border-radius: 4px;
  margin-bottom: 20px;
}

.btn:hover, 
.button:hover,
input[type="submit"]:hover {
	color: #ffffff;
  background: #cc0000;
  border: 1px solid #900;
}

/*** button overwrite END ***/




/**** region-footer-first ***/
.region-footer-first a{
    color: #999999;
}

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



/*** footerwidget ****/

.footerwidget{
    padding: 45px 0;
}

.footerwidget a{
	color: #eee;
}

.footerwidget .search-block-form{
	float: none;
}
.footerwidget .block-menu,
.footerwidget ul.menu{
    margin-left: 0; 
    margin-bottom: 0;
}

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



/*** footer ***/

ul.menu {
    list-style: none outside;
}

.footer-menu{
    line-height: 2em;
}

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

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

.footer-menu .menu li{
  background: rgba(0, 0, 0, 0) url("../images/nav-border.png") repeat-y scroll right center;
  margin-right: 12px;
}


.footer-menu .block{
    margin-bottom: 0;
}

/*** footer END ***/

/*** copyright START ***/

.copyright{
  color: #eee;
  font-family: "Libre Franklin",sans-serif;
  font-weight: 700;
}


.copyright p{
	margin:13px 0;

}

/*** 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: 20px;
    font-weight: bold;
    margin-bottom: 12px;
}


.paragraph a.colorbox img{
    float: left;
    margin-right: 20px;
    margin-bottom: 20px;
}


.paragraph table caption{
    color: #272727;
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 5px;
}

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

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

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


/***** custom blocks ***/
body.lab-fun #block-views-block-photo-gallery-block-1{
     max-width: 500px; /* make sure that main content overlay doesn't cover image block */
}

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

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


/*** awards ***/


body.path-awards #wrapper .container{
    width: 98%;
    max-width: 98%;
}

body.path-awards #wrapper .container table{
    width: 100%;
}

body.path-awards table tr th {
    background: #dedede;
    border: 1px solid white;
}

body.path-awards table tr:nth-child(even) { /* adds "zebra stripes" to table rows */
    background-color: #f2f2f2
}

.region-content th, 
.region-content td {
    padding: 10px;
    border: 1px solid #ddd;
}


td.views-field-field-insert,
td.views-field-field-amino-acid,
td.views-field-field-map,
td.views-field-field-notes{
    word-break: break-word;
}
td.views-field-field-markers,
td.views-field-field-notes{
    min-width: 180px;
}

td.views-field-field-description.views-field-field-webpage hr{
  margin-top: 3px;
  margin-bottom: 5px;
  border-top: 1px solid #ccc;
}

td.views-field-field-description.views-field-field-webpage p{
  margin-bottom: 10px;
}

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




/***** view filters *************/

.views-exposed-form {
    background: #eeeeee;
    padding: 5px 20px;
}

.views-exposed-form .form-item {
    float: left;
    margin-right: 0.5em;
}

.views-exposed-form .form-actions {
    clear: none;
}

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

.view-filters .form--inline > .form-item{
    min-height: 85px;
    border: 1px solid white;
    background: #DEDEDE;
    padding: 6px 12px 10px 12px;
}


.view-filters legend{
    font-size: 1em;
    font-weight: 700;
    line-height: 1.8em;
    border-bottom: none;
    margin-bottom: 3px;
    float: left;

}

.view-filters fieldset .form-item{
    margin-top: 0;
    margin-bottom: 0;
}
.view-filters fieldset .form-type-date label{
    display: none;
}

.views-exposed-form select,
.views-exposed-form input[type=text],
.views-exposed-form input[type=date]{
    display: inherit;
    height: 2.5em;
}

.views-exposed-form .form-item-field-areas-value select,
.views-exposed-form .form-item-field-research-areas-target-id select{
  height: inherit;
}


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

.view-content table tr:nth-child(even) { /* adds "zebra stripes" to table rows */
  background-color: #f2f2f2
}

.view-content table tr th{
    background: #dedede;
    border: 1px solid white;
}

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

