/*  HOTFIX, weil auf dem iPhone die Menüpunkte nicht sichtbar waren */
@media (max-width: 767px) {
    .main-navigation.mobile-menu > .menu {
        max-height: calc(100vh - 105px);
    }
}

/* Bei Beitragstyp Kurzmitteilung soll das Beitragsbild nicht gezeigt werden*/
.post_format-post-format-aside > figure > img {
    display: none;
	}

/* Logos sind transparente GIFs und werden hier per SVG Background überschrieben */
.site-logo img {
	background: url(/wp-content/uploads/2017/08/Homeoffice-Guru-weiß.svg);
	background-size: contain;
  background-clip: border-box;
	background-repeat: no-repeat;
}
.footer-logo_img {
	background: url(/wp-content/uploads/2017/08/Homeoffice-Guru-weiß.svg);
	background-size: contain;
  background-clip: border-box;
	background-repeat: no-repeat;
}

/*Schriftarten global festlegen */
h1, h2, h3, h4, h5 {
	font-family: 'Ubuntu', sans-serif !important;
	font-weight: 600 !important;	
}
body, h6 {
	font-family: 'Nunito Regular', sans-serif !important;
	font-weight: 400 !important;	
}
.aptf-tweet-reply, .aptf-tweet-retweet, .aptf-tweet-fav {
	font-family: 'WebSymbols-Regular' !important;
}
h1 {
	font-size: 14pt !important;
	line-height: 28pt !important;
}
h2 {
	font-size: 14pt !important;
	line-height: 24pt !important;
}
h3, h3.entry-title {
	font-size: 14pt !important;
	line-height: 18pt !important;
}
h4 {
	font-size: 12pt !important;
	line-height: 16pt !important;
	margin-bottom: 0px !important;	
}
h5 {
	font-size: 11pt !important;
	line-height: 14pt !important;
}
h6 {
	margin-bottom: 0px !important;
}

/* Blockquotes */
blockquote {
	text-align: left;
    font-size: 11pt !important;
	font-weight: 600;
}
blockquote:before {
	display: none;
}
blockquote > p em::before {
	content: "  – ";
}
blockquote > p em {
	font-family: 'Nunito Regular', sans-serif !important;		
  font-size: 9pt !important;
	color: #7a7a7a;
}

/* Buttons */
button {
	font-family: 'Nunito Regular', sans-serif !important;
	font-weight: 700 !important;	
	text-transform: none !important;
}

/* Abstand zwischen h3 und p reparieren */
h3 + p, h6 + p {
	margin-top: 0px;
}

/* Textauszeichnung */ 
strong, strong > em {
	font-weight: normal;
	font-style: normal;
}
strong > em {
	background-image: url("/wp-content/uploads/underline_rec_end.svg");
	background-position: right 0px bottom;
	background-repeat: no-repeat; 
	background-size: 2000px 4px;
	margin-right: -2px;
	padding-right: 2px;
}
strong {	
	background-image: url("/wp-content/uploads/underline_rec_begin.svg");
	background-position: left 0px bottom;
	background-repeat: no-repeat;
	background-size: 2000px 4px; 
	margin-left: -2px;
	padding-left: 2px;
}

/* Farbe Buttons */
.btn, .btn-primary {
    color: #4A4A4A;
}

/* Initial jedes Beitrags nicht groß darstellen*/
.single-post .post > .entry-content > p:first-of-type:first-letter, .dropcaps {
    background-color: initial;
    color: #4A4A4A;
}
.single .post > .entry-content > p:first-of-type:first-letter {
    font-size: initial;
    float: initial;
    margin: initial;
    border-radius: initial;
    line-height: initial;
    padding: initial;
}


/* Sidebar-Elemente ausbelden auf Tablet */
@media (max-width: 991px)  {
  .sidebar .widget_search,
  .sidebar .widget_nav_menu,
  .sidebar .widget_wpcom_social_media_icons_widget,
  #custom_html-11{
		display: none !important;
	}
}

/* Deko-Strich über Post-Überschrift entfernen */
.single .post .entry-title:before, header .page-title:before {
	display: none !important;
}

/* Footer-Elemente ausbelden auf SmartPhone */
@media (max-width: 767px)  {
  .site-footer .widget_recent_entries,
  .site-footer .widget_custom_html:first-of-type {
		display: none !important;
	}
}

/* Abstand Header und Footer */
.header-container {
 margin-bottom: 18px;
}
.site-footer {
	margin-top: 54px;
}

/* Padding der Sidebar für mobile reparieren */
@media (max-width: 543px)
{
	#sidebar aside {
		padding-left:15px;
		padding-right:15px;
	}
}

/* Textfarben Footer */ 
.site-footer .invert {
	color: #d0d0d0;
}
.site-footer .invert a, 
.invert .footer-menu__items li a {
	color: #fff !important;
}
.site-footer .invert a:hover,
.invert .footer-menu__items li a:hover {
	color: #d0d0d0 !important;
}
#tm_builder_outer_content .tm_pb_button {
	color: #4A4A4A !important;
	background-color: #D0D0D0 !important;
  border: 0px solid black !important;	
}
#tm_builder_outer_content .tm_pb_button:hover {
	color: #fff !important;
	background-color: #7A7A7A !important;
  border: 0px solid black !important;
}

/* Abstände der Widgets */
.widget + .widget {
	  padding-top: 8px;
    border-top: 1px solid #4A4A4A;
}
.widget {
    margin-bottom: 36px;
}

/* Größe der Social Logos Sidebar */
.genericon {
	font-size: 28px !important;
}

/* Abstand Text zu Circle Statstik */
#tm_builder_outer_content .tm_pb_circle_counter h3 {
	padding: 0px;
}

/* Anbstand Kontakt unten */
.site-info__bottom .contact-block--footer  {
	padding: 0px 5% 0px 5%;
}

/* "Über" im Footer */
.footer-area #custom_html-2 .textwidget p  {
	margin-bottom: 9px;
}

/* Twitter Widget */
.aptf-tweet-content a {
	color: #0078BE !important;
}
.aptf-tweet-content a:hover {
	color: #00A5DF !important;
}


/* Speziell für Mobile */
@media (max-width: 640px)
{
  /* Auf Mobile nur 2 ähnliche Beiträge zeigen */
  #jp-relatedposts > div :last-child {
     display: none;
  }
}
@media (min-width: 1px) {
  .top-panel  {
    display: none !important;
  }
  .site-info__bottom {
    display: block !important;
  }
  .tm_pb_blurb {
		padding-top:50px;
  }
}
@media (min-width: 768px) {
  .top-panel  {
    display: block !important;
  }
  .site-info__bottom {
    display: none !important;
  }
}

/* "Edit" Footer löschen */
.entry-footer {
   display:none;
}

/* Listen reparieren */
ul:not([class]):not([id]) {
	list-style: square outside !important;
	padding-left: 1.5em;
}
ul:not([class]):not([id]) li:before {
	opacity: 0.0;
}

/* "Read more" auf Startseite */
.more-link::before {
	font-size: 15px !important;
	content: "Ganzer Beitrag";
}
.more-link {
	font-size: 0.1pt !important;
	font-size: 0pt !important;
}

/* 404 Page*/
.error404 .site-content {	
	background-position: right bottom !important;
	height: 550px;	
}
.error404 .site-content .page-content h2:first-child::before {	
	font-size: 29px !important;
	content: "404 - Seite nicht gefunden";
}
.error404 .site-content .page-content h2:first-child + p::before {
	font-size: 15px !important;
	content: "Die angeforderte Seite konnte leider nicht gefunden werden. ";
}
.error404 .site-content .page-content h2:first-child,
.error404 .site-content .page-content h2:first-child + p {	
	font-size: 0.1pt !important;
	font-size: 0pt !important;
}
.error404 .site-content .page-content .btn {
  display: none;
}

/* Kein Suchergebnis gefunden */
.no-results h1.page-title::after {
	font-size: 28px !important;
	color: #4a4a4a;
	content: "Leider nichts gefunden";
}
.no-results .page-content p::after {
	font-size: 15px !important;
	color: #4a4a4a;
	content: "Es wurden momentan leider keine Beiträge oder Seiten zu dem Thema gefunden. Sie können zur Starseite zurückkehren oder Ihre Suchanfrage verändern.";
}
.no-results h1.page-title,
.no-results .page-content p {
	font-size: 0.1pt !important;
	font-size: 0pt !important;
}

/* Großbuchstaben entfernen */
#tm_builder_outer_content .tm_pb_slider.tm_pb_module .tm_pb_slide_description .tm_pb_slide_content, 
#tm_builder_outer_content .tm_pb_slider .tm_pb_slide_description .tm_pb_slide_content,
#tm_builder_outer_content .tm_pb_slider.tm_pb_module .tm_pb_slide_description .tm_pb_slide_title,
#tm_builder_outer_content .tm_pb_slider .tm_pb_slide_description .tm_pb_slide_title,
blockquote cite, .menu-item__desc, h1, h2, h3, h4, h5, h6, blockquote,
.footer-menu__items .menu-item
{
    text-transform: none;
}