
/*
|--------------------------------------------------------------------------
| ASPINAL PERSONALISATION SWITCH
|--------------------------------------------------------------------------
*/

.altanz-pf-personalisation {

    gap: 14px;
}

/*
|--------------------------------------------------------------------------
| LABEL
|--------------------------------------------------------------------------
*/

.altanz-pf-personalisation-label {

    display: flex;
    align-items: center;

    line-height: 1;
}

/*
|--------------------------------------------------------------------------
| SWITCH
|--------------------------------------------------------------------------
*/

.altanz-personalisation-switch {

    position: relative;

    width: 34px;
    height: 20px;

    
    border-radius: 999px;

    background: #f7f6f4;

    padding: 0;

    cursor: pointer;
    
    border: 1px solid #999;

    transition: all 0.28s ease;

    flex-shrink: 0;

    top: -1px;
}

/*
|--------------------------------------------------------------------------
| KNOB
|--------------------------------------------------------------------------
*/

.altanz-personalisation-switch::before {

    content: '';

    position: absolute;

    top: 3px;
    left: 3px;

    width: 12px;
    height: 12px;

    border-radius: 50%;

    background: #002059;

    box-shadow: 0 2px 5px rgba(0,0,0,0.18);

    transition: all 0.28s ease;
}

/*
|--------------------------------------------------------------------------
| ACTIVE
|--------------------------------------------------------------------------
*/

.altanz-personalisation-switch.active {
    background: #002059;
}

.altanz-personalisation-switch.active::before {
    transform: translateX(15px);
    background: #fff;
}

/*
|--------------------------------------------------------------------------
| HOVER
|--------------------------------------------------------------------------
*/

.altanz-personalisation-switch:hover {
    opacity: 0.94;
}

/*
|--------------------------------------------------------------------------
| UNDERLINE
|--------------------------------------------------------------------------
*/

.altanz-pf-personalisation::after {

    content: '';

    position: absolute;

    left: 0;
    bottom: 0;

    width: 0%;

    height: 1px;

    background: #111;

    transition: width 0.35s ease;
}

.altanz-pf-personalisation:hover::after {
    width: 100%;
}

.altanz-pf-personalisation.active::after {

    width: 100%;

    background: #0d2c6c;
}

/*
|--------------------------------------------------------------------------
| HIDE REAL CHECKBOX
|--------------------------------------------------------------------------
*/

#altanz-personalisation-checkbox{
    display:none !important;
}


