:root {
    --primary-bg: #0072ff;
    --theme-bg: rgb(244, 249, 252);
    --theme-bg-alternate: rgb(214, 232, 243);
    --text-color: rgb(244, 249, 252);
    --accent: #0072ff;
    --accent-dark: #045ece;
    --accent-dark2: #1c416b;
    --bg-dyn: whitesmoke;
}


@media (prefers-color-scheme: dark) {
    :root {
        --bg-dyn: rgb(51, 51, 55);
        --theme-bg: rgb(51, 51, 55);
        --theme-bg-alternate: #161616;
    }
}

@media (prefers-color-scheme: dark) {}

/* Glassmorphism card effect */
.glass-card {
    -webkit-backdrop-filter: blur(25px) saturate(141%);
    backdrop-filter: blur(25px) saturate(141%);
    background-color: rgba(17, 25, 40, 0.6);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.125);
}

.g-card {
    border-radius: 12px;
    padding: 0;
}

.file-grid {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.file-grid>div {
    flex: 1 1 0px;
}

.file {
    display: inline-block;
    width: 100%;
}

.file img {
    width: 1in;
    display: block;
    margin: auto;
}

.file span {
    display: block;
    text-align: center;
}

.file i {
    display: block;
    text-align: center;
    font-size: 1in;
    margin: 16px;
}

.glass-card-header {
    -webkit-backdrop-filter: blur(25px) saturate(141%);
    backdrop-filter: blur(25px) saturate(141%);
    background-color: #0072ff88;
    border-radius: 12px 12px 0px 0px;
    border: 1px solid rgba(255, 255, 255, 0.125);
    margin: 0;
}


.glass-card-footer {
    -webkit-backdrop-filter: blur(25px) saturate(141%);
    backdrop-filter: blur(25px) saturate(141%);
    background-color: #0072ff88;
    border-radius: 0px 0px 12px 12px;
    border: 1px solid rgba(255, 255, 255, 0.125);
    margin: 0;
}
.text-center{
    text-align: center;
}

.glass-header {
    -webkit-backdrop-filter: blur(25px) saturate(141%);
    backdrop-filter: blur(25px) saturate(141%);
    background-color: rgba(17, 25, 40, 0.6);
    border-bottom: 2px solid rgba(255, 255, 255, 0.125);
}

.glass-footer {
    -webkit-backdrop-filter: blur(25px) saturate(141%);
    backdrop-filter: blur(25px) saturate(141%);
    background-color: rgba(17, 25, 40, 0.6);
    border-top: 2px solid rgba(255, 255, 255, 0.125);
}

.menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    flex-direction: row;
}

.menu menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    flex-direction: row;
    flex-basis: content;
    flex-shrink: 1;
}

.menu.right-menu {
    flex-shrink: 5;
}

.menu menu li {
    display: flex;
    flex-basis: content;
    padding: 8px;
}

@media (max-width:768px) {
    .menu menu li {
        display: flex;
        flex-basis: 100%
    }

    .small-screen-hidden-unless:not(.open) {
        width: 0;
        height: 0;
        opacity: 0;
        flex-shrink: 0;
        flex-grow: 0;
        flex-basis: 0;
    }
}
.small-screen-hidden-unless{
    transition-property: all;
    transition-duration: 3s;
    overflow: hidden;
}

.info-footer {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 0.5em;
}

.info-footer-left {
    display: flex;
    flex-direction: column;
    flex-basis: 500px;
    padding: 0.5em;
}

.info-addr {
    display: flex;
    flex-basis: content;
    flex-direction: column;
}

.info-footer-left h2 {
    font-size: 1.74rem;
    font-weight: 600;
}

.info-footer-left h2,
.info-footer-left div {
    display: flex;
    flex-basis: content;
}

.info-sitemap {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    flex-grow: 1;
}

.info-col {
    padding: 16px;
    flex-basis: 250px;
    flex-grow: 1;
}

.info-col header {
    font-size: 12pt;
    font-weight: 900;
}

.info-col a {
    display: block;
    text-decoration: none;
}

.theme-background-alternate {
    background-color: var(--theme-bg-alternate);
}

.theme-background {
    background-color: var(--theme-bg);
}

.btn-primary {
    background-color: var(--primary-bg);
    color: white;
}

.bg-primary {
    background-color: var(--primary-bg);
}

.text-center {
    text-align: center;
}


:invalid:not(form):not(button) {
    border-bottom: 3px solid red;
}

:valid:not(form):not(button) {
    border-bottom: 3px solid greenyellow;
}

.text-extra-bold {
    font-weight: 900 !important;
}

.myLogo {
    max-width: 100%;
    width: 4cm;
    color: white;
    padding: 4mm;
}

@media (max-width:991px) {
    .myLogo {
        height: 0.8cm;
        width: auto;
        padding: 0;
        margin: 1px;
    }
}

.footer_primary {
    clear: both;
    width: 100%;
    display: block;
    background-color: var(--accent);
    border-top-color: var(--accent);
    border-top-width: 0.1cm;
    border-bottom-width: 0.1cm;
    border-top-style: solid;
    border-bottom-color: var(--accent);
    border-bottom-style: solid;
    text-align: center;
    font-size: small;
    color: white;
}

.footer_second {
    text-align: center;
}

html,
body,
input,
textarea,
select,
.bg-dyn,
button:not(.w3-btn) {
    background-color: var(--bg-dyn) !important;
    color: var(--text-color);
    font-family: 'Roboto', 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}

.extra-side-padding-32 {
    padding-left: 32px;
    padding-right: 32px;
}

.extra-side-padding-64 {
    padding-left: 64px;
    padding-right: 64px;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.main-content {
    flex-grow: 1;
    padding-left: 64px;
    padding-right: 64px;
}

@media (max-width:991px) {
    .main-content {
        padding-left: 16px;
        padding-right: 16px;
    }
}

.small-icon {
    width: 32px;
    height: 32px;
}

body>header {
    position: sticky;
    top: 0;
    z-index: 1000;
}

.borealis-bg {
    background-image: url("/img/borealis.jpg");
    background-position-x: center;
    background-position-y: bottom;
    background-repeat: no-repeat;
    background-attachment: scroll;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}


tr.success {
    background-color: rgba(144, 238, 144, 0.26);
}

tr.warning {
    background-color: rgba(218, 238, 144, 0.26);
}

tr.danger {
    background-color: rgba(238, 144, 144, 0.26);
}

.article-short{
    height: 1.5cm;
    overflow: hidden;
    margin-bottom: 1cm;
}

details.glass-card:not([open]) summary.glass-card-header{
    border-radius:12px;
}

summary{
    user-select: none;
}

.mflex{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.mflexgrow{
    flex-grow: 1;
    width: auto;
}
.left-menu{
    max-height: 70vh;
    overflow-y: scroll;
}
.left-menu li::marker{
    content:""
}
.left-menu li{
    padding:8px;
    background:#00008b1a;
    backdrop-filter:blur(15px);
    border-radius:8px;
    border:1px solid black;
    margin:4px;
}
li a{
    display:block;
}

@media (max-width: 992px) {
    .w3-table td:not(:empty), .w3-table th:not(:empty){
        display:block!important
    }
    .w3-table td:empty, .w3-table th:empty{
        display:none!important
    }
    label.w3-mobile{
        display:block!important;
        width:100%!important;
    }
}
