:root {

    --btn-default: rgb(221, 221, 221);
    --btn-default-border: rgba(221, 221, 221, 0.3);

    --btn-info: rgb(170, 221, 255);
    --btn-info-border: rgba(170, 221, 255, 0.3);

    --btn-caution: rgb(248, 165, 82);
    --btn-caution-border: rgba(248, 165, 82, 0.3);

    --btn-danger: rgb(248, 82, 82);
    --btn-danger-border: rgba(248, 82, 82, 0.3);

    --btn-ok: rgb(82, 248, 82);
    --btn-ok-border: rgba(82, 248, 82, 0.3);
}

* {
    box-sizing: border-box;
}
body {
    margin: 0;
    font-family: 'Atkinson Hyperlegible', sans-serif;
    font-size: 16px;
}
code,
textarea.code {
    font-family: 'Cousine', monospace;
}
input {
    font-family: 'Atkinson Hyperlegible', sans-serif;
}
input[type="text"] {

}

/* Loading Spinner - will make any image with this class spin */

img.loading_spin {
  animation: rotation 1s infinite linear;
}

@keyframes rotation {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(-359deg);
  }
}
/* END Loading Spinner */

.hide {
    display: none !important;
}

.basic_top {
    background: #eee;
    text-align: center;
    padding: 20px 0;
}

form#cms_login {
    background: #eee;
    margin: 20px auto;
    padding: 20px;
    max-width: 500px;
}
form#cms_login button.submit {
    cursor: pointer;
    margin-left: auto;
    margin-right: auto;
}

form#cms_reset_password {
    background: #eee;
    margin: 20px auto;
    padding: 20px;
    max-width: 500px;
}
form#cms_reset_password button.submit {
    cursor: pointer;
    margin-left: auto;
    margin-right: auto;
}
.multiple_options{
    flex-direction: row!important;
    align-items: flex-start;
    padding-top:22px;
}
.logo_section {
    min-width: 380px;
    float: right;
}
@media only screen and (max-width: 767px) {
    .logo_section {
        float: none;
    }
}
nav.cms {
    background: #eee;
}
nav.cms .level_1 {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row-reverse;
    justify-content: space-between;
    background: #eee;
}
    nav.cms .level_1 ul.links {
        margin: 0px 0px 0px 0px;
        padding: 0;
        list-style: none;
        display: flex;
        flex-wrap: wrap;
    }
        nav.cms .level_1 ul.links li a {
            padding: 18px;
            text-decoration: none;
            color: inherit;
            height: 100%;
            display: flex;
            align-items: center; /* Vertical center */
            justify-content: center; /* Horizontal center */
        }
        nav.cms .level_1 ul.links li a:hover {
            background-color: #ddd;
        }
        nav.cms .level_1 ul.links li.active a {
            background-color: #ccc;
        }
    nav.cms .level_1 .logo_and_welcome {
        text-align: right;
        padding: 10px;
    }
    nav.cms .level_1 a.logo {
        display: block;
        margin-bottom: 5px;
    }

@media only screen and (max-width: 1089px) {

    nav.cms .level_1 .logo_and_welcome {
        width: 100%;
        text-align: center;
    }
    nav.cms .level_1 ul.links {
        width: 100%;
    }
}

nav.cms .level_2 {
    background-color: #ccc;
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}
    nav.cms .level_2 ul.links {
        margin: 0;
        padding: 0;
        list-style: none;
        display: flex;
        flex-wrap: wrap;
    }
    nav.cms .level_2 form.search {
        padding: 12px 14px 13px;
        margin: 0;
    }
    nav.cms .level_2 form.search.active,
    nav.cms .level_2 .date_inputs.active {
        background-color: #aaa;
    }
        nav.cms .level_2 ul.links li a {
            display: block;
            padding: 14px;
            text-decoration: none;
            color: inherit;
        }
        nav.cms .level_2 ul.links li a:hover {
            background-color: #bbb;
        }
        nav.cms .level_2 ul.links li.active a {
            background-color: #aaa;
        }
nav.cms a.button {
    background: var(--btn-default);
    border: 2px outset var(--btn-default-border);
    padding: 0 10px;
    margin: 6px 0 4px 20px;
    display: flex;
    align-items:center;
    justify-content:center;
    text-decoration: none;
    color: inherit;
    height: 38px;
}
nav.cms a.button:hover {
    opacity: 0.75;
}
nav.cms input {
    border: 1px solid #999;
    padding: 3px 6px;
}

section.feedback {
    background: lightyellow;
    padding: 20px;
}

.below_nav {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row-reverse;
}

section.options {
    width: 252px;
    padding: 0 20px 20px;
    position: sticky;
    top: 0px;
    align-self: flex-start; /* Allows position sticky of a flex element */
}
section.options a.button {
    background: var(--btn-default);
    border: 2px outset var(--btn-default-border);
    padding: 10px;
    margin-top: 20px;
    display: flex;
    align-items:center;
    justify-content:center;
    text-decoration: none;
    color: inherit;
}
section.options a.button:hover {
    opacity: 0.75;
}

section.main {
    padding: 0 20px 20px;
    width: calc(100% - 252px);
}
section.main.full {
    width: 100%;
}

@media only screen and (max-width: 1069px) {

    section.options,
    section.main {
        width: 100%;
    }
}

section.main .title {
    font-size: 1.5em;
    font-weight: bold;
    margin-top: 20px;
}
section.main .title_section {
    overflow: auto;
}
    section.main .title_section .right {
        float: right;
    }
    section.main .title_section .anybtn {
        padding-top: 5px; padding-bottom: 5px; font-size: 1em;
    }

table.index {
    border-collapse: collapse;
    margin-top: 20px;
    min-width: 50%;
}
table.index.full {
    width: 100%;
}
table.index .center {
    text-align: center;
}
table.index .left {
    text-align: left;
}
    table.index thead {
        position: sticky;
        top: 0;
        z-index: 1;
    }
        table.index thead tr th.images {
            width: 50px;
        }
    table.index thead tr {
        background: black;
        color: white;
    }
        table.index thead tr th {
            padding: 3px 6px;
        }

        table.index tbody tr td {
            padding: 3px 6px;
        }
        table.index tbody tr:nth-child(2n),
        table.index tbody tr:nth-child(2n) span.params {
            background: #eee;
        }
        table.index tbody tr:nth-child(2n+1),
        table.index tbody tr:nth-child(2n+1) span.params {
            background: #fff;
        }

        table.index tbody tr.date td {
            padding: 5px 0;
            background: #888;
            color: white;
            text-align: center;
            position: sticky;
            top: 26px;
            z-index: 1;
        }
        table.index tbody tr.category td {
            background: #ccc;
            padding: 5px 0;
            position: sticky;
            top: 56px;
            z-index: 1;
        }
    table.index span.image {
        display: inline-block;
        min-width: 30px;
        max-width: 50px;
        height: 24px;
        overflow: hidden;
        position: relative;
    }
        table.index span.image img {
            display: block;
            width: 100%;
        }
    table.index span.image:hover {
        overflow: visible;
    }
        table.index span.image:hover img {
            width: 200px;
            position: absolute;
            z-index: 2;
        }
    table.index span.image_large {
        display: inline-block;
        min-width: 120px;
        max-width: 200px;
        height: 96px;
        overflow: hidden;
        position: relative;
    }
        table.index span.image_large img {
            display: block;
            width: 100%;
        }

table.index img.delete_post {
    cursor: pointer;
}

table.log_key {
    border-collapse: collapse;
    margin: 20px 0;
    border: 1px solid #333;
}
table.log_key td {
    padding: 5px 10px;
}

form.edit {
    --btn_width: 130px;
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px 0;
}
    form.edit > .container {
        display: flex;
        flex-wrap: wrap;
        gap: 20px 0;
        width: 100%;
    }
    form.edit hr {
        border: none;
        border-top: 10px solid #ccc;
        margin: 30px 0;
        width: 100%;
    }
    form.edit .row {
        float: left;
        margin-right: 20px;
    }
    form.edit .row.title {
        font-size: 1.5em;
        font-weight: bold;
        margin-top: 0;
    }
    form.edit .row_clear {
        clear: left;
        width: 100%;
    }
    form.edit input[type="file"] {
        border: 1px solid #999;
        margin: 0;
        padding: 3px 6px;
        cursor: pointer;
    }
    form.edit input[type="file"]::file-selector-button {
        width: var(--btn_width);
        display: inline-flex !important;
    }
    form.edit > label,
    form.edit > .container > label {
        width: var(--btn_width);
        text-align: right;
        padding-right: 10px;
        height: 1; /* Allows label to be large without messing with height of following input */
    }
    form.edit > label.required,
    form.edit > .container > label.required {
        font-weight: bold;
    }
    form.edit > input,
    form.edit > textarea,
    form.edit > select,
    form.edit > .cke,
    form.edit > .container > input,
    form.edit > .container > textarea,
    form.edit > .container > select,
    form.edit > .container > .cke {
        width: calc(100% - var(--btn_width));
        border: 1px solid #999;
        margin: 0;
    }
    form.edit > input.with_button,
    form.edit > textarea.with_button,
    form.edit > select.with_button,
    form.edit > .cke.with_button,
    form.edit > .container > input.with_button,
    form.edit > .container > textarea.with_button,
    form.edit > .container > select.with_button,
    form.edit > .container > .cke.with_button {
        width: calc(100% - (var(--btn_width) * 2));
    }
    form.edit > input.with_2_buttons,
    form.edit > textarea.with_2_buttons,
    form.edit > select.with_2_buttons,
    form.edit > .cke.with_2_buttons,
    form.edit > .container > input.with_2_buttons,
    form.edit > .container > textarea.with_2_buttons,
    form.edit > .container > select.with_2_buttons,
    form.edit > .container > .cke.with_2_buttons {
        width: calc(100% - (var(--btn_width) * 3));
    }
    form.edit > input,
    form.edit > select,
    form.edit > .container > input,
    form.edit > .container > select {
        padding: 3px 6px;
    }
    form.edit > input.half,
    form.edit > select.half,
    form.edit > .container > input.half,
    form.edit > .container > select.half {
        width: calc(50% - var(--btn_width));
    }
    form.edit > input.half.with_button,
    form.edit > select.half.with_button,
    form.edit > .container > input.half.with_button,
    form.edit > .container > select.half.with_button {
        width: calc(50% - (var(--btn_width) * 2));
    }
    form.edit > input.half.with_2_buttons,
    form.edit > select.half.with_2_buttons,
    form.edit > .container > input.half.with_2_buttons,
    form.edit > .container > select.half.with_2_buttons {
        width: calc(50% - (var(--btn_width) * 3));
    }
    form.edit > .filler.half,
    form.edit > .container > .filler.half {
        width: 50%;
    }
    @media only screen and (max-width: 799px) {

        form.edit > input.half,
        form.edit > select.half,
        form.edit > .container > input.half,
        form.edit > .container > select.half {
            width: calc(100% - var(--btn_width));
        }
        form.edit > input.half.with_button,
        form.edit > select.half.with_button,
        form.edit > .container > input.half.with_button,
        form.edit > .container > select.half.with_button {
            width: calc(100% - (var(--btn_width) * 2));
        }
        form.edit > input.half.with_2_buttons,
        form.edit > select.half.with_2_buttons,
        form.edit > .container > input.half.with_2_buttons,
        form.edit > .container > select.half.with_2_buttons {
            width: calc(100% - (var(--btn_width) * 3));
        }
        form.edit > .filler.half,
        form.edit > .container > .filler.half {
            width: 100%;
        }
    }
    form.edit > .cke,
    form.edit > .container > .cke {
        box-shadow: none;
        box-sizing: border-box;
    }
    form.edit > textarea,
    form.edit > .container > textarea {
        min-height: 100px;
    }
    form.edit > fieldset,
    form.edit > .container > fieldset {
        width: 100%;
        border: none;
        margin: 0;
        padding: 0;
    }
    form.edit > fieldset.half,
    form.edit > .container > fieldset.half {
        width: 50%;
    }
    @media only screen and (max-width: 799px) {
        form.edit > fieldset.half,
        form.edit > .container > fieldset.half {
            width: 100%;
        }
    }
    form.edit > fieldset.fuzzy_multiselect,
    form.edit > .container > fieldset.fuzzy_multiselect {
        width: calc(100% - var(--btn_width));
    }
    form.edit > button,
    form.edit > .container > button {
        width: var(--btn_width);
    }
    form.edit > button.short,
    form.edit > .container > button.short {
        height: 30px;
    }
    form.edit .image_preview {
        width: 100%;
        text-align: center;
    }

section.advanced {}
section.advanced {
    background: #eee;
    padding: 20px;
    display: none;
}
section.advanced.open {
    display: block;
}

a.advanced.button,
section.advanced a.button,
form.edit > button,
form.edit > .container > button,
form.edit a.button,
form.edit input[type="file"]::file-selector-button,
.anybtn {
    background: var(--btn-default);
    border: 2px outset var(--btn-default-border);
    padding: 10px;
    margin-top: 20px;
    display: flex;
    align-items:center;
    justify-content:center;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}
form.edit > button:not(.submit),
form.edit > .container > button:not(.submit),
form.edit input[type="file"]::file-selector-button {
    margin-top: 0;
    cursor: pointer;
    padding: 0;
}
a.advanced.button:hover,
section.advanced a.button:hover,
form.edit > button:hover,
form.edit > .container > button:hover,
form.edit a.button:hover,
form.edit input[type="file"]:hover::file-selector-button,
.anybtn:hover {
    opacity: 0.75;
}

a.advanced.button {
    float: right;
    border: none;
    margin-top: 0;
    padding-left: 40px;
    background: #eee;
    background-image: url("/cms-assets/images/lock_closed.png");
    background-size: 20px 20px;
    background-position: 10px 10px;
    background-repeat: no-repeat;
}
a.advanced.button.open {
    background-image: url("/cms-assets/images/lock_open.png");
}


section.options a.button.caution,
nav.cms a.button.caution,
section.advanced a.button.caution,
a.advanced.button.caution,
form.edit > button.caution,
form.edit > .container > button.caution,
form.edit a.button.caution,
form.edit input[type="file"].caution::file-selector-button,
.anybtn.caution {
    background: var(--btn-caution);
    border: 2px outset var(--btn-caution-border);
} /* Window this, the first of the below doesn't work. No idea why. */

section.options a.button.caution,
nav.cms a.button.caution,
section.advanced a.button.caution,
a.advanced.button.caution,
form.edit > button.caution,
form.edit > .container > button.caution,
form.edit a.button.caution,
form.edit input[type="file"].caution::file-selector-button,
.anybtn.caution {
    background: var(--btn-caution);
    border: 2px outset var(--btn-caution-border);
}
section.options a.button.info,
nav.cms a.button.info,
section.advanced a.button.info,
a.advanced.button.info,
form.edit > button.info,
form.edit > .container > button.info,
form.edit a.button.info,
form.edit input[type="file"].info::file-selector-button,
.anybtn.info {
    background: var(--btn-info);
    border: 2px outset var(--btn-info-border);
}
section.options a.button.danger,
nav.cms a.button.danger,
section.advanced a.button.danger,
a.advanced.button.danger,
form.edit > button.danger,
form.edit > .container > button.danger,
form.edit a.button.danger,
form.edit input[type="file"].danger::file-selector-button,
.anybtn.danger {
    background: var(--btn-danger);
    border: 2px outset var(--btn-danger-border);
}
section.options a.button.ok,
nav.cms a.button.ok,
section.advanced a.button.ok,
a.advanced.button.ok,
form.edit > button.ok,
form.edit > .container > button.ok,
form.edit a.button.ok,
form.edit input[type="file"].ok::file-selector-button,
.anybtn.ok {
    background: var(--btn-ok);
    border: 2px outset var(--btn-ok-border);
}
section.options a.button.disabled,
nav.cms a.button.disabled,
section.advanced a.button.disabled,
a.advanced.button.disabled,
form.edit > button.disabled,
form.edit > .container > button.disabled,
form.edit a.button.disabled,
form.edit input[type="file"].disabled::file-selector-button,
.anybtn.disabled {
    background: #eee;
    border-color: #eee;
    border-style: solid;
    color: #ddd;
    cursor: not-allowed;
    pointer-events: none;
}
section.options a.button.disabled:hover,
nav.cms a.button.disabled:hover,
section.advanced a.button.disabled:hover,
a.advanced.button.disabled:hover,
form.edit > button.disabled:hover,
form.edit > .container > button.disabled:hover,
form.edit a.button.disabled:hover,
form.edit input[type="file"].disabled:hover::file-selector-button,
.anybtn.disabled:hover {
    opacity: 1;
}

nav.cms .date_inputs {
    padding: 12px 12px 0;
    margin-left: 10px;
}

.loading_overlay {
    background: black;
    opacity: 0.2;
    position: fixed;
    top: 0;right: 0;bottom: 0;left: 0;
    display: none;
    align-items:center;
    justify-content:center;
}
.loading_overlay.show {
    display: flex;
    z-index:20000;
}

/* https://loading.io/css/ */
.loading_overlay.show .spinner {
  display: inline-block;
  position: relative;
  width: 160px;
  height: 160px;
}
.loading_overlay.show .spinner div {
  box-sizing: border-box;
  display: block;
  position: absolute;
  width: 128px;
  height: 128px;
  margin: 16px;
  border: 16px solid #fff;
  border-radius: 50%;
  animation: spinner 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  border-color: #fff transparent transparent transparent;
}
.loading_overlay.show .spinner div:nth-child(1) {
  animation-delay: -0.45s;
}
.loading_overlay.show .spinner div:nth-child(2) {
  animation-delay: -0.3s;
}
.loading_overlay.show .spinner div:nth-child(3) {
  animation-delay: -0.15s;
}
@keyframes spinner {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

section.messages {
    position: fixed;
    top: 0; left: 0; right: 0;
    pointer-events: none;
    z-index: 2;
}
section.messages .message {
    background: #eee;
    position: relative;
    margin: 20px auto 0;
    max-width: 700px;
    padding: 20px;
    box-shadow: 0px 0px 18px 0px rgba(0,0,0,0.40);
    border: 1px solid black;
    pointer-events: auto;
}
section.messages .message.good {
    background: palegreen;
}
section.messages .message.bad {
    background: peachpuff;
}
section.messages .message.error {
    background: #dd9999;
}
section.messages .message.gone {
    pointer-events: none;
}
section.messages .message .close {
    position: absolute;
    top: 0;
    right: 0;
    padding: 10px;
    cursor: pointer;
}
section.messages .message .close:hover {
    background: rgba(255,255,255,0.5);
}

fieldset.fuzzy_multiselect {
    border: none;
    padding: 0; margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}
fieldset.fuzzy_multiselect select option {
    padding: 4px 6px;
    border-top: 1px solid #eee;
}
fieldset.fuzzy_multiselect select option:first-child {
    border-top: none;
}
fieldset.fuzzy_multiselect > .search {
    width: 200px;
}
    fieldset.fuzzy_multiselect > .search input {
        width: 100%;
        padding: 3px 6px;
    }
    fieldset.fuzzy_multiselect > .search ul.results {
        list-style: none;
        padding: 0;
        margin: 0;
        background: white;
        font-size: 0.9em;
        max-height: 200px;
        overflow-y: auto;
    }
        fieldset.fuzzy_multiselect > .search ul.results li {
            padding: 3px 6px;
            border-top: 1px solid #eee;
            overflow: hidden;
            text-overflow: ellipsis;
            cursor: pointer;
        }
        fieldset.fuzzy_multiselect > .search ul.results li:first-child {
            border-top: none;
        }
        fieldset.fuzzy_multiselect > .search ul.results li:hover {
            background: #ddd;
        }
fieldset.fuzzy_multiselect > .multi {
    width: 180px;
}
    fieldset.fuzzy_multiselect > .multi select {
        width: 100%;
        height: 200px;
    }
fieldset.fuzzy_multiselect > .buttons {
    width: 140px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-content: flex-start;
}
fieldset.fuzzy_multiselect a.button {
    margin-top: 0;
    margin-bottom: 5px;
    width: 100%;
}
fieldset.fuzzy_multiselect a.button.half {
    width: calc(50% - 2.5px);
}

@media only screen and (max-width: 799px) {

    fieldset.fuzzy_multiselect > .search {
        width: 100%;
    }
    fieldset.fuzzy_multiselect > .multi {
        width: 100%;
    }
    fieldset.fuzzy_multiselect > .buttons {
        width: 100%;
    }
}

/* Image picker form */
.image_modal {
    background: rgba(0,0,0,0.2);
    position: fixed;
    top: 0;right: 0;bottom: 0;left: 0;
    align-items:center;
    justify-content:center;
    cursor: pointer;
    z-index:15000;
}

    .image_modal hr {
        border: none;
        border-top: 10px solid #ccc;
        margin: 30px 0;
    }
    .image_modal .content {
        background: white;
        margin: 40px auto;
        min-width: 300px;
        max-width: 800px;
        position: relative;
        cursor: initial;
        max-height: calc(100% - 80px);
        overflow: hidden;
    }
        .image_modal .content .close {
            padding: 15px 30px;
            cursor: pointer;
            position: absolute;
            top: 0; right: 20px;
        }
        .image_modal .content .close:hover {
            background: rgba(0,0,0,0.1);
        }
    .image_modal .content .scrollable {
        padding: 20px;
        max-height: calc(100% - 80px);
        overflow-y: auto;
    }
    .image_modal button.submit {
        padding: 10px;
        margin: 0 auto;
    }
    .image_modal.image_picker .image_preview {
        display: none;
    }

    .image_modal #image_details .image_preview > img {
        max-height: 150px;
    }

/* Image Results */
.image_results {
    background: #ccc;
    padding: 10px;
}
.image_results nav.pagination {
    text-align: right;
    margin-bottom: 10px;
}
    .image_results nav.pagination span.count {

    }
    .image_results nav.pagination ul.pages {
        margin: 0;padding: 0;
        display: inline-block;
    }
        .image_results nav.pagination ul.pages li {
            margin: 0;
            list-style: none;
            display: inline-block;
            border-left: 1px solid #666;
            padding: 3px 5px;
            cursor: pointer;
        }
        .image_results nav.pagination ul.pages li:hover {
            background: #aaa;
        }
        .image_results nav.pagination ul.pages li.active {
            background: #666;
            color: white;
            cursor: default;
        }
.image_results ul.images {
    margin: 0;padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: flex-start; /* otherwise they are all same height */
    row-gap: 20px;
    column-gap: 20px;
}
    .image_results ul.images li {
        margin: 0;
        padding: 10px;
        list-style: none;
        background: white;
        width: calc(25% - 15px);
        text-align: center;
    }
        .image_results ul.images li a {
            display: block;
            word-wrap: break-word;
        }
        .image_results ul.images li img {
            display: block;
            width: 100%;
        }
        .image_results ul.images li .larger {
            margin-top: 10px;
        }

/* Dashboard */

section.dashboard {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px;
}
    section.dashboard .part {
        width: 400px;
    }
    section.dashboard .part .title {
        font-weight: bold;
        font-size: 1.2em;
        text-align: center;
        background: #ccc;
        padding: 5px 0;
    }
    section.dashboard .part table.index {
        margin-top: 0;
    }

/* Publishing page */

body.publishing .dashboard form.edit {
    background: #eee;
    margin-top: 0;
    padding: 20px;
}
    body.publishing .dashboard form.edit button.submit {
        width: 100%;
        margin-top: 0;
    }
body.publishing th.status {
    width: 20px;
}
body.publishing th.time {
    width: 54%;
}
body.publishing td.one_line {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 0; /* Needed since it's a td */
    color: #999;
}
body.publishing td.one_line:hover {
    overflow: initial;
    text-overflow: initial;
    z-index: 99;
    position: relative;
}
body.publishing td.one_line span.params {
    font-size: 0.9em;
    padding-left: 15px;
}
body.publishing td.one_line a.name {
    color: black;
}

/* Data table */
section.main table.data {
    margin-top: 20px;
}
section.main table.data pre {
    white-space: pre-wrap;
}
section.main table.data tr td:first-child {
    font-weight: bold;
    text-align: right;
    padding-right: 10px;
    white-space: nowrap;
    vertical-align: top;
}
.comment_icons {
    width: 35px;
}
.id_space{
    width: 5%;
}
.post_space{
    width: 15%;
}
.user_space{
    width: 12%;
}
.author_name_space{
    width: 18%;
}

.comment_space.th,
.comment_space.td {
    white-space: normal !important;
    word-break: keep-all !important;
}
.created_space{
    width: 10%;
}
.status_space{
    width: 10%;
}
.actions_space{
    width: 90px;
}
.pagination_comments{
    padding: 0 20px 20px;
    width: calc(100% - 252px);
    height: 40px;
    background-color: black;
    bottom: 0;
    text-align: center;
}

.pagination_comments_list{
    padding: 0 20px 20px;
    height: 40px;
    background-color: black;
    bottom: 0;
    text-align: center;
}


/* Styles for module */

.custom-table {
    border-collapse: collapse;
    width: 100%;
  }

  .custom-table th,
  .custom-table td {
    padding: 10px;
    text-align: left;
  }


  .custom-table button {
    background-color: transparent;
    border: none;
    outline: none;
  }

  .input-document,
  .input-link{
    padding: 10px;
    box-sizing: border-box;
    font-size: 14px;
    width: 230px;
    border: 1px solid #ccc;
    border-radius: 4px;
  }

  .input-Date{
    padding: 10px;
    box-sizing: border-box;
    font-size: 14px;
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 4px;
  }


  /* End of styles for link module */


.boton {
    cursor: pointer;
}

.input-Date {
    cursor: pointer;
}

#BodyinputsTable tr:first-child td:last-child button:nth-child(2) {
    display: none;
  }

#BodyinputsTable tr:last-child td:last-child button:nth-child(3) {
      display: none;
    }

#BodyPeerReviewinputsTable tr:first-child td:last-child button:nth-child(2) {
    display: none;
}

#BodyPeerReviewinputsTable tr:last-child td:last-child button:nth-child(3) {
    display: none;
}

#BodyPeerReviewinputsTable tr:first-child td:last-child button:nth-child(2) {
    display: none;
}

#BodyPeerReviewinputsTable tr:last-child td:last-child button:nth-child(3) {
    display: none;
}

.input_reference_info{
    width: 500px;
}

.referencesTitle{
    background-color:DEDEDE;
}
#referenceSectionTable span{
    font-size: 18px!important;
}
#referenceSectionTable{
    background-color:EFEEEE;
}

#BodySectionsTable tr:first-child td:last-child button:nth-child(1){
    display: none;
  }

#BodySectionsTable tr:last-child td:last-child button:nth-child(2) {
      display: none;
    }


/* Peer Reviews */
.add_Author {
    background-color: lightslategray; /* Color de fondo verde */
    color: white; /* Color de texto blanco */
    padding: 10px 20px;
    font-size: 16px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
  }


  .custom-table_2 {
    border-collapse: collapse;
    width: 100%;
  }

  .custom-table_2 th,
  .custom-table_2 td {
    padding: 2px;
    text-align: left;
  }

  .inputid{
    width: 25px;
  }

#PeerReviewsTable tr:first-child td:last-child button:nth-child(1){
    display: none;
}

#PeerReviewsTable tr:last-child td:last-child button:nth-child(2) {
      display: none;
}

#PeerReviewsTable tr:last-child td:last-child button:nth-child(2) {
        display: none;
}

  .input-title_published-articles{
    padding: 10px;
    box-sizing: border-box;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
    width: 460px;
  }

  .input-id_published{
    padding: 10px;
    box-sizing: border-box;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
    width: 50px;
  }


.boton_2 {
    cursor: pointer;
    background-color: transparent;
    border-color: transparent;
}

body.Author_List_Page  {
            font-family: Arial, sans-serif;
            background-color: #f0f0f0;
            margin: 0;
            padding: 20px;
        }

        .popup-containerAuthors {
            max-width: 850px;
            height: 500px;
            overflow: auto;
            padding: 20px;
            background-color: #fff;
            box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
        }

        .Authors_Table {
            width: 100%;
            border-collapse: collapse;
            margin-top: 20px;
        }

        .Authors_Table th,
        .Authors_Table td {
            padding: 12px 15px;
            text-align: left;
            border-bottom: 1px solid #ddd;
        }

        .Authors_Table th {
            background-color: #007bff;
            color: #fff;
        }

        .Authors_Table td {
            background-color: #fff;
        }

        .Authors_Table tr:nth-child(even) td {
            background-color: #f2f2f2;
        }
/*Pagination style */
    .pagination_container{
        width: 97.5%;
        margin: 0 auto;
        padding: 1px;
        display: flex;
        text-align: center;
        gap: 1rem;
        justify-content: center;
    }
    .pager__item a{
        text-decoration: none;
        color: #666;
    }
    .pager__item{
        height: 1.5rem;
        width:  2rem;
        max-width: 3rem;
        border-radius: 5px;
        padding: 1px;
        text-align: center;
        color: #666;
        cursor: pointer;
        background-position: center;
        background-repeat: no-repeat;
        background-size: contain;
    }
    .pager__item--active
    ,.pager__item--active a{
        background-color: #105197;
        color: white!important;
    }
    .pager__item:hover
    ,.pager__item:hover a{
        background-color: #105197;
        color: white;
    }
     .pager__item:first-child:hover
    ,.pager__item:last-child:hover {
        background-color: white;
        color: white;
    }

    .pager__item--prev{
        background-image: url(/cms-assets/svg/chevron_left.svg);
        background-color: #66666615;
    }
    .pager__item--prev_double{
        background-image: url(/cms-assets/svg/double_arrow_left.svg);
        background-color: #66666615;
    }
    .pager__item--next_double{
        background-image: url(/cms-assets/svg/double_arrow_right.svg);
        background-color: #66666615;
    }
    .pager__item--next{
        background-image: url(/cms-assets/svg/chevron_right.svg);
        background-color: #66666615;
    }
    .pager__item_disabled{
        background-color: white;
        display: none;
    }

.search_author_form {
    padding: 0px 0px 0px 33px;
}

/*end pagination*/
@media (max-width: 768px) {
            .Authors_Table {
                box-shadow: none;
                overflow-x: auto;
                display: block;
            }

            .Authors_Table thead,
            .Authors_Table tbody,
            .Authors_Table th,
            .Authors_Table td,
            .Authors_Table tr {
                display: block;
            }

            .Authors_Table thead tr {
                position: absolute;
                top: -9999px;
                left: -9999px;
            }

            .Authors_Table tr {
                margin-bottom: 15px;
            }

            .Authors_Table td {
                border-bottom: none;
                position: relative;
                padding-left: 50%;
                text-align: right;
            }

            .Authors_Table td:before {
                position: absolute;
                top: 6px;
                left: 6px;
                width: 45%;
                padding-right: 10px;
                white-space: nowrap;
                content: attr(data-label);
                font-weight: bold;
            }
        }
        .pagination_button_container div a{
            cursor: pointer!important;
            background-color: #007bff;
           }



        #create_new_section_button:hover {
            cursor: pointer;
        }


        .warning_old_post {
            background-color: #ffcc00;
            color: #333;
            border: 1px solid #ff9900;
            border-radius: 5px;
            padding: 15px;
            width: 100%;
            text-align: center;
            display: block;
            margin: 20px auto;
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
        }

        .warning_old_post strong {
            display: block;
            font-weight: bold;
            margin-bottom: 10px;
        }

        .hidden_message {
            visibility: hidden;
        }

        #unsave {
            background-color: #ffcc00;
            color: #333;
            border: 1px solid #ff9900;
            border-radius: 5px;
            padding: 15px;
            width: 100%;
            text-align: center;
            display: block;
            margin: 20px auto;
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
        }

        #articlesContainer table {
            width: 100%;
            border-collapse: collapse;
            margin: 20px 0;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        }

        #articlesContainer th,
        #articlesContainer td {
            padding: 12px;
            text-align: left;
            border-bottom: 1px solid #ddd;
        }

        #articlesContainer th {
            background-color: #007BFF;
            color: white;
        }

        #articlesContainer tr:hover {
            background-color: #f1f1f1;
        }

        #articlesContainer .container {
            background: white;
            border-radius: 5px;
            padding: 20px;
        }


        #articlesContainer tr:first-child td:last-child button:nth-child(1){
            display: none;
        }

        #articlesContainer tr:last-child td:last-child button:nth-child(2) {
            display: none;
        }

        #articlesContainer_v2 table {
            width: 100%;
            border-collapse: collapse;
            margin: 20px 0;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        }

        #articlesContainer_v2 th,
        #articlesContainer_v2 td {
            padding: 12px;
            text-align: left;
            border-bottom: 1px solid #ddd;
        }

        #articlesContainer_v2 th {
            background-color: #007BFF;
            color: white;
        }

        #articlesContainer_v2 tr:hover {
            background-color: #f1f1f1;
        }

        #articlesContainer_v2 .container {
            background: white;
            border-radius: 5px;
            padding: 20px;
        }

        .peer-review-history-container {
            width: 80%;
            margin: 0 auto;
            padding: 20px;
            background-color: #f9f9f9;
            border-radius: 8px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        }


        .peer-review-history-title {
            font-size: 24px;
            font-weight: bold;
            color: #333;
            margin-bottom: 20px;
            text-align: center;
        }


        .peer-review-history-table {
            width: 60%;
            margin: 0 auto;
            border-collapse: collapse;
            margin-top: 20px;
        }


        .table-peer-review-header {
            background-color: #007bff;
            color: white;
            padding: 10px;
            text-align: left;
            font-size: 14px;
        }


        .table-peer-review-history-row:nth-child(even) {
            background-color: #f2f2f2;
        }

        .table-peer-review-history-row:nth-child(odd) {
            background-color: #ffffff;
        }

        .table-cell {
            padding: 10px;
            font-size: 14px;
            color: #555;
            border: 1px solid #ddd;
        }

        .peer-review-no-data {
            text-align: center;
            font-style: italic;
            color: #999;
            padding: 20px;
        }

        .peer-review-history-container_h {
            width: 80%;
            margin: 0 auto;
            padding: 20px;
            background-color: #f9f9f9;
            border-radius: 8px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        }

        .peer-review-history-title_h {
            font-size: 24px;
            font-weight: bold;
            color: #333;
            margin-bottom: 20px;
            text-align: center;
        }

        .peer-review-history-table_h {
            width: 100%;
            border-collapse: collapse;
            margin-top: 20px;
        }

        .table-peer-review-header_h {
            background-color: #007bff;
            color: white;
            padding: 10px;
            text-align: left;
            font-size: 14px;
        }

        .table-peer-review-history-row_h:nth-child(even) {
            background-color: #f2f2f2;
        }

        .table-peer-review-history-row_h:nth-child(odd) {
            background-color: #ffffff;
        }

        .table-cell_h {
            padding: 10px;
            font-size: 14px;
            color: #555;
            border: 1px solid #ddd;
        }

        .peer-review-no-data_h {
            text-align: center;
            font-style: italic;
            color: #999;
            padding: 20px;
        }

.peer_review_request_main{
    width: 100%!important;
}
.article_data_table:hover{
    background-color: #66666622;
}
.article_data_table{
    min-width: 20rem;
    width: 20rem;
    cursor: pointer;
}
.review_data{
    display: flex;
    gap: .5rem;
    width: 100%;
    align-items: center;
}
.review_data img{
    width:  5rem!important;
    height: 3rem!important;
    min-width: 5rem;
    min-height: 3rem;
    object-fit: cover;
    border-radius: .2rem;
}
.review_data div{
    width: 100%;

}
.icon_data{
    display: flex;
    gap: .5rem;
    width: 100%;
    align-items: center;
    justify-content: center;
}
.icon_data img{
    width: 1.5rem;
    height: 1.5rem;
}
.review_options:hover{
    transform: scale(1.05);
    background-color: #5d5a5a0f;
}
.review_options{
    justify-content:stretch!important;
    width: 14rem;
    cursor: pointer;
    transition: transform 0.5s ease;
}
.review_data_center{
    text-align: center;
    align-items: center;
    margin: 0 auto!important;
    width: 10rem;
}
.review_status{
    width: 5rem;
}
.actions_table_review img:hover{
    transform: scale(1.3);
}
.actions_table_review img{
    cursor: pointer;
    transition: transform 0.5s ease;
}

.actions_table_review tr{
    background-color: transparent!important;
}
.actions_table_review{
    width: 100%;
    text-align: center;
}
.actions_table_review img{
    width:  1.5rem;
    height: 1.5rem;
}
.top_article_data{
    display: flex;
    flex-direction:row;
    justify-content: space-between;
    color: #313131;
    font-size: .9rem;
    text-align: left;
}
.rigth_date{
    text-align: right;
}
.title_article{
    color: #01717E;
    font-weight:bold;
    font-size: .9rem;
    text-align: left;
}
.authors_articles{
    color: #313131;
    font-size: .9rem;
    text-align: left;
    text-overflow: ellipsis;
}
.author_data_name{
    cursor: pointer;
}
.author_data_name:hover{
    background-color: #66666622;
}

.Seach_Request_li_date{
    display: flex;
    flex-direction: row;
    align-items:flex-start;
    text-align: center;

}
.Seach_Request_li_date input{
    height: 60%;
    border-radius: .2rem;
}
.Seach_Request_li_date button{
    border: none;
    background-color: #3B8844;
    color: white;
    width: 8rem;
    height: 60%;
    border-radius: .2rem;

}
.black_curtain{
    width: 100vw;
    height: 100vh;
    background-color: #31313182;
    position: fixed;
    z-index: 9999;
}
.add_new_peer_review{
    width: 50vw;
    min-height: 60%;
    position: fixed;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10000;
    border-radius: .2rem;
    background-color: white;
    padding: 1rem;
}
.top_peer_review{
    width: 95%;
    border-bottom: 1px solid #01717E;
    margin: 0 auto;
    text-align: center;
    color: #01717E;
    font-size: 1.2rem;
    font-weight: bolder;
}
.peer_review_data{
    width: 95%;
    margin: 0 auto;
    text-align: center;
    color: #01717E;
    font-size: .9rem;
    font-weight: bolder;
    display: flex;
    flex-direction: row;
    gap: 2rem;
}
.peer_review_data div{
    display: flex;
    flex-direction:row;
    align-items: center;
    text-align: center;
    gap: 1rem;
}
.author_name_peer{
    color: black!important;
}
.peer_review_content{
    width: 95%;
    min-height: 35vh;
    margin: 0 auto;
}
.button_div{
    width: 95%;
    display: flex;
    justify-content: flex-end;
    margin:0 auto;

}
.button_div button{
    background-color: #01717E;
    color: white;
    font-size: 1.1rem;
    border: none;
    padding-top:    .5rem;
    padding-bottom: .5rem;
    padding-left:  1.5rem;
    padding-right: 1.5rem;
    border-radius: .2rem;
    cursor: pointer!important;
}
.close_button{
    background-image: url(/cms-assets/svg/cancel.svg);
    display: flex;
    width:  1.5rem;
    height: 1.5rem;
    background-size: contain;
    background-repeat: no-repeat;
    border: none;
    background-color: transparent;
    position: absolute;
    right: 10px;
    top: 5px;
    cursor: pointer;
}
.hidden_section{
    display: none;
}
#search_peer_button{
    cursor: pointer;
}
.responsive_form{
    display: none;
}
.actions_responsives{
    display: none;
}
.references_table_container{
    width: 100%;
    height: auto;
    overflow: visible;
    box-sizing: border-box;
}
#referencesTable {
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
}
#referencesTable th, #referencesTable td {
    padding: 5px;
    word-wrap: break-word;
    overflow: hidden;
    text-align: center;
}
#referenceSectionTable tr{
    border-bottom: 1px solid white;
}
.reference_h{
    position: relative;
    display: flex;
    justify-content:  center;
    width: 100%;
}
.reference_h button{
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}
.issues_actions_container{
    display: flex;
    justify-content: center;
    vertical-align: middle;
    text-align: center;
    width: 100%;
    gap: 5px;
}
.modal_issues{
    min-width: 35% ;
    min-height: 200px ;
    background-color: white;
    position: fixed;
    z-index: 99999;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba( 255, 255, 255, 1 );
    box-shadow: 0 2px 12px 0 rgba( 31, 38, 135, 0.37 );
    backdrop-filter: blur( 0px );
    -webkit-backdrop-filter: blur( 0px );
    border-radius: 10px;
    border: 1px solid rgba( 255, 255, 255, 0.18 );
    text-align: center;
    padding: 10px;
    align-items: center;
}


.modal_issues hr {
    padding: 2px;
    background-color: #01717E;
}
.modal_issues p {
    color: #01717E;
    font-size: 25px;
    font-weight: bold;
}
.modal_issues table select{
    width: 100%;
    text-align: center;
    height: 25px;
}
.modal_issues table input{
    width: 100%;
}
.modal_issues table button{
    word-wrap: nowrap;
    white-space: nowrap;
    color: #555;
    height: 25px;
    cursor: pointer;
}
.modal_issues section{
    display: flex;
    justify-content: flex-end;
    width: 450px;
    padding-right: 10px;
}
.modal_issues table{
    color: black!important;

    width: 450px;
    min-width: 400px;
    text-align: right;
    border-spacing: 10px;
}
.more_one_element{
    display: flex;
    justify-content: space-between;
    gap: 5px;
    vertical-align: middle;
    align-items: center;
}
.center_title{
    justify-content: center!important;
    padding-top: 0!important;
    width: 450px!important;
    margin: 0 auto;
}
.save_button_issues{
    width:  100px;
    height: 30px!important;
    color: #555;
}
.preview_url{
    cursor: pointer!important;
}
.options_prev a{
    padding: 1rem;
    font-weight:100;
    cursor: pointer;
    border: 2px outset var(--btn-info-border);
    text-align: center;
    align-items: center;
    vertical-align: middle;
    display: flex;
    gap: 1rem;
}
.options_prev{
    display: flex;
    justify-content: center;
    text-align: left;
    gap: 1rem;
    font-size: 1rem;
}
.prev_url_pass_options{
    width: 70%;

    position: fixed;
    top: 55%;
    left: 55%;
    transform: translate(-50%, -50%);
    background: rgba( 255, 255, 255, 1 );
    box-shadow: 0 3px 15px 0 rgba( 31, 38, 135, 0.37 );
    backdrop-filter: blur( 5px );
    border-radius: 10px;
    border: 1px solid rgba( 255, 255, 255, 0.18 );
    z-index: 99999;
    border-radius: .5rem;
    font-size: 1.5em;
    font-weight: bold;
    text-align: center;
    padding: 2rem;
}
.hidden_options{
    display: none!important;
}
.prev_url_pass_options  table{
    width: 100%;
    padding: .5rem;
    border-collapse: collapse;
    max-height: 90%;
    overflow: hidden;
    text-align: center;
}
.prev_url_pass_options  table thead tr th{
    background-color: black;
    color: white;
    border: 1px solid white;
}
.url_prev_style{
    text-overflow:clip;
    overflow: hidden;
    
}
.prev_url_pass_options  table tr td {
    padding: .2rem;
    border: 1px solid white;
    background-color: #ede7e7;
    word-wrap: break-word;
    white-space: wrap;

}
.td_url{
    width: 1rem;
}
.icons_actions_external button{
    background-color: transparent;
    border: none;

}
.icons_actions_external img{
    width: 1.5rem;
    cursor: pointer!important;
    position: relative!important;
    z-index: 32!important;
}

.icons_actions_external{
    display: flex;
    justify-content: center;
}
.close_img_modal{
    position: fixed;
    top: 0;
    right: 0;
    width: 1rem;
    cursor: pointer!important;
}
.active_url{
    color: #3B8844;
    font-weight: bold;
}
.not_active_url{
    color: crimson;
    font-weight: bold;
}
.loader-container-pdf {
    position: relative;
    width: 100%; 
    height: 100%; 
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader-pdf {
    border: 4px solid #f3f3f3; 
    border-top: 4px solid #3498db; 
    border-radius: 50%;
    width: 20px;
    height: 20px; 
    animation: spin 1s linear infinite;
}
.editorial_section input{
    width: 20%;
    text-align: center;
}
.editorial_section label{
    font-weight: bold;
}
.editorial_section{
    width: 100%;
    display: flex;
    gap: 3rem;
}
.container_sub_title h1{
    margin: 0 auto;
}
.container_sub_title{
    width: 100%;
    display: flex;
    justify-content: space-between;
    font-size: 20px;
    vertical-align: middle;
    align-items: center;
}
.editorial_board_form{
    gap: 0px!important;
}
.table_container_section{
    width: 100%;
}
.new_editorial_member{
    height: 2rem;
    background: var(--btn-default);
    border: 2px outset var(--btn-default-border);
}
.no_members{
    text-align: center;
    background-color: #e4e1e1!important;

}

.modal_editorial_board{
    width: 80%;
    position: fixed;
    top: 50%;
    left: 57%;
    transform: translate(-50%, -50%);
    background: rgba( 255, 255, 255, 1 );
    box-shadow: 0 3px 15px 0 rgba( 31, 38, 135, 0.37 );
    backdrop-filter: blur( 5px );
    border-radius: 10px;
    border: 1px solid rgba( 255, 255, 255, 0.18 );
    z-index: 44;
    border-radius: .5rem;
    font-size: 1.5em;
    font-weight: bold;
    text-align: center;
    padding: 1rem;
}
.close_img_modal_editorial{
    position: fixed;
    top: 0;
    right: 0;
    width: 1.5rem;
    cursor: pointer!important;
}
.black-modal-curtain{
    width: 100%;
    height: 100vh;
    position: fixed;
    background-color: #31313127;
}
.form_container_member{
    width: 100%;
    display: flex;
    justify-content:space-between ;
    padding: 1rem;
    gap: 2rem;
    vertical-align: middle;
    align-items: center;

}
.img_form_container{
    width: 12rem;
    height: 10rem;
    border-radius: 90%;
    margin-top: 1rem;
    position: relative;
    display: block; 
    justify-content: center; 
    align-items: center; 
    border-spacing:3px;
    flex-direction: column;
    font-size: 1rem;
    color: #313131;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 0 6px 7px 0 #00000061;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.18);
}
.hr_div{
    width: 100%;
    margin: 0 auto;
    background-color: #01717E;
    height: 2px;

}
.description_member {
    width: 100%;
}
.add_memeber_modal{
    padding: .5rem 2rem .5rem 2rem ;
}
#img_form_container_img {
    width: 50%; 
    height: auto; 
    object-fit: contain; 
}
.add_memeber_modal{
    background-color: #01717E;
    color: white;
    border: none;
    font-size: 1.2rem;
    border-radius: 5px;
    cursor: pointer;
}
.tr_memebers td{
    padding: 1rem!important;
    vertical-align: middle;
}
.img_author_member{
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin: 0 auto; 
}
.description_td{
    min-width: 50rem;
}
.disabled_button{
    opacity: 0%;
    width: 2rem;
}
.br_container{
    width: 100%;
    height: 2rem;
}
.td_img_container{
    min-width: 7.5rem;
    max-width: 7.5rem;
    min-height: 7.5rem;
    max-height: 8.5rem;
    height: 15rem;
    border-radius: 90%;
    margin-top: 1rem;
    position: relative;
    display: block; 
    justify-content: center; 
    align-items: center; 
    border-spacing:3px;
    flex-direction: column;
    font-size: 1rem;
    color: #313131;
    position: relative;
    overflow: hidden;
    box-shadow: 0 6px 7px 0 #00000061;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.18);
}
.author_sections{
    width: 100%;
    margin: 0  auto;

}
.content_fuzzy_section{
    display: flex;
    width: 100%;
    justify-content: flex-end;
    padding-top: 1rem;
    padding-bottom: 2rem;
    gap: 1rem;
    align-items: self-end;
}
.author_sections section button{
    margin-right:0 ;
    background: var(--btn-default);
    border: 2px outset var(--btn-default-border);
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: inherit;
    cursor: pointer;

}
.ckeditor_fuzzy_container{
    flex: 7;
}
.author_sections section h1{
    margin: 0 auto;
    font-size: 1.5rem;
}
.author_sections section{
    display: flex;
}
.fuzzy_section {
    flex: 3;
    padding-left: .5rem;
    padding-right: .5rem;
}
.compress_version{
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.compress_version_search input::placeholder{
    text-align: center!important;

}
.compress_version_search{
    width: 100%!important;
    margin: 0 auto;
    text-align: center;
    position: relative;
}
.fuzzy_column_format{
    width: 100%!important;
    display: flex;
    gap: .5rem;
}
.fuzzy_column_format > .multi  {
    width: 84%;
}
.fuzzy_column_format > .multi select {
    width: 100%;
    height: 100%;
}
.arrow_compress_container{
    display: flex;
    justify-content: space-around;
    width: 100%;
    min-height: 47px;
}
.ul_compress_results {
    max-height: 95px !important;
    position: absolute;
    width: 100%;
    border-bottom-left-radius: .2rem;
    border-bottom-right-radius: .2rem;
    background-color: #ffffff !important;
    filter: drop-shadow(2.5px 2.5px 5px rgba(0, 0, 0, 0.5));
}
#add-corresponding-authors{
    margin-bottom:0 ;
    text-align: center;
}
.fuzzy_other_sections section{
    flex:3;

}
.fuzzy_other_sections h1{
    font-size: 1.5rem;
}
.fuzzy_other_sections{
    display: flex;
    width: 100%;
    margin: 0 auto;
 
    gap: 7rem;
    justify-content: start;
    text-align: center;

}
.other_sections{
    min-height: 143px
}


.afiliation_section_button button{
    width: auto;
    height: fit-content;
}
.afiliation_section_button h1{
    margin: 0 auto !important;
}
.afiliation_section_button{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 1rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@media  screen and (max-width:742px){
    .content_fuzzy_section{
        flex-direction: column;
        justify-content: center;
    }
    .fuzzy_other_sections{
        flex-direction: column;
        justify-content: center;
    }
}
@media  screen and (max-width:1412px){
    .body_reference{
        display:flex;
        flex-direction: column;
        justify-content: center;
    }
    .thead_body_sections{
        display: none;
    }
}
@media  screen and (max-width:1093px){
    .thead_external{
        display: none;
    }
    .external_preview_information tbody {
        display: block;
        width: 100%;
    }
    .external_preview_information {
        display: block;
        table-layout: fixed;
    }
    .external_preview_information tr {
        display: block;
        width: 100%;
        margin-bottom: 10px; 
      }
    
      .external_preview_information td {
        display: block;
        width: 100%;
        text-align: right;
        padding-left: 50%;
        position: relative;
        text-align: center!important;
      }
    
      .external_preview_information td::before {
        content: attr(data-label); 
        position: absolute;
        left: 10px;
        font-weight: bold;
      }
      #id_prev_url_td{
        visibility: hidden!important;
      }
      .options_prev a{
          text-align: center;
      }
      .options_prev{
        flex-direction: column;
      }
}
@media  screen and (max-width:800px){
    .referencesTitle{
        display: none!important;
    }
    #referencesTable tbody {
        display: block;
        width: 100%;
        text-align: center!important;
    }
    #referencesTable {
        display: block;
        table-layout: fixed;
        text-align: center!important;
    }
    #referencesTable tr {
        display: block;
        width: 100%;
        margin-bottom: 10px; 
      }
    
    #referencesTable td {
        display: block;
        width: 100%;
        position: relative;
        text-align: center!important;
      }
    
    #referencesTable td::before {
        content: attr(data-label); 
        position: absolute;
        left: 10px;
        font-weight: bold;
      }
}
@media  screen and (max-width:1411px){
    .tr_memebers td{
        display: block; 
    }
    .number_of{
        text-align: center;
    }
    .thead_table{
        display: none;
    }
    .description_td{
        min-width: 0rem;
    }
    nav.cms{
        width: fit-content;
    }
    .container_sub_title{
        flex-direction: column;
        gap: 1rem;
    }
}
.img_news{
    width:100px;
    border-radius: 5px;
}
.tr_news_item{
    text-align: center!important;
    width: 200px!important;      
    white-space: normal;   
    word-wrap: break-word;  
    overflow-wrap: break-word; 
cursor: move;
}
.sortable-chosen {
  background-color: #e0f7fa;
}
.sortable-ghost {
  opacity: 0.4;
}
.modal_new{
    width: 41%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 10px;
    z-index: 10;
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(0.6px);
    -webkit-backdrop-filter: blur(0.6px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    text-align: center;
}
.hidden_m{
    display:none;
}
.black_curtain_news{
    width: 100vw;
    height: 100vh;
    background-color: #31313182;
    position: fixed;
    z-index: 9;
    top:0;
}
.new_item{
    color:#01717E;
    font-weight: bolder;
    font-size: 25px;
}
.modal_new table{
    padding: 10px;
    width: 100%;
}
.input_med{
    width: 100%;
    height: 29px;
}
@media screen and (max-width: 1084px) {
    .tr_news_item{
        display: flex;
        flex-direction: column;
        border-bottom: 5px solid #DAE6E8 !important;
        width: auto !important;
    }
    .thead_colums{
        display:none;
    }
    .tr_news_item td{
        width: 100%;
        text-align: center;
    }
    /* .table_news_items{
        width:100%;
        display: flex;
        justify-content: space-evenly;
    } */
    .img_news{
        height: 7rem;
        width: 10rem;
        border-radius: 5px;
        object-fit: cover;
    }
    section.main {
        padding: 10px;
    }

}