/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type="number"] {
  -moz-appearance: textfield;
}

/* The Pop-Up (background) */
.modal-popup {
  display: flex; /* Hidden by default */
  position: fixed; /* Stay in place */
  padding-top: 100px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0, 0, 0); /* Fallback color */
  background-color: rgba(0, 0, 0, 0.7); /* Black w/ opacity */
  z-index: 3;
}

/* The Pop-Up (background) */
.load-popup {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  padding-top: 100px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0, 0, 0); /* Fallback color */
  background-color: rgba(0, 0, 0, 0.7); /* Black w/ opacity */
  z-index: 3;
  justify-content: center;
  align-items: center;
}

/* The Pop-Up Content */
.modal-popup-content {
  background-color: #ffffff;
  margin: auto;
  padding: 40px;
  width: 50%;
  border: 1px solid #282828;
  color: #282828;
  z-index: 4;
}

/* The Load Pop-Up Content */
.load-popup-content {
  background-color: #007bffad;
  margin: auto;
  padding: 10px 10px;
  border: 1px solid #007bff;
  color: #ffffff;
  z-index: 4;
  border-radius: 10px;
}

@media screen and (max-width: 768px) {
  .modal-popup-content {
    background-color: #ffffff;
    margin: auto;
    padding: 20px;
    border: 1px solid #282828;
    width: 90%;
    color: #282828;
    z-index: 4;
  }
}

/* The Pop-Up Close Button */
.popup-close,
.popup-seen {
  color: #282828;
  font-weight: bold;
}

.popup-close:hover,
.popup-close:focus,
.popup-seen:hover,
.popup-seen:focus {
  color: rgba(40, 40, 40, 0.7);
  text-decoration: none;
  cursor: pointer;
}

/* Style the tab */
.tabform {
  overflow: hidden;
  border: 1px solid #ccc;
  background-color: #f1f1f1;
}

/* Style the buttons that are used to open the tab content */
.tabform p {
  background-color: inherit;
  float: left;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 14px 16px;
  transition: 0.3s;
}

/* Change background color of buttons on hover */
.tabform p:hover {
  background-color: #ddd;
}

/* Create an active/current tablink class */
.tabform p.active {
  background-color: #ccc;
}

/* Style the tab content */
.formcontent {
  padding: 6px 12px;
  border: 1px solid #ccc;
  border-top: none;
}

.slidecontainer {
  width: 100%;
}

.slider {
  -webkit-appearance: none;
  width: 100%;
  height: 12px;
  background: #d3d3d3;
  outline: none;
  opacity: 0.7;
  -webkit-transition: 0.2s;
  transition: opacity 0.2s;
  border-radius: 3px;
}

.slider:hover {
  opacity: 1;
}

.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 25px;
  height: 25px;
  background: #007bff;
  cursor: pointer;
}

.slider::-moz-range-thumb {
  width: 10px;
  height: 25px;
  background: #007bff;
  cursor: pointer;
  border-radius: 5px;
  border: solid 2px #fff;
}

/* Style the tab */
.tab {
  overflow: hidden;
  display: flex;
  justify-content: center;
  padding-bottom: 30px;
}

/* Style the buttons inside the tab */
.tab button {
  background-color: inherit;
  float: left;
  border-radius: 30px;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 10px 12px;
  transition: 0.3s;
  font-size: 15px;
  font-weight: 700;
  margin: 0px 5px;
}

/* Change background color of buttons on hover */
.tab button:hover {
  background-color: #0069d9ab;
  border-radius: 30px;
  color: #fff;
}

/* Create an active/current tablink class */
.tab button.active {
  background-color: #0069d9;
  border-radius: 30px;
  color: #fff;
}

hr.rounded {
  border-top: 8px solid #bbb;
  border-radius: 5px;
  padding: 0 20px;
}

.divider {
  position: relative;
  margin: 50px 0;
  height: 1px;
}

.div-transparent:before {
  content: "";
  position: absolute;
  top: 0;
  left: 5%;
  right: 5%;
  width: 90%;
  height: 1px;
  background-image: linear-gradient(
    to right,
    transparent,
    rgb(48, 49, 51),
    transparent
  );
}

.agenda-hide {
  display: none;
}

/* Style the header */
.header {
  background-image: url("../images/Sola_2014_84.JPG");
  padding: 80px 40px;
  color: white;
  text-align: center;
  background-position: center;
  min-height: 450px;
  display: flex;
  justify-content: center;
  align-items: center;
}

@media screen and (max-width: 992px) {
  .header {
    background-image: url("../images/Sola_2014_84_1200.JPG");
  }
}

@media screen and (max-width: 768px) {
  .header {
    background-image: url("../images/Sola_2014_84_768.JPG");
  }
}

.header-tipps {
  background-image: url("../images/tipps/header_tipps.jpg");
  padding: 80px 40px;
  color: white;
  text-align: center;
  background-position: center;
  min-height: 450px;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* FAQ Element */

.title {
  margin-bottom: 2rem;
  font-size: 2rem;
}

hr {
  margin: 1rem 0;
}

details {
  padding: 0 1rem;
}

details > summary {
  display: flex;
  justify-content: space-between;
  padding: 0rem;
  font-size: 1rem;
  cursor: pointer;
  list-style: none;
  font-weight: 700;
}

details > summary::after {
  content: url("http://localhost/rezepte-rechner/images/arrow.svg");
  width: 1.5rem;
  height: 1.5rem;
  display: inline-flex;
  transition: transform 0.3s ease;
}

details[open] > summary::after {
  transform: rotate(90deg);
}

.details-content {
  font-size: 1rem;
  padding: 1rem 1.5rem;
}

.details-content > p {
  margin: 1rem 0;
}

details > summary::-webkit-details-marker {
  display: none;
}

.margin-top {
  margin-top: 20px;
}

.btn-in-form {
  margin-top: 25px;
  color: #000;
  background-color: #ccc;
  border-color: #ccc;
}

.btn-in-form:hover {
  background-color: #ddd;
  border-color: #ddd;
}

/* Klasse um die Rezepte in drei Reihen von links nach rechts anzuordnen */
.rezepte-ltr {
  direction: ltr;
  column-count: 3;
  column-width: 300px;
}

/* CSS Anpassungen Startseite */
.startseite-p {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 32px;
  font-weight: 600;
  text-align: center;
  color: #000;
}

.startseite-top-left {
  background-color: #fff;
  height: 50vh;
  border-right: black solid 1px;
  border-bottom: black solid 1px;
  color: #000;
  transition: background-color 1.5s, box-shadow 1s, color 1s;
}
.startseite-top-left:hover,
.startseite-top-right:hover,
.startseite-bottom-left:hover,
.startseite-bottom-right:hover {
  background-color: #007bff;
  border: white solid 1px;
  color: #fff;
  box-shadow: 3px 3px 10px #000000b5;
  z-index: 3;
}
.startseite-top-right {
  height: 50vh;
  border-left: black solid 1px;
  border-bottom: black solid 1px;
  transition: background-color 1.5s, box-shadow 1s, color 1s;
}
.startseite-bottom-left {
  height: 50vh;
  border-right: black solid 1px;
  border-top: black solid 1px;
  transition: background-color 1.5s, box-shadow 1s, color 1s;
}

.startseite-bottom-right {
  height: 50vh;
  border-left: black solid 1px;
  border-top: black solid 1px;
  transition: background-color 1.5s, box-shadow 1s, color 1s;
}

/* CSS Anpassungen Startseite mit Bildern */

.startseite-pictures-top-left {
  height: 50vh;
  border-right: black solid 1px;
  border-bottom: black solid 1px;
  background-image: url(../images/startseite/Teaser_Rechner.jpg);
  background-position: center;
  background-size: 100%;
  transition: background-size 1.5s;
}

.startseite-pictures-top-left:hover,
.startseite-pictures-top-right:hover,
.startseite-pictures-bottom-left:hover,
.startseite-pictures-bottom-right:hover {
  background-size: 110%;
}

.startseite-pictures-top-right {
  height: 50vh;
  border-left: black solid 1px;
  border-bottom: black solid 1px;
  background-image: url(../images/startseite/Teaser_Tipps.jpg);
  background-size: 100%;
  transition: background-size 1.5s;
}
.startseite-pictures-bottom-left {
  height: 50vh;
  border-right: black solid 1px;
  border-top: black solid 1px;
  background-image: url(../images/startseite/Teaser_Rezept.jpg);
  background-size: 100%;
  transition: background-size 1.5s;
}

.startseite-pictures-bottom-right {
  height: 50vh;
  border-left: black solid 1px;
  border-top: black solid 1px;
  background-image: url(../images/startseite/Teaser_Projekt.jpg);
  background-size: 100%;
  transition: background-size 1.5s;
}
.content {
  color: #f1f1f1;
  width: 100%;
  padding: 20px !important;
  transition: padding 1.5s, background-size 1.5s;
  height: 100%;
  display: grid;
  align-content: end;
  background-position: right bottom;
  background-repeat: no-repeat;
  background-image: linear-gradient(
    to right,
    rgb(0, 0, 0, 0.5),
    rgb(0, 0, 0, 0.5)
  );
  background-size: 100% 120px;
  cursor: pointer;
}

.content:hover {
  padding: 20px 20px 60px 20px !important;
  background-size: 100% 160px;
}
