/*
  Link, button etc colors and dynamic container widths are set in:
  Configuration/TypoScript/Setup/styles.ts and can be edited through TS constant editor
*/

/*
@import url('https://fonts.googleapis.com/css?family=Fira+Sans+Extra+Condensed:400,500');
*/

/* oswald-regular - latin */
@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/oswald-v16-latin-regular.eot'); /* IE9 Compat Modes */
  src: local('Oswald Regular'), local('Oswald-Regular'),
       url('../fonts/oswald-v16-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/oswald-v16-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/oswald-v16-latin-regular.woff') format('woff'), /* Modern Browsers */
       url('../fonts/oswald-v16-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/oswald-v16-latin-regular.svg#Oswald') format('svg'); /* Legacy iOS */
}

/* oswald-500 - latin */
@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 500;
  src: url('../fonts/oswald-v16-latin-500.eot'); /* IE9 Compat Modes */
  src: local('Oswald Medium'), local('Oswald-Medium'),
       url('../fonts/oswald-v16-latin-500.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/oswald-v16-latin-500.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/oswald-v16-latin-500.woff') format('woff'), /* Modern Browsers */
       url('../fonts/oswald-v16-latin-500.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/oswald-v16-latin-500.svg#Oswald') format('svg'); /* Legacy iOS */
}


html, body, div, ul, ol, li, dl, dt, dd, h1, h2, h3, h4, h5, h6, pre, form, p, blockquote, fieldset, input, textarea, figure, button {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

ul {
  list-style: none;
}

fieldset, img {
  border: none;
}

caption, th {
  text-align: left;
}

table {
  border-spacing: 0;
}

iframe {
  border: none;
}

html, body {
  height: 100%;
  width: 100%;
}

html {
  font-size: 20px;
}

body {
  font-size: 100%;
  font-family: sans-serif;
  line-height: 1.5em;
  font-weight: normal;
  color: #000;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

section {
  overflow: auto;
}

p, ul, ol, table, form {
  margin-bottom: 1em;
}

h1, h2, h3, h4 {
  font-family: 'Fira Sans Extra Condensed', sans-serif;
  font-family: 'Oswald', sans-serif;
  padding-bottom: 0.21em;
  font-weight: 500;
}

h1 {
  font-size: 3em;
  line-height: 1.2em;
  margin-bottom: 0.2em;
}

h2 {
  font-size: 1.7em;
  line-height: 1.26em;
  margin-bottom: 0.2em;
  margin-top: 1em;
}

h3 {
  font-size: 1.26em;
  margin-top: 1em;
  margin-bottom: 0.2em;
}

h4 {
  font-size: 1em;
}

h2, h3, h4 {
  padding-top: 0.3em;
}

b, strong {
  font-weight: bold;
}

a, a:visited {
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

ul, ol {
  margin-left: 1em;
}

ul {
  list-style: disc;
}

hr {
  border: none;
  background-color: #ddd;
  color: #ddd;
  margin-top: 1em;
  margin-bottom: 1em;
  line-height: 1em;
  padding: 0;
  height: 1px;
}

table {
  width: 100%;
  font-size: 0.9em;
}

th {
  font-weight: bold;
}

th, td {
  border-bottom: 1px solid #ddd;
  border-right: 1px solid #ddd;
  padding: 0.2em;
  padding-left: 0.6em;
  padding-right: 0.6em;
}

th:last-child, td:last-child {
  border-right: none;
  padding-right: 0;
}

tr:last-child td {
  border-bottom: none;
  padding-bottom: 0;
}

.clear {clear:both}

.btn, .btn:visited {
  font-size: 0.86em;
  font-weight: bold;
  -webkit-font-smoothing: antialiased;
  text-align: center;
  display: inline-block;
  text-transform: uppercase;
  color: #fff;
  padding: 0.6em 1.7em;
  margin-top: 1em;
  margin-bottom: 1em;
  transition: all 0.4s ease;
  border: none;
  margin-right: 0.4em;
}

.btn:hover, .btn:visited:hover {
  text-decoration: none;
  background-color: #000;
  color: #fff;
  cursor: pointer;
}

.align-center .btn {
  margin-left: 0.2em;
  margin-right: 0.2em;
}

.align-right .btn {
  margin-left: 0.4em;
  margin-right: 0;
}

.youtubeVideo {
  width: 100%;
  float: left;
}

.pageWidth {
  margin: auto;
  clear: both;
  overflow: hidden;
}

.contentWidth {
  margin: auto;
  clear: both;
  padding: 0 3em;
  overflow: auto;
}

#header, #content, #footer {
  margin: auto;
}

#header {
  overflow: hidden;
  transition: all 0.4s;
  position: fixed;
  z-index: 12;
  width: 100%;
  padding: 1.333em 0;
  top: 0;
  z-index: 99;
}
.header-bg {
  opacity: 0;
  transition: opacity 0.4s;
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  width: 100%;
  height: 2000px;
}

#header .header-bg.show {
  opacity: 1;
  transition: opacity 0.4s;
}

#logo {
  float: left;
  margin-top: 0.65em;
  margin-bottom: 0em;
  height: 1.5em;
  transition: height 0.4s;
}

#header.scrolled #logo {
  height: 1.2em;
}

#header.scrolled {
  padding: 0.2em;
  padding-top: 0.36em;
  box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.14);
}

#header.scrolled #menu {
  margin-top: -0.11em;
}

/* gridelements page sections and column layouts */
.ge-section {
  padding-top: 7em;
  padding-bottom: 7em;
  float: left;
  width: 100%;
  background-position: center center !important;
  background-size: cover !important;
  position: relative;
}

.ge-section.bg1 {
  background-position: left center !important
}
.ge-section.bg2 {
  background-position: right center !important
}

.ge-section.bg3 {
  background-position: left top !important
}

.ge-section.bg4 {
  background-position: center top !important
}

.ge-section.bg5 {
  background-position: right top !important
}

.ge-section.bg6 {
  background-position: left bottom !important
}

.ge-section.bg7 {
  background-position: center bottom !important
}

.ge-section.bg8 {
  background-position: right bottom !important
}
.ge-section.fixed {
  background-attachment: fixed !important;
}

.ge-section.has-bg-video {
  background-color: transparent !important;
}

.ge-section {
  position: relative;
  width: 100%
}

.ge-section .bg-video {
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
}

.ge-section.fullheight .bg-video {
  min-height: 100vh;
}

.ge-section.vcenter.fullheight .contentWidth {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  box-sizing: border-box;
  left: 0;
  right: 0;
  float :none;
  margin: auto;
}

.ge-section.nopadding {
  padding: 0;
}

.ge-section.fullwidth .contentWidth {
  max-width: 100%;
  padding: 0;
  margin: 0;
  width: 100% !important;
}

.ge-section.fullheight {
  min-height: 100vh;
}

.ge-section.align-center {
  text-align: center;
}

.ge-section.align-center p, .ge-section.align-center ol, .ge-section.align-center ul, .ge-section.align-center {
  margin: auto;
}

/* dark and light BG colors are set in template constants */

.ge-section.bg-dark {
  -webkit-font-smoothing: antialiased;
}

.ge-section.bg-black {
  background-color: #000;
  color: #fff;
  -webkit-font-smoothing: antialiased;
}

.ge-section p, .ge-section ol, .ge-section ul {
  max-width: 41em;
}



/* custom section classes */

.ge-section.home h1 {
  font-size: 5vw;
}

/* ext:fluid_styled_content */

.align-right {
  text-align: right;
}

.align-center {
  text-align: center;
}

.frame {
  clear: both;
  float: left;
  width: 100%;
}

.frame-space-before-extra-small {
  margin-top: 1em;
}

.frame-space-after-extra-small {
  margin-bottom: 1em;
}

.frame-space-before-small {
  margin-top: 2em;
}

.frame-space-after-small {
  margin-bottom: 2em;
}

.frame-space-before-medium {
  margin-top: 3em;
}

.frame-space-after-medium {
  margin-bottom: 3em;
}

.frame-space-before-large {
  margin-top: 4em;
}

.frame-space-after-large {
  margin-bottom: 4em;
}

.frame-space-before-extra-large {
  margin-top: 5em;
}

.frame-space-after-extra-large {
  margin-top: 5em;
}

.ce-bodytext a {
  font-weight: 600;
}

.ce-bodytext .blueText {
  color: #000e9b;
  font-weight: 100;
}
.ce-bodytext .headerFont {
  font-family: 'Fira Sans Extra Condensed', sans-serif;
  font-family: 'Oswald', sans-serif;
  font-weight: 400;
}

.ce-gallery .ce-inner {
  display: table;
}

.ce-gallery .ce-row {
  display: table-row;
}

.ce-gallery .ce-column {
  display: table-cell;
  vertical-align: top;
  padding: 0.3em;
}

.ce-gallery .image {
  line-height: 0;
}

.ce-gallery img {
  width: auto;
  height: auto;
  max-width: 100%;
}

.ce-textpic.ce-above .ce-gallery {
  margin-bottom: 1.3em;
}

.ce-textpic.ce-below .ce-gallery {
  margin-top: 1.3em;
}

.ce-textpic.ce-above .ce-gallery, .ce-textpic.ce-below .ce-gallery {
  width: 101.5%;
  margin-left: -0.3em;
}

.ce-textpic.ce-right.ce-intext .ce-gallery, .ce-textpic.ce-left.ce-intext .ce-gallery {
  margin-bottom: 1em;
  max-width: 55%;
}

.ce-textpic.ce-right.ce-intext .ce-gallery {
  float: right;
  padding-left: 1em;
  margin-right: -0.3em;
}

.ce-textpic.ce-left.ce-intext .ce-gallery {
  float: left;
  padding-right: 1em;
  margin-left: -0.3em;
}

ul.ce-uploads {
  list-style: none;
  padding: 0;
  margin: 0;
}

ul.ce-uploads li {
  margin: 0;
  padding: 0;
}

ul.ce-uploads li a {
  padding-left: 1.8em;
  padding-right: 1em;
  display: inline-block;
  position: relative;
}

ul.ce-uploads li a:before {
  content: '▼';
  font-size: 0.7em;
  margin-top: 0.64em;
  position: absolute;
  text-align: center;
  left: 0.2em;
  line-height: 1em;
}

ul.ce-uploads li .ce-uploads-filesize {
  color: #666;
  font-size: 0.9em;
}

/* ext:youtubevideo */

#content .youtubeVideo {
  max-width: 110vh;
  margin: auto;
  float: none;
}

/* ext:forms */

.form-group {
  margin-bottom: 1em;
  float: left;
  width: 100%;
}

label {
  width: 100%;
  float: left;
}

input, select, textarea {
  border: 1px solid #666;
  padding: 0.3em;
  font-size: 1em;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border-radius: 0;
}

input, select, textarea, button {
  font-family: sans-serif;
}

input, textarea {
  width: 100%;
  max-width: 30em;
}

select {
  padding-right: 1.2em;
  position: relative;
  background-color: rgba(255, 255, 255, 0);
}

.select {
  position: relative;
  display: inline-block;
  width: auto;
}

.select::after {
  content: '↓';
  position: absolute;
  top: 0.2em;
  right: 0.4em;
  z-index: -1;
}

textarea {
  height: 7em;
}

.form-check input {
  width: auto;
  margin-right: 0.5em;
}

input[type="radio"] {
  border-radius: 50%;
}

input[type="radio"]:checked, input[type="checkbox"]:checked {
  border-color: #db0500;
}

form .error {
  display: block;
  position: relative;
  padding-left: 1.2em;
  width: 100%;
  float: left;
  color: red;
  font-size: 0.9em;
}

form .error:before {
  content: '↑';
  font-size: 1em;
  position: absolute;
  top: 0;
  left: 0;
}

.subpage {
  padding: 5em 1.6em;
  margin: auto;
  overflow-x: auto;
}

.subpage h1 {
  padding-bottom: 0.36em;
}

.closelink {
  border-radius: 50%;
  width: 2.6em;
  height: 2.6em;
  display: block;
  position: fixed;
  margin: 1em;
  top: 0;
  right: 0;
  z-index: 9;
  transition: all 0.4s ease-in-out;
}

.closelink i {
  display: block;
  height: 3px;
  position: absolute;
  top: 50%;
  width: 100%;
  background: #000;
  transform: rotate(45deg);
}

.closelink i.l {
  transform: rotate(-45deg);
}

.closelink:hover {
  transform: rotate(90deg);
}


/* responsive layout  ====================================================================== */

@media screen and (min-width: 1600px) {
  .ge-section.home h1 {
    font-size: 4em
  }
}
@media screen and (max-width: 1180px) {
  .ge-section.home h1 {
    font-size: 3em
  }
}

@media screen and (max-width: 1506px) {
  html {
    font-size: 19px;
  }
}

@media screen and (max-width: 960px) {
  html {
    font-size: 16px;
  }
  .ge-section {
    padding-top: 4em;
    padding-bottom: 4em;
  }
}

@media screen and (max-width: 680px) {
  .ge-section.home h1, h1 {
    font-size: 2.3em;
    line-height: 1.2em;
  }
  h2 {
    font-size: 1.5em;
  }
  input, select, textarea {
    width: 100%;
  }
}

@media screen and (max-height: 590px) {
  .ge-section.fullheight {
    min-height: 25em;
    height: 100vh;
  }
  .ge-section.home br {
    display: none;
  }
}

@media screen and (max-width: 520px) {
  .contentWidth {
    padding: 0 1.667em;
  }
}
