body {
    color: #3c4149;
}

a {
    color: rgb(6, 6, 6);
    --bs-pagination-color: black;
    --bs-pagination-active-bg: #0175ac;
    --bs-pagination-active-border-color: #0175ac;
    text-decoration: none;
}

a.underline-link:hover {
    text-decoration: underline;
}

a.blue-link {
    color: #02587f;
}

.blue-link a {
    color: #02587f;
}

pre {
    white-space: pre-wrap;

}

.dot {
    height: 25px;
    width: 25px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
}

/* .txt-placeholder {
    background: #ffffff;
    border: 1px solid #ddd;
    page-break-inside: avoid;
    font-family: monospace;
    font-size: 13px;
    line-height: 1.6;
    margin-top: 10px;
    max-width: 100%;
    overflow: auto;
    padding: 1em 1.5em;
    display: block;
    word-wrap: break-word;
} */

.nav-link {
    color: #3d3e3e;
    text-decoration-color: #3d3e3e;
}

.nav-link.active {
    color: #3d3e3e;
    text-decoration-color: #3d3e3e;
}

.nav-link:focus,
.nav-link:hover {
    color: #3d3e3e;
}

.selectarea {
    margin-bottom: 20px;
}

.infoarea {
    margin-top: 20px;
}

#examplearea {
    margin-top: 40px;
    padding-left: 25px;
    padding-right: 25px;
}

#export-placeholder {
    background-color: #efefef75;
    margin-right: 30px;
}

.table-active {
    --bs-table-accent-bg: #fff68f;
}

#leftpanel {
    padding-right: 50px;
    margin-top: 0px;
}

#tabulararea {
    margin-right: 30px;
    min-height: 100px;
    overflow-x: hidden;
}

#rightpanel {
    /* height: 100%; */
    margin: 0px 10px 0px 20px;
}


#collapse-btn {
    border-color: grey;
    position: fixed;
    right: 0;
    top: 50%;
}

.panel-resizable {
    overflow: auto;
    resize: horizontal
}

.nav-tabs {
    margin-bottom: 0;
}

#text-type {
    margin-bottom: 10px;
}

.highlightable-cell {
    cursor: pointer;
}

.editable-cell {
    cursor: text;
}


.sidepanel-panel {
    overflow: auto;
}

.checkboxarea {
    padding-bottom: 10px;
    padding-top: 10px;
}

.output-element {
    margin-top: 10px;

}

#outputarea {
    /* margin-top: 20px; */
    /* font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; */
    padding: 10px;
    /* font-size: 16px; */
}

#outputarea .paragraph {
    cursor: url(brush.png), grab !important;
}

#pipelinearea {
    margin-top: 10px;
}

.area-content {
    padding: 5px 20px 0px 20px;
}

#page-input {
    height: 28px;
    width: 80px;
}

.bg-annotate {
    background-color: white !important;
    /* dashed bottom border */
    border-bottom: 1px solid #ddd;
    min-height: 60px;
}

.pagination {
    line-height: 14px;
}

.navbar-brand {
    padding-left: 20px;
    /* font-size: 19px; */
}

.pagination-buttons {
    font-size: 14px;
    padding-left: 20px;
}

.nav-pills .nav-link.active,
.nav-pills .show>.nav-link {
    background-color: white;
    border-bottom: 1px solid;
    color: #3c4149;
    font-weight: bold;
    border-radius: 0px;
}

.container.large-container {
    padding-left: 50px;
    /* margin-right: 50px; */
    max-width: none;
    /* padding-right: 50px; */
}

.split {
    display: flex;
    flex-direction: row;
}

.gutter {
    background-color: #eee;
    background-position: 50%;
    background-repeat: no-repeat;
}

.gutter.gutter-horizontal {
    background-color: #dedddd;
    cursor: col-resize;
}


.meta-table {
    color: rgb(17, 24, 39) !important;
    font-size: 14px !important;
    margin-bottom: 30px;
    overflow: auto;
}


.main-table {

    color: rgb(17, 24, 39) !important;
    font-size: 14px !important;
}

.subtable {
    color: rgb(17, 24, 39) !important;
    font-size: 14px !important;
    max-width: 50%;
}

.font-mono {
    font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace !important;
}


.form-check-input:checked {
    background-color: #0175ac;
    border-color: #0175ac;
}

.btn-primary {
    color: #fff;
    background-color: #0175ac;
    border-color: #0175ac;
}

.btn-primary:hover {
    color: #fff !important;
    background-color: #005c88;
    border-color: #005279;
}

.btn-primary:focus,
.btn-primary.focus {
    box-shadow: 0 0 0 0.2rem rgba(1, 117, 172, 0.5);
}

.btn-primary:focus-visible,
.btn-primary.focus-visible {
    background-color: #005c88;
}

.btn-primary.disabled,
.btn-primary:disabled {
    color: #fff;
    background-color: #9bafb9;
    border-color: #9bafb9;
}

.btn-primary:not(:disabled):not(.disabled):active,
.btn-primary:not(:disabled):not(.disabled).active,
.show>.btn-primary.dropdown-toggle {
    color: #fff;
    background-color: #005279;
    border-color: #00486a;
}

.btn-primary:not(:disabled):not(.disabled):active:focus,
.btn-primary:not(:disabled):not(.disabled).active:focus,
.show>.btn-primary.dropdown-toggle:focus {
    box-shadow: 0 0 0 0.2rem rgba(1, 117, 172, 0.5);
}

.btn-outline-secondary {
    border-color: #c9c7c7;
    color: rgb(48, 48, 48);
}

.btn-outline-secondary:hover {
    color: rgb(0, 0, 0);
    background-color: #ececec;
    border-color: #c9c7c7;
}

.btn-secondary:hover {
    color: rgb(255, 255, 255) !important;
}

.pipeline-checkbox:checked {
    background-color: #818181 !important;
    border-color: #818181 !important;
}

.output-box {
    /* padding: 20px; */
    /* border: 1px solid #ddd;
    border-radius: 2%; */
    margin-bottom: 10px;
    /* make it fill the entire width of its parent element */
    width: 100%;
    /* position: relative; */
    /* font-size: 16px !important; */
}

.output-group {
    width: 100%;
}

.card-text>pre {
    font-size: 14px !important;
    margin-left: 10px !important;
    margin-right: 10px !important;
}

.output-box .card-body {
    padding: 5px;
}

.annotate-box {
    padding: 30px;
    margin-top: 10px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 2%;
    /* margin: 10px; */
    position: relative;
    font-size: normal;
    user-select: none;
    /* monospace */
}

#checkbox-annotation-box {
    margin-top: 20px;
    margin-left: 75px;
    margin-right: 75px;
    padding: 20px;
    border: 1px dashed #ddd;
    border-radius: 2%;
    /* margin: 10px; */
    position: relative;
    font-size: normal;
}



/* .output-box>label {
    position: absolute;
    font-size: smaller;
    top: -17px;
    padding-left: 3px;
    padding-right: 3px;
    background-color: white;
} */


.select2-search--inline {
    display: none !important;
}

.pipeline-box {
    border: 1px solid #0175ac !important;
}


/* .multiselect.form-select {
    line-height: 1 !important;
} */


.label-name {
    left: 20px;

    margin-top: 10px;
}

.label-settings {
    font-size: 13px !important;
    top: -9px !important;
    right: 10px;
}

.label-multiselect {
    font-weight: bold;
    margin-top: 10px;
    margin-bottom: 5px;
}


/* .label-reload {
    right: 10px;
    font-size: 15px !important;
    top: -10px !important;
}

.label-on-off {
    right: 10px;
} */

.form-switch-panel {
    margin-right: 50px;
}

.form-switch-table {
    margin-right: 20px;
}

.navblock {
    display: inline-flex;
    align-items: center;
}

.navblock dl,
ol,
ul {
    margin-bottom: 0;

}

/* .accordion {
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 10px;
    padding-bottom: 20px;
} */

#accordion-all {
    margin-top: 20px;

}

.accordion-button {
    font-size: normal;
}

.instructions-accordion {
    padding-top: 10px;
    padding-bottom: 5px;
}

.instructions-accordion-body {
    background-color: #eeeeee !important;
}

.example-accordion-body {
    background-color: #eeeeee !important;
}

.instructions-accordion-button {
    /* background-color: #d3d3d3 !important; */
    background-color: #eeeeee !important;
    /* color: rgb(240, 240, 240) !important; */
    max-height: 40px;
}


.wildcards {
    margin-top: 10px;
}

.bordered-block {
    border-radius: 5%;
    border: 1px solid #ddd;
    /* font-size: small; */
    padding: 15px;
}

.gen-btn {
    margin-top: 10px;
}

#total-examples {
    background-color: #F8F9FA;
    color: grey;
}

#nav-example-cnt {
    margin-right: 40px;
    max-width: 1200px;
    /* wrap into the next row if necessary */
    flex-wrap: wrap;

}

.bg-incomplete {
    background-color: white;
    color: grey;
}

.bg-incomplete:hover {
    background-color: inherit;
}

.bg-complete {
    background-color: #198754;
    color: white;
}

.bg-complete:hover {
    background-color: #198754;
    color: white;
}

.bg-active {
    background-color: #555555;
    color: white;
}

.bg-active:hover {
    background-color: #555555;
    color: white;
}

a:hover {
    color: inherit !important;
}

/* Add your custom styles here */
.overlay {
    /* display: none; */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: white;
    z-index: 1000;
    overflow-y: scroll;
}

.panel-heading {
    padding: 0px;
}

.overlay-content {
    position: absolute;
    top: 10%;
    left: 50%;
    transform: translate(-50%, -0%);
    /* text-align: center; */
    color: #1d1d1d;
    font-size: large;
}



#submit-annotation-box {
    margin-top: 20px;
    margin-bottom: 20px;
}

#page-input {
    border-radius: 0;
}

#favourite-btn {
    color: rgb(56, 56, 56);
}

#favourites-box {
    font-size: small;
}

#favourites-box .list-group-item {
    padding: 0px;
}

.clickable {
    text-decoration: underline;
    cursor: pointer;
}

.page-link {
    height: 28px;
    /* Set a fixed height */
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.nav-btn-elem {
    height: 28px;
    font-size: 12px;
}

.btn-light {
    color: rgb(56, 56, 56);
}

.custom-prompt-input {
    appearance: auto;
}

.hwt-container {
    background-color: #f8f9fa;
    width: 100%;
}

.hwt-content {
    height: 300px;
    /* padding: 10px; */
    border: 1px solid #adb5bd !important;
    color: inherit;
    font-family: monospace !important;
    font-size: 13px !important;
}

.hwt-input:focus {
    outline-color: #495057;
}

.hwt-content mark {
    border-radius: 3px;
    background-color: #d0bfff;
}

.hwt-content mark.red {
    background-color: #ffa7a7;
}

.hwt-content mark.blue {
    background-color: #a3daff;
}

.hwt-content mark.yellow {
    background-color: #FFF68F;
}

.prop-btn {
    margin-bottom: 5px;
}

.prop-btn[aria-expanded="false"] {
    background-color: #fff;
    border-color: #0175ac;
    color: #0175ac;
}

.prop-btn[aria-expanded="true"] {
    color: #fff;
    background-color: #0175ac;
    border-color: #0175ac;
}

#prop-caption {
    color: #6c757d;
    font-size: 14px !important;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.meta-table div.collapsible div {
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
}

.meta-table td,
.meta-table th {
    padding-top: 0;
    padding-bottom: 0;
}

.meta-table th {
    width: 1rem;
    /* hack */
    padding-right: 1rem;
}

.modal-dialog {
    max-width: 700px;
}

#about-btn {
    padding: 5px;
    /* border-radius: 15px; */
}

#about-icon {
    width: 20px;
}

.export-block {
    margin-bottom: 20px;
    /* display: inline-block; */
    vertical-align: middle;
}

/* center icons and text on the button vertically*/
#actions-area button {
    display: flex;
    align-items: center;
    justify-content: center;
}

.button-bw-icon {
    margin-right: 4px;
}

/* set max column width for headings, wrap text on the next line on overflow */
.meta-table th {
    width: 140px;
    max-width: 140px;
    overflow-wrap: break-word;
}

#selectboxarea {
    margin-top: 20px;
    margin-bottom: 40px;
}

#random-btn {
    padding: 5.25px 8px 5.25px 8px;
}

.navbar-left {
    max-width: 1920px;
    padding-left: 20px;
    padding-right: 20px;
}

.intro-img {
    max-width: 40px;
    max-height: 40px;
    margin-bottom: 10px;
}

.intro-block {
    margin-top: 10% !important;
}


.new-campaign-form {
    /* max-width: 600px; */
    margin: 0 auto;
}

.bg-light {
    background-color: rgb(245, 245, 245) !important;
}

/* .nav-item {
    margin-right: 5px;
} */

#rawarea {
    margin-top: 20px;
    background-color: #f8f9fa;
}

#setuparea {
    display: block;
}

#setup-extra-btns {
    display: inline-flex;
    align-items: center;
    float: right;
}

.btn-setup-info {
    margin-left: 10px;
}

#sidepanel-content {
    padding-left: 15px;
    padding-right: 15px;
    padding-top: 15px;
}


#setuparea label {
    float: left;
    text-align: left;
    font-weight: normal;
    font-size: 14px;
}

#setuparea select {
    display: inline-block;
    width: auto;
    vertical-align: middle;
    margin-right: 20px;
}

.btn-setup-info {
    float: right;
}

.main-page-link a {
    font-weight: bold;
    font-size: 30px;
    display: flex;
    align-items: center;
    padding: 0 1rem;
    text-decoration: none;
    color: #000;
}

.main-page-link .bi {
    margin-right: 1rem;
}

.form-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.form-box {
    width: 100%;
    max-width: 400px;
}

.heading-img-inline {
    width: 25px;
    padding-bottom: 5px;
    margin-right: 7px;
}

.new-campaign-form {
    border-bottom-color: rgb(222, 226, 230);
    border-left-color: rgb(222, 226, 230);
    border-right-color: rgb(222, 226, 230);
    border-top-color: rgb(255, 255, 255);
    border-width: 1px;
    border-style: solid;
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    padding: 30px;
}

.rounded-box {
    border-color: rgb(222, 226, 230);
    border-width: 1px;
    border-style: solid;
    border-radius: 10px;
    padding: 30px;
}

.CodeMirror,
.CodeMirror-scroll {
    min-height: 150px !important;
}

.btn-err-cat-label {
    box-shadow: 0 2px 4px darkslategray;
    color: #4a4a4a;
    border-color: transparent !important;
    padding: 2px 5px !important;
}

.btn-err-cat-label:not(.active) {
    filter: opacity(0.4);
    /* border-color: transparent !important; */
}

.btn-err-cat-label.active {
    font-weight: bold;
}

.btn-ann-select {
    /* box-shadow: 0 1px 2px darkslategray; */
    border: 1px solid #ddd;
}

.inline-icon {
    height: 0.9em;
    margin-right: 5px;
    vertical-align: middle;
}

.slider-container {
    position: relative;
    margin-top: 20px;
    margin-bottom: 20px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.slider-crowdsourcing {
    width: 100%;
}

.datalist-crowdsourcing {
    display: flex;
    justify-content: space-between;
}

.datalist-crowdsourcing option {
    flex-grow: 1;
    text-align: center;
    text-wrap: wrap;
}

.card-header-collapse {
    cursor: pointer;
}

.table-datasets {
    cursor: pointer;
}

.progress-bar {
    background-color: #0175ac;
}

.bg-running {
    /* background-color: #2d9f2a; */
    background-color: #d6ba1f;
}

.bg-finished {
    background-color: #0175ac;
}

.bg-idle {
    background-color: rgb(108, 117, 125);
}

.bg-assigned {
    background-color: #d6ba1f;
}

.bg-free {
    background-color: rgb(108, 117, 125);
}

#centerpanel {
    max-height: 100vh;
    overflow-y: auto;
}

#outputarea {
    max-height: 90vh;
    overflow-y: auto;
}


.detail-out {
    padding: 7px;
    /* overflow-y: auto; */
    margin: 0px !important;
    height: 30px;
}

.detail-out-card {
    margin: 5px 20px 5px 5px;
}

@keyframes jump-out {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

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

.panel-50 {
    min-width: 900px;
}