@media only screen and (max-width: 800px)
and (orientation: landscape) {
    .site-wrapper {
        padding-top: 3em;
    }
}

#blog-section {
    overflow-x: hidden !important;
}

.card-stats-item {
    font-weight: 600; 
    color:#F1F1F1;
}

#wiki-megacity-bg {
    background-image: url('img/megacity-01.webp');
    background-position: top center;
    background-size: cover;
}

#wiki-xomtek-bg {
    background-image: url('img/xomtek_bg.webp');
    background-position: top center;
    background-size: cover;
}

#wiki-splice-bg {
    background-image: url('img/splice/splice_bg.webp');
    background-position: top center;
    background-size: cover;
}

#wiki-xmega-bg {
    background-image: url('img/xmega_value_low-security.webp');
    background-position: center center;
    background-size: cover;
}

#wiki-erebus-bg {
    background-image: url('../img/erebus-bg.jpg');
    background-size: auto 200%;
    background-position: 60% 20%;
}

#wiki-baron-bg {
    background-image: url('../img/abaddon-bg.webp');
    background-size: 100% auto;
    background-position: center center;
    filter: hue-rotate(100deg);
}

#wiki-alatus-bg {
    background-image: url('../img/alatus-bg.jpg');
    background-size: 110% auto;
    background-position: center top;
}

#wiki-osirus-bg {
    background-image: url('../img/osirus_bg.png');
    background-size: auto 150%;
    background-position: right 0%;
}

#wiki-aurora-bg {
    background-image: url('../img/aurora-banner_star.webp');
    background-size: auto 150%;
    background-position: right 0%;
}

#wiki-ronin-bg {
    /* background-image: url('../img/cards/ronin/ronin-bg-b.png') !important; */
    background-image: url('../img/cards/ronin/ronin-bg.webp');
    /* background-size: auto auto; */
    /* background-position: center center; */
    background-position: center center;
    background-position: center 25%;
    filter: hue-rotate(30deg) brightness(200%) contrast(110%);
    /* filter: hue-rotate(150deg) brightness(200%) contrast(110%); */
    /* filter: hue-rotate(210deg) brightness(200%) contrast(110%); */
}

#wiki-ooxooku-bg {
    background-image: url('../img/bgs/Jungle_1.jpg');
    background-size: auto 100%;
    background-position: center 65%;
    filter: hue-rotate(56deg) brightness(200%) contrast(110%);
}

#wiki-mephisto-bg {
    background-image: url('../img/bgs/chess.webp');
    background-size: 100% auto;
    background-position: center 60%;
    filter: hue-rotate(56deg) brightness(200%) contrast(110%);
}

#wiki-aeomir-bg {
    /* 2 */
    background-image: url('../img/aeomir_asgaard_tundra.webp');
    /* background-image: url('../img/bgs/Tundra_2.jpg'); */
    background-size: cover;
    background-position: -50% 65%;
    filter: hue-rotate(0deg) brightness(200%) contrast(110%);
}

#wiki-xamash-bg {
    background-image: url('img/rhymestheim.webp');
    background-size: 110% auto;
    background-position: left top;
    filter: hue-rotate(0deg) brightness(200%) contrast(110%);
}

#wiki-hypertron-bg {
    background-image: url('../img/star-banner.webp');
    background-size: cover;
    background-position: center 65%;
    filter: hue-rotate(100deg) brightness(300%) contrast(120%);
}

#wiki-home-title {
    max-width: 100%;
    padding: 0 2em;
}

#herocontentbar-2 {
    padding-top: 3em;
}

.dual-column {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
}
    .dual-column > div {
        width: 48%;
    }

@media only screen and (max-width: 1200px) {
    #wiki-alatus-bg {
        background-size: auto 100%;
        background-position: center top;
    }
    #wiki-aurora-bg {
        background-position: 45% 0%;
    }
    #wiki-baron-bg {
        background-size: 120% auto !important;
    }
    #herocontentbar_content {
        padding-top: 14.4em;
    }
    #wiki-mephisto-bg {
        background-size: 200% auto;
    }
}

@media only screen and (max-width: 950px) {
    #wiki-xamash-bg {
        background-size: 150% auto;
        background-position: center top;
    }
}
@media only screen and (max-width: 550px) {
    #wiki-xamash-bg {
        background-size: 200% auto;
        background-position: center bottom;
    }
}
@media only screen and (max-width: 350px) {
    #wiki-xamash-bg {
        background-size: 250% auto;
        background-position: center bottom;
    }
}

#wiki-main-overview-container {
    text-align: left;
    height: auto;
    padding-left: 0;
}

#wiki-main-promo-container {
    display: flex;
    justify-content: center;
    margin: 1em auto;
    width: 100%;
}
    #wiki-main-promo-container > div {
        border-radius: 0.8em;
        background-color: transparent;
        padding: 0;
    }
        #wiki-main-promo-container > div > img {
            border-radius: 1em;
            width: 100%;
            margin: 0 auto;
            height: auto;
        }

#wiki-read-compendium {
    background-color: #2d3436;
    border: 2px solid #d63031;
    padding: 0.5em;
    border-radius: 0.3em;
}

#series-i{
    margin: 0.4em auto 0 auto !important;
}

#series-ii {
    margin: 2em auto 0 auto !important;
}

.card-with-caption img {
    width: 100%;
    max-width: 1200px;
    border-radius: 1em 1em 0 0 !important;
}
.card-with-caption .caption {
    width: 100%; max-width: 1200px;
    background-color:black; 
    color: white;
    padding: 1em; 
    border-radius: 0 0 1em 1em; 
    margin: 0;
}

#person-info-card {
    padding: 0.5em;
    text-align: left;
    height: auto;
    background-color: white;
    border-radius: 0.3em;
    border: 3px solid #6c5ce7;
    color: black;
}
#person-info-card > .row {
    width: 100%;
    margin: 0 auto !important;
}
    #corporation-info-card-header-container-name {
        border-radius: 0.8em;
        margin-bottom: 0.8em;
        /* border-radius: 0.8em 0.8em 0 0; */
        background-color: #CAD3C8;
        height: 100px;
    }
    #person-info-card-header-container-name {
        /* border-radius: 0.8em; */
        margin-bottom: 0.8em;
        border-radius: 0.8em 0 0 0.8em;
        background-color: #CAD3C8;
        height: 100px;
    }
    #person-info-card-header-container-id {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        border-radius: 0 0.8em 0.8em 0;
        background-color: #CAD3C8;
        height: 100px;
    }
        .person-info-card-header-item-container {
            height: 100%;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
        }
            .person-info-card-header-item-container h3,
            .person-info-card-header-item-container h4 {
                margin: 0;
                height: auto;
            }

.wiki-list-open-dossier-btn {
    padding:2em 0 0 0;
}

.wiki-table-item-weight-600 {
    font-size: 140%;
    font-weight: 600;
    padding-bottom: 0.5em;
    display: inline-block;
}

.wiki-image-container {
    text-align: left !important;
    height: auto !important;
    margin: 1em auto !important;
    padding: 0 !important;
    background-color: black !important;
    border-radius: 0.3em !important;
    border: 3px solid #6c5ce7 !important;
    color: black !important;
}
    .wiki-image-container img {
        width: 100%;
    }

#wiki-get-started-image {
    text-align: left;
    height: auto;
    padding-right: 0;
}

.legend-title {
    padding-left: 1.2em !important;
}

#legend-main-menu-container {
    list-style-type:circle;
    padding: 0 3em !important;
}

.alt-worldlines-header {
    padding-top: 2em;
    font-weight: 700;
}

#legend-alpha {
    list-style-type:upper-roman;
    padding-left:2.1em;
}

#legend-sigma {
    list-style-type: upper-roman;
    padding-left:2.1em;
}

.legend { 
    text-align: left; 
    height: auto; 
    margin: 0 auto; 
    padding: 1.5em 0 1.5em 0; 
    background-color: white; 
    border-radius: 0.3em; 
    border: 3px solid #6c5ce7; 
    color: black;
}
.legend li {
    padding: 0.3em 0;
}
.legend a {
    color: black !important;
    font-weight: 700;
}

#list-legend-ul li {
    font-size: 110%;
    padding-top: 0.5em;
}
#list-legend-ul a {
    display: inline-block;
    color: black;
    padding: 0.3em 0;
}

/* END:FORMS[COLORS] */
/* START:TABLES */
.information-table-container-header {
    text-align: left;
    height: auto;
    padding-top: 3em;
    padding-left: 0;
}
.information-table-container {
    text-align: left;
    height: auto;
    padding-left: 0;
    padding-right: 0;
    padding-top: 0;
    margin: 4em auto 0 auto;
}
.information-table-container .row {
    background-color: black;
    padding: 2em 0;
    width: 100%;
    margin: 0 auto;
}
.information-table-header-container {
    background-color: black !important;
    color: white;
}
    .information-table-header-container div {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        font-size: 160%;
        font-weight: 700;
    }

.mobile-only-767 {
    display: none;
}

.worldline-item > div > span:not(.monster-type-container) {
    font-size: 150% !important;
    padding: 0.8em 0;
    display: block;
}
    .worldline-item > div > span:first-of-type {
        padding-bottom: 0;
    }
    .worldline-item > div > span:last-of-type {
        padding-top: 0;
    }

/* END:TABLES */
/* START:FORMS[COLORS] */
.monster-type-container .row {
    padding-top:0 !important
}
/* .monster-type-container .pill-shape-sm:first-of-type {
    border-radius: 0.3em 0.3em 0 0 !important;
}
.monster-type-container:last-of-type .pill-shape-sm:last-of-type {
    border-radius: 0 0 0.3em 0.3em;
} */

    /* #person-info-card > div:last-of-type > .monster-type-container {
        padding: 1em;
    } */
    #person-info-card > div:last-of-type > .monster-type-container .pill-shape-sm {
        border: 1px solid black;
    }


    .pill-shape {
        border-radius: 0.3em;
        font-weight: 700 !important;
        height: 80px;
        max-width: 100%;
        padding: 1em;
        margin: 0 auto 
    }
    .pill-shape-sm {
        border-radius: 0.3em;
        font-weight: 700 !important;
        height: auto;
        max-width: 100%;
        padding: 1em;
        margin: 0.3em auto 
    }

.major-magic {
    color: white;
    background-color: #9c88ff;
}
.major-bioform {
    color: black;
    background-color: #6ab04c;
}
.major-machine {
    color: white;
    background-color: #95afc0;
}
.major-mutant {
    color: black;
    background-color: #ffbe76;
}
/* START:MINORS */
.minor-ghost {
    color: black;
    background-color: #55E6C1;
}
.minor-flesh {
    color: black;
    background-color: #fab1a0
}
.minor-propulsion {
    color: black;
    background-color: #7efff5
}
.minor-meta {
    color: white;
    background-color: #686de0;
}
.minor-blood {
    color: white;
    background-color: #DA2F20;
    border: 1px solid white;
}
.minor-life {
    color: #FC427B;
    background-color: white;
    border: 1px solid #30336b;
}
.minor-death {
    color: white;
    background-color: #30336b;
    border: 1px solid white;
}
.minor-royal {
    color: white;
    background-color: #FC427B;
}
.minor-oceanic {
    color: white;
    background-color: #0652DD;
}
.minor-ice {
    color: black;
    background-color: #7ed6df;
}
.sharp-vampiric {
    color: white;
    border: 3px solid #c44569;
    background-color: #2d3436
}
.minor-sound {
    color: white;
    background-color: #778beb;
}
.minor-ai {
    color: white;
    background-color: #48dbfb;
}
.minor-xeno {
    color: black;
    background-color: #ff9f43;
}
/* .sharp-piercing {
.sharp-cutting {
.sharp-impact { */
.sharp-impact {
    color: white;
    border: 3px solid black;
    background-color: #e17055;
}
.sharp-explosive {
    color: black;
    border: 3px solid orange;
    background-color: #48dbfb;
}
.sharp-energy {
    color: black;
    border: 3px solid #48dbfb;
    background-color: white;
}
.minor-hyperspace {
    color: white;
    background-color: #6a89cc;
}
.minor-cyborg {
    color: white;
    background-color: #f368e0;
}
.minor-crystal {
    color: white;
    background-color: #B33771;
}
.flat-flame {
    color: white;
    background-color: #f53b57;
}
.major-light {
    color: black;
    background-color: #fffb94;
    border: 3px solid black;
}
@media only screen and (max-width: 990px) {
    #wiki-get-started-image {
        padding-left: 0;
    }
    #person-info-card-header-container-name {
        border-radius: 0.8em 0.8em 0 0;
    }
    #person-info-card-header-container-id {
        border-radius: 0 0 0.8em 0.8em;
    }
    #series-i,
    #series-ii
    {
        margin: 2em auto 0 auto !important;
        padding-top: 0 !important;
        padding-bottom: 2em !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    #series-ii {
        margin: 3em auto 0 auto !important;
    }
}
@media only screen and (max-width: 767px) {
    #wiki-main-overview-container {
        padding: 0  !important;
    }
    .wiki-table-row div {
        margin: 0 auto !important;
    }
    .mobile-only-767 {
        display: block;
    }
    .information-table-header-container {
        display: none;
    }
    .mobile-only-information-header {
        background-color: black;
        color: white;
    }
    #wiki-get-started-image {
        padding-left: 0;
    }
    .navbar-expandables {
        display: flex;
        justify-content: flex-end;
    }
}
@media only screen and (max-width: 700px) {
    /* .information-table-container,
    #series-i,
    #series-ii
    {
        padding: 0 8% 0 8% !important;
    } */
    /* #series-i,
    #series-ii
    {
        padding-top: 3em !important;
    } */
    #list-legend-ul {
        padding: 2em;
    }
}

@media only screen and (max-width: 500px) {
    #wiki-read-compendium {
        width: 350px;
    }
    .wiki-table-item-weight-600 {
        font-size: 100%;
        /* word-break: break-all !important; */
    }
    .pill-shape {
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 90%;
        width: auto !important;
        height: 40px !important;
        padding: 0 0.5em !important;
      }
}
@media only screen and (max-width: 390px) {
    #wiki-home-title {
        padding: 0 0.2em !important;
        font-size: 200% !important;
    }

    #wiki-read-link {
        padding: 0 2em !important;
        width: 100% !important;
        font-size: 100% !important;
    }

    #wiki-read-compendium {
        width: auto !important;
        font-size: 100% !important;
    }
}
@media only screen and (max-width: 200px) {
    p {
        font-size: 100% !important;
    }
    #blog-section {
        overflow-x:hidden !important;
    }
    .wiki-text-container {
        padding-left: 0.3em;
        padding-right: 0.3em;
    }
    .wiki-text-container div {
        padding-left: 0;
        padding-right: 0;
    }
    #wiki-home-title {
        font-size: 80% !important;
    }
    #wiki-read-link {
        font-size: 50% !important;
        padding: 0 0.2em !important;
    }
}
@media only screen and (max-width: 100px) {
    p {
        font-size: 70% !important;
    }
    .this-is-genesis {
        overflow-x: hidden !important;
    }
}