/*
Theme Name: benes - child theme
Template: benes
*/
:root {
  --primary: #ca242b;
  --red: #890d0d;
  --lightgrey: #fbfbfb;
  --bg0: #eee;
  --bg1: #f4f4f4;
  --bg2: #e9e9e9;
  --swiper-theme-color: #000;
  --swiper-navigation-size: 16px;
  --formblue: #3498db;
}

/* roboto-700 - latin */

@font-face {
  font-family: "icomoon";
  src: url("f/icomoon.eot?dymi1r");
  src: url("f/icomoon.eot?dymi1r#iefix") format("embedded-opentype"),
    url("f/icomoon.ttf?dymi1r") format("truetype"),
    url("f/icomoon.woff?dymi1r") format("woff"),
    url("f/icomoon.svg?dymi1r#icomoon") format("svg");
  font-weight: normal;
  font-style: normal;
  font-display: block;
}

[class^="icon-"],
[class*=" icon-"] {
  /* use !important to prevent issues with browser extensions that change fonts */
  font-family: "icomoon" !important;
  speak: never;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;

  /* Better Font Rendering =========== */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.icon-arrow-right:before {
  content: "\e901";
}
.icon-arrow_forward_ios:before {
  content: "\e91a";
}
.icon-arrow_back_ios:before {
  content: "\e91b";
}
.icon-mobile:before {
  content: "\e903";
}
.icon-enlarge:before {
  content: "\e906";
}
.icon-file-pdf-o:before {
  content: "\e90d";
}
.icon-instagram:before {
  content: "\e908";
}
.icon-phone:before {
  content: "\e902";
}
.icon-envelope:before {
  content: "\e907";
}
.icon-checkmark1:before {
  content: "\e900";
}
.icon-linkedin:before {
  content: "\e917";
}
.icon-location:before {
  content: "\e947";
}
.icon-arrow-left:before {
  content: "\e904";
}
.icon-arrow-right1:before {
  content: "\e905";
}
.icon-facebook1:before {
  content: "\ea90";
}
.icon-headphones:before {
  content: "\e910";
}
.icon-fullscreen:before {
  content: "\e98b";
}
.icon-checkmark:before {
  content: "\ea10";
}
.icon-arrow-right2:before {
  content: "\ea34";
}
html {
  font-size: 16px;
}
body {
  color: rgba(0, 0, 0, 0.8);
  background: var(--lightgrey);
  position: relative;
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-smoothing: antialiased;
}
h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
  margin-bottom: 0.5em;
  font-weight: 700 !important;
}
h1.entry-titel {
  font-weight: 700;
}
a {
  color: #000;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
.formlogo {
  width: 150px;
  margin: 0 auto;
  display: block;
}
a:hover {
  color: rgba(0, 0, 0, 1);
  text-decoration: none;
}
a.hover-red:hover {
  color: var(--primary) !important;
}
.iconbutton {
  font-weight: 500;
}
.roundicon {
  font-size: 1rem;
}
.roundicon:before {
  border-radius: 0;
  border: 1px solid rgba(0, 0, 0, 0.6);
  width: 2rem;
  height: 2rem;
  display: block;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 768px) {
  .roundicon:before {
    width: 1.875rem;
    height: 1.875rem;
  }
}

.ratio > * {
  object-fit: cover;
}

.headerinfo {
  font-size: 0.875rem;
  font-weight: 500;
}
strong,
b {
  font-weight: 600;
}
.logo {
  width: 215px;
  margin: 0 auto;
}

/* Gravity Forms base */
h2.gform_title {
  font-size: 1rem;
  line-height: 1.55;
  font-weight: bold;
}
.gform_wrapper.gravity-theme .gform_fields {
  grid-row-gap: 0px;
  grid-column-gap: 5px;
}

form .validation_message {
  display: none !important;
}

body .gform_legacy_markup_wrapper div.validation_error,
body .gform_wrapper .gform_validation_errors {
  border-radius: 0;
  border: 1px solid #c02b0a;
  box-shadow: none;
}
body form:not(.bg_default_theme) .gform_body .gfield {
  margin-top: 0 !important;
}
button,
.gform_page_footer input[type="submit"],
.gform_page_footer input[type="button"],
.gform_footer input[type="submit"] {
  background-color: #000;
  border: 1px solid #000;
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 0;
  transition: all 0.3s ease;
  line-height: 1.5;
}
.gform_page_footer input[type="button"]:hover,
.gform_footer input[type="submit"]:hover {
  background-color: #282828;
  color: #fff;
  border: 1px solid #000;
}
button.gpnf-add-entry {
  background-color: #00406b;
  color: #fff;
}
/* Inputs */
body .gform_wrapper input,
body .gform_wrapper textarea {
  border: 1px solid #ddd;
  border-radius: 0;
  background: #ddd;
}
body .gform_wrapper input:focus,
body .gform_wrapper textarea:focus {
  border-color: #f0f0f0;
  outline: #f0f0f0;
  background-color: #f0f0f0;
}

/* Labels */
body .gfield_label {
  font-size: 16px !important;
}
body .kontaktform .gfield_label {
  font-size: 14px !important;
}

/* Checkbox custom */
body .gform_wrapper .gfield_checkbox > div {
  position: relative;
}
body .gform_wrapper input[type="checkbox"] {
  position: absolute;
  visibility: hidden;
  opacity: 0;
}
body .gform_wrapper input[type="checkbox"] + label {
  position: relative;
  padding-left: 29px;
  cursor: pointer;
  font-size: 0.875rem;
}
body .gform_wrapper input[type="checkbox"]:not(:checked) + label:after {
  width: 20px;
  height: 20px;
  border: 1px solid #000;
}
body .gform_wrapper input[type="checkbox"]:checked + label:after {
  width: 20px;
  height: 20px;
  border: 1px solid #000;
  background-color: #000;
}
body .gform_wrapper input[type="checkbox"]:checked + label:before {
  content: "\ea10";
  font-family: "icomoon" !important;
  font-size: 14px;
  color: #1ce26b;
  left: 3px;
}

/* Errors */
body .gform_legacy_markup_wrapper li.gfield.gfield_error,
body .gform_wrapper .gfield_validation_message,
body .gform_wrapper .validation_message {
  background: transparent !important;
  border: none !important;
  font-size: 15px;
  margin-top: 8px;
  padding: 0 !important;
}

/* Form wrapper */
#gform_1 {
  background: #fff;
  border: 1px solid #141414;
  padding: 20px;
}
@media (min-width: 768px) {
  #gform_1 {
    padding: 30px;
  }
}

/* Gravity Theme footer spacing */
@media (min-width: 768px) {
  body .gform_wrapper.gravity-theme .gform_footer,
  body .gform_wrapper.gravity-theme .gform_page_footer {
    padding-bottom: 0;
  }
}

/* Intern forms */
.formularpage-container {
  max-width: 740px;
  margin: 0 auto;
}
.gform-body {
  box-shadow: rgba(14, 30, 37, 0.12) 0px 2px 4px,
    rgba(14, 30, 37, 0.32) 0px 2px 16px;
  padding: 15px;
}
.form-intern .gf_page_steps {
  border-bottom: none;
}
body .gform_wrapper .form-intern .gsection_title {
  font-size: 20px;
}
body .gform_wrapper .form-intern .gfield_description {
  font-size: 12px;
  margin-top: -10px;
}
.gform_confirmation_message {
  border: 1px solid #8edc8e;
  padding: 1rem;
  color: #000;
  margin: 60px auto;
  background-color: transparent;
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}
body .gform_wrapper .form-intern .gform_footer input {
  padding: 21px;
  background-color: rgb(74, 98, 74);
  color: #fff;
  font-size: 1rem;
}
/* Gravity Forms custom checkboxes */
body .gform_wrapper .gfield_checkbox > div {
  position: relative;
}

body .gform_wrapper input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

body .gform_wrapper input[type="checkbox"] + label {
  position: relative;
  display: inline-block;
  padding-left: 32px;
  cursor: pointer;
  font-size: 0.875rem;
  line-height: 1.4;
  user-select: none;
}

/* Box */
body .gform_wrapper input[type="checkbox"] + label:after {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 20px;
  height: 20px;
  border: 1px solid #000;
  background-color: #fff;
  transition: all 0.2s ease;
}

/* Checked state */

/* Checkmark (using Icomoon font if available) */
body .gform_wrapper input[type="checkbox"]:checked + label:before {
  content: "\ea10"; /* adjust if your icon font uses a different code */
  content: "\e900";
  font-family: "icomoon" !important;
  position: absolute;
  left: 3px;
  top: 2px;
  z-index: 2;
  font-size: 14px;
  color: #1ce26b;
}

a {
  text-decoration: underline;
}

.menu {
  padding: 0;
}
.menu li ul.children {
  margin-bottom: 2rem;
}
body:not(.home) .menu li a {
  display: block; /* Make links behave like boxes */
  text-align: center;
}
.menu li {
  list-style: none;
  width: 100%;
  margin-bottom: 1px;
}
.menu li a {
  padding: 0.5rem 1.5rem;
  text-decoration: none;
  width: 100%;
  display: block;
}
.menu li a,
li .nav-link {
  background-color: var(--lightgrey);
}
.menu li a,
.nav-tabs .nav-link {
  background-color: #ebebeb;
  color: #000;
  border-radius: 0;
  border: none;
}
.menu li a:hover,
.menu li.current_page_item a,
.nav-tabs .nav-link.active {
  background-color: #3c3c3c;
  color: #fff;
}
.home .menu li.hideonhome {
  display: none;
}
.gform_required_legend {
  display: none;
}
.offcanvas .gform-body {
  box-shadow: none;
  padding: 0px;
}
.offcanvas h2.gform_title {
  border-bottom: 1px solid black;
  margin-bottom: 1rem;
}
.sgu-form fieldset.gfield--type-choice + fieldset.gfield--type-choice {
  gap: 0;
  position: relative;
}
.sgu-form fieldset.gfield--type-choice + fieldset.gfield--type-choice:before {
  content: "";
  position: absolute;
  top: 0px;
  bottom: 0;
  left: -13px;
  border-left: 1px solid black;

  background-color: #ccc;
  z-index: -1;
}
.sgu-form fieldset.gfield--type-choice .gfield_radio {
  gap: 0 !important;
}
.sgu-form
  fieldset.gfield--type-choice
  + fieldset.gfield--type-choice
  .gfield_radio {
  gap: 0 !important;
}
.sgu-form
  fieldset.gfield--type-choice
  + fieldset.gfield--type-choice
  .ginput_container_radio {
}
.sgu-form .choicesheadline {
  background-color: #eee;
  padding-top: 10px;
  padding-left: 10px;
}
.sgu-form .choicesheadline h5 {
  font-size: 1.125rem;
}
.field_admin_only {
  display: none;
}
.post-password-form {
  max-width: 450px;
  margin: 0 auto;
  padding: 1.5rem;
}

body .gform_wrapper .gfield_checkbox > div {
  margin-bottom: 7px;
}
body .gform_wrapper.gravity-theme .gform_footer button + input,
body .gform_wrapper.gravity-theme .gform_footer input + button,
body .gform_wrapper.gravity-theme .gform_footer input + input,
body .gform_wrapper.gravity-theme .gform_page_footer button + input,
body .gform_wrapper.gravity-theme .gform_page_footer input + button,
body .gform_wrapper.gravity-theme .gform_page_footer input + input {
  margin-left: 0;
}

/* Zeiterfassung täglich */
.zusammenfassung-table {
  display: table;
  width: 100%;
}
.zusammenfassung-table.removeaftereuro tbody tr:first-child {
  background-color: #8edc8e;
}

.zusammenfassung-table tr:nth-child(odd) {
  background-color: #eee;
}
.zusammenfassung-table tr:nth-child(even) {
  background-color: #f9f9f9;
}
.zusammenfassung-table td {
  list-style: none;
  padding: 0.5rem;
}
.zusammenfassung-table ul {
  display: table-cell;
  padding: 0;
}
.zusammenfassung-table ul li {
  list-style: none;
}
