#wrapper {
	width: 100%;
	margin-right: auto;
	margin-left: auto;
	font-size: 20px;
    font-family: arial, sans-serif;
}

#background{
    min-height: 100%;
    height: auto !important;
    width: 100%;
    margin: auto;
    background-color: var(--primeColor);
    overflow: hidden !important;
}

html, body{
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

body.light{
    background-color: black;
    --primeColor: #f7f7f7;
    --secondColor: #F3F3F3;
    --blueColor: #495a72;
    --orangeColor: #ff5d33;
    --textColor: #000;
    --headerColor: #777;
    --borderColor: #DEDCD9;
}
body.dark{
    background-color: black;
    --primeColor: #212121;
    --secondColor: #242424;
    --blueColor: #495a72;
    --orangeColor: #ff5d33;
    --textColor: #fff;
    --headerColor: #909090;
    --borderColor: #363532;
}


.svgSidebar {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 10rem;
    visibility: hidden;
}

#sidebarinnline {
    transition: all 150ms;
    cursor: pointer;
}

.logo{
    position: fixed;
    top: 1rem;
    left: 8px;
    z-index: 3;
    width: 3rem;
    height: 3rem;
}

.sidebarleft{
    transition: all 250ms;
    position: fixed;
    top: 0;
    bottom: 0;
    left: -19.6rem;
    z-index: 2;
    width: 30rem;
    cursor: pointer;
    visibility: hidden;
}

.sidebarleft.open-sidebar{
    left: -11rem;
}

.sidebarleft .cta{
    position: absolute;
    color: #fff;
    top: 50%;
    right: 7rem;
    transform: rotate(-90deg);
    font: 2rem;
    font-family: sans-serif;
    transition: all 250ms;
    opacity: 1;
}

.sidebarleft.open-sidebar .cta{
    opacity: 0;
}

.sidebarleft.open-sidebar nav {
    opacity: 1;
}

.sidebarleft nav{
    opacity: 0;
    margin: 20rem 0 0 0;
    padding: 0;
    width: 100%;
    transition: 250ms all;
}

.sidebarleft nav ul{
    margin: 0;
    padding: 0;
    width: 100%
}

.sidebarleft nav ul li{
    margin: 0;
    padding: 0.5rem 0 0.5rem 1rem;
    list-style: none;
    width: 100%;
    text-align: center;
}

.sidebarleft nav ul li a{
    transition: 250ms all;
    color: #fff;
    text-decoration: none;
    font-family: sans-serif;
    font-size: 2rem;
}

.sidebarleft nav ul li a:hover{
    color: #000;
}


/*//////////////    TOGGLE    ////////////////////*/

.toggle {
    float: left;
    margin: 0.5rem 2rem 0.5rem 2rem;
    position: relative;
    /*display: inline-block;*/
    width:  6rem;
    height: 3.4rem;
}

.toggle input{
    display: none;
}

.roundbutton {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    background-color: var(--blueColor);
    display: block;
    transition: all 0.3s;
    border-radius: 3.4rem;
    cursor: pointer;
}

.roundbutton:before {
    position: absolute;
    content: "";
    height: 2.4rem;
    width: 2.5rem;
    border-radius: 100%;
    display: block;
    left: 0.5rem;
    bottom: 0.5rem;
    background-color: var(--primeColor);
    transition: all 0.3s;
}

input:checked + .roundbutton {
    background-color: var(--orangeColor);
}

input:checked + .roundbutton:before {
    transform: translate(2.6rem, 0);
}


/*//////////////    CHART    ////////////////////*/

.ct-series-a .ct-line,
.ct-series-a .ct-point {
  stroke: rgb(255, 166, 0) !important;
}

.ct-series-b .ct-line,
.ct-series-b .ct-point {
  stroke: rgb(123, 255, 0) !important;
}
  
  

/*//////////////    MAIN     ///////////////////*/



div header{
	padding-top: 10px;
	padding-bottom: 10px;
	height: 50px;
    width: auto;
	text-align: center;
}

div nav{
	text-align: center;
}

div nav ul{
	list-style-type: none;
}

div nav li{
	display: inline;
	margin-right: 40px;
}

a{
	color: var(--headerColor);
	text-decoration: none;
}
h1{
	color: var(--headerColor);
    text-decoration: none;
    font-size: 25px;
}
h2{
    color: var(--textColor);
    font-weight: 200;
    text-decoration: underline;
    font-size: 25px;
}
p{
    color: var(--textColor);
}

section{
    width: auto;
	margin-top: 10px;
    margin-left: 5px;
    margin-right: 5px;
}

section ul{
    list-style-type: none;
}
section li{
    margin-bottom: 10px;
}

.article, .kontakt{
    margin-bottom: 20px;
    min-height: 120px;
	height: auto;
	background-color: var(--secondColor);
	border: 1px solid var(--borderColor);
	padding: 10px;
}

.article img{
	float: left;
	padding: 5px;
	border: 1px solid var(--borderColor);
    margin: 0px;
    width: calc(100% - 10px);
    max-width: 768px;
}

.article button{
	float: left;
    padding: 1.5rem;
    border: 0.1rem solid var(--borderColor);
    font-size: 1.8rem;
    color: var(--headerColor);
    margin: 2rem 1.5rem 1.5rem 1.5rem;
    max-width: 15rem;
    background-color: var(--primeColor);
    text-align: center;
}
.article button:hover{
    background-color: var(--secondColor);
    color: var(--textColor);
    cursor: pointer;
    border-radius: 5px;
}

.sidebarright{
	padding: 25px;
	background-color: var(--secondColor);
	border: 1px solid var(--borderColor);
    width: calc(100% - 100px);
    float: left;
    margin: 25px;
}

.sidebarright img{
    width: calc(100% - 10px);
	padding: 5px;
	margin-top: 15px;
	border: 1px solid var(--borderColor);
}

.sidebarright h1{
	font-size: 18px;
	padding: 5px;
}

.sidebarright p{
	padding: 5px;
}

footer {
	background-color: var(--secondColor);
	border: 1px solid var(--borderColor);
	clear: both;
    margin: 5px;
    width: auto;
}

footer ul{
	float: left;
	list-style: none;
	padding: 0px;
	margin: 20px;
}

footer li{
	margin-right: 15px;
    margin-left: 15px;
	display: inline;
}

footer p{
	text-align: right;
	margin-right: 20px;
	color: var(--headerColor);
}


/*///////////////////MEDIA QUERIES//////////////////////*/


@media (pointer: fine){
    /* For devices without touchscreens (desktop)*/
    .sidebarleft, .svgSidebar {
        visibility: visible;
    }
    .sidebarright{
        margin-left: 5%;
        margin-right: 5%;
        width: calc(90% - 50px);
    }
    #wrapper{
        margin-left: 200px;
        width: calc(100% - 200px);
    }
}

@media only screen and (min-width: 768px) and (pointer: coarse){
    /* For small tablets and up: (touchscreen)*/
    div header{
        width: auto;
    }
    section{
        float: left;
        width: calc(75% - 30px);
    }
    .sidebarright{
        margin-left: 5px;
        margin-right: 5px;
        margin-top: 10px;
        margin-bottom: 20px;
        width: calc(25% - 50px);
        float: right;
    }
    .article img{
        margin: 15px;
        max-width: 400px;
        width: auto;
    }
}

@media only screen and (min-width: 1024px) and (pointer: fine){
    /* For small desktps and up: */
    div header{
        width: auto;
    }
    section{
        float: left;
        width: calc(75% - 30px);
    }
    .sidebarright{
        margin-left: 5px;
        margin-right: 5px;
        margin-top: 10px;
        margin-bottom: 20px;
        width: calc(25% - 49px);
        float: right;
    }
    .article img{
        margin: 15px;
        max-width: 400px;
        width: auto;
    }
}

@media only screen and (max-width: 350px){
    /* For extra small mobiles: */
    .article img{
        max-width: 96%;
    }
    .sidebarright{
        width: 65%;
    }
    .sidebarright img{
        max-width: 96%;
    }
}