.shadow {
    box-shadow: 0 19px 38px rgba(0,0,0,0.30), 0 15px 12px rgba(0,0,0,0.22);
}

.icon-flipped {
    transform: scaleX(-1);
    -moz-transform: scaleX(-1);
    -webkit-transform: scaleX(-1);
    -ms-transform: scaleX(-1);
}

#image-to-check {
    max-width: 500px;
    max-height: 500px;
    margin-bottom: 1em;
}

.active-navbar-item > a {
    color: black !important;
    background-color: white !important;
}

.tag {
    border: 2px solid red;
    cursor: default;
}

.tag .tag-controls {
    position: absolute;
    color: white;
    background: rgba(0, 0, 0, 0.5);
}

.tag .tag-close {
    display: none;
    top: -2px;
    right: -18px;
    cursor: pointer;
    padding-bottom: 1px;
}

.tag .tag-resize {
    bottom: 0;
    right: 0;
    cursor: se-resize;
}

.tag .tag-diagnosis {
    display: none;
    left: -2px;
    bottom: -17px;
    font-size: x-small;
    border: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.tag .tag-review {
    display: none;
    left: -2px;
    top: -17px;
    font-size: x-small;
    border: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.tag-temp {
    border: thin dotted red;
}

#image-container {
    position: relative;
}

#toolwindow {
    padding: 5px;
    position: fixed;
    background: white;
    left: 1em;
}

#toolwindow .toggle-button, #toolwindow #zoom-container {
    margin-top: 5px;
}

#toolwindow #buttons {
    font-size: large;
    cursor: pointer;
    text-align: center;
}

#toolwindow #buttons a {
    text-decoration: none;
}

#toolwindow #zoom-canvas {
    vertical-align: bottom;
}

#tagging-container {
    text-align: center;
}

/* Padding to move beginning of page below navbar */
/* FIXME if the width of the page is too small, navbar changes into a tall one which then covers the page content */
body {
    padding-top: 70px;
}

/* Chnages how login errors are shown (bad password) */
.alert-danger ul {
    list-style-type: none;
    padding:0;
    margin:0;
}

/* Upload page */
.file-label {
    text-align:center;
    display:block;
}

#file-help-text{
    margin-top: 1em;
    margin-bottom: 0;
}

/* Fix for MultiFileUpload, otherwise it doesn't fit properly */
input[type=file] {
    height: 15em;
}

#welcome_leuko {
    text-align: center;
    margin: 15px;
}

.table-nonfluid {
   width: auto !important;
}