/*
Theme Name: INIGBW
Theme URI: https://www.gemeinsam-bauen-wohnen.org
Author: computer & communication, Claudia Behr and Lisa Schlichting
Author URI: https://www.com-and-com.com/
Description: WordPress theme for Initiative Gemeinsam Bauen Wohnen (migrated from Drupal 7)
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: inigbw
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* ==========================================================================
   Font Face Declarations
   ========================================================================== */

@font-face {
	font-family: 'PT Sans Narrow';
	src: local(''),
		 url('fonts/ptsansnarrow-regular-webfont.woff2') format('woff2'),
		 url('fonts/ptsansnarrow-regular-webfont.woff') format('woff');
	font-weight: 400;
	font-style: italic;
	font-display: swap;
}

@font-face {
	font-family: 'PT Sans Narrow';
	src: local(''),
		 url('fonts/ptsansnarrow-bold-webfont.woff2') format('woff2'),
		 url('fonts/ptsansnarrow-bold-webfont.woff') format('woff');
	font-weight: 700;
	font-style: italic;
	font-display: swap;
}

/* ==========================================================================
   Base Styles
   ========================================================================== */

* {
	margin: 0px;
	padding: 0px;
	font-family: 'PT Sans Narrow', Verdana, Helvetica, Sans-Serif;
	box-sizing: border-box;
}

html,
body {
	height: 100%;
}

body {
	font: 120%/1.4 'PT Sans Narrow', Verdana, Helvetica, Sans-Serif;
	color: #000000;
	font-weight: 400;
	padding: 0px;
	margin: 0px 0px 0px 0px;
	width: 100%;
	float: left;
}

#wrapper {
	position: relative;
	text-align: center;
	width: 100%;
	min-height: 100%;
	height: auto !important;
	margin-bottom: -113px;
	clear: both;
}

img, table, a img {
	border: none;
}

img {
	display: block;
	max-width: 100%;
	height: auto;
}

a, a:link, a:visited {
	outline: none;
	text-decoration: underline;
	color: #000000;
}

a:hover, a:active {
	text-decoration: none;
}

.invisible {
	display: none;
}

.center {
	max-width: 1120px;
	width: 100%;
	text-align: left;
	margin: 0px auto;
	position: relative;
	padding: 0px 20px 0% 20px;
}

/* ==========================================================================
   Header
   ========================================================================== */

#header {
	position: relative;
	width: 100%;
	min-height: 65px;
	background-color: #000000;
	float: left;
}

#logo {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
}

#logo a {
	display: block;
	width: 100%;
	max-width: 213px;
	margin-top: -7px;
}

/* ==========================================================================
   Layout - Rows and Columns
   ========================================================================== */

.row {
	float: left;
	clear: both;
	display: flex;
	width: 100%;
	margin-top: 2%;
}

aside {
	width: 32%;
	margin: 0%;
	float: none;
	min-height: 150px;
	padding: 0px;
}

.column {
	width: 32%;
	margin-right: 2%;
	float: left;
	background-color: #d6f4cc;
	min-height: 150px;
	padding: 20px 30px 4px 30px;
	align-self: stretch;
}

aside .column {
	width: 100%;
	margin-right: 0%;
	min-height: 150px;
	padding: 20px 30px 4px 30px;
	border-bottom: 20px solid #ffffff;
	clear: left;
}

aside .column.image, aside .column.map, aside .column.gallery {
	background-color: #ffffff;
	padding: 0px;
}

aside .column.gallery .views-row {
	width: 32%;
	margin-right: 2%;
	margin-bottom: 2%;
	float: left;
}

aside .column.gallery .views-row img {
	width: 100%;
	height: auto !important;
}

aside .column.gallery .views-row:nth-child(3n) {
	margin-right: 0px;
}

aside .column.map iframe {
	float: left;
	width: 100%;
}

aside .column.image img {
	height: auto !important;
}

aside .column:last-child {
	border-bottom: none;
}

#content {
	width: 66%;
	background-color: #c3efb4;
	padding: 0px;
	float: right;
	padding: 20px 30px 4px 30px;
	align-self: stretch;
}

body.home #content {
	padding-bottom: 4px;
}

body:not(.home) #content {
	padding-bottom: 25px;
}

main {
	float: left;
	clear: both;
	width: 100%;
	margin-top: 2%;
	padding-bottom: 2%;
}

#headerRow .column {
	min-height: 300px;
}

.column:last-child, .twoCols .column:last-child {
	margin-right: 0%;
}

.row:last-child {
	margin-bottom: 2%;
}

.medium {
	background-color: #c2efb3;
}

.dark {
	background-color: #aee99a;
}

.light {
	background-color: #d6f4cc;
}

.twoCols {
	width: 66%;
	display: flex;
	flex-wrap: wrap;
	align-self: stretch;
}

#contactRow .twoCols {
	margin-right: 2%;
}

.twoCols .column {
	width: 48.43%;
	margin-right: 3.14%;
}

/* ==========================================================================
   Header Image Area
   ========================================================================== */

#headerImage {
	width: 66%;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: left top;
	padding: 0px;
	float: left;
	position: relative;
	overflow: hidden;
}

#headerImage img {
	width: 100%;
	max-width: 10000px;
	position: absolute;
	left: 0px;
	top: 0px;
	z-index: 1;
	min-height: 300px;
}

#headerImage .column {
	float: right;
	width: 48.43%;
	margin: 0px;
	padding-top: 10px;
	padding-bottom: 25px;
	background: transparent url(img/transparent_s_85.png) repeat left top;
	display: flex;
	align-items: center;
	z-index: 100;
	position: relative;
}

#headerImage p.caption {
	width: 48.43%;
	position: absolute;
	left: 0px;
	bottom: 0px;
	padding: 3px 10px 5px 10px;
	margin: 0px;
	color: #ffffff;
	background: transparent url(img/transparent_s_85.png) repeat left top;
	z-index: 100;
}

#headerImage .column .content {
	width: 100%;
}

#headerImage a, #headerImage a:link, #headerImage a:visited {
	color: #aee99a;
	text-decoration: none;
	font-size: 20px;
	padding-top: 16px;
	padding-right: 14px;
	background: transparent url(img/bg_link.png) no-repeat right bottom;
	height: 52px;
	display: block;
	width: auto;
	float: right;
}

#headerImage a:hover, #headerImage a:active {
	color: #ffffff;
	background: transparent url(img/bg_link_hi.png) no-repeat right bottom;
}

/* ==========================================================================
   Typography
   ========================================================================== */

h1,
h2 {
	padding-bottom: 3px;
	border-bottom: 3px solid #000000;
	font-weight: 400;
	font-size: 32px;
	margin: 0px 0px 0.71em 0px;
	line-height: 1.15em;
	text-transform: uppercase;
}

#headerImage h2 {
	font-size: 100px;
	white-space: nowrap;
}

#headerImage h2, #headerImage p {
	color: #ffffff;
	border-color: #ffffff;
}

h1 + h2 {
	padding-top: 5px;
}

#content h2 {
	font-weight: 400;
	font-size: 30px;
	border: none;
	line-height: 1.2em;
	text-transform: none;
	margin-bottom: 0.41em;
}

h3 {
	font-size: 21px;
	font-weight: 400;
	line-height: 1.3em;
	margin: 0 0 0.41em 0;
}

.home h3, aside h3 {
	font-size: 19px;
}

h4 {
	font-size: 19px;
	font-weight: 400;
	line-height: 1.3em;
	margin: 0 0 0em 0;
}

p {
	font-size: 18px;
	line-height: 1.4em;
	font-weight: 400;
	margin: 0 0 1.2em 0;
}

p a:hover, p a:active, #content ul a:hover, #content ul a:active {
	color: #52893f;
	text-decoration: underline;
}

b, strong {
	font-weight: 700;
}

/* ==========================================================================
   Lists
   ========================================================================== */

.center ul {
	font-size: 18px;
	line-height: 1.4em;
	margin: 0px 0px 1.3em 0px;
	padding: 0px 0 0 3px;
	list-style: none;
}

.center ol {
	font-size: 18px;
	line-height: 1.4em;
	margin: 0px 0px 1.3em 0px;
	padding: 0px 0 0 3px;
	list-style-position: inside;
}

.center ul li {
	background: transparent url(img/icon_list_small.png) no-repeat left 9px;
	padding: 0px 0px 15px 20px;
	margin: 0px;
}

.center ul li:last-child {
	padding-bottom: 0px;
}

.center ol li {
	padding: 0px 0px 15px 0px;
}

.center ul.pager {
	margin-top: 30px;
}

.center ul li a, .center ul li a:link, .center ul li a:visited {
	text-decoration: none;
}

#content ul li a, #content ul li a:link, #content ul li a:visited {
	text-decoration: underline;
}

.center ul li a:hover, .center ul li a:active {
	text-decoration: underline;
}

/* ==========================================================================
   Footer
   ========================================================================== */

footer {
	background-color: #000;
	clear: both;
}

footer .center {
	position: relative;
	width: 100%;
	max-width: 1100px;
	text-align: center;
	box-sizing: border-box;
	margin: 0px auto;
	padding: 17px 2%;
	min-height: 20px;
}

footer * {
	color: #fff !important;
}

footer li {
	padding: 0px 10px !important;
	margin: 0px !important;
	display: inline-block;
	position: relative;
	line-height: 1em;
	background: none !important;
}

footer li:after {
	content: '\0020';
	display: block;
	width: 1px;
	height: 100%;
	background-color: #fff;
	position: absolute;
	right: -3px;
	top: 0px;
}

footer li:last-child:after {
	display: none;
}

footer ul {
	text-align: center !important;
	padding: 0px !important;
	margin: 0px !important;
}

/* ==========================================================================
   WordPress Specific Classes
   ========================================================================== */

.alignnone {
	margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
	display: block;
	margin: 5px auto 5px auto;
}

.alignright {
	float: right;
	margin: 5px 0 20px 20px;
}

.alignleft {
	float: left;
	margin: 5px 20px 20px 0;
}

a img.alignright {
	float: right;
	margin: 5px 0 20px 20px;
}

a img.alignnone {
	margin: 5px 20px 20px 0;
}

a img.alignleft {
	float: left;
	margin: 5px 20px 20px 0;
}

a img.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption {
	background: #fff;
	border: 1px solid #f0f0f0;
	max-width: 96%;
	padding: 5px 3px 10px;
	text-align: center;
}

.wp-caption.alignnone {
	margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
	margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
	margin: 5px 0 20px 20px;
}

.wp-caption img {
	border: 0 none;
	height: auto;
	margin: 0;
	max-width: 98.5%;
	padding: 0;
	width: auto;
}

.wp-caption p.wp-caption-text {
	font-size: 15px;
	line-height: 17px;
	margin: 0;
	padding: 0 4px 5px;
}

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.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;
	clip-path: none;
	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;
}
