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

    .brand.logo {
    margin-bottom: 18px;
}
}


@media only screen and (min-width: 670px){

}

@media only screen and (max-width: 670px){
    .region-sidebar-first{
        padding: 0 30px;
    }

}

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

  .region-primary-menu, .menu-base-theme li a {
    background: #73563e;
    color: #eee;
  }

}


@media only screen and (max-width: 540px){
  #wrapper .container{
	  padding-left: 1rem;
	  padding-right: 1rem;
  }
  header.main-header{
     text-align: center;
  }
  .site-name{
    width: 100%;
  }
  .site-name a{
    height:auto;
    line-height: normal;
    color: #5e4530;
  }

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

@media (min-width: 768px) {
  .col-md-3 {
    flex: unset;
    max-width: 100%;
  }
}

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



body{
    -moz-osx-font-smoothing: grayscale;
    font-family: 'Fakt Pro', sans-serif;
/*    font-size:16px;
    font-size: 1.6rem; */
    line-height: 1.5;
    color: #000000;
}


.site-branding{
    float: left;
}

.site-branding__slogan{
    font-size: 20px;
    letter-spacing: 1px;
    color: #222;
}


a{
  color: #990000;
}
a:hover{
    color: #6d0303;
}

/*
.region-content{
	   padding: 0 30px;
}
*/

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

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

.region-primary-menu{
	margin-top: 0;
}

.region-sidebar-first h2,
.region-sidebar-second h2{
    color: #eee;
    margin-top: 0;
    background: #029ea6;
    padding: 15px 15px 12px 17px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 700;
}

.region-sidebar-first .node h2,
.region-sidebar-second .node h2{
    background: none;
    padding: 0;
    font-size: 16px;
    font-weight: 700;
    text-transform: none;
    letter-spacing: 0;
    margin-bottom: 4px;
}


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


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

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

.logo img {
    width: 250px;
}


.site-name a{
    font-size: 40px;
    font-weight: 700;
    color: #990000;

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

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




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

figure.flanagan-photo{
    float: left;
    padding: 5px;
    color: white;
    margin: 40px;
    background-color: white;
}

figure.flanagan-photo figcaption{
    text-align: center;
    font-size: 12px;
}


.navbar-header.col-md-12{
	padding-left: 0;
	padding-right: 0;
}



/*** search ***/

.block-search{
  width: 200px;
}
.block-search input[type="submit"]{
    font-weight: normal;
}
/*** search END ***/



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

.main-menuwrap{
  width: 100%;
  max-width: 100%;
  margin-bottom:0;
}
.navbar{
   margin-bottom: 20px;
}

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

.menu-base-theme,
.menu-base-theme li a{
	background: #73563e;
}

.menu-base-theme li a{
  color: #eeeeee;
  letter-spacing: 1px;
}

.menu-base-theme a:focus,
.menu-base-theme a:active,
.menu-base-theme > li a:hover,
.menu-base-theme li.active a,
.menu-base-theme li a.is-active{
  background: #272727; /* #029ea6 */
  color: #FFF;
}
.menu-base-theme li a:hover{
  background: #333333;
}

.menu-base-theme a span.sub-arrow{
  border-style: solid;
}


.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: 1170px;
   text-transform: uppercase;
}
/*** menu ENDS ****************************/


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


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



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

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

.people-view-col {
    min-height: 350px;
    margin-right: 40px;
    width: 180px;
}

.people-view-col .views-field-field-photo{
    margin-bottom: 11px;
}


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

.people-view-col .views-field-title{
    font-weight: 700;
    font-size: 120%;
}

.people-view-col .views-field-title h2,
.people-view-col .views-field-title h3{
    margin-top: 0;
}

.people-view-col .views-field-field-position-text{
    color: #208388;
}

.alumni-row td{
    padding: 8px 20px 5px 0;
}


/*** people END ***/




/****** Equipment *****/

.view-equipment .views-row{
    display: block;
    overflow: auto;
    margin-bottom: 25px;
}

.view-equipment .views-field-field-image{
    float: left;
    margin-right: 25px;
}

.view-equipment .views-field-field-image a.colorbox img{
    border: 1px solid #900;
    padding: 1px;
}

.view-equipment .views-field-title h2,
.view-equipment .views-field-title h3{
    margin-top: 0;
}

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




/*** button overwrite ***/

.btn,
input[type="submit"] {
  color: white;
  background: #900;
  margin-bottom: 20px;
  border: 1px solid #900;
}

header a.btn{
    margin-bottom: 10px;
}

.btn.edit-slideshow{
    margin-top: -15px;
}
.btn.edit-slideshow a{
    color: #333333;
}
header a.btn:hover,
.btn.edit-slideshow a:hover{
    color: #990000;
}


/*** button overwrite END ***/

/*** research ***/


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

/*** photo album STARTS ***/
/*
.field--name-field-photos .field__item{
    border: 1px solid #900;
    float: left;
    margin: 6px;
    padding: 1px;
}
*/

.field--name-field-photos{
    margin-bottom: 12px;
}
/*** photo album ENDS ***/

/*** colorbox ***/

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

/*** news ***/

.node--type-news .field--name-field-date{
    font-weight: 700;
}

.view-news h2{
    margin-bottom: 8px;
}


.view-news .views-row{
    border-bottom: 1px solid #999;
    padding-bottom: 35px;
    margin-bottom: 35px;

}

#block-views-block-news-block-1 .views-row{
    border-bottom: 2px solid #777777;
    padding-bottom: 0;
    margin-bottom: 25px;
}
#block-views-block-news-block-1 .views-row:last-child{
    margin-bottom: 0;
}
#block-views-block-news-block-1 .node__links{
    margin-top: -15px;
}

#block-views-block-news-block-1 ul.inline li{
    padding: 0;
}

#block-views-block-news-block-1 .more-link{
   * margin-top: -20px;
    font-weight: 700;
}



/*** news ENDS ***/


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

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

/*** footerwidget ****/

.footerwidget a{
	color: #999999;
}

.footerwidget a:hover{
	color: #ffffff;
}



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



/*** footer ***/

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

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

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


.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  ul.menu{
   list-style: none outside;
   background: #3C3B3B;
   padding: 5px 14px;
   margin:0;
}

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



.footer-menu .menu li{
   background: none;
   margin:0;
   padding:0;
}
.footer-menu a{
   color: #777;
}

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


/*** footer END ***/

/*** copyright START ***/

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

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


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

}

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


/**** FAQ ****/

.field--type-faqfield .field__item summary.faqfield-question{
    color: white;
    background: #444444;
    font-weight: 700;
    padding: 10px;
}

.field--type-faqfield .faqfield-answer{
    padding: 12px;
    border: 1px solid #888888;
}

.field--type-faqfield .faqfield-answer img{
    border: 1px solid #cccccc;
}

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

