@import url("nav.css");
@import url("preload.css");
@import url("fonts/bebas.css");
@import url("fonts/raleway.css");

/*muß aber in core.css #xh_adminmenu li {padding: 10px 0 0 0;} sein*/
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

#txt {
  position: fixed;
  bottom: 0;
  padding: 0 10px;
  right: 0px;
  color: #000;
  background: #fff;
  opacity: 0.9;
  -webkit-transition: opacity 0.7s;
  z-index: 999;
}

.xh_login {
    text-align: center;
}

html, body {
  border: 0 none;
}

/*body nur für webseite - könnt ja auch in tinymce body geben*/
#body {
  /*background: none repeat scroll 0 0 #284696;
  background: url("images/rbw-zeichen-full-w.png") no-repeat fixed center center / 40% auto, #fff url("images/bg_kachel.gif") repeat scroll 0 0;*/
  background: #eee;
}

/* BODY UND SEITE / BODY AND PAGE / GLOBAL*/
body {
  font-family: 'Raleway', sans-serif;
  font-weight: 400;
  font-size: 14px;
}
h1, h2, h3, h4, h5, h6 {letter-spacing: 2px; line-height: 2em;}
h1 {font-size: 28px; text-transform: uppercase; font-weight: 500;}
h2 {font-size: 24px; font-weight: 400;}
h3 {font-size: 20px; font-weight: 300;}
h4 {font-size: 18px; font-weight: 300;}
h5 {font-size: 17px; font-weight: 200;}
h6 {font-size: 16px; font-weight: 200;}
p {margin: 8px 0;}
blockquote {font-size: 17.5px; border-left: 15px solid #d00;}
blockquote p {font-family: Georgia, "Times New Roman", Times, serif; font-style:italic; color:#d00;}
ol {margin: 6px 0;}
ol li {line-height: 1.0em; border: 0; padding: 3px 0; margin: 0 0 0 22px;}
ul { margin: 6px 17px;}
ul li {line-height: 1.2em; border: 0; padding: 3px 0; margin: 0;}
hr {margin: 5px 0;height: 1px; clear: both; color: #999; background-color: #999; border: 0;}
input {cursor:pointer;} /*Für mobil Touch*/


#wrapper {
  width: calc(100% - 250px);
}
#header {
  background: #fff;
  position: relative;
  margin: 0;
  box-shadow: 0 4px 8px 0px black;
  z-index: 1;
}
#header .headerin {
  position: absolute;
  top: 40%;
  width: 100%;
  height: auto;
  padding: 10px 0 10px 0;
  font-family: 'BebasNeue';
  font-size: 4vw;
  font-weight: bold;
  text-transform: uppercase;
  color: white;
  background: rgba(0, 0, 0, 0.5);
  letter-spacing: 10px;
  text-align:  center;
}
#header .headertitle {
  display: inline-block;
  text-align: left;
  border-left: 4px solid #FFC815;
  padding: 0 0 0 20px;
}
#header .headerin .fa {
  font-size: 2em;
  transform: scaleX(1.5);
  margin: 0 0 0 0.2em;
}
#header .headerin a {
  color: white;
  display: block;
}
#header .headerin a:hover {
  color: #d00;
}

#navi {
  background: #333 url("images/kachel-carbon.jpg");
  width: calc(30% - 75px);
  height: 50px;
  z-index: 200;
  position: fixed;
}
#navtoogle label:hover, #info label:hover {
  color: #58E8FF;
}

#navicons {
  position: absolute;
  right: 20px;
  top: 15px;
}
#navicons .fa {
  color: #d00;
  width: 1.4em;
  font-size: 1.5em;
}


#logo {
  background: url(images/selldesign-head.png) no-repeat center / auto 40%;
	position: absolute;
  top: 0;
  left: 0;
  margin: 0 80px;
  right: 0;
  bottom: 0;
}
#logo img {
  -webkit-filter: drop-shadow(3px 3px 5px #fff);
  filter: drop-shadow(2px 2px 5px #fff);
  max-height: 100%;
  max-width: 100%;
}


/*search*/
.searcher {
  float: right;
}

#searchbox .text {
  box-sizing: border-box;
  height: 20px;
  border: 1px solid #d00;
  border-radius: 4px;
  -webkit-border-radius: 0px;
  -moz-border-radius: 0px;
  width: 20px;
  -webkit-transition: all .3s ease;
  -moz-transition: all .3s ease;
  -ms-transition: all .3s ease;
  -o-transition: all .3s ease;
  transition: all .3s ease;
  box-shadow: none;
  background: url("images/search-icon.png") no-repeat 0 0;
  color: #fff;
  padding: 0 0 0 20px;
  margin: 0 0 0 10px;
  -webkit-appearance: textfield;
  outline: none;
}
#searchbox .text:focus {
  width: 150px;
  border: 1px solid #d00;
  background-color: #fff;
  box-shadow: none;
  -webkit-transition: all .3s ease;
  -moz-transition: all .3s ease;
  -ms-transition: all .3s ease;
  -o-transition: all .3s ease;
  transition: all .3s ease;
  color: #444;
  font-weight: 300;
  padding: 0 0 0 25px;
}

#searchbox input.submit {
    display:none;
}


/* ************************* Content ************************* */
#content {
  float: right;
  width:70%;
  background: #eee;
  position: relative;
  -webkit-box-shadow: 0 4px 8px 0px black;
  -moz-box-shadow: 0 4px 8px 0px black;
  box-shadow: 0 4px 8px 0px black;
}
#content.contentin {
  margin: 0 auto;
  width: 95%;
  box-shadow: none;
  float: inherit;
}
/* MAIN */
#content .tplge_main {
  width: 100%;
  clear: both;
  padding: 50px 0 0 0;
}
.tplge_main > .pt-page {
	min-height: calc(100vh - 50px);
}
#content .tplge_main h1, h2, h3 {
	border-bottom:1px solid #ccc;
}
#contentleft {
  position: fixed;
	top: 0;
  left: 0;
  bottom: 0;
  width: calc(30% - 75px);
  background: #333 url("images/leftstartimg.jpg") no-repeat center / cover;
}
#navigation {
  visibility: hidden;
  position: fixed;
  top: 0;
  left: 0;
  width: calc(30% - 75px);
  height: 100%;
  z-index: 1;
}

div.pt-page {
  background: rgba(255, 255, 255, 0.98);
  font-size: 1.0em;
  color:#222;
  line-height:1.3em;
  padding: 2em 4%;
}
/*url("images/gbs-logo-wasserzeichen-grau.png") no-repeat fixed center center / 60% auto;*/
/*
.story:nth-child(2n) > .pt-page {
  background: rgba(250,240,255, 0.9) none repeat scroll 0 0;
}
.story:nth-child(4n) > .pt-page {
    background: rgba(255,255,255, 0.9) none repeat scroll 0 0;
}
*/
#content .tplge_main section {
  background-position-x: calc(30% + 280px), left !important;
}
#para0 .pt-page {
  background: none;
}
.pt-page.transpage {

}


/*Horizontale Streifen
background-color : #808080;
background-image : linear-gradient(transparent 50%, rgba(255,255,255,.5) 50%);
background-size : 50px 50px;*/

/*Vertikale Streifen
background-color : #808080;
background-image : linear-gradient(90deg, transparent 50%, rgba(255,255,255,.5) 50%);
background-size : 50px 50px;*/

/*Diagonale Streifen
background-color : #808080;
background-image : repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(255,255,255,.5) 35px, rgba(255,255,255,.5) 70px);*/

div.singlepage {
  background: rgba(255, 255, 255, 0.98);
  font-size: 1.0em;
  color:#555;
  line-height:1.3em;
  padding: 2em 4%;
}

.news {
  font: 10px PTsans-Narrow,Arial,Helvetica,sans-serif;
  height: 100%;
  padding: 0 10px 0 0;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  
  -webkit-animation: fadein 2s; /* Safari, Chrome and Opera > 12.1 */
  -moz-animation: fadein 2s; /* Firefox < 16 */
  -ms-animation: fadein 2s; /* Internet Explorer */
  -o-animation: fadein 2s; /* Opera < 12.1 */
  animation: fadein 2s;
/*
	flex-basis: 33%;
	-webkit-flex-basis: 33%;
	-ms-flex-basis: 33%;
	
	-webkit-align-items: stretch;
	align-items: stretch;
	-ms-flex-align:stretch;
*/
}
@keyframes fadein {from{opacity: 0;} to{opacity: 1;}}
@-moz-keyframes fadein {from{opacity: 0;} to{opacity: 1;}}
@-webkit-keyframes fadein {from{opacity: 0;} to{opacity: 1;}}
@-ms-keyframes fadein {from{opacity: 0;} to{opacity: 1;}}
@-o-keyframes fadein {from{opacity: 0;} to{opacity: 1;}
}

.newsin {
  background-color : #fff;
  /*background-image: repeating-linear-gradient(-45deg, transparent, transparent 3px, rgba(255, 255, 255, 0.5) 3px, rgba(255, 255, 255, 0.5) 6px);*/
  margin: 0 0 20px;
  padding: 5px 10px;
  border: 2px inset #000;
  -webkit-border-radius: 15px;
  -moz-border-radius: 15px;
  border-radius: 15px;
  box-shadow: 3px 3px 10px inset;
}
.newsin:last-child {
  margin: 0;
}

.news ul.menulevel1 {list-style-type: none; margin: 2px 0 0 20px;}
.news ul.menulevel1 li {padding: 1px 0;}

.news h4 {border-bottom: 1px solid #fff; padding: 0 0 6px 0; margin: 0;}
.news h5 {letter-spacing: 1px; margin: 10px 0 0 0;}

p.tplge_date {width: 6em; float: right; background: #620; color: #ffe; text-align: center; line-height: 1.2em; padding: 2px; margin: 0;}

#abstand {
  clear: both;
  width: 1px;
  float: left;
}

/* FUSSLINKS / FOOTER LINKS */
#footer {
  clear: both;
  right: 250px;
  width: calc(70% - 175px);
  background-color: #29355A;
  position:fixed;
  bottom:0;
  z-index: -1;
}
#footernews {
  clear: both;
  background-color: #29355A;
  max-height: 400px;
  text-align: left;
  color: #fffadc;
  font-size: 12px;
  line-height: 18px;
  overflow-y: auto;
}
#footernews p span {
    color: #ccc;
}
#footerin {
  background-color: #d00;
  text-align: center;
  padding: 5px 0;
  color: #fffadc;
  font-size: 10px;
  position: relative;
  width: 100%;
}

#footer a:link {color: #fffadc; text-decoration: none;}
#footer a:visited {color: #fffadc; text-decoration: none;}
#footer a:hover {color: #f90; text-decoration: underline;}
#footer a:active {color: #fff; text-decoration: underline;}
#footer a:focus {color: #fff; text-decoration: underline;}


#onepage_toplink {
  right: 270px;
}
#onepage_toplink .fa {
  color: #d00;
  font-size: 6em;
}

/* VORDEFINIERTE KLASSEN FUER BILDER / PREDEFINED CLASSES FOR IMAGES */
img {border: none;}
img.tplge_left {float: left; margin: 0 20px 10px 0;}
img.tplge_right {float: right; margin: 0 0 10px 20px;}
img.tplge_center {margin: 10px auto;}
img.tplge_border {border: 8px solid #bba;}
img.tplge_noborder {border: 0;}


/* LINKFORMATIERUNG / LINKS */
a:link {color: #369; text-decoration: none; outline: medium none;}
a:visited {color: #369; text-decoration: none;}
a:hover {color: #3366D4; text-decoration: none;}
a:active {color: #3366D4; text-decoration: none;}
a:focus {color: #3366D4; text-decoration: none;}

/* SONSTIGES / THE REST */

#passwd {border: 1px solid #999;}
.file {border: 1px solid #999;}
p.code {background: #eed; font-family: 'courier new', serif; border: 1px solid #997; padding: 10px 16px;}
.scroll {background: #eec; border: 1px solid #997; padding: 10px; overflow: scroll;}
.border {border: 1px solid #666;}
.retrieve {background: #ffffff; background-image:none; border: 0;}
table.edit {background: #eee; font-size: 14px; line-height: 1.2em; border: 1px solid #999; margin: 1px 0;}
table.edit td {border: 0; padding: 3px;}
textarea {width: 90%; background: #f6f6f6; font-family: arial, sans-serif; border: 1px solid #999; padding: 10px; margin: 0 0 10px 0;}
.hinweis {line-height: 1.2em; padding: 2px 10px;}

/*http://the-echoplex.net/flexyboxes*/
.flexbox {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-direction: row;
  -ms-flex-direction: row;
  flex-direction: row;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}
.flexboxin {
  -webkit-flex: 1 1 290px;
  -moz-flex: 1 1 290px;
  -ms-flex: 1 1 290px;
  flex: 1 1 290px;
  padding: 5px 20px;
}
.flexboxin:nth-child(1) {

}
.flexboxin:nth-child(2) {

}
.flexboxin img {
  width: 100%;
  height: auto;
}

.tplge_main .flexboxin {
  margin: 10px 20px;
  padding: 0;
}

/*für Bilder - wie bei Stradnbad*/
.grid {
    background: #eee;
    margin: 0;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
}
.grid li {
	list-style: none;
    margin: 5px;
    padding: 0;
    overflow: hidden;
    -webkit-flex: 1 1 250px;
	-moz-flex: 1 1 250px;
	-ms-flex: 1 1 250px;
	flex: 1 1 250px;
}
.grid li img {
    max-width: 100%;
    height: auto;
    display: block;
    transition: transform .2s ease-in-out;
}
.grid li:hover img {
    transform: scale(1.2);
}


.info_logo {
  margin: 0 0 10px;
}
.info_logo img {
  height: auto;
  max-width: 100%;
}

@media screen and (max-width: 1600px) {
  #wrapper {
    width: 100%;
  }
  #contentleft, #navi, #navigation {
    width: 30%;
  }
  #footer {
    right: 0;
    width: 70%;
  }
  #info {
    right: -250px;
    padding: 50px 10px 10px 15px;
  }
  #onepage_toplink {
    right: 20px;
  }
}

@media screen and (max-width: 960px) {
  #navi, #navigation {
    width: 100%;
  }
  #content {
    float: none;
    width: 100%;
  }
  #contentleft {
    display: none;
  }
  #content .tplge_main section {
    background-position-x: center !important;
  }
  #footer {
    width: 100%;
  }
}

/*LOGIN*/
body.xh_login {
	background: rgba(0, 0, 0, 0.1) url(images/iseye-hi.png) no-repeat fixed center center / contain;
}