/* Fixes */

form a{
  color: #F0650D !important;
  text-decoration: underline !important;
}

.pic-design {
  background-size: auto;
}

.banner-small .s-banner-text {
    font-size: 14px;
    letter-spacing: 0px !important;
    line-height: 26px;
}

h5.text-center{
  padding-bottom: 50px;
}

.filter-button {
  margin: 0 5px 10px;
  border-radius: 20px;
  padding: 6px 18px;
  font-size: 14px;
}

.faq-accordion {
  background-color: #f6f6f6;
  color: #333;
  cursor: pointer;
  padding: 15px 20px;
  width: 100%;
  border: none;
  text-align: left;
  font-size: 16px;
  font-weight: bold;
  transition: background-color 0.3s ease;
  margin-bottom: 5px;
  border-radius: 6px;
}
.faq-accordion:hover {
  background-color: #eaeaea;
}

.faq-panel {
  padding: 0 20px 15px 20px;
  background-color: #fff;
  display: none;
  overflow: hidden;
  border-radius: 0 0 6px 6px;
  border: 1px solid #ddd;
  border-top: none;
  font-size: 14px;
  line-height: 1.5;
}

a.a-btn.type-2 {
    padding: 11px 25px;
}
.color-background-darker{
    background-color: rgb(73, 73, 73);
}

.s-banner-title.head-text.font-4 {
  line-height: 1.8;
}

.font-color-dark {
    color: rgb(73, 73, 73) !important;
}

.heading-title-smaller {
    font-size: 30px !important;
    color: black !important;
}

.padding-top {
    padding-top: 5%;
}

.text-deco {
    color: #F0650D !important;
    font-weight: 800 !important;
    max-width: 795px !important;
    font-size: 18px !important;
    line-height: 28px !important;
    letter-spacing: -.1px !important;
}

.text-deco-dark {
    font-weight: 800 !important;
    max-width: 795px !important;
    font-size: 18px !important;
    color: #666666 !important;
    line-height: 28px !important;
    letter-spacing: -.1px !important;
}

input, textarea, select, .form-control {
-webkit-appearance: auto !important;
border-radius: 0;
outline: none;
border: 0px none;
outline: none;
transition: all 0.3s ease-in;
-moz-transition: all 0.3s ease-in;
-o-transition: all 0.3s ease-in;
-webkit-transition: all 0.3s ease-in;
-ms-transition: all 0.3s ease-in;
background: none;
}

/* Style inputs with type="text", select elements and textareas */
input[type=text], select, textarea, .form-control{
  width: 100%; /* Full width */
  padding: 12px; /* Some padding */ 
  border: 1px solid #ccc; /* Gray border */
  border-radius: 4px; /* Rounded borders */
  box-sizing: border-box; /* Make sure that padding and width stays in place */
  margin-top: 6px; /* Add a top margin */
  margin-bottom: 16px; /* Bottom margin */
  resize: vertical /* Allow the user to vertically resize the textarea (not horizontally) */
}

/* Style the submit button with a specific background color etc */
input[type=submit] {
  background-color: #04AA6D;
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

/* When moving the mouse over the submit button, add a darker green color */
input[type=submit]:hover {
  background-color: #45a049;
}

/* Add a background color and some padding around the form */
.container {
  border-radius: 5px;
  padding: 20px;
}

/* The container must be positioned relative: */
.custom-select {
  position: relative;
}

.custom-select select {
  display: none; /*hide original SELECT element: */
}

.select-selected {
  background-color: DodgerBlue;
}

/* Style the arrow inside the select element: */
.select-selected:after {
  position: absolute;
  content: "";
  top: 14px;
  right: 10px;
  width: 0;
  height: 0;
  border: 6px solid transparent;
  border-color: #fff transparent transparent transparent;
}

/* Point the arrow upwards when the select box is open (active): */
.select-selected.select-arrow-active:after {
  border-color: transparent transparent #fff transparent;
  top: 7px;
}

/* Style items (options): */
.select-items {
  position: absolute;
  background-color: DodgerBlue;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 99;
}

/* Hide the items when the select box is closed: */
.select-hide {
  display: none;
}

.select-items div:hover, .same-as-selected {
  background-color: rgba(0, 0, 0, 0.1);
}

.form-control {
    padding-right: 5% !important;
}

.container.form-blog.bg-c-1 {
    font-size: 14px !important;
}


#id_company_size {
    margin-bottom: 2%;
}

.gallery-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: white !important;
}

.a-btn {
    font-size: 12px;
    display: inline-block;
    background: #F0650D;
    color: white;
    /* padding: 11px 25px; */
    border: 1px solid #F0650D;
    border-radius: 4px;
    letter-spacing: -.2px;
    margin: 2%;
}

@media only screen and (max-width: 600px) {
  h1 {
    font-size: 38px !important;
  }
}

p {
  font-size: 18px !important;
}

.service-block.t-center {
  height: 500px !important;
}

#id_confirm_authority {
  float: left !important;
}

input[type=text] .form-control {
    width: 0% !important;
    padding: 0px !important;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    margin-top: 6px;
    margin-bottom: 16px;
    resize: vertical /* Allow the user to vertically resize the textarea (not horizontally) */;
}

.a-header .navigation nav > ul > li > a
 {
    /* height: inherit; */
    vertical-align: middle;
    display: table-cell;
    font-weight: 400;
    font-size: 18px;
    letter-spacing: -.4px;
}

div:has(>#id_confirm_newsletter) {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: .8em;
  align-items: start;
}
div:has(>#id_confirm_newsletter) #id_confirm_newsletter { grid-column: 1; margin-top: -2.4em; }
div:has(>#id_confirm_newsletter) label[for="id_confirm_newsletter"] { grid-column: 2; margin: 0; }

div:has(>#id_confirm_authority) {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: .8em;
  align-items: start;
}
div:has(>#id_confirm_authority) #id_confirm_authority { grid-column: 1; margin-top: -1.0em; }
div:has(>#id_confirm_authority) label[for="id_confirm_authority"] { grid-column: 2; margin: 0; }

.errorlist li {
  color: red;
  font-size: 14px;
}

#datenschutz p, #datenschutz li {
    font-size: 16px !important;
    line-height: 1.6em;
    margin-bottom: 15px;
}
#datenschutz li {
    margin-bottom: 15px;
}
#datenschutz strong {
    font-weight: 900;
}

/* Application register PopUp */
.application-popup-content .mfp-close {
    padding-top: 0 !important;
    margin-top: -40px !important;
    margin-right: -60px !important;
    right: 44px !important;
    padding: 10px !important;
    line-height: 10px !important;
}

.application-popup-content .application-details img {
    max-height: 150px;
    max-width: 250px;
}

.application-popup-content .application-details li {
    padding-bottom: 6px;
}

.application-popup-content .application-details span {
    font-size: 16px;
}

.application-popup-content .application-details .title {
    padding-right: 10px;
    font-weight: bold;
}

.application-popup {
  background-size: cover !important;
}

#portfolioGrid .gallery-block h5.text-center{
  min-height: 90px;
}

@media (max-width: 768px) {
  .application-details li {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .application-details .title,
  .application-details .text {
    display: block;
    width: 100%;
  }
}
