﻿* {
    box-sizing: border-box;
}

body {
    background-color: #f8f9fb;
    color: #003A6E;
    min-height: 100vh;
    margin: 0;
    font-family: 'Inter';
    -webkit-text-size-adjust: 100%;
    display: flex;
    flex-flow: column;
    padding-top: 55px;
}

a, a:focus {
    text-decoration: none;
    color: #003A6E;
    outline: none;
}

.underline {
    text-decoration: underline !important;
}

textarea {
    font-family: 'Inter';
    font-size: 12px;
    padding: 3px;
}

    textarea:focus {
        outline: none;
    }

[type=text] {
    font-family: 'Inter';
    font-size: 12px;
}

[type=checkbox] {
    outline: none;
    margin: 0;
}

.hidden {
    display: none;
}

.right_align {
    text-align: right;
}

.flex_container {
    display: flex;
}

.error_color {
    color: #d73030;
}

body.login_body {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 0;
}

.admin_header {
    background-color: #ffffff;
    height: 55px;
    line-height: 55px;
    box-shadow: 0 1px 10px rgba(0,0,0,0.05),0 1px 2px rgba(0,0,0,0.1);
    display: flex;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 3;
}

.project_name {
    width: 200px;
    height: 100%;
    border-right: 1px solid #eaeaea;
    padding-left: 30px;
}

    .project_name a {
        font-weight: bold;
        font-size: 14px;
        line-height: normal;
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .project_name span.home_icon {
        display: none;
    }

.project_name_sub {
    font-weight: normal;
    font-size: 12px;
}

.project_name_icon {
    display: none;
}

.menu_button {
    width: 65px;
    height: 100%;
    border-right: 1px solid #eaeaea;
    text-align: center;
    cursor: pointer;
}

.menu_button {
    font-size: 14px;
}

.icon_block_item {
    width: 55px;
    height: 100%;
    text-align: center;
    cursor: pointer;
}

    .icon_block_item a {
        display: block;
        height: 100%;
    }

    .icon_block_item .fa {
        text-align: center;
        font-size: 18px;
    }

.header_space {
    border-right: 1px solid #eaeaea;
    height: 100%;
    flex-grow: 1;
}

.footer {
    padding: 20px;
    color: #fff;
    background-color: #003A6E;
    font-size: 13px;
}

    .footer a {
        color: #fff;
        text-decoration: underline;
    }

.content {
    display: flex;
    flex-grow: 1;
}

.menu {
    width: 200px;
    padding-left: 30px;
    padding-top: 20px;
    transition: 0.3s;
}

.menu_collapsed {
    width: 0 !important;
    padding-left: 0 !important;
    opacity: 0;
}

.menu_item {
    height: 45px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .menu_item > span {
        font-size: 14px;
    }

.menu_item_text {
    font-size: 13px !important;
    font-weight: 600;
    color: #909295;
    transition: 0.3s;
}

.menu_item:hover .menu_item_text, .menu_item.opened .menu_item_text, .menu_sub_item:hover .menu_item_text, .menu_sub_item.opened .menu_item_text {
    color: #6a6c6f;
}

.menu_sub_items {
    display: none;
}

.menu_sub_item {
    min-height: 30px;
    cursor: pointer;
    padding-left: 20px;
    line-height: 15px;
    padding-bottom: 5px;
    padding-top: 5px;
}

    .menu_sub_item.double {
        line-height: 12px;
    }

.workplace {
    width: calc(100% - 200px);
    padding: 20px 20px 20px;
    flex-grow: 1;
    display: flex;
}

.dashboard_contaniner {
    width: 100%;
}

.dashboard_panel, .admin_panel {
    background-color: #fff;
    box-shadow: 0 1px 10px rgba(0,0,0,0.05),0 1px 2px rgba(0,0,0,0.1);
    border-radius: 2px;
    height: 100%;
}

    .dashboard_panel header, .admin_panel header {
        border-bottom: 1px solid #eaeaea;
        padding: 10px;
        font-weight: 700;
    }

.dashboard {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}

.table_panel_actions {
    padding: 10px;
}

.dashboard_panel_actions {
    padding: 10px;
    height: 100%;
}

    .dashboard_panel_actions a {
        font-size: 13px;
        color: #909295;
        text-decoration: none;
        transition: 0.3s;
        font-weight: 600;
        cursor: pointer;
    }

        .dashboard_panel_actions a:hover {
            color: #6a6c6f;
            text-decoration: none;
        }

.dashboard_panel_action {
    height: 40px;
    display: flex;
    flex-flow: column;
    justify-content: center;
}

.dashboard_panel_container {
    width: 25%;
    padding: 15px;
}

.username_panel {
    font-size: 13px;
    padding-left: 20px;
    display: flex;
    flex-flow: column;
    justify-content: center;
    height: 100%;
    position: relative;
}

    .username_panel span {
        line-height: 16px;
    }

.server_info {
    font-size: 10px;
    color: #ccc;
    position: absolute;
    bottom: 2px;
    left: 20px;
}

.admin_table {
    background-color: #fff;
    box-shadow: 0 1px 10px rgba(0,0,0,0.05),0 1px 2px rgba(0,0,0,0.1);
    border-radius: 2px;
    height: 100%;
    max-width: 100%;
    min-width: 50%;
}

    .admin_table > header {
        border-bottom: 1px solid #eaeaea;
        padding: 10px;
        font-weight: 700;
    }

.admin_table_container {
    font-size: 13px;
    padding: 10px;
}

.admin_table table {
    margin: 10px 0;
    border-collapse: collapse;
    background-color: #fff;
    width: 100%;
}

    .admin_table table tbody td {
        max-width: 500px;
        padding: 3px;
    }

    .admin_table table td.is_main {
        text-align: center;
    }

    .admin_table table tbody tr {
        transition: 0.2s;
        cursor: default;
    }

        .admin_table table tbody tr:hover {
            background-color: #f2f6f8;
        }

    .admin_table table th a {
        color: #6a6c6f;
        transition: 0.2s;
    }

        .admin_table table th a:hover {
            color: #157cd3;
            text-decoration: none;
        }

    .admin_table table tbody td.action {
        padding: 6px;
        width: 50px;
    }

.action .fa {
    font-size: 18px;
}

.admin_table table thead {
    position: sticky;
    top: 55px;
    z-index: 2;
}

    .admin_table table thead tr {
        border-bottom: 1px solid #6a6c6f;
        height: 30px;
        background-color: #fafafa;
    }

.vertical_cell {
    padding: 5px;
}

    .vertical_cell a {
        writing-mode: vertical-lr;
        padding: 0 !important;
    }

.admin_table th {
    background-color: #f6f6f6;
    z-index: 2;
    padding: 0 20px;
}

#dynatable-query-search- {
    border-radius: 2px;
    border: 1px solid #6a6c6f;
}

.admin_form {
    background-color: #fff;
    box-shadow: 0 1px 10px rgba(0,0,0,0.05),0 1px 2px rgba(0,0,0,0.1);
    border-radius: 2px;
    min-height: 100%;
    max-width: 100%;
    width: 50%;
}

    .admin_form > header, .admin_login_form > header {
        border-bottom: 1px solid #eaeaea;
        padding: 10px;
        font-weight: 700;
    }

.admin_login_form {
    background-color: #fff;
    box-shadow: 0 1px 10px rgba(0,0,0,0.05),0 1px 2px rgba(0,0,0,0.1);
    border-radius: 2px;
    width: 300px;
}

.login_role_options {
    display: flex;
    flex-flow: column;
    align-items: center;
    padding: 20px 0
}

    .login_role_options > a {
        width: 150px;
        margin-right: 0;
        margin-bottom: 10px;
    }

.admin_form_content {
    font-size: 13px;
    padding: 20px 10px;
}

.dynatable-search {
    float: none;
    margin-right: 20px;
}

.dynatable-pagination-links {
    float: none;
    background-color: #fafafa;
    border-top: 1px solid #6a6c6f;
    padding-left: 10px;
    padding-top: 10px;
}

.dynatable-record-count {
    font-size: 11px;
    background-color: #fafafa;
    padding-left: 10px;
}

.dynatable-active-page {
    background-color: #5aa469;
}

/* forms */

.plus_seven {
    position: absolute;
    top: 1px;
    height: 28px;
    background-color: #fff;
    color: #6a6c6f;
    line-height: 28px;
    left: 2px;
    border-right: 1px solid #808080;
    width: 20px;
}

.phone_container {
    position: relative;
}

.phone {
    padding-left: 25px !important;
}

.form_line {
    position: relative;
    display: flex;
    margin-bottom: 20px;
    flex-wrap: wrap;
    align-items: center;
}

.form_label {
    width: 150px;
    font-size: 13px;
    display: flex;
    flex-flow: column;
    justify-content: center;
    padding-right: 5px;
}

.form_textbox_container {
    width: calc(100% - 150px);
}

.form_textbox_fullwidth_container {
    width: 100%;
}

.friendly_url_container, .name_container {
    display: flex;
}

.form_textbox {
    height: 30px;
    border: #6a6c6f 1px solid;
    border-radius: 3px;
    width: 100%;
    padding-left: 5px;
    transition: border-color .2s, background-color .2s;
}

    .form_textbox:focus {
        border-color: #003A6E;
        background-color: #f2f6f8;
        outline: none;
    }

.friendly_url_textbox, .name_textbox {
    margin-right: 10px;
}

.take_from_name {
    background-color: #39455a;
    color: #ffffff;
    border-radius: 3px;
    height: 30px;
    padding: 0 10px;
    line-height: 30px;
    font-size: 13px;
    font-weight: 600;
}

.form_dropdown {
    height: 30px;
    border: #6a6c6f 1px solid;
    border-radius: 3px;
    width: 100%;
}

.checkbox_group.fixed_height {
    max-height: 500px;
    overflow-y: auto;
}

.form_checkbox_line {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    min-height: 16px;
    margin-bottom: 20px;
}

    .form_checkbox_line > label {
        margin-right: 5px;
        max-width: calc(100% - 40px);
    }

.form_checkbox {
    margin-right: 10px;
}

.form_checkbox_container {
    display: flex;
    flex-flow: column;
    justify-content: center;
}

.datepicker_container {
    width: calc(100% - 150px);
    position: relative;
}

    .datepicker_container .add_on {
        position: absolute;
        cursor: pointer;
        font-size: 16px;
    }

        .datepicker_container .add_on:nth-child(2) {
            top: 3px;
            right: 10px;
        }

        .datepicker_container .add_on:nth-child(3) {
            top: 3px;
            right: 30px;
        }

.file_input_container {
    width: calc(100% - 150px);
    margin-bottom: 5px;
}

.image_preview {
    width: 100%;
    padding-left: 150px;
}

.image_preview_file {
    max-width: 200px;
    max-height: 200px;
}

.video_preview_file {
    max-width: 300px;
    max-height: 200px;
}

.form_textarea {
    border: #6a6c6f 1px solid;
    border-radius: 3px;
    width: 100%;
    resize: none;
    min-height: 80px;
    transition: .2s;
}

    .form_textarea:focus {
        border-color: #003A6E;
        background-color: #f2f6f8;
    }

.textarea_label {
    justify-content: flex-start;
}

.form_gallery {
    margin-bottom: 20px;
}

    .form_gallery header {
        border-bottom: 1px solid #eaeaea;
        padding: 10px 0;
        font-weight: 700;
        width: 100%;
        font-size: 16px;
    }

.primary_button {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #003A6E;
    color: #ffffff;
    border-radius: 3px;
    padding: 0 20px;
    height: 30px;
    font-size: 13px;
    font-weight: 600;
}

button.inactive, a.inactive {
    background-color: #eaeaea;
    cursor: default;
}

.button_with_icon {
    padding: 0 30px;
}

.button_icon {
    position: absolute;
    top: 7px;
    right: 2px;
}

.secondary_button {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #5aa469;
    color: #ffffff;
    border-radius: 3px;
    padding: 0 20px;
    height: 30px;
    font-size: 13px;
    font-weight: 600;
}

.alert_button {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #d73030;
    color: #ffffff;
    border-radius: 3px;
    padding: 0 20px;
    height: 30px;
    font-size: 13px;
    font-weight: 600;
}

    .primary_button:focus, .alert_button:focus, .secondary_button:focus {
        color: #fff;
    }

    .alert_button .fa, .primary_button .fa {
        font-size: 16px;
        color: #fff;
        margin-right: 5px;
    }

.small_invert_button {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    color: #003A6E;
    border: 1px solid #003A6E;
    border-radius: 3px;
    padding: 0 5px;
    height: 25px;
    font-size: 13px;
    font-weight: 600;
    margin-right: 10px;
}

    .small_invert_button .fa {
        margin-right: 5px;
        font-size: 14px;
    }

.invert_button {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    color: #003A6E;
    border-radius: 3px;
    border: 1px solid #003A6E;
    padding: 0 20px;
    height: 30px;
    font-size: 13px;
    font-weight: 600;
}

.full_width_button {
    width: 100%;
    text-align: center;
    margin: 0;
}

.form_button_line {
    display: flex;
    justify-content: flex-end;
    margin-top: 20px;
    column-gap: 10px;
}

.form_button_line_left {
    display: flex;
    justify-content: flex-start;
    margin-top: 20px;
    column-gap: 10px;
}

.video_preview {
    margin-top: 10px;
    padding-left: 150px;
}

.form_validation {
    width: 100%;
    padding-left: 150px;
}

.form_fullwidth_validation {
    width: 100%;
}

.validation-summary-errors {
    color: #d73030;
    font-size: 12px;
    margin-bottom: 10px;
}

.form_description_text {
    margin: 5px 0;
    width: 100%;
    font-size: 12px;
    padding-left: 150px;
}

/* gallery */

.gallery_container {
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
}

.drop_target {
    border: 2px dashed #6a6c6f;
    height: 150px;
    width: 100%;
    cursor: pointer;
    text-align: center;
    transition: 0.3s;
    position: relative;
    padding: 20px;
    color: #ccc;
}

    .drop_target:hover, .drop_target.hover {
        box-shadow: rgba(106, 108, 110, 0.6) 0 0 20px;
        color: #6a6c6f;
    }

    .drop_target > .fa {
        font-size: 30px;
    }

    .drop_target span {
        font-size: 25px;
        font-weight: 700;
    }

.upload_label {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    cursor: pointer;
}

.add_image_file {
    display: none;
}

.gallery_item {
    height: 150px;
    margin-bottom: 10px;
    margin-right: 10px;
    position: relative;
}

.gallery_item_image {
    max-height: 100%;
}

.gallery_item .delete_image {
    position: absolute;
    top: 5px;
    right: 5px;
    height: 40px;
    width: 40px;
    line-height: 30px;
    text-align: center;
    color: #fff;
    background-color: #999;
    cursor: pointer;
    font-size: 20px;
    transition: 0.3s;
}

    .gallery_item .delete_image:hover {
        background-color: #006bff;
    }

/* misc */

ul, ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

article, article > p {
    font-family: "PT Serif";
    font-size: 16px;
    text-indent: 20px;
}

    article a {
        color: #006bff;
    }

        article a:hover, article a:focus {
            text-decoration: underline !important;
            text-decoration-color: #006bff;
            color: #006bff;
        }

        article a:visited {
            color: #68a8ff;
        }

button, input[type=button] {
    background-color: transparent;
    padding: 0;
    outline: 0;
    border: 0;
    cursor: pointer;
    border-radius: 0px;
    -webkit-border-radius: 0px;
    -webkit-appearance: none;
}

p {
    margin: 0;
}

.left {
    float: left;
}

.right {
    float: right;
}

.clr {
    clear: both;
}

.rel {
    position: relative;
}

.center {
    text-align: center;
}

.ip_link {
    text-decoration: underline;
}

.datetime {
    min-width: 140px;
    text-align: center;
}

.hidden {
    display: none;
}

.video-wrapper {
    position: relative;
    padding-bottom: 70%;
    padding-top: 25px;
    height: 0;
}

    .video-wrapper iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border: none;
    }

.field-validation-error {
    color: #d73030;
    font-size: 12px;
}

.show_password {
    position: absolute;
    right: 5px;
    top: 5px;
}

    .show_password .fa {
        font-size: 19px;
    }

.dynatable-pagination-links {
    margin-top: 10px;
}

.dynatable-processing {
    position: absolute;
    border: 1px solid #003A6E;
    width: 200px !important;
    height: 80px !important;
    border-radius: 5px;
    transform: translate(-50%, -50%);
    top: 50% !important;
    left: 50% !important;
    line-height: 50px;
    background-color: #fff;
    text-align: center;
    box-shadow: 0 0 10px rgba(0, 58, 111, 0.6);
    z-index: 1;
}

.loading_message_block {
}

.dynatable-processing .loader_message {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    text-transform: uppercase;
    font-size: 18px;
}

.loader, .loader:before, .loader:after {
    border-radius: 50%;
    width: 15px;
    height: 15px;
    animation-fill-mode: both;
    animation: bblFadInOut 1.8s infinite ease-in-out;
}

.loader {
    color: #FFF;
    font-size: 7px;
    position: relative;
    text-indent: -9999em;
    transform: translateZ(0);
    animation-delay: -0.16s;
    position: absolute;
    top: 30px;
    left: 90px;
}

    .loader:before,
    .loader:after {
        content: '';
        position: absolute;
        top: 0;
    }

    .loader:before {
        left: -25px;
        animation-delay: -0.32s;
    }

    .loader:after {
        left: 25px;
    }

@keyframes bblFadInOut {
    0%, 80%, 100% {
        box-shadow: 0 15px 0 -1.3em #003A6E
    }

    40% {
        box-shadow: 0 15px 0 0 #003A6E
    }
}

.variant_line {
    margin: 6px 0;
}

#variants header {
    border-bottom: 1px solid #eaeaea;
    padding: 10px 0;
    font-weight: 700;
    width: 100%;
    font-size: 16px;
    margin-bottom: 10px;
}

.add_variant {
    display: flex;
}

    .add_variant input[type=text] {
        height: 30px;
        border: #6a6c6f 1px solid;
        border-radius: 3px;
        width: calc(100% - 118px);
        padding-left: 5px;
        margin-right: 10px;
    }

    .add_variant .save_variant {
        background-color: #39455a;
        color: #fff;
        border-radius: 3px;
        padding: 0 20px;
        height: 30px;
        line-height: 30px;
        font-size: 13px;
        font-weight: 600;
        width: 108px;
    }

.variant_line {
    display: flex;
    margin-bottom: 10px;
}

    .variant_line input[type=text] {
        height: 30px;
        border: #6a6c6f 1px solid;
        border-radius: 3px;
        width: calc(100% - 118px);
        padding-left: 5px;
        margin-right: 10px;
    }

    .variant_line .delete_variant {
        color: #39455a;
        font-size: 20px;
    }

/* datetimepicker */

.datepicker-container {
    position: relative;
}

    .datepicker-container .add-on {
        cursor: pointer;
    }

        .datepicker-container .add-on:nth-child(2) {
            position: absolute;
            right: 36px;
            top: 4px;
        }

        .datepicker-container .add-on:nth-child(3) {
            position: absolute;
            right: 10px;
            top: 4px;
        }

        .datepicker-container .add-on i {
            font-size: 18px;
        }

/* form dropdown */

.form_dropdown_container {
    position: relative;
}

.ownership_dropdownlist, .user_dropdownlist {
    position: absolute;
    left: 0;
    top: 100%;
    border: 1px solid #eaeaea;
    background-color: #fff;
    width: 100%;
    max-height: 300px;
    overflow-y: auto;
    z-index: 10;
    -webkit-box-shadow: 0px 0px 2px 0px rgba(34, 60, 80, 0.2);
    -moz-box-shadow: 0px 0px 2px 0px rgba(34, 60, 80, 0.2);
    box-shadow: 0px 0px 2px 0px rgba(34, 60, 80, 0.2);
}

.ownership_dropdownlist_item, .user_dropdownlist_item {
    padding: 3px 10px;
    cursor: pointer;
    transition: .2s;
}

    .ownership_dropdownlist_item:hover, .user_dropdownlist_item:hover, .ownership_dropdownlist_item.selected, .user_dropdownlist_item.selected {
        background-color: #ecf1f5;
    }

.reset_ownership, .reset_user, .ownership_spinner, .user_spinner {
    position: absolute;
    right: 0;
    top: 0;
    width: 30px;
    height: 30px;
    font-size: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.form_textbox[readonly] {
    background-color: #eee;
    color: #6a6c6f;
}

/* user profile */

.profile_action_label {
    width: 70px;
    display: flex;
    align-items: center;
}

.form_keynumber_line {
    display: flex;
    margin-bottom: 5px;
}

.form_keynumber_label {
    width: 100px;
}

.form_keynumber {
    width: calc(100% - 100px)
}


/* ownerships table */


.user_ownerships_table {
}

.change_pincode_button {
    display: inline-block;
    background-color: #5aa469;
}

.form_pincode_container {
    width: calc(100% - 70px);
    display: flex;
}

.form_user_pincode, .form_password_box {
    width: 100px;
    height: 30px;
    border: 1px solid #003A6E;
    background-color: #f8f6ec;
    font-size: 18px;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 10px;
    cursor: pointer;
}

.form_password_box {
    cursor: default;
}

/* form group */

.form_group {
    margin-bottom: 20px;
}

    .form_group > header {
        text-transform: uppercase;
        padding: 0;
        height: 30px;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        margin-bottom: 10px;
        font-weight: bold;
        border-bottom: 1px solid #eaeaea;
    }

/* key usings journal */
.key_usings_interval_options {
    margin: 10px 0;
    display: flex;
}

.key_usings_interval_option {
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
    margin-right: 10px;
    border: 1px solid #bbb;
    border-radius: 3px;
    color: #bbb;
    transition: .2s;
}

    .key_usings_interval_option.active {
        border: 1px solid #003A6E;
        color: #003A6E;
    }

    .key_usings_interval_option:hover {
        color: #fff;
        background-color: #003A6E;
        border: 1px solid #003A6E;
    }

.empty_table_message {
    font-weight: bold;
}

.table_navigation {
    display: flex;
}

.table_navigation_button {
    margin-right: 10px;
    height: 30px;
    width: 30px;
    font-size: 20px;
    border: 1px solid #003A6E;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: .2s;
}

    .table_navigation_button:hover {
        color: #fff;
        background-color: #003A6E;
    }

    .table_navigation_button .fa-angle-double-right {
        margin-left: 2px;
    }

    .table_navigation_button .fa-angle-double-left {
        margin-right: 2px;
    }

/* privacy policy */

.privacy_page {
    width: 767px;
    margin: 0 auto;
    padding: 50px 20px;
}

    .privacy_page a {
        text-decoration: underline;
    }

/* user ownership form */

.form_small_header {
    font-weight: bold;
    height: 30px;
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.add_user_ownership_form_line {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 20px;
}

.add_user_ownership_button {
    width: 100px;
}

.user_ownership_textbox_container {
    width: calc(100% - 110px);
    position: relative;
}

/* user keys table */

.user_key_list {
    margin-top: 20px;
}

.user_key_item {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 20px;
    border: 1px solid #eaeaea;
    border-radius: 5px;
}

.user_key_item_icon_block {
    width: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

    .user_key_item_icon_block .fa {
        font-size: 20px;
        margin: 5px 0;
    }

.user_key_item_actions {
    width: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    text-align: center;
}

.user_key_item_action .fa {
    font-size: 20px;
    margin: 5px 0;
}

.user_key_item_content {
    width: calc(100% - 80px);
    display: flex;
    flex-wrap: wrap;
    padding: 10px 0;
}

.user_key_item_label {
    font-weight: bold;
    margin-right: 5px;
}

.user_key_item_name {
    width: 50%;
    margin-bottom: 10px;
    padding-right: 10px;
}

.user_key_item_duration {
    width: 50%;
    margin-bottom: 10px;
}

.user_key_item_type {
    width: 50%;
    padding-right: 10px;
}

.user_key_item_value {
    width: 50%;
    padding-right: 10px;
    display: flex;
}

.user_key_item_areas {
    width: 100%;
    margin-top: 10px;
    position: relative;
}

.user_key_item_areas_show_button {
    border-bottom: 1px dashed #003A6E;
    height: 20px;
    line-height: 20px;
}

.user_key_item_areas_text {
    display: none;
    width: 100%;
    padding: 5px;
    border-top: 1px solid #eaeaea;
}

.user_keys_table {
    margin: 20px 0;
}

.user_keys_table_header {
    font-weight: bold;
    background-color: #eaeaea;
    display: flex;
    flex-wrap: wrap;
}

    .user_keys_table_header > div {
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
    }

.user_keys_table_line {
    display: flex;
    flex-wrap: wrap;
    transition: .2s;
    padding: 10px 0;
    border-bottom: 1px solid #6a6c6f;
}

    .user_keys_table_line:hover {
        background-color: #f2f6f8;
    }

.user_keys_table_areas {
    width: 100%;
    font-style: italic;
    margin-top: 5px;
    padding-top: 5px;
    border-top: 1px solid #eaeaea;
}

.user_keys_table_activity {
    width: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.user_keys_table_name {
    width: 150px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.user_keys_table_value {
    display: flex;
}

.user_keys_table_time {
    width: calc(100% - 350px);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.user_keys_table_actions {
    width: 100px;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.copy_code_button {
    margin-left: 5px;
    height: 18px;
    width: 18px;
    border-radius: 3px;
    padding: 2px;
    color: #003A6E;
    font-size: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

/* password strength */
.password_container {
    position: relative;
}

.password_strength_message {
    display: none;
    width: 100%;
    margin-top: 2px;
}

    .password_strength_message.success {
        display: block;
        color: #799351;
    }

    .password_strength_message.error {
        display: block;
        color: #d73030;
    }

.password_strength_text {
    font-size: 12px;
    font-weight: bold;
    margin-bottom: 2px;
}

.password_strength_bar {
    border: 1px solid #6a6c6f;
    height: 10px;
}

.password_strength_message.error .password_strength_bar {
    border-color: #d73030;
}

.password_strength_message.success .password_strength_bar {
    border-color: #799351;
}

.password_strength_progress {
    height: 100%;
    background-color: #6a6c6f;
}

.password_strength_message.error .password_strength_progress {
    background-color: #d73030;
}

.password_strength_message.success .password_strength_progress {
    background-color: #799351;
}

/* radio button container */

.form_radio_container {
}

    .form_radio_container > header {
    }

.radio_button {
    display: flex;
    align-items: center;
    height: 25px;
}

.radio {
    margin: 0 10px 0 0;
    cursor: pointer;
}

.radio_label {
    cursor: pointer;
}

.radio_button.inactive {
    color: #eaeaea;
    position: relative;
}

    .radio_button.inactive:before {
        content: "";
        position: absolute;
        z-index: 1;
        top: 0;
        bottom: 0;
        right: 0;
        left: 0;
        display: block;
    }

    .radio_button.inactive .radio {
        cursor: default;
        opacity: 0.2;
    }

    .radio_button.inactive .radio_label {
        cursor: default;
    }

/* key user areas */

.blocked_area_label {
    color: #d73030;
}

.key_user_area_status {
    padding: 0 8px;
    height: 20px;
    display: flex;
    align-items: center;
    border-radius: 10px;
    font-weight: bold;
    color: #fff;
    margin-left: 5px;
}

    .key_user_area_status.blocked {
        background-color: #d73030;
    }

    .key_user_area_status.active {
        background-color: #5aa469;
    }

/* form commentary */

.form_commentary_block {
    margin-top: 20px;
    font-size: 12px;
}

.form_commentary {
    margin-bottom: 20px;
}

    .form_commentary ul {
        margin: 5px 0;
        list-style: disc inside;
    }

    .form_commentary li {
        margin-bottom: 5px;
    }

    .form_commentary a {
        text-decoration: underline;
        color: #003A6E;
    }

    .form_commentary p {
        margin-bottom: 5px;
    }

    .form_commentary .error {
        color: #d73030;
    }

/* profile table */

.profile_table {
    width: 1000px;
}

/* user card */

.user_card {
}

.user_card_line {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.user_card_label {
    width: 100px;
}

.user_card_value {
    width: calc(100% - 150px);
    display: flex;
    align-items: center;
    font-weight: bold;
}

.user_card_ownership_name {
    width: 200px;
}

.user_card_ownership_status {
    width: 200px;
}

.user_card_area {
    width: 200px;
}

.user_card_area_status {
    width: 200px;
}

.user_card_violations {
    margin-bottom: 20px;
}

.form_header {
    border-bottom: 1px solid #eaeaea;
    padding: 10px 0;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.user_card_no_violations {
    margin-bottom: 10px;
}

.user_card_ownership_status .fa {
    font-size: 18px;
}

.user_card_ownership_status .fa-check {
    color: #5aa469;
}

.user_card_ownership_status .fa-ban {
    color: #d73030;
}

.user_card_ownership_status .fa-refresh {
    color: #006bff;
}

.user_card_area_status .fa {
    font-size: 18px;
}

.user_card_area_status .fa-check {
    color: #5aa469;
}

.user_card_area_status .fa-ban {
    color: #d73030;
}

.reason_templates {
    margin-top: 5px;
    display: flex;
    flex-wrap: wrap;
}

.reason_template {
    color: #5aa469;
    border-bottom: 1px dashed #5aa469;
    margin-right: 10px;
    cursor: pointer;
    font-weight: bold;
    margin-bottom: 5px;
}

.key_create_success_message {
    font-weight: bold;
    font-size: 13px;
    display: flex;
    align-items: center;
}

.key_create_success_pincode {
    width: 80px;
    height: 30px;
    border: 1px solid #003A6E;
    background-color: #f8f6ec;
    font-size: 18px;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 10px;
}

.user_card_violation_table {
    border-collapse: collapse;
    width: 100%;
    margin-bottom: 20px;
}

    .user_card_violation_table > thead > tr {
        height: 30px;
    }

    .user_card_violation_table th {
        color: #6a6c6f;
        background-color: #f6f6f6;
        padding: 0 20px;
    }

    .user_card_violation_table td {
        padding: 3px;
    }

.user_card_violation_table_container {
    overflow-x: auto;
}

.key_creation_denied {
    color: #d73030;
}

/* key monitoring */

.table_primary_button {
    display: inline-block;
    background-color: #003A6E;
    color: #ffffff;
    border-radius: 3px;
    padding: 0 10px;
    height: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 10px;
}

.table_alert_button {
    background-color: #d73030;
    color: #ffffff;
    border-radius: 3px;
    padding: 0 10px;
    height: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 10px;
}

    .table_primary_button:focus, .table_alert_button:focus {
        color: #fff;
    }

.key_monitoring_user_cell > div {
    margin-bottom: 5px;
}

.key_monitoring_user_cell .fa {
    font-size: 18px;
    margin-right: 5px;
}

td.key_expired {
    color: #d73030;
}

.key_monitoring_info_button {
    position: relative;
    margin-top: 5px;
}

    .key_monitoring_info_button a {
        background-color: #5aa469;
        color: #ffffff;
        padding: 2px 5px;
        border-radius: 3px;
        font-size: 12px;
        font-weight: 600;
    }

.key_monitoring_info {
    background-color: #fff;
    padding: 5px;
    z-index: 1;
}

.key_monitoring_info_field_name {
    font-weight: 600;
}

.key_monitoring_info_row {
    display: none;
}

.admin_table table tbody tr.key_monitoring_info_row:hover {
    background-color: #ffffff;
}

.key_monitoring_detail_line {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    min-height: 30px;
}

.key_monitoring_detail_label {
    font-weight: bold;
    width: 150px;
    padding-right: 10px;
}

.key_monitoring_detail_value {
    width: calc(100% - 150px);
}

/* controller message */

.controller_message_line {
    display: flex;
    min-height: 30px;
    align-items: center;
    margin-bottom: 10px;
}

.controller_message_label {
    width: 150px;
    padding-right: 5px;
}

.controller_message_value {
    width: calc(100% - 150px);
}

.form_dropdown {
    position: relative;
}

.form_dropdown_container.readonly::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.06);
    border-radius: 3px;
}

.object_history_line {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    min-height: 30px;
}

.object_history_line_label {
    font-weight: bold;
    width: 150px;
    padding-right: 10px;
}

.object_history_line_value {
    width: calc(100% - 150px);
}

.search_ownerships_textbox {
    width: calc(100% - 100px);
    margin-right: 10px;
}

.search_ownerships_button {
    width: 90px;
}

/* generate keys progress bar */

.generation_progress_block {
    padding: 0 10px;
    margin-bottom: 10px;
}

.generation_progress_bar {
    border: 1px solid #003A6E;
    height: 30px;
    margin-bottom: 10px;
}

.generation_progress_tick {
    height: 100%;
    width: 0%;
    background-color: #003A6E;
}

.generation_progress_info {
    font-size: 13px;
}

#generateForm {
    position: relative;
}

    #generateForm.inactive::after {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        opacity: 0.5;
        background-color: #fff;
    }

.table_control_panel {
    padding: 10px;
}

.table_message {
    font-weight: bold;
    padding: 10px;
}

    .table_message.ok {
        color: #5aa469;
    }

    .table_message.alarm {
        color: #d73030;
    }

tr.alert {
    background-color: #fbe7e7;
    color: #d73030;
}

.radio_button_list {
    margin-bottom: 20px;
}

.form_options_block_label {
    width: 100%;
    font-weight: 600;
    margin-bottom: 10px;
}

.form_options_block {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    margin-bottom: 10px;
}

.option_button {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #003A6E;
    border: #003A6E 1px solid;
    border-radius: 3px;
    padding: 0px 5px;
    width: 100px;
    margin: 0 10px 10px 0;
    height: 30px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: .2s;
}

    .option_button:hover {
        color: #fff;
        background-color: #003A6E;
    }

.change_limit_value_container {
    width: 100%;
    display: flex;
}

.increase_limit_button {
    margin-right: 10px;
    width: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #5aa469;
    font-weight: 600;
    font-size: 18px;
    border: 1px solid #5aa469;
    border-radius: 3px;
    transition: .2s;
}

    .increase_limit_button.active {
        color: #fff;
        background-color: #5aa469;
    }

.decrease_limit_button {
    margin-right: 10px;
    width: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d73030;
    font-weight: 600;
    font-size: 18px;
    border: 1px solid #d73030;
    border-radius: 3px;
    transition: .2s;
}

    .decrease_limit_button.active {
        color: #fff;
        background-color: #d73030;
    }

.change_limit_value_container .form_textbox {
    flex-grow: 1;
}

.violations_table {
    border-collapse: collapse;
}

    .violations_table thead {
        background-color: #f0f0f0;
    }

    .violations_table tr {
        border-bottom: 1px solid #f0f0f0;
    }

    .violations_table td, .violations_table th {
        padding: 5px;
        text-align: center;
        min-width: 140px;
    }

        .violations_table td a {
            text-decoration: underline;
            color: #003A6E;
        }

/* shortcut page */

.shortcut_list {
    display: flex;
    flex-wrap: wrap;
}

.shortcut {
    width: 200px;
    border: 1px solid #eee;
    border-radius: 5px;
    margin-bottom: 20px;
    margin-right: 20px;
    display: flex;
    flex-direction: column;
}

.reader_name {
    font-style: italic;
    margin-bottom: 10px;
    padding: 0 10px;
    flex-grow: 1;
}

.shortcut_name {
    text-align: center;
    font-weight: bold;
    margin-bottom: 5px;
    border-bottom: 1px solid #eee;
    padding: 10px 20px;
}

.key_name {
    margin-bottom: 5px;
    padding: 0 10px;
}

.shortcut_button {
    position: relative;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    border-radius: 5px;
    text-transform: uppercase;
    background-color: #5aa469;
    color: #fff;
    overflow: hidden;
    margin: 0 auto 10px;
    width: calc(100% - 20px);
}

    .shortcut_button span {
        position: relative;
        z-index: 1;
    }

    .shortcut_button .progress {
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        right: 100%;
        background-color: #aaa;
        z-index: 0;
    }

    .shortcut_button.reload {
        background-color: rgba(220, 220, 220, 0.5);
        color: #505050;
        cursor: default;
    }

        .shortcut_button.reload .progress {
            right: 0;
        }

    .shortcut_button.disabled {
        background-color: rgba(220, 220, 220, 0.5);
        color: #505050;
        cursor: default;
    }

.shortcut_actions {
    display: flex;
    border-top: 1px solid #eee;
}

.shortcut_action {
    width: 33.3333%;
    height: 30px;
    padding: 10px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    color: #003A6E;
    border-right: 1px solid #eee;
}

    .shortcut_action:last-child {
        border-right: none;
    }

/* snapshots */

.snapshot_list {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -10px;
}

.snapshot_image {
    width: calc(25% - 20px);
    margin: 0px 10px 20px;
}

    .snapshot_image > img {
        max-width: 100%;
        cursor: pointer;
    }

.snapshot_source_list {
    border-collapse: collapse;
    width: 100%;
}

    .snapshot_source_list thead {
        background-color: #eaeaea;
        font-weight: bold;
        font-size: 12px;
    }

    .snapshot_source_list td, .snapshot_source_list th {
        padding: 5px;
        text-align: center;
        min-width: 50px;
    }

    .snapshot_source_list tr {
        border-bottom: 1px solid #eaeaea;
    }

.snapshot_source_item_button {
    font-size: 16px;
    margin-right: 5px;
}

.intersection_spinner {
    font-size: 16px;
}

.modal_dialog_container.open {
    display: flex;
}

.modal_dialog_container {
    display: none;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0, 0.5);
    z-index: 10;
}

.modal_dialog {
    width: 320px;
    background-color: #fff;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: rgba(0, 0, 0, 0.5) 0px 0px 10px 1px;
}

.modal_dialog_header {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-weight: bold;
    font-size: 14px;
    color: #ffffff;
    background-color: #003A6E;
    height: 50px;
    padding: 5px 15px;
    border-bottom: 1px solid #eaeaea;
}

.modal_dialog_body {
    min-height: 150px;
    padding: 15px;
    min-height: 100px;
}

.modal_dialog_close_button {
    position: absolute;
    top: 15px;
    right: 10px;
    font-size: 20px;
    color: #fff;
    height: 20px;
    width: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal_dialog_message {
    text-align: center;
    font-size: 14px;
}

.modal_dialog_buttons {
    border-top: 1px solid #eaeaea;
    padding: 10px 15px;
    display: flex;
    justify-content: center;
}

    .modal_dialog_buttons button {
        margin: 0 5px;
    }

.load_progress {
    width: 100%;
    display: none;
    height: 10px;
    border: 1px solid #5aa469;
}

.load_progress_bar {
    height: 100%;
    width: 0%;
    background-color: #5aa469;
}

.info_panel {
    border-radius: 10px;
    padding: 10px 25px 10px 10px;
    border: 1px solid #006bff;
    position: relative;
    margin-bottom: 10px;
}

    .info_panel.info {
        background-color: #006bff18;
        color: #006bff;
        border-color: #006bff;
    }

    .info_panel.success {
        background-color: #5aa46918;
        color: #5aa469;
        border-color: #5aa469;
    }

    .info_panel.error {
        background-color: #d7303018;
        color: #d73030;
        border-color: #d73030;
    }

    .info_panel.alert {
        background-color: #e0a73118;
        color: #e0a731;
        border-color: #e0a731;
    }

.info_panel_icon {
    position: absolute;
    top: 3px;
    right: 5px;
    font-size: 22px;
}

.info .info_panel_icon {
    color: #006bff;
}

.success .info_panel_icon {
    color: #5aa469;
}

.error .info_panel_icon {
    color: #d73030;
}

.alert .info_panel_icon {
    color: #e0a731;
}

.row_info {
    background-color: #006bff18;
}

.row_success {
    background-color: #5aa46918;
}

.row_alert {
    background-color: #e0a73118;
}

.row_error {
    background-color: #d7303018;
}

.table_control_line {
    border-bottom: 1px solid #eaeaea;
    width: 100%;
    display: flex;
    padding: 10px;
}

    .table_control_line.end {
        justify-content: flex-end;
    }

        .table_control_line.end button, .table_control_line.end a {
            margin-right: 0;
            margin-left: 10px;
        }

.filter_row {
    background-color: #f6f6f6;
    border-bottom: 1px solid #eaeaea !important;
    border-top: 2px solid #eaeaea !important;
}

    .filter_row:hover {
        background-color: #f6f6f6 !important;
    }

.filter_text_input {
    border: 1px solid #6a6c6f;
    width: 100%;
}

.filter_input {
    border-radius: 2px;
    border: 1px solid #6a6c6f;
}

.dynatable-per-page-select {
    border-radius: 2px;
    border: 1px solid #6a6c6f;
}

.date_filter_input {
    width: 120px;
    display: block;
}

.datetime_filter_input {
    width: 120px;
    display: block;
}

.date_filter_input_container {
    display: flex;
}

    .date_filter_input_container:first-child {
        margin-bottom: 5px;
    }

.clear_filter_button {
    margin-left: 3px;
    font-size: 16px;
}

.date_filter_sign {
    font-weight: bold;
    margin-right: 3px;
}

.violation_list_item {
    margin-bottom: 15px;
    border-bottom: 1px solid #eaeaea;
    padding-bottom: 15px;
    display: flex;
    flex-wrap: wrap;
}

.violation_list_item_date, .violation_list_item_keyname, .violation_list_item_type {
    margin-right: 10px;
}

.violation_list_item_link {
    text-decoration: underline;
}

.violation_list_item_status {
    margin: 15px 0;
    width: 100%;
}

    .violation_list_item_status > select {
        width: 100%;
        height: 30px;
    }

.violation_list_item_description {
    resize: none;
    width: 100%;
}

@media (max-width: 1279px) {
    .admin_form {
        width: 100%;
    }

    .admin_table {
        min-width: 100%;
    }

    .profile_table {
        width: 100%;
    }
}

@media (max-width: 1024px) {
    .dashboard_panel_container {
        width: 50%;
    }
}

@media (max-width: 850px) {
    .menu {
        width: 150px;
        padding-left: 10px;
        display: none;
    }

    .workplace {
        width: calc(100% - 150px);
        padding: 10px;
    }

    .menu_item {
        height: 35px;
    }

    .dashboard_panel_container {
        padding: 5px;
    }

    .menu_item_text {
        font-size: 12px !important;
    }

    .dashboard_panel header, .admin_panel header {
        font-size: 14px;
    }

    .dashboard_panel_actions a {
        font-size: 12px;
    }
}

@media (max-width: 767px) {
    .menu {
        width: 199px;
        position: fixed;
        top: 40px;
        z-index: 1000;
        background-color: #fff;
        height: calc(100% - 40px);
        box-shadow: 0 1px 10px rgba(0,0,0,0.05),0 1px 2px rgba(0,0,0,0.1);
        overflow-y: scroll;
    }

    body {
        padding-top: 40px;
    }

    .admin_header {
        height: 40px;
        line-height: 40px;
    }

    .menu_item {
        padding-right: 5px;
    }

    .admin_table table thead {
        top: 40px;
    }

    .menu_button {
        width: 50px;
    }

    .icon_block_item {
        width: 40px;
    }

    .admin_table table {
        font-size: 11px;
    }

    .gallery_item {
        height: 100px;
    }

        .gallery_item .delete_image {
            height: 30px;
            width: 30px;
        }

    .server_info {
        display: none;
    }

    .username_panel {
        padding-left: 10px;
    }

    .audio_textbox {
        width: 100%;
        margin-bottom: 5px;
    }

    .privacy_page {
        width: 100%;
        padding: 0 20px 20px;
    }
}

@media (max-width: 650px) {
    .form_flag_description {
        font-size: 12px;
        line-height: 12px;
    }
}

@media (max-width: 600px) {
    .desktop_only {
        display: none;
    }

    .project_name {
        width: 50px;
        padding-left: 0;
        text-align: center;
    }

        .project_name span.home_text {
            display: none;
        }

        .project_name span.project_name_sub {
            display: none;
        }

        .project_name a {
            padding: 5px;
        }

    .project_name_icon {
        display: block;
        max-height: 100%;
    }

    .project_name span.home_icon {
        display: inline;
    }

    .drop_target span {
        font-size: 18px;
    }
}

@media (max-width: 550px) {
    .shortcut_list {
        justify-content: space-between;
    }

    .shortcut {
        width: calc(50% - 5px);
        margin-right: 0;
    }

    .admin_table table thead {
        top: -10px;
    }

    .admin_table_container {
        height: 100vh;
        overflow-x: auto;
        overflow-y: auto;
        font-size: 11px;
        position: relative;
    }

    .form_textbox_container, .datepicker_container {
        width: 100%;
    }

    .modal_dialog .form_textbox_container, .datepicker_container {
        width: calc(100% - 100px);
    }

    .form_validation {
        padding: 0;
    }

    .form_description_text {
        padding: 0;
    }

    .form_label {
        width: 100%;
        margin-bottom: 10px;
    }

    .modal_dialog .form_label {
        width: 100px;
        margin-bottom: 0;
    }

    .additional_categories {
        margin-left: 0;
    }

    .choose_flags {
        width: 100%;
    }

    .chosen_flags {
        padding-left: 0;
    }

    .user_key_item_areas_show_button {
        font-size: 11px;
    }
}

@media (max-width: 500px) {
    .snapshot_image {
        width: calc(50% - 20px);
    }

    .dynatable-search {
        display: block;
    }

    #dynatable-query-search- {
        width: 196px;
    }

    .privacy_page {
        font-size: 12px;
        padding: 0 10px 10px;
    }

    .user_keys_table_activity {
        width: 80px;
    }

    .user_keys_table_name {
        width: 100px;
    }

    .user_keys_table_actions {
        width: 70px;
    }

    .user_keys_table_time {
        width: calc(100% - 250px);
    }

    .user_key_item_name {
        width: 100%;
        margin-bottom: 0;
    }

    .user_key_item_duration {
        width: 100%;
        margin-bottom: 0;
    }

    .user_key_item_value {
        width: 100%;
    }

    .user_key_item_areas {
        margin-top: 0;
    }

    .violations_table {
        width: 100%;
    }

        .violations_table td, .violations_table th {
            min-width: 0;
        }
}

@media (max-width: 450px) {
    .shortcut {
        width: 100%;
    }

    .username_panel {
        font-size: 10px;
    }

    .file_input_container {
        width: 100%;
    }

    .image_preview {
        padding-left: 0;
    }
}

@media (max-width: 350px) {
    .user_keys_table_name {
        width: 80px;
    }

    .user_keys_table_time {
        width: calc(100% - 230px);
    }
}

@media (max-width: 340px) {
    .key_usings_table_container {
        overflow-x: auto;
    }
}

@media (prefers-color-scheme: dark) {
    body {
        color: #fff;
    }

    .home_text {
        color: #fff;
    }

    .login_body {
        background-color: #39455a;
    }

    .form_dropdown_container {
        color: #003A6E;
    }

    .admin_login_form {
        background-color: #9fabc1;
        box-shadow: 0 0 5px 1px #0008;
    }

    .invert_button {
        background-color: #003A6E;
        color: #fff;
    }

    .admin_form > header, .admin_login_form > header {
        border-bottom: 1px solid #39455a;
    }

    body {
        background-color: #39455a;
    }

    .dashboard_panel, .admin_panel {
        background-color: #3f4c63;
        box-shadow: 0 0 5px 1px #0008;
    }

        .dashboard_panel header, .admin_panel header {
            border-bottom: 1px solid #39455a;
        }

    .admin_header {
        background-color: #3f4c63;
    }

    .dashboard_panel_actions a {
        color: #fff;
    }

        .dashboard_panel_actions a:hover {
            color: #fff;
        }

    .project_name, .menu_button, .header_space {
        border-right: 1px solid #003A6E;
    }

    .menu_item > span {
        color: #fff;
    }

    .menu_item:hover {
        color: #fff;
    }

        .menu_item:hover .menu_item_text, .menu_item.opened .menu_item_text, .menu_sub_item:hover .menu_item_text, .menu_sub_item.opened .menu_item_text {
            color: #fff;
        }

    .menu_item_text {
        color: #fff;
    }

    .admin_form {
        background-color: #3f4c63;
    }

    .form_textbox {
        background-color: #eee;
    }

    .menu {
        background-color: #39455a;
    }

    .admin_table {
        background-color: #3f4c63;
    }

        .admin_table table {
            background-color: #3f4c63;
        }

        .admin_table th {
            background-color: #39455a;
            color: #fff;
        }

        .admin_table table th a {
            color: #fff;
        }

        .admin_table table thead tr {
            border: none;
        }

        .admin_table table tbody tr:hover {
            background-color: #42516b;
        }

        /*.admin_table table tbody tr {
            border: 1px solid #9fabc1;
        }*/

        .admin_table table tbody tr.filter_row {
            background-color: #42516b !important;
            border: none !important;
        }

            .admin_table table tbody tr.filter_row:hover {
                background-color: #4e5f7d !important;
            }

    .dynatable-pagination-links, .dynatable-record-count {
        background-color: #42516b;
    }

    .dynatable-page-link {
        color: #fff;
    }

    a, a:focus, a:hover {
        color: #fff;
    }

    .clear_filter_button {
        color: #fff;
    }

    .modal_dialog {
        background-color: #3f4c63;
    }
}

@media (max-width:768px) and (prefers-color-scheme: dark) {
    .menu {
        border-right: 1px solid #6a6c6f;
    }
}
