@import url('https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@300;400;700&display=swap');

body{
    color:#333;
    font-family: 'Roboto Slab', serif;
    font-size:18px;
}
.clearfix{
    clear:both;
    width: 100%;
}

.container{
    max-width: 95%;
    margin:0 auto;
}

.logo-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 25px;
}

.logo-wrapper .logo-img-wrapper img {
    width: 230px;
}

.logo-img-wrapper.logo-sx {
    margin-right: 25px;
}

.errore{
    display: none;
    background: #b50000;
    color: #fff;
    text-align: center;
    padding: 15px;
    margin: 0 0 15px 0;
}
.errore.show{
    display: block;
}

img.logo {
    display: block;
    margin: 30px auto;
}

.step-50 {
    width: 50%;
    float: left;
    padding: 15px;
    background: #eee;
    box-sizing: border-box;
    border: 1px solid #fff;
    height: 372px;
}

.step-title {
    text-align: center;
    font-size: 25px;
    margin-bottom: 20px;
}

div#datepicker {
    width: 332px;
    font-size: 18px;
    margin: 0 auto;
}

ul#time {
    list-style: none;
    margin: 0;
    padding: 0;
}
ul#time.disabilitato{
    opacity: .5;
}

ul#time li {
    text-align: center;
    padding: 13px 6px;
    background: #fff;
    border-bottom: 1px solid #fff;
    cursor: pointer;
}

ul#time li.libero {
    background: #00b727;
    color: #fff;
}
ul#time li.occupato {
    background: #b50000;
    color: #fff;
}
ul#time li.attivo {
    background: #3498db;
    color: #fff;
}

label {
    display: block;
    font-size: 14px;;
}
input {
    border: 1px solid #ccc;
    padding: 10px;
    width: calc(100% - 20px);
    margin-bottom: 20px;
}

.form-50 {
    width: calc(50% - 10px);
    float: left;
    box-sizing: border-box;
    margin-right: 20px;
}
.form-50-2 {
    margin-right: 0;
}
.riepilogo {
    margin-top: 13px;
    clear: both;
}
.riepilogo-space{
    margin-top:35px;
}
a.ui-state-default {
    text-align: center !important;
}

.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active, a.ui-button:active, .ui-button:active, .ui-button.ui-state-active:hover {
    background: #3498db !important;
}
.step-2,
.step-3{
    display: none;
}
.btn {
    background: #3498db;
    color: #fff;
    padding: 15px;
    text-align: center;
    text-transform: uppercase;
    margin: 15px 0 0 0;
    border-radius: 6px;
    cursor: pointer;
}
.step-2-indietro.btn-small {
    text-align: center;
    margin: 15px 0;
    color: #3498db;
    cursor: pointer;
}

.success-title {
    text-align: center;
    font-size: 31px;
    margin-bottom: 15px;
}
.success-text {
    text-align: center;
    margin-bottom: 30px;
}
.lg {
    position: absolute;
}

.lg img {
    height: 22px;
}

.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default, .ui-button, html .ui-button.ui-state-disabled:hover, html .ui-button.ui-state-disabled:active {
    background: transparent;
    border: 0;
    text-align: center;
}

.ui-widget.ui-widget-content {
    border: 0;
    border-radius: 0;
    padding: 0;
}

.ui-datepicker .ui-datepicker-header {
    border-radius: 0;
    background: transparent;
    border: 0;
}

.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active, a.ui-button:active, .ui-button:active, .ui-button.ui-state-active:hover {
    background: #3498db;
}

.ui-state-hover, .ui-widget-content .ui-state-hover, .ui-widget-header .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus, .ui-widget-header .ui-state-focus, .ui-button:hover, .ui-button:focus {
    background: transparent;
    border: 0;
}
.ui-datepicker .ui-datepicker-prev span {
    background-image: url(../img/left-arrow.png);
    background-position: center;
    cursor: pointer;
}

.ui-datepicker .ui-datepicker-next span {
    background-image: url(../img/right-arrow.png);
    background-position: center;
    cursor: pointer;
}
.ui-datepicker .ui-datepicker-next-hover {
    right: 2px;
    top:2px;
}
.ui-datepicker .ui-datepicker-prev-hover {
    left: 2px;
    top:2px;
}


#loader{
    position: fixed;
    z-index: 999;
    background: rgba(0,0,0,0.5);
    width: 100%;
    height: 100%;
    top:0;
    left:0;
    display: none;
    align-items: center;
    justify-content: center;
}

.lds-ring {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
  }
  .lds-ring div {
    box-sizing: border-box;
    display: block;
    position: absolute;
    width: 64px;
    height: 64px;
    margin: 8px;
    border: 8px solid #fff;
    border-radius: 50%;
    animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    border-color: #fff transparent transparent transparent;
  }
  .lds-ring div:nth-child(1) {
    animation-delay: -0.45s;
  }
  .lds-ring div:nth-child(2) {
    animation-delay: -0.3s;
  }
  .lds-ring div:nth-child(3) {
    animation-delay: -0.15s;
  }
  @keyframes lds-ring {
    0% {
      transform: rotate(0deg);
    }
    100% {
      transform: rotate(360deg);
    }
  }
  
@media only screen and (max-width: 768px) {
    .container {
        max-width: 100%;
        padding: 10px;
    }
    .step-50 {
        width: 100%;
        height: auto;
    }
    div#datepicker {
        width: 100%;
        font-size: 15px;
    }

    .logo-wrapper {
        flex-direction: column;
    }

    .logo-img-wrapper.logo-sx {
        margin-right: 0;
    }

    .logo-img-wrapper.logo-sx img {
        margin-bottom: 0;
    }

    .logo-wrapper .logo-img-wrapper img {
        width: 195px;
    }
}