/* empiar_da.css

 Authors:
		Andrii Iudin

 Description:
 		css file for the EMPIAR deposition and annotation 
 		system

 Date:
		20160606

 Copyright [2013-20] EMBL - European Bioinformatics Institute
 Licensed under the Apache License, Version 2.0 (the
 "License"); you may not use this file except in
 compliance with the License. You may obtain a copy of
 the License at
 http://www.apache.org/licenses/LICENSE-2.0
 Unless required by applicable law or agreed to in writing,
 software distributed under the License is distributed on
 an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 KIND, either express or implied. See the License for the
 specific language governing permissions and limitations
 under the License.
 
 Version history:
0.1, 2016/06/06: Separated the deposition-related styles.

 */

body {
    max-width: 100% !important;
}

div#main-content-area {
    max-width: 100rem;
}

div#main-content-area-annotation {
    max-width: 400rem;
}

#populate_forms_from_prev {
    margin-top: 20px;
    margin-bottom: 10px;
}

select {
    max-width: 100%;
    text-overflow: ellipsis;
}

select option {
    max-width: 100%;
    text-overflow: ellipsis;
}

select#empiar_deposition_part_select {
    max-width: 20%;
    text-overflow: ellipsis;
}

select#empiar_deposition_fill_select {
    max-width: 50%;
    text-overflow: ellipsis;
}

.copy-dir {
    cursor: pointer;
    cursor: hand;
    word-wrap: break-word;
    width: 150px;
}

table.empiarDepositionTable > tbody > tr > td > input[type=text], table.empiarDepositionTable > tbody > tr > td > input[type=email], table.empiarDepositionTable > tbody > tr > td > input[type=password], table.empiarDepositionTable > tbody > tr > td > textarea, table.empiarDepositionTable > tbody > tr > td > select {
    width: 100%;
    margin: -3px;
    border: 2px inset #eee;
}

/*[type='text'], [type='password'], [type='date'], [type='datetime'], [type='datetime-local'], [type='month'], [type='week'], [type='email'], [type='number'], [type='search'], [type='tel'], [type='time'], [type='url'], [type='color'], textarea {*/
/*    margin-bottom: 0.2rem;*/
/*}*/

tr > td > ul, tr > td > ol, tr > td > dl, tr > td > span > select {
    margin-bottom: 0.2rem;
}

table.empiarDepositionTable > tbody > tr > td > span.copyable_tooltip.icon-generic::before {
    color: #000;
}

table.empiarDepositionTable > tbody > tr > th {
    vertical-align: top;
}

table.empiarDepositionTable > tbody > tr > th > label, ul.inline-label > li > label {
    padding-top: 8px;
}

div.dataTables_scroll > div.dataTables_scrollBody {
    overflow-y: hidden !important;
}

.empiarTable.annotation-colours:not(release-me) tbody tr:nth-child(odd) {
    background: none;
}

.empiarTable.annotation-colours:not(release-me) tbody tr:nth-child(even) {
    background: none;
}

table.empiarTable > tbody tr.release-me.odd,
table.empiarTable.annotation-colours > tbody tr.release-me.odd,
table.empiarTable > tbody tr.release-me.even,
table.empiarTable.annotation-colours > tbody tr.release-me.even {
    background-color: lime;
}

table.empiarTable.annotation-colours > tbody > tr.wait {
    background-color: #cccccc;
}

table.empiarTable.annotation-colours > tbody > tr.releasing {
    background-color: #b6d7a8;
}

table.empiarTable.annotation-colours > tbody > tr.depositor-approval-required {
    background-color: #f9cb9c;
}

table.empiarTable.annotation-colours > tbody > tr.approved-for-release {
    background-color: #b4a7d6;
}

table.empiarTable.annotation-colours > tbody > tr.changes-requested-from-annotators {
    background-color: orangered;
}

table.empiarTable.annotation-colours > tbody > tr.rejected {
    background-color: #f4cccc;
}

table.empiarTable.annotation-colours > tbody > tr.wdrn {
    background-color: #e06667;
}

.inline-button-div {
    display: inline-block;
    cursor: pointer;
}

.table-search-started {
    filter: alpha(opacity=20); /* internet explorer */
    -khtml-opacity: 0.2; /* khtml, old safari */
    -moz-opacity: 0.2; /* mozilla, netscape */
    opacity: 0.2; /* fx, safari, opera */
}

.table-search-done {
    filter: alpha(opacity=1); /* internet explorer */
    -khtml-opacity: 1; /* khtml, old safari */
    -moz-opacity: 1; /* mozilla, netscape */
    opacity: 1; /* fx, safari, opera */
}

ul.inline-label > li, ul.inline-label > li > label {
    display: inline-block;
}

ul.inline-label > li > label > [type="radio"] {
    margin: 0;
}

.empiarDepositionElement {
    padding-bottom: 4%;
}

.empiarCitationElement {
    border: 5px solid #f1f1f1;
    padding-bottom: 2%;
}

.empiar_citation_formset_form {
    padding-bottom: 2%;
}

.errorlist, .empiarDepositionWarning {
    color: red;
}

.errorlist:empty {
    display: none;
}

.empiarRightsSelection {
    display: none;
    margin-left: 10px;
}

.rights-width {
    width: 218px;
}

.modal-close {
    background: none;
}

.empiar_form_separation {
    margin-top: 20px;
}

tr.empiar-mandatory-field, table tbody tr:nth-child(2n).empiar-mandatory-field {
    background-color: #ffa50066;
}

.empiarAuthorMandatoryField, a.empiarAuthorMandatoryField:hover, a.empiarAuthorMandatoryField:focus, a.empiarAuthorMandatoryField:active, .empiarDepositionTable > tbody > tr > th > label > a {
    border-bottom-style: none;
    color: #000;
}

i.empiarFormSavedAndValid:before, i.empiarFormInvalid:before, i.empiarFormNoData:before, i.empiarFormPended:before {
    content: "";
    display: block;
    width: 13px;
    height: 13px;
    float: left;
    position: relative;
    margin-top: 0.15em;
}

i.empiarFormSavedAndValid:before {
    background: url('../images/form_has_been_filled_and_validated.png') no-repeat;
}

i.empiarFormInvalid:before {
    background: url('../images/form_has_invalid_data.png') no-repeat;
}

i.empiarFormNoData:before {
    background: url('../images/form_has_not_been_opened.png') center center no-repeat;
}

i.empiarFormPended:before {
    background: url('../images/form_has_some_data.png') no-repeat;
}

.empiarDepositionMenuGroup > li > a {
    border-bottom-style: none;
}

ul.empiarDepositionMenu {
    margin: 0 0 0;
}

#empiar-deposition-image-wrap {
    margin: 0px;
    display: none;
}

#empiar-deposition-image {
    max-width: 100%;
    max-height: 100%;
}

.empiar-warning {
    color: red;
    font-size: 2em;
}

.empiarReleaseError {
    color: red;
}

.helptext {
    color: #4e7713;
}

.initially_hidden_el {
    display: none;
}

#content-main div#locking_notification, .locking_notification {
    border: 2px solid #f00;
    padding: 5px;
    display: none;
}

div#locking_notification {
    width: fit-content;
}

.help-tip {
    position: relative;
    cursor: default;
    margin: 0 5px 0 5px;
}

.help-tip:before {

}

.help-tip:hover p {
    display: block;
    transform-origin: 100% 0%;

    -webkit-animation: fadeIn 0.3s ease-in-out;
    animation: fadeIn 0.3s ease-in-out;

}

.help-tip p { /* The tooltip */
    display: none;
    text-align: left;
    background-color: #d8e5d8;
    padding: 10px;
    position: absolute;
    border-radius: 3px;
    box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.2);
    right: -8px;
    top: 26px;
    color: black;
    font-size: 13px;
    line-height: 1.4;
    z-index: 99999;
    width: 300px;
}

.help-tip.right-help p {
    right: -280px;
    top: 22px;
}

.help-tip.right-help p:before {
    right: 287px;
}

.ui-tooltip-content, div.ui-tooltip, div.ui-tooltip-content {
    background: #d8e5d8 none repeat scroll 0 0;
    font-style: normal;
    font-weight: normal;
    font-size: 100%;
    text-align: left;
    text-decoration: none;
    text-indent: 0;
}

.text_tooltip {
    background-color: antiquewhite;
}

.help-tip p:before { /* The pointer of the tooltip */
    position: absolute;
    content: '';
    width: 0;
    height: 0;
    border: 6px solid transparent;
    border-bottom-color: #1E2021;
    right: 10px;
    top: -12px;
}

.help-tip p:after { /* Prevents the tooltip from being hidden */
    width: 100%;
    height: 40px;
    content: '';
    position: absolute;
    top: -40px;
    left: 0;
}

/* CSS animation */

@-webkit-keyframes fadeIn {
    0% {
        opacity: 0;
        transform: scale(0.6);
    }

    100% {
        opacity: 100%;
        transform: scale(1);
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 100%;
    }
}

.dataTables_wrapper {
    width: 100%;
}

table.empiarTableWide {
    min-width: 100%;
}

.size-warning {
    background: none;
}

#releaseMonitor {
    border: 2px solid;
    padding: 5px;
    font-weight: bold;
    color: black;
    word-wrap: break-word;
}

figcaption {
    padding-left: 9px;
    padding-bottom: 18px;
}

figure > img {
    padding-left: 9px;
}

figure > img.tiny_manual_image {
    width: 260px;
}

figure > img.small_manual_image {
    width: 380px;
}

figure > img.medium_manual_image {
    width: 650px;
}

figure > img.large_manual_image {
    width: 1000px;
}

#toc ul ul, .toc ul ul {
    margin: 0 0 0 2em;
}

figure > img {
    padding: 1px;
    border: 1px solid #021a40;
}

figure > figcaption {
    font-style: italic;
    text-indent: 0;
}

td.wordBreakColum {
    word-break: break-all;
}

.scroll_pub_list {
    height: 400px;
    overflow-x: hidden;
    overflow-y: scroll;
    list-style-type: none
}

.scroll_pub_list > li > div {
    padding-top: 7px;
    padding-bottom: 10px;
}

.scroll_pub_list > li {
    border-top: 1px solid rgba(15, 70, 100, 0.12);
}

.doi_logo {
    width: 24px;
    margin: 0;
}

.europepmc_logo {
    width: 16px;
    height: 16px;
}

.all_citations {
    float: right;
    white-space: nowrap;
    padding-right: 4px;
}

.thorOrcidCopy > label > a, .thorOrcidCopy > label > a:visited {
    border-bottom-style: none;
}

.thorOrcidCopy > label > a > img {
    width: 15px;
    height: 15px;
}

li > img.keyboard_key {
    height: 30px;
}

table.empiarDepositionTable > tbody > tr > td > span > input, table.empiarDepositionTable > tbody > tr > td > span > textarea, table.empiarDepositionTable > tbody > tr > td > span > select {
    width: 100%;
    box-sizing: border-box;
    border: 2px inset #eee;
}

table.empiarDepositionTable > tbody > tr > td > br {
    display: none;
}

table.empiarDepositionTable > tbody > tr > td {
    width: 100%;
}

.flexible_span {
    overflow: hidden;
    left: -5px;
    position: relative;
}

@media screen and (min-width: 50em) {
    .flexible_span {
        display: block;
    }

    table.empiarDepositionTable > tbody > tr > td > .help-tip {
        float: right;
    }

    table.empiarDepositionTable > tbody > tr > td > button {
        float: right;
        margin-top: 8px;
    }
}

@media screen and (min-width: 0em) and (max-width: 50em) {
    .help-tip p::before {
        right: 87px;
    }

    span[data-icon="?"].help-tip p {
        top: 22px;
    }

    body div#jkit-lightbox-content {
        top: 10% !important;
        height: 80% !important;
        width: 70% !important;
        left: 15% !important;
    }
}

input[readonly] {
    background-color: LightGray;
}

body div#jkit-lightbox-content {
    top: 25%;
    height: 40%;
    width: 40%;
    left: 30%;
}

.line_with_table {
    padding: 0 18px;
    margin: 0 0 20px;
}

html.fontface h4.icon-functional::before {
    color: black;
}

table.empiarDepositionTable > tbody > tr > td > input.choice_other_other {
    border-bottom-color: black;
    border-right-color: black;
    margin-top: 10px;
}

.dialog-success > .ui-dialog-titlebar.ui-corner-all.ui-widget-header.ui-helper-clearfix.ui-draggable-handle {
    background: green;
}

.dialog-error > .ui-dialog-titlebar.ui-corner-all.ui-widget-header.ui-helper-clearfix.ui-draggable-handle {
    background: red;
}

.dialog-success > .ui-dialog-titlebar.ui-corner-all.ui-widget-header.ui-helper-clearfix.ui-draggable-handle > span.ui-dialog-title {
    color: white;
}

.dialog-txt-input {
    height: 100%;
}

.ui-widget-header {
    color: white;
}

.empiar-tabs li.ui-state-active, .empiar-tabs .ui-widget-content .ui-state-active, .empiar-tabs .ui-widget-header .ui-state-active, .empiar-tabs a.ui-button:active, .empiar-tabs .ui-button:active, .empiar-tabs .ui-button.ui-state-active:hover {
    background: white;
}

@keyframes blink {
    50% {
        color: transparent
    }
}

.loader__dot {
    animation: 1s blink infinite
}

.loader__dot:nth-child(2) {
    animation-delay: 250ms
}

.loader__dot:nth-child(3) {
    animation-delay: 500ms
}

.upload_verification_button {
    display: inline-block;
    width: auto;
    box-shadow: 1px 1px 1px grey;
    white-space: nowrap;
    height: 32px;
    margin: 20px 0 20px;
    background-color: darkslateblue;
    background-image: none;
    border: 0px;
    color: white;
    font-family: verdana;
    font-weight: 500;
    line-height: 1.538;
    padding: 0 19px;
    position: relative;
    text-align: center;
    letter-spacing: .21px;
    font-size: 14px;
}

a.upload_verification_button:link, a.upload_verification_button:hover, a.upload_verification_button:visited, a.upload_verification_button:active, a.upload_verification_button:focus {
    font-size: 21px;
    color: white;
}

input[type="submit"]:disabled, button:disabled {
    background: #dddddd;
    cursor: default;
}

[type="text"], [type="password"], [type="date"], [type="datetime"], [type="datetime-local"], [type="month"],
[type="week"], [type="email"], [type="number"], [type="search"], [type="tel"], [type="time"], [type="url"],
[type="color"], textarea {
    margin-bottom: 0;
}

.invis-clicker {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    cursor: text;
    display: none;
}

pre.code_snippet {
    padding: 5px;
}

span.help-submit {
    margin: 0px;
}

.help-submit p {
    right: -234px;
    top: 29px;
    width: 370px;
}

.help-submit p::before {
    right: 294px;
}

@media screen and (min-width: 0em) and (max-width: 72em) {
    .help-tip.right-help p::before {
        right: 92px;
    }

    .help-tip.right-help p {
        right: -85px;
        width: 100px;
    }

    .normal-whitespace {
        white-space: normal;
    }
}

.inputfile {
    width: 0.1px;
    height: 0.1px;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    z-index: -1;
}


table tbody tr th {
    width: 18%;
}

button {
    width: auto;
}

@media screen and (min-width: 50em) {
    span[data-icon="?"].help-tip {
        padding-top: 8px;
    }

    span[data-icon="?"].help-tip p {
        top: 32px;
    }
}

.na_button {
    background-color: gray;
}

select:-moz-focusring {
    color: transparent;
    text-shadow: 0 0 0 #000;
}

input[value*="Remove"] {
    background-color: #d4503a;
}

.ui-dialog-titlebar-close {
    left: auto;
}

@media screen and (min-width: 10em) and (max-width: 80em) {
    table.empiarTable.no-footer {
        overflow-x: scroll;
    }
}

.ui-widget-content a:hover,
.ui-widget-content a:focus,
.ui-widget-content a:active {
    color: rgb(0, 124, 130);
}

.ui-tabs-anchor:focus {
    box-shadow: none;
}

.release_text_field {
    width: auto;
    display: inline;
}

.fire_transfer_user_popup_good.ui-widget-header {

    background: #29bc29;
}

.fire_transfer_user_popup_bad.ui-widget-header {
    background: red;
}

.asyncTable>div.dataTables_wrapper>div.dataTables_filter>label {
    pointer-events: none;
}

.asyncTable>div.dataTables_wrapper>div.dataTables_filter>label>input {
    background-color: #e6e6e6;
    cursor: not-allowed;
}

.switch-paddle {
    border-radius: 5000px;
}

.switch-paddle:after {
    border-radius: 5000px;
}

@media screen and (min-width: 57em) {
    .form_counter {
        position: absolute;
        padding: 1em;
        padding-left: 0.6em;
    }
}

table tbody th {
    padding-left: 1.6em;
}

@media screen and (min-width: 48em) and (max-width: 57em) {
    .form_counter {
        position: absolute;
        padding-left: 0.3em;
        padding-top: 1em;
    }
}

.columns.nopadding {
    padding-left: 0;
    padding-right: 0;
}

textarea.expand {
    height: 5em;
}

.loader {
    border: 3px solid #f3f3f3; /* Light grey */
    border-top: 3px solid #6c6f71; /* Blue */
    border-radius: 50%;
    width: 19px;
    height: 19px;
    animation: spin 1.5s linear infinite;
    display: inline-block;
}

.entry-check-loader {
    border: 6px solid red; /* Light grey */
    border-top: 6px solid orange; /* Blue */
    border-radius: 50%;
    width: 39px;
    height: 39px;
    animation: spin 1.5s linear infinite;
    display: inline-block;
}

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

.tooltip {
    position: relative;
    display: inline-block;
    border-bottom: 1px dotted black;
}

.tooltip-empiar .tooltiptext-empiar {
    visibility: hidden;
    width: 400px;
    background-color: #d8e5d8;
    color: black;
    text-align: left;
    padding: 10px;
    position: absolute;
    border-radius: 3px;
    box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.2);
    font-size: 13px;
    z-index: 1;
    bottom: 117%;
    left: 50%;
    margin-left: -60px;
    opacity: 0;
    transition: opacity 0.3s;
}

.tooltip-empiar .tooltiptext-empiar::after {
    content: "";
    position: fixed;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #555 transparent transparent transparent;
}

.tooltip-empiar:hover .tooltiptext-empiar {
    visibility: visible;
    opacity: 1;
}

.tooltiptext-empiar:before { /* The pointer of the tooltip */
    position: absolute;
    content: '';
    width: 0;
    height: 0;
    border: 6px solid transparent;
    border-bottom-color: #1E2021;
    bottom: -8px;
}

.parent-tooltip {
    display: inline-block;
    position: absolute;
}

.loader_menu {
    display: inline-block;
    padding-top: 4px;
}

.tooltiptext-empiar a {
    padding: 0;
    display: inline;
}

.license-note {
    display: none;
}

.menu > li > a {
    line-height: 1.4;
}

.emp-msg-wrap a.emp-msg, a.emp-msg:hover, a.emp-msg:visited, a.emp-msg:link, a.emp-msg:active {
    text-decoration: none;
    border-bottom-style: none;
}

.datepicker th {
    color: black;
}

.no-close .ui-dialog-titlebar-close {
    display: none;
}

.handle-this,button.hide-for-print.handle-this {
    background-color: #f00;
}

button.hide-for-print.handle-this:hover {
    background-color: rgba(255, 0, 0, 0.61);
}

.copy-btn> {
    -moz-user-select: none;
    background-color: #eee;
    background-image: linear-gradient(#fcfcfc, #eee);
    border: 1px solid #d5d5d5;
    border-radius: 3px;
    color: #333;
    cursor: pointer;
    font-size: 13px;
    font-weight: bold;
    line-height: 20px;
    position: relative;
    vertical-align: middle;
    white-space: nowrap;
}

.copy-btn>img.clippy {
    width: 18px;
    filter: invert(100%);
}