﻿@font-face {
    font-family: 'default';
    font-style: normal;
    font-weight: 400;
    src: url(../font/Cairo-SemiBold.ttf) format('truetype');
}

@font-face {
    font-family: 'default';
    font-style: normal;
    font-weight: 800;
    src: url(../font/Cairo-Bold.ttf) format('truetype');
}

:root {
    --blue: #4ebeec;
}

.window {
    box-shadow: 1px 1px 5px 1px #c4c4c4;
    border: 0;
}

.window-body {
    overflow: auto;
}

i-navbar img {
    height: 26px;
    padding: 0 10px;
    opacity: 0.7;
}

:root {
    --button-flat-background-hover: #4ebeec;
}

body, html {
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #f7f7f7;
}

body, button {
    font-family: 'default';
    font-size: 16px;
}

input {
    font-size: 20px;
}

    input[type='checkbox'] {
        width: 20px;
        height: 20px;
    }

.title-bar {
    display: flex;
    background-color: #66788600;
    color: black;
    height: 60px;
    align-items: center;
    box-shadow: 0px 1px 3px 1px #dedede;
    background: #fff;
    margin: 10px;
}

    .title-bar h1 {
        flex-grow: 1;
        font-size: 24px;
        margin: 9px;
        color: #4ebeec;
    }


.profile {
    display: none;
    text-align: left;
    box-shadow: 0 0 2px 1px #eaeaea;
    margin: 0 10px;
    padding: 2px;
    border-radius: 10px;
    align-items: center;
}

.profile-type {
    padding: 0 10px;
    color: #eabf33;
}

.profile-visible {
    display: flex;
}

.profile > i-link {
    color: 0;
}

button {
    font-family: 'default';
}

.nav-bar {
    display: flex;
    margin: 10px 0;
    height: 66px;
    overflow: hidden;
}

    .nav-bar > i-link, .nav-bar > i-dropdown {
        padding: 14px;
        font-weight: bold;
        font-size: 16px;
        margin: 0 5px;
        border-radius: 50px;
        transition: background-color ease-in 0.2s 0s;
    }

i-router {
    padding: 10px 35px;
    height: calc(100vh - 150px);
    overflow: auto;
}

.footer {
    height: 42px;
    text-align: center;
    background: linear-gradient(0deg, #c3c3c3, #f7f7f7);
    position: absolute;
    width: 100%;
    bottom: 0;
}

.wrap-box {
    display: flex;
    flex-wrap: wrap;
}

i-login {
    margin: 42px auto;
    width: 500px;
}

.login-with {
    margin: 0 auto;
}

i-link, a {
    color: cornflowerblue;
    cursor: pointer;
    padding: 0 3px;
    text-decoration: none;
}

    i-link:hover {
        background: #eaeaea;
        border-radius: 10px;
    }


.preview {
    position: relative;
}

    .preview:hover:after {
        width: 180px;
        height: 150px;
        background-image: var(--preview-url);
        content: ' ';
        background-color: #ffffffbf;
        position: absolute;
        transform: translateY(-50%) translateX(-100%);
        text-align: center;
        color: white;
        font-weight: bold;
        white-space: nowrap;
        padding: 0 3px;
        left: -12px;
        background-size: contain;
        background-position: center;
        background-repeat: no-repeat;
        border: 5px solid #e9e9e9a6;
    }

    .preview:hover:before {
        background-image: url(/img/icon/left.png);
        background-repeat: no-repeat;
        background-position: bottom;
        content: ' ';
        width: 10px;
        height: 28px;
        position: absolute;
        top: calc(50% - 14px);
        left: -10px;
        filter: grayscale(42%);
        background-size: cover;
        filter: contrast(0.2);
    }

.datetimepicker-day {
    border: 1px solid #ddd;
    padding: 6px;
}

.datetimepicker-day-today {
    border-bottom: 3px solid red;
}

.table-form {
    width: 100%;
    border-collapse: collapse;
}

    .table-form > tbody > tr > td:nth-child(1) {
        /*background-color: #4ebeec; */
        /* color: white; */
        font-weight: bold;
        padding: 8px;
        width: 120px;
    }


.table-list {
    width: 100%;
    border-collapse: collapse;
}

    .table-list td, .table-form > tbody > tr > td {
        border: 1px solid #ddd;
        padding: 8px;
    }

    .table-list tr:nth-child(even) {
        background-color: #f2f2f2;
    }

    .table-list tbody > tr:hover {
        background-color: #ddd;
    }

    .table-list thead {
        font-weight: bold;
        padding-top: 12px;
        padding-bottom: 12px;
        background-color: #4ebeec;
        color: white;
    }


.actions {
    padding: 7px 8px;
    background-color: #f1f1f1;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    display: flex;
    gap: 3px;
}



.side-bar {
    height: calc(100% - 132px);
    width: 0;
    position: fixed;
    z-index: 1;
    top: 81px;
    right: 10px;
    background-color: #efefef;
    transition: 0.5s;
    display: flex;
    flex-direction: column;
    box-shadow: inset 6px 0px 4px 2px #dfdfdf;
    overflow: hidden;
}


    .side-bar i-link {
        padding: 4px 8px 4px 4px;
        text-decoration: none;
        font-size: 15px;
        color: #818181;
        display: flex;
        align-items: center;
        height: 27px;
    }

    .side-bar span {
        width: 100%;
    }


.side-bar i-link:hover {
    color: #4ebeec;
    background-color: #f8f8f8;
}

    .side-bar i-link[selected]:hover {
        background-color: #4ebeec;
        color: #fff;
    }

    .side-nav .closebtn {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
    margin-left: 50px;
}

.app {
    transition: margin-right .5s;
    display: flex;
    flex-direction: column;
}

.buttons-list {
    display: flex;
    flex-wrap: wrap;
}

    .buttons-list > i-link {
        border-radius: 18%;
        padding: 30px;
        font-size: 30px;
        margin: 10px;
        width: 150px;
    }

.location {
    /*flex-grow: 1;*/
    text-align: left;
    padding: 19px 8px;
    display: flex;
    flex-direction: row-reverse;
}

    .location > span {
        background-color: #5de198;
        padding: 0px 10px;
        border-radius: 10px;
        margin: 0px 2px;
        font-size: 14px;
        white-space: nowrap;
    }


        .location > span:nth-child(1) {
            /*background-color: #eabf33;*/
            background-color: #f2d473;
        }

.float {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: #00000066;
    opacity: 0;
    transition: all ease .2s;
    visibility: hidden;
    z-index: 10;
    transition: all ease .2s;
}

.float-visible {
    opacity: 1;
    transition: all ease .2s;
    visibility: visible;
}

.float > i-target {
    position: fixed;
    left: 50%;
    max-width: 80vw;
    top: 50%;
    background-color: white;
    padding: 30px;
    box-shadow: 2px 2px 7px 1px #727272;
    border-radius: 10px;
    transform: translateY(-50%) translateX(-50%);
    max-height: calc(100vh - 100px);
    overflow-y: auto;
    min-width: 60vw;
}


.float .route {
    position: unset;
}

    .float .route:not([selected]) {
        display: none !important;
    }

/* ---------------------------------------------------------------- */
/* Dashboard (views/home.html)                                       */
/* ---------------------------------------------------------------- */

.home {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    align-content: start;
    gap: 14px;
    --window-caption-color: white;
    --window-active-background: linear-gradient(126deg, #9D271A 20px, #ffffff 27px);
    --window-header-background: #4ebeec;
    padding-bottom: 14px;
    /* columns follow the room this page really has (the side bar takes a part of it) */
    container-type: inline-size;
}

    .home > .summery,
    .home > .mail {
        grid-column: 1 / -1;
    }

    .home > .fin {
        grid-column: span 6;
    }

    .home > .last,
    .home > .delayed {
        grid-column: span 3;
    }

    .home .window-body {
        background: #f3f3f3;
    }

@container (max-width: 1250px) {
    .home > .fin {
        grid-column: 1 / -1;
    }

    .home > .last,
    .home > .delayed {
        grid-column: span 6;
    }
}

@container (max-width: 750px) {
    .home > .last,
    .home > .delayed {
        grid-column: 1 / -1;
    }
}

.small {
    font-size: 12px;
}

/* statistic tiles */

.home .stats {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(175px, 1fr));
    gap: 10px;
    padding: 10px;
}

    .home .stats.compact {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

/* the summary has 9 tiles and the mail section 8, so pick column counts that leave no lonely tile */
@container (min-width: 1500px) {
    .home .summery .stats {
        grid-template-columns: repeat(9, minmax(0, 1fr));
    }

    .home .mail .stats {
        grid-template-columns: repeat(8, minmax(0, 1fr));
    }
}

@container (min-width: 900px) and (max-width: 1499px) {
    .home .summery .stats {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }

    .home .mail .stats {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@container (min-width: 600px) and (max-width: 899px) {
    .home .summery .stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .home .mail .stats {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@container (max-width: 599px) {
    .home .stats,
    .home .stats.compact {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.home .stat {
    --accent: #8a8a8a;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
    padding: 10px 12px;
    background: #fff;
    border: 1px solid #e3e3e3;
    border-top: 3px solid var(--accent);
    border-radius: 6px;
    color: #444;
}

.home i-link.stat:hover {
    background: #fcfcfc;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .18);
}

.home .stat.c-blue {
    --accent: #4ebeec;
}

.home .stat.c-green {
    --accent: #5de198;
}

.home .stat.c-red {
    --accent: #e05450;
}

.home .stat.c-yellow {
    --accent: #eabf33;
}

.home .stat.c-gray {
    --accent: #b5b5b5;
}

.home .stat-icon {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 30px;
    opacity: .6;
}

.home .stat-label {
    font-size: 13px;
    color: #777;
    padding-right: 2px;
    padding-left: 38px;
}

.home .stat-value {
    font-size: 26px;
    font-weight: 800;
    line-height: 1.25;
    color: #333;
}

    .home .stat-value.small {
        font-size: 20px;
    }

.home .stat-sub {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 4px;
}

.home .stat-bar {
    height: 5px;
    margin: 2px 0;
    background: #ececec;
    border-radius: 3px;
    overflow: hidden;
}

    .home .stat-bar > div {
        height: 100%;
        background: var(--accent);
        border-radius: 3px;
        transition: width .4s ease;
    }

.home .chip,
.inbox-stats .chip {
    display: inline-block;
    padding: 1px 8px;
    font-size: 11px;
    line-height: 18px;
    white-space: nowrap;
    color: #666;
    background: #efefef;
    border-radius: 10px;
}

    .home .chip.ok,
    .inbox-stats .chip.ok {
        color: #1d8a52;
        background: #dff7ea;
    }

    .home .chip.bad,
    .inbox-stats .chip.bad {
        color: #b53a36;
        background: #fde3e2;
    }

/* panels inside a window */

.home .panels {
    display: grid;
    grid-template-columns: 5fr 3fr 4fr;
    gap: 10px;
    padding: 0 10px 10px 10px;
}

@container (max-width: 999px) {
    .home .panels {
        grid-template-columns: 1fr;
    }
}

.home .panel {
    min-width: 0;
    padding: 8px 12px 10px 12px;
    background: #fff;
    border: 1px solid #e3e3e3;
    border-radius: 6px;
}

    .home .panel.flat {
        margin: 0 10px 10px 10px;
    }

    .home .panel h4 {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin: 0 0 8px 0;
        font-size: 14px;
        color: #555;
    }

.home .chart-box {
    position: relative;
    height: 200px;
}

/* pending mail by kind */

.home .bar-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 8px;
    padding: 4px 0;
}

.home .bar-name {
    font-size: 13px;
    color: #555;
}

.home .bar-count {
    font-size: 13px;
    color: #333;
}

.home .bar {
    grid-column: 1 / -1;
    height: 6px;
    background: #ececec;
    border-radius: 3px;
    overflow: hidden;
}

    .home .bar > div {
        height: 100%;
        background: #4ebeec;
        border-radius: 3px;
        transition: width .4s ease;
    }

/* newest mail */

.home .messages {
    display: block;
}

.home .message {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    column-gap: 8px;
    align-items: center;
    padding: 5px 4px;
    border-bottom: 1px solid #f0f0f0;
    color: #444;
}

    .home .message:last-child {
        border-bottom: 0;
    }

    .home .message:hover {
        border-radius: 4px;
    }

.home .dot {
    grid-row: 1 / 3;
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.home .message-type {
    font-size: 13px;
    font-weight: bold;
}

.home .message-from {
    grid-column: 2;
    font-size: 12px;
    color: #888;
}

.home .message-time {
    grid-row: 1 / 3;
    grid-column: 3;
    font-size: 12px;
    color: #888;
    white-space: nowrap;
}

/* request lists */

.home .items {
    display: block;
    padding: 6px 10px;
}

.home .item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 6px 8px;
    margin-bottom: 6px;
    background: #fff;
    border: 1px solid #e3e3e3;
    border-radius: 6px;
}

.home .item-main {
    display: flex;
    flex-direction: column;
    min-width: 0;
    font-size: 14px;
}

.home .item-meta {
    font-size: 12px;
    color: #888;
    white-space: nowrap;
}

.home .empty {
    padding: 14px 0;
    text-align: center;
    color: #71ad48;
    font-size: 15px;
}

/* the same chips on top of the inbox page */

.inbox-stats {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin: 20px 20px 0 20px;
    font-size: 14px;
    color: #555;
}

    .inbox-stats .chip {
        font-size: 13px;
        line-height: 24px;
        padding: 0 12px;
        cursor: pointer;
    }

    .inbox-stats .group {
        margin-right: 10px;
        font-weight: bold;
    }

    .inbox-stats .group:first-child {
        margin-right: 0;
    }

#divMap {
    position: relative;
}

.map-info {
    position: absolute;
    top: 5px;
    background-color: #ffffffd4;
    z-index: 10;
    left: 5px;
    /* border-radius: 14px; */
    /* border: 1px solid #cccccc; */
    overflow: auto;
    max-height: 95%;
    border-radius: 5px;
}

.ol-imgcontainer {
    padding: 0;
}

.ol-layerswitcher-image li img {
    position: relative;
    max-width: 100%;
}

i-select[disabled="true"] {
    display: none;
}


.next {
    padding-left: 30px;
    background-repeat: no-repeat;
    background-size: contain;
    background-image: url('/img/icon/next.png');
}

    .next:hover {
        background-repeat: no-repeat;
        background-size: contain;
        background-image: url('/img/icon/next.png');
    }

.previous {
    padding-right: 30px;
    background-repeat: no-repeat;
    background-position: right;
    background-size: contain;
    background-image: url('/img/icon/previous.png');
}



    .previous:hover {
        background-position: right;
        background-repeat: no-repeat;
        background-size: contain;
        background-image: url('/img/icon/previous.png');
    }

.add {
    padding-right: 30px;
    background-repeat: no-repeat;
    background-position: right;
    background-size: contain;
    background-image: url('/img/icon/add-button.png');
}

    .add:hover {
        background-position: right;
        background-repeat: no-repeat;
        background-size: contain;
        background-image: url('/img/icon/add-button.png');
    }




.selected {
    background-color: yellowgreen;
}

.table-list tr.selected {
    background-color: #aae6ff;
}

fieldset {
    border: 0px solid #dadada;
    margin: 10px 0;
    box-shadow: 0px 0px 6px 1px #b5b5b5;
}

legend {
    background-color: #eabf33;
    padding: 2px 10px;
}

.single-line {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

h1, h2, h3, h4 {
    margin: 0;
}

.signatures > div, .signatures > span {
    height: 100px;
    align-items: flex-end;
    justify-content: center;
}

.column {
    display: flex;
    flex-direction: column;
}

.even > div, .even > span {
    flex: 1;
}



.column > div:last-child {
    border-bottom: 0;
    flex: 1;
}

.border {
    border: 1px solid #ddd;
}

.no-border > * {
    border: 0 !important;
}

.center {
    align-items: center;
    justify-content: center;
}

.row > div:last-child {
    border-left: 0;
}

.window-header {
    background: var(--window-header-background);
}

i-window:focus-within > .window-header {
    background: linear-gradient(20deg, #ffffff 0%, var(--window-header-background) 50%) !important;
}


.last {
    --window-header-background: #5de198;
}

.mail {
    --window-header-background: #eabf33;
}

.delayed {
    --window-header-background: #e05450;
    overflow: auto;
}

.fin {
    --window-header-background: #b5b5b5;
}


.tr {
    display: flex;
    flex-direction: row;
}

.row, .row-slim {
    border: 1px solid #ddd;
    display: flex;
}

.order-id-slim {
    position: absolute;
    left: 38px;
    height: 31px;
    display: flex;
    flex-flow: row-reverse;
}

.order-id {
    display: flex;
    flex-flow: row-reverse;
    margin-bottom: 5px;
}

    .order-id thead {
        background-color: #5de198;
    }


.reverse {
    display: flex;
    flex-flow: row-reverse;
}

.row-slim > div, .row-slim > div {
    border-left: 1px solid #ddd;
    display: flex;
    align-items: center;
}

.row > div, .row > span {
    border-left: 1px solid #ddd;
    padding: 5px;
    display: flex;
    align-items: center;
}

.column > div, .column > span {
    border-bottom: 1px solid #ddd;
    padding: 5px;
    display: flex;
}


.row > .column, .column > .row {
    padding: 0;
}



.row > span, .column > span {
    font-weight: bold;
}


.status {
    width: 36px;
    padding: 7px;
    border-radius: 100%;
}


.sidebar-visible {
    width: 240px;
}

.app-shrunk {
    margin-right: 250px;
}

i-navbar .textbox {
    /*display: none;*/
}

.textarea {
    margin: 12px 0;
    height: 84px;
    width: 100%;
    padding: 9px;
    text-align: justify;
    resize: none;
}

li {
    border: 1px #dfdfdf solid;
    padding: 0 3px;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

@media print {

    .footer {
        display: none;
    }

    .side-bar {
        display: none;
    }

    .title-bar {
        display: none;
    }

    .actions {
        display: none;
    }

    .nav-bar {
        display: none;
    }

    .no-print {
        display: none;
    }

    .app {
        margin-right: 0;
    }

    html, body {
        width: auto;
        height: auto;
        background: white;
        overflow: visible;
    }

    i-router {
        height: auto;
        overflow: visible;
    }
}

.closed > td:first-child {
    position: relative;
}

    .closed > td:first-child:before {
        background: black;
        color: white;
        content: 'مغلق';
        position: absolute;
        top: -18px;
        transform: rotate(45deg) translate(42px, 0px);
        width: 90px;
        text-align: center;
        border-top-left-radius: 33px;
        border-top-right-radius: 33px;
    }

.progress {
    background-color: #d6d6d6;
    width: 100%;
    padding: 0 !important;
    height: 100%;
    box-shadow: inset 0 0 7px 4px rgba(255,255,255,.5);
}

    .progress > div {
        max-width: 100%;
        height: 100%;
        text-align: center;
    }

.green {
    background-color: #5de198 !important;
    color: black !important;
}

.green-bar {
    background: linear-gradient(72deg, #8fffc1, #009442);
    color: white;
}

.red-bar {
    background: linear-gradient(72deg, #ff9e8f, #9d2723);
    color: white;
}


.loading {
    margin: 15vh auto;
    display: flex;
    font-weight: bold;
    /*color: #303030;*/
    align-items: center;
    flex-direction: column;
}

.preview {
    position: relative;
}

    .preview:hover:after {
        width: 180px;
        height: 150px;
        background-image: var(--preview-url);
        content: ' ';
        background-color: #ffffffbf;
        position: absolute;
        transform: translateY(-50%) translateX(-100%);
        text-align: center;
        color: white;
        font-weight: bold;
        white-space: nowrap;
        padding: 0 3px;
        left: -12px;
        background-size: contain;
        background-position: center;
        background-repeat: no-repeat;
        border: 5px solid #e9e9e9a6;
    }

    .preview:hover:before {
        background-image: url(/img/icon/left.png);
        background-repeat: no-repeat;
        background-position: bottom;
        content: ' ';
        width: 10px;
        height: 28px;
        position: absolute;
        top: calc(50% - 14px);
        left: -10px;
        filter: grayscale(42%);
        background-size: cover;
        filter: contrast(0.2);
    }


.bubbles {
    display: flex;
    flex-wrap: wrap;
}

    .bubbles li[repeat] {
        border-radius: 15px;
        background-color: #3fb4e5;
        color: white;
        display: flex;
        padding: 0 7px;
        margin: 0 1px;
        align-items: center;
        padding: 5px 10px;
        margin: 0 0.1em 0.1em 0;
        border: var(--button-border);
        border-radius: 16px;
        box-sizing: border-box;
        text-decoration: none;
        font-weight: 300;
        color: var(--button-color);
        text-shadow: 0 0.04em 0.04em rgba(0,0,0,0.35);
        text-align: center;
        transition: all 0.2s;
        background: var(--button-background);
        cursor: pointer;
    }

    .bubbles li:not([repeat]) {
        border: 0;
    }

    .bubbles li[repeat]:hover {
        background: #d0d0d0;
        color: black;
    }

    .bubbles > li > span {
        margin: 0 2px;
    }

    .bubbles > li > div {
        background-image: var(--remove);
        background-size: contain;
        cursor: pointer;
        width: 19px;
        height: 19px;
    }

        .bubbles > li > div:hover {
            background-image: var(--remove-active);
        }

.borderless * {
    border: 0 !important;
}

    .borderless *:focus, select-autocomplete-arrow {
        border: 0 !important;
        box-shadow: none !important;
    }

.seasons {
    display: flex;
    flex-direction: column;
}

.season > div:first-child > div:first-child {
    padding: 0 10px;
    background: #eabf33;
    font-weight: bold;
    color: darkred;
}

.season > div:first-child {
    display: flex;
    background-color: #e5e5e5;
    padding: 5px;
}

.season > div:nth-child(2) {
    padding: 10px;
}

.season > div:first-child > div:nth-child(2) {
    padding: 0 10px;
    flex: 1;
}

.paragraph-eng {
    direction: ltr;
}

p {
    text-align: justify;
}

td {
}

.paragraph-ara {
    direction: rtl;
}

.row label {
    display: flex;
    align-items: center;
}


.row-wrap {
    display: flex;
    flex-wrap: wrap;
}

    .row-wrap > .row {
        flex-grow: 1;
    }

        .row-wrap > .row > div {
            flex-grow: 1;
            align-items: center;
        }

            .row-wrap > .row > div > * {
                flex: 1;
            }

.series-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    grid-column-gap: 14px;
    grid-row-gap: 8px;
    --window-caption-color: white;
    --window-active-background: linear-gradient(126deg, #9D271A 20px, #ffffff 27px);
    --window-header-background: #4ebeec;
    height: calc(100% - 10px);
}

.logo {
    height: 35px;
    margin: 0 6px;
    border-radius: 100%;
    box-shadow: 0 0 7px 3px #c7c7c7;
    padding: 2px;
}

.delta {
    position: relative;
    height: 56px;
    width: 56px;
}

    .delta > div {
        clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
        background-color: #909090;
        width: 30%;
        height: 46%;
        position: absolute;
        top: 50%;
        left: 35%;
        transform-origin: top center;
        animation-fill-mode: forwards;
    }


@keyframes delta-1 {
    0% {
        opacity: 0;
        transform: rotate(-360deg) scale(0.01);
    }

    20% {
        opacity: 100;
        transform: rotate(0) scale(1);
    }

    60% {
        opacity: 100;
        transform: rotate(0) scale(1);
    }

    80% {
        opacity: 0;
        transform: rotate(720deg) scale(0.01);
    }

    100% {
        transform: rotate(720deg) scale(0.01);
    }
}

@keyframes delta-2 {
    0% {
        opacity: 0;
        transform: rotate(-340deg) scale(0.01);
    }

    20% {
        opacity: 100;
        transform: rotate(40deg) scale(1);
    }

    60% {
        opacity: 100;
        transform: rotate(40deg) scale(1);
    }

    80% {
        opacity: 0;
        transform: rotate(720deg) scale(0.01);
    }

    100% {
        transform: rotate(720deg) scale(0.01);
    }
}

@keyframes delta-3 {
    0% {
        opacity: 0;
        transform: rotate(-280deg) scale(0.01);
    }

    20% {
        opacity: 100;
        transform: rotate(80deg) scale(1);
    }

    60% {
        opacity: 100;
        transform: rotate(80deg) scale(1);
    }

    80% {
        opacity: 0;
        transform: rotate(720deg) scale(0.01);
    }

    100% {
        transform: rotate(720deg) scale(0.01);
    }
}

@keyframes delta-4 {
    0% {
        opacity: 0;
        transform: rotate(0deg) scale(0.01);
    }

    20% {
        opacity: 100;
        transform: rotate(120deg) scale(1);
    }

    60% {
        opacity: 100;
        transform: rotate(120deg) scale(1);
    }

    80% {
        opacity: 0;
        transform: rotate(720deg) scale(0.01);
    }

    100% {
        transform: rotate(720deg) scale(0.01);
    }
}

@keyframes delta-5 {
    0% {
        opacity: 0;
        transform: rotate(0deg) scale(0.01);
    }

    20% {
        opacity: 100;
        transform: rotate(200deg) scale(1);
    }

    60% {
        opacity: 100;
        transform: rotate(200deg) scale(1);
    }

    80% {
        opacity: 0;
        transform: rotate(720deg) scale(0.01);
    }

    100% {
        transform: rotate(720deg) scale(0.01);
    }
}

@keyframes delta-6 {
    0% {
        opacity: 0;
        transform: rotate(0deg) scale(0.01);
    }

    20% {
        opacity: 100;
        transform: rotate(240deg) scale(1);
    }

    60% {
        opacity: 100;
        transform: rotate(240deg) scale(1);
    }

    80% {
        opacity: 0;
        transform: rotate(720deg) scale(0.01);
    }

    100% {
        transform: rotate(720deg) scale(0.01);
    }
}

@keyframes delta-7 {
    0% {
        opacity: 0;
        transform: rotate(0deg) scale(0.01);
    }

    20% {
        opacity: 100;
        transform: rotate(280deg) scale(1);
    }

    60% {
        opacity: 100;
        transform: rotate(280deg) scale(1);
    }

    80% {
        opacity: 0;
        transform: rotate(720deg) scale(0.01);
    }

    100% {
        transform: rotate(720deg) scale(0.01);
    }
}

@keyframes delta-8 {
    0% {
        opacity: 0;
        transform: rotate(0deg) scale(0.01);
    }

    20% {
        opacity: 100;
        transform: rotate(320deg) scale(1);
    }

    60% {
        opacity: 100;
        transform: rotate(320deg) scale(1);
    }

    80% {
        opacity: 0;
        transform: rotate(720deg) scale(0.01);
    }

    100% {
        transform: rotate(720deg) scale(0.01);
    }
}

@keyframes delta-9 {
    0% {
        opacity: 0;
        transform: rotate(0deg) scale(0.01);
    }

    20% {
        opacity: 100;
        transform: rotate(36deg) scale(1);
    }

    60% {
        opacity: 100;
        transform: rotate(36deg) scale(1);
    }

    80% {
        opacity: 0;
        transform: rotate(720deg) scale(0.01);
    }

    100% {
        transform: rotate(720deg) scale(0.01);
    }
}

@keyframes delta-10 {
    0% {
        opacity: 0;
        -webkit-transform: rotate(0deg) scale(0.01);
        transform: rotate(0deg) scale(0.01);
    }

    20% {
        opacity: 100;
        transform: rotate(0deg) scale(1);
    }

    60% {
        opacity: 100;
        transform: rotate(0deg) scale(1);
    }

    80% {
        opacity: 0;
        transform: rotate(720deg) scale(0.01);
    }

    100% {
        transform: rotate(720deg) scale(0.01);
    }
}


.delta > div:nth-child(1) {
    transform: rotate(0deg);
    background-color: #70ad47;
    animation: delta-1 4s linear infinite;
    animation-delay: .20s;
}

.delta > div:nth-child(2) {
    transform: rotate(40deg);
    background-color: #ed7d31;
    animation: delta-2 4s linear infinite;
    animation-delay: .25s;
}

.delta > div:nth-child(3) {
    transform: rotate(80deg);
    background-color: #ed7d31;
    animation: delta-3 4s linear infinite;
    animation-delay: .30s;
}

.delta > div:nth-child(4) {
    transform: rotate(120deg);
    background-color: #5b9bd5;
    animation: delta-4 4s linear infinite;
    animation-delay: .35s;
}

.delta > div:nth-child(5) {
    transform: rotate(200deg);
    background-color: #5b9bd5;
    animation: delta-5 4s linear infinite;
    animation-delay: 0s;
}

.delta > div:nth-child(6) {
    transform: rotate(240deg);
    background-color: #ffc000;
    animation: delta-6 4s linear infinite;
    animation-delay: .05s;
}

.delta > div:nth-child(7) {
    transform: rotate(280deg);
    background-color: #ffc000;
    animation: delta-7 4s linear infinite;
    animation-delay: .10s;
}

.delta > div:nth-child(8) {
    transform: rotate(320deg);
    background-color: #70ad47;
    animation: delta-8 4s linear infinite;
    animation-delay: .15s;
}

.mark {
    width: 36px;
    height: 36px;
}


.photo-frame {
    margin: 10px auto;
    padding: 10px;
    border: 1px solid #d2cfcf;
    border-radius: 10px;
    box-shadow: 0px 0px 4px 0px #c3c3c3;
    max-height: 50vh;
    max-width: 70vw;
}


@media screen and (max-width: 600px) {
    .desktop {
        display: none;
    }
}

.table-list td > img {
    max-height: 36px;
    max-width: 36px;
}

.table-print {
    border-collapse: collapse;
    width: 100%;
}

    .table-print > thead {
        font-weight: bold;
        text-align: center;
        background: #e2e2e2;
    }

    .table-print > tbody > tr > td:first-child {
        font-weight: bold;
    }

    .table-print > tfoot {
        background: #e2e2e2;
    }

    .table-print td {
        padding: 2px;
        border: 1px solid #ddd;
    }

.bottomless {
    border-bottom: 0;
}

.form-section {
    display: flex;
    flex-direction: column;
    margin: 20px;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 1px 1px 3px 1px #c7c7c7;
}

    .form-section > div:first-child {
        background: #FFC107;
        display: flex;
    }

        .form-section > div:first-child > div:first-child {
            background: #5de198;
        }

        .form-section > div:first-child > div {
            padding: 0 10px;
        }

    .form-section > *:nth-child(2) {
        overflow: auto;
    }

.radio-button, .upload-button {
    position: relative;
    cursor: pointer;
    user-select: none;
    overflow: hidden;
    white-space: nowrap;
}

    .radio-button span {
        padding: 0 10px;
        border: solid 1px #c2c2c2;
        display: flex;
        align-items: center;
        gap: 2px;
        margin: 2px;
    }

    .radio-button:first-child span {
        border-bottom-right-radius: 10px;
        border-top-right-radius: 10px;
    }

    .radio-button:last-child span {
        border-left: solid 1px #c2c2c2;
        border-top-left-radius: 10px;
        border-bottom-left-radius: 10px;
    }


    .radio-button input, .upload-button input {
        position: absolute;
        opacity: 0;
        cursor: pointer;
        height: 0;
        width: 0;
    }

        .radio-button input:checked ~ span {
            background-color: #2196F3;
            color: white;
        }

.attachment {
    position: relative;
    min-width: 200px;
    min-height: 200px;
    margin: 4px;
    border-radius: 10px;
    box-shadow: 0px 0 5px 0px #b1b1b1;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

    .attachment > div {
        text-align: center;
        width: 100%;
        background: var(--blue);
        color: white;
    }

    .attachment > img {
        max-width: 300px;
        max-height: 300px;
        margin: auto;
    }

    .attachment > label {
        position: absolute;
        width: 100%;
        height: 100%;
    }

.sub {
    /* box-shadow: 2px 0px 2px 1px #c3c3c3;*/
    margin: 5px 10px 5px 10px;
    display: flex;
    /* border-right: 4px solid #b5b5b5; */
    border-radius: 7px;
    overflow: hidden;
}

.sub-2 {
    margin: 5px 20px;
}

.inbox {
    padding: 10px;
}

    .inbox > img {
        width: 30px;
    }

    .inbox > span {
        position: absolute;
        left: 1px;
        background-color: #ff8080;
        border-radius: 100%;
        top: 6px;
        color: #ffffff;
        font-size: 12px;
        border: 2px solid white;
        padding: 2px;
        line-height: 100%;
        font-weight: bold;
        width: 13px;
        text-align: center;
    }

.titled-row {
    display: flex;
    text-align: center;
    /* border: 1px solid gray; */
    border-radius: 10px;
    box-shadow: 0px 0px 2px 1px grey;
    margin-bottom: 10px;
    overflow: hidden;
    margin: 10px;
}

    .titled-row > div {
        flex: 1;
        display: flex;
        flex-direction: column;
        border-left: 1px solid #a4a4a4;
    }

        .titled-row > div:last-child {
            border-left: 0;
        }

        .titled-row > div > span {
            background: #858585;
            color: white;
        }


.icon-32 {
    max-width: 32px;
    max-height: 32px;
}


.icon-48 {
    max-width: 48px;
    max-height: 48px;
}

.icon-64 {
    max-width: 64px;
    max-height: 64px;
}


.ellipsis-cell {
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.status-row > div {
    display: flex;
    gap: 2px;
    flex-wrap: wrap;
}

    .status-row > div > img {
        max-width: 26px;
    }

.payment-status-0 {
    background-color: #ffd6d6;
    text-align: center;
    display: flex;
    align-items: center;
/*    justify-content: center;
*/}

    .payment-status-0::before {
        content: '⤫';
        background: #ff8080;
        border-radius: 100%;
        min-height: 24px;
        min-width: 24px;
        line-height: 152%;
        margin-left: 3px;
        color: white;
    }

.payment-status-1 {
    background-color: #d5ffe8;
    text-align: center;
    display: flex;
    align-items: center;
/*    justify-content: center;
*/}

    .payment-status-1::before {
        content: '✓';
        background: #48c07d;
        border-radius: 100%;
        min-height: 24px;
        min-width: 24px;
        line-height: 157%;
        margin-left: 3px;
        color: white;
    }


.payment-status-2 {
    background-color: gray;
    text-align: center;
    text-decoration: line-through;
}

.loading-panel {
    position: absolute;
    z-index: 1001;
    width: 100%;
    height: 100%;
    background: #545454;
    align-items: center;
    display: flex;
    justify-content: center;
    font-size: 12px;
    box-shadow: inset 0px 0px 9vh 5vh #3e3e3e;
    color: #9c9c9c;
    transition: all ease-out .5s .2s;
}

.loading-panel-hidden {
    opacity: 0;
    visibility: hidden;
    transition: all ease-out .5s .2s;
}

.row-center {
    display: flex;
    align-items: center;
    gap: 8px;
}


.map-action {
    position: absolute;
    z-index: 10;
    left: 50%;
    transform: translateX(-50%);
    top: 45px;
    padding: 5px;
    background: #f1f1f1;
    border-radius: 10px;
    box-shadow: 0 0 5px 2px #c3c3c3;
    /* width: 19%; */
    text-align: center;
}

.map-toolbar {
    display: flex;
    flex-direction: row;
    position: absolute;
    top: 7px;
    z-index: 1; 
    /* background: #dededebd; */
    right: 8px;
    /* color: white; */
    gap: 7px;
}



    .map-toolbar > i-button {
        border-radius: 5px;
        margin: 0;
        background: #3fb4e5;
        box-shadow: 0px 0px 2px 1px white;
        color: white;
    }

.map-toolbar > i-button[checked] {
    background: #ed7d31;
}
        .map-toolbar > i-button:hover {
            background: rgba(0,60,136,.7);
          
        }

.ol-control button {
    background-color: var(--checkbutton-checked-background);
}
.ol-zoom {
    right: 13px;
    left: unset;
    top: 100px;
}

.ol-control.ol-layerswitcher-image
{
    top: 3em;
}


i-input[type="date"] {
    width: 154px;
}