.btn-success {
    background-color: #57a900;
    background-image: -moz-linear-gradient(top, #70d900, #57a900);
    background-image: -ms-linear-gradient(top, #70d900, #57a900);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#70d900), to(#57a900));
    background-image: -webkit-linear-gradient(top, #70d900, #57a900);
    background-image: -o-linear-gradient(top, #70d900, #57a900);
    background-image: linear-gradient(top, #70d900, #57a900);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#70d900', endColorstr='#57a900', GradientType=0);
}

.btn-success:hover,
.btn-success:active,
.btn-success.active,
.btn-success.disabled,
.btn-success[disabled] {
    background-color: #57a900;
}

.btn-primary {
    background-color: #ededec;
    color: #333;
    border-color: #333;
}

.btn-primary:hover {
    background-color: #afafae;
    border-color: #333;
}

div.container a.navbar-brand > img {
    display: inline;
    margin-right: 4px;
    margin-top: -2px;
}

.step {
    font-size: medium;
    background: #ccc;
    color: black;
    border-style: solid;
    border-width: 1px;
}

.step-active {
    background: #666;
    color: white;
    border-color: black;
}

.action-description {
    margin-bottom: 2em;
}

.category-name {
    margin-top: 20px;
    font-size: 18px;
}

.hidden-option {
    display: none;
}

.current, .options > div {
    margin-bottom: 1em;
}

.reduced-padding div {
    padding-left: 0.5%;
    padding-right: 0.5%;
}

#type-radio > label {
    margin-top: 1%;
    margin-left: 1%;
}

.examination-block,
.tab-content-block {
    padding: 2%;
}

.tab-active.active > a, .block-active,
.nav-tabs > li.active > a,
.nav-tabs > li.active > a:hover,
.nav-tabs > li.active > a:focus,
#photo-type-tabs ~ .tab-content {
    background: rgb(237, 237, 236);
}

.block-alert {
    background: #ff8080;
}

#view-data-header, h2 {
    font-size: 14pt;
    font-weight: bold;
}

#empty-table-info {
    margin-bottom: 1em;
}

#progress p {
    display: block;
    width: 240px;
    padding: 2px 5px;
    margin: 2px 0;
    border: 1px inset #446;
    border-radius: 5px;
}

#progress p.success {
    background: #0c0 none 0 0 no-repeat;
}

#progress p.failed {
    background: #c00 none 0 0 no-repeat;
}

@keyframes spinner {
    to {
        transform: rotate(360deg);
    }
}

.spinner:before {
    content: '';
    box-sizing: border-box;
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid #ccc;
    border-top-color: #333;
    animation: spinner .6s linear infinite;
}

#image-uploading-spinner:before {
    margin-top: 8px;
    margin-left: 38px;
}

#image-uploading-spinner > .glyphicon {
    margin-left: 3em;
    margin-top: 1rem;
}

#video-uploading-spinner:before {
    margin-left: 20px;
    margin-top: -10px;
}

@-moz-document url-prefix() {
    #video-uploading-spinner:before {
        margin-left: 0;
        margin-top: 5px;
    }
}

#video-uploading-spinner > .glyphicon {
    margin-top: 10px;
}

#video-uploading-spinner {
    margin-left: 20px;
    margin-bottom: 10px;
}

.modal-center {
    text-align: center;
}

#current-user-display {
    text-align: left;
}

.full-width-img {
    max-width: 100%;
}

.compact {
    white-space: nowrap;
    width: 1px;
}

.details-block {
    padding: 2% 2% 0 2%;
}

.summary-block {
    padding: 2% 0 0 2%;
}
.details-block > .header {
    margin-bottom: 1%;
}

.btn-hidden {
    visibility: hidden;
    display: none;
}

#upload-block {
    padding-top: 2rem;
}

.dropzone {
    border-radius: 1rem;
}

.modal-image {
    max-width: 320px;
}

.info-msg {
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.img-box {
    border: 2px solid rgba(0, 0, 0, 0.3);
    min-height: 150px;
    border-radius: 1rem;
    overflow: auto;
    max-height: 200px;
}

.img-box > .img-box-text {
    text-align: center;
    margin-top: 1em;
}

#photo-type-tabs ~ .tab-content {
    border-left: solid 1px #ddd;
    border-bottom: solid 1px #ddd;
    border-right: solid 1px #ddd;
    border-bottom-right-radius: 1rem;
    border-bottom-left-radius: 1rem;
}

.protocol-preview-image > img {
    margin: 3px;
}

.ui-state-default a, .ui-state-default a:link, .ui-state-default a:visited, a.ui-button, a:link.ui-button, a:visited.ui-button, .ui-button {
    color: #337ab7;
}

#sortable {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

#sortable li {
    margin: 2px;
    padding: 1px;
    float: left;
    width: 100px;
    height: 90px;
    font-size: 4em;
    text-align: center;
}

.close:before {
    content: '✕';
}
.close {
    position: absolute;
    top: 0;
    right: 0;
    cursor: pointer;
    color: darkred;
    opacity: .5;
    font-size: 18px;
}

.ui-state-default {
    position: relative;
}
.img-box::-webkit-scrollbar {
    width: 0.8rem;
}

.img-box::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px #f2f2f2;
    border-top-right-radius: 1rem;
    border-bottom-right-radius: 1rem;
    background-color: #f2f2f2;
}

.img-box::-webkit-scrollbar-thumb {
    border-top-right-radius: 1rem;
    border-bottom-right-radius: 1rem;
    border-top-left-radius: 1rem;
    border-bottom-left-radius: 1rem;
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.5);
}

.content-right {
    text-align: right;
}

#report-block {
    padding-left: 0;
}

#report-block > .row > .col-md-6 {
    font-size: 14pt;
    font-weight: bold;
}

.responsive-img {
    max-width: 100%;
    height: auto;
}

input#table-search {
    padding-left: 30px;
}

.glyphicon-search.form-control-feedback {
    left: 0;
}

.details-block > table > tbody > tr > td:last-child {
    word-break: break-all;
    white-space: pre-line;
}

#address-col {
    white-space: normal;
    word-break: normal;
}

#pdf-table {
    margin-top: 5px;
}

.dropzone.examination .dz-preview .dz-image {
    width: 210px;
    height: auto;
}

.panel.ui-sortable-handle {
    cursor: default;
}

.margin-bottom {
    margin-bottom: 1em;
}


.actions {
    white-space: nowrap;
    width: 1px;
    text-align: center;
}

.actions a {
    display: inline-block;
    padding: 0 2px;
}

.input-red,
.input-red > textarea {
    color: red;
}

.input-blue,
.input-blue > textarea {
    color: blue;
}

td#address-col > #contact {
    white-space: pre-line;
}

div.note-statusbar {
    display: none;
}

@font-face {
    font-family: 'Inconsolata';
    src: url('../fonts/Inconsolata-Light.eot');
    src: url('../fonts/Inconsolata-Light.eot?#iefix') format('embedded-opentype'),
    url('../fonts/Inconsolata-Light.woff2') format('woff2'),
    url('../fonts/Inconsolata-Light.woff') format('woff'),
    url('../fonts/Inconsolata-Light.ttf') format('truetype'),
    url('../fonts/Inconsolata-Light.svg#Inconsolata-Light') format('svg');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inconsolata';
    src: url('../fonts/Inconsolata-Bold.eot');
    src: url('../fonts/Inconsolata-Bold.eot?#iefix') format('embedded-opentype'),
    url('../fonts/Inconsolata-Bold.woff2') format('woff2'),
    url('../fonts/Inconsolata-Bold.woff') format('woff'),
    url('../fonts/Inconsolata-Bold.ttf') format('truetype'),
    url('../fonts/Inconsolata-Bold.svg#Inconsolata-Bold') format('svg');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inconsolata';
    src: url('../fonts/Inconsolata-Regular.eot');
    src: url('../fonts/Inconsolata-Regular.eot?#iefix') format('embedded-opentype'),
    url('../fonts/Inconsolata-Regular.woff2') format('woff2'),
    url('../fonts/Inconsolata-Regular.woff') format('woff'),
    url('../fonts/Inconsolata-Regular.ttf') format('truetype'),
    url('../fonts/Inconsolata-Regular.svg#Inconsolata-Regular') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

body {
    font-family: 'Inconsolata', sans-serif;
}
