:root {
    font-size: 20px; /* 16px original design || 20px new big thoma design */
}

html {
    margin: 0;
    padding: 0;

    font-family: var(--font-content);
    line-height: 1.15;

    min-height: 100vh;
}

body {
    margin: 0;
    padding: 0;

    min-height: 100vh;
}

#root {
    display: flex;
    flex-direction: column;
    position: relative;

    color: var(--col-base-foreground);
    background-color: var(--col-base-background);

    min-height: 100vh;
}

main {
    display: flex;
    justify-content: flex-start;
    flex-direction: column;
    align-items: stretch;

    flex-grow: 1;
    
    line-height: 1.4;

    width: calc(100% - 96px);

    margin: 64px auto 0 auto;

    /*background-color: #888;*/
}

main.nostretch {
    width: var(--content-width);
    max-width: 100%; 
}

main.any_child_is_fullsize {
    height: 0;
    width: 0;
    overflow: hidden;
}

@media only screen and (max-width: 60rem) { /* < 960px */
    main.nostretch { width: calc(100% - 2rem); }
}

@media only screen and (max-width: 45rem) {  /* 720px */
    main.nostretch{ padding-top: 0; }
}

.responsive-row-3 {
    display: flex;
    flex-direction: row;
    justify-content: stretch;
}

@media only screen and (max-width: 60rem) { /* < 960px */
    .responsive-row-3 { flex-direction: column; }
    .responsive-row-3 > *  { width: unset; }
}

.responsive-row-3-flow {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
}

@media only screen and (max-width: 60rem) { /* < 960px */
    .responsive-row-3-flow { grid-template-columns: 1fr 1fr; }
}

@media only screen and (max-width: 30rem) { /* < 480px */
    .responsive-row-3-flow { grid-template-columns: 1fr; }
}

.responsive-buttonrow-3-flow {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
}

@media only screen and (max-width: 60rem) { /* < 960px */
    .responsive-buttonrow-3-flow { grid-template-columns: 1fr; }
}

#segment_pad {
    flex-grow: 1;
}

h1 {
    text-align: center;
    margin-bottom: 0;
}

.h1_subtext {
    text-align: center;
    width: 75%;
    margin: 0 auto;
    opacity: 0.8;
}

h2 {
    text-align: left;
    margin-bottom: 0;
    margin-top: 0;
}

.h2_subtext {
    text-align: left;
    margin: 0 auto;
    opacity: 0.8;
}

.site_header {
    margin-bottom: 1.5rem;
}

.site_header h1
{
    font-family: var(--font-header);
    font-size: 2rem;
    font-weight:900;
    margin-bottom:0;
    text-align: left;
}

.site_header hr
{
    margin: 0 0 0.5rem 0;
    display:block;
    border:0;
    color:white;
    height:1px;
    background-color:#CCCCCCFF;
    background:-moz-linear-gradient(left,#888888FF,#FFFFFF00);
    background:-webkit-linear-gradient(left,#888888FF 0,#FFFFFF00 100%);
}

.site_header .subheader {
    text-align: left;
    margin: 0 auto;
    opacity: 0.8;
    
    white-space: pre-wrap;
}

.toast-top-right, .toast-top-left, .toast-top-center {
    top: 58px; /* calc(46px + 12px); */ /* additional pad for header */
}

#toast-container > div {
    min-width: 300px;
    max-width: 600px;
    width: auto;
}

.img_viewer {
    cursor: zoom-in;
}