﻿/* Style the form */
#caseForm {
  margin: 0 auto;
  min-height: 600px;
}
.btn-reset {
  border: 1px solid #c2c5cc !important;
  height: calc(1.5em + .5rem + 1px) !important;
  background-color: #e9ecef;
  color: #646b71;
}
.btn-reset:hover {
  color: #ff0000;
}
.anchor:before {
  display: inline-block;
  height: 110px;   /* equal to the header height */
  margin-top: -110px;  /* negative margin equal to the header height */
  visibility: hidden;
  content: "";
}
.display-error a {
  color: #fff;
  text-decoration: none;
}
h2 {
  font-size: 24px;
  padding-bottom: 20px;
}
.modal-header, .modal-footer {
  border:none;
}
/* Style the input fields */

form .alert-danger {
    color: #f8f9fa;
    background-color: #de4856;
    border-color: #f5c6cb;
}

form .alert {
    padding: .75rem 0rem;
}

form .invalid-tooltip ul {
    padding-left: 20px;
    padding-right: 10px;
}

.icon{
  height: 120px;
}
.icon_mini{
  height: 50px;
}
/* Mark input boxes that gets an error on validation: */

.custom-file-label, .custom-file-label::after {
  height: auto;
  padding-top: 2px;
  padding-bottom: 2px;
  content: "Wybierz"
}
.in{
  display:inline-flex !important;
}
.required:after {
  content:" *";
  color:#ff1b1b;
}


textarea:valid, input:valid {
    border: 1px solid #c2c5cc !important;
}
.custom-control-input.is-valid~.custom-control-label, .was-validated .custom-control-input:valid~.custom-control-label {
    color: #000 !important;
}
.custom-control-input.is-valid:checked~.custom-control-label::before, .was-validated .custom-control-input:valid:checked~.custom-control-label::before {
    border-color: #adb6bf !important;
    background-color: #017cff !important;
}
.custom-control-input.is-valid~.custom-control-label::before, .was-validated .custom-control-input:valid~.custom-control-label::before {
    border-color: #aeb6be !important;
}

/* Hide all steps by default: */
.tab {
  display: none;
}

/* Make circles that indicate the steps of the form: */

.wrapper {
  margin-bottom: 50px;
  width: 100%;
  text-align: center;
}

.steps {
  position: relative;
  display: inline-flex;
  justify-content: space-between;
  width: 70%;
}

.line {
  position: absolute;
  left: 0;
  top: 50%;
  height: 1px;
  background: #e1e1e1;
  content: "";
  width: 100%;
  display: block;
  z-index: 0;
}
.step {
  height: 50px;
  width: 50px;
  background-color: #e1e1e1;
  border: none;
  padding-top: 9px;
  border-radius: 50%;
  display: inline-block;
  color: #fff;
  font-size: 20px;
  z-index: 1;
}
.step:first-child {
  margin-left: 0;
}
.step:last-child {
  margin-right: 0;
}
.step:last-child::after {
  color: #000;
  position: relative;
  margin-top:12px;
  display: block;
  font-size: 12px;
  white-space: nowrap;
  content: "WYŚLIJ";
}

/* Mark the active step: */
.step.active {
  background-color: #5fb0ff;
}
.step.active::after {
    color: #5fb0ff;
    position: relative;
    margin-top:12px;
    display: block;
    font-size: 12px;
    white-space: nowrap;
    content: "TU JESTEŚ";
}


/* Mark the steps that are finished and valid: */
.step.finish {
  background-color: #182a72;
}
.step.finish::after {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: #182a72;
    position: relative;
    margin-top:12px;
    display: block;
    font-size: 12px;
    white-space: nowrap;
    content: "\f00c";
}
.nextPrev {
  position: relative;
    text-align: center;
    margin: 30px auto;
}
