/*
pagination
 */
.paginator {
    margin-bottom: 2rem;
    font-size: 0;
    position: relative;
    max-width: 100%;
}

.paginator.medium {
    width: 500px;
}

.paginator > * {
    display: inline-block;
    vertical-align: middle;
    font-size: .7rem;
    margin-right: .25rem;
}

.paginator > :last-child {
    margin-right: 0;
}

.paginator:last-of-type {
    margin-bottom: 0;
    margin-top: 2rem;
}

.pagination-arrow a,
.pagination-numbers > a {
    display: block;
    border: 1px solid rgba(0,0,0,.1);
    background: #fff;
    padding: 5px 8px;
    color: #666;
    border-radius: 3px;
}

.pagination-numbers > a {
    display: inline-block;
    vertical-align: middle;
}

.pagination-numbers > a:hover,
.pagination-numbers > a:focus,
.pagination-arrow a:hover,
.pagination-arrow a:focus {
    background: #aaa;
    color: #fff;
}

.pagination-numbers > a.current-page {
    background: #aaa;
    color: #fff;
}

.pagination-info {
    position: absolute;
    top: 5px;
    right: 0;
    display: block;
    vertical-align: initial;
    color: #999;
}

.pagination-info > p {
    display: inline-block;
    vertical-align: middle;
    font-size: .8rem;
}

.pagination-info > p:last-of-type {
    margin-right: 0;
}

.pagination-info > p span {
    font-weight: bold;
    color: #333;
}

.icon {
    display: inline-block;
    vertical-align: middle;
    width: 1rem;
    height: 1rem;
    position: relative;
    fill: #444;
    fill: currentColor;
}

a, button, input, textarea, select, .btn, .icon, .animate {
    transition: all .3s ease-in-out;
}

.btn {
    display: inline-block;
    font-size: .9rem;
    border-radius: 3px;
    cursor: pointer;
    line-height: 1;
    border: 1px solid rgba(0,0,0,.15);
    background: #f0f0f0;
    padding: .75rem 2rem;
    text-transform: capitalize;
    color: #3f3f3f;
}

.btn:hover,
.btn:focus {
    color: #000;
    background: #e0e0e0;
}

.page-btn {
    font-size: .75rem;
    text-transform: capitalize;
    padding: .35rem .5rem .4rem;
    line-height: 1.2;
}

.page-btn.inline {
    padding: 3px;
    font-size: 12px;
    font-weight: normal;
    position: relative;
    top: -1px;
    margin-left: 3px;
}

.preview-btn.disabled,
.process-selected-records.disabled {
    pointer-events: none;
    background: #aaa;
    color: #666;
}

.form-as-btn {
    display: inline-block;
    vertical-align: middle;
}

.btn.green {
    color: #fff;
    background: #3ab97a;
}

.btn.green:hover,
.btn.green:focus {
    background: #2fa56a;
}

.btn.blue {
    background: #2C7ECC;
    color: #fafafa;
}

.btn.blue:hover,
.btn.blue:focus {
    background: #275582;
}

.btn.red,
.btn.form-btn.red {
    background: #e06b63;
    color: #fff;
}

.btn.red:hover,
.btn.red:focus {
    background: #a73e37;
}

.form-actions {
    display: flex;
    align-items: center;
}

.checkbox-clear-session-form-wrapper {
    display: flex;
    align-items: center;
    margin-right: 1rem;
    color: #999;
    font-weight: normal;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: -1px;
}

.checkbox-clear-session-form {
    margin-right: .5rem;
}

.checkbox-clear-session-form + label {
    cursor: pointer;
}

.global-flash {
    position: fixed;
    top: 0;
    left: 250px;
    right: 0;
    padding: .75rem 2rem;
    color: #fff;
    border: 1px solid rgba(0,0,0,.1);
    z-index: 10;
    font-size: .85rem;
    text-align: center;
    cursor: pointer;
}

.global-flash.green {
    background: #2fa56a;
}

.global-flash.red {
    background: #e06b63;
}

.block-link {
    display: block;
    width: 100%;
    height: 100%;
}

.animate, .icon {
    transition: all .3s ease-in-out;
}

.form-feedback {
    margin-bottom: 2rem;
}

.login-form .form-feedback {
    margin-bottom: 1rem;
}

.login-form .feedback-message {
    display: flex;
    font-size: .85rem;
    text-align: left;
    align-items: center;
    flex-wrap: wrap;
    font-weight: 600;
}

.login-form .feedback-message i {
    font-size: .8rem;
    font-weight: bold;
    color: #aaa;
    font-style: normal;
    flex: 0 0 100%;
    margin-top: .5rem;
}

.feedback-message {
    display: block;
    font-size: .85rem;
    text-align: left;
}

.feedback-message.error {
    color: #e06b63;
}

.feedback-message.success {
    color: #519263;
}

.no-results {
    display: block;
    font-size: 1rem;
    color: #d68a85;
    font-style: italic;
    font-weight: normal;
}

.record-form-missing-section {
    display: block;
    color: #e06b63;
    font-weight: 600;
    font-size: .8rem;
}

.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: rgba(0,0,0,.6);
    opacity: 0;
    transition: all .3s ease-in-out;
}

.page-loader.loading {
    opacity: 1;
    z-index: 100;
}

.page-loader .icon {
    width: 3rem;
    height: 3rem;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    right: 0;
    margin: 0 auto;
}

html {
    font-size: 100%;
    color: #f0f0f0;
    line-height: 1;
    font-weight: normal;
    background: #fff;
    font-family: 'Open Sans', sans-serif;
}

body {
    display: block;
}

.contain {
    width: 1200px;
    margin-right: auto;
    margin-left: auto;
}

.app {
    display: flex;
    width: 100%;
    position: relative;
}

[data-toggle-section][data-toggle-section] {
    overflow: hidden;
    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;
    transition: all .3s ease-in-out;
    box-shadow: initial;
    border: none;
}

.section-toggled [data-toggle-section] {
    max-height: 450px;
}

.section-toggled [data-toggle-section]:not(.no-styles) {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

[data-js-to-toggle] {
    display: none;
    transition: padding .1s ease-in-out;
}

.toggled[data-js-to-toggle] {
    padding-top: 1rem;
}

/*
custom modal
 */
.custom-modal {
    position: fixed;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.5);
    top: 0;
    left: 0;
    z-index: -1;
    opacity: 0;
    transition: opacity .3s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom-modal.full {
    align-items: flex-start;
}

.custom-modal .inner {
    position: relative;
    flex: 0 0 700px;
    max-width: 100%;
    background: #fff;
    padding: 1.5rem;
    line-height: 1;
    color: #f0f0f0;
}

.custom-modal.full .inner {
    flex: 1;
    margin-top: 2rem;
    margin-left: 2rem;
    margin-right: 2rem;
}

.modal-header {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0,0,0,.1);
}

.modal-title {
    display: block;
    font-weight: normal;
    font-size: 1.05rem;
    letter-spacing: -1px;
    text-transform: uppercase;
    color: #333;
}

.close-modal {
    position: absolute;
    right: 0rem;
    top: 0rem;
    color: #b4b4b4;
    cursor: pointer;
    background: #fff;
    padding: 8px 10px;
}

.close-modal:hover,
.close-modal:focus {
    color: #232936;
}

.close-modal .icon {
    width: 1rem;
    height: 1rem;
}

.custom-modal.opened {
    opacity: 1;
    z-index: 1;
    overflow-y: scroll;
}

.modal-feedback {
    display: none;
    margin-bottom: 1.5rem;
}

form.modal-form {
    padding: 0;
    background: #fff;
    border: 0;
    box-shadow: initial;
}

/*
forms
 */
.default-form {
    padding: 2rem;
    width: 100%;
    background: #f4f4f4;
    border: 1px solid rgba(0,0,0,.05);
    box-shadow: 0 0 5px -2px rgba(0,0,0,.1), 0 10px 5px -6px rgba(0,0,0,.1);
}

.search-wrapper {
    margin-bottom: 2rem;
}

.page-header-section,
.default-form.search-form {
    border: 0;
    box-shadow: initial;
    background: #f4f4f4;
    padding: 1rem;
    box-shadow: 0 0 10px rgba(0,0,0,.2);
}

.search-wrapper > * {
    margin-bottom: 1rem;
}

.search-wrapper > :last-child {
    margin-bottom: 0;
}

.page-header-section > strong,
.default-form.search-form > strong {
    color: #333;
    text-transform: capitalize;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1;
    margin-bottom: 1rem;
    display: block;
}

.page-header-section > strong.js-to-toggle-section,
.default-form.search-form > strong.js-to-toggle-section {
    margin-bottom: 0;
    cursor: pointer;
}

.search-row {
    display: flex;
    margin-bottom: 1rem;
}

.search-row .form-object {
    margin-right: 1rem;
}

.search-row .form-object:last-of-type {
    margin-right: 0;
}

.search-row .form-input {
    font-size: 12px;
    padding: .25rem;
    width: 140px;
}

.search-row select.form-input {
    height: 27px;
}

.search-form .form-label,
.search-form .span-as-label {
    margin-bottom: .5rem;
    font-size: .7rem;
}

.search-row .glued {
    display: flex;
    flex-grow: 1;
    flex-direction: row;
}

.search-row .glued > .form-input {
    border-radius: 0;
}

.search-row .glued > :first-child {
    border-radius: 3px 0 0 3px;
}

.search-row .glued > :last-child {
    border-radius: 0 3px 3px 0;
    border-right-width: 1px;
}

.search-checkbox {
    display: none;
    visibility: hidden;
}

.search-checkbox + .form-label {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all .3s ease-in-out;
    margin-bottom: 0;
}

.search-checkbox:checked + .form-label {
    color: #288858;
}

.search-checkbox + .form-label::before {
    content: '';
    transition: all .3s ease-in-out;
    width: 14px;
    height: 14px;
    background: #fff;
    border: 2px solid #aaa;
    border-radius: 3px;
    margin-right: 6px;
    position: relative;
    top: 1px;
}

.search-checkbox:checked + .form-label::before {
    background: #3ab97a;
    border-color: rgba(0,0,0,.1);
}

.page-header-section .btn,
.search-btn {
    padding: 8px 10px;
    font-size: .8rem;
    text-transform: capitalize;
    font-weight: 600;
    background: #4ec389;
    color: #fff;
}

.search-btn:hover,
.search-btn:focus {
    background: #42a775;
    color: #fff;
}

.search-btn + .search-btn {
    background: #f0f0f0;
    color: #888;
}

.form-section-title {
    display: block;
    color: #333;
    text-transform: uppercase;
    font-size: 1.25rem;
    font-weight: normal;
    margin-bottom: 1rem;
}

.default-form.small {
    width: 400px;
}

.default-form.medium {
    width: 600px;
}

.default-form.large {
    width: 800px;
}

.default-form.xlarge {
    width: 1100px;
}

.form-row {
    margin-bottom: 1rem;
}

.append-domain-extension {
    position: relative;
}

.append-domain-extension::after {
    content: attr(data-domain);
    position: absolute;
    background: #b4b4b4;
    right: .25rem;
    padding: .5rem;
    border-radius: 3px;
    font-size: 13px;
    bottom: 4px;
    font-weight: 600;
}

.search-form .form-row:last-of-type {
    margin-bottom: 0;
}

.form-row.toggled-by-default {
    max-height: 0;
    overflow: hidden;
    margin-bottom: 0;
    transition: all .3s ease-in-out;
}

.form-row.toggled-by-default.toggled {
    max-height: 250px;
    margin-bottom: 1rem;
    padding-top: 1px;
}

.form-separator {
    width: 100%;
    height: 2px;
    background: rgba(0,0,0,.15);
    margin: 1.5rem 0;
}

.form-object.form-object-checkbox {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.form-object-checkbox input {
    width: initial;
    display: none;
    visibility: hidden;
}

.form-object-checkbox input + label {
    position: relative;
    display: flex;
    align-items: center;
    cursor: pointer;
    text-transform: initial;
    color: #666;
    margin: 0;
    transition: all .3s ease-in-out;
}

.form-object-checkbox input + label::before {
    content: '';
    width: 18px;
    height: 18px;
    border: 1px solid rgba(0,0,0,.25);
    border-radius: 2px;
    margin-right: .5rem;
    transition: all .3s ease-in-out;
}

.form-object-checkbox input:checked + label {
    color: #333;
}

.form-object-checkbox input:checked + label::before {
    background: #3ab97a;
}

.form-row.multiple {
    display: flex;
    justify-content: space-between;
}

.multiple .form-object {

}

.multiple .form-object:last-of-type {

}

.search-form .index-table-level {
    width: 400px;
}

.search-form .index-table-level.large {
    width: 816px;
}

.search-form .index-table-level select {
    width: 100%;
}

.span-as-label,
.form-label {
    display: block;
    font-size: .8rem;
    text-transform: uppercase;
    color: #333;
    font-weight: 600;
    margin-bottom: .5rem;
}

.label-explain {
    display: block;
    text-transform: initial;
    color: #999;
    margin-top: 5px;
    font-weight: normal;
    font-size: .8rem;
}

.label-explain > a {
    display: inline-block;
    color: #2C7ECC;
    text-decoration: underline;
    cursor: pointer;
}

.label-explain > a:hover,
.label-explain > a:focus {
    color: #09f;
}

.form-input {
    width: 100%;
    border: 1px solid rgba(0,0,0,.15);
    padding: .5rem 1rem;
    font-size: .9rem;
    color: #666;
    border-radius: 3px;
    background: #fafafa;
}

textarea.form-input {
    height: 150px;
    background: #fafafa;
    line-height: 1.5;
    font-size: .8rem;
}

textarea.form-input.small {
    height: 80px;
}

select.form-input {
    height: 37px;
    padding: 0 .5rem;
    padding-bottom: 1px;
    text-transform: capitalize;
}

.form-input[disabled],
.form-input:-webkit-read-only,
.form-input:-moz-read-only,
.form-input:read-only {
    background: rgba(0,0,0,.15);
    color: #888;
    pointer-events: none;
}

.form-input:hover,
.form-input:focus {
    background: #fff;
    color: #232936;
    border-color: #232936;
}

.btn.form-btn {
    background: #3ab97a;
    padding: .85rem 2rem .9rem;
    font-size: .85rem;
    text-transform: capitalize;
    color: #f4f4f4;
    letter-spacing: 1px;
    font-weight: 600;
}

.form-btn:disabled {
    background: #595d5b;
/*    display: flex;
    align-items: center;*/
    pointer-events: none;
}

.form-btn:disabled > span {
    margin-right: .5rem;
}

.form-btn:disabled > .icon {
    width: 2rem;
    height: 2rem;
}

.form-btn.small {
    font-size: .8rem;
    padding: .75rem 1.5rem;
}

.form-btn:hover,
.form-btn:focus {
    background: #2fa56a;
    color: #fff;
}

/*
tables
 */
.default-table {
    width: 100%;
}

.default-table.small {
    width: 350px;
}

.default-table.medium {
    width: 600px;
}

.default-table.large {
    width: 800px;
}

.default-table.wide {
    width: 1000px;
}

.default-table th {
    color: #232936;
    font-size: .8rem;
    text-transform: uppercase;
    padding: .75rem;
    text-align: left;
    font-weight: 600;
    line-height: 1.2;
    background: #e0e0e0;
    position: relative;
}

th.selected-records-index-table-th {
    width: 300px;
}

.default-table tr:nth-child(odd) {
    background: #f4f4f4;
}

.default-table tr:hover,
.default-table tr:focus {
    background: #e4e4e4;
}

.default-table td {
    text-align: center;
    color: #666;
    padding: .75rem;
    line-height: 1.4;
}

td > span {
    display: flex;
    align-items: center;
    font-size: .8rem;
    line-height: 1.2;
}

td > span.multiple {
    line-height: 1.4;
}

td > span.align-left {
    text-align: left;
}

td > span.limit-width {
    display: inline-block;
    max-width: 300px;
}

td > span.records-table-client {
    text-transform: capitalize;
    line-height: 1.48;
}

td.records-index-table-value > span {
    font-weight: 600;
    font-size: 11px;
    color: #333;
    max-width: 200px;
    line-height: 1.2;
}

.file-dump-table th {
    padding: 6px 4px;
    font-size: .7rem;
    color: #000;
    font-weight: bold;
    text-align: left;
    background: #d0d0d0;
    border-right: 1px solid rgba(0,0,0,.1);
}

.file-dump-table th.is-index-table-lvl {
    background: #FFC107;
}

.file-dump-table th.is-specific-column {
    background: #c04fd4;
}

.file-dump-table th.not-defined {
    color: #fff;
    background-image: linear-gradient(90deg, #de2a2a 25%, #912828 25%, #912828 50%, #de2a2a 50%, #de2a2a 75%, #912828 75%, #912828 100%);
    background-size: 20.00px 20.00px;
}

.file-dump-table tr.valid {
    background: #61c556;
}

.file-dump-table tr.not-valid {
    background: #d26b6b;
}

.file-dump-table td {
    font-size: 12px;
    line-height: 1.2;
    color: #fff;
    font-weight: 600;
    padding: 2px 4px;
    text-align: left;
    max-width: 300px;
    border-right: 1px solid rgba(0,0,0,.1);
    border-bottom: 1px solid rgba(0,0,0,.1);
    text-transform: lowercase;
}

.file-dump-table td.tooltip {
    background: #fff;
    width: 34px;
}

.file-dump-table td.tooltip .icon {
    width: 22px;
    height: 22px;
}

.flag,
.default-table td span.flag {
    display: inline-block;
    border: 1px solid rgba(0,0,0,.05);
    padding: 3px 5px 4px;
    border-radius: 3px;
    font-size: .7rem;
    line-height: 1;
}

.round-flag,
.default-table td span.flag.round-flag {
    width: 16px;
    height: 16px;
    font-size: 0;
    border-radius: 50%;
    display: block;
}

td > span > .round-flag {
    margin-right: .25rem;
}

.default-table td span.flag.warning {
    background: #e06b63;
    color: #fff;
}

.bool-flag.no,
span.records-is-deletion.yes,
.default-table td span.records-is-deletion.yes {
    background: #e06b63;
    color: #fff;
}

.bool-flag.nan,
span.records-is-deletion.nan,
.default-table td span.records-is-deletion.nan {
    background: #e6b65a;
    color: #fff;
}

.bool-flag.yes,
span.records-is-deletion.no,
.default-table td span.records-is-deletion.no {
    background: #79bf7c;
    color: #fff;
}

.bool-flag.yes.archive,
span.records-is-deletion.no.archive,
.default-table td span.records-is-deletion.no.archive {
    background: #66a9a2;
    color: #fff;
}

.default-table td span.records-table-reference-years {
    display: flex;
    align-items: center;
}

.default-table td span.records-table-reference-years i {
    font-style: normal;
    font-weight: 600;
    margin-right: .25rem;
}

.default-table td span.records-table-reference-years i:last-of-type {
    margin-left: .25rem;
    margin-right: 0;
}

.table-list-permissions {
    display: flex;
    align-items: center;
    justify-content: center;
}

.tag {
    font-size: .7rem;
    background: #f0f0f0;
    padding: 6px 6px;
    color: #999;
    border-right: 1px solid #eee;
}

.tag:first-of-type {
    border-radius: 4px 0 0 4px;
}

.tag:last-of-type {
    border-radius: 0 4px 4px 0;
    border-right: 0;
}

.simple-tag {
    display: inline-block;
    background: #fff;
    padding: 4px 5px;
    margin-right: 4px;
    border-radius: 2px;
    box-shadow: 0 0 4px rgba(0,0,0,.2);
    text-transform: capitalize;
    font-size: 12px;
    line-height: 1;
}

.simple-tag:last-of-type {
    margin-right: 0;
}

.table-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.table-actions .preview-btn {
    margin: initial;
}

.table-actions.table-actions > * {
    margin-left: 5px;
}

.table-actions .preview-btn:last-of-type {
    margin-right: 0;
}

.table-actions > :first-child {
    margin-left: 0;
}

.table-actions.records-table-actions {

}

.records-deselect-wrapper {
    line-height: 1;
    position: absolute;
    top: 10px;
    right: -25px;
}

.records-deselect-wrapper button {
    border: 0;
    border-radius: 3px;
    box-shadow: 1px 1px 3px rgba(0,0,0,.3);
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    height: 20px;
    width: 20px;
    background: #e67d75;
}

.records-deselect-wrapper button.disabled {
    pointer-events: none;
    color: #999;
    background: #f0f0f0;
}

.records-deselect-wrapper button .icon {
    widows: 12px;
    height: 12px;
    transition: initial;
}

.record-select-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    right: -36px;
    z-index: 1;
}

.record-select-checkbox {
    display: none;
    visibility: hidden;
}

.record-select-checkbox + label {
    transition: all .25s ease-in-out;
    color: #aaa;
    background: #fff;
    padding: 3px;
    border-radius: 3px;
    box-shadow: 1px 1px 3px rgba(0,0,0,.3);
    flex: 1 0 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.record-select-checkbox + label .icon {
    transition: initial;
    width: 12px;
    height: 12px;
}

.record-select-checkbox:checked + label {
    background: #3ab97a;
    color: #fff;
}


.record-select-checkbox:checked + label .icon {

}

/*
LOGIN
 */
.login-box {
    width: 600px;
    max-width: 100%;
    margin: 3rem auto;
    box-shadow: 0 0 30px 6px rgba(31,51,73,.1);
    background: #fff;
}

.login-header {
    background: #191d27;
    padding: 2rem;
}

.login-header h2 {
    font-size: .9rem;
    text-align: center;
    font-weight: bold;
    text-transform: uppercase;
}

.login-form {
    padding: 2rem;
}

.login-field {
    width: 100%;
    margin-bottom: 1rem;
}

.login-field label {
    display: block;
    font-size: .7rem;
    text-transform: uppercase;
    color: #333;
    font-weight: bold;
    margin-bottom: .5rem;
}

.login-input {
    width: 100%;
    padding: .5rem 1rem;
    font-size: .8rem;
    color: #666;
    border: 1px solid rgba(0,0,0,.15);
    border-radius: 3px;
}

.login-input:hover,
.login-input:focus,
.login-input:active {
    border-color: #999;
    color: #111;
}

.page-actions {
    display: flex;
    align-items: center;
    margin-left: 1rem;
}

.page-actions.block {
    margin-top: 1rem;
    margin-left: 0;
    display: block;
}

.page-actions > * {
    margin-right: .5rem;
}

.page-actions > *:last-child {
    margin-right: 0;
}

.main-header {
    background: #191d27;
    padding: 1rem 0;
    transition: all .3s ease-in-out;
    position: relative;
    flex: 0 0 250px;
}

.global-flash + .main {
    padding-top: 4.25rem;
}

.main-nav {
    font-size: 0;
    position: fixed;
    width: 250px;
    transition: all .3s ease-in-out;
}

.nav-li {
    display: block;
}

.nav-li.has-dd {
    position: relative;
}

.nav-link {
    display: block;
    font-size: 1rem;
    color: #f4f4f4;
    padding: 1rem;
    text-transform: capitalize;
    border-right: 4px solid rgba(0, 0, 0, 0);
    border-bottom: 1px solid rgba(0,0,0,.15);
    cursor: pointer;
    background: #191d27;
    font-size: .9rem;
}

.nav-li:last-of-type .nav-link {
    /*border-bottom: 0;*/
}

.nav-link .icon {
    width: 24px;
    height: 24px;
    margin-right: 1rem;
    transition: fill .3s ease-in-out;
}

.nav-link span {
    display: inline-block;
    vertical-align: middle;
    margin-top: 1px;
}

.nav-link.active,
.nav-link:hover,
.nav-link:focus {
    background: #252b3a;
    color: #fff;
    border-right-color: #74b997;
}

.nav-link.active {
    border-right-color: #3ab97a;
}

.dd {
    display: block;
    width: 100%;
    padding: 0 1rem;
    background: #2f3544;
    max-height: 0;
    overflow: hidden;
    border-right: 4px solid #191D27;
    transition: max-height .3s ease-in-out, padding .3s ease-in-out .05s;
}

.dd.opened {
    padding: 1rem;
    max-height: 300px;
    border-right-color: #3ab97a;
}

.dd-li {
    display: block;
}

.dd-link {
    display: flex;
    align-items: center;
    font-size: .9rem;
    color: #fff;
    padding: .75rem;
    border-bottom: 1px solid rgba(0,0,0,.1);
    border-right: 3px solid rgba(0, 0, 0, 0);
}

.dd-li:last-of-type .dd-link {
    border-bottom: 0;
}

.dd-link.active,
.dd-link:hover,
.dd-link:focus {
    background: #191D27;
}

.dd-link.active {
    border-right-color: #3ab97a;
}

.dd-link .round-flag {
    margin-right: .5rem;
    width: 12px;
    height: 12px;
}

.main {
    padding: 2rem;
    background: #fff;
    min-height: 100vh;
    flex-grow: 1;
}

.content-header {
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.content-header.bordered {
    padding-bottom: 1rem;
    border-bottom: 2px solid #f0f0f0;
}

.page-title {
    display: inline-block;
    vertical-align: middle;
    color: #191d27;
    text-transform: uppercase;
    font-size: 1.5rem;
    font-weight: 600;
    max-width: 800px;
}

.list-projects {
    display: flex;
    flex-wrap: wrap;
    width: 1200px;
    max-width: 100%;
}

.preview-project {
    flex: 0 0 32%;
    line-height: 1;
    margin-bottom: 1.5rem;
    margin-right: 2%;
}

.preview-project:nth-of-type(3) {
    margin-right: 0;
}

.preview-project-header {
    display: flex;
    align-items: center;
    background: #3f3f3f;
    justify-content: space-between;
    padding: 1rem;
}

.preview-project-title {
    color: #fff;
    font-size: 1.2rem;
    line-height: 1.2;
    text-transform: capitalize;
    font-weight: normal;
    letter-spacing: -1px;
    display: flex;
    align-items: center;
}

.project-is-default {
    margin-left: .5rem;
    background: #3ab97a;
    color: #fff;
    line-height: 1;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    position: relative;
    top: 2px;
}

.project-is-default .icon {
    line-height: 1;
    width: 14px;
    height: 14px;
    position: relative;
    top: 1px;
    left: 0px;
}

.set-default-project {
    background: #fff;
    padding: .5rem;
    font-size: .7rem;
    border: 0;
    border-radius: 3px;
    color: #333;
    font-weight: 600;
}

.preview-project-operators {
    display: flex;
    flex-direction: column;
    padding: 1rem;
    background: #f4f4f4;
    border-bottom: 1px solid rgba(0,0,0,.1);
}

.preview-project-operators:last-of-type {
    border-bottom: 0;
}

.no-project-operators {
    color: #999;
    font-size: .8rem;
    margin: .5rem 0 1rem;
}

.project-add-operator > strong,
.preview-project-operators > strong {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: bold;
    color: #111;
    font-size: .9rem;
}

.preview-project-operators > strong > span {
    color: #666;
    font-size: .8rem;
}

.preview-project-operator {
    display: flex;
    align-items: center;
    justify-content: space-between;
    line-height: 1;
    margin-top: .25rem;
}

.preview-project-operator:last-of-type {
    margin-bottom: 0;
    border-bottom: 0;
    padding-bottom: 0;
}

.preview-project-operator > h3 {
    font-size: .8rem;
    color: #333;
    font-weight: normal;
    text-transform: capitalize;
    display: flex;
    align-items: center;
}

.remove-project-operator {
    display: flex;
    margin-right: .5rem;
}

.remove-project-operator .btn {
    padding: 4px 5px;
    font-size: 0;
    border: none;
    background: #e68a84;
    color: #fff;
    margin-right: .25rem;
    margin: 0;
}

.remove-project-operator .btn .icon {
    width: 10px;
    height: 10px;
    transition: initial;
}

.preview-project-operator-permissions {
    display: flex;
    align-items: center;
    justify-content: center;
}

.preview-project-operator-permissions .tag {
    padding: 4px 6px;
    color: #fff;
    background: #b0b0b0;
    border: 0;
}

.preview-project-operator-permissions .tag.toggle-operator-permission:hover,
.preview-project-operator-permissions .tag.toggle-operator-permission:focus {
    background: #afcabc;
}

.preview-project-operator-permissions .tag .icon {
    width: 16px;
    height: 16px;
}

.preview-project-operator-permissions .tag.has-permission {
    background: #5dce96;
}

.preview-project-operator-permissions .tag.toggle-operator-permission.has-permission:hover,
.preview-project-operator-permissions .tag.toggle-operator-permission.has-permission:focus {
    background: #d6a4a0;
}

.preview-project-operator + .project-add-operator {
    margin-top: 1rem;
}

.project-add-dependency-form {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: .5rem;
}

.project-add-dependency-form select {
    flex-grow: 1;
    font-size: .7rem;
    padding: .25rem;
    border: 1px solid rgba(0,0,0,.1);
    color: #999;
    border-radius: 3px;
}

.project-add-dependency-form button {
    margin-left: .5rem;
    font-size: .7rem;
    padding: .25rem;
    background: #f0f0f0;
    border: 1px solid rgba(0,0,0,.1);
    color: #999;
    border-radius: 3px;
}

.project-add-dependency-form button:hover,
.project-add-dependency-form button:focus {
    background: #e0e0e0;
    color: #000;
}

.preview-project-actions {
    box-shadow: 0 10px 10px -5px rgba(0,0,0,.2), 0 0 10px -4px rgba(0,0,0,.3);
    display: flex;
    padding: 1rem;
    background: #f0f0f0;
    position: relative;
}

.preview-btn {
    font-size: .7rem;
    padding: 6px;
    color: #999;
    border-radius: 3px;
    margin-right: .25rem;
}

.preview-btn:last-of-type {
    margin-right: 0;
}

.preview-project-actions .table-action-form {
    position: absolute;
    right: 1rem;
}

.table-action-form .preview-btn {
    background: #da8d87;
    color: #fff;
}

.table-action-form .preview-btn:hover,
.table-action-form .preview-btn:focus {
    background: #d0665d;
}

.table-action-form .preview-btn.color-default {
    background: #f0f0f0;
    color: #999;
}

.table-action-form .preview-btn.color-default:hover,
.table-action-form .preview-btn.color-default:focus {
    background: #e0e0e0;
    color: #3f3f3f;
}

table.alt-table,
table.alt-table th,
table.alt-table td {
    text-align: left;
}

table.alt-table th {
    text-transform: capitalize;
}

table.alt-table td,
table.small-content td {
    font-size: .8rem;
}

table.alt-table td.internal-field-name {
    font-family: monospace;
    font-size: .9rem;
    color: #999;
}

table.alt-table tbody tr {
    border-bottom: 1px solid rgba(0,0,0,.1);
}

table.alt-table tr.by-operator {
    background: #ecd48b;
}

.default-table tbody tr.record-is-soft-deleted {
    background: #eaa9a4;
}

.default-page-section:not(.simple):not(:last-of-type) {
    padding-bottom: 2rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(0,0,0,.075);
}

.default-page-section.simple:not(:last-of-type) {
    margin-bottom: 2rem;
}

.default-page-section > strong {
    display: flex;
    align-items: center;
    text-transform: capitalize;
    position: relative;
    color: #111;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all .3s ease-in-out;
}

.default-page-section > strong.has-page-section-explanation {

}

.default-page-section > strong .page-section-explain {
    background: #e4e4e4;
    text-transform: initial;
    margin-left: .5rem;
    padding: .33rem;
    font-size: .8rem;
    font-weight: normal;
    color: #888;
    border-radius: 3px;
}

.page-description-block {
    color: #666;
    line-height: 1.4;
    font-size: .9rem;
    max-width: 860px;
}

.details {
    display: flex;
    flex-direction: column;
    color: #999;
    font-size: .9rem;
}

.details-row {
    display: flex;
    align-items: center;
    padding: .5rem 0;
}

.details-row:not(:last-of-type) {
    border-bottom: 1px dashed rgba(0,0,0,.25);
}

.details-row-title {
    text-transform: uppercase;
    font-weight: bold;
    flex: 0 0 230px;
    font-size: .8rem;
}

.details-row-content {
    color: #333;
    text-transform: capitalize;
    font-weight: 700;
}

.toggleable-childs.default-page-section > strong {
    margin-bottom: 0;
}

.section-toggled.toggleable-childs.default-page-section > strong {
    margin-bottom: 1rem;
}

.toggle-morph {
    position: relative;
    width: 1.5rem;
    height: 1.5rem;
    background: #191d27;
    transform: rotate(0deg);
    border-radius: 50%;
    cursor: pointer;
    z-index: 100;
    transition: all .3s ease-in-out;
    border: none;
    margin-left: .5rem;
}

.toggle-morph::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: 2px;
    background: #fff;
}

.toggle-morph::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all .3s ease-in-out;
    height: 60%;
    width: 2px;
    background: white;
}

.section-toggled .toggle-morph {
    transform: rotate(180deg);
}

.section-toggled .toggle-morph::before {
    width: 0;
}

.inline-upload-form {
    display: flex;
    margin-left: 1rem;
    padding-left: 1rem;
    border-left: 1px solid #999;
    align-items: center;
    color: #333;
}

.page-header-section .inline-upload-form {
    margin: 0;
    padding: 0;
    border: 0;
}

.inline-upload-form .title {
    font-size: .8rem;
    margin-right: .5rem;
}

.inline-upload-form .content {
    display: flex;
    align-items: center;
}

.inline-upload-form .content input {
    font-size: .8rem;
    color: #999;
    cursor: pointer;
    background: #fff;
    padding: 3px;
    border-radius: 3px;
    box-shadow: 0 0 5px -1px rgba(0,0,0,.5), 0 10px 10px -5px rgba(0,0,0,.1);
}

.inline-upload-form .content .form-btn {
    font-size: 12px;
    padding: 8px;
    margin-left: .5rem;
    background: #c0c0c0;
    font-weight: 600;
    border: 0;
}

.default-page-section > strong .page-btn {
    margin-left: .5rem;
    font-weight: normal;
    font-size: .7rem;
    padding: .3rem;
}

.default-page-section:last-of-type {
    margin-bottom: 0;
}

.alt-table {
    box-shadow: 0 0 10px -4px rgba(0,0,0,.5), 0 15px 15px -5px rgba(0,0,0,.1);
}

.table-form {
    width: 250px;
    max-width: 100%;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.alt-table .table-form {
    margin: 0;
}

.table-form-input {
    flex-grow: 1;
    padding: .25rem .5rem;
    color: #666;
    border-radius: 3px;
    margin-right: .5rem;
    border: 1px solid rgba(0,0,0,.1);
    font-size: .8rem;
}

.table-form-input:hover,
.table-form-input:focus {
    color: #333;
    border-color: rgba(0,0,0,.3);
}

.table-form-btn {
    font-size: .8rem;
    padding: .35rem;
    border-radius: 3px;
    background: #f0f0f0;
    color: #999;
    border: 1px solid rgba(0,0,0,.1);
    line-height: 1;
}

.table-form-btn:hover,
.table-form-btn:focus {
    color: #000;
    background: #e0e0e0;
}

.alt-table .tree-value {
    display: flex;
    align-items: center;
    line-height: 1.2;
}

.alt-table .tree-value-update {
    margin-right: .5rem;
    background: none;
    border: none;
    color: #3ab97a;
}

.alt-table .tree-value-update .icon {
    width: 18px;
    height: 18px;
}

.index-table-full-path {
    display: flex;
    align-items: center;
    margin-bottom: .5rem;
}

.index-table-full-path:last-of-type {
    margin-bottom: 0;
}

.index-table-full-path > * {
    color: #999;
    text-transform: capitalize;
    font-size: .9rem;
    font-weight: 600;
}

.index-table-full-path > :last-child {
    color: #333;
}

.index-table-full-path > span.path-unavailable-value {
    color: #da817b;
}

.index-table-full-path > .icon {
    width: 14px;
    height: 14px;
    margin: 0 2px;
    fill: #aaa;
}

.index-table-values-form {
    width: 600px;
    max-width: 100%;
    padding: 1.5rem;
}

.custom-modal .index-table-values-form {
    width: initial;
    padding: 0;
}

.index-table-select-wrapper {
    display: flex;
    justify-content: space-between;
    transition: all .3s ease-in-out;
}

.index-table-select-wrapper button {
    font-size: .8rem;
    padding: .25rem .5rem;
    border-radius: 4px;
    background: #e0e0e0;
    margin-left: .5rem;
    border: 1px solid #eee;
    color: #666;
}

.index-table-select-new-value {
    display: flex;
    max-height: 0;
    overflow: hidden;
    transition: all .3s ease-in-out;
}

.index-table-select-new-value.toggled {
    max-height: 100px;
    margin-top: .5rem;
}

.index-table-select-new-value button {
    flex: 0 0 69px;
    font-size: .8rem;
    padding: .25rem 1rem;
    border-radius: 4px;
    background: #3ab97a;
    margin-left: .5rem;
    border: 1px solid #eee;
    color: #fff;
}

.default-table th.flex {
    display: flex;
    align-items: center;
    line-height: 1;
}

.delete-index-table-column {
    margin-left: .25rem;
    background: none;
    border: 0;
    color: #e06b63;
}

.delete-index-table-column .icon {
    width: 18px;
    height: 18px;
}

/*
select2 plugin
 */
.index-table-level .select2-container {
    width: 100% !important;
}

.has-custom-select select.form-input.search-form-custom-select {
    width: 100%;
    flex-grow: 1;
}

.has-custom-select select.form-input + .select2-container--default .select2-selection--single {
    background: #e0e0e0;
    padding: .75rem;
    border-radius: 3px;
    height: initial;
    border: none;
}

.has-custom-select select.form-input + .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 1.2;
    font-size: .8rem;
    color: #666;
    text-align: left;
    padding: 0;
}

.has-custom-select select.form-input + .select2-container--default .select2-selection--single .select2-selection__arrow {
    display: none;
}

.has-custom-select select.form-input + .select2-container--default.select2-container--open.select2-container--below .select2-selection--single,
.has-custom-select select.form-input + .select2-container--default.select2-container--open.select2-container--below .select2-selection--multiple {
    border-radius: 3px 3px 0 0;
    border: 1px solid #aaa;
}

.has-custom-select .select2-container--open .select2-dropdown--below {
    background: #e0e0e0;
    border: 1px solid #aaa;
}

.has-custom-select .select2-search--dropdown {
    padding: .5rem;
}

.has-custom-select .select2-container--default .select2-search--dropdown .select2-search__field {
    padding: .5rem;
    border: none;
    border-radius: 3px;
    font-size: 1rem;
    line-height: 1;
    color: #666;
    font-size: .9rem;
}

.has-custom-select .select2-results__option {
    padding: .5rem;
    height: initial;
    font-size: 12px;
    border-radius: .25rem;
    text-transform: capitalize;
    color: #666;
    font-weight: 600;
    line-height: 1.2;
}

.has-custom-select .select2-container--default .select2-results>.select2-results__options {
    padding: .5rem;
}

.movement-steps {
    display: flex;
    flex-direction: column;
}

.movement-step {
    display: flex;
    align-items: center;
}

.movement-step::before {
    content: attr(data-step-nr);
    margin-right: .5rem;
    background: #999;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    line-height: 1;
}

.movement-step:not(:last-of-type) {
    margin-bottom: .5rem;
}

.movement-step .step-datetime {
    color: #333;
    font-size: .8rem;
    font-style: normal;
    font-weight: 600;
    margin-right: 1rem;
}

.movement-step .step-status {
    flex: 0 0 130px;
    text-align: center;
}

.movement-step .step-document-nr {
    margin-left: 1rem;
    font-size: .8rem;
    color: #666;
    display: flex;
    align-items: center;
}

.movement-step .step-document-nr i {
    margin-left: .5rem;
    text-transform: uppercase;
    font-style: normal;
    font-weight: 700;
    background: #e4e4e4;
    padding: 5px;
    border-radius: 2px;
    color: #333;
}

.record-summary-details {
    flex: 0 0 100%;
    margin-top: 1rem;
    display: flex;
    align-items: center;
}

.record-summary-details.record-movement-wrapper {
    flex-direction: column;
    align-items: flex-start;
}

.current-movement-status {
    display: flex;
    color: #666;
    font-size: .9rem;
    align-items: center;
    font-weight: 600;
}

.current-movement-status > .flag {
    margin-left: .5rem;
}

.record-movement-form {
    margin-top: 1rem;
    padding: .75rem;
    display: flex;
    align-items: center;
    background: #f0f0f0;
    border-radius: .25rem;
    width: auto;
    box-shadow: 0 10px 10px -5px rgba(0,0,0,.2);
}

.record-movement-set {
    margin-right: .75rem;
    display: flex;
    align-items: center;
    border-right: 1px solid rgba(0,0,0,.15);
    padding-right: .75rem;
}

.record-movement-set > p {
    display: flex;
    align-items: center;
    margin-right: .75rem;
}

.record-movement-set > p:last-of-type {
    margin-right: 0;
}

.record-movement-set > input[type="text"] {
    font-size: .8rem;
    color: #999;
    padding: .25rem;
    border-radius: 2px;
    border: 1px solid rgba(0,0,0,.1);
    background: #fff;
    margin-left: .75rem;
}

.record-movement-set > input[type="text"]:hover,
.record-movement-set > input[type="text"]:focus {
    color: #333;
    border-color: rgba(0,0,0,.33);
}

.record-movement-set > p input {
    display: none;
    visibility: hidden;
}

.record-movement-set > p input + label {
    color: #999;
    font-size: .8rem;
    line-height: 1.2;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: all .3s ease-in-out;
    font-weight: 600;
}

.record-movement-set > p input + label::before {
    content: '';
    width: 12px;
    height: 12px;
    background: #fff;
    border-radius: 50%;
    margin-right: .25rem;
    transition: all .3s ease-in-out;
}

.record-movement-set > p input:checked + label {
    color: #3ab97a;
}

.record-movement-set > p input:checked + label::before {
    background: #3ab97a;
}

.record-movement-form .btn {
    padding: .5rem;
    font-size: .7rem;
    background: #fff;
    color: #999;
}

.file-dump-debug {
    padding: 2rem 0;
    background: #f4f4f4;
}

.file-dump-flags {
    display: flex;
    align-items: center;
    justify-content: center;
}

.file-dump-flags .flag {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    border: 0;
    padding: 0;
    flex: 0 0 180px;
    background: #fff;
    border-radius: 3px;
}

.file-dump-flags .flag:last-of-type {
    margin-right: 0;
}

.file-dump-flags .flag span {
    flex: 0 0 34px;
    height: 40px;
    border: 1px solid;
}

.file-dump-flags .flag .is-index-table-lvl {
    background: #FFC107;
}

.file-dump-flags .flag .is-specific-column {
    background: #c04fd4;
}

.file-dump-flags .flag .valid {
    background: #61c556;
}

.file-dump-flags .flag .not-valid {
    background: #d26b6b;
}

.file-dump-flags .flag .not-defined {
    background-image: linear-gradient(90deg, #de2a2a 25%, #912828 25%, #912828 50%, #de2a2a 50%, #de2a2a 75%, #912828 75%, #912828 100%);
    background-size: 20.00px 20.00px;
}

.file-dump-flags .flag strong {
    color: #000;
    text-transform: capitalize;
    line-height: 1.1;
    padding: 0 1rem;
}

.file-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #fff;
    padding: 1rem;
    margin: 2rem auto 0;
}

.file-status {
    background: #fff;
    border: 1px solid rgba(0,0,0,.1);
    box-shadow: 0 5px 10px -4px rgba(0,0,0,.1);
    padding: .25rem .5rem;
    font-size: .8rem;
    border-radius: 3px;
}

.file-status.not-valid {
    background: #d26b6b;
}

.file-status.is-valid {
    background: #61c556;
}

form.file-save-form {
    padding: 0;
    background: 0;
    box-shadow: initial;
    border: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1rem;
}

form.file-save-form .file-save-btn {
    background: #61c556;
    color: #fff;
    padding: .75rem 1rem;
    text-transform: uppercase;
    font-size: .9rem;
    border: 0;
    border-radius: 3px;
    font-weight: 700;
}

.records-stats {
    display: flex;
    flex-wrap: wrap;
    max-width: 1200px;
    align-items: flex-start;
}

.records-stat {
    margin-right: 1rem;
    display: flex;
    flex-direction: column;
    flex: 0 0 220px;
    background: #fff;
    padding: .5rem;
    border-radius: 3px;
    margin-bottom: .5rem;
}

.records-stat span {
    color: #999;
    font-size: .8rem;
    text-transform: capitalize;
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: .5rem;
}

.records-stat strong {
    color: #111;
    font-weight: bold;
    font-size: .8rem;
}

.selected-records-index-table-wrapper {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0,0,0,.1);
}

.selected-records-update-index-table-form .form-row {
    margin-bottom: .5rem;
}

.update-selected-records-index-table-btn {
    font-size: .8rem;
    padding: .5rem 1rem;
}

.selected-records-table-wrapper {
    margin-bottom: 2rem;
}

.selected-records-table-wrapper.hidden {
    display: none;
    margin: 0;
}

.selected-records-table-wrapper:last-of-type {
    margin-bottom: 0;
}

.selected-records-table-wrapper > strong {
    font-weight: bold;
    color: #111;
    margin-bottom: .5rem;
    display: flex;
    align-items: center;
    font-size: .9rem;
}

.selected-records-table-wrapper > strong .flag {
    margin-right: .5rem;
    width: 12px;
    height: 12px;
}

.selected-records-table-wrapper > strong > i {
    font-style: normal;
    font-size: .8rem;
    color: #333;
}

.selected-records-table-wrapper td.records-index-table-value > span {
    max-width: initial;
}

.selected-records-table-wrapper .record-select-wrapper {
    position: initial;
    right: initial;
}

.records-movement-form {
    background: #fff;
    border-radius: 0;
    box-shadow: initial;
    padding: 0;
    margin: 0 0 1rem;
    flex-wrap: wrap;
}

.records-movement-form .btn {
    padding: .25rem;
    border-radius: 5px;
}

.records-movement-form-row {
    display: flex;
    align-items: center;
    margin-right: .5rem;
    background: #f0f0f0;
    padding: .25rem;
    border-radius: 3px;
}

.records-movement-form-row .form-input {
    font-size: 12px;
    padding: .3rem;
    background: #fff;
    margin-right: .25rem;
    font-weight: 600;
}

.records-movement-form-row .form-input:last-of-type {
    margin-right: 0;
    width: 90px;
    padding: .3rem .2rem;
}

.records-movement-form-row .form-input:disabled {
    pointer-events: none;
    background: #f4f4f4;
}

.movements-list {

}

.movement-type-wrapper {
    color: #666;
}

.movement-type-wrapper + .movement-type-wrapper {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0,0,0,.1);
}

.movement-type-name {
    display: flex;
    align-items: center;
    line-height: 1;
    font-weight: 600;
    color: #111;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.movement-steps-wrapper {

}

.movement-steps-list {
    padding: 1rem;
    background: #f4f4f4;
}

.movement-single-step {
    display: flex;
    flex-direction: column;
    color: #555;
    font-weight: 600;
    font-size: .9rem;
    position: relative;
    padding-left: 2rem;
}

.movement-single-step:first-of-type .movement-step-nr {
    top: -3px;
}

.movement-step-nr {
    position: absolute;
    top: 13px;
    left: 0;
    width: 22px;
    height: 21px;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-style: normal;
    color: #fff;
    cursor: pointer;
}

.movement-step-nr::before {
    content: attr(data-display-order);
    font-weight: bold;
    font-size: 13px;
}

.movement-single-step + .movement-single-step {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px dashed rgba(0,0,0,.1);
}

.movement-step-name {
    color: #111;
    font-weight: 600;
    text-transform: uppercase;
    font-size: .9rem;
    display: flex;
    align-items: center;
}

.movement-type-name > *,
.movement-step-name > * {
    font-size: 12px;
    margin-left: .5rem;
    padding-left: .5rem;
    border-left: 1px solid #aaa;
    border-radius: 0;
    text-transform: initial;
    color: #999;
    font-weight: bold;
}

.movement-step-name > *:last-of-type {

}

.movement-step-document-status.has-document {
    color: #2fa56a;
}

.movement-type-delete,
.movement-step-delete {
    margin: 0;
    padding: 0;
    border: 0;
    margin-left: .25rem;
}

.movement-type-delete .btn,
.movement-step-delete .btn {
    padding: 0;
    background: no-repeat;
    border: none;
    font-weight: inherit;
    text-decoration: underline;
    font-size: inherit;
    color: #da8d87;
}

.movement-type-delete .btn:hover,
.movement-step-delete .btn:hover {
    background: none;
    border: 0;
    color: #d0665d;
}

.movement-type-name .show-modal,
.movement-step-name .show-modal {
    padding: 0;
    border: 0;
    background: none;
    font-size: 12px;
    text-decoration: underline;
    margin-left: .5rem;
    padding-left: .5rem;
    border-left: 1px solid;
    border-radius: 0;
}

.movement-single-step > p {
    font-weight: normal;
    font-size: .8rem;
    color: #999;
    line-height: 1.2;
}

.movements-steps-actions {
    margin-top: .5rem;
}

.movements-steps-actions .btn {
    font-size: 12px;
    padding: 6px 10px;
    background: #d0d0d0;
    color: #666;
}

.movements-steps-actions .btn:hover,
.movements-steps-actions .btn:focus {
    background: #b0b0b0;
    color: #333;
}

.movement-step-next-steps-form {
    padding: 0;
    border: 0;
    background: none;
    box-shadow: initial;
    margin: 1rem 0 .5rem;
}

.movement-step-next-steps-form > strong {
    font-size: 13px;
    font-weight: 600;
    color: #999;
    display: block;
}

.list-next-steps {
    display: flex;
    align-items: center;
}

.list-next-steps .form-object {
    margin-right: 1rem;
}

.form-object-checkbox input + label {
    text-transform: capitalize;
}

.form-object-checkbox input + label::before {
    width: 14px;
    height: 14px;
}

.list-next-steps .btn {
    font-size: 12px;
    padding: 6px 10px;
    background: #e0e0e0;
    color: #666;
}


