/* 
Theme Name:		 DB-Watch
Theme URI:		 https://db-watch.de/
Description:	 DB Watch is a child theme of Zeko
Author:			 Torsten Landsiedel
Author URI:		 https://torstenlandsiedel.de/
Template:		 zeko
Version:		 1.0.0
Text Domain:	 db-watch
*/





/* +---------------------
 * | Header
 * +---------------------
 */

@media screen and (min-width: 60em) {
  .site-header .search-box {
    top: 12px;
  }
  .site-header .fixed .search-box {
    top: -4px;
  }

}

.fixed .site-branding .custom-logo {
	max-height: 42px;
}

.header-top {
  text-transform: none;
}

.main-navigation ul {
  font-size: 1.25rem;
}

.header-top {
	letter-spacing: 0;
}

/* +---------------------
 * | Content
 * +---------------------
 */

h1, h2, h3, h4, h5, h6 {
  text-transform: none;
}

.wp-block-button__link {
  font-size: 1.25rem;
  text-transform: none;
}

.single .byline, 
.group-blog .byline {
  display: none;
}

.entry-meta a,
.entry-content p a {
  font-family: "Open Sans", "Helvetica Neue", helvetica, arial, sans-serif;
}


/* Fix glitch with full width */

.no-sidebar .alignfull, .no-sidebar .wp-block-cover-image, .page-template-full-width-page .wp-block-cover-image, .page-template-full-width-page .alignfull, .page-template-zeko-blocks .wp-block-cover-image, .page-template-zeko-blocks .alignfull, .page-template-grid-page .wp-block-cover-image, .page-template-grid-page .alignfull, .page-template-testimonial-page .wp-block-cover-image, .page-template-testimonial-page .alignfull {
  width: calc( 100vw - 0.5rem );
}

/* Fix glitch with Tooltip glossar */
.glossary-tooltip-content {
  left: 50% !important;
}

/* Remove CF7 padding */
body .wpcf7 {
  padding: 0;
}

/* Hash Link Scroll Offset */
.entry-content > div[id] {
	scroll-margin-top: 125px;
}

/* +---------------------
 * | Buttons after WP 6.6 fix
 * +---------------------
 */

.wp-block-button__link {
	background: transparent !important;
	border-bottom: 2px solid #D2000A !important;
	color: #D2000A !important;
}

.wp-block-button__link:hover {
	background: #D2000A !important;
	color: #fff !important;
	border-color: #D2000A !important;
}


/* +---------------------
 * | The Newsletter Plugin
 * +---------------------
 */

.tnp-field label {
  display: block;
}

.tnp-field-checkbox label {
  display: inline;
}

.tnp-field input {
	width: 80%;
}

.tnp-field-button input,
.tnp-field-checkbox input {
	width: auto;
}

/* +---------------------
 * | Sidebar
 * +---------------------
 */

.widget a.shariff-link:hover {
  border-bottom-width: 0;
}

.wp-block-social-link-anchor {
  color: unset !important;
}

/* +---------------------
 * | Footer (wip)
 * +---------------------
 */

.widget ul li.wp-block-social-link {
  padding: 0;
  border-bottom-width: 0;
  border-top-width: 0;
}


.site-footer .social-links a {
    font-size: 16px;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
}

.site-footer .social-links a::before {
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
}

/* +---------------------
 * | Print CSS
 * +---------------------
 */

@media print {
  .entry-footer,
  .shariff-buttons,
  .site-header,
  .widget-area,
  .navigation {
    display: none;
  }
}
