/*
 Theme Name:   Twenty Fourteen felbec
 Description:  Modifiziert für unsere Webseite
 Author:       Michael Becker
 Author URL:   http://www.familie-becker-feldmann.de
 Template:     twentyfourteen
 Version:      angepasst an 1.6
 Text Domain:  twenty-fourteen-child
*/

/******************************************************************************/
/***                                                                        ***/
/***  ACHTUNG:  Damit full width funktioniert ...                           ***/
/***            ==> Die "Dynamic Widgets" NICHT auf "alte Methode" setzen   ***/
/***                                                                        ***/
/******************************************************************************/

/* Auf Standard-Beiträgen mit rechter Menüleiste: Text bis 1024 statt 672 */
.hentry {
	max-width: 1024px;
}

/* Seiten und Beiträge über die ganze - jeweils verfügbare - Breite */
/* Das hier sollte bei Theme-Update schon mal das meiste wieder hinbiegen */
/* Derzeit habe ich das auch noch so im style.css des Master-Themes geändert */

.site {	max-width: 100% !important; }

.site-header {	max-width: 100% !important; }

.site-content .entry-header,
.site-content .entry-content,
.site-content .entry-summary,
.site-content .entry-meta,
.page-content {	max-width: 100% !important; }

.site-content .entry-meta { max-width: 100% !important; }

.comments-area { max-width: 100% !important; }

/* Seitenleiste bündig mit erster Textzeile */
#primary-sidebar {
	padding-top: 24px;  /* war: 72 px */
}

/* Beiträge etwas tiefer beginnen */
.content-area { padding-top: 24px; }  /* war: 72 px */

/* Margin links/rechts für Seiten mit beiden Sidebars reduzieren */
/* ... habe noch nicht gefunden, wie das geht ... */

/* Alles mögliche NICHT anzeigen */
.entry-meta .byline {display: none;}
.entry-date {display: none;}
/* .comments-area {display: none;} */
.comments-title { display: none !important; }
.no-comments, .nocomments, .comments-closed, #comments .nocomments { display: none !important; }
.comment-author .avatar { display: none !important; }
.comment-author .fn { display: none !important; }
/* Alles auf Null setzen: Body, Metadaten (Datum) und Inhalt (Text) */
.comment-body, 
.comment-metadata, 
.comment-content {
    padding-left: 0 !important;
    margin-left: 0 !important;
}
.post-edit-link{display:none;}
.post-navigation {display: none; }
/* Blendet NUR die Navigation unter Beiträgen aus, aber NUR im Frontend */
/* body.single-post:not(.wp-admin) #nav-below, 
body.single-post:not(.wp-admin) .navigation.post-navigation {
    display: none !important;
} */

/* Stellt sicher, dass das Admin-UI von WordPress und Plugins (wie MLA) unberührt bleibt */
/* .wp-admin #media-frame, 
.wp-admin .media-frame,
.wp-admin .media-modal {
    display: block !important;
    visibility: visible !important;
} */

.comments-link {display: none;}
.cat-links, .entry-meta .entry-date { display: none; }
.entry-header { display: none;}
.tag-links { display: none; }

/* Post-Thumbnail = Beitragsbild nicht anzeigen */
.full-width .site-content { margin-top: 60px; } /* damit bei Unterdrückung des Beitragsbilds der Text nicht nach oben rutscht */
.site-content .post-thumbnail img { display: none; }
.page .post-thumbnail img { display: none; }

.site-description {display: none !important;}

.search-toggle {display: none;}

/* Silbentrennung konfigurieren */
/* ALS TEST AUSSCHALTEN */
.site-content .entry-content,
.entry-content,
.page-content
	{	
/* Folgendes steht standardmäßig auf "auto". Nur zu Testzwecken nutze ich manchmal folgende 4 Zeilen */
/*	-webkit-hyphens: none !important; */
/*	-moz-hyphens:    none !important; */
/*	-ms-hyphens:     none !important; */
/*	hyphens:         none !important; */
	-webkit-hyphenate-limit-before: 7; /* Safari: Nur trennen, wenn min. 9 Zeichen vor Trennstrich */
									   /* 9 Zeichen, damit einzelne Worte nicht alleine in einer schmalen Spalte stehen */
	–webkit-hyphenate-limit-after: 4 !important;  /* wird von Safari ignoriert */
	hyphenate-limit-chars: 7 4 3;      /* für Microsoft: 8 minimale Wortlänge, min. 4 vor Trennstich, min. 3 nach Trennstrich */
 	overflow-wrap: normal !important;  /* Sorgt dafür, dass ein Wort nur an Silbentrennstelle getrennt wird */
	}

/* Hyperlinks nicht unterstreichen */
a,a:link,a:visited,a:hover {
text-decoration: none!important
}
a,a:hover {
text-decoration: underline!important  /* nur beim Drüberfahren unterstreichen */
}

/* Formate der Überschriften ändern */
h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
	font-weight: 700;
	margin: 16px 0 12px;
}
h1 {
	font-size: 2.5em;
	line-height: 1.2;
}
h2 {
	font-size: 2em;
	line-height: 1;
}

h3 {
	font-size: 1.8em;
	line-height: 1.0909090909;
}

h4 {
	font-size: 1.2em;
	line-height: 1.3333333333;
}

h5 {
	font-size: 1.2em;
	line-height: 1.3333333333;
}

h6 {
	font-size: 1.1em;
	line-height: 1.4;
}

p { font-size: 1em; margin-bottom: 0.5em; }

blockquote { font-size: 1.0em; color: #505050 !important; font-weight:500 !important; }

ul ol li {
    font-size: 1.1em !important;
}

a {
    font-size: 1.0em !important;
}

/* Schriftgröße und Zeilenabstand der linken Menüleiste */
.primary-navigation a { font-size: 1.4em !important; }

.primary-sidebar .widget .widget-title { font-size: 1.2em; text-transform: none; }
.primary-sidebar .widget ul li a { font-size: 1.1em !important; }

/* Schriftgröße und Zeilenabstand der rechten Menüleiste */

.content-sidebar .widget .widget-title { font-size: 1.1em; text-transform: none; }
.content-sidebar .widget ul li a { font-size: 1.1em !important; }



/* Bilder, die links oder rechts aligned werden --> nicht über die Seitenränder ragen lassen */
.full-width .site-content blockquote.alignleft,
.full-width .site-content img.size-full.alignleft,
.full-width .site-content img.size-large.alignleft,
.full-width .site-content img.size-medium.alignleft,
.full-width .site-content .wp-caption.alignleft {
margin-left: 0px;
}
.full-width .site-content blockquote.alignright,
.full-width .site-content img.size-full.alignright,
.full-width .site-content img.size-large.alignright,
.full-width .site-content img.size-medium.alignright,
.full-width .site-content .wp-caption.alignright {
margin-right: 0px;
}

/* Aktiven Link der Seitenmenüs farbig machen */
#secondary .site-navigation .current_page_item > a,#secondary .site-navigation .current_page_ancestor > a, #secondary .site-navigation .current-menu-item > a, #secondary .site-navigation .current-menu-ancestor > a{
font-weight: normal;
color: #127bcc;
}

/* Left/Right Alignment for Meta Slider */
.metaslider .ms-left {
    float: left;
    margin: 20px 20px 20px 0;
}

.metaslider .ms-right {
    float: right;
    margin: 20px 0 20px 20px;
}

/* Footer Text Widget: 80% Breite */
#text-3 { width: 80%; }

/* Schriftgröße und Zeilenabstand für WP Post Tabs wie für h6 */
li.ui-state-default {
	font-size: 1.2em;
	line-height: 1.5;
	font-weight:bold !important;
}

/* Firelight Pro Lightbox --> Title font smaller */
.fancybox-title {
   font-family: sans-serif !important;
	font-weight: 400 !important;
    font-size: 1.1em !important;
}
/* Envira Sleek: Rahmen weg, Bild etwas heller (0,8) bei Mouseover */
.envira-gallery-theme-sleek .envira-gallery-image { border: 0px solid #7c7c7c !important; }
.envira-gallery-theme-sleek .envira-gallery-image:hover { opacity: .8 }

/* Envira Captioned: Bild bei Mouseover nur 0,8 heller */
.envira-gallery-theme-captioned .envira-gallery-item:hover { opacity: .8 !important; }

/* YARPP: Keep the aspect ratio of the thumbnails   */
/* .yarpp-thumbnail {object-fit: contain !important; }  */
/*	max-width:150px !important;
	max-height:150px !important; 
	width: auto !important; 
	height: auto !important; */