.dev-bar {
    background-color: darkred;
    color: #fff;
    text-align: center;
    padding-top: 15px;
    padding-bottom: 15px;
}

.nav-link p {
    display: inline-block;
    text-wrap: nowrap;
}

.nav-item-sub {
    width: 200px;
}

.input-error {
    color: darkred;
}

.history-image-container {
    max-width: 200px;
}

.image-card .card-title {
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    white-space: nowrap;
}

.image-card img {
    max-height: 100px;
    margin: 0 auto;
    display: block;
}

.tagging-container {
    background-color: #f4f6f9;
    height: 100%;
}

.tagging-header {
    position: relative;
    z-index: 10;
}

.tag-color-1 {
    border: 3px solid #800000;
    color: #000;
}

.tag-color-2 {
    border: 3px solid #9A6324;
    color: #000;
}

.tag-color-3 {
    border: 3px solid #808000;
    color: #000;
}

.tag-color-4 {
    border: 3px solid #469990;
    color: #000;
}

.tag-color-5 {
    border: 3px solid #000075;
    color: #000;
}

.tag-color-6 {
    border: 3px solid #e6194B;
    color: #000;
}

.tag-color-7 {
    border: 3px solid #f58231;
    color: #000;
}

.tag-color-8 {
    border: 3px solid #ffe119;
    color: #000;
}

.tag-color-9 {
    border: 3px solid #bfef45;
    color: #000;
}

.tag-color-10 {
    border: 3px solid #3cb44b;
    color: #000;
}

.tag-color-11 {
    border: 3px solid #42d4f4;
    color: #000;
}

.tag-color-12 {
    border: 3px solid #4363d8;
    color: #000;
}

.tag-color-13 {
    border: 3px solid #911eb4;
    color: #000;
}

.tag-color-14 {
    border: 3px solid #f032e6;
    color: #000;
}

.tag-color-15 {
    border: 3px solid #fabed4;
    color: #000;
}

.tag-color-16 {
    border: 3px solid #ffd8b1;
    color: #000;
}

.tag-color-17 {
    border: 3px solid #fffac8;
    color: #000;
}

.tag-color-18 {
    border: 3px solid #aaffc3;
    color: #000;
}

.tag-color-19 {
    border: 3px solid #dcbeff;
    color: #000;
}

.tag-color-20 {
    border: 3px dotted #800000;
    color: #000;
}

.tag-color-21 {
    border: 3px dotted #9A6324;
    color: #000;
}

.tag-color-22 {
    border: 3px dotted #808000;
    color: #000;
}

.tag-color-23 {
    border: 3px dotted #469990;
    color: #000;
}

.tag-color-24 {
    border: 3px dotted #000075;
    color: #000;
}

.tag-color-25 {
    border: 3px dotted #e6194B;
    color: #000;
}

.tag-color-26 {
    border: 3px dotted #f58231;
    color: #000;
}

.tag-color-27 {
    border: 3px dotted #ffe119;
    color: #000;
}

.tag-color-28 {
    border: 3px dotted #bfef45;
    color: #000;
}

.tag-color-29 {
    border: 3px dotted #3cb44b;
    color: #000;
}

.tag-color-30 {
    border: 3px dotted #42d4f4;
    color: #000;
}

.tag-color-31 {
    border: 3px dotted #4363d8;
    color: #000;
}

.tag-color-32 {
    border: 3px dotted #911eb4;
    color: #000;
}

.tag-color-33 {
    border: 3px dotted #f032e6;
    color: #000;
}

.tag-color-34 {
    border: 3px dotted #fabed4;
    color: #000;
}

.tag-color-35 {
    border: 3px dotted #ffd8b1;
    color: #000;
}

.tag-color-36 {
    border: 3px dotted #fffac8;
    color: #000;
}

.tag-color-37 {
    border: 3px dotted #aaffc3;
    color: #000;
}

.tag-color-38 {
    border: 3px dotted #dcbeff;
    color: #000;
}

.tagging-tag-selector {
    font-size: 15px;
    padding: 5px;
    margin-right: 5px;
    margin-top: 5px;
    display: inline-block;
}

.tagging-image {
    margin-top: 5px;
    overflow: hidden;
    position: relative;
    z-index: 5;
}

.tagging-image-file-name {
    font-size: 24px;
    color: rgba(184, 9, 9, 0.863);
    position: absolute;
    top: 0;
    left: 0;
    z-index: 5;
    padding-left: 10px;
    text-shadow: 1px 1px 0px rgba(184, 9, 9, 0.863);
}

.tagging-image img {
    position: absolute;
    top: 0;
    left: 0;
}

.tagging-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.tagging-tag {
    width: 150px;
    height: 150px;
    position: absolute;
}

.tagging-tag-controls-outside {
    position: relative;
    bottom: -100%;
}

.image-thumbnail {
    max-width: 200px;
    max-height: 200px;
}

.border-status-empty {
    border-left: 4px solid #dc3545;
}

.border-status-partial {
    border-left: 4px solid #d39e00;
}

.border-status-done {
    border-left: 4px solid #28a745;
}

.recognition-image {
    position: relative;
    overflow: hidden;
}

.recognition-image img, .recognition-canvas {
    position: absolute;
    left: 0;
    top: 0;
}

.recognition-canvas-overlay-buttons {
    top: 10px;
    left: 10px;
    position: absolute;
    display: none;
}

.recognition-detected-object {
    border-bottom: 1px solid rgb(107, 107, 107);
    padding-bottom: 5px;
    cursor: pointer;
    z-index: 1;
}

.recognition-detected-object.hidden {
    opacity: 0.3;
}

.recognition-detected-object.active {
    color: rgb(156, 6, 6) !important;
    z-index: 2;
}

.recognition-detected-object-tag {
    border: 1px solid rgb(156, 6, 6);
    position: absolute;
    z-index: 1;
    cursor: pointer;
}

.recognition-detected-object-tag .recognition-detected-object-tag-label {
    background-color: rgb(156, 6, 6);
}

.recognition-detected-object-tag.treatment {
    border-color: #6161db;
}

.recognition-detected-object-tag.treatment .recognition-detected-object-tag-label {
    background-color: #6161db
}

.recognition-detected-object-tag.active {
    border-color: rgb(134, 99, 3) !important;
    z-index: 2;
}

.recognition-detected-object-tag.active .recognition-detected-object-tag-label {
    background-color: rgb(134, 99, 3) !important;
    z-index: 2;
}

.recognition-detected-object-tag.white {
    border-color: #fff;
}

.recognition-detected-object-tag.faded-out {
    opacity: 0.3;
    cursor: default;
}

.recognition-detected-object-tag.pulse {
    animation: blink 500ms infinite;
}

.recognition-detected-object-tag.pulse-short {
    animation: blink 500ms 3;
}

.recognition-detected-object-tag.active {
    border: 1px solid rgb(134, 99, 3) !important;
    z-index: 2;
}

.recognition-detected-object-tag-label {
    position: relative;
    color: #fff;
    font-size: 10px;
    z-index: 1;
    cursor: pointer;
    width: fit-content;
    text-wrap: nowrap;
    bottom: 15px;
    padding-left: 3px;
    padding-right: 3px;
}

.recognition-detected-object-tag-label.white {
    background-color: #fff;
}

.recognition-teeth-number-marker {
    position: absolute;
    background-color: #818181;
    color: #fff;
    text-align: center;
    width: 25px;
    border-radius: 5px 5px 5px 5px;
    cursor: pointer;
}

.recognition-teeth-number-marker.active {
    background-color: rgb(134, 99, 3);
}

.recognition-teeth-number-marker.pulse-short {
    animation: blink 500ms 3; 
}

.pagination-go-to-page .form-control {
    width: 75px;
}

.modal {
    z-index: 1080;
}

.teeth-diagram-teeth {
    max-width: 70px;
    width: 100%;
    height: 100px;
    background-color: #818181;
    float: left;
    margin-right: 10px;
    color: #fff;
    padding-left: 10px;
    padding-right: 10px;
    text-align: center;
    border-radius: 5px;
    margin-bottom: 20px;
    border: 2px solid #d3d3d3;
    font-weight: bold;
    cursor: pointer;
}

.teeth-diagram-teeth-icon {
    background-image: url('/assets/images/icon-teeth.png');
    background-size: contain;
    background-repeat: no-repeat;
    height: 60px;
}

.teeth-diagram-teeth.sick {
    background-color: #9d3434;
}

.teeth-diagram-teeth.teeth-diagram-teeth.sick .teeth-diagram-teeth-icon {
    background-image: url('/assets/images/icon-teeth-sick.png');
}

.teeth-diagram-teeth.missing {
    background-color: #c7c7c7;
}

.teeth-diagram-teeth.teeth-diagram-teeth.missing .teeth-diagram-teeth-icon {
    background-image: url('/assets/images/icon-teeth-missing.png');
}

.teeth-diagram-teeth.treated {
    background-color: #6161db;
}

.teeth-diagram-teeth.teeth-diagram-teeth.treated .teeth-diagram-teeth-icon {
    background-image: url('/assets/images/icon-teeth-treated.png');
}

.teeth-diagram-teeth.active {
    background-color: rgb(134, 99, 3) !important;
}

.recognition-teeth-list {
    height: 100%;
    overflow-y: scroll;
}

.recognition-teeth-list-teeth {
    float: left;
    width: 100%;
    margin-bottom: 15px;
    display: flex;
}

.recognition-teeth-list-teeth-badge {
    height: 95px;    
    width: 60px;
    background-color: #818181;
    border: 2px solid #d3d3d3;
    border-radius: 5px;
    color: #fff;
    text-align: center;
}

.recognition-teeth-list-teeth-icon {
    background-image: url('/assets/images/icon-teeth.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: top center;
    width: 56px;
    height: 55px;  
    cursor: pointer;
}

.recognition-teeth-list-teeth.sick .recognition-teeth-list-teeth-badge {
    background-color: #9d3434;
}

.recognition-teeth-list-teeth.sick .recognition-teeth-list-teeth-icon {
    background-image: url('/assets/images/icon-teeth-sick.png');
}

.recognition-teeth-list-teeth.missing .recognition-teeth-list-teeth-badge {
    background-color: #c7c7c7;
}

.recognition-teeth-list-teeth.missing .recognition-teeth-list-teeth-icon {
    background-image: url('/assets/images/icon-teeth-missing.png');
}

.recognition-teeth-list-teeth.treated .recognition-teeth-list-teeth-badge {
    background-color: #6161db;
}

.recognition-teeth-list-teeth.treated .recognition-teeth-list-teeth-icon {
    background-image: url('/assets/images/icon-teeth-treated.png');
}

.recognition-teeth-list-teeth.active .recognition-teeth-list-teeth-badge {
    background-color: rgb(134, 99, 3) !important;
}

.recognition-teeth-list-teeth-name {
    font-weight: bold;
    text-align: center;
}

.recognition-teeth-list-teeth-diagnosis {
    margin-left: 5px;
    font-size: 13px;
}

.recognition-teeth-list-teeth-diagnosis a {
    color: #000;
}

.recognition-teeth-list-teeth-diagnosis-item.sickness {
    color: #9d3434 !important;
}

.recognition-teeth-list-teeth-diagnosis-item.treatment {
    color: #0056b3 !important;
}

.recognition-teeth-list-teeth-diagnosis-item.active {
    color: rgb(134, 99, 3) !important;
}

.recognition-teeth-list-teeth-diagnosis-item.pulse-short {
    animation: blink 500ms 3;
}

@keyframes blink { 50% { opacity: 0.5; }  }