
.field-wrapper {
  position: relative;
  display        : flex;
  justify-content: center;
  gap            : 6%;
}

.field-inner {
  width   : 47%;
  position: relative;
  padding-top: 20px;
}

.field-select {
  width   : 100%;
  position: relative;
  padding-top: 20px;
}
#advice .field-select option{
  background-color: #0d2b26;
}
.label {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
}
.label-one{
  display: block;
  position: absolute;
  top: -30px;
  left: 0;
  color: #F6FBF4;
  z-index: 2;
}
.field-select .label{
  position: relative;
  font-weight: 600;
  font-size: 20px;
}
.wpcf7-not-valid-tip {
  position   : absolute;
  left: -9999px;
  top: -9999px;
  font-size  : 10px !important;
  line-height: 10px !important;
  color: #e51a31 !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.wpcf7-response-output {
  border     : none !important;
  position   : absolute;
  padding    : 0;
  bottom     : -70px;
  z-index    : 5;
  width      : 100%;
  font-size  : 14px !important;
  line-height: 110% !important;
  padding    : 0 !important;
}

#form-footer .wpcf7-not-valid {
  border: 2px solid #e51a31 !important;
}

.dp-row {
  margin-bottom: 0px !important;
}

.wpcf7-list-item {
  margin: 0;
}

.checked {
  margin-top : -10px !important;
  line-height: 0;
  cursor:pointer;
}
#kontakty .checked,
#advice .checked,
#form-fixed .checked{
  margin-top : 20px !important;
}
#advice .checked{
text-align: center;

}
.checked .dp-col {
  cursor       : pointer;
  padding-left : 0 !important;
  padding-right: 0 !important;
}

.checked-label span {
  font-size: 12px !important;
}

.checked span::before {
  font-size: 16px !important;
}

.link {
  color    : #f6fbf4;
  font-size: 12px !important;
}

.checked-label:hover .link {
color: #38a793;
}

.fieldset-cf7mls-wrapper div.wpcf7-validation-errors {
  color: #e51a31 !important;
}

@media only screen and (max-width: 767px) {

  .wpcf7-not-valid-tip {
    font-size  : 8px !important;
    line-height: 8px !important;
  }

  .field-wrapper {
    flex-direction: column;
    gap: 20px;
  }
  .field-inner {
    width   : 100%;
  }
  .checked {
    margin-top: -30px !important;
  }

  .wpcf7-response-output {
    bottom: -70px;
  }
}

@media only screen and (max-width: 510px) {

  .checked-label span {
    font-size: 10px !important;
  }

  .link {
    font-size: 10px !important;
  }
}


  .contact-open {
    -moz-animation: cycle 4s linear infinite;
    -webkit-animation: cycle 4s linear infinite;
  }

  @-moz-keyframes cycle {
    35% {
      transform: rotate(0) translate(0, 0);
    }

    40% {
      transform: rotate(5deg) translate(0, -2px);
    }

    45% {
      transform: rotate(-3deg) translate(0, -2px);
    }

    50% {
      transform: rotate(5deg) translate(0, -2px);
    }

    55% {
      transform: rotate(-3deg) translate(0, -2px);
    }

    60% {
      transform: rotate(5deg) translate(0, -2px);
    }

    65% {
      transform: rotate(-3deg) translate(0, -2px);
    }

    70% {
      transform: rotate(0) translate(0, 0);
    }
  }

  @-webkit-keyframes cycle {
    35% {
      transform: rotate(0) translate(0, 0);
    }

    40% {
      transform: rotate(5deg) translate(0, -2px);
    }

    45% {
      transform: rotate(-3deg) translate(0, -2px);
    }

    50% {
      transform: rotate(5deg) translate(0, -2px);
    }

    55% {
      transform: rotate(-3deg) translate(0, -2px);
    }

    60% {
      transform: rotate(5deg) translate(0, -2px);
    }

    65% {
      transform: rotate(-3deg) translate(0, -2px);
    }

    70% {
      transform: rotate(0) translate(0, 0);
    }
  }

  .section-open {
    position: fixed;
    bottom: 170px;
    opacity: 0;
    z-index: -1;
   left: -800px;
    transition: all .5s;
  }

  .section-open-active {
    z-index: 99;
   left:  0px;
    opacity: 1;
    transition: all .5s;
  }

  #form-fixed .link {
    color: #0c1307;
    font-size: 12px !important;
  }

  #form-fixed .checked-label:hover .link {
    color: #38a793;
  }

  .contact-open {
    opacity: 0;
    transition: all .5s;
  }

  .contact-open.active {
    opacity: 1;
    transition: all .5s;
  }

  @media only screen and (max-width: 767px) {
    .section-open {
      bottom: 100px;
    }

    .contact-open {
      -moz-animation: none;
      -webkit-animation: none;
    }

  }


  #footer-phone:hover h3 {
    color: #38a793 !important;
  }

  #footer-mail:hover h3 {
    color: #38a793 !important;
  }

  #button-footer .et_pb_module_inner {
    position       : relative;
    display        : flex;
    justify-content: flex-start;
    gap            : 3vw;
  }

  @media only screen and (max-width: 1270px) {
    #footer-inner {
      display       : flex;
      flex-direction: column-reverse;
    }

    #footer-inner .et_pb_column {
      width: 100%;
    }
  }


  @media only screen and (max-width: 490px) {
    #button-footer {
      margin-bottom: 30px !important;
    }

    #button-footer .et_pb_module_inner {
      flex-direction: column;
      gap           : 3vw;
    }

    #button-footer .et_pb_module_inner a {
      max-width : 100%;
      width     : 100%;
      text-align: center;
    }

  }