@import url("/common/css-lib/skeleton/normalize.css");
/* @import url("/common/css-lib/skeleton/skeleton.css"); */

::-webkit-scrollbar {
    height: 8px;
    width: 8px;
    background: #fafafa;
}

::-webkit-scrollbar-thumb {
    background: #d5d5d5;
}

::-webkit-scrollbar-corner {
    background: #fafafa;
}

* {
    box-sizing: unset !important;
}

/********************************* */
html, body {
    height: 100%;
    margin: 0px;
    padding: 0px;
    font-family: 'Roboto', 'Google Sans Text', 'Google Sans', sans-serif;
    overflow: hidden;
    color: #222;

    font-size: 1.5em;
    line-height: 1.6;
    font-weight: 400;
}

html {
    font-size: 62.5%;
}

ul, li {
    padding: 0;
    margin: 0;
}

input, input:focus,
input[type='text'],
input[type='text']:focus,
input[type='email'],
input[type='email']:focus {
    background-color: inherit;
    outline: none;
    border: 0;
    border-radius: 0;
    border-bottom: 1px solid #eee;
    padding: 3px 3px 5px;
    height: auto;
    /* font-size:1.6rem; */
}

input, textarea, select, fieldset {
    margin-bottom: 0;
}

label, legend {
    display: inline;
    font-weight: 400;
}

th:last-child, td:last-child {
    padding-right: 0;
}

th:first-child, td:first-child {
    padding-left: 0;
}

th, td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #E1E1E1;
}


/********************************* */

.text-ellipsis {
    white-space: nowrap;
    text-overflow: ellipsis;
    width: 80%;
    overflow: hidden;
}

.w70p {
    width: 70%;
}

.w65p {
    width: 65%;
}

.w55p {
    width: 55%;
}

.w45p {
    width: 45%;
}

.centerBG {
    background-size: 100% 100%;
    background-position: center center;
}

/********************************* */

.v6-overlay {
    z-index: 1;
}

.v6-fixed {
    position: fixed;
}

.v6-popup {
    position: fixed;
    z-index: 5001;
    display: none;
}

/********************************* */
/*  */
div#v6-logo {
    position: fixed;
    background-position: 0px 0px;
    background-image: url(/images/sprites_v4.png);
    background-repeat: no-repeat;
    filter: invert(100%);
    background-size: 100%;
    bottom: 92px;
    left: 10px;
    width: 70px;
    height: 67px;
    z-index: 1;
    display: block;
    opacity: 0;
    transition: .3s all;
    cursor: pointer;
    font-size: 21px;
    color: #000;
    -webkit-text-stroke: #000;
    -webkit-text-stroke-width: 1px;
}

div#v6-logo.shown {
    opacity: 1;
}

div#v6-logo:hover {
    animation: v6-shake 1s cubic-bezier(.36, .07, .19, .97) both;
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
    perspective: 1000px;
}

@keyframes v6-shake {
    10%, 90% {
        transform: translate3d(-1px, 0, 0);
    }

    20%, 80% {
        transform: translate3d(1px, 0, 0);
    }

    30%, 50%, 70% {
        transform: translate3d(-2px, 0, 0);
    }

    40%, 60% {
        transform: translate3d(2px, 0, 0);
    }
}

/********************************* */
/*  */
#v6-block {
    height: 100vh;
    width: 100vw;
    position: fixed;
    top: 0;
    left: 0;
    background: #fff;
    z-index: 5000;

    display: none;
    transition: all .1s;
    opacity: 0;
}

#v6-block.v6-init {
    opacity: .6;
}

#v6-block.v6-ready {
    display: block;
}

#v6-block.v6-shown {
    opacity: .35;
}

#v6-block.black {
    background: #000;
    opacity: .85;
}

/********************************* */
/* spinner */
#v6-spinner {
    height: 120px;
    width: 475px;

    top: calc(50vh - 120px);
    left: calc(50vw - 215px);

    transition: all .8s;

    font-size: 36px;
}

#v6-spinner.faded {
    opacity: 0;
}

#v6-spinner h1 {
    font-family: 'Google Sans Text';
    margin: 10px 0 0 10px;
    border-right: .05em solid transparent;
    white-space: nowrap;
    overflow: hidden;
    width: 100%;
    animation:
        blink-caret .8s step-end 3,
        v6-type 1.8s steps(90, end);

    letter-spacing: -7px;
    color: #222;
    font-size: 2.5em;
    font-weight: 400;
}

#v6-spinner h2 {
    font-family: 'Google Sans Text';
    margin: 0px 0 0 5px;
    border-right: .05em solid transparent;
    white-space: nowrap;
    overflow: hidden;
    width: 100%;
    visibility: hidden;

    animation:
        v6-blink-caret .9s step-end 4,
        v6-type_h2 1.6s steps(90, end);
    animation-delay: 2s;
    animation-fill-mode: forwards;


    letter-spacing: -2px;
    color: #222;
    font-size: 1.2em;
    text-align: center;
    font-weight: 400;
}

@keyframes v6-type {
    0% {
        width: 0;
    }

    50% {
        width: 0;
    }

    100% {
        width: 100%
    }
}

@keyframes v6-type_h2 {
    0% {
        width: 0;
        visibility: visible;
    }

    50% {
        width: 0;
        visibility: visible;
    }

    100% {
        width: 100%;
        visibility: visible;
    }
}

/* The typewriter cursor effect */
@keyframes v6-blink-caret {
    from, to {
        border-color: transparent;
    }

    50% {
        border-color: #222;
    }
}

@media only screen and (max-width: 767px) {

    /* mobile */
    #v6-spinner {
        width: 370px;
        left: calc(50vw - 185px);
    }

    #v6-spinner h1 {
        letter-spacing: -4px;
        font-size: 1.55em;
    }

    #v6-spinner h2 {
        font-size: 1.05em;
    }
}

@media only screen and (max-width: 401px) {

    /* mobile */
    #v6-spinner {
        width: 330px;
        left: calc(50vw - 165px);
    }

    #v6-spinner h1 {
        letter-spacing: -4px;
        font-size: 1.45em;
    }

    #v6-spinner h2 {
        font-size: 0.9em;
    }
}

@media only screen and (max-width: 320px) {

    /* mobile */
    #v6-spinner {
        width: 290px;
        left: calc(50vw - 145px);
    }

    #v6-spinner h1 {
        letter-spacing: -4px;
        font-size: 1.25em;
    }

    #v6-spinner h2 {
        font-size: 0.8em;
    }
}

/****************************************** */
.v6-main-window {
    background: #fafafa;

    width: 50vw;
    height: 70vh;
    top: 15vh;
    left: 25vw;

    position: fixed;
    display: none;
    overflow: hidden;
    z-index: 5001;

    box-shadow: 0 3px 20px rgba(48, 48, 48, 0.9);
}

.v6-main-window.v6-opened {
    display: block;
    animation: main-window-open linear .15s;
    animation-fill-mode: both;
}

.v6-main-window.v6-closed {
    display: block;
    animation: main-window-close linear .15s;
    animation-fill-mode: both;
}

@keyframes main-window-open {
    0% {
        opacity: 0;
        transform: scale3d(0.7, 0.7, 1);
    }

    70% {
        opacity: .4;
    }

    100% {
        opacity: 1;
        transform: scale3d(1, 1, 1);
    }
}

@keyframes main-window-close {
    0% {
        opacity: 1;
        transform: scale3d(1, 1, 1);
    }

    30% {
        opacity: .4;
    }

    100% {
        opacity: 0;
        transform: scale3d(.7, .7, 1);
        display: none;
        z-index: -1;
    }
}


/******************************** */
.v6-side-window {
    width: 400px;
    max-width: 400px;

    /* height: calc(100vh - 93px); */
    /* height: 960px; */
    height: 906px;

    top: 0px;

    left: 0;
    position: fixed;
    display: none;
    overflow: hidden;
    opacity: 1;

    background: #fafafa;
    box-shadow: 0px 10px 22px 10px rgba(0, 0, 0, 0.5);

    transition: width .8s ease-out,
        max-width .8s ease-out;
}

.v6-side-window.v6-opened {
    display: block;
    animation: side-window-animation-open ease-out .5s;
    animation-fill-mode: both;
    /* keep animation end-state */
}

.v6-side-window.v6-closed {
    display: block;
    animation: side-window-animation-close ease-out .5s;
    animation-fill-mode: both;
    /* keep animation end-state */
}

.v6-side-window.strech {
    max-width: 660px;
    width: 60vw;
}

.v6-side-window.right {
    left: inherit;
    right: 0;
}

.v6-side-window.right.v6-opened {
    display: block;
    animation: side-window-right-animation-open ease-out .5s;
    animation-fill-mode: both;
    /* keep animation end-state */
}

.v6-side-window.right.v6-closed {
    display: block;
    animation: side-window-right-animation-close ease-out .5s;
    animation-fill-mode: both;
    /* keep animation end-state */
}

@media screen and (max-height: 905px) {
    .v6-side-window {
        height: 100vh;
        overflow-y: scroll;
    }

    side-menu > div > div.content {
        overflow-y: scroll;
    }
}



@keyframes side-window-animation-open {
    0% {
        display: block;
        opacity: 0;
        transform: translateX(-50vw);
    }

    60% {
        opacity: .95;
        /* transform: translateX(30px); */
    }

    80% {
        /* transform: translateX(-15px); */
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes side-window-animation-close {
    /* 0% {
        transform: translateX(0);
    }

    20% {
        transform: translateX(30px);
    } */

    80% {
        opacity: 0;
    }

    100% {
        transform: translateX(-50vw);
        display: none;
    }
}

@keyframes side-window-right-animation-open {
    0% {
        display: block;
        opacity: 0;
        transform: translateX(110vw);
    }

    20% {
        opacity: .95;
        transform: translateX(calc(100%-30px));
    }

    80% {
        /* transform: translateX(calc(100%+15px)); */
    }

    100% {
        opacity: 1;
        transform: translateX(calc(100%-375px));
    }
}

@keyframes side-window-right-animation-close {
    0% {
        transform: translateX(calc(100%-375px));
    }

    20% {
        transform: translateX(calc(100%-30px));
    }

    80% {
        opacity: 0;
    }

    100% {
        transform: translateX(110vw);
        display: none;
    }
}

/* .v6-side-window > div, .v6-side-window > section{
	padding: 3px 12px;
} */
.v6-side-window>div.title, .v6-main-window>div.title {
    background-color: #222;
    color: #fafafa;
    font-size: 2.5rem;
    font-weight: 300;
    letter-spacing: -1px;
    padding: 5px 30px 5px 12px;
}

.v6-side-window>div.title span.x::after,
.v6-main-window>div.title span.x::after {
    content: '\2716';
    font-size: 2rem;
    position: absolute;
    top: 0;
    right: 14px;
    cursor: pointer;
}

.v6-side-window div.spinner, .v6-main-window div.spinner {
    margin-top: 50px;
}

.v6-side-window div.spinner div, .v6-main-window div.spinner div {
    border: 3px solid #fafafa;
    /* Light grey */
    border-top: 3px solid #3498db;
    /* Blue */
    border-radius: 50%;
    width: 20px;
    height: 20px;
    padding: 15px;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}


/***** ITEM-BOX *****/
.item-box {
    display: block;
    /* height: 45px; */
    width: 100%;
    margin-bottom: 3px;
    margin-top: 3px;
    cursor: pointer;
    /*box-shadow: 0px 7px 7px rgba(0,0,0,0.3);*/
    border-bottom: 1px solid #a9a9a9;
    position: relative;
    transition: all .4s;
}

.item-box.shown div.info {
    opacity: 1;
}

/***** Tooltip *****/
.tooltip-text {
    /* visibility: hidden; */
    display: none;
    position: absolute;
    z-index: 1;
    /* width: 100px; */
    /* color: white; */
    /* background-color: #192733; */
    /* padding: 5px; */
}

.tooltip-hover-text:hover .tooltip-text {
    /* visibility: visible; */
    display: block;
}

.tooltip-text.top {
    top: -40px;
    left: -50%;
}

.tooltip-text.bottom {
    top: 25px;
    left: -50%;
}

.tooltip-text.left {
    top: -8px;
    right: 150%;
}

.tooltip-text.right {
    top: -8px;
    left: 150%;
}

.tooltip-hover-text {
    position: relative;
    /* display: inline-block; */
    /* margin: 40px; */
    /* text-align: center; */
}


/******************************** */
/* top windows */
.v6-top-window {
    opacity: 0;
    position: fixed;
    top: 0px;
    left: calc(50vw - 20px);
    padding: 10px 20px;

    box-shadow: 0px 10px 33px 10px rgba(0, 0, 0, 0.5);
    background: #fafafa;
    /* transition: top .8s ease-out, opacity .8s ease-out; */
}

.v6-top-window.v6-opened {
    display: block;
    /* top: 0px;
    opacity: 1; */

    animation: top-window-open linear .15s;
    animation-fill-mode: both;
}

.v6-top-window.v6-closed {
    display: block;
    /* top: -250px;
    opacity: 0; */

    animation: top-window-close linear .15s;
    animation-fill-mode: both;
}


@keyframes top-window-open {
    0% {
        display: block;
        opacity: 0;
        transform: translateY(-200px);
    }

    70% {
        opacity: .4;
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes top-window-close {
    0% {
        opacity: 1;
        transform: translateY(0);
    }

    30% {
        opacity: .4;
    }

    100% {
        opacity: 0;
        transform: translateY(-200px);
        z-index: -10;
    }
}

/******************************** */
/* marker-editor auto complete jquery plugin */
.copyFromDiv {
    max-height: 450px;
    overflow: auto;
}

.copyFromDiv li {
    padding: 4px;
    font-size: 12px;
    color: #fafafa;
    background-color: #222;
}

/* marker editor type selection */
#all_types-button {
    width: 100%;
    color: #222;
    background-color: #fff;
    font-size: 13px;
    padding: 4px 7px;
    display: flex;
}

#all_types-button span.ui-selectmenu-icon.ui-icon.ui-icon-triangle-1-s {
    display: none;
}

#all_types-button span:not(:first-child) {
    display: inline-flex;
}


#all_types-button span.circle {
    width: 19px;
    height: 19px;
    margin-right: 10px;
    display: inline-block;
}

#all_types-menu {
    color: #222;
    background-color: #fff;
    font-size: 13px;
    max-height: 60vh;
}


#all_types-menu div[role='option'] {
    display: flex;
    padding: 4px 7px;
}

#all_types-menu div[role='option'] span.circle {
    display: block;
    width: 19px;
    height: 19px;
    margin-right: 10px;
}