
/* responsive */

@media only screen and (max-width: 1024px) {

html {
	-webkit-text-size-adjust: 100%;
}

#mainnav, #header ul.social-icons {
  display: none;
}

.mobile_menu ul.social-icons {
  display: flex;
  justify-content: flex-start;
  list-style-type: none;
	margin: 0;
	padding: 0;
}

.mobile_menu .social-icons a {
	margin: 0;
}

.mobile_menu .social-icons i {
	padding: 10px 5px;
	width: 33px;
	text-align: center;
	font-size: 15px;
  color: #000;
}

/* mobiles Menue */
.mod_mobile_menu {
	position: absolute;
	top:0px;
	right: 20px;
	text-align: right;
	padding: 0;
	color: #000;
  cursor: pointer;
  font-size: 26px;
}

.mobile_menu .inner {
	background: #fff;
    overflow: auto;
}

/* mobile Navigation / CustomNav */
#mobilenav {
	padding: 30px 0 0 0;
}

#mobilenav ul {
	margin:0;
  padding:0;
  list-style-type:none;
}

#mobilenav li {
  	margin:0;
  	padding: 0;
  	float: none;
    text-align: left;
  }

#mobilenav a {
	margin:0;
  padding:10px 0 10px 10px;
  display: block;
  text-decoration: none;
	color: #000;
	font-family: 'Rambla', sans-serif;
  font-weight: 300;
	font-size: 20px;
}

#mobilenav a.submenu.trail {
	color: #000;
	padding: 10px 0 10px 10px;
	display: block;
    }

#mobilenav strong.active {
	color: #666;
	padding: 10px 0 10px 10px;
	display: block;
	font-weight:400;
	font-size: 20px;
}

#mobilenav a:focus, #mobilenav a:hover {
	color:#fff;
	text-decoration: none;
}

body {
  font-size: 15px;
  font-family: 'Rambla';
  line-height: 1.6;
}

.logo {
	position: absolute;
	left: 20px;
	top: 20px;
}

.logo a {
	display: block;
}

h3 {
  font-size: 20px;
}
h6 {
  font-size: 10px;
}
h4 {
  font-size: 16px;
}
h5 {
  font-size: 12px;
}
h1,h2,h3,h4,h5,h6 {
  font-family: 'Rambla';
  text-transform: uppercase;
  font-weight: 300;
}

#wrapper,
#footer,
#bottom {
	max-width: 100%;
	margin: 0 auto;
}

#main .inside {
  margin: 0 10px;
}

#main .center {
  text-align: center;
}

#footer {
  background-color: #000;
  height: 80px;
  color: #fff;
  text-align: center;
  text-transform: uppercase;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: 1px;
}

#footer a, #footer a:link, #footer a:visited {
  color: #fff;
  text-decoration: none;
  text-transform: none;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: 1px;
}


/* nach oben Link */
.nach_oben_link {
	bottom: 30px;
	position: fixed;
	right: 35px;
	z-index: 5;
}

.nach_oben_link > a {
	background-color: #ccc;
	padding:5px;
	color: #fff;
	display: block;
	font-size: 35px;
	height: 35px;
	width: 35px;
	text-align: center;
	text-decoration: none;
}

.nach_oben_link > a:hover {
	background-color: #666;
	color: #fff;
}

#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: #fff;
  z-index: 100;
  height: 150px;
}

#container {
	padding-top: 80px;
}

/* accodeon */

.ce_accordion .toggler {
  font-weight: 700;
  cursor: pointer;
  padding-bottom: 15px;
}

.ce_accordion .toggler:before {
    width: 25px;
    height: 25px;
    float: right;
    clear: both;
    display: inline-block;
    margin-top: 3px;
    margin-right: 15px;
    margin-left: 15px;
    padding: 0;
    text-align: center;
    font: 1.3em/28px FontAwesome;
    font-weight: normal;
    color:#888;
    content: "\f107";
}

.ce_accordion .toggler.ui-state-active:before {
    font-family: FontAwesome;
    content: "\f106";
}

.ce_accordion .content-text {
  padding: 0 20px;
}

#main .content-text.zitat {
  background-color: #000;
  height: 300px;
  padding: 60px 0;
  color: #fff;
}

#main .content-text.zitat p {
  font-style: italic;
  font-size: 24px;
  line-height: 1.4;
  font-family: 'Crimson Text', serif;
  font-weight: 700;
}

#main .content-text.zitat p em {
  font-weight: 300;
}

/* News */

* img {
  max-width: 100%;
  height: auto;
}

#main .mod_newslist {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
}

#main .mod_newslist .layout_latest {
  width: 25%;
  line-height: 0;
}

/* socialmedia */

#header .mod_socials {
	float: right;
	margin-left: 0;
}

#header .mod_socials .social-icons {
	position: absolute;
	top: 0;
	right: 0;
	margin-right: 0;
}

#header .mod_socials ul.social-icons {
  display: flex;
  justify-content: flex-end;
  list-style-type: none;
}

#header .mod_socials .social-icons a {
	margin: 0;
}

#header .mod_socials .social-icons i {
	padding: 10px 5px;
	width: 33px;
	text-align: center;
	font-size: 15px;
  color: #000;
}

.mobileonly {
	display: none;
}

}

@media only screen and (max-width: 768px) {

.mobileonly {
	display: block;
}

.mod_mobile_menu {
	top: 20px;
}

#header .inside {
  line-height: 1;
  min-height: 100px;
  max-width: inherit;
}

#container {
  padding-top: 80px;
}

#footer {
	height: 100px;
	font-size: 13px;
}

#footer .inside {
	padding-top: 20px;
}

h1, h2 {
	font-size: 24px;
	line-height: 1.3;
}

#main .right-noline,
#main .ce_image.right-noline,
#main .content-text.right-noline,
#main .content-text.right-line,
#main .content-text.right-zeroline {
	border: none;
	padding: 0;
}

#main h2.ce_headline.kontakt-headline {
	font-size: 24px;
}

}

@media only screen and (max-width: 440px) {

#header {
  height: auto;
}

#header .inside {
  line-height: 1;
  min-height: 100px;
  max-width: inherit;
}

#container {
  padding-top: 0;
}

#main .last-article {
	margin: 40px 0;
}

.logo {
  top: 20px;
  left: 10px;
}

.logo img {
	width: 280px;
  height: auto;
}

.mod_mobile_menu {
	top: 20px;
}

#main .mod_newslist .layout_latest {
  width: 50%;
  line-height: 0;
}

/* nach oben Link */
.nach_oben_link {
	bottom: 100px;
	position: fixed;
	right: 15px;
	z-index: 5;
}

.nach_oben_link > a {
	background-color: #ccc;
	padding:5px;
	color: #fff;
	display: block;
	font-size: 25px;
	height: 25px;
	width: 25px;
	text-align: center;
	text-decoration: none;
}

}
