/* Responsive layout - makes a one column layout instead of a two-column layout */
@media (max-width: 1100px) {

  .header-container{
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .header-container{
    flex-direction: row;
  }
}
/**********************************************************/
body{
    font-size: .9rem;
}

a{
   color: #900;
}

ul.page-tabs li.active-page-tab a, ul.page-tabs li a:hover {
   background: #900;
}

body.home-page #main-wrapper{
   padding-top: 0;
}

/*** header-top ***/

.header-top{
   font-size: .7rem;
   background-color: #dddddd;
}

.header-top .header-top-left{
   width: 100%;
   text-align: right;
}
.header-top a{
     color: #900;
}
.header-top #block-externallinks li{
    display: inline;
    border-bottom: none;
    padding: 4px 15px 4px 0;
    border-right: 2px solid #eeeeee;
    margin-right: 5px;
}

.header-top #block-externallinks li:last-of-type{
    border-right: none;
}

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



/**** header *********/
header#header{
    border-bottom: 1px solid #CCC4AD;
}

.site-logo img{
    width: 180px;
    padding-right: 10px;
    border-right: 1px solid black;
    margin-right: 10px;
}

.site-name {
	font-size: 1.6rem;
}

.site-name a,
.site-name a:visited{
    color: #990000;
    text-decoration: none;
}

.site-slogan{
    font-size: 0.9em;
}
.site-slogan a,
.site-slogan a:visited{
    color: #222222;
    text-decoration: none;
}

.site-slogan a:hover{
    color:#990000;
}

.search-icon {
	font-size: .7rem;
  padding: 10px 0 10px 10px;
}
/******************************/




/*** main-menu ***/
.region-primary-menu .menu{
	font-size: .9rem;
}




@media (min-width: 768px) {
  ul.main-menu ul.submenu li {
    width: 330px;
  }
}

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

/*** mobile-menu *****/

.mobile-menu span{
	background: #900;
}
/**********************/


/*** slideshow image ***/

#block-views-block-slideshow-block-1 .views-field-field-images .field-content img.image-field{
width: 1170px;

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



.page-title-wrap h1.page-title{
   margin-bottom: .6em;
}

/*** research ***/

body.research .views-field-field-image{
   float: left;
   margin: 0 30px 0 0;
}

body.research div.research-project:nth-child(even) .views-field-field-image{
   float: right;
   margin: 0 0 0 30px;
}

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



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


/**** publications ***/

body.publications .views-element-container header{
   margin-bottom: 2em;
}

body.publications ul{
   list-style: none;
   padding-left: 0;
}

body.publications li{
   padding 12px 0;
}

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

/*** people ***/

body.people .views-field-field-image{
   float: left;
   margin-right: 30px;
}

body.people .views-field-title h3{
   font-size: 1.3em;
   margin-top: 0;
   margin-bottom: 0;
}

body.people .views-field-field-position{
   margin-bottom: .5em;
}



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


/*** footer ***/

footer h1,
footer h2,
footer h3,
footer h4,
footer h5{
    color: #eeeeee;
}

#footer{
    background: #444;
    color: #eeeeee;
    position: relative;
}

.footer .block-title{
    color: #eeeeee;
    border-left: 2px solid #999;
}

footer a, 
footer a:visited{
    color: #eee;
    text-decoration: underline;
}

footer a:hover{
    color: #ee4a4a;
    text-decoration: underline;
}

.footer .container{
  max-width: 100%;
  padding: 0;
}
section.footer-blocks,
.footer-bottom{
  max-width: 1170px;
  margin: 0 auto;
}

section.footer-bottom-middle{
  border-top: none;
  background: #232323;
  display: block;
  text-align: center;
}


.footer li{
    border-bottom: none;
}

footer nav#block-useraccountmenu li{
    display: inline;
    border-bottom: none;
    padding: 4px;
    border-right: 1px solid #bbb0a1;
    margin-right: 8px;
}

footer nav#block-useraccountmenu li:last-of-type{
    border-right: none;
}


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

/***** ImageField Slideshow *******/

.imagefield_slideshow-wrapper{
	padding: 0 !important;
  margin: 0 !important;
  width: 100%;
  border: none !important;
}

.imagefield_slideshow-wrapper img{
	width: 100%;
	height: auto;
}
/*********************************/