/**
 * NOTICE OF LICENSE
 *
 * This file is not open source! Each license that you purchased is only available for 1 website only.
 * If you want to use this file on more websites (or projects), you need to purchase additional licenses.
 * You are not allowed to redistribute, resell, lease, license, sub-license or offer our resources to any third party.
 *
 * DISCLAIMER
 *
 * Do not edit or add to this file if you wish to upgrade PrestaShop to newer
 * versions in the future. If you wish to customize PrestaShop for your
 * needs please contact us for extra customization service at an affordable price
 *
 * @author IDNK Soft <i@dnk.software>
 * @copyright  2021-2022 IDNK Soft
 * @license    Valid for 1 website (or project) for each purchase of license
*/

/* DN BUTTON */

.dnkdarkmode-btn-sec-dn {
    position: relative;
    overflow: hidden;
    margin: 2px 3px
}
label.dnkdarkmode-css-btn-toggle {
    margin: 0;
}
.dnkdarkmode-btn .dnkdarkmode-css-btn-dn {
    position: relative;
    left: -99em;
}
.dnkdarkmode-css-btn-toggle {
    cursor: pointer;
    display: inline-block;
    position: relative;
    width: 70px;
    height: 32px;
    background-color: #83d8ff;
    border-radius: 16px;
    transition: background-color 200ms cubic-bezier(0.445, 0.05, 0.55, 0.95);
}
.dnkdarkmode-css-btn-toggle__handler {
    display: inline-block;
    position: absolute;
    z-index: 1;
    top: 3px;
    left: 3px;
    width: 26px;
    height: 26px;
    background-color: #ffcf96;
    border-radius: 50px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .3);
    transition: all 400ms cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transform: rotate(-45deg);
}
.dnkdarkmode-css-btn-toggle__handler .dnkdarkmode-css-btn-crater {
    position: absolute;
    background-color: #e8cda5;
    opacity: 0;
    transition: opacity 200ms ease-in-out;
    border-radius: 100%;
}
.dnkdarkmode-css-btn-toggle__handler .dnkdarkmode-css-btn-crater--1 {
    top: 18px;
    left: 10px;
    width: 4px;
    height: 4px;
}
.dnkdarkmode-css-btn-toggle__handler .dnkdarkmode-css-btn-crater--2 {
    top: 7px;
    left: 13px;
    width: 6px;
    height: 6px;
}
.dnkdarkmode-css-btn-toggle__handler .dnkdarkmode-css-btn-crater--3 {
    top: 10px;
    left: 3px;
    width: 8px;
    height: 8px;
}
.dnkdarkmode-css-btn-star {
    position: absolute;
    background-color: #fff;
    transition: all 300ms cubic-bezier(0.445, 0.05, 0.55, 0.95);
    border-radius: 50%;
}
.dnkdarkmode-css-btn-star--1 {
    top: 10px;
    left: 35px;
    z-index: 0;
    width: 30px;
    height: 3px;
}
.dnkdarkmode-css-btn-star--2 {
    top: 18px;
    left: 28px;
    z-index: 1;
    width: 30px;
    height: 3px;
}
.dnkdarkmode-css-btn-star--3 {
    top: 27px;
    left: 40px;
    z-index: 0;
    width: 30px;
    height: 3px;
}
.dnkdarkmode-css-btn-star--4, .dnkdarkmode-css-btn-star--5, .dnkdarkmode-css-btn-star--6 {
    opacity: 0;
    transition: all 300ms cubic-bezier(0.445, 0.05, 0.55, 0.95);
}
.dnkdarkmode-css-btn-star--4 {
    top: 16px;
    left: 11px;
    z-index: 0;
    width: 2px;
    height: 2px;
    transform: translate3d(3px, 0, 0);
}
.dnkdarkmode-css-btn-star--5 {
    top: 8px;
    left: 17px;
    z-index: 0;
    width: 3px;
    height: 3px;
    transform: translate3d(3px, 0, 0);
}
.dnkdarkmode-css-btn-star--6 {
    top: 24px;
    left: 28px;
    z-index: 0;
    width: 2px;
    height: 2px;
    transform: translate3d(3px, 0, 0);
}
.dnkdarkmode-css-btn-dn:checked + .dnkdarkmode-css-btn-toggle {
    background-color: #749dd6;
}
.dnkdarkmode-css-btn-dn:checked + .dnkdarkmode-css-btn-toggle:before {
    color: #749ed7;
}
.dnkdarkmode-css-btn-dn:checked + .dnkdarkmode-css-btn-toggle:after {
    color: #fff;
}
.dnkdarkmode-css-btn-dn:checked + .dnkdarkmode-css-btn-toggle .dnkdarkmode-css-btn-toggle__handler {
    background-color: #ffe5b5;
    transform: translate3d(37px, 0, 0) rotate(0);
}
.dnkdarkmode-css-btn-dn:checked + .dnkdarkmode-css-btn-toggle .dnkdarkmode-css-btn-toggle__handler .dnkdarkmode-css-btn-crater {
    opacity: 1;
}
.dnkdarkmode-css-btn-dn:checked + .dnkdarkmode-css-btn-toggle .dnkdarkmode-css-btn-star--1 {
    width: 2px;
    height: 2px;
}
.dnkdarkmode-css-btn-dn:checked + .dnkdarkmode-css-btn-toggle .dnkdarkmode-css-btn-star--2 {
    width: 4px;
    height: 4px;
    transform: translate3d(-5px, 0, 0);
}
.dnkdarkmode-css-btn-dn:checked + .dnkdarkmode-css-btn-toggle .dnkdarkmode-css-btn-star--3 {
    width: 2px;
    height: 2px;
    transform: translate3d(-7px, 0, 0);
}
.dnkdarkmode-css-btn-dn:checked + .dnkdarkmode-css-btn-toggle .dnkdarkmode-css-btn-star--4, .dnkdarkmode-css-btn-dn:checked + .dnkdarkmode-css-btn-toggle .dnkdarkmode-css-btn-star--5, .dnkdarkmode-css-btn-dn:checked + .dnkdarkmode-css-btn-toggle .dnkdarkmode-css-btn-star--6 {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}
.dnkdarkmode-css-btn-dn:checked + .dnkdarkmode-css-btn-toggle .dnkdarkmode-css-btn-star--4 {
    transition: all 300ms 200ms cubic-bezier(0.445, 0.05, 0.55, 0.95);
}
.dnkdarkmode-css-btn-dn:checked + .dnkdarkmode-css-btn-toggle .dnkdarkmode-css-btn-star--5 {
    transition: all 300ms 300ms cubic-bezier(0.445, 0.05, 0.55, 0.95);
}
.dnkdarkmode-css-btn-dn:checked + .dnkdarkmode-css-btn-toggle .dnkdarkmode-css-btn-star--6 {
    transition: all 300ms 400ms cubic-bezier(0.445, 0.05, 0.55, 0.95);
}
/* DN2 */

.dnkdarkmode-btn-sec-dn2 label
{
    display: block;
    position: relative;
    width: 70px;
    height: 34px;
    margin: 2px 2px;
    background-color: #77b5fe;
    border-radius: 45px;
    border: 1px solid #cccccc;
    cursor: pointer;
    transition: 0.3s ease background-color;
    overflow: hidden;
}
#dnkdarkmode-css-btn-dn2-star
{
    position: absolute;
    top: 6px;
    left: 6px;
    width: 21px;
    height: 21px;
    background-color: #fafd0f;
    transform: scale(1);
    border-radius: 50%;
    transition: 0.3s ease top, 0.3s ease left, 0.3s ease transform, 0.3s ease background-color;
    z-index: 1;
}
#dnkdarkmode-css-btn-dn2-star-1
{
    position: relative;
}
#dnkdarkmode-css-btn-dn2-star-2
{
    position: absolute;
    transform: rotateZ(39deg);
}
.dnkdarkmode-css-btn-dn2-star
{
    top: 0;
    left: -3px;
    font-size: 35px ;
    line-height: 17px;
    font-weight: 600;
    color: #fafd0f;
    transition: 0.3s ease color;
}
#dnkdarkmode-css-btn-dn2-moon
{
    position: absolute;
    bottom: -52px;
    right: 8px;
    width: 28px;
    height: 28px;
    background-color: #fff;
    border-radius: 50%;
    transition: 0.3s ease bottom;
}
#dnkdarkmode-css-btn-dn2-moon:before
{
    content: "";
    position: absolute;
    top: -12px;
    left: -17px;
    width: 34px;
    height: 34px;
    background-color:#03a9f4;
    border-radius: 50%;
    transition: 0.3s ease background-color;
}
.dnkdarkmode-css-btn-dn2:checked + label
{
    background-color: #000;
}
.dnkdarkmode-css-btn-dn2:checked + label #dnkdarkmode-css-btn-dn2-star
{
    top: 1px;
    left: 26px;
    transform: scale(0.3);
    background-color: yellow;
}
.dnkdarkmode-css-btn-dn2:checked + label .dnkdarkmode-css-btn-dn2-star
{
    color: yellow;
}
.dnkdarkmode-css-btn-dn2:checked + label #dnkdarkmode-css-btn-dn2-moon
{
    bottom: 3px;
}
.dnkdarkmode-css-btn-dn2:checked + label #dnkdarkmode-css-btn-dn2-moon:before
{
    background-color: #000;
}

/* DE1 */

.dnkdarkmode-btn-sec-de1 {
    position: relative;
    display: block;
    margin: 2px;
}
.dnkdarkmode-btn-sec-de1 .dnkdarkmode-css-btn-de1-switch {
    --width-of-switch: 3.5em;
    --height-of-switch: 2em;
    --size-of-icon: 1.4em;
    --slider-offset: 0.3em;
    position: relative;
    width: var(--width-of-switch);
    height: var(--height-of-switch);
    display: inline-block;
    font-size: 14px;
}
.dnkdarkmode-btn-sec-de1 .dnkdarkmode-css-btn-de1-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #f4f4f5;
    transition: .4s;
    border-radius: 30px;
}
.dnkdarkmode-btn-sec-de1 .dnkdarkmode-css-btn-de1-slider:before {
    position: absolute;
    content: "";
    height: var(--size-of-icon,1.4em);
    width: var(--size-of-icon,1.4em);
    border-radius: 20px;
    left: var(--slider-offset,0.3em);
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(40deg,#ff0080,#ff8c00 70%);
;
    transition: .4s;
}
.dnkdarkmode-btn-sec-de1 input:checked + .dnkdarkmode-css-btn-de1-slider {
    background-color: #303136;
}
.dnkdarkmode-btn-sec-de1 input:checked + .dnkdarkmode-css-btn-de1-slider:before {
    left: calc(100% - (var(--size-of-icon,1.4em) + var(--slider-offset,0.3em)));
    background: #303136;
    box-shadow: inset -3px -2px 5px -2px #8983f7, inset -10px -4px 0 0 #a3dafb;
}

/* DE2 */

div.dnkdarkmode-btn-sec-de2 {
    display: block;
    position: relative;
    margin: 2px;
}
div.dnkdarkmode-btn-sec-de2 i{
    display: block;
    position: absolute !important;
    color: #bbb2bc;
    font-size: 13px;
    line-height: 15px !important;
    pointer-events: none;
}
.dnkdarkmode-css-btn-de2-light {
    z-index: 100;
    top: 9px;
    left: 6px;
}
.dnkdarkmode-css-btn-de2-dark {
    z-index: 100;
    top: 9px;
    right: 6px;
}
label {
    font-size: 13px;
    color: #424242;
    font-weight: 500;
}
.dnkdarkmode-css-btn-de2 {
    display: inline-block;
    margin: 0;
    position: relative;
}
.dnkdarkmode-css-btn-de2 > label.dnkdarkmode-css-btn-de2-inner{
    margin: 0;
    width: 140px;
    height: 30px;
    background: #E0E0E0;
    border-radius: 26px;
    overflow: hidden;
    position: relative;
    transition: all 0.3s ease;
    /*box-shadow: 0px 0px 8px 0px rgba(17, 17, 17, 0.34) inset;*/
    display: block;
    cursor: pointer;
}
.dnkdarkmode-css-btn-de2 > label.dnkdarkmode-css-btn-de2-inner:before{
    content: attr(data-on);
    position: absolute;
    font-size: 12px;
    font-weight: 500;
    top: 7px;
    right: 20px;

}
.dnkdarkmode-css-btn-de2 > label.dnkdarkmode-css-btn-de2-inner:after{
    content: attr(data-off);
    width: 70px;
    height: 26px;
    background: #fff;
    border-radius: 26px;
    position: absolute;
    left: 2px;
    top: 2px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 0 6px -2px #111;
    padding: 5px 0;
}
.dnkdarkmode-css-btn-de2 input[type="checkbox"]{
    cursor: pointer;
    width: 50px;
    height: 25px;
    opacity: 0;
    position: absolute;
    top: 0;
    z-index: 1;
    margin: 0;
}
.dnkdarkmode-css-btn-de2 input[type="checkbox"]:checked + label.dnkdarkmode-css-btn-de2-inner{
    background: #151515;
    color: #fff;
}
.dnkdarkmode-css-btn-de2 input[type="checkbox"]:checked + label.dnkdarkmode-css-btn-de2-inner:after{
    content: attr(data-on);
    left: 68px;
    background: #3c3c3c;
}
.dnkdarkmode-css-btn-de2 input[type="checkbox"]:checked + label.dnkdarkmode-css-btn-de2-inner:before{
    content: attr(data-off);
    right: auto;
    left: 20px;
}
.dnkdarkmode-css-btn-de2 input[type="checkbox"]:checked + label.dnkdarkmode-css-btn-de2-inner{
    /*background: #66BB6A; */
    /*color: #fff;*/
}
/* DE3 */

.dnkdarkmode-btn-sec-de3-switch {
    position: relative;
    display: inline-block;
    width: 80px;
    height: 40px;
    margin: 2px;
}
.dnkdarkmode-btn-sec-de3-switch #dnkdarkmode-btn-sec-de3-switch {
    opacity: 0;
    width: 0;
    height: 0;
}
.dnkdarkmode-btn-sec-de3-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 3;
    border-radius: 40px;
    background-color: transparent;
    -webkit-transition: .4s;
    transition: .4s;
    overflow: hidden;
    box-shadow: inset 0 0 5px 5px #212836;
}
/* actuator */
.dnkdarkmode-btn-sec-de3-slider > .dnkdarkmode-btn-sec-de3-actuator {
    position: absolute;
    z-index: 4;
    height: 32px;
    width: 32px;
    left: 4px;
    bottom: 4px;
    -webkit-transition: .4s;
    transition: .4s;
    background-color: transparent;
    box-shadow: 0px 2.41565px 2.41565px rgba(0, 0, 0, 0.25), 2.41565px 4.22738px 4.8313px rgba(0, 0, 0, 0.25), inset 0px -3.01956px 2.41565px #B49A2C, inset 1.81174px 2.41565px 2.41565px rgba(254, 255, 237, 0.61);
    border-radius: 50%;
    overflow: hidden;
}
.dnkdarkmode-btn-sec-de3-actuator-shadow {
    transition: .4s;
}
.actuator-shadow-1 {
    background-color: rgba(255,255,255,0.2);
    border-radius: 50%;
    height: 48px;
    width: 48px;
    left: -4px;
    bottom: -4px;
    position: absolute;
    z-index: 3;
}
.actuator-shadow-2 {
    background-color: rgba(255,255,255,0.1);
    border-radius: 50%;
    height: 64px;
    width: 64px;
    left: -12px;
    bottom: -12px;
    position: absolute;
    z-index: 3;
}
.actuator-shadow-3 {
    background-color: rgba(255,255,255,0.1);
    border-radius: 50%;
    height: 80px;
    width: 80px;
    left: -20px;
    bottom: -20px;
    position: absolute;
    z-index: 3;
}
.dnkdarkmode-btn-sec-de3-actuator-background {
    width: 80px;
    height: 32px;
    transition: .4s;
    background-color: #f3c426;
}
.dnkdarkmode-btn-sec-de3-moon {
    border-radius: 50%;
    height: 32px;
    width: 32px;
    background-color: #c5c9ce;
    -webkit-transform: translateX(60px);
    -ms-transform: translateX(60px);
    transform: translateX(60px);
    box-shadow: 0px 2.41565px 2.41565px rgba(0, 0, 0, 0.25), 2.41565px 4.22738px 4.8313px rgba(0, 0, 0, 0.25), inset 0px -3.01956px 2.41565px #373737, inset 1.81174px 2.41565px 2.41565px rgba(255, 255, 255, 0.61);
    transition: .4s;
}
.dnkdarkmode-btn-sec-de3-crater {
    border-radius: 50%;
    position: absolute;
}
.dnkdarkmode-btn-sec-de3-moon-crater-1 {
    width: 5px;
    height: 5px;
    box-shadow: inset 0px 0px 2px 1px rgba(0,0,0,0.25);
    transform: translate(8px, 16px);
}
.dnkdarkmode-btn-sec-de3-moon-crater-2 {
    width: 4px;
    height: 4px;
    box-shadow: inset 0px 0px 1px 1px rgba(0,0,0,0.25);
    transform: translate(16px, 20px);
}
.dnkdarkmode-btn-sec-de3-moon-crater-3 {
    width: 6px;
    height: 6px;
    box-shadow: inset 0px 0px 2px 1px rgba(0,0,0,0.25);
    transform: translate(16px, 8px);
}
#dnkdarkmode-btn-sec-de3-switch:checked + .dnkdarkmode-btn-sec-de3-slider > .dnkdarkmode-btn-sec-de3-actuator,
#dnkdarkmode-btn-sec-de3-switch:checked + .dnkdarkmode-btn-sec-de3-slider > .dnkdarkmode-btn-sec-de3-actuator-shadow,
#dnkdarkmode-btn-sec-de3-switch:checked + .dnkdarkmode-btn-sec-de3-slider > .dnkdarkmode-btn-sec-de3-actuator > .dnkdarkmode-btn-sec-de3-actuator-background > .dnkdarkmode-btn-sec-de3-moon
{
    -webkit-transform: translateX(40px);
    -ms-transform: translateX(40px);
    transform: translateX(40px);
}
#dnkdarkmode-btn-sec-de3-switch:checked + .dnkdarkmode-btn-sec-de3-slider > .dnkdarkmode-btn-sec-de3-actuator {
    box-shadow: none;
}
#dnkdarkmode-btn-sec-de3-switch:checked + .dnkdarkmode-btn-sec-de3-slider > .dnkdarkmode-btn-sec-de3-actuator > .dnkdarkmode-btn-sec-de3-actuator-background {
    -webkit-transform: translateX(-40px);
    -ms-transform: translateX(-40px);
    transform: translateX(-40px);
    background-color: transparent;
}
/* slider background*/
.dnkdarkmode-btn-sec-de3-slider-background {
    position: absolute;
    height: 80px;
    width: 80px;
    display: flex;
    flex-direction: column;
    -webkit-transition: .8s;
    transition: .8s;
    z-index: 2;
}
.dnkdarkmode-btn-sec-de3-slider-background > div {
    height: 40px;
}
.dnkdarkmode-btn-sec-de3-day {
    background-color: #699dc9;
    overflow: hidden;
    position: relative;
}
.dnkdarkmode-btn-sec-de3-dimmed-clouds {
    transform: translateX(-15px) rotate(-5deg);
}
.dnkdarkmode-btn-sec-de3-dimmed {
    background-color: #a3c5e0;
}
.dnkdarkmode-btn-sec-de3-cloud {
    background-color: #f2fbfc;
    border-radius: 50%;
    position: absolute;
    z-index: 2;
}
.cloud-1 {
    width: 75px;
    height: 75px;
    transform: translateY(28px);
}
.cloud-2 {
    width: 50px;
    height: 50px;
    transform: translate(35px, 18px);
}
.cloud-3 {
    width: 50px;
    height: 50px;
    transform: translate(65px, 4px);
}
.dnkdarkmode-btn-sec-de3-night {
    background-color: #1d1e2c;
    overflow: hidden;
    position: relative;
}
.dnkdarkmode-btn-sec-de3-star {
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    background-color: #fff;
    position: absolute;
}
.dnkdarkmode-btn-sec-de3-star-1 {
    width: 3px;
    height: 3px;
    transform: translate(12px, 16px);
}
.dnkdarkmode-btn-sec-de3-star-2 {
    width: 5px;
    height: 5px;
    transform: translate(24px, 8px);
}
.dnkdarkmode-btn-sec-de3-star-3 {
    width: 3px;
    height: 3px;
    transform: translate(12px, 28px);
}
.dnkdarkmode-btn-sec-de3-star-4 {
    width: 3px;
    height: 3px;
    transform: translate(24px, 24px);
}
.dnkdarkmode-btn-sec-de3-star-5 {
    width: 3px;
    height: 3px;
    transform: translate(32px, 16px);
}
.dnkdarkmode-btn-sec-de3-star-6 {
    width: 4px;
    height: 4px;
    transform: translate(24px, 24px);
}
.dnkdarkmode-btn-sec-de3-star-6 {
    width: 3px;
    height: 3px;
    transform: translate(32px, 32px);
}
.dnkdarkmode-btn-sec-de3-switch #dnkdarkmode-btn-sec-de3-switch:checked + .dnkdarkmode-btn-sec-de3-slider > .dnkdarkmode-btn-sec-de3-slider-background {
    -webkit-transform: translateY(-40px);
    -ms-transform: translateY(-40px);
    transform: translateY(-40px);
}
/* DE4 */
.dnkdarkmode-btn-sec-de4 {
    position: relative;
}
.dnkdarkmode-btn-sec-de4 input[type="checkbox"] {
    background-image: -webkit-linear-gradient(hsla(0,0%,0%,.1), hsla(0,0%,100%,.1)),
    -webkit-linear-gradient(left, #f66 50%, #6cf 50%);
    background-size: 100% 100%, 200% 100%;
    background-position: 0 0, 15px 0;
    border-radius: 25px;
    box-shadow: inset 0 1px 4px hsla(0,0%,0%,.5),
    inset 0 0 10px hsla(0,0%,0%,.5),
    0 0 0 1px hsla(0,0%,0%,.1),
    0 -1px 2px 2px hsla(0,0%,0%,.25),
    0 2px 2px 2px hsla(0,0%,100%,.75);
    cursor: pointer;
    height: 25px;
    padding-right: 25px;
    width: 75px;
    -webkit-appearance: none;
    -webkit-transition: .25s;
    margin: 3px 0 0;
}
.dnkdarkmode-btn-sec-de4 .dnkdarkmode-css-btn-de4:after {
    background-color: #eee;
    background-image: -webkit-linear-gradient(hsla(0,0%,100%,.1), hsla(0,0%,0%,.1));
    border-radius: 25px;
    box-shadow: inset 0 1px 1px 1px hsla(0,0%,100%,1),
    inset 0 -1px 1px 1px hsla(0,0%,0%,.25),
    0 1px 3px 1px hsla(0,0%,0%,.5),
    0 0 2px hsla(0,0%,0%,.25);
    content: '';
    display: block;
    height: 25px;
    width: 50px;
}
.dnkdarkmode-btn-sec-de4 .dnkdarkmode-css-btn-de4:checked {
    background-position: 0 0, 35px 0;
    padding-left: 25px;
    padding-right: 0;
}
.dnkdarkmode-btn-sec-de4 i {
    display: block !important;
    position: absolute !important;
    font-size: 18px !important;
    line-height: 18px !important;
    z-index: 100;
    pointer-events: none;
}
.dnkdarkmode-css-btn-de4-dark {
    top: 7px;
    right: 4px;
    text-shadow: 1px 1px 1px #fff;
}
.dnkdarkmode-css-btn-de4-light {
    top: 7px;
    left: 4px;
}
/* DE5 */

.dnkdarkmode-btn-sec-de5 {
    font-size: 14px;
    margin: -5px 5px;
}
.dnkdarkmode-btn-sec-de5 input[type="checkbox"] {
    visibility: hidden;
    display: none;
}
.dnkdarkmode-btn-sec-de5 *,
.dnkdarkmode-btn-sec-de5 ::after,
.dnkdarkmode-btn-sec-de5 ::before {
    box-sizing: border-box;
}
.dnkdarkmode-btn-sec-de5 .dnkdarkmode-css-btn-de5-rocker {
    display: inline-block;
    position: relative;
    font-size: 2em;
    font-weight: bold;
    text-align: center;
    text-transform: uppercase;
    color: #888;
    width: 7em;
    height: 4em;
    overflow: hidden;
    border-bottom: 0.5em solid #eee;
}
.dnkdarkmode-btn-sec-de5 .dnkdarkmode-css-btn-de5-rocker-small {
    font-size: 0.75em;
}
.dnkdarkmode-btn-sec-de5 .dnkdarkmode-css-btn-de5-rocker::before {
    content: "";
    position: absolute;
    top: 0.7em;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #999;
    border: 0.5em solid #eee;
    border-bottom: 0;
}
.dnkdarkmode-btn-sec-de5 .dnkdarkmode-css-btn-de5-switch-left,
.dnkdarkmode-btn-sec-de5 .dnkdarkmode-css-btn-de5-switch-right {
    cursor: pointer;
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 2.5em;
    width: 3em;
    transition: 0.2s;
    user-select: none;
}
.dnkdarkmode-btn-sec-de5 .dnkdarkmode-css-btn-de5-switch-left {
    height: 2.4em;
    width: 2.75em;
    left: 0.85em;
    bottom: 0.4em;
    background-color: #ddd;
    transform: rotate(15deg) skewX(15deg);
}
.dnkdarkmode-btn-sec-de5 .dnkdarkmode-css-btn-de5-switch-right {
    right: 0.5em;
    bottom: 0;
    background-color: #bd5757;
    color: #fff;
}
.dnkdarkmode-btn-sec-de5 .dnkdarkmode-css-btn-de5-switch-left::before,
.dnkdarkmode-btn-sec-de5 .dnkdarkmode-css-btn-de5-switch-right::before {
    content: "";
    position: absolute;
    width: 0.4em;
    height: 2.45em;
    bottom: -0.45em;
    background-color: #ccc;
    transform: skewY(-65deg);
}
.dnkdarkmode-btn-sec-de5 .dnkdarkmode-css-btn-de5-switch-left::before {
    left: -0.4em;
}
.dnkdarkmode-btn-sec-de5 .dnkdarkmode-css-btn-de5-switch-right::before {
    right: -0.375em;
    background-color: transparent;
    transform: skewY(65deg);
}
.dnkdarkmode-btn-sec-de5 input:checked + .dnkdarkmode-css-btn-de5-switch-left {
    background-color: #0084d0;
    color: #fff;
    bottom: 0px;
    left: 0.5em;
    height: 2.5em;
    width: 3em;
    transform: rotate(0deg) skewX(0deg);
}
.dnkdarkmode-btn-sec-de5 input:checked + .dnkdarkmode-css-btn-de5-switch-left::before {
    background-color: transparent;
    width: 3.0833em;
}
.dnkdarkmode-btn-sec-de5 input:checked + .dnkdarkmode-css-btn-de5-switch-left + .dnkdarkmode-css-btn-de5-switch-right {
    background-color: #ddd;
    color: #888;
    bottom: 0.4em;
    right: 0.8em;
    height: 2.4em;
    width: 2.75em;
    transform: rotate(-15deg) skewX(-15deg);
}
.dnkdarkmode-btn-sec-de5 input:checked + .dnkdarkmode-css-btn-de5-switch-left + .dnkdarkmode-css-btn-de5-switch-right::before {
    background-color: #ccc;
}
.dnkdarkmode-btn-sec-de5 input:focus + .dnkdarkmode-css-btn-de5-switch-left {
    color: #333;
}
.dnkdarkmode-btn-sec-de5 input:checked:focus + .dnkdarkmode-css-btn-de5-switch-left {
    color: #fff;
}
.dnkdarkmode-btn-sec-de5 input:focus + .dnkdarkmode-css-btn-de5-switch-left + .dnkdarkmode-css-btn-de5-switch-right {
    color: #fff;
}
.dnkdarkmode-btn-sec-de5 input:checked:focus + .dnkdarkmode-css-btn-de5-switch-left + .dnkdarkmode-css-btn-de5-switch-right {
    color: #333;
}
.dnkdarkmode-btn-sec-de5 i {
    font-size: 18px;
}
/* DE6 */
.dnkdarkmode-btn-sec-de6
{
    margin: 2px 5px;
}
.dnkdarkmode-btn-sec-de6 .dnkdarkmode-css-btn-de6-tgl {
    display: none;
}
.dnkdarkmode-btn-sec-de6 .dnkdarkmode-css-btn-de6-tgl + .dnkdarkmode-css-btn-de6-tgl-btn {
    outline: 0;
    display: block;
    width: 4em;
    height: 2em;
    position: relative;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.dnkdarkmode-btn-sec-de6 .dnkdarkmode-css-btn-de6-tgl + .dnkdarkmode-css-btn-de6-tgl-btn:after,
.dnkdarkmode-btn-sec-de6 .dnkdarkmode-css-btn-de6-tgl + .dnkdarkmode-css-btn-de6-tgl-btn:before {
    position: relative;
    display: block;
    content: "";
    width: 50%;
    height: 100%;
}
.dnkdarkmode-btn-sec-de6 .dnkdarkmode-css-btn-de6-tgl + .dnkdarkmode-css-btn-de6-tgl-btn:after {
    left: 0;
}
.dnkdarkmode-btn-sec-de6 .dnkdarkmode-css-btn-de6-tgl + .dnkdarkmode-css-btn-de6-tgl-btn:before {
    display: none;
}
.dnkdarkmode-btn-sec-de6 .dnkdarkmode-css-btn-de6-tgl:checked + .dnkdarkmode-css-btn-de6-tgl-btn:after {
    left: 50%;
}
.dnkdarkmode-btn-sec-de6 .dnkdarkmode-css-btn-de6-tgl-skewed + .dnkdarkmode-css-btn-de6-tgl-btn {
    overflow: hidden;
    transform: skew(-10deg);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transition: all 0.2s ease;
    font-family: sans-serif;
    background: #888;
}
.dnkdarkmode-btn-sec-de6 .dnkdarkmode-css-btn-de6-tgl-skewed + .dnkdarkmode-css-btn-de6-tgl-btn:after,
.dnkdarkmode-btn-sec-de6 .dnkdarkmode-css-btn-de6-tgl-skewed + .dnkdarkmode-css-btn-de6-tgl-btn:before {
    transform: skew(10deg);
    display: inline-block;
    transition: all 0.2s ease;
    width: 100%;
    text-align: center;
    position: absolute;
    line-height: 2em;
    font-weight: bold;
    color: #fff;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.4);
}
.dnkdarkmode-btn-sec-de6 .dnkdarkmode-css-btn-de6-tgl-skewed + .dnkdarkmode-css-btn-de6-tgl-btn:after {
    left: 100%;
    content: attr(data-tg-on);
}
.dnkdarkmode-btn-sec-de6 .dnkdarkmode-css-btn-de6-tgl-skewed + .dnkdarkmode-css-btn-de6-tgl-btn:before {
    left: 0;
    content: attr(data-tg-off);
}
.dnkdarkmode-btn-sec-de6 .dnkdarkmode-css-btn-de6-tgl-skewed + .dnkdarkmode-css-btn-de6-tgl-btn:active {
    background: #888;
}
.dnkdarkmode-btn-sec-de6 .dnkdarkmode-css-btn-de6-tgl-skewed + .dnkdarkmode-css-btn-de6-tgl-btn:active:before {
    left: -10%;
}
.dnkdarkmode-btn-sec-de6 .dnkdarkmode-css-btn-de6-tgl-skewed:checked + .dnkdarkmode-css-btn-de6-tgl-btn {
    background: #86d993;
}
.dnkdarkmode-btn-sec-de6 .dnkdarkmode-css-btn-de6-tgl-skewed:checked + .dnkdarkmode-css-btn-de6-tgl-btn:before {
    left: -100%;
}
.dnkdarkmode-btn-sec-de6 .dnkdarkmode-css-btn-de6-tgl-skewed:checked + .dnkdarkmode-css-btn-de6-tgl-btn:after {
    left: 0;
}
.dnkdarkmode-btn-sec-de6 .dnkdarkmode-css-btn-de6-tgl-skewed:checked + .dnkdarkmode-css-btn-de6-tgl-btn:active:after {
    left: 10%;
}
/* DE7 */

.dnkdarkmode-btn-sec-de7 {
    --dnkdarkmode-css-btn-de7-size: 80px;
    display: block;
    position: relative;
    margin: 0;
}
#dnkdarkmode-css-btn-de7 {
    margin: 0;
}
.dnkdarkmode-css-btn-de7 {
    -webkit-appearance: none;
    width: var(--dnkdarkmode-css-btn-de7-size);
    height: calc(var(--dnkdarkmode-css-btn-de7-size) / 2);
    background-color: #fff;
    border: 3px solid #222;
    border-radius: 30px 100px 100px 100px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    outline: none;
    cursor: pointer;
    position: relative;
    transition: all 0.5s;
}
.dnkdarkmode-css-btn-de7::before {
    content: "";
    position: absolute;
    width: calc(var(--dnkdarkmode-css-btn-de7-size) / 2);
    height: calc(var(--dnkdarkmode-css-btn-de7-size) / 2);
    left: 0;
    top: 50%;
    transform: translateY(-50%) scale(0.7);
    border: 3px solid #222;
    border-radius: 30px 100px 100px 100px;
    background-color: #fde881;
    box-sizing: border-box;
    transition: all 0.5s;
}
.dnkdarkmode-css-btn-de7:checked {
    background-color: #fde881;
    border-radius: 100px 100px 30px 100px;
}
.dnkdarkmode-css-btn-de7:checked::before {
    left: 50%;
    background-color: #fff;
    border-radius: 100px 100px 30px 100px;
}
.dnkdarkmode-btn-sec-de7 span {
    position: absolute;
    display: block;
    font-size: calc(var(--dnkdarkmode-css-btn-de7-size) / 5);
    z-index: 100;
    top: 8px;
    pointer-events: none;
    line-height: 22px;
}
span.dnkdarkmode-css-btn-de7-light {
    left: 11px;
}
span.dnkdarkmode-css-btn-de7-dark {
    top: 9px;
    right: 9px;
}
/* DE8 */

.dnkdarkmode-btn-sec-de8 {
    display: block;
    position: relative;
    margin: 6px;
    text-align: center;
}
.dnkdarkmode-btn-sec-de8 .dnkdarkmode-css-btn-de8-switch {
    /* Variables */
    --dnkdarkmode-css-btn-de8-width: 62px;
    ---dnkdarkmode-css-btn-de8-height: 22px;
    --dnkdarkmode-css-btn-de8-thumb-color: #e8e8e8;
    --dnkdarkmode-css-btn-de8-track-color: #e8e8e8;
    --dnkdarkmode-css-btn-de8-track-active-color: #888;
    --dnkdarkmode-css-btn-de8-outline-color: #313131;
    --dnkdarkmode-css-btn-de8-outline-color2: rgb(192, 192, 192);
    font-size: 17px;
    position: relative;
    display: inline-block;
    width: var(--dnkdarkmode-css-btn-de8-width);
    height: var(---dnkdarkmode-css-btn-de8-height);
}
/* The slider */
.dnkdarkmode-btn-sec-de8 .dnkdarkmode-css-btn-de8-slider {
    box-sizing: border-box;
    border: 3px solid var(--dnkdarkmode-css-btn-de8-outline-color2);
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--dnkdarkmode-css-btn-de8-track-color);
    transition: .15s;
    border-radius: var(---dnkdarkmode-css-btn-de8-height);
}
.dnkdarkmode-btn-sec-de8 .dnkdarkmode-css-btn-de8-slider:before {
    box-sizing: border-box;
    position: absolute;
    content: "";
    height: var(---dnkdarkmode-css-btn-de8-height);
    width: var(---dnkdarkmode-css-btn-de8-height);
    border: 2px solid var(--dnkdarkmode-css-btn-de8-outline-color);
    border-radius: 100%;
    left: -2px;
    bottom: -2px;
    background-color: var(--dnkdarkmode-css-btn-de8-thumb-color);
    transform: translateY(-0.2em);
    box-shadow: 0 0.2em 0 var(--dnkdarkmode-css-btn-de8-outline-color);
    transition: .15s;
}
.dnkdarkmode-btn-sec-de8 input:checked + .dnkdarkmode-css-btn-de8-slider {
    background-color: var(--dnkdarkmode-css-btn-de8-track-active-color);
}
.dnkdarkmode-btn-sec-de8 input:focus-visible + .dnkdarkmode-css-btn-de8-slider {
    box-shadow: 0 0 0 2px var(--dnkdarkmode-css-btn-de8-track-active-color);
}
/* Raise thumb when hovered */
.dnkdarkmode-btn-sec-de8 input:hover + .dnkdarkmode-css-btn-de8-slider:before {
    transform: translateY(-0.3em);
    box-shadow: 0 0.3em 0 var(--dnkdarkmode-css-btn-de8-outline-color);
}
.dnkdarkmode-btn-sec-de8 input:checked + .dnkdarkmode-css-btn-de8-slider:before {
    transform: translateX(calc(var(--dnkdarkmode-css-btn-de8-width) - var(---dnkdarkmode-css-btn-de8-height))) translateY(-0.2em);
}
/* Raise thumb when hovered & checked */
.dnkdarkmode-btn-sec-de8 input:hover:checked + .dnkdarkmode-css-btn-de8-slider:before {
    transform: translateX(calc(var(--dnkdarkmode-css-btn-de8-width) - var(---dnkdarkmode-css-btn-de8-height))) translateY(-0.3em);
    box-shadow: 0 0.3em 0 var(--dnkdarkmode-css-btn-de8-outline-color);
}
.dnkdarkmode-btn-sec-de8 i {
    position: absolute !important;
    display: inline-block !important;
    z-index: 100 !important;
    pointer-events: none;
    font-size: 18px !important;
    left: 22px;
    top: 2px
}
/* DE9 */
.dnkdarkmode-btn-sec-de9 {
    position: relative;
    display: block;
    cursor: pointer;
    margin: 2px;
    line-height: 22px !important;
}
.dnkdarkmode-btn-sec-de9 label {
    background: white;
    border-radius: 8px;
    box-shadow: 0 50px 20px 0 rgba(0,0,0,0.1);
    display: flex;
    height: 30px;
    padding: 2px;
    position: relative;
    transition: transform 300ms ease, box-shadow 300ms ease;
    width: 70px;
    cursor: pointer;
}

.dnkdarkmode-btn-sec-de9 input {
    display: none;
}

.dnkdarkmode-btn-sec-de9 label:after {
    animation: dnkdarkmode-css-btn-de9-move-left-36 400ms;
    background: #E2E2E2 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='27' height='27' viewBox='0 0 24 24'%3E%3Cpath stroke='#E2E2E2' fill='#E2E2E2' stroke-linecap='round' d='M20.285 2l-11.285 11.567-5.286-5.011-3.714 3.716 9 8.728 15-15.285z'/%3E%3C/svg%3E") no-repeat center;
    border-radius: 8px;
    content: '';
    left: 3px;
    outline: none;
    position: absolute;
    transition: background 100ms linear;
    width: 26px;
    height: 26px;
    top: 2px;
    border: 1px solid #3f3f3f;
}

.dnkdarkmode-btn-sec-de9 label:active {
    box-shadow: 0px 10px 20px 0 rgba(0,0,0,0.2);
    transform: scale(1.15);
}

.dnkdarkmode-btn-sec-de9 input:checked + label:after {
    animation: dnkdarkmode-css-btn-de9-move-right-36 400ms;
    left: 42px;
}

.dnkdarkmode-btn-sec-de9 i {
    position: absolute !important;
    display: block;
    font-size: 22px;
    bottom: 4px;
    pointer-events: none;
    user-select: none;
}
.dnkdarkmode-css-btn-de9-dark {
    left: 5px;
}
.dnkdarkmode-css-btn-de9-light {
    right: 3px;
}
@keyframes dnkdarkmode-css-btn-de9-move-right-36 {
    0% {
        left: 8px;
    }
    75% {
        left: 47px;
    }
    100% {
        left: 42px;
    }
}

@keyframes dnkdarkmode-css-btn-de9-move-left-36 {
    0% {
        left: 46px;
    }
    75% {
        left: 2px;
    }
    100% {
        left: 8px;
    }
}
