﻿
html {
    font-size: 14px;
    position: relative;
    min-height: 100%;
    height: 100%;
    margin: 0;
}

main {
    overflow-y: auto;
    overflow-x: hidden;
    max-height: 86vh;
}

.footer {
    height:50px;
    max-height: 50px;
    position: fixed;
    bottom:0;
    width: 100%;
    padding-top:10px;
    padding-left: 10px;
}

#indexMain {
    background-image: url(/assets/Matix-New-Tech-Background_72dpi.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

@media (min-width: 768px) {
    html {
        font-size: 13px;
    }
}

#loader {
    background: url('/assets/loading.gif') no-repeat center center;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: 9999999;
    background-color: rgba(192,192,192,0.4);
}
/*@view-transition {
    navigation: auto;
}

::view-transition-old(root),
::view-transition-new(root) {
    animation: fade 0.1s ease both;
}

@keyframes fade {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}*/

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

body {
    margin-bottom: 60px;
    overflow: hidden;
}

.w-10 {
    width: 10% !important;
    max-width: 10% !important;
}

.w-20 {
    width: 20% !important;
    max-width: 20% !important;
}

.w-30 {
    width: 30% !important;
}

.w-40 {
    width: 50% !important;
}

.container {
    max-width: 98%;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}

table {
    font-size: 0.90em;
}

.pointer {
    cursor: pointer;
}

.add-line {
    color: #062560;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    cursor: pointer;
    padding-top: 2px;
    padding-left: 2px;
}

    .add-line::before {
        font: var(--fa-font-solid);
        font-size: 1.25em;
        content: "\2b";
        padding-top: 1px;
    }

.import {
    color: #062560;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    cursor: pointer;
    padding-top: 2px;
    padding-left: 2px;
}

    .import::before {
        font: var(--fa-font-solid);
        font-size: 1.5em;
        content: "\f07c";
        padding-top: 1px;
    }

.cancel-line {
    color: #8A3028;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    cursor: pointer;
    padding-top: 2px;
    padding-left: 2px;
}

    .cancel-line::before {
        font: var(--fa-font-solid);
        font-size: 1.5em;
        content: "\f057";
        padding-top: 1px;
    }

.delete-line {
    color: #ff6666;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    cursor: pointer;
    padding-top: 2px;
    padding-left: 2px;
}

    .delete-line::before {
        font: var(--fa-font-solid);
        font-size: 1.5em;
        content: "\f014";
        padding-top: 1px;
    }

.edit-line {
    color: #062560;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    cursor: pointer;
    padding-top: 1px;
    padding-left: 2px;
}

    .edit-line::before {
        font: var(--fa-font-solid);
        font-size: 1.5em;
        content: "\f044";
    }

.play-line {
    color: var(--bs-primary);
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    cursor: pointer;
    padding-top: 2px;
}

    .play-line::before {
        font: var(--fa-font-solid);
        font-size: 1.75em;
        content: "\f0da";
    }

.view-detail {
    color: var(--bs-secondary);
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    cursor: pointer;
    padding: 2px 2px;
}

    .view-detail::before {
        font: var(--fa-font-solid);
        font-size: 1.5em;
        content: "\f05a";
    }

    .view-detail.view-detail-disabled {
        cursor: default !important;
        pointer-events: none;
    }

.grab-handle {
    width: 30px;
    min-width: 30px;
    background: #f0f0f0;
    color: #b0b0b0;
    cursor: grab;
    min-height: 100%;
    height: 100%;
    border-right: 1px solid #ddd;
    font-size: 1.5rem;
    padding: 20px 0;
    margin: 10px 0 0 5px;
}

.error {
    color: var(--bs-red);
}

.select2-selection__clear {
    padding-right: 7px !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 15px;
    position: absolute;
    top: 0px;
    right: 15px;
    width: 15px;
}

.select2-results__option[aria-disabled="true"] {
    display: none !important;
}

/*.select2-selection--multiple {
    max-height: 1em;
    overflow: hidden;
}*/

.link2page {
    position: relative;
    display: block;
    padding: 0.3rem 0;
    line-height: 1.25;
    cursor: pointer;
    text-align: center !important;
    border: 1px solid #808080;
    text-decoration: none;
    color: var(--bs-table-color);
    max-width: 90px;
}

    .link2page:hover {
        z-index: 2;
        text-decoration: none;
    }

    .link2page.max {
        max-width: 100% !important;
    }

.page-link {
    font-size: 0.75em;
}

div.dt-buttons > button {
    margin-right:2px;
}

.mt-n1 {
    margin-top: -10px;
}

.mt-n2 {
    margin-top: -20px;
}

.mt-n3 {
    margin-top: -30px;
}

.input-group-text {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    padding: 0.6em;
    margin-bottom: 0;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #787D78;
    text-align: center;
    white-space: nowrap;
    background-color: #e9ecef;
    border: 1px solid var(--bs-border-color);
    border-radius: var(--bs-border-radius);
}

dt-column-header {
    flex-direction: row;
    text-align: center;
}

span.dropdown-item {
    cursor: pointer;
}

.webpage-editor {
    height: 80vh;
    overflow-y: auto;
    overflow-x: hidden;
}

.required-label:after {
    font: var(--fa-font-solid);
    content: '\f005';
    padding: 0 0 0.3em 0.6em;
    font-weight: 500;
    font-size: 0.5em;
    vertical-align: super;
    color: red;
}

.dash-tile {
    background-color: slategray;
    color: white;
    min-width: 12%;
    width: 12%;
    margin: 0 1px;
}

.dash-tile-heading {
    font-weight: 700;
    font-size: 14px;
}

.dash-tile-value {
    font-weight: 500;
    font-size: 18px;
}

.arrow-shape {
    width: 200px;
    height: 60px;
    background: #3b82f6; /* Modern Blue */
    color: white;
    display: inline-flex ;
    align-items: center;
    padding-left: 50px;
    justify-content: start;
    text-wrap: auto;
    font-weight: 500;
    margin-left: -20px;
    /* The Magic: [x y] coordinates */
    clip-path: polygon( 0% 0%, /* Top Left */
    20% 50%, /* Negative Arrow Point (Inward) */
    0% 100%, /* Bottom Left */
    80% 100%, /* Bottom Right Base */
    100% 50%, /* Positive Arrow Point (Outward) */
    80% 0% /* Top Right Base */
    );
}

    .arrow-shape:first-of-type {
        margin-left: 0px;
    }

    .arrow-shape.active {
        background-color: #398F78;
        font-weight: 700;
    }

    .arrow-shape.completed {
        background-color: #657287;
        font-weight: 300;
    }

#alertList {
    width: 15rem;
}

.alert-item {
    max-width: 15rem;
    overflow-wrap: anywhere;
}

.dropdown-item {
    cursor: pointer;
}