@font-face {
  font-family: 'roboto_slabthin';
  src: url('../elements/roboto-slab-fontfacekit/robotoslab_thin_macroman/RobotoSlab-Thin-webfont.eot');
  src: url('../elements/roboto-slab-fontfacekit/robotoslab_thin_macroman/RobotoSlab-Thin-webfont.eot?#iefix') format('embedded-opentype'), url('../elements/roboto-slab-fontfacekit/robotoslab_thin_macroman/RobotoSlab-Thin-webfont.woff') format('woff'), url('../elements/roboto-slab-fontfacekit/robotoslab_thin_macroman/RobotoSlab-Thin-webfont.ttf') format('truetype'), url('../elements/roboto-slab-fontfacekit/robotoslab_thin_macroman/RobotoSlab-Thin-webfont.svg#roboto_slabthin') format('svg');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'roboto_slablight';
  src: url('../elements/roboto-slab-fontfacekit/robotoslab_light_macroman/RobotoSlab-Light-webfont.eot');
  src: url('../elements/roboto-slab-fontfacekit/robotoslab_light_macroman/RobotoSlab-Light-webfont.eot?#iefix') format('embedded-opentype'), url('../elements/roboto-slab-fontfacekit/robotoslab_light_macroman/RobotoSlab-Light-webfont.woff') format('woff'), url('../elements/roboto-slab-fontfacekit/robotoslab_light_macroman/RobotoSlab-Light-webfont.ttf') format('truetype'), url('../elements/roboto-slab-fontfacekit/robotoslab_light_macroman/RobotoSlab-Light-webfont.svg#roboto_slablight') format('svg');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'roboto_slabbold';
  src: url('../elements/roboto-slab-fontfacekit/robotoslab_bold_macroman/RobotoSlab-Bold-webfont.eot');
  src: url('../elements/roboto-slab-fontfacekit/robotoslab_bold_macroman/RobotoSlab-Bold-webfont.eot?#iefix') format('embedded-opentype'), url('../elements/roboto-slab-fontfacekit/robotoslab_bold_macroman/RobotoSlab-Bold-webfont.woff') format('woff'), url('../elements/roboto-slab-fontfacekit/robotoslab_bold_macroman/RobotoSlab-Bold-webfont.ttf') format('truetype'), url('../elements/roboto-slab-fontfacekit/robotoslab_bold_macroman/RobotoSlab-Bold-webfont.svg#roboto_slabbold') format('svg');
  font-weight: normal;
  font-style: normal;
}

body {
  font-family: 'roboto_slabthin', Arial, sans-serif;
  margin: 3%;
  background-color: #eee;
  font-size: 100%;
  /*	-webkit-filter:  brightness(.7) saturate(0) contrast(1.2) blur(50px);*/
  -webkit-transform: rotateX(0deg);
  transform: rotateX(0deg);
}

#maincontent {
  opacity: 1;
  -o-transition: opacity 1500ms ease-in;
  -moz-transition: opacity 1500ms ease-in;
  -webkit-transition: opacity 1500ms ease-in;
  transition: opacity 1500ms ease-in;
}

a:link, a:visited {
  /*color: #593dff;*/
  color: #4831cc;
  text-decoration: none;
}

p {}

.boximage {
  margin-top: 1em;
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tint {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 20;
  opacity: .2;
  background: #006ab3;
  /*background: #593dff;*/
  -o-transition: all 2000ms ease-out;
  -moz-transition: all 2000ms ease-out;
  -webkit-transition: all 2000ms ease-out;
  transition: all 2000ms ease-out;
}

.hide {
  opacity: 0;
  visibility: hidden;
}

/*
.box:hover > .tint{
background: none;
visibility: hidden;
}
*/

.contentimageTop {
  width: 100%;
  position: relative;
  display: block;
  margin-left: 0%;
  z-index: 10;
  opacity: 1;
  -webkit-filter: brightness(.4) saturate(0) contrast(1.2);
  filter: brightness(.4) saturate(0) contrast(1.2);
  -o-transition: all 600ms ease-out;
  -moz-transition: all 600ms ease-out;
  -webkit-transition: all 600ms ease-out;
  transition: all 600ms ease-out;
}

.normalcolor {
  -webkit-filter: brightness(1) saturate(1.0) contrast(1);
  filter: brightness(1) saturate(1.0) contrast(1);
}

.contenthead {
  font-family: 'roboto_slabbold', Arial, sans-serif;
  position: absolute;
  /* top: 20%; */
  max-width: 60%;
  /* margin-left: 20%;
  margin-right: 20%; */
  z-index: 100;
  font-size: 2em;
  line-height: 140%;
  text-transform: uppercase;
  letter-spacing: .05em;
  text-align: center;
  color: #fff;
  opacity: .8;
  -o-transition: opacity 3000ms ease-in-out;
  -moz-transition: opacity 3000ms ease-in-out;
  -webkit-transition: opacity 3000ms ease-in-out;
  transition: opacity 3000ms ease-in-out;
  pointer-events: none;
}

.span_1_of_2>.box>.contenthead {
  font-size: 1.3em;
}


.hideContenthead {
  opacity: .0;
}

.contentdescription {
  width: 100%;
  z-index: 100;
  font-size: 1em;
  line-height: 1.2em;
  color: #000;
  padding-left: .5%;
  padding-right: .5%;
  margin-top: .5em;
  color: #2d2c33;
}

.span_1_of_2>.contentdescription {
  width: 100%;
}

.chapter {
  margin-top: 9%;
  margin-bottom: 3%;
}

.chapterhead {
  font-family: 'roboto_slabbold', Arial, sans-serif;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.2em;
  z-index: 100;
  font-size: 2em;
  text-transform: uppercase;
  letter-spacing: .05em;
  text-align: left;
  color: #2d2c33;
}

.chapterdescription {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  margin-top: 2%;
  z-index: 100;
  text-align: left;
  font-size: 1.5em;
  line-height: 1.2em;
  color: #000;
  color: #2d2c33;
}

.line {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  ;
  border-bottom-style: solid;
  border-width: 1px;
  border-color: #2d2c33;
  opacity: .3;
  margin-bottom: 1%;
}

.line60 {
  width: 90%;
  border-bottom-style: solid;
  border-width: 1px;
  border-color: #fff;
  opacity: .7;
  margin-left: auto;
  margin-right: auto;
  margin-top: 0em;
  margin-bottom: 3em;
}

/* VIDEO -----*/

.videoWrapper {
  position: relative;
  padding-bottom: 51.25%;
  /* 16:9 */
  padding-top: 25px;
  height: 0;
}

.videoWrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

#slideshow {
  left: 5%;
  padding-bottom: 10px;
  z-index: 0;
}

.slideframe {
  border-style: solid;
  border-color: #fff;
  background-color: #fff;
  border-width: 8px;
  height: 500px;
}

.headbox {
  margin-top: 50px;
  margin-bottom: 20px;
  text-align: left;
}

.headline {
  font-family: 'roboto_slabbold', Arial, sans-serif;
  text-align: left;
  font-size: 4em;
  text-transform: uppercase;
  color: #2d2c33;
  margin-top: 1.5em;
  padding-left: .5%;
  padding-right: .5%;
  width: 100%;
}

.bigtext {
  text-align: left;
  font-size: 1.5em;
  line-height: 1.4em;
  color: #2d2c33;
  margin-top: 1em;
  padding-left: .5%;
  padding-right: .5%;
}

.centered {
  width: 100%;
  font-size: 1.5em;
  line-height: 1.4em;
  text-align: center;
  color: #2d2c33;
}

#contact {
  width: 100%;
  font-size: 1.5em;
  text-align: center;
  cursor: pointer;
  color: #4831cc;
}

.contactlist {
  width: 100%;
  font-size: 1.5em;
  margin-top: .5em;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0%;
  text-align: center;
  line-height: 0em;
  opacity: 0;
  /*display:visible;*/
  /*background: #006ab3;*/
  /*background: #593dff;*/
  -webkit-transition: all 500ms cubic-bezier(0.455, 0.000, 0.000, 1);
  /* older webkit */
  -webkit-transition: all 500ms cubic-bezier(0.455, 0.000, 0.000, 1.005);
  -moz-transition: all 500ms cubic-bezier(0.455, 0.000, 0.000, 1.005);
  -o-transition: all 500ms cubic-bezier(0.455, 0.000, 0.000, 1.005);
  transition: all 500ms cubic-bezier(0.455, 0.000, 0.000, 1.005);
  /* custom */
  -webkit-transition-timing-function: cubic-bezier(0.455, 0.000, 0.000, 1);
  /* older webkit */
  -webkit-transition-timing-function: cubic-bezier(0.455, 0.000, 0.000, 1.005);
  -moz-transition-timing-function: cubic-bezier(0.455, 0.000, 0.000, 1.005);
  -o-transition-timing-function: cubic-bezier(0.455, 0.000, 0.000, 1.005);
  transition-timing-function: cubic-bezier(0.455, 0.000, 0.000, 1.005);
  /* custom */
}

.showcontactlist {
  opacity: 1;
  /*visibility:visible;*/
  line-height: 1.6em;
}

/*------ responsive rules */

@media only screen and (min-width: 950px) {
  body {
    width: 800px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media only screen and (max-width: 700px) {
  body {
    margin: 0%;
  }
  .contenthead {
    font-size: 1.5em;
  }
  .chapterhead {
    width: 90%;
    margin-left: 5%;
    margin-left: 5%;
    font-size: 1.5em;
  }
  .span_1_of_2>.box>.contenthead {
    font-size: 1.5em;
  }
  .contentdescription {
    font-size: 1em;
    width: 100%;
    width: 90%;
    margin-left: 5%;
    margin-left: 5%;
  }
  .chapterdescription {
    width: 90%;
    margin-left: 5%;
    margin-left: 5%;
    font-size: 1.2em;
    text-align: left;
    padding-left: .5%;
    padding-right: .5%;
  }
  .chapter {
    font-size: 1em;
  }
  .centered {
    font-size: 1.2em;
  }
  #contact {
    font-size: 1.2em;
  }
  .contactlist {
    font-size: 1.2em;
  }
  .headline {
    font-size: 1.6em;
    width: 90%;
    margin-left: 5%;
    margin-left: 5%;
  }
  .bigtext {
    font-size: 1.2em;
    text-align: left;
    width: 90%;
    margin-left: 5%;
    margin-left: 5%;
  }
}

.contact, .contentdescription, .contentdescription, .headline, .bigtext, .fullwidthtext, body, .chapter, .centered {
  -o-transition: font-size 600ms linear, width 600ms linear, margin 600ms linear, text 600ms linear;
  -moz-transition: font-size 600ms linear, width 600ms linear, margin 600ms linear, text 600ms linear;
  -webkit-transition: font-size 600ms linear, width 600ms linear, margin 600ms linear, text 600ms linear;
  transition: font-size 600ms linear, width 600ms linear, margin 600ms linear, text 600ms linear;
}
