/* --- Global Variables/Settings --- */

:root {
  --customer-primary-color: #0085D5; /* Color which is used for buttons, text, etc. */
  --customer-secondary-color: #00426A; /* Set the color which is used for hover-effects */
  --bullet-point-icon-one: url('../images/bullet_point_one.png'); /* Changes the bullet point to a check mark for example*/
  --bullet-point-icon-two: url('../images/bullet_point_two.png');
  --bullet-point-icon-three: url('../images/bullet_point_three.png');
  --homepage_img: url('../images/homepage.jpg'); /* Insert the link for the homepage image */
  --homepage_img_mobile: url('../images/homepage-mobile.jpg'); /* Insert the link for the mobile version of the homepage image */
  --navbar-color: #ffffff; /* Choose color for the navbar */
  --font-color-on-light-bg: #ffffff; /* Choose color for the text on light background */
  --font-color-on-dark-bg: #000000; /* Choose color for the text on dark background */
  --footer-color: #222222; /* Choose color for the footer */
  --navbar-font-color: #ffffff; /* Choose color for the navbar link text */
  --bs-navbar-toggler-icon-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2833, 37, 41, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}


@font-face {
      font-family: 'Roboto-Regular';
      src: url('../fonts/Regular.ttf') format('truetype');
}

@font-face {
  font-family: 'Roboto-Bold';
  src: url('../fonts/Bold.ttf') format('truetype'); 
}


body{
  font-family: 'Roboto-Regular' !important;
}

h1, h2, h4, h5, h6 {
  font-family: 'Roboto-Bold' !important;
}

.navbar-dark,
.navbar, [data-bs-theme=dark] .navbar-toggler-icon {
  --bs-navbar-toggler-icon-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2833, 37, 41, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

.container {
  max-width: 1920px !important;
  padding: 0px !important;
  overflow-x: hidden;
}

.btn {
  background-color: var(--customer-primary-color);
  padding: 10px 100px;
  font-size: 22px;
  color: var(--font-color-on-dark-bg);
  font-weight: 500;
  margin-left: 0px;
  border-color: var(--customer-primary-color);
}

.btn:hover{
  background-color: var(--customer-secondary-color);
  color: var(--font-color-on-light-bg);
}

.views-element-container{
  display: none;
}


/* --- Navbar & Footer --- */

header {
  background-color: var(--customer-primary-color) ;
}

.bg-dark {
  background-color: transparent !important;
} /* Changes color of the navbar */

.bg-dark a {
  color: var(--font-color-on-dark-bg) !important;
}

.bg-secondary {
  background-color: var(--footer-color) !important;
} /* Changes color of the footer*/

.bg-secondary a {
  color: var(--font-color-on-light-bg) !important;
}

.navbar, #block-bootstrap5-tp-footer, #block-bootstrap5-tp-footer-en {
  max-width: 1600px;
  margin: 0 auto;
}

footer .nav-item {
  color: var(--navbar-font-color) !important; 
  font-size: 18px;
  padding-left: 30px !important;
  padding-right: 30px !important;
 }

.navbar a {
 color: var(--navbar-font-color) !important; 
 font-size: 18px;
 padding-left: 30px !important;
 padding-right: 30px !important;
}

.navbar a:hover, .navbar a:focus, .navbar a:focus-visible, .navbar a:focus-within {
  text-shadow: 1px 0 var(--navbar-font-color);
}

.lang-dropdown-form{
  display: flex;
  flex-direction: row;
}

.lang-dropdown-form img {
  width: 60px;
  height: 38px;
  padding: 5px !important;
}

.region-nav-main {
  display: flex;
}

.container_footer_mail{
  text-align: center;
  border-bottom: 10px solid white;
}

#block-bootstrap5-tp-footer-mail{
  display: none;
}

footer ul {
  flex-direction: row !important;
}

.region-footer {
  padding-right: 0px !important;
}

footer {
  padding: 15px 0 0 0 !important;
}

footer h3 {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 20px;
}

#block-bootstrap5-tp-footer ul .nav-item {
  padding-left: 40px;
  padding-right: 40px;
}

/* Language Dropdown aus- bzw. einschalten */

/* #edit-lang-dropdown-select {
  display: none;
} */


/* --- Homepage --- */

.container_home{
  width: 100%;
  margin-top: 2.5rem;
  margin-bottom: 5rem;
}

.txt_color_heading {
  color: var(--customer-primary-color);
}

.homepage_bullet_list {
  margin-top: 50px;
  padding-left: 0px;
}

.homepage_bullet_list li{
  list-style-type: none;
  padding: 0 0 40px 40px;
  font-size: 20px;
}

#bulletpoint_one {
  background-image: var(--bullet-point-icon-one);
  background-size: 30px 30px;
  background-repeat: no-repeat;
}

#bulletpoint_two {
  background-image: var(--bullet-point-icon-two);
  background-size: 30px 30px;
  background-repeat: no-repeat;
}

#bulletpoint_three {
  background-image: var(--bullet-point-icon-three);
  background-size: 30px 30px;
  background-repeat: no-repeat;
}

.bg_img_div{
  background-image: var(--homepage_img);
  border-top-left-radius: 50px;
  border-bottom-left-radius: 50px;
  background-size: cover;
  background-repeat: no-repeat;
  height: 600px;
}

.homepage_content_left {
  padding-left: 60px;
  padding-right: 60px;
}

.homepage_content_left h2{
  margin-top: 70px;
  font-weight: 600;
}

.homepage_content_left .btn {
  width: max-content;
}

/* --- Registration --- */

.node__meta{
  display: none;
}

article {
  width: 1280px;
  margin: 0 auto;
  margin-bottom: 100px;
}

/* check */
.webform-submission-form h4 {
  border-bottom: 1px solid var(--customer-primary-color);
  width: max-content;
  padding-bottom: 5px;
  margin-top: 50px;
  margin-bottom: 25px;
}

.webform-submission-form .form-control {
  border: 1px solid #949494;
  border-radius: 0px !important;
  width: 75% !important;
}

/* check */
.webform-submission-form textarea.form-control {
  width: 100% !important;
  resize: vertical;
}

.webform-flexbox{
  margin-bottom: 30px;
}

#edit-teilnahmebedingungen{
  width: 1em !important;
  border: 1px solid #949494 !important;
  border-radius: 0px !important;
}

.webform-multiple-add .btn {
  margin: 30px auto !important;
}

#edit-products-comp-items div{
    margin: 25px auto;
}

#edit-flexbox-10 {
  margin-bottom: 30px;
}

#edit-products-comp-items thead {
  display:none;
}

#edit-bankdaten, #edit-persoenliche-daten {
  margin-top: 60px;
}

.webform-submission-form .form-control:focus {
 box-shadow: 0 0 0 0.25rem rgba(0, 180, 213 0.25);
}

article h4 {
  border-bottom: 1px solid var(--customer-primary-color);
  width: max-content;
  padding-bottom: 5px;
}

#edit-kaufbeleg, #edit-add-upload {
  border: 1px solid #949494 !important;
  border-radius: 0px !important;
  width: 75% !important;
  padding: 0.2rem 0.75rem;
}

#edit-processed-text-01, #edit-actions {
  text-align: center;
  margin-bottom: 30px;
}

.js-form-item-kaufbeleg .form-managed-file .btn, .js-form-item-add-upload .form-managed-file .btn{
  padding: 5px 45px !important;
  font-size: 18px !important;
}

.registration_txt {
  margin: 20px 0 50px 0; 
}

/* check */
.webform-submission-form {
  width: 1280px;
  margin: 0 auto;
  margin-bottom: 100px;
  margin-top: 60px;
}

.webform-confirmation__back {
  text-align: center;
  margin-top: 50px;
}

.form-item--error-message::before{
  display: none;
}

.form-item--error-message {
  color: red;
  font-weight: 500;
}

.error {
  border: 1px solid red;
}

a {
  text-decoration: none !important;
}

a:hover{
  text-decoration: underline;
}

.form-item-kaufbeleg button, .form-item-add-upload button{
  padding: 5px 15px !important;
  font-size: 16px !important;
}

.webform-confirmation__back {
  display: none;
}

.form-item--error-message{
  border: none;
}

.form-item{
  margin-top: 0;
  margin-bottom: 0;
}

.webform-element-help{
  vertical-align: text-top !important;
}

.registration_subhead{
  margin-top: 50px;
  border-bottom: none;
}

.webform-submission-form .form-select:focus, .webform-submission-form .form-control:focus {
  box-shadow: none !important;
  border-color: var(--customer-secondary-color);
}

.table td{
  padding: 0 !important;
  border: none;
  width: 71%;
}

.table tr {
  margin-bottom: 20px;
  display: block;
}

.table .form-item {
  margin: 10px 0;
}

.table thead {
  display: none;
}

.responsive-enabled table thead {
  display: none;
}

.webform-multiple-table--operations {
  border: none !important;
  text-align: center !important;
}

.tippy-box{
  max-width: max-content !important;
  height: max-content;
}

/* check */
.webform-submission-form .form-control,
.webform-submission-form .form-select {
  width: 100% !important;
  max-width: 100% !important;
}

/* check */
.webform-submission-form .webform-flexbox {
  display: flex;
  gap: 40px;
  margin-bottom: 30px;
}

/* check */
.webform-submission-form .webform-flexbox > div {
  flex: 1;
}

/* check */
.webform-submission-form textarea.form-control {
  width: 100% !important;
  resize: vertical;
}

/* check */
.webform-submission-form .webform-flexbox:has([data-type="textarea"]),
.webform-submission-form .webform-flexbox:has([data-type="select"]) {
  flex-direction: column;
}

/* check */
.webform-submission-form .webform-flexbox:has([data-type="textarea"]) > div,
.webform-submission-form .webform-flexbox:has([data-type="select"]) > div {
  flex: none;
  width: 100%;
}



/* Serial Number Module On/Off*/

#edit-seriennummer{
  display: none;
}

.serial-number-label{
  display: none;
}


/* Additional Upload Module On/Off */

#edit-flexbox-11{
  display: none;
}

/* Terms and Conditions */

td, th {
  border-width: 1px;
  padding: 0 5px;
  min-width: 250px;
}

#aktionsprodukte_table{
  margin-bottom: 20px;
}

.teilnahmebedingungen_list{
  list-style-type: none;
}

#teilnahmebedingungen-ctn{
  margin-top: 100px;
  width: 1280px;
  margin: 100px auto 0 auto;
}

#teilnahmebedingungen-ctn h2 {
  margin-bottom: 50px;
}

#teilnahmebedingungen-ctn h4 {
  margin-bottom: 25px;
  margin-top: 40px;
}

.messages--error {
	display: none;
}



/* --- Mobile Design --- */

/* check */
@media (max-width: 768px) {
  .webform-submission-form {
    width: 100%;
  }
}

  body {
      overflow-x: hidden;
  }

  .homepage_content_left {
      padding-left: 0px;
      padding-right: 0px;
      order: 2;
  }

  #block-bootstrap5-tp-footer .navbar-nav {
      flex-direction: column !important;
      text-align: center;
  }

  .bg_img_div {
      background-image: var(--homepage_img_mobile);
      order: 0;
      height: 200px;
  }

  .container_home .row {
      flex-direction: column;
  }

  .btn {
      padding: 5px 60px;
      font-size: 20px;
      display: block;
      width: max-content;
      margin: 0 auto !important;
  }

  .homepage_bullet_list li {
      padding: 0 10px 20px 40px;
      font-size: 18px;
      margin-left: 10px;
  }

  .homepage_content_left h2{
      text-align: center;
  }

  article {
      width: 100%;
  }

@media (min-width: 770px) and (max-width:1400px ){
  .homepage_content_left{
      order: 2;
      width: 95% !important;
      margin: 0 auto;
      padding: 0px !important;

  }

  .container_home .row {
      flex-direction: column;
  }

  .bg_img_div{
      width: 100% !important;
  }
}