/**
 * Theme Name:        Mzm Solarscouts 
 * Template:   onepress
 * Theme URI:         https://example.com/fabled-sunset
 * Description:       Child Theme of the One Press Theme
 * Version:           0.1.0
 * Author:            Martin Mittnacht
 * Author URI:        https://milesoft.de
 * Tags:              block-patterns, full-site-editing
 * Text Domain:       mzm-solarscouts
 * Domain Path:       /assets/lang
 * Tested up to:      6.7.4
 * Requires at least: 6.2
 * Requires PHP:      7.4
 * License:           GNU General Public License v2.0 or later
 * License URI:       https://www.gnu.org/licenses/gpl-2.0.html
 */

body {background-color: aqua;}



/************ Alternative Buttons ************/
/*#content-inside.container{
  width: calc(100vw - 200px);;
}*/
#content-inside  {
	min-height:calc(100vh - 260px);
}
/*
@media (min-width: 1440px) {
  .container {
    width: calc(100vw - 240px) !important;
    max-width: 100% !important;
  }
}*/
/* maybe for spaccing draw attention*/
#hotspot-156 .hotspot-title {
    text-align: left;
}
#content-hotspot-156.hotspots-placeholder {
    padding-right: 1em;
		padding-left: 0em;
		padding-bottom: 0em;
		padding-top: 0em;
    position: relative;
}
#hotspot-156  .hotspot-thumb {text-align:left;}

#hotspot-53 .hotspot-title {
    text-align: left;
}
#content-hotspot-53.hotspots-placeholder {
    padding-right: 1em;
		padding-left: 0em;
		padding-bottom: 0em;
		padding-top: 0em;
    position: relative;
}

/* Strange */
div.fluid-width-video-wrapper{
    min-height: 600px;
}
/* forms hide input*/
.mzm_hide_user{display:none;}

/********** Alternative Buttons ************/
.wp-block-button{
	line-height:0.8;
	margin-bottom:15px;
}

.mzm_standard a.wp-block-button__link.wp-element-button {
    color: #fff;
    background-color: #343a40;
    border-color: #343a40;
}

.mzm_standard a.wp-block-button__link.wp-element-button:hover {
   color: #fff;
    background-color: #23272b;
    border-color: #1d2124;
	text-decoration: none;
}



.mzm_email a.wp-block-button__link.wp-element-button {
    background-color: #007bff;
    color: white;
}

.mzm_email a.wp-block-button__link.wp-element-button:hover {
  background-color: #0069d9;
  border-color: #0062cc;
	text-decoration: none;
}


.mzm_ag a.wp-block-button__link.wp-element-button {
    color: #fff;
    background-color: #28a745;
}

.mzm_ag a.wp-block-button__link.wp-element-button:hover {
color: #fff;
    background-color: #218838;
    border-color: #1e7e34;
	text-decoration: none;
}

.mzm_register a.wp-block-button__link.wp-element-button {
        color: #fff;
    background-color: #17a2b8;
    border-color: #17a2b8;
}

.mzm_register a.wp-block-button__link.wp-element-button:hover {
    color: #fff;
    background-color: #138496;
    border-color: #117a8b;
		text-decoration: none;

}
.mzm_stadtteil a.wp-block-button__link.wp-element-button {
	  color: #212529;
    background-color: #ffc107;
    border-color: #ffc107;
}

.mzm_stadtteil a.wp-block-button__link.wp-element-button:hover {
color: #fff;
    color: #212529;
    background-color: #e0a800;
    border-color: #d39e00;
		text-decoration: none;

}
.tribe-events-meta-group h2.tribe-events-single-section-title{
	    letter-spacing: 0.5px;
}
.mzm_stadtteil a.wp-block-button__link.wp-element-button:hover {
color: #fff;
    color: #212529;
    background-color: #e0a800;
    border-color: #d39e00;
		text-decoration: none;

}


.mzmtooltip {
  position: relative;
  display: inline-block;

}

.mzmtooltip:after {
  content: "Fehler oder Verbesserungen \A direkt eingeben \A und melden";
	line-height: 22px;
	font-size: 10pt;
  position: absolute;
	top: 50px;
	height:75px;
  display: none;
  text-align: center;
  background-color: #aaa;
  color: #fff;
  border-radius: 4px;
  padding: 4px;
	white-space: pre;
}
.mzmtooltip:hover:after {
  display: block;
	overflow: visible;
}
.block-shiftleft{
	margin-left: -2.375em;
  margin-right: -2.375em;

	
}
.block-cutright{
	padding-right: 2.375em;
}
.mzm-events {
  width: calc(var(--tec-grid-width-1-of-8)*8);
}
.tribe-common--breakpoint-medium.tribe-events-pro .tribe-events-pro-summary__event-details {
  width: calc(var(--tec-grid-width-1-of-8)*8) !important;;
}

.tribe-common-l-container {
  padding: 0px !important;;
}
.tribe-events-l-container{
  padding: 0px !important;

}

.mzm-homepage-build{
  color:blue;
}

.mzm-homepage-build-district{
  color:blue;
  padding-left: 50px;
}

.tribe-events-widget-events-list__header {
  font-size:20px;
}
.tribe-events-widget-events-list__header h2{
  font-size:24px;
}

/* Ensure the form-switch styling is properly applied */
.form-check-input-fail {
  appearance: auto !important;
  width: 2.5rem !important;
  height: 1.5rem !important;
  border-radius: 1rem !important;
  background-color: #e9ecef !important;
  transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out !important;
}

.form-check-input-fail:checked {
  background-color: #0d6efd !important;
  border-color: #0d6efd !important;
}

/* only used by  marktstammdaten map */

#controls {
  /* display: flex;*/
  align-items: center;
  padding: 10px;
  background: #f8f9fa;
  border-bottom: 1px solid #ddd;
}

#controls label {
  margin-right: 10px;
  font-weight: bold;
}

#map-container {
  position: relative;
  flex-grow: 1;
}

#hover-info {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(255, 255, 255, 0.9);
  padding: 10px;
  border-radius: 5px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  display: none;
  font-size: 14px;
}

#legend {
  margin: 20px;
}

.legend-item {
  display: flex;
  align-items: center;
  margin-bottom: 5px;
}

.legend-color {
  width: 20px;
  height: 20px;
  margin-right: 10px;
  border: 1px solid #000;
}
/*
svg.marktstammdaten{
  width: 50vw;
  height: calc(90vh - 50px);
  padding: 10px;
}
*/

.region {
  stroke: #004085;
  stroke-width: 0.5;
  cursor: pointer;
}

.region:hover {
  stroke: #ff4500;
  stroke-width: 1.5;
}

.mkst-td-first{
  white-space: nowrap;
  text-align: left;
  word-break: keep-all;
}
.mkst-td-right{
  text-align: right;
 
}
table.mzm-marktstamm-table  thead th .th-inner{
  white-space: wrap !important;
  vertical-align: top !important;
}
table.mzm-marktstamm-table  thead th.mzm-nowrap .th-inner{
  white-space: nowrap !important;
  vertical-align: top !important;
}

table.mzm-marktstamm-table  thead th{
  vertical-align: top !important;
}

.help-navigation-buttons .button {
  background-color: #0073aa;
  color: #ffffff;
  padding: 12px 24px;
  text-decoration: none;
  font-size: 16px;
  border-radius: 5px;
  display: inline-block;
  transition: background-color 0.3s ease;
}

.help-navigation-buttons .button:hover {
  background-color: #005177;
}

.help-navigation-buttons {
  margin-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.prev-button {
  text-align: left;
}

.next-button {
  text-align: right;
}
