html {
    box-sizing: border-box
}

*,*:before,*:after {
    box-sizing: inherit;
}

.container {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
}

svg {
    vertical-align:inherit;
}

.box {
    border: 3px solid #666;
    background-color: #ddd;
    border-radius: .5em;
    padding: 10px;
    /*cursor: move;*/
}

.box.over {
    border: 3px dotted #666;
}

.anim_rotate {
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}

.centered-element {
    margin: 0;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}

.centered-h-element {
    margin: 0;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

/* Style the tab */
.tab {
    overflow: hidden;
    border: 1px solid #767982;
    background-color: #333b4f;
}

/* Style the buttons inside the tab */
.tab button {
    background-color: inherit;
    color: white;
    float: left;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 14px 16px;
    transition: 0.3s;
    font-size: 17px;
}

/* Change background color of buttons on hover */
.tab button:hover {
    background-color: #6a9dea;
}

/* Create an active/current tablinks class */
.tab button.active {
    background-color: #515662;
}

/* Style the tab content */
.tabcontent {
    display: none;
    padding: 6px 12px;
    border: 1px solid #767982;
    border-top: none;
}

.less_code-background-dark {
    background-color: #232b3f
}

.less_code-background {
    background-color: #555865
}

.less_code-background-window {
    background-color: #1b1f29
}

.less_code_panel {
    color: white;
    background-color: #333b4f;
    border-color: white;
    border-width: 1px;
    border-style: solid;
}

.less_code-debug-element {
    outline-width: 3px;
    outline-color: red;
    outline-style: dashed;
}
.less_code-debug-element-selected {
    outline-width: 3px;
    outline-color: blue;
    outline-style: dashed;
}

.less_movable{
    /*background-color: gray;*/
    cursor: move;
}




.less_window_dock{
    position:absolute;
    transform-origin: top left;
    min-height: 150px;
    border-radius:10px 10px 0 0;
    border-width: 1px 1px 1px 1px;
    border-style: solid;
    border-color:  white;
    background-color: #2588f080;
    /*animation: move_less_dock 0.4s normal forwards;*/
}

@keyframes move_less_dock {
    from {
    }
    to {
        top: 1200px;
        left: var(--less-window-dock-left);
        scale: 0.01
    }
}

.less_divider{
    position:relative;
    transform-origin: top left;
    cursor: default;
    /*    border-width: 1px 1px 1px 1px;
        border-style: solid;
        border-color:  white;
        background-color: #2588f080;*/
    /*animation: fadein 0.5s;*/
}

.window-overlay{
    display:block;
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 50%;
    background-color: #00000000;
}
#less_toast {
    visibility: hidden;
    min-width: 250px;
    margin-left: -125px;
    background-color: #202530;
    color: #fff;
    text-align: center;
    border-radius: 10px;
    padding: 16px;
    position: fixed;
    z-index: 1;
    left: 50%;
    bottom: 50px;
    font-size: 17px;
}

#less_toast.show {
    visibility: visible;
    -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
    animation: fadein 0.5s, fadeout 0.5s 2.5s;
}

@-webkit-keyframes fadein {
    from {
        bottom: 0;
        opacity: 0;
    }
    to {
        bottom: 50px;
        opacity: 1;
    }
}

@keyframes fadein {
    from {
        bottom: 0;
        opacity: 0;
    }
    to {
        bottom: 50px;
        opacity: 1;
    }
}

@-webkit-keyframes fadeout {
    from {
        bottom: 50px;
        opacity: 1;
    }
    to {
        bottom: 0;
        opacity: 0;
    }
}

@keyframes fadeout {
    from {
        bottom: 50px;
        opacity: 1;
    }
    to {
        bottom: 0;
        opacity: 0;
    }
}

.ui-resizable-handle {
    position: absolute;
    font-size: 0.1px;
    display: block;
    -ms-touch-action: none;
    touch-action: none;
    /*z-index: 2;*/
    /*background-color: #4d851580;*/
}
.ui-resizable-n {
    cursor: n-resize;
    height: 35px;
    width: 100%;
    top: -30px;
    left: 0
}

.ui-resizable-s {
    cursor: s-resize;
    height: 35px;
    width: 100%;
    bottom: -30px;
    left: 0
}

.ui-resizable-e {
    cursor: e-resize;
    width: 35px;
    right: -30px;
    top: 0;
    height: 100%
}

.ui-resizable-w {
    cursor: w-resize;
    width: 35px;
    left: -30px;
    top: 0;
    height: 100%
}
.ui-resizable-se {
    cursor: se-resize;
    width: 32px;
    height: 32px;
    right: -25px;
    bottom: -25px
}

.ui-resizable-sw {
    cursor: sw-resize;
    width: 32px;
    height: 32px;
    left: -25px;
    bottom: -25px
}

.ui-resizable-nw {
    cursor: nw-resize;
    width: 32px;
    height: 32px;
    left: -25px;
    top: -25px
}

.ui-resizable-ne {
    cursor: ne-resize;
    width: 32px;
    height: 32px;
    right: -25px;
    top: -25px
}

/* Dropup Button */
.dropbtn {
    background-color: green;
    color: white;
    padding: 8px;
    padding-left: 20px;
    padding-right: 20px;
    font-size: 16px;
    border: none;
}

/* The container <div> - needed to position the dropup content */
.dropup {
    position: relative;
    display: inline-block;
}

/* Dropup content (Hidden by Default) */
.dropup-content {
    display: none;
    position: absolute;
    bottom: 39px;
    background-color: #f1f1f1;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 100;
}

/* Links inside the dropup */
.dropup-content a {
    color: black;
    padding: 6px 15px;
    text-decoration: none;
    display: block;
}

/* Change color of dropup links on hover */
.dropup-content a:hover {
    background-color: #ddd
}

/* Show the dropup menu on hover */
.dropup:hover .dropup-content {
    display: block;
}

/* Change the background color of the dropup button when the dropup content is shown */
.dropup:hover .dropbtn {
    background-color: #20ff20;
}

.noselect {
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    -khtml-user-select: none; /* Konqueror HTML */
    -moz-user-select: none; /* Old versions of Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none; /* Non-prefixed version, currently
                          supported by Chrome, Edge, Opera and Firefox */
}