.sidenav {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    background-color: #111;
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 60px;
    padding-bottom: 30px;
}

.sidenav a {
    padding: 0px 8px 0px 20px;
    text-decoration: none;
    font-size: 10px;
    color: #818181;
    display: block;
    transition: 0.3s;
}

.sidenav a:hover {
    color: #f1f1f1;
}

.sidenav .closebtn {
    position: absolute;
    top: 35px;
    right: 15px;
    font-size: 25px;
    margin-left: 100px;
}

#main {
    transition: margin-left .5s;
    padding: 0 10px 0 10px;
    
}

@media screen and (max-height: 450px) {
    .sidenav {
        padding-top: 15px;
    }

    .sidenav a {
        font-size: 18px;
    }
}



/* The Close Button */
.close {
    color: #aaa;
}

.close:hover,
.close:focus {
    color: #f1f1f1;
    text-decoration: none;
    cursor: pointer;
}

@keyframes fadein {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

#grid {
    padding: 5px;
    margin: 5px;
        
}

.grid {
    margin-bottom: 50px;
}

.element-item {
    padding: 2px;

}

.ui-group {
    margin-top: 7px;
        
}

/*-------------------------------------*/
/*-------------------------------------*/
/*-------------------------------------*/
/*-------------------------------------*/
/*-------------------------------------*/
/*-------------------------------------*/

.selected {
/*    border: solid 1px #353535;
    border-radius: .5rem*/
    
}


INPUT[type=checkbox]:focus
{
    outline: 1px solid rgba(0, 0, 0, 0);
}

INPUT[type=checkbox]
{
    background-color: #171717;
    border: solid 1px #323232;
    border-radius: 5px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 11px;
    height: 11px;
    cursor: pointer;
    position: relative;
    top: 2px;
}

INPUT[type=checkbox]:checked
{
    background-color: #ff7020;
   
}







.btnPreview {
    display: inline-block;
    font-weight: 400;
   /* color: #212529;*/
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-color: transparent;
    border: 1px solid transparent;
    padding: .1rem .1rem;
/*    font-size: 1rem;
    line-height: 1.5;*/
    border-radius: 1.1rem;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out
}

@media (prefers-reduced-motion:reduce) {
    .btnPreview {
        transition: none
    }
}

.btnPreview:hover {
    color: #212529;
    text-decoration: none
}

.btnPreview.focus,
.btnPreview:focus {
    outline: 0;
/*    box-shadow: 0 0 0 .2rem rgba(0, 123, 255, .25)*/
}

.btn-primary-preview {
    /*color: #999999;
    background-color: #111111;
    border-color: #2d2c2c;*/
        font-size:10px; 
            
}

.btn-primary-preview:hover {
    color: #fff;
    background-color: #3b3b3b;
    /*border-color: #0062cc*/
}

.btn-primary-preview.focus,
.btn-primary-preview:focus {
    color: #fff;
    background-color: #3b3b3b;
    /*border-color: #0062cc;*/
    /*box-shadow: 0 0 0 .2rem rgba(38, 143, 255, .5)*/
}