.cursor-pointer {
    cursor: pointer;
}

.text-end {
    text-align: right;
}

.title-m {
    font-size: 1.5rem;
}

.title-s {
    font-size: 1.3rem;
}

.text-xs {
    font-size: 16px;
}

.c-light-blue {
    color: #1a74b8;
}

.w-400 {
    font-weight: 400;
}

.w-500 {
    font-weight: 500;
}

.w-700 {
    font-weight: 700;
}

.row-100 {
    width: 100%;
}

.sci-subscription-form {
    color: #000;
    font-size: 16px;
}

.sci-subscription-form .form-item {
    position: relative;
}

.sci-subscription-form .form-item .description{
    font-size: 14px;
}

.sci-subscription-form .form-item:not(:has(input[type="radio"])) > label {
    font-weight: 400;
    color: #000;
    position: absolute;
    top: 0.8rem;
    left: 0.75rem;
    pointer-events: none;
    transition: all 0.2s ease-in-out;
}

#sci-subscription-form.sci-subscription-form .form-item:has(select) > label {
    top: 0.55rem;
}

.sci-subscription-form .form-item:has(input[type="date"]) > label,
.sci-subscription-form .form-item:has(input:not([type="radio"]):focus) > label,
.sci-subscription-form .form-item:has(input:not([type="radio"]).valued) > label {
  top: -0.25rem;
  font-size: 0.75rem;
  background-color: #fff;
  padding: 0 .25rem;
}

#sci-subscription-form.sci-subscription-form .form-item:has(select.valued) > label {
    top: -0.45rem;
    font-size: 0.75rem;
    background-color: #fff;
    padding: 0 .25rem;
}

.sci-subscription-form .row-2cols > .form-item {
  flex: 1 1 0;
  width: 50%;
}

.sci-subscription-form .row-2cols > .form-item:nth-child(odd) {
  margin-right: 0.5rem;
}

.sci-subscription-form .row-2cols > .form-item:nth-child(even) {
  margin-left: 0.5rem;
}

.sci-subscription-form .row-3cols > .form-item {
  flex: 1 1 0;
  width: 33.33%;
}

.sci-subscription-form .row-3cols > .form-item:nth-child(1) {
  margin-right: 0.5rem;
}

.sci-subscription-form .row-3cols > .form-item:nth-child(2) {
  margin-left: 0.5rem;
  margin-right: 0.5rem;
}
.sci-subscription-form .row-3cols > .form-item:nth-child(3) {
  margin-left: 0.5rem;
}

.sci-subscription-form .row-2cols > .form-item input,
.sci-subscription-form .row-3cols > .form-item input,
.sci-subscription-form .row-2cols > .form-item select,
.sci-subscription-form .row-3cols > .form-item select {
  width: 100%;
}

.js-form-item:not(.js-form-type-radio):not(.js-form-type-checkbox) {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 0.75rem;
}

.js-form-item:not(.js-form-type-radio):not(.js-form-type-checkbox) label{
    margin-bottom: 0.25rem;
}

#edit-quote-associative input.form-radio {
    display: none;
}

#edit-quote-associative .custom-radio {
    padding-right: 0.75rem;
    padding-left: 0;
    display: flex;
    align-items: center;
}

#edit-quote-associative .custom-radio .custom-control-box {
    height: 36px;
    width: 36px;
    border: 1px solid #000;
    border-radius: 0.5rem;
    display: inline-block;
}

#edit-quote-associative label.option {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 0.5rem;
}

#edit-quote-associative .custom-label {
    color: #000;
    font-weight: 400;
    padding: 0.25rem 0;
    padding-right: 15px;
    border: 1px solid #000;
    border-radius: 0.5rem;
}

#edit-quote-associative input.form-radio:checked ~ label.option .custom-radio .custom-control-box {
    background-color: #222954;
    border: 1px solid #222954;
}

#edit-quote-associative--wrapper--description {
    color: #000;
    font-size: 14px;
}

#edit-birth-date,
#edit-email {
    margin-top: 4.5px;
}

.sci-subscription-form input[type="text"],
.sci-subscription-form input[type="email"],
.sci-subscription-form input[type="tel"],
.sci-subscription-form input[type="date"],
.sci-subscription-form input[type="number"],
.sci-subscription-form select,
.sci-subscription-form textarea {
    border: 1px solid #000 !important;
    border-radius: 0.5rem;
    padding: 0.5rem !important;
}

.form-wrapper .form-item:has(#edit-sezione) {
    flex: inherit;
    width: 33%;
}

#edit-codsoccol {
    width: 100%;
}

#sci-subscription-form.sci-subscription-form .form-checkboxes .form-item {
    display: flex;
    align-items: flex-start;
}


#sci-subscription-form.sci-subscription-form .form-checkboxes .form-item input {
    width: auto;
    margin-top: 3px;
}

#sci-subscription-form.sci-subscription-form .form-checkboxes .form-item label {
    position: initial;
    margin: 0;
    pointer-events: all
}

#edit-tipo-pagamento--wrapper {
    margin-bottom: 2rem;
}

#edit-tipo-pagamento {
    display: flex;
    align-items: center;
} 

#edit-sostenitore {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
}

#edit-sostenitore .form-item,
#edit-tipo-pagamento .form-item {
    margin-right: 1.5rem;
    display: flex;
}

#edit-sostenitore .form-item label,
#edit-tipo-pagamento .form-item label{
    color: #000;
    font-weight: 400;
    margin: 0;
    margin-left: 4px;
} 

.resume-table,
.resume-table tr,
.resume-table th {
    border: 0;
    margin-bottom: 0;
}

.resume-table tr td {
    border: 0;
    background:#f5f5f5;
    padding: 0.25rem;
    border-bottom: 0.5rem solid white;
}

.total-payment {
    color: #fff;
    background: #222954;
    font-weight: 700;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    width: 100%;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.form-item-socio-collettivo,
.form-item-privacy {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.form-item-socio-collettivo input,
.form-item-privacy input {
    margin-top: -2px;
}

.form-item-socio-collettivo label[for='edit-socio-collettivo'],
.form-item-privacy label[for='edit-privacy'] {
    margin-bottom: 0 !important;
}

.form-item-info-scilist label {
    position: initial !important;
    font-weight: 700 !important;
}

