/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */


/*form styles*/
#msform {
    text-align: center;
    position: relative;
}
#msform fieldset {
    background: white;
    border: 0 none;
    border-radius: 3px;
    padding: 0px;
    box-sizing: border-box;
    width: auto;
    margin: 0;

    /*stacking fieldsets above each other*/
    position: relative;
}
/*Hide all except first fieldset*/
#msform fieldset:not(:first-of-type) {
    display: none;
}
/*inputs*/
#msform input, #msform textarea {
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 3px;
    margin-bottom: 10px;
    width: 100%;
    box-sizing: border-box;
    font-family: montserrat;
    color: #2C3E50;
    font-size: 13px;
    background-color: #FFFFFF;
    font-weight: 300;
}
#msform textarea {
  min-height: 120px;
}
/*buttons*/
#msform .action-button {
    width: 150px;
    background-color: #232323;
    font-weight: 300;
    color: white;
    border: 0 none;
    border-radius: 1px;
    cursor: pointer;
    padding: 15px 10px;
    margin: 10px 5px;
    border: 2px solid #232323;
    text-transform: uppercase
}
#msform .action-button:hover, #msform .action-button:focus {
    background-color: #FFFFFF !important;
    color: #232323;
    border: 2px solid #232323;
}
/*headings*/
.fs-title {
    font-size: 15px;
    text-transform: uppercase;
    color: #2C3E50;
    margin-bottom: 10px;
}
.fs-subtitle {
    font-weight: normal;
    font-size: 13px;
    color: #666;
    margin-bottom: 20px;
}
/*progressbar*/
#progressbar {
    margin-bottom: 30px;
    overflow: hidden;
    /*CSS counters to number the steps*/
    counter-reset: step;
}
#progressbar li {
    list-style-type: none;
    color: white;
    text-transform: uppercase;
    font-size: 9px;
    width: 33.33%;
    float: left;
    position: relative;
}
#progressbar li:before {
    content: counter(step);
    counter-increment: step;
    width: 20px;
    line-height: 20px;
    display: block;
    font-size: 10px;
    color: #333;
    background: white;
    border-radius: 3px;
    margin: 0 auto 5px auto;
}
/*progressbar connectors*/
#progressbar li:after {
    content: '';
    width: 100%;
    height: 2px;
    background: white;
    position: absolute;
    left: -50%;
    top: 9px;
    z-index: -1; /*put it behind the numbers*/
}
#progressbar li:first-child:after {
    /*connector not needed before the first step*/
    content: none;
}
/*marking active/completed steps green*/
/*The number of the step and the connector before it = green*/
#progressbar li.active:before,  #progressbar li.active:after{
    background: #27AE60;
    color: white;
}

.select {
    width: 100%;
    cursor:pointer;
    display:inline-block;
    position:relative;
    font:normal 11px/22px Arial, Sans-Serif;
    color:black;
    border:1px solid #ccc;
}
.styledSelect {
    position:absolute;
    top:0;
    right:0;
    bottom:0;
    left:0;
    background-color:white;
    padding:0 10px;
    font-weight:bold;
}
.styledSelect:after {
    content:"";
    width:0;
    height:0;
    border:5px solid transparent;
    border-color:black transparent transparent transparent;
    position:absolute;
    top:9px;
    right:6px;
}
.styledSelect:active, .styledSelect.active {
    background-color:#eee;
}
.options {
    display:none;
    position:absolute;
    top:100%;
    right:0;
    left:0;
    z-index:999;
    margin:0 0;
    padding:0 0;
    list-style:none;
    border:1px solid #ccc;
    background-color:white;
    -webkit-box-shadow:0 1px 2px rgba(0, 0, 0, 0.2);
    -moz-box-shadow:0 1px 2px rgba(0, 0, 0, 0.2);
    box-shadow:0 1px 2px rgba(0, 0, 0, 0.2);
}
.options li {
    padding:0 6px;
    margin:0 0;
    padding:0 10px;
}
.options li:hover {
    background-color:#39f;
    color:white;
}

#msform li {
    list-style: none;
}

#msform .error {
    border-color: #9a1818;
}

.privacy.error, .trattamento.error {
    color: #9a1818;
    font-weight: 500;
}

/* Reset Select */
.select select {
    -webkit-appearance: none;
    -moz-appearance: none;
    -ms-appearance: none;
    appearance: none;
    outline: 0;
    box-shadow: none;
    border: 0 !important;
    background: #f5f5f5;
    background-image: none;
}
/* Remove IE arrow */
.select select::-ms-expand {
    display: none;
}
/* Custom Select */
.select {
    position: relative;
    display: flex;
    width: 100%;
    height: 60px;
    line-height: 3;
    background: #f5f5f5;
    overflow: hidden;
    border-radius: .25em;
    margin-bottom: 10px;
}
.select select {
    flex: 1;
    padding: 15px;
    color: #232323;
    cursor: pointer;
    background-color: #FFFFFF;
    font-family: 'Montserrat', arial, helvetica, sans-serif !important;
    font-size: 13px !important;
    font-weight: 300
}
/* Arrow */
.select::after {
    content: '\f107';
    font-family: "FontAwesome";
    position: absolute;
    top: 0;
    right: 0;
    padding: 0px 1em;
    background: #FFFFFF;
    cursor: pointer;
    pointer-events: none;
    -webkit-transition: .25s all ease;
    -o-transition: .25s all ease;
    transition: .25s all ease;
    font-size: 20px
}
/* Transition */
.select:hover::after {
    color: #f39c12;
}

.hidden {
    display: none;
}
div.tel {
    display: flex;
    gap: 20px;
    flex-direction: row;
    flex-wrap: nowrap;
}
.spinning {
    position: absolute;
    top: 0; left: 0; bottom: 0; right: 0;
    margin: auto;
    background: #ffffff;
    width: 100%;
    height: 100%;
    opacity: .7;
    display: none;
}

::-webkit-input-placeholder {
    color: #777 !important;
}
::-moz-placeholder { /* Firefox 19+ */
    color:  #777;
}
:-ms-input-placeholder {
    color:  #777 !important;
}
:-moz-placeholder { /* Firefox 18- */
    color:  #777 !important;
}
::-moz-placeholder {          /* Firefox 19+ */
    color:  #777 !important;
}

.iti {
    width: 100%;
    margin-bottom: 10px;
}

 input#phone, input#phone2 {
    padding-left: 50px;
}

 input.debug {
     border-color: red !important;
 }

label.debug {
    font-weight: bold;
    /* text-align: left; */
    float: left;
}