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

  .brand.logo {
    margin-bottom: 18px;
  }
  .navbar,
  .menu-base-theme li a{
    color: #ffffff;
    background: #272727;
  }
  .navbar-header.col-md-12{
  	padding-left: 0;
  	padding-right: 0;
  }
  .sidebar{
    margin: 10px 25px;
  	
  }
  .container{
  	max-width: 100%;
  }
  .footerwidget,
  .footer-menu,
  .copyright{
    padding: 25px;
  	
  }

}


@media (min-width: 767px){
  .menu-base-theme a span.sub-arrow {
    top: 23px;
    border-width: 5px;
    right: 16px;
    left: auto;
    border-color: #fff transparent transparent transparent;

  }
  .container{
    padding-left: 0;
    padding-right: 0;
}
/********* Video and Contact Us blocks on front page *************/
#block-views-block-video-block-1{
	float: left;
	width: 49%;
}
#block-contactus{
	float: right;
	width: 49%;
}

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


@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__slogan{
   font-size: 12px;
   text-transform: uppercase;
   letter-spacing: 3px;
}


}


@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{
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  line-height: 1.8em;
  background: white;
  color: #000;
}


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


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

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

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

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

ul{
	margin: 5px 40px;
}
.region-content,
.sidebar{
  font-size: 118%;
}

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


}


header.main-header {
	background-image: url(/sites/tcmp.hms.harvard.edu/files/tcmp-header-bg-5000px-4.jpg);	/**** tcmp-header-bg-5000px.jpg ****/
	padding:0;
	background-color: #000;
	background-position: center;
	background-size: cover;
}

.main-header .container{
	padding:12px;
}

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


.site-name a{

  color: #272727;
}

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




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





/*** search ***/


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

/*** search END ***/



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


nav.block{
  margin-bottom: 0;
}

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

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

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

.main-menuwrap, 
.region-primary-menu,
.menu-base-theme,
.menu-base-theme li a{
	margin-top: 0;
	color: #ffffff;
	background: #333333;
	font-weight: normal;
  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: #990000;
        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-toggle{ /* mobile menu toggle */
		background:#900;
}

.menu-base-theme > li {
  border-left: none;
}
.menu-base-theme > li:first-child,
.menu-base-theme > li {
    background: none;
    padding: 0;
}


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

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


/***** slideshow *****/

.region-highlighted{
	background: #000000;
}

.views-slideshow-controls-bottom .views-slideshow-pager-bullets li{
	background: #555;
}
.item-list ul#widget_pager_bottom_slideshow-block_1{
	margin: 0.75em 0 0.75em 0;
}

.vvjs img{
	width: 100%;
}
.vvjs .nav-dots-numbers{
	color: #777;
}
/**************************/




/*** table ***/
#wrapper .container table{
    width: 100%;
    margin-top: 20px;
}
#wrapper .container table tr th,
#wrapper .container table tr td{
    padding: 5px 10px 5px 0;
}

#wrapper .container table{
	  border-top: 2px solid #272727;
	  border-bottom: 2px solid #272727;
}

#wrapper .container table tr th{
    border-bottom: 2px solid #272727;
}
/**************/

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


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


body.path-people .views-row{
    display: block;
    overflow: auto;
    margin-bottom: 25px;
}

body.path-people h2,
body.path-people h3{
    border-bottom: 2px solid;
    padding-bottom: 5px;
}

body.path-people h3.people-name{
    font-size: 1.4em;
    margin-top: 0;
    margin-bottom: 5px;
    padding-bottom: 0;
    border-bottom: none;
}
body.path-people .views-field-field-description{
    margin-bottom: 20px;
}


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, .button, 
input.button, 
input[type="submit"] {
  color: #fff;
  background: #900;
  border: 1px solid #900;
  border-radius: 4px;
  margin-bottom: 20px;
}

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

/*** button overwrite END ***/

/*** research ***/


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

/*** photo album STARTS ***/
.node--type-photo-album .field--name-field-photos .field__item{
    border: 1px solid #900;
    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;
}
*/

#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{
    background: #222222;
    padding: 15px 25px;
}

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

.field--name-field-address{
	margin-bottom: 15px;
}
/***********************/


/***** 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;
}
#wrapper .container .field--type-tablefield table tr th,
#wrapper .container .field--type-tablefield table tr td{
    padding: 8px 14px;
}

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



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

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


/********* Video and Contact Us blocks on front page *************/

#block-views-block-video-block-1,
#block-contactus{
	background: #eee;
  border-top: 7px solid #900;
  padding: 25px;
  min-height: 500px;
}
#block-views-block-video-block-1 h2,
#block-contactus h2{
	font-size: 24px;
	font-weight: bold;
	color: #900;
	margin-top: 8px;
}

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

/********* Webform *******************/

.form-required::after {
	background-image: none;
	font-size: 1em;
	top: 0;
	padding: 0;
}


legend{
	margin-bottom: 0;
  font-weight: bold;
  color: #555;
  background: #fff;
  width: auto;
  padding: 5px 8px 2px 8px;
  font-size: 17px;
  border: 1px solid #ddd;
}

.form-composite > legend{
	color: inherit;
	background: none;
	border: none;
}

.form-item-special-instructions,
fieldset{
	background: #eee;
	border: 1px solid #ddd;
	padding: 15px;
}
.form-composite > .fieldset-wrapper > .description, 
.form-item .description {
  font-size: inherit;
  color: inherit;
  font-style: inherit;
}

#edit-species-a .form-item,
#edit-species-b .form-item,
#edit-species-c .form-item,
#edit-species-d .form-item,
#edit-species-e .form-item,
#edit-species-f .form-item,
#edit-species-g .form-item,
#edit-species-h .form-item,
#edit-species-i .form-item,
#edit-species-j .form-item,
#edit-species-k .form-item,
#edit-species-l .form-item,
#edit-species-m .form-item,
#edit-species-n .form-item,
#edit-species-o .form-item,
#edit-species-p .form-item,
#edit-species-q .form-item,
#edit-species-r .form-item,
#edit-species-s .form-item,
#edit-species-t .form-item{
	margin-top: 2px;
}
label{
	margin-bottom: 0;
}
/*****************************************/

/****** Contact - People page *********/

.paragraph--type--people-contact-info .field--type-image{
	float: left;
	margin-right: 30px;
}

.paragraph--type--people-contact-info .field--type-image img{
	max-width: 200px;
}

.paragraph--type--people-contact-info .field--name-field-name{
	font-weight: bold;
	font-size: 120%;
}
/**********************************/

address{
	margin-left: 60px;
}