﻿body {
    background-color: #C8D8EB;
    font-size: 16px;
    font-family: "Inter";
    color:#1F2A44;
}

.dimmer {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(0,0,0,0.3);
    z-index: 99;
    border-radius: 10px;
    display: none;
}

.raisedbox {
    border-radius:10px;
    background-color:white;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
    padding:20px;
}

.contentcontainer {
    position: relative;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.menulinkcontainer {
    display: flex;
    flex-direction: row;
    gap: 10px;
    border-radius: 10px;
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 8px;
    padding-bottom: 8px;
    align-items: center;
}

    .menulinkcontainer:hover {
        background-color: silver;
        color: #222222;
    }

    .menulinkcontainer:active {
        background-color: darkgray;
        color: white;
    }

    .menulinkcontainer .selected {
        background-color: white;
        box-shadow: 0 0 6px rgba(0, 0, 0, 0.1);
    }

.menulink {
    color: #222222;
    font-size: 16px;
    text-decoration: none;
    display: block;
    font-weight: 300;
}

    .menulink:hover {
        color: black;
    }

    .menulink:active {
        background-color: black;
        border-radius: 10px;
    }

    .menulink .selected {
        background-color: rgb(230,235,243);
        color: black;
        box-shadow: 0 0 6px rgba(0, 0, 0, 0.1);
    }

.titlebar {
    position: relative;
    height: 40px;
    font-weight: bold;
    font-size: 1.2em;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row;
    color:#222222;
}

.notificationpanel {
    position: absolute;
    top: 75px;
    right: 10px;
    width: 0px;
    background-color: white;
    border: solid 2px black;
    border-radius: 20px;
    padding: 20px;
    z-index: 100;
    transition: opacity 0.5s ease-in-out, width 0.3s ease-in-out;
    opacity: 0;
}

#notificationsinner {
    width: 100%;
}

.notification {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 15px;
}

    .notification .title {
        font-weight: bold;
    }

    .notification .message {
        margin-top: 10px;
    }

    .notification .date {
        font-size: x-small;
        color: gray;
    }

input[type=text] {
    background-color: #F3F6F9;
    border-radius: 6px;
    border: solid 1px #F3F6F9;
    padding-left: 12px;
    padding-right: 12px;
    padding-top: 12px;
    padding-bottom: 12px;
    font-size: 18px;
    box-sizing: border-box;
    display: block;
    width: 100%;
    color: #3F4254;
    transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

    input[type=text]:active,
    input[type=text].active,
    input[type=text]:focus,
    input[type=text].focus {
        background-color: #EBEDF3;
        border: solid 1px rgb(5,114,236);
        outline: none;
        transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
    }
    input[type=text]:read-only {
        background-color:white;
        border:solid 1px black;
    }

input[type=number] {
    background-color: #F3F6F9;
    border-radius: 6px;
    border: solid 1px #F3F6F9;
    padding-left: 12px;
    padding-right: 12px;
    padding-top: 12px;
    padding-bottom: 12px;
    font-size: 18px;
    box-sizing: border-box;
    display: block;
    width: 100%;
    color: #3F4254;
    transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

    input[type=number]:active,
    input[type=number].active,
    input[type=number]:focus,
    input[type=number].focus {
        background-color: #EBEDF3;
        border: solid 1px rgb(5,114,236);
        outline: none;
        transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
    }

input[type=date] {
    background-color: #F3F6F9;
    border-radius: 6px;
    border: solid 1px #F3F6F9;
    padding-left: 12px;
    padding-right: 12px;
    padding-top: 12px;
    padding-bottom: 12px;
    font-size: 18px;
    box-sizing: border-box;
    display: block;
    width: 100%;
    color: #3F4254;
    transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

    input[type=date]:active,
    input[type=date].active,
    input[type=date]:focus,
    input[type=date].focus {
        background-color: #EBEDF3;
        border: solid 1px rgb(5,114,236);
        outline: none;
        transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
    }

textarea {
    background-color: #F3F6F9;
    border-radius: 6px;
    border: solid 1px #F3F6F9;
    padding-left: 12px;
    padding-right: 12px;
    padding-top: 12px;
    padding-bottom: 12px;
    font-size: 14px;
    box-sizing: border-box;
    display: block;
    width: 100%;
    color: #3F4254;
    transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

    textarea:active,
    textarea.active,
    textarea:focus,
    textarea.focus {
        background-color: #EBEDF3;
        border: solid 1px rgb(5,114,236);
        outline: none;
        transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
    }

select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: #F3F6F9;
    border-radius: 6px;
    border: solid 1px #F3F6F9;
    padding: 12px;
    font-size: 18px;
    box-sizing: border-box;
    display: block;
    width: 100%;
    color: #3F4254;
    transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
    background-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" fill="%233F4254" viewBox="0 0 20 20"><polygon points="5,7 15,7 10,12"/></svg>');
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 12px;
}

    /* Firefox fix for inconsistent padding in some versions */
    select:-moz-focusring {
        padding-left: 12px !important;
        padding-right: 36px !important; /* Adjusted for custom arrow */
    }

    /* IE11 and Edge Legacy fix */
    select::-ms-expand {
        display: none;
    }

input[type=password] {
    background-color: #F3F6F9;
    border-radius: 6px;
    border: solid 1px #F3F6F9;
    padding-left: 12px;
    padding-right: 12px;
    padding-top: 12px;
    padding-bottom: 12px;
    font-size: 18px;
    box-sizing: border-box;
    display: block;
    width: 100%;
    color: #3F4254;
    transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

    input[type=password]:active,
    input[type=password].active,
    input[type=password]:focus,
    input[type=password].focus {
        background-color: #EBEDF3;
        border: solid 1px rgb(5,114,236);
        outline: none;
        transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
    }

input[type="checkbox"] {
    display: none;
}

    input[type="checkbox"] + label {
        display: inline-block;
        width: 100%;
        height: 20px;
        background: url('/img/checkbox-inactive.png') no-repeat;
        margin-bottom: 10px;
    }

    input[type="checkbox"]:checked + label {
        background: url('/img/checkbox-active.png') no-repeat;
    }

    input[type="checkbox"] + label {
        padding-left: 30px;
    }

.btn {
    border-radius: 20px;
    font-weight: bold;
    padding-left: 18px;
    padding-right: 18px;
    padding-top: 9px;
    padding-bottom: 9px;
    text-decoration: none;
    font-size: smaller;
}

    .btn.disabled {
        background-color: #C8D8EB;
        border: solid 1px white;
        color: white;
        pointer-events: none;
    }

    .btn:hover {
        text-decoration: none;
    }

.btn-primary {
    background-color: #485CC7;
    color: white;
}

    .btn-primary:hover {
        background-color: darkgray;
    }

    .btn-primary:active {
        background-color: #B5B5B5;
    }

.btn-secondary {
    background-color: white;
    border: solid 1px black;
    color: purple;
}

    .btn-secondary:hover {
        background-color: darkgray;
        border: none;
        color: white;
    }

    .btn-secondary:active {
        background-color: #B5B5B5;
    }

.actionbutton {
    text-decoration: none;
    color: #222222;
    font-size: smaller;
    padding:7px;
    border-radius:6px;
}

    .actionbutton:hover {
        text-decoration: none;
        color: #222222;
        background-color:gainsboro;
    }

    .actionbutton:active {
        color: darkgray;
    }

.listrow {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 10px;
    padding-bottom:15px;
}

    .listrow:hover {
        color: #394A38;
        background-color: #F6F7Fb;
    }

div .listrow:first-child {

}

div .listrow.headed {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

div .listrow:not(:first-child) {
    border-top:solid 1px gainsboro;
}

div .listrow:last-child {
}

.reporthead {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 10px;
    font-size: smaller;
}

.reporttable {
    width: 100%;
    border: solid 1px black;
    margin-top: 20px;
}

    .reporttable thead {
        background-color: lightgray;
        border: solid 1px black;
        font-size: small;
    }

.reportrow {
    font-size: small;
}

.listtitle {
    padding: 10px;
    color: #222222;
    font-weight: bold;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-bottom:10px;
}

.tablink {
    font-size: larger;
    font-weight: bold;
    color: rgb(199,199,199);
    text-decoration: none;
}

    .tablink.selected {
        color: black;
        text-decoration: underline;
    }

.tabrow {
    display: flex;
    flex-direction: row;
    gap: 30px;
    overflow-x: auto;
    white-space: nowrap;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

    .tabrow::-webkit-scrollbar {
        display: none;
    }

.vcenterdiv {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.hcenterdiv {
    display: flex;
    justify-content: center;
    align-content: center;
    flex-direction: row;
}

.dialog {
    position: absolute;
    background-color: white;
    border-radius: 6px;
    border: solid 1px black;
    z-index: 100;
    display: flex;
    flex-direction: column;
    top: -100%;
    left: 0;
}

    .dialog .title {
        background-color: black;
        color: white;
        padding: 10px;
        flex-grow: 1;
        font-weight: bold;
    }

    .dialog .content {
        background-color: white;
        flex-grow: 3;
        overflow-y: auto;
    }

    .dialog .innercontent {
        padding: 15px;
    }

    .dialog .buttons {
        background-color: darkgray;
        padding: 15px;
        flex-grow: 1;
    }

.smalldialog {
    max-width: 50%;
    max-height: 50%;
}

.largedialog {
    width: 85%;
    height: 80%;
}

::-webkit-scrollbar {
    width: 5px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: #BDBDBD;
}

    ::-webkit-scrollbar-thumb:hover {
        background: #6E6E6E;
    }

.color-change {
    width: 24px;
    height: 24px;
}

    .color-change svg path {
        fill: red;
    }

.row {
    display: flex;
    flex-wrap: wrap;
}

.col-1 {
    flex: 0 0 auto;
    width: 8.33%;
}

.col-2 {
    flex: 0 0 auto;
    width: 16.67%;
}

.col-3 {
    flex: 0 0 auto;
    width: 25%;
}

.col-4 {
    flex: 0 0 auto;
    width: 33.33%;
}

.col-5 {
    flex: 0 0 auto;
    width: 41.67%;
}

.col-6 {
    flex: 0 0 auto;
    width: 50%;
}

.col-7 {
    flex: 0 0 auto;
    width: 58.33%;
}

.col-8 {
    flex: 0 0 auto;
    width: 66.67%;
}

.col-9 {
    flex: 0 0 auto;
    width: 75%;
}

.col-10 {
    flex: 0 0 auto;
    width: 83.33%;
}

.col-11 {
    flex: 0 0 auto;
    width: 91.67%;
}

.col-12 {
    flex: 0 0 auto;
    width: 100%;
}

.badge {
    display: inline-block;
    padding: 0.35em 0.65em;
    font-size: 0.75em;
    font-weight: 700;
    line-height: 1;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 0.25rem;
}

.tbcontainer {
    position: relative;
}

.tbinner {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
}

.tbreveal {
    cursor: pointer;
}

    .tbreveal:hover {
        color: #690080;
    }

.vpropertypair {
    display:flex;
    flex-direction:column;
    gap:10px;
    margin-bottom:12px;
}

.propertypair {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-top: 7px;
}

    .propertypair div:first-child {
        flex-basis: 25%;
    }

    .propertypair div:last-child {
        flex-basis: 75%;
    }

.propertypairstring {
    gap: 10px;
}

    .propertypairstring div:last-child {
        border: solid 1px silver;
        border-radius: 6px;
        padding: 12px;
    }

    .propertypairstring div:empty::before {
        content: "\00A0"; /* This is the Unicode for a non-breaking space */
    }

@media(max-width:768px) {
    #menugutter {
        display: none;
        position: absolute;
        top: 0;
        left: 0;
        bottom: 0;
        width: 250px;
        z-index: 1000;
        background-color: white;
        min-width: 0;
        overflow-y: auto;
    }

    #innermenugutter {
        padding: 45px;
        background-color: rgba(92,190,92,0.3);
        overflow-y: auto;
    }

    #maincontainer {
        padding: 7px;
    }

    .actionbuttontext {
        display: none;
    }

    .gutteractivate {
        display: inline;
    }
}

@media(min-width:769px) {
    #menugutter {
        min-width: 220px;
    }

    #maincontainer {
        padding: 15px;
    }

    #gutterback {
        display: none;
    }

    .gutteractivate {
        display: none;
    }
}
