/* IMPORTS */


@font-face { 
    font-family: SourceSans; 
    src: url(fonts/SourceSansPro-Regular.ttf); 
}

@font-face { 
    font-family: SourceSansBold;
    src: url(fonts/SourceSansPro-Bold.ttf); 
}

@font-face { 
    font-family: SourceSansLight;
    src: url(fonts/SourceSansPro-Light.ttf); 
}

@font-face { 
    font-family: SourceSansSemiBold;
    src: url(fonts/SourceSansPro-SemiBold.ttf); 
}

@font-face { 
    font-family: SourceSansItalic;
    src: url(fonts/SourceSansPro-Italic.ttf); 
}

/* GLOBAL */

h1, h3 {
    font-family: SourceSansBold;
    font-size: 50px;
    letter-spacing: 2px;
}

h1 a, h1:hover a  {
    text-decoration: none;
}


h1 {
    white-space: nowrap;
}

h1.flat, h3.flat, h4.flat {
    margin: 0px;
}

h4 {
    font-family: SourceSansSemiBold;
    font-size: 26px;
    letter-spacing: 2px;
    margin-top: 10px;
    margin-bottom: 0px;
}

a {
    color: #ffffff;
    cursor: pointer;
}

a:hover {
    text-decoration: underline;
}

body{
    margin: 0px;
    font-family: SourceSansLight;
    font-size: 20px;
    width: 100%;
    height: 100%;
    color: #ffffff;
    overflow-x: hidden;
    background-color: #000000;
}

* {
    outline: none;
    cursor: default;
}

.bg-container {
    display: block;
    position: fixed;
    width: 100%;
    height: 100%;
    left: 0px;
    top: 0px;
    background-color: #000000;
    opacity: 0;
}

.content {
    display: block;
    position: relative;
    height: auto;
    min-height: calc(100vh - 130px);
    top: 90px;
    opacity: 0;
}

.container {
    display: block;
    position: relative;
    width: calc(100% - 100px); 
    height: auto;
    margin-left: 40px;
    margin-right: 40px;
}

.row {
    display: block;
    position: relative;
    margin-top: 10px;
    margin-bottom: 10px;
    height: auto;
    font-size: 0px;
}

.row.bottom {
    bottom: 0px;
}


/* CONTENT */

.element-container {
    display: block;
    position: relative;
    height: auto;
    margin-top: 20px;
    padding-bottom: 40px;
}

.element {
    vertical-align: bottom;
    display: inline-block;
    position: relative;
    width: auto;
    max-width: 700px;
    height: auto;
    background-color: rgba(0,0,0,0.8);
    margin-left: 25px;
    margin-bottom: 25px;
    padding: 15px;
    overflow: hidden;
}

.element.full {
    max-width: 100%;
}

/* CONTROLS */

.control-button {
    vertical-align: top;
    display: inline-block;
    position: relative;
    width: auto;
    min-width: 20px;
    height: 20px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 20px;
    padding: 5px;
    cursor: pointer;
}

.control-button.prev {
    background-image: url(../assets/control_arrow.svg);
}

.control-button.next {
    transform: scale(-1,1);
    background-image: url(../assets/control_arrow.svg);
}

.control-button.pause {
    background-image: url(../assets/control_pause.svg);
}

.control-button.pause.active {
    background-image: url(../assets/control_play.svg);
}

.control-button.hide {
    font-family: SourceSansSemiBold;
    font-size: 20px;
    margin-top: -3px;
}




/* HEADER */

.header-container {
    position: fixed;
    display: block;
    height: auto;
    top: 0px;
    width: 100%;
    min-height: 50px;
    max-height: calc(100% - 40px);
    overflow: hidden;
    background-color: rgba(0,0,0,0.8);
    z-index: 1000;
    box-sizing: border-box;
}


.header-container.special {
    padding-bottom: 20px !important;
}

.header-container .row {
    margin: 0px;
    margin-top: -10px;
}

.logo {
    display: block;
    position: relative;
    height: auto;
    transition: all 0.3s ease-in-out;
    padding-right: 30px;
    margin-right: 100px;
    height: 60px;
}

.logo img {
    position: relative;
    height: 100%;
    cursor: pointer;
}

.menu {
    display: block;
    position: relative;
    width: auto;
    max-width: 100%;
    height: auto;
    right: 0px;
    bottom: 10px;
    z-index: 1000;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
    color: #ffffff;
}

.menu.active {
    margin-top: 30px;
    padding-bottom: 20px;
}

.menu-button {
    display: block;
    position: absolute;
    right: 0px;
    top: 0px;
    width: 35px;
    height: 35px;
    background-image: url(../assets/menu.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 20px;
    padding: 10px;
    transition: all 0.3s ease-in-out;
    z-index: 1000;
    cursor: pointer;
    border: 2px solid #ffffff;
}

.menu-button:before {
    content: "Menü";
    font-size: 20px;
    font-family: SourceSansBold;
    line-height: 35px;
    position: absolute; 
    left: 0px;
    transform: translateX(-100%) rotate(-90deg);
    margin-left: 5px;
}

.menu-button.active:before {
    display: none;
}

.header-container.small .menu-button {
    height: 25px;
    width: 25px;
    background-size: 18px;
    border-width: 3px;
}

.menu-button.active {
    background-image: url(../assets/plus_white.svg);
    transform: rotate(45deg);
}

.menu-content {
    display: block;
    position: relative;
    width: 100%;
    height: auto;
    max-height: 0px;
    transition: all 0.5s ease-in-out
}

.menu.active .menu-content {
    max-height: 2000px;
}



.menu-entry {
    display: block;
    position: relative;
    width: calc(100% - 20px);
    padding: 15px;
    cursor: pointer;
    border-bottom: 5px solid #ffffff;
    box-shadow: 0px 20px 40px -20px rgba(0,0,0,0.6);
    font-family: SourceSans;
    font-size: 26px;
}



.menu-entry.sup:before {
    content: "";
    display: block;
    position: absolute;
    width: 60px;
    height: 100%;
    right: 0px;
    top: 0px;
    box-shadow: none;
    margin-top: -5px;
}

.menu-entry.sup:after {
    content: "";
    display: block;
    position: absolute;
    width: 60px;
    height: 100%;
    right: 0px;
    top: 0px;
    background-image: url(../assets/plus_white.svg);
    background-repeat: no-repeat;
    background-size: 20px;
    background-position: center;
    transition: all 0.3s ease-in-out;
}

.menu-entry.active.sup:before {
    border-bottom: 5px solid transparent;
}

.menu-entry.active.sup:after {
    transform: rotate(45deg);
}


.menu-entry:hover:not(.nolink), .menu-entry.sub:hover:not(.nolink) {
    background-color: #fff;
    color: #000;
}

.menu-entry.nolink{
	cursor: default;
}

.menu-entry:hover.sup:after {
    background-image: url(../assets/plus_black.svg);
}

.menu-entry.sub {
    max-height: 0px;
    width: calc(100% - 10px);
    padding: 10px;
    padding-left: 50px;
    box-shadow: none;
    border-bottom: none;
    color: #ffffff;
    background-color: rgba(0,0,0,0.1); 
    transition: all 0.3s ease-in-out;
    overflow: hidden;
    padding: 0px;
}

.menu-entry.sub.subber {
	padding-left: 70px
}

.menu-entry.sub.subber.visible {
	padding-left: 70px
}

.menu-entry.sub.visible {
    padding: 10px;
    max-height: 100px;
    overflow: show;
}

a.menu-entry {
    text-decoration: none;
}





/* FOOTER */

.footer-container {
    display: block;
    position: fixed;
    width: calc(100% - 40px);
    height: auto;
    padding-top: 15px;
    padding-bottom: 15px;
    background-color: rgba(0,0,0,0.8);
    font-size: 14px;
    bottom: 0px;
    text-align: center;
    padding-left: 20px;
    padding-right: 20px;
}

.bg-buttons-footer {
	margin-bottom: 5px;
}

/* COLUMN */

.column {
    display: inline-block;
    position: relative;
    height: auto;
    vertical-align: top;
    margin-top: 20px;
    margin-bottom: 10px;
    font-size: 20px;
    box-sizing: border-box;
}


.column.centered {
    text-align: center;
}

.header-container.column {
    margin: 0px;
}

.header-container.small .column {
    margin-top: 10px;
    margin-bottom: 0px;
}

.column.third {
    width: 33.0%;
}

.column.half {
    width: 50%;
}

.column.full {
    width: 100%;
}

/* SLIDER */

.slider-container {
    display: block;
    position: relative;
    height: auto;
    width: calc(100vw * 0.75);
    max-width: 100vw;
    background-color: rgba(0,0,0,0.8);
}

.slider-container.fullscreen{
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    z-index: 2000;
}

.slick-slider, .bg-slider {
    display: block;
    position: relative;
    width: 100%;
    height: auto;
}

.bg-slider {
    height: 100%;
}

.slider-container.fullscreen .slick-slider {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    left: 0px;
    width: 100%;
    height: 100%;
    padding: 40px;
}

.slide, .bg-slide {
    display: block;
    position: relative;
    width: 100%;
    height: 500px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.bg-slide {
    width: 100vw;
    height: 100vh;
    background-size: cover;
}

.slider-container.fullscreen .slide {
    width: calc(100vw - 80px);
    height: calc(100vh - 80px);
    background-size: contain;
}

.arrow {
    display: block;
    position: absolute;
    width: 30px;
    height: 30px;
    top: 50%;
    transform: translateY(-50%);
    background-repeat: no-repeat;
    background-position:center;
    background-size: 30px;
    background-image:url(../assets/arrow.svg);
    background-color: rgba(255,255,255,0.5);
    border-radius: 100%;
    padding: 10px;
}



.arrow.left {
    left: 10px;
    transform: translateY(-50%) scaleX(-1);
}

.arrow.right {
    right: 10px;
}

.slider-container.fullscreen .arrow.left {
    left: 50px;
}

.slider-container.fullscreen .arrow.right {
    right: 50px;
}

.slick-dots {
    bottom: 10px !important;
}

.slider-container.fullscreen .slick-dots {
    bottom: 50px !important;
    background-color: rgba(255,255,255,0.3);
    border-radius: 5px;
    width: calc(100% - 80px);
    width: auto;
    left: 50%;
    transform: translateX(-50%);
    padding-bottom: 10px;
    display: block;
}

.slick-dots button:before {
    font-size: 10px !important; 
}


/* EMAIL */

input[type="text"], textarea {
    cursor: text;
}


#mail-form {
	display: block;
	position: relative;
	width: 100%;
	height: auto;
}

label, input[type="text"], textarea {
	display: block;
	position: relative;
	width: 100%;
	height: auto;
	font-size: 20px;
	color: rgba(0,0,0,1);
    font-family: SourceSansLight;
}

label {
	margin-top: 20px;
	margin-bottom: 10px; 
    color: #fff;
}

input[type="text"], textarea {
	position: relative;
	display: block;
	width: calc(100% - 20px);
	border: none;
	background-color: #fff;
	padding: 10px;
	
}

label:first-child {
	margin-top: 0px;
}

#status {
    display: none;
	color: #fff;
	font-size: 20px;
}

#another-mail{
	display:block;
	margin-left: 0px;
	margin-right: 0px;
	margin-top: 0px;
}

.button {
    display: inline-block;
    position: relative;
    color: #000;
    border: 2px solid #000;
    left: 50%;
    transform: translateX(-50%);
    font-size: 20px;
    padding: 15px;
    cursor: pointer;
	transition: all 0.5s ease-in-out; 
	margin: 20px;
	margin-left: 0px;
}

#another-mail.button {
    left: 0px;
    transform: none;
}

.button:not(.inactive):hover {
	/*background-color: #000;
	color: #ffffff;*/
}

.button.inactive {
	border-color: #333;
	color: #333;
	opacity: 0.3;
	cursor: default;
}

#send.button {
	left: 0px;
	transform: translateX(0%);
	margin-top: 40px;
}


/* TABLES */

td {
    padding-right: 20px;
}

td:last-child {
    padding: 0px;
}


/* OVERLAY */

.overlay {
    position: fixed;
    display: none;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    background-color: rgba(0,0,0,0.8);
    border: 20px solid transparent;
    z-index: 10000;
    box-sizing: border-box;
}

.overlay#restaurator {
    background-image: url(../assets/img/zertifikate_web/Restaurator.jpg);
}

.overlay#zimmerer {
    background-image: url(../assets/img/zertifikate_web/Zimmerer.jpg);
}

.overlay#energieberater {
    background-image: url(../assets/img/zertifikate_web/Energieberater.png);
}

.overlay#bauleiter {
    background-image: url(../assets/img/zertifikate_web/Bautechnik.png);
}
    
@media only screen and (max-width: 700px) {
    .container {
        margin-left: 10px;
        margin-right: 10px;
        padding-left: 15px;
        padding-right: 15px;
        width: calc(100% - 50px);
    }
    .element {
        margin-left: 10px;
        margin-bottom: 10px;
        max-width: calc(100% - 0px);
        width: calc(100% - 50px);
    }
    h1 {
        font-size: 26px;   
    }
    .menu-button {
        width: 10px;
        height: 10px;
        background-size: 15px;
        margin-top: 0px;
    }
    .menu-button.active {
        width: 10px;
        height: 10px;
        padding: 0px;
    }
    .menu-button:before {
        display: none;
    }
    .arrow {
        width: 20px;
        height: 20px;
        padding: 10px;
        background-size: 20px;
    }
    .slider-container {
        min-width: calc(100vw - 65px);
    }
}

@media only screen and (min-width: 1200px) {
    .slider-container {
        max-width: 1000px;
    }
}


