@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,
  .menu-base-theme li a{
    color: #ffffff;
    background: #272727;
  }
  
  .menu-base-theme a span.sub-arrow::before {
  content: "+";
}
  .sidebar{
    margin: 10px 25px;
  }
  .footerwidget,
  .footer-menu,
  .copyright{
    padding: 25px;
  }
  
  menu-base-theme a:hover,
  .menu-base-theme a:focus,
  .menu-base-theme a:active,
  .menu-base-theme a.highlighted {
  background: #900;
}


}


@media (min-width: 540px){
  
  


}

@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-size: 13px;
  line-height: normal;
  background: white;
}


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


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

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

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

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-name a{
  font-size: 32px;
  font-weight: bold;
  line-height: normal;
  letter-spacing: 1px;
  color: #272727;
}

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

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

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

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

nav.block{
  margin-bottom: 0;
}

.main-menuwrap{
	font-size: 112%;
  margin-bottom:20px;
  text-transform: uppercase;
  width: 100%;
  padding: 0;
}


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

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


.menu-base-theme li a{
    color: #cccccc;
    font-weight: normal;
    letter-spacing: 1px;
}


.menu-base-theme ul a:hover, /* v.2.0.1 */
.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: #990000;
        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;
}


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 *****/
.slideshow{
    display: block;
}


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

h1.page-title{
  font-size: 32px;
  font-weight: bold;
  margin-top: 10px;
}

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

#wrapper article.node.container{
	margin: 0;
	padding: 0;
}




/*** button ***/

.text-formatted .btn,
.views-exposed-form input.button, 
.views-form input.button {
    background: #ba0e0e;
    border: 1px solid #990000;
    color: #eeeeee;
    border-radius: 5px;
    margin-top: 12px;
    margin-bottom: 12px;
    margin-right: 5px;
    padding: 6px 15px;
}

.view-header .btn,
.btn.blue{ /* blue button */
    background: #306ea1;
    border: 1px solid #24557e;
    color: #eeeeee;
    border-radius: 5px;
    margin-bottom: 12px;
    margin-right: 5px;
    padding: 8px 15px 5px;
}
.view-header .btn,
.btn.blue{ /* blue button */
    background: #306ea1;
    border: 1px solid #24557e;
    color: #eeeeee;
    border-radius: 5px;
    margin-bottom: 12px;
    margin-right: 5px;
    padding: 8px 15px 5px;
}
.view-header .btn:hover{
	background: #900;
  border: 1px solid #7e0303;
}

.view-header .btn a,
.text-formatted .btn a{
    color: #ffffff;
}

 
 
/*** view-filters  ***/


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

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

.view-filters legend {
  font-size: inherit;
  font-weight: 700;
  border-bottom: none;
  margin-bottom: 3px;
  float: left;
}

.view-filters .form-item, .form-actions{
  margin: 0;
}

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


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

input, 
button, 
select, 
textarea {
  padding: 5px;
}


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



/*** colorbox ***/

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

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

/*** news ***/


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

.footerwidget a{
  color: #999999;
}

.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: #3C3B3B;
}
.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: #777;
}




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

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



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

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



/*** table ***/


#wrapper .container{
    width: 98%;
}
#wrapper .container table{
    width: 100%;
}

#wrapper .container table tr th {
    border-top: 3px solid #ccc;
    border-bottom: 3px solid #ccc;
    padding: 10px;
}

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

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


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


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

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


/***** bacteria yeast ****/

.view-content table{
	table-layout: auto;
}

th.views-field,
td.views-field{
*	width: 11.11%;
}
th.views-field-field-serial-number,
td.views-field-field-serial-number{
	width: 5em;
}
td.views-field input{
    width: 100%;
}


.yeast-editable td.views-field .field--name-field-markers input{
    min-width: 30em;
}

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


/***** editable fields *********/

td.views-field label{
	display: none;
}
td.views-field input,
td.views-field textarea{
	line-height: normal;
}
td.views-field textarea{
	height: 5em;
	min-width: 20em;
}
td.views-field input.button {
	color: black;
  font-weight: normal;
  font-size: 85%;
  background: #ddd;
  border: 1px solid #bbb;
  border-radius: 5px;
  margin: 0;
  padding: 0 8px;
  width: auto;
}
td.views-field input.button:hover {
	color: white;
  background: #333;
  border: 1px solid #bbb;
}

td.views-field .form-item{
	margin-top: 0.3em;
	margin-bottom: 0.3em;
}

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

