﻿/* 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: -38px;
    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 .title {
    text-align: left;
    margin: 0;
    font-size: 16px;
    margin-bottom: 14px;
    font-weight: 700;
    position: relative;
    max-width: max-content;
    color: #333;
    display: block;
}

.dt__frontswitcher-block .title: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 #333;
}

.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: #333 !important;
    border: 1px solid #ddd;
    font-size: 83%;
    z-index: 1;
}

/******************************************/

.dt__lightDarkMode {}

.dt__lightDarkMode .switch {
    position: relative;
    display: inline-block;
	padding: 0;
	width: 36px;
	height: 36px;
	line-height: 1;
}

.dt__lightDarkMode .switch input {
    display: none;
}

.dt__lightDarkMode .switch .sld {
    position: absolute;
    cursor: pointer;
    width: 100%;
    height: 100%;    
    left: 0;
    top: 0;
    border-radius: 50%;
    transition: .4s;
}

.dt__lightDarkMode .switch .sld::before {
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    position: absolute;
    color: #333;
    background: transparent;
    border: 2px solid #333;
    border-radius: 50%;
    transition: 0.4s;
    content: "\f186";
    font-family: "Font Awesome 6 Free";
    font-size: 18px;
    font-weight: 900;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dt__lightDarkMode .switch input:checked+.sld::before {
    content: "\f185";
    color: #fff;
    background: #333;
}