.layout-boxed .wrapper {
    max-width: 1366px;
    margin: 0 auto;
    background: #fff;
    -webkit-box-shadow: 0 0 20px rgba(0,0,0,0.15);
    box-shadow: 0 0 20px rgba(0,0,0,0.15);
    position: relative;
    overflow: hidden;
}


.admin-bar .switcher-wrapper {
    top: 32px
}

.switcher-wrapper {
    box-shadow: 0 0.125rem 2.75rem rgba(0, 0, 0, 0.17);
    width: 350px;
    position: fixed;
    top: 0;
    right: -350px;
    background: white;
    z-index: 9999999;
    height: 100%;
    transition: .5s ease;
}
.switcher-wrapper.active{
    right: 0;
}
.switcher-inner {
    height: 100%;
    padding-top: 20px;
    overflow-x: scroll;
}

.switcher-toggler {
    background-color: #ffffff;
    width: 50px;
    height: 50px;
    border-radius: 7px 0 0 7px;
    position: absolute;
    left: -50px;
    top: 150px;
    -webkit-box-shadow: -8px 5px 30px rgba(0, 0, 0, 0.1);
    box-shadow: -8px 5px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    line-height: 50px;
}

.switcher-toggler:hover{
    cursor: pointer;
}

.switcher-colors {
    padding: 40px 30px 20px 30px;
}
.more-demos,
.switcher-layout{
    padding: 40px 40px 40px 40px;
}

.switcher-colors h4{
    text-align: center;
}

.switcher-title {
    font-size: 20px;
    font-weight: 400;
    color: #3a4368;
    text-align:center;
    margin-bottom: 30px
}
.switcher-tab {
    margin: 0;
    padding: 0;
    text-align: center;
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    justify-content: center;
}
.switcher-tab .tab-item{
    list-style: none;
}
.switcher-tab button:first-child{
    border-radius: 5px 0 0 5px;
    border-right: 0
}
.switcher-tab button:last-child{
    border-radius: 0 5px 5px 0
}
.switcher-tab  button {
    border: 1px solid #e2e6ea;
    background-color: #ffffff;
    color: #818992;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    -webkit-transition: .3s;
    -o-transition: .3s;
    transition: .3s;
    padding: 8px 30px;
    min-width: 100px;
    margin: 0;
}

.switcher-tab button:focus{
    outline: none
}
.switcher-tab button.active{
    background: #3464e0;
    color: #fff
}

.switcher-layout,
.more-demos {
    border-top: 2px dashed #e2e6ea
}

.switcher-color-list {
    text-align: center;
    padding: 0 12% 0;
}
.switcher-color-list button{
    list-style: none;
    display: inline-block;
    margin: 0 10px 15px 0;
    transition: outline 0.1s ease, border-radius 0.05s ease
}
.switcher-color-list button:nth-child(3n){
    margin-right: 0
}

.switcher-color-list button{
    width: 50px;
    height: 50px;
    background: #ededed;
    border: none;
    border-radius: 10%;
}
.switcher-color-list button:hover,
.switcher-color-list button:focus{
    outline: none;
}
.switcher-color-list button.active{
    border-radius: 0px
}

.switcher-color-list button.color-red{
    background: #e74c3c
}
.switcher-color-list button.color-red.active{
    outline: 3px solid #b92616;
}

.switcher-color-list button.color-orange{
    background: rgba(255, 212, 20, 0.9)
}
.switcher-color-list button.color-orange.active{
    outline: 3px solid #c5a005;
}

.switcher-color-list button.color-green{
    background: #27ae60
}
.switcher-color-list button.color-green.active{
    outline: 3px solid #10773c;
}

.switcher-color-list button.color-violet{
    background: #8422ab
}
.switcher-color-list button.color-violet.active{
    outline: 3px solid #570a75;
}

.switcher-color-list button.color-blue{
    background: #4777f4
}
.switcher-color-list button.color-blue.active{
    outline: 3px solid #1647c5;
}

.switcher-color-list button.color-blue-2{
    background: #3464e0
}
.switcher-color-list button.color-blue-2.active{
    outline: 3px solid #113594;
}

.switcher-color-list button.color-turquoise{
    background: #1BD1EA
}
.switcher-color-list button.color-turquoise.active{
    outline: 3px solid #0f96a9;
}

.switcher-color-list button.color-pink{
    background: #FD74AC
}
.switcher-color-list button.color-pink.active{
    outline: 3px solid #e04c89
}

.switcher-color-list button.color-cornflower-blue{
    background: #5D58F7
}
.switcher-color-list button.color-cornflower-blue.active{
    outline: 3px solid #2f29e6
}


.item-previews{
    margin: 0;
    padding: 0;
}
.item-previews li{
    list-style: none;
}
.item-previews li:not(:last-child){
    margin-bottom: 30px
}
.item-previews li a{}
.item-previews li a img{
    max-width: 100%;
    border-radius: 5px;
    box-shadow: 0px 5px 20px 0px rgba(0, 35, 137, 0.15)
}
.item-previews li a img:hover{
    box-shadow: 0px 8px 30px 0px rgba(0, 35, 137, 0.15)
}


.background-patterns{
    text-align: center;
    margin: 30px 0 0 0;
    padding: 0;
    display: none;
}

.background-patterns button {
    background: url(../img/patterns/circle-pattern.png) no-repeat center center;
    width: 40px;
    height: 40px;
    list-style: none;
    margin: 10px 10px 0 0;
    display: inline-block;
    box-shadow: 0 0 0 1px #ccc;
    border: none
}
.background-patterns button:focus{
    outline: none
}

.background-patterns button.active{
    outline: 1px solid #3464e0
}

.background-patterns button:nth-child(4n) {
    margin-right: 0
}

.background-patterns button.pattern-1{
    background: url(../img/patterns/circle-pattern.png) no-repeat center center;
}

.background-patterns button.pattern-2{
    background: url(../img/patterns/circles-light.png) no-repeat center center;
}

.background-patterns button.pattern-3{
    background: url(../img/patterns/leaf-pattern.png) no-repeat center center;
}

.background-patterns button.pattern-4{
    background: url(../img/patterns/circle-pattern.png) no-repeat center center;
}

.background-patterns button.pattern-5{
    background: url(../img/patterns/memphis-colorful.png) no-repeat center center;
}

.background-patterns button.pattern-6{
    background: url(../img/patterns/round-pattern.png) no-repeat center center;
}

.background-patterns button.pattern-7{
    background: url(../img/patterns/spiration-light.png) no-repeat center center;
}

.background-patterns button.pattern-8{
    background: url(../img/patterns/swirl-pattern.png) no-repeat center center;
}

.background-patterns button.pattern-9{
    background: url(../img/patterns/curls.png) no-repeat center center;
}

.background-patterns button.pattern-10{
    background: url(../img/patterns/dark-angles.png) no-repeat center center;
}

.background-patterns button.pattern-11{
    background: url(../img/patterns/darkness.png) no-repeat center center;
}

.background-patterns button.pattern-12{
    background: url(../img/patterns/spiration-dark.png) no-repeat center center;
}



@media all and (max-width: 1024px){
    .switcher-wrapper{
        width: 320px;
        right: -320px;
    }
}

@media all and (max-width: 768px){
    .admin-bar .switcher-wrapper{
        top: 46px;
    }

    .switcher-wrapper{
        width: 300px;
        right: -300px;
    }
}

@media all and (max-width: 480px){
    .admin-bar .switcher-wrapper{
        top: 46px;
    }
    .switcher-wrapper{
        top: 0
    }
}
