/* HTML5 Boilerplate */

article, aside, details, figcaption, figure, footer, header, hgroup, nav, section { display: block; }
audio, canvas, video { display: inline-block; *display: inline; *zoom: 1; }
audio:not([controls]) { display: none; }
[hidden] { display: none; }

html { font-size: 100%; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }
html, button, input, select, textarea { font-family: sans-serif; color: #222; }
body { margin: 0; }

::-moz-selection { background: #16C9E9; color: #fff; text-shadow: none; }
::selection { background: #16C9E9; color: #fff; text-shadow: none; }

a { color: #00e; }
a:visited { color: #551a8b; }
a:hover { color: #06e; }
a:focus { outline: none; }
a:hover, a:active { outline: 0; }
abbr[title] { border-bottom: 1px dotted; }
b, strong { font-weight: bold; }
blockquote { margin: 1em 40px; }
dfn { font-style: italic; }
hr { display: block; height: 1px; border: 0; border-top: 1px solid #ccc; margin: 1em 0; padding: 0; }
ins { background: #ff9; color: #000; text-decoration: none; }
mark { background: #ff0; color: #000; font-style: italic; font-weight: bold; }
pre, code, kbd, samp { font-family: monospace, serif; _font-family: 'courier new', monospace; font-size: 1em; }
pre { white-space: pre; white-space: pre-wrap; word-wrap: break-word; }

q { quotes: none; }
q:before, q:after { content: ""; content: none; }
small { font-size: 85%; }
sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
sup { top: -0.5em; }
sub { bottom: -0.25em; }

ul, ol { margin: 0; padding: 0; }
dd { margin: 0 0 0 40px; }
nav ul, nav ol { list-style: none; list-style-image: none; margin: 0; padding: 0; }

img { border: 0; -ms-interpolation-mode: bicubic; vertical-align: middle; }
svg:not(:root) { overflow: hidden; }
figure { margin: 0; }

form { margin: 0; }
fieldset { border: 0; margin: 0; padding: 0; }

label { cursor: pointer; }
legend { border: 0; *margin-left: -7px; padding: 0; white-space: normal; }
button, input, select, textarea { font-size: 100%; margin: 0; vertical-align: baseline; *vertical-align: middle; }
button, input { line-height: normal; }
button, input[type="button"], input[type="reset"], input[type="submit"] { cursor: pointer; -webkit-appearance: button; *overflow: visible; }
button[disabled], input[disabled] { cursor: default; }
input[type="checkbox"], input[type="radio"] { box-sizing: border-box; padding: 0; *width: 13px; *height: 13px; }
input[type="search"] { -webkit-appearance: textfield; -moz-box-sizing: content-box; -webkit-box-sizing: content-box; box-sizing: content-box; }
input[type="search"]::-webkit-search-decoration, input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; }
button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; }
textarea { overflow: auto; vertical-align: top; resize: vertical; }
input:valid, textarea:valid { }
input:invalid, textarea:invalid { background-color: #f0dddd; }

table { border-collapse: collapse; border-spacing: 0; }
td { vertical-align: top; }

.chromeframe { margin: 0.2em 0; background: #ccc; color: black; padding: 0.2em 0; }


/* Custom styles start */

/* Fonts */
/* first for IE 4�8 */
@font-face {
  font-family: ScalaSansWeb;
  src: url("fonts/ScalaSansWeb.eot");
  font-weight: normal;
  font-style: normal;
}
/* then for WOFF-capable browsers */
@font-face {
  font-family: ScalaSansWeb;
  src: url("fonts/ScalaSansWeb.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: ScalaWeb;
  src: url("fonts/ScalaWeb.eot");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: ScalaWeb;
  src: url("fonts/ScalaWeb.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: ScalaWeb-Ita;
  src: url("fonts/ScalaWeb-Ita.eot");
  font-weight: normal;
  font-style: italic;
}
@font-face {
  font-family: ScalaWeb-Ita;
  src: url("fonts/ScalaWeb-Ita.woff") format("woff");
  font-weight: normal;
  font-style: italic;
}
@font-face {
  font-family: ScalaWeb-Bold;
  src: url("fonts/ScalaWeb-Bold.eot");
  font-weight: bold;
  font-style: normal;
}
@font-face {
  font-family: ScalaWeb-Bold;
  src: url("fonts/ScalaWeb-Bold.woff") format("woff");
  font-weight: bold;
  font-style: normal;
}
@font-face {
  font-family: ScalaWeb-BoldIta;
  src: url("fonts/ScalaWeb-BoldIta.eot");
  font-weight: bold;
  font-style: italic;
}
@font-face {
  font-family: ScalaWeb-BoldIta;
  src: url("fonts/ScalaWeb-BoldIta.woff") format("woff");
  font-weight: bold;
  font-style: italic;
}

.state-indicator {
  position: absolute;
  top: -999em;
  left: -999em;
}

.state-indicator:before {
  content: 'large';
}

html {
  height: 100%;
}

body {
  font: normal 16px/18px ScalaWeb, "Times New Roman", serif;
  color: #FFF;
  background: #9F978B;
}

body.start {
  height: 100%;
  overflow-y: hidden;
}

.bg-image {
  width: 100%;
  height: calc(100% - 170px);
  background-size: cover;
  background-position: left top;
}

/* Header area */
#top {
  position: fixed;
  width: 100%;
  z-index: 99;
}

#logo {
  width: 330px;
  height: 170px;
  float: left;
  background: #FFF;
  border-right: 1px solid #FFF;
}

#logo img {
  margin: 21px;
}

input.search {
  margin: 3px 0 0 1px;
  padding: 2px 0 0 5px;
  width: 106px;
  height: 16px;
  font: normal 14px/18px ScalaWeb, Verdana, Arial, Helvetica, sans-serif;
  letter-spacing: 1px;
  color: #a3a39e;
  border: 1px solid #9F978B;
}

#navContainer {
  height: 112px;
  background: #FFF;
  overflow: hidden;
  border-left: 1px solid #FFF;
}

ul.nav {
  float: left;
  margin: 31px 0 0;
}

ul.nav:not(:last-of-type) {
  width: 209px;
}

ul.nav li {
  font: normal 16px/23px ScalaSansWeb, Verdana, Arial, Helvetica, sans-serif;
}

ul.nav a {
  color: #9F978B;
  text-decoration: none;
}

ul.nav a:hover,
ul.nav a:active,
ul.nav li.current a {
  color: #000;
}

#metanav {
  float: right;
  margin-right: 67px;
}

#metanav li {
  font: normal 13px/19px ScalaSansWeb, Verdana, Arial, Helvetica, sans-serif;
}

.res-nav {
  display: none;
}

/* Content area */
#content {
  padding-top: 128px;
}

.start #content {
  height: 100%;
}

.block {
  width: 895px;
}

.start .block,
.start .block .main {
  width: auto;
}

.block a {
  color: #FFF;
  text-decoration: none;
  position: relative;
}

.block a:after {
  content: '';
  width: 100%;
  position: absolute;
  left: 0;
  bottom: 3px;
  border-width: 0 0 1px;
  border-style: solid;
}

.block a.img:after {
  display: none;
}

.start .block a {
  color: #FFF;
  position: relative;
  display: block;
  z-index: 99;
}

.start .block a:after {
  border: none;
}

.block ul {
  list-style: none;
}

/* Left content */
.block .left {
  display: inline;
  float: left;
  width: 210px;
  margin-top: -4px;
  padding: 0 60px;
  letter-spacing: 0.5px;
}

.block .left p {
  font: normal 14px/18px ScalaWeb, "Times New Roman", serif;
  margin: 0 0 11px;
}

.block .left p strong {
  font: bold 14px/18px ScalaWeb-Bold, "Times New Roman", serif;
}

.block .left p em {
  font: italic 14px/18px ScalaWeb-Ita, "Times New Roman", serif;
}

.block .left h3 {
  width: 201px;
  padding: 7px 0 4px;
  margin: 0 0 4px;
  font: normal 14px/18px ScalaWeb, "Times New Roman", serif;
  color: #000;
  border-bottom: 1px solid #000;
}

.block .left img {
  margin-top: 9px;
}

/* Main content */
.block .main {
  width: 545px;
  margin-left: 350px;
}

.block .main p {
  letter-spacing: 0.3px;
  width: 545px;
  line-height: 24px;
  margin-bottom: 24px;
}

.block .main p.small {
  letter-spacing: 0.3px;
  width: 545px;
  font: normal 13px/19px ScalaSansWeb, Verdana, Arial, Helvetica, sans-serif;
  margin: 0 0 19px;
}

.block .main p.small a {
  color: #FFF;
}

.block .main h1,
.block .main h2,
.block .main h3 {
  margin: 0 0 54px;
  width: 545px;
  padding-bottom: 11px;
  font: normal 24px/30px ScalaWeb, "Times New Roman", serif;
  border-bottom: 1px solid #000;
}

body.start .block .main h1 {
  margin-bottom: 0;
}

.block .main h1.black {
  color: #000;
}

.block .main h1.small {
  padding: 5px 0 12px;
  font: normal 18px/24px ScalaWeb, Verdana, Arial, Helvetica, sans-serif;
  color: #000;
}

.block .main h2,
.block .main h3 {
  margin: 43px 0 0;
}

.block .main h2.press {
  margin: 0 0 54px;
}

.block .main h3 {
  padding-bottom: 8px;
  font-size: 16px;
  line-height: 30px;
  color: #000;
  border-bottom: 1px solid #FFF;
}

.block .main h4,
.block .main h5 {
  width: 545px;
  font: normal 13px/19px ScalaSansWeb, Verdana, Arial, Helvetica, sans-serif;
}

.block .main h5 {
  margin-bottom: 0;
  color: #000;
}

.start .block .main h1 {
  width: auto;
  height: 30px;
  margin-top: -5px;
  line-height: 40px;
  padding-bottom: 17px;
  border-bottom: none;
}

.block .main .links {
  margin: -54px 0 32px 0;
}

.block .main .links ul {
  margin-left: 380px;
}

.block .main .links li {
  padding-top: 3px;
}

.block .main p.links {
  padding: 3px 0 0 360px;
  max-width: 185px;
}

.block .main .links a {
  display: block;
  width: 100%;
  height: 19px;
  padding-top: 3px;
  font: normal 13px/19px ScalaSansWeb, Verdana, Arial, Helvetica, sans-serif;
  color: #000;
  border-bottom: 1px solid #000;
}

.block .main .links a:hover,
.block .main .links a:active {
  color: #FFF;
}

.block .main .links a:after {
  border: none;
}

.block .main .links a:first-child {
  padding-top: 0;
}

.block .main .links a.gallery {
  margin-left: -20px;
  padding-left: 20px;
  background: transparent url('../img/gallery_icon.png') 0 4px no-repeat;
}

.block .main .links a.gallery:hover,
.block .main .links a.gallery:active {
  background: transparent url('../img/gallery_icon.png') 0 -11px no-repeat;
}

.block img {
  margin: 0 0 24px;
}

/* Press */
.block .main h2.press {
  padding: 5px 0 12px;
  font: normal 18px/24px ScalaWeb, Verdana, Arial, Helvetica, sans-serif;
  color: #FFF;
}

/* Publications */
.block.publicationContainer .main .publication {
  border-bottom: 1px solid #000;
}

.block.publicationContainer:last-child .main .publication {
  border-bottom: 0;
}

.block.publicationContainer .main .publication img {
  float: left;
  margin: -39px 0 0;
}

.block.publicationContainer .main .publication div {
  width: 405px;
  float: right;
  margin: -39px 0 0 0;
}

.block.publicationContainer .main .publication div h2 {
  width: 200px;
  margin-top: 0;
  font: normal 18px/24px ScalaWeb, Verdana, Arial, Helvetica, sans-serif;
  border: none;
}

.block.publicationContainer .main .publication div p {
  width: 405px;
  font: normal 15px/19px ScalaWeb, "Times New Roman", serif;
}

.block.publicationContainer .main .publication p.links {
  width: 85px;
  margin-top: 0;
  padding-left: 460px;
}

/* Events */
.block.eventContainer .main .event .event-date {
  padding: 13px 0 0;
  font: normal 18px/24px ScalaWeb, Verdana, Arial, Helvetica, sans-serif;
  color: #000;
}

.block.eventContainer .main .event h2 {
  margin: -3px 0 0;
  padding-bottom: 8px;
  font: normal 24px/30px ScalaWeb, Verdana, Arial, Helvetica, sans-serif;
  color: #FFF;
  border-bottom: 1px solid #FFF;
}

.block.eventContainer .main .event img {
  margin: 8px 0 2px;
  max-width: 100%;
}

.block.eventContainer .main .event div.event-text {
  margin: 0 0 65px;
}

/* Fancybox */
#fancybox-loading div {
  background-image: url('../img/fancybox/fancybox.png');
}

#fancybox-close,
#fancybox-left,
#fancybox-right,
#fancybox-left-ico,
#fancybox-right-ico,
#fancybox-bg-n,
#fancybox-bg-ne,
#fancybox-bg-e,
#fancybox-bg-se,
#fancybox-bg-s,
#fancybox-bg-sw,
#fancybox-bg-w,
#fancybox-bg-nw,
#fancybox-title-float-left,
#fancybox-title-float-main,
#fancybox-title-float-right {
  display: none;
  background: none;
}

#fancybox-title-over {
  letter-spacing: 0.5px;
  width: 500px;
  margin: 59px 0 0 110px;
  color: #000;
  font: normal 14px/18px ScalaWeb, "Times New Roman", serif;
  background: none;
}

#fancybox-title-over em {
  font: italic 14px/18px ScalaWeb-Ita, "Times New Roman", serif;
}

#lightBoxControls {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
  z-index: 9999;
}

#lightBoxControls a {
  text-decoration: none;
  position: absolute;
  color: transparent;
}

#lightBoxLogo {
  position: absolute;
  top: 0;
  left: 0;
  padding: 21px;
  display: none;
  z-index: 9998;
}

.lightbox_btn {
  position: absolute;
  width: 20px;
  height: 20px;
  padding: 19px;
  background: transparent url('../img/fancybox/fancybox.png') 0 0 no-repeat;
}

#lightBoxClose {
  top: 35px;
  right: 40px;
  background-position: -40px 20px;
}

#lightBoxClose:hover {
  background-position: -40px -20px;
}

#lightBoxPrev {
  top: 50%;
  left: 10%;
  background-position: -40px -146px;
}

#lightBoxPrev:hover {
  background-position: -40px -188px;
}

#lightBoxNext {
  top: 50%;
  right: 10%;
  background-position: -40px -62px;
}

#lightBoxNext:hover {
  background-position: -40px -104px;
}

/* Input on mobile safari */
input {
  -webkit-appearance: none;
  -webkit-border-radius: 0;
  -moz-appearance: none;
  -moz-border-radius: 0;
}

/* Custom styles end */

/* Responsive styles */

@media only screen and (max-width: 1350px) {
  .state-indicator:before {
    content: 'small';
  }

  #top {
    display: none;
  }

  .res-nav {
    display: block;
    height: 100px;
  }

  header {
    position: fixed;
    width: 100%;
    height: 100px;
    background: #fff;
    z-index: 98;
  }

  /* burger navbar */
  #res-logo {
    color: #9F978B;
    position: fixed;
    top: 15px;
    left: 15px;
    z-index: 6;
  }

  #res-logo img {
    border: 1px solid #fff; /* prevent border on smartphone */
    border-width: 0 1px 1px 0;
  }

  .res-nav input + label {
    position: fixed;
    top: 35px;
    right: 40px;
    height: 20px;
    width: 15px;
    z-index: 5;
    z-index: 99;
  }

  .res-nav input + label span {
    position: absolute;
    width: 100%;
    height: 2px;
    top: 50%;
    margin-top: -1px;
    left: 0;
    display: block;
    background: #9F978B;
  }

  .res-nav input + label span:first-child {
    top: 3px;
  }

  .res-nav input + label span:last-child {
    top: 16px;
  }

  .res-nav input:checked + label span {
    opacity: 0;
    top: 50%;
  }

  .res-nav input:checked + label span:first-child {
    opacity: 1;
    transform: rotate(405deg);
  }

  .res-nav input:checked + label span:last-child {
    opacity: 1;
    transform: rotate(-405deg);
  }

  .res-nav input ~ nav {
    background: white;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    z-index: 3;
    transition: .3s;
    transition-delay: .2s;
    overflow: hidden;
  }

  .res-nav input ~ nav > ul {
    font: normal 16px/23px ScalaSansWeb, Verdana, Arial, Helvetica, sans-serif;
    text-align: left;
    position: absolute;
    top: 20%;
    left: 7.5%;
    padding: 10px 0 30px;
  }

  .res-nav input ~ nav > ul > li {
    opacity: 0;
    transition: .3s;
    transition-delay: 0s;
  }

  .res-nav input ~ nav > ul > li > a {
    text-decoration: none;
    color: #9F978B;
    display: block;
    padding-bottom: 15px;
  }

  .res-nav .last-part {
    border-top: 1px solid #9F978B;
    padding-top: 15px;
  }

  .res-nav input:checked ~ nav {
    height: 100%;
    overflow: auto;
    transition-delay: 0s;
  }

  .res-nav input:checked ~ nav > ul > li {
    opacity: 1;
    transition-delay: .3s;
  }

  /* content */
  body.start {
    width: 100%;
    overflow: auto;
  }

  #content {
    padding-top: 0;
  }

  .block {
    width: calc(100% - 30px);
    padding: 0 15px;
  }

  .block .left {
    display: block;
    float: none;
    width: 100%;
    margin: 0;
    padding: 0 0 20px 0;
    letter-spacing: 0.2px;
  }

  .block .left p {
    font: normal 15px ScalaWeb, "Times New Roman", serif;
    margin: 0 0 8px;
  }

  .block .main {
    width: 100%;
    padding-bottom: 10px;
    margin: 0;
  }

  .block .main p {
    width: 100%;
    margin-top: 1.1em;
    margin-bottom: 1.2em;
  }

  .block .main p.small,
  .block .main h2,
  .block .main h3,
  .block .main h4,
  .block .main h5 {
    width: 100%;
  }

  .block .main h1 {
    margin: 0 0 15px;
    padding-bottom: 16px;
    width: 100%;
  }

  .block .main .links {
    margin: 0;
  }

  .block .main .links a {
    padding-top: 15px;
  }

  .block .main .links ul {
    margin-left: 45%;
  }

  .block .main p.links {
    padding: 0;
    margin-left: 45%;
    margin-bottom: 14px;
    max-width: 55%;
  }

  .block.publicationContainer .main .publication p.links {
    width: 100%;
    margin-top: 8px;
    margin-bottom: 18px;
    margin-left: 45%;
    padding-left: 0;
  }

  .block.publicationContainer .main .publication img {
    margin: 4px 0 15px;
  }

  .block.publicationContainer .main .publication div {
    width: calc(100% - 110px - 20px);
    float: right;
    margin: 0;
  }

  .block.publicationContainer .main .publication div h2,
  .block.publicationContainer .main .publication div p {
    width: 100%;
  }

  .block.eventContainer .main .event h2 {
    margin: 0;
    font-size: 20px;
  }

  .block.eventContainer .main .event div.event-text {
    margin: 0 0 35px;
  }

  .block .main h2.press {
    margin: 0 0 25px;
  }

  .start .block a {
    z-index: 1;
  }

  .start .block .main h1 {
    font-size: 21px;
    height: auto;
    padding: 0;
    margin: 0;
  }

  .bg-image {
    height: calc(100% - 162px);
    background-size: 100% auto;
  }

  #lightBoxClose {
    top: 16px;
    right: 13px;
  }

  #fancybox-wrap {
    top: 100px !important;
    left: 0 !important;
    padding: 15px;
    width: calc(100% - 30px) !important;
  }

  #fancybox-title-over {
    width: auto;
    margin: 0 0 0 0;
  }

  #fancybox-content,
  #fancybox-title {
    max-width: 100% !important;
    height: auto !important;
  }

  #lightBoxLogo {
    padding: 15px;
    width: calc(100% - 30px);
    background: #fff;
  }

  #lightBoxLogo img {
    width: 152px;
    height: 70px;
    margin-bottom: 0;
  }

  #lightBoxPrev {
    top: 110px;
    left: 10px;
  }

  #lightBoxNext {
    top: 110px;
    right: 10px;
  }
}

/* Responsive styles end */

.ir { display: block; border: 0; text-indent: -999em; overflow: hidden; background-color: transparent; background-repeat: no-repeat; text-align: left; direction: ltr; *line-height: 0; }
.ir br { display: none; }
.hidden { display: none !important; visibility: hidden; }
.visuallyhidden { border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; }
.visuallyhidden.focusable:active, .visuallyhidden.focusable:focus { clip: auto; height: auto; margin: 0; overflow: visible; position: static; width: auto; }
.invisible { visibility: hidden; }
.clearfix:before, .clearfix:after { content: ""; display: table; }
.clearfix:after { clear: both; }
.clearfix { *zoom: 1; }

@media print {
  * { background: transparent !important; color: black !important; box-shadow: none !important; text-shadow: none !important; filter: none !important; -ms-filter: none !important; }
  a, a:visited { text-decoration: underline; }
  a[href]:after { content: " (" attr(href) ")"; }
  abbr[title]:after { content: " (" attr(title) ")"; }
  .ir a:after, a[href^="javascript: "]:after, a[href^="#"]:after { content: ""; }
  pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
  thead { display: table-header-group; }
  tr, img { page-break-inside: avoid; }
  img { max-width: 100% !important; }
  @page { margin: 0.5cm; }
  p, h2, h3 { orphans: 3; widows: 3; }
  h2, h3 { page-break-after: avoid; }
}
