﻿a {
    text-decoration: none !important;
}

body {
    margin: 0px;
    width: 100%;
    height: 100vh;
}

.page {
    position: relative;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}


@media (max-width: 640.98px) {

    .top-row {
        justify-content: space-between;
    }

    .top-row a, .top-row .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page {
        flex-direction: row;
    }

    .sidebar {
        min-width: 220px;
        height: calc(100vh - 78px);
        position: sticky;
        top: 78px;
    }

    .top-row {
        position: sticky !important;
        top: 0;
        z-index: 5;
    }

    .top-row {
        padding-right: 1.5rem !important;
    }

    .navbar-toggle {
        display: none;
    }

    .collapse {
        /* Never collapse the sidebar for wide screens */
        display: block !important;
    }
}

.navbar-toggle {
    cursor: pointer;
    margin-top: -5px;
}

.navbar-toggler-icon {
    color: white;
    font-size: 25pt;
}

.top-row {
    height: 78px;
}

.navbar-brand {
    font-size: 1.1rem;
}

.oi {
    width: 2rem;
    font-size: 1.1rem;
    vertical-align: text-top;
    top: -2px;
}

.nav-item {
    font-size: 0.9rem;
    font-weight: bold;
    padding-bottom: 0.5rem;
}

.nav-item:first-of-type {
    padding-top: 1rem;
}

.nav-item:last-of-type {
    padding-bottom: 1rem;
}

.nav-item a {
    color: white;
    border-radius: 4px;
    height: 2.5rem;
    display: flex;
    align-items: center;
    line-height: 3rem;
}

.nav-item a.active {
    background-color: rgba(255,255,255,0.25);
    color: white;
}

.nav-item a:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

@media (max-width: 640.98px) {
    html, body {
        font-family: 'Inter', sans-serif !important;
        font-size: 0.9rem;
    }

    .title {
        font-weight: bold;
        font-size: 1.2rem;
    }

    .subtitle {
        font-weight: bold;
        font-size: 1rem;
    }
}

@media (min-width: 640.98px) {
    html, body {
        font-family: 'Inter', sans-serif !important;
        font-size: 10pt;
    }

    .title {
        font-weight: bold;
        font-size: 14pt;
    }

    .subtitle {
        font-weight: bold;
        font-size: 11pt;
    }
}

.button {
    color: white;
    border: none;
    border-radius: 5px;
    width: 100%;
    height: 40px;
    font-weight: bold;
    margin-top: 8px;
}


.button-primary:active {
    filter: brightness(120%);
}

.button-secondary:active {
    filter: brightness(120%);
}

.button-disabled {
    background-color: #D9D9D9;
    display: none;
}

h1:focus {
    outline: none;
}

a, .btn-link {
    color: #0071c1;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}


.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

.rounded-box {
    float: left;
    height: 360px;
    border: 1px solid #D9D9D9;
    border-radius: 5px;
    margin-bottom: 20px;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
}

@media (max-width: 640.98px) {
    .rounded-box {
        width: calc(100% - 0px);
    }
}

@media (min-width: 640.98px) {
    .rounded-box {
        width: 400px;
        margin-right: 20px;
    }
}

.background-green {
    background-color: #00B050;
}

.text-green {
    color: #00B050;
}

.background-red {
    background-color: #C00000;
}

.text-red {
    color: #C00000;
}

.rounded-container {
    display: flex;
    border: 1px solid #D9D9D9;
    border-radius: 5px;
    padding: 5px 10px 5px 10px;
    align-items: baseline;
}

.invisible-textbox {
    border: none;
    font-family: Inter, sans-serif;
}

.horizontal-line {
    height: 1px;
    width: 100%;
    background-color: #D9D9D9;
}