/* Style Mainpage */
@font-face {
  font-family: "OpenSansBold";
  src: url("../assets/fnt/OpenSans-Bold.html");
}
.img-fluid {
  height: 85px;
  width: auto;
  margin-right: 27px;
}
#wpbody-content {
  padding: 0;
}
body.toplevel_page_tamplate-generator {
  background-color: #e0e0e0;
  height: 100%;
}
.page_style {
  font-family: "OpenSansBold", sans-serif;
  width: 100%;
}
.select_template,
.generate_template {
  display: flex;
  flex-direction: column;
  margin-top: 31px;
}
.form-row {
  display: flex;
  align-items: center;
}
.label_form {
  font-size: 30px;
  font-weight: 600;
  width: 330px;
  float: left;
  margin-right: 20px;
  margin-top: 0;
}
.input_form {
  width: 350px;
  float: left;
  min-height: 58px !important;
  font-size: 19px !important;
  margin-right: 40px;
  margin-top: 0;
}
.form_select,
.generate_template select {
  line-height: 58px !important;
}
.template_gen_submit {
  background-color: #00a1e7;
  color: white;
  padding: 1rem 1.5rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  width: 220px;
  height: max-content;
  font-size: 19px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: initial;
}
.template_gen_submit > a {
  text-decoration: none;
  color: white;
}
.download-button {
  padding: 0 50px 19px;
}
.download-button a {
  text-decoration: none;
  color: #fff;
}
.download-button a:hover {
  text-decoration: none;
  color: #fff;
}
.img_button {
  margin-top: 0;
  width: 302px;
}
.has-image {
  background-color: transparent !important;
  justify-content: inherit;
  align-items: center;
  align-content: center;
  padding: 0;
}
span.template_gen_submit > img:nth-child(1) {
  object-fit: contain;
  height: 270px;
  width: auto;
  max-width: 350px;
}
.template_gen_submit:hover {
  background-color: #00a1e7;
}
.success {
  background-color: #d4edda;
  color: #155724;
  padding: 10px;
  margin-bottom: 20px;
  border-radius: 5px;
}
.error {
  background-color: #f8d7da;
  color: red;
  padding: 10px;
  margin-bottom: 20px;
  border-radius: 5px;
}
.required {
  text-decoration: none;
  color: #3c434a !important;
}
.header {
  display: flex;
  background-color: white;
  margin-bottom: 80px;
  padding: 30px 0 0 50px;
  height: 160px;
}
.header_1 {
  flex-basis: 42%;
  background-color: #00a1e7;
  border-radius: 10px 10px 0 0;
  margin-top: 55px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}
.header_1 > h1 {
  color: white;
  font-weight: bolder;
  font-size: 41px;
  margin: 0;
  font-family: "OpenSansBold", sans-serif;
}
.header_2 {
  flex-basis: 55%;
}
.header_2 > img {
  height: 65%;
  margin-top: 1.3%;
}
#wpfooter {
  display: none !important;
}
#wpcontent {
  height: 100%;
  padding-left: 0px;
}
.flex_Form {
  display: flex;
  align-items: center;
  position: relative;
}
.body_forms {
  padding: 0 50px 50px;
  position: relative;
}
#download_button {
  margin-left: 30px;
}
.vorschau_vorlage {
  justify-content: center;
  align-items: center;
  width: 500px;
  position: absolute;
  top: 0;
  right: 50px;
}
.vorschau_vorlage img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
#Vorlagen_h3 {
  font-size: 55px;
  line-height: 1.2;
  margin: 0 0 37px 0;
  color: #3c434a;
  font-family: "OpenSansBold", sans-serif;
}
.button_container {
  display: flex;
  margin-top: 50px;
}
.zw_img_download_button {
  margin-top: 42px;
}
.vorschau_button {
  background-color: #00a1e7;
  font-family: "OpenSansBold", sans-serif;
  color: white;
  padding: 1rem 1.5rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;

  width: 350px;
  height: max-content;
  font-size: 19px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: initial;
  margin-top: 40px;
}

.vorschau_button a {
  text-decoration: none;
  color: #fff;
}
.vorschau_button a:hover {
  text-decoration: none;
  color: #fff;
}
/* Style Subpage */
.vorschau_img {
  width: 94%;
  margin-bottom: 2%;
}
.vorlagen_Name {
  font-size: 19px;
  font-weight: normal;
  font-family: "OpenSansBold", sans-serif;
}
.main_content {
  display: flex;
  flex-wrap: wrap;
  min-height: fit-content;
  margin-bottom: 80px;
  text-align: center;
}
.vorschau {
  flex: 1 0 calc(25% - 20px);
  margin: 16px;
  background-color: white;
}
.dickere_linie {
  border-top: 3px solid black;
}
.headlinebackground {
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.main_headline {
  font-size: 41px;
  margin-left: 16px;
  font-family: "OpenSansBold", sans-serif;
}
.main_flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 80px;
}
.spacer {
  flex-grow: 1;
  margin-left: 20px; /* Anpassbare Breite des Spaces */
}
.spacer2 {
  width: 350px;
}
#vorschau_screen {
  margin: 0;
  margin-right: 16px;
}
/*Responsive*/
@media (max-width: 1880px) {
  .vorlagen_Name {
    font-size: 18px;
  }
}
@media (max-width: 1440px) {
  .header_1 > h1,
  .main_headline {
    font-size: 28px;
  }
  .vorlagen_Name {
    font-size: 13px;
  }
  .header_2 > img {
    height: 50%;
  }
  .label_form {
    width: 230px;
  }
  .spacer2 {
    width: 250px;
  }
  .vorschau_vorlage {
    right: 10px;
    width: 420px;
  }
  #Vorlagen_h3 {
    font-size: 37px;
  }
}
@media (max-width: 1280px) {
  .header_1 > h1,
  .main_headline {
    font-size: 25px;
  }
  .vorlagen_Name {
    font-size: 11px;
  }
  .header_2 > img {
    height: 45%;
  }
  .vorschau_vorlage {
    width: 370px;

    right: 10px;
  }
  #Vorlagen_h3 {
    font-size: 30px;
  }
  .input_form,
  .vorschau_button {
    width: 330px;
  }
  .img-fluid {
    height: 70px;
  }
  .label_form {
    width: 210px;
  }
  .spacer2 {
    width: 230px;
  }
}
