/* This is a temporary file to house any post-boostrap inclusion overrides until we can sort out the
ramifications of site_amr.css not having been used in a while */

.dropdown-menu.ast_data {
    padding: 0;
    /* 2x the natural width of the drug results list: we don't want long resistance markers to wrap */
    min-width: 440px;
    max-width: 90vw;
    max-height: 60vh;
    overflow-y: auto;
}

/* resistance markers sit above the agents and stay visible while the agent list scrolls */
.ast_data .ast_data_markers {
    position: sticky;
    top: 0;
    z-index: 1;
    font-size: small;
    padding: 8px 10px;
    background-color: #f5f5f5;
    border-bottom: 1px solid #e5e5e5;
    white-space: normal;
}

.ast_data .ast_data_markers_label {
    font-weight: bold;
    color: #777;
}

.ast_data pre.ast_data_results {
    font-size: small;
    padding: 10px;
    margin: 0;
    border: 0;
    border-radius: 0;
    background: none;
    white-space: pre;
}

.count-val {
    padding-left:20px;
}

.form-inline .inline-input-sz-2 {
    width:50px;
}
.form-inline .inline-input-sz-3 {
    width:55px;
}
.form-inline .inline-input-sz-4 {
    width:60px;
}

form.submitted .ng-invalid {
    border-color:#a94442;
}

form.returning .ng-invalid {
    border-color:#428bca;
    background-color:#e4ecf4;
}
form.returning .has-error .radio-inline,
form.returning .has-error .checkbox-inline {
    color:#428bca;
}

.validation-warning {
    color: red;
    font-weight: bold;
}

.alert-info {
    border-color:#428bca;
    color:#428bca;
    background-color:#e4ecf4;
}

.alert-danger {
    border-color:#a94442;
}

.ast_row_changed {
   background-color : lightgrey;
}

.btn-upload {
    position: relative;
    overflow: hidden;
}
.btn-upload input {
    position: absolute;
    top: 0;
    right: 0;
    margin: 0;
    opacity: 0;
    filter: alpha(opacity=0);
    transform: translate(-300px, 0) scale(4);
    -webkit-transform: translate(-300px, 0) scale(4);
    -ms-transform: translate(-300px, 0) scale(4);
    -o-transform: translate(-300px, 0) scale(4);
    font-size: 23px;
    direction: ltr;
    cursor: pointer;
}
* html .btn-upload {
    line-height: 24px;
    margin: 1px -3px 0 0;
}
* + html .btn-upload {
    padding: 2px 15px;
    margin: 1px 0 0 0;
}

.message_feedback {
    font-size: xx-large;
    background-color: #fcefa1;
    color: black;
    display: block;
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 20px;
    z-index: 100;
}
.message_feedback.error {
    color: red;
}

.agar-tooltip-text:hover .agar-tooltip {
    display: block;
    color: black;
}
.agar-tooltip {
    display: none;
    background: #C8C8C8;
    margin-left: 28px;
    padding: 10px;
    position: absolute;
    z-index: 1000;
    width: 200px;
}
.red {
    color: red;
}
