﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification\ 
for details on configuring this project to bundle and minify static web assets. */

/* div contentEditable */
div[contenteditable=true] {
    height: auto !important;
    /* NOT FULLY IMPLEMENTED !!! */
    word-wrap: break-word;
    overflow-wrap: anywhere;
    white-space: normal;
}

    div[contenteditable=true][placeholder]:empty:before {
        content: attr(placeholder);
        font-size: 0.875rem;
        font-style: italic;
        color: #6c757d;
        opacity: 1;
    }

    div[contenteditable=true][placeholder]:empty:focus:before {
        content: "";
    }

div[readonly] {
    background-color: #e9ecef;
    opacity: 1;
}

/* select readonly */
select[readonly] {
    background: #eee;
    pointer-events: none;
    touch-action: none;
}

/* navlocation */
.navlocation {
    position: relative;
    margin: 4px 5px 4px 5px;
    padding: 3px 10px 3px 10px;
    border: 1px solid transparent;
    border-radius: 0.25rem;
    font-size: 80%;
    color: #0c5460;
    background-color: #e6f4f7;
    border-color: #bee5eb;
}

    .navlocation a {
        color: #0c5460
    }

/* jquery autocomplete */
.ui-autocomplete-loading {
    background: url('../images/loading.gif') no-repeat right 5px center
}

.ui-autocomplete .ui-menu-item {
    font-size: 0.9rem;
    color: #495057;
}

.ui-autocomplete .ui-menu-item-wrapper:active,
.ui-autocomplete .ui-menu-item-wrapper:hover {
    font-size: 0.9rem;
    border: none;
}

/* Address description */

.addr-selection {
    font-size: 0.9em;
}

.addr-details-block {
    color: #777;
    font-size: 0.8em;
    word-wrap: break-word;
}

/* Text diff */

.diff-inserted {
    background-color: green;
    color: white;
}

.diff-deleted {
    text-decoration: line-through;
    background-color: red;
    color: white;
}

.diff-modified {
    background-color: #d0f0f0;
    color: #777;
}

.diff-unchanged {
    color: #777;
}

/* Tables */
.table-xsm th {
    font-style: italic;
    font-weight: 400;
    color: #888;
    border-bottom: 1px solid #dee2e6 !important;
    padding: 0.3rem;
}

.table-xsm td {
    padding: 0.2rem 0.3rem 0.2rem 0.3rem;
}

/* Text */
.text-condensed {
    line-height: 1.3;
}

code {
    font-size: 87.5%;
    color: #212529;
    word-break: break-word;
}
