img {
    max-width: 100%;
}
.demo-window {
    display: none;
}
.demo-window .close {
    opacity: 1;
    color: #fff;
}
.demo-window .demo-window__icon {
    cursor: pointer;
}
.demo-window .demo-window__text {
    text-align: center;
    font-size: 13px;
    color: rgba(40, 47, 55, 0.75);
    transition: color 0.35s ease;
}
.demo-window .demo-window__item:hover .demo-window__text {
    color: #007bff;
}
.demo-window .demo-window__item:hover .demo__setting-set--image {
    border-color: #007bff;
    cursor: pointer;
}
.demo-window .section__content {
    padding-left: 15px;
    padding-right: 15px;
}
.demo-window .demo__setting-set--image {
    margin-bottom: 16px;
    border: 3px solid rgba(40, 47, 55, 0.06);
    border-radius: 3px;
    transition: border-color 0.35s ease;
}
.demo {
    display: none;
    position: relative;
    z-index: 999;
}
.demo .demo__toggler {
    position: fixed;
    top: 280px;
    left: 0;
    width: 130px;
    padding: 15px;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    color: #fff;
    background-image: linear-gradient(90deg, #fc354c 0, #0abfbc 51%, #fc354c);
    background-size: 200% auto;
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    -webkit-transform: translateX(0);
    transform: translateX(0);
    transition: color 0.25s, background-position 0.5s ease, -webkit-transform 0.25s;
    transition: transform 0.25s, color 0.25s, background-position 0.5s ease;
    transition: transform 0.25s, color 0.25s, background-position 0.5s ease, -webkit-transform 0.25s;
}
.demo .demo__toggler:hover {
    background-position: 100%;
}
.demo.is-active .demo__toggler {
    -webkit-transform: translateX(617px);
    transform: translateX(617px);
    background-position: 100%;
}
.demo .demo__settings {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    -webkit-transform: translateX(-617px);
    transform: translateX(-617px);
    transition: opacity 0.25s ease, visibility 0.25s ease 0.25s, -webkit-transform 0.25s;
    transition: transform 0.25s, opacity 0.25s ease, visibility 0.25s ease 0.25s;
    transition: transform 0.25s, opacity 0.25s ease, visibility 0.25s ease 0.25s, -webkit-transform 0.25s;
}
.demo.is-active .demo__settings {
    opacity: 1;
    visibility: visible;
    -webkit-transform: translateX(0);
    transform: translateX(0);
    transition: opacity 0.25s ease, visibility 0s ease 0s, -webkit-transform 0.25s;
    transition: transform 0.25s, opacity 0.25s ease, visibility 0s ease 0s;
    transition: transform 0.25s, opacity 0.25s ease, visibility 0s ease 0s, -webkit-transform 0.25s;
}
.demo .demo__settings-reset {
    padding: 15px;
    background-color: #fff;
    border-bottom: 1px solid #efefef;
}
.demo .demo__settings-content {
    position: relative;
    display: flex;
    align-items: stretch;
    background-color: #fff;
    height: calc(100vh - 69px);
    overflow-y: scroll;
}
.demo .demo__settings-left {
    width: 150px;
}
.demo .demo__settings-right {
    position: relative;
    width: 450px;
    background-color: #fafafa;
}
.demo .demo__settings-item {
    width: 100%;
    padding: 20px 15px;
    background-color: #fafafa;
    border-right: 1px solid #efefef;
    border-bottom: 1px solid #efefef;
    border-top-width: 0;
    border-left-width: 0;
    cursor: pointer;
}
.demo .demo__settings-item--setting {
    position: absolute;
    background-color: #fff;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease 0.25s;
}
.demo .demo__settings-item.is-active {
    background-color: #fff;
    border-right: 1px solid #fff;
    visibility: visible;
    opacity: 1;
    transition: opacity 0.25s ease, visibility 0s ease 0s;
}
.demo .demo__settings-item:focus {
    outline: none;
}
.demo .demo__settings-item--button {
    font-size: 13px;
    font-weight: 600;
}
.demo .demo__settings-item--button.is-active,
.demo .demo__settings-item--button:hover {
    color: #fff;
    background-color: #007bff;
}
.demo .demo__setting-set--box {
    display: inline-block;
    margin-right: 4px;
    width: 64px;
    height: 64px;
    min-height: 64px;
    min-width: 64px;
}
.demo .demo__settings-setting {
    margin-bottom: 20px;
}
.demo .demo__setting-title {
    margin-bottom: 8px;
    font-weight: 700;
    color: rgba(40, 47, 55, 0.75);
}
.demo .demo__setting-description {
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 600;
    color: rgba(40, 47, 55, 0.75);
}
.demo .demo__setting-set {
    cursor: pointer;
}
.demo .demo__setting-set--image {
    max-width: 100%;
    border: 3px solid rgba(40, 47, 55, 0.15);
    border-radius: 3px;
}
.demo .demo__setting-set--image:not(:last-child) {
    margin-bottom: 10px;
}
.demo .demo__setting-set--image:hover,
.demo .demo__setting-set.is-selected {
    border: 3px solid #007bff;
}
.demo .demo__setting-color {
    margin-right: 10px;
    margin-bottom: 10px;
    cursor: pointer;
}
.demo .demo__checkbox {
    display: flex;
    align-items: center;
}
.demo .demo__checkbox:not(:last-child) {
    margin-bottom: 15px;
}
.demo .checkbox {
    margin-right: 10px;
}
.demo .demo__label {
    margin-bottom: 0;
    color: #747474;
}
.demo .custom-control-label {
    font-size: 13px;
    font-weight: 600;
}
.demo .custom-control-label:after,
.demo .custom-control-label:before {
    top: 2px;
}
.checkbox {
    border: 0;
    cursor: pointer;
    position: relative;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 45px;
    border-radius: 30px;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.25);
}
.checkbox,
.checkbox:after {
    background-color: #fff;
    height: 20px;
    transition: 0.3s ease;
}
.checkbox:after {
    content: "";
    left: 0;
    right: 25px;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
    position: absolute;
    border-radius: 30px;
    top: 0;
}
.checkbox:focus {
    outline: 0;
}
.checkbox:active {
    background-color: #eee;
}
.checkbox:active:after {
    right: 25px;
}
.checkbox:checked {
    background-color: #42a5f5;
}
.checkbox:checked:after {
    right: 0;
    left: 25px;
}
.checkbox:checked:active {
    background-color: #1976d2;
}
.checkbox:checked:active:after {
    left: 25px;
}
@media (min-width: 992px) {
    .demo,
    .demo-window {
        display: block;
    }
}
