/*
Blue Sapphire #2E6171
Cadet #556F7A
Uranian Blue #A0D9F8
Imperial Red #F02D3A
Xiketic #0D0221
*/

html {
    height: 100%;
}

.sidebar details {
    padding-left: 1em;
}

details[disabled] {
    pointer-events: none;
    opacity: 0.5;
}

.sidebar p {
    padding: 2px;
    padding-left: 1em;
}

.sidebar a {
    background: inherit;
    text-decoration: inherit;
    border: none;
    border-radius: 0;
}

table {
    border-collapse: collapse;
    /* Ensures borders are shared between cells */
    /* Optional: Adjusts table width */
}

th,
td {
    border: 1px solid white;
    padding: 2px;
    text-align: center;
}

thead {
    background-color: #333;
}

body {
    min-height: 100%;
    color: white;
    background: #0D0221;
    font-family: 'Dosis', sans-serif;
    font-size: 1em;
    margin: 0;
}

h1 {
    padding: 10px;
    padding-left: 5px;
    padding-right: 5px;
    margin: 0px;
    font-style: oblique;
}

h2 {
    padding: 2px;
    padding-left: 10px;
    padding-right: 10px;
    margin: 0px;
    border-radius: 10px;
    border-width: 0;
    border-bottom: 1px solid #556F7A;
}

h3 {
    padding: 10px;
    padding-left: 20px;
    padding-right: 20px;
    margin: 0px;
}

p {
    margin: 0;
    padding: 10px;
    padding-left: 20px;
    padding-right: 20px;
    color: white;
}

ul {
    padding-top: 10px;
}

ul>ul {
    padding-top: 0px;
}

ol {
    padding-top: 10px;
}

li {
    color: white;
}

a {
    color: #A0D9F8;
    background: #2E6171;
    text-decoration: none;
    border: 1px solid #0D0221;
    padding: 5px;
    border-radius: 5px;
}


a:visited {
    background: #556F7A;
}

a:hover {
    background: #1b4653;
}

a:active {
    background: #08252e;
}

div {
    margin: 0px;
    padding: 0.1px;
    overflow: hidden;
}

.header {
    color: #A0D9F8;
    background: #2E6171;
    padding: 0px;
    padding-top: 10px;
    text-align: center;
}

.floating {
    margin: 10px;
    border-radius: 10px;
}

.outlined {
    color: inherit;
    background: inherit;
    margin: 10px;
    border: 1px solid #A0D9F8;
    border-radius: 10px;
}

.type1 {
    color: #A0D9F8;
    background: #0D0221;
}

.type1>h2 {
    border-color: #556F7A;
}

.type2 {
    color: #ffffff;
    background: #254e5a;
}

.type2>h1,
.type2>h2,
.type2>h3 {
    color: #A0D9F8;
}

.type2>h2 {
    border-color: #F02D3A;
}

.type2d {
    color: #ffffff;
    background: #1f4564;
}

.type2d>h1,
.type2d>h2,
.type2d>h3 {
    color: #A0D9F8;
}

.type2d>h2 {
    border-color: #F02D3A;
}

.type3 {
    color: white;
    background: #09537c;
}

.type3>h2 {
    border-color: #95b8c7;
}

.type3>p {
    color: white;
}

.typeE {
    color: #A0D9F8;
    background: #0D0221;
    border: 1px solid #F02D3A;
}

.typeE>h2 {
    border-color: #556F7A;
}

h2 {
    border-color: #2E6171;
}

.type2 .outlined>h2 {
    border-color: #F02D3A;
}

.type3>.outlined {
    border-color: #1d0941;
}

.comment {
    color: inherit;
    background: inherit;
    margin: 10px;
    border: 1px solid #A0D9F8;
    border-radius: 10px;
}

.date {
    margin-top: 3px;
}

.image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.small {
    display: inline;
    height: 1em;
}

.list {
    display: flex;
    flex: 1 1 auto;
    flex-flow: wrap;
    justify-content: center;
    padding: 0;
    margin: 0;
    --w: 400px;
}

.shrink {
    flex-wrap: nowrap;
    justify-content: left;
}

.list>div {
    flex: 1 1 var(--w);
}

.shrink>div {
    flex: 0 1 auto;
}

.sidebar {
    max-width: 15em;
    flex: inherit;
}

.grow {
    flex-grow: 1;
}

.centered {
    display: flex;
    justify-content: center;
}

.mana {
    flex-shrink: 1;
    max-width: 20%;
    padding: 0;
    padding-right: 7px;
}

.product {
    width: 240px;
    max-width: 240px;
}

.half {
    max-width: 50%;
}

.thumbnail {
    max-height: 240px;
}

form {
    margin: 10px;
    width: calc(100% - 20px);
    color: inherit;
    font-family: inherit;
}

form>* {
    color: white;
    background: #556F7A;
    padding: 5px;
    border: 1px solid #0D0221;
    border-radius: 5px;
    display: block;
}

form>textarea {
    box-sizing: border-box;
    width: calc(100%);
    height: 4em;
}

.flatform {
    display: flex;
}

.flatform input[type="number"] {
    width: 50%;
    box-sizing: border-box;
    /* Include padding and border in element's total width */
}

input[type="submit"]:hover {
    cursor: pointer;
    background: #1b4653;
}

ul {
    margin-top: 0;
}

@font-face {
    font-family: "Gentium Book Basic";
    src: url("/font/gentium-book-basic.regular.ttf");
}

.western {
    font-family: "Gentium Book Basic";
    max-width: 512px;
    text-indent: 32px;
}

.dropdown {
    flex: 0 auto !important;
    cursor: default;
}

.dropdown>a {
    display: block;
}

.dropdown-content {
    display: none;
    position: absolute;
    z-index: 1;
}

.dropdown-content a {
    text-decoration: none;
    display: block;
}

.dropdown:hover .dropdown-content {
    display: block;
}

/*
ol {
    counter-reset: section;
    /* Creates a new instance of the
                             section counter with each ol
                             element
    list-style-type: none;
}

li::before {
    counter-increment: section;
    /* Increments only this instance
                                            of the section counter
    content: counters(section, ".") " ";
    /* Combines the values of all instances
                                          of the section counter, separated
                                          by a period
}
*/