.hide {
    display: none;
}

.toggle-box {
    text-align: center
}
/* 
The style below allow you to control the font of the switch.
To change it to the content font, simply replace the word 'headline' below
to read 'content' eg. font-family: var(--contentfont);
*/
.toggle-btn {
    font-family: var(--headlinefont);
}

.toggle-btn input,
.toggle-btn label {
    display: inline-block;
    vertical-align: middle;
    margin: 10px 0;
}

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* background-color: #4e43a2; Toggle Button Default BG Color*/
    -webkit-transition: 0.4s;
    transform: translate(0px, 0px);
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: 0.4s;
    transition: 0.4s;
}
/*
input:checked + .slider {
    background-color: #ccc1f8; Toggle Button Switch BG Color
}
*/

input:focus + .slider {
    box-shadow: 0 0 1px #8f83de;
}

input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}