/**
 *  GÉNÉRAL
 */

@font-face {
    font-family: "Montserrat";
    src: url('../Fonts/Montserrat-Medium.ttf')
}

@font-face {
    font-family: "CrimsonBold";
    src: url('../Fonts/CrimsonText-Bold.ttf')
}

@font-face {
    font-family: "CrimsonSemibold";
    src: url('../Fonts/CrimsonText-Semibold.ttf')
}

@font-face {
    font-family: "CrimsonRoman";
    src: url('../Fonts/CrimsonText-Roman.ttf')
}

html {
    scroll-behavior: smooth;
}

.modal {
    overflow: auto !important;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

body {
    overflow-x: hidden;
    font-family: 'CrimsonRoman' !important;
    font-size: 16px;
}

h1,
h2,
h3,
h4 {
    font-family: "CrimsonSemibold" !important;
}

.websiteTitle {
    margin: auto;
    color: black !important;
    text-align: center;
    font-family: "CrimsonBold" !important;
    flex: 1;
    margin-left: auto !important;
    margin-right: auto !important;
    width: fit-content;
}

.websiteTitle>sub {
    font-weight: normal !important;
    font-family: 'CrimsonRoman' !important;
    font-size: .5em;
}

.btn-primary {
    background-color: white !important;
    border-color: gray !important;
    color: #212529 !important;
    font-size: 1.25em !important;
    -webkit-box-shadow: 10px 10px 20px -10px rgba(87, 87, 87, .5);
    -moz-box-shadow: 10px 10px 20px -10px rgba(87, 87, 87, .5);
    box-shadow: 10px 10px 20px -10px rgba(87, 87, 87, .5);
}

.btn-primary:hover {
    font-weight: bold;
}

#menu-toggle-left>img,
#menu-toggle-right>img {
    width: 2.5em;
    height: 2.5em;
}

.list-group-image {
    width: auto;
    height: 24px;
}

.list-group-image-small {
    width: auto;
    height: 16px;
}

.float-left {
    float: right;
}

.list-group-item {
    display: inline-block;
    border-width: 0px !important;
    line-height: 24px;
    background-color: aliceblue !important;
}

a {
    color: #212529 ! important;
}

a:hover {
    cursor: pointer;
}

.list-group-item.active {
    font-weight: bold !important;
    border-color: white;
}

.sidebar-heading {
    border-bottom: 1px solid #BABABA !important;
}

.is-invalid {
    border: 1px solid red !important;
    padding: 0px !important;
    background-image: none !important;
}

#main {
    display: block;
    padding: 3em;
    position: relative;
}

.sub-list-group-item {
    font-size: .9em;
}

#groupNameConsultation>a,
#scenarioNameConsultation>a {
    white-space: nowrap;
    text-align: center;
    margin-left: .5em;
    font-size: 3em;
}

#groupNameEdit>a,
#scenarioNameEdit>a {
    white-space: nowrap;
    text-align: center;
    margin-left: .5em;
    font-size: 3em;
}

#groupNameConsultation,
#groupNameEdit,
#scenarioNameConsultation,
#senarioNameEdit {
    display: inline-flex;
}

.margin-left-1 {
    margin-left: 1em !important;
}

.margin-left-2 {
    margin-left: 2em !important;
}

.margin-right-1 {
    margin-right: 1em !important;
}

.margin-right-2 {
    margin-right: 2em !important;
}

.margin-bottom-1 {
    margin-bottom: 1em !important;
}

.margin-top-1 {
    margin-top: 1em !important;
}

.margin-top-2 {
    margin-top: 2em !important;
}

.margin-bottom-2 {
    margin-bottom: 2em;
}

.margin-1 {
    margin: 1em !important;
}

.small-image {
    height: 2em;
    width: auto;
    max-width: 2em;
    margin: .5em;
}

.hero-portrait-image {
    width: auto;
    height: 150px;
    margin: 1em;
    filter: grayscale(1);
    transition: all 0.5s ease;
}

.hero-portrait-image:hover {
    cursor: pointer;
    filter: grayscale(0);
}

.statistics {
    display: flex;
}

.statistics>div {
    flex: 1;
    max-width: 3em;
    margin-right: 1em;
    text-align: center;
}

.statistics>h4 {
    margin: auto 1em auto 0;
}

.statistic-input {
    max-width: 3em;
    margin: auto;
    text-align: center;
    padding: 0px !important;
}

.selected-hero {
    filter: grayscale(0);
}

.btn-light {
    background-color: #fff !important;
    border: 1px solid #ced4da;
}

.hero-portrait-figcaption {
    text-align: center;
    font-family: "CrimsonSemibold";
    font-size: 1.3em;
}

#heroGeneratedImage {
    margin-top: 2em;
    margin-bottom: 2em;
    display: flex;
}

#heroGeneratedImage>img {
    -o-object-fit: contain;
    object-fit: contain;
    object-position: top left;
    -o-object-position: top left;
    width: 100%;
    max-width: 1400px;
    max-height: 1400px;
}

.rotate-90-right {
    transform: rotate(-90deg);
}

.rotate-90-left {
    transform: rotate(90deg);
}

.fade-in-1 {
    animation: fade-in 1s;
}

.fade-out-1 {
    animation: fade-out .5s;
}

@keyframes fade-in {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fade-out {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

.btn-info:hover {
    background-color: #eef3f8 !important;
    border-color: gray !important;
}

.menu-stick-right {
    margin-left: auto;
    margin-bottom: auto;
    margin-top: auto;
    margin-right: 1em;
}

.image-fa-reverse {
    text-align: center;
    cursor: pointer;
    -webkit-transition: all 0.5s;
    -o-transition: all 0.5s;
    transition: all 0.5s;
    line-height: 35px;
    width: 35px;
    height: 35px;
}

.image-fa-reverse:hover {
    background: gray;
    color: white;
}

#dismissLeft {
    position: absolute;
    top: 1em;
    right: 1em;
}

#dismissRight {
    position: absolute;
    top: 1em;
    left: 1em;
}

#searchEncyclopedia,
#searchWorkshop {
    border-bottom: 1px solid #BABABA;
}

#searchEncyclopedia>div>input {
    border: none !important;
    text-align: left;
    flex: 1;
    margin-right: 1em;
}

#searchWorkshop>div>input {
    border: none !important;
    text-align: left;
    flex: 1;
}

#searchEncyclopedia>div>input::placeholder,
#searchWorkshop>div>input::placeholder {
    color: gray;
}

#searchEncyclopedia>div>input:focus,
#searchWorkshop>div>input:focus {
    outline: none;
}

button.dropdown-toggle {
    border: 1px solid #ced4da;
}

.pointer {
    cursor: pointer;
}

.bold {
    font-weight: bold;
}

#encyclopediaImage {
    max-width: 100%;
}

.encyclopediaImage {
    max-width: 100%;
}

#encyclopediaImage>img {
    max-width: 100%;
}

.encyclopediaImage>img {
    max-width: 100%;
}

#encyclopediaPage>div {
    margin-bottom: 2em;
}

.encyclopediaPage {
    margin-bottom: 6em;
    margin-top: 2em;
}

#encyclopediaDescription,
.encyclopediaDescription {
    overflow: auto;
    margin-bottom: 0px !important;
    font-size: 1.4em;
    max-width: 1200px;
    text-align: justify;
}

#groupDescription {
    overflow: auto;
}

#encyclopediaLinks a {
    color: purple !important;
    text-decoration: underline !important;
    font-size: 1.2em !important;
}

#encyclopediaDescription a {
    color: purple !important;
    text-decoration: underline !important;
    font-size: .9em !important;
}

.encyclopediaDescription a {
    color: purple !important;
    text-decoration: underline !important;
    font-size: .9em !important;
}

#creations a,
a.links,
#encyclopediaGroups a,
.mce-content-body a {
    color: purple !important;
    text-decoration: underline !important;
    font-size: 1em !important;
}

.panel-body {
    border: 1px solid rgb(206, 212, 218);
    border-radius: 1em;
    padding: 1em;
    -webkit-box-shadow: 10px 10px 20px -10px rgba(87, 87, 87, .5);
    -moz-box-shadow: 10px 10px 20px -10px rgba(87, 87, 87, .5);
    box-shadow: 10px 10px 20px -10px rgba(87, 87, 87, .5);
}

.panel-default {
    margin-top: 2em;
}

.checkbox label:after,
.radio label:after {
    content: '';
    display: table;
    clear: both;
}

.checkbox>label {
    margin: auto 0 0 auto !important;
    flex: 1;
}

.checkbox .cr,
.radio .cr {
    position: relative;
    display: inline-block;
    border: 1px solid #BABABA;
    border-radius: .25em;
    width: 1.3em;
    height: 1.3em;
    margin-right: .5em;
}

.radio .cr {
    border-radius: 50%;
}

.checkbox .cr .cr-icon,
.radio .cr .cr-icon {
    position: absolute;
    font-size: .8em;
    line-height: 0;
    top: 20%;
    left: 20%;
}

.radio .cr .cr-icon {
    margin-left: 0.04em;
}

.checkbox label input[type="checkbox"],
.radio label input[type="radio"] {
    display: none;
}

.checkbox label input[type="checkbox"]+.cr>.cr-icon,
.radio label input[type="radio"]+.cr>.cr-icon {
    transform: scale(3) rotateZ(-20deg);
    opacity: 0;
    transition: all .3s ease-in;
}

.checkbox label input[type="checkbox"]:checked+.cr>.cr-icon,
.radio label input[type="radio"]:checked+.cr>.cr-icon {
    transform: scale(1) rotateZ(0deg);
    opacity: 1;
}

.checkbox label input[type="checkbox"]:disabled+.cr,
.radio label input[type="radio"]:disabled+.cr {
    opacity: .5;
}

.selectable-button {
    height: fit-content;
    opacity: .4;
    margin: auto 0;
    display: flex !important;
}

.selectable-button>svg {
    margin: auto 0;
}

.selectable-button>i {
    line-height: 28px;
    height: 24px;
    width: auto;
}

.selectable-button>img {
    height: 24px;
    width: auto;
}

.selectable-button.active {
    opacity: 1;
}

label {
    font-weight: 600;
}

.btn-info {
    box-shadow: 10px 10px 20px -10px rgba(87, 87, 87, .5);
}

#progressBarContainer {}

.progress {
    width: 75%;
    height: 2rem !important;
    margin: auto;
}

#homeProgressBar {
    transition: width 0.75s ease;
}

.overlayLoading {
    display: none;
    position: fixed;
    width: 100vw;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 998;
    opacity: 0;
    transition: all 0.5s ease-in-out;
}

.overlayLoading.active {
    display: inline-flex;
    opacity: 1;
}

.overlayLoading>div {
    text-align: center;
    font-size: 2em;
    margin: auto;
    color: white;
    width: 5em;
    height: 5em;
}

#particlesCanvas {
    background-color: rgba(0, 0, 0, 0);
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
}

p {
    font-size: 1.1em;
    color: black;
    font-family: 'CrimsonRoman' !important;
}

span {
    font-family: 'CrimsonRoman' !important;
}


/*
* Phone 
*/

.top-right-corner-button {
    position: absolute;
    top: 0;
    right: 0;
    display: flex !important;
}

.top-right-corner-button>i {
    margin-top: .3em;
}

.end-form-button-list>button {
    margin-bottom: 1em !important;
}

.show-for-phone {
    display: none !important;
}

#sidebarCollapseLeft>i,
#sidebarCollapseRight>i {
    font-size: 3em;
    color: black;
    margin: .1em;
}

#sidebarLeft,
#sidebarRight {
    max-height: 100vh;
    overflow: auto;
    scroll-behavior: smooth;
    scrollbar-gutter: stable;
}

/* WebKit */
.sidebar::-webkit-scrollbar {
    width: 10px;
}

.sidebar::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, .06);
}

.sidebar::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, .35);
    border-radius: 8px;
}

.sidebar::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, .5);
}

/* Firefox */
.sidebar {
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, .35) rgba(0, 0, 0, .06);
}

.sidebar {
    scroll-snap-type: y proximity;
}

.sidebar>.item {
    scroll-snap-align: start;
}

#questionButtons {
    display: flex;
    justify-content: space-around;
}

@media (max-width: 800px) {
    #questionButtons {
        display: block;
    }

    .hidden-for-phone {
        display: none !important;
    }

    .show-for-phone {
        display: flex !important;
    }

    .top-right-corner-button {
        position: absolute;
        top: -1em;
        display: flex !important;
    }

    .container-fluid {
        padding: 3em 1.5em 3em 1.5em !important;
    }

    #userParameters,
    #backToParia,
    .notificationBell {
        margin-left: .5em !important;
        margin-right: .5em !important;
    }
}

@media (max-width: 1400px) {
    .websiteTitle {
        font-size: xx-large;
    }
}

@media (max-width: 1000px) {
    .websiteTitle {
        font-size: x-large;
    }

    #books {
        display: block ! important;
    }

    #bookChapter1 {
        margin-bottom: 150px !important;
    }
}

@media (max-width: 600px) {
    #books {
        display: none !important;
    }
}

@media (max-width: 400px) {
    .websiteTitle {
        font-size: medium;
    }
}

.hidden {
    display: none !important;
}

#facebookShareLink {
    color: #fff !important;
    background-color: #3b5998 !important;
}

#discordLink {
    color: #fff !important;
    background-color: #7289da !important;
    display: none;
}

#scenarioPage {
    height: 100%;
    display: flex;
    min-height: inherit;
    align-items: stretch;
}

#battlemapPage {
    height: 100%;
    display: flex;
    min-height: inherit;
    align-items: stretch;
}

#scenarioData {
    flex-grow: 1;
    margin-left: 1em;
    display: block;
}

.plus:before {
    content: "\002B";
    font-size: 1.2em;
    font-weight: 700;
}

.minus:before {
    content: "\002D";
    font-size: 2em;
    font-weight: 700;
}

#scenarioLinks {
    display: grid;
}

#scenarioLinks>a {
    text-decoration: underline !important;
}

.highlight {
    background-color: antiquewhite !important;
}

.underline {
    text-decoration: underline !important;
}

#scenariosTree {
    height: 100%;
    width: 25em;
    min-width: 25em;
    position: relative;
    left: -3em;
    z-index: 1;
    background-color: white;
    overflow-x: hidden;
    transition: 0.5s;
    transition: all 300ms ease 0s;
    margin-right: 0px;
    padding-right: Opx;
    border-right: solid #428bca;
    border-top: solid #428bca;
    border-bottom: solid #428bca;
    background-color: aliceblue;
    padding: 1em;
}

#arrowScenarioTree {
    position: absolute;
    left: 12.9em;
    font-size: 1.7em;
    line-height: 1.95em;
    transition: all 300ms ease 0s;
    width: 1.7em;
    text-align: center;
    background: #428bca;
    color: white;
}

#arrowScenarioTree:hover {
    background: white;
    color: #428bca;
    cursor: pointer;
}

#scenariosTree.slideLeft {
    width: 0em ! important;
    padding: 0em !important;
    min-width: 0em !important;
}

#arrowScenarioTree.slideLeft {
    left: -1.7em !important;
}

.list-group-item:first-child {
    border-radius: 0px !important;
}

.node-scenariosTree {
    background-color: aliceblue;
}

.navbar {
    min-height: 100px;
}

#content {
    height: 100%;
}

#toolsPanel {
    height: 100%;
    width: 25em;
    min-width: 25em;
    position: relative;
    right: -3em;
    z-index: 1;
    background-color: white;
    overflow-x: hidden;
    transition: 0.5s;
    transition: all 300ms ease 0s;
    margin-right: 0px;
    padding-right: Opx;
    border-left: solid #428bca;
    border-top: solid #428bca;
    border-bottom: solid #428bca;
    background-color: aliceblue;
    padding: 1em;
}

#arrowToolsPanel {
    position: absolute;
    right: 12.9em;
    font-size: 1.7em;
    line-height: 1.95em;
    transition: all 300ms ease 0s;
    width: 1.7em;
    text-align: center;
    background: #428bca;
    color: white;
}

#arrowToolsPanel:hover {
    background: white;
    color: #428bca;
    cursor: pointer;
}

#toolsPanel.slideLeft {
    width: 0em ! important;
    padding: 0em !important;
    min-width: 0em !important;
}

#arrowToolsPanel.slideLeft {
    right: -1.7em !important;
}

.checkboxSearchLabel {
    color: #212529;
}

#newChangesCarousel {
    width: 100%;
    max-height: 600px;
    margin: 0 auto 2em auto;
    max-width: 1000px;
    height: auto;
}

.carousel-caption {
    left: 0px !important;
    right: 0px !important;
    width: 100% !important;
    background-color: rgba(0, 0, 0, 0.5);
    bottom: 0px ! important;
    padding-bottom: 40px !important;
    width: calc(100%) !important;
}

.carousel-indicators {
    bottom: 0px !important;
}

.carousel-control-prev,
.carousel-control-next {
    width: 3em !important;
    opacity: 1 !important;
    height: 50px !important;
    top: 33% !important;
    border-radius: 50%;
    color: black;
    -webkit-transition: all 0.5s !important;
    -o-transition: all 0.5s !important;
    transition: all 0.5s !important;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: gray;
    color: white;
}

.carousel-item>img {
    max-height: 600px;
    object-fit: contain;
}

.carousel-arrow {
    color: inherit !important;
    font-size: 2em;
    width: auto;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: center;
    justify-content: center;
    text-align: center;
    -webkit-transition: all 0.5s !important;
    -o-transition: all 0.5s !important;
    transition: all 0.5s !important;
}

.carousel-arrow:hover {
    color: white !important;
}

#workshopConnexionMessage {
    padding: 10px;
    display: inline-grid;
    width: 100%;
    text-align: center;
}

.btn-secondary {
    background-color: #428bca !important;
}

.btn-secondary:hover {
    font-weight: bold;
}

#encyclopediaDescriptionTitle {
    flex: 1;
    margin: 0;
}

#approveIcon {
    font-size: 2em;
    color: black;
    margin-left: .5em;
    color: #42C73C;
}

.approveIcon {
    color: black;
    margin-left: .5em;
    color: #42C73C;
}

.green {
    color: #42C73C;
}

.orange {
    color: #FF6E42;
}

#upvote {
    font-size: 2em;
    color: black;
    cursor: pointer;
    margin-left: .5em;
    margin-right: .25em;
}

#upvote.active {
    color: #428bca;
}

#upvoteTotal.active {
    color: #428bca;
}

.notificationBell,
#userParameters {
    text-align: center;
    font-size: 2.5em;
    position: relative;
    cursor: pointer;
}

#backToParia {
    font-size: 2.5em;
    position: relative;
    cursor: pointer;
}

.dot {
    height: 25px;
    width: 25px;
    background-color: #f03a3a;
    border-radius: 50%;
    display: inline-block;
    position: absolute;
    right: -5px;
    bottom: 0;
    font-size: .5em;
    text-align: center;
    FONT-WEIGHT: 700;
    line-height: 1.1em;
    color: white;
}

.bs-tooltip-auto[x-placement^=bottom] .arrow::before,
.bs-tooltip-bottom .arrow::before {
    border-bottom-color: black;
    /* Red */
}

.tooltip>.tooltip-inner {
    background-color: white;
    border: 1px solid gray !important;
    color: black;
    width: 250px;
    padding: 0px;
    -webkit-box-shadow: 10px 10px 20px -10px rgba(87, 87, 87, .5);
    -moz-box-shadow: 10px 10px 20px -10px rgba(87, 87, 87, .5);
    box-shadow: 10px 10px 20px -10px rgba(87, 87, 87, .5);
    border-bottom: 0px solid black !important;
    overflow-y: auto;
    max-height: 400px;
}

.tooltip-item {
    border-bottom: 1px solid black !important;
    padding: .5em;
    cursor: pointer;
}

.tooltip-item:hover {
    background-color: aliceblue;
}

.btn-next-element,
.btn-previous-element {
    display: flex;
}

.btn-next-element>i,
.btn-previous-element>i {
    margin: auto .5em auto 0;
}

.tooltip-time {
    color: gray;
}

#searchFilters>li>div {
    display: flex;
    padding: 0 1em;
}

#searchFilters>li>div>div {
    flex: 1
}

.no-pointer-events {
    pointer-events: none;
}

#encyclopediaTitle>a,
.encyclopediaTitle>a {
    text-decoration: underline !important;
}

#infoModalImageContainer {
    background-color: #ffffff !important;
    border: none !important;
    width: fit-content;
}

#infoModalImageContent {
    justify-content: center;
    width: fit-content;
    display: block;
    text-align: center;
}

#infoModalImageContent>a {
    color: purple !important;
    text-decoration: underline !important;
}

@-webkit-keyframes color_change {
    from {
        color: black;
    }

    to {
        color: #E04A33;
    }
}

@-moz-keyframes color_change {
    from {
        color: black;
    }

    to {
        color: #E04A33;
    }
}

@-ms-keyframes color_change {
    from {
        color: black;
    }

    to {
        color: #E04A33;
    }
}

@-o-keyframes color_change {
    from {
        color: black;
    }

    to {
        color: #E04A33;
    }
}

@keyframes color_change {
    from {
        color: black;
    }

    to {
        color: #E04A33;
    }
}

from {
    color: black;
}

to {
    color: #E04A33;
}

.flex {
    display: flex;
}

.margin-auto {
    margin: auto;
}

#upgrades {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.upgrade>.name {
    line-height: 2em;
    font-size: larger;
}

.upvote {
    font-size: 2em;
    color: black;
    cursor: pointer;
    margin-left: .5em;
    margin-right: .25em;
}

.upvote.active {
    color: #428bca;
}

.upvoteTotal.active {
    color: #428bca;
}

.bottom-divider {
    border-bottom: 1px solid #21252914
}

#ghost {
    position: absolute;
    z-index: 10000;
    font-size: 3em;
    transition: color 1s ease-in-out;
    text-shadow: 3px 6px rgba(0, 0, 0, 0.1)
}

#halloween {
    font-size: 1.3em;
}

.encyclopediaDivider {
    height: 1px;
    background-color: #BABABA;
}

#printCardSelector {
    display: flex;
}

#printCardSelector>div:first-child {
    flex: .25;
    min-width: 400px;
    border: 1px solid #BABABA !important;
    max-height: 650px;
    overflow: auto;
}

#printCardSelector>div:last-child {
    flex: 1;
}

#cardsContainer {
    display: flex;
    flex-wrap: wrap;
    max-height: 650px;
    overflow: auto;
}

#selectedCardsList>div {
    margin-bottom: .5em;
    font-size: 1.2em;
}

.card>img {
    object-fit: contain;
}

.cardCount {
    color: #009412
}

#numberOf {
    font-weight: normal;
}

.notAnsweredQuestion {
    display: flex;
}

.answer-body>div:first-child {
    font-size: 1.1em;
}

.answer-body>div:nth-child(2) {
    font-size: .9em;
    color: grey;
}

.answered>.comment-faq-icon {
    margin: auto 0 auto 0;
}

.custom-file-label::after {
    content: "Parcourir" !important;
}

.upload-pdf-preview {
    color: #B30B00;
    text-align: center;
    margin: 0 auto;
    display: block;
    font-size: 10em;
}

.upload-pdf,
.upload-image,
.upload-text {
    display: flex;
}

.upload-image-preview {
    margin: 0 auto;
    display: block;
    height: 400px;
    width: auto;
}

.upload-text>div:first-child,
.upload-image>div:first-child,
.upload-pdf>div:first-child {
    flex-direction: column;
    display: flex;
    flex-wrap: nowrap;
    text-align: center;
    vertical-align: middle;
    margin: auto 0;
}

.upload-text>div:first-child>i,
.upload-image>div:first-child>i,
.upload-pdf>div:first-child>i {
    margin-top: .5em;
    margin-bottom: .5em;
}

#pixy {
    flex: 1;
}

#buttonWrapper {
    position: absolute;
    width: 30px;
    top: 2px;
    right: 2px;
}

#buttonWrapper>input[type="button"] {
    padding: 5px;
    width: 30px;
    margin: 0px 0px 2px 0px;
}

.dropdown-submenu {
    position: relative;
}

.dropdown-submenu a::after {
    transform: rotate(-90deg);
    position: absolute;
    right: 6px;
    top: .8em;
}

.dropdown-submenu .dropdown-menu {
    top: 0;
    left: 100%;
    margin-left: .1rem;
    margin-right: .1rem;
}

.dropdown-item.hover:hover {
    background-color: #dee2e6;
}

#scenarioCtrlInfo>img {
    height: 32px;
    width: auto;
}

#scenarioCtrlInfo {
    width: fit-content;
    margin: 0 auto;
}

.userName {
    line-height: 35px;
}

.fa-moving {
    -webkit-animation: color_change 1s infinite alternate;
    -moz-animation: color_change 1s infinite alternate;
    -ms-animation: color_change 1s infinite alternate;
    -o-animation: color_change 1s infinite alternate;
    animation: color_change 1s infinite alternate;
    animation-name: color_change;
    animation-duration: 1s;
    animation-iteration-count: infinite;
    animation-direction: alternate;
}

@-webkit-keyframes color_change {
    from {
        color: black;
        font-size: 1em;
    }

    to {
        color: #E04A33;
        font-size: 1.35em;
    }
}

#chat {
    height: 300px;
    flex: 1;
    overflow: auto;
}

.no-message {
    font-style: italic;
    font-size: 1.25em;
    color: gray;
}

.message-in-line {
    display: flex;
}

.date-separator-in-message {
    text-align: center;
    font-weight: bold;
    display: flex;
    align-items: center;
    color: #999;
}

.date-separator-in-message::before,
.date-separator-in-message::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #999;
}

.date-separator-in-message:not(:empty)::before {
    margin-right: .25em;
}

.date-separator-in-message:not(:empty)::after {
    margin-left: .25em;
}

.time-in-message {
    color: #999;
}

.message-in-line>a {
    color: purple !important;
    text-decoration: underline !important;
}

.encyclopiaToggle {
    display: flex !important;
}

.encyclopiaToggle>div:nth-child(2) {
    flex: 1 !important;
}

.pagination a {
    color: black;
    float: left;
    padding: 8px 16px;
    text-decoration: none;
    font-size: 22px;
}

.pagination a.active {
    background-color: #4CAF50;
    color: white;
}

.pagination a:hover:not(.active) {
    background-color: #ddd;
}

.page-item.selected>a {
    background-color: #dee2e6;
}

.page-item.disabled {
    cursor: default;
    opacity: .5;
}

input.is-invalid {
    padding-left: 12px !important;
}

.invalid-feedback {
    font-size: 1em;
}

#questionInputFieldMainPage {
    max-width: 1000px;
    margin: 0 auto;
}

#questionInputFieldMainPage:focus-within {
    background-color: #fff;
    border-color: #80bdff;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgb(0 123 255 / 25%);
}

#questionInputFieldMainPage>i {
    float: right;
    margin: auto 0;
    cursor: pointer;
}

#questionInputFieldMainPage:focus-visible,
#questionInputFieldMainPage {
    border-radius: 30em;
    display: flex;
}

#questionInputField:focus-visible {
    border: none !important;
    outline: 0px solid transparent;
}

#questionInputField {
    flex: 1;
    overflow: hidden;
}

#questionInputField[placeholder]:empty:before {
    content: attr(placeholder);
    color: #555;
}

#questionInputField[placeholder]:empty:focus:before {
    content: "";
}

.questions-answers-in-home {
    max-width: 1000px;
    margin: 1em auto;
}

.question-text {
    font-weight: bold;
    font-size: 1.2em;
    display: block;
}

.answer-text {
    color: grey;
    font-size: 1.1em;
}

.number-of-answer {
    color: grey;
    font-size: 1.1em;
    opacity: .7;
    font-style: italic;
}

.notValidated {
    font-style: italic;
    color: grey;
    font-weight: normal;
}

.flex {
    display: flex;
}

.flex-1 {
    flex: 1;
}

.question-links a {
    color: purple !important;
    text-decoration: underline !important;
}

.question-links {
    font-size: 1.2em !important;
}

.boss-capacity {
    width: 100%;
    display: flex;
}

.boss-capacity-arrows {
    display: flex;
    flex-direction: column;
    margin: auto 0;
    font-size: 1.3em;
    padding: 1em;
}

.boss-capacity-arrows i {
    margin-top: .5em;
    margin-bottom: .5em;
}

i.disabled {
    opacity: 0.5;
    cursor: default !important;
}

@media (max-width: 800px) {
    #headerBar {
        display: none !important;
    }

    #burgerNavbar {
        display: flex;
    }
}

#burgerButton {
    margin-top: .5em;
    margin-right: auto;
    font-size: 2em;
    color: black;
    margin-bottom: .5em;
}

#burgerMenu .nav-item>i {
    margin-right: 1em;
    width: 24px;
    text-align: center;
}

#burgerMenu .nav-item {
    cursor: pointer;
    font-size: 1.5em;
    padding: 10px;
}

#burgerMenu .nav-item:hover {
    background-color: #dee2e6;
}

#branchErrorsImg {
    height: 64px;
}

#burgerButton {
    outline: none;
    border: 1px solid #DDDDDD;
    animation: w1anim 2s infinite;
}

@keyframes w1anim {
    0% {
        box-shadow: 0 0 0px rgb(125, 21, 144);
    }

    50% {
        box-shadow: 0 0 10px rgb(125, 21, 144);
        border: 1px solid rgba(125, 21, 144, 1);
    }

    100% {
        box-shadow: 0 0 0px rgb(125, 21, 144);
    }
}

#encyclopediaDownload {
    font-size: 2em;
}

#numberOfTimeViewed {
    border-radius: 10px;
    border: 2px solid black;
    padding: .5em;
    display: inline-flex;
}

.statisticsButtonParent {
    display: flex;
    margin-bottom: 1.5em;
}

.statisticsButton {
    padding: 1em;
    cursor: pointer;
    font-weight: bold;
    border: 1px solid black;
    margin-right: .5em;
    border-radius: 20px;
    width: fit-content;
}

.selected {
    background-color: #80bdff;
}

.statisticsParent>div {
    margin-bottom: 0.5em;
    font-size: large;
}

.blinking {
    animation: blinkingText 2s infinite;
    font-size: initial;
}

@keyframes blinkingText {
    0% {
        color: black;
    }

    50% {
        color: #EA3B1C;
    }

    100% {
        color: black;
    }
}