/*

variables

*/

:root {
    --aside-color: #FAF9F6;
    --toc-color: #fae2bb;
    --light-txt-color: #5c5c5c;
    --main-txt-color: #333;
    --red: #993333;
    --off-white: #FAF9F6;
    --main-font: 'Sorts Mill Goudy', serif, Georgia;
    --header-font: 'Open Sans', sans-serif;
}

/*

index.html

*/

html {
    font-size: calc(12px + 0.390625vw);
    color: var(--main-txt-color);
}

body {
    width: 100%;
    margin: 0;
    padding: 0;
    font-family: var(--main-font);
    font-weight: 300;
}
body#index_bg {
    background-image: url('../img/tl1661.jpg');
    background-size: cover;
    background-attachment: fixed;
    display: flex;
    flex-direction: column;
    align-items: center;
}
#index_menu {
    position: fixed;
    display: flex;
    justify-content: center;
    gap: 1em;
    background-color: white;
    border-radius: 0 0 5px 5px;
    padding: 2em 1em 1em 1em;
    box-shadow: 0 0 5px #333;
    z-index: 10;
}
.index_menu_item {
    font-family: var(--header-font);
    font-weight: bold;
    font-size: 1.5em;
    cursor: pointer;
}

#contact {
    position: absolute;
    top: 0;
    left: 0; 
    right: 0; 
    margin-inline: auto; 
    width: fit-content;
    font-family: var(--header-font);
    color: var(--red);
}

header {
    width: 100%;
    height: 100vh;
}

section.index {
    width: 100%;
    min-height: 100vh;
    margin-top: 20vh;
    margin-bottom: 30vh;
    scroll-margin: 6em;
}

article.index {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2em;
    font-size: 1.5rem;
    line-height: 1.6;
}
@media (max-width: 800px) {
    article.index {
        gap: 1.5em;
    }
}

.ancestors {
    padding: 0 1em;
}
ul.ancestors li {
    display: inline-block;
    padding: 0 0.5em;
    background-color: white;
    border-radius: 3px;
    font-size: 1rem;
    text-align: center;
    margin: 0 0.2em;
    cursor: pointer;
    outline: 1px solid #333;
}
ul.tabs li.selected_tab {
    background-color: var(--red);
    color: white;
}
#ancestor {
    max-width: 60%;
}
@media (max-width: 800px) {
    #ancestor {
        max-width: 90%;
    }
}
.ancestor_stats {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.5em;
    background-color: white;
    font-size: 1.5rem;
    padding: 1em;
    outline: 1px solid #333;
    border-radius: 5px;
}
.ancestor_block {
    display: flex;
    gap: 1em;
}
@media (max-width: 1280px) {
    .ancestor_stats {
        padding: 0.75em;
    }
    .ancestor_block {
        flex-direction: column;
        gap: 0.5em;
    }
}
.ancestor_img {
    display: flex;
    justify-content: center;
    align-items: center;
}
.frame {
    height: fit-content;
    width: fit-content;
    outline: 1px solid #333;
    padding: 2px;
}
.ancestor_img > .frame > img {
    display: block;
    height: 8.5rem;
    width: 8rem;
    padding: 0;
    margin: 0;
}
.ancestor_ancestry, .ancestor_parishes {
    text-align: center;
}

.areas {
    padding: 0 1em;
}
ul.areas li {
    display: inline-block;
    padding: 0.5em;
    background-color: white;
    border-radius: 3px;
    text-align: center;
    margin: 0 0.2em;
    cursor: pointer;
    outline: 1px solid #333;
}

.area {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1em;
}
@media (max-width: 800px) {
    .area {
        width: 90%;
    }
}
.index_item {
    width: 100%;
    background-color: white;
    outline: 1px solid #333;
    border-radius: 5px;
    padding: 1em;
    text-align: left;
    cursor: pointer;
    position: relative;
}

/*
    Content
*/

nav #side_menu_container {
    position: fixed;
    z-index: 10;
    right: 0;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    right: -8em;
    transition: right 0.5s;
}
nav #side_menu {
    background-color: rgba(255,255,255,0.7);
    display: flex;
    justify-content: center;
    align-items: start;
    flex-direction: column;
    gap: 1em;
    padding: 0.5em;
    cursor: pointer;
    font-size: 1.2em;
    font-family: var(--header-font);
    font-weight: bold;
    border-radius: 5px 0 0 5px;
    outline: 1px solid var(--main-txt-color);
}
body:has(#side_menu:hover) #side_menu_container {
    right: 0;
}
nav .side_menu_item:hover {
    color: var(--red);
}

header#content_header {
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 1.1rem;
}
.header_img {
    width: 100%;
    height: 100%;
    background-size: cover;
    margin-bottom: 0.15em;
    display: flex;
    justify-content: center;
    align-items: start;
}
.title {
    width: 60%;
    background-color: rgba(255,255,255,0.9);
}
@media (min-width: 800px) and (max-width: 1280px) { 
    .title {
        width: 80%;
    }
}
@media (max-width: 800px) { 
    .title {
        width: 100%;
    }
}
/* Anor */
#utby { background-image: url('../img/utby1710.jpg');}
#karkebo { background-image: url('../img/karkebo1727.jpg');}
#ulriksdal1776 { background-image: url('../img/ulriksdal1776.jpg');}
#fallhult { background-image: url('../img/fallhult1785.jpg');}
#osterby { background-image: url('../img/osterby1687.jpg');}
/* Avskrifter */
#jdbk { background-image: url('../img/jb1684-2.jpg');}
#revning { background-image: url('../img/revning1670.jpg');}
#orsa_kompani1708 { background-image: url('../img/orsa_kompani1708.png');}
#solna_kyrkogard { background-image: url('../img/solna_kyrkogard.jpg');}
/* Databaser */
#schallrot { background-image: url('../img/schallroth.png');}
/* Utredningar */
#ulriksdal1709 { background-image: url('../img/ulriksdal1709.jpg');}
#karlberg { background-image: url('../img/karlberg1708.jpg');}
#gardsnamn { background-image: url('../img/tl1661_gardsnamn.jpg');}
#korpral { background-image: url('../img/orsa_kompani1695.jpg');}

.content_grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto;
    grid-template-areas: 
    'toc main main docs'
    'toc wide wide wide';
    font-size: 1.5rem;
    padding-top: 1em;
}
.content_flex {
    width: 100%;
    display: flex;
    font-size: 1.5rem;
}
@media (max-width: 1280px) { 
    .content_flex {
        flex-direction: column;
    }
}

aside#table_of_contents {
    height: 100vh;
    position: sticky;
    top: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0.5em 1em;
    grid-area: toc;
    /*background-image: url('../img/toc_bg.png');
    background-size: cover;
    box-shadow: 0 0 5px #333;*/
}
@media (min-width: 800px) and (max-width: 1280px) {
    .content_grid {
        grid-template-columns: repeat(3, 1fr);
        grid-template-areas: 
        'toc main main'
        'toc wide wide';
    }
}
@media (max-width: 800px) {
    .content_grid {
        grid-template-columns: repeat(1, 1fr);
        grid-template-areas: 
        'main';
    }
    aside#table_of_contents {
        display: none;
    }
}
#toc {
    font-size: 0.9em;
    padding: 0.4em 0.6em 0.3em 0;
    color: var(--light-txt-color);
    /*background-color: rgba(253,225,174,0.8);
    border-radius: 5px;*/
}
.toc_item {
    border-left: 0.2em solid transparent;
    padding-left: 0.5em;
    cursor: pointer;
}
.active {
    border-left: 0.2em solid var(--red);
    color: var(--red);
}


article.content {
    text-align: left;
    padding: 0 1.5em;
    line-height: 1.6;
    grid-area: main;
}
.anlista > a {
    color: var(--red);
}

section.item {
    scroll-margin: 1.5em;
    margin-bottom: 2em;
}

aside.documents {
    position: relative;
    text-align: center;
    font-size: 0.9em;
    color: var(--light-txt-color);
    grid-area: docs;
}
@media (min-width: 800px) and (max-width: 1280px) {
    aside.documents {
        display: none;
    }
}
aside.documents img {
    width: 100%;
    padding: 2px;
    border: 1px solid var(--main-txt-color);
}
.doc {
    display: inline-block;
}
.inserted_doc {
    position: absolute;
    padding: 0 2em;
}
@media (max-width: 1280px) {
    .inserted_doc {
        display: none;
    }
}

.flex_gardsnamn {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5em;
    justify-content: space-evenly;
    text-align: center;
}
.flex_gardsnamn > div {
    padding: 0.2em;
    border: 1px solid var(--main-txt-color);
    border-radius: 5px;
}
.flex_gardsnamn > div > h2 {
    line-height: 0;
    color: var(--red);
}

.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1em;
}

/* Plots */
.plots {
    text-align: center;
    grid-area: wide;
}
.db-plots {
    width: 100%;
    text-align: center;
}
@media (max-width: 1280px) {
    .plots, .db-plots {
        display: none;
    }
}
.plot_txt {
    padding: 0 5em;
    text-align: left;
    line-height: 1.6;
}

.line {
    stroke-width: 0.2em;
}
.gridline, .thin_gridline {
    stroke: #b5b5b5;
}
.gridline {
    stroke-width: 0.05em;
}
.thin_gridline {
    stroke-width: 0.02em;
}
.positive_bar {
    fill: var(--red);
}
.negative_bar {
    fill: var(--main-txt-color);
}
.axis, .tick {
    stroke: #333;
    stroke-width: 0.2em;
}
.tick_txt {
    font-size: 1.3em;
    stroke-width: 0.05em;
}
.axis_label {
    font-size: 0.9em;
}

.legend {
    background-color: var(--aside-color);
    border-radius: 5px;
    font-size: 0.8em;
    text-align: left;
    padding: 0.3em;
}

/* Family trees / Stamtavlor */
aside#info {
    position: sticky;
    top: 0;
    width: 25%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: var(--aside-color);
    color: var(--main-txt-color);
    padding: 0 1em;
    font-size: 0.9em;
}
aside#info > h2 {
    line-height: 0;
}

#pedigree_container {
    width: 75%;
    display: flex;
    flex-direction: column;
}
@media (max-width: 1280px) {
    aside#info, #pedigree_container {
        width: 100%;
    }
    aside#info {
        position: static;
        padding: 0;
        text-align: center;
    }
    aside#info > p {
        padding: 0 1em;
    }
}
#pedigree {
    width: 100%;
    background-image: url('../img/schallroth.png');
    background-size: cover;
    background-attachment: fixed;
    overflow-x: scroll;
    font-size: 0.9em;
}
#pedigree ul {
    list-style-type: none;
    margin-left: 1.4em;
}

#pedigree .first::after {
    display: none;
}
#pedigree ul.first {
    margin-left: -1.6em;
}
#pedigree li {
    padding-top: 1em;
    position: relative;
    margin: 0;
    border-left: 0.2em solid var(--red);
}
#pedigree li.dashed-left {
    border-left: 0.2em dashed var(--red);
}
#pedigree li::before, #pedigree li.dashed-bottom::before {
    content: '';
    width: 2em;
    position: absolute;
    top: 2em;
    left: 0;
    z-index: 5;
}
#pedigree li::before {
    border-bottom: 0.2em solid var(--red);
}
#pedigree li.dashed-bottom::before {
    border-bottom: 0.2em dashed var(--red);
}
#pedigree li:first-of-type {
    margin: 0;
}
#pedigree li:last-child {
    border-left: none;
}
#pedigree li:only-child::after, #pedigree li:last-child::after {
    content: '';
    border-left: 0.2em solid var(--red);
    height: 2em;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 5;
}
#pedigree li.dashed-left:only-child::after, #pedigree li.dashed-left:last-child::after {
    content: '';
    border-left: 0.2em dashed var(--red);
    height: 2em;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 5;
}
#pedigree li > p {
    width: fit-content;
    max-width: 35vw;
    padding: 0.5em;
    background-color: var(--aside-color);
    border-radius: 5px;
    margin: 0 0 0 2em;
    box-shadow: 0 0 5px #333;
}
#pedigree_sources {
    background-color: var(--aside-color);
    border-left: 0.2em solid white;
    padding: 1em 4em;
}

.pedigree_source {
    font-size: 0.85em;
}

@media (max-width: 1280px) { 
    #pedigree li > p {
        max-width: none;
        width: 60vw;
    }
    #pedigree_sources {
        padding: 1em 0.5em;
    }
}

/* Sources */
	
#source-notes li {
	margin: 0px 0px 0px -10px;
	text-indent: -35px;
	list-style: none;
    text-align: left;
}	
.source-note {
	display: none;
}		
.references {
	margin: 0px 0px 0px 0px;
}
.references li {
	margin: 0px 0px 10px -20px;
	text-indent: -20px;
	list-style: none;
}	
.ref { 
	color: var(--light-txt-color);
	font-family: var(--main-font);
	font-weight: bold;
    font-size: 0.8em;
}
.ref a{ 
	color: var(--red); 
}

/* Modal */

.modal {
    width: 70%;
    height: 100vh;
    outline: 0;
    border: 0;
    padding: 0;
}
#menu_modal {
    width: 100%;
}
.modal::backdrop {
    background-color: rgba(0,0,0,0.7);
}
.modal a {
    outline: 0;
}

#menu_modal, #mail_modal {
    background-color: transparent;
}
.modal_flex {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#doc_modal {
    background-color: var(--aside-color);
    box-shadow: 0 0 5px #333;
}
#doc_modal img {
    width: 100%;
}
.open_modal, .close_modal, .open_doc, .close_doc, .img_up, .img_down {
    cursor: pointer;
}
.close_doc {
    position: absolute;
    top: 0.3em;
    left: 0.3em;
    font-size: 1.3em;
    padding-right: 0.3em;
    border-right: 0.1em solid white;
}
.close_modal {
    position: absolute;
    top: 0.3em;
    left: 0.3em;
    font-size: 2em;
    color: white;
}

nav#doc_nav {
    width: 100%;
    height: auto;
    position: sticky;
    top: 0;
    z-index: 15;
    font-size: 1.2em;
    font-family: 'Sorts Mill Goudy', serif;
    background-color: #333;
    color: white;
    padding: 0.2em 0;
    box-shadow: 0 0 5px #333;
    display: flex;
    flex-direction: column;
    text-align: center;
}
#doc_ctrls {
    width: 100%;
    display: flex;
    justify-content: space-around;
    font-size: 1.5em;
}

/*
    Tables
*/

.solna table { 
    border-collapse: collapse; 
    border-spacing: 0px;
}
.solna tbody td:first-child { 
    text-align: center;
}
.solna tbody td { 
    padding-top: 30px;
}
.solna tbody td:nth-of-type(2) { 
    padding-left: 10px;
    text-align: center;	
}
.solna tbody td:nth-of-type(3) { 
    padding-left: 10px; 
}
.w50 {
    float: left;
    width: 50%;
}

table.revning { 
    border-spacing:0; 
    margin: 0 auto; 
    text-align: center; 
    font-weight: normal;
}
.revning th { 
    font-weight: normal; 
    padding: 5px; 
}
.revning th:first-child { 
    text-align: left; 
}
.revning td:first-child { 
    padding: 2px; 
    text-align: left; 
}
.revning .first {  
    color: var(--red); 
}
.revning td:nth-of-type(4) { 
    border-right: 3px solid var(--red); 
}
.revning .bend-up {
	border-radius: 0px 20px 0px 0px;
 }
.revning .bend-down {
	border-radius: 0px 0px 20px 0px;
}
.revning .bend {
	border-radius: 0px 20px 20px 0px;
}
.jordebok td { 
    text-align: left; 
    border-left: 5px double #444;
    padding: 0px 20px 0px 20px; 
}
.jordebok td:first-child { 
    padding: 0px 20px 0px 20px; 
}
.jordebok .indent { 
    text-indent: 20px; 
}

.kompani table { 
    border-collapse: collapse; 
    border-spacing: 0px;
}
.kompani thead th { 
    font-weight: normal;
    font-size: 1.2em;
}
.kompani tbody td:first-child { 
    text-align: center;
}
.kompani tbody td { 
    border-left: 1px solid black; 
    margin: 0px; 
}
.kompani tbody tr { 
    margin: 0px;
}
.kompani tbody td:nth-of-type(2) { 
    padding-left: 10px;
}
.kompani tbody td:nth-of-type(3) { 
    padding-left: 10px;
}

/*
    Databases
*/

.database {
    grid-area: wide;
    padding: 0 2.5em 0 2em;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#database_flex {
    display: flex;
    width: 100%;
    font-size: 1.3rem;
}
#db-search {
    width: 25%;
    height: 100vh;
    padding: 0 0.5em;
    display: flex;
    flex-direction: column;
    align-content: center;
    justify-content: flex-start;
    background-image: url('../img/toc_bg.png');
    background-size: cover;
    box-shadow: 0 0 5px #333;
    text-align: center;
    position: sticky;
    top: 0;
}
#db-nav {
    width: 100%;
    display: flex;
    justify-content: space-evenly;
    background-color: rgba(253,225,174,0.8);
    padding: 0.25em;
}
.db-nav-item {
    cursor: pointer;
    line-height: 0.5em;
}
.current-db-nav {
    color: var(--red);
}

.input_container {
    padding: 0.25em;
    border-radius: 5px;
    background-color: rgba(253,225,174,0.8);
    text-align: left;
    font-size: 0.9em;
    margin: 0 auto;
}
.input_table td {
    padding: 0.1em;
}
.input_table td:first-of-type {
    text-align: right;
}
input {
    color: #333;
    width: 80%;
    font-size: 0.9em;
    border-radius: 5px;
    border: 1px solid #333;
    font-family: 'Sorts Mill Goudy', serif;
    background-color: rgba(255,255,255,0.7);
}
select {
    font-size: 0.9em;
    color: #333;
    border-radius: 5px;
    border: 1px solid #333;
    font-family: 'Sorts Mill Goudy', serif;
    background-color: rgba(255,255,255,0.7);
}
.db-btn {
    background-color: var(--red);
    color: white;
    cursor: pointer;
}
.clear-search, .clear-search-balinge {
    border: 1px solid #333;
    border-radius: 5px;
    cursor: pointer;
    text-align: center;
}

#db-container {
    width: 75%;
    padding: 1em 2em 1em 1em;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    line-height: 1.6;
}
.db-content {
    display: none;
}

.db-info {
    width: 70%;
}
.record-info {
    list-style-type: none;
    font-size: 0.9em;
}

.db-stats {
    width: 100%;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2em;
}

.db-bg {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1em;
    flex-wrap: wrap;
    padding: 0.5em;
    border-radius: 5px;
    border: 1px solid var(--main-txt-color);
}

#database_output {
    width: 100%;
	font-family: 'Sorts Mill Goudy', serif;
	color: #333;
	text-align: left;
	border-collapse: collapse;
}
#database_output thead {
	font-family: 'Open Sans', sans-serif, Georgia;
	text-align: center;
    font-size: 0.8em;
}
#database_output thead th:nth-of-type(1), #database_output thead th:nth-of-type(2), #database_output thead th:nth-of-type(3), #database_output thead th:nth-of-type(4) {
	cursor: pointer;
    padding: 5px;
}
#database_output tbody tr:nth-child(2n) {
	background-color: var(--aside-color);
}
#database_output tbody td {
	padding: 5px;
	vertical-align: top;
	line-height: 120%;
}
#database_output tbody td:nth-of-type(4), #database_output tbody td:nth-of-type(5) {
	padding-left: 15px;
}
#database_output tbody td:nth-of-type(1), #database_output tbody td:nth-of-type(2), #database_output tbody td:nth-of-type(3) {
	font-family: 'Open Sans', sans-serif, Georgia;
	color: var(--red);
	font-weight: bold;
	font-size: 0.7em;
}
#database_output tbody td:nth-of-type(5) {
	color: var(--red);
	font-size: 1.4em;
	text-align: center;
}
#database_output img {
	height: auto !important;
	width: 4vw;
}

.db-src {
	font-size: 0.8em;
}
#warning, #db-posts {
    padding: 1em 0;
	font-size: 1em;
	text-align: center;
}
.db-img {
    cursor: pointer;
}

.database_statistics th {
    color: var(--red);
    font-weight: normal;
    font-size: 1.2em;
}
.database_statistics td { 
    padding: 0.25em 0.5em;
}
.database_statistics tr:nth-of-type(2n) {
    background-color: var(--aside-color);
}
.database_statistics td:first-of-type {
    font-family: 'Open Sans', sans-serif;
    font-weight: bold;
    color: var(--red);
    text-align: center;
}
.tithe {
	font-weight: bold;
    color: var(--main-txt-color);
	font-size: 0.7em;
	font-family: 'Open Sans', sans-serif, Georgia;
}
.fraction {
    display: inline-block;
    vertical-align: middle;
    text-align: center;
	font-size: 0.7em;
}
.fraction > span {
    display: block;
    line-height: 1;
}
.fraction > span.denominator {
    border-top: solid black;
    padding-top: 2px;
}

#normalize {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.norm-table {
	text-align: left;
	border-collapse: collapse;
}
.norm-table thead {
    text-align: center;
    font-size: 1.1em;
}
.norm-table thead th {
    font-weight: normal;
}
.norm-table tbody td {
	padding: 0.25em;
	vertical-align: baseline;
}
.norm-table tbody tr:nth-child(2n) {
	background-color: var(--aside-color);
}
.norm-table tbody td:nth-of-type(1) {
	text-align: right;
    border-right: 1px solid var(--main-txt-color);
}
.norm-table tbody td:nth-of-type(2) {
	font-style: italic;
}

@media (max-width: 800px) { 
    #database_flex {
        flex-direction: column;
    }
    #db-search, #db-container {
        width: 100%;
        position: static;
        padding: 0;
    }
    #db-nav {
        padding: 1em 0;
    }
}

/*
    Typography
*/

.h1-index {
    font-size: 3rem;
    line-height: 0;
    margin: 0.5em;
    font-weight: normal;
}
.h2-index {
    font-size: 2.5rem;
    font-weight: normal;
}

h1 {
    font-size: 3rem;
    font-family: var(--header-font);
    font-weight: bold;
}
h2 {
    font-size: 2rem;
    font-weight: normal;
}
h3 {
    font-size: 1.7rem;
    font-weight: normal;
}

@media (max-width: 800px) {
    .h1-index, h1 {
        font-size: 2.3rem;
    }
    .h2-index, h2 {
        font-size: 1.9rem;
    }
    h3 {
        font-size: 1.6rem;
    }
}

.first-letter {
    float: left;
    font-size: 3em;
    line-height: 0.85;
    padding: 0.1em 0.05em 0 0;
    color: var(--red);
}

.fs_0_6em {
    font-size: 0.6em;
}
.fs_0_7em {
    font-size: 0.7em;
}
.fs_0_8em {
    font-size: 0.8em;
}
.fs_0_9em {
    font-size: 0.9em;
}
.fs_1_2em {
    font-size: 1.2em;
}
.fs_1_3em {
    font-size: 1.3em;
}
.fs_1_5em {
    font-size: 1.5em;
}
.fs_2em {
    font-size: 2em;
}
.fs_3em {
    font-size: 3em;
}
.red {
    color: var(--red);
}
.black {
    color: var(--main-txt-color);
}
.gray {
    color: var(--light-txt-color);
}
.white {
    color: white;
}
.bg_off-white {
    background-color: var(--aside-color);
}
.bg_white {
    background-color: white;
}
.bg_black {
    background-color: #333;
}
.bg_beige {
    background-color: rgba(253,225,174,0.8);
}
.bg_red {
    background-color: var(--red);
}
.bg_green {
    background-color: green;
}
.bg_blue {
    background-color: blue;
}
.bg_yellowgreen {
    background-color: yellowgreen;
}
.bg_orange {
    background-color: orange;
}
.small {
    font-size: 0.7em;
}
.inline {
    display: inline-block;
}
.center {
    text-align: center;
}
.left {
    text-align: left;
}
.bold {
    font-weight: bold;
}
.open-sans {
    font-family: 'Open Sans', sans-serif;
}
.text-shadow {
    text-shadow: #333 0 0 2px;
}
.text-bg {
    display: inline-block;
    background-color: white;
    padding: 0.5em;
    box-shadow: 0 0 5px #333;
}
a, a:visited {
    text-decoration: none;
    color: inherit;
}
hr {
    border-top: 0.1em solid var(--red);
}

.dot {
    display: inline-block;
    width: 0.5em;
    height: 0.5em;
    border-radius: 50%;
}
.square {
    display: inline-block;
    width: 0.5em;
    height: 0.5em;
}



@media (max-width: 800px) {
    .rabbit {
        display: none;
    }
}