@font-face {
    font-family: 'Font Awesome 5 Pro';
    font-style: normal;
    font-weight: 900;
    font-display: auto;
    src:url("../../../fonts/fa-solid-900.ttf") format("truetype"); 
}
.fa {
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    font-family: 'Font Awesome 5 Pro';
    font-weight: 900;
}

@font-face {
    font-family: 'Font Awesome 5 Regular';
    font-style: normal;
    font-weight: 400;
    font-display: auto;
    src:url("../../../fonts/fa-regular-400.ttf") format("truetype"); 
}

@font-face {
    font-family: 'Rubik Normal';
    font-style: normal;
    font-weight: 400;
    font-display: auto;
    src:url("../../../fonts/Rubik-Regular.ttf") format("truetype"); 
}

@font-face {
    font-family: 'Rubik Bold';
    font-style: normal;
    font-weight: 700;
    font-display: auto;
    src:url("../../../fonts/Rubik-Bold.ttf") format("truetype"); 
}

.far {
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    font-family: 'Font Awesome 5 Regular';
    font-weight: 900;
}

.fa-dark {
    background-color:#212529;
    color: #fff;
}

.problem-menu {
    /*height: 100%;*/
}

.label-field {
    margin: 1rem;
    text-align: center;
    justify-content: center;
    align-items: center;
    display: flex;
}

.label {
    font-weight: bold;
}

.projects-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    margin: 2rem;
    height: 100%;
}

.project-button {
    height: 10rem;
    width: 10rem;
    font-weight: bold;
    border: 2px solid #1566b6;
    color: #1566b6;
    border-radius: 5px;
    background-color: #fcfeff;
    cursor: pointer;
    margin: 1rem;
}

.header {
    text-align: center;
    display: flex;
    font-weight: bold;
    justify-content: space-around;
    height: 4rem;
}

.back-button {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.extra-options {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    width: 20%;
}

.header-title {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    font-weight: bold;
    font-size: 3.5vh;
}

.middle-container {
    display: flex;
    height: 45rem;
}

.images-container {
    width: 93rem;
    margin-left: 1rem;
    margin-right: 1rem;
    display: flex;
    justify-content: center;
    /*max-height: 95%;*/
}

.labeling-image {
    /*width: 80%; 
    height: auto;*/
}

.labeling-pannels-container {
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
    border-radius: .4em .4em 0 0 !important;
    margin-bottom: 0px;
    min-height: 192px;
    align-items: center;
}

.label-panel {
    margin: .7rem;
    height: 4rem;
    min-width: 7rem;
    cursor: pointer;
    border-radius: 4px;
    padding: 12px 20px;
    transition: background-color 0.3s ease;
    font-weight: bold;
}

.time-classified-container {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    margin-left: 2rem;
}

.nodes-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    width: 20%;
}

.extras-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    width: 20%;
}

.modes-list-item {
    list-style-type: none;
}

.left-panels {
    width: 15rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-bottom: 1rem;
    margin-top: 1rem;
    margin-left: 1rem;
}

.container-options {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.panel {
    position: relative;
    margin-bottom: 0rem !important;
}

.panel:last-child {
    margin-bottom: 0;
}

.panel-heading {
    cursor: pointer;
    border-width: 1px !important;
}
  
.panel-content {
    position: absolute;
    bottom: 100%;
    left: 0;
    display: none;
    width: 100%;
    overflow-y: auto;
}
  
.panel-content-down {
    width: 100%;
    overflow-y: auto;
}

.panel-block {
    border-width: 1px !important;
    overflow: visible;
}

.panel-heading.is-up + .panel-content {
    display: block;
}

.bottom-panel-heading {
    border-radius: 0 0 .4em .4em !important;
    font-size: 1.25em;
    line-height: 1.25;
    padding: .5em .75em;
}

.right-panels {
    width: 15rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-bottom: 1rem;
    margin-top: 1rem;
    margin-right: 1rem;
}

.select.is-link select {
    width: 100%;
}

.element-image-container {
    display: none;
    position: absolute;
    width: 400px;
    height: 380px;
    overflow: visible;
    margin-left: -30rem;
    margin-top: 10rem;
    z-index: 99;
}

.element-image-container img {
    display: block;
    height: auto;
    width: auto;
}

.loader {
    border-radius: 50% !important;
    width: 40px !important;
    height: 40px !important;
    -webkit-animation: spin 2s linear infinite; /* Safari */
    animation: spin 2s linear infinite !important;
    border: 16px solid #f3f3f3 !important;
    border-top: 16px solid #3498db !important;
    position: absolute !important;
    margin: 0 auto !important;
    left: 30%;
}

.loader-image-container {
    border-radius: 50% !important;
    width: 120px !important;
    height: 120px !important;
    -webkit-animation: spin 2s linear infinite; /* Safari */
    animation: spin 2s linear infinite !important;
    border: 16px solid #f3f3f3 !important;
    border-top: 16px solid #3498db !important;
    position: absolute !important;
    margin: 0 auto !important;
    top: 35%;
}

.spinner-container {
    height: 50px;
}

.listContainerOptions {
    position: absolute; 
    z-index: 1; 
    max-height: 400px; 
    overflow-y: auto; 
    display: none; 
    border-radius: .4em;
    margin-top: 2.5rem;
}

.optionsDropdownItem {
    text-align: left !important;
    font-weight: normal !important;
    margin: .5rem;
}

.extraOptionsDropdownItem {
    text-align: left !important;
    font-weight: normal !important;
    margin: .5rem;
}

.optionsDropdownItemValue {
    width: 100%; 
    white-space: nowrap;
}

.time-container {
    display: flex;
    flex-direction: row;
}

.classified-container {
    display: flex;
    flex-direction: row;
}

.time-value {
    margin-left: 1rem;
}

.classified-value {
    margin-left: 1rem;
}

.no-data-container {
    margin: auto;
}

.modal-content {
    margin-top: 12rem !important;
}

.modal-trigger {
    position: absolute !important;
    margin-top: 3rem;
    margin-left: 60%;
}

.modal-trigger-video {
    position: absolute !important;
    margin-top: 8rem;
    margin-left: 60%; 
}

.alert-icon {
    font-size: 1.7rem;
}

.hotkeys-form {
    display: flex;
    flex-direction: column;
}

.hotkey-container {
    margin: 2%;
    position: relative;
}

.modal-card {
    margin-top: 10% !important;
    max-height: 70% !important;
}

.hotkey-value {
    line-height: 5.5 !important;
    margin-left: 20%;
    font-weight: bold;
}

.divider {
    margin-top: 7%;
    right: 37%;
    width: 25%;
    display: inline-block;
    position: absolute;
}

.small-divider {
    margin-top: 7%;
    right: 36%;
    width: 20%;
    display: inline-block;
    position: absolute;
}

.hotkey-key {
    margin-top: .5rem;
    position: absolute;
    right: 20%;
    box-sizing: border-box;
    line-height: 70px;
    font-size: 22px;
    text-align: center;
    width: 70px;
    cursor: pointer;
    margin: 0 8px;
    height: 70px;
    border-style: solid;
    border-width: 1px;
    border-radius: 10px;
    font-family: sans-serif;
    display: inline-block;
    transition: box-shadow 0.3s ease, transform 0.15s ease;
    
    &:hover,
    &:focus {
        transform: translateY(2px);
    }
    
    &:active {
        transform: translateY(4px); 
    }
}
.configuration-label {
    width: 100%;
}

.success-button {
    background-color: #218c4e !important;
}

.reset-button {
    background-color: #1d6bb9 !important;
}

.hide-tpm {
    position: absolute;
    display: none;
}


.tpm-time-container {
    display: flex;
    margin-top: .3rem;
}

.tpm-options {
    margin-left: 1rem;
}

.tpm-value {
    margin-left: 1rem;
}


.time-classified-container:hover .hide-tpm {
    display: block;
    background-color: #ecf0f1;
    color: black;
    margin-top: 2rem;
    width: 9rem;
    height: 2.5rem;
    border: 1px solid #dee2e5;
    border-radius: .4em;
    text-align: left;
}

.element-image-container label {
    display: block;
    height: auto;
    width: auto;
}
/* Add a class to hide the element */
.hidden {
    display: none;
}

.result-card {
    width: 70%;
    margin-left: 15%;
    margin-top: 2%;
}

.media-content {
    margin-bottom: 3%;
}

.figure-image {
    margin: 5%;
}

.card-content-review {
    padding-top: 0rem !important;
}

.header-result {
    background-color: #000000;
    color: white;
    height: 4.5rem;
    position: relative;
    text-align: center;
}

.back-button-result {
    position: absolute;
    left: 2rem;
    text-align: center;
    top: 35%;
}

.header-title-result {
    display: inline-block;
    text-align: center;
    font-weight: bold;
    font-size: 3.5vh;
}

.send-response-button {
    margin-top: 3%;
}

.api-modal-content {
    margin-top: 5rem !important;
    border-radius: 10px;
    width: 83rem !important;
}

.api-modal-table {
    width: inherit;
}

.tooltip-timeline-title {
    font-weight: bold;
}

.tooltip-modal-content {
    padding: 2rem;
    border-radius: 10px;
}

.pie-chart .highcharts-container {
    margin-left: 13% !important;
}
  
  /* Safari */
  @-webkit-keyframes spin {
    0% { -webkit-transform: rotate(0deg); }
    100% { -webkit-transform: rotate(360deg); }
  }
  
  @keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }

.no-data-review-container {
    margin: auto;
    width: 50%;
    margin-top: 20%;
}

.mailbox {
    position: relative;
    font-size: 16px;
    line-height: 2.5em;
    margin: 0.3em;
    right: -12.8em;
    top: 0.8em;
    z-index: 30;
  }
  
  .red-notification {
    /* circle shape, size and position */
    position: absolute;
    top: -0.5em;
    right: -0.2em;
    width: 1em; /* or width, explained below. */
    height: 1em;
    border-radius: 0.8em; /* or 50%, explained below. */
    border: 0.05em solid white;
    background-color: red;
  
    /* number size and position */
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.8em;
    color: white;
  }

.configuration-panel {
    bottom: 63%;
}

.exam-disabled {
    pointer-events: none;
    cursor: not-allowed;
}

.annotators-options {
    display: flex;
}

.labeled-by-title {
    font-weight: bold;
    font-size: large;
    margin: 0.5rem;
}

.conflict-with-title {
    font-weight: bold;
    font-size: large;
    margin: 0.5rem;
}

.category-options {
    font-weight: bold;
    font-size: large;
    margin: 0.5rem;
    margin-top: 1rem;
}

.time-options {
    font-weight: bold;
    font-size: large;
    margin: 0.5rem;
    margin-top: 1rem;
}

.labeled-by-annotator {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.conflict-with-annotator {
    display: flex;
    flex-direction: column;
    flex-grow: 1;

}

.category-time {
    display: flex;
}

.category-container {
    width: 20rem;
}

.annotator-time-container {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.category-elements {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
}

.progress-container {
    display: flex;
    flex-direction: column;
    width: 4rem;
    margin-right: 1rem;
}

.annotators-checkbox {
    margin: 0.5rem;
}

.category-checkbox {
    margin: 0.5rem;
}

.time-elements {
    margin: 0.5rem;
}

.time-titles {
    margin-bottom: 1rem;
}

.time-elements-body {
    margin: 1rem;
}

.annotator-grid-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 8px;
    align-items: center;
    padding: 4px 0;
}

.header-row {
    font-weight: bold;
    border-bottom: 1px solid #ccc;
}

.annotator-grid-cell {
    display: flex;
    align-items: center;
    justify-content: center;
}

.annotator-grid-cell-name {
    display: flex;
    align-items: center;
}