.route_node_edit .fieldset-description,
.route_node_edit .sticky-header,
.route_node_edit .tabledrag-handle,
.route_node_edit legend,
.route_node_edit .file-icon,
.route_node_add .file-icon{
    display: none !important;
}

.route_node_add input,
.route_node_edit input,
.route_node_add textarea,
.route_node_edit textarea{
  outline: none !important;
}


.route_node_add .region.region-content .content,
.route_node_edit .region.region-content .content{
    padding: 50px 0 14px 0;
    margin: 0 24px;
    height: calc(100vh - 154px);
    position: relative;
    box-sizing: border-box;
}
.route_node_edit:not(.admin-menu) .region.region-content .content{
    padding: 0 0 0 0;
    height: calc(100vh - 146px);
}

.route_node_add .region.region-content .content{
    padding: 10px 0 14px 0;
    height: calc(100vh - 199px);
}
.route_node_add:not(.admin-menu) .region.region-content .content{
    height: calc(100vh - 219px);
}
.route_node_edit .node-form.node-geo-form{
    position: relative;
    height: 100%;
    overflow: auto;
}
.route_node_edit .node-form.node-geo-form > div{
    display: flex;
    flex-direction: column;
    max-width: 400px;
    width: 100%;
    padding: 33px 10px 0 10px;
    background: #F1F4F2;
    border-top: 4px solid #8DC27A;
    margin-top: 88px;
    height: 100%;
    max-height: calc(100vh - 313px);
    overflow: auto;
}
.route_node_edit:not(.admin-menu) .node-form.node-geo-form > div{
    margin-top: 146px;
    max-height: calc(100vh - 292px);
}
.route_node_add #messages + .region.region-content form.node-form > div,
.route_node_add .node-form.node-geo-form[encoding="multipart/form-data"] > div{
    padding: 30px 10px 24px 10px !important;
}

.route_node_add fieldset,
.route_node_edit fieldset{
    position: static;
}
.route_node_edit .m-order__row{
    position: fixed;
    left: 24px;
    top: 215px;
    z-index: 1;
    width: 400px;
    display: flex !important;
}
.route_node_edit:not(.admin-menu) .m-order__row {
    top: 191px;
}
.route_node_edit .m-order__title{
    position: fixed;
    left: 24px;
    top: 240px;
    z-index: 1;
    margin-top: 20px;
    font-size: 17px;
    display: block !important;
}
.route_node_edit:not(.admin-menu) .m-order__title {
    top: 218px;
}
.tabledrag-processed{
    position: fixed;
    right: 23px;
    width: calc(100vw - 463px);
    max-height: calc(100vh - 221px);
    top: 201px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin: 0;
    height: 100%;
    overflow: auto;
    border: 1px solid #e0e4eb;
    z-index: 22;
}
.route_node_edit:not(.admin-menu) .tabledrag-processed{
    top: 170px;
    max-height: calc(100vh - 191px);
}

.route_node_add .tabledrag-processed{
    top: 170px;
    max-height: calc(100vh - 195px);
}

/*:root {*/
/*    --h: 'Всего загружено:';*/
/*}*/
.tabledrag-processed > div{
    height: 43px;
    min-height: 43px;
    background: #F1F4F2;
    display: flex !important;
    align-items: center;
    padding: 0 12px;
    font-family: Inter;
    font-style: normal;
    font-weight: 600;
    font-size: 14px;
    line-height: 20px;
    color: #626F84;
}
.tabledrag-processed thead{
    height: 43px;
    min-height: 43px;
    background: #F1F4F2;
    display: flex;
    align-items: center;
    padding: 0 12px;
}
.tabledrag-processed thead tr{
    display: none;
}
.tabledrag-processed thead:after{
    font-family: Inter;
    font-style: normal;
    font-weight: 600;
    font-size: 14px;
    line-height: 20px;
    content: 'Загруженные файлы';
    display: inline-block;
    color: #626F84;
}
.tabledrag-processed tbody{
    width: 100%;
    /*height: calc(100% - 43px);*/
    overflow: auto;
    display: flex;
    flex-direction: column;
    margin-bottom: auto;
    /*flex: 1 1 auto;*/
}
.tabledrag-processed tbody tr{
    width: 100%;
    display: flex !important;
    flex-direction: row-reverse;
    background-color: transparent;
    height: 43px;
    min-height: 43px;
    box-sizing: border-box;
}
.tabledrag-processed tbody .ajax-new-content{
    background: #EDF9EF;
}
.tabledrag-processed tbody td:last-child{
    width: 40px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
}
.tabledrag-processed tbody td .file-widget.form-managed-file{
    margin-top: 0;
    display: block;
}
.tabledrag-processed tbody td:first-child{
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    border: none;
    padding: 0;
}
.tabledrag-processed tbody td:last-child input {
    display: block !important;
    padding: 0;
    font-size: 0;
    height: 25px;
    width: 25px;
    background: url("../../images/delete.png") !important;
    background-repeat: no-repeat !important;;
    background-position: center !important;;
    border: none;
    outline: none;
}
.tabledrag-processed tbody td:last-child input:hover {
    background-color: transparent !important;

}
.tabledrag-processed tbody .ajax-new-content td:last-child input {
    background: url("../../images/delete_red.png") !important;;
    background-repeat: no-repeat !important;;
    background-position: center !important;;
}

.route_node_add .file-widget .file a:link,
.route_node_add .file-widget .file a:visited,
.route_node_edit .file-widget .file a:link,
.route_node_edit .file-widget .file a:visited{
    font-family: Inter;
    font-style: normal;
    font-weight: normal;
    font-size: 14px;
    line-height: 16px;
    color: #29313D;
    text-decoration: none;
}
.route_node_add .file-widget .file-size,
.route_node_edit .file-widget .file-size{
    font-family: Inter;
    font-style: normal;
    font-weight: normal;
    font-size: 14px;
    line-height: 16px;
    color: #52627a;
}

.route_node_edit .form-actions{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 !important;
    margin-bottom: 0;
    margin-top: 5px;
}
.route_node_edit .form-actions input {
    height: 32px;
    display: block;
    background: #3367FF;
    border-radius: 4px;
    font-family: Inter;
    font-style: normal;
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    color: #FFFFFF;
    padding: 0 33px 0 34px;
}

.route_node_edit .form-actions input:first-child{
    margin-bottom: 0;
}

.route_node_edit .form-actions input:last-child{
    background: #52627A;
    margin-bottom: 0;
    margin-right: 0;
}

/*.field-type-file >div{*/
/*    position: relative;*/
/*}*/

.field-type-file label{
    position: absolute;
    bottom: calc(100% + 10px);
    left: 0;
    font-family: Inter;
    font-style: normal;
    font-weight: normal;
    font-size: 14px;
    line-height: 20px;
    color: #000000;
}

.draggable a.tabledrag-handle{
    display: none;
}