/*
Theme Name: Kehrmaschine
Theme URI: http://www.thg-ag.ch/
Description: Standard-Theme fuer thg-ag.ch
Version: 0.9
Author: Sebastian Bloss
Author URI: http://www.pandaweb.de/
*/


/* ==========================================================================
   HTML5 Boilerplate styles - h5bp.com (generated via initializr.com)
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #333;
}

html {
 background: #ecf0f1 url(img/bg.jpg) no-repeat center center fixed;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

body {
	/* background: #ecf0f1; */
    font-size: 1em;
    line-height: 1.4;
	font-family: 'Ubuntu', sans-serif;
}

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

img {
    vertical-align: middle;
	max-width: 100%;
	height: auto;
}

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

textarea {
    resize: vertical;
}

.chromeframe {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}


/* ==========================================================================
   Author's custom styles
   ========================================================================== */


#container {
	width: 100%;
}

#wrapper-outer {
	max-width: 1140px;
	min-width: 280px;
	margin: 0 auto;
	background: #FFF;
	overflow: hidden;
	-webkit-box-shadow: 0px 5px 15px 0px rgba(50, 50, 50, 1);
	-moz-box-shadow: 0px 5px 15px 0px rgba(50, 50, 50, 1);
	box-shadow: 0px 5px 15px 0px rgba(50, 50, 50, 1);
}

.wrapper {
	padding: 0 35px;
}

.wrapper.header {
	padding: 35px;
}

.wrapper.slider {
	max-width: 1140px;
	padding: 0;
}

#logo {
	float: left;
}


#footer {
	border-top: 1px solid #8fbc2c;
	margin-top: 80px;
	padding-top: 20px;
}

#footer p {
	font-size: .85em;
	color: #555;
	text-align: center;
	margin: 0 0 20px;
	float: left;
}

#footer span {
	display: inline-block;
	padding: 0 10px;
	color: #777;

}

#footer span.genericon {
	font-size: 22px;
	color: #0091d1;
}

#footer a {
	color: #555;
	text-decoration: none;
	border-bottom: 1px solid #0091d1;
}

#footer p.footer-kontakt {
	float: right;
}

input.wpcf7-text:hover,
input.wpcf7-text:focus,
.wpcf7 textarea:hover,
.wpcf7 textarea:focus,
input.wpcf7-submit:hover,
#sidebar h4.entry-header a:hover,
#partner li:hover,
.wp-pagenavi a,
.article-content h2.entry-header a,
.hentry .entry-content a,
.produkt-image:hover .lupe:after,
.hentry .entry-content .anbau-teaser a.more:hover,
header.page-headline h1.entry-header,
header.page-headline p.category-header,
.hentry .entry-content .produktgruppe-hl h2,
.logo-pic:hover img,
.article-left-news p.entry-date,
#menu li a:hover,
#logo,
.item h3.slider-hl  {
	-webkit-transition: all .5s ease-in-out;
	-moz-transition: all .5s ease-in-out;
	-o-transition: all .5s ease-in-out;
	transition: all .5s ease-in-out;
}

.cd-produkt:hover,
.cd-produkt:active  {
	-webkit-transition: all 1s ease-in-out;
	-moz-transition: all 1s ease-in-out;
	-o-transition: all 1s ease-in-out;
	transition: all 1s ease-in-out;
}

/* ==========================================================================
   Menu / Desktrop
   ========================================================================== */
#menu-mobil {
	display: none;
}

.header-right {
	float: right;
}

#language {
	margin: -15px 0 18px;
}

#language ul {
	float: right;
	list-style: none;
	padding: 0;
	margin: 0;
}

#language li {
	float: left;
	border-right: 1px solid #ccc;
	padding-right: 12px;
	margin-right: 12px;
	font-size: .75em;
}

#language li:last-child {
	border-right: 0;
	padding-right: 0;
	margin-right: 0;
}

#language li a {
	color: #666;
	text-decoration: none;
}

#language li a.lang-aktuell {
	color: #0091d1;
}

#menu ul {
	margin: 0;
	padding: 0;
}


#menu li {
	float: left;
	font-size: 1.05em;
	margin: 0 40px 0 0;
  line-height: 61px;
}

#menu li span.hidden-screen {
  visibility: hidden;
}

#menu li.home-link a {
  position: relative;
  text-indent: -99999px;
  width: 25px;
}

#menu li.home-link a:before {
  position: absolute;
  top: -6px;
  left: 8px;
  width: 25px;
  height: 22px;
  background: url('img/home-icon-2.png') no-repeat center center;
  content: '';
}

#menu li.current-menu-item  a,
#menu li.current-page-ancestor a,
#menu li.current-post-parent a  {
	border-color: #8fbc2c;
}

#menu li:last-child {
	margin-right: 0;
}

#menu li a {
	color: #444;
	text-decoration: none;
  padding: 0 0 13px;
  border-bottom: 2px solid transparent;
}

#menu li a:hover,
#menu li.current_page_item a,
body.home #menu li.home-link a {
	border-color: #dbdbdb;
}

#menu li.un a:hover,
#menu li.current_page_item.un a {
	border-color: #77929d;
}

#menu li.news a:hover,
#menu li.current_page_item.news a {
	border-color: #8fbc2c;
}

#menu li.products a:hover,
#menu li.current_page_item.products a,
#menu li.current-page-ancestor a  {
	border-color: #0091d1;
}

/* ==========================================================================
   Headline / Links
   ========================================================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: "Montserrat",sans-serif;
}
/*
.slogan h1 {
	color: #555;
	width: 61.4%;
	margin: 50px auto;
	font-size: 1.7em;
	text-align: center;
	font-weight: 400;
	line-height: 1.2;
}
*/
.produkt-teaser h3 {
	font-weight: 400;
	padding: 8px 15px;
	font-size: 1.05em;
  margin: 0;
  background: #0091d1;
  color: #fff;
  border-bottom: 5px solid #FFF;
}

.intro h4 {
	color: #555;
	font-size: 1.7em;
	font-weight: 400;
	line-height: 1.2;
	margin: 0 0 40px;
}

header.page-headline h1.entry-header,
header.page-headline p.category-header {
	background: #DBDBDB;
	margin: 0;
	padding: 7px 0 7px 20px;
	text-transform: uppercase;
	color: #777;
	letter-spacing: .07em;
	font-size: 1.25em;
  font-weight: 400;
}


.post h1.entry-header,
.hentry .entry-content h2,
.hentry .entry-content h3,
.hentry .entry-content h4,
.hentry .entry-content h5,
.hentry .entry-content h6 {
	color: #555;
	margin: 25px 0 20px;
	font-size: 1.2em;
	font-weight: 400;
}

.post h1.entry-header {
	margin: 0 0 36px;
	font-size: 1.3em;
	border-color: #0091d1;
}

.type-page.hentry .entry-content h2 {
	font-size: 1.4em;
  margin: 50px 0;
}

body.page-template-tpl_unternehmen .type-page.hentry .entry-content h2:first-of-type {
	margin-top: 0;
}



/*
#sidebar p.sidebar-hl {
	text-align: center;
	color: #FFF;
	background-color: #77929d;
    font-family: "Montserrat",sans-serif;
    font-size: 1.1em;
    font-weight: 400;
	line-height: 39px;
}
*/

#sidebar h4.entry-header {
	font-size: .9em;
	font-weight: 400;
	margin: 0 0 5px 0;
}

#sidebar h4.entry-header a {
	color: #0091d1;
	text-decoration: none;
}

#sidebar h4.entry-header a:hover {
	color: #555;
}

p.content-hl {
	font-family: "Montserrat",sans-serif;
	font-size: 1.3em;
	color: #888;
}

p.start-aktuelle-hl,
.hentry .entry-content .produktgruppe-hl h2,
.home-intro .entry-header h1,
.home-intro .entry-header h2,
.sidebar-hl,
.type-page.hentry .entry-content h2.regional-contacts {
	margin: 35px 0 70px -35px;
	display: inline-block;
	padding: 5px 20px 5px 35px;
	background: #77929d;
	color: #fff;
	font-family: "Montserrat",sans-serif;
	font-size: 1.3em;
	border: 0;
	font-weight: 400;
}

.home-intro .entry-header h2 {
  margin-top: 70px;
  background-color: #0091d1;
}

body.page-template-tpl_produktgruppen p.start-aktuelle-hl {
	margin-bottom: 70px;
	margin-top: 35px;
}

p.start-aktuelle-hl,
.type-page.hentry .entry-content h2.regional-contacts {
	margin: 70px 0 70px -35px;
  background-color: #dbdbdb;
  color: #777;
}

.hentry .entry-content .produktgruppe-hl h2 {
	margin: 40px 0 20px -20px;
}

/* ==========================================================================
   Startseite
   ========================================================================== */

.teaser {

}

.produkt-teaser {
	width: 48.421%;
  position: relative;
}

.produkt-teaser a {
	display: block;
  text-decoration: none;
  color: #333;
}

.produkt-teaser img {
	margin: 0;
  width: 100%;
}

.produkt-teaser .entry-content {
  padding: 15px 0;
  overflow: hidden;
  padding-bottom: 40px;
}

.produkt-teaser p.read-more,
a.read-more {
	font-size: .9em;
	margin: 0;
	border-bottom: 1px solid #0091d1;
	text-decoration: none;
	color: #333;
  position: absolute;
  right: 20px;
  bottom: 20px;
}

.produkt-teaser p {
	margin: 0 20px 20px 20px;
	font-size: .9em;
}

.produkt-teaser:nth-of-type(2n) {
	margin-right: 0;
}

.intro {
	float: left;
	width: 65.64%;
}

.logo-pic-outer {
	width: 16.53%;
	outline: 1px solid #ccc;
	padding: .5%;
	height: 100px;
	margin: 0 3.07% 3.07% 0;
	display: table;
	float: left;
	table-layout: fixed;
}

.logo-wrapper .logo-pic-outer:nth-of-type(5n) {
	margin-right: 0;
}

.logo-pic {
	display: table-cell;
	vertical-align: middle;
	text-align: center;
}

.logo-pic img {
	-webkit-filter: grayscale(100%);
	-moz-filter: grayscale(100%);
	-o-filter: grayscale(100%);
	-ms-filter: grayscale(100%);
	filter: grayscale(100%);
  filter: gray;  /* For IE 6 - 9 */
  max-width: 80%;
}

.logo-pic:hover img {
	-webkit-filter: grayscale(0);
	-moz-filter: grayscale(0);
	-o-filter: grayscale(0);
	-ms-filter: grayscale(0);
	filter: grayscale(0);
    filter: none;  /* For IE 6 - 9 */
}

.home-intro  {
	width: 60%;
	float: left;
}

.home-intro p {
	font-size: 1em;
	margin: 0 0 20px;
}

.home-intro p:last-child {
	margin: 0;
}

body.home .home-intro p strong {
	color: #77929d;
}

body.home #sidebar {
	width: 35%;
	margin: 35px 0 0;
}

.icons-services {
  /*margin: 0 0 52px; */
}

body.home .icons-services {
  margin: 100px 0 65px;
}

/* ==========================================================================
   Seite
   ========================================================================== */
.post-content {
	float: left;
	width: 61%;
}

.hentry .entry-content a {
	color: #333;
	text-decoration: none;
	border-bottom: 1px solid #0091d1;
}

body.category .hentry .entry-content a {
	border-color: #8fbc2c;
}

.hentry .entry-content a:hover {
	border-color: #8fbc2c;
}

.hentry .entry-content ul {
	margin: 20px 0;
	padding: 0 0 0 20px;
	list-style: square;
}

.hentry .entry-content li {
	padding: 0 0 0 10px;
	margin: 0 0 5px;
}

.hentry .entry-content li:last-child {
	margin: 0;
}

body.page-id-13 .type-page .post-content .entry-content p,
body.page-id-567 .type-page .post-content .entry-content p,
body.page-id-569 .type-page .post-content .entry-content p {
	padding-left: 20px;
	margin: 0 0 35px;
	position: relative;
}

body.page-id-13 .type-page .post-content .entry-content p:before,
body.page-id-567 .type-page .post-content .entry-content p:before,
body.page-id-569 .type-page .post-content .entry-content p:before {
	position: absolute;
  content: '';
  height: 50px;
  width: 3px;
  background-color: #000;
  left: 0;
  top: 0;
}

body.page-id-13 .type-page .post-content .entry-content p:nth-child(3n):before,
body.page-id-567 .type-page .post-content .entry-content p:nth-child(3n):before,
body.page-id-569 .type-page .post-content .entry-content p:nth-child(3n):before {
  background-color: #77929d;
}

body.page-id-13 .type-page .post-content .entry-content p:nth-child(4n):before,
body.page-id-567 .type-page .post-content .entry-content p:nth-child(4n):before,
body.page-id-569 .type-page .post-content .entry-content p:nth-child(4n):before {
  background-color: #8fbc2c;
}

body.page-id-13 .type-page .post-content .entry-content p:nth-child(5n):before,
body.page-id-567 .type-page .post-content .entry-content p:nth-child(5n):before,
body.page-id-569 .type-page .post-content .entry-content p:nth-child(5n):before {
  background-color: #0091d1;
}

body.page-id-13 .hentry .entry-content p.slogan,
body.page-id-567 .hentry .entry-content p.slogan,
body.page-id-569 .hentry .entry-content p.slogan {
	background: #0091d1;
	color: #FFF;
	padding: 15px 20px;
	border: 0;
	margin: 0 0 50px;
	font-size: 1.05em;
	font-family: "Montserrat",sans-serif;
}

body.page-id-13 .hentry .entry-content p.slogan:before,
body.page-id-567 .hentry .entry-content p.slogan:before,
body.page-id-569 .hentry .entry-content p.slogan:before {
	display: none;
}

/* ==========================================================================
   Standard Page
   ========================================================================== */

/*
.post-content.page-content {
	margin-top: 45px;
}
*/

/* Table Referenzen */

.table-wrapper {
  overflow-x: auto;
}

.table-wrapper::-webkit-scrollbar {
    -webkit-appearance: none;
}

.table-wrapper::-webkit-scrollbar:vertical {
    width: 12px;
}

.table-wrapper::-webkit-scrollbar:horizontal {
    height: 12px;
}

.table-wrapper::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, .5);
    border-radius: 10px;
    border: 2px solid #ffffff;
}

.table-wrapper::-webkit-scrollbar-track {
    border-radius: 10px;
    background-color: #ffffff;
}

table {

  font-size: .95em;
  width: 100%;
}

table tr:first-child {
  background: #77929d;
  color: #FFF;
}

body.page-id-1021 table tr:first-child td {
  border: 1px solid #77929d;
}

body.page-id-1021 table tr:nth-of-type(2) td:first-child {
  background: #ddd;
}

table td {
  padding: 4px 10px;
  border: 1px solid #ccc;
}

.post table td {
  border: 0;
}

.post table tr:nth-child(odd) {
  background-color: #f2f2f2;
}

.post table tr:first-child {
  background-color: #77929d;
}

/* ==========================================================================
   Produkt-Übersicht
   ========================================================================== */

.cd-produkt {
	width: 50px;
	height: 50px;
	margin: 10px auto;
}

.cd-produkt:hover,
.cd-produkt:active {
	-moz-transform: rotate(180deg);
	-ms-transform: rotate(180deg);
	-o-transform: rotate(180deg);
	-webkit-transform: rotate(180deg);
	transform: rotate(180deg);
}

.cd-produkt.one {
	background: #77929d;
}

.cd-produkt.two {
	background: #8fbc2c;
}

.cd-produkt.third {
	background: #0091d1;
}

body.page-template-tpl_produktgruppe .produkt-overview-right {
	margin: 0 auto 50px;
	width: 190px;
	overflow: hidden;
}

body.page-template-tpl_produktgruppe .cd-produkt {
	float: left;
	margin: 0 20px 0 0;
}

body.page-template-tpl_produktgruppe .cd-produkt.third {
	margin: 0;
}

/* ==========================================================================
   Produkte
   ========================================================================== */


.gallery-image {
	position: relative;
	float: left;
	max-width: 115px;
	width: 29.35%;
	margin: 0 5.19% 5.19% 0;
	border: 1px solid #ddd;
}

.gallery-image:nth-child(3n) {
	margin: 0;
}

.gallery-image-cover {
	position: absolute;
	width: 100%;
	height: 100%;
	background: #77929d;
	background: rgba(119,146,157, .85);
	top: 0;
	left: 0;
	display: none;
	text-align: center;
}
.gallery-image-cover span {
	font-size: 40px;
	color: #FFF;
	top: 50%;
	left: 50%;
	margin: -20px 0 0 -20px;
	position: absolute;
}
.gallery-image:hover .gallery-image-cover {
	display: block;
}

/*

#partner {
	background: #ddd;
	margin: 20px -20px 0 -20px;
}

#partner ul {
	display: table;
	table-layout: fixed;
	margin: 0 auto;
	padding: 0;
	height: 70px;
}

#partner li {
	display: table-cell;
	vertical-align: middle;
	padding: 0 50px 0 0;
	opacity: .7;
}
#partner li:hover {
	opacity: 1;
}

.download-pdf {

	display: table;
	table-layout: fixed;
	float: left;
	background: #f2f2f2;
	margin: 0 20px 20px 0;
}
.download-pdf-icon,
.download-title {
	display: table-cell;
	text-align: left;

}

.download-pdf-icon {
	width: 45px;
}

.download-pdf-icon span {
	font-size: 45px;
	color: #888;
}

.download-title {
	font-size: .875em;
	vertical-align: middle;
	padding: 0 10px 0 0;
}

.hentry .entry-content .download-title a {
	color: #666;
}
*/

.grid-sizer {
    width: 33.333%;
}

.produkt {
	width: 32.12%;
	outline: 1px solid #000;
	float: left;
	margin-top: 20px;
	background: #f2f2f2;
	outline: 1px solid #ddd;
	overflow: hidden;
}

.hentry .entry-content .produkt-hl h3 {
	background: #dbdbdb;
	color: #777;
	border: 0;
	margin: 0;
	font-size: 1.1em;
	padding: 3px 5px 3px 15px;
}

.produkt table {
	width: 100%;
}

.produkt th {
	font-weight: 400;
	text-align: left;
	font-size: .9em;
	padding: 7px;
}

.produkt th.left {
	width: 57%;
}

.produkt th.right {
	width: 43%;
}

.produkt tr:nth-child(even) {
	background: #FFF;
}
.produkt-image  {
	position: relative;
}
.lupe:after {
	font-family: "Genericons";
	content: '\f400';
	position: absolute;
	right: 5px;
	font-size: 26px;
	top: -33px;
	opacity: 0;
	color: #777;
}

.produkt-image:hover .lupe:after {
	opacity: 1;
}


/* ==========================================================================
   Produkte / neu
   ========================================================================== */

.wrapper-produkte {
	float: left;
	width: 66%;
}

.produktgruppe-header {
	position: relative;
}

.produktgruppe-wrapper {
	margin: 0 0 70px;
}

.hentry .entry-content .produktgruppe-hl h2 {
	display: block;
	margin: 0;
  border-bottom: 5px solid #FFF;
	text-align: center;
	text-transform: uppercase;
	background-color: #0091d1;
	letter-spacing: 0.02em;
	padding: 5px 20px;
  font-size: 1.15em;
}

.produktgruppe-img img {
	float: left;
	width: 49.725%;
}

.produktgruppe-img img.first {
	margin-right: 0.48%;
}

.produktgruppe-desc {
	max-width: 720px;
	margin: 70px auto 0;
	font-size: 1em;
	line-height: 1.6;
}

.produktgruppe-desc p {
	margin: 0 0 35px;
}

.hentry .entry-content .produkt-hl h3 {
	background: #0091d1;
	color: #fff;
	border: 0;
	margin: 0;
	font-size: 1em;
	padding: 5px 5px 5px 15px;
	line-height: 1.6;
	font-family: "Ubuntu",sans-serif;
  border-bottom: 5px solid #fff;
}

.hentry .entry-content ul.hersteller {
	margin: 0;
	padding: 0;
	list-style: none;
}

.hentry .entry-content ul.hersteller li {
	display: inline-block;
	margin: 0 35px 0 0;
	padding: 0;
}

.hentry .entry-content ul.hersteller li a {
	border: 0;
	opacity: .75;
}

.hentry .entry-content ul.hersteller li a:hover {
	opacity: 1;
}

.hentry .entry-content p.hersteller-hl {
	font-weight: 700;
	text-transform: uppercase;
	color: #666;
	border-bottom: 1px solid #ccc;
	padding: 0 0 8px;
	margin: 0 0 18px;
}

.produkt-sub-category {
	margin: 70px 0 0;
}

.produktgruppe-wrapper .produkt {
	width: 31.286%;
	float: left;
	margin: 0 3.07% 3.07% 0;
	background: #f2f2f2;
	overflow: hidden;
	background-color: #dbdbdb;
}

.produktgruppe-wrapper .produkt:nth-of-type(3n) {
	margin: 0 0 20px;
}

.produkt table {
	width: 100%;
}

.produkt th {
	font-weight: 400;
	text-align: left;
	font-size: .85em;
	padding: 7px;
}

.produkt th.left {
	width: 57%;
}

.produkt th.right {
	width: 43%;
}

.produkt tr:nth-child(even) {
	background: #FFF;
}
.produkt-image  {
	position: relative;
}

.lupe {
	position: absolute;
	bottom: 5px;
	right: 5px;
}

body.page-template-tpl_produkt_anbau-php .lupe:after {
	font-family: "Genericons";
	content: '\f400';
	font-size: 26px;
	opacity: 0;
	color: #0091d1;
	line-height: 30px;
	width: 30px;
	text-align: center;
	background: #fff;
}

.produkt-image:hover body.page-template-tpl_produkt_anbau-php .lupe:after {
	opacity: 1;
}

.produkt-info {
	float: right;
	width: 31%;
	padding: 40px 0;
	border-top: 4px solid #77929d;
	border-bottom: 4px solid #77929d;
	margin: 40px 0 0;
}

.produkt-info .produkt-overview-right {
	width: 190px;
	margin: 35px auto 0;
	overflow: hidden;
}

.produkt-info  .cd-produkt {
	float: left;
	margin: 0 20px 0 0;
}

.produkt-info  .cd-produkt.third {
	float: left;
	margin: 0;
}

/* ICONS */

ul.icons {
	list-style: none;
	padding: 0;
	margin: 0;
}

ul.icons li {
	float: left;
	margin: 0 3.07017% 35px 0;
	position: relative;
  width: 7.236847%;
}

ul.icons li:last-child {
	margin: 0;
}

/* Tooltipp */

ul.icons li:after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 130%;
    left: 0;
    background: #0091d1;
    padding: 0 15px;
	  line-height: 30px;
    color: #FFF;
    white-space: nowrap;
    opacity: 0;
    -webkit-transition: all 0.4s ease;
    -moz-transition   : all 0.4s ease;
	transition: all 0.4s ease;
	text-transform: uppercase;
	font-size: .875em;
 }

ul.icons li.grey:after {
    background: #77929d;
}

ul.icons li.green:after {
    background: #8fbc2c;
}

ul.icons li.red:after {
    background: #ed7150;
}

ul.icons li:before {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    border-top: 6px solid #0091d1;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    -webkit-transition: all 0.4s ease;
    -moz-transition   : all 0.4s ease;
	transition: all 0.4s ease;
    opacity: 0;
    left: 15px;
    bottom: 126%;
}
ul.icons li.grey:before {
    border-top: 6px solid #77929d;
}

ul.icons li.green:before {
    border-top: 6px solid #8fbc2c;
}

ul.icons li.red:before {
    border-top: 6px solid #ed7150;
}

ul.icons li:hover:after,
ul.icons li:active:after {
    bottom: 110%;
  }
ul.icons li:hover:before,
ul.icons li:active:before {
    bottom: 104%;
  }
ul.icons li:hover:after,
ul.icons li:hover:before,
ul.icons li:active:after,
ul.icons li:active:before {
    opacity: 1;
  }


/* ==========================================================================
   Breadcrumb
   ========================================================================== */
#breadcrumb {
	background-color: #FFF;
	background: rgba(255,255,255,0.75);
	text-align: right;
	margin: 35px 0 30px;
	display: block;
}

#breadcrumb p#breadcrumbs {
	margin: 5px 0 0;
	font-size: .75em;
}
 p#breadcrumbs a {
	color: #666;
	text-decoration: none;
	border-bottom: 1px solid transparent;
 }

  p#breadcrumbs a:hover {
	border-color: #8fbc2c;
 }

 p#breadcrumbs span.abstand {
	color: #888;
 }
/* ==========================================================================
   Full-Size
   ========================================================================== */

body.page-template-tpl_full_size-php .post-content {
	float: none;
	width: auto;
	margin: 40px 0 0;
}


/* ==========================================================================
   category.php
   ========================================================================== */
.post {
	padding: 0 0 20px;
}

body.home .post:last-of-type {
	border: 0;
	padding: 0;
	margin: 20px 0 0;
}

.article-wrapper {
    margin: 70px 0 0;
}

.news-article {
  float: left;
  margin: 0 3.07% 3.07% 0;
  width: 31.286%;
  position: relative;
}

.news-article:nth-of-type(3n) {
  margin-right: 0;
}

.news-article.post {
  padding: 0;
}

.article-top {
  position: relative;
}

.article-top p.entry-date,
.article-image p.entry-date {
	position: absolute;
	right: -1px;
	top: 0;
	background: #fff;
	color: #8fbc2c;
	margin: 0;
	width: 52px;
	text-align: center;
	font-size: .95em;
	text-transform: uppercase;
}

.article-thumb {
  margin: 0 -1px -1px -1px;
}

.article-thumb img {
  width: 100%;
}

.article-content {
	outline: 1px solid #ccc;
  overflow: hidden;
  padding: 15px 0;
  min-height: 200px;
}

.article-content .entry-content {
	margin: 15px 15px 0;
}

.article-content .entry-content p {
	font-size: .9em;
}

.article-content h2.entry-header {
	margin: 0 15px 15px;
	font-weight: 400;
	font-size: 1.05em;

}

.article-content h2.entry-header a {
	text-decoration: none;
	color: #8fbc2c;
}

.article-content h2.entry-header a:hover {
	color: #555;
}

.article-content a.read-more {
	margin-right: 0;
  display: block;
  text-align: right;
}

/* Pagionation */
.wp-pagenavi {
	float: right;
}

.wp-pagenavi span,
.wp-pagenavi a {
	display: inline-block;
	color: #fff;
	width: 42px;
	line-height: 42px;
	text-align: center;
	background: #77929d;
	border: 1px solid #77929d;
	font-family: 'Montserrat', sans-serif;
	font-size: 1.125em;
	margin: 0 0 0 15px;
 }

.wp-pagenavi a {
	text-decoration: none;
	color: #fff;
}
.wp-pagenavi span.current, .wp-pagenavi a:hover {
	background: #8fbc2c;
	border: 1px solid #8fbc2c;
	color: #FFF;
}

/* ==========================================================================
   single.php
   ========================================================================== */
.article-image {
	margin: 0 0 35px;
	position: relative;
}
.article-image p.entry-date {
	left: 0;
}

.news-single.hentry .entry-content p {
    margin: 0 0 30px;
    font-size: .9em;
}

/* ==========================================================================
   Galerie / Video
   ========================================================================== */

.gallery-item {
	float: left;
	width: 22.92%;
	margin: 0 2.76% 2.76% 0;
 }

.gallery .gallery-item:nth-child(4n) {
	margin-right: 0;
}

.gallery {
	margin: 20px 0;
}

.alignleft {
	display: inline;
	float: left;
	margin: 0 25px 20px 0;
}

.alignright {
	display: inline;
	float: right;
	margin: 0 0 20px 25px;
}


.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    margin-bottom: 30px;
/*  overflow: hidden; */
}

.video-container iframe,
.video-container object,
.video-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* ==========================================================================
   Anbaugeräte // ALT
   ==========================================================================

.anbau-teaser {
	float: left;
	width: 49.1%;
	margin: 0 1.755% 0 0;
	position: relative;
}

.anbau-teaser:nth-child(2n) {
	margin: 0 0 0 0;
}

.hentry .entry-content .anbau-teaser h2 {
	background: #0091d1 url('img/sun-icon.png') no-repeat 9px center;
	color: #FFF;
	border: 0;
	font-size: 1.3em;
	padding: 3px 15px 0 50px;
	margin: 25px 0 0;
	line-height: 45px;
}

.hentry .entry-content .anbau-teaser h2.snow {
	background: #0091d1 url('img/snow-icon.png') no-repeat 9px center;
}

.hentry .entry-content .anbau-teaser a.more {
	position: absolute;
	bottom: 0;
	right: 0;
	background: #77929d;
	color: #FFF;
	border: 0;
	font-size: 1.1em;
	padding: 7px 17px;
 }

.hentry .entry-content .anbau-teaser a.more:hover {
  background: #8fbc2c;
}

*/

.produktgruppe-teaser {
	float: left;
	width: 48.46%;
	margin: 0 3.07% 3.07% 0;
	position: relative;
}

.produktgruppe-teaser:nth-child(2n) {
	margin: 0 0 3.07% 0;
}

.hentry .produktgruppe-teaser a {
  border: 0;
  text-decoration: none;
}

.hentry .entry-content .produktgruppe-teaser h2 {
	background-color: #0091d1;
	color: #FFF;
	border: 0;
	padding: 8px 15px;
	margin: 0 !important;
	line-height: 1.2;
  border-bottom: 5px solid #fff;
	letter-spacing: 0.02em;
  font-size: 1.05em;
}

.hentry .entry-content .produktgruppe-teaser a.more {
	background: #777;
	color: #FFF;
	border: 0;
	font-size: .95em;
	padding: 5px 10px;
  display: inline-block;
  float: right;
  margin: 5px 0 0;
 }

.hentry .entry-content .produktgruppe-teaser a.more:hover {
  background: #0091d1;
}


/* ==========================================================================
   Kontakt
   ========================================================================== */
body.page-template-tpl_kontakt-php .hentry .entry-content  {
	width: 100%;
}

.schnellkontakt-bg {
	background: url('img/bg-5.jpg') no-repeat center center;
	margin: 0 -20px;
	height: 104px;
}

.page-header {
	height: 150px;
	position: relative;
  background-size: cover;
  margin-bottom: 40px;
}

.schnellkontakt {
	width: 300px;
	float: right;
	border-left: 4px solid #8fbc2c;
	padding: 5px 0 5px 20px;
	background: #f2f2f2;
	background: rgba(242,242,242, .75);

}

.hentry .entry-content .schnellkontakt p {
	margin: 10px 0;
}

.hentry .entry-content .schnellkontakt a {
	text-decoration: none;
	color: #444;
	font-size: 1.15em;
	font-weight: 400;
	font-family: "Montserrat",sans-serif;
	border: 0;
}

.schnellkontakt a span {
	color: #0091d1;
	font-size: 20px;
	border-radius: 50%;
	border: 1px solid #0091d1;
	padding: 5px;
	background: #eee;
	margin: 0 20px 0 0;
}


.contact {
	display: table;
	width: 100%;
	table-layout: fixed;
	margin: 40px 0 0;
}

.contact .left,
.contact .right {
	width: 50%;
}

.contact .left {
	float: left;
	font-size: 1.15em;
}

.contact .right {
	float: right;
}

.hentry .entry-content .adresse a {
	border: 0;
}

.adresse {
  line-height: 1.6;
}

span.firma {
  font-size: 1.25em;
  color: #77929d;
}

span.locality {
  position: relative;
}

span.locality::before {
  content: "";
  width: 60px;
  height: 2px;
  background-color: #77929d;
  position: absolute;
  bottom: -70px;
  left: -43px;
}

.phone-contact {
	margin: 70px 0 5px;
	display: inline-block;
  font-size: 1.15em;
}

.email-contact {
  font-size: 1.15em;
}

.contact .left .genericon-handset,
.contact .left .genericon-mail {
	margin: 0 35px 0 0;
	font-size: 34px;
	vertical-align: middle;
	color: #0091d1;
}

.reg-contacts-wrapper {
  display: flex;
  flex-wrap: wrap;
  margin: 0 0 70px;
}

.reg-contacts {
  margin: 0 3.07% 3.07% 0;
  width: 31.286%;
}

.reg-contacts:nth-of-type(3n) {
  margin: 0 0 3.07% 0;
}

.reg-contacts p {
  font-size: .9em;
  margin: 0;
}

.reg-contacts p.name-partner {
  margin: 15px 0;
  font-style: italic;
}

.reg-contacts span.land {
  font-weight: 700;
  margin: 0 0 15px;
  padding: 0 0 15px;
  display: block;
  border-bottom: 1px solid #77929d;
  line-height: 1;
}

.reg-contacts span.abstand {
  display: inline-block;
  width: 65px;
  color: #77929d;
}



/* Kontaktformular */
.wpcf7 p {
  margin: 0 0 25px;
}

.wpcf7 p.left-form,
.wpcf7 p.right-form {
  width: 47.5%;
}

.wpcf7 p.left-form {
  float: left;
}

.wpcf7 p.right-form {
  float: right;
}

input.wpcf7-text,
.wpcf7 textarea {
	width: 92%;
	outline: 1px solid #bbb;
	padding: 0 4%;
	font-size: .9em;
  border: 0;
}

input.wpcf7-text {
  height: 40px;
  line-height: 40px;
}

.wpcf7 textarea {
	width: 96%;
	padding: 15px 2%;
}

input.wpcf7-text:hover,
input.wpcf7-text:focus,
.wpcf7 textarea:hover,
.wpcf7 textarea:focus {
	outline: 1px solid #0091d1;
}

input.wpcf7-submit {
	background: #0091d1;
	border: 0;
	color: #FFF;
	padding: 10px 25px;
  font-size: .875em;
	letter-spacing: .05em;
	text-transform: uppercase;
  display: inline-block;
}

input.wpcf7-submit:hover {
	background: #8fbc2c;
}


input,textarea { outline:0; }

#wpcf7-f136-p9-o1 .wpcf7-text, #wpcf7-f136-p9-o1 .wpcf7-textarea { margin-bottom: 0; }
#wpcf7-f136-p9-o1 .wpcf7-submit { margin: 0; }

.wpcf7-response-output {
  border: 0 !important;
  outline: 3px solid #F6AEA9 !important;
  margin: 25px 0 !important;
  padding: 15px 5% !important;
  width: 90%;
  font-style: italic;
}

.wpcf7-not-valid-tip {
  display: none !important;
}

.wpcf7-not-valid {
  border: 0 !important;
  outline: 1px solid #F6AEA9 !important;
}

::-webkit-input-placeholder { color: #555; }
:-moz-placeholder { /* Firefox 18- */ color: #555; opacity: 1;}
::-moz-placeholder { /* Firefox 19+ */ color: #555; opacity: 1; }
:-ms-input-placeholder { color: #555; }

/* Customize the label (the container) */

span.wpcf7-list-item {
    margin-left: 0;
}

.wpcf7-list-item label {
  display: block;
  position: relative;
  padding-left: 40px;
  margin-bottom: 12px;
  cursor: pointer;
  font-size: 16px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  transition: all .3s;
}

/* Hide the browser's default checkbox */
.wpcf7-list-item label input {
  position: absolute;
  opacity: 0;
  cursor: pointer;

}

/* Create a custom checkbox */
.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 25px;
  width: 25px;
  background-color: #fff;
  border: 1px solid #cecece;
}

.wpcf7-acceptance.wpcf7-not-valid .checkmark {
  border: 1px solid #F6AEA9;
}

/* On mouse-over, add a grey background color */
.wpcf7-list-item label:hover input ~ .checkmark {
  background-color: #cecece;
  border-color: #cecece;
}

/* When the checkbox is checked, add a blue background */
.wpcf7-list-item input:checked ~ .checkmark {
  background-color: #8fbc2c;
  border-color: #8fbc2c;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

/* Show the checkmark when checked */
.wpcf7-list-item input:checked ~ .checkmark:after {
  display: block;
}

/* Style the checkmark/indicator */
.wpcf7-list-item .checkmark:after {
  left: 8px;
  top: 2px;
  width: 6px;
  height: 16px;
  border: solid white;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

.wpcf7-acceptance.wpcf7-not-valid {
  border: 0 !important;
  outline: 0 !important;
}

/* ==========================================================================
   Sidebar
   ========================================================================== */

#sidebar {
	float: right;
	width: 31.9%;
	overflow: hidden;
	margin: 0;
}

/*

body.page-template-tpl_unternehmen #sidebar  {
  margin-top: 53px;
}


body.page #sidebar  {
  margin-top: 45px;
}
*/

.sidebar.post {
  position: relative;
}

.sidebar-hl {
  margin: 0 0 36px;
  color: #77929d;
  background: #fff;
  padding-left: 0;
}

body.home .sidebar-hl {
  margin: 0 0 69px;
}

body.single .sidebar-hl {
  margin: 0 0 22px;
}

p.entry-date {
	height: 52px;
	width: 52px;
	color: #FFF;
	background-color: #77929d;
  margin: 0;
  position: absolute;
  text-align: center;
  top: 4px;
}

#sidebar .sidebar:nth-of-type(2) p.entry-date {
	background-color: #8fbc2c;
}

#sidebar .sidebar:nth-of-type(3) p.entry-date {
	background-color: #0091d1;
}

p.entry-date span {
	line-height: .95;
	margin: 9px 0 0;
	display: block;
  font-size: .9em;
}

p.entry-date span.day {
	display: block;
	font-family: "Montserrat",sans-serif;
	font-size: 1.2em;
}

.sidebar .article-right {
	padding: 0 0 25px 80px;
	margin: 0 0 25px;
	border-bottom: 1px solid #cccccc;
  /* float: right; */
}

.sidebar:last-child .article-right {
	margin: 0;
	border: 0;
}


.sidebar .article-right .entry-content p {
	margin: 0 10px 0 0;
}

.sidebar .article-right .entry-content {
	font-size: .875em;
	width: 100%;
}

body.page-id-13 #sidebar .hentry .entry-content p {
	padding: 0;
	border: 0;
	margin: 0;
}

#sidebar .post {
	border-bottom: 0;
	margin: 0;
	padding: 0;
}

/*
*
* COOKIE BANNER
*
*/
.cc-link
.cc-link:active,
.cc-link:visited {
  color: inherit;
  text-decoration: none;
}

.cc-window.cc-floating {
  padding: 25px;
}

.cc-floating .cc-message {
  margin-bottom: 10px;
}

.banner-wrapper {
  padding-bottom: 46px;
  font-family: $font-main;
  @include font-size(.875);
  margin-top: 5px;
}

.cc-window.cc-floating {
  background: $color-1;
  color: #fff;
  width: 100%;
  max-width: 390px;
}

.cc-window.cc-floating span.banner-close {
  position: absolute;
  right: 10px;
  color: #fff;
  top: 10px;
  font-size: 20px;
  z-index: 999;
  width: 20px;
  height: 20px;
  cursor: pointer;
  @extend .transition-short;
}

.cc-window.cc-floating span.banner-close::before {
  content: '';
  height: 2px;
  width: 20px;
  border-radius: 1px;
  background-color: #FFFFFF;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-45deg);
  border-radius: 1px;
  transition: all .3s;
}

.cc-window.cc-floating span.banner-close::after {
  content: '';
  height: 2px;
  width: 20px;
  border-radius: 1px;
  background-color: #FFFFFF;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-135deg);
  border-radius: 1px;
  transition: all .3s;
}

.cc-window.cc-floating:hover {

}

.cc-link {
  position: absolute;
  display: inline-block;
  background: #77929d;
  color: #fff;
  bottom: 25px;
  left: 25px;
  width: 194px;
  text-align: center;
  padding: 0;
  text-decoration: none;
  opacity: 1;
  line-height: 36px;
  height: 36px;
}

.cc-compliance {
  position: absolute;
  bottom: 25px;
  right: 25px;
  width: 50%;

  color: #fff;
  width: 130px;
  line-height: 36px;
  height: 36px;
}

.cc-compliance .cc-btn {
  padding: 0;
  border: 0;
}

.cc-btn {
  font-weight: 400;
  font-size: .975em;
}

.cc-btn:hover {
  opacity: 1 !important;
  background: $color-1 !important;
}

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

  .cc-window.cc-floating {
    width: 100%;
    max-width: inherit;
    bottom: 0;
    left: 0;
  }

  .cc-link,
  .cc-compliance {
    width: calc(50% - 25px);
  }

}

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

  .banner-wrapper {
    padding-bottom: 0;
  }

  .cc-message {
    margin-bottom: 15px;
  }

  .cc-link,
  .cc-compliance {
    display: block;
    width: 100%;
    margin: 0 auto;
    position: relative;
    right: auto;
    left: auto;
    bottom: auto;
  }

  .cc-link {
    margin-top: 25px;
  }

}


/* ==========================================================================
   Media Queries
   ========================================================================== */

@media only screen and (min-width: 35em) {

}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {

}

/* ==========================================================================
   Helper classes
   ========================================================================== */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

.hidden {
    display: none !important;
    visibility: hidden;
}

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
