/* cmsms stylesheet: CSS Naturklang modified: 18.02.2018 11:23:18 */
/* browsers interpret margin and padding a little differently, we'll remove all default padding and margins and set them later on */
* {
	margin: 0;
	padding: 0;
}
/*Set initial font styles*/
html {
	overflow-y: scroll;
}

body {
	text-align: left;
	font-family: Geneva, Verdana, Arial, Helvetica, sans-serif;
	font-size: 75.01%;
	line-height: 1.5em;              
}
/*set font size for all divs, this overrides some body rules*/
div {
	font-size: 1em;
}
/*if img is inside "a" it would have borders, we don't want that*/
img {
	border: 0;
}
/*default link styles*/
a, a:link a:active {
/* set all links to have underline */
	text-decoration: none;
/* css validation will give a warning if color is set without background color. this will explicitly tell this element to inherit bg colour from parent element */
	/*background-color: inherit;*/
/* this is a bluish color, you change this for all default link colors */
	color: #00559b;
}
a:visited {
/* keeps the underline */
	text-decoration: underline;
	background-color: inherit;
/* a different color is used for visited links */
	color: #00559b;
}
a:hover {
/* remove underline on hover */
	text-decoration: none;
	background-color: inherit;
/* using a different color makes the hover obvious */
	color: #000;
}
/*****************basic layout *****************/
body {
	margin: 0;
	padding: 0;
/* default text color for entire site*/
	color: #000;
       background-color: #ffff;
        margin-bottom: 11px;
}
div#pagewrapper {
	width: 1170px;
	height: 90%;
        /*height: 857px;*/
	margin: 20px auto;
	margin: 20 auto;
	border: 1px solid #000;
	/*background-image: url(https://naturjodeln.ch/uploads/images/Sonnenberg_neu.jpg);*/
        background-color: #E5EFF1;
        background-size: auto 100%;
        background-repeat: no-repeat;
        background-position: left top;
}
#back-to-top {
    position: fixed; /* Wichtig! */
    bottom: 65px; /* Abstand zum Browserrand */
    right: 25px; /* Abstand zum Browserrand */
    cursor: pointer;
    padding: 10px;
    background:  #222;
    color: #fff;
    display: none;
}

div#header .mobile {
    display: none;
}
 
/*header, we will hide h1 a text and replace it with an image, we assign a height for it so the image wont cut off */
div#header {
    height: auto;
    /*border-bottom: 3px solid #00559b;*/
}
div#header a {
	height: auto;
	display: block;
}

div#header a img {
	width: 100%;
	height: auto;
	display: block;
}

div#header2 {
	display: block;
}
div#titel{
	height: 60px;
	width: auto;
	margin-bottom: 20px;
	padding-right: 35px;
	border-bottom: 1px solid #00559b;
	/*background-color: #fff;*/
}
div#kommt{
	float: left;
	font-size: 2.1em;
	height: 45px;
	width: auto;
	padding-top: 20px;
	padding-bottom; 10px;
	margin-left: 40px;
	color: #00559b;
}
#kommt h4 {
color: #00559b;
font-size: 1.2em;
}

div#search {
	float: right;
	width: 25em;
	text-align: right;
	padding: 2.1em 0 0.2em 0;
	margin: 0 1.5em;
}

div#content {
	clear: both;
	margin: 45px auto 2em 0em;
	padding-right: 44px;
	height: 100%;
}
/* ------------ CGBlog------------ */

.CGBlogSummary {
padding-top: 10px;
font-style: italic;
/*text-decoration: underline;*/
}
.CGBlogSummaryPostdate {
font-style: italic;
/*font-size: 1.5em;*/
}
.CGBlogSummarySummary {
font-style: normal;
font-size: 1.0 em;
}
.CGBlogSummaryLink {
	margin: 2px 0;
}
.CGBlogContent {
margin: 10px 0;
}
/* ------------ End CGBlog Module ------------ */

/*-------------Hier schafft der Container für Imagebox und Textbox Ordnung-------*/
div#containerrechts {
	float: right;
	margin-top: -8px;
	margin-right: 13px;
	/*margin-bottom: 35px;*/
	width: 248px;
}
/*Hier ist Platz für die Imagebox*/
div#imagebox {
	font-size: 1.0em;
	width: 250px;
	text-align: left;
	line-height: 1.2em;
}
#imagebox h6 {
	margin-bottom: 35px;
	width: 250px;
	font-size: 0.8em;
	line-height: 1.2em;
}

/*Hier ist Platz für die Textbox*/
div#textbox {
	margin-right: 0px;
	width: 250px;
}

#textbox h6 {
	font-size: 1.2em;
	line-height: 1.2em;
}
div#vraqtitel {
	width: 250px;
}
div#ketzereientitel {
	width: 250px;
	margin-top: 40px;
	margin-bottom: -10px;
}

#vraqtitel h5 {
	line-height: 1.2em;
	color: #00559b;
}
div#vraqtext {
	width: 250px;
	font-size: 1.0em;
	line-height: 1.3em;
	color: #111;
}

div#main {
	float: left;
	display: block;
	margin: 0 10 25px 0px;
	width: 500px;
	background-color: #fff;
	border: solid 1px #7b6a6e;
}

div#main .inner {
	margin: 25px;
}

#main p {
	line-height:1.4em;
	margin-bottom: 10px;
}
#main h3 {
	margin-bottom: 15px;
	font-size: 0.8em;
}
#main h2 {
	margin-bottom: 25px;
	color: #00559b;
}
#main h5 {
	color: #00559b;
	font-size: 1.0em;
	margin-bottom: 7px;
}
div#sidebar {
	float: left;
	width: 25%;
	display: inline;
	margin-top: -3px;
	padding: 0;
}

div#sidebara {
	padding: 10px 15px 3px 0px;
	margin-bottom: 350px;
}
/**********************LISE STYLING**********************/
div#eintrag {
	font-color: ##899092;
}
.nichtfett {
	font-weight: normal;
}
/********************CONTENT STYLING*********************/
/* HEADINGS */
div#content h1 {
	color: #111;
	font-size: 2.5em;
	line-height: 1em;
	margin: 0;
}
div#content h2 {
	color: #00559b;
	font-size: 1.5em;
	text-align: left;
	line-height: 1.5em;
	margin: 0 0 1.5em 0;
}
div#content h3 {
	color: #000;
	font-size: 1.3em;
	line-height: 1.3em;
	margin: 0 0 0.5em 0;
}
div#content h4 {
	color: #000;
	font-size: 1.3em;
	line-height: 1.3em;
	margin-top: 1.5em;
}
div#content h5 {
	color: #000;
	font-size: 1.1em;
	line-height: 1.3em;
}
h6 {
	color: #000;
	font-size: 0.9em;
	line-height: 1.3em;
	margin-top: 0.5em;
}
/* END HEADINGS */
/* TEXT */
p {
/* default p font size, this is set different in some other divs */
	font-size: 1em;
/* some air around p elements */
	margin: 0 0 1.5em 0;
	line-height: 1.6em;
	padding: 0;
}
blockquote {
	/*border-left: 10px solid #ddd;*/
	margin-left: 10px;
}
strong, b {
/* explicit setting for these */
	font-weight: bold;
}
em, i {
/* explicit setting for these */
	font-style: italic;
}
/* Wrapping text in <code> tags. Makes CSS not validate */
code, pre {
/* css-3 */
	white-space: pre-wrap;
/* Mozilla, since 1999 */
	white-space: -moz-pre-wrap;
/* Opera 4-6 */
	white-space: -pre-wrap;
/* Opera 7 */
	white-space: -o-pre-wrap;
/* Internet Explorer 5.5+ */
	word-wrap: break-word;
	font-family: "Courier New", Courier, monospace;
	font-size: 1em;
}
pre {
/* black border for pre blocks */
	border: 1px solid #000;
/* set different from surroundings to stand out */
	background-color: #ddd;
	margin: 0 1em 1em 1em;
	padding: 0.5em;
	line-height: 1.5em;
	font-size: 90%;
}
/* Separating the divs on the template explanation page */
div.templatecode {
	margin: 0 0 2.5em;
}
/* END TEXT */
/* LISTS */
/* lists in content need some margins to look nice */
div#main ul,
div#main ol,
div#main dl {
	font-size: 1.0em;
	line-height: 1.4em;
	margin: 0 0 1.5em 0;
}
div#main ul li,
div#main ol li {
	margin: 0 0 0.25em 3em;
        border: none;
}
/* definition lists topics on bold */
div#main dl {
	margin-bottom: 2em;
	padding-bottom: 1em;
	/*border-bottom: 1px solid #c0c0c0;*/
}
div#main dl dt {
	font-weight: bold;
	margin: 0 0 0 1em;
}
div#main dl dd {
	margin: 0 0 1em 1em;
}
/* END LISTS */


#mobilenavbutton {
	display: none;
}


/********************FUSSZEILE*********************/
div#fusszeile {
	/*clear: both;*/
	border-top: solid 1px #000;
        /*border-bottom: solid 1px #00559b;*/
	margin-top: 300px;
	width: 1130px;
	height: 22px;
	padding-left: 40px;
	padding-right: 0px;
	/*background-color: #fff;*/
}
/* Box "zuletzt" */
div#zuletzt {
	float: left;
	color: #000;
	width: 240px;
	font-size: 0.85em;
	padding-left: 1px;
	padding-top: 7px;
}

/* Box «Motto» */
div#motto {
	float: left;
	padding-top: 7px;
	font-size: 0.85em;
	color: #000;
	width: 365px;
}
/* Box "Impressum"*/
div#impressum {
	font-size: 0.85em;
	text-align: right;
	margin-left: 0px;
	padding-left: 250px;
	padding-top: 7px;
	padding-bottom: 0px;
	padding-right: 52px;
}
/* Ende Fusszeile */

div#imageboxcontent {
	display: none;
}

.umbruch {
	display: none;
}

.mobilenav.active {
    opacity: 1;
    visibility: visible;
}

.mobilenav {
    visibility: hidden;
    opacity: 0;
    transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -webkit-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 900;
    background: rgba(0,0,0,0.8);
    margin: 0px;
    overflow: auto;
}

.mobilenav .nav  {
	width : 200px;
	margin: 20px 20px 0 80px;
}

.mobilenav ul {
	display: inline;
	list-style: none;
	margin: 0;
}
.mobilenav  li a{
	border-top: 1px dotted #D2D5D7;
	padding : 8px 0 8px 15px;
	display: block;
	color: #fff;
	font-weight: 400;
	font-size: 13px;
	text-decoration: none;
}
.mobilenav  li:first-child a {
	border-top: none;
}
    
.mobilenav  li ul {
	margin : 0;
}
.mobilenav  li li a {
	font-size : 12px;
	padding: 0 0 0 25px;
	border: none;
	line-height: 2;
}
    
.mobilenav  li li li a {
	padding: 0 0 0 40px;
	line-height: 1.5;
}
 .mobilenav li a.menuactive {
	color: #99E6FF;
}
.mobilenav  a.menuparent {
	padding-bottom: 0px;
}

.mobilenav  li.menuparent a.menuparent {
	padding-bottom: 8px;
}

.mobilenav  li li a,
.mobilenav  li.menuparent li.menuparent a.menuparent {
	padding-bottom: 0px;
}
.mobilenav  li li:last-child a {
	padding-bottom: 8px;
	border-bottom: none;
}
.mobilenav  li li li:last-child a {
	padding-bottom: 0px;
}


div#search {
	margin-right: 18px;
}

@media screen and (max-width: 1220px) 
{
	body {
		margin: 0 20px 10px 20px;
	}
	
	.topnav {
		padding: 8px 20px;
	}
	
	div#titel {
		height: 42px;
	}
	
	#mobilenavbutton {
		display: block;
		width: 30px;
		float: left;
		padding: 0;
		/*position: absolute;
		left: 30px;
		top: 162px;
		z-index: 9999;*/
	}
	
	#mobilenavbutton.opened img {
		display: block;
	}
	
	#mobilenavbutton.opened img {
		display: none;
	}
	
	#mobilenavbutton:hover {
		cursor: pointer;
	}
	
	#close-menu {
		display: none;
		width: 32px;
		height: 32px;
		background: url('/template/images/close.png') center center no-repeat;
		position: absolute;
		left: 30px;
		top: 30px;
		z-index: 9999;
	}
	
	#mobilenavbutton.opened #close-menu {
		display: block;
	}
	
	
	#headnav {
		float: right;
		height: 50px;
	}
		
	div#kommt {
		margin: -2px 0 0 30px;
		padding: 0;
	}
	
	div#search {
		float: right;
		margin: -4px -15px 0 0;
		padding: 0;
	}
	
	div#pagewrapper {
		width: 100%;
		min-width: auto;
	}
	
	div#menu_horiz,
	div#sidebar
	{
		display: none;
	}
	
	div#search {
		width: auto;
	}
	
	div#main {
		width: 67%;
		margin: 0;
	}	
	div#content {
		margin: 0 20px;
		padding: 0;
	}
	
	div#containerrechts {
		float: right;
		width: 30%;
		margin: 0;
	}
	
	div#imagebox {
		width: 100%;
		margin: 0;
		padding: 0;
	}
	
	div#imagebox .img,
	div#imagebox h6,
	div#textbox,
	div#textbox div#vraqtitel,
	div#textbox div#vraqtext,
	div#textbox div#ketzereientitel,
	div#textbox div#ketzereien {
		width: 100%;
	}
	div#imagebox img {
		width: 100%;
		height: auto;
	}
	
	.table {
		overflow-x:auto;
	}
	
	.fullwidth div#main {
		width: 95%;
	}
	
	div#fusszeile {
		height: auto;
		padding-left: 0px;
	}
	
	div#cms {
		display: none;
	}
	
	div#zuletzt,
	div#impressum {
		width: 48%;
		padding: 5px 20px;
		width: auto;
	}
	div#impressum {
		float: right;
		text-align: right;
	}
	
	.gallery .img {
		text-align: left !important;
	}	
}

@media screen and (max-width:830px) 
{
	div#kommt {
		font-size: 12px;
	}
	
	div#main {
		width: 65%;
	}
}

@media screen and (max-width:760px) 
{
	.topnav {
		height: 30px;
		width: 25px;
		float: left;
		padding: 8px 12px;
	}
	div#titel {
		height: auto;
		padding-right: 15px;
		margin-bottom: 0;
	}
	div.headtext {
		margin: -0 0 0 75px;
		padding-top: 5px;
	}
	div#kommt {
		width: 100%;
		float: none;
		margin: 0 0 10px 0;
		height: auto;
	}
	div#search {
		width: 100%;
		float: none;
		text-align: left;
	}
	div#search input {
		float: none;
		margin-bottom: 10px;
		width: 100%;
	}
	
	div#content {
		margin: 0
	}
	
	div#main {
		float: none;
		width: 100%;
		border: none;
		background-color: rgba(255,255,255,0.6)
	}
	
	div#containerrechts {
		float: none;
		width: 100%;
		padding: 0;
	}
	
	div#containerrechts .inner {
		margin: 30px;
	}

	div#imageboxcontent {
		display: block;
		margin-bottom: 20px;}

	div#imageboxcontent .gallery {
		width: 250px;
		margin: 0 auto;
	}

	div#imageboxcontent h6{
		text-align: center !important;
		margin: 0 auto;
	}

	div#imageboxcontent .img {
		display: block;
		float: none;
	}

	div#imageboxcontent .img img {
		width: 100%;
	}
	
	div#imagebox {
		display: none;
	}
	
	div#textbox {
		float: none;
		width: 100%;
	}	
}

@media screen and (max-width:653px) 
{
	div#header .desktop {
		display: none;
	}

	div#header .mobile {
		display: block;
	}
	
	div#main .inner img {
		width: 100%;
		max-width: 350px;
		height: auto;
		text-align: center;
	}
	
}


@media screen and (max-width:450px) 
{
	div#zuletzt,
	div#impressum {
		float: none;
		text-align: left;
	}
	
	div#imagebox,
	div#textbox {
		float: none;
		width: 100%
	}
	
}
@media screen and (max-width:350px) 
{
	div#imageboxcontent .gallery {
		width: 200px;
		margin: 0 auto;
	}
}
/* cmsms stylesheet: Accessibility and cross-browser tools modified: 21.01.2018 12:11:25 */
/* accessibility */
/* menu links accesskeys */
span.accesskey {
	text-decoration: none;
}
/* accessibility divs are hidden by default, text, screenreaders and such will show these */
.accessibility, hr {
/* position set so the rest can be set out side of visual browser viewport */
	position: absolute;
/* takes it out top side */
	top: -999em;
/* takes it out left side */
	left: -999em;
}
/* definition tags are also hidden, these are also used for accessibility menu links */
dfn {
	position: absolute;
	left: -1000px;
	top: -1000px;
	width: 0;
	height: 0;
	overflow: hidden;
	display: inline;
}
/* end accessibility */
/* wiki style external links */
/* external links will have "(external link)" text added, lets hide it */
a.external span {
	position: absolute;
	left: -5000px;
	width: 4000px;
}
a.external {
/* make some room for the image, css shorthand rules, read: first top padding 0 then right padding 12px then bottom then right */
	padding: 0 12px 0 0;
}
/* colors for external links */
a.external:link {
	color: #18507C;
/* background image for the link to show wiki style arrow */
	background: url(https://naturjodeln.ch/uploads/NCleanBlue/external.gif) no-repeat 100% -100px;
}
a.external:visited {
	color: #18507C;
/* a different color can be used for visited external links */
/* Set the last 0 to -100px to use that part of the external.gif image for different color for active links external.gif is actually 300px tall, we can use different positions of the image to simulate rollover image changes.*/
	background: url(https://naturjodeln.ch/uploads/NCleanBlue/external.gif) no-repeat 100% -100px;
}
a.external:hover {
	color: #18507C;
/* Set the last 0 to -200px to use that part of the external.gif image for different color on hover */
	background: url(https://naturjodeln.ch/uploads/NCleanBlue/external.gif) no-repeat 100% 0;
	background-color: inherit;
}
/* end wiki style external links */
/* clearing */
/* clearfix is a hack for divs that hold floated elements. it will force the holding div to span all the way down to last floated item. We strongly recommend against using this as it is a hack and might not render correctly but it is included here for convenience. Do not edit if you dont know what you are doing*/
.clearfix:after {
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}
.clear {
	height: 0;
	clear: both;
	width: 90%;
	visibility: hidden;
}
#main .clear {
	height: 0;
	clear: right;
	width: 90%;
	visibility: hidden;
}
* html>body .clearfix {
	display: inline-block;
	width: 100%;
}
* html .clear {
/* Hides from IE-mac \*/
	height: 1%;
	clear: right;
	width: 90%;
/* End hide from IE-mac */
}
/* end clearing */
