﻿/* dt__frontswitcher */

.dt__frontswitcher-iconcog {
    background: #fff;
    color: #333;
    padding: 11px 11px 12px;
    cursor: pointer;
    border-right: 0;
    border-radius: 5px 0 0 5px;
    position: absolute;
    left: -41px;
    box-shadow: 0 0 0 1px rgba(180, 180, 180, 0.3);
}

.dt__frontswitcher-iconcog .fa {
    text-align: center;
    font-size: 22px;
    vertical-align: text-top;
}

.dt__frontswitcher {
    position: fixed;
    right: -225px;
    top: 158px;
    z-index: 999;
}

@media (max-width: 991px) {
    .dt__frontswitcher {
        top: 140px;
    }
}

.admin-bar .dt__frontswitcher {
    top: 190px;
}

.dt__frontswitcher-block {
    width: 100%;
    display: table;
}

.dt__frontswitcher-block+.dt__frontswitcher-block {    
    margin-top: 20px;
}

.dt__frontswitcher-block h3 {
    text-align: left;
    margin: 0;
    font-size: 16px;
    margin-bottom: 14px;
    font-weight: 700;
    position: relative;
    max-width: max-content;
}

.dt__frontswitcher-block h3:after {
    content: '';
    position: absolute;
    z-index: 0;
    bottom: 8px;
    left: -10px;
    height: 15px;
    width: 15px;
    border-radius: 100px;
    background-color: #000;
    opacity: 0.08;
}

.dt__frontswitcher-block.custom-color button {
    margin: 4px;
    display: inline-block;
    border-radius: 100%;
    text-decoration: none;
    height: 36px;
    width: 36px;
    float: left;
    border: 0;
    padding: 0;
    outline: none;
}

.dt__frontswitcher-block.custom-color button.active {
    box-shadow: inset 0 0 0 8px #fff;
    border: 2px solid var(--dt-pri-color);
}

.dt__frontswitcher-block.custom-color.secondary button.active {
    border: 2px solid var(--dt-sec-color);
}

.dt__frontswitcher-inner {
    float: right;
    padding: 22px;
    width: 225px;
    color: #333;
    background: #fff;
    max-height: 50rem;
    overflow: hidden;
    overflow-y: auto;
    box-shadow: 0 0 0 1px rgba(180, 180, 180, 0.3);
}

.dt__frontswitcher-inner::-webkit-scrollbar {
    width: 5px;
    height: 5px;
}

/* dt__frontswitcher-background */

button.dt__frontswitcher-background {
    background: #fff;
    color: #333;
    border: 1px solid #ddd;
    outline: none;
    width: 45%;
    border-radius: 4px;
    padding: 6px 16px;
    font-weight: 600;
    font-size: 13px;
    margin: 4px;
    transition: all .3s;
}

button.dt__frontswitcher-background.active {
    background: #333;
    color: #fff;
    border-color: #333;
}

.dt__frontswitcher-pattern {
    width: 36px;
    height: 36px;
    border-radius: 4px;
    margin: 4px;
    border: 0;
    padding: 0;
    outline: none;
    box-shadow: 0 0 0 1px rgba(180, 180, 180, 0.30);
}

button.dt__frontswitcher-reset {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 0;
    width: 30px;
    height: 30px;
    border-radius: 100%;
    background-color: #fff;
    color: inherit;
    border: 1px solid #ddd;
    font-size: 83%;
    z-index: 1;
}