/* cmsms stylesheet: style modified: 23.05.2018 20:00:34 */
/*
Stylesheet K & L Steuerberater
(c) 2018
v1.0

Fonts: Fira sans
font-family: 'Lato', sans-serif; // font-weight: 300, 400 & 700
*/

/* colors */

 /* text, black-ish */
 /* dark green */
 /* light green */
 /* dark green transparent */

 /* white */

/* general settings */

* {
	margin: 0;
	padding: 0;
	border: 0;
}

html, body {
	height: 100%;
}

body {
	background-color: rgba(141,199,63,.3);
	font-size: 1em;
	font-family: 'Lato', sans-serif;
	font-weight: 300;
	color: rgba(34,34,34,1);
}

h1, h2, h3, h4, h5, h6 {
	font-family: 'Lato', sans-serif;
	color: rgba(34,34,34,1);
	font-weight: 700;
	margin-bottom: 0.7em;
}

h1 {
	font-size: 2.5em;
}

h2 {
	font-size: 1.375em;
}

h2.center {
	text-align: center;
}

h2 span {
	font-weight: 300;
}

h3 {
	font-size: 1.250em;
}

h4 {
	font-size: 1.125em;
}

p, ul, ol {
	margin-bottom: 0.7em;
	line-height: 1.250em;
}

ul, ol {
	margin-left: 2em;
}

#content p, #content ul, #content ol {

}

#content ul li, #content ol li {
	line-height: 1.4em;
}

#content_wrapper p, #footer p {
	text-align: justify;
	-ms-hyphens: auto;
    -webkit-hyphens: auto;
    hyphens: auto;
}

a {
	color: rgba(141,199,63,1);
}

a:hover {
	color: rgba(34,34,34,1);
}

strong, b {
	font-weight: 700;
}

.clrfix {
	clear: both;
}

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

iframe {
	max-width: 100%;
}

/* general styling */

.image_left {
	float: left;
	margin-right: 20px;
	margin-bottom: 20px;
}

.image_right {
	float: right;
	margin-left: 20px;
	margin-bottom: 20px;
}

#content_wrapper,
#footer,
#header {
	width: 96%;
	margin: auto;
	background: rgba(255,255,255,1);
}

#header {
	padding: 0;
}

#logo {
	padding: 20px;
}

#logo img {
	width: 35%;
	float: left;
	margin-right: 20px;
}

#logo a {
	text-decoration: none;
	color: #746d62;
}

/*
#logo {
	width: 35%;
}

#logo img {
	margin-bottom: -2em;
}

#logo a {
	display: block;
	width: 96%;
	margin: auto;
}

#logo h2 {
	clear: both;
	color: rgba(255,255,255,1);
	font-weight: 300;
	text-align: center;
	text-transform: uppercase;
	letter-spacing: .05em;
	margin: 0;
	padding: .5em 0;
	display: none;
}

#logo h2 a {
	display: inline;
	width: auto;
	color: #fff;
	text-decoration: none;
}

#logo_left {
	float: left;
	padding: 20px;
	background: rgba(255,255,255,.7);
}
*/

#header_image {
	margin: 0 auto;
	padding: 0;
	text-align: center;
}

#header_image div div {
	width: 100%;
	height: 100px;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center -30px;
}

#header_image img {
	max-width: 100%;
}

.slogan {
	background: rgba(255,255,255,.7);
	color: rgba(34,34,34,1);
	font-weight: 300;
}

#content {
	padding: 10px;
}

#content img {
	max-width: 100%;
}

.content_img {
	display: block;
	margin: auto;
	margin-bottom: 0.7em;
}

#footer img {
	display: none;
}

.row {
	clear: both;
}

#startseite .col_third {
	margin-left: auto;
	margin-right: auto;
	max-width: 371px;
}

#sidebar {
	padding: 10px;
}

#footer {
	padding: 10px;
	clear: both;
	background: rgba(141,199,63,1);
	color: rgba(34,34,34,1);
	font-size: 0.875em;
}

#footer_content {
	padding: 10px;
}

#footer_content a {
	color: rgba(34,34,34,1);
	text-decoration: none;
}

#footer_content a:hover {
	text-decoration: underline;
}

#footer_content ul {
	list-style: none;
	margin: 0;
}

/* Forms */

input,
button {
	padding: 5px;
	border: 1px solid #999;
	margin-bottom: 0.7em;
}

button {
	cursor: pointer;
}

/* cookie consent */
@keyframes slideInFromBottom {
  0% {
    transform: translateY(100%);
  }
  100% {
    transform: translateY(0);
  }
}

#cookie_consent { 
	animation: 1s ease-out 0s 1 slideInFromBottom;
 background: #fff;
 position: fixed;
  bottom: 0;
  float: left;
  z-index: 100000;
  width: 100%;
  padding: 15px;
  border-top: 1px solid ;
}
#cookie_consent p {
 text-align: center;
  color: #000;
 font-size: 14px;
  line-height: 20px;
  margin: 0;
  padding: 0;
}
#cookie_consent a.accept_cookies,
#cookie_consent a.decline_cookies {
 margin: 0 5px;
  padding: 5px;
  color: #000;
 font-weight: 300;
  text-decoration: none;
  cursor: pointer;
  border-radius: 5px;
  border: 1px solid #6c0;
}
#cookie_consent a.decline_cookies {
  border-color: #f33;
}

#cookie_consent a:hover.accept_cookies,
#cookie_consent a:hover.decline_cookies {
	background: ;
}

#cookie_consent a.more_info {
	color: #000;
}

#cookie_consent a:hover.more_info {
	background: none;
}

/* hide the checkbox and the label */

input#responsive-nav,
label.responsive-nav-label {
  display: none;
}

label.responsive-nav-label span {
	font-family: arial, sans-serif;
}

/* declarations for the not-responsove-menu */

nav {
  background: none;
}

nav ul {
  margin: 0;
  padding: 0;
}

nav a {
  display: block;
  color: rgba(255,255,255,1);
  text-decoration: none;
}

nav ul li {
  position: relative;
  float: left;
  list-style: none;
  color: rgba(255,255,255,1);
  transition: 0.2s;
  font-size: 1.125em;
}

nav li.sectionheader a {
	cursor: pointer;
}

nav ul li a {
  padding: 10px 20px;
  color: rgba(34,34,34,1);
}

nav ul li:hover > a {
	color: rgba(255,255,255,1);
	background: rgba(141,199,63,1);
}

nav ul li a:hover,
nav ul li a.menuactive,
nav ul li a.parent {
	color: rgba(255,255,255,1) !important;
	background: rgba(141,199,63,1);
}

nav ul ul {
  position: absolute;
  top: -9999px;
  left: -9999px;
  background: rgba(141,199,63,0.9);
}

nav ul ul li {
  float: none;
  width: 300px;
  font-size: 1em;
  color: rgba(34,34,34,1);
}

nav ul ul li a:hover,
nav ul ul li a.menuactive {
	color: rgba(255,255,255,1) !important;
	background: rgba(141,199,63,1);
}

nav ul ul li a {
  padding: 10px 15px;
  color: rgba(34,34,34,1);
}

nav ul li:hover > ul {
  top: 100%;
  left: 0;
}

nav ul ul li:hover > ul {
  top: 0;
  left: 200px;
}

/* Declarations for the responsive menu */

@media screen and (max-width: 1023px) {
  
	  
	label.responsive-nav-label {
	    position: relative;
		display: block;
		padding: 10px 20px;
		background: none;
		border-top: 1px solid rgba(141,199,63,1);
		cursor: pointer;
		color: rgba(34,34,34,1);
		font-size: 1.286em;
	}
	  
	label.responsive-nav-label span {
	  margin-right: 10px;  
	}
	
	nav {
	  position: absolute;
	  top: -9999px;
	  width: 100%;
	  font-size: 1.286em;
	  margin: 0;
/* 	  padding: 10px; */
	}
	
	input#responsive-nav[type=checkbox]:checked ~ nav {
	  position: relative;
	  top: 0;
	}
	
	nav a:after {
	  display: none;
	}
	
	nav li {
	  float: none !important;
	  width: 100% !important;
	  border-bottom: none !important; 
	}
	  
	nav li a {
	  margin-bottom: 0 !important;
	  padding: 5px 0 5px 20px !important; 
	  background: none;
	  border-bottom: 1px solid rgba(141,199,63,1);
	}
	  
	nav ul li:hover {
	  background: none;
	}
	  
	nav ul li a:hover,
	nav ul li a.menuactive {
	  color: rgba(255,255,255,1) !important;
	  background: rgba(141,199,63,1);
	}
	  
	nav ul ul {
	  position: relative !important;
	  width: 100%;
	  left: 0 !important;
	  top: 0 !important;
	  background: none !important;
	  box-shadow: none;
	}
	  
	nav ul ul li {
	  padding-left: 0;
	}
	
	nav ul ul li a {
		padding-left: 30px !important;
		color: rgba(34,34,34,1);
	}
	
	nav ul ul ul li a {
		padding-left: 40px !important;
	}
	
	nav#sticky {
		position: absolute;
		top: -9999px;
	}

}

@media only screen and (min-width: 1024px) {
	
	nav {
		margin-left: -20px;
	}
	
	nav ul li {
		font-size: 1em;
	}
	
	nav ul li a {
		padding: 5px 20px;
	}
	
	.link_align_right {
		text-align: right;
	}
	
	#header {
		width: 1000px;
	}
	
	#logo {
		position: absolute;
		background: rgba(255,255,255,.8);
		height: 305px;
		padding-top: 75px;
		margin-bottom: -400px;
	}
	
	#logo img {
		width: 280px;
		max-width: 100%;
		float: none;
		display: block;
		margin-bottom: .3em;
		margin-right: 0;
	}
	
	#logo span {
		font-size: 2.6em;
		text-align: center;
	}
	
/*
	#logo_left {
		padding: 20px 20px 267px;
	}
	
	#logo {
		width: 100%;
	}
	
	#logo a {
		width: 1000px;
		text-decoration: none;
	}
	
	#logo img {
		max-width: 100%;
		margin-bottom: -400px;
		position: relative;
		z-index: 1000;
	}
	
	#logo span {
		font-size: 2.6em;
		text-align: center;
		color: rgba(34,34,34,1);
		position: relative;
		z-index: 1001;
		top: 200px;
		left: 20px;
	}
*/
	
	#header_image {
		height: 400px;
	}
	
	#header_image div div {
		height: 300px;
	}
	
	.slogan {
		height: 60px;
		width: 1000px;
		margin: -60px auto 0;
		font-size: 2em;
		position: relative;
		z-index: 1001;
	}
	
	#wrapper {
		width: 100%;
		padding: 0;
		min-height: 100%;
		/* equal to footer height */
		margin-bottom: -100px;
	}
	
	#wrapper:after {
		content: "";
		display: block;
	}
	
	#footer, #wrapper:after {
		height: 100px; 
	}
	
	#image img {
		display: block;
		float: right;
		margin: 2px 10px 25px 0;
	}
	
	#content_wrapper {
		width: 960px;
		margin: 0 auto;
		padding: 0 20px;
	}
	
	#content {
		float: left;
		width: 100%;
		padding: 50px 0 0 0;
		margin-left: 0;
	}
	
	#sidebar {
		float: right;
		width: 220px;
		padding: 50px 30px 0 0;
	}
	
	.sidebar_box {
		padding-bottom: 1em;
	}
	
	.row {
		margin-bottom: 2em;
	}
	
	.row h1 {
		margin: 0;
	}
	
	.row p,
	.row h1,
	.row h2,
	.row h3 {
		
	}
	
	.col_full {
		float: left;
		width: 100%;
	}
	
	.col_half {
		float: left;
		margin-left: 2%;
		width: 49%;
	}
	
	.col_third {
		float: left;
		margin-left: 2% !important;
		margin-right: 0 !important;
		width: 32% !important;
	}
	
	.col_two_thirds {
		float: left;
		margin-left: 2%;
		width: 66%;
	}
	
	.first {
		margin: 0 !important;
	}
	
	.box ul,
	.box ol {
		margin-left: 3em;
	}
	
	.row.box,
	.col_half.box,
	.col_third.box {
		background: rgba(221,239,198,1);
	}
	
	#startseite .box {
/* 		min-height: 420px; */
	}
	
	.box.col_half,
	.box.col_third {
		min-height: 254px;
	}
	
	
	.row.box .col_half p,
	.row.box .col_half h2 {
		padding-right: 25px;
	}
	
	.row.box .first.col_half p,
	.row.box .first.col_half h2 {
		padding-left: 25px;
		padding-right: 0;
	}
	
	.row.box .col_half h2 {
		padding-top: 25px;
	}
	
	.row.box .content_img {
		margin-bottom: 0;
	}
	
	.col_half.box p,
	.col_half.box h2,
	.col_third.box p,
	.col_third.box h2 {
		padding: 0 25px;
	}
	
	.col_half.box h2,
	.col_third.box h2 {
		padding-top: 15px;
/* 		text-align: center; */
	}
	
	.box a {
		color: rgba(34,34,34,1);
	}
	
	#footer {
		width: inherit;
		padding: 10px 0 5px;
		border-top: 3px solid rgba(141,199,63,1);
	}
	
	#footer img {
		display: block;
	}
	
	#footer_content {
		width: 1000px;
		margin: auto;
		font-size: 1.125em;
		line-height: 1.5em;
	}
	
	.footer_third {
		float: left;
		width: 31%;
		margin-left: 2%;
	}
	
	.footer_fourth {
		float: left;
		width: 23%;
		margin-left: 2%;
	}
		
	/* Forms */
	
	.reg_form input {
		width: 45%;
		margin-left: 25px;
	}
	
}

@media only screen and (min-width: 1200px) {
	
	nav ul li {
		font-size: 1.125em;
	}
	
	nav ul li a {
		padding: 10px 15px;
	}
	
	#header {
		width: 1200px;
	}
	
	#logo {

	}
	
/*
	#logo a {
		width: 1200px;
	}
*/
	
	#header_image {
		height: 400px;
	}
	
	#header_image div div {
		height: 400px;
	}
	
	.slogan {
		width: 1200px;
		font-size: 2.5em;
	}
	
	#content_wrapper {
		width: 1160px;
	}
	
	.first {
		padding: 0;
	}
	
	#footer_content {
		width: 1200px;
	}
	
	/* Forms */
	
	.reg_form input {
		width: 45%;
		margin-left: 25px;
	}
	
}
