@font-face {
    font-family: 'CollatorRegular';
    src: url('./fonts/collator-webfont.eot');
    src: url('./fonts/collator-webfont.eot?#iefix') format('embedded-opentype'),
         url('./fonts/collator-webfont.woff') format('woff'),
         url('./fonts/collator-webfont.ttf') format('truetype'),
         url('./fonts/collator-webfont.svg#CollatorRegular') format('svg');
    font-weight: normal;
    font-style: normal;
}
/* abel-regular - latin */
@font-face {
  font-family: 'Abel';
  font-style: normal;
  font-weight: 400;
  src: url('./fonts/abel-v8-latin-regular.eot'); /* IE9 Compat Modes */
  src: local('Abel Regular'), local('Abel-Regular'),
       url('./fonts/abel-v8-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('./fonts/abel-v8-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('./fonts/abel-v8-latin-regular.woff') format('woff'), /* Modern Browsers */
       url('./fonts/abel-v8-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('./fonts/abel-v8-latin-regular.svg#Abel') format('svg'); /* Legacy iOS */
}

img {
    display: block;
}
body, html{font-family:'Abel', sans-serif; color:#242237; font-size:16px; background:#fff; margin: 0; padding: 0; width:100%; height:100%;}
* {margin: 0; padding: 0; outline: 0;}
a {color: #242237; text-decoration: underline;}
a:hover {color:#a7a6ae; text-decoration: none;}

p {margin-bottom:10px;}


#wrapper{max-width:900px; min-width:280px; margin: 0 auto; width:100%; position:relative; overflow:hidden;}

#header {width:100%; margin-top:40px; position:relative; display: flex;}

#logo {margin-right: 10px;}
#logo a{color:#242237; text-decoration:none;}
#logo a:hover #logo_first, #logo a:hover #logo_second{color:#a7a6ae !important;}
#logo{text-transform: uppercase; color:#242237;}

#sprache{position:absolute; bottom:0; right:0;}
ul#sprachwechsler{padding:0; margin:0; list-style: none; color:#a7a6ae; text-transform:uppercase;}
ul#sprachwechsler li{float:left;}
ul#sprachwechsler li:nth-of-type(1){margin-right:10px;}
ul#sprachwechsler a{text-decoration:none; text-transform:uppercase;}


.slicknav_menu {display:none;}
#logo, #nav_container{ display: inline-block; }
nav ul {padding:0; margin:0; list-style: none; position:relative;}
nav ul li {margin: 0px; display:inline-block;}
nav a {display:block; padding:0 10px; color:#242237; text-decoration:none;}
nav a:hover {color:#a7a6ae;}
nav ul ul {box-shadow: 1px 1px 1px rgba(0,0,0,0.1); display: none; position: absolute; background:#fff; width: 200px; z-index:9999;}
nav ul li:hover > ul {display:inherit;}
nav ul ul li {width:auto; float:none; display:list-item; position: relative; padding:5px 0 5px 0;}
nav ul ul ul {
    left: 200px;
    top: 0;
}
#content{margin:40px 0 40px; min-height:200px;}
#footer {
    padding: 0px 0px 40px;
    clear: both;
}
#footer nav ul li:first-child a {
    padding-left: 0;
}
.clearingfix { display: block; height: 0; font-size: 0; line-height: 0; text-indent: -4000px; clear: both; }

h1, h2, h3 {font: 'Abel',sans-serif; text-transform: uppercase; color:#242237;}
h1{font-size: 20px; margin:10px 0;}
h2{font-size: 18px; margin:10px 0;}
h3{font-size: 16px; margin:10px 0;}

/* Galerie */
.list-unstyled {padding-left: 0px; list-style: outside none none;}
.gallery li {width:calc(50% - 7.5px); height:auto; display: block; float: left; margin:0 10px 10px 0; cursor:pointer; overflow:hidden;}
.gallery li:nth-child(2n){margin:0 0 10px 0;}
.gallery li img {width:100%; height:auto; display:block;}
#lg-gallery {color:#fff;}
#lg-gallery h3{color:#fff;}

.bild_alone img{width:100%; height:auto; margin-bottom:10px;}
.bild_alone_text{text-align:center; margin-bottom:10px;}

.kontaktbox{margin-bottom:40px;}
.kontaktbox a.url{text-decoration:none;}

.portfolio{margin-bottom:40px;}

/* News */
.newsentry{margin-bottom:40px;}
.newsentry .description{margin-top:10px;}
.newsentry p{margin-top:20px;}
.ev_info abbr {border: 0px none; text-decoration: none;}

/*CV*/
table{margin:0 0 2em 0;width:100% !important; border: none !important; border-collapse: collapse !important;}
td{vertical-align:top;padding: 2px 0; }
tr, td { height: auto !important;}
body#id_55 td:first-child {width:24% !important;}
body#id_55 td:nth-child(2){width:76% !important;}


@media screen and (max-width: 920px) {
	#nav_container{display:none;}
	.slicknav_menu{display:block;}
	#wrapper{width:calc(100% - 40px); padding:0 20px;}
	#header {margin-top:20px;}
}

@media screen and (max-width: 600px) {
	.gallery li {width:calc(50% - 5px); margin:0 10px 10px 0;}
	.gallery li:nth-child(4n){margin:0;}
	.gallery li:nth-child(2n){margin:0 0 10px 0;}
}

@media screen and (max-width: 440px) {
	#logo{float:none; text-align:center;}	
	#sprache{position:relative; margin-top:10px;}
	#sprache ul{ width:145px; margin:0 auto; }
}
