div.sidebar-wrapper{
    pointer-events: none;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    right: 0;
    z-index: 400;
}
aside.sidebar.fixed {
    pointer-events: auto;
    position: sticky;
    top: 50%;
    transform: translateY(-50%);
    z-index: 400;
    background: none;
    border: none;
    @media ((max-width: 640px) and (max-height: 700px)) {
        bottom: 10%;
        transform: none;
    }
    .stickyElement{
        bottom: 0;
        position: absolute;
        right: 100%;
        transform: translateY(50%);
        display: flex;
        flex-direction: column;
        width: 70px;
        padding: 30px;
        background-color: #0099cb;
        border: none;
        border-radius: 15px 0 0 15px;
        transition-property: all;
        transition-timing-function: cubic-bezier(.4,0,.2,1);
        transition-duration: .3s;
        --ssn-shadow: -4px 4px 12px rgba(0, 0, 0, .1);
        --ssn-shadow-colored: -4px 4px 12px var(--ssn-shadow-color);
        box-shadow: var(--ssn-ring-offset-shadow, 0 0 #0000), var(--ssn-ring-shadow, 0 0 #0000), var(--ssn-shadow);
        overflow: hidden;

        @media (max-width: 768px) {
            padding: 15px 10px;
            width: 50px;
        }
        @media ((max-width: 640px) and (max-height: 700px)) {
            padding: 10px;
        }
        .head{
            display: flex;
            gap: 20px;
            opacity: 0;
            height: 0;
            overflow: hidden;
            border-bottom: 1px solid rgba(255, 255, 255, 0.3);
            @media (max-width: 768px) {
                gap: 12px;
            }
            .image{
                border-radius: 50%;
                overflow: hidden;
                width: 44px;
                height: 44px;
                @media (max-width: 768px) {
                    width: 36px;
                    height: 36px;
                }
                img{
                    width: 100%;
                    height: 100%;
                    object-fit: cover;
                }
            }
            .title{
                font-family: 'Rubik', sans-serif;
                font-weight: 300;
                font-size: 21px;
                line-height: 30.9px;
                color: #FFFFFF;
                white-space: nowrap;
                @media (max-width: 768px) {
                    font-size: 18px;
                    line-height: 26px;
                }
                &.hidden{
                    opacity: 0;
                    width: 0;
                    overflow: hidden;
                }
            }
        }
        .options{
            display: flex;
            &:not(.no-hs){
                @media ((max-width: 640px) and (max-height: 700px)) {
                    display: none;
                }
            }
            flex-direction: column;
            gap: 30px;
            align-items: center;
            @media (max-width: 768px) {
                gap: 20px;
            }
            .option{
                align-items: center;
                display: flex;
                gap: 10px;
                @media (max-width: 768px) {
                    gap: 8px;
                }
                &.wysiwyg{
                    min-width: 300px;
                    display: block;
                    padding: 15px;
                    @media (max-width: 768px) {
                        min-width: 250px;
                        padding: 12px;
                    }
                }
                &:last-child{
                    margin-bottom: 5px;
                    @media (max-width: 768px) {
                        margin-bottom: 0;
                    }
                }
                > a{
                    transition: color .3s ease-in-out;
                    font-family: 'Roboto', sans-serif;
                    font-weight: 400;
                    font-size: 17px;
                    line-height: 17.2px;
                    color: #FFFFFF;
                    text-decoration: none;
                    white-space: nowrap;
                    display: flex;
                    align-items: center;
                    @media (max-width: 768px) {
                        font-size: 15px;
                        line-height: 15px;
                    }
                    &:hover{
                        .link{
                            color: var(--color-light-grey);
                        }
                    }
                }
                .icon{
                    padding: 0;
                    display: flex;
                    width: 20px;
                    height: 20px;
                    flex-shrink: 0;
                    @media (max-width: 768px) {
                        width: 18px;
                        height: 18px;
                    }
                    img{
                        width: 100%;
                        height: 100%;
                        object-fit: contain;
                    }
                }
                .link{
                    font-family: 'Roboto', sans-serif;
                    font-weight: 400;
                    font-size: 17px;
                    line-height: normal;
                    color: #FFFFFF;
                    white-space: nowrap;
                    margin-left: 10px;
                    transition: color .3s ease-in-out;
                    @media (max-width: 768px) {
                        font-size: 15px;
                        margin-left: 8px;
                    }

                    &.hidden{
                        opacity: 0;
                        width: 0;
                        overflow: hidden;
                        margin-left: 0;
                    }
                }
                &.divider{
                    &.hidden{
                        opacity: 0;
                        height: 0;
                        overflow: hidden;
                    }
                    hr{
                        margin: 0;
                        background: rgba(255, 255, 255, 0.3);
                        height: 1px;
                        width: 100%;
                        border: none;
                    }
                }
                &.hidden{
                    display: none;
                }
                &:last-child .link{
                    
                    color: var(--Primary, #013C4C);
                    /* button */
                    font-family: Roboto;
                    font-size: 19px;
                    font-style: normal;
                    font-weight: 600;
                    line-height: normal;
                    border-radius: 45px;
                    background: #FFF;
                    padding: 16px 40px;
                    transition: background .3s ease-in-out, color .3s ease-in-out;
                    @media (max-width: 768px) {
                        font-size: 16px;
                        padding: 12px 24px;
                        border-radius: 35px;
                    }

                    &:hover{
                        background: var(--Primary, #013C4C);
                        color: #FFF;
                    }

                }
            }
        }
    }
    &:hover,
    &:focus,
    &:focus-within{
        .stickyElement{
            background-color: var(--color-turquoise);
            border-radius: 15px 0 0 15px;
            width: auto;
            min-width: 282px;
            padding: 30px;
            @media (max-width: 768px) {
                min-width: 240px;
                padding: 20px;
            }
            @media ((max-width: 640px) and (max-height: 700px)) {
                position: absolute;
                bottom: 0;
                right: 0;
            }
            .head{
                opacity: 1;
                height: auto;
                display: flex;
                padding-bottom: 25px;
                @media (max-width: 768px) {
                    padding-bottom: 15px;
                }
            }
            .title.hidden{
                opacity: 1;
                width: auto;
                display: block;
            }
            .options .option.hidden{
                opacity: 1;
                display: flex;
                align-items: center;
                &.wysiwyg{
                    display: block;
                }
            }
            .options .link.hidden{
                opacity: 1;
                width: auto;
                display: block;
            }
            .options .option.divider.hidden{
                opacity: 1;
                height: auto;
                display: block;
            }
            .options{
                align-items: flex-start;
                a {
                    gap: 10px;
                }
                @media ((max-width: 640px) and (max-height: 700px)) {
                    display: flex;
                }
            }
        }
    }
}
