/*
Template Name: bforum - Multistep Form & Login, Registration Form Template
Version: 1.0
*/

:root {
  --main-color: #000;
  --primary-color: #000;
  --headding-color: #000;
  --section-bg: #f0f0f0;
}

ul.tablist.bforum-form__progress {
    text-align: center;
    display: flex;
    justify-content: space-between;
    margin-bottom: 0px;
    list-style: none;
    padding-left: 0;
}

ul.tablist.bforum-form__progress li.bforum-form__progress-btn {
    width: 100%;
    position: relative;
    text-align: center;
    z-index: 99;
    list-style: none;
}

ul.tablist.bforum-form__progress li.bforum-form__progress-btn:after {
    content: "";
    clear: both;
    width: 100%;
    height: 2px;
    position: absolute;
    top: 14px;
    left: 0;
    background: #728cff3d;
    z-index: 1;
    bottom: 0;
}

ul.tablist.bforum-form__progress li.bforum-form__progress-btn span {
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    position: relative;
    color: #728cff3d;
    border-radius: 50%;
    align-items: center;
    font-weight: 500;
    font-size: 14px;
    border: 1px solid #728cff3d;
    background: var(--section-bg);
    z-index: 9;
    transition: all .4s ease;
}
ul.tablist.bforum-form__progress li.bforum-form__progress-btn.last {
    width: 30px;
}
ul.tablist.bforum-form__progress li.bforum-form__progress-btn:before {
    content: "";
    clear: both;
    width: 0%;
    height: 2px;
    position: absolute;
    top: 14px;
    left: 0;
    background: var(--primary-color);
    z-index: 1;
    bottom: 0;
    transition: all .4s ease;
}
ul.tablist.bforum-form__progress li.bforum-form__progress-btn.js-active:before{
    width: 100%;
}
ul.tablist.bforum-form__progress li.bforum-form__progress-btn.js-active span {
    color: var(--primary-color);
    border-color: var(--primary-color);
}
ul.tablist.bforum-form__progress li.bforum-form__progress-btn.js-active.current:before {
    width: 50%;
    transition: all 1s cubic-bezier(0,0,1,0); 
}
.form-area-full .multisteps-form__panel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    -webkit-transition: 0.3s ease;
    -o-transition: 0.3s ease;
    transition: 0.4s ease;
    overflow: hidden;
    height: 0;
}
.form-area-full .multisteps-form__panel.js-active {
    opacity: 1;
    visibility: visible;
    overflow: visible;
    height: auto;
}
.form-area-full .multisteps-form__panel[data-animation=slideHorz] {
    top: 50px;
}
.form-area-full .multisteps-form__panel[data-animation=slideHorz].js-active {
    -webkit-transition-property: all;
    -o-transition-property: all;
    transition-property: all;
    -webkit-transition-duration: 0.25s;
    -o-transition-duration: 0.25s;
    transition-duration: .85s;
    -webkit-transition-timing-function: cubic-bezier(0.2, 1, 0.38, 1.43);
    -o-transition-timing-function: cubic-bezier(0.2, 1, 0.38, 1.43);
    transition-timing-function: cubic-bezier(0.2, 1, 0.38, 1.43);
    -webkit-transition-delay: 0s;
    -o-transition-delay: 0s;
    transition-delay: 0s;
    top: 0;
}
.right-wrapper-area-full {
    width: 100%;
    max-width: 1000px;
    margin-bottom: 20px;
}
.multisteps-form__panel .single-input input {
    width: 100%;
    border-radius: 5px;
    border: 2px solid #d9dde1;
    box-sizing: border-box;
    box-shadow: none;
    font-size: 14px;
    font-weight: 400;
    padding: 15px 20px;
    transition: all .3s ease;
    color: var(--main-color);
}
.multisteps-form__panel .single-input input:focus {
    border-color: var(--primary-color);
}
.multisteps-form__panel .single-input input.error {
    border-color: #ff2c2c5e;
}
.multisteps-form__panel .single-input label.error {
    font-size: 14px;
    color: #ff2626;
    text-transform: capitalize;
    font-weight: 400;
}
.multisteps-form__panel .single-input label#email-error{
    font-size: 14px;
    color: #ff2626;
    text-transform: capitalize;
    font-weight: 400;
}
.single-input-radio span, .single-input-checkbox span {
    font-size: 16px;
    font-weight: 600;
    display: block;
    margin-bottom: 10px;
}
.single-input .field-details.error {
    color: #ff2c2c5e;
}
.single-radio, .single-checkbox{
    margin-bottom: 0;
}
.multisteps-form__panel .actions {
    margin-top: 20px;
}
.multisteps-form__panel .actions ul li.disable {
    display: none;
}
.single-radio input[type="radio"] {
    position: absolute;
    left: 0;
    z-index: -1;
    opacity: 0;
}
.single-radio label {
    position: relative;
    background: #f9f9f9;
    cursor: pointer;
    width: 100%;
    border-radius: 5px;
    border: 2px solid #d9dde1;
    box-sizing: border-box;
    box-shadow: none;
    font-size: 14px;
    font-weight: 600;
    padding: 15px 20px;
    transition: all .3s ease;
    color: var(--main-color);
    letter-spacing: 1px;
    padding-left: 40px;
}
.single-radio label:after {
    content: "";
    clear: both;
    display: block;
    position: absolute;
    width: 20px;
    height: 20px;
    top: 16px;
    left: 15px;
    border-radius: 50%;
    border: 1px solid #c6c6c6;
    transition: all .3s ease;
    padding-left: 2px;
}
.single-radio input[type="radio"]:checked + label{
    border-color: var(--primary-color);
}
.single-radio input[type="radio"]:checked + label:after {
    content: "\F633";
    font-family: "bootstrap-icons";
    font-size: 14px;
    color: var(--main-color);
    border-color: var(--primary-color);
}
.multisteps-form__panel h4.title-4 {
    margin-top: 30px;
    margin-bottom: 20px;
    font-size: 18px;
    text-transform: capitalize;
    font-weight: 600;
}
.file-upload-type h4 {
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 10px;
}
.file-upload-type span {
    display: block;
    font-weight: 500;
    color: #666;
    margin-bottom: 16px;
    font-size: 14px;
}
.file-upload-type-full {
    position: relative;
}
.file-upload-type-full label {
    position: absolute;
    top: 10.5px;
    left: 17.5px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 5px;
    font-size: 13px;
    text-align: center;
    padding: 7px 21.5px;
    cursor: pointer;
}
.file-upload-type-full input {
    position: relative;
    background: #f9f9f9;
    cursor: pointer;
    width: 100%;
    border-radius: 5px;
    border: 2px solid #d9dde1;
    box-sizing: border-box;
    box-shadow: none;
    font-size: 14px;
    font-weight: 600;
    padding: 15px 20px;
    transition: all .3s ease;
    color: var(--main-color);
    letter-spacing: 1px;
    padding-left: 40px;
}
.from-header-info {
    margin-bottom: 20px;
}
.multisteps-form__panel .actions span.js-btn-next {
    margin-bottom: 30px;
    display: inline-block;
    padding: 14px 40px;
    background: var(--primary-color);
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    border: 2px solid var(--primary-color);
    border-radius: 3px;
    letter-spacing: 1px;
    transition: all .4s ease;
    cursor: pointer;
}
.multisteps-form__panel .actions span.js-btn-next:hover{
    background: #fff;
    color: var(--primary-color);
}
.multisteps-form__panel .actions ul li {
    display: inline-block;
}
.multisteps-form__panel .actions ul li:first-child{
    margin-right: 20px;
}
.multisteps-form__panel .actions span.js-btn-prev{
    margin-bottom: 30px;
    display: inline-block;
    padding: 14px 40px;
    background: var(--headding-color);
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    border: 2px solid var(--headding-color);
    border-radius: 3px;
    letter-spacing: 1px;
    transition: all .4s ease;
    cursor: pointer;
}
.multisteps-form__panel .actions span.js-btn-prev:hover{
    background: #fff;
    color: var(--headding-color);
}
.single-select select {
    position: relative;
    background: #f9f9f9;
    cursor: pointer;
    width: 100%;
    border-radius: 5px;
    border: 2px solid #d9dde1;
    box-sizing: border-box;
    box-shadow: none;
    font-size: 14px;
    font-weight: 600;
    padding: 15px 20px;
    transition: all .3s ease;
    color: var(--main-color);
    letter-spacing: 1px;
}
.single-select select:focus{
    border-color: var(--primary-color);
}
.single-input label {
    margin-bottom: 10px;
    display: inline-block;
    font-weight: 700;
    font-size: 15px;
    color: var(--headding-color);
}
.single-select label{
    margin-bottom: 10px;
    display: inline-block;
    font-weight: 700;
    font-size: 15px;
    color: var(--headding-color);
}
.single-input-checkbox span {
    font-weight: 700;
    font-size: 20px;
    margin-bottom: 20px;
}
.single-checkbox {
    width: 100%;
    position: relative;
}
.single-checkbox input {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    opacity: 0;
}
.single-checkbox label.label-checkbox {
    position: relative;
    cursor: pointer;
    width: 100%;
    box-sizing: border-box;
    box-shadow: none;
    padding: 15px 20px 15px 30px;
    transition: all .3s ease;
    margin-bottom: 0;
}
.single-checkbox label.label-checkbox:before {
    content: "";
    clear: both;
    display: block;
    position: absolute;
    width: 20px;
    height: 20px;
    top: 20px;
    left: 0;
    border-radius: 50%;
    border: 1px solid #c6c6c6;
    transition: all .3s ease;
    padding-left: 2px;
}

.single-checkbox input:checked + label.label-checkbox:before {
    content: "\F633";
    font-family: "bootstrap-icons";
    font-size: 14px;
    color: var(--main-color);
    border-color: var(--primary-color);
    line-height: 20px;
}
.single-checkbox input:checked + label.label-checkbox {
    border-color: var(--primary-color);
}
.single-textarea-field label {
    margin-bottom: 10px;
    display: inline-block;
    font-weight: 700;
    line-height: 1;
    font-size: 15px;
    color: var(--headding-color);
}
.single-textarea-field textarea {
    width: 100%;
    border-radius: 5px;
    border: 2px solid #d9dde1;
    box-sizing: border-box;
    box-shadow: none;
    font-size: 14px;
    font-weight: 400;
    padding: 15px 20px;
    transition: all .3s ease;
    color: var(--main-color);
    height: 80px;
}
.single-textarea-field textarea:focus{
    border-color: var(--primary-color);
}
.multisteps-form__panel .actions button:hover{
    background: #fff;
    color: var(--primary-color);
}
.single-select .nice-select {
    width: 100%;
    border-radius: 5px;
    border: 2px solid #d9dde1;
    box-sizing: border-box;
    box-shadow: none;
    font-size: 14px;
    font-weight: 500;
    padding: 20px 20px;
    transition: all .3s ease;
    color: var(--main-color);
    line-height: 1;
    height: 58px;
}
.single-select .nice-select ul.list {
    width: 100%;
    border-radius: 0px;
    max-height: 250px;
    overflow-y: scroll;
}
.single-select .nice-select:focus{
    border-color: var(--primary-color);
}
.single-select .nice-select:after {
    height: 10px;
    top: 46%;
    width: 10px;
}

.single-select .nice-select.country-code {
    padding-right: 30px;
    padding-left: 10px;
}

.single-select .nice-select.country-code span.current {
    display: inline-block;
    min-width: 44px;
    text-align: center;
}

.from-header-info h2 {
    font-size: 30px;
    text-transform: capitalize;
    font-weight: 700;
    margin-bottom: 10px;
}
.from-header-info p {
    font-size: 16px;
    line-height: 30px;
    color: #666;
}
.single-radio-s2 {
    position: relative;
    height: 100%;
}
.single-radio-s2 input {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    opacity: 0;
}
.single-radio-s2 label {
    width: 100%;
    background: #fff;
    border: 2px solid #d9dde1;
    border-radius: 5px;
    padding: 20px;
    position: relative;
    z-index: 1;
    cursor: pointer;
}
.single-radio-s2 label i {
    font-size: 48px;
    color: var(--primary-color);
}
.single-radio-s2 label:before {
    content: "";
    clear: both;
    display: block;
    position: absolute;
    width: 20px;
    height: 20px;
    top: 10px;
    border-radius: 50%;
    border: 1px solid #c6c6c6;
    transition: all .3s ease;
    padding-left: 2px;
    right: 10px;
}
.single-radio-s2 input:checked + label:before {
    content: "\F633";
    font-family: "bootstrap-icons";
    font-size: 14px;
    color: #fff;
    border-color: var(--primary-color);
    background: var(--primary-color);
    line-height: 1.2;
}
.single-radio-s2 input:checked + label {
    border-color: var(--primary-color);
}
.single-radio-s2 label span {
    font-size: 18px;
    overflow: hidden;
    font-weight: 700;
    height: 100%;
    align-items: center;
    display: flex;
}
.single-radio-s2.locked label {
    opacity: 0.4;
}
.single-radio-s2.locked label:before {
    background-color: var(--section-bg);
}

.double-input {
    display: flex;
    flex-wrap: wrap;
}

.double-input label {
    margin-bottom: 10px;
    display: inline-block;
    font-weight: 700;
    font-size: 15px;
    color: var(--headding-color);
    flex-basis: 100%;
}

.double-input .single-select .nice-select {
    border-right-width: 0;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.double-input .single-input input {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}


label.error,
span.error {
    display: none !important;
}

.nice-select.is-invalid-field {
    border-color: #ff2c2c5e;
}

.is-invalid-field::placeholder {
    color: red;
}

.label-checkbox.is-invalid-field::before {
    border-color: #ff2c2c5e !important;
    outline: solid 2px #ff2c2c5e !important;
}

.icone-pagamento {
    background: url(../../../images/metodi_pagamento_dark.png) no-repeat;
    width: 180px;
    height: 30px;
    background-size: 100%;
}


/*
 * THEME DARK
*/

.theme-dark input::placeholder {
    opacity: 0.3;
}

.theme-dark ul.tablist.bforum-form__progress li.bforum-form__progress-btn span {
    background: #323133;
    border: 1px solid rgba(255,255,255,0.2);
}

.theme-dark ul.tablist.bforum-form__progress li.bforum-form__progress-btn::after {
    background: rgba(255,255,255,0.1);
}

.theme-dark ul.tablist.bforum-form__progress li.bforum-form__progress-btn::before {
    background: rgba(255,255,255,0.4);
}

.theme-dark .single-radio-s2 label {
    background: #222;
    border: 1px solid rgba(255,255,255,0.1);
}

.theme-dark .single-radio-s2 input:checked + label {
    border: 1px solid rgba(255,255,255,0.4);
}

.theme-dark .single-radio-s2 label i {
    color: #fff;
}

.theme-dark .icone-pagamento {
    background: url(../../../images/metodi_pagamento_light.png) no-repeat;
    width: 180px;
    height: 30px;
    background-size: 100%;
}

.theme-dark .single-select label,
.theme-dark .single-input label,
.theme-dark .double-input label,
.theme-dark .single-textarea-field label {
    color: #898989;
}

.theme-dark .nice-select,
.theme-dark input,
.theme-dark textarea {
    background: #222;
    border: 1px solid rgba(255,255,255,0.2) !important;
}

.theme-dark textarea {
    color: #fff;
}

.theme-dark .nice-select.is-invalid-field {
    border-color: #ff2c2c5e !important;
}

.theme-dark .is-invalid-field::placeholder {
    color: red !important;
}

.theme-dark .single-checkbox label.label-checkbox::before {
    background: #323133;
    border: 1px solid rgba(255,255,255,0.2);
}

.theme-dark .single-checkbox input:checked + label.label-checkbox::before {
    border: 1px solid rgba(255,255,255,0.4);
    color: #fff;
}

.theme-dark .bg-fade-green1-dark h4,
.theme-dark .bg-fade-green1-dark p {
    color: #fff !important;
}

.theme-dark .table {
    color: #fff;
}

.theme-dark input:-webkit-autofill,
.theme-dark input:-webkit-autofill:hover,
.theme-dark input:-webkit-autofill:focus,
.theme-dark input:-webkit-autofill:active  {
   color: #000 !important;
}

.theme-dark .fix-autofill {
    background-color: #222222 !important;
}


/*
 * Responsive
*/
@media (max-width: 991px){
    .steps.clearfix {
        padding-bottom: 20px;
    }
    ul.tablist.bforum-form__progress li.bforum-form__progress-btn span {
        color: var(--headding-color);
    }
}