/*
	Theme Name: Demographie FIT
	Version: 1.0
	Author: Mike Franke
	Author URI: http://konsumkunst.com
*/

/*------------------------------------*\
	TYPOGRAPHY
\*------------------------------------*/

@import url('https://fonts.googleapis.com/css?family=Roboto:200,300,400,500');

html { 
font-size: 62.5%;
height: 100%;
position: relative
}

h1,h2,h3,h4,h5,h6 {
font-weight:normal;
}

h1 {
font-size: 3.6rem;
line-height: 120%;
font-weight: 700;
margin: 30px 0 0 0;
}

h2 {
font-size: 3.4rem;
line-height: 120%;
font-weight: 400;
margin: 30px 0 0 0;
}

h3 {
font-size: 2.7rem;
line-height: 120%;
font-weight: 400;
margin: 30px 0 0 0;
}

h4 {
font-size: 2rem;
line-height: 120%;
font-weight: 400;
margin: 30px 0 0 0;
}

h5 {
font-size: 1.8rem;
line-height: 120%;
font-weight: 400;
margin: 30px 0 0 0;
}

h6 {
font-size: 1.6rem;
line-height: 120%;
font-weight: 400;
margin: 30px 0 0 0;
}

ul {
list-style: none;
line-height: 120%;
}

/*------------------------------------*\
    MAIN
\*------------------------------------*/

html,body,div,span,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,address,cite,code,del,dfn,em,img,ins,q,small,strong,sub,sup,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td {
border:0;
margin:0;
padding:0
}

article,aside,figure,figure img,figcaption,hgroup,footer,header,nav,section,video,object {
display:block
}

/* global box-sizing */
*,
*:after,
*:before {
-moz-box-sizing:border-box;
box-sizing:border-box;
-webkit-font-smoothing:antialiased;
font-smoothing:antialiased;
text-rendering:optimizeLegibility;
-moz-osx-font-smoothing: grayscale;
}

body {
height:100% !important;
font-family: 'Roboto', sans-serif;
font-weight: 300;
font-size: 1.8rem;
color: #000;
position: relative;
background: #FFF;
}

#siteWrapper,
#skrollr-body {
height: 100%;
}

noscript {
background: rgba(44,57,86,1);
width: 100%;
height: 100%;
position: fixed;
top: 0;
left: 0;
z-index: 100000;
padding: 10%;
overflow: hidden;
text-align: center
}

noscript img {
margin: 0 0 50px 0;
}

noscript .info {
color: #FFF;
}

noscript .info a {
color: yellow
}

/* clear */
.clear:before,
.clear:after {
content:' ';
display:table;
}

.clear:after {
clear:both;
}

.hidden {
display: none;
}

img {
max-width:100%;
height: auto;
vertical-align:bottom;
-webkit-transform: translateZ(0);
}

a, .animate {
text-decoration:none;
-webkit-transition: all 0.3s ease;
-moz-transition: all 0.3s ease;
-ms-transition: all 0.3s ease;
-o-transition: all 0.3s ease;
transition: all 0.3s ease;
}

a:focus {
outline:0;
}

a:hover,
a:active {
outline:0;
}

strong, b {
font-weight: 500
}

.nicescroll-rails {
z-index: 105 !important
}

.nicescroll-cursors {
border: none !important;
width: 15px !important;
background-color: rgba(255,255,255,1) !important;
}

#siteWrapper {
position: relative;
padding: 0px;
margin: 0 auto;
}

/*------------------------------------*\
    HEADER
\*------------------------------------*/

#headerWrapper {
background: rgba(44,57,86,1);
z-index: 100;
width: 100%;
position: relative;
position: fixed !important;
top:0;
}

#headerInner {
max-width: 1280px;
padding: 45px 50px;
margin: 0 auto;
display: grid; 
grid-template-rows:auto; 
grid-template-columns:250px 1fr;
align-items: center;
-webkit-transition: 0.4s ease-out;
-moz-transition: 0.4s ease-out;
-ms-transition: 0.4s ease-out;
-o-transition: 0.4s ease-out;
transition: 0.4s ease-out; 
}

#logo {
-webkit-transition: 0.4s ease-out;
-moz-transition: 0.4s ease-out;
-ms-transition: 0.4s ease-out;
-o-transition: 0.4s ease-out;
transition: 0.4s ease-out; 
}

#logo.small {
width: 160px;
}

/*------------------------------------*\
    MAINMENU
\*------------------------------------*/

#menuWrapper {
width: 100%;
font-size: 1.6rem;
font-weight: 500;
}

#menuWrapper ul {
display: table;
float: right;
}

#menuWrapper ul li {
display: table-cell;
}

#menuWrapper ul li.hide,
#menuWrapper ul li.hidemob {
display: none;
}

#menuWrapper ul li a {
display: block;
padding:15px 25px;
text-align: center;
background-color: none;
color: #FFF;
text-decoration: none;
background-size: 200% 100%;
background-image: linear-gradient(to right, rgba(44,57,86,1) 50%, rgba(240,126,38,1) 50%);
}

#menuWrapper ul li.active a,
#menuWrapper ul li a:hover {
background-position: -100% 0;
}

/*------------------------------------*\
    CONTENT
\*------------------------------------*/

#contentWrapper {
width: 100%;
margin: 170px 0 0 0;
-moz-hyphens: auto;
-o-hyphens: auto;
-webkit-hyphens: auto;
-ms-hyphens: auto;
hyphens: auto; 
}

#contentWrapper a {
color: rgba(240,126,38,1);
font-weight: 400;
}

.sectionInner {
max-width: 1280px;
padding: 80px 50px;
margin: 0 auto;
}

.sectionInner .textWrapper {
display: grid; 
grid-template-rows:auto; 
grid-template-columns:66%;	
}

.sectionInner h2 {
font-size: 4rem;
font-weight: 500
}

.sectionInner h3 {
font-size: 2.5rem
}

.sectionInner p {
margin: 30px 0 0 0
}

.textWrapper .textblock {
padding: 0 0 0 0;
margin: 0 50px 0 0
}

.textWrapper .box .inner {
padding: 40px;
margin: 30px 0 0 0;
}

/* ---- SECTION #1 ----- */

.section.no1 .sectionInner .textWrapper {
grid-template-columns:calc(66% + 36px) calc(34% - 36px);
}

.section.no1 .sectionInner .textWrapper .box h3 {
font-size: 2rem;
color: rgba(238,228,35,1)
}

.section.no1 .sectionInner .textWrapper .box .inner {
font-size: 1.4rem;
font-weight: 400;
background: rgba(44,57,86,1);
color: #FFF;
}

.section.no1 .sectionInner .textWrapper .box p {
margin: 15px 0 0 0
}

.section.no1 .sectionInner .textWrapper .box a {
display: block;
margin: 30px 0 0 0;
padding: 20px 15px;
text-align: center;
background: rgba(240,126,38,1);
color: #FFF !important;
font-size: 1.8rem;
font-weight: 500
}

.section.no1 .sectionInner .textWrapper .box a:hover {
background: rgba(234,151,61,1);
}

.section.no1 .sectionInner h1 {
color: rgba(44,57,86,1);
font-size: 4.5rem;
font-weight: 500
}

.section.no1 .sectionInner h2 {
color: rgba(240,126,38,1);
font-size: 2.8rem
}

/* ---- SECTION #2 ----- */

.section.no2 .sectionInner .textWrapper {
grid-template-columns:1fr 1fr 1fr;
grid-column-gap: 40px;
margin: 30px 0 0 0;
}

.section.no2 {
background: rgba(44,57,86,0.9);
color: #FFF;
font-weight: 300
}

.section.no2 .sectionInner h2 {
color: #FFF;
}

.section.no2 .sectionInner h3 {
color: rgba(238,228,35,1)
}

.section.no2 .sectionInner .textWrapper .box {
background: rgba(44,57,86,1);
box-shadow: inset 0 0 0 1px rgba(255,255,255,0.4);
font-size: 1.5rem;
font-weight: 400;
padding: 40px;
margin: 30px 0 0 0;
}

.section.no2 .sectionInner .textWrapper .box h4 {
color: rgba(238,228,35,1);
font-size: 2rem;
font-weight: 500
}

.section.no2 .sectionInner .extracontent {
margin: 50px 0 0 0
}

/* ---- SECTION #3 ----- */

.section.no3 {
background: rgba(240,126,38,0.9);
color: #FFF;
font-weight: 300
}

.section.no3 .sectionInner .textWrapper {
grid-template-columns:calc(66% + 36px) calc(34% - 36px);
}

.section.no3 .sectionInner .textWrapper .box {
display: none
}

.section.no3 .sectionInner .textWrapper .box .inner {
font-size: 1.6rem;
font-weight: 500;
background: rgba(255,255,255,0.9);
color: rgba(44,57,86,1);
}

.section.no3 .sectionInner .textWrapper .box h2 {
font-size: 4rem;
color: rgba(44,57,86,1);
}

.section.no3 .sectionInner .textWrapper .box h3 {
font-size: 3rem;
color: rgba(240,126,38,1);
font-weight: 500;
margin: 10px 0 0 0
}

.section.no3 .sectionInner .textWrapper .box p {
margin: 15px 0 0 0
}

.section.no3 .sectionInner .textWrapper .box a {
display: block;
margin: 30px 0 0 0;
padding: 20px 15px;
text-align: center;
background: rgba(240,126,38,1);
color: #FFF !important;
font-size: 1.8rem;
font-weight: 500
}

.section.no3 .sectionInner .textWrapper .box a:hover {
background: rgba(234,151,61,1);
}

.section.no3 .sectionInner h2 {
color: #FFF;
}

.section.no3 .sectionInner h3 {
color: rgba(238,228,35,1)
}

#contentWrapper .section.no3 .sectionInner .textWrapper a {
color: rgba(44,57,86,1);
}

/* ---- SECTION #4 ----- */

.section.no4 {
background: rgba(44,57,86,0.9);
color: #FFF;
font-weight: 300
}

.section.no4 .sectionInner h2 {
color: #FFF;
}

.section.no4 .sectionInner h3 {
color: rgba(238,228,35,1)
}

.section.no4 .juryWrapper {
display: grid; 
grid-template-rows:auto; 
grid-template-columns:1fr 1fr 1fr;
grid-column-gap: 60px;
margin: 40px auto 0;
justify-self: center;
justify-items: center;
max-width: 880px;
}

.juryWrapper .mitglied {
text-align: center;
margin: 30px 0
}

.juryWrapper .mitglied img {
border-radius: 50%;
border: 5px solid #FFF;
}

.juryWrapper .mitglied h4 {
font-weight: 500;
margin: 15px 0 10px;
}

.juryWrapper .mitglied span {
display: block;
font-size: 1.4rem;
}

.fotonachweis {
font-size: 1.2rem;
margin: 40px 0 0 0
}

/* ---- SECTION #5 ----- */

.section.no5 .sectionInner .textWrapper {
grid-template-columns:100%;
}

.section.no5 .sectionInner .textWrapper .textblock {
margin: 0;
}

.section.no5 .sectionInner .textWrapper .textblock .wp-image-71 {
opacity: 0.8
}

.section.no5 .sectionInner .textWrapper .alignright {
float:right;
margin: -10px 0 0 50px
}

.section.no5 .sectionInner h2 {
color: rgba(44,57,86,1)
}

.section.no5 .sectionInner h3 {
color: rgba(240,126,38,1)
}

/* ---- SECTION #6 ----- */

.section.no6 {
background: rgba(44,57,86,0.9);
color: #FFF;
font-weight: 300
}

.section.no6 .sectionInner h2 {
color: #FFF;
}

.section.no6 .sectionInner h3 {
color: rgba(238,228,35,1)
}

/* ---- SECTION #Kontakt ----- */

.section.no7 {
background: rgba(44,57,86,1);
color: #FFF;
font-weight: 300
}

.section.no7 .sectionInner h2 {
color: #FFF;
}

.section.no7 .sectionInner h3 {
color: rgba(238,228,35,1)
}

.section.no7 .kontaktWrapper {
display: grid; 
grid-template-rows:auto; 
grid-template-columns:1fr 1fr 1fr;
grid-column-gap: 60px;
margin: 40px auto 0;
}

.section.no7 .kontaktWrapper .adresse {
font-size: 1.6rem;
font-weight: 400
}

.section.no7 .kontaktWrapper .adresse p {
margin: 15px 0 0 0;
}

.section.no7 .kontaktWrapper .adresse img {
margin: 30px 0 0 0
}

.kontaktWrapper .ansprechpartner {
text-align: center;
margin: 20px 0 0 0
}

.kontaktWrapper .ansprechpartner img {
border-radius: 50%;
max-width: 210px;
border: 5px solid #FFF;
}

.kontaktWrapper .ansprechpartner h4 {
font-weight: 500;
margin: 15px 0 10px;
}

.kontaktWrapper .ansprechpartner span {
display: block;
font-size: 1.4rem
}

.kontaktWrapper .metamenu {
text-align: right;
align-self: end;
-moz-hyphens: none;
-o-hyphens: none;
-webkit-hyphens: none;
-ms-hyphens: none;
hyphens: none; 
}

#contentWrapper .kontaktWrapper .metamenu a {
color: #FFF;
font-size: 1.6rem;
margin: 0 0 0 15px;
}

.kontaktWrapper .metamenu br {
display: none;
}

/* ---- SECTION #Impressum ----- */

.section.impressum .sectionInner h2, {
color: rgba(44,57,86,1)
}

.section.impressum .sectionInner h3 {
color: rgba(240,126,38,1)
}

/* ---- SECTION #Datenschutz ----- */

.section.datenschutz {
background: rgba(44,57,86,0.9);
color: #FFF;
font-weight: 300
}

.section.datenschutz .sectionInner h2 {
color: #FFF;
}

.section.datenschutz .sectionInner h4 {
margin: 30px 0 0 0
}

/* ----- UPBTN ----- */

.upBtn {
width: 50px;
height: 50px;
background: rgba(0,0,0,0.2);
position: fixed;
bottom: 40px;
right: 40px;
cursor: pointer;
display: none;
z-index: 500;
}

.upBtn:after {
content: ' ';
width: 0;
height: 0;
border-style: solid;
border-width: 0 10px 10px 10px;
border-color: transparent transparent rgba(255,255,255,1) transparent;
position: absolute;
top: 20px;
right:15px;
display: block;
}

/* ----- COOKIESTUFF ----- */

#cookie-notice {
opacity: 0.9
}

.cookie-notice-container {
padding:20px;
font-size:1.7rem
}

.cookie-notice-container #cn-notice-text {
display: block;
max-width: 800px;
margin: 0 auto 15px
}

.cookie-notice-container a {
font-size: 1.4rem;
text-decoration: underline;
color: #FFF;
}

.cookie-notice-container .cn-set-cookie {
display: inline-block;
padding: 6px 10px;
background: #FFF;
color: #e12d12;
text-decoration: none
}


/*------------------------------------*\
    SHOW HIDE MENU BUTTON
\*------------------------------------*/

.mobilemenuBtn {
position: fixed;
top: 20px;
right: 50px;
width: 105px;
color: #FFF;
padding: 25px 0;
display: none;
font-size: 1.5rem;
font-weight: 500;
text-transform: uppercase;
text-align: left;
height: 50px;
cursor: pointer;
z-index: 10000;
pointer-events: none;
line-height: 100%;
}

.mobilemenuWrapper {
display: none;
}

button.lines-button {
    background: rgba(51,56,58,0);
    border: medium none;
    display: inline-block;
    position: absolute;
    right:10px;
    top:4px;
    z-index: 800;
    outline: none;
}

.lines-button {
    cursor: pointer;
    padding: 1.5rem 1rem 2rem 1rem;
    transition: all 0.3s ease 0s;
}

.lines {
    background: #FFF;
    border-radius: 0.15rem;
    display: inline-block;
    height: 0.15rem;
    position: relative;
    transition: all 0.3s ease 0s;
    width: 3rem;
}

.lines::before, .lines::after {
    background: #FFF;
    border-radius: 0.15rem;
    content: "";
    display: inline-block;
    height: 0.15rem;
    left: 0;
    position: absolute;
    transform-origin: 0.15rem center 0;
    transition: all 0.3s ease 0s;
    width: 3rem;
}

.lines::before {
    top: 0.7rem;
}
.lines::after {
    top: -0.7rem;
}

.lines-button.close {
    transform: scale3d(0.8, 0.8, 0.8);
}
.lines-button.arrow.close .lines::before, .lines-button.arrow.close .lines::after {
    top: 0;
    width: 1.7rem;
}
.lines-button.arrow.close .lines::before {
    transform: rotate3d(0, 0, 1, 40deg);
}
.lines-button.arrow.close .lines::after {
    transform: rotate3d(0, 0, 1, -40deg);
}
.lines-button.arrow-up.close {
    transform: scale3d(0.8, 0.8, 0.8) rotate3d(0, 0, 1, 90deg);
}
.lines-button.minus.close .lines::before, .lines-button.minus.close .lines::after {
    top: 0;
    transform: none;
    width: 3rem;
}
.lines-button.x.close .lines {
    background: transparent none repeat scroll 0 0;
}
.lines-button.x.close .lines::before, .lines-button.x.close .lines::after {
    top: 0;
    transform-origin: 50% 50% 0;
    width: 3rem;
}
.lines-button.x.close .lines::before {
    transform: rotate3d(0, 0, 1, 45deg);
}
.lines-button.x.close .lines::after {
    transform: rotate3d(0, 0, 1, -45deg);
}

/* ----- PAGELOADER ----- */

#loader {
position: fixed;
z-index: 100002;
text-align: center;
width: 100%;
top:50%;
margin:0;
}

#loader .logo {
position: absolute;
left:50%;
top:50%;
transform: translateX(-50%) translateY(-50%);
width: 60px;
height: 60px;
z-index: 100
}

.loader,
.loader:before,
.loader:after {
  border-radius: 50%;
}
.loader {
  color: rgba(120,120,120,1);
  font-size: 8px;
  text-indent: -99999em;
  margin: 0 auto;
  position: relative;
  width: 10em;
  height: 10em;
  box-shadow: inset 0 0 0 3px;
  -webkit-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0);
  z-index: 90
}
.loader:before,
.loader:after {
  position: absolute;
  content: '';
}
.loader:before {
  width: 5.2em;
  height: 10.2em;
  background: rgba(51,56,58,1);
  border-radius: 10.2em 0 0 10.2em;
  top: -0.1em;
  left: -0.1em;
  -webkit-transform-origin: 5.2em 5.1em;
  transform-origin: 5.2em 5.1em;
  -webkit-animation: load2 2s infinite ease 1.5s;
  animation: load2 2s infinite ease 1.5s;
}
.loader:after {
  width: 5.2em;
  height: 10.2em;
  background: rgba(51,56,58,1);
  border-radius: 0 10.2em 10.2em 0;
  top: -0.1em;
  left: 5.1em;
  -webkit-transform-origin: 0px 5.1em;
  transform-origin: 0px 5.1em;
  -webkit-animation: load2 2s infinite ease;
  animation: load2 2s infinite ease;
}
@-webkit-keyframes load2 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@keyframes load2 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}