﻿* {
    box-sizing: border-box;
}

body {
    background-color: #fff;
    color: #003A6E;
    margin: 0;
    font-family: 'Rubik';
    -webkit-text-size-adjust: 100%;
}

.body {
    min-height: 100vh;
    display: flex;
    flex-flow: column;
    transition: .2s;
}

button {
    -webkit-tap-highlight-color: transparent;
    cursor: pointer;
    border: none;
    background-color: #fff;
}

button, input, textarea {
    font-family: 'Rubik';
}

.no_display {
    display: none;
}

.main {
    flex-grow: 1;
}

a, a:focus {
    -webkit-tap-highlight-color: transparent;
    cursor: pointer;
    text-decoration: none;
    color: #003A6E;
    outline: none;
}

.basic_button {
    height: 35px;
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 13px;
    font-weight: 500;
    background-color: #003A6E;
    color: #fff;
    padding: 0 10px;
    margin-right: 10px;
}

    .basic_button .material-symbols-outlined {
        font-size: 16px;
        margin-right: 5px;
    }

    .basic_button:focus {
        color: #fff;
    }

.success_button {
    background-color: #4ea05a;
}

.content {
    width: 1000px;
    margin: 0 auto;
    padding: 0 10px;
}

.console {
    position: fixed;
    right: 5px;
    left: 5px;
}

.console_button {
    padding: 2px 5px;
    border-radius: 4px;
    background-color: #999;
    color: #fff;
    font-size: 12px;
    font-weight: bold;
}

.console_text {
    display: none;
    height: 150px;
    font-size: 12px;
    padding: 5px;
    background-color: #fff;
    overflow-y: scroll;
    border: 1px solid #999;
}

.header {
    padding: 15px;
    background-color: #d7e3ed;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    background-image: url('../images/background.png');
    background-position: bottom right;
    background-repeat: no-repeat;
    background-size: 45px;
}

.title {
    font-weight: 700;
    font-size: 28px;
    min-height: 40px;
    display: flex;
    align-items: center;
    padding-right: 40px;
}

.header_buttons_block {
    display: flex;
    flex-wrap: wrap;
}

.header_button {
    height: 30px;
    border: 1px solid #d7e3ed;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-right: 5px;
    margin-bottom: 5px;
    padding: 5px 10px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
}

    .header_button .material-symbols-outlined {
        font-size: 16px;
        margin-right: 0px;
    }

.header_subtext {
    font-size: 14px;
    margin-bottom: 10px;
}

.page_body {
    padding-top: 15px;
}

.page_links_block {
    display: flex;
    overflow: hidden;
    margin-bottom: 20px;
    width: 100%;
}

    .page_links_block.two_links .page_link {
        width: 50%;
    }

.page_link {
    border-top: 1px solid #003A6E;
    border-bottom: 1px solid #003A6E;
    background-color: #fff;
    color: #003A6E;
    font-size: 14px;
    font-weight: 500;
    flex-grow: 1;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

    .page_link:not(:last-child) {
        border-right: 1px solid #003A6E;
    }

    .page_link:first-child {
        border-left: 1px solid #003A6E;
        border-radius: 25px 0 0 25px;
    }

    .page_link:last-child {
        border-right: 1px solid #003A6E;
        border-radius: 0 25px 25px 0;
    }

    .page_link:first-child:last-child {
        border-radius: 25px;
    }

    .page_link.active {
        background-color: #c0d2e2;
    }

    .page_link.inactive .material-symbols-outlined {
        display: none;
    }

    .page_link .material-symbols-outlined {
        display: inline;
        margin-right: 5px;
        font-size: 16px;
    }

    .page_link.disabled {
        border-color: #ccc;
        color: #ccc;
    }

.form {
    margin-bottom: 50px;
}

.form_line {
    margin-bottom: 15px;
}

.form_textbox_block {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 5px;
}

.form_inborder_label {
    background-color: #fff;
    color: #003A6E;
    position: absolute;
    padding: 0 5px;
    font-size: 12px;
    top: -7px;
    left: 15px;
}

    .form_inborder_label.dark {
        background-color: #f2f6fa;
    }

.form_textbox {
    border: 1px solid #003A6E !important;
    border-radius: 5px;
    color: #003A6E;
    font-size: 18px;
    border: none;
    background-color: transparent;
    width: 100%;
    padding: 0 40px 0 10px;
    height: 50px;
    outline: none;
    transition: .2s;
}

    .form_textbox:focus {
        outline: none;
        background-color: #fff;
        box-shadow: 0 0 3px 0.1px inset #003a6e50;
    }

    .form_textbox.error_textbox {
        border-color: #d51414 !important;
        color: #d51414;
        background-color: #d5141410;
    }

        .form_textbox.error_textbox:focus {
            box-shadow: 0 0 3px 0.1px inset #d5141450;
        }

    .form_textbox[readonly] {
        background-color: #ccc;
    }

.form_error_message {
    color: #fff;
    font-size: 12px;
    background-color: #d51414;
    width: 100%;
    padding: 10px;
    display: none;
    border-radius: 5px;
}

.form_textbox_delete_button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background-color: transparent;
    color: #003A6E;
}

.profile_buttons_block {
    margin-bottom: 15px;
}

.round_buttons_block {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

    .round_buttons_block.two_buttons .round_button {
        width: calc(50% - 7.5px);
        flex-grow: initial;
    }

.round_button {
    min-height: 40px;
    border-radius: 25px;
    border: 1px solid #003A6E;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-grow: 1;
    font-size: 14px;
    font-weight: 500;
    background-color: #003A6E;
    color: #fff;
}

a.round_button:focus {
    color: #fff;
}

.round_button .material-symbols-outlined {
    font-size: 16px;
    margin-right: 5px;
}

.round_button.in_progress {
    background-color: gray;
    border-color: gray;
}

.round_button.alert {
    background-color: #d51414;
    border-color: #d51414;
}

.round_button.success {
    background-color: #4ea05a;
    border-color: #4ea05a;
}

.footer {
    position: sticky;
    bottom: 20px;
    left: 10px;
    right: 10px;
    border-radius: 20px;
    background-color: #d7e3ed;
    opacity: 0.93;
    z-index: 10;
    width: calc(100% - 20px);
}

.footer_navigation {
    display: flex;
    justify-content: center;
    padding: 10px;
}

.footer_link {
    color: #003A6E;
    width: 120px;
    height: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer_link_icon {
    position: relative;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-direction: column;
}

    .footer_link_icon .material-symbols-outlined {
        font-size: 25px;
    }

    .footer_link_icon.inactive {
        color: #7b98b8;
    }

.footer_link_name {
    font-size: 12px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.footer_link_alert_red {
    position: absolute;
    background-color: #d51414;
    color: #fff;
    padding: 1px 5px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 500;
    right: -15px;
    top: 0;
}

.footer_link_alert_yellow {
    position: absolute;
    background-color: darkorange;
    color: #fff;
    padding: 1px 5px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 500;
    right: -15px;
    top: 0;
}

.panel_item_content > p > a, .account_message > a, .panel_item_content > p > a:focus, .account_message > a:focus {
    color: #4ea05a;
    text-decoration: underline;
    font-weight: 500;
}

.panel_header {
    background-color: #d7e3ed;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: center;
    padding: 0 15px;
    height: 50px;
    text-transform: uppercase;
    font-weight: 500;
    margin-bottom: 30px;
    border-radius: 5px;
}

    .panel_header .material-symbols-outlined {
        font-size: 16px;
    }

.panel_header_actions_block {
    display: flex;
}

.panel_header_action {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 25px;
}

    .panel_header_action .material-symbols-outlined {
        font-size: 20px;
    }

.panel_header_title {
    display: flex;
    align-items: center;
}

.panel_header_alert_number {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #d51414;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
}

.sortable-chosen {
    box-shadow: 0 0 5px 1px #003A6E;
}

.panel_item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 10px;
    border-radius: 15px;
    background-color: #f2f6fa;
    user-select: none;
    -webkit-user-select: none;
}

    .panel_item.issued {
        background-color: #f7e2e2;
    }

    .panel_item.no_access {
        background-color: #f7e2e2;
    }

    .panel_item.inactive {
        color: #ccc;
    }

.panel_item_list {
    padding-bottom: 25px;
}

.panel_item.ui-sortable-helper {
}

.panel_item_content {
    margin-bottom: 15px;
    width: 100%;
    padding: 15px;
    border-bottom: 1px solid #ccc;
}

.panel_item_actions {
    width: 100%;
    padding: 0 15px 15px;
}

.panel_key_content {
    display: flex;
    align-items: center;
}

.panel_key_info {
    width: calc(100% - 50px);
    padding-left: 15px;
}

.panel_key_actions {
    display: flex;
    justify-content: space-between;
}

.panel_key_buttons {
    display: flex;
}

.panel_key_button {
    height: 35px;
    border-radius: 25px;
    border: 1px solid #003A6E;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 13px;
    font-weight: 500;
    background-color: #003A6E;
    color: #fff;
    padding: 0 10px;
    margin-right: 15px;
}

    .panel_key_button:focus {
        color: #fff;
    }

    .panel_key_button .material-symbols-outlined {
        font-size: 16px;
        margin-right: 5px;
    }

    .panel_key_button.in_progress {
        background-color: gray;
        border-color: gray;
    }

    .panel_key_button.alert {
        background-color: #d51414;
        border-color: #d51414;
    }

    .panel_key_button.success {
        background-color: #4ea05a;
        border-color: #4ea05a;
    }

.circle_button {
    background-color: #003A6E;
    border: none;
    border-radius: 50%;
    height: 35px;
    width: 35px;
    margin-right: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
}

    .circle_button .material-symbols-outlined {
        font-size: 16px;
    }

.panel_key_edit_button {
    background-color: #003A6E;
    border: none;
    border-radius: 50%;
    height: 35px;
    width: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
}

    .panel_key_edit_button .material-symbols-outlined {
        font-size: 16px;
    }

.panel_key_edit_block {
    width: 100%;
    padding: 15px;
    display: none;
}

.panel_key_place {
    display: flex;
    height: 50px;
    align-items: center;
    color: #003A6E;
}

.panel_key_place_name {
    width: calc(100% - 50px);
}

.panel_item_name {
    font-size: 16px;
    margin: 10px 0;
}

    .panel_item_name.disabled {
        color: gray;
    }

.panel_item_big_name {
    font-size: 16px;
    font-weight: 500;
    margin: 10px 0;
    text-transform: uppercase;
    display: flex;
    align-items: center;
}

.panel_item_description {
    font-size: 14px;
    margin-top: 5px;
}

.panel_item_big_text {
    font-size: 20px;
}

    .panel_item_big_text.disabled {
        color: gray;
    }

.panel_item_subtext {
    font-size: 12px;
    display: flex;
    align-items: center;
}

    .panel_item_subtext .material-symbols-outlined {
        font-size: 14px;
        margin-left: 2px;
    }

.panel_key_time {
    display: flex;
    justify-content: flex-end;
}

.key {
    border-bottom: 1px solid #003A6E;
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.key_content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-bottom: 15px;
}

.key_name {
    margin-bottom: 5px;
}

.key_code {
    margin-bottom: 5px;
}

.key_type, .key_subtext {
    font-size: 12px;
}

.key_actions {
    margin-bottom: 15px;
}

.key_icon_actions {
    display: flex;
    flex-direction: column;
}

.key_icon_button {
    margin-bottom: 5px;
    text-align: center;
}

.edit_key_button {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #003A6E;
    background-color: #fff;
    border: none;
    margin-bottom: 5px;
    margin-right: 15px;
}

.form_checkbox_switch {
    width: 50px;
    height: 26px;
    border-radius: 13px;
    border: 2px solid #003A6E;
    position: relative;
    cursor: pointer;
}

.switch_roll {
    position: absolute;
    border-radius: 9px;
    width: 18px;
    height: 18px;
    top: 2px;
    right: 2px;
    background-color: #003A6E;
    display: flex;
    align-items: center;
    justify-content: center;
}

.form_checkbox_switch .material-symbols-outlined {
    display: none;
    font-size: 14px;
}

.form_checkbox_switch.on {
    transition: .3s;
}

    .form_checkbox_switch.on .switch_roll .on {
        display: inline;
        color: #fff;
        transition: .3s;
    }

.form_checkbox_switch.off {
    background-color: #ccc;
    border-color: #ccc;
    transition: .3s;
}

    .form_checkbox_switch.off .switch_roll {
        background-color: #fff;
        left: 2px;
        right: auto;
    }

        .form_checkbox_switch.off .switch_roll .off {
            display: inline;
            color: #ccc;
            transition: .3s;
        }

.info_panel {
    background-color: #d7e3ed;
    border-radius: 5px;
    padding: 15px;
    display: flex;
    justify-content: center;
    margin-bottom: 15px;
}

.info_panel_text {
    display: flex;
    align-items: center;
}

    .info_panel_text .material-symbols-outlined {
        margin-right: 5px;
        font-size: 20px;
    }

.form_checkbox_block {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

    .form_checkbox_block.select_all {
        padding-bottom: 15px;
        border-bottom: 1px solid #ccc;
    }

.form_areas {
    border: 1px solid #003A6E;
    padding: 15px;
    position: relative;
    border-radius: 5px;
    margin-bottom: 15px;
}

.add_key_button_block {
    margin-bottom: 30px;
}

.alert_label {
    padding: 2px 5px;
    border-radius: 15px;
    font-weight: 500;
    font-size: 12px;
    background-color: #d51414;
    color: #fff;
    margin: 0 5px;
}

.alert_text {
    color: #d51414;
}

.ownership_list {
    margin-bottom: 30px;
}

.ownership_item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
}

    .ownership_item.new {
        color: gray;
    }

    .ownership_item.approved {
        color: #003A6E
    }

    .ownership_item.rejected {
        color: sandybrown;
    }

.ownership_item_name {
    display: flex;
    align-items: center;
}

    .ownership_item_name .material-symbols-outlined {
        font-size: 16px;
        margin-right: 5px;
    }

.ownership_item_status_icon .material-symbols-outlined {
    font-size: 16px;
    color: #003A6E;
}

.ownership_item_icons {
    display: flex;
}

.ownership_search_block {
    padding-left: 40px;
    position: relative;
}

.ownership_search_icon {
    position: absolute;
    left: 5px;
}

.ownership_search_textbox {
    padding-left: 30px;
}

.ownership_search_result_list {
    position: absolute;
    background-color: #f2f6fa;
    top: 52px;
    left: 0;
    width: 100%;
    max-height: 300px;
    overflow-y: scroll;
    border-radius: 5px;
    display: none;
    z-index: 1;
}

.ownership_search_result {
    height: 50px;
    display: flex;
    align-items: center;
    padding: 15px;
    cursor: pointer;
    transition: .2s;
}

    .ownership_search_result:hover {
        background-color: #d7e3ed;
    }

.template_checkbox_block {
    margin-top: 15px;
    padding-top: 25px;
    border-top: 1px solid #ccc;
    margin-bottom: 0;
}

.delete_dialog_background {
    display: none;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

.body.inactive {
    filter: blur(20px);
}

.delete_dialog {
    display: flex;
    height: 300px;
    width: 300px;
    border-radius: 15px;
    background-color: #f2f6fa;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 8px 0.1px #003A6E44;
    flex-direction: column;
}

.delete_dialog_header {
    display: flex;
    flex-direction: column;
    text-align: center;
    padding: 15px;
}

.delete_dialog_header_caption {
    font-weight: 500;
    font-size: 25px;
}

.delete_dialog_body {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 15px;
}

.delete_dialog_actions {
    border-top: 1px solid #ccc;
    padding: 15px;
    display: flex;
    justify-content: center;
}

.delete_dialog_button {
    height: 35px;
    border-radius: 25px;
    border: 1px solid #003A6E;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 13px;
    font-weight: 500;
    background-color: #003A6E;
    color: #fff;
    padding: 0 10px;
    margin: 0 5px;
}

    .delete_dialog_button .material-symbols-outlined {
        font-size: 16px;
        margin-right: 5px;
    }

.account_body > main {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.account_form_block {
    width: calc(100% - 30px);
    border-radius: 15px;
    box-shadow: 0 0 8px 0.1px #003A6E44;
    max-width: 500px;
}

.account_form_header {
    padding: 15px;
    text-align: center;
    font-weight: 500;
    font-size: 25px;
}

.account_form {
    padding: 15px;
}

.account_buttons {
    display: flex;
    justify-content: flex-end;
    padding: 15px;
    border-top: 1px solid #ccc;
}

.account_form_info_block {
    padding: 15px;
    font-size: 14px;
}

    .account_form_info_block a {
        text-decoration: underline;
    }

.phone_prefix {
    position: absolute;
    left: 5px;
    font-size: 18px;
}

.form_phone_textbox {
    padding: 0 40px 0 30px;
}

.account_message {
    margin-bottom: 15px;
}

.form_radio_block {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    cursor: pointer;
}

.form_radio_button {
    width: 22px;
    height: 22px;
    margin-right: 15px;
    border: 2px solid #ccc;
    border-radius: 50%;
    position: relative;
    transition: .2s;
}

    .form_radio_button:after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        display: block;
        width: 0;
        height: 0;
        border-radius: 50%;
        background-color: #fff;
        transition: .2s;
    }

    .form_radio_button.selected {
        border-color: #003A6E;
    }

        .form_radio_button.selected:after {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            display: block;
            width: 10px;
            height: 10px;
            border-radius: 50%;
            background-color: #003A6E;
        }

.form_radio_name {
    width: calc(100% - 37px);
}

.cloud_key_button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #003A6E;
}

    .cloud_key_button .material-symbols-outlined {
        font-size: 30px;
        color: #fff;
    }

    .cloud_key_button.processing {
        background-color: #ccc;
    }

    .cloud_key_button.open {
        background-color: #4ea05a;
    }

.privacy_page {
    padding: 30px 15px;
}

    .privacy_page h1 {
        font-size: 28px;
    }

    .privacy_page h2 {
        font-size: 20px;
    }

.offline_message_box {
    display: flex;
    align-items: center;
    position: fixed;
    top: 10px;
    left: 5px;
    right: 5px;
    padding: 5px;
    border-radius: 10px;
    background-color: #e0a23f;
}

.offline_icon {
    margin-right: 15px;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .offline_icon .material-symbols-outlined {
        font-size: 30px;
    }

.offline_message {
    color: #fff;
    font-size: 14px;
    font-weight: 500;
}

.load_next_page_progress {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #000000aa;
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    transition: 1s;
}

    .load_next_page_progress.visible {
        opacity: 1;
        visibility: visible;
        transition: .2s;
    }

.loader {
    display: block;
    width: 100px;
    height: 100px;
    background: linear-gradient( 165deg, rgba(255, 255, 255, 1) 0%, rgb(220, 220, 220) 40%, rgb(170, 170, 170) 98%, rgb(10, 10, 10) 100% );
    background-color: #d51414;
    border-radius: 50%;
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

    .loader:before {
        position: absolute;
        content: "";
        width: 100%;
        height: 100%;
        border-radius: 100%;
        border-bottom: 0 solid #ffffff05;
        box-shadow: 0 -10px 20px 20px #ffffff40 inset, 0 -5px 15px 10px #ffffff50 inset, 0 -2px 5px #ffffff80 inset, 0 -3px 2px #ffffffbb inset, 0 2px 0px #ffffff, 0 2px 3px #ffffff, 0 5px 5px #ffffff90, 0 10px 15px #ffffff60, 0 10px 20px 20px #ffffff40;
        filter: blur(3px);
        animation: 2s rotate linear infinite;
    }

@keyframes rotate {
    100% {
        transform: rotate(360deg)
    }
}

@media(max-width: 1024px) {
    .content {
        width: 100%;
    }
}

.info_message_box {
    position: fixed;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    border-radius: 15px;
    top: 15px;
    left: 15px;
    right: 15px;
    color: #fff;
    background-color: #003A6E;
    box-shadow: 0 0 5px 1px #aaa;
}

.success_info {
    background-color: #4ea05a;
}

.vehicle_list {
    margin-bottom: 30px;
}

.vehicle_item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
}

    .vehicle_item.new {
        color: gray;
    }

    .vehicle_item.approved {
        color: #003A6E
    }

    .vehicle_item.rejected {
        color: sandybrown;
    }

.vehicle_item_name {
    display: flex;
    align-items: center;
}

    .vehicle_item_name .material-symbols-outlined {
        font-size: 16px;
        margin-right: 5px;
    }

.vehicle_item_status_icon .material-symbols-outlined {
    font-size: 16px;
    color: #003A6E;
}

.vehicle_item_icons {
    display: flex;
}
