/*
    Green: #009E49
    Yellow: #FCD116
    Red: #CE1126
*/


* { 
    margin:0; 
    padding:0; 
    box-sizing: border-box;
}
html, body {
    height: 100%;
    font-size: 17px;
    line-height: 1.47059;
    color: #494949;
}
body { 
    background-color: rgb(245, 245, 248);
    font-family: system-ui, Helvetica Neue, sans-serif;
}
#main {}


@keyframes fadeInOut {
    0% {
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(359deg);
    }
}
@keyframes dash100 {
    0% {
        stroke-dasharray: 1, 297;
        stroke-dashoffset: 0
    }

    45%, 55% {
        stroke-dasharray: 266, 297;
        stroke-dashoffset: -78
    }

    100% {
        stroke-dasharray: 266, 297;
        stroke-dashoffset: -296
    }
}
.global-loader-modal {
    position: absolute;
    z-index: 9998;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8);
}
.global-loader-modal div {
    position: fixed;
    height: 100px;
    width: 100px;
    top: 50%;
    left: 50%;
    margin-top: -50px;
    margin-left: -50px;
    display: block;
}
.global-loader-modal div.global-loader-modal-show svg {
    display: inline-block;
}
.circle-loader {
    display: block;
    width: 100px;
    height: 100px;
    margin-left: auto;
    margin-right: auto;
    fill: transparent;
    animation: spin 2.5s linear infinite;
    transform: translate3d(0, 0, 0);
}
.circle-loader circle.fixed {
    stroke: rgba(127, 127, 127, .2);
    stroke-width: 2;
}
.circle-loader circle.rotate {
    animation: dash100 2s linear infinite;
    stroke-width: 2;
    stroke: #7F7F7F;
    stroke-dasharray: 170%;
}




.toggle-fields {
    margin-top: 0.35em;
}
.toggle-field,
.toggle-field-q {
    position: relative;
    margin: 1em 0;
    padding: 1em 0;
    border: 1px solid rgb(220, 220, 225);
    border-right: none;
    border-left: none;
}
.toggle-field-q {
    margin: 0;
    padding: 0.4em 0;
    border-color: rgb(230, 230, 234);
    border-bottom: 0;
    font-size: 0.8em;
}
.toggle-field-q:first-of-type {
    margin-top: 1em;
}
.toggle-field-checkbox-input {
    display: none;
}
.toggle-field-checkbox-input:checked + .toggle-field-label {
/*    color: #009E49;*/
}
.toggle-field-checkbox-input:checked + .toggle-field-label:before {
    background-color: #009E49;
}
.toggle-field-checkbox-input:checked + .toggle-field-label:after {
    left: 0.6em;
}
.toggle-field-label {
    position: relative;
    display: block;
    padding-left: 2.4em;
    line-height: 1.3;
    cursor: pointer;
}
.toggle-field-label:before,
.toggle-field-label:after {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 1.2em;
    height: 1.2em;
    border-radius: 1.2em;
    content: '';
    -webkit-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;
}
.toggle-field-label:before {
    width: 1.8em;
    background-color: rgba(0, 0, 0, 0.3);
    transition: background-color 0.15s ease-in 0s;
}
.toggle-field-label:after {
    background-color: white;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    transition: left 0.15s ease-in 0s;
}
.toggle-field-description {
    margin-top: 0.8em;
    font-size: 0.8em;
    color: rgb(150, 150, 155);
}
.toggle-field-reversed > input[type="checkbox"]:checked + label:after {
    left: auto;
    right: 0;
}
.toggle-field-reversed > label:before,
.toggle-field-reversed > label:after {
    left: auto;
    right: 0;
}
.toggle-field-reversed > label:after {
    right: 0.6em;
}
.toggle-field-reversed > label:after {
    transition: right 0.15s ease-in 0s;
}
.toggle-field-reversed > label {
    padding-left: 0;
    padding-right: 2.4em;
}



.file-upload-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: Blue;
    border-radius: 3px;
    color: white;
    cursor: pointer;
    border: 0;
    transition-duration: 0.15s;
}
.file-upload-button:focus {
    outline: 0;
}
.file-upload-button:hover {
    background-color: Blue;
}
.file-upload-response {
    margin: 10px 0 50px;
    font-size: 14px;
    color: #777;
}
.file-upload-response svg {
    position: relative;
    width: 24px;
    height: 24px;
    fill: Orange;
    animation: spin 1.3s infinite linear;
    transition-duration: 0.2s;
    overflow: hidden;
}



.sign-in-container {
    height: 100%;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}
#sign-in {
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 34px;
    gap: 40px;
}
#sign-in section {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #fff;
    width: 100%;
    padding: 45px 50px 45px 50px;
    border-radius: 34px;
    gap: 1em;
    box-shadow: 0 11px 34px 0 rgba(0,0,0,0.05);
}
#sign-in h1 {
    margin-bottom: 0.75em;
    font-size: 34px;
    line-height: 1;
    font-weight: inherit;
    color: #111;
}
#sign-in fieldset {
    border: 0;
}
#sign-in label {
    display: block;
    margin-bottom: 0.25em;
}
#sign-in input {
    width: 376px;
    border-radius: 12px;
    border: 0;
    box-shadow: none;
    color: #494949;
    border: 1px solid;
    border-color: #86868b;
    padding: 0.75em;
    font-size: inherit;
    outline: 0;
}
#sign-in input:focus {
    border-color: #0071e3;
}
#sign-in-form-error {
    display: none;
    width: 100%;
    padding: 10px;
    background-color: rgb(255, 242, 244);
    color: rgb(227, 0, 0);
    border-radius: 12px;
}
#sign-in button {
    margin-top: 1.4em;
    padding: 11px 21px 11px 21px;
    border: 0;
    border-radius: 34px;
    background-color: rgb(0, 113, 227);
    color: #fff;
    font-size: inherit;
    font-weight: inherit;
    cursor: pointer;
}
#sign-in button:hover {
    background-color: rgb(0, 119, 237);
    transition: all .15s cubic-bezier(.07,.95,0,1);
}



.sign-in-form-language-selector {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
}
.sign-in-form-language-selector li {
    display: block;
    padding: 0 0 3px;
    font-size: 13px;
    border-bottom: 1px solid transparent;
    transition: all .15s cubic-bezier(.07,.95,0,1);
    color: rgb(180, 180, 185);
    cursor: pointer;
}
.sign-in-form-language-selector li:hover {
    border-color: currentColor;
}
.sign-in-form-language-selector li.active,
.sign-in-form-language-selector li.active:hover {
    color: inherit;
    border-color: currentColor;
}





#header {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 20px;
}
#header-content {
    flex-grow: 1;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 34px;
    border-radius: 34px;
    background-color: #fff;
}
#logo {
    maegin-right: 20px;
}
#header-nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 5px;
}
#header-nav li {
    display: block;
    padding: 12px 15px;
    border-radius: 12px;
    cursor: pointer;
    transition: all .15s cubic-bezier(.07,.95,0,1);
    font-weight: 500;
}
#header-nav li:hover {
    background-color: rgb(248, 248, 252);
}
#header-nav li.active,
#header-nav li.active:hover {
    background-color: rgb(252, 209, 22);
    color: rgb(40, 30, 30);
}
#header-nav li.disabled,
#header-nav li.disabled:hover {
    background-color: inherit;
    color: rgb(200, 200, 205);
    cursor: default;
}
#header-extra-nav {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    font-size: 13px;
}
#header-language-selector {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
}
#header-language-selector li {
    display: block;
    padding: 3px 0 0;
    transition: all .15s cubic-bezier(.07,.95,0,1);
    color: rgb(180, 180, 185);
    cursor: pointer;
    text-transform: uppercase;
}
#header-language-selector li:hover {
    color: rgb(150, 150, 155);
}
#header-language-selector li.active,
#header-language-selector li.active:hover {
    color: #111;
}
#sign-out-btn {
    font-size: inherit;
    border: 0;
    outline: 0;
    padding-top: 2px;
    background: transparent;
    cursor: pointer;
    color: rgb(227, 0, 0);
}



.section {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0 20px 20px 20px;
}
.section-content {
    flex-grow: 1;
    padding: 34px;
    border-radius: 34px;
    border: 3px solid #fff;
    max-width: 100%;
}
.section-content h3 {
    font-size: inherit;
    font-weight: bold;
    font-size: 1.5em;
    color: inherit;
    margin-bottom: 1.7em;
}

#data-import h2 {
    font-size: inherit;
    font-weight: bold;
    font-size: 1.5em;
/*    color: #111;*/
    margin-bottom: 1.7em;
}
#data-import input[type="file"] {
    font-size: 0.9em;
}
#data-import-btn {
    margin-top: 0.8em;
    padding: 11px 21px 11px 21px;
    border: 0;
    border-radius: 34px;
    background-color: rgb(0, 113, 227);
    color: #fff;
    font-size: inherit;
    font-weight: inherit;
    cursor: pointer;
}
#data-import-btn:hover {
    background-color: rgb(0, 119, 237);
    transition: all .15s cubic-bezier(.07,.95,0,1);
}


#data-import-success {
    display: none;
    padding: 0 20px 20px 20px;
}
#data-import-success-content {
    flex-grow: 1;
/*    display: flex;*/
/*    flex-direction: column;*/
/*    align-items: center;*/
/*    gap: 20px;*/
    padding: 34px;
    border-radius: 34px;
    border: 3px solid #fff;
}
#data-import-success h2 {
    font-size: inherit;
    font-weight: bold;
    font-size: 1.1em;
    color: #009E49;
}


#data-overview {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0 20px 20px 20px;
}
#data-overview-content {
    flex-grow: 1;
    padding: 34px;
    border-radius: 34px;
    border: 3px solid #fff;
}
#data-overview h2 {
    font-size: inherit;
    font-weight: bold;
    font-size: 1.1em;
    color: #111;
    margin-bottom: 1em;
}



.t-section-heading {
/*    text-transform: uppercase;*/
}
.t-header-row,
.t-row,
.t-subrow {
    display: flex;
    flex-direction: row;
    gap: 20px;
    padding: 5px 34px;
    margin: 0 -34px;
    font-size: 12px;
    transition-duration: 0.05s;
}
.t-row:hover,
.t-subrow:hover {
    background: rgb(255, 248, 226);
}
.t-header-row {
    text-transform: uppercase;
    font-weight: bold;
}
.t-subrow .t-cell {
    padding-left: 20px;
}
.t-cell {
    width: 25%;
    min-height: 35px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.t-cell > input {
    width: 100%;
    border-radius: 12px;
    border: 0;
    box-shadow: none;
    color: #494949;
    border: 1px solid #86868b;
    padding: 0.75em;
    font-size: inherit;
    outline: 0;
}
.t-cell > input:focus {
    border-color: #0071e3;
}
.t-label {
    display: block;
    flex-grow: 1;
}
.t-status {
    display: inline-block;
}
.t-status > span {
    display: none;
    margin: 0 1em;
    opacity: 0;
}
.t-status-success {
    color: #009E49;
}
.t-status-error {
    color: #CE1126;
}
.t-status .t-status-show {
    display: block;
    animation: fadeInOut 5s cubic-bezier(0.4, 1, 0.1, 1) 1 forwards;
}
.t-section-admin-panel,
.section-about-page {
    padding-bottom: 75px;
}
.fixed-save-button-container {
    position: fixed;
    z-index: 10;
    left: 20px;
    bottom: 0;
    right: 20px;
    background-color: rgb(245, 245, 248);
    padding-bottom: 20px;
/*    border-bottom: 20px solid rgb(245, 245, 248);*/
}
.fixed-save-button-row {
    padding: 20px 34px;
    background-color: #fff;
    box-shadow: 0 -10px 15px rgba(0, 0, 30, 0.05);
    border-bottom-right-radius: 34px;
    border-bottom-left-radius: 34px;
}
.fixed-save-button {
    padding: 11px 21px 11px 21px;
    border: 0;
    border-radius: 34px;
    background-color: rgb(0, 113, 227);
    color: #fff;
    font-size: inherit;
    font-weight: inherit;
    cursor: pointer;
}
.fixed-save-button:hover {
    background-color: rgb(0, 119, 237);
    transition: all .15s cubic-bezier(.07,.95,0,1);
}

.tw-row {
    display: flex;
    flex-direction: row;
    gap: 20px;
    margin-bottom: 2em;
}
.tw-cell {
    width: 32.3%;
}
.tw-heading {
    margin-bottom: 2em;
    font-size: 1.5em;
}
.tw-label {
    font-size: inherit;
    margin-bottom: 0.3em;
    font-weight: normal;
}
.tw-lang-label {
    display: block;
    text-transform: uppercase;
    margin-bottom: 0.5em;
    font-size: 12px;
}
.tw-input {
    width: 100%;
    border-radius: 12px;
    border: 0;
    box-shadow: none;
    color: #494949;
    border: 1px solid #86868b;
    padding: 0.75em;
    font-size: inherit;
    outline: 0;
}
.tw-input:focus {
    border-color: #0071e3;
}
.tw-image-upload {
    display: flex;
    flex-direction: row;
    gap: 20px;
    margin-top: 0.4em;
    margin-bottom: 3em;
}
.tw-image-container {
    width: 192px;
    height: 108px;
    border: 10px solid #fff;
    border: 1px solid #86868b;
}
.tw-image-container > img {
    width: 100%;
    height: auto;
}
.tw-image-upload-btn {
    padding: 11px 21px 11px 21px;
    border: 0;
    border-radius: 34px;
    background-color: rgb(0, 113, 227);
    color: #fff;
    font-size: 0.8em;
    font-weight: inherit;
    cursor: pointer;
}
.tw-image-upload-btn:hover {
    background-color: rgb(0, 119, 237);
    transition: all .15s cubic-bezier(.07,.95,0,1);
}

.trix-content {
    background-color: #fff;
    min-height: 30em;
}
trix-toolbar {
    background-color: #f0f0f0;
    border: 1px solid #ccc;
    border-bottom: 0;
}
trix-toolbar .trix-button-group {
    border-radius: 0;
    border: 0;
    margin-bottom: 0;
}
trix-toolbar .trix-button-group:not(:first-child) {
    margin-left: 0;
    border-left: 0;
}
trix-toolbar .trix-button {
    border-bottom: 0;
    transition-duration: 0.05s;
}
trix-toolbar .trix-button:hover {
    background: rgb(255, 248, 226);
}
trix-toolbar .trix-button-group--file-tools,
trix-toolbar .trix-button--icon-code,
trix-toolbar .trix-button--icon-strike,
trix-toolbar .trix-button-group--history-tools {
    display: none;
}





.users-list {
    width: 100%;
}
.users-list th, td {
    border-bottom: 1px solid #ddd;
    padding: 5px 0;
    width: calc((100% - 100px) / 4);
    text-align: left;
    vertical-align: middle;
}
.users-list th:last-of-type {
    width: 190px;
    text-align: right;
}
.users-list button {
    display: inline-block;
    padding: 7px 15px 7px 15px;
    border: 0;
    border-radius: 34px;
    background-color: rgb(0, 113, 227);
    color: #fff;
    font-size: 0.8em;
    font-weight: inherit;
    cursor: pointer;
    transition: all .15s cubic-bezier(.07,.95,0,1);
}
.users-list button:hover {
    background-color: rgb(0, 119, 237);
}
.users-list .btn-delete-user {
    background-color: #fff;
    border: 1px solid #ccc;
    color: inherit;
}
.users-list .btn-delete-user:hover {
    border-color: #aaa;
    background-color: #fff;
}

.btn-create-new-user,
.btn-um-cancel,
.btn-edit-user-form,
.btn-delete-user-confirm {
    display: inline-block;
    font-size: 0.8em;
    margin-top: 44px;
    padding: 11px 21px 11px 21px;
    border: 0;
    border-radius: 34px;
    background-color: rgb(0, 113, 227);
    color: #fff;
    font-weight: inherit;
    cursor: pointer;
    transition: all .15s cubic-bezier(.07,.95,0,1);
}
.btn-create-new-user:hover,
.btn-edit-user-form:hover {
    background-color: rgb(0, 119, 237);
}
.btn-um-cancel {
    background-color: #fff;
    border: 1px solid #ccc;
    color: inherit;
}
.btn-um-cancel:hover {
    border-color: #aaa;
    background-color: #fff;
}
.btn-delete-user-confirm {
    background-color: rgba(206, 17, 38, 0.9);
}
.btn-delete-user-confirm:hover {
    background-color: rgb(206, 17, 38);
}

.um-inputs {
    width: 500px;
}
.um-inputs > div {
    margin-bottom: 1em;
}
.um-inputs select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    margin-top: 3px;
    width: 100%;
    min-width: 70px;
    outline: none;
    background: #fff;
    color: #494949;
    border: 1px solid #86868b;
    padding: 0.75em;
    border-radius: 12px;
    font-size: inherit;
}
.um-input {
    margin-top: 3px;
    width: 100%;
    border-radius: 12px;
    box-shadow: none;
    color: #494949;
    border: 1px solid #86868b;
    padding: 0.75em;
    font-size: inherit;
    outline: 0;
}
.um-input:focus {
    border-color: #0071e3;
}
.um-inputs span {
    color: #999;
    margin-left: 0.25em;
}
.um-inputs .um-input-disabled {
    background-color: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(0, 0, 0, 0.1);
}
.um-error {
    display: none;
    margin-top: 2.6em;
    width: 100%;
    border-radius: 12px;
    color: #CE1126;
    background-color: rgba(206, 17, 38, 0.1);
    border: 1px solid #CE1126;
    padding: 0.75em;
    font-size: inherit;
}