/* --------------------------------------------- 
* i3.wyss.harvard.edu
*
* color: #1cafeb; from wyss.harvard.edu  not suffcient color contrast 
* for regular text on white background - 2.5:1 
* #0f7da9 sufficient color contrast for regular text - 4.63:1
* #129DD3 lighter blue for large text 
-----------------------------------------------*/

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

    .brand.logo {
    margin-bottom: 18px;
}
.main-header .container{
    padding: 0 10px;

}


.main-menuwrap .container{
  padding-left: 15px;
  padding-right: 15px;
}

.navbar,
.menu-base-theme a,
.menu-base-theme li a{
    color: #ffffff;
    background: #272727;
}
.menu-base-theme a:focus{
	  background: #0f7da9;
}
.region-sidebar-first,
.region-content{
    padding: 0 30px;
}

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

}



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


     #block-searchform{
        width: 100%;
    }

  
}

@media (min-width: 767px) {

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

}

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





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



a{
  color: #0f7da9; /* #0f7da9 sufficient color contrast 4.63 for regular text ***/
}
a:hover{
    color: #0a85b6;
}


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

.node__content .field--name-body img{
    padding: 5px 15px;
}

h1, .h1{
    font-size: 34px;
}
h2, .h2{
    font-size: 24px;
}
h3, .h3 {
  font-size: 18px;
  font-weight: bold;
}
h4, .h4 {
  font-size: 18px;
  font-weight: bold;
}
.h1, .h2, .h3, h1, h2, h3{
  margin-bottom: 20px;
}
.region-sidebar-first h2,
.region-sidebar-second h2{
	font-weight: bold;
	text-transform: uppercase;
  color:#ffffff;
  margin-top: 0;
  background: #129DD3; /* #129DD3 lighter blue for large text */
  padding: 15px 20px;
  letter-spacing: 1px;
}

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

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


}
.container{
	padding-left: 0;
  padding-right: 0;
}





.main-header{
  background: #ffffff;
  padding: 20px 0;
	box-shadow: 0 0 14px #333;
}
.main-header .col-md-3 {
  flex: auto;
  max-width: 100%;
}

.brand.logo {
      margin-bottom: 15px;

  
  }

.region-header .brand {
    line-height: normal;

}





.site-name{
  /*  border-top: 4px solid #272727;  */
    width: 100%;
    padding: 14px 0;
}


.site-name a{
    color: #0f7da9;
    letter-spacing: 1px;
    font-size: 30px;
    font-weight: 700;

}

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

.site-branding__slogan{
    color: #272727;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
 }

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

}

/*** block-logos ***/
#block-logos{
    padding-bottom: 12px;
    border-bottom: 4px solid #272727;
    margin-bottom: 5px;
}

.logos {
    text-align: center;
    width: 100%;

}
.logos img{
    margin-right: 28px;
}
.logos img:last-of-type{
    margin-right: 0;
}
/***********************/

/*** search ***/


.block-search{
   width: 270px;
   margin-bottom: 20px;

}

#search-block-form input[type="submit"]{
  text-transform: uppercase;
  font-size: 85%;
}
/*** search END ***/



/*** 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{
	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: #0f7da9;
  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 *****/

.region-highlighted{
  position: relative;
  z-index: -99;
}
.slideshow{
    display: block;
}
.block-views-blockslideshow-block-1 .views-field-title{
    padding: 12px 20px;
    background: #272727;
    color: #eeeeee;
    min-height: 80px;

}

.slide-link a{
    color: #8edbf9;
}

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

/*** page title ***/

#block-page-title h1{
   color: #888;
  font-size: 34px;
}

h1.page-title{
    font-weight: 700;
    margin-top: 25px;
}
/*** page title END ***/


/*** Jssor slider ***/
/*
.slider__caption{
  display: none;
  top:550px;
  left: 0;
  height: 10%;
}
.slider__caption--title{
  font-size: 2em;
  margin: 18px;
}
*/
/*** Jssor slider END ***/


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

/******* People *******/


.view-people .views-field-field-photo{
    float: left;
    margin-right: 25px;
}

/*
.view-people .views-row{
    display: block;
    overflow: auto;
    margin-bottom: 25px;
}
*/
.view-people .views-view-responsive-grid__item{
	margin-bottom: 1em;
}

.view-people h2,
.view-people h3,
.view-people .views-field-title h2,
.view-people .views-field-title h3{
    margin-top: 0;
    font-weight: 700;
}
.view-people .views-field-field-link{
    line-height: 1.5em;
}

.field--name-field-photo{
    float: left;
    margin-right: 25px;
}
.field--name-field-titles{
    margin-bottom: 25px;
    font-style: italic;
}




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{
}
tr.people-alumni td.views-field-field-alumni-email{

}

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



/*** people END ***/


/*** button ***/

.btn, 
input[type="submit"] {
    background: #306ea1;
    border: 1px solid #24557e;
}

.btn a, 
input[type="submit"]{
    color: white;
}

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

/*** button overwrite END ***/

/*** research ***/
.view-research .node--view-mode-teaser .field--name-body{
    display: table;
}



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

/*** photo album STARTS ***/
 .field--name-field-photos .field__item{
    float: left;
    margin: 0 12px 0 0;
}
/*** photo album ENDS ***/

/*** colorbox ***/

a.colorbox img{
    border: 1px solid #0f7da9;
    padding: 2px;
}

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

/*** news, events ***/

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

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

.sidebar .block-views-blocknews-block-1, /* news block */
.sidebar .block-views-blockevents-block-1{ /* Upcoming Events block */
    padding-bottom: 15px;
    border-bottom: 3px solid #129DD3;
    margin-bottom: 15px;
}
.view-events tr,
.view-events .views-row{
    border-bottom: 1px dotted #cccccc;
    margin-bottom: 18px;
}
.view-events tr td{
    vertical-align: top;
}

.view-events td.views-field-field-date-time{
	min-width: 4em;
}

.view-news .views-row{
  margin-bottom: 30px;
}
.view-news .views-field-title h3,
.view-news .views-field-field-date h3{
  font-size: 18px;

  margin-top: 0;
  margin-bottom: 0;
  
}

/*** news, events ENDS ***/


/*** tags ***/
.views-field-field-tags{
    margin-bottom: 8px;
}
.field--name-field-tags{
    /*background: #0a85b6;*/
    background: #47a9d0;
    color: white;
    padding: 5px 10px;

}
.field--name-field-tags a{
    color: white;

}

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



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

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

/*** footerwidget ****/

.footerwidget{
    color: #8F8F8F;  /* contrast on #272727 background - 4.61:1 */
    padding: 25px;
}
.footerwidget a{
    color: #1299CE;
}

.footer-menu{

    line-height: 2em;
}

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

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

.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-walter-footer ul.menu{
   background: #999;
   padding: 12px 14px;
   margin:0;
}

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

/*** copyright START ***/

.copyright{
    color: #8A8A8A;
    background: #222222;
}

.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: 22px;
    margin-bottom: 12px;
}


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

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

.paragraph--type--image-right-50-percent{
    float: right;
    max-width: 585px;
    margin-left: 20px;
}


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


/***** 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: #0f7da9;
}

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

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


/***** image caption ****/
figcaption,
.field--name-field-caption{
    color: #757575;
    font-style: italic;
    padding: 12px 25px 15px 0;
    border-bottom: 1px solid #e5e5e5;
    margin-bottom: 15px;

}
/***********************/


/*** draggable views ***/

tr.draggable td.views-field-field-slideshow{
    width: 150px;
}

a.tabledrag-handle .handle {
    width: 25px;
    height: 25px;
}
/***********************/

