﻿/*
Theme Name: oehmuw-explore-child
Theme URI: http://themegrill.com/themes/explore
Author: ThemeGrill / Malte Zacharias
Author URI: http://malte-zacharias.de
Template: explore
Description: Explore is an incredibly flexible multipurpose responsive theme coded & designed with a lot of care and love.
Version: 1.0.6
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: one-column, two-columns, three-columns, right-sidebar, left-sidebar, custom-header, custom-background, custom-menu, custom-colors, sticky-post, threaded-comments, translation-ready, featured-images, theme-options, blog, portfolio, footer-widgets, flexible-header
Text Domain: oehmuw-explore-child

*/

li.menu-item a i.fa {
    color: #000;
}


/* Abstand im Top-Header kleiner setzen */
div#main {
  padding-top:10px;
}

/* Trennlinie zum Content entfernen */
div.header-post-title-container {
  border:none;
  padding:0.7em 0;
}

/* Menüs breiter machen, wegen Umbruch */
.main-navigation ul li ul {
    width: 300px;
}

/*blog title*/
#header-meta {
   background-color: #ffffff;
}

/*header image only on homepage*/
/*body:not(.home) .header-image {
      display:none;
} no longer necessary, is disabled anyway */

/*nav*/
#header-text-nav-container {
   background-color: #ffffff;
   border-bottom: 3px solid #48ac94;
   text-transform: uppercase;
}


.main-navigation a {
	color: #000;
}

/*arrows*/
a::after {
  color: #000!important;
}

/*post-titles*/
.post .entry-title a, .page .entry-title a {
  color: #005C66;
}

/*disable post meta bar*/
.entry-meta-bar {
   display:none;
}

/*Footer background color*/
.footer-socket-wrapper {
    background-color: #005C66;
}

/*title-wrapper */
.header-post-title-class {
  font-size: 26px;
  padding-bottom: 0;
  color: #005C66;
}

/*media all*/
h1, h2, h3, h4, h5, h6 {
  /*padding-bottom:5px;*/
  margin-top:1.2em;
  margin-bottom:0.2em;
  color: #005C66;
}

/*disable mobile sticky header*/
@media (max-width: 767px){
  .is-sticky #header-text-nav-container {
    position: static !important;
  }
}

/*media all*/
.main-navigation ul li ul {
    position: absolute;
    background-color: #ffffff;
    top: 60px;
    width: 220px;
}

/*media all*/
h1, h2, h3, h4, h5, h6 {
  padding-bottom:5px;
}

/*disable mobile sticky header*/

@media (max-width: 767px){
  .is-sticky #header-text-nav-container {
    position: static !important;
  }
}

.main-navigation li {
    float: left;
    position: relative;
    padding: 0 10px;
    font-family: "PT Sans",serif;
}

/* Wahlkampf Styling */
div.wahl #fraktion_header, div.wahl #kandidat_header {
	display:table;
	width:100%;
	margin-bottom:20px;
}

div.wahl #fraktion_header .fraktion_image, div.wahl #fraktion_header .fraktion_title {
	display:table-cell;
	vertical-align:middle;
	padding:10px;
}

div.wahl #fraktion_header .fraktion_image {
	width:100px;
	padding:0px;
}

div.wahl #fraktion_header .fraktion_image img {
	margin:0;
	max-width:none;
}

.fraktion {
    display: table-row;
    height: 100px;
    margin-bottom:20px;
}

.fraktion .fraktion_thumbnail {
    display: table-cell;
    width: 100px;
    vertical-align: middle;
    padding-bottom:20px;
}

.fraktion .fraktion_title {
    display: table-cell;
    vertical-align: middle;
    padding-left: 30px;
    padding-bottom:20px;
}

.fraktion .fraktion_title a {
    text-decoration:underline;
}

.fraktion .fraktion_thumbnail img {
    max-width: 100%;
    margin: 0;
}


div.wahl #kandidat_header .kandidat_image, div.wahl #kandidat_header .kandidat_title {
	display:table-cell;
	vertical-align:middle;
	padding:30px;
}

div.wahl #kandidat_header .kandidat_image {
	width:100px;
	padding:0px;
}

div.wahl #kandidat_header .kandidat_image img {
	margin:0;
	max-width:none;
}


/* Styles für die Auslandsberichte Pods Templates (veraltet) */

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

ul.exchange-report-list li {
    display:flex;
    /*border:1px solid;*/
    border-radius:0.2em;
    background-color:#dadada;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    margin:0 0 2em 0;
}

@media (max-width: 500px){
	ul.exchange-report-list li {
	    display:flex;
	    flex-wrap:wrap;
	}
}


.exchange-report-list-header {
    margin-top:auto;
    margin-bottom:auto;
}

.exchange-report-list-header img {
    min-width:150px;
    margin:1em;
}


.exchange-report-list-contents {
    padding: 1em;
    color:#666666;
}

.exchange-report-list h1 {
    margin: 0 0 0.2em 0;
    font-size:120%;
    padding:0;
}

.exchange-report-list h2 {
    margin: 0 0 0.5em 0;
    font-weight:normal;
    font-size:100%;
    padding: 0;
}

.exchange-report-list p {
    margin: 0 0 0.5em 0;
    font-size:90%;
    padding: 0;
}

/* POD Template für Auslandsberichte */

.oehmuw_exch_report .fa {
	color:#666;
}

.oehmuw_exch_report h2 {
	clear:left;
}

.oehmuw_exch_report dl {
    margin:1em 0 1em 0;
}

.oehmuw_exch_report dt::after {
    content:":";
}

.oehmuw_exch_report dt {
    float: left;
    clear: left;
    width: 12em;
    text-align: left;
    font-weight: bold;
}

.oehmuw_exch_report dd {
    margin: 0 0 0 12.5em;
    padding: 0 0 0.75em 0;
}

.oehmuw_exch_report div.shortfacts {
    width:45%;
    float:left;
}

.oehmuw_exch_report div.shortfacts p {
    margin: 1em 0 0 0;
    padding: 0 0 0.75em 0;
}

.oehmuw_exch_report div.quotation {
    margin:1em 1.5em 2.5em 0em;
    padding:2em;
    border-radius:0.2em;
    background-color:#dadada;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
.oehmuw_exch_report div.quotation p{
    font-family: Cambria,serif;
    font-size:11pt;
}

/* ÖH Wahl 2019 Start */
.block-grid {
	display:grid;	
	grid-template-columns: repeat(3, 1fr);			/* 3 columns */
	grid-auto-flow: row;							/* auto-wrap into new rows creating implicit ones if needed */
	grid-gap: 3em 3em;								/* separation between cells */
	grid-auto-rows: 1fr;							/* set all rows to equal height based on the talles one */
	margin-top:2em;									/* top and bottom margins to separate from content */
	margin-bottom:2em;
}

.block-grid article {
	box-shadow: 0 2px 3px rgba(0,0,0,0.2);			/* Enable shadow drop of boxes */
	background-color: #eeeeee;						/* light gray bg */
}

.block-grid .block-header {
	background-size: contain;						/* set background images of header cell to be completely visible (auto-fit) */
	background-repeat: no-repeat;					
	background-position: center;
	color: white;
	text-align: center;
	display: flex;									/* use flex to wrap content elements and align in the center */
	align-items: center;
	justify-content: center;
}

.block-grid .block-section {
	margin: 0;
	padding: 2em;									/* adjust padding for content of boxes for neat spacing */
}

a.block-section {
	color: #666666;
	display:block;									/* a would be inline, change to block display as it forms the body of the boxes */
}

.block-header h2 {
	color: #ffffff;
	font-size:1.3em;
	font-weight:normal;
	text-shadow: 1px 1px 6px black;					/* improve readability on photo background */
	padding:0;
	margin:0;
}

.block-header::before {								/* neat trick: create an invisible element to set the aspect ratio of the header element, */
	content: "";									/* so that the image background will fit it perfectly, if the background image */
	width: 1px;										/* has the correct aspect ratio of 5009*2150 */
	margin-left: -1px;								/* if the text is to big for the header content this will fail more or less gracefully by allowing */
	float: left;									/* the header to enlarge as needed */
	height: 0;
	padding-top: calc( ( 2150 / 5009 ) * 100%);
}
.block-header::after {
	/* to clear float that was introduced with the ::before element */
	content: "";
	display: table;
	clear: both;
}

/* dirty hack, to set the image to full width, should do this better and in wordpress not CSS */
article#post-18672 div.entry-content p img {
	width:100%;
}


/*
* Mobile Media query - fallback to one column, reduce header image height, decrease padding, ...
*/

@media (max-width: 800px){
	.block-grid {
		display:grid;	
		grid-template-columns: repeat(1, 1fr);
		grid-gap: 2.5em 0.5em;
		grid-auto-rows: auto;
	}

	.block-grid .block-section {
		padding: 0.5em;
	}

	.block-header h2 {
		font-size:2.3em;
	}


	.block-grid .block-header {
		background-size: cover;
	}

	.block-header::before {
		padding-top: calc( ( 1500/ 5009 ) * 100%);
	}
}

.no_sidebar_full_width table tbody p:last-child {
	padding-bottom:0;
}

.no_sidebar_full_width table tbody td, 
.no_sidebar_full_width table tbody th {
	vertical-align: middle;
	padding-top:1em;
	padding-bottom:1em;
}

.page-id-18672 .header-post-title-class,
li#menu-item-18835 a {
    font-weight: bold;
    color: #ea9700;
}

/* ÖH Wahl 2019 Ende */




.entry-content ul,
.entry-content ol {
	padding: 0 0 0 35px;
	margin-bottom: 15px;
}


@media (max-width: 800px){
    .oehmuw_exch_report div.shortfacts {
        width:100%;
        float:left;
    }

    .oehmuw_exch_report div.quotation {
        margin:1em 0.5em 2.5em 0.5em;
        padding:0.5em;
        border-radius:0.2em;
        background-color:#dadada;
        box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    }

    .oehmuw_exch_report div.quotation p{
        font-family: Cambria,serif;
        font-size:10pt;
    }


}


ul.default-wp-page.clearfix li a {
    border:0
}