/**************************************************************************
 * Project:		Switcher - CSS Toggle Checkbox
 * Version:		1.0
 * Author:		pixenly
 * Profile:		https://themeforest.net/user/pixenly
**************************************************************************/

.block-settings {
    position: fixed;
    right: 0;
    top: 22%;
    min-height: 50px;
    border-radius: 6px 0 0 6px;
    overflow: hidden;
    display: flex;
    flex-direction: row-reverse;
    transform: translateX(calc(100% - 50px));
    transition: 0.25s all ease-in-out;
}

.block-settings.active {
    transform: translateX(0);
}

.block-settings ul {
    margin: 0;
    list-style: none;
    display: flex;
    gap: 16px;
    background-color: #f1f1f1;
    padding: 13px;
}

.block-settings li {
    position: relative;
    height: 24px;
    width: 24px;
    border-radius: 4px;
    text-indent: -999px;
    cursor: pointer;
}

.block-settings li:after {
    content: '';
    position: absolute;
    top: 7px;
    left: 5px;
    height: 7px;
    width: 14px;
    transform: rotate(-45deg);
    border-bottom: 3px solid var(--color-white);
    border-left: 3px solid var(--color-white);
    transition: 0.25s all ease-in-out;
    opacity: 0;
}

.block-settings li.active:after {
    opacity: 1;
}

.block-settings li[data-theme="blue"] {
    background-color: var(--blue);
}

.block-settings li[data-theme="purple"] {
    background-color: var(--purple);
}

.block-settings li[data-theme="green"] {
    background-color: var(--green);
}

.block-settings li[data-theme="sky"] {
    background-color: var(--sky);
}

.block-settings li[data-theme="pink"] {
    background-color: var(--pink);
}

.block-settings li[data-theme="orange"] {
    background-color: var(--orange);
}

.block-settings li[data-theme="red"] {
    background-color: var(--red);
}

.block-settings li[data-theme="dark"] {
    background-color: var(--dark);
}

.setting-btn {
    position: relative;
    height: 50px;
    width: 50px;
    background-color: var(--dark);
    color: var(--color-white);
    text-indent: -999px;
}

.setting-btn:before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    height: 26px;
    width: 26px;
    background-image: url(../images/settings.svg);
    background-size: 26px 26px;
    background-position: center center;
    background-repeat: no-repeat;
    animation: spin 3s infinite linear;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}
