/*!
Theme Name: rec child--5
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Template: rec
Description: Description
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: rec-child
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

rec is based on Underscores https://underscores.me/, (C) 2012-2017 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

body {
	font-family: 'Helvetica Neue', Arial, Helvetica, Verdana, sans-serif;
    font-size: 13px;
}

#masthead {
	overflow: auto;
    top: 0;
    /* bottom: 0; */
    left: 0;
    position: fixed;
    /* height: 100%; */
    z-index: 1;
    width: 200px;
    /* background: #fff; */
}

@media screen and (max-width: 37.5em) {
#masthead {
    position: fixed;
	width: 100%;
    margin: 0;
	overflow: inherit;
}
}

.site-branding {
    margin: 20px 0 10px 27px;
}

@media screen and (max-width: 37.5em) {
	.site-branding {
	    padding: 15px 0 10px 17px;
    background: white;
    margin: 0;
}
img.custom-logo {
    width: 85px; /* war 85% */
}
}

a {
    color: black;
}

a:visited {
    color: black;
}

a:hover {
    color: #e4021c;
}

.main-navigation li {
    float: none;
}

/* abstand zwischen menu-sections */
li#menu-item-434, li#menu-item-481, li#menu-item-170, li#menu-item-19 {
    margin-top: 13px;
}
	
@media screen and (max-width: 37.5em) {
	li#menu-item-434, li#menu-item-481, li#menu-item-170, li#menu-item-19 {
    margin-top: 1px;
}
}

.main-navigation a {
    display: inline-block;
    text-decoration: none;
    text-transform: uppercase;
   /* border-bottom: 1px solid #bcbcbc; */
    /* background: darkseagreen; */
    line-height: 17px;
}

.main-navigation a:hover {
    /* text-decoration: underline; */
    /* color: black; */
    border-bottom: 1px solid;
}

@media screen and (max-width: 37.5em) {
.main-navigation a {
    display: block;
    padding: 12px 0 12px 17px;
    border-bottom: 1px solid #bcbcbc;
	background: #ffffff;
}
}

button:focus {outline:0;}

.current-menu-item a {
    color: #e4021c;
}

@media screen and (max-width: 37.5em) {
.current-menu-item a {
    color: #e4021c;
    background: white;
}
}

.menu-rec_left-container {
    background: white;
    padding: 14px 9px 25px 27px;
}

@media screen and (max-width: 37.5em) {
.menu-rec_left-container {
    background: #bcbcbc;
    padding: 0;
    -webkit-box-shadow: 10px 10px 20px 0px rgba(0,0,0,0.75);
    -moz-box-shadow: 10px 10px 20px 0px rgba(0,0,0,0.75);
    box-shadow: 10px 10px 20px 0px rgba(0,0,0,0.75);
    margin: 0 20px 20px 0px;
}
}

h1.page-title {
    display: none;
}

header.entry-header {
    display: none;
}

#content {
    margin: 0 0 0 200px;
    height: 100%;
    top: 0;
}

main#main {
    padding: 50px 10px 25px 27px;
}

@media screen and (max-width: 1030px) { 
main#main {
    padding: 50px 10px 25px 0px;
}
}




@media screen and (max-width: 37.5em) {
main#main {
padding: 0 0 120px;
}
}

@media screen and (max-width: 37.5em) {
#content {
    margin: 0;
    position: absolute;
    z-index: -1;
    top: 60px;
}
}

.entry-content {
    background: #80808036;
}

a, a:hover, a:visited {
 /*   text-decoration: none;
    color: initial;*/
}

#colophon {
    margin: 0 0 0 200px;
}

.miau {
	background: green;
}

a.box_leute {
 	background-color: #fafafa;
    display: inline-block;
    padding: 7px;
    text-align: center;
    margin-right: 1px;
    color: black;
    text-decoration: none;
}

a.box_leute:hover {
	    background-color: white;
    text-decoration: none;
    color: #e4021c;
    /*background: yellow;*/
}

.post-type-archive-leute .miau, .post-type-archive-leute .acf_bio {
    display: none;
}

.name_title {
    font-weight: bold;
    text-transform: uppercase;
	white-space: nowrap;
}

.acf_bio {
    background: #e5e5e5;
    max-width: 600px;
    padding: 17px;
}

.acf_box {
    background: #e5e5e5;
    max-width: 600px;
    padding: 17px;
    margin-bottom: 1px;
}

/*
.zeugs > div:first-of-type {
    margin: 0px;
}
*/

.acf_box p:first-child {
    margin-top: 0;
}

.acf_box P:last-child {
    margin-bottom: 0;
}

.aktuell P:last-child {
    margin-bottom: 0;
}

.acf_box.karte {
    padding: 0;
}

.acf_box.karte p {
    margin-bottom: -7px;
    background: #ffffff;
}

.acf_mail_box {
    padding: 0 17px 17px;
    background: #e5e5e5;
	display: flex;
	margin-top: -1px;
}

article.page, article.post, article.leute, article.eigenproduktionen {
    max-width: 850px;
}

.hentry {
	margin: 0 0 25px;
}

 /* evtl. nur article....flex auch noch abchecken.....??????*/
article {
    max-width: 850px;
}

article.page, article.post, .single article.eigenproduktionen, .single article.arbeiten_fuer, article.aktuell, article.leute {
	display: flex;
}


@media screen and (max-width: 700px) {
article.page, article.post {
	display: block;
}
}

@media screen and (max-width: 900px) {
article.post  {
	display: block;
}
}


.eigenproduktionen .name_title {
    white-space: inherit;
}





.single .eigenproduktionen .img-container {
    display: none;
}

.single .eigenproduktionen .entry-content {
    display: none;
}

@media screen and (max-width: 900px) {
.single article.eigenproduktionen, .single article.arbeiten_fuer {
	display: block;
}
}

.single-eigenproduktionen .thumb, .single-arbeiten_fuer .thumb, article.post .thumb, article.aktuell .thumb {
    width: 250px;
}

@media screen and (max-width: 900px) {
.single-eigenproduktionen .thumb, .single-arbeiten_fuer .thumb, article.post .thumb {
    width: 100%;
}
}


/* Abstand zwischen den Bildern... evtl noch besser lösen-- */
.thumb.bild p {
    margin-top: 10px;
    margin-bottom: 0;
}


/* NEUE Bilder Galerie Darstellung......  Abstand zwischen den Bildern... evtl noch besser lösen-- */

.thumb.bild ul {
    list-style: none;
    margin: 0;
    /* background: green; */
    padding: 0;
	max-width: 600px;
}

.thumb.bild ul li {
    margin-bottom: 10px;
}

/* AKTUELL ----get rid of the thumb-link-- */

article.post a.post-thumbnail {
    pointer-events: none;
}

/* AKTUELL -- */
@media screen and (max-width: 900px) {
article.post .thumb /*, article.aktuell .thumb */ {
    display: none;
}
}

/* AKTUELL --NEUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUU-- */





@media screen and (max-width: 900px) {
article.post .thumb.spetz /*, article.aktuell .thumb.spetz*/ {
    width: 100%;
	display: block;
}
}

@media screen and (min-width: 901px) {
article.post .thumb.spetz /*, article.aktuell .thumb.spetz*/ {
    width: 100%;
	display: none;
}
}


.gugux {
    background: yellowgreen;
    padding: 0 0 0px 15px;
    display: flex;
}

.page .img-container {
    display: none;
}

.page .entry-content {
    display: none;
}


/* change schipp into something better... wrapper-list or something... */
.content-produktionen-liste, .schipp {
   /* background: #e5e5e5; */
    padding: 17px;
}

.schipp p {
    margin: 0 0 16px 0;
    /* background: yellow; */
    /* margin-bottom: 16px; */
}

.content-leute-list {
    background: #e5e5e5;
    padding: 17px;
}

.content-leute-list p {
    margin: 0 0 16px 0;
}

h2.entry-title {
    font-size: inherit;
    margin: 0px;
}

.foto_leute {
    float: right;
	width: 250px;
}


.archive article.leute {
    display: block;
}

/* Liste - leute */
@media screen and (max-width: 767px) {
.foto_leute {
    /* 752 */
    font-size: 0;
	margin-bottom: 17px;
	width: 100%;
}
}

/* Single - leute gleiches bild */
@media screen and (min-width: 769px) {
.single-leute .foto_leute {
    display: none;
	background: red;
	padding: 10px;
}
}


/* Single - leute gleiches bild */
@media screen and (max-width: 768px) {
.single-leute .foto_leute {
    display: block;
	width: 100%;
}
}

@media screen and (max-width: 768px) {
.single-leute .img-container {
    display: none;
}
}







.img-container {
	width: 250px;
}

button.menu-toggle {
    background: red;
	cursor: pointer;
    position: absolute;
    top: 20px;
    right: 20px;
}

.zeugs {
    /* float: left; */
    /* width: 600px; */
    max-width: 600px; /* aber evtl. bei den boxen die max-width weg... mal checken */
    /* width: 600px; */
    flex-grow: 2;
}


footer#colophon {
    display: none;
}


 /*   Links boxen listen produktionen */
a.list_box {
	background-color: #e5e5e5;
	display: block;
    text-decoration: none;
	border-bottom: 1px solid white;
}

a.list_box:hover {
    background-color: #fafafa;
    border-bottom: 1px dotted #e4021c;
	color: black;
}

.filme p:last-child {
    margin: 0;
}


 /* Prev - Next – Links */
nav.navigation.post-navigation {
    max-width: 600px;
}

   
   
  /* RESPONSIVE Vimeo  */ 
.acf_box.karte {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-width: 100%;
    margin: 0px;
}

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




/* IN HERSTELLLUNG plus NEU 2019 IN Entwicklung-- */
 /*   VERUCH DER VEREINFACHUNG checking ============= evtl dann tatsächlcih NUR .thumb  --- wenns immer gleich ist???==evtl. dasselbe bei article...???========== */
 
 p {
    max-width: 500px;
}
 
.thumb {
    font-size: 0;
}

.thumb {
    min-width: 250px;
	max-width: 600px;
}

article.in_herstellung, article.in_entwicklung {
    display: flex;
} 
 
 
article.in_herstellung .thumb, article.in_entwicklung .thumb {
    width: 250px;
	min-width: 250px;
	/*border: 1px solid red;*/
	/*background: #c7158566;*/
}


@media screen and (max-width: 767px) { /* was 900  ------------ hier evtl. MIN-width 768 ausprobieren....?????????????????????*/
article.in_herstellung .thumb, article.aktuell .thumb, article.in_entwicklung .thumb {
    display: none;
}
}

@media screen and (max-width: 768px) { /* was 900 */
article.in_herstellung .thumb.spetz_top_big, article.aktuell .thumb.spetz_top_big, article.in_entwicklung .thumb.spetz_top_big {
    width: 100%;
	display: block;
}
}

 /* was 901 */

@media screen and (min-width: 768px) {
article.in_herstellung .thumb.spetz_top_big, article.aktuell .thumb.spetz_top_big, article.in_entwicklung .thumb.spetz_top_big {
    width: 100%;
	display: none;
}
}

/* !!! END IN HERSTELLLUNG ---- */

/* !!! NEUUUUUUU shiiiit TEST sept_2018 ============================= ================== ================    ================== */


article.page .thumb {
    width: 250px;
}

@media screen and (max-width: 768px) {
article.page .thumb {
    width: 100%;
}
}

@media screen and (max-width: 768px) {
article.page {
    display: block;
}
}

/* !!! NEUUUUUUU shiiiit s sept_2018 ============================= ================== ================  END  ============== - */


/*  RESPONSIVE _Menu */


button#toggleButton {
border: 0;
    border-radius: 0px;
    background: white;
    padding: 9px;
    margin: -10px;
    font-size: 0;
}


#site-navigation button img {
    transform: rotate(0deg);
    transition: transform 0.2s;
}

#site-navigation.toggled button img {
   /* background: yellow; */
	transform: rotate(90deg);
	transition: transform 0.2s;
}



/*  RESPONSIVE SLICK SLIDER */

.slideshowgale.slick-initialized.slick-slider {
    display: grid; /* inline-grid worked too, but with a spacing on the top*/
}

.home article.page .thumb {
    width: 250px;
	min-width: 250px;
	/*border: 1px solid green;*/
	/*background: #c7158566;*/
}


@media screen and (max-width: 900px) {
.home article.page {
	display: block;
}
}


@media screen and (max-width: 900px) {
.home article.page .thumb {
    width: 100%;
}
}

/*  HOME ---- */
.home .thumb {
    min-width: 250px;
    /* max-width: 350px; -------------- evtl. doch?----------- */
}

.home article.page {
    max-width: 950px;
    /* background: blueviolet; */
}

/*==== NEW ====*/
.main-navigation.toggled {
    clear: both;
    display: block;
    float: left;
    width: 70%;
}

.nav-links a {
    background-color: #fafafa;
    display: inline-block;
    padding: 7px;
    margin-right: 1px;
    color: black;
    text-decoration: none;
    text-transform: uppercase;    
}

 .nav-previous a {
    padding-left: 15px;  
}

 .nav-next a {
    padding-right: 15px;  
}


.fake_link_details {
    display: none;
}

@media screen and (max-width: 768px) {
.fake_link_details {
    background-color: #fafafa;
    display: inline-block;
    padding: 7px;
    text-align: center;
    margin-top: 16px;
    color: black;
    text-decoration: none;
}
}


 /*   COLORS for checking ========================================================= */
/*-- 

article {
	background: yellowgreen;
}

.zeugs {
    background: yellow;
}


.img-container {
    background: #c7158517;
}

article .thumb {
	border: 1px solid red;
	background: #c7158566;
}

article .thumb.spetz_top_big {
	background: yellow;
	border: 1px solid blue;
}

@media screen and (max-width: 768px) {
.single-leute .foto_leute {
	background: red;
	padding: 10px;
}
}


.old_boxens {
    background: #43d2ff !important;
    padding: 20px;
}

-- */

code {
    color: green;
}


/*

code {
	display: none;
}

*/

