html {
    height     : 100%;
    max-height : 100%;
}

body {
    margin     : 0;
    background : #fc4250;
}

#wrap {
    width  : 100%;
    height : 100%;
}

body:not(.home) #wrap {
    z-index : 100;
}

html {
    margin-bottom : 150px;
}

body:before {
  /*  background      : url(../images/exitcorona_bg_muster.png) center top fixed;*/
    content         : "";
    background-size : cover;
    position        : fixed;
    top             : 0;
    bottom          : 0;
    width           : 100%;
    z-index         : -2;
}

body.impressum, body.datenschutz {
    font-size : 15px;
}

video {
    object-fit : fill;
    height     : auto;
}

#wrap {
    position : relative;
    height   : 100%;
}

/*tooltip*/
.ui-tooltip {
}

.ui-tooltip-content {

}

#tesla-cover {
    position : absolute;
    top      : 150px;
    width    : 80%;
    left     : 10%;
}

#logo {
    position       : absolute;
    left           : 10%;
    width          : 80%;
    top            : 20%;
    pointer-events : none;
    z-index        : 50;
}

body.impressionen div.einzelartikel {
    opacity : 1;
}

#tesla-cover #tesla-bg {
    width : 100%;
}

#space-bg {
    display  : none;
    width    : 100%;
    position : absolute;
    z-index  : -10
}

/*
#tesla-cover:before {
    background: url(../images/tesla_bg.jpg) center top no-repeat;
    content: "";
    background-size: 100% auto;
    position: absolute;
    top: 0;
    left: -15px;
    right: -15px;
    z-index: -1;
}
#header-image img {
    margin-top: -250px;
    width: 100%;
}
*/

footer {
	position: fixed;
	background: darkgray;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 1000;
	opacity: 0.95;
}

footer #footer-info {
    display         : flex;
    max-width       : 90%;
    margin          : 0 auto;
    justify-content : center;
    /*background      : #ffffff;*/
}

footer #footer-info > div {
    text-align : center;
}

footer #footer-info img {
    max-height : 60px;
}

footer #footer-text {
    color     : #ffffff;
    font-size : 16px;
}

footer .footer-nav {
    justify-content : center;
}

#headerwrap {
    position         : fixed;
    z-index          : 200;
    background-color : black;
    padding          : 10px 1%;
    width            : 100%;
    top              : 0;
}

ul.org-menu li {
    padding-left : 5px;
}

ul.org-menu {
    justify-content : center;
}

.red-slash, ul.org-menu .separator {
    color : #a21f25;
}

h1, h2, h3 {
    color : #33557c;
}

h1 {
    font-size   : 32px;
    margin      : 10px 0;
    font-weight : bold;
}

h2 {
    font-size : 28px;
    margin    : 10px 0;
}

h3 {
    font-size   : 20px;
    margin      : 10px 0;
    font-weight : bold;
}

p {
    margin-bottom : 10px;
}

label {
    font-size : 14px;
}

fieldset {
    border  : none !important;
    padding : 0 !important;
    margin  : 0 !important;
}

a {
    color           : #ffffff;
    text-decoration : none;
}

a.extern:before {
    content         : "\21E5 \0020";
    color           : #ffffff;
    text-decoration : none;
}

a:hover {
    color : #a21f25;
}

a:hover::before {
    color : #a21f25;
}


#content a {
    color : #fc4f5c;
	    text-decoration : underline;
}



ol, ul {
    padding-left : 17px;
}

.btn {
    font-size : 16px;
}

.fb-link {
    position : fixed;
    top      : 7px;
    right    : 92px;
    z-index  : 300;
}

.fb-link img {
    vertical-align : top;
    
}

.mod-languages {
    position : fixed;
    top      : 0;
    right    : 10px;
    z-index  : 300;
}

div.mod-languages ul.lang-inline li {
    display : block !important;
    float   : left;
}

div.mod-languages ul.lang-inline li img {
    width  : 28px;
    height : auto;
}

#to-10-fakten {
    position   : absolute;
    top        : 30px;
    left       : 10%;
    border     : none;
    background : none;
    outline    : 0;
    text-align : left;
    z-index    : 100;
    cursor     : pointer;
}

#to-10-fakten img {
    z-index   : 101;
    display   : block;
    transform : rotate(-5deg);
    width     : 15vw;
}

#satellite {
    position          : absolute;
    top               : 100px;
    right             : 20%;
    border            : none;
    background        : none;
    outline           : 0;
    text-align        : left;
    z-index           : 40;
    -webkit-animation : xAxis 5s infinite linear, yAxis 5s infinite linear;
    animation         : xAxis 5s infinite linear, yAxis 5s infinite linear;
}

#satellite img {
    z-index : 101;
    display : block;
}

#motto {
    text-align  : center;
    font-size   : 3vw;
    font-weight : bold;
    margin-top  : -28%;
    color       : #ffffff;
    line-height : 1.0;
    text-shadow : 1px 1px 3px rgba(10, 10, 10, 1), 1px 1px 3px rgba(10, 10, 10, 1), 1px 1px 3px rgba(10, 10, 10, 1);
}

.moduletable {
    width : 100%;
    margin-top: 10px;
    margin-bottom: 10px;
}

/*content*/
body.home #all {
    padding-top : 40vh;
    height      : 100%;
}

body.home #content {
    margin-bottom : 200px;
}

.in-text-image {
    float   : left;
    width   : 150px;
    padding : 0 20px 10px 0 !important;
}

/*kontaktformular unterstützer*/
#module-trigger, .rsform-submit-button, .btn-red {
    padding               : 8px 30px;
    color                 : #ffffff;
    background            : #fc4250;
    border                : 1px solid #a21f25;
    border-radius         : 5px;
    transition            : all 0.2s;
    cursor                : pointer;
    font-size             : 16px;
    outline               : 0;
    box-shadow            : none !important;
    -webkit-touch-callout : none;
    -webkit-user-select   : none;
    -khtml-user-select    : none;
    -moz-user-select      : none;
    -ms-user-select       : none;
    user-select           : none;
}

#module-trigger:after {
    content : "\2002 \2192";
}

#module-trigger:hover, .rsform-submit-button:hover {
    background   : #ce6569;
    border-color : #ce6569;
}

#module-trigger-checkbox {
    display : none;
}

#module-trigger-content {
    max-height : 0px;
    overflow   : hidden;
    transition : max-height 0.2s;
}

#module-trigger-checkbox:checked ~ #module-trigger-content {
    display    : block;
    max-height : 1200px;
}

#module-trigger-checkbox:checked ~ #module-trigger:after {
    content : "\2002 \2193";
}

#module-trigger-content {
    background : darkgray;
}

#module-trigger-content > div {
    padding : 20px 30px 30px;
}

#userForm input, #userForm textarea {
    margin-bottom : 5px;
}

.modal-call.btn-red {
    position : absolute;
    bottom   : 10px;
    right    : 25px;
    padding  : 0px 10px;
}

#support-slogan-modal {
    display       : none;
    position      : fixed;
    top           : 20%;
    left          : 20%;
    right         : 20%;
    color         : #ffffff;
    background    : #921c21;
    border-radius : 5px;
    padding       : 50px;
    z-index       : 1003;
    border        : 1px solid #000000;
}

#custom-gallery-modal {
    display       : none;
    position      : fixed;
    top           : 10%;
    left          : 23%;
    right         : 23%;
    bottom        : 10%;
    color         : #ffffff;
    background    : #921c21;
    border-radius : 5px;
    padding       : 20px;
    z-index       : 10003;
    border        : 1px solid #000000;
}

#custom-gallery-modal .custom-gallery-modal-viewport {
    height     : 100%;
    text-align : center;
}

#custom-gallery-modal img {
    width         : auto;
    max-width     : 100%;
    max-height    : 100%;
    margin-bottom : 10px;
}

#support-slogan-modal.active, #custom-gallery-modal.active {
    display : block;
}

#support-slogan-modal .modal-close {
    float      : right;
    font-size  : 20px;
    background : #1c1c1c;
}

#custom-gallery-modal .modal-close {
    font-size  : 20px;
    background : #1c1c1c;
    cursor     : pointer;
    position   : absolute;
    bottom     : 0;
    right      : 0;
    z-index    : 105;
}

/*einzelartikel*/
.einzelartikel.item-page, body.unterstuetzer .category-list {
    background    : white;
  /*  opacity       : 0.95;
    border        : 1px solid #333333;*/
    border-radius : 5px;
    color         : #ffffff;
    padding       : 20px 40px 10px 40px;
    margin        : 100px 0 150px 0;
}

.einzelartikel.item-page h1,
.einzelartikel.item-page h2,
.einzelartikel.item-page h3,
.einzelartikel.item-page h4,
body.unterstuetzer h1 {
    color       : black;
    font-weight : bold;
}

.einzelartikel.item-page h1 {
    margin-bottom : 22px;
     color       : #fc505d;
     font-size	:	2.5rem;
}

/*unterstuetzer*/
.supporter-item {
    margin-bottom : 30px;
    position      : relative;
}

.supporter-content {
	background: darkgray;
	border-radius: 5px;
	flex-grow: 1;
	height: 100%;
	color: black;
}

.supporter-content.longer {
    padding-bottom : 50px;
}

.supporter-image {
    background-size     : 100% auto;
    height              : 135px;
    background-position : center center;
    background-repeat   : no-repeat;
    background-color    : #ffffff;
    border: 1px solid lightgray;
}

.supporter-item.large .supporter-image {
    width       : 200px;
    min-width   : 200px;
    margin-left : 15px;
}

.supporter-text {
    padding : 10px;
    
}

.large .supporter-content {
    padding : 30px;
}

.large .supporter-text {
    text-align : right;
    padding    : 0 20px 0 20px;
    width      : 100%;
}

.large .supporter-content p.quote {
    font-size : 16px;
}

.large .supporter-content p {
    margin : 0;
}

.supporter-item.large {
    width         : 100%;
    padding-left  : 15px;
    padding-right : 15px;
    order         : 1;
}

.supporter-item.small {
    width         : 16.66%;
    padding-left  : 15px;
    padding-right : 15px;
    order         : 2;
}

.supporter-name {
    font-weight : bold;
}

.perma-link {
    text-decoration : underline;
    color           : #ce6569;
}

.total-supporters {
    position      : absolute;
    top           : -30px;
    right         : 40px;
    padding       : 10px 30px 20px 30px;
    z-index       : 1001;
    background    : #fc4250;
    text-align    : center;
    font-weight   : bold;
    border-radius : 5px;
}

.total-supporters-sm {
    position      : absolute;
    top           : -30px;
    right         : 25px;
    padding       : 5px 30px 12px 30px;
    z-index       : 1001;
    background    : #fc4250;
    text-align    : right;
    font-weight   : bold;
    border-radius : 5px;
}

.total-supporters .total-supporters-count {
    font-size   : 90px;
    font-style  : italic;
    line-height : 90px;
}

.total-supporters .total-supporters-text {
    font-size   : 32px;
    line-height : 40px;
}

.total-supporters-sm .total-supporters-count {
    font-size   : 36px;
    font-style  : italic;
    line-height : 36px;
}

.total-supporters-sm .total-supporters-text {
    font-size   : 24px;
    font-style  : default;
    line-height : 24px;
}

/*blog*/
body.home .blog, body.home .blog * {
    pointer-events : none;
}

body.home .blog .blog-item {
    pointer-events : all !important;
    color          : #a0a0a0;
    opacity        : 0.5;
    transition     : all 0.3s;
    padding-bottom : 50px;
}

body.home .blog .blog-item.visible, .einzelartikel.item-page {
    opacity : 1;
    color   : black;
}

body.home .blog .blog-item-content {
    background : rgb(27, 27, 27);
    padding    : 10px 40px 10px 40px;
}

body.home .blog .blog-item.visible .blog-item-content, .einzelartikel.item-page {
    background    : white;

    border        : 1px solid #333333;
    border-radius : 5px;
}

body.home .blog .blog-item .page-header h2 {
    text-align    : center;
    color         : #a0a0a0;
    margin-bottom : 20px;
}

body.home .blog .blog-item.visible .page-header h2 {
    color : #ffffff;
}

body.home .items-leading {
    position : relative
}

body.home #blogstart {
    position : absolute;
    top      : -100px;
}

body.medienberichte div.einzelartikel table {
    width           : 100%;
    border-collapse : collapse;
}

body.medienberichte div.einzelartikel table td {
    padding : 5px;
    width   : auto;
}

body.medienberichte div.einzelartikel table td:not(:first-of-type) {
    text-align : left;
}

/*impressionen*/
#custom-gallery {
    
}

#custom-gallery .custom-gallery-viewport {
    overflow   : hidden;
    max-height : 160px;
}

#custom-gallery .custom-gallery-image {
    width : 100%;
}

/*downloads*/
.einzelartikel.downloads table:not(:first-of-type) img {
    max-width      : 100%;
    vertical-align : middle;
}

.einzelartikel.downloads table td {
    text-align : center;
}

.einzelartikel.downloads table:not(:first-of-type) td {
    width : 25%;
}

.einzelartikel.downloads table:not(:first-of-type) td > a {
    max-height : 150px;
    overflow   : hidden;
    display    : block;
}

div#frontpage-video {
    position: absolute;
    width: 800px;
    height: 226px;
    top: 500px;
    left: calc(50% - 400px);
    border: none;
    background: rgba(0,0,0,1);
    outline: 0;
    z-index: 100;
    -webkit-box-shadow: 3px 3px 5px 0px rgba(0,0,0,0.75);
    -moz-box-shadow: 3px 3px 5px 0px rgba(0,0,0,0.75);
    box-shadow: 3px 3px 5px 0px rgba(0,0,0,0.75);
    color: #FFFFFF;
    line-height: 1.8rem;
    margin-right: 0;
    margin-left: 0;
}

div#frontpage-video h3 {
    margin-top: 1rem;
    color: #ca001f;
}

@media screen and (min-width : 1440px) {
    footer #footer-info > div {
        flex : 1 0 auto;
    }
}

@media screen and (max-width : 1300px) {
    div#frontpage-video {
        top: 380px;
    }
}

@media screen and (max-width : 1200px) {
    div#frontpage-video {
        top: 420px;
    }
}

@media screen and (min-width : 1000px) {
    .n2-ss-slider .n2-ss-layer-content {
    }
    
    .n2-ss-slide:not(.n2-ss-slide-4) .n2-ow.n2-ow-all p {
        font-size : 16px !important;
    }
}

@media screen and (max-width : 980px) {
    .total-supporters-sm {
        display : block;
    }
    
    .total-supporters {
        display : none;
    }
    
    .supporter-item.small {
        width : 33.33%;
    }
    
    #tesla-starman {
        left  : 0%;
        width : 100%;
        top   : 3%;
    }
}

@media screen and (min-width : 981px) {
    .total-supporters-sm {
        display : none;
    }
    
    .total-supporters {
        display : block;
    }
}

@media screen and (max-width : 767px) {
    #support-slogan-modal, #custom-gallery-modal {
        left  : 0%;
        right : 0%;
    }
    
    .supporter-item.small {
        width : 50%;
    }
    
    .large .supporter-text {
        text-align : left;
    }
    
    .large .supporter-content > div {
        flex-wrap : wrap !important;
    }
    
    .in-text-image {
        max-width : 100px;
    }
    
    body.home .blog .blog-item {
        color      : #ffffff;
        opacity    : 1;
        transition : all 0.2s;
    }
    
    body.home .blog .blog-item-content {
        background : rgb(27, 27, 27);
        padding    : 15px;
        border     : none !important;
    }
    
    #tesla-starman {
        left  : -25%;
        width : 150%;
    }
    
    #to-10-fakten img {
        min-width : 30vw;
    }
    
    #tesla-cover {
        width : 170%;
        left  : -35%;
    }
    
    #motto {
        font-size : 5vw;
    }

    div#frontpage-video {
        position: absolute;
        width: 100%;
        height: 56.2vw;
        top: 330px;
        left: unset;
    }

    .video-container {
        position: relative;
        padding-bottom: 56.25%;
        padding-top: 30px;
        height: 0;
        overflow: hidden;
    }

    .video-container iframe,
    .video-container object,
    .video-container embed {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

}

@media screen and (max-width : 574px) {
    body.impressionen .einzelartikel.item-page, body.unterstuetzer .category-list {
        padding : 2px;
    }
    
    .supporter-item.small {
        width : 100%;
    }
    
    #tesla-starman {
        margin-top : 40px;
        left       : -40%;
        width      : 180%;
    }
    
    #to-10-fakten {
        min-width  : 24vw;
        margin-top : 50px;
    }
    
    .n2-ss-layer p {
        line-height : 1.3 !important;
    }

    div#frontpage-video {
        top: 430px;

    }
}

@media screen and (max-width : 420px) {
    #tesla-starman {
        left  : -50%;
        width : 200%;
    }
}

@media screen and (max-width : 1165px) {
    div.mod-languages {
        top : 35px;
    }
    
    a.fb-link {
        top : 42px;
        
    }
}

@media screen and (max-width : 640px) {
    div.mod-languages {
        top : 65px;
    }
    
    a.fb-link {
        top : 72px;
        
    }
}

@media screen and (max-width : 465px) {
    div.mod-languages {
        top : 90px;
    }
    
    a.fb-link {
        top : 97px;
        
    }
}

@-webkit-keyframes yAxis {
    50% {
        -webkit-animation-timing-function : linear;
        animation-timing-function         : linear;
        -webkit-transform                 : translateY(-8px);
        transform                         : translateY(-8px);
    }
}

@keyframes yAxis {
    50% {
        -webkit-animation-timing-function : linear;
        animation-timing-function         : linear;
        -webkit-transform                 : translateY(-8px);
        transform                         : translateY(-8px);
    }
}

@-webkit-keyframes xAxis {
    50% {
        -webkit-animation-timing-function : linear;
        animation-timing-function         : linear;
        -webkit-transform                 : translateX(8px);
        transform                         : translateX(8px);
    }
}

@keyframes xAxis {
    50% {
        -webkit-animation-timing-function : linear;
        animation-timing-function         : linear;
        -webkit-transform                 : translateX(8px);
        transform                         : translateX(8px);
    }
}
