/*
Theme Name: _heguseba
Author: Daniel Geiser
Author URI: http://new-time.ch/
Description: Ein Starter-Theme mit nahtloser Bootstrap-Integration.
Version: 1.0
License: GNU General Public License v3.0 /
License URI: http://www.gnu.org/licenses/gpl-3.0.html
Tags: gray, light, two-columns, right-sidebar, responsive-layout, custom-background, custom-colors, custom-header, custom-menu, featured-images, flexible-header, sticky-post,  theme-options, threaded-comments, translation-ready
*/

/* roboto-regular - latin */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  src: url('includes/fonts/roboto-v29-latin-regular.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('includes/fonts/roboto-v29-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('includes/fonts/roboto-v29-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('includes/fonts/roboto-v29-latin-regular.woff') format('woff'), /* Modern Browsers */
       url('includes/fonts/roboto-v29-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('includes/fonts/roboto-v29-latin-regular.svg#Roboto') format('svg'); /* Legacy iOS */
}
/* roboto-700 - latin */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 700;
  src: url('includes/fonts/roboto-v29-latin-700.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('includes/fonts/roboto-v29-latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('includes/fonts/roboto-v29-latin-700.woff2') format('woff2'), /* Super Modern Browsers */
       url('includes/fonts/roboto-v29-latin-700.woff') format('woff'), /* Modern Browsers */
       url('includes/fonts/roboto-v29-latin-700.ttf') format('truetype'), /* Safari, Android, iOS */
       url('includes/fonts/roboto-v29-latin-700.svg#Roboto') format('svg'); /* Legacy iOS */
}

body {
	word-wrap: break-word;
	overflow-y: scroll;
	font-size: 14px;
	opacity: 0;
	transition: opacity 0.5s ease;
}

/* Alignments ----------------------------------------------------------------------- */

.alignleft {
	display: inline;
	float: left;
	margin-right: 1.5em;
}
.alignright {
	display: inline;
	float: right;
	margin-left: 1.5em;
}
.aligncenter {
	clear: both;
	display: block;
	margin: 0 auto;
}

.spaceleft{
	margin-left: 0.25em;
}
.spaceright{
	margin-right: 0.25em;
}

.clear {
	clear: both;
}

/* Imagess and wp-captions ----------------------------------------------------------- */

img {
	display: inline-block;
	height: auto;
	max-width: 100%;
}
img[class*="wp-image-"] {
	margin-top: 10px;
	margin-bottom: 10px;
}
.wp-caption {
	border: 1px solid #ccc;
	margin-bottom: 10px;
	max-width: 100%;
	border: 1px solid #ccc;
	border-radius: 4px;
	padding: 0 10px;
}
.wp-caption.aligncenter {
	margin-bottom: 10px;
}
.wp-caption img[class*="wp-image-"] {
	display: block;
}
.wp-caption .wp-caption-text {
	text-align: center;
	margin-top: 10px;
}

/* WP Gallery ---------------------------------------------------------------------- */

.gallery {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-flow: row wrap;
  flex-flow: row wrap;
  margin-top: -5px;
  margin-left: -5px;
  margin-right: -5px;
  margin-bottom: 2rem !important;
}

@media (min-width: 400px) {
  .gallery {
    margin-bottom: 2.5rem !important;
  }
}

.gallery-item {
  position: relative;
  -webkit-box-flex: 1;
  -ms-flex: 1 0 100%;
  flex: 1 0 100%;
  margin: 0 !important;
  text-align: left !important;
  border: 5px solid transparent
}

.gallery-item .gallery-icon {
  height: 0;
  line-height: 0;
  padding-top: 100%
}

.gallery-item .gallery-icon img {
  -webkit-transform: translate(0, -100%);
  transform: translate(0, -100%);
  border: none !important;
}

.gallery-item .gallery-icon a {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100%;
  overflow: hidden
}

.gallery-item .gallery-icon a img {
  position: relative;
  top: 50%;
  -o-object-fit: cover;
  object-fit: cover;
  -webkit-transform: translate(0, -50%);
  transform: translate(0, -50%)
}

.gallery-item .gallery-icon.portrait img {
  position: relative;
  min-width: 100%;
  height: auto
}

.gallery-item .gallery-icon.landscape img {
  position: relative;
  min-height: 100%;
  min-width: 100%
}

.gallery-item .gallery-caption {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 100%;
  padding: 10px;
  font-size: 1.4rem;
  line-height: 2.5rem;
  text-align: center;
  color: white;
  opacity: 0;
  background-color: rgba(5, 3, 0, 0.85);
  -webkit-transition: opacity 0.5s ease;
  transition: opacity 0.5s ease;
  pointer-events: none
}

.gallery-item:hover .gallery-caption {
  opacity: 1
}

.portrait-gallery-wrap .gallery-item .gallery-icon {
  padding-top: 125%
}

.landscape-gallery-wrap .gallery-item .gallery-icon {
  padding-top: 62.5%
}

.gallery-columns-2 .gallery-item {
  max-width: 50%
}

.gallery-columns-3 .gallery-item {
  max-width: 33.33%
}

.gallery-columns-4 .gallery-item {
  max-width: 25%
}

.gallery-columns-5 .gallery-item {
  max-width: 20%
}

.gallery-columns-6 .gallery-item {
  max-width: 16.66%
}

.gallery-columns-7 .gallery-item {
  max-width: 14.28%
}

.gallery-columns-8 .gallery-item {
  max-width: 12.5%
}

.gallery-columns-9 .gallery-item {
  max-width: 11.11%
}

.gallery-size-thumbnail .gallery-item {
  -webkit-box-flex: 0 !important;
  -ms-flex: 0 1 150px !important;
  flex: 0 1 150px !important
}

.gallery-size-thumbnail .gallery-icon {
  padding-top: 100%
}

[data-featherlight] img {
  cursor: pointer !important
}


/* Embeds and iframes ------------------------------------------------------------- */

embed,
iframe,
object {
	max-width: 100%;
}

/* Text meant only for screen readers --------------------------------------------- */

.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
}
.screen-reader-text:hover,
.screen-reader-text:active,
.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* Content ------------------------------------------------------------------------ */

.main-content-inner {
	padding-bottom: 1.5em;
}
.hentry {
	margin: 0 0 1.5em;
}
.sticky {
	display: block;
}
.bypostauthor {
	display: block;
}

.homewrap img{
	margin-bottom: 0 !important;
}
.homewrap h2{
	font-size: 22px;
}

/* pages & posts --------------------------- */

.main-content{
	padding-top: 2em;
}

/*
.post .page-title,
.entry-content h2{
	font-size: 22px;
}
.entry-content h3{
	font-size: 18px;
}
*/

.entry-meta{
	font-size: 12px;
	display: block;
	margin-bottom: 10px;
}
.posted-on{
	padding: 3px 10px;
	border: 1px solid #ddd;
	border-radius: 3px;
}
.footer-meta{
	border-bottom: 1px solid #ddd;
}


/* post footer */

footer.entry-meta > span{
	display: block;
}

/* plugins -------------------------------- */

.master-slider-parent{
	padding-top: 5px;
}
.ms-slide-info{
	margin-top: 15px !important;
}

/* Navigation --------------------------------------------------------------------- */

.dropdown-submenu{
	position: relative;
}
.dropdown-submenu > .dropdown-menu{
	top: 0;
	left: 100%;
	border-radius: 0 6px 6px 6px;
}
.dropdown-submenu:active > .dropdown-menu,
.dropdown-submenu:hover > .dropdown-menu {
	display: block;
}
.dropdown-submenu > a:after{
	display: block;
	content: " ";
	float: right;
	width: 0;
	height: 0;
	border-color: transparent;
	border-style: solid;
	border-width: 5px 0 5px 5px;
	border-left-color: #cccccc;
	margin-top: 5px;
	margin-right: -10px;
}
.dropdown-submenu:active > a:after{
	border-left-color: #ffffff;
}
.dropdown-submenu.pull-left{
	float: none;
}
.dropdown-submenu.pull-left > .dropdown-menu{
	left: -100%;
	margin-left: 10px;
	border-radius: 6px 0 6px 6px;
}


/* widgets ----------------------------------------------------------------------- */

.sidebar .widget {
	margin-bottom: 2em;
}

.widget_nav_menu ul.sub-menu li,
.widget_pages ul.children li {
	padding-left: 15px;
}

.widget_search .search-form input[type="submit"] {
	display: none;
}

.widget select {
	max-width: 100%;
}

.widget a{
	color: #777;
}
.widget a:hover,
.widget a:focus{
	color: #aaa;
}

/* WP Theme Repository requirements --------------------------------------------- */

.sticky {
}

.gallery-caption {
}

.bypostauthor {
}

.entry-meta {
	clear: both;
}

/* Form fixes etc -------------------------------------------------------------- */

.search-form label{
	font-weight: normal;
}


/* ----------------------------------------------------------------------------- */
/* custom stylez --------------------------------------------------------------- */

/* containers */

#masthead{
	font-size: 13px;
	background: #fff;
	padding-top: 15px;
}
#logo{
	margin-bottom: 13px;
}
#logo > a{
	display: inline-block;
	max-width: 220px;
}

#menu-wrapper{
	margin-top: 80px;
}
#main-menu{
	font-weight: 600;
}

/* imgheader ------------------------------------------- */

#imgheader{
	position: relative;
	width: 100%;
	min-height: 275px;
	background-color: #ddd;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: right center;
}
#imgheader-caption{
	opacity: 0;
	display: block;
	position: absolute;
	width: 100%;
	top: 60px;
	color: #b3df3a;
	background: rgba(8, 102, 50, 0.95);
	padding-top: 15px;
	-webkit-transition: all .5s ease;
	transition: all .5s ease;
}
#imgheader-caption h1,
#imgheader-caption .h1{
	display: block;
	color: #c4e665;
	font-size: 18px;
	margin-bottom: 15px;
}
#imgheader-caption p{
	font-size: 14px;
}

@media (min-width: 992px) {
	.home #imgheader {
		min-height: 480px;
	}
	#imgheader {
		min-height: 400px;
	}
	#imgheader-caption{
		background: none;
	}
	#imgheader-caption p{
		font-size: 16px;
		line-height: 1.6;
	}
	#imgheader-caption h1,
	#imgheader-caption .h1{
		font-size: 20px;
	}
	.imgheader-inner{
		max-width: 50%;
		padding: 20px 35px;
		background: rgba(8, 102, 50, 0.95);
	}

}

/* @media (min-width: 1200px) {
	.home #imgheader {
		min-height: 540px;
	}
	#imgheader-caption{
		bottom: 60%;
	}
} */

/* headerimg positions / fixes for mobile ----------------- */

/* headerimg "home" */
.home #imgheader{
	background-position: right top;
}

/* headerimg "die lÃ¶sung" */
@media (max-width: 991px) {
	.page-id-12 #imgheader{
		background-image: url(https://www.mauerentfeuchtung-heguseba.ch/wp-content/uploads/rondom_system.jpg) !important;
		background-position: center;
	}
}

/* header badge -------------------------------------------- */

.badge-container {
	position: absolute;
	top: 15px;
}
.ohne-chemie-badge {
	width: 100px;
	height: 100px;
}

@media(min-width: 768px){
	.badge-container {
		position: relative;
		height: 0;
		top: 0;
		padding-bottom: 0;
	}
	.ohne-chemie-badge{
		position: absolute;
		width:  155px;
		height:  155px;
		top: -15px;
	}
}

@media (min-width: 992px){
	.ohne-chemie-badge{
		right: 15px;
		top: 0;
	}
	.home .ohne-chemie-badge {
		top: 160px;
	}
}

@media (min-width: 1200px){
	.home .ohne-chemie-badge {
		top: 130px;
	}
}

/* sm-icons ------------------------------------------------ */

.sm-icons{
	text-align: right;
	padding-top: 5px;
}
.sm-icons a{
	font-size: 36px;
	color: #fff;
	transition: all 0.25s ease;
	padding-left: 5px;
}
.sm-icons a:hover,
.sm-icons a:focus{
	opacity: 0.8;
}

/* footer ----------------------------------------------------- */

#footertop{
	background: #eee;
	font-size: 13px;
	border-top: 1px solid #ddd;
	padding-top: 30px;
}


.widget_recent_entries a{
	display: block;
	max-width: 70%;
	position: relative;
}
.widget_nav_menu a{
	display: block;
	max-width: 70%;
}
.widget_nav_menu li{
	position: relative;
}
.widget_nav_menu span.badge,
.widget_recent_entries span.badge{
	position: absolute;
	top: 10px;
	right: 15px;
}


.wpcf7 .alert {
	float: right;
    width: 83%;
}

.wpcf7-response-output {
	display: none;
}

.invalid div.wpcf7-response-output,
.unaccepted div.wpcf7-response-output,
.spam div.wpcf7-response-output,
.failed div.wpcf7-response-output,
.aborted div.wpcf7-response-output {
	color: #b94a48;
	background-color: #f2dede !important;
    border-color: #b94a48 !important;
}

.sent div.wpcf7-response-output {
    color: #006633;
    background-color: #d9e2c2 !important;
    border-color: #006633 !important;
}

.footerlogo {
	margin-bottom: 20px;
}
.footerlogo img{
	max-width: 200px;
}

ul.inline{
	list-style: none;
	margin: 0 0 1.5em -7px;
	padding: 0;
}
ul.inline li{
	display: inline;
	padding-left: 7px;
}
ul.inline li:before{
	content: "•";
	padding-right: 7px;
}

#colophon{
	font-size: 12px;
	color: #777;
	background: #333;
	border-top: 1px solid #222;
	padding-top: 10px;
}
#colophon > .container{
	padding-bottom: 12px;
}

.copyright{
	text-align: right;
}
#footer-menu{
	margin-bottom: 0;
}
#footer-menu a{
	color: #777;
	text-decoration: underline;
}
#footer-menu a:hover{
	text-decoration: none;
}

/* download links */

#menu-downloads a{
	display: block;
}
#menu-downloads a span{
	float: right;
}

/* custom nav styles ------------------------------------------ */

.navbar-nav > li > a {
	font-size: 13px;
	margin-right: 10px;
	margin-left: 5px;
}

/* custom font styles ----------------------------------------- */

h2.smaller{
	font-size: 22px;
}

.entry-content p{
	line-height: 1.5;
	margin: 1.5em 0;
}

.entry-content h2{
	margin-top: 18px;
}

.entry-content p.lead {
    margin-bottom: 13px;
	margin-top: 0;
}
.entry-content ul,
.entry-content ol{
	margin-bottom: 1.5em;
	padding-left: 1.5em;
}

::-moz-selection { background: #008e47; color: #fff; }
::selection { background: #008e47; color: #fff; }

hr.green{
	margin: 0;
	border: none;
	border-top: 5px solid #086632;
	width: 100%;
	height: 0;
}
.required{
	color: #B94A48;
}

.green{
	color: #016330;
}
.bold{
	font-weight: bold;
}
.notop{
	margin-top: 0 !important;
}

/* pager */

ul.pager > li > a{
	max-width: 50%;
}

@media screen and (max-width:1200px){
	/* header */
	#menu-wrapper{
		margin-top: 36px;
	}
	/* navigation */
	.navbar-nav > li > a {
		margin-left: 0;
		font-size: 12px;
	}
	.wpcf7 .alert {
		width: 74%;
	}
	.homewrap h2{
		font-size: 18px;
	}

}
@media screen and (max-width:990px){
	/* navigation */
	.navbar-right{
		float: none !important;
	}
	.navbar-nav > li > a {
		margin-right: 10px;
	}
	/* contactform */
	.wpcf7 .alert {
		width: 100%;
		float: none;
	}
	/* footer */
	.footerlogo{
		margin-top: 15px;
		padding-top: 25px;
		border-top: 1px solid #ddd;
	}

}
@media screen and (max-width:767px){
	/* header */
	#menu-wrapper{
		margin-top: 0px;
	}
	/* navigation */
	.navbar{
		min-height: 0;
	}
	.navbar-nav > li > a {
		font-size: 14px;
	}
	/* footer */
	.copyright{
		margin-top: 10px;
		padding-top: 10px;
		box-shadow: 0 1px 0 0 rgba(255,255,255,0.05) inset;
		border-top: 1px solid #222;
		text-align: left;
	}
	/* content */
	.entry-content ul,
	.entry-content ol{
		padding-left: 2em;
	}

}
@media screen and (max-width:376px){

}
