@import url(http://fonts.googleapis.com/css?family=Lato:300,400,700,900&subset=latin,latin-ext);

*, *:after, *:before { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }
html, body, ul, ol, li, h1, h2, h3, h4, h5, h6  { padding: 0; margin: 0; list-style:none; }
a, a:active, a:hover, a:link, a:visited { text-decoration: none; outline: none; }

html, body {
  height: 100%;
}

body {
  background: #fafafa;
  font-family: 'Lato', 'Roboto', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 62.5%;
  font-style: normal;
  font-weight: normal;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale
}

.header {
  position: fixed;
  z-index: 100;
  top: 0px;
  right: 0px;
  left: 0px;
  line-height: 1;
  background: #fff;
  border-bottom: 1px solid #ccc;
  -webkit-box-shadow: 0 1px 6px rgba(0, 0, 0, .1);
  -moz-box-shadow: 0 1px 6px rgba(0, 0, 0, .1);
  box-shadow: 0 1px 6px rgba(0, 0, 0, .1);
  -webkit-transform: translateY(0%);
  -moz-transform: translateY(0%);
  transform: translateY(0%);
  -webkit-transition: all .5s;
  -moz-transition: all .5s;
  transition: all .5s;
}

.header.header--default{
  padding: 35px 0;
}

.header.header--small {
  padding: 15px 0;
}

.header__logo {
  position: absolute;
  top: 5px;
  bottom: 5px;
}

.header__logo > a > img {
  position: relative;
  height: 100%;
  max-width: 230px;
}

.header__nav {
  text-align: right;
}

.header__nav__item > a {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 5px;
  border: 1px solid #0851A4;
  font-size: 16px;
  font-weight: 900;
  color:  #0851A4;
  text-transform: uppercase;
  -webkit-transition: all 0.2s;
  -moz-transition: all 0.2s;
  transition: all 0.2s;
}

.header__nav__item > a:hover,
.header__nav__item > a:focus {
  background: #0851A4;
  border-color: transparent;
  color: #fff;
}

.header__nav__item > a:active,
.header__nav__item > a:focus {
  position: relative;
  top: 1px;
  background: #084283;
}

.wrap {
  margin: 0 auto;
  padding: 0 10px;
  max-width: 1100px;
}

.section__header {
  margin-bottom: 40px;
  padding-bottom: 10px;
  font-weight: 900;
  text-transform: uppercase;
  border-bottom: 1px solid #e7e7e7;
  font-size: 38px;
  color: #0851a4;
}

#section--grid {
  width: 100%;
  min-height: 100%;
  padding-top: 120px;
}

@media only screen and (max-width: 650px) {
  #section--grid {
    min-height: auto;
  }
}

#section--contact {
  padding-top: 90px;
  width: 100%;
  min-height: 100%;
}

.grid {
  display: table;
  width: 100%;
}

.grid > [class*="cell--"] {
  display: table-cell;
  vertical-align: top;
}

#section--grid > .grid > [class*="cell--"] {
  height: 250px;
}

.cell--1-2 {
  width: 50%;
}

.cell--1-3 {
  width: 33.33333%;
}

.cell--1-4 {
  width: 25%;
}

.cell--1-5 {
  width: 20%;
}

@media only screen and (max-width: 650px) {
  .grid > [class*="cell--"] {
    display: block;
    width: 100%;
  }
}

.main__nav {
  width: 100%;
  margin: 0 auto;
  border-right: 1px solid transparent;
  border-bottom: 1px solid transparent;
  display: table;
}
.main__nav__item {
  display: table-cell;
  float: left;
  width: 33%;
  height: 150px;
}

@media only screen and (max-width: 650px) {
  .main__nav__item {
    width: 100%;
    max-height: 80px;
  }
  .main__nav__item__caption {
  }

  .main__nav__item__image {
    display: none
  }
}

.main__nav__item > a {
  position: relative;
  overflow: hidden;
  display: block;
  background-color: rgb(8, 81, 164);
  width: 100%;
  height: 100%;
  text-align: center;
  border-top: 1px solid #fff;
  border-right: 1px solid #fff;
}

.main__nav__item__image{
  position: absolute;
  top:0;
  left:0;
  width: 100%;
  transition-property: opacity, transform;
  transition-duration: 0.7s;
  -moz-transition-property: opacity, -moz-transform;
  -moz-transition-duration: 0.7s;
  -webkit-transition-property: opacity, -webkit-transform;
  -webkit-transition-duration: 0.7s;
}

@media only screen and (min-width: 951px) {
  .main__nav__item > a:hover > .main__nav__item__caption,
  .main__nav__item > a:hover > .main__nav__item__image-overlayed
  {
    opacity: 0;
  }

  .main__nav__item > a:hover > .main__nav__item__caption span {
    padding-top: 50px;
  }

  .main__nav__item > a:hover > .main__nav__item__image {
    transform: translateY(-25px);
    -moz-transform: translateY(-25);
    -webkit-transform: translateY(-25px);
  }
}

.main__nav__item__caption {
  position: relative;
  display: table;
  width: 100%;
  height: 100%;
  padding: 15px;
  color: #fff;
  font-size: 1.9em;
  text-transform: uppercase;
  transition-property: opacity;
  transition-duration: 0.7s;
  -moz-transition-property: opacity;
  -moz-transition-duration: 0.7s;
  -webkit-transition-property: opacity;
  -webkit-transition-duration: 0.7s;
}

.main__nav__item__caption > span {
  display: table-cell;
  vertical-align: middle;
  transition-property: padding-top;
  transition-duration: 0.7s;
  -moz-transition-property: padding-top;
  -moz-transition-duration: 0.7s;
  -webkit-transition-property: padding-top;
  -webkit-transition-duration: 0.7s;
}

.box {
  margin: 0px 5% 10px;
  border-bottom: 1px solid rgba(0,0,0, 0.27);
  border-radius: 5px;
  -webkit-box-shadow: 0px 40px 100px 0px rgba(0, 0, 0, 0.19);
  -moz-box-shadow: 0px 40px 100px 0px rgba(0, 0, 0, 0.19);
  box-shadow: 0px 40px 100px 0px rgba(0, 0, 0, 0.19);
  background: #fff;
}

.box__header {
  display: table;
  padding: 0px 20px;
  border-bottom: 1px solid #e7e7e7;
  min-height: 60px;
  height: 60px;
  width: 100%;
  margin-bottom: -10px;
}

.box__header > span {
  display: table-cell;
  width: 100%;
  font-weight: 900;
  font-size: 16px;
  text-transform: uppercase;
  text-align: left;
  color: #0851A4;
  vertical-align: middle;
}

.box__body {
  padding: 20px;
}

.box--department {
  min-height: 340px;
}

.box--department-small {
  min-height: 155px;
}

.box--button {
  cursor: pointer;
  margin-top: 20px;
  padding: 10px 20px;
  font-size: 14px;
  text-align: center;
}

.contact-details {
  font-size: 12px;
  font-weight: 400;
}

.employee {
  margin-bottom: 15px;
  font-size: 12px;
  font-weight: 400;
}

.employee p {
  margin: 5px 0;
}
.employee__name {
  font-weight: 700;
}

.email {
  color: #0851A4;
  border-bottom: 1px dotted #D3D3D3;
  transition: 0.3s all;
}

.email:hover {
  color: #004CD5;
}

.overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1500;
  background: rgba(0,0,0, 0.8)
}

.overlay__container {
  position: absolute;
  top: 10%;
  left: 10%;
  right: 10%;
  background: #fff;
  bottom: 10%;
  border-radius: 5px;
  overflow: hidden;
}

.eu-project {
  display: block;
  margin: 30px 15px 0px 15px;
}

.eu-project__logo {
  width: 100%;
}

.eu-project__description {
  font-size:9px;
  text-align:center;
  font-weight: 400;
}
.main__nav__item.new__nav__item > a:before {
content: '';
    position: absolute;
    filter: contrast(1.2);
    background: #195ba7c4;
    top: 0;
    z-index: 2;
    bottom: 0;
    left: 0;
    right: 0;
    transition: all 0.7s;
}

.main__nav__item.new__nav__item:hover > a:before {
    filter: contrast(1);
    background: #195ba700;
}
.main__nav__item.new__nav__item .main__nav__item__image {
    transition: all 0.7s;
    filter: brightness(80%) contrast(1.5);
}

.main__nav__item.new__nav__item:hover > a > img.main__nav__item__image  {
	filter: none;
}
.main__nav__item.new__nav__item .main__nav__item__caption {
    z-index: 3;
}