﻿/* https://coolors.co/271f30-6c5a49-c8ad55-d0fcb3-9bc59d */
/* https://coolors.co/134074-13315c-0b2545-8da9c4-eef4ed */

@font-face {
    font-family: 'ComingSoon';
    src: url('/font/coming-soon/ComingSoon.ttf');
}

@font-face {
    font-family: 'DomesticManners';
    src: url('/font/domestic-manners/Domestic_Manners.ttf');
}

html {
    font-size: 14px;
}

a {
    text-decoration: none;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.fixedscreen {
    height: calc(100vh - 135px);
}

html {
    position: relative;
    min-height: 100%;
}

body {
    background-color: #FAFAFA;
    color: #222;
    min-height: 100%;
    margin-top: 67px;
    overflow-x: hidden;
}

.footer {
    position: inherit !important;
    line-height: 49px !important;
}

.navbar-nav {
    flex-direction: row;
}

.navbar-expand-lg .navbar-nav .nav-link {
    padding-right: 0.5rem;
    padding-left: 0.5rem;
}

@media(max-width: 991px) {
    .navbar-expand-lg {
        min-height: 62px;
    }

    .container-fluid {
        padding-top: 2px;
    }

    .navbar-light, .navbar-toggler {
        border: none;
    }
}

/* ----- Standards ----- */
.primary-color {
    color: #0f3775;
}

.navbar .navbar-nav {
    margin-left: 20px;
    margin-right: 20px;
    height: 60px;
}

.navbar-expand-lg {
    padding-top: 0;
    padding-bottom: 0;
}

.navbar-nav .nav-item {
    height: 60px;
}

    .navbar-nav .nav-item .nav-link {
        padding-top: 16px;
        padding-bottom: 16px;
    }

        .navbar-nav .nav-item .nav-link:hover {
            padding-bottom: 13px;
            border-bottom: 3px solid #0f3775;
        }

.nav-link.dropdown-toggle.show {
    padding-bottom: 13px;
    border-bottom: 3px solid #0f3775;
}

.dropdown-menu {
    margin-top: 0px !important;
    border-radius: 0;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    border-top: 2px solid white;
    border-bottom: 1px solid #dee2e6;
    border-left: 1px solid #dee2e6;
    border-right: 1px solid #dee2e6;
    box-shadow: 0px 3px 4px #0000005c;
}

.clean-button {
    background: none;
    color: inherit;
    border: none;
    padding: 0;
    font: inherit;
    cursor: pointer;
    outline: inherit;
}

/* ----- Localization ----- */
.cropflag {
    display: inline-block;
    width: 24px;
    height: 24px;
    border-radius: 100% !important;
    background: #000 no-repeat center;
    background-size: cover;
}

.language-dropdown button {
    padding-bottom: calc(0.5em - 1px);
    padding-left: 1em;
    padding-right: 1em;
    padding-top: calc(0.5em - 1px);
    text-align: left;
    white-space: nowrap;
    background: none;
    border: none;
}

.language-dropdown button:hover {
    color: #1e2125;
    background-color: #e9ecef;
}

.language-dropdown button.active {
    color: #222;
    text-decoration: none;
    background-color: #e9ecef;
}

.dropdown-item.active, .dropdown-item:active {
    color: #222;
    text-decoration: none;
    background-color: #e9ecef;
}

/* ----- Banner ----- */
.home-banner {
    height: 500px;
}

@media (max-width: 768px) {
    .home-banner {
        height: 680px;
    }

    .banner-underlay {
        height: 680px !important;
    }
}

.banner-underlay {
    position: absolute;
    left: 0;
    top: 61px;
    width: 100%;
    height: 500px;
    overflow: hidden;
    z-index: -1;
}

.banner-image {
    background-size: cover;
    background-position: center;
    top: -2%;
    left: -2%;
    height: 104%;
    width: 104%;
    filter: blur(1px);
    position: absolute;
}

.banner-content {
    display: flex;
    gap: 10px;
    flex-wrap: nowrap;
    height: 490px;
    justify-content: center;
    align-items: center;
}

.banner-left {
    flex: 65%;
    max-height: 400px;
    border: 1px solid #8DA9C4;
    box-shadow: 0px 0px 15px #00000084;
    padding: 25px;

    background-color: #fafafaea;
    color: #333;
}

.banner-info {
}

.banner-slogan {
}

.banner-right {
    flex: 35%;
    max-height: 400px;
    border: 1px solid #8DA9C4;
    box-shadow: 0px 0px 15px #00000084;
    padding: 15px;
    background-color: #fafafaea;
    color: #333;
    position: relative;
}

    .banner-right .link-btn:nth-of-type(1) {
        position: absolute;
        bottom: 15px;
        left: 15px;
    }


.banner-id {
    width: calc(100% - 220px);
    display: inline-block;
    white-space: nowrap;
}

.banner-id-img {
    background: url('/images/Testing/inventor.png') no-repeat;
    background-size: cover;
    background-position: center;
    border-radius:10px;

    height: 220px;
    width: 220px;
    background-color: black;
    float: right;
}

@media(max-width: 991px) { /* 768px */
}

@media(min-width: 991px) and (max-width:1400px) {
    .banner-id {
        width: calc(100% - 120px);
    }

    .banner-id-img {
        height: 120px;
        width: 120px;
    }

    .banner-right .link-btn:nth-of-type(1) {
        left: auto;
        right: 15px;
    }
}


.flex-container {
    
}

.flex-item-left {
    flex: 50%;
}

.flex-item-right {
    flex: 50%;
}

/* Responsive layout - makes a one column layout instead of a two-column layout */
@media (max-width: 991px) {
    .banner-content {
        flex-wrap: wrap;
    }

    .banner-left, .banner-right {
        flex: 100%;
    }
}

/* ----- Link button ----- */

.link-btn {
    text-decoration: none;
    color: #FAFAFA;
    font-weight: 500;
    background-color: #13315C;
    margin-top: 10px;
    padding: 10px;
    text-align: center;
    cursor: pointer;
    display: inline-block;
}

    .link-btn:hover {
        color: #FAFAFA;
        background-color: #0B2545;
    }

    .link-btn:active {
        color: #FAFAFA;
        background-color: #0B2545;
    }

    .link-btn:visited {
        color: #FAFAFA;
    }

/* ----- Square button ----- */

/* ----- Link button ----- */

.sq-btn {
    text-decoration: none;
    color: #FAFAFA;
    font-weight: 500;
    background-color: #13315C;
    margin-top: 10px;
    padding: 10px;
    text-align: center;
    cursor: pointer;
    display: inline-block;
    border:none;
}

    .sq-btn:hover {
        color: #FAFAFA;
        background-color: #0B2545;
    }

    .sq-btn:active {
        color: #FAFAFA;
        background-color: #0B2545;
    }

    .sq-btn:visited {
        color: #FAFAFA;
    }

    .sq-btn.lblue {
        background-color: #0074D9;
        color: #FAFAFA;
    }
        .sq-btn.lblue:hover {
            background-color: #156fbd;
            color: #FAFAFA;
        }
        .sq-btn.lblue:active {
            background-color: #055ba5;
            color: #FAFAFA;
        }
        .sq-btn.lblue:visited {
            color: #FAFAFA;
        }

    .sq-btn.lblue.edged {
        margin-top: 8px;
        padding: 8px;
        background-color: unset;
        border: 2px solid #0074D9;
        color: #FAFAFA;
    }

        .sq-btn.lblue.edged:hover {
            background-color: unset;
            border: 2px solid #156fbd;
            color: #FAFAFA;
        }

        .sq-btn.lblue.edged:active {
            background-color: unset;
            border: 2px solid #055ba5;
            color: #FAFAFA;
        }

        .sq-btn.lblue.edged:visited {
            color: #FAFAFA;
        }

/* ----- Company Info ----- */
.more-info .col-md-8 {
    margin: 40px 0 20px 0;
}

    .more-info .col-md-8 p:nth-of-type(2) {
        padding-left: 10px;
        border-left: 5px solid #8da9c4;
        color: #666;
    }

    .more-info .col-md-8 p:nth-of-type(3) {
        font-size: 0.95rem;
    }

.more-info .col-md-4 {
    margin: 40px 0 20px 0;
}

.more-info .col-md-4.creation {
    background: url('/images/Banners/Creation.jpeg') no-repeat;
    background-size: contain;
    background-position: center;
}

.more-info .col-md-4.climates {
    background: url('/images/Banners/Climates.jpeg') no-repeat;
    background-size: contain;
    background-position: center;
}

@media (max-width: 768px) {
    .big-only {
        display: none;
    }
}

/* ----- Services ----- */
.services {
    padding-top: 1px;
    /* position: relative; */
}

.services-back {
    width: 100%;
    min-height: 420px;
    overflow: hidden;
    background-color: #f5f5f5;
}

.services .col-lg-9 {
    margin-top: 10px;
}

.content-block {
    min-height: 260px;
    padding: 5px;
}

.services ul {
    color: #555;
    padding-top:10px;
}

.services li::marker {
    content: "▸";
    color: #0f3775;
}

.services .bl-image.software {
    background: url('/images/Icons/Software.jpeg') no-repeat;
    background-size: contain;
    background-position: center;
}

.services .bl-image.marketing {
    background: url('/images/Icons/Marketing.jpeg') no-repeat;
    background-size: contain;
    background-position: center;
}

.services .bl-image.seo {
    background: url('/images/Icons/SEO.jpeg') no-repeat;
    background-size: contain;
    background-position: center;
}

.services .bl-image.websites {
    background: url('/images/Icons/Websites.jpeg') no-repeat;
    background-size: contain;
    background-position: center;
}

.services .bl-image.text {
    background: url('/images/Icons/Translations.jpeg') no-repeat;
    background-size: contain;
    background-position: center;
}

.services .bl-image {
    width: 100px;
    height: 100px;
    position: absolute;
    bottom: 0;
    right: 0;
}

@media(max-width: 991px) { /* 768px */
    .services .bl-image {
        z-index: -1;
        opacity: 0.3;
    }
}

.services .images {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.services .images img {
    height: 40px;
    margin: 10px;
}

/* ----- Cookie banner ----- */
.cookie-banner {
    position: fixed;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 90%;
    left:5%;
    padding: 10px 20px;
    background-color: #F5F5F5;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
    z-index: 999;
}

    .cookie-banner p {
        margin: 0;
        font-size: 14px;
    }

/* ----- Tabs ----- */
.tab-wrap {
    transition: 0.3s box-shadow ease;
    border-radius: 2px;
    max-width: 100%;
    display: flex;
    flex-wrap: wrap;
    position: relative;
    list-style: none;
    background-color: #f2f2f2;
    margin: 40px 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
}

    /*.tab-wrap:hover {
        box-shadow: 0 12px 23px rgba(0, 0, 0, 0.23), 0 10px 10px rgba(0, 0, 0, 0.19);
    }*/

.tab {
    display: none;
}

    .tab:checked:nth-of-type(1) ~ .tab__content:nth-of-type(1) {
        opacity: 1;
        transition: 0.5s opacity ease-in, 0.8s transform ease;
        position: relative;
        top: 0;
        z-index: 100;
        transform: translateY(0px);
        text-shadow: 0 0 0;
    }

    .tab:checked:nth-of-type(2) ~ .tab__content:nth-of-type(2) {
        opacity: 1;
        transition: 0.5s opacity ease-in, 0.8s transform ease;
        position: relative;
        top: 0;
        z-index: 100;
        transform: translateY(0px);
        text-shadow: 0 0 0;
    }

    .tab:checked:nth-of-type(3) ~ .tab__content:nth-of-type(3) {
        opacity: 1;
        transition: 0.5s opacity ease-in, 0.8s transform ease;
        position: relative;
        top: 0;
        z-index: 100;
        transform: translateY(0px);
        text-shadow: 0 0 0;
    }

    .tab:checked:nth-of-type(4) ~ .tab__content:nth-of-type(4) {
        opacity: 1;
        transition: 0.5s opacity ease-in, 0.8s transform ease;
        position: relative;
        top: 0;
        z-index: 100;
        transform: translateY(0px);
        text-shadow: 0 0 0;
    }

    .tab:checked:nth-of-type(5) ~ .tab__content:nth-of-type(5) {
        opacity: 1;
        transition: 0.5s opacity ease-in, 0.8s transform ease;
        position: relative;
        top: 0;
        z-index: 100;
        transform: translateY(0px);
        text-shadow: 0 0 0;
    }

    .tab:first-of-type:not(:last-of-type) + label {
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
    }

    .tab:not(:first-of-type):not(:last-of-type) + label {
        border-radius: 0;
    }

    .tab:last-of-type:not(:first-of-type) + label {
        border-top-left-radius: 0;
        border-bottom-left-radius: 0;
    }

    .tab:checked + label {
        background-color: #f2f2f2;
        box-shadow: 0 -1px 0 #f2f2f2 inset;
        cursor: default;
    }

        .tab:checked + label:hover {
            box-shadow: 0 -1px 0 #f2f2f2 inset;
            background-color: #f2f2f2;
        }

    .tab + label {
        box-shadow: 0 -1px 0 #fafafa inset;
        border-radius: 6px 6px 0 0;
        cursor: pointer;
        display: block;
        text-decoration: none;
        color: #333;
        flex-grow: 3;
        text-align: center;
        background-color: #fafafa;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
        text-align: center;
        transition: 0.3s background-color ease, 0.3s box-shadow ease;
        height: 50px;
        box-sizing: border-box;
        padding: 15px;
    }

        .tab + label:hover {
            background-color: #f2f2f2;
            box-shadow: 0 1px 0 #f2f2f2 inset;
        }

.tab__content {
    padding: 10px 25px;
    position: absolute;
    width: 100%;
    z-index: -1;
    opacity: 0;
    left: 0;
    transform: translateY(-3px);
    border-radius: 6px;
    background-color: #f2f2f2;
}

/* ----- Price calc ----- */
.price-calc .col-md-4 {
    margin: 40px 0px 20px 0px;
    padding: 5px;
    border: 5px solid #fafafa;
}

@media (min-width: 768px) {
    .price-calc .col-md-4:nth-of-type(2) {
        margin-top: 10px;
    }
}

.price-calc .pc-content .pc-bv {
    height: 30px;
    text-align: center;
    font-size: 1.2rem;
    font-weight: 500;
    background-color: #213e62;
    color: #FAFAFA;
    border-top-left-radius: 9px;
    border-top-right-radius: 9px;
    line-height: 40px;
}

.price-calc .pc-content {
    border: 1px solid #CCC;
    border-radius: 9px;
}

    .price-calc .pc-content .pc-header {
        background-color: #0B2545;
        padding: 10px;
        color: #FAFAFA;
        font-weight: 700;
        text-align: center;
        font-size: 1.8rem;
        border-bottom: 2px dotted #0a58ca;
    }

        .price-calc .pc-content .pc-header:nth-of-type(1), .price-calc .pc-content .pc-header:nth-of-type(3) {
            border-top-left-radius: 9px;
            border-top-right-radius: 9px;
        }

        .price-calc .pc-content .pc-header:nth-of-type(2) {
            background-color: #213e62;
        }

    .price-calc .pc-content .pc-eyecatcher {
        background-color: #0a58ca;
        padding: 10px;
        color: #FAFAFA;
        font-weight: 700;
        text-align: center;
        font-size: 1.3rem;
        border-bottom: 4px solid #CCC;
    }

    .price-calc .pc-content .pc-data {
        color: transparent;
        text-shadow: 0 0 0 #333;
        white-space: pre-line;
        padding: 30px;
        border-bottom: 2px dotted #CCC;
        line-height: 1.8;
    }

    .price-calc .pc-content .pc-expand {
        padding: 10px;
        text-align: center;
        font-size: 1.2rem;
        font-weight: 600;
        color: #0B2545;
        cursor: pointer;
    }

        .price-calc .pc-content .pc-expand:hover {
            color: #0a58ca;
        }

    .price-calc .pc-content .pc-expanded {
        color: transparent;
        text-shadow: 0 0 0 #333;
        white-space: pre-line;
        padding: 30px;
        display: none;
        line-height: 1.8;
    }

/* ----- Contact ----- */
.calendar {
    color: #FAFAFA;
    background-color: #383940;
    margin-bottom: 20px;
}

.calendar b {
    color: #8DA9C4;
}

.calendar {
    width: 100%;
    min-height: 420px;
    overflow: hidden;
    z-index: -1;
    background-color: #383940;
}

    .calendar .col-md-12 {
        padding: 20px;
        text-align: center;
        font-size: 1.8rem;
        font-weight: 600;
    }

    .calendar .col-md-6 {
        margin: 40px 0 20px 0;
    }

.calendarheader-line {
    display: inline-block;
    width: 10%;
    vertical-align: middle;
    margin: 0 15px 0 15px;
}

.calendar-details-left {
    display: inline-block;
    white-space: nowrap;
    width: 30%;
}

.calendar-details-right {
    display: inline-block;
    white-space: nowrap;
    width: 65%;
    text-align: right;
    border-left: 1px dotted white;
}

.input-clean {
    padding: 5px;
    font-size: 16px;
    border-width: 1px;
    border-color: #CCCCCC;
    background-color: #FFFFFF;
    color: #000000;
    border-style: solid;
    border-radius: 0px;
    box-shadow: 0px 0px 1px rgba(66,66,66,.50);
    text-shadow: 0px 0px 0px rgba(66,66,66,.75);
    margin: 10px 0 10px 0;
    width: 100%;
}

#calendar-form .buttons {
    float: right;
}

/* ---- Pins ----- */
img.leaflet-tile {
    image-rendering: pixelated;
}

.pin {
    margin-top: 50%;
    margin-left: 50%;
    transform: translate(-50%, -50%);
}

.pin-capitol {
    background: url('/images/Icons/Capitol.png') no-repeat;
    background-size: cover;
    background-position: center;

    width: 100%;
    height: 100%;
}

.pin-city {
    background: url('/images/Icons/City.png') no-repeat;
    background-size: cover;
    background-position: center;

    width: 85%;
    height: 85%;
}

.pin-largetown {
    background: url('/images/Icons/LargeTown.png') no-repeat;
    background-size: cover;
    background-position: center;

    width: 70%;
    height: 70%;
}

.pin-town {
    background: url('/images/Icons/Town.png') no-repeat;
    background-size: cover;
    background-position: center;

    width: 60%;
    height: 60%;
}

.pin-village {
    background: url('/images/Icons/Village.png') no-repeat;
    background-size: cover;
    background-position: center;

    width: 50%;
    height: 50%;
}

.pin-settlement {
    background: url('/images/Icons/Settlement.png') no-repeat;
    background-size: cover;
    background-position: center;

    width: 40%;
    height: 40%;
}

.pin-fallencity {
    background: url('/images/Icons/FallenCity.png') no-repeat;
    background-size: cover;
    background-position: center;

    width: 90%;
    height: 90%;
}

.pin-naturallandmark {
    background: url('/images/Icons/NaturalLandmark.png') no-repeat;
    background-size: cover;
    background-position: center;

    width: 75%;
    height: 75%;
}

@media(min-width: 769px) and (max-width:991px) {
    .leaflet-legend {
        transform-origin: bottom left;
        transform: scale(0.85);
    }
}

@media(min-width: 700px) and (max-width:768px) {
    .leaflet-legend {
        transform-origin: bottom left;
        transform: scale(0.75);
    }
}

@media(min-width: 600px) and (max-width:700px) {
    .leaflet-legend {
        transform-origin: bottom left;
        transform: scale(0.7);
    }
}

@media(min-width: 500px) and (max-width:600px) {
    .leaflet-legend {
        transform-origin: bottom left;
        transform: scale(0.6);
    }
}

@media(max-width:500px) {
    .leaflet-legend {
        transform-origin: bottom left;
        transform: scale(0.5);
    }
}

/* ----- Nations ----- */
::-webkit-scrollbar {
    width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
    background: transparent;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #888;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.nations {
    background-color: #333;
    color: #CCC;
    padding: 10px;
    height: 100%;
    overflow-y: auto;
}

.nation {
    margin: 5px;
    position: relative;
    min-height: 33px;
}

    .nation.opened {
        border-left: 3px solid #333;
    }

    .nation.collapsed {
        height: 28px;
    }

.btn-nation {
    cursor: pointer;
    border-radius: 10px;
    padding: 5px;
}

.opened .btn-nation {
    border-bottom-right-radius: 0px;
}

.btn-inner {
    text-align: center;
    width: 40px;
    background-color: #222;
    font-size: 25px;
    font-weight: 700;
    line-height: 28px;
    height: 34px;
    right: 0;
    top: 0;
    position: absolute;
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
    pointer-events: all;
    color: #FFF;
}

    .btn-inner:hover {
        background-color: #000;
        cursor: pointer;
    }

.collapsed .btn-inner {
}

.opened .btn-inner {
    border-bottom-right-radius: 0;
}

.btn-mappoint {
    border-radius: 10px;
    cursor: pointer;
}

    .btn-nation:hover, .btn-mappoint:hover {
        background-color: #000;
        color: #FFF;
    }

    .btn-nation.empty, .btn-mappoint.empty {
        font-style: italic;
        color: #888;
    }

.collapsed > .btn-mappoint {
    display: none;
}

.opened > .btn-mappoint {
    padding: 3px 0px 3px 15px;
}

.overmap {
    border: 12px dashed #333333;
    width: 100%;
    margin-left: 0;
}

.overmap .col-lg-8, .overmap .col-lg-4 {
    padding: 0;
}

.btn-desc.lastactive {
    background-color: #CCC;
    color: #333;
}

/* ----- Zim ----- */
#atlas-data {
    height: calc(100vh - 135px);
    overflow-y: auto;
    background-color: #EEE;
}

.zim-data {
    padding: 20px 40px 20px 40px;
    color: #111;
}

.zim-data a:link, .innerlink {
    color: inherit;
    text-decoration: none;
    position: relative;
    z-index: 1;
}
.zim-data a:before, .innerlink:before {
    background-color: #a8acff;
    content: "";
    position: absolute;
    width: calc(100% + 4px);
    height: 80%;
    left: -2px;
    bottom: 0;
    z-index: -1;
    transform: rotate(-2deg);
        transition: .1s;
}
.innerlink {
    cursor: pointer;
}
.innerlink:before {
    background-color: #ffa8b9;
}
.zim-data a:visited {
    color: inherit;
    text-decoration: none;
}
.zim-data a:hover:before, .innerlink:hover:before {
    width: calc(100% + 14px);
    left: -7px;
    transition: .1s;
}
.zim-data a:active {
    color: inherit;
    text-decoration: none;
}

.zim-data h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #065d00;
}
.zim-data h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #065d00;
}
.zim-data h3 {
    font-size: 1.7rem;
    margin-bottom: 3px;
    color: #065d00;
}
.zim-data h4 {
    font-size: 1.5rem;
    margin-bottom: 3px;
    color: #065d00;
}
.zim-data h5 {
    font-size: 1.3rem;
    margin-bottom: 3px;
    font-style: italic;
    color: #065d00;
}

.zim-data hr {
    height: 3px;
    color: #666;
    opacity: 1;
    margin: 5px;
}

@media(max-width: 991px) {
    .nations-pc {
        display: none;
    }
}

.nations-mobile {
    position: fixed;
    right: 0;
    top: 62px;
    width: 350px;
    height: calc(100% - 62px);
    z-index: 9999;
}

.nations-mobile.off {
    display: none;
}

.nations-mobile-toggler {
    position: fixed;
    width: 50px;
    height: 100px;
    top: calc(50vh - 50px);
    z-index: 9999;
}

    .nations-mobile-toggler.on {
        right: 350px;
    }

.nations-mobile-toggler.off {
    right: 0;
}

@media(min-width: 992px) {
    .nations-mobile, .nations-mobile-toggler {
        display: none;
    }
}

.nations-mobile-toggler > .internal {
    position: absolute;
    right: 0;
    top: 10px;
    width: 35px;
    height: 80px;
    background-color: #333;
    border-bottom-left-radius: 15px;
    border-top-left-radius: 15px;
    color: #FAFAFA;
    line-height: 80px;
    text-align: center;
}
.internal > i {
    vertical-align: middle;
}

/* ----- Legends ----- */
.legend {
    overflow-x: hidden;
}

.legendrecord {
    position: relative;
    min-height:42px;
}

.infoblock {
    position: absolute;
    top: 0;
    right: 0;
    padding: 5px 10px 5px 10px;
    border-radius: 5px;
    border: 1px solid lightgray;
    border-left: 10px solid lightgray;
    background-color: #FAFAFA;
    display: none;
}

.descriptionblock {

}

.player-list {
    margin: 10px;
    padding: 10px 20px 10px 20px;
    opacity: 0.8;
    display: inline-block;
    border: 1px solid black;
    border: 1px solid lightgray;
    border-left: 10px solid lightgray;
    border-radius: 5px;
    font-size: 0.9em;
}

.player-list p {
    margin: 0;
}

.player-list h5 {
    font-size: 1.2em;
    display: inline-block;
}

.Tuvix {
    font-family: 'ComingSoon', sans-serif;
}

.Tuvix, .Tuvix:before, .Tuvix:after {
    background-color: #fff;
    border: 1px solid #ccc;
    box-shadow: inset 0 0 30px rgba(0,0,0,0.1), 1px 1px 3px rgba(0,0,0,0.2);
}

.Tuvix {
    position: relative;
    padding: 2em;
    margin: 50px auto;
}

.Tuvix:before, .Tuvix:after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    -webkit-transform: rotateZ(1deg);
    -o-transform: rotate(1deg);
    transform: rotateZ(1deg);
    z-index: -1;
}

.Tuvix:after {
    -webkit-transform: rotateZ(-0.5deg);
    -o-transform: rotate(-0.5deg);
    transform: rotateZ(-0.5deg);
}

.Tuvix b {
    opacity: 0.9;
}

.Tuvix h5 {
    font-size: 1.1em;
    border-bottom: 1px solid lightgray;
    font-weight: 700;
}

/* ----- Character ----- */

.character-data .statblock {
    width: 260px;
    float: right;
    margin: 10px 0 10px 10px;
    border: 1px solid #666;
    box-shadow: 0px 2px 2px #666;
    border-radius: 4px;
    font-size: 0.75rem;
    overflow: hidden;
}

.statblock table {
    width: 100%;
}

    .statblock table th, td {
        border-bottom: 1px solid #666;
        padding: 3px 10px;
    }

    .statblock table td:nth-child(2) {
        border-left: 1px solid #666;
    }

.statblock div {
    margin: 3px 10px;
}

.statblock .image-block {
    background-color: #666;
    min-height: 150px;
    margin: 3px 0px;
    position: relative;
}

    .statblock .image-block::after {
        content: '❯';
        display: flex;
        position: absolute;
        top: 0;
        right: 0;
        width: 25%;
        height: 100%;
        align-items: center;
        justify-content: center;
        opacity: 0.4;
        color: #FAFAFA;
        font-size: 80px;
        transition: 0.02s ease-in-out;
        cursor: pointer;
    }

    .statblock .image-block:hover::after {
        width: 50%;
        opacity: 0.75;
        background: #666;
        transition: 0.02s ease-in-out;
    }

.statblock img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: none;
}

.char-container {
    display: flex;
}

.char-tile {
    display: inline-block;
    width: 160px;
    height: 190px;
    border: 1px solid #666;
    border-radius: 4px;
    text-align: center;
    cursor: pointer;
    transition: transform .1s;
    background-color: #FAFAFA;
}

.char-tile:hover{
    transform: scale(1.1);
}

.char-tile img {
    padding: 2px;
    width: 156px;
    height: 156px;
}

.char-tile a::before {
    display: none;
}

    .char-tile a {
        line-height: 1;
        font-size: 0.7em;
    }

/* ----- Table of Contents ----- */
#toc::before {
    content: '☰ Table of contents';
    display: inline-block;
    width: 100%;
    border: 1px solid #666;
    border-bottom: 1px solid #999;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    padding: 5px 10px;
}

#toc::after {
    content: '[show/hide]';
    position: absolute;
    top: 5px;
    right: 0;
    padding: 5px 10px;
    font-size: 0.7rem;
    color: #0f3775;
    cursor: pointer;
}

#toc {
    position: relative;
    margin: 10px 10px 10px 0;
}

    #toc.integrate {
        float: left;
        width: calc(100% - 300px);
    }

    #toc ul:first-child {
        border: 1px solid #666;
        border-top: 0px;
        border-bottom-left-radius: 4px;
        border-bottom-right-radius: 4px;
        font-size: 0.9rem;
        overflow: hidden;
        padding-top: 5px;
        padding-bottom: 5px;
    }

    #toc ul {
        list-style-type: none;
        margin-bottom: 5px;
        padding-left: 10px;
    }

    #toc li {
        
    }

    #toc a::before {
        display: none;
    }

    #toc a {
        display: inline-block;
        font-weight: 500;
        width: calc(100% - 10px);
        padding-left: 5px;
        transition: 0.1s ease-in-out;
    }

        #toc a:hover {
            background-color: #d8e9ff;
            color: #0a58ca;
            transition: 0.1s ease-in-out;
        }

#toc ul > ul {
    font-size: 0.8rem;
}

@media(max-width: 991px) {
    #toc.integrate {
        min-width: 100%;
    }
}
/* ----- RTE ----- */
.rte {

}

.rte-display {

}

.rte-editor {
    display: none;
}