/*body.lt {
    display: none;
}*/
body * {
    text-shadow: none !important;
}
body.disabled-scroll {
    overflow: hidden !important;
    touch-action: none;
}
input, select, textarea {
    outline: none !important;
}
.lt-hdn {
    display: none;
}
a.disabled-link {
    pointer-events: none;
}
/* не всегда срабатывает на iphone */
#left-menu, #right-menu, #left-menu *, #right-menu * {
    touch-action: pan-y !important;
}


.lt-round-icon, .lt-round-icon-bigger {
    background: #54a3c9db;
    color: white;
    width: 27px;
    height: 27px;
    line-height: 27px;
    text-align: center;
    border-radius: 50%;
    cursor: pointer;
}
.lt-round-icon-bigger {
    width: 36px;
    height: 36px;
    line-height: 36px;
}
.lt-round-icon:hover, .lt-round-icon-bigger:hover {
    background: #54a3c9;

}


/* Preloader */
#lt-preloader {
    display: block;
    text-align: center;
    z-index: 100000;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    opacity: 0.6;
}
.lds-ellipsis {
    z-index: 100001;
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
}
.lds-ellipsis div {
    position: absolute;
    top: 33px;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: var(--lt-brand-color);
    animation-timing-function: cubic-bezier(0, 1, 1, 0);
}
.lds-ellipsis div:nth-child(1) {
    left: 8px;
    animation: lds-ellipsis1 0.6s infinite;
}
.lds-ellipsis div:nth-child(2) {
    left: 8px;
    animation: lds-ellipsis2 0.6s infinite;
}
.lds-ellipsis div:nth-child(3) {
    left: 32px;
    animation: lds-ellipsis2 0.6s infinite;
}
.lds-ellipsis div:nth-child(4) {
    left: 56px;
    animation: lds-ellipsis3 0.6s infinite;
}
@keyframes lds-ellipsis1 {
    0% {
        transform: scale(0);
    }
    100% {
        transform: scale(1);
    }
}
@keyframes lds-ellipsis3 {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(0);
    }
}
@keyframes lds-ellipsis2 {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(24px, 0);
    }
}

/* Кнопки */
.lt-button { /* Кнопка действия: обновить, сохранить, итп */
    display: block;
    flex-direction: column;
    align-items: center;
    padding: 3px 8px;
    border-radius: var(--lt-basic-border-radius);
    border: none;
    box-shadow: 0px 0.5px 1px rgba(0, 0, 0, 0.1), inset 0px 0.5px 0.5px rgba(255, 255, 255, 0.5), 0px 0px 0px 0.5px rgba(0, 0, 0, 0.12);
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
}
.lt-action-button { /* Кнопка действия: обновить, сохранить, итп */
    background: var(--lt-action-button-bg-color);
    color: #fff;
}
.lt-action-button:hover {
    background: var(--lt-action-button-bg-hover-color);
}
.lt-action-button:disabled {
    background: var(--lt-action-button-bg-disabled-color);
}


/* Выпадающее меню */
/* Style The Dropdown Button */
.dropbtn {
    background-color: #4CAF50;
    color: white;
    padding: 16px;
    font-size: 16px;
    border: none;
    cursor: pointer;
}

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

/* Dropdown Content (Hidden by Default) */
.lt-dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1000000;
    right: 0;
}

/* Links inside the dropdown */
.lt-dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

/* Change color of dropdown links on hover */
.lt-dropdown-content a:hover {background-color: #f1f1f1}

/* Show the dropdown menu on hover */
.lt-dropdown:hover .lt-dropdown-content {
    display: block;
}
.lt-dropbtn:focus + .lt-dropdown-content {
    display: block;
}

/* Change the background color of the dropdown button when the dropdown content is shown */
.lt-dropdown:hover .lt-dropbtn {
    background-color: #7E7D80FF;
}
.lt-dropbtn:focus {
    background-color: #7E7D80FF;
}
div.lt-createform-subheader {
    font-style: italic;
    font-size: 10pt;
    margin-top: 3px;
    margin-left: 4px;
    margin-bottom: 0.5em;
}
div.lt-createform-subheader > a {
    font-weight: bold;
    color: var(--lt-label-color) !important;
}
div.lt-unedit-div {
    margin-top: 10px;
    margin-left: 4px;
}

.lt-text-editor {
    margin-bottom: 0.4em;
}

/* Системный стиль для того, чтобы тектовый редактор имел неограниченную высоту. Обрабатывается в JS. */
.lt-text-editor-unlimited {}

#context-menu-buttons {
    clear: both;
    /*margin-bottom: 0.4em;*/
}
#context-menu-buttons button i {
    margin-right: 5px;
}




/* Стиль для mermaid */
.lt-mermaid .nodeLabel {
    font-size:11pt;
}
.lt-mermaid .nodeLabel > div {
    font-size: 8px;
    color: #333;
}
.lt-mermaid .nodeLabel > div {
    margin-top: 5px;
}
.lt-mermaid .nodeLabel > .fa:first-child {
    color: #fff !important;
    font-weight: normal !important;
    font-size: 16pt !important;
    margin-bottom: 4px !important;
}
.lt-mermaid .nodeLabel > .fa:not(:first-child) {
    color: #fff !important;
    font-weight: normal !important;
    font-size: 10pt !important;
    margin-top: 4px !important;
}
.lt-mermaid-hidden {
    visibility: hidden;
    position: absolute;
    left: 9999px;
    top: 9999px;
}
.lt-mermaid-legend {
    font-weight: normal;
    font-size: 10pt;
    color:#818181;
    margin-top: 0.8em;
}
.lt-mermaid-legend > div {
    /*margin-bottom: 6px;
    padding-right: 6px;
    text-align: center;
    line-height: 18px;*/
    line-height: 18px;
}
.lt-mermaid-legend i {
    color: #44a65b;
    font-weight: bold;
    width: 22px;
    display: inline-block;
}
.lt-mermaid-legend h3 {
    color: #242424;
}


.tippy-box {
    color: white;
    background: #999;
    /*border: 1px solid #b6b6b6;*/
    box-shadow: 3px 3px 5px 0px rgba(0,0,0,0.3) !important;
    -webkit-box-shadow: 3px 3px 5px 0px rgba(0,0,0,0.3) !important;
    -moz-box-shadow: 3px 3px 5px 0px rgba(0,0,0,0.3) !important;
}
.tippy-arrow:before {
    color: #999;
}



.lt-icon-button-wrapper {
    display: inline-flex;
    align-items: center;
}
.lt-icon-button-wrapper > i, .lt-icon-button-wrapper > div {
    margin-right: 9px;
}
.lt-icon-button {
    cursor: pointer;
    color: #a9c7d4 !important;
    font-size: 21px;
}
.lt-icon-button:hover {
    color: #8ab3c4 !important;
}


.lt-help-control {

}
.lt-hc-init-button .tippy-content {
    max-width: 350px;
}
.lt-hc-init-button .tippy-content > div {
    display: flex;
    align-items: center;
}
.lt-hc-init-button .tippy-content i {
    color: #44a65b;
    font-weight: bold;
    width: 25px;
    display: inline-block;
}
.lt-hc-init-button .tippy-box {
    color: #313131;
    background: #e3f2f8;
    /*border: 1px solid #b6b6b6;*/
    box-shadow: 3px 3px 5px 0px rgba(0,0,0,0.3) !important;
    -webkit-box-shadow: 3px 3px 5px 0px rgba(0,0,0,0.3) !important;
    -moz-box-shadow: 3px 3px 5px 0px rgba(0,0,0,0.3) !important;
}

.lt-section-row > div > label:not(:first-child) {
    margin-top: 0.6em;
}