@charset "utf-8";
/* CSS Document */

@font-face {
    font-family: 'TheSelby-Bold';
    src: url('../fonts/TheSelby-Bold.eot');
    src: url('../fonts/TheSelby-Bold.eot?#iefix') format('embedded-opentype'),
         url('../fonts/TheSelby-Bold.woff') format('woff'),
         url('../fonts/TheSelby-Bold.ttf') format('truetype'),
         url('../fonts/TheSelby-Bold.svg#TheSelby-Bold') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'TheSelby-Light';
    src: url('../fonts/TheSelby-Light.eot');
    src: url('../fonts/TheSelby-Light.eot?#iefix') format('embedded-opentype'),
         url('../fonts/TheSelby-Light.woff') format('woff'),
         url('../fonts/TheSelby-Light.ttf') format('truetype'),
         url('../fonts/TheSelby-Light.svg#TheSelby-Light') format('svg');
    font-weight: normal;
    font-style: normal;
}

body, html {
  font-family: 'TheSelby-Light', Arial, Helvetica, sans-serif;
  font-size: 14px;
  color: #6c6d6f;
}

#navbar ul li {
    font-family: 'TheSelby-Bold', Arial, Helvetica, sans-serif;
}

#navbar ul li a {
	padding: 2px;
}

/* search-bar */
#navbar a.nav-link-search {
  float: left; }

#navbar .search-input {
  float: left;
  margin-left: 1em;
  width: 0; }
#navbar .search-input .input {
  width: 0;
  border: none;
  background: none;
  transition: all 0.2s ease-out;
  line-height: 16px; 
  color: #404E67;}

#navbar .search-input.open .input {
  width: 200px;
  outline: none;
  background: none;
  transition: all 0.3s ease-out;   
  color: #404E67;
  border-bottom: 1px solid #404E67; }

.grid {
  margin: 0 auto;
}

.grid-item-alt, .grid-item {
  display: block;
  position:relative;
  margin-bottom: 10px;
  position: relative;
  cursor: pointer;
}

.grid-item img {
    width:100%;
    vertical-align:top;
}

.grid-item:after, .grid-item:before {
    position:absolute;
    opacity:0;
    transition: all 0.5s;
    -webkit-transition: all 0.5s;
}

.grid-item:after {
    content:'\A';
    width:100%; height:100%;
    top:0; left:0;
    background:rgba(255,255,255,0.67);
}

.grid-item:before {
    content: attr(data-description);    
    white-space: pre-wrap;
    word-break: break-word;
    
    left: 5%;
    width: 90%;    
    z-index:1;
    padding:4px 10px;
  	
    font-family: 'TheSelby-Bold', Arial, Helvetica, sans-serif;
    color: #000;
  	font-size: 25px;
  	text-align: center;
    
    box-sizing:border-box;
    -moz-box-sizing:border-box;

    position: absolute;
    display: block;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);    
}

#blocks .grid-item:before {
    top: 35%;
    padding:15px;    
    font-size: 13px;
}

.grid-item:hover:after, .grid-item:hover:before {
    opacity:1;
}

.features .grid-item:after {
    background:rgba(255,255,255,1);
}

.features .grid-item:before {   
    font-family: 'TheSelby-Light', Arial, Helvetica, sans-serif;
    color: #505050;
    font-size: 18px;
}

h2 {
  font-family: 'TheSelby-Light', Arial, Helvetica, sans-serif;
  color: #767;
}

span.mctb-close {
  display: none !important;
}

.border-bottom {
    background-image: url(../images/header-bg.jpg);
    background-position: bottom center;
    background-repeat: repeat-x;
    margin-bottom: 8px;
    padding-bottom: 8px;
}

.border-top {
    background-image: url(../images/header-bg.jpg);
    background-position: top center;
    background-repeat: repeat-x;
    margin-top: 8px;
    padding-top: 8px;
}

.font-bold {
  font-family: 'TheSelby-Bold',Arial,Helvetica,sans-serif;
  letter-spacing: 0.05em;  
  color: #6c6d6f;    
}

.headline h1 {
  font-size: 1.2em;  
}

/* fancybox custom override */
.fancybox-bg {
    background: #efefef;
}

.fancybox-caption {
    border-top: none;
}

.fancybox-caption-wrap {
    display: none;
}

.mctb {
  z-index: 100;
}

.project-description {
  font-family: 'GalaxyCopernicusMedium',Georgia,"Times New Roman",Times,serif;
  margin-top: 20px;
  margin-bottom: 20px;
}


.project-description a {
  color: #0018aa;
  text-decoration: underline;
}   

/* @screen-sm-min */
@media (min-width: 768px) {
  #navbar ul.navbar-left {
    margin-top: 15px;
  }

	#navbar ul.navbar-left > li {
	  background-image: url(../images/navigation-separator.jpg);
    background-position: 0 5px;
    background-repeat: no-repeat;  
    padding: 0 7px 0 12px;
	}

  #navbar ul.navbar-left > li:first-child {
    padding-left: 0;
    background: none;
  } 

  #navbar ul.navbar-right {
    margin-top: 8px;
  }

  #navbar ul.navbar-right > li {
    padding-right: 12px;
  }

  #navbar {
    margin-top: -5px;
  }
}

@media (max-width: 768px) {
  /* hide mailchimp on mobile device */
  #mailchimp-top-bar { display: none !important; }
}

/* Mega Menu */
.dropdown-large {
  position: static !important;
}
.dropdown-menu-large {
  margin-left: 16px;
  margin-right: 16px;
  padding: 20px 0px;
}
.dropdown-menu-large > li > ul {
  padding: 0;
  margin: 0;
}
.dropdown-menu-large > li > ul > li {
  list-style: none;
}
.dropdown-menu-large > li > ul > li > a {
  display: block;
  padding: 3px 20px;
  clear: both;
  font-weight:300;
  line-height: 1.428571429;
  color: #bab8b9;
  white-space: normal;
}
.dropdown-menu-large > li ul > li > a:hover,
.dropdown-menu-large > li ul > li > a:focus {
  text-decoration: none;
  color: #262626;
  background-color: #f5f5f5;
}
.dropdown-menu-large .disabled > a,
.dropdown-menu-large .disabled > a:hover,
.dropdown-menu-large .disabled > a:focus {
  color: #999999;
}
.dropdown-menu-large .disabled > a:hover,
.dropdown-menu-large .disabled > a:focus {
  text-decoration: none;
  background-color: transparent;
  background-image: none;
  filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
  cursor: not-allowed;
}

#navbar .dropdown-menu-large .dropdown-header {
  font-size: 14px;
  padding: 0px;
  color: #000;
}

#navbar .dropdown-menu-large li {
    font-family: 'TheSelby-Light', Arial, Helvetica, sans-serif;
}

#navbar .dropdown-header > a {
  color: #000;
}

@media (max-width: 768px) {
  .dropdown-menu-large {
    margin-left: 0 ;
    margin-right: 0 ;
  }
  .dropdown-menu-large > li {
    margin-bottom: 30px;
  }
  .dropdown-menu-large > li:last-child {
    margin-bottom: 0;
  }
  .dropdown-menu-large .dropdown-header {
    padding: 3px 15px !important;
  }
}