@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.loggis-main-page {
    height: 100vh;
    width: 100vw;
    /*overflow: hidden;*/
}

.no-display {
    display: none !important;
}

h1:focus {
    outline: none;
}

a, .btn-link {
    color: #0071c1;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.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;
}

.content {
    padding-top: 1.1rem;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEz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M3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.button-slide {
    position: fixed;
    bottom: -50px; /* Commence hors de la vue */
    right: 20px; /* Espacement depuis le côté droit */
    transition: bottom 0.3s ease-in-out; /* Animation douce pour l'attribut bottom */
}

.button-visible {
    bottom: 20px; /* Position finale visible */
    background-color: rebeccapurple;
}

.fullscreen-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5); /* Noir avec opacité */
    display: flex;
    z-index: 99999; /* Assure qu'il s'affiche au-dessus des autres contenus */
    display: flex;
}

.fullscreen-inner {
    background-color: whitesmoke;
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    padding: 20px;
    margin: 40px;
    border-radius: 10px;
    overflow: clip;
}

.inner-div-large {
    margin: 20px;
}

.inner-div-halfscreen {
    margin: 20vh 20vw;
}

.textarea-flexible {
    flex: 1 1 0;
    resize: none;
}

.textarea-courier {
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.8rem;
}

@keyframes vibrate {
    0% {
        transform: translate(0);
    }

    25% {
        transform: translate(3px, 0px);
    }

    50% {
        transform: translate(-3px, 0px);
    }

    75% {
        transform: translate(3px, 0px);
    }

    100% {
        transform: translate(0);
    }
}

.vibrating-button {
    display: inline-block;
    animation: vibrate 0.5s linear;
}

.btn-close-custom {
    margin-left: auto;
}


td.center-content {
    text-align: center;
    vertical-align: middle;
    margin: 0 !important;
    padding: 0 !important;
}

.action-icon, .add-icon, .delete-icon {
    height: 1rem;
    width: 1rem;
    display: flex;
    cursor: pointer;
    padding: 0;
    line-height: 0;
}

.search-icon {
    height: 2rem;
    width: 2rem;
}

.add-icon-span {
    margin: auto;
    line-height: 0;
}

svg.LoggisConsoleIcon {
    display: block;
    margin: auto;
}

.SettingsTopRibbonGroup tfoot td span {
    margin: 1rem;
}

.SettingsTopRibbonGroup {
    display: grid;
    grid-auto-flow: row;
    width: fit-content;
    margin: auto;
}

    .SettingsTopRibbonGroup td {
        border: 1px solid gray;
        border-right: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color) !important;
    }

    .SettingsTopRibbonGroup .SettingsTopRibbonIconContainer {
        height: 4rem;
        width: 4rem;
        border-radius: 3px;
        border: solid black 2px;
        padding: 5px;
        margin: 0 auto; /* horizontal centering */
        cursor: pointer;
        transition: background-color 150ms linear;
    }


    .SettingsTopRibbonGroup .SettingsTopRibbonIconSvg {
        height: 100%;
        width: 100%;
        background-size: contain;
        background-position: center;
        background-repeat: no-repeat;
    }

table.table-compact tr, table.table-compact th, table.table-compact td {
    padding: 0 !important;
}

table.table-compact p {
    margin: 0 !important;
}

table.table-compact * {
    font-size: 0.8rem !important;
}

table.table-compact input {
    font-family: Courier New, Courier, monospace;
    margin: 0 !important;
    padding: 0 !important;
}

.MapComponentOpenLayersEditControls {
    position: absolute;
    z-index: 10;
    top: 0;
    right: 0;
    background: rgba(255,255,255,0.8);
    padding: 0.5rem;
    /*border-color: black;
    border-style: solid;
    border-width: thin;*/
    border-bottom-left-radius: 5px;
}

.text-area-wrap-normal textarea {
    overflow-wrap: normal;
}

.flex-80 {
    display: flex;
    height: 80%;
    width: 80%;
}
/*
.gap-0 {
    gap: 0 !important;
}

.gap-1 {
    gap: 0.25rem !important;
}

.gap-2 {
    gap: 0.50rem !important;
}

.gap-3 {
    gap: 0.75rem !important;
}

.gap-4 {
    gap: 1.00rem !important;
}*/


table.table-data th:first-child, table.table-data td:first-child {
    /*background-color: red !important*/
}


table.table-data th:first-child, table.table-data td:first-child {
    border: none !important;
}

table.table-data thead.vertical-headers th:not(:first-of-type) p {
    /*writing-mode: vertical-rl;
    text-orientation: upright;*/
}

table.table-data th, table.table-data td {
    border-collapse: collapse;
}

    table.table-data th, table.table-data td.border-left-small {
        border-left: 1px dotted black;
    }

    table.table-data th, table.table-data td.border-right-small {
        border-right: 1px dotted black;
    }

    table.table-data th, table.table-data td.border-left-normal {
        border-left: 2px solid black;
    }

    table.table-data th, table.table-data td.border-right-normal {
        border-right: 2px solid black;
    }

.new-element {
    color: green;
    font-weight: bold;
    /*text-decoration: line-through solid black;*/
}

.guid-manual {
    font-weight: bold !important;
    font-style: italic !important;
    color: gray !important;
    /*text-decoration: line-through solid black;*/
}

.output-empty {
    text-decoration: solid gray line-through;
    color: gray !important;
    background-color: whitesmoke !important;
    /*text-decoration: line-through solid black;*/
}

.click-pointer {
    cursor: pointer;
    user-select: none;
}

.sort-th .sort-icon-asc {
    /*content: '?'; /* Unicode pour flèche ascendante */
    content: 'desc'; /* Unicode pour flèche ascendante */
}

.sort-th .sort-icon-desc {
    /*content: '?'; /* Unicode pour flèche descendante */
    content: 'desc'; /* Unicode pour flèche descendante */
}


.loggis-grid .loggis-grid-success * {
    background-color: lightgreen !important;
}

.loggis-grid .loggis-grid-warning * {
    background-color: orange !important;
}

.loggis-grid .loggis-grid-error * {
    font-weight: bold !important;
    color: white !important;
    background-color: red !important;
}

.option-missing {
    text-decoration-line: line-through;
}

.nav {
    user-select: none;
}

.nav-item {
    cursor: pointer;
}

.nav.nav-tabs {
    /*background-color: whitesmoke;*/
}

.nav-tabs .nav-link {
    font-weight: bold;
    color: black !important;
    border: 1px solid black !important;
}

.GridPicker {
    display: grid;
    gap: .5rem;
    grid-template-columns: 1fr;
}

.GridPickerItem {
    /*background-color: palegoldenrod;*/
    border: 1px solid black;
    border-radius: 1rem;
    min-height: 3rem;
    font-family: Verdana !important;
    font-weight: bold !important;
}

.progress-percent {
    height: 1rem;
    border-radius: .5rem;
    text-align: center;
    color: white;
    background-image: green;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    margin: 1rem;
}

.loggis-layer-tooltip {
    position: absolute;
    background-color: whitesmoke;
    padding: 4px;
    border: 1px solid black;
    border-radius: 4px;
    display: none;
}


.loggis-top-bar {
    border-bottom: 1px solid black;
    user-select: none;
}

@keyframes blink {
    0% {
        background-color: white !important;
    }

    50% {
        background-color: red !important;
    }
}

.blinking-input {
    animation: blink 1s infinite !important; /* 1s pour la durée, infinite pour répéter indéfiniment */
    transition: background-color 0.5s ease !important;
}

.result-status-icon {
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
}

.result-status-icon2 {
    border: 1px solid black;
    border-radius: 3px;
    width: 1.2rem !important;
    height: 1.2rem !important;
    cursor: pointer;
}

.result-status-icon2-info {
    color: white !important;
    background-color: gray !important;
}

.result-status-icon2-ok {
    color: black !important;
    background-color: #3a3 !important;
}

.result-status-icon2-warning {
    color: black !important;
    background-color: orange !important;
}

.result-status-icon2-error {
    color: white !important;
    background-color: red !important;
}

.result-status-icon2-exception {
    color: white !important;
    background-color: black !important;
}

.result-status-text {
    font-size: 1rem !important;
    line-height: 0px;
    font-weight: bold;
    font-family: monospace;
}

.loggis-company-logo {
    margin: auto;
    max-width: 100%;
    max-height: 100%;
}

.loggis-login-container-1 {
    display: flex;
    position: absolute;
}

.loggis-login-container-2 {
    margin: auto;
    background: white;
    padding: 2rem;
    /*border: 2px solid black;*/
    border-radius: 1rem;
    z-index: 1;
}

.loggis-login-logo-background {
    width: 100vw;
    height: 100vh;
    background-color: black;
    background-image: url("/svg/LOGO_LOGGIS_V2_square_V2_m10px.svg");
    z-index: 0;
    background-position: center;
    background-size: 4rem 4rem;
    background-repeat: space;
}

#ProjectVisualizerSelector button {
    border-radius: .25rem;
}

.loggis-monospace, .loggis-monospace * {
    font-family: 'Lucida Console', Consolas, Monaco, 'Courier New', Courier, monospace !important;
}

.loggis-size-075, .loggis-size-075 * {
    font-size: 0.75rem !important;
}

.loggis-size-060, .loggis-size-060 * {
    font-size: 0.60rem !important;
}

.loggis-size-050, .loggis-size-050 * {
    font-size: 0.50rem !important;
}

.select-option-model option {
    padding: 0;
    font-size: 0.75rem;
}

.MapComponentOpenLayersButton {
    height: 2rem;
    width: 2rem;
}

#MapComponentOpenLayersButtonsContainer {
    top: .25rem;
    right: .25rem;
    z-index: 1;
    /* the border is defined using gap and padding with a black background */
    /*background-color: black;
    gap: 1px;
    padding: 1px*/
}

#MapComponentOpenLayersExpand {
    background-color: whitesmoke;
    padding: 10%;
}

.loggis-home-icon, .loggis-white-button {
    cursor: pointer;
    border-radius: 3px;
    border: 1px solid black;
    padding: 2px !important;
    background-color: whitesmoke;
    color: black !important;
}

.loggis-home-icon-big {
    max-height: 150px !important;
    max-width: 150px !important;
}

.loggis-home-icon-small {
    height: 4rem !important;
    width: 4rem !important;
}

.loggis-home-icon-topright {
    position: absolute;
    top: 0.25rem;
    right: 0.25rem;
}

.flex-auto-orientation {
    display: flex;
}

@media screen and (orientation: portrait) {
    .flex-auto-orientation {
        flex-direction: column;
    }
}

@media screen and (orientation: landscape) {
    .flex-auto-orientation {
        flex-direction: row;
    }
}

.modal-fullscreen-background {
    position: absolute;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
    overflow: hidden;
}

.modal-fullscreen-content {
    background: white;
    overflow: auto;
}

.loggis-home-logo {
    width: 6rem;
    height: 6rem;
    background: url("/svg/LOGO_LOGGIS_V2_square_V2.svg") center no-repeat;
    background-size: contain;
}

.loggis-table-all-borders {
    border-collapse: collapse;
    width: 100%;
}

    .loggis-table-all-borders th,
    .loggis-table-all-borders td {
        border: 1px solid black;
        padding: 4px;
        text-align: left;
    }

#tempChartStorage {
    z-index: -1;
    position: absolute;
}

#tempChartStorage > * {
    position: absolute;
    top: 0;
    left: 0;
}