﻿* {
    box-sizing: border-box;
}

body {
    background-color: #f8f9fb;
    color: #6a6c6f;
    min-height: 400px;
    margin: 0;
    font-family: 'Open Sans';
    -webkit-text-size-adjust: 100%;
}

a, a:focus {
    text-decoration: none;
    color: #6a6c6f;
    outline: none;
}

[type=checkbox] {
    outline: none;
    margin: 0;
}

[type=radio] {
    cursor: pointer;
}

.right_align {
    text-align: right;
}

.login_body {
    background-color: #f8f9fb;
    height: 100%;
}

body.login_body {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 0;
}

.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;
}

.form_textbox_fullwidth_container {
    position: relative;
    width: 100%;
}

.show_password {
    position: absolute;
    right: 5px;
    top: 5px;
}

    .show_password .fa {
        font-size: 19px;
    }

.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;
}

.project_name {
    width: 200px;
    height: 100%;
    border-right: 1px solid #eaeaea;
    padding-left: 30px;
}

    .project_name a {
        font-weight: bold;
        font-size: 14px;
    }

    .project_name span.home_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;
}

.content {
    display: flex;
}

.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;
    line-height: 45px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
}

    .menu_item > span {
        line-height: 45px;
        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;
}

    .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;
    min-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;
    width: 100%;
    background-color: #fff;
}

    .admin_table table tbody td {
        padding: 3px;
    }

    .admin_table table td.is_main {
        text-align: center;
    }

    .admin_table table tbody tr {
        transition: 0.2s;
        border: 1px solid #fff;
        cursor: default;
    }

        .admin_table table tbody tr:hover {
            background-color: #f0f0f0;
            border-bottom: 1px solid #ccc;
        }

    .admin_table table th a {
        padding: 0 20px;
        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 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 {
    position: sticky;
    background-color: #f6f6f6;
    top: 0;
    z-index: 2;
    border-bottom: 1px solid #f0f0f0;
}

.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: 75%;
}

    .admin_form > header {
        border-bottom: 1px solid #eaeaea;
        padding: 10px;
        font-weight: 700;
    }

.admin_form_content {
    font-size: 13px;
    padding: 10px;
}

.admin_form_columns {
    display: flex;
    flex-wrap: wrap;
    column-gap: 30px;
}

.admin_form_50_column {
    width: calc(50% - 15px);
}

.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: #157cd3;
}

/* forms */

.form_line {
    display: flex;
    min-height: 30px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.form_label {
    width: 150px;
    padding-right: 5px;
    font-size: 13px;
    line-height: 15px;
    display: flex;
    flex-flow: column;
    justify-content: center;
}
.form_label_fullwidth {
    width: 100%;
    padding-right: 5px;
    margin-bottom: 5px;
    font-size: 13px;
    line-height: 15px;
    display: flex;
    flex-flow: column;
    justify-content: center;
}

.form_textbox_container {
    width: calc(100% - 150px);
}

.form_line_input_block {
    width: calc(100% - 150px);
}

.friendly_url_container, .name_container {
    display: flex;
}

.form_textbox {
    height: 30px;
    border: #6a6c6f 1px solid;
    border-radius: 3px;
    width: 100%;
    padding-left: 5px;
}

.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%;
}

.form_checkbox_container {
    display: flex;
    flex-flow: column;
    justify-content: center;
}

.form_radiobutton_container {
    display: flex;
    column-gap: 15px;
    min-height: 30px;
}

.form_vertical_radiobutton_container {
}

.form_radiobutton_item {
    display: flex;
    align-items: center;
}

    .form_radiobutton_item input {
        margin-right: 5px;
        margin-left: 0;
        margin-top: 0;
    }

    .form_radiobutton_item label {
        cursor: pointer;
    }

.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;
}

.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;
    }

.save_button {
    background-color: #39455a;
    color: #ffffff;
    border-radius: 3px;
    padding: 0 20px;
    height: 30px;
    line-height: 30px;
    font-size: 13px;
    font-weight: 600;
}

#saveAndAdd {
    margin-right: 10px;
}

.form_button_line {
    display: flex;
    justify-content: flex-end;
    margin-top: 20px;
}

.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;
}


.video_preview {
    margin-top: 10px;
    padding-left: 150px;
}

.form_validation {
    width: 100%;
    padding-left: 150px;
}

.login_page {
    width: 400px;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    left: 50%;
    min-height: initial;
}

.banner_tips {
    padding: 10px;
    font-size: 13px;
}

    .banner_tips p {
        font-weight: 600;
        margin: 10px 0;
    }

/* 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;
}

.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: red;
    font-size: 12px;
}

.dynatable-pagination-links {
    margin-top: 10px;
}

.dynatable-processing {
    border: 1px solid #000;
    width: 200px !important;
    height: 50px !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,0,0,0.6);
    z-index: 1;
}

    .dynatable-processing span {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        text-transform: uppercase;
        font-size: 20px;
    }

.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;
        }

.menu-tree {
    position: relative;
}

.menu-items-dummy {
    height: 250px;
    display: none;
}

.menu-items-container.fixed {
    position: fixed;
    top: 0;
    z-index: 1;
    background-color: #fff;
    border-bottom: 2px solid #c2c2c2;
    width: 760px;
}

.menu-items {
    padding-left: 10px;
    width: 100%;
    margin-bottom: 30px;
    display: flex;
    flex-wrap: wrap;
}

    .menu-items .drag-item {
        float: left;
        margin: 2px 2px;
    }

.root {
    padding: 10px;
    text-transform: uppercase;
    color: #fff;
    font-weight: bold;
    background-color: #7a2d1b;
    width: 80px;
    margin-bottom: 10px;
}

.menu-item, .menu-item-group {
    color: #fff;
    cursor: move;
    font-size: 12px;
    font-weight: bold;
    margin-bottom: 10px;
    padding: 4px;
    text-align: center;
    text-transform: uppercase;
    width: 140px;
}

.menu-item {
    background-color: #52651a;
}

.delete-menu-item {
    float: right;
    cursor: pointer;
}

.menu-item-group {
    background-color: #ae6c03;
}

.track-shadow {
    position: absolute;
    opacity: 0.5;
}

.trash {
    width: 160px;
    height: 160px;
    position: fixed;
    display: none;
    left: 40%;
    bottom: 60px;
    border: 3px dashed #0078a5;
    background-color: #fff;
    opacity: 0.3;
    transition-duration: 0.3s;
    text-align: center;
    line-height: 160px;
}

    .trash i {
        font-size: 120px;
        vertical-align: middle;
        color: #0078a5;
    }

    .trash:hover {
        opacity: 1;
    }

.dockable {
    position: relative;
}

.docking-area {
    opacity: 0.8;
    width: 40px;
    border-top: 2px solid;
    border-right: 2px solid;
    border-bottom: 2px solid;
    right: -40px;
    top: 0;
    height: 100%;
    position: absolute;
}

.area-highlighted {
    background-color: #fce888;
}

.children {
    padding-left: 20px;
    margin-left: 20px;
    border-left: 2px solid #78a11f;
}

.item-moving {
    opacity: 0.5;
}

.landing-lights-before {
    -webkit-box-shadow: inset 0px 10px 10px -6px rgba(255,255,255,1);
    -moz-box-shadow: inset 0px 10px 10px -6px rgba(255,255,255,1);
    box-shadow: inset 0px 10px 10px -6px rgba(255,255,255,1);
}

.landing-lights-after {
    -webkit-box-shadow: inset 0px -10px 10px -6px rgba(255,255,255,1);
    -moz-box-shadow: inset 0px -10px 10px -6px rgba(255,255,255,1);
    box-shadow: inset 0px -10px 10px -6px rgba(255,255,255,1);
}

.error-textbox {
    box-shadow: inset 0px 0px 1.5px 1px rgba(255,0,0,1);
    -webkit-box-shadow: inset 0px 0px 1.5px 1px rgba(255,0,0,1);
    -moz-box-shadow: inset 0px 0px 1.5px 1px rgba(255,0,0,1);
}

.save.disabled {
    background-color: #898989 !important;
}

.form_tags {
    position: relative;
}

    .form_tags header {
        font-size: 16px;
        padding: 10px 0;
    }

.tags_results {
    position: absolute;
    border: 1px solid #888;
    padding: 10px;
    background-color: #fff;
    bottom: 40px;
    left: 160px;
    z-index: 10;
}

.tags_result_item {
    cursor: pointer;
}

    .tags_result_item.active {
        color: #fff;
        background-color: #3361a1;
    }

.tags_list {
    display: flex;
    flex-wrap: wrap;
    margin-top: 10px;
}

.tag_item {
    padding: 2px 5px;
    margin: 5px 5px 5px 0px;
    font-weight: bold;
    background-color: #3361a1;
    color: #fff;
    border-radius: 8px;
    cursor: pointer;
}

.tags_body {
    margin-top: 10px;
}

.feedback_attachment_header {
    border-bottom: 1px solid #eaeaea;
    padding: 10px 0;
    font-weight: 700;
    width: 100%;
    font-size: 16px;
    margin-bottom: 10px;
}

.feedback_attachment {
    margin-bottom: 10px;
}

    .feedback_attachment a {
        color: #006bff;
        text-decoration: underline;
    }

.form_categories {
    margin-bottom: 20px;
    position: relative;
}

    .form_categories > header {
        border-bottom: 1px solid #eaeaea;
        padding: 10px 0;
        font-weight: 700;
        width: 100%;
        font-size: 16px;
        margin-bottom: 10px;
    }

.choose_category {
    color: #ffffff;
    background-color: #39455a;
    font-weight: 600;
    height: 30px;
    width: 100%;
    padding: 0 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 3px;
    cursor: pointer;
}

    .choose_category .fa {
        padding-left: 10px;
        padding-right: 5px;
        border-left: 1px solid #eaeaea;
    }

.categories_list {
    display: none;
}

    .categories_list.open {
        display: block;
        position: absolute;
        top: 30px;
        left: 0;
        right: 0;
        max-height: 300px;
        overflow-y: auto;
        background-color: #fff;
        border: 1px solid #eaeaea;
        box-shadow: 0 1px 10px rgba(0,0,0,.05),0 1px 2px rgba(0,0,0,.1);
        z-index: 1;
    }

.category_list_item {
    display: flex;
    height: 30px;
    align-items: center;
    padding: 0 5px;
}

.category_list_item_selected {
    width: 70px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.category_list_item_name {
    width: calc(100% - 70px);
    height: 30px;
    display: flex;
    align-items: center;
}

.categories_list_header {
    background-color: #5b687d;
    color: #ffffff;
    display: flex;
    align-items: center;
    font-size: 12px;
    font-weight: 600;
    padding: 2px 5px;
}

.categories_list_header_selected {
    width: 70px;
    text-align: center;
}

.categories_list_header_name {
    width: calc(100% - 70px);
}

.additional_categories {
    margin-left: 150px;
    position: relative;
    margin-top: 10px;
    width: 100%;
}

.form_flags {
    margin-bottom: 20px;
}

    .form_flags > header {
        border-bottom: 1px solid #eaeaea;
        padding: 10px 0;
        font-weight: 700;
        width: 100%;
        font-size: 16px;
        margin-bottom: 10px;
    }

.choose_flags {
    color: #ffffff;
    background-color: #39455a;
    font-weight: 600;
    height: 30px;
    width: 100%;
    padding: 0 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 3px;
    cursor: pointer;
    position: relative;
    width: calc(100% - 150px);
}

    .choose_flags .fa {
        padding-left: 10px;
        padding-right: 5px;
        border-left: 1px solid #eaeaea;
    }

.form_flag_list {
    display: none;
}

    .form_flag_list.open {
        display: block;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #fff;
        color: #6a6c6f;
        font-weight: 400;
        box-shadow: 0 1px 10px rgba(0,0,0,.05),0 1px 2px rgba(0,0,0,.1);
        z-index: 1;
        cursor: initial;
        padding-top: 1px;
    }

.form_flag_list_header {
    background-color: #5b687d;
    color: #ffffff;
    display: flex;
    align-items: center;
    font-size: 12px;
    font-weight: 600;
    padding: 2px 5px;
}

.form_flag_list_header_value {
    width: 60px;
}

.form_flag_list_header_name {
    width: 150px;
}

.form_flag_list_header_description {
    width: calc(100% - 210px);
    padding-left: 5px;
}

.form_flag_item {
    width: 100%;
    display: flex;
    padding: 2px 5px;
}

.form_flag_value {
    width: 60px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.form_flag_name {
    width: 150px;
    height: 30px;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.form_flag_description {
    width: calc(100% - 210px);
    height: 30px;
    display: flex;
    align-items: center;
    padding-left: 5px;
}

.form_media > header {
    border-bottom: 1px solid #eaeaea;
    padding: 10px 0;
    font-weight: 700;
    width: 100%;
    font-size: 16px;
    margin-bottom: 10px;
}

.form_text > header {
    border-bottom: 1px solid #eaeaea;
    padding: 10px 0;
    font-weight: 700;
    width: 100%;
    font-size: 16px;
    margin-bottom: 10px;
}

.feedback_form_link {
    text-decoration: underline;
}

.chosen_categories, .chosen_flags {
    margin-top: 5px;
}

.chosen_flags {
    width: 100%;
    padding-left: 150px;
}

.chosen_category, .chosen_flag {
    font-size: 12px;
    font-weight: 700;
    color: #39455a;
    border-radius: 3px;
    margin-right: 5px;
}

.validation-summary-errors {
    color: #ff0000;
    font-size: 12px;
    margin-bottom: 10px;
}

.checkbox_table_line {
    height: 25px;
    width: 150px;
    display: flex;
}

    .checkbox_table_line label {
        width: calc(100% - 30px);
        display: flex;
        align-items: center;
    }

    .checkbox_table_line input[type=checkbox] {
        width: 30px;
    }

.upload_audio_progress {
    height: 10px;
    position: relative;
    border: 1px solid #666;
    margin: 5px 0;
    width: 100%;
    display: none;
}

.upload_audio_progress_bar {
    height: 100%;
    width: 40%;
    background-color: #666;
}

.audio_textbox {
    width: calc(100% - 250px);
    margin-right: 5px;
}

#audioFile {
    width: 200px;
}

.delete_audio {
    width: 30px;
    text-align: center;
    font-size: 22px;
    margin-right: 5px;
    cursor: pointer;
}

    .delete_audio.hidden {
        display: none;
    }

.audio_container {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.form_yandex_official_commentary > header {
    border-bottom: 1px solid #eaeaea;
    padding: 10px 0;
    font-weight: 700;
    width: 100%;
    font-size: 16px;
    margin-bottom: 10px;
}

.form_yandex_toggle_button {
    color: #fff;
    background-color: #39455a;
    font-size: 12px;
    padding: 3px 6px;
    border-radius: 3px;
    margin-right: 5px;
    cursor: pointer;
}

.form_yandex_official_commentary_content {
    display: none;
}

    .form_yandex_official_commentary_content.open {
        display: block;
    }

.form_video_list_block > header, .add_video_block > header, .media_image_block > header, .form_audio_block > header {
    font-weight: 700;
    height: 40px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #eaeaea;
}

.add_video_block > header, .media_image_block > header, .form_audio_block > header {
    margin-bottom: 20px;
}

.form_video_list_header > div {
    padding: 0 5px;
}

.form_video_list_header {
    display: flex;
    background-color: #eaeaea;
    font-weight: 700;
    height: 25px;
    align-items: center;
}

.form_video_list_item > div {
    padding: 0 5px;
}

.form_video_list_storage {
    width: 100px;
}

.form_video_list_src {
    width: calc(100% - 230px);
}

.form_video_list_main {
    width: 100px;
    text-align: center;
}

.form_video_list_delete {
    display: flex;
    align-items: center;
    width: 30px;
    margin-top: -5px;
}

.form_video_list_item {
    width: 100%;
    display: flex;
    position: relative;
    padding: 10px 0;
    min-height: 30px;
    align-items: center;
}

.form_video_list_no_video {
    color: #39455a;
    font-weight: 500;
    margin: 10px 0;
}


.form_video_list_item_checkbox {
    display: flex;
    align-items: center;
}

    .form_video_list_item_checkbox input[type=checkbox] {
        margin-right: 10px;
    }

.form_video_list_item_delete_button {
    cursor: pointer;
    font-size: 20px;
}

.admin_order_item {
    padding: 20px 0;
    border-bottom: 1px solid #eaeaea;
}

.admin_order_link {
    color: #39455a;
    text-decoration: underline;
    font-weight: 600;
}

.admin_order_value {
    font-weight: 700;
}

/* form group */

.form_group {
    margin-bottom: 20px;
}

    .form_group > header {
        text-transform: uppercase;
        padding: 0;
        height: 30px;
        display: flex;
        align-items: center;
        margin-bottom: 10px;
        font-weight: bold;
        border-bottom: 1px solid #eaeaea;
    }

.form_part {
    margin-bottom: 15px;
}

.form_part_header {
    text-transform: uppercase;
    padding: 0 15px;
    height: 35px;
    display: flex;
    align-items: center;
    font-size: 16px;
    font-weight: bold;
    border: 1px solid #eaeaea;
    background-color: #eaeaea;
    cursor: pointer;
}

    .form_part_header .fa {
        margin-right: 10px;
        font-size: 16px;
    }

.form_part_content {
    border: 1px solid #eaeaea;
    border-top: none;
    padding: 15px;
}

.form_part_group {
    margin-bottom: 15px;
}

.form_part_group_body {
    border: 1px solid #eaeaea;
    border-top: none;
    padding: 15px;
}

.form_part_group_header {
    text-transform: uppercase;
    padding: 0 15px;
    height: 30px;
    display: flex;
    align-items: center;
    font-size: 14px;
    font-weight: bold;
    border: 1px solid #eaeaea;
    background-color: #eaeaea;
    cursor: pointer;
}

    .form_part_group_header .fa {
        margin-right: 10px;
        font-size: 14px;
    }

.form_part_group_item {
    margin-bottom: 15px;
}

.form_part_group_item_header {
    text-transform: uppercase;
    padding: 0 15px;
    height: 25px;
    display: flex;
    align-items: center;
    font-size: 10px;
    font-weight: bold;
    background-color: #eaeaea;
    cursor: pointer;
}

    .form_part_group_item_header .fa {
        margin-right: 5px;
        font-size: 14px;
    }

.form_part_group_item_body {
    padding: 15px;
    border: 1px solid #eaeaea;
}

    .form_part_group_item_body .form_line:last-of-type {
        margin-bottom: 0;
    }

@media (max-width: 1279px) {
    .admin_form {
        width: 75%;
    }

    .admin_table {
        min-width: 75%;
    }
}

@media (max-width: 1024px) {
    .admin_form {
        width: 100%;
    }

    .admin_table {
        min-width: 100%;
    }

    .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;
        line-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: absolute;
        z-index: 1000;
        background-color: #fff;
        padding-right: 10px;
        height: 100%;
        box-shadow: 0 1px 10px rgba(0,0,0,0.05),0 1px 2px rgba(0,0,0,0.1);
    }

    .admin_header {
        height: 40px;
        line-height: 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;
    }
}

@media (max-width: 650px) {
    .form_flag_description {
        font-size: 12px;
        line-height: 12px;
    }
}

@media (max-width: 600px) {
    .project_name {
        width: 50px;
        padding-left: 0;
        text-align: center;
    }

        .project_name span.home_text {
            display: none;
        }

        .project_name span.home_icon {
            display: inline;
        }

    .drop_target span {
        font-size: 18px;
    }
}

@media (max-width: 550px) {
    .admin_table_container {
        overflow-x: scroll;
        font-size: 11px;
    }

    .form_textbox_container, .datepicker_container, .form_line_input_block {
        width: 100%;
    }

    .form_validation {
        padding: 0;
    }

    .form_label {
        margin-bottom: 10px;
    }

    .additional_categories {
        margin-left: 0;
    }

    .choose_flags {
        width: 100%;
    }

    .chosen_flags {
        padding-left: 0;
    }

    .video_preview {
        padding-left: 0;
    }
}

@media (max-width: 500px) {
    .dynatable-search {
        display: block;
    }

    #dynatable-query-search- {
        width: 196px;
    }
}

@media (max-width: 450px) {
    .username_panel {
        font-size: 10px;
    }

    .file_input_container {
        width: 100%;
    }

    .image_preview {
        padding-left: 0;
    }

    .gallery_item {
        height: 80px;
    }

        .gallery_item .delete_image {
            height: 25px;
            width: 25px;
            line-height: 20px;
        }
}

@media(max-width:400px) {
    .form_flag_name {
        width: 100px;
        font-size: 12px;
    }

    .form_flag_list_header_name {
        width: 100px;
    }

    .form_flag_list_header_description {
        width: calc(100% - 160px);
    }

    .form_flag_description {
        width: calc(100% - 160px);
        font-size: 10px;
    }
}

@media (max-width: 350px) {
    .choose_category {
        font-size: 12px;
    }

    .video-preview {
        max-width: 100%;
    }
}
