
:root {
    --color-body: #2d3a49;
    --color-background: #ffffff;
    --color-btn-background-disabled: #cdcdcd;
    --color-text: #000000;
    --color-text-disabled: rgba(0, 0, 0, 0.2);
    --color-ll-blue: #2AA5DE;
    --color-ll-blue-transparent: rgba(42, 165, 222, 0.2);
    --color-ll-red: #F0628D;
    --color-ll-red-transparent: rgba(240, 98, 141, 0.2);
    --color-ll-green: #6FBE44;
    --color-ll-green-transparent: rgba(111, 190, 68, 0.2);

    --mdc-theme-primary: var(--color-ll-blue);
    --mdc-theme-secondary: var(--color-ll-green);

    --border-radius: 5px;
}
body {
    background: var(--color-body);
    overflow-x: hidden;
    overflow-y: hidden;
    color: var(--color-text);
    background-image: url('https://s3.eu-north-1.amazonaws.com/assets.projectbusinessgame.com/files/logos/sovellustausta.png');
}
body.dark {
    --color-body: #f2f2f2;
    --color-background: #2d3a49;
    --color-text: #ffffff;
    --color-text-disabled: rgba(255, 255, 255, 0.2);
}
html, body {
    padding: 0;
    margin: 0;
    font-family: Roboto, Arial, Helvetica, sans-serif;
    font-weight: 400;
    font-size: 1.06em;
}
p, div, span, input, textarea, button {
    font-family: Roboto, Arial, Helvetica, sans-serif !important;
}
.mdc-button--raised {
    background-color: var(--color-ll-blue) !important;
}
.mdc-button--raised:disabled {
    background-color: var(--color-btn-background-disabled) !important;
}
.mdc-list-item--disabled .mdc-list-item__primary-text {
    color: var(--color-text-disabled);
}
.mdc-list-item--disabled .mdc-list-item__secondary-text {
    color: var(--color-text-disabled);
}
.mdc-text-field--focused:not(.mdc-text-field--disabled) .mdc-floating-label {
    color: var(--color-ll-blue);
}
.mdc-radio, .mdc-checkbox {
  --mdc-theme-secondary: var(--mdc-theme-primary);
}

h1,h2,h3,h4,h5,h6 {
    font-family: "Red Hat Display", Arial, Helvetica, sans-serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
    color: #333;
}
h3 {
    letter-spacing: -.05em;
    font-size: 1.6em;
}

#canvasSizer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.full-screen {
    position: absolute;
    top:0;
    left:0;
    width: 100%;
    height: 100%;
}
.bottom-left {
    position: absolute;
    bottom:0;
    left:0;
}

#testDiv {
    position: absolute;
    top: 60px;
    right: 0;
    color: white;
    text-align: right;
    padding: 5px;
    user-select: none;
    pointer-events: none;
    display: none;
}
#testDiv a {
    color: white;
    pointer-events: auto;
}

.text-awesome {
    font-family: "Font Awesome 6 Pro";
    font-size: 14px;
}

.circle {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    box-sizing: border-box;
    text-align: center;
    color: #000000;
    position: relative;
}
.circle-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    white-space: nowrap;
}
.circle-border {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border-color: white;
    border-width: 2px;
    border-style: solid;
    transform: translate(-50%,-50%);
}

.circle-border-free {
    border-color: white;
}
.circle-border-reserved {
    border-color: #00bd00;
    border-width: 2px;
    width: 26px;
    height: 26px;
}
.resource-name {
    position: absolute;
    top: calc(100% + 5px);
    left: 50%;
    transform: translate(-50%,0%);
    word-break: break-all;
    width: 40px;
    line-height: 10px;
    font-size: 12px;
    color: white;
}

.resources {
    padding: 30px;
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    max-width: 10vw;
}

.resource-table {
    width: 100%;
    border: 1px solid;
}
.resource-table tr, .resource-table td{
    border: 1px solid;
    text-align: center;
}
.resource-table .order {
    background-color: green;
}
.resource-table a {
    color: white;
}

#widgetParent {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.widget {
    position:absolute;
    color: white;
    pointer-events: auto;
    /*user-select: none;*/
}

#background {
    position: absolute;
    z-index: -100;
    top:0;
    left:0;
    width: 100%;
    height: 100%;
}

#server-messages {
    top:40px;
    left:10px;
    pointer-events: auto;
    background-color: red;
}

.top-bar {
    left:0;
    top:0;
    width:100%;
    height:30px;
}
.top-left {
    left:0;
    top:30px;
}
.top-right {
    right:0;
    top:30px;
}
.bottom-right {
    right:0;
    bottom:0;
}
.bottom-left {
    left:0;
    bottom:0;
}
.bottom {
    bottom:0;
    left: 50%;
    transform: translateX(-50%);
}
.modal-full-screen {
    left:0;
    top:0;
    width:100%;
    height: 100%;
    z-index: 99;
}
.position-center {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
}
.bg-full-screen {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #424242;
    opacity: 0.75;
    pointer-events: none;
}
.blue-dot {
    height: 10px;
    width: 10px;
    background-color: var(--color-ll-blue);
    border-radius: 50%;
    display: inline-block;
    margin-bottom: 2px;
    align-self: flex-end;
}
.assistant-portrait-audio {
    display: flex;
    height:55vh;
    width:auto;
    border-radius: 5%;
    align-items: center;
    justify-content: center;
}
.assistant-portrait-audio .frame {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    border-radius: 5%;
}
.assistant-portrait-audio .content {
    height:97%;
    width:97%;
    border-radius: 5%;
}
