.main-content__edit-block, .main-content__view-block {
    height: 100%;
    min-height: 68px;
    max-height: 1000px;
    min-width: 45%;
    padding-top: 15px;
    padding-bottom: 15px;
}

.main-content__view-block {
    overflow-y: auto;
}

.tables-row__error,
.tables-row__error:hover {
    background-color: #ffd7d7;
}

.data-container {
    display: flex;
}

.error_container {
    padding: 5px 10px;
}

.error_description, .error_correction_block {
    margin-bottom: 10px;
    font-size: 106%;
}

.accordion {
    margin-bottom: 20px;
}

.accordion .accordion-item {
    border: 1px solid #ccc;
    box-sizing: border-box;
}

.accordion .accordion-item button.title {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
    font-weight: bold;
    font-size: 115%;
    padding-top: 5px;
    padding-bottom: 10px;
    padding-left: 10px;
    margin-right: 36px;
    width: 100%;
}

.accordion .accordion-item button.title::after {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    right: 20px;
    background: url('../../../images/select_b.png') no-repeat;
}

.accordion .accordion-item.active button.title::after {
    content: '';
    background: url('../../../images/select_b.png') no-repeat;
    transform: rotate(180deg);
}

.accordion .accordion-item .panel {
    max-height: 0;
    overflow: hidden;
    border: none;
    margin: 0;
    -webkit-transition: max-height 0.3s ease-in;
    transition: max-height 0.3s ease-in;
}

.error_correction_block table {
    margin-bottom: 10px;
}

.error_correction_block td, .error_correction_block th {
    padding: 5px;
}

.error_correction_block th {
    font-weight: bold;
}

.gu-mirror {
    position: fixed !important;
    margin: 0 0 0 120px !important;
    z-index: 9999 !important;
    opacity: 0.8;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";
    filter: alpha(opacity=80);
}
.gu-hide {
    display: none !important;
}
.gu-unselectable {
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    user-select: none !important;
}
.gu-transit {
    opacity: 0.2;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=20)";
    filter: alpha(opacity=20);
}

.open_expert_window {
    width: 20px;
    margin-left: 5px;
    cursor: pointer;
}

.open_expert_window:hover {
    opacity: 0.8;
}

.config_json_style {
    display: none;
    box-sizing: border-box;
    background-color: white;
    position: absolute;
    padding: 5px 0;
    width: 40%;
    height: 60%;
    left: 30%;
    top: 30%;
    z-index: 2;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.config_json_textarea_style,
.config_json_textarea_style--substitution {
    width: 100%;
    height: 87%;
    box-sizing: border-box;
    border-right: none;
    border-left: none;
    padding: 3px 5px;
    resize: none;
    font-family: monospace;
}

.config_json_textarea_style--substitution {
    height: 98%;
}

.config__row--display-value {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-pack: start;
        -ms-flex-pack: start;
            justify-content: flex-start;
    border: 1px dotted transparent;
    background: transparent;
    cursor: pointer;
    padding: 5px 20px 5px 3px;
    width: 250px;
    overflow: hidden;
    box-sizing: border-box;
}

.sync1c-errors__error-name {
    width: 180px;
}

.sync1c-errors__error-name:hover {
    cursor: pointer;
    color: blue;
}

.sync1c-errors__error-delete {
    width: 30px;
}

.sync1c-errors__error-reason {
    width: 30px;
}

.sync1c-errors__error-name div,
.sync1c-errors__error-reason div {
    word-break: break-all;
}

.config__sub-settings-btn {
    margin-right: 3px;
    margin-bottom: 2px;
    cursor: pointer;
    z-index: 2;
}

.config__add-tab-part-link {
    color: blue;
    cursor: pointer;
}

.config__add-tab-part-link:hover {
    color: #1a4d7b;
    cursor: pointer;
}

.config__1c-module-form .user-data__close-edit-btn {
    margin-top: 5px;
}

.config__add-settings-btn {
    width: 17px;
}

.config-1c__select {
    border: 1px dotted gray;
    border-radius: 4px;
}

select {
    box-sizing: border-box;
    width: 250px;
    padding: 5px 20px 5px 10px;
}

.chosen-container {
    background-color: #fff;
    box-sizing: border-box;
}

.filter_row {
    width: 679px;
    background-color: white;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.save_filter-btn {
    margin-left: 5px;
    min-width: 16px;
    min-height: 16px;
    background-image: url(../../../images/checked.svg);
    background-repeat: no-repeat;
    -webkit-transition: opacity 0.2s;
    transition: opacity 0.2s;
}

.expert_container,
.substitution_background {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 100%;
    background-color: rgba(255,255,255,0.4);
    border-radius: 11px;
    padding: 200px 0;
    z-index: 998;
    box-sizing: border-box;
}

.expert_container-content,
.substitution_container {
    position: relative;
    width: 50%;
    padding: 1% 3%;
    background-color: white;
    border-radius: 11px;
    box-shadow: 0 0 38px rgb(0 0 0 / 50%);
}

.substitution_container-main_title {
    font-size: 18px;
    text-align: center;
    margin-bottom: 20px;
}

.expert_container-content-title,
.substitution_container-title {
    text-align: center;
    font-size: 17px;
}

.substitution_container-value_container,
.substitution_container-svalues_container {
    width: 50%;
}

.substitution_container-input {
    display: inline-block;
    width: 85%;
    box-sizing: border-box;
    margin: 0 10px 5px 5px !important;
}

.substitution_container-link_button {
    display: block;
    cursor: pointer;
    text-decoration: underline dotted;
    color: blue;
    margin: auto;
    font-size: 108%;
}

.substitution_container-save {
    display: block;
    margin: auto;
}

.expert_container-content-close,
.substitution_container-close {
    position: absolute;
    top: 5px;
    right: 10px;
}

.expert_container-content-title,
.substitution_container-value_container-title {
    position: relative;
    text-align: center;
}

.expert_container {
    position: fixed;
    z-index: 999;
}

.expert_container-content {
    position: absolute;
    top: 200px;
    bottom: 200px;
    left: 25%;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.expert_container-content-title {
    font-size: 15px;
    font-weight: bold;
    padding: 1%;
}

.expert_container-content-textarea_block {
    height: -webkit-fill-available;
    min-height: 80%;
    margin-bottom: 1%;
}

.expert_container-content-textarea_block > textarea {
    margin: 0px;
    width: 100%;
    height: 100%;
    resize: none;
    padding: 2% 4%;
    box-sizing: border-box;
}
