/*
Theme Name: CS Research Group
Author: School of Computer Science
Description: Customisable theme created for St Andrews CS Research Groups
Version: 2.0.0
Tags: cs, research, st-andrews, computer, responsive-layout, customisable
*/
html,
body {
  height: 100%;
  min-width: 320px
}

body, h1, h2, h3, h4, h5, h6 {
  font-family: 'Open Sans',helvetica,sans-serif;
}

html #wpadminbar {
    min-width: 320px;
}

#primary{
	overflow: hidden;
}

a{
	color: #00529b;
}

.btn-info:hover,
.btn-info{
	background-color: #00529b;
	border-color: #00529b;
}

/*#primary a,
#secondary a {
        opacity: 1;
        -webkit-transition: opacity .2s linear;
        -moz-transition: opacity .2s linear;
        -ms-transition: opacity .2s linear;
        transition: opacity .2s linear;
}*/

.btn-info:hover,
#primary a:hover,
#secondary a:hover {
}

/*a,
a:active,
a:visited,
a:visited:hover,
a:hover {
        -webkit-transition: color .2s linear;
        -moz-transition: color .2s linear;
        -ms-transition: color .2s linear;
        transition: color .2s linear;
}*/

section.main {
  background-color: white;
  width: 100%;
  position: relative;
  min-height: 100%;
  padding-bottom: 1.5rem;
  padding-top: 30px;
}

h1#pagetitle{
  margin-top: 0px
}

#uid {
  display: none;
}

/* Fix for firefox and safari bug on mac. */
.navbar-right > li > a>i.fa {
  line-height: 0.9;
}
p {
/*  max-width: 41rem; */ 
}

#researchoverview p {
  max-width: 100%;
}

ul.nav li.dropdown:hover > ul.dropdown-menu {
    display: block;    
}

@media (max-width: 767px) {
  #primary {
    margin-bottom: 25px;
  }
  #secondary {
    padding-top: 25px;
  }
  .navbar-brand {
    font-size: 0.9em;
    padding-left: 5px;
    padding-right:65px;
    padding-top: 10px;
    overflow: hidden;
  }

}

.fppost img {
    width: 100%;
}

div[id^="post-"] img {
    max-width: 100%;
    height: auto;
}

@media screen and (max-width: 600px) {
	.admin-bar .navbar-fixed-top {
		position: absolute;
	}
}

.admin-bar .navbar-fixed-top {
  top: 32px;
  min-width: 320px;
}

@media screen and (max-width: 782px) {
  .admin-bar .navbar-fixed-top {
    top: 46px;
  }
}

@media (min-width: 1200px) {
	.container {
    		padding-left: 120px;
	}
	.noleftmargin {
    		padding-left: 15px;
	}
}

/*************************************************************************************************************************
 * WORDPRESS CORE
 *************************************************************************************************************************/

.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    float:right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

a img.alignnone {
    margin: 5px 20px 20px 0;
}

a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto
}

.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%; /* Image does not overflow the content area */
    padding: 5px 3px 10px;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

.wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}

/* Text meant only for screen readers. */
.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
}

.screen-reader-text:focus {
  background-color: #f1f1f1;
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  color: #21759b;
  display: block;
  font-size: 14px;
  font-size: 0.875rem;
  font-weight: bold;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000; /* Above WP toolbar. */
}

/*************************************************************************************************************************
 * Navbar
 *************************************************************************************************************************/

.navbar-default {
    color: white;
    border-bottom: none;
    text-transform: none;
    display: inline-block;
    /*-webkit-box-shadow: 0 3px 6px -1px darkgrey;
       -moz-box-shadow: 0 3px 6px -1px darkgrey;
            box-shadow: 0 3px 6px -1px darkgrey;*/

}

.navbar-nav{
    margin: 0 auto;
    padding: 0;
    list-style: none;
    display: inline-block;
    float:none;
    font-weight: 600;
    color:white;
    height: 100%;
    font-size: 1.2em;
}

.nav>li>a {
  padding: 15px 10px 12px 10px;
}

.navbar-default .navbar-toggle .icon-bar {
  background-color: white;
}

.navbar-default .navbar-toggle:hover .icon-bar,
.navbar-default .navbar-toggle:focus .icon-bar {
  background-color: white;
}

.navbar-default .navbar-nav > li > a {
  color: white;
}
.navbar-default .navbar-nav .current_page_item>a:hover,
.navbar-default .navbar-nav .current-page-ancestor>a:hover {
  color: white;
}

.navbar-default .navbar-nav>.active>a {
  color: white;
}

.navbar-default .navbar-nav>li.active>a:hover {
  color: white;
}

.navbar-default .navbar-nav .current_page_item>a:focus,
.navbar-default .navbar-nav .current-page-ancestor>a:focus {
  color: white;
}

.navbar-default .navbar-nav>li>a:hover {
  color: white;
}

.navbar-default .navbar-nav>li>a:focus {
  color: white;
}

.navbar-default .navbar-nav > li.current_page_item > a, 
.navbar-default .navbar-nav > li.current-page-ancestor>a {
  color: white;
  border-bottom: 3px solid white; 
}

.navbar-default .navbar-nav>.open>a, 
.navbar-default .navbar-nav>.open>a:focus, 
.navbar-default .navbar-nav>.open>a:hover {
  color: white;
  background: none;
}
.navbar-default .dropdown-menu {
  color: white;
  text-transform: uppercase;
  text-align: center;
}

.navbar-default .dropdown-menu >li > a{
  color: white;
  font-weight: 400;
}

.navbar-default .dropdown-menu >li > a:hover,
.navbar-default .dropdown-menu >li > a:focus{
  color: white;
  font-weight: 400;
  background: rgb(129,130,132);
}

.navbar-default .navbar-nav .dropdown-menu > li.active > a {
  color: white;
}

.navbar-default .navbar-nav .open .dropdown-menu > li > a {
  color: white;
}

.navbar-default .navbar-nav .open .dropdown-menu > li > a:hover,
.navbar-default .navbar-nav .open .dropdown-menu > li > a:focus {
  color: rgb(129,130,132);
  background-color: white;
}

.uni-logo-image {
  margin-top: 2px;
  /*margin-right: 25px;*/
  margin-bottom: 2px;
  /*width: 38px;*/
  height: 45px;
}

/*.logo-image {
  margin-top: 5px;
  margin-bottom: 5px;
  margin-right: 7px;
  position: absolute;
  bottom: 0;
}*/

.fixed-group-logo {
	width: 100px;
	height: 100px;
	background-size: 100px 100px;
	position: fixed;
    	z-index: 100;
}

.inline-group-logo {
        margin-top: 5px;
	margin-right: 15px;
	width: 100px;
        height: 100px;
        background-size: 100px 100px;
}

.navbar-header .logo-image {
	height: 42px;
	width: 42px;
	margin-right: 5px;
	margin-top: 5px;
}

.logo-image.hidden {
  display: none;
}

.navbar-default .navbar-brand {
  color: white;
  /*float:right;*/
}

@media (max-width: 992px) {
  .navbar-nav {
    font-size: 1.1em;
  }
  .nav>li>a {
    padding: 15px 8px 12px 8px;
  }
}

/* Media fix to collapse navbar at <768px width. This 
   avoids wrapping of navbar links onto more than one line.
   ======================================================== */

@media (max-width: 767px) {
    .navbar-header {
        float: none;
    }
    .navbar-default .navbar-left,.navbar-default .navbar-right {
        float: none !important;
    }
    .navbar-toggle {
        display: block;
    }
    .navbar-collapse {
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.3);
    }
    .navbar-fixed-top {
        top: 0;
        border-width: 0 0 1px;
    }
    .navbar-collapse.collapse {
        display: none!important;
    }
    .navbar-nav {
        float: none!important;
        margin-top: 7.5px;
    }
    .navbar-nav>li {
        float: none;
    }
    .navbar-nav>li>a {
        padding-top: 10px;
        padding-bottom: 10px;
    }
    .collapse.in{
        display:block !important;
    }
    .navbar-default .navbar-nav .open .dropdown-menu > li > a {
        color: #777;
    }
    .navbar-default .navbar-nav .open .dropdown-menu > li > a:hover,
    .navbar-default .navbar-nav .open .dropdown-menu > li > a:focus {
        color: #333;
    }

    .logo-image {
      margin-top: 5px;
      
      margin-left: 15px;
      float: left;
    }

    .navbar-default .navbar-brand {
      color: white;
      /*float:right;*/
      /*margin-left: 10px;*/
    }

    .navbar-default .navbar-brand:hover {
      color: white;
      text-transform: underline;
    }
}

/*@media (max-width: 768px) and (max-height: 620px) {
  .hidden-tn {
    display: none!important;
  }
}*/


@media (max-width: 480px) {
  .hidden-tn {
    display: none!important;
  }
  .visible-tn {
    display: block!important;
  }
  .logo-image {
    margin-right: 1px;
  }
}

/*************************************************************************************************************************
  SIDEBAR WIDGETS
 *************************************************************************************************************************/
.widget-title, #tertiary .widget-title {
    margin-bottom: .75em;
    padding-bottom: .5em;
}

#secondary .widget-title {
  font-size: 1.4rem;
  border-bottom: 1px solid #ccc;
}

#secondary ul {
  list-style-type: none;
  padding: 0;
}


.widget select {
    width: 100%;
    color: #404040;
    font-family: sans-serif;
    line-height: 1.5;
    background-color: buttonface;
    border-radius: 0px;
    border-color: rgb(169, 169, 169);
    letter-spacing: normal;
    word-spacing: normal;
    text-transform: none;
    text-indent: 0px;
    text-shadow: none;
    display: inline-block;
    text-align: start;
    font-size: 13.333px;
    padding:7px; 
}

.widget_search .search-submit, .search-submit {
  display: none;
}
.widget_search input[type="search"], input[type="search"] {
  -webkit-appearance: button;
  -webkit-font-smoothing: antialiased;
  padding: 7px;
  background: #f8f8f8;
  border: 1px solid #e0e0e0;
  font-size: .9em;
  width: 100%;
}


/*************************************************************************************************************************
  FEED
 *************************************************************************************************************************/

.post-footer {
  font-style: italic;
  font-size: 0.8em;
  font-weight: lighter;
  margin-top: 10px;
  clear: both;
}

/*@media (max-width: 480px) {
  .post-footer {
    margin-top: 50px;
  }
}*/

div[id*="post-"] {
  margin-bottom: 20px;
}

a.post-title {
  /*color: #333;*/
  /*font-weight: 700;*/
/*  -webkit-transition: all 0.3s ease-in;
  -moz-transition: all 0.3s ease-in;
  -o-transition: all 0.3s ease-in;
  transition: all 0.3s ease-in;*/
}

/*a.post-title:hover {
  -webkit-transition: all 0.3s ease-in;
  -moz-transition: all 0.3s ease-in;
  -o-transition: all 0.3s ease-in;
  transition: all 0.3s ease-in;
}*/

.post-author {
  display: inline-block;
}

.more-link {
  margin-top: 10px;
  text-transform: uppercase;
  color: black;
  #float: right;
  letter-spacing: normal;
  word-spacing: 0.2rem;
  display: block;
}

.next-link a {
  margin-top: 10px;
  text-transform: uppercase;
  /*color: black;*/
  letter-spacing: normal;
  word-spacing: 0.2rem;
}

@media (max-width: 480px) {
  .next-link a,
  .more-link {
    margin-top: 5px;
  }
}
  
.next-link a:hover,
.more-link:hover {
  /*color: #0074A2;*/
  /*text-decoration: none;*/
  transition: color 0.3s ease-in;
}

.nav.nav-pills.nav-stacked>li.active>a {
  background-color: rgb(129,130,132);
  color: white;
} 

.nav-pills.nav-stacked li a {
  color: inherit;
}

/*************************************************************************************************************************
 IMAGE CLASSES
*************************************************************************************************************************/
.thumb {
  width: 200px;
  height: auto;
  margin-right: 15px;
  margin-bottom: 10px;
  float: left;
}

.thumb.small {
  width: 35px;
  height: auto;
}



@media (max-width:480px) {
  .sidebar-photos {
    margin-top: 2rem;
  }
}

.image-right {
  float: right;
  margin-left: 15px;
  margin-top: 15px;
  margin-bottom: 15px;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 35px;
    height: 0;
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top:0;
    left: 0;
    width: 100%;
    height: 100%;
}

.image-container {
  position: relative;
  display: block;
  overflow: hidden;
}

.image-container img {
  display: block;
  max-width: 100%;
  height: auto;
}


/*************************************************************************************************************************
 SOCIAL MEDIA
*************************************************************************************************************************/
.social-button {
  color: white;
  margin-top: -4px;/*3px*/
  margin-bottom: -6px;
}

.social-nav{
  font-size: 30px;
}

.big-search {
  font-size: 20px;
}

/*************************************************************************************************************************
  HEADER IMAGE 
 *************************************************************************************************************************/

.fixed-photo {
  position: fixed;
  top: 0;
  /* remove this and replace in header.php with height from theme customisation */
  /*height: 155px;*/
  /* */
  width: 100%;
  min-width: 320px;
  -webkit-background-size: cover;
     -moz-background-size: cover;
       -o-background-size: cover;
          background-size: cover;
  z-index: -1;

  @media (max-width: @iphone-screen) {
    background-attachment: scroll;
  }
}

section.header-overlay {
  background-color: rgba(0,0,0,0.3);
}

.photo-text {
  width: 100%;
  height: 100%;
  margin-left: auto;
  margin-right: auto;
  display: table;
  /*vertical-align: middle;*/
}

.photo-text>h1 {
  color: white;
  text-transform: none;
  font-weight: 700;
  font-size: 4em; 
  font-family: 'Raleway';
  float: none;
  display: table-cell;
  vertical-align: middle;
  line-height: 1.0;
}

.photo-text img {
  display: inline-block;
  float: right;
  padding-top: 8px;
  padding-bottom: 8px;
}

/*@media (min-width: 1200px) {
  .photo-text>h1 {
    font-size: 3.5em;
  }
}*/

@media (max-width: 1200px) {
  .photo-text>h1 {
    font-size: 3.2em;
  }
}
/*@media (max-width: 1200px) and (min-width: 992px) {
  .photo-text>h1 {
    font-size: 3.2em;
  }
}

@media (max-width: 992px) {
  .photo-text>h1 {
  
  }
}*/

@media (max-width: 768px) {
  .photo-text>h1 {
    font-size: 2.3em;
  }
}

@media (max-width: 320px) {
  .photo-text>h1 {
    font-size: 2.1em;
  }
}

/*************************************************************************************************************************
  TEXT TRANSFORMS
 *************************************************************************************************************************/

.title {
  /*font-family: 'Roboto Slab';*/
  font-weight: 400;
  font-size: 2rem;
  margin-top: 1rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1rem;
  /*color: #333;*/
}

.title>.subtitle {
  font-size: 2.8rem;
  text-transform: none;
  letter-spacing: normal;
}

@media (max-width: 480px) {
  .title {
    font-size: 2rem;
  }
  .title>.subtitle {
    font-size: 1.3rem;
    text-transform: none;
    letter-spacing: normal;
  }
}

.margin-top-1rem {
  margin-top: 1rem;
}

.margin-top-2rem {
  margin-top: 2rem;
}

.pad-top-2rem {
  margin-top: 2rem;
}

.bar {
  width: 100%;
  height: 2px;
  margin-bottom: 1.3rem;
  margin-top: -0.7rem;
}

.inverse {
  background-color: rgb(129,130,132)
}

.smallimg {
  width: 350px;
}

.pic-explainer {
  font-size: 11px;
  letter-spacing: normal;
  font-style: italic;
}

h3,h4 {
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.bar+h3,.title+h3 {
  margin-bottom: 0;
}

h3+h4 {
  margin-top: 0;
}

h5,h6 {
  margin-top: 0.75rem;
  margin-bottom: 0.75rem;
  font-weight: 700;
}

/*************************************************************************************************************************
  PANELS
 *************************************************************************************************************************/

.panel-group .panel {
  -webkit-border-radius: 0px;
  -moz-border-radius: 0px;
  border-radius: 0px;
  border: none;
}
.panel-default > .panel-heading {
  padding: 0;
  outline: none;
  border: none;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  -o-border-radius: 0;
  border-radius: 0;
  width: 100%;
}
.panel-default > .panel-heading + .panel-collapse > .panel-body {
  border: 1px solid #f0f0f0;
  border-top: none;
  background-color: #fafafa;
}
.panel-heading a {
  font-weight: 400;
  padding: 12px 35px 12px 15px;
  display: inline-block;
  line-height: 16px;
  width: 100%;
  background-color: #44bbff;
  color: #ffffff;
  position: relative;
  text-decoration: none;
}
.panel-heading.inverse a {
  background-color: #44bbff;
}
.panel-heading a:after {
  font-family: "FontAwesome";
  content: "\f078";
  position: absolute;
  right: 15px;
  font-size: 14px;
  font-weight: 300;
  top: 50%;
  line-height: 1;
  margin-top: -7px;
}
.panel-heading a.collapsed:after {
  content: "\f053";
}
.panel-heading a.collapsed {
  color: #333333;
  background-color: rgb(207,207,207);
}
.panel-heading.inverse a.collapsed {
  background-color: rgb(207,207,207);
  color: #333333;
}
.panel-heading a:hover {
  text-decoration: none;
  background-color: #44bbff;
  color: #ffffff;
}
.panel-heading.inverse a:hover {
  background-color: #44bbff;
  color: #ffffff;
}
.panel-title a i {
  padding-right: 10px;
  font-size: 20px;
}

/*************************************************************************************************************************
  FOOTER
 *************************************************************************************************************************/

.footer {
  min-width: 100%;
  /* Set the fixed height of the footer here */
  /*min-height: 135px;*/
  background-color: #333333;
}

.footer>.container {
  /*width: auto;*/
  /*max-width: 680px;*/
  /*padding: 25px;*/
  padding-top: 15px;
  padding-bottom: 15px;
}

.footer>.container p {
  margin-bottom: 0px;
}

.footer .text-muted>a {
  color: #aaa;
  text-decoration: none;
}

.footer .text-muted>a:hover {
  text-decoration: none;
  color: #0074a2;
  -webkit-transition: color .2s linear;
  -moz-transition: color .2s linear;
  -ms-transition: color .2s linear;
  transition: color .2s linear;
}

.footer .text-muted>a:visited {
    text-decoration: none;
}

#lowerfooter {
    text-align: right;
    background-image: url(images/bits_fade.png);
    background-repeat: repeat-y;
    position: relative;
    background-color: #000;
    border-top: 1px solid #777;
    line-height: 28px; 
}

#lowerfooter ul {
    list-style-type: none;
    
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: flex-end;
    flex-wrap: nowrap;
}

#lowerfooter p {
  margin-bottom: 0px;
}

#lowerfooter ul li {
    padding-left: 15px;
}

@media screen and ( max-width: 450px ) {
    #lowerfooter {
      background-image: none;
    }
}

@media screen and ( max-width: 320px ) {
    #lowerfooter ul {
        list-style-type: none;
        margin: 0;
        padding: 0;
        font-size: 1em;
        line-height: 2em;
        display: block;
    }

    #lowerfooter ul li {
        padding-left: 0px;
    }
}

#secondary-sidebar ul {
	padding-left: 0px;
}

#secondary-sidebar ul > li {
    display: inline-block;
    /* Next two lines make IE7 behave */
    zoom: 1;
    *display: inline;
    /* Adjust width to the appropriate size for your theme */
    width: 250px;
    /* Presumably you want all the widgets to align-top */
    vertical-align: top;
}
/*************************************************************************************************************************
  PUBLICATIONS
 *************************************************************************************************************************/

.rendering {
  margin-top: 10px;
  margin-bottom: 10px;
}

input.wide {
  width: 100%;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

/*#search {
  background-color: #e0e0e0;
}*/

#pubsdiv {
  letter-spacing: normal;
  word-spacing: normal;
  width: 100%;
}

@media (max-width: 768px) {
  #pubsdiv {
    margin-top: 1rem;
  }
}

#pubsdiv>ul {
  padding-left: 0px;
}

@media (max-width: 480px) {
  #pubsdiv>ul {
    padding-left: 5px;
  }
}

#pubsdiv li {
  list-style-type: none;
}

.search-header {
  font-weight: 400;
  letter-spacing: normal;
  margin-bottom: 1.1rem;
  color: #333;
}

.year-holder {
  
  font-size: 3rem;
  margin-top: 0.5rem;
  margin-bottom: 1.2rem;
  color: #333;
}

@media (max-width: 480px) {
  .year-holder {
    font-size: 2rem;
  }
}

.year-link {
  font-size: 1.4em;
  width: 50%;
}

.up-arrow {
  position: fixed;
  display: table;
  right: -48px;
  top: 50vh; /* Half way down page */
  color: white;
  text-align: center;
  background-color: rgb(129,130,132);
  width: 48px;
  height: 48px;
}

.up-arrow>a {
  text-decoration: none;
  color: white;
  display: table-cell;
  vertical-align: middle;
}

/*************************************************************************************************************************
  CONTACTS PAGE
 *************************************************************************************************************************/

 .map {
  margin-top: 50px;
  height: -webkit-calc(100% - 50px);
  height: -moz-calc(100% - 50px);
  height: clac(100% - 50px);
  width: 100%;
 }

 .map-overlay {
  position: absolute;
  top: 28%;
  background-color: rgba(255,255,255,0.90);
  width: 100%;
  z-index: 2;
  padding-top: 2rem;
  padding-bottom: 2rem;
 }

 @media (max-width: 968px) {
  .map {
    height: 300px;
    width: 100%;
  }

  .map-overlay {
    position:relative;
    top: 0;
  }
 }

 @media (max-width: 480px) {
  .map {
    height: 180px;
    width: 100%;
  }

  .map-overlay {
    position:relative;
    top: 0;
  }
 }

 .title.contacts {
  font-size: 3rem;
  margin-top: 0rem;
  letter-spacing: normal;
 }

 @media (max-width: 480px) {
  .title.contacts {
    font-size: 2rem;
  }
 }

 .popout {
  padding:25px;
  border-radius:12px;
  border:2px solid #333;
  margin-top: 1rem;
  letter-spacing: normal;
}

.popout strong {
  letter-spacing: normal;
  text-transform: uppercase;
}

.info-left {
  float: left;
}

.info-right {
  float: right;
}

@media (max-width: 480px) {
  .info-left,.info-right {
    float: none;
  }
}

@media (min-width: 768px) and (max-width:992px) {
  .info-left,.info-right {
    float: none;
  }
}

/*************************************************************************************************************************
  PEOPLE PAGE
 *************************************************************************************************************************/

/*.people-position .container {
  max-width: 1190px;
  margin: 0 auto;
  padding-left: 10rem;
  position: relative;
}*/
.people-header {
  max-width: 21rem;
  text-align: left;
  /*position: absolute;
  top: 0;
  left: 0;
  margin-left: 2px;*/
}
@media (max-width: 480px) {
  .people-header {
    position: relative;
  }
  .people-position .container {
    padding-left: 1px;
    padding-right: 1px;
    margin: 0 auto;
    width: 100%;
  }
  .people-position .container .row {
    width: 100vw;
  }
  .people-gallery>.col-xs-6:nth-child(odd) { 
    padding-left: 18px;
    padding-right: 0px;
    width: 50vw;
  }

  .people-gallery>.col-xs-6:nth-child(even) { 
    padding-left: 18px;
    padding-right: 0px;
    width: 50vw;
  }
}

.people-header>h3 {
  font-weight: 300;
  font-size: 2rem;
  text-align: left;
  color: #333;
}
.people-person {
  position: relative;
  width: 150px;
  min-height: 200px;
  margin-bottom: 6rem;
}
.people-photo {
  height: 200px;
  width: 150px;
  background-color: rgba(0,0,0,1);
}
.people-photo img {
  width: 100%;
  height: 100%;
  z-index: -1;
}
.people-name {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  min-height: 3rem;
  text-align: center;
  letter-spacing: normal;

}
.people-photo p {
  width: 100%;
  margin: 0.75em 0 0.75em 0;
}

.people-photo .people-name {
  background: rgb(129, 130, 132);
  color: #fff;
}

.people-person:hover .people-name {
  background: rgb(238,129,51);
}

/*.people-photo a:hover .people-name,
.people-photo:hover {
  background: rgb(255, 255, 255); 
  background: rgba(238, 129, 51, 0.7);
  color: #fff;
}
.people-photo a:hover,
.people-photo:hover {
  text-decoration: none;
}
*/

.people-hover-content {
  position: absolute;
  top: 45%;
  width: 100%;
  text-align: center;
  color: #ffffff;
  opacity: 0;
}


.people-hover {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  z-index: 999;
  background: rgb(129,130,132);
  -webkit-transition: all linear .3s;
  -moz-transition: all linear .3s;
  transition: all linear .3s;
}

.people-hover:hover, .people-hover:hover .people-hover-content {
  opacity: 0.5;
  z-index: 1000;
}

.pad-mar-3 {
  padding-top: 3rem;
  margin-top: 3rem;
}

.people-position h3 {
  margin-bottom: 1.1rem;
}

/*************************************************************************************************************************
  RESEARCH PAGE - IMAGE OVERLAYS && ISOTOPE FILTER NAV
 *************************************************************************************************************************/
.explainer>p {
  margin-bottom: 2rem;
}

.explainer img {
  margin-top: 3rem;
  display: block;
  max-width: 100%;
  height: auto;
}

.filters {
  margin: 0 0 30px 0;
}
.filters .nav-pills > li {
  margin-right: 2px;
  margin-bottom: 2px;
  text-transform: uppercase;
}

.filters .nav-pills > li > a {
  color: rgb(129,130,132);
  border-radius: 0;
  border: solid 1px;
}

@media (max-width:480px) {
  .filters .nav-pills >li:last-child:nth-child(odd) {
    width: 97.2%;
  }
}

.filters .nav-pills .active>a,
.filters .nav-pills .active>a:focus,
.fitlers .nav-pills .active>a:hover {
  color: white;
  border: solid 1px;
}

.filters .nav-pills > li > a:hover {
  background-color: rgba(129,130,132,0.7);
  color: white;
}

.filters .nav-pills > li + li {
  margin-left: 0px;
}
.filters .nav-pills > li {
  margin-right: 2px;
  margin-left: 0px;
  margin-bottom: 2px;
  display: inline-block;
  float: none;
}
.isotope-container {
  overflow: hidden;
}
.isotope-item {
  margin-bottom: 20px;
}
.isotope-item .btn-default {
  color: rgb(129,130,132);
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 0;
  white-space: normal;
}
.isotope-item .btn-default:hover {
  color: #ffffff;
/*  background-color: rgb(129,130,132);*/
}
@media (max-width:480px) {
  .filters .nav-pills > li {
    width: 48%;
    display: inline-block;
  }

  .filters {
    margin: 0 0 0 0;
  }
  .filters .nav-pills > li {
    margin-right: 0px;
    margin-bottom: 1px;
    text-transform: uppercase;
    margin-bottom: 2px;
    display: inline-block;
    float: none;
  }
}

.overlay-container {
  position: relative;
  display: block;
  overflow: hidden;
}

.overlay-container img,
.modal img {
  display: block;
  max-width: 100%;
  height: auto;
}
a#overlay {
  position: absolute;
  top: 0;
  bottom: -1px;
  left: 0;
  right: -1px;
  background-color: rgb(129,130,132);
  cursor: pointer;
  overflow: hidden;
  opacity: 0;
  filter: alpha(opacity=0);
  -webkit-transform: scale(0.8);
  transform: scale(0.8);
  -webkit-transition: all linear 0.2s;
  -moz-transition: all linear 0.2s;
  -ms-transition: all linear 0.2s;
  -o-transition: all linear 0.2s;
  transition: all linear 0.2s;
}
a#overlay:hover {
  text-decoration: none;
}
a#overlay span {
  position: absolute;
  display: block;
  bottom: 10px;
  text-align: center;
  width: 100%;
  color: #ffffff;
  font-size: 13px;
  font-weight: 300;
}
a#overlay i {
  position: absolute;
  left: 50%;
  top: 50%;
  font-size: 18px;
  line-height: 1x;
  color: #ffffff;
  margin-top: -8px;
  margin-left: -8px;
  text-align: center;
}

.image-box:hover .btn {
  color: white;
}
.overlay-container:hover a#overlay {
  opacity: 0.5;
  filter: alpha(opacity=100);
  -webkit-transform: scale(1);
  transform: scale(1);
}

/*************************************************************************************************************************
  BUTTONS
 *************************************************************************************************************************/

.btn-custom{
  display:block;
  border-radius: 0;
  border:1px solid /*#333*/;
  background:transparent;
  padding:1.25em 1.25em;
  margin:0 auto;
  text-align:center;
  text-decoration:none;
  text-transform:uppercase;
/*  color:#333;*/
  font-weight:700;
  font-family:sans-serif;
  line-height:1;
  position:relative;
  z-index:0;
  -webkit-transition:all 0.2s;
  -moz-transition:all 0.2s;
  transition:all 0.2s
}

.btn-custom.inverse {
}

.btn-custom:after{
  content:'';
  position:absolute;
  z-index:-1;
  -webkit-transition:all 0.5s;
  -moz-transition:all 0.5s;
  transition:all 0.5s;
  width:0%;
  height:100%;
  top:0;
  left:0;
  /*background:#333;*/
}

.btn-custom.inverse:after {
}

.btn-custom:hover,
.btn:active{
  color:#fff;
}

.btn-custom:hover:after,
.btn:active:after{
  width:100%;
  -webkit-transition:all 0.5s;
  -moz-transition:all 0.5s;
  transition:all 0.5s;
}

@media only screen and (min-width: 34.375em){
  .btn-custom{
    display:inline-block;
    min-width:13.875em
  }
}

.flip-btn {
  height: 50px;
  padding: 0;
  text-transform: uppercase;
  text-decoration: none;
  font-size: 20px;
  font-weight: 700;
  -webkit-transition: all 400ms ease;
  -moz-transition: all 400ms ease;
  -o-transition: all 400ms ease;
  transition: all 400ms ease;
  -webkit-transform-style: preserve-3d;
  -moz-transform-style: preserve-3d;
  -o-transform-style: preserve-3d;
  -ms-transform-style: preserve-3d;
  transform-style: preserve-3d;
}



.btn.default {
  height: 50px;
  line-height: 50px;
  border-radius: 0;
  text-decoration: none;
  padding: 0;
  border: 1px solid rgb(129,130,132);
  color: #333;
  -webkit-transform: translateZ(25px);
  -moz-transform: translateZ(25px);
  -o-transform: translateZ(25px);
  -ms-transform: translateZ(25px);
  transform: translateZ(25px);
}
.btn.active {
  -webkit-transform: rotateX(90deg)  translateZ(77px);
  -moz-transform: rotateX(90deg)  translateZ(77px);
  -o-transform: rotateX(90deg)  translateZ(77px);
  -ms-transform: rotateX(90deg)  translateZ(77px);
  transform: rotateX(90deg) translateZ(77px);
  text-decoration: none;
}
/* Rotate the cube */
.flip-btn:hover {
  -webkit-transform: rotateX(-90deg);
  -moz-transform: rotateX(-90deg);
  -o-transform: rotateX(-90deg);
  -ms-transform: rotateX(-90deg);
  transform: rotateX(-90deg);
}

.btn.active {
  padding: 0;
  text-decoration: none;
  background-color: rgba(0,0,0,0.05);
  border: 1px solid rgb(129,130,132);
  line-height: 50px;
  border-radius:0;
  height: 50px;
  color: #333;
}

.secondary-sidebar .widget_meta .widget-title {
	display: none;
}

.secondary-sidebar .widget_meta ul {
	list-style-type: none;
}

