body {
	font-size: 100%;
/* 	background-color: #f6f6f6; */
}

* {
	font-family: 'Montserrat', sans-serif;
	margin: 0;
	padding: 0;
}

*,
*:before,
*:after {
	box-sizing: border-box;
}

h1 {
	font-weight: normal;
	font-size: 2em;
	margin-top: 1.5em;
	margin-bottom: .75em;
}

h2 {
	font-weight: normal;
	margin-top: 1em;
	margin-bottom: 0.5em;
}

h3 {
	font-weight: 700;
	font-size: 1em;
}

p {
	font-size: 1em;
	line-height: 140%;
	color: #303030;
	margin-bottom: 1em;
	hyphens: auto;
}

strong {
	font-weight: 700;
	color: #3f3f3f;
}

a {
	color: black;
}

a:hover {
	text-decoration: none;
}

ul {
    display: block;
    list-style-type: disc;
    margin-top: 1em;
    margin-bottom: 1.5em
}

ul li {
	font-size: 1em;
	line-height: 140%;
	color: #303030;
    margin-left: 1.2em;
    margin-bottom: .5em
}



#wrapper {
    position: relative;
    float: left;
    max-width: 1400px;
    background-color: white;
}

#content {
        position: relative;
        padding: 50px 4% 30px 4%;
        min-height: calc(100vh - 96px);
        max-width: 1180px;
        z-index: 0;
    }

/* Close Impressum */

#close {
	position: relative;
	color: white;
	z-index: 100000 !important;
	width: 48px;
	height: 48px;
	float: right;

	background-image: url("basisdesign/close.svg");
	background-position: center center;
	background-repeat: no-repeat;
	background-color: black;

}


/* Hamburger */

#hamburger {
	position: fixed;
	color: white;
	z-index: 100000 !important;
	width: 48px;
	height: 48px;
	right: 0;
	top: 0;
	background-image: url("basisdesign/hamburger.svg");
	background-position: center center;
	background-repeat: no-repeat;
	background-color: #B00402;
}

#hamburger.xclose {
	background-image: url("basisdesign/close.svg");
	background-position: center center;
	background-repeat: no-repeat;
}


/* Logo */

#logo {
	position: fixed;
	color: white;
	z-index: 1000;
	width: 70%;
	height: 48px;
	left: 0;
	top: 0;
	background-image: url("basisdesign/rudolf_von_tobel.svg");
	background-position: left 20px center;
	background-repeat: no-repeat;
	background-size: 84px;
	text-indent: -1000px;
	font-size: 0px;
	background-color: #B00402;
}


/* Menu */

#menu {
	position: fixed;
	display: flex;
	align-items: center;
	background-color: #B00402;
	height: 100%;
	width: 100%;
	padding: 0% 12% 48px 12%;
	top: calc(-100% + 48px);
	left: 0;
	transition: all .3s;
	z-index: 10;
}

#menu.menuhide {
	top: 0%;
	padding: 12%;
}


/* impressum */

#impressum {
	position: fixed;
	background-color: #000;
	height: 100%;
	width: 100%;
	padding: 20px;
	top: 0;
	left: 100vw;
	transition: all .3s;
	z-index: 100000;
	opacity: 0;
}

#impressum.impressumhide {
	top: 0%;
	left: 0;
	padding: 20px;
	overflow: scroll;
	opacity: 1;
}

#impressumcontent {
	flex-direction: column;
}

#impressumcontent,
#impressumcontent a {
	color: white
}

#impressum h3 {
	display: block;
	color: #B00402;
}

#impressum p {
	display: block;
	color: white;
}

.impressum {
	cursor: pointer
}


/* Navigation */

#nav {
	flex-direction: column;
	flex-grow: 1;
	overflow: auto;
	color: white;
	cursor: pointer;
}

#nav .xx {
	padding: 5px 0px;
	display: inline-block;
}

#nav .xxx {
	padding: 5px 0px;
	display: inline-block;
	margin-left: 8%;
}

#nav .xx.active,
#nav .xxx.active {
	color: white;
	padding-bottom: 2px;
	border-bottom: white 3px solid;
}

#nav .xx:hover:not(.active),
#nav .xxx:hover:not(.active) {
	padding-bottom: 2px;
	border-bottom: rgba(255, 255, 255, 0.46) 3px solid;
	display: inline-block;
}

#footer {
	margin: 0 4%;
    padding: 48px 0px;
    color: #a0a0a0;
    font-size: 12px;
}



/* Schublade */

.schublade {
	background-color: #f6f6f6;
	display: block;
	cursor: pointer;
	border-top: white 4px solid;
	transition: background-color ease .4s;
}

.schublade:hover {
	background-color: #e6e6e6;
}

.schubladeContent {
	background-color: #f6f6f6;
}

.schubladeContent h2 {
	font-size: 110%;
	padding-bottom: .9em;
}

.schublade p {
	padding: 0;
	margin: 0;
}	

.schublade p {
	font-size: 105%;
	line-height: 30px;
	float: left;
	letter-spacing: 1px;
	word-spacing: 1px
}


.schublade::after {
    color: #3f3f3f;
    content: "\2039";
    float: right;
    font-size: 360%;
    width: 20px;
    height: 30px;
    text-align: left;
    display: block;
    border-radius: 0;
    line-height: 18px;
    transform: rotate(-90deg);
    font-weight: 100;
  }  

.schublade:hover:after {
	color: #B00402;
}

.schubladeOffen:after {
	color: #B00402;
	float: right;
	transform: rotate(90deg);	
	
	
}

.schubladeContent img {
	height: auto;
	width: 100%;
	margin-bottom: 1em;
}


@media screen and (min-width:750px) 
 {
   
    #hamburger,
    #hamburger.xclose {
        display: none;
    }
    /* Menu */
    #menu {
        position: fixed;
        display: block;
        background-color: #B00402;
        height: 100%;
        width: 220px;
        padding: 200px 0 0 35px;
        top: 0;
        left: 0;
        float: left;
        overflow: auto;
    }
    #logo {
        position: absolute;
        color: white;
        z-index: 1000;
        width: 180px;
        height: 200px;
        left: 0;
        top: 5px;
        background-image: url("basisdesign/rudolf_von_tobel_studienstiftung.svg");
        background-position: left 35px center;
        background-repeat: no-repeat;
        background-size: 77%;
        text-indent: -1000px;
        font-size: 0px;
    }
    /* Content */
    #content {
        position: relative;
        padding: 0px 40px 30px 40px;
        min-height: calc(100vh - 110px);
        width: calc(100vw - 220px);
        max-width: 1180px;
        float: right;
    }
    #footer {
        width: calc(100vw - 220px);
        float: right;
        padding: 48px 40px;
        max-width: 1180px;
        margin: 0;
    }
}
