#file_signing_form {}

#file_signing_form * {
    font-family: Roboto, Arial, sans-serif;
    color: #1A2533;
    box-sizing: border-box;
}

#file_signing_form .fa {
    font-family: FontAwesome;
}

#file_signing_form .fal {
    font-family: "Font Awesome 5 Pro";
}

#file_signing_form .mce-ico {
    font-family: 'tinymce', Arial;
}

.tox-tinymce-aux {
    z-index: 99999999;
}

#file_signing_form__header_main {
    margin-bottom: 20px;
}

#file_signing_form__header_main__left {
    display: inline-block;
    font-size: 22px;
    line-height: 29px;
    font-weight: bold;
    cursor: pointer;
}

#file_signing_form__header_main__close {
    font-size: 20px;
    font-family: FontAwesome;
    position: absolute;
    top: 16px;
    right: 30px;
    cursor: pointer;
    color: white;
}

#info_tooltip_global {
    z-index: 10009999;
}

#file_signing_form:before {
    content: none;
}

#file_signing_form .modal-inner {
    padding-top: 0;
    width: 760px;
    margin-left: -380px;
    left: 50%;
    top: 275px;
    max-height: calc(100% - 400px);
    overflow: visible;
    border: none;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    z-index: 10000003;
    overflow: auto;
    overflow-y: scroll;
}

#file_signing_form *::-webkit-scrollbar {
    width: 7px;
    height: 7px;
}

#file_signing_form *::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.45);
    border-radius: 10px;
    box-shadow: rgba(255, 255, 255, 0.3) 0 0 0 1px;
}

#file_signing_form *:hover::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.55);
}

@media screen and (max-height: 1440px) {
    #file_signing_form .modal-inner {
        max-height: 80%;
        top: 10%;
    }
}

@media screen and (max-width: 800px) {
    #file_signing_form .modal-inner {
        width: 90%;
        margin-left: -45%;
    }
}

@media screen and (max-width: 30em) {
    #file_signing_form .modal-inner {
        top: 30px;
        border-radius: 8px;
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
        width: auto !important;
        margin-left: 0 !important;
        left: 0 !important;
        right: 0 !important;
        padding-top: 0;
        height: calc(100% - 30px);
        max-height: unset;
    }
}

#file_signing_form.modal-container .modal-close:before {
    opacity: 0.7;
}

#file_signing_form.modal-container .modal-close:after {
    margin-left: 360px;
    color: white;
    z-index: 10000002;
    border-radius: 3px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    line-height: 25px;
    border: 0px;
    cursor: pointer;
    top: 250px;
    font-size: 0px;
    background: url(/images/popups/close-shadow3.svg) center no-repeat;
    height: 18px;
    width: 18px;
    padding: 0;
}

@media screen and (max-height: 1440px) {
    #file_signing_form.modal-container .modal-close:after {
        top: calc(10% - 27px);
    }
}

@media screen and (max-width: 800px) {
    #file_signing_form.modal-container .modal-close:after {
        margin-left: calc(45% - 20px);
    }
}

@media screen and (max-width: 30em) {
    #file_signing_form.modal-container .modal-close:after {
        top: 6px;
        left: 0;
        right: 5px;
        margin-left: auto;
    }

    #file_signing_form.modal-container .modal-close:before {
        display: block;
    }


}

#file_signing_form .modal-content {
    font-size: 16px;
    line-height: 21px;
    max-height: 80%;
    padding: 25px;
    padding-bottom: 40px;
    border: 0;
    position: relative;
}


#file_signing_form__main_content {
    position: relative;
}

.file_signing_form__block {
    width: 100%;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    margin: 10px 0 20px 0;
    box-sizing: border-box;
    font-size: 16px;
    line-height: 21px;
    padding: 0 20px;
}

#file_signing_form__main_content_loading_mask {
    position: absolute;
    top: 0;
    left: 0;
    background: rgba(255, 255, 255, 0.5);
    width: 100%;
    height: 100%;
    text-align: center;
    padding-top: 30px;
    box-sizing: border-box;
    font-size: 30px;
    display: none;
    z-index: 10;
}

#file_signing_form__main_content_loading_mask i {
    position: fixed;
    top: calc(50% - 20px);
}


#file_signing_form__sorted_table__users__template {
    display: none;
}

#file_signing_form__sorted_table__users {
    box-shadow: none;
    font-size: 12px;
    line-height: 14px;
    margin: 0;
    padding: 0;
    position: relative;
    min-width: 700px;
    border: none;
}

#file_signing_form.cannot_write #file_signing_form__sorted_table__users th:nth-child(2),
#file_signing_form.cannot_write #file_signing_form__sorted_table__users td:nth-child(2) {
    display: none;
}

#file_signing_form__sorted_table__users .tablesorter_custom_filter input,
#file_signing_form__sorted_table__users .tablesorter_custom_filter select {
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: transparent;
    background-repeat: no-repeat;
    background-position-x: calc(100% - 13px);
    background-position-y: center;
    padding: 5px 30px 5px 10px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    font-size: 16px;
    height: 42px;
    border: 1px solid #DEDEDE;
    width: 100%;
}

#file_signing_form__sorted_table__users th:first-child,
#file_signing_form__sorted_table__users td:first-child {
    position: sticky;
    left: 0;
    z-index: 2;
    padding: 10px 5px 10px 10px !important;
}

#file_signing_form__sorted_table__users th:first-child {
    padding: 10px !important;
}

#file_signing_form__sorted_table__users td:nth-last-child(-n+2) {
    text-align: center;
     !i;
     !;
}

#file_signing_form__sorted_table__users th:last-child,
#file_signing_form__sorted_table__users td:last-child {
    border-right: unset;
    text-overflow: unset;
}

#file_signing_form__sorted_table__users .tablesorter-header {
    background: white;
}

#file_signing_form__sorted_table__users .tablesorter-header .tablesorter-header-inner:after {
    display: none;
}



#file_signing_form .file_signing_form__sorted_table__users__status {
    font-weight: bold;
    font-size: 14px;
    /* min-width: calc(100% - 1px); */
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    text-align: left;
    gap: 3px;
    width: 100%;
}

#file_signing_form .file_signing_form__sorted_table__users__status span {
    margin-right: auto;
    color: inherit;
}

#file_signing_form .file_signing_form__sorted_table__users__status .file_signing_form_icons {
    display: flex;
    gap: 3px;
    margin-left: auto;
    position: relative;
}

#file_signing_form .file_signing_form__sorted_table__users__status>img:first-child {
    margin-right: 4px;
    max-width: 19px;
}

#file_signing_form .file_signing_form__sorted_table__users__status .paperclip {
    width: 13px;
    height: 15px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

#file_signing_form .file_signing_form__sorted_table__users__status .comment {
    width: 14px;
    height: unset;
    cursor: pointer;
}

#file_signing_form .file_signing_form__sorted_table__users__status_waiting {
    color: #6C6C6C;
}

#file_signing_form .file_signing_form__sorted_table__users__status_waiting img {
    width: 12px;
}

#file_signing_form .file_signing_form__sorted_table__users__status_confirmed {
    color: #5A9B06;
}

#file_signing_form .file_signing_form__sorted_table__users__status_confirmed img {
    height: 12px;
}

#file_signing_form .file_signing_form__sorted_table__users__status_confirmed .paperclip {
    background-image: url(/images/UI_icons/green/clip.svg);
}

#file_signing_form .file_signing_form__sorted_table__users__status_denied {
    color: #E75257;
}

#file_signing_form .file_signing_form__sorted_table__users__status_denied img {
    width: 12px;
}

#file_signing_form .file_signing_form__sorted_table__users__status_denied .paperclip {
    background-image: url(/images/UI_icons/red/clip.svg);
}

#file_signing_form .file_signing_form__sorted_table__users__status_informed {
    color: #F2BA00;
}

#file_signing_form .file_signing_form__sorted_table__users__status_informed img::first-child {
    width: 19px;
}

#file_signing_form .file_signing_form__sorted_table__users__status_informed .paperclip {
    background-image: url(/images/UI_icons/yellow/clip.svg);
}

#file_signing_form .file_signing_form__comment_block {
    position: fixed;
    box-shadow: 0px 0px 30px 0px #07265f1a;
    padding: 20px;
    background: white;
    border-radius: 20px;
    z-index: 1;
    max-width: 300px;
    max-height: 350px;
    display: none;
    overflow: hidden;
}

#file_signing_form .file_signing_form__comment_block.gradient:after {
    content: "";
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    background: -moz-linear-gradient(top, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 25%);
    background: -webkit-linear-gradient(top, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 25%);
    background: linear-gradient(to top, rgb(255 255 255) 0%, rgba(255, 255, 255, 0) 25%);
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    overflow: hidden;
    pointer-events: none;
}

#file_signing_form .file_signing_form__comment_block .file_signing_form__comment_details {
    padding-right: 20px;
}

#file_signing_form .file_signing_form__comment_block .file_signing_form__comment_details div {
    color: #9a9a9a;
    font-size: 12px;
    font-weight: normal;
    line-height: 18px;
}

#file_signing_form .file_signing_form__comment_block .file_signing_form__comment {
    margin-top: 20px;
    max-height: 230px;
    overflow: auto;
    padding-right: 10px;
}


#file_signing_form .file_signing_form__comment_block .file_signing_form__comment div {
    font-weight: normal;
    font-size: 16px;
    text-wrap: auto;
    line-height: 21px;
}

#file_signing_form .file_signing_form__comment_block .file_signing_form__comment_close {
    background-image: url(/images/UI_icons/close.svg);
    cursor: pointer;
    background-size: contain;
    width: 13px;
    height: 13px;
    background-repeat: no-repeat;
    position: absolute;
    top: 15px;
    right: 15px;
}


#file_signing_form .file_signing_form__table_btn {
    font-size: 14px;
    height: 42px;
    line-height: 19px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    cursor: pointer;
    display: inline-flex;
    width: fit-content;
    min-width: unset;
    color: #1389FE !important;
    background-color: #DEEDFF;
    transition: background-color 0.5s ease, color 0.5s ease;
    background-image: url(/images/UI_icons/blue/plus.svg);
    background-position-y: center;
    background-repeat: no-repeat;
    padding: 0 37px 0 15px;
    background-size: 14px;
    background-position-x: calc(100% - 12px);
    align-items: center;
    vertical-align: top;
    width: 100%;
}

#file_signing_form .file_signing_form__table_btn.small {
    padding: 0;
    width: 42px;
    background-position: center;
    margin-left: 2px;
}

#file_signing_form .file_signing_form__table_btn.remove {
    background-color: transparent;
    width: 20px;
    background-image: url(/images/UI_icons/close.svg);
    background-position: center;
    background-size: 12px;
    padding: 0;
    margin-left: 5px;
}

#file_signing_form .file_signing_form__table_btn:hover {
    background-color: #1389FE;
    color: white !important;
    background-image: url(/images/UI_icons/white/plus.svg);
}

#file_signing_form .file_signing_form__table_btn.remove:hover {
    background-color: transparent;
    background-image: url(/images/UI_icons/close.svg);
}


#file_signing_form__block__file_info {
    display: flex;
    margin-bottom: 0;
    background: #F2F2F2;
    padding: 20px;
    border-radius: 12px;
}


#file_signing_form__block__file_info .file_signing_form__info_wrapper {
    flex: 3;
}

#file_signing_form__file_name {
    font-size: 20px;
    line-height: 24px;
    margin: 5px 50px 20px 0;
    display: block;
    word-break: break-word;
}

#file_signing_form__block__file_info .file_signing_form__buttons_wrapper {
    flex: 2;
    gap: 5px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
}

#file_signing_form__block__my_signing {
    background: #F2F2F2;
    border-radius: 12px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    padding: 20px;
    margin-top: -10px;
}

#file_signing_form__block__my_signing_wrapper {
    background: white;
    border: 1px solid #E3E3E3;
    border-radius: 5px;
    padding: 20px;
}

#file_signing_form__block__my_signing_title {
    text-align: left;
    font-weight: bold;
    margin-bottom: 20px;
}

#file_signing_form__block__my_signing .tox-tinymce {
    border: 1px solid #DEDEDE;
    border-radius: 5px;
    height: 150px !important;
}

#file_signing_form__block__my_signing .tox-tinymce * {
    border-radius: 5px;
}

#file_signing_form__block__my_signing .tox:not(.tox-tinymce-inline) .tox-editor-header {
    order: 2;
}

#file_signing_form__block__my_signing .file_signing_form__buttons_wrapper {
    text-align: right;
    margin-top: 20px;
}

#file_signing_form__button__view_file {
    background-image: url(/images/UI_icons/white/eye.svg);
}

#file_signing_form__button__download_file,
#file_signing_form__button__download_signed_file {
    background-image: url(/images/UI_icons/white/download.svg);
}

#file_signing_form__block__my_signing .tox .tox-toolbar__primary {
    background: unset;
    justify-content: flex-end;
}

#file_signing_form__block__my_signing .tox .tox-tbtn {
    width: 24px;
    height: 24px;
    background-image: url(/images/UI_icons/emoji.svg);
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
    transition: background-color 0.5s ease;
}

#file_signing_form__block__my_signing .tox .tox-tbtn span {
    display: none;
}

.file_signing_form__button {
    min-width: 135px;
    color: white !important;
    text-align: center;
    border-radius: 5px;
    display: inline-flex;
    line-height: 18px;
    font-size: 16px;
    position: relative;
    min-height: 42px;
    cursor: pointer;
    vertical-align: middle;
    background-color: #1389FE;
    transition: background-color 0.5s ease, color 0.5s ease;
    align-items: center;
    background-size: 15px 14px;
    background-position-x: 12px;
    background-position-y: center;
    background-repeat: no-repeat;
    padding: 0 10px 0 37px;
    font-weight: normal;
}

.file_signing_form__button.no-background {
    padding: 0 10px;
    background-image: none !important;
}

.file_signing_form__buttons_wrapper .file_signing_form__button:last-child {
    margin-right: 0;
}

.file_signing_form__button:hover {
    background-color: #0066CC;
}

.file_signing_form__button__positive {
    margin-right: 10px;
    background-color: #5A9B06;
    background-position-x: 11px;
    background-image: url(/images/UI_icons/white/check.svg);
}

.file_signing_form__button__positive:hover {
    background-color: #4d810a;
}

.file_signing_form__button__negative {
    margin-right: 10px;
    background-color: #E75257;
    background-size: 12px;
    background-image: url(/images/UI_icons/white/close.svg);
}

.file_signing_form__button__negative:hover {
    background-color: #b34145;
}

.file_signing_form__button__informed {
    background-color: #F2BA00;
    background-size: 17px;
    background-position-x: 11px;
    background-image: url(/images/UI_icons/white/info.svg);
}

.file_signing_form__button__informed:hover {
    background-color: #c79900;
}

#file_signing_form__block__my_signing_eparaksts {
    border-radius: 12px;
    background: #F2F2F2;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    padding: 20px;
    margin-top: -40px;
}

#file_signing_form__block__my_signing_eparaksts_wrapper {
    display: flex;
    align-items: center;
    background: white;
    border: 1px solid #E3E3E3;
    border-radius: 5px;
    padding: 20px;
    font-weight: bold;
    margin-top: 10px;
}

#file_signing_form__block__my_signing_eparaksts_wrapper>div {
    flex: 3;
}

#file_signing_form__block__my_signing_eparaksts_wrapper>div:first-child {
    flex: 4;
    margin-right: 50px;
}

#file_signing_form__block__my_signing_eparaksts_wrapper img {
    width: 85px;
    display: block;
    margin-bottom: 5px;
}

#file_signing_form__block__my_signing_result {
    text-align: center;
}

#file_signing_form__block__my_signing_result .file_signing_form__block__my_signing_result__show_for_confirm {
    color: green;
    display: none;
}

#file_signing_form__block__my_signing_result .file_signing_form__block__my_signing_result__show_for_deny {
    color: red;
    display: none;
}

#file_signing_form__block__my_signing_result .file_signing_form__block__my_signing_result__show_for_informed {
    color: #639dbf;
    display: none;
}

#file_signing_form__block__my_signing_result.file_signing_form__block__my_signing_result__confirm .file_signing_form__block__my_signing_result__show_for_confirm {
    display: inline-block;
}

#file_signing_form__block__my_signing_result.file_signing_form__block__my_signing_result__deny .file_signing_form__block__my_signing_result__show_for_deny {
    display: inline-block;
}

#file_signing_form__block__my_signing_result.file_signing_form__block__my_signing_result__informed .file_signing_form__block__my_signing_result__show_for_informed {
    display: inline-block;
}

#file_signing_form__block__my_signing_result_eparaksts,
#file_signing_form__block__my_signing_result_eparaksts * {
    color: green;
    text-align: center;
}


#file_signing_form__block__download_report {
    text-align: right;
    padding: 10px 0 0 0;
}

#file_signing_form__block__download_report .file_signing_form__button {
    background-color: unset;
    color: #1389FE !important;
    background-image: url(/images/UI_icons/blue/download.svg);
    background-position-x: 0;
    padding: 0 10px 0 25px;
    height: 35px;
    min-height: unset;
    width: fit-content;
    text-align: left;
}

#file_signing_form__block__download_report .file_signing_form__button:hover {
    color: #1A2533 !important;
    background-image: url(/images/UI_icons/download.svg);
}

.file_signing_form__textarea {
    border-radius: 10px;
    width: 100%;
    max-width: 360px;
    height: 70px;
    padding: 10px;
    margin: 10px 0 0 0;
}

#file_signing_form__block__send_finished_msg {
    border-top: 1px solid #DEDEDE;
    padding: 15px 0 20px;
    font-weight: bold;
}


#file_signing_form__block__select_from_template {
    border-radius: 0;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    border: 1px solid #E3E3E3;
    padding: 15px 10px;
    margin-bottom: -24px;
    background: white;
    z-index: 3;
    position: relative;
}

#file_signing_form__block__select_from_template .file_signing_form__selects_wrapper {
    margin-top: 0;
}

.file_signing_form__selects_wrapper {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 15px;
}

.file_signing_form__selects_wrapper select {
    padding: 5px 30px 5px 10px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    font-size: 16px;
    margin-right: 5px;
    height: 42px;
    border: 1px solid #DEDEDE;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: transparent;
    background-image: url(/images/UI_icons/inputs/sort.svg);
    background-repeat: no-repeat;
    background-position-x: calc(100% - 13px);
    background-position-y: center;
}

.file_signing_form__selects_wrapper select.has_error {
    border-color: red;
}

.file_signing_form__selects_wrapper select:nth-child(1),
.file_signing_form__selects_wrapper select:nth-child(2) {
    width: 44%;
}

.file_signing_form__selects_wrapper .file_signing_form__button {
    width: fit-content;
    min-width: unset;
    color: #1389FE !important;
    background-color: #DEEDFF;
    background-image: url(/images/UI_icons/blue/plus.svg);
    padding: 0 37px 0 15px;
    background-size: 12px;
    background-position-x: calc(100% - 12px);
    margin-left: auto;
}

.file_signing_form__selects_wrapper .file_signing_form__button:hover {
    background-color: #1389FE;
    color: white !important;
    background-image: url(/images/UI_icons/white/plus.svg);
}

#file_signing_form__block__select_from_template .file_signing_form__selects_wrapper span {
    display: inline-block;
    font-weight: bold;
}

#file_signing_form__block__select_from_template .file_signing_form__selects_wrapper select {
    flex: 1;
    margin-left: auto;
    max-width: 315px;
    min-width: 120px;
}


#file_signing_form__block__view_report {
    padding: 0;
    border-top: 1px solid #DEDEDE;
    padding-top: 20px;
    border-radius: 0;
}

#file_signing_form__block__view_report a {
    color: #1389FE;
    text-decoration: unset;
    transition: color 0.5s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

#file_signing_form__block__view_report a:hover {
    color: #1A2533;
}

#file_signing_form__block__view_report a .arrow {
    background: url(/images/UI_icons/blue/arrow_right.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 12px;
    width: 15px;
    height: 21px;
    display: inline-block;
}

#file_signing_form__block__view_report a:hover .arrow {
    background-image: url(/images/UI_icons/arrow_right.svg);
}


#file_signing_form__textarea__wrapper {
    position: relative;
}

#file_signing_form__signing_comment_file_upload {
    background-color: #EDEDED;
    color: #1A2533;
    width: fit-content;
    border-radius: 5px;
    display: inline-flex;
    line-height: 16px;
    font-size: 12px;
    position: relative;
    height: 26px;
    cursor: pointer;
    vertical-align: middle;
    transition: background-color 0.5s ease, color 0.5s ease;
    align-items: center;
    background-size: 10px;
    background-position-x: 6px;
    background-position-y: center;
    background-repeat: no-repeat;
    padding: 0 10px 0 20px;
    margin-top: 5px;
    background-image: url(/images/UI_icons/clip.svg);
}

#file_signing_form__signing_comment_file_upload:hover {
    background-color: #dee0e2;
}

#file_signing_form__signing_comment__files {
    text-align: left;
    font-size: 14px;
    line-height: 18px;
    margin-top: 5px;
    margin-bottom: 20px;
}

#file_signing_form__signing_comment__files__label {
    font-weight: bold;
    font-size: 12px;
}

#file_signing_form__signing_comment__files__list {}

.file_signing_form__signing_comment__files__list__item {}

.file_signing_form__signing_comment__files__list__item__name {
    color: #1389FE !important;
    margin-right: 6px;
    font-size: 12px;
    line-height: 16px;
    display: inline-block;
    margin-bottom: 2px;
    text-decoration: unset;
}

.file_signing_form__signing_comment__files__list__item__remove {
    cursor: pointer;
    width: 9px;
    background-size: contain;
    height: 9px;
    background-repeat: no-repeat;
    display: inline-block;
    background-image: url(/images/UI_icons/close.svg);
}


#file_signing_form .tox-statusbar {
    display: none;
}

.tox-dialog__body-nav .tox-dialog__body-nav-item.tox-tab:last-child {
    display: none;
}


#file_signing_form__block__user_table {
    position: relative;
    min-height: 80px;
    border: 1px solid #E3E3E3;
    border-radius: 5px;
    padding: 0;
    overflow: auto;
    margin-top: 20px;
}

#file_signing_form__block__user_table__loading {
    position: absolute;
    top: 60px;
    text-align: center;
    width: 100%;
}

#file_signing_form__block__user_table__loading i {
    font-size: 14px;
}

#file_signing_form__block__user_table__loading span {
    margin-left: 5px;
    font-size: 12px;
    line-height: 20px;
    display: inline-block;
}


@media screen and (max-width: 800px) {
    #file_signing_form__header_main__close {
        right: 16px;
    }

    #file_signing_form__main_content {
        padding: 0 10px;
        box-sizing: border-box;
    }

    #file_signing_form__header_main__left {
        padding-left: 15px;
    }

    #file_signing_form__block__my_signing .file_signing_form__buttons_wrapper {
        display: flex;
        flex-direction: column;
        gap: 5px;
    }

    #file_signing_form__block__my_signing .file_signing_form__buttons_wrapper .file_signing_form__button {
        width: 100%;
    }
}


@media screen and (max-width: 30em) {
    #file_signing_form .modal-content {
        max-height: unset;
    }

    #file_signing_form .modal-content {
        width: auto;
        padding: 0;
        padding-top: 20px;
    }

    #file_signing_form__main_content {
        padding: 0;
    }

    #file_signing_form .file_signing_form__block,
    #file_signing_form__block__my_signing_eparaksts_wrapper,
    #file_signing_form__block__my_signing_wrapper {
        padding-left: 15px;
        padding-right: 15px;

    }

    #file_signing_form .file_signing_form__block {
        margin-left: 16px;
        margin-right: 16px;
        width: calc(100% - 32px);
    }

    #file_signing_form #file_signing_form__block__user_table,
    #file_signing_form #file_signing_form__block__select_from_template {
        padding-left: 0;
        padding-right: 0;
        margin-left: 0;
        margin-right: 0;
        width: 100%;
    }

    #file_signing_form #file_signing_form__block__user_table {
        border-left: 0;
        border-right: 0;
        border-radius: 0;
    }

    #file_signing_form #file_signing_form__sorted_table__users {
        min-width: 630px;
    }

    #file_signing_form__sorted_table__users__template-status {

        width: 170px !important;
    }

    #file_signing_form__sorted_table__users td:first-child {
        white-space: normal;
        word-break: break-all;
    }

    #file_signing_form .file_signing_form__sorted_table__users__status {
        flex-wrap: wrap;
        /* width: 100%; */
    }

    #file_signing_form .file_signing_form__sorted_table__users__status .file_signing_form_icons {
        width: 100%;
        order: 4;
        gap: 10px;
    }

    #file_signing_form .file_signing_form__sorted_table__users__status .file_signing_form_icons img {
        margin: unset;
        max-width: unset;
    }

    #file_signing_form .file_signing_form__sorted_table__users__status>img:first-child {
        order: 1;
        max-width: 13px;
    }

    #file_signing_form .file_signing_form__sorted_table__users__status span {
        order: 2;
    }

    #file_signing_form .file_signing_form__table_btn.remove {
        order: 3;
        margin-left: auto;
    }

    #file_signing_form .file_signing_form__sorted_table__users__status .paperclip,
    #file_signing_form .file_signing_form__sorted_table__users__status .comment {
        width: 22px;
        height: 22px;
    }

    #file_signing_form .file_signing_form__comment_block {
        right: 15px !important;
        left: 15px !important;
        max-width: 100%;
    }

    #file_signing_form .file_signing_form__table_btn.small {
        width: 24px;
        height: 24px;
        background-size: 11px;
        order: 3;
        margin: unset;
    }

    #file_signing_form #file_signing_form__block__select_from_template {
        padding-left: 15px;
        padding-right: 15px;
        border-radius: 0;
        border: 0;
        border-top: 1px solid #E3E3E3;
        margin-top: 20px;
        border-bottom: 1px solid #E3E3E3;
    }

    #file_signing_form__block__select_from_template .file_signing_form__selects_wrapper {
        flex-wrap: wrap;
        row-gap: 10px;
    }

    #file_signing_form #file_signing_form__block__select_from_template span {
        flex: 1;
        width: 100%;
        min-width: 100%;
    }

    #file_signing_form__block__select_from_template .file_signing_form__selects_wrapper select {
        margin-left: 0;
    }

    #file_signing_form__block__file_info {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    #file_signing_form__file_name {
        margin: 0;
        margin-bottom: 10px;
    }

    #file_signing_form__block__file_info .file_signing_form__buttons_wrapper {
        flex-direction: row;
        flex-wrap: wrap;
        width: 100%;
    }

    #file_signing_form__block__file_info .file_signing_form__buttons_wrapper .file_signing_form__button {
        flex: 1;
        width: 50%;
    }

    #file_signing_form #file_signing_form__block__download_report,
    #file_signing_form #file_signing_form__block__send_finished_msg,
    #file_signing_form #file_signing_form__block__view_report {
        padding-left: 0;
        padding-right: 0;
    }

    #file_signing_form #file_signing_form__block__send_finished_msg .file_signing_form__selects_wrapper {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    #file_signing_form #file_signing_form__block__send_finished_msg .file_signing_form__selects_wrapper select:nth-child(1),
    #file_signing_form #file_signing_form__block__send_finished_msg .file_signing_form__selects_wrapper select:nth-child(2) {
        margin: 0;
        width: 100%;
    }

    #file_signing_form #file_signing_form__block__send_finished_msg .file_signing_form__selects_wrapper .file_signing_form__button {
        width: 100%;
        justify-content: center;
    }

    #file_signing_form__block__download_report .file_signing_form__button {
        text-align: left;
    }

    #file_signing_form__block__my_signing_eparaksts_wrapper {
        display: flex;
        flex-direction: column;
        gap: 5px;
    }

    #file_signing_form__block__my_signing_eparaksts_wrapper .file_signing_form__button {
        width: 100%;
    }

    #file_signing_form__block__my_signing_eparaksts_wrapper>div:first-child {
        flex: 1;
        margin: 0;
        text-align: center;
    }

    #file_signing_form__block__my_signing_eparaksts_wrapper>div {
        flex: 1;
        width: 100%;
        margin-top: 20px;
    }

    #file_signing_form__block__my_signing_eparaksts_wrapper img {
        margin: auto auto 5px;
    }
}