* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: url("../images/sv-background.jpg") no-repeat fixed;
  background-size: cover;
  overflow-x: hidden;
}

h1, h2, h3 {text-transform: uppercase;  font-family: 'Russo One', sans-serif;}

h1, .card-header {
  background:#0A6480;
  color:#fff;
  /*-webkit-clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 90%);
  clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 90%);*/

}

a {
  text-decoration: underline;
}

a:hover {
  text-decoration: none;
}

.jumbotron {
  padding:2rem 1rem;
  -webkit-clip-path: polygon(0% 0%, 100% 5%, 100% 100%, 0% 95%);
  clip-path: polygon(0% 0%, 100% 5%, 100% 100%, 0% 95%);

}

.card {
  background:transparent;
}

.faq ul li {
  list-style: none;
}

.faq a.list-group-item-action {
  border-width:0 0 1px 0;
  text-decoration: none;
  font-size: 0.8rem;
  transition: 0.3s;
}
.faq a.list-group-item-action:hover {
  text-decoration: underline;
  background:#0A6480;
  color:#fff;
}

.faq a.list-group-item-action:last-child {
  border-width:0;
}

.card-header {
}
.card-body {
  background:transparent;
}

.custom-control-input:checked~.custom-control-label::before {
  border-color: #0A6480;
  background-color:#0A6480;
}
.col-form-label {
  cursor: pointer;
}

.header__btn {
  transition-property: all;
  transition-duration: 0.2s;
  transition-timing-function: linear;
  transition-delay: 0s;
  padding: 10px 20px;
  display: inline-block;
  margin-right: 10px;
  background-color: #fff;
  border: 1px solid #0A6480;
  border-radius: 3px;
  cursor: pointer;
  outline: none;
}
.header__btn:last-child {
  margin-right: 0;
}
.header__btn:hover {
  color: #fff;
  background-color: #0A6480;
}

.header {
  /*max-width: 600px;
  margin: 50px auto;
  text-align: center;*/

}

.header__title {
  margin-bottom: 30px;
  font-size: 2.1rem;
}

#content {
  position:relative;
  background:#fff;
}

#content::before {
  content: "";
  background: #999 url("../images/background-3.jpg");
  background-repeat: no-repeat;
  background-position:  left top;
  background-size: cover;
  background-blend-mode: multiply;
  position: absolute;
  left:-600px;
  top:0;
  width:600px;
  height:100%;

}

#content::after {
  content: "";
  background: #999 url("../images/background-3.jpg");
  background-repeat: no-repeat;
  background-position:  left top;
  background-size: cover;
  background-blend-mode: multiply;
  position: absolute;
  right:-600px;
  top:0;
  width:600px;
  height:100%;
}


.content {
  width: 95%;
  margin: 0 auto 50px;
}

.content__title {
  margin-bottom: 40px;
  font-size: 20px;
  text-align: center;
}

.content__title--m-sm {
  margin-bottom: 10px;
}

.multisteps-form__progress-btn {
  transition-property: all;
  transition-duration: 0.10.3s;
  transition-timing-function: linear;
  transition-delay: 0s;
  position: relative;
  padding-top: 20px;
  color: rgba(108, 117, 125, 0.7);
  border: none;
  background-color: transparent;
  outline: none !important;
  cursor: default !important;
  display:block;
  width:100%;
  text-align: left;
  padding:0 0 0 15px;
  height:3rem;

}

.multisteps-form__progress-btn:before {
  position: absolute;
  left:0;
  top:50%;
  display: block;
  width: 13px;
  height: 13px;
  margin-top:-8px;
  content: '';
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
  transition: all 0.10.3s linear 0s, -webkit-transform 0.10.3s cubic-bezier(0.05, 1.09, 0.16, 1.4) 0s;
  transition: all 0.10.3s linear 0s, transform 0.10.3s cubic-bezier(0.05, 1.09, 0.16, 1.4) 0s;
  transition: all 0.10.3s linear 0s, transform 0.10.3s cubic-bezier(0.05, 1.09, 0.16, 1.4) 0s, -webkit-transform 0.10.3s cubic-bezier(0.05, 1.09, 0.16, 1.4) 0s;
  border: 2px solid #0A6480;
  border-radius: 50%;
  background-color: #fff;
  box-sizing: border-box;
  z-index: 3;
}
.multisteps-form__progress-btn:after {
  position: absolute;
  top: 0;
  left:0;
  width:2px;
  height:100%;
  transition-property: all;
  transition-duration: 0.10.3s;
  transition-timing-function: linear;
  transition-delay: 0s;
  display: block;
  content: '';
  background-color: #0A6480;
  z-index: 1;
}
.multisteps-form__progress-btn:first-child:after {
  height:50%;
  top:50%
}

.multisteps-form__progress-btn:last-child:after {
  height:50%;
  top:0
}
.multisteps-form__progress-btn.selected {
  color: #0A6480;
}
.multisteps-form__progress-btn.selected:before {
  -webkit-transform: translateX(-50%) scale(1.2);
          transform: translateX(-50%) scale(1.2);
  background-color: #0A6480;
}

.multisteps-form__form {
  position: relative;
  width: 100%;
}

.multisteps-form__panel {
  width: 100%;
}
.multisteps-form__panel.current {
  height: auto;
}

label.required:after {
  content:"*";
  color:red;
  position:relative;
  top:3px;
  left:5px;
}

label.optional:after {
  content:"(volitelné)";
  font-size: 0.8rem;
  position:relative;
  left:5px;
  color:#999;
}


.files input {
    outline: 2px dashed #999;
    outline-offset: -10px;
    -webkit-transition: outline-offset .10.3s ease-in-out, background-color .10.3s linear;
    transition: outline-offset .10.3s ease-in-out, background-color .10.3s linear;
    -moz-transition: outline-offset .10.3s ease-in-out, background-color .10.3s linear;
    -o-transition: outline-offset .10.3s ease-in-out, background-color .10.3s linear;
    padding: 80px 0 80px 30%;
    text-align: center;
    margin: 0;
    width: 100% !important;
    height:auto !important;

}
.files input:focus{
    /*outline: 2px dashed #ffffff;
    outline-offset: -10px;*/
    -webkit-transition: outline-offset .10.3s ease-in-out, background-color .10.3s linear;
    transition: outline-offset .10.3s ease-in-out, background-color .10.3s linear; border:1px solid #92b0b3;
    -moz-transition:: outline-offset .10.3s ease-in-out, background-color .10.3s linear; border:1px solid #92b0b3;
    -o-transitio: outline-offset .10.3s ease-in-out, background-color .10.3s linear; border:1px solid #92b0b3;
 }
.files{ position:relative}
.files:after {  pointer-events: none;
    position: absolute;
    top: 30px;
    left: 30%;
    font-family: "FontAwesome";
    content: "\f019";
    font-size: 30px;
    display: block;
    margin: 0 auto;
    background-size: 100%;
    background-repeat: no-repeat;
    text-align: left;
    line-height: 1;
}
.color input{background-color:#f1f1f1;}
.files:before {
    position: absolute;
    top: 30px;
    left: 40%;
    pointer-events: none;
    content: "Přetáhněte soubory";
    display: inline-block;
    text-align: left;
    line-height: 30px;
}

input.parsley-success,
select.parsley-success,
textarea.parsley-success {
  color: #468847;
  background-color: #DFF0D8;
  border: 1px solid #D6E9C6;
}

input.parsley-error,
select.parsley-error,
textarea.parsley-error {
  color: #B94A48;
  background-color: #F2DEDE;
  border: 1px solid #EED3D7;
}

.parsley-errors-list {
  margin: 2px 0 3px;
  padding: 0;
  list-style-type: none;
  font-size: 0.9em;
  line-height: 0.9em;
  opacity: 0;
  color: #B94A48;

  transition: all .3s ease-in;
  -o-transition: all .3s ease-in;
  -moz-transition: all .3s ease-in;
  -webkit-transition: all .3s ease-in;
}

.parsley-errors-list.filled {
  opacity: 1;
}
#calendardelivery {
  overflow-x:scroll;
  overflow-y:hidden;
  flex-wrap: nowrap;
  display:flex;
}

.calendar-item {
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 6px 10px rgba(0,0,0,.08), 0 0 6px rgba(0,0,0,.05);
  transition: .3s transform cubic-bezier(.155,1.105,.295,1.12),.3s box-shadow,.3s -webkit-transform cubic-bezier(.155,1.105,.295,1.12);
  cursor: pointer;
  width:100px;
  margin:0 15px 15px 0;
  /*float:left;
  display: inline-block;*/
  flex: 0 0 auto;
  text-align:center;
}

.calendar-item .card-body {
  font-size:3rem;
  line-height:1;
  font-weight:bold;
  padding:1rem;
  white-space:nowrap;
}

.calendar-item:hover{
  /*transform: scale(1.05);*/
  box-shadow: 0 10px 20px rgba(0,0,0,.12), 0 4px 8px rgba(0,0,0,.06);
}

.calendar-item.selected, .delivery-type.selected {
  border-color:#007bff;
}

/* Tooltip container */
.form_tooltip {
  position: relative;
  display: inline-block;
  opacity:1;
  padding-left:15px;
}
.form_tooltip small {
  border-bottom:1px solid #6c757d;
  cursor:pointer;
}

/* Tooltip text */
.form_tooltip .form_tooltiptext {
  width: 100%;
  background-color: black;
  color: #fff;
  text-align: center;
  padding: 15px;
  border-radius: 6px;
  position: absolute;
  z-index: -1;
  opacity:0;
  transition: opacity 300ms;
}

.form_tooltiptext-bottom  {
  top: 100%;
  left: 0;
}

.form_tooltiptext img {
  width:100%;
  margin:0;
  display:block;
}

.form_tooltip:hover {
  display: block;
}

.form_tooltip:hover .form_tooltiptext {
  opacity:1;
  z-index: 1;
}

.form_tooltip .form_tooltiptext::after {
  content: " ";
  position: absolute;
  bottom: 100%;  /* At the top of the tooltip */
  left: 30px;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: transparent transparent black transparent;
}


@media (min-width: 576px) {

  .container {
    max-width:100%;
    width:100%;
  }

  .multisteps-form__progress {
    display: grid;
  /*grid-template-columns: repeat(auto-fit, minmax(0, 1fr));*/
    grid-template-columns: 1fr 1fr 1fr;
    grid-column-gap: 0;
    grid-template-areas: "grid1 grid2 grid3";
    display: -ms-grid;
    -ms-grid-columns: 1fr 1fr 1fr;
  }
    .grid-area-1 {
    grid-area: grid1;
    -ms-grid-row: 1;
    -ms-grid-column: 1;
   }
    .grid-area-2 {
     grid-area: grid2;
    -ms-grid-row: 1;
    -ms-grid-column: 2;

   }
    .grid-area-3 {
    grid-area: grid3;
    -ms-grid-row: 1;
    -ms-grid-column: 3;
   }

  .multisteps-form__progress-btn {
    padding:20px 0 0 0;
    display:block;
    height:auto;
    text-align: center;
  }

  .multisteps-form__progress-btn:before {
    top: 0;
    left: 50%;
    margin-top:0;
  }
  .multisteps-form__progress-btn:after {
    left: calc(-50% - 13px / 2);
    top:5px;
    width: 100%;
    height: 2px;
  }

  .multisteps-form__progress-btn:first-child:after {
  display:none;
  }

  .multisteps-form__progress-btn:last-child:after {
    top:5px;
    height: 2px;
  }


}
@media (min-width: 768px) {
  .container {
    max-width:720px;
  }
}

@media (min-width: 992px) {
  .container {
    max-width:960px;
  }
}