﻿*:not(i) {
    font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

p, span, button {
    font-weight: 400;
}

p.light, span.light, button.light, a.light {
    font-weight: 300;
}

p.medium, span.medium, button.medium, a.medium {
    font-weight: 500;
}

p.bold, span.bold, button.bold, a.bold {
    font-weight: 700;
}

p.black, span.black, button.black, a.black {
    font-weight: 900;
}

p.smaller, span.smaller, button.smaller, a.smaller {
    font-size: 12px;
}

p.small, span.small, button.small, a.small {
    font-size: 14px;
}

p.regular, span.regular, button.regular, a.regular {
    font-size: 16px;
}

p.large, span.large, button.large, a.large {
    font-size: 20px;
}

p.larger, span.larger, button.larger, a.larger {
    font-size: 24px;
}

p.xlarge, span.xlarge, button.xlarge, a.xlarge {
    font-size: 32px;
}

p.xxlarge, span.xxlarge, button.xxlarge, a.xxlarge {
    font-size: 36px;
}

p.xxxlarge, span.xxxlarge, button.xxxlarge, a.xxxlarge {
    font-size: 48px;
}

p.ucase, span.ucase, button.ucase, a.ucase {
    text-transform: uppercase;
}

ul.no-style {
    list-style: none;
    margin: 0;
    padding: 0;

    li {
        display: inline;
    }
}

html {
    height: 100%;
}

body {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
    background-color: transparent;
}

.main-container {
    display: flex;
    flex: 1 1 auto;
}

.topbar {
    position: absolute;
    top: 60px;
    right: 60px;
    flex: 0 0 auto;
    display: flex;
    width: 100%;
    background: none;
    color: var(--mainNavigationColor);
    z-index: 1000;
}

.topbar > *:not(:last-child) {
    margin-right: 20px;
}

.topbar > .app-logo {
    flex: 0 0 auto;
    display: flex;
    align-self: center;
}

.topbar > .app-logo > img {
    max-height: 60px;
}

.topbar > .brand-logo {
    flex: 0 0 auto;
    max-height: 60px;
    align-self: center;
}

.topbar > .app-header {
    flex: 0 0 auto;
    align-self: center;
    font-weight: 400;
    font-size: 20px;
    color: var(--mainNavigationHeaderTextColor);
}

.topbar > .actions {
    flex: 0 0 auto;
    margin-left: auto;
    align-self: center;
}

.topbar > .actions > *:not(:last-child) {
    margin-right: 10px;
}

.main-content {
    flex: 1 1 auto;
    display: flex;
    overflow: auto;
}

.hidden {
    display: none !important;
}

.background-image {
    background-repeat: no-repeat;
    background-position: center center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;

    display: flex;
    flex: 1;
    margin: 20px;
    border-radius: 12px;
}

.text-danger {
    font-size: 12px;
    color: var(--seriesAColor);
}

.text-danger:empty {
    display: none;
}

.form-group .text-danger {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    margin-top: 6px;
    line-height: 16px;
}

.form-group .text-danger:empty {
    display: none;
}

.form-group .text-danger:not(:empty)::before {
    content: "\f06a";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 12px;
    line-height: 16px;
    color: var(--seriesAColor);
}

.failure-container {
    margin-top: 8px;
    margin-bottom: 8px;
}

.failure-container .text-danger {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: var(--errorLightColor);
    border: 1px solid var(--errorColor);
    color: var(--seriesAColor);
    padding: 10px 12px;
    border-radius: 8px;
}

.failure-container .text-danger:empty {
    display: none;
}

.failure-container .text-danger:not(:empty)::before {
    content: "\f06a";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 14px;
}

.language-dropdown .dropdown-button.text {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0 12px;
}

.language-dropdown .dropdown-content {
    min-width: 100%;
    width: 100%;
    border: 1px solid var(--borderColor);
    border-radius: 2px;
    overflow: hidden;
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.5);
    background-color: var(--componentBackgroundColor);
}

.language-dropdown .dropdown-content .dropdown-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    line-height: 20px;
}

.language-dropdown .dropdown-content .dropdown-item img {
    width: 24px;
    height: 16px;
    flex: 0 0 auto;
}

.language-dropdown .dropdown-content .dropdown-item:hover {
    background-color: var(--hoveredBackgroundColor);
}
