/* (c) 2024--2026 Gerald Forster */

@charset "UTF-8";
@font-face {
  font-display: swap;
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 400;  /* Regular */
  src: url('/static/font/source-sans-3-v19-latin-regular.woff2') format('woff2');
}
@font-face {
  font-display: swap;
  font-family: 'Source Sans 3';
  font-style: italic;
  font-weight: 400;
  src: url('/static/font/source-sans-3-v19-latin-italic.woff2') format('woff2');
}
@font-face {
  font-display: swap;
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 600;
  src: url('/static/font/source-sans-3-v19-latin-600.woff2') format('woff2');}
@font-face {
  font-display: swap;
  font-family: 'Source Sans 3';
  font-style: italic;
  font-weight: 600;
  src: url('/static/font/source-sans-3-v19-latin-600italic.woff2') format('woff2');
}

:root {
    margin: 0;
    padding: 0;
    margin-block-start: 0;
    margin-block-end: 0;
    font-size: 18px;
    --input-font-size:  1rem;
    --label-font-size:  .92rem;
    --button-font-size: .9rem;
    --footer-font-size: .78rem;
    font-weight: 400;  /* regular */
    --distv: .5rem;
    /* --disth: 1rem; */
    --disth: .6rem;  /* s. a. large.css */
    --label-width: 8rem;
    --label-margin-r: .4rem;
    --input-width-default: 12rem;

    /* Colors */
    /* --table-border-color: rgb(156 163 175); */
    /* --link-text-color: rgb(30, 64, 175); */
    --link-text-color: oklch(42.4% 0.199 265.638);  /* Blue 800 */
    --link-hover-bg-color: rgb(243 244 246);

    --button-border-color: oklch(37.2% 0.044 257.287);  /* Slate 700 */
    --prim-button-color: oklch(42.4% 0.199 265.638);  /* Blue 800 */
    --prim-button-active-color: oklch(48.8% 0.243 264.376);  /* Blue 700 */
    --prim-button-text-color: white;
    --sec-button-color: oklch(92.9% 0.013 255.508);  /* Slate 200 */
    --sec-button-active-color: oklch(96.8% 0.007 247.896);  /* Slate 100 */
    --sec-button-text-color: oklch(37.2% 0.044 257.287);  /* Slate 700 */
    
    --cloud-icon-color: oklch(62.3% 0.214 259.815); /* = #2b7fff -- Blue 500 */

    --button-text-color: rgb(30 64 175);  /* Deprecated */
    --button-bg-color: #ededed;  /* Deprecated */
    --bg-data-changed: rgb(254 249 195);

    --success-color: oklch(44.8% 0.119 151.328);  /* Green 800 */
    --error-color: oklch(44.4% 0.177 26.899);  /* Red 800 */
    --warning-color: oklch(64.6% 0.222 41.116); /* Orange 600 */
    --disabled-color: #999;
}
body {
    margin: 0;  /* mask browser stylesheets */
    padding: 0;
    font-family: 'Source Sans 3', sans-serif;
}
header {
    display: flex;
    justify-content: space-between;
    /* justify-content: start; */
    /* padding: .4rem var(--disth); */
    /* padding: .5rem 1.2rem .1rem 1.2rem; */
    padding-top: 4px;
    padding-bottom: 4px;
    padding-left: 1.2rem;
    padding-right: 1.2rem;
    border-bottom: 1px solid #ddd;
}
/* s. a. large.css */
div.header-cell-img {
    padding: 5px 0 0 0;
}
div.header-cell-text {
    /* margin-right: 1rem; */
    padding: 5px 0 0 0;
}
footer {
    border-top: 1px solid #ddd;
    padding: var(--distv) var(--disth) var(--distv) var(--disth);
    font-size: var(--footer-font-size);
    color: #444;
}
section {
    padding-left: var(--disth);
    padding-right: var(--disth);
    padding-bottom: 1rem;
}
div {
    margin: 0;
    padding: 0;
}
div, p {
    line-height: 120%;
}
p, ul, form, table {
    margin: var(--distv) 0;
}
p, ul {
    max-width: 50rem;
}
h1, h2, h3 {
    font-family: "Source Sans 3", sans-serif;
    font-weight: 600;
    color: #666;
    line-height: 120%;
}
h1 {
    font-size: 26px;
    margin-top: 1rem;
    margin-bottom: 1.2rem;
}
h2 {
    font-size: 22px;
    margin-top: 1.3rem;
    margin-bottom: .3rem;
}
h3 {
    font-size: 18px;
    margin-top: 1.3rem;
    margin-bottom: .2rem;
}
ul {
    padding: 0 0 0 1.2rem;
}
li {
    margin-top: .05rem;
    line-height: 110%;
}

/* Links */
a:link, a:visited, a:hover, a:active {
    color: var(--link-text-color);
    text-decoration: none;
}
a:hover, a:active {
    text-decoration: underline;
    background: var(--link-hover-bg-color);
}
a[href^="http://"]:after,
a[href^="https://"]:after {
    content: url(/static/img/external-link.svg);
    margin-left: 3px;
    vertical-align: -5%;
}
a.nav-link {
    padding: 0 .05rem;
}
a.current {
    text-decoration: underline;
    /* color: var(--link-hover-bg-color);
    background: var(--link-text-color); */
}

/* Tables */
table {
    border-collapse: collapse;
}
td, th {
    border: 1px solid #aaa;
    font-weight: 400;  /* regular */
    padding: .05rem .3rem;
    text-align: left;
}
th {
    font-size: var(--label-font-size);
    background: #fafafa;
}

div.date-block {
    margin: 1rem 0; 
    color: #666; 
    font-size: var(--footer-font-size);
}
div.edit-update-info {
    padding-top: var(--distv);
    padding-bottom: 1rem;
    padding-left:  var(--disth);
    padding-right: var(--disth);
    font-size: var(--label-font-size);
}
div.delete {
    padding-left: var(--disth);
}
.info {
    color: #111;
    background-color: #f2f2f2;
}
.error {
    color: var(--error-color);
    background-color: #f2f2f2;
}
.success {
    color: var(--success-color);
    background-color: #f2f2f2;
}
.hor-left {
    text-align: left;
}
.hor-right {
    text-align: right;
}
.hor-center {
    text-align: center;
}
.data-changed {
    background-color: var(--bg-data-changed);
}
.regular {
    color: black;
}
.unobtrusive {
    color:#999;
}
.highlighted {
    background-color: #ddd;
}
.center {
    text-align: center;
}
.left {
    text-align: left;
}
.right {
    text-align: right;
}
div.photo-div {
    margin-top: 10px;
    margin-bottom: 5px;
}
img.photo-img {
    /* width: 100%; */
    width: 312px;
    height: 288px;
}
