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

    .brand.logo {
      margin-bottom: 18px;
    }
    .menu-base-theme li a,
    .menu-base-theme a:hover,
    .menu-base-theme a:focus, 
    .menu-base-theme a:active, 
    .menu-base-theme a.highlighted{
      background: #181F25;
    }
    .menu-base-theme a span.sub-arrow::before {
    	content: "+";
    }

}

@media only screen and (min-width: 767px){
    .menu-base-theme > li a:hover, 
    .menu-base-theme li.active a, 
    .menu-base-theme li a.is-active {
    background: #990000;
}
}



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

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


}


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

   .site-name a{
      font-size: 26px;
      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;
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  line-height: 1.8em;
}

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


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

h1, .h1{
  font-size: 32px;
}

header.main-header{
  background: white;
  padding: 0;
}

.region-header{
	width: 100%;
}

.site-branding{
	padding: 20px 30px;
}

.logo img{
    width: 250px;
}


.region-sidebar-first h2,
.region-sidebar-second h2{
  color:#FFFFFF;
  margin-top: 0;
  background: #72AC93;
  padding: 12px 15px;
  letter-spacing: 1px;

}

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

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


}

.container{
   width: 100%;
	 max-width: 100%;

}

#wrapper .container{
   overflow: auto;   
}

.main-header{
	box-shadow: 0 0 14px #333;
}


.main-header .container{
	padding: 0;
}

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



.site-name a{
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 30px;
  font-weight: bold;
  color: #900;
}

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



/*** search ***/

#block-walter-search{
  float: right;
  margin: 20px 0 12px 0;
}
#search-block-form{
  width: 200px;
}
#block-walter-search input[type="submit"]{
  color: #369;
  text-transform: uppercase;
}
/*** search END ***/



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

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


.navbar-header{
  padding: 0;
}

.main-menuwrap{
	background: #181F25;
  margin-bottom:20px;
  text-transform: uppercase;
  width: 100%;  
}

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

.menu-base-theme li a{
    color: #EEEEEE;
    font-weight: normal;
}


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

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

.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;
   width: 95%;
}

.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 ****************************/



/*** page title ***/

h1.page-title{
  font-weight: bold;
}
/*** page title END ***/




/*** news ***/


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




/*** footerwidget ****/

.footerwidget{
    padding: 45px 0; /* v.2.0.1 */
}

.footerwidget .block-menu, /* v.2.0.1 */
.footerwidget ul.menu{
    margin-left: 0; 
    margin-bottom: 0;
}

.footerwidget input{
  color: black;
}

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



/*** footer ***/

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

.footer-menu .col-md-6{
  width: 100%;
}

.footerwidget a,
.footer-menu a{
  color: #DDD;
}

.footerwidget a:hover,
.footer-menu a:hover{
  color: #FFF;
}

.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 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 ******/

body.research .field--name-field-components .field__item{
     padding: 10px;
     background: #EEE;
}

.paragraph .field--name-field-title{
    font-weight: bold;
    margin-bottom: 12px;
}

.paragraph--type--text-image-right .field--name-field-image{
    float: right;
    max-width: 380px;
    margin-left: 35px;
}
.paragraph--type--text-image-right .field--type-image img{
    border: 1px solid #EEE;
}

.field--name-field-components > .field__item,
.field--name-field-additional-text{
     margin-top: 6px;
}

.paragraph .field--name-field-description:before{
    content: "";
    display: block;
    overflow: hidden;
    width: 10em;
}
/***********************/


/***** custom blocks ***/
body.lab-fun #block-views-block-photo-gallery-block-1,
body.lab-fun #block-walter-content{
     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;
}

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

}

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

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

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

}

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


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

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

.view-header .btn,
.views-exposed-form input.button,
.views-form .form-actions input.button{
    color: #900;
    border: 1px solid #900;
    border-radius: 4px;
}

.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;
}
.region-content th,
.region-content td{
    padding: 3px 5px;
    border: 1px solid #ddd;    
}

.urgent {
    color: red;
}

.views-field-field-cumulative-field{
    color: green;
    font-weight: 800;
}


/************* brugge view ****/

body.path-brugge .view-filters .form-select-other-wrapper{
    overflow: auto;
    width: 235px;
}

body.path-brugge .view-filters .form-select-other-wrapper .form-item label{
    display: none;
}

body.path-brugge .view-filters .form-item-field-vendor-text-value-op label::before {
    content: 'Vendor ';
    font-weight: 700;
}

body.path-brugge .view-filters .form-item-field-description-value-op label::before{
    content: 'Description ';
    font-weight: 700;
}

body.path-brugge .view-filters .form-select-other-wrapper .form-type-select::before{
    content: 'For Whom?';
    font-weight: 700;
}

body.path-brugge .view-filters .form-select-other-wrapper .form-type-select select{
    margin-top: 5px;
}

body.path-brugge .view-filters .form-select-other-wrapper .form-type-textfield{
    margin-top: 0;
    margin-bottom: 0;
}

body.path-brugge .field--name-field-unit-price{
    width: 95px;
}
body.path-brugge .views-field-form-field-field-unit-price input{
    width: 80px;
}

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


/******************* Moazed, Church views ****************************/

body.path-moazed .view-filters .form-item-field-description-value-op label::before {
    content: 'Description ';
    font-weight: 700;
}


.church-lab-orders td.views-field-field-received-by input.form-autocomplete,
body.path-moazed td.views-field-field-received-by input.form-autocomplete{
	max-width: 150px;
}

.views-field-field-category form label{
	display: none;
}
.views-field-field-category select{
	max-width: 220px;
}

.views-field-field-category form .form-item{
	margin: 0;
}

body.path-moazed-antibodies .view-content .form-textarea-wrapper textarea{
	min-width: 240px;
}
/*****************************************/



/*** form fields ***/

.views-field-form-field-field-quantity input{
  width: 70px;
}
.views-field-form-field-field-unit-price input{
    width: 90px;
}

.views-field-field-date-ordered h4.label,
.views-field-field-date-received h4.label,
.views-field-form-field-field-date-ordered h4.label,
.views-field-form-field-field-date-received h4.label,
body.path-struhl .views-field-field-quantity label,
body.path-struhl .views-field-field-unit-price label,
body.path-struhl .views-field-field-unit-price .field-prefix{
    display: none;
}

.view-content input{
  padding: 2px 5px 0 5px;
}
.views-field-form-field-field-ordered .form-item,
.views-field-form-field-field-received .form-item{
  margin-top:0;
  margin-bottom: 0;
}

.views-entity-form input#edit-actions-submit{
  padding: 10px 30px;
  border: 3px solid red;
  font-size: 120%;
}

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



/*** total field ***/

td.views-field-nothing,
td.views-field-field-views-simple-math-field{
	font-weight: bold;
}

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

th.views-field-field-ordered,
th.views-field-field-received,
td.views-field-field-ordered,
td.views-field-field-received{
	width: 6em;
}
/*
td.views-field-field-ordered time,
td.views-field-field-received time{
	display: block;
	margin-top: -20px;
}


.form-item-field-ordered-value,
.form-item-field-received-value{
  margin-top:0;
  margin-bottom:0;
}
*/
td.views-field-field-po-number label,
td.views-field-field-date-ordered-1 h4.label,
td.views-field-field-date-received-1 h4.label,
td.views-field-field-received-by-1 label,
td.views-field-field-unit-price label,
td.views-field-field-unit-price .field-prefix,
td.views-field-field-grant-rapoport label,
td.views-field-field-description label,
td.views-field-field-moazed-antibody-species label,
td.views-field-field-antibody-box-number label,
td.views-field-field-antibody-storage label{
	display: none;
}
.editablefields-form .form-item-field-ordered-value,
.editablefields-form .form-item-field-received-value,
td.views-field-field-po-number .form-item,
td.views-field-field-date-ordered input,
td.views-field-field-date-ordered-1 input,
td.views-field-field-date-received input,
td.views-field-field-date-received-1 input,
td.views-field-field-received-by .form-item,
td.views-field-field-received-by-1 .form-item,
td.views-field-field-unit-price .form-item,
td.views-field-field-antibody-used-up .form-item{
	margin: 0;
}

td.views-field-field-unit-price input{
	max-width: 105px;
}
td.views-field-field-po-number input{
	max-width: 200px;
}

td.views-field input.button{
	margin: 0;
}
td.views-field-field-grant-rapoport .form-item{
	margin: 0 0 5px 0;
}
/****************************************/

td.views-field-field-description hr{
	margin: 0;
  border-top: 1px solid #ddd;
}

/*** Website unavailable **********/
#block-business-responsive-theme-websiteunavailable{
	padding: 20px 30px;
	color: white;
	background: #222;
	margin-bottom: 0;
}
#block-business-responsive-theme-websiteunavailable a{
	color: #fb4141;
}

/*** User login on front page only *************/

body.front form#user-login-form,
body.front li:has(> a.request-password-link){
	display: none;
}
form#openid-connect-login-form input#edit-openid-connect-client-harvardkey-login{
	border: 2px solid #222;
	border-radius: 10px;
  background: #900;
  color: white;
  padding: 12px 25px;
  font-weight: bold;
  box-shadow: 1px 1px 5px gray;
  letter-spacing: 1px;
}
form#openid-connect-login-form input#edit-openid-connect-client-harvardkey-login:hover{
	background: red;
}

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