
div.addbutton {
    display: inline-block;
    width: 80%;
}

div.addeditbutton {
    display: inline-block;
    width: 83%;
}


div.addbutton + button.ti-plus {
    width: 28px;
    height: 28px;
}

div.addbutton + button.ti-pencil, button.addbutton {
    width: 28px;
    height: 28px;
}

.flex button.ti-plus {
    margin-left: 8px;
    width: 28px;
    height: 28px;
}

.updated-at {
    margin-top: 10px;
    color: #999999;
    font-size: 12px;
    text-align: right;
}


.simple-terake-table td, .simple-terake-table th {
    margin: 5px;
    padding: 4px;
}

.simple-terake-table th {
    border-bottom: 1px solid black;
}

.simple-terake-table tfoot tr {
    border-top: 1px double black;
}

.simple-terake-table tr:nth-child(even) {
    background-color: #efefef;
}

.simple-terake-table tbody.striped:nth-child(even) {
    background-color: #efefef;
}

.simple-terake-table tbody.striped tr {
    background-color: inherit;
}

.simple-terake-table td.negative {
    color: red;
}

.cursor-default {
    cursor: default;
}

.cursor-not-allowed {
    cursor: not-allowed;
}

.yellow-alert {
    color: orange;
    text-shadow: 3px 3px 8px white;
}

.flip-list-move {
    transition: transform 0.5s;
}

.no-move {
    transition: transform 0s;
}

.ghost {
    opacity: 0.5;
    background: #c8ebfb;
}

.list-group {
    min-height: 20px;
}

.list-group-item {
    cursor: move;
}

.list-group-item i {
    cursor: pointer;
    font-weight:bold;
}

.sidebar .nav li.deprecated > a {
    color: #999999 !important;
}

table.vuetable-kolm th:first-child, table.vuetable-kolm td:first-child {
    padding-left: 20px;
    min-width: 50px;
}

table.vuetable-kolm th {
    padding: 4px 4px 0px;
}

table.vuetable-kolm td {
    padding: 4px;
}

@media (min-width: 992px) {
    /* 8" tablet (960px) landscape and mobiles portrait */
    table.vuetable-kolm th {
        padding: 10px 7px 0px;
    }

    table.vuetable-kolm td {
        padding: 10px 7px 4px;
    }
}

table.vuetable-kolm {
    position:relative;
    background-color: #ffffff;
    z-index: 1;
}

table.vuetable-kolm thead th {
    position: sticky; /* relative */
    top: 0px;
    font-weight: bold;
    background-image: linear-gradient( #ffffff, #dddddd );
    border-top: 1px solid #e6e6e6;
    border-bottom: 1px solid #cccccc;
    cursor: pointer;
    font-size: 1.1em;
    padding: 20px 10px 5px 0px;
    white-space: nowrap;
    vertical-align: bottom !important;
    z-index: 3;
}

table.vuetable-kolm tfoot td.simpleTotal {
    border-top: 1px solid black;
}

table.vuetable-kolm tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}

table.vuetable-simple tbody tr:nth-child(even) {
    background-color: #efefef;
}

table.vuetable-kolm.striped tbody tr:nth-child(even) {
    background-color: #efefef;
}

table.vuetable-kolm .worker_calendar {
    white-space: nowrap;
    position: sticky; /* relative */
    left: 0;
    background-image: linear-gradient( #ffffff, #fefefe );
    z-index: 2;
}

table.vuetable-kolm.striped tbody tr:nth-child(even) .worker_calendar {
    background-image: linear-gradient( #efefef, #eeeeee );
}

table.vuetable-kolm tbody tr.green,
table.simple-terake-table tbody tr.green,
table.simple-terake-table tbody.striped.green,
table.vuetable-kolm tbody tr.workdone_finished,
.greengrid, .card.greengrid {
    background-color: #d4ffd4;
    color: #000000;
}

table.vuetable-kolm tbody tr.yellow,
table.simple-terake-table tbody tr.yellow,
table.vuetable-kolm tbody tr.workdone_unfinished,
table.vuetable-kolm tbody tr.workdone_in_progress,
.yellowgrid, .card.yellowgrid {
    background-color: #fff9c9;
    color: #000000;
}

table.vuetable-kolm tbody tr.red,
table.simple-terake-table tbody tr.red,
table.simple-terake-table tbody.striped.red,
table.vuetable-kolm tbody tr.plan_edited,
table.vuetable-kolm tbody tr.plan_rejected,
table.vuetable-kolm tbody tr.plan_postponed,
table.vuetable-kolm tbody tr.plan_blocked,
.pinkgrid, .card.pinkgrid {
    background-color: pink;
    color: #000000;
}

table.vuetable-kolm tbody tr.grayed,
table.simple-terake-table tbody tr.grayed,
table.simple-terake-table tbody.striped.grayed {
    background-color: white;
    color: #cccccc;
}


.redgrid, .card.redgrid {
    background-color: orangered;
    color: #000000;
}

.graygrid, .card.graygrid {
    background-color: lightgray;
    color: #000000;
}


.md-drop-down ul.vs__dropdown-menu {
    max-height: 230px;
}

.sm-drop-down ul.vs__dropdown-menu {
    max-height: 160px;
}

button.btn.flag {
    background-size: 65px 100px;
    background-repeat: no-repeat;
    background-position: center center;
    color: white;
    padding: 7px auto;
    width: 50px;
}

button.btn.btn-icon.flag {
    background-size: 50px 50px;
    background-repeat: no-repeat;
    background-position: center center;
    color: white;
    width: 36px;
}

button.btn.et { background: url(/static/img/flags-svg/ee.svg); }
button.btn.ru { background-image: url(/static/img/flags-svg/ru.svg); }
button.btn.en { background-image: url(/static/img/flags-svg/gb.svg); }
button.btn.lv { background-image: url(/static/img/flags-svg/lv.svg); color: #9e3039 }
button.btn.lt { background-image: url(/static/img/flags-svg/lt.svg); }
button.btn.fi { background-image: url(/static/img/flags-svg/fi.svg); }
button.btn.hu { background-image: url(/static/img/flags-svg/hu.svg); color: #000000 }
button.btn.ro { background-image: url(/static/img/flags-svg/ro.svg); color: #000000 }


.input-group .form-control.filter-field {
    position: static;
    z-index: auto;
    background-color: white;
}

.breadcrumb-leaf, .breadcrumb-branch {
    float: left; line-height: 20px; margin: 20px 5px; padding: 0px;

}

.breadcrumb-leaf {
    font-weight: 600; font-size: 21px; color: rgb(102, 97, 91)
}

/*
.container-fluid {
    margin-right: auto;
    margin-left: auto;
    padding-left: 1px;
    padding-right: 1px;
}
*/

.fc .fc-toolbar-title {
    font-size: 1em !important;
    margin: 0;
}

/*
.fc-datagrid-cell-cushion.fc-scrollgrid-sync-inner span.fc-icon {
     display: none !important;
}
*/

.fc-datagrid-expander.fc-datagrid-expander-placeholder {
    display: none !important;
}

@media (min-width: 992px) {
    .container {
        width: 970px;
    }
    .container-fluid {
        margin-right: auto;
        margin-left: auto;
        padding-left: 0;
        padding-right: 0;
    }

    .fc .fc-toolbar-title {
        font-size: 1.75em;
        margin: 0;
    }

}

.pagination {
    display: inline-block;
    padding-left: 0;
    margin: 10px 0;
}

.pagination .disabled {
    margin-bottom: 0;
}

.auth-top-header {
    margin-top: 10px;
}

div.compensate-row-margins {
    margin: 0px 15px;
    overflow: unset;
    overflow-x: unset;
}

th.weekend-holiday, th.full-holiday, th.half-holiday, th.weekend-holiday-dark, th.full-holiday-dark, th.half-holiday-dark {
    color: red;
}

td.weekend-holiday, td.full-holiday, tfoot th.weekend-holiday, tfoot th.full-holiday {
    background-color: #FFE7E2;
}

td.half-holiday, tfoot th.half-holiday {
    /* background: linear-gradient(rgba(255, 255, 255, 0) 50%, #FFE7E2 50%); */
    background: repeating-linear-gradient(
        -45deg,
        rgba(255, 255, 255, 0),
        rgba(255, 231, 226, 0) 10px,
        rgba(255, 231, 226, 1) 10px,
        rgba(255, 231, 226, 1) 20px
        );
}

td.weekend-holiday-dark, td.full-holiday-dark, tfoot th.weekend-holiday-dark, tfoot th.full-holiday-dark {
    background-color: #ffd8d0;
}

td.half-holiday-dark, tfoot th.half-holiday-dark {
    /* background: linear-gradient(rgba(255, 255, 255, 0) 50%, #FFE7E2 50%); */
    background: repeating-linear-gradient(
        -45deg,
        rgba(255, 255, 255, 0),
        rgba(255, 231, 226, 0) 10px,
        rgba(255, 231, 226, 1) 10px,
        rgba(255, 231, 226, 1) 20px
        );
}

/* Element css override */

div.el-tabs__item:hover { color: rgb(67, 160, 71)  }
div.el-tabs__item.is-active { color: rgb(67, 160, 71)  }
div.el-tabs__active-bar { background-color: rgb(67, 160, 71) }
div.el-date-editor.warning > input.el-input__inner { border-color: red }

.external-entity {
    color: #999999;
}

div.pac-container {
    /* Google autocomplete above the modal */
    z-index: 999999;
}


span.legend {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 1px solid black;
}

li.vs__dropdown-option span.legend {
    vertical-align: middle;
    margin-right: 5px;
}

div.vs__selected-options span.legend {
    vertical-align: middle;
    margin-top: 5px;
    margin-right: 5px;
}

h1 span.legend {
    position:absolute;
    top: 5px;
    right: 5px;
}

h1.roster_popover {
    font-size: 1.4em;
    position: relative;
    margin: 5px 0px
}

.vertical {
    writing-mode: vertical-rl;
    text-orientation: mixed;
}

.pointer {
    cursor: pointer;
}

.btn:active, .pointer:active {
    cursor: wait;
    /* cursor: url("/static/img/animated_gear_small.svg") 16 16, wait; */
}

.terake-loading-icon::before {
    content:'';
    background: url('/static/img/animated_gear_sm.svg');
    height: 30px; /*height of image*/
    width: 30px;  /*width of image*/
    position: absolute;
}

.form-section, .form-sub-section {
    border-radius: 6px;
    margin: 5px 0;
    padding: 10px;
}

.form-section-margins {
    border-radius: 6px;
    margin: 5px 0 30px;
    padding: 30px;
}

.form-section, .form-section-margins {
    border: solid #999999 1px;
}

.form-sub-section {
    border: solid #cccccc 1px;
}

label {
    word-break: break-word;
}

.el-select-dropdown__list {
    max-width: 90vw;
}

.el-select-dropdown__list .el-select-dropdown__item {
    white-space: pre-line;
    text-overflow: unset;
    overflow: unset;
    height: unset;
    line-height: unset;
    margin-bottom: 10px;
}

.el-date-editor.el-input.narrow_date, .el-input.narrow_date { width: 150px; }
.el-date-editor.el-input.extra_narrow, .el-input.extra_narrow { width: 100%; max-width: 120px }

.el-date-editor.el-input.narrow_date .el-input__inner,
.el-date-editor.el-input.extra_narrow .el-input__inner { padding-left: 15px; padding-right: 0px }
.el-date-editor.el-input.narrow_date .el-input__prefix,
.el-date-editor.el-input.extra_narrow .el-input__prefix { display: none }
.el-date-editor.el-input.narrow_date .el-input__suffix,
.el-date-editor.el-input.extra_narrow .el-input__suffix { display: none }

@media (max-width: 767px) {
    .btn-responsive {
        width: 100%;
        white-space: pre-line;
    }

    .form-section-margins {
        padding: 10px;
    }
}

.new-feature-label { color: red}
.el-tabs__item .new-feature-label { color: red}
.el-tabs__item:hover .new-feature-label { color: inherit }

.checkbox input[type="checkbox"]:disabled {
    background-color: #eeeeee !important;
}

table.table-sticky thead {
    position: sticky;
    top: 0;
    padding: 5px;
    background-color: #cecece;
    z-index: 100;
}

.col-workername {
    white-space: nowrap;
}

.col-workername.sticky {
    position: sticky;
    left: 0px;
    background-color: inherit;
    z-index: 99;
    white-space: nowrap;
    border-right: solid 1px #cecece;
}

.ttki-realtime {
    background-color:#cccccc !important;
}

.el-tabs__content {
    overflow: unset !important;
}
