a.lm-demo-panel-switcher {
    position: fixed;
    background-color: #fff;
    font-size: 18px;
    line-height: 1em;
    text-decoration: none;
    color: #fff;
    padding: 10px 12px;
    top: 120px;
    border: 1px solid #d5d5d5;
    z-index: 100;
    outline: 0;
    cursor: pointer;
    -webkit-transition: all .2s linear;
    -moz-transition: all .2s linear;
    -o-transition: all .2s linear;
    transition: all .2s linear;
    -webkit-transform: translateZ(0);
    -moz-transform: translateZ(0);
    -ms-transform: translateZ(0);
    -o-transform: translateZ(0);
    transform: translateZ(0)
}

a.lm-demo-panel-switcher i {
    color: #222;
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out
}

a.lm-demo-panel-switcher:hover i {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    transform: rotate(360deg)
}

a.lm-demo-panel-switcher.left {
    left: 0;
    border-left: 0;
    border-top-right-radius: 2px;
    -moz-border-radius-topright: 2px;
    -webkit-border-top-right-radius: 2px;
    -moz-border-radius-bottomright: 2px;
    -webkit-border-bottom-right-radius: 2px;
    border-bottom-right-radius: 2px
}

a.lm-demo-panel-switcher.right {
    right: 0;
    border-right: 0;
    border-bottom-left-radius: 2px;
    border-top-left-radius: 2px;
    -moz-border-radius-bottomleft: 2px;
    -moz-border-radius-topleft: 2px;
    -webkit-border-bottom-left-radius: 2px;
    -webkit-border-top-left-radius: 2px
}

.lm-demo-panel {
    display: block;
    position: fixed;
    top: 168px;
    max-height: calc(100% - 168px);
    overflow: auto;
    opacity: 0;
    visibility: hidden;
    background: #fff;
    width: 160px;
    height: auto;
    z-index: 1999;
    padding: 15px 15px 20px;
    border: 1px solid #d5d5d5;
    -webkit-box-shadow: 0 1px 12px rgba(0, 0, 0, .1);
    -moz-box-shadow: 0 1px 12px rgba(0, 0, 0, .1);
    box-shadow: 0 1px 12px rgba(0, 0, 0, .1);
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out
}

.lm-demo-panel.left {
    left: 0;
    margin-left: -160px;
    border-left: 0;
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out
}

.lm-demo-panel.right {
    right: 0;
    margin-right: -160px;
    border-right: 0;
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
}

.lm-demo-panel.left.active,
.lm-demo-panel.right.active {
    margin-left: 0;
    margin-right: 0;
    opacity: 1;
    visibility: visible;
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out
}

.lm-demo-panel .demo-panel-title {
    display: block;
    font-size: 16px;
    text-align: center;
    color: inherit;
    margin-bottom: 7px
}

.demo-panel-options {
    display: inline-block;
    width: 100%;
    margin-bottom: 7px
}

.demo-panel-options a {
    cursor: pointer
}

.lm-demo-panel .preview {
    position: relative;
    float: left;
    width: 29%;
    height: 29%;
    margin: 2%;
    padding: 1px
}

.lm-demo-panel .preview.w-border {
    outline: 1px solid #e5e5e5;
    outline-offset: -1px
}

.lm-demo-panel .current-main-color .preview:after,
.lm-demo-panel .current-h-color .preview:after {
    position: absolute;
    display: inline-block;
    left: 50%;
    top: 50%;
    margin-top: -4px;
    margin-left: -2px;
    content: '';
    display: block;
    width: 5px;
    height: 8px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg)
}

.lm-demo-panel .current-main-color.inverse .preview:after,
.lm-demo-panel .current-h-color.inverse .preview:after {
    border-color: #222
}

.lm-demo-panel .current-t-style .preview {
    -webkit-box-shadow: 0 1px 7px rgba(0, 0, 0, .15);
    -moz-box-shadow: 0 1px 7px rgba(0, 0, 0, .15);
    box-shadow: 0 1px 7px rgba(0, 0, 0, .15)
}

.lm-demo-panel a.layout-switcher {
    display: block;
    cursor: pointer
}

.lm-demo-panel .preview.layout {
    display: block;
    float: none;
    width: 100%;
    height: 34px;
    line-height: 34px;
    font-size: 13px;
    color: #666;
    background-color: #f8f8f8;
    margin: 0 0 10px;
    text-align: center
}

.lm-demo-panel .preview.layout.right {
    border-right: 3px solid #333;
}

.lm-demo-panel .preview.layout.left {
    border-left: 3px solid #333
}

.lm-demo-panel .preview.layout.top {
    border-top: 3px solid #333
}

.lm-demo-panel .preview.layout.bottom {
    border-bottom: 3px solid #333
}

.lm-demo-panel .current-layout .preview.layout,
.lm-demo-panel .layout-switcher:hover .preview.layout {
    border-color: #ff724c
}

.lm-demo-panel .t-style {
    width: 46%;
    height: 34px;
    line-height: 34px;
    font-size: 13px;
    color: #666;
    text-align: center
}

.color-1 {
    background: #ff724c
}

.color-2 {
    background: #4d91de
}

.color-3 {
    background: #8bcf00
}

.color-4 {
    background: #fd9129
}

.color-5 {
    background: #e5be24
}

.color-6 {
    background: #9161e0
}

.preview.h-color-1 {
    background: #fff
}

.preview.h-color-2 {
    background: #ff724c
}

.preview.h-color-3 {
    background: #222
}

.panel-color-red .preview.h-color-2 {
    background: #ff724c
}

.panel-color-blue .preview.h-color-2 {
    background: #4d91de
}

.panel-color-green .preview.h-color-2 {
    background: #8bcf00
}

.panel-color-orange .preview.h-color-2 {
    background: #fd9129
}

.panel-color-yellow .preview.h-color-2 {
    background: #e5be24
}

.panel-color-violet .preview.h-color-2 {
    background: #9161e0
}

.preview.t-style-light {
    background-color: #fff
}

.preview.t-style-dark {
    background-color: #222;
    color: #fff
}