/*
 * Copyright (c) 2013 Tracelink ApS - www.tracelink.dk - info@tracelink.dk
 * -----------------------------------------------------------------------
 *
 * File-created: "2012-04-25 11:05:20 by cbn"
 *
 */


@import url("font/MyFontsWebfontsKit.css");

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

/*   Colors      */

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

:root {
    --white: #fff;
    --gray-dark: #9b9b98;    /* Warm Gray 5 - dark */
    --gray: #c6c6c4;    /* Warm Gray 3 */
    --gray-light: #f4f3f1;    /* Warm Gray 1 - light */
    --red: #ff4460;    /* (255, 68, 96)   Red */
    --yellow: #ffd232;    /* (255, 210, 50)  Yellow */
    --blue: #233959;    /* (35, 57, 89)    Blue - Pantone 295 */
    --green: #00d78c;    /* (0, 215, 140)   Green - Pantone 3385 */
    --violet: #5c4f9e;
    --orange: #ff903e;
    --blue-light: #4990c4;
    --green-dark: #14a868;
    --blue-dark: #35689b;
    --purple: #993999;
    --brown: #a28879;
    --brown-light: #cebda7;
	--brown-light-alpha4: rgba(206, 189, 167, 0.5);
    --gray-dark-alpha2: rgba(155, 155, 152, 0.2);
    --yellow-alpha2: rgb(255, 246, 214);
    --yellow-alpha4: rgba(255, 246, 214, 0.5);
    --red-alpha2: rgb(255, 218, 223);
    --green-alpha2: rgb(204, 247, 232);
    --green-alpha4: rgba(204, 247, 232, 0.5);
    --blue-light-alpha2: rgb(219, 233, 243);
    --blue-light-alpha4: rgba(219, 233, 243, 0.5);
}

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

/*   Global      */

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

body {
    font: 72.5%/1.6em MuseoSans, open_sans, helvetica, arial, sans-serif;
    background-color: var(--gray);
	color: var(--blue);
    font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    /* -webkit-user-select: none; */
    /* -ms-user-select: none; */
    /* user-select: none; */
    overflow: hidden;
}

/* to enable scrollbar in Safari on mac */

/* body::-webkit-scrollbar { */

/*     -webkit-appearance: none; */

/* } */

a:link {
    text-decoration: none;
    color: var(--blue)
}

a:visited {
    text-decoration: none;
    color: var(--blue)
}

a:hover {
    text-decoration: none;
}

a:active {
    text-decoration: none;
}

/* a[href^="http:"], a[href^="https:"] { */

/*     border-bottom: 1px solid var(--blue-light); */

/* } */

/* Placeholder color */

/* do not group these rules */

/* var(--blue-light)   Light blue */

*::-webkit-input-placeholder {
    color: var(--blue-light);
    opacity: 0.5;
}

*:-moz-placeholder {
    /* FF 4-18 */
    color: var(--blue-light);
    opacity: 0.5;
}

*::-moz-placeholder {
    /* FF 19+ */
    color: var(--blue-light);
    opacity: 0.5;
}

*:-ms-input-placeholder {
    /* IE 10+ */
    color: var(--blue-light);
    opacity: 0.5;
}

/* end do not group */

/* Focus elements and outlines */

:focus {
    outline: 0;
}

input[type="button"], input[type="submit"] {
    outline: 0;
}

input:focus, textarea:focus, .select2-selection:focus, .newcheckbox input[type=checkbox]:focus+label, .radio input[type=radio]:focus+label {
    outline: 1px solid var(--blue-light);
    border: 1px solid var(--blue-light) !important;
}

.radio input[type=radio]:focus+label {
    border-radius: 50%;
}

table .newcheckbox input[type=checkbox]:focus+label, table .radio input[type=radio]:focus+label {
    outline: 0px solid var(--blue-light);
    border: 0px solid var(--blue-light) !important;
}

#modal_scrim {
    background-color: rgba(0, 0, 0, 0.3);
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    cursor: pointer;
    z-index: 600;
}

hr {
    border-top: 1px solid var(--gray-light);
    margin: 10px 0;
    width: 100%;
    /* calc(100% - 10px); */
}

#loading-css {
    display: inline-block;
    vertical-align: middle;
    margin-right: 10px;
    border: 2px solid var(--gray-dark-alpha2);
    border-top-color: var(--gray-dark);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    animation: loading-spin 1s linear infinite;
}

.icon-loading {
    display: inline-block;
    vertical-align: middle;
    margin-right: 10px;
    border: 2px solid var(--gray-dark-alpha2);
    border-top-color: var(--gray-dark);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    animation: loading-spin 1s linear infinite;
}

.loading-small {
    width: 12px !important;
    height: 12px !important;
}

@keyframes loading-spin {
    to {
        transform: rotate(360deg);
    }
}

#info {
    display: none;
    position: absolute;
    text-align: center;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    z-index: 1000;
    background: var(--green);
    border: none;
    box-shadow: 0 10px 35px var(--gray);
    border-radius: 0 0 3px 3px;
    padding: 10px 8px 6px;
    width: 40%;
    margin: 0px 30%;
}

#info.yellow {
    background: var(--yellow-alpha2);
    border: 1px solid var(--yellow);
    border-top: 0
}

#info.red {
    background: var(--red-alpha2);
    border: 1px solid var(--red);
    border-top: 0;
}

#info.green {
    background: var(--green-alpha2);
    border: 1px solid var(--green);
    border-top: 0;
}

#info.blue {
    background: var(--blue-light-alpha2);
    border: 1px solid var(--blue-light);
    border-top: 0;
}


#top_menu {
    background: var(--gray-light);
    border-bottom: 0px;
    padding: 10px 10px 3px 10px;
    height: 28px;
	font-size: 12pt;
    text-align: left;
    color: var(--blue)
}

#logo_img {
    height: 25px;
    padding: 0px 40px 4px 0px;
}

#company_logo_header {
    height: 25px;
    padding: 0px 20px 4px 0px;
}

#menu_notify {
    display: none;
}

.blink-text {
    animation: blinker 1.2s step-start infinite alternate;
}

.blink-text-fast {
    animation: blinker 0.6s step-start infinite alternate;
}

@keyframes blinker {
    50% {
        opacity: 0.3;
    }
}

#products ul li {
    list-style-type: none;
    display: inline;
    padding-right: 20px;
    padding-left: 10px;
}

#products ul li a {
    text-decoration: none;
    color: var(--blue);
    padding: 2px 8px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
}

#load_gauge {
    height: 3px;
    width: 450px;
    background: var(--gray-dark);
    display: inline-block;
    margin: auto;
    position: absolute;
    top: 180px;
    left: 0;
    bottom: 0;
    right: 0;
}

#load_gauge_pct {
    background: var(--green);
    width: 10%;
    display: block;
    height: 100%;
}

#load_text {
	text-align: center;
	margin-top: 50px;
	font-size: 140%;
}

#msal-login {
	margin-left: 4px;
	width: calc(100% - 10px);
	background-color: var(--white);
	border: 1px solid;
}

img#splash_logo {
    margin: auto;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}

#login_info, #login_info a {
    width: calc(100% - 745px);
    height: 30px;
    font-size: 12px;
    text-align: right;
    text-decoration: none;
    float: right;
    display: inline-block;
    overflow-y: hidden;
    overflow-x: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    line-height: 2.4;
}

#company_name>span>span, #user_name_header>span>span, #dept-current>span>span {
    overflow-x: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    max-width: 25%;
    display: inline-block;
    vertical-align: bottom;
}

#company_name>span, #user_name_header>span, #dept-current>span {
    max-width: 15%;
}

@media screen and (max-width: 1400px) {
    #company_cvr {
        display: none;
    }
}

@media screen and (max-width: 1250px) {
    #company_name, #company_cvr, #company_logo_header {
        display: none;
    }
    #user_name_header>span, #dept-current>span {
        max-width: 25%;
    }
}

@media screen and (max-width: 1050px) {
    #user_name_header {
        display: none;
    }
    #dept-current>span {
        max-width: 50%;
    }
}

#user_name_header img {
    width: 24px;
    border-radius: 50%;
    margin-right: 5px;
}

#login_info #protocol-http {
    color: var(--red);
}

#login_info #protocol-https {
    color: var(--green-dark);
}

#login_dialog, #signup_wrapper, #lost_pw_wrapper, #tfa_dialog {
    margin: 50px auto;
    width: 280px;
    height: 400px;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}

.login_header {
    border-right: 0;
}

#login_wrapper, #load_wrapper {
    background: var(--gray);
}

#login_wrapper h1 {
    background: var(--blue);
    color: var(--white);
}

#login_win {
	border: 0;
    padding: 8px 0;
    border-radius: 0;
    background-color: var(--white);
}

#login_logo {
    width: 150px;
    margin-bottom: 15px;
}

#login_dialog P, #signup_wrapper P, #lost_pw_wrapper P, #tfa_dialog P {
    margin: 3px 10px 10px 10px;
}

#login_dialog input[type=text], input[type=number], #login_dialog input[type=password], #signup_wrapper input[type=text], #lost_pw_wrapper input[type=text], #tfa_dialog input[type=text] {
    margin: 4px;
}

#login_win form p>span {
    margin: 0 4px;
}

#newcompany, #dologin, #dosignup, #do_lost_pw, #do2fa, #lostpw {
    padding: 6px 0;
    width: calc(100% - 10px);
    margin: 15px 0 0;
}

#menu_wrapper, #list_wrapper, #edit_wrapper, #menu_footer, #list_footer, #edit_footer {
    float: left;
}

#menu_footer, #list_footer, #edit_footer {}

#menu_wrapper, #menu_footer {
    width: 180px;
}

#insight_wrapper {
    width: calc(100% - 180px);
    float: left;
}

#insight {
    line-height: 0;
}

#insight span {
    display: inline-block;
    padding: 10px;
    width: calc(33.3333% - 20px);
    /* 2 x padding*/
}

.no-data {
    /* used in empth list and empty edit */
    text-align: center;
    margin-top: 30px;
    color: var(--gray);
    display: inline-block;
    width: 100%;
    font-size: 10pt;
}

#list .no-data {
    margin-top: 55px;
}

#list_wrapper, #list_footer {
    width: 300px;
}

#edit_wrapper {
    overflow: auto;
    float: none;
}

#edit_wrapper h1 {
    border-right: none;
}

#edit_footer {
    position: fixed;
    display: inline-flex;
    margin: 0 5px;
    min-width: 300px;
}

#footer_wrapper {
    position: absolute;
    bottom: 0;
    border-top: 1px solid var(--gray);
    width: 100%;
}

#footer_wrapper, .footer_border {
    background: var(--gray-light);
    height: 20px;
}

.footer_border {
    border-right: 2px solid var(--gray);
}

#footer_wrapper>* {
    /* #menu_footer, #menu_footer > *, #list_footer, #edit_footer { */
    height: 20px;
    overflow: hidden;
    line-height: 22px;
}

#list_export, #list_print, #edit_print, #netstat, #notifystat, #logoff, .pointer {
    cursor: pointer;
}

#netstat {
    height: 20px;
    margin-left: 5px;
    color: var(--red);
    /* -moz-animation: rotate 1s infinite linear; */
    /* -moz-transform-origin: 55% 55%; */
    /* -webkit-animation: rotate 1s infinite linear; */
    /* -webkit-transform-origin: 55% 55%; */
    /* animation: rotate 1s infinite linear; */
    /* transform-origin: 55% 55%; */
    display: inline-block;
}

@-moz-keyframes rotate {
    from {
        -moz-transform: rotate(0deg);
    }
    to {
        -moz-transform: rotate(360deg);
    }
}

@-webkit-keyframes rotate {
    from {
        -webkit-transform: rotate(0deg);
    }
    to {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes rotate {
    from {
        -webkit-transform: rotate(0deg);
    }
    to {
        -webkit-transform: rotate(360deg);
    }
}

.netstat_ok {
    -webkit-animation: none !important;
    color: var(--green-dark) !important;
}

#req_wait_gauge {
    height: 10px;
    width: 0;
    display: inline-block;
    background-image: url("imgs/block.png");
    max-width: 99px;
}

#req_waiting {
    height: 20px;
    width: 15px;
    padding: 0 5px 0 0;
    display: inline-block;
    text-align: right;
}

#notifystat {
    float: right;
}

#notifystat.down {
    color: var(--red);
}

#notifystat.up, .netstat_ok{
    color: var(--green-dark);
}

/* M E N U */

h1, h2, #menu h1, #menu h2 {
    text-transform: uppercase;
    color: var(--blue);
    border-bottom: 0px solid var(--gray-light);
    background: var(--gray);
}

#menu, #menu li {
    background: var(--gray-light);
    border: none;
    border-right: 1px solid var(--white);
}

#menu ul, #list ul {
    margin: 0px 0px 0px 0px;
}

#menu li, #list li {
    list-style: none;
    border-top: 1px solid var(--gray);
    height: 42px;
    overflow: hidden;
}

#menu li, #list li.function {
    border-top: 0px;
    background-color: var(--gray-light);
}

#menu li>span, #list li>span, #menu a {
    display: block;
    padding: 12px;
    text-decoration: none;
    /* color: #000; */
    overflow: hidden;
    /* white-space: nowrap;  (not working on FF) */
    text-overflow: ellipsis;
}

#menu a {
	cursor: pointer !important;
}

#menu li>span {
    min-width: 90%;
}

#menu li>span:last-child {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    display: block;
}

#menu .highlight, #menu li > span:hover {
    background: var(--white);
}

#menu .highlight>span:last-child, #list .highlight>span:last-child {
    font-weight: bold;
    padding-left: 6px;
    transition: padding-left 0.25s ease-in-out;
}

#menu span:last-child, #list span:last-child {
    transition: padding-left 0.25s ease-in-out;
}

#menu li>span:first-letter {
    text-transform: capitalize;
}

#menu span.menu-sub {
    padding-left: 8px;
}

#menu li.menu-sub {
    height: 28px;
}

#menu li.menu-sub>span {
    padding: 7px 12px;
}

#menu li:not(.menu-sub) + li.menu-sub, #menu li:not(.menu-sub) + ul#menu-sortable {
    margin-top: -6px;
    background: transparent !important;
}

li.menu-sub.ui-sortable-handle > span:before {
	font-family: "fontello";
	content: '\2630';
	cursor:grab;
}

#top_menu li a:hover, #menu li>span:hover, #list li>span:not(.highlight):hover, #top_menu li>span:hover {
    cursor: pointer;
}

#menu h2 {
    border-bottom: 1px solid var(--gray-light);
    cursor: pointer;
}

#menu h2>div.menu-text {
    width: calc(100% - 30px);
    display: inline-block;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

#menu .arr-open-close {
	float: right;
    color: white;
}

#menu .arr-open-close, .list_button  {
	color: var(--blue);
}

/* Badge in menu */

#menu span.badge {
    display: none;
    float: right;
    font-style: normal !important;
    padding: 0px 8px;
    border-radius: 14px;
    font-size: 85%;
    font-weight: bold;
    margin-left: 5px;
}

#menu span.badge.gray {
    background: var(--gray-dark);
    color: var(--white) !important;
}

#menu span.badge.red {
    background: var(--red);
    color: var(--white) !important;
}

#menu span.badge.blue {
    background: var(--blue-light);
    color: var(--white) !important;
}

#menu span.badge.yellow {
    background: var(--yellow);
    color: var(--blue) !important;
}

#menu span.badge.green {
    background: var(--green-dark);
    color: var(--white) !important;
}

.kbshort>span, .kbshort-overview>span {
        background-color: var(--gray-dark-alpha2);
        border-radius: 4px;
        text-align: center;
        display: inline-block;
}
.kbshort-overview>span{
    height: 16px;
    padding: 6px 6px 4px 6px;
    margin: 0px 4px;
}

.kbshort>span {
    height: 14px;
    padding: 0px 4px 4px 4px;
    margin: 0px 2px;
    font-size: 90%;
}

.kbshort > span > [class^="icon-"]:not(.icon-after)::before, .kbshort-overview > span > [class^="icon-"]:not(.icon-after)::before {
    margin: 0em
}

.kbshort-overview {
    float: left;
    font-size: 100%;
    display: flex;
    align-items: center;
}

.kbshort {
    float: right;
    display: none;
}

li:hover .kbshort {
    display: initial;
}

.navigate-button {
    float: right;
    width: 1.6em;
    opacity: 0.2;
    cursor: default;
}

.navigate-button.enable {
    opacity: 1;
    cursor: pointer;
}

.rarr {
    float: right;
    width: 15px;
    display: none;
}

#list-resize {
    height: 100%;
    border-right: 2px solid var(--gray);
    width: 0px;
    display: inline-block;
    cursor: col-resize;
    float: left;
}

#grip-resize {
    top: 0;
    right: 0;
    bottom: 0;
    width: 5px;
    position: absolute;
    cursor: w-resize;
    border-left: 2px solid var(--gray);
    /* disable user marking text */
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

#list.mkborder {
    border-right: 0;
    overflow-y: scroll;
}

#list_export, #list_print {
    float: right;
    font-size: 14px;
    overflow: hidden;
    display: none;
    color: var(--blue);
    width: 25px;
    margin-right: 10px;
}

#list li>span.menu_indent {
    padding-left: 32px;
}

#list li>span.menu_2xindent {
    padding-left: 64px;
}

#list li.menu_indent {
    padding: 8px 8px 0px 32px;
    margin-bottom: -6px;
}

/* for dbl line */

#list li.dblline {
    height: 52px;
}

#list li.dblline>span {
    margin-top: -2px;
}

#list li.dblline span#item_name {
    font-weight: bold;
}

#list li.dblline .left-img {
    width: 42px;
    height: 42px;
    margin: -4px 8px 0 -8px;
    float: left;
    padding: 0;
    background-size: 42px 42px !important;
    background-repeat: no-repeat;
    background: url('/admin/imgs/no-profile-neg.png');
    border-radius: 50%;
}

#item_name>p {
    margin-top: 2px;
    color: var(--gray-dark);
    font-weight: normal;
}

#item_name>p>img {
    margin-right: 4px;
    height: 20px;
    margin-bottom: 4px;
    border-radius: 50%;
}

/* end dbline */

#list table {
    table-layout: fixed;
    width: 100%;
}

#list table td, #list table th {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

#list table th {
    font-weight: bold;
}

#list table th, #list table td {
    padding: 0 4px;
    /* border-right: 1px solid var(--gray); */
}

.list_table_header {
    background: rgba(238, 238, 238, 0.9);
    position: fixed;
    width: 574px;
    height: 18px;
    border-bottom: 1px solid var(--gray);
    margin-top: -1px;
}

.list_table_item_name {
    width: calc(100% - 30px) !important;
}

#list_search, #list_search_db {
    width: 35%;
    font-size: 90%;
    padding: 4px;
    margin: -2px 6px;
    float: right;
    display: none;
    border: 0px;
    background: var(--white);
    height: 23px;
}

#list_header {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.list_header_no_search {
    width: calc(100% - 70px);
}

.list_header_with_search {
    /* width: 40%; */
}

#item_name {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#list span.right {
    float: right;
    max-width: 95px;
    font-style: italic;
    display: inline-block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    /* min-width: 20px;		/* have to overwrite the tooltip 14px */
    padding-bottom: 2px;
}

#list li.function span[class*="icon-"]::before {
    margin: 0px 5px 0 0;
    color: var(--gray-dark);
}

#list li.function span[class*="icon-attention"]::before {
    margin: 0px 5px 0 0;
    color: var(--red);
}

#list li.function .highlight span[class*="icon-"]::before {
    color: inherit;
}

#list span.right.gray {
    color: var(--gray-dark);
}

#list span.right.red {
    color: var(--red);
}

#list span.right.green {
    color: var(--green-dark);
}

#list span.right.blue {
    color: var(--blue-light);
}

#list span.right.yellow {
    color: var(--yellow);
}

#list span.right.violet {
    color: var(--violet);
}

#list span[class*="icon-"]::before {
    font-size: 130%;
    margin: 2px 0 0 5px;
}

/* Badge in list */

#list span.right.badge {
    font-style: normal !important;
    padding: 3px 7px 1px;
    border-radius: 14px;
    font-size: 95%;
    font-weight: bold;
    text-align: center;
}

#list span.right.badge.gray {
    background: var(--gray-dark);
    color: var(--white);
}

#list span.badge.small {
    font-size: 70%;
    padding: 0px 6px;
}

#list span.badge.light-gray {
    background: var(--gray-dark);
    color: var(--white);
}

#list span.right.badge.red {
    background: var(--red);
    color: var(--white);
}

#list span.right.badge.blue {
    background: var(--blue-light);
    color: var(--white);
}

#list span.right.badge.yellow {
    background: var(--yellow);
    color: var(--blue);
}

#list span.right.badge.green {
    background: var(--green-dark);
    color: var(--white);
}

.item_note {
    /* obsolite ?? */
    width: 65px;
    font-style: italic;
    display: inline-block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#records {
    padding: 0 8px;
    display: none;
}

input.licenskey {
    width: 34px !important;
    font-family: Courier;
    font-size: 9pt !important;
    text-transform: uppercase;
    padding: 0 5px !important;
}

.menu_group {
    float: left;
    margin-right: 10px;
    margin-top: 3px;
    font-size: 0px;
    line-height: 0%;
    width: 0px;
    border-top: 6px solid transparent;
    border-left: 9px solid var(--yellow);
    border-bottom: 6px solid transparent;
}

.menu_group_down {
    float: left;
    margin-right: 10px;
    margin-top: 3px;
    font-size: 0px;
    line-height: 0%;
    width: 0px;
    border-top: 9px solid var(--yellow);
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
}

.note {
    font-weight: normal;
    font-size: 13px;
    float: right;
    padding-right: 3px;
}

.note_alert {
    color: var(--red);
}

.note_ok {
    color: var(--green-dark);
}

.note img {
    max-width: 10px;
}

.editform textarea, .editform .formating {
    height: 60px;
    font-family: inherit;
    font-size: inherit;
    line-height: 130%;
    padding: 6px;
}

.editform .formating {
    min-height: 60px;
    height: 100%;
    margin-top: 5px;
    margin-bottom: 12px;
    max-height: 300px;
    overflow-y: auto;
    white-space: break-spaces;
}

.editform .tab_content > .formating {
    margin-top: -5px;
}

.editform .markup-area-wrapper {
    width: calc(100% - 10px);
}

.editform .markup-area {
    min-height: 70px;
    max-height: 500px;
    height: 100%;
    padding: 10px;
    background: var(--gray-light);
    overflow: auto;
    margin-bottom: 15px;
}

.editform .markup-area:focus {
    outline-offset: -2px;
}

.editform .markup-area-tools {
    position: relative;
    right: 5px;
    height: 0;
    float: right;
    z-index: 1;
    bottom: 25px;
}

.editform .markup-area-tools button {
    color: var(--gray-dark) !important;
    margin: 0 !important;
    background: transparent !important;
    padding: 2px 4px;
}

.editform .markup-area-tools button:hover {
    padding: 2px 4px !important;
}

.editform form {}

.editform iframe {
    width: calc(100% - 12px);
    height: 800px;
    border: 0px solid var(--gray);
    background: var(--gray-light);
}

.editform iframe[src*='/admin/viewer.html?'] {
	height: calc(80vh);
}

.editform iframe.tl-iframe {
    border-width: 1px;
}

.editform, #edit_header_wrapper {
    display: block;
    border-right: 0;
}

.editform ul, .editform ol {
    margin: 3px 25px;
}

.editform li {
    margin: 3px 2px;
}

.editform .indent {
    margin-left: 38px !important;
}

.editform .table-scroll {
    /* width: calc(100% - 10px); */
    /* overflow-x: auto; */
    /* if set can't scroll horizontal and leave headline */
}

.editform #root .table-scroll {
    overflow-x: auto;
}

.editform table.tlarray.table-width-8 {
    min-width: 900px;
}

.editform table.tlarray.table-width-10 {
    min-width: 1100px;
}

.editform table.tlarray.table-width-12 {
    min-width: 1300px;
}

.editform table.tlarray.table-width-15 {
    min-width: 1600px;
}

.editform table.tlarray.table-width-20 {
    min-width: 2400px;
}

.editform table.tlarray.table-width-25 {
    min-width: 2700px;
}

.editform table.tlarray.cust-table-width {
    min-width: var(--cust-tbl-width)/*  !important */;
}

.editform table.tltable {
    table-layout: fixed;
    margin: 5px 0;
    width: calc(100% - 0px);
}

.editform table.tltable.tlform {
    width: calc(100% + 3px);
    margin-left: -3px;
}

.editform table.tltable.tlform td {
    padding-left: 3px;
}

.editform table.tltable.tlform th {
    padding-left: 3px;
    vertical-align: bottom;
}

.editform table.tlarray {
    width: calc(100% - 10px);
}

.editform table.tlarray td {
    padding: 6px 4px;
}

.editform .brk-next.sub-table {
    margin-bottom: 2px;
}

.editform .brk-next {
    margin-bottom: 10px;
}

.editform table.tltable td, .editform table.tltable td span.editable, .editform table.tltable td span.tl-table-wrap-noedit {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    padding-right: 2px;
    /* padding: 6px 4px; */
    /* line-height: 30px; */
    vertical-align: top;
}

span.editable-line-num, table tbody tr td input.editable-line-num {
	display: inline-block;
	width: 40px;
	height: 16px;
	text-align: center;
	border: 1px solid var(--blue-light-alpha2);
	border-radius: 4px;
}

.editform table.tltable td p.sub-table, .editform table.tltable td p.sub-table br {
    display: block;
}

.editform table.tltable td p, .editform table.tltable td p br {
    display: contents;
}

.editform table.tltable td:hover p, .editform table.tltable td:hover p br {
    display: block;
}

.editform table.tltable.mixed td {
    vertical-align: initial;
}

.editform table.tltable.mixed td .newcheckbox, .editform table.tltable.mixed td .radio  {
    vertical-align: middle;
}

.editform table.tltable td.dblinp {
    overflow: visible;
    white-space: normal;
}

.editform table.tltable td.vertline, .editform table.tltable th.vertline {
    background-image: linear-gradient(var(--gray), var(--gray));
    background-size: 1px 100%;
    background-repeat: no-repeat;
    background-position-x: calc(50% - 5px);
}

.editform div.edit-form-block.with-lines {
    border-bottom: 1px solid lightgray;
    margin-bottom: 7px;
}

.editform table.tltable td:hover, .editform table.tltable td span.editable:hover, .editform table.tltable td span.tl-table-wrap-noedit:hover {
    white-space: normal;
    word-break: break-word;
}

.editform table.tltable td.no_wrap:hover {
    white-space: nowrap;
}

.editform table.tltable td pre {
    padding: 6px 0;
}

.editform table.tlarray td img {
    height: 28px;
}

.editform table.tlarray td img {
    height: 28px;
}

.editform table.tltable td img.qr-img {
    height: initial;
    border: 1px solid var(--blue);
    padding: 10px;
}

/* .editform table.tltable button { */

/*     width: calc(100% - 10px); */

/* } */

.editform table.tltable td:last-child {
    padding-right: 0;
}

.editform table.tltable tr.divider {
    border-top: 1px solid var(--gray);
    height: 20px;
    background: var(--white) !important;
}

.editform table.tltable thead th {
    position: sticky;
    position: -webkit-sticky;
    top: -16px;
    vertical-align: bottom;
    hyphens: auto;
    -webkit-hyphens: auto;
    z-index: 200;
	word-break: auto-phrase;
}

.editform table.tltable thead tr#filter-tr-micktest th {
	vertical-align: middle;
	align-content: center;
	text-align: center;
	height: 30px;
}

.editform table.tltable .sum-line {
    border-bottom: 0 !important;
}

.editform table.tltable .sum-line>td {
    font-weight: bold;
    background: var(--white);
    border-top: 1px solid var(--gray-dark);
}

.editform table.tltable tr#filter-tr input {
    width: calc(100% - 5px);
    height: 20px;
    padding-top: 2px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.editform table.tltable tr#filter-tr .newcheckbox, .editform table.tltable tr#filter-tr .radio {
    height: 18px;
    margin-bottom: 5px;
}

.editform table.tltable tr#filter-tr input::placeholder {
    font-size: 90%;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.editform table.tltable tr#filter-tr th {
    padding: 0 0 2px 0;
}

.editform table.tltable tr#filter-tr th.nosorter.right {
    text-align: center;
    padding-left: 1px;
}
.editform table.tltable tr#filter-tr th.nosorter.left {
    text-align: left;
    padding-left: 4px;
}

th.left:not(.nosorter) {
    padding-left: 17px !important;
}

.editform table.tltable tr#filter-tr input[type=checkbox], .editform table.tltable tr#filter-tr input[type=radio] {
    margin-top: 2px;
}

.editform table.tltable tr#filter-tr input[type=checkbox]:checked+label, .editform table.tltable tr#filter-tr input[type=radio]:checked+label {
    font-size: 18px;
    padding: 0;
    margin: -4px 0 0 3px;
    color: var(--gray-dark);
    line-height: 26px;
    font-weight: normal;
}

.editform table.tltable tr#filter-tr label {
    cursor: pointer;
    position: absolute;
    width: calc(100% - 5px);
    height: 100%;
    top: 0px;
    left: 0px;
    z-index: 1;
}

.editform table.tltable tr#filter-tr input[type=checkbox]:indeterminate+label {
    color: transparent;
}

.editform table.tltable tr#filter-tr input[type=checkbox]:indeterminate+label:before {
    content: "\e801";
    font-size: 18px;
    padding: 0;
    margin: -4px 0px 0px -3px;
    color: var(--gray-dark);
    line-height: 18px;
}
.editform table.tltable tr#filter-tr-micktest input[type=checkbox]:indeterminate+label:before {
    content: "\e801";
    font-size: 18px;
    padding: 0;
    margin: -4px 0px 0px 3px;
    color: var(--gray-dark);
    line-height: 18px;
}

#dialog .editform {
	font-size: 91%
}

div.tlarrayfilterbut > button, div.tlarrayfilterbut > button:hover, div.tlarrayactionbut > button, div.tlarrayactionbut > button:hover {
    margin: 0;
    height: 23px;
    line-height: 17px;
    background-color: var(--white);
    border: 1px solid var(--gray-dark);
    border-right-width: 0;
    border-radius: 0;
}

div.tlarrayfilterbut button:nth-child(2), div.tlarrayactionbut button:nth-child(2) {
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
}

div.tlarrayfilterbut button:last-child, div.tlarrayactionbut button:last-child {
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    border-right-width: 1px;
}


div.tlarrayactionbut {
    margin-bottom: 5px;
}

div.tlarrayfilterbut button.active {
    background-color: var(--blue-dark);
    color: var(--white);
}

div.tlarrayactionbut button.active {
    background-color: var(--gray-dark) !important;
    color: var(--white);
}

div.tlarrayfilterbut > button:hover {
    background-color: var(--blue-light);
    color: var(--white);
}

div.tlarrayactionbut > button:hover {
    background-color: var(--blue-light);
    color: var(--white);
}

span#clear_filter {
    height: 33px;
    display: flex;
    align-items: center;
}

/* th.tlarray-header {
	border-left: 2px solid var(--gray-dark);
}
th.tlarray-header.empty {
	border-left: 0px solid var(--gray-dark);
} */

th.tlarray-header div {
	margin-left: 3px;
}

th.tlarray-header:after {
    border-bottom-width: 1px !important;
}

th.tlarray-header-default, td.tlarray-header-default {
    background-color: var(--gray-light) !important;
}

th.tlarray-header-default-light, td.tlarray-header-default-light {
	background-color: var(--blue-light-alpha4) !important;
}

th.tlarray-header-light-blue, td.tlarray-header-light-blue {
	background-color: var(--green-alpha4) !important;
}

th.tlarray-header-light-brown, td.tlarray-header-light-brown {
	background-color: var(--brown-light-alpha4) !important;
}

th.tlarray-header-light-yellow, td.tlarray-header-light-yellow {
	background-color: var(--yellow-alpha4) !important;
}

/* .editform table.tltable th:first-child {
    padding-left: 0;
} */

.editform table.tltable td.tl-file-icon {
    vertical-align: middle;
}

/* .editform table.tltable span.tl-table-wrap-noedit {
    display: inline-block;
    white-space: normal;
    padding: 8px 0;
    line-height: 135%;
} */

.editform table.tltable .sorting-row {
    background-color: var(--yellow-alpha2);
    outline: 1px solid var(--gray-dark);
    cursor: ns-resize;
}

.editform table.sorting-table tbody tr:not(.sorting-row) td {
    opacity: 0.5;
}

.editform table.sorting-table tbody {
    /* outline: 1px solid #999; */
}

.editform div.layout-editor {
    /* max-width: 21cm; */
    border: 1px solid var(--gray-dark)
}

#layout-editor table.tltable.tlform {
    margin-left: 3px;
}

#layout-editor textarea[name=footer_text], #layout-editor span[name=footer_text] {
    text-align: center;
}

span.tl-edit-el:before {
    font-family: "fontello";
    font-style: normal;
    font-weight: normal;
    content: '\270e';
    color: var(--gray-dark);
}

table.tablesorter .header:not(.nosorter) {
    background-image: url('data:image/svg+xml;utf8;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMTYuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+CjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgdmVyc2lvbj0iMS4xIiBpZD0iQ2FwYV8xIiB4PSIwcHgiIHk9IjBweCIgd2lkdGg9IjUxMnB4IiBoZWlnaHQ9IjUxMnB4IiB2aWV3Qm94PSIwIDAgNDAxLjk5OCA0MDEuOTk4IiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCA0MDEuOTk4IDQwMS45OTg7IiB4bWw6c3BhY2U9InByZXNlcnZlIj4KPGc+Cgk8Zz4KCQk8cGF0aCBkPSJNNzMuMDkyLDE2NC40NTJoMjU1LjgxM2M0Ljk0OSwwLDkuMjMzLTEuODA3LDEyLjg0OC01LjQyNGMzLjYxMy0zLjYxNiw1LjQyNy03Ljg5OCw1LjQyNy0xMi44NDcgICAgYzAtNC45NDktMS44MTMtOS4yMjktNS40MjctMTIuODVMMjEzLjg0Niw1LjQyNEMyMTAuMjMyLDEuODEyLDIwNS45NTEsMCwyMDAuOTk5LDBzLTkuMjMzLDEuODEyLTEyLjg1LDUuNDI0TDYwLjI0MiwxMzMuMzMxICAgIGMtMy42MTcsMy42MTctNS40MjQsNy45MDEtNS40MjQsMTIuODVjMCw0Ljk0OCwxLjgwNyw5LjIzMSw1LjQyNCwxMi44NDdDNjMuODYzLDE2Mi42NDUsNjguMTQ0LDE2NC40NTIsNzMuMDkyLDE2NC40NTJ6IiBmaWxsPSIjYzZjNmM0Ii8+CgkJPHBhdGggZD0iTTMyOC45MDUsMjM3LjU0OUg3My4wOTJjLTQuOTUyLDAtOS4yMzMsMS44MDgtMTIuODUsNS40MjFjLTMuNjE3LDMuNjE3LTUuNDI0LDcuODk4LTUuNDI0LDEyLjg0NyAgICBjMCw0Ljk0OSwxLjgwNyw5LjIzMyw1LjQyNCwxMi44NDhMMTg4LjE0OSwzOTYuNTdjMy42MjEsMy42MTcsNy45MDIsNS40MjgsMTIuODUsNS40MjhzOS4yMzMtMS44MTEsMTIuODQ3LTUuNDI4bDEyNy45MDctMTI3LjkwNiAgICBjMy42MTMtMy42MTQsNS40MjctNy44OTgsNS40MjctMTIuODQ4YzAtNC45NDgtMS44MTMtOS4yMjktNS40MjctMTIuODQ3QzMzOC4xMzksMjM5LjM1MywzMzMuODU0LDIzNy41NDksMzI4LjkwNSwyMzcuNTQ5eiIgZmlsbD0iI2M2YzZjNCIvPgoJPC9nPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+Cjwvc3ZnPgo=');
    background-repeat: no-repeat;
    background-position: bottom 10px left 3px;
    background-size: 11px 11px;
    padding-left: 17px !important;
}

th.tablesorter-header {
    position: sticky !important;
}

thead#tlarray-header-group > tr > th {
    text-align: center !important;
}

table.tablesorter .header.right {
    background-position: bottom 10px right 3px;
    padding-right: 17px !important;
}

table.rows th.nosorter.right input {
    float: right;
}

table.rows th.filter-select {
    vertical-align: middle !important;
    text-align: center;
}

/* table.tablesorter.rows .header { */

/* 	background-position: top 10px left 0px; */

/* } */

table.tablesorter .header:hover {
    cursor: pointer;
}

table.tablesorter .headerSortUp {
    background-image: url('data:image/svg+xml;utf8;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMTYuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+CjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgdmVyc2lvbj0iMS4xIiBpZD0iQ2FwYV8xIiB4PSIwcHgiIHk9IjBweCIgd2lkdGg9IjI0cHgiIGhlaWdodD0iMjRweCIgdmlld0JveD0iMCAwIDI5Mi4zNjIgMjkyLjM2MiIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAgMjkyLjM2MiAyOTIuMzYyOyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxnPgoJPHBhdGggZD0iTTI4Ni45MzUsNjkuMzc3Yy0zLjYxNC0zLjYxNy03Ljg5OC01LjQyNC0xMi44NDgtNS40MjRIMTguMjc0Yy00Ljk1MiwwLTkuMjMzLDEuODA3LTEyLjg1LDUuNDI0ICAgQzEuODA3LDcyLjk5OCwwLDc3LjI3OSwwLDgyLjIyOGMwLDQuOTQ4LDEuODA3LDkuMjI5LDUuNDI0LDEyLjg0N2wxMjcuOTA3LDEyNy45MDdjMy42MjEsMy42MTcsNy45MDIsNS40MjgsMTIuODUsNS40MjggICBzOS4yMzMtMS44MTEsMTIuODQ3LTUuNDI4TDI4Ni45MzUsOTUuMDc0YzMuNjEzLTMuNjE3LDUuNDI3LTcuODk4LDUuNDI3LTEyLjg0N0MyOTIuMzYyLDc3LjI3OSwyOTAuNTQ4LDcyLjk5OCwyODYuOTM1LDY5LjM3N3oiIGZpbGw9IiMyMzM5NTkiLz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8L3N2Zz4K');
    background-repeat: no-repeat;
    background-position: bottom 8px left 3px;
    background-size: 9px 9px;
}

/* table.tablesorter.rows .headerSortUp { */

/* 	background-position: top 13px left 0px; */

/* } */

table.tablesorter .headerSortDown {
    background-image: url('data:image/svg+xml;utf8;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMTYuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+CjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgdmVyc2lvbj0iMS4xIiBpZD0iQ2FwYV8xIiB4PSIwcHgiIHk9IjBweCIgd2lkdGg9IjI0cHgiIGhlaWdodD0iMjRweCIgdmlld0JveD0iMCAwIDI5Mi4zNjIgMjkyLjM2MiIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAgMjkyLjM2MiAyOTIuMzYyOyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxnPgoJPHBhdGggZD0iTTI4Ni45MzUsMTk3LjI4NkwxNTkuMDI4LDY5LjM3OWMtMy42MTMtMy42MTctNy44OTUtNS40MjQtMTIuODQ3LTUuNDI0cy05LjIzMywxLjgwNy0xMi44NSw1LjQyNEw1LjQyNCwxOTcuMjg2ICAgQzEuODA3LDIwMC45LDAsMjA1LjE4NCwwLDIxMC4xMzJzMS44MDcsOS4yMzMsNS40MjQsMTIuODQ3YzMuNjIxLDMuNjE3LDcuOTAyLDUuNDI4LDEyLjg1LDUuNDI4aDI1NS44MTMgICBjNC45NDksMCw5LjIzMy0xLjgxMSwxMi44NDgtNS40MjhjMy42MTMtMy42MTMsNS40MjctNy44OTgsNS40MjctMTIuODQ3UzI5MC41NDgsMjAwLjksMjg2LjkzNSwxOTcuMjg2eiIgZmlsbD0iIzIzMzk1OSIvPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+Cjwvc3ZnPgo=');
    background-repeat: no-repeat;
    background-position: bottom 14px left 3px;
    background-size: 9px 9px;
}

/* table.tablesorter.rows .headerSortDown { */

/* 	background-position: top 9px left 0px; */

/* } */

.editform table td.handler, .editform table td.delete {
    text-align: center;
    vertical-align: middle;
    margin: 0;
    padding: 0;
}

.editform table td.handler span:hover {
    cursor: ns-resize;
}

.editform table td.handler>span {
    margin: 0;
}

.editform table.qr_info, .editform table.qr_info tr, .editform table.qr_info td {
    border: 1px solid var(--blue);
    font-size: 100%;
    padding: 15px;
    line-height: initial;
    vertical-align: top;
}

#addarraycol, #removearraycol {
    line-height: 3;
    cursor: pointer !important;
}

.editform div.tl_table_frame {
    padding: 4px 0px 1px 10px;
    margin: 16px 10px 16px -10px;
}

.editform tfoot th.tabel-actions {
    background-color: var(--white);
    border-top: 1px solid var(--gray-dark);
    padding-top: 5px;
}

.editform span.csv-export, .editform span.print-docs, .editform span.mosaic, .editform span.zip-export, .editform span.excel-export, .editform span.excel-csv-export {
    float: right;
    margin-bottom: -5px;
    margin-right: 12px;
    color: var(--blue);
    cursor: pointer;
}

.editform span.delete {
    color: var(--red);
}

.editform span.table_delete {
    color: var(--red);
}

.editform span.delete:hover, .editform span.edit:hover, .editform span.editable, .editform span.docfunc, .editform span.icon-location {
    cursor: pointer;
}

.editform table#objects tr:nth-child(even), .editform table.rows tbody tr:nth-child(even) {
    border-top: 1px solid var(--gray-dark-alpha2);
    border-bottom: 1px solid var(--gray-dark-alpha2);
}

.editform table.tlarray tbody tr:hover {
    background: var(--gray-light);
}

.editform table#arr_expand tr:nth-child(even) {
    background: var(--gray-light);
}

.editform table#arr_expand {
    margin-top: -10px;
}

.editform h3 {
    /* cursor: pointer; */
}

.editform h3:hover {
    background: transparent;
    color: inherit;
}

.editform .header-content {
    margin: 5px;
}

.editform .arr-open-close {
    float: right;
}

.editform table#objects th, .editform table thead th {
    height: 38px;
    font-weight: bold;
    vertical-align: bottom;
    background-color: var(--white);
}

.editform table thead {
	position: sticky;
	top: -15px;
	z-index: 100;
}

.editform th.sortable-header:hover {
	cursor: pointer;
	background-color: var(--gray-light);
}
.editform th.sortable-header-active {
	background-color: var(--gray-light);
}

.editform th.sortable-header-asc {
	background-image: url('data:image/svg+xml;utf8;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMTYuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+CjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgdmVyc2lvbj0iMS4xIiBpZD0iQ2FwYV8xIiB4PSIwcHgiIHk9IjBweCIgd2lkdGg9IjI0cHgiIGhlaWdodD0iMjRweCIgdmlld0JveD0iMCAwIDI5Mi4zNjIgMjkyLjM2MiIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAgMjkyLjM2MiAyOTIuMzYyOyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxnPgoJPHBhdGggZD0iTTI4Ni45MzUsNjkuMzc3Yy0zLjYxNC0zLjYxNy03Ljg5OC01LjQyNC0xMi44NDgtNS40MjRIMTguMjc0Yy00Ljk1MiwwLTkuMjMzLDEuODA3LTEyLjg1LDUuNDI0ICAgQzEuODA3LDcyLjk5OCwwLDc3LjI3OSwwLDgyLjIyOGMwLDQuOTQ4LDEuODA3LDkuMjI5LDUuNDI0LDEyLjg0N2wxMjcuOTA3LDEyNy45MDdjMy42MjEsMy42MTcsNy45MDIsNS40MjgsMTIuODUsNS40MjggICBzOS4yMzMtMS44MTEsMTIuODQ3LTUuNDI4TDI4Ni45MzUsOTUuMDc0YzMuNjEzLTMuNjE3LDUuNDI3LTcuODk4LDUuNDI3LTEyLjg0N0MyOTIuMzYyLDc3LjI3OSwyOTAuNTQ4LDcyLjk5OCwyODYuOTM1LDY5LjM3N3oiIGZpbGw9IiMyMzM5NTkiLz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8L3N2Zz4K');
    background-repeat: no-repeat;
    background-position: top;
    background-size: 9px 9px;
}

.editform th.sortable-header-desc {
	background-image: url('data:image/svg+xml;utf8;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMTYuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+CjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgdmVyc2lvbj0iMS4xIiBpZD0iQ2FwYV8xIiB4PSIwcHgiIHk9IjBweCIgd2lkdGg9IjI0cHgiIGhlaWdodD0iMjRweCIgdmlld0JveD0iMCAwIDI5Mi4zNjIgMjkyLjM2MiIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAgMjkyLjM2MiAyOTIuMzYyOyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxnPgoJPHBhdGggZD0iTTI4Ni45MzUsMTk3LjI4NkwxNTkuMDI4LDY5LjM3OWMtMy42MTMtMy42MTctNy44OTUtNS40MjQtMTIuODQ3LTUuNDI0cy05LjIzMywxLjgwNy0xMi44NSw1LjQyNEw1LjQyNCwxOTcuMjg2ICAgQzEuODA3LDIwMC45LDAsMjA1LjE4NCwwLDIxMC4xMzJzMS44MDcsOS4yMzMsNS40MjQsMTIuODQ3YzMuNjIxLDMuNjE3LDcuOTAyLDUuNDI4LDEyLjg1LDUuNDI4aDI1NS44MTMgICBjNC45NDksMCw5LjIzMy0xLjgxMSwxMi44NDgtNS40MjhjMy42MTMtMy42MTMsNS40MjctNy44OTgsNS40MjctMTIuODQ3UzI5MC41NDgsMjAwLjksMjg2LjkzNSwxOTcuMjg2eiIgZmlsbD0iIzIzMzk1OSIvPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+Cjwvc3ZnPgo=');
    background-repeat: no-repeat;
    background-position: top;
    background-size: 9px 9px;
}

.editform table.tltable thead th:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    border-bottom: 2px solid var(--gray-dark);
}

.editform table span[class*="icon-"]::before {
    font-size: 130%;
}

.editform span.tl-link[class*="icon-"]::before {
    margin: 0 0 0 0;
}

.editform .editable .icon-pencil::before, .editform table .edit.icon-login::before, .editform table .edit.icon-attach::before, .editform table .tl-link.icon-popup::before {
    color: var(--gray-dark);
    float: left;
}

/* .editform .editable input.text-change {
    padding: 3px 3px 3px 20px;
    margin: 0px;
    xxheight: 26px;
    border: 0;
    background: transparent;
    width: calc(100% - 20px);
} */
.editform .editable td.text-change {
    padding-top: 0;
    padding-bottom: 0;
    vertical-align: middle;
}
.editform .editable input.text-change.right {
    text-align: right;
}
.editform .editable td.changed {
    background: var(--blue-light-alpha2)
}
.editform .editable span.text-change::before {
    width: 0;
    color: var(--gray);
    margin-top: 5px;
}
.editform .editable span.text-change {
    position: relative;
    left: 8px;
}

.editform #crop-wrapper {
    width: 400px;
}

.editform .tltable td.inp-group br:nth-child(even) {
    display: none;
}


.qcform td:first-child>span {
    line-height: normal;
    display: inline-block;
}

table#qcform {
    counter-reset: rowNumber;
}

table#qcform tbody tr::before {
    display: table-cell;
    counter-increment: rowNumber;
    content: counter(rowNumber);
    padding-left: 6px;
    vertical-align:middle;
}

table#qcform thead tr::before {
    display: table-cell;
    content: "";
}

#popupedit #edit_tabs {
    /* width: calc(100% - 0px); */
}

#edit {
    overflow-y: hidden;
    border-right: none;
}

#popupedit_content {
    overflow-y: auto;
    border-right: none;
    overflow-x: auto;
    border: 0;
    min-height: 300px;
}

#edit_tabs {
    overflow-x: hidden;
    font-weight: bold;
}

#edit_tabs ul {
    display: flex;
    margin: 0;
    background-color: var(--gray)
}

#edit_tabs .active {
    display: inline-block;
    background-color: var(--white);
}

#edit_tabs li[draggable=true]:hover {
    cursor: ew-resize;
}

#edit_tabs ul li:hover {
    transition: background-color 0.25s ease-in-out;
    cursor: pointer;
    background-color: var(--white);
}

#edit_tabs ul li {
    box-sizing: border-box;
    list-style-type: none;
    display: inline-block;
    padding: 6px 10px 6px;
    margin: 0;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#edit_tabs ul li:first-child {
    margin-left: 12px;
}

#edit_tabs_overflow {
    display: none;
}

.tab_content {}

#edit_tools {
    font-size: 14px;
    overflow: hidden;
    display: none;
    color: var(--blue);
    margin-left: 10px;
    float: left;
    min-width: 300px;
}

#edit_tools button {
    padding: 0px 15px;
    height: 20px;
    line-height: 22px;
    background: none;
    /* border: solid var(--gray); */
    /* border-width: 0px 2px; */
}

#edit_tools button:hover {
    background: var(--gray);
}

.edit_win {
    padding: 15px;
    overflow-y: auto;
}

#edit_win_2 {
    float: right;
}

#popupedit .edit_win {
    overflow-y: visible;
}

#popupedit {
    /* top: 100px; */
    /* max-width: 900px; */
    z-index: 800;
    position: absolute;
    /* top: 50%; */
    /* transform: translateY(-50%); */
}

@media only screen and (min-width: 0px) {
    #popupedit {
	top: 50px;
	margin: 0 10%;
	width: 80%;
    }
}

@media only screen and (min-width: 1200px) {
    #popupedit {
	top: 50px;
	margin: 0 15%;
	width: 70%;
    }
}

@media only screen and (min-width: 1600px) {
    #popupedit {
		top: 50px;
		transform: translateX(-50%);
		width: 1120px;
		position: fixed;
		left: 50%;
		margin: initial;
    }
}

#popupedit h2>input {
    line-height: inherit;
    float: right;
    margin-top: -4px;
    min-width: 80px;
    max-width: 140px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: initial;
}

#edit_footer_popup {
    height: 20px;
    padding-top: 4px;
    background-color: var(--gray-light);
    border-top: 1px solid var(--gray);
}

div#popupedit.fullwidth {
	width: 98%;
	margin: 0 1%;
}

div#popupedit.fullwidth div#popupedit_content {
	max-height: calc(90vh - 50px) !important;
}

div#popupedit.fullwidth > div.edit_win {
	width: calc(100% - 30px) !important;
}

span#edit_header {
    display: inline-block;
    max-width: calc(100% - 320px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

span#save_button input {
    min-width: 80px;
    max-width: 140px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: initial;
}


#save_button {
    margin-top: -3px;
}

#map_canvas {
    margin: -2px 12px 0px 12px;
    box-shadow: 0px 0px 3px var(--gray-dark);
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
}

.map {
    height: 200px;
}

.map_big {
    height: 600px;
}

.map_full {
    height: calc(100% - 50px);
}

#img_canvas {
    margin: 10px 0px;
}

#img_canvas img {
    max-width: calc(100% - 7px);
    border: 1px solid var(--blue);
}

.rotate180 {
    -webkit-transform: rotate(180deg);
    /* Chrome and other webkit browsers */
    -moz-transform: rotate(180deg);
    /* FF */
    -o-transform: rotate(180deg);
    /* Opera */
    -ms-transform: rotate(180deg);
    /* IE9 */
    transform: rotate(180deg);
}

.rotate90 {
    -webkit-transform: rotate(90deg);
    /* Chrome and other webkit browsers */
    -moz-transform: rotate(90deg);
    /* FF */
    -o-transform: rotate(90deg);
    /* Opera */
    -ms-transform: rotate(90deg);
    /* IE9 */
    transform: rotate(90deg);
}

#save {
    padding: 2px 25px;
}

#save_button {
    float: right;
    margin-top: -5px;
    /* width: 190px; */
    font-size: 14px;
}

.list_button {
    float: right;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    display: none;
    color: var(--blue);
    max-height: 20px;
}

.list_button:hover {
    cursor: pointer;
}

.list_filter_apply {
    color: var(--red) !important;
}

#list li#list_warning {
    height: auto;
    margin-left: 0px;
    cursor: default;
    padding: 9px 10px 6px 5px;
    color: var(--blue);
}

#list_warning.red {
    background: rgba(255, 68, 96, 0.1);
    border-left: 3px solid var(--red);
}

#list_warning.yellow {
    background: rgba(255, 210, 50, 0.1);
    border-left: 3px solid var(--yellow);
}

#list_warning.blue {
    background: rgba(73, 144, 196, 0.1);
    border-left: 3px solid var(--blue-light);
}

#list_warning.gray {
    background: rgba(198, 198, 196, 0.1);
    border-left: 3px solid var(--gray);
}

#list_warning.green {
    background: rgba(0, 215, 140, 0.1);
    border-left: 3px solid var(--green);
}

.mkborder {
    padding: 0px;
    border-right: 2px solid var(--gray);
    background-color: var(--white);
    overflow-x: hidden;
    overflow-y: auto;
}

#list_add {
    font-size: 18px;
    margin-right: -4px;
    margin-left: -4px;
}

#info_warning {
    padding: 9px 10px 6px 5px;
    margin: 5px 10px 5px 0;
    display: inline-block;
    color: var(--blue);
}

table #info_warning {
    margin-top: 4px;
    white-space: normal;
}

#info_warning a {
    border-bottom: 1px solid var(--blue-light);
}

#info_warning.red {
    background: rgba(255, 68, 96, 0.1);
    border-left: 3px solid var(--red);
}

#info_warning.yellow {
    background: rgba(255, 210, 50, 0.1);
    border-left: 3px solid var(--yellow);
}

#info_warning.blue {
    background: rgba(73, 144, 196, 0.1);
    border-left: 3px solid var(--blue-light);
}

#info_warning.gray {
    background: rgba(198, 198, 196, 0.1);
    border-left: 3px solid var(--gray);
}

#info_warning.green {
    background: rgba(0, 215, 140, 0.1);
    border-left: 3px solid var(--green);
}

#info_warning span.news, span.news, #edit_tabs span.news, h3 span.news, span.beta, #edit_tabs span.beta, h3 span.beta {
    background: var(--green-dark);
    color: var(--white);
    padding: 5px 8px;
    margin: 5px;
    border-radius: 20px;
    font-size: 90%;
    font-weight: bold;
}

#info_warning span.change, #edit_tabs span.change, span.beta, #edit_tabs span.beta, h3 span.beta {
    background: var(--yellow);
    color: var(--blue);
}

#info_warning span.keyboard {
    border: 1px solid var(--gray-dark);
    padding: 2px 3px 1px;
    border-radius: 3px;
    font-weight: italic;
}

.searchbox {
    padding: 2px 0px 0px 8px;
    border: 2px solid var(--gray);
    background-color: var(--gray);
    display: none;
}

h1 {
    font-size: 14px;
    padding: 8px 5px;
    color: var(--blue);
    border-right: 1px solid var(--gray);
    height: 18px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

h1 img {
    padding: 0px 10px 4px 6px;
    max-height: 18px;
}

h2 {
    margin: 0px 0px 0px;
    font-size: 12px;
    padding: 8px 5px;
    color: var(--white);
    height: 16px;
}

h2 img {
    padding: 0px 6px 2px 0px;
    max-height: 16px;
}

h3 {
    margin: 30px 5px 15px 0px;
    font-size: 13px;
    padding: 0 3px;
    line-height: 30px;
    border-bottom: 1px solid var(--blue);
}

h3.sub {
    border-bottom: 1px solid var(--gray);
    font-weight: normal;
    margin-top: 0px;
    font-weight: bold;
    padding-left: 0px;
}

.text_noedit {
    border: 1px solid var(--gray-dark);
    margin-top: 2px;
    padding: 2px 70px 2px 2px;
    background: #f2f2f2;
    color: var(--blue)
    border-style: inset;
}

/* INPUTS */

input[type=text], input[type=search], input[type=date], input[type=number], input[type=password], input[type=file], select, textarea, .formating, .meter {
    border-radius: 4px;
    border: 1px solid var(--gray-dark);
    padding: 0px 6px;
    font-size: 100%;
    box-shadow: inset 0px 1px 2px 0px var(--gray);
    height: 25px;
    /* line-height: 25px;     */
    box-sizing: border-box;
    width: calc(100% - 10px);
}

thead input[type=search] {
	margin: 2px 2px 4px 2px;
	padding: 0px 6px;
	height: 20px;
}

input[type=text].blur {
    color: transparent;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

select.not-initialized {
    /* display: block; */
    color: #444 !important;
    background-color: inherit;
    border: 0px;
    text-overflow: ellipsis;
    position: relative; /* Needed for ::after positioning */
    padding-right: 30px; /* Make space for the triangle */
	background: url('data:image/svg+xml;utf8,<svg fill="gray" height="16" viewBox="0 0 20 20" width="16" xmlns="http://www.w3.org/2000/svg"><path d="M5.516 7.548a1 1 0 0 1 1.415-.032l2.07 1.98 2.07-1.98a1 1 0 1 1 1.383 1.447l-2.777 2.656a1 1 0 0 1-1.383 0L5.548 8.963a1 1 0 0 1-.032-1.415z"/></svg>') no-repeat right 10px center/16px 16px;
	overflow: hidden;
	margin: 0px;
}

select.not-initialized:hover {
    height: max-content;
}

select.not-initialized option:not(:checked) {
    display: none;
}

select.not-initialized option:checked {
    background: inherit;
}


select {
    background: rgba(210, 233, 247, 0.2) url(imgs/select.png) no-repeat right;
    background-size: contain;
    padding-right: 30px;
    border-radius: 4px;
    -webkit-appearance: none;
    -moz-appearance: none;
    -ms-appearance: none;
    appearance: none;
    width: calc(100% - 6px);
    margin: 5px 2px 8px 0px;
    display: none;
    /* select2 is used */
}

select::-ms-expand {
    display: none;
}

/* Sorter multi select */

#sort_form span.select2-selection.select2-selection--multiple ul li {
    line-height: 20px;
}

input, textarea {
    margin: 5px 2px 8px 0px;
}

textarea {
    white-space: pre-wrap;
    /* IE11 inherit white-space property from direct parent */
    /* width: calc(100% - 20px); */
}

pre {
    line-height: 120%;
    font-size: 135%;
}

input[type=file] {
    padding: 8px;
    background: var(--gray)
    margin-top: 8px;
    cursor: pointer;
    width: 50%;
    height: 100% !important;
}

input[type=number] {
    width: 35px;
    margin-right: 20px;
}

.editform input[type=checkbox], #login_win input[type=checkbox], #dialog input[type=checkbox], .editform input[type=radio], #login_win input[type=radio], #dialog input[type=radio] {
    opacity: 0;
}
.bool-yes-no-form {
    display: block;
    padding: 10px;
}
.newcheckbox[disabled=disabled] {
    border: 1px solid var(--red);
    color: var(--red);

}

.newcheckbox, .radio {
    width: 28px;
    height: 28px;
    margin: 5px 10px 10px 0px;
    border-radius: 0px;
    border: 1px solid var(--gray);
    background: var(--gray-light);
    position: relative;
    display: inline-block;
    font-family: "fontello";
    font-size: 20px;
    line-height: 20px !important;
}

.radio  {
    border-radius: 50%;
}

.newcheckbox input[type=checkbox]:checked+label, .radio input[type=radio]:checked+label {
    color: var(--gray-dark);
    font-size: 24px;
    line-height: 26px;
}

.newcheckbox label, .radio label {
    cursor: pointer;
    position: absolute;
    width: calc(100% - 5px);
    padding-left: 5px;
    height: 100%;
    top: 0px;
    left: 0px;
    z-index: 1;
    color: var(--gray-light);
}

.newcheckbox:has(input:disabled) {
  cursor: not-allowed;
  pointer-events: none; /* så label ikke kan klikkes */
  border: 1px solid var(--gray-light) !important;
}

/* checkbox in a table */

table.rows td>.newcheckbox, table.rows th>.newcheckbox, table.rows td>.radio, table.rows th>.radio {
    width: 16px;
    height: 16px;
    margin: 0px 16px;
    font-size: 14px;
}

table.rows td .newcheckbox input[type=checkbox]:checked+label, table.rows th .newcheckbox input[type=checkbox]:checked+label, table.rows td .radio input[type=radio]:checked+label, table.rows th .radio input[type=radio]:checked+label {
    font-size: 18px;
    padding: 0;
    margin: -4px 0 0 3px;
}

td>span[class^="icon-"]:first-child {
    margin: 0 16px;
}

.meter {
    padding: 0;
    margin: 15px 0;
    background-color: var(--gray-light);
    position: relative;
    height: 30px;
}

.meter>span, .meter>div {
    padding: 2px 0px;
    position: absolute;
    display: inline-block;
    left: 0;
    line-height: 25px;
}

.meter>div {
    background-color: var(--green-dark);
    border-radius: 3px 0 0 3px;
    color: var(--white);
    max-width: calc(100% - 0px);
    white-space: nowrap;
    overflow: hidden;
    line-height: 25px;
}

.meter_red {
    background-color: var(--red) !important;
}

#item_name .meter {
    width: 30px;
    display: inline-block;
    height: 8px;
    margin: 3px 3px 0 0px;
}

#item_name .meter>span {
    height: 100%;
    padding: 0;
}

/* default green button style */

input[type="submit"], input[type="button"], button {
    margin: 0px 4px;
    -webkit-appearance: none;
    border: 0;
    border-radius: 4px;
    color: var(--blue);
    background: var(--green);
    font-size: 12px;
    line-height: 24px;
}

input[type="submit"]:active, input[type="button"]:active, button:active, span.pointer:active {
    transform: scale(0.95);
    transition: none;
}

input[type="submit"]:hover {
    cursor: pointer;
}

/* Gray normal input */

input[type="button"], button {
    color: #444;
    border-color: var(--gray-dark);
    background: var(--gray)
}

input[type="button"]:hover, button:hover {
    cursor: pointer;
}

/* Button */

.editform button {
    padding-left: 15px;
    padding-right: 15px;
    margin: 8px 0;
    margin-left: 0;
}

.editform button:hover {
    background: rgba(43, 108, 174, 1);
}

.editform table button {
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 4px;
}

.editform button img.tooltip {
    margin-left: 10px;
}

.editform button.inline-button, .editform button.inline-button:hover {
    margin: 0 5px;
    padding: 2px 5px;
    line-height: initial;
}

input[type="submit"], input[type="button"], button, input[type="submit"]:hover, .editform button, .editform  button:hover {
    background: var(--green);
    color: var(--blue);
    font-family: MuseoSans, open_sans, helvetica, arial, sans-serif;
    padding: 4px 15px;
}

input[type="button"], button, input[type="button"]:hover, button:hover  {
    background: var(--gray); 
}


/* Blue button */

.editform button.blue-button, .editform button.blue-button:hover {
    background: var(--blue);
    border-color: none;
    color: var(--white);
}

/* Red button */

.editform button.red-button, .editform button.red-button:hover {
    background: var(--red);
    border-color: none;
    color: var(--white);
}

/* Yellow button */

.editform button.yellow-button, .editform button.yellow-button:hover {
    background: var(--yellow);
    border-color: none;
    color: var(--blue);
}

/* Green button */

.editform button.green-button, .editform button.green-button:hover {
    background: var(--green);
    color: var(--blue);
}

/* Gray/-light button */

.editform button.gray-button, .editform button.gray-button:hover {
    background: var(--gray-dark);
    border-color: none;
    color: var(--white);
}

.editform button.gray-light-button, .editform button.gray-light-button:hover {
    background: var(--gray-light);
    border-color: none;
    color: var(--blue);
}

.editform table button.button-icon {
    border-radius: 50%;
    padding: 5px;
    margin: 0 15px 0 0;
    /* float: right; */
}

.editform button[class^="icon-"], .editform button[class*="icon-"], .editform button[class^="icon-"]:hover, .editform button[class*="icon-"]:hover {
    padding-left: 7px !important;
}

.editform button.working, .editform button:disabled, #save_button input.working, #popupedit input.working {
    pointer-events: none;
    cursor: not-allowed;
    opacity: 0.6;
    box-shadow: none;
}

/* Split button - button with options */

.button-split.gray>button {
    background: var(--gray-light) !important;
}

.button-split.yellow>button {
    background: var(--yellow) !important;
}

.button-split.blue>button {
    background: var(--blue) !important;
    color: var(--white) !important;
}

.button-split.red>button {
    background: var(--red) !important;
    color: var(--white) !important;
}

.button-split.gray :first-child {
    border-right: 1px solid var(--gray);
    /* the gray is so light */
}

.button-split>button {
    line-height: 2;
}

.button-split :first-child {
    border-radius: 4px 0 0 4px;
    border-right: 1px solid rgba(255, 255, 255, .3);
}

.button-split :last-child {
    border-radius: 0 4px 4px 0;
    width: 34px;
}

/* inline button */
.tl-inline-button {
    background-color: var(--gray-dark);
    color: var(--white);
    padding: 5px 6px 4px 4px;
    border-radius: 4px;
    margin: 0 5px;
}

.tl-inline-button [class*="icon-"] {
    color: var(--white) !important;
    margin: 0 2px;
}

.btn-group {
    max-width: 100%;
    margin: 0 auto;
    display: grid;
    grid-gap: 0px 7px;
    grid-template-columns: max-content;
}

/* .btn-group p:not(.brk-next),  */.btn-group p:empty {
    display: none;
}

#edit_tools div#btn-group {
    display: inline;
}

@media only screen and (min-width: 1025px) {
    .btn-group { grid-template-columns: repeat(2, max-content); }
}

@media only screen and (min-width: 1281px) {
    .btn-group { grid-template-columns: repeat(3, max-content); }
}

@media only screen and (min-width: 1481px) {
    .btn-group { grid-template-columns: repeat(4, max-content); }
}

@media only screen and (min-width: 1681px) {
    .btn-group { grid-template-columns: repeat(6, max-content); }
}

input:disabled, textarea:disabled {
    background-color: var(--gray-light)
}

#save, #cancel {
    line-height: 20px;
}

#cancel {
    background: var(--gray-light);
}

#saveandnew {
    background-color: var(--green-dark);
    color: var(--white);
}

.editform #form>p {
    margin: 8px 0;
    padding: 0 4px;
}

/* CALENDAR */

a.fc_basis {
    color: #000;
    line-height: 1.6em;
    border: 2px solid var(--white);
    font-weight: bold;
}

a.fc_basis:hover {
    border-color: var(--blue)
}

a.fc_gray {
    background: var(--gray-dark);
}

a.fc_red {
    background: rgba(255, 0, 0, 0.40);
    border-color: rgb(255, 0, 0);
}

a.fc_blue {
    background: rgba(23, 126, 251, 0.4);
    border-color: rgb(23, 126, 251);
}

a.fc_yellow {
    background: rgba(236, 236, 6, 0.40);
    border-color: rgb(236, 236, 6);
}

a.fc_green {
    background: rgba(79, 190, 121, 0.40);
    border-color: rgb(79, 190, 121);
}

.fc-sun,.fc-sat { background-color: var(--gray-light); }

.fc-widget-header {
    background: var(--gray)
}

.fc-resource-area .fc-cell-content {
    text-overflow: ellipsis;
}

.fc-draggable:hover {
    cursor: ew-resize !important;
}

.fc-toolbar .fc-center {
    width: 25%;
}

.fc-toolbar .fc-center>h2 {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    width: 100%;
    color: var(--blue);
}

.tl-fc-event-middel {
    margin-top: 12px !important;
}

.tl-fc-cell-dim {
    opacity: 0.3;
}

.tl-fc-relation {
    border: 2px dashed var(--gray-dark);
    border-radius: 20px;
}

.tl-fc-relation-wait {
    border: 3px solid var(--red);
    border-radius: 20px;
}

.tl-fc-relation-next {
    border: 2px solid var(--green-dark);
    border-radius: 20px;
}

.tl-plan-relation {
	border-width: 0px 0 0px !important;
}
.tl-plan-relation:before {
	content: "";
	position: absolute;
	top: -1px;
	left: 10px;
	right: 10px;
	bottom: 0;
	border: var(--gray-dark) 1px dashed;
}

.tl-plan-relation:after {
	content:"";
	position: absolute;
	right: 5px;
	top: -5px;

	width: 0;
	height: 0;
	border-top: 5px solid transparent;
	border-bottom: 5px solid transparent;
	border-left:5px var(--gray-dark) solid;
}

button.fc-button {
    padding: 1px 15px !important;
    border-radius: 0;
    text-shadow: none;
}

.fc-widget-header {
    position: -webkit-sticky !important;
    position: sticky !important;
    z-index: 99999;
    top: -16px;
    border-bottom: 0;
}

.fc-widget-header:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    border-bottom: 1px solid var(--gray);
}

.fc-widget-header .fc-cell-content .fc-cell-text{
    white-space: initial;
}

#schedule-container .fc-widget-content {
	height: 36px;
}

.fc-resource-area {
    background: white;
}

.fc-hide {
    display: none;
}

.fc-tl-today {
	background-color: rgba(255, 210, 50, 0.1);
}

.fc-tl-holiday {
	background-color: rgba(255, 68, 96, 0.1);
}

.fc-tl-widget-header {
    background-color: var(--blue-light-alpha2) !important;
    font-weight: normal !important;
}

/* NEEED STAR */

.needed-star {
    color: var(--red);
    font-size: 80%;
    vertical-align: middle;
    margin-right: -4px;
}

/* TOOLTIP */

.tooltip {
    /* width: 14px; */
    margin-left: 3px;
    /* vertical-align: middle; */
    padding-bottom: 4px;
}

.select2-tooltip {
    position: relative;
    margin-left: -45px;
}

.tooltip.icon-eye.red {
    color: var(--red);
}

.tooltip.icon-eye.yellow {
    color: var(--yellow);
}

.tooltip.icon-eye {
    color: var(--gray-dark);
}

.quest-icon {
    width: 14px;
}

.quest-icon.search {
    position: relative;
    float: right;
    margin: 1px -8px;
}

#tooltip {
    display: none;
    width: 200px;
    min-height: 30px;
    position: absolute;
    z-index: 1200;
    /* opacity: 0.95; */
    line-height: 140%;
}

#tooltip textarea {
    width: calc(100% - 10px);
    /* height: 150px; */
}

#tooltip:not(.editform) p {
    opacity: 1;
    padding: 4px 0 2px;
}

#tooltip img {
    max-width: calc(100%);
    margin-bottom: 5px;
}

#tooltip ul {
    padding: 0px 0 3px 20px;
}

#tooltip:not(.editform) td {
    padding-right: 5px;
    vertical-align: top;
}

#tooltip:not(.editform) th {
    font-style: italic;
    border-bottom: 1px solid var(--gray-dark);
    padding: 2px;
}

#tooltip.editform {
    font-size: 90%;
}

#tooltip h2 {
    background: initial;
    padding: 8px 0 4px;
    font-style: inherit;
    text-transform: initial;
}

#tooltip td.right {
    text-align: right;
}

#tooltip td.red {
    color: var(--red);
}

#tooltip tt {
    font-size: 140%;
}

#tooltip_loader .tltable {
    width: calc(100% - 0px);
}

/* arrow left */

.arrow_box_left {
    position: relative;
    background: var(--white);
    /* white */
    border: 1px solid var(--gray-dark);
    padding: 5px;
    border-radius: 5px;
    box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.3);
}

.arrow_box_left:after, .arrow_box_left:before {
    right: 100%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
}

.arrow_box_left:after {
    border-color: rgba(255, 255, 255, 0);
    border-right-color: var(--white);
    /* white */
    border-width: 10px;
    top: 25px;
    margin-top: -10px;
}

.arrow_box_left:before {
    border-color: rgba(170, 170, 170, 0);
    border-right-color: var(--gray-dark);
    border-width: 12px;
    top: 25px;
    margin-top: -12px;
}

.arrow_box_left_200:before {
    top: 225px;
}

.arrow_box_left_200:after {
    top: 225px;
}

/* arrow top */

.arrow_box_top {
    position: relative;
    background: var(--white);
    /* white */
    border: 1px solid var(--gray-dark);
    padding: 5px;
    border-radius: 5px;
    box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.3);
}

.arrow_box_top:after, .arrow_box_top:before {
    bottom: 100%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
}

.arrow_box_top:after {
    border-color: rgba(255, 255, 255, 0);
    border-bottom-color: var(--white);
    /* white */
    border-width: 10px;
    right: 30px;
    margin-left: -10px;
}

.arrow_box_top:before {
    border-color: rgba(170, 170, 170, 0);
    border-bottom-color: var(--gray-dark);
    border-width: 12px;
    right: 28px;
    margin-left: -12px;
}

/* arrow top left */

.arrow_box_top_left {
    position: relative;
    background: var(--white);
    /* white */
    border: 1px solid var(--gray-dark);
    padding: 5px;
    border-radius: 5px;
    box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.3);
}

.arrow_box_top_left:after, .arrow_box_top_left:before {
    bottom: 100%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
}

.arrow_box_top_left:after {
    border-color: rgba(255, 255, 255, 0);
    border-bottom-color: var(--white);
    /* white */
    border-width: 10px;
    left: 30px;
    margin-left: -10px;
}

.arrow_box_top_left:before {
    border-color: rgba(170, 170, 170, 0);
    border-bottom-color: var(--gray-dark);
    border-width: 12px;
    left: 30px;
    margin-left: -12px;
}

/* arrow right */

.arrow_box_right {
    position: relative;
    background: var(--white);
    /* white */
    border: 1px solid var(--gray-dark);
    padding: 5px;
    border-radius: 5px;
    box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.3);
}

.arrow_box_right:after, .arrow_box_right:before {
    left: 100%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
}

.arrow_box_right:after {
    border-color: rgba(255, 255, 255, 0);
    border-left-color: var(--white);
    /* white */
    border-width: 10px;
    top: 100px;
    margin-top: -10px;
}

.arrow_box_right:before {
    border-color: rgba(170, 170, 170, 0);
    border-left-color: var(--gray-dark);
    border-width: 12px;
    top: 100px;
    margin-top: -12px;
}

/* arrow bottom left*/

.arrow_box_bottom_left {
    position: relative;
    background: var(--white);
    /* white */
    border: 1px solid var(--gray-dark);
    padding: 5px;
    border-radius: 5px;
    box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.3);
}

.arrow_box_bottom_left:after, .arrow_box_bottom_left:before {
    top: 100%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
}

.arrow_box_bottom_left:after {
    border-color: rgba(255, 255, 255, 0);
    border-top-color: var(--white);
    /* white */
    border-width: 10px;
    margin-bottom: -10px;
    left: 30px;
}

.arrow_box_bottom_left:before {
    border-color: rgba(170, 170, 170, 0);
    border-top-color: var(--gray-dark);
    border-width: 12px;
    margin-bottom: -12px;
    left: 30px;
}

/* arrow bottom right */

.arrow_box_bottom_right {
    position: relative;
    background: var(--white);
    /* white */
    border: 1px solid var(--gray-dark);
    padding: 5px;
    border-radius: 5px;
    box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.3);
}

.arrow_box_bottom_right:after, .arrow_box_bottom_right:before {
    top: 100%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
}

.arrow_box_bottom_right:after {
    border-color: rgba(255, 255, 255, 0);
    border-top-color: var(--white);
    /* white */
    border-width: 10px;
    margin-bottom: -10px;
    right: 30px;
}

.arrow_box_bottom_right:before {
    border-color: rgba(170, 170, 170, 0);
    border-top-color: var(--gray-dark);
    border-width: 12px;
    margin-bottom: -12px;
    right: 28px;
}

/* DOCUMENT PREVIEW */

.docpreview, .docpopup, .docdownload {
    font-size: 14px;
    cursor: pointer;
}

.docpreview_padding {
    padding: 10px;
}

#docpreview {
	display: none;
	min-width: 400px;
	max-width: 35%;
	min-height: 50px;
	position: absolute;
	z-index: 1000;
	/* opacity: 0.95; */
	line-height: 140%;
	background: var(--white);
}

#docpreview pre {
	overflow: hidden;
}

#docpreview img {
    width: 99%;
}

#docpreview video{
    width: calc(100% - 1px);
}

#docpreview.viewer {
	width: 30vw;
}

#docpreview div.ifr {
	height: 30vh;
	width: calc(100% - 1px);
}

#docpreview div iframe {
	height: 100%;
	width: 100%;
}

/* MODAL */

.modal {
    min-height: 50px;
    position: absolute;
    z-index: 900;
    line-height: 130%;
    /* padding-bottom: 10px; */
    background: var(--white);
    box-shadow: 0 5px 25px var(--gray-dark);
}

.modal>h2 {
    font-size: 120%;
    padding-left: 10px;
    background: var(--blue);
    color: var(--white);
}

.modal input[type=submit], input[type=button] {
    min-width: 80px;
    max-width: 140px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: initial;
}

.modal input[type=submit] {
    float: right;
}

.modal input[type=submit].red {
    background: var(--red);
    color: var(--white);
}

.modal_frame {
    padding: 0 5px;
}

.modal_content {
    margin-bottom: 15px;
    overflow-y: auto;
    border-bottom: 1px solid var(--gray-dark);
    padding: 10px 5px;
}

.modal_content input[type=text], .modal_content input[type=radio], .modal_content select {
    margin-bottom: 3px;
}

.modal_content input[type=search] {
    width: 100% !important;
    border: 1px solid var(--gray);
}

.modal_content .select2-container--default {
    margin-top: -2px;
    margin-bottom: 2px;
    width: 100% !important;
}

.modal_content input[type=radio] {
    width: 10%;
}

.modal_content h4 {
    border-bottom: 1px solid #999;
    width: 100%;
    margin: 10px 0;
    line-height: 2;
}

.modal_content h5 {
    margin-bottom: 8px;
    width: 80%;
}

.modal_content input[type=checkbox], .modal_content input[type=radio] {
    width: 20px;
}

.modal_content_indent {
    padding-left: 5px;
    width: calc(50% - 5px);
    /* 50% minus the padding */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* SORTING */

#sorting, #quickUsrSet, #ghostMenu {
    width: 240px;
}

.sort-check {
    white-space: nowrap;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
}

#sorting input[type=submit], input[type=button], #quickUsrSet input[type=submit], #quickUsrSet input[type=button], #ghostMenu input[type=submit], #ghostMenu input[type=button]{
    min-width: 80px;
    max-width: 110px;
    padding: 2px 10px !important;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: initial;
}

#quickUsrSet input[type=submit], #quickUsrSet input[type=button], #quickUsrSet button,
#ghostMenu input[type=submit], #ghostMenu input[type=button], #ghostMenu button  {
	width: calc(100% - 15px);
}
#quickUsrSet .red-button, #ghostMenu .red-button {
	background: var(--red); color: var(--white);
}

#quickUsrSet .blue-button, #ghostMenu .blue-button {
	background: var(--blue-light); color: var(--white);
}


#quickUsrSet .green-button, #ghostMenu .green-button {
	background: var(--green);
}

#quickUsrSet .yellow-button, #ghostMenu .yellow-button {
	background: var(--yellow);
}

#quickUsrSet .highlight, #ghostMenu .highlight {
	background: var(--green);
}

/* DIALOG */

#dialog {
    top: 100px;
    left: 100px;
    min-width: 400px;
    max-width: 700px;
    display: inline-table;
    font-size: 110%;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    padding-bottom: 10px;
}

#dialog .modal_content {
    min-height: 50px;
}

#dialog .modal_content>div {
    border-left-width: 3px;
    border-left-style: solid;
    padding: 15px;
    margin: 20px 15px;
}

#dialog .modal_content P {
    margin: 8px 0;
}

#dialog .modal_content ul {
    margin: 5px 20px 10px;
}

#dialog .modal_content li {
    padding: 2px 0;
}

#dialog .modal_content input, #dialog .modal_content textarea {
    width: 100% !important;
}

#dialog .modal_content span.progress {
    /* overflow-y: scroll; */
    display: block;
    max-height: 30px;
    width: 100%/* 260px */;
    /* margin-top: 2px; */
}

#dialog .modal_content span.progress progress {
    width: 100%;
}

#dialog .modal_content span.progress progress[value]::-webkit-progress-bar {
    background-color: var(--gray-light);
}

#dialog .modal_content span.progress progress[value]::-webkit-progress-value {
    background-color: var(--green);
}

#dialog_error {
    background-color: rgba(255, 68, 96, 0.1);
    border-left-color: var(--red);
}

#dialog_info {
    background-color: rgba(73, 144, 196, 0.1);
    border-left-color: var(--blue-light);
}

#dialog_warning {
    background-color: rgba(255, 210, 50, 0.1);
    border-left-color: var(--yellow);
}

#dialog_confirm {
    background-color: rgba(155, 155, 152, 0.1);
    border-left-color: var(--gray-dark);
}

#dialog table:not(.tlform) {
    width: 100%;
}

#dialog table:not(.tlform) th {
    padding: 15px 15px 5px 0;
    border-bottom: 1px solid #ccc;
    font-weight: bold;
    white-space: nowrap;
}

#dialog table:not(.tlform) td {
    padding: 8px 0;
}

#dialog input[type="button"] {
    padding-left: initial;
    padding-right: initial;
}

.dialog-btn {
    min-width: 65% !important;
    max-width: 90% !important;
}

#dialog-wait-items {
    line-height: 28px;
    max-height: 350px;
    overflow: auto;
}

#dialog-wait-errors {
    line-height: 28px;
    max-height: 300px;
    overflow: auto;
    border-left-color: var(--red);
}

.dialog-wait-error {
    font-weight: bold;
}

#dialog .select2 {
    max-width: 700px;
}

#dialog .select2 ul {
    margin: 0 !important;
}

/* REMINDER */

#reminder_wrapper {
    position: absolute;
    right: 0;
    bottom: 7px;
}

.reminder {
    position: relative;
    background-color: var(--gray-light);
    margin-top: 8px;
    right: -395px;
    width: 350px;
    border-radius: 5px;
    padding-bottom: 12px;
}

.open-reminder {
    animation: open_reminder_x 400ms ease-in-out;
    animation-fill-mode: forwards;
    transform: translateX(0);
}

.close-reminder {
    animation: close_reminder_x 400ms ease-in-out;
    animation-fill-mode: forwards;
    transform: translateX(-400px);
}

@keyframes open_reminder_x {
    to {
        transform: translateX(-400px);
    }
}

@keyframes close_reminder_x {
    to {
        transform: translateX(400px);
    }
}

#reminder_content {
    padding: 8px;
}

#reminder_content div[class^=icon-] {
    float: left;
    width: 60px;
    font-size: 300%;
    line-height: 50px;
}

#reminder_content div.text {
    width: 220px;
    float: left;
}

#reminder_content div.loader {
    width: 280px;
    float: left;
}

#reminder_content span.headline {
    font-size: 120%;
    font-weight: bold;
    width: 220px;
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

#reminder_content span.progress {
    /* overflow-y: scroll; */
    display: block;
    max-height: 30px;
    width: 100%/* 260px */;
    /* margin-top: 2px; */
}

#reminder_content span.progress progress {
    width: 100%;
}

#reminder_content span.progress progress[value]::-webkit-progress-bar {
    background-color: var(--gray-dark-alpha2);
}

#reminder_content span.progress progress[value]::-webkit-progress-value {
    background-color: var(--green);
}

#reminder_content span.description {
    overflow-y: scroll;
    display: block;
    max-height: 30px;
    /* margin-top: 2px; */
}

#reminder_content div.close {
    float: right;
    width: 50px;
    font-size: 120%;
    line-height: 50px;
    text-align: center;
    border-left: 1px solid var(--gray);
}

/* DROPZONE */

#dropzone {
    width: 500px;
    display: inline-block;
    height: 25px;
}

#dropzone>span#helpicons {
    border-right: 1px solid var(--gray);
    padding: 0 3px;
    background-position: center;
}

#dropzone>span#helpicons:last-child {
    border-right: none;
}

#dropzone #helpicons-badge {
    position: relative;
    display: inline-block;
    left: -19px;
    top: -9px;
    width: 0;
    font-size: 80%;
}

#drop_select {
    display: none;
    min-height: 100px;
    position: absolute;
    z-index: 900;
    opacity: 0.95;
    line-height: 140%;
    background: var(--white);
}

.drop_here {
    width: 70px;
    height: 100px;
    border-radius: 4px;
    border: 1px solid var(--blue);
    background-color: var(--gray-light);
    display: inline-block;
    margin: 8px;
    position: relative;
}

.drop_here_hover {
    background-color: var(--gray);
    box-shadow: 0px 0px 7px var(--gray-dark);
}

.drop_here_content {
    text-align: center;
    bottom: 2px;
    position: absolute;
    width: 100%;
}

.drop_here_icon {
    font-size: 30px;
    text-align: center;
    margin: 5px auto;
    background: var(--blue-light);
    color: var(--white);
    border-radius: 50px;
    width: 55px;
    height: 55px;
    line-height: 60px;
}

.drop_form {
    width: 45%;
    float: right;
    border-radius: 4px;
    border: 1px dashed var(--gray-dark);
    background-color: var(--gray-light);
    display: inline-block;
    margin: -10px 10px 0 0%;
    text-align: center;
    padding: 17px 0;
}

.drop_form_hover {
    border: 1px solid var(--gray-dark);
    background-color: var(--gray);
}

.drop_form_prevented_hover {
	border: 1px solid var(--red);
	background-color: var(--red-alpha2);
}

/* MANUAL */

#html-text {
    margin: 10px;
    font-size: 115%;
}

#html-text h1, #html-text h2, #html-text h3 {
    padding: 5px 0;
    border: none;
    margin: 0;
}

#html-text h1 {
    background-color: var(--gray-light);
}

#html-text h2 {
    background-color: unset;
    color: var(--blue);
}

#html-text p {
    margin: 10px 0px;
}

#html-text a {
    border-bottom: 1px solid var(--blue-light);
}

/* SELECT2 */

.select2-container--default .select2-selection--single, .select2-container--default .select2-selection--multiple {
    /* background: rgba(210,233,247,0.2); */
    background: var(--white);
    margin: 5px 0px 8px 0px;
    height: 25px;
    box-shadow: inset 0px 1px 2px 0px var(--gray);
    outline-offset: -2px;
}

.select2-container--default.select2-container--disabled .select2-selection--multiple {
    background: var(--gray-light);
}

.no_wrap .select2-container .select2-selection--single .select2-selection__rendered {
    padding-right: 45px;
}

.select2-container--default .select2-selection--single .select2-selection__rendered .select2-container--disabled {
    color: var(--blue);
    padding: 0 6px;
    line-height: 30px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 23px;
    top: 5px;
    right: 2px;
}

.select2-dropdown {
    min-width: 200px;
    resize: horizontal;
    overflow: overlay;
}

.select2-dropdown--below {
    top: -8px;
    box-shadow: 0 5px 15px -5px rgba(0, 0, 0, 0.5);
}

.select2-dropdown--above {
    top: 5px;
    box-shadow: 0 -5px 15px -5px rgba(0, 0, 0, 0.5);
}

.select2-results__option {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    border-bottom: 1px solid var(--gray-light);
}

.select2-selection__choice__remove {
    margin-right: 4px !important;
}

img.select2-img-badge, img.dblline-img-badge {
    height: 24px;
    /* same as lineheight in select2 */
    margin: 0px 8px 0px 0px;
    border-radius: 50%;
}

img.dblline-img-badge {
    margin: 0px;
}

.select2-line2 {
    font-style: italic;
}

.select2-selection__rendered .select2-line2 {
    display: none;
}

.select2-container--open .select2-dropdown--above {
    min-width: 250px;
}

span.right {
    float: right;
}

/* table.tlarray SELECT2 */
table.tlarray.editable span.select2-selection.select2-selection--multiple, table.tlarray.editable span.select2-selection.select2-selection--single {
    border: 0;
    background: transparent;
    min-height: 28px!important;
    margin-bottom: 0px;
}

table.tlarray.editable span.select2.select2-container {
}

table.tlarray.editable li.select2-selection__choice {
    margin-top: 0px !important;
    line-height: 18px;
    max-width: 100%;
    border: 1px solid var(--blue-light);
    display: inline-block;
    vertical-align: middle;
    text-overflow: ellipsis;
    background: var(--blue-light-alpha4);
	margin-bottom: 4px;
	font-size: 90%;
	padding: 0 2px !important;
}

table.tlarray.editable ul.select2-selection__rendered span {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

table.tlarray.editable ul.select2-selection__rendered {
    max-height: 28px;
    max-width: 100%;
    overflow: hidden;
	padding: 0px;
    white-space: nowrap;
    text-overflow: ellipsis;
}

/* @supports (counter-set: none) {
    table.tlarray.editable ul.select2-selection__rendered li{
        counter-increment: c;
    }

    table.tlarray.editable ul.select2-selection__rendered {
        counter-increment: c -1;
        --tt: counter(c);
    }


    table.tlarray.editable ul.select2-selection__rendered::after {
		content: var(--tt);
        position: absolute;
        top: -3px;
        xxleft: -3px;
        right: -1px;
        background: var(--gray-dark);
        height: 11px;
        line-height: 11px;
        font-size: 11px;
        padding: 2px 3px;
        border-radius: 11px;
        text-align: center;
        color: var(--white);
    }

} */

table.tlarray.editable ul.select2-selection__rendered::before {
    content: "";
    border-color: #888 transparent transparent transparent;
    border-style: solid;
    border-width: 5px 4px 0 4px;
    height: 0;
    position: absolute;
    top: calc((28px * 0.5) + 2px);
    right: 0px;
    width: 0;
}

table.tlarray.editable ul.select2-selection__rendered .select2-selection__choice__remove {
	display: none !important;
}
table.tlarray.editable ul.select2-selection__rendered .select2-selection__choice {
	padding: 0
}


table.tlarray.editable span.select2-selection.select2-selection--multiple[aria-expanded="true"] .select2-selection__rendered {
    max-height: 100%;
}


table.tlarray.editable ul.select2-selection__rendered:hover {
    max-height: 100%;
}

table.tlarray.editable ul.select2-selection__rendered li {
}

table.tlarray.editable li.select2-search.select2-search--inline {
    max-height: 21px;
    padding: 0;
    margin: 0 !important;
}

table.tlarray.editable input.select2-search__field {
    margin: 0 !important;
    padding: 0 !important;
    height: 23px;
    vertical-align: top;
}

.editform #search_params .header-content {
    display: grid;
    columns: 3;
}

/* QR code print */

#qr_prt_content_print {
    /* border: 1px solid black; */
    /* border-radius: 3px; */
    width: 130px;
    height: 214px;
}

#qr_prt_h1 {
    background-color: transparent;
    color: #000 !important;
    /* make sure it black print */
    border: 0;
    font-size: 90%;
    margin: 5px;
    height: initial;
    overflow: visible;
    white-space: normal;
    padding: 10px 0;
}

/* chat */

#chat-wrapper {
    position: absolute;
    z-index: 700;
    bottom: 24px;
    right: 0;
    display: table;
    border-spacing: 5px 0;
}

.chat-box-wrapper {
    width: 250px;
    max-width: 250px;
    display: table-cell;
    vertical-align: bottom;
}

.chat-header {
    height: 20px;
    background-color: var(--blue);
    color: var(--white);
    padding: 4px 0 2px 8px;
    font-weight: bold;
}

.chat-header-name {
    max-width: 160px;
    overflow: hidden;
    display: inline-block;
    white-space: nowrap;
    text-overflow: ellipsis;
    margin-left: -5px;
}

.chat-box-close, .chat-box-minify, .chat-box-maxify, .chat-box-start {
    float: right;
    font-size: 130%;
    margin-right: -4px;
    cursor: pointer;
}

.chat-box-start {
    padding: 1px 15px 0;
    margin-right: 5px;
}

.chat-content {
    border-left: 1px solid var(--blue);
    border-right: 1px solid var(--blue);
    min-height: 100px;
    max-height: 250px;
    overflow-y: scroll;
    background: var(--gray-light);
    padding-top: 4px;
}

.chat-content>div {
    display: inline-block;
    width: 100%;
}

.chat-send {
    border: 1px solid var(--blue);
    background-color: var(--white);
}

.chat-send>textarea:focus {
    border: none !important;
    box-shadow: none !important;
}

.chat-send>textarea {
    margin: 0;
    width: 100%;
    height: 34px;
    border: 0;
    padding: 6px 4px 0 4px;
    outline-width: 0;
    outline-style: none;
    background-color: var(--white);
    resize: none;
}

#chat-edit-wrapper {
    width: 50%;
    display: inline-block;
    margin: 0 auto;
    background-color: var(--gray-light);
    border: 1px solid var(--blue);
}

#chat-edit-wrapper.chat-content {
    max-height: 100%;
}

.chat-date {
    width: 100%;
    margin: 10px;
    font-size: 90%;
    text-align: center;
}

.chat-text {
    border: 1px solid var(--gray);
    border-radius: 4px;
    max-width: 75%;
    padding: 3px 6px;
    margin: 2px 6px;
    overflow-wrap: break-word;
}

.chat-sender-header {
    padding: 0px 0px 0px 8px;
    max-width: 100px;
}

.chat-img>img {
    border: 1px solid var(--gray);
    border-radius: 8px;
    max-width: 75%;
    margin: 2px 6px;
}

.chat-right>img {
    float: right;
}

.chat-text-left {
    background-color: var(--white);
}

.chat-left {
    float: left;
}

.chat-text-right {
    background-color: rgba(73, 144, 196, 0.1);
    border-color: rgba(73, 144, 196, 0.5);
}

.chat-right {
    float: right;
}

.chat-link {
    border: 1px solid var(--gray);
    padding: 2px 1px 0;
    border-radius: 3px;
    background-color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
}

.chat-left .chat-link {
    background-color: rgba(150, 150, 150, 0.1);
}

.chat-online {
    color: var(--green);
}

.chat-offline {
    color: var(--red);
}

.chat-online-hidden {
    color: var(--yellow);
}

.chat-hasread.icon-check::before {
    right: 17px;
    position: relative;
    top: -3px;
}

.chat-hasread {
    float: right;
    width: 0;
    color: var(--green-dark);
}

.chat-like {
    float: right;
    color: var(--blue-light);
    width: 0;
}

span.chat-like.icon-thumbs-up::before {
    top: 5px;
    right: 24px;
    position: relative;
    font-size: 130%;
}

.chat-content .chat-icon {
    font-size: 170%;
    color: var(--blue-light);
}

.chat-blink-new-msg {
    animation: chat-new-msg-bg 0.4s cubic-bezier(.5, 0, 1, 1) 6 alternate;
}

@keyframes chat-new-msg-bg {
    to {
        background-color: var(--gray);
    }
}

.chat-blink-new-thumbs-up-icon {
    animation: chat-new-msg-rotate 0.4s cubic-bezier(.5, 0, 1, 1) 6 alternate;
}

@keyframes chat-new-msg-rotate {
    to {
        transform: rotate(-20deg);
    }
}

/* hover */

.popover {
    width: 415px;
    z-index: 1000;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 900;
    display: none;
    max-width: 276px;
    padding: 0px;
    font-family: MuseoSans, open_sans, helvetica, arial, sans-serif;
    font-style: normal;
    font-weight: normal;
    letter-spacing: normal;
    line-break: auto;
    line-height: 1.42857143;
    text-align: left;
    text-align: start;
    text-decoration: none;
    text-shadow: none;
    text-transform: none;
    white-space: normal;
    word-break: normal;
    word-spacing: normal;
    word-wrap: normal;
    font-size: 14px;
    XXbackground-color: var(--white);	/* TL */
    background-color: var(--white);	/* TL */
    color: var(--blue);			/* TL */
    background-clip: padding-box;
    border: 1px solid var(--blue);
    border-radius: 0px;
    -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

.popover .header {
    height: 25px;
    background: var(--blue);
}

.popover .header span {
    float: right;
    color: white;
    font-size: 14px;
    line-height: 25px;
    cursor: pointer;
}

.popover div.content {
        padding: 7px;
        /* border: 1px solid #c6c5c4; */
}

.popover div.content table {
    width: 100%;
}

/* Green button */

.popover button.green-button{
    background: var(--green);
    border-color: var(--green-dark);
}

.popover button.green-button:hover{
    background: var(--green-dark);
}

.popover button[class^="icon-"], .popover button[class*="icon-"], .popover button[class^="icon-"]:hover, .popover button[class*="icon-"]:hover {
    padding-left: 7px !important;
}

.popover button.working, .popover button:disabled {
    pointer-events: none;
    cursor: not-allowed;
    opacity: 0.6;
    box-shadow: none;
}

/* .popover div.content input {
    width: 250px;
    float: left;
    background-color: whitesmoke;
}

.popover div.content button {
    float: left;
    margin-top: 4px;
    background: var(--green) !important;
}

.popover div.content #eq {
    float: left;
    font-size: 13px;
    line-height: 30px;
    margin: 5px 0;
    border-bottom: 1px solid;
}

.popover div.content #result {
    float: left;
    margin: 5px 0px;
    width: 75px;
}

.popover div.content>div#specialChars {
    overflow-x: scroll;
    overflow-y: hidden;
    min-width: 100%;
    height: 54px;
} */

.popover #specialChars div.wrapper {
    width: 600px;
    height: 54px;
}

.popover #specialChars button.specialChar {
    float: left;
    margin-top: 4px;
}

/* tl calculator */

#tlCalculator {
    position: absolute;
    /* background: var(--gray-light); */
    width: 415px;
    z-index: 1000;
}

#tlCalculator .header {
    height: 25px;
    background: var(--blue);
}

#tlCalculator .header span {
    float: right;
    color: white;
    font-size: 14px;
    line-height: 25px;
    cursor: pointer;
}

#tlCalculator div.content {
    padding: 7px;
    border: 1px solid var(--blue);
    background-color: var(--gray-light);
}

#tlCalculator div.content>input {
    width: 250px;
    float: left;
    background-color: var(--white);
}

#tlCalculator div.content>button {
    float: left;
    margin-top: 4px;
    background: var(--green) !important;
}

#tlCalculator div.content>#eq {
    float: left;
    font-size: 13px;
    line-height: 30px;
    margin: 5px 0;
    border-bottom: 1px solid;
}

#tlCalculator div.content>#result {
    float: left;
    margin: 5px 0px;
    width: 75px;
}

#tlCalculator div.content>div#specialChars {
    overflow-x: scroll;
    overflow-y: hidden;
    min-width: 100%;
    height: 54px;
}

#tlCalculator #specialChars div.wrapper {
    width: 600px;
    height: 54px;
}

#tlCalculator #specialChars button.specialChar {
    float: left;
    margin-top: 4px;
}

/* / tlcalculator */

/* contextmenu */

#contextmenu, #edit_tabs_overflow, .contextmenu-scrim {
    /* modal scrim */
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    z-index: 1300;
}

#contextmenu-content {
    display: none;
    min-width: 100px;
    position: absolute;
    z-index: 900;
    line-height: 140%;
    background: var(--white);
    border: 1px solid #c6c6c5;
    box-shadow: 0px 0px 10px 1px #c6c6c5;
}

.contextmenu-scrim #contextmenu-content, #edit_tabs_overflow #contextmenu-content {
    box-shadow: 0px 5px 10px 1px #c6c6c5;
}

#contextmenu-content li {
    list-style: none;
    border-bottom: 1px solid var(--gray);
}

#contextmenu-content img {
    width: 24px;
    height: 24px;
    margin-right: 5px;
}

#contextmenu-content li:last-child {
    border-bottom: none;
}

#contextmenu-content li>div, #contextmenu-content li.no-print {
    padding: 8px 10px 5px 5px;
    font-weight: bold;
}

#contextmenu-content li>div>span {
    width: 20px;
    display: inline-block;
}

#contextmenu-content li:hover {
    cursor: pointer;
    background: var(--gray-light);
}

#contextmenu-content .context-headline {
    background: var(--gray);
    cursor: default;
}

#contextmenu-content .context-break {
    background: var(--gray);
    cursor: default;
    padding: 1px 0 0 0 !important;
}

/* special for "add array" button */

.button-split.gray.addarray button {
    line-height: 1.2 !important;
}

.button-split.gray.addarray {
    margin-right: 15px;
}

/* plays */

.play_canvas {
    background-color: var(--gray-light);
    border: 1px solid var(--blue);
    border-radius: 5px;
    padding: 5px;
}

/* Journal */

.journal-wrapper {}

.journal-wrapper.repeat {
    margin: -5px 10px 50px 50px;
}

.narrow .journal-item-spacer {
    width: 20px;
}
.journal-item-spacer {
    width: 100px;
    height: 20px;
    margin: 2px;
    border-right: 1.5px solid var(--gray);
}


.narrow .journal-item-spacer-start {
    margin-left: 15px;
}
.journal-item-spacer-start {
    margin-left: 96px;
    height: 10px;
    width: 10px;
    border-radius: 100px;
    border: 2px solid var(--gray);
}

.narrow .journal-item-user-icon {
    width: 21px;
    height: 21px;
    background-size: 21px 21px !important;
    margin-top: 6px;
    margin-left: 11px;
}
.journal-item-user-icon {
    width: 42px;
    height: 42px;
    float: left;
    padding: 0;
    background-size: 42px 42px !important;
    background-repeat: no-repeat;
    background: url('/admin/imgs/no-profile-neg.png');
    border-radius: 50%;
    margin-top: -5px;
}

.journal-action-user-img {
    width: 24px;
    height: 24px;
    padding: 0;
    border-radius: 50%;
    margin-top: -1px;
}

.journal-action-user-initials {
    /* border: 1px solid var(--gray-dark); */
    border-radius: 50%;
    background: var(--gray);
    color: var(--white);
    width: 23px;
    height: 23px;
    display: inline-block;
    line-height: 2;
    text-align: center;
    font-weight: bold;
}

.editform button.journal-tools-button[class*="icon-"] {
    padding: 4px 5px 4px 25px !important;
}

.editform button.journal-tools-button[class*="icon-"]::before {
    color: var(--blue) !important;
    font-size: 120%;
    margin-right: 3px;
}

.narrow .journal-item-header, .narrow .journal-item-body {
    margin-left: 44px;
}
.journal-item-header, .journal-item-body {
    border: 1px solid var(--gray);
    background: var(--gray-light);
    line-height: 30px;
    margin-left: 60px;
    position: relative;
    margin-right: 10px;
    padding-right: 5px;
}

.markup-area.journal-item-body {
    margin-right: 0px;
    border-top: none;
}

.journal-item-header-name {
    margin: 0 0 0 10px;
    font-weight: bold;
    font-size: 110%;
}

.journal-item-header-date {}

.journal-item-body {
    border-top: 0;
    background: var(--white);
    line-height: 150%;
    margin-top: 0px;
    padding: 10px;
    margin-bottom: 0px !important;
}

.journal-item-body p {
    line-height: normal;
}

.journal-item-body textarea {
    margin: 5px 2px 0px 4px;
    border: 0;
}

.narrow .journal-item-event {
    margin-left: 12px;
}
.journal-item-event {
    margin-left: 93px;
}

.journal-item-event-icon {
    display: inline-block;
    border-radius: 20px;
    height: 20px;
    width: 20px;
    line-height: 2;
    text-align: center;
}

.journal-item-event-icon[class*=" icon-"]:before {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.journal-item-event-text {
    margin-left: 10px;
}

.narrow .journal-item-event-text > span {
    max-width: calc(100% - 0px);
}

.journal-item-event-text > span {
    font-weight: bold;
    display: inline-flex;
    max-width: calc(100% - 320px);
}

.journal-item-event-img {
    margin-left: 60px;
}

.journal-item-event-img img, .journal-item-event-img canvas {
    max-height: 80px;
    max-width: 200px;
    border: 1px solid var(--gray);
    padding: 5px;
}

.journal-item-event-img canvas {
    overflow: hidden;
}

.journal-item-event-img .file-icon {
    margin-left: 30px;
    margin-top: 7px;
}

.journal-item-header-tools {
    float: right;
}

.journal-item-header-extra {
    /* right: 320px; */
    /* position: absolute; */
    float: right;
    color: var(--gray-dark);
    line-height: 35px;
}

button.journal-tools-button {
    background: transparent !important;
    margin: 0 !important;
    color: var(--gray-dark) !important;
}

.journal-item-header:after, .journal-item-header:before {
    right: 100%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
}

.journal-item-header:after {
    border-color: transparent;
    border-right-color: var(--gray-light);
    border-width: 8px;
    top: 15px;
    margin-top: -8px;
}

.journal-item-header:before {
    border-color: transparent;
    border-right-color: var(--gray-dark);
    border-width: 8px;
    top: 15px;
    margin-top: -8px;
}

.journal-item-body div.formating {
    border: 0;
    margin-top: 0;
}

.ghost-journal-wrapper {
    position: absolute;
    right: 7px;
    bottom: 7px;
    width: 800px;
    box-shadow: 0 5px 25px var(--gray-dark);
    z-index: 200;
}

.ghost-journal {
    background-color: var(--white);
    padding: 5px;
    max-height: 200px;
    overflow-y: scroll;
}

.ghost-journal-header {
    height: 20px;
    background-color: var(--blue);
    color: var(--white);
    padding: 4px 0 2px 8px;
    font-weight: bold;
}

.ghost-journal-close, .ghost-journal-toggle {
    float: right;
    font-size: 130%;
    margin-right: -4px;
    cursor: pointer;
}

.journal-item-wrapper.sticky .journal-item-body {
    background: var(--gray-light);
}

/* journal markdown */

.md-normal {
    text-decoration: none;
    font-weight: normal;
    font-style: normal;
    background: transparent;
    padding: 0;
}

.md-bold {
    font-weight: bold;
    margin: 0 1px;
}

.md-italic {
    font-style: italic;
    margin: 0 1px;
}

.md-yellow {
    padding: 2px 3px;
    background: var(--yellow-alpha2);
}

.md-attention {
    padding: 2px 3px;
    background: var(--blue-alpha2);
    font-weight: bold;
}

.md-center {
    text-align: center;
    display: block;
}

.md-h1 {
    font-size: 135%;
    font-weight: bold;
    margin: 15px 0 5px 0;
    display: block;
}

.md-code {
    display: inline-block;
    font-family: monospace;
    font-size: 125%;
    padding: 5px 3px;
    background: var(--gray-light);
    margin: 10px;
    white-space: pre;
    line-height: 80%;
}

.md-underline {
    text-decoration: underline;
}

.md-strike {
    text-decoration: line-through;
}

.md-image img {
    border: 1px solid var(--gray-dark);
    box-shadow: var(--gray-dark) 0 0 5px;
}

.md-link {
    border-bottom: 1px solid var(--blue-light);
    cursor: pointer;
}

/* Mosaic */

.mosaic-icon {
    font-size: 5rem;
    color: var(--gray-dark);
}

.mosaic-img {
    height: 200px;
    position: relative;
    text-align: center;
    line-height: 200px;
}

.mosaic-img video {
    width: 100%;
    height: 100%;
}

.mosaic-img img, .mosaic-img canvas {
    max-height: 100%;
    max-width: 100%;
    width: auto;
    height: auto;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    background-color: var(--white);
    /* background: url('/admin/imgs/loading.gif') no-repeat; */
    /* background-size: 30px 30px !important; */
    /* background-position: center !important; */
}

.mosaic-img>div.file-icon {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
}

.mosaic-item {
    width: calc((100% - 118px) / 5);
    height: 220px;
    display: inline-block;
    position: relative;
    margin: 5px;
    border: 1px solid var(--gray);
    background: var(--gray-light);
    padding: 5px;
}

.mosaic-folder .mosaic-icon {
    font-size: 1rem;
    color: var(--blue);
    ;
}

.mosaic-folder {
    width: calc((100% - 20px));
    font-size: 12px;
    text-align: center;
    padding: 7px 0;
    border: 1px solid var(--gray);
    background: var(--gray-light);
    margin: 5px 5px 0 5px;
}

.mosaic-img .ifr, .mosaic-img .ifr iframe {
    height: inherit;
}
/* Slider */

.slider-container {
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    height: 260px;
    width: fit-content;
}

.slider {
    min-width: max-content;
    width: 100%;
}

.slider-container .docdownload {
    float: left;
    display: inline-block;
    border: 1px solid var(--gray);
    margin-right: 7px;
}
.slider-container .docdownload img{
    max-height: 230px;
    width: auto;
}

/* Large devices (laptops/desktops, 992px and up) */

@media only screen and (min-width: 992px) {
    .mosaic-item.large {
        width: calc(100% - 118px);
        height: 80vh;
    }
    .mosaic-folder.large {
        width: calc(100% - 86px);
    }
}

/* Extra large devices (large laptops and desktops, 1280px and up) */

@media only screen and (min-width: 1281px) {
    .mosaic-item.large {
        width: calc((100% - 118px) / 2);
        height: 80vh;
    }
    .mosaic-folder.large {
        width: calc(100% - 86px);
    }
}

.mosaic-img.large {
    height: calc(100% - 20px);
}

.mosaic-name {
    font-size: 80%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    text-align: center;
    margin-top: 6px;
}

/* Special mouse click effect */

#support_cursor {
    position: absolute;
    border: 1px solid var(--red);
    border-radius: 50%;
    padding: 4px 0px 2px 3px;
    color: var(--red);
    z-index: 10000;
}

div.clickEffect {
    position: fixed;
    box-sizing: border-box;
    border-style: solid;
    border-color: var(--blue-dark);
    border-radius: 50%;
    animation: clickEffect 0.6s ease-out;
    z-index: 99999;
}

@keyframes clickEffect {
    0% {
        opacity: 1;
        width: 0.5em;
        height: 0.5em;
        margin: -0.25em;
        border-width: 0.7em;
    }
    100% {
        opacity: 0.2;
        width: 10em;
        height: 10em;
        margin: -5em;
        border-width: 0.1em;
    }
}

/* GOOGLE MAP */

#map_canvas {
    margin: 5px 10px 15px 0;
    border: 1px solid var(--gray-dark);
    border-radius: 0;
    box-shadow: none;
}

/* DASHBOARD */

.dashb_wrapper_float {
    display: block !important;
    position: absolute;
    top: 77px;
    pointer-events: none;
}

.dashb_h1_float {
    display: none !important;
}

.dashb_float {
    background: transparent;
}


#dashb li, #widget-container li {
    list-style: none;
    border: 1px solid var(--gray);
    overflow: hidden;
    border-radius: 5px;
    pointer-events: auto;
}

#dashb li>div, #widget-container li>div {
    padding: 5px;
}

#dashb>div>ul>li>div, #widget-container>ul>li>div  {
    height: calc(100% - 42px);
}

#dashb li.dashb_list_action:hover, #widget-container li.dashb_list_action:hover {
    cursor: pointer;
}

#dashb i.dashb_sort, #widget-container i.dashb_sort {
    cursor: pointer;
}

#dashb input#dashb_search, #widget-container input#widget-container_search {
    margin: 3px 7px;
    width: calc(100% - 12px);
    display: none;
    padding: 3px;
    background: var(--white);
    border: 1px solid var(--gray-light);
}

.gridster>*, #widget-container>* {
    margin: 0;
}

.gridster header, #widget-container header {
    /* color: rgba(35, 57, 89, 0.8); */
    padding: 4px 0;
    font-size: 12px;
    text-transform: uppercase;
    font-weight: bold;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.gridster header span, #widget-container header span {
    float: right;
}

.gridster header span:hover, #widget-container header span:hover {
    cursor: pointer;
}

.gridster header:hover, #widget-container header:hover {
    cursor: move;
}

#dashb_to_functions, #dashb_add {
    margin-right: 8px;
    font-size: 120%;
}

#dashb_update {
    float: right;
    margin-right: 10px;
}

#dashb_to_functions:hover, #dashb_add:hover, #dashb_update:hover {
    cursor: pointer;
}

.dashb_drop_area {
    border: 5px;
    border-style: dashed;
    margin: 0 10px;
    border-radius: 35px;
    height: calc(100% - 60px) !important;
}

.dashb_drop_area_active {
    border-style: solid;
}

.dashb_drop_area_txt {
    margin: 20%;
    width: 60%;
    position: absolute;
    top: 0;
    text-align: center;
    font-size: 120%;
}

.dashb_image {
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    height: 100%;
    width: 100%;
}

#dashb li img.profile-pict, #widget-container li img.profile-pict {
    height: 35px;
    margin: -5px 8px -5px -5px;
    border-radius: 50px;
}

#dashb li .overflow-hide, #widget-container li .overflow-hide {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

/* deafult right icon */

#dashb span.icon, #widget-container span.icon {
    position: absolute;
    font-size: 65px;
    right: -20px;
    opacity: 0.2;
    top: 24px;
}

/* normal widget */

#dashb div.normal, #widget-container div.normal {
    font-size: 16px;
    vertical-align: top;
    height: 65px;
}

#dashb div.widget-date, #widget-container div.widget-date {
    font-size: 2.5vw;
    text-align: center;
    color: var(--green);
    line-height: 2.5vw;
}

/* number widget */

#dashb div.number>div, #widget-container div.number>div {
    display: inline-block;
    font-size: 70px;
    vertical-align: top;
    line-height: 65px;
    margin-right: 10px;
}

#dashb div.number>div+div, #widget-container div.number>div+div {
    display: inline-block;
    font-size: 16px;
    line-height: 16px;
    overflow: hidden;
    max-height: 65px;
    position: absolute;
}

#dashb div.headline, #widget-container div.headline {
    font-size: 130%;
    margin: 5px 0 0px;
    border-bottom: 1px solid var(--gray);
}

#dashb #list_with_headline li, #widget-container #list_with_headline li {
    background-color: var(--white);
    margin-bottom: 8px;
}

#dashb #list_with_headline li img, #widget-container #list_with_headline li img {
    height: 24px;
    /* for user images */
    margin-right: 5px;
    /* float: left; */
    margin-bottom: 4px;
    border-radius: 50%;
}

/* specielt for dashb timereg liste */

#dashb #list_with_headline .timereg_list, #widget-container #list_with_headline .timereg_list {
    display: block;
    background: var(--blue-light-alpha2);
    border: 1px solid var(--blue-light);
    border-radius: 4px;
    padding: 3px;
    margin-bottom: 4px;
}

#dashb #list_with_headline .timereg_list img, #widget-container #list_with_headline .timereg_list img {
    margin: 0;
    border: 0 !important;
}

#dashb #list_with_headline .timereg_list .icon-clock, #widget-container #list_with_headline .timereg_list .icon-clock {
	opacity: 0.4;
	font-size: 170%;
	position: relative;
	right: -8px;
	float: right;
	display: inline-block;
	padding-top: 2px;
}

#timereg.icon-clock::before {
	animation: alternate-color 4s infinite;
}
@keyframes alternate-color {
	0%, 100% {
		color: var(--blue);
	}
	50% {
		color: var(--gray-dark);
	}
}

#dashb .scroll-y, #widget-container .scroll-y {
    /* list and list_with_headline need to have scrollbar (if needed) */
    overflow-y: auto;
}

#dashb li.red, #widget-container li.red {
    background: var(--red);
    color: var(--white);
}

#dashb li.green, #widget-container li.green {
    background: var(--green);
    color: var(--white);
}

#dashb li.yellow, #widget-container li.yellow {
    background: var(--yellow);
}

#dashb li.gray, #widget-container li.gray {
    background: var(--gray-light);
}

#dashb li.gray_dark, #widget-container li.gray_dark {
    background: var(--gray-dark);
    color: var(--white);
}

#dashb li.blue, #widget-container li.blue {
    background: var(--blue);
    color: var(--white);
}

#dashb li.violet, #widget-container li.violet {
    background: var(--violet);
    color: var(--white);
}

#dashb li.orange, #widget-container li.orange {
    background: var(--orange);
    color: var(--white);
}

#dashb li.light_blue, #widget-container li.light_blue, #dashb li.lightblue, #widget-container li.lightblue, #dashb li.blue_light, #widget-container li.blue_light {
    background: var(--blue-light);
    color: var(--white);
}

#dashb li.dark_green, #widget-container li.dark_green, #dashb li.darkgreen, #widget-container li.darkgreen, #dashb li.green_dark, #widget-container li.green_dark {
    background: var(--green-dark);
    color: var(--white);
}

#dashb li.dark_blue, #widget-container li.dark_blue, #dashb li.darkblue, #widget-container li.darkblue, #dashb li.blue_dark, #widget-container li.blue_dark {
    background: var(--blue-dark);
    color: var(--white);
}

#dashb li.purple, #widget-container li.purple {
    background: var(--purple);
    color: var(--white);
}

#dashb li.brown, #widget-container li.brown {
    background: var(--brown);
    color: var(--white);
}

#dashb li.lightbrown, #widget-container li.lightbrown {
    background: var(--light-brown);
}

#dashb li.white, #widget-container li.white {
    background: var(--white);
}

#dashb div.headline, #widget-container div.headline {
    border-bottom: 0px solid var(--gray-light);
    margin-bottom: -5px;
    font-weight: bold;
    color: var(--blue);
}

#dashb div.text, #widget-container div.text {
    color: var(--blue-light);
}

#dashb .list, #widget-container .list {
    padding: 5px;
    margin: 0 0 5px 0;
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--blue);
    font-weight: bold;
    font-size: 130%;
    height: initial;
}

#dashb li#webapp>div {
    padding: 0;
    height: 100% !important;
}

#dashb .dashb_webapp {
    height: 100%;
    width: 100%;
}

/* CALENDAR */

a.fc_basis:hover {
    border-color: var(--gray-dark);
}

a.fc_gray {
    background: var(--gray);
    border-color: var(--gray);
}

a.fc_red {
    background: var(--red);
    border-color: var(--red);
    color: var(--white);
}

a.fc_blue {
    background: var(--blue);
    border-color: var(--blue);
    color: var(--white);
}

a.fc_yellow, fc_today {
    background: var(--yellow);
    border-color: var(--yellow);
}

a.fc_green {
    background: var(--green);
    border-color: var(--green);
    color: var(--white);
}

a.fc_violet {
    background: var(--violet);
    border-color: var(--violet);
    color: var(--white);
}

a.fc_orange {
    background: var(--orange);
    border-color: var(--orange);
    color: var(--white);
}

a.fc_lightblue {
    background: var(--blue-light);
    border-color: var(--blue-light);
    color: var(--white);
}

a.fc_darkgreen {
    background: var(--green-dark);
    color: var(--white);
}

a.fc_darkblue {
    background: var(--blue-dark);
    color: var(--white);
}

a.fc_purple {
    background: var(--purple);
    color: var(--white);
}

a.fc_brown {
    background: var(--brown);
    color: var(--white);
}

a.fc_lightbrown {
    background: var(--light-brown);
}

a.fc_white {
    background: var(--white);
    border-color: var(--gray);
}

.fc-widget-header {
    background: var(--gray-light);
}

.fc-time-area .fc-scroller {
	margin: 0 !important;
}

thead.fc-head {
    position: sticky;
    scroll-padding-top: 20px;
    z-index: 99999;
}

.fc-toolbar.fc-header-toolbar {
    position: sticky;
    top: -16px;
    z-index: 500;
    background: white;
}

#schedule-container {
    min-height: 300px;
}

/*   Mermaid Graphs    */

.tlgraph svg {
    font-family: "Museo Sans" !important;
    font-size: 12px !important;
}

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

/*   MODULE:  BPM      */

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

#bpm-pools {
    display: inline-flex;
    margin: auto 0;
    width: 100%;
}

.bpm-pool {
    background: var(--gray-light);
    min-height: 200px;
    border: 1px solid var(--blue);
    float: left;
    margin-right: 15px;
    margin-bottom: 20px;
}

.bpm-pool:last-child {
    margin-right: 0;
}

.bpm-pool-name {
    text-align: center;
    font-weight: bold;
    background-color: var(--blue);
    padding: 4px 0;
    color: var(--white);
}

.bpm-nodes {
    padding: 3px;
}

.bpm-nodes>span {
    padding: 3px;
    background: var(--gray-light);
    font-style: italic;
    border: 1px solid var(--blue);
    display: block;
    margin: 5px;
}

.bpm-newline {
    margin: 30px 0;
    font-weight: bold;
    text-align: center;
}

#bpm-status>span {
    background: var(--gray);
    border: 1px solid var(--blue);
    padding: 5px;
}

#bpm-status>span:nth-child(2) {
    background: var(--gray-light);
}

.bpm-nodes>span.bpm-hidden {
    display: none;
}

.bpm-nodes>span.bpm-active {
    display: block;
    background: var(--green);
}

.bpm-nodes>span.bpm-click {
    display: block;
    background: var(--blue-light);
    color: var(--white);
    cursor: pointer;
}

/* NEW PRINT PREVIEW */

iframe#print_preview {
    display: none;
}


/* DRAGABLE */
th.ui-sortable-placeholder.column-sortable-placeholder {
    width: var(--sortable-placeholder-width, 5%);
    background: var(--gray-light);
    /* border-right: 2px solid var(--gray) */
}

.doc_hoisted_from_sub_order {
	background-color: var(--yellow-alpha2);
}

.folder_hoisted_from_suborder {
	background-color: var(--yellow-alpha2);
}

div#drag-handle {
    text-align: center;
}

table[resizable=true] #filter-tr, li.ui-sortable-handle thead+thead {
    display:none !important;
}


/* ------------------- */
/*   Tiny MCE          */
/* ------------------- */

.tox-tinymce-inline {
    box-shadow: 0 0px 15px -5px rgba(0, 0, 0, 0.5) !important;
    z-index: 8999;
}

.tox.tox-tinymce.tox-tinymce-inline.tox-tinymce--toolbar-sticky-off {
    width: fit-content !important;
    z-index: 8999;
}

.tox-tinymce-aux, .tox .tox-menu.tox-collection.tox-collection--list {
        z-index: 9999 !important;
}

div.mce-content-body {
    line-height: normal !important;
}


/* Fra style-tracelink.select2-selection--multiple */


#edit_tabs ul {
    background-color: var(--gray);
}

#edit_header.icon-pencil::before, #list_header.icon-menu::before {
    content: '';
    width: 6px;
}

.editform table td:last-child button:last-child {
    margin-right: 10px;
}

#list li {
    border-bottom: 1px solid var(--gray-dark-alpha2);
    border-top: 0;
}

#list li > span {
    padding-left: 8px;
}

#list li.function {
    background: var(--gray-light);
    /* border-left: 1px solid var(--gray); */
    margin-left: 0;
    padding-left: 14px;
    border-bottom: none;
}

#list .highlight {
    background: var(--gray-dark-alpha2) !important;
}

#list .new-since-last {
    background-color: var(--blue-light-alpha2);;
}

#list li > span:not(.highlight):hover {
    background: var(--gray-light);
}

#list li.menu_indent {
    padding-left: 32px;
    line-height: 42px;
}

#list span.right.gray {
    color: var(--gray-dark);
}

#list span.right.red {
    color: var(--red);
}

#list span.right.green {
    color: var(--green);
}

#list span.right.blue {
    color: var(--blue-light);
}

#list span.right.yellow {
    color: var(--yellow);
}

#list span.right.badge.gray {
    background: var(--gray-dark);
}

#list span.right.badge.red {
    background: var(--red);
}

#list span.right.badge.blue {
    background: var(--blue);
}

#list span.right.badge.yellow {
    background: var(--yellow);
}

#list span.right.badge.green {
    background: var(--green);
}

#list span.right.badge.news {
    background: var(--green-dark);
    color: var(--white);
    padding: 2px 8px 0;
}

#list .menu_group {
    border-left: 9px solid var(--gray-dark);
}

#list .menu_group_down {
    border-top: 9px solid var(--gray-dark);
}

.list_filter_apply {
    color: var(--red) !important;
}

#popupedit h2 > input {
    padding-top: 5px !important;
}

input[type=text], input[type=search], input[type=date], input[type=number], input[type=password], input[type=file], select, textarea, .markup-area, .meter, .select2-container--default .select2-selection--single, .select2-container--default .select2-selection--multiple, .sketch_preview, .formating {
    font-family: MuseoSans, open_sans, helvetica, arial, sans-serif;
    border-radius: 0px;
    border: 1px solid var(--gray);
    box-shadow: none;
    background: var(--gray-light);
    height: 30px;
    color: var(--blue);
}

input.error, textarea.error {
    border: solid 1px var(--red) !important;
    background: var(--red-alpha2) !important;
    outline: none !important;
    box-shadow: 0 0 4px var(--red) !important; 
}

.sketch_preview {
    max-height: 300px !important;
    margin: 5px 0;
    max-width: 95%;
    padding: 4px;
    background: var(--white);
}

.select2-container--default .select2-selection--multiple {
    height: initial;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: var(--white);
    margin-left: 0;
    margin-bottom: 0;
    padding: 0 5px !important;
}

input:disabled, textarea:disabled, select, .select2-container--disabled .select2-selection__rendered/* , div[contenteditable=false] */ {
    color: var(--red) !important;
    background-color: var(--gray-light);
}

input:read-only, textarea:read-only, div[contenteditable=false] {
    border-color: var(--gray-light) !important;
}

.select2-selection__rendered {
    line-height: 30px;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: var(--blue-light);
}

.select2-dropdown .select2-select-all {
    display: inline-block;
    padding: 7px 0 3px 3px;
    color: var(--blue-light);
}

.select2-container--default .select2-results__group {
    background: var(--gray-light);
}


.editform table span.input-icon {
    font-size: 14px;
    padding: 5px;
    margin: 13px -32px;
    vertical-align: sub;
    color: var(--gray-dark);
    cursor: pointer;
    z-index: 9;
}

.meter > div {
}

.meter > span, .meter > div {
    /* background-color: var(--green-dark); */
    border-radius: none;
    border-radius: 0;
}

.meter_red {
    background-color: var(--red) !important;
}

/* nedenstående for at undgå at input og select feltet fylder hele bredden af edit vindue */
/* .editform p.brk-next input,
.editform p.brk-next select,
.editform p.brk-next select + .select2-container {
  width: 30% !important;
} */
