::-webkit-scrollbar {
    width: 8px;
}
/* Track */
::-webkit-scrollbar-track {
    background: #f1f1f1; 
}
    
/* Handle */
::-webkit-scrollbar-thumb {
    background: #888; 
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #555; 
} * {
margin: 0;
padding: 0;
}

html {
height: 100%;
/* background-color: #9C27B0;
background-image: linear-gradient(120deg, #FF4081, #81D4FA); */
}

/*Background color*/
#grad1 {
/* background-color: #9C27B0;
background-image: linear-gradient(120deg, #FF4081, #81D4FA);  */
}

/*form styles*/
#msform {
text-align: center;
position: relative;
margin-top: 20px;
}

#msform fieldset .form-card {
background: white;
border: 0 none;
border-radius: 0px;
/*  box-shadow: 0 2px 2px 2px rgba(0, 0, 0, 0.2); */
padding: 20px 40px 30px 40px;
box-sizing: border-box;
width: 94%;
margin: 0 3% 20px 3%;

/*stacking fieldsets above each other*/
position: relative;
}

#msform fieldset {
background: white;
border: 0 none;
border-radius: 0.5rem;
box-sizing: border-box;
width: 100%;
margin: 0;
padding-bottom: 20px;

/*stacking fieldsets above each other*/
position: relative;
}

/*Hide all except first fieldset*/
#msform fieldset:not(:first-of-type) {
display: none;
}

#msform fieldset .form-card {
text-align: left;
color: #9E9E9E;
}

#msform input, #msform textarea {
padding: 0px 8px 4px 8px;
border: none;
border-bottom: 1px solid #ccc;
border-radius: 0px;
margin-bottom: 25px;
margin-top: 2px;
width: 100%;
box-sizing: border-box;
font-family: montserrat;
color: #2C3E50;
font-size: 16px;
letter-spacing: 1px;
}

#msform input:focus, #msform textarea:focus {
-moz-box-shadow: none !important;
-webkit-box-shadow: none !important;
box-shadow: none !important;
border: none;
font-weight: bold;
border-bottom: 2px solid skyblue;
outline-width: 0;
}

/*Blue Buttons*/
#msform .action-button {
width: 120px;
background: skyblue;
font-weight: bold;
color: white;
border: 0 none;
border-radius: 0px;
cursor: pointer;
padding: 10px 5px;
margin: 10px 5px;
}

#msform .action-button:hover, #msform .action-button:focus {
box-shadow: 0 0 0 2px white, 0 0 0 3px skyblue;
}

/*Previous Buttons*/
#msform .action-button-previous {
width: 120px;
background: #616161;
font-weight: bold;
color: white;
border: 0 none;
border-radius: 0px;
cursor: pointer;
padding: 10px 5px;
margin: 10px 5px;
}

#msform .action-button-previous:hover, #msform .action-button-previous:focus {
box-shadow: 0 0 0 2px white, 0 0 0 3px #616161;
}

/*Dropdown List Exp Date*/
select.list-dt {
border: none;
outline: 0;
border-bottom: 1px solid #ccc;
padding: 2px 5px 3px 5px;
margin: 2px;
}

select.list-dt:focus {
border-bottom: 2px solid skyblue;
}

/*The background card*/
.card {
z-index: 0;
border: none;
border-radius: 0.5rem;
position: relative;
}

/*FieldSet headings*/
.fs-title {

color: #2C3E50;
margin-bottom: 10px;
font-weight: bold;
text-align: left;
}

/*progressbar*/
#progressbar {
margin-bottom: 30px;
overflow: hidden;
color: lightgrey;
}

#progressbar .active {
color: #000000;
}

#progressbar li {
list-style-type: none;
font-size: 12px;
width: 25%;
float: left;
position: relative;
}

/*Icons in the ProgressBar*/
#progressbar #generali:before {
font-family: FontAwesome;
content: "\f013";
}

#progressbar #spazio:before {
font-family: FontAwesome;
content: "\f01c";
}

#progressbar #servizi:before {
font-family: FontAwesome;
content: "\f0ce";
}

#progressbar #referenze:before {
font-family: FontAwesome;
content: "\f003";
}

/*ProgressBar before any progress*/
#progressbar li:before {
width: 50px;
height: 50px;
line-height: 45px;
display: block;
font-size: 18px;
color: #ffffff;
background: lightgray;
border-radius: 50%;
margin: 0 auto 10px auto;
padding: 2px;
}

/*ProgressBar connectors*/
#progressbar li:after {
content: '';
width: 100%;
height: 2px;
background: lightgray;
position: absolute;
left: 0;
top: 25px;
z-index: -1;
}

/*Color number of the step and the connector before it*/
#progressbar li.active:before, #progressbar li.active:after {
background: skyblue;
}

/*Imaged Radio Buttons*/
.radio-group {
position: relative;
margin-bottom: 25px;
}

.radio {
display:inline-block;
width: 204;
height: 104;
border-radius: 0;
background: lightblue;
box-shadow: 0 2px 2px 2px rgba(0, 0, 0, 0.2);
box-sizing: border-box;
cursor:pointer;
margin: 8px 2px; 
}

.radio:hover {
box-shadow: 2px 2px 2px 2px rgba(0, 0, 0, 0.3);
}

.radio.selected {
box-shadow: 1px 1px 2px 2px rgba(0, 0, 0, 0.1);
}

/*Fit image in bootstrap div*/
.fit-image{
width: 100%;
object-fit: cover;
}

.form-check-label {
    max-width:70%;
}

.form-check-input {
    margin-left: 7rem !important;
}

.form-check-inline {
    align-items: top !important;
}

.error{
    color:red;
}