.list-group-item.active,
.list-group-item.active:hover,
.list-group-item.active:focus {
    background-color: #5D4484;
    border-color: #5D4484;
}

.home-bg {


    /*background: url(img/dna.jpg) no-repeat center center fixed; */
    background: url(../img/skellig-michael.jpg) no-repeat center center fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5))

}


.debug-input {
    font-size: 70%;
    color: #a94442;
}

.fixed-alert-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
}

.inline-link-list {
    padding-right: 20px;
}

.phenotypes .modal-dialog {
    width: 100%;
    height: 100%;
    min-height: 100%;
    margin: 0px;
}

.phenotypes .modal-content {
    height: auto;
    height: 100%;
    margin: 0px;
    padding: 10px;
}

.phenotype-list {
    max-height: 60%;
    max-height: 60vh;
    height: 60%;
    height: 60vh;
    overflow-y: auto;
}

.phenotype-list-long {
    max-height: 75%;
    max-height: 75vh;
    height: 75%;
    height: 75vh;
    overflow-y: auto;
}

.pedigree-table tbody tr td,
.pedigree-table tbody tr th,
.pedigree-table thead tr th,
.pedigree-table thead tr td,
.pedigree-table tfoot tr th,
.pedigree-table tfoot tr td {
    border: none;
}

.pedigree-table tbody tr td.pedigree-cell,
.pedigree-table tbody tr th.pedigree-cell,
.pedigree-table thead tr th.pedigree-cell,
.pedigree-table thead tr td.pedigree-cell,
.pedigree-table tfoot tr th.pedigree-cell,
.pedigree-table tfoot tr td.pedigree-cell {
    border: 1px solid #aaa;
}

div .pedigree-legend {
    width: 100%;
    padding: 5px 0 25px 0;
    border-top: 1px solid #ddd;
    margin: 20px;
}

.pedigree-legend span {
    margin-right: 20px;
}

.audit-change {
    white-space: pre;
    width: 40%;
    max-width: 4em;
}

.pedigree-alert {
    color: #a94442;
    background-color: #f2dede;
    border-color: #ebccd1;
    padding: 5px;
    margin-top: 10px;
    border: 1px solid transparent;
    border-radius: 4px;
}

.highlighted {
    background: yellow
}

.phenotype-help-block {
    margin: 0px 10px 10px 20px;
    font-size: 90%;
    color: #8a8a8a;
}

.form-signin {
    max-width: 330px;
    padding: 15px;
    margin: 0 auto;
    margin-top: 80px;
    background-color: #fff;
}

.logo-signin {
    max-width: 330px;
    padding: 15px;
    margin: 0 auto;
    margin-top: 80px;
    color: white;
    font-size: 170%
}

div.brand {
    text-align: center;
}

span.brand {
    background-color: black;
    z-index: 0;
    opacity: 0.6;
    padding: 10px;
    font-size: 500%;
    text-align: center;
    color: white;
    letter-spacing: 4px;
}
span.brand .highlight {
    color: #ff1826;
}

.study-progress-chart {
    margin-bottom: 100px;
    width: 100%;
    height: 200px;
}

.row-inline {
    display: inline-block;
}

.row-new-space {
    width: 70%;
    display: block;
    border-top: 1px solid #eee;
    margin-top: 30px;
    margin-bottom: 10px;
}

.row-new {
    width: 100%;
    display: block;
}

.label-as-badge {
    border-radius: 1em;
}

#form-directive label {
    display: block;
}
#form-directive li label {
    padding-left: 35px;
    padding-top: 10px;
    padding-bottom: 10px;
}

@media screen and (min-width: 600px) {
    .very_narrow {
        width: 80px;
    }

    .narrower {
        width: 160px;
    }

    .narrow {
        width: 190px;
    }

    #form-directive .very_narrow label {
        display: inline;
    }

    #form-directive .narrower label {
        display: inline;
    }

    #form-directive .very_narrow.inline {
        margin-right: 0;
    }

    #form-directive .narrower.inline {
        margin-right: 0;
    }

    #form-directive .very_narrow input {
        width: 60px;
    }

    #form-directive .narrower input {
        width: 60px;
    }

    .medium_narrow {
        width: 220px;
    }
    .less_narrow {
        width: 250px;
    }

    .medium {
        width: 390px;
    }

    .large {
        width: 480px;
    }

    .inline {
        display: inline-block;
        vertical-align: top;
        margin-right: 10px;
    }

    .inline > :last-child {
        margin-right: 0 !important;
    }

    .full-width-checkbox {
        width: 60%;
    }

    .input-3col-grid li {
        display: block;
        float: left;
        width: 220px;
    }
}

.aligned-checkbox {
    margin-top: 20px;
    margin-bottom: 0;
}

.aligned-checkbox-bigger {
    margin-top: 40px;
    margin-bottom: 0;
}

.admin-form-block {
    margin-left: 20px;
    padding-left: 10px;
    border-left: 1px solid #CCCCCC;
}

.form-signin .form-signin-heading,
.form-signin .checkbox {
    margin-bottom: 10px;
}

.form-signin .checkbox {
    font-weight: normal;
}

.form-signin .form-control {
    position: relative;
    height: auto;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 10px;
    font-size: 16px;
}

.form-signin .form-control:focus {
    z-index: 2;
}

.form-signin input {
    margin-bottom: 10px;
}

#password-group {
    position: relative;
}

#password-group input {
    padding-right: 30px;
}

.password span {
    margin-right: 25px;
}

.password i .fa-eye {
    padding: 5px 20px 20px 20px;
}

#password-group i {
    right: 10px;
    padding: 5px;
    color: #969696;
    position: absolute;
    top: 10px;
    z-index: 99999;
}

.q-danger {
    color: #C52F2B;
}

.q-warning {
    color: #FF9632;
}

.q-success {
    color: #5CB85C;
}

.q-info {
    color: #337ab7;
}

.q-default {
    color: #999;
}

.color-red {
    color: #f00;
}

.color-green {
    color: #090;
}

.monitor {
    border: 1px solid #DDDDDD;
    margin-top: 1em;
    margin-bottom: 1em;
}

.monitor-header {
    background-color: #FCF8E3;
    padding: 5px 15px;
}

.monitor-header-waiting {
    background-color: #D9EDF7
}

.monitor-header-verified {
    background-color: #DFF0D8
}

.monitor-body {
    padding: 15px;
}

.monospace {
    font-family: Consolas, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace;
}

.floating-control {
    padding-top: 26px;
}

#form-directive .input-help {
    font-size: 92%;
    color: #666;
}

#form-directive .input-help.dropdown {
    max-width: 200px;
}


#form-directive textarea.ng-invalid,
#form-directive input.ng-invalid,
#form-directive button.border-invalid,
#note-form textarea.ng-invalid {
    border: 1px #FF9632 solid;
}

#form-directive textarea.ng-valid,
#form-directive button.border-valid,
#form-directive input.ng-valid {
    border: 1px #5CB85C solid;
}

#form-directive input:disabled,
#form-directive textarea:disabled {
    border: none;
}


.section {
    margin-top: 0px;
}

.form-title,
.section-title {
    margin-top: 0px;
    color: white;
    padding: 10px;
    background-color: #5D4484;
}

h3.subsection-title {
    color: white;
    padding: 6px;
    background-color: #5D4484;
    font-size: 110%;
    font-style: italic;
}

.multiple_choice {
    padding: 0;
    list-style: none;
}

#pdcs td.add-sibling {
    padding: 0;
    margin: 0;
}

#pdcs .add-sibling a {
    padding: 0 11px 0 0;
    margin: 0;
}

.text-with-label label:after {
    content: ": "
}

.label-xs {
    font-size: 8px;
}

.label-sm {
    font-size: 10px;
}

.label-md {
    font-size: 12px;
}

.label-lg {
    font-size: 14px;
}

/* custom margin(s) */

.margin-top-30 {
    margin-top: 30px;
}

/* LAB - waybills, trays, tubes */

.t-selectable {
    cursor: pointer;
}

H1.search-tube-id {
    font-size: 4em;
}

.tube-info-box {
    border-radius: 25px;
    background-color: #f5f5f5;
    border: 8px solid #fff;
}

.tube-info-box p {
    font-size: 16px;
    font-weight: bold;
}

.tube-info-box h3 {
    color: #000;
    font-weight: bold;
    padding-bottom: 13px;
    border-bottom: 3px solid #fff;
}

.list-top {
    height: 5em;
}

.scanner-modal .modal-dialog {
    width: 99%;
    margin: 0 auto;
}

.waybill-tube-field {
    padding: 4px 5px;
    color: #fff;
    border-radius: 6px;
    border: 1px solid #fff;
    height: 95px;
    width: 222px;
    font-size: 19px;
}

.waybill-tube-field-ix {
    color: #4c1616;
    font-size: 19px;
}


.waybill-tube-field-pn {
    color: #fafafa;
    font-size: 22px;
}

.waybbill-tube-scanned-tray {
    font-size: 18px;
}

.waybill-tube-in-transit {
    background-color: #82a8af;
}

.waybill-tube-destroyed {
    background-color: rgb(189, 37, 37);
}

.waybill-tube-extracted {
    background-color: rgb(211, 103, 53);
}

.waybill-tube-scanned {
    background-color: #73bf73;
}

.waybill-tube-not-scanned {
    background-color: #de8481;
}

.tube-barcode-legend {
    padding: 10px 0 0 0;
}

.tube-barcode-legend DIV {
    display: inline-block;
    width: 40px;
    height:40px;
    margin:0;
    border-radius: 10px;
}

.tube-barcode-legend P {
    font-size: 14px;
    font-weight: bold;
    width: auto;
    display:inline-block;
    line-height: 42px;
    vertical-align: top;
    margin: 0 30px 0 3px;
}

.assign-waybill-id-form {
    padding: 20px;
    margin: 4px 20px;
    border: 1px solid #8e8e8e;
    border-radius: 8px;
    overflow: auto;
}

.assign-waybill-id-form A {
    margin:5px;
}

.btn-large-group {
    height: 45px;
    text-align: center;
}

.btn-extra-lg {
    padding: 6px 16px;
    font-size: 20px;
    line-height: 1.4;
    border-radius: 10px;
    margin-right: 6px;
}

.radio-header {
    margin-top: 20px;
    border-top: 1px solid #DDDDDD;
}

.radio-header label {
    font-size: 110%;
    font-weight: bolder;
}

.small-text input {
    font-size: 85%;
}

.tray-position-info-container {
    height: 70px;
}

.tray-preview-container {
    /* position: absolute; */
    padding: 15px;
    margin: 0 auto;
    top: 20px;
    border: 2px solid #000;
    border-radius: 10px;
    z-index: 9999;
    box-shadow: 0px 2px 7px 4px black;
}

.tube-preview-container {
    position: fixed;
    background-color: #ffffff;
    padding: 20px;
    border: 3px solid #e5e5e5;
    border-radius: 12px;
    top: 25px;
    left: 25px;
    z-index: 999;
    box-shadow: 0px 2px 7px 4px black;
}

.popup-select-trays-selected-tray {
    font-size: 14px;
    padding: 6px;
    color: #767676;
    border: 1px solid #cacaca;
    border-radius: 3px;
    margin: 4px;
}

.popup-select-trays-not-selected-tray {
    font-size: 14px;
    padding: 6px;
    color: #FD4040;
    border: 1px solid #FD4040;
    border-radius: 3px;
    margin: 4px;
}

.popup-select-trays-selected-by-click-tray {
    font-size: 14px;
    padding: 6px;
    color: #090;
    border: 1px solid #0c0;
    border-radius: 3px;
    margin: 4px;
}

.popup-select-trays-selected-tray:last-child {
    color: #090;
    border-color: #0c0;
}

.tray-preview-container,
.location-trays-list-container {
    /* overflow: hidden; */
    /* width: auto; */
    padding: 5px;
    margin: 0 auto;
    top: 20px;
    border: 2px solid #000;
    border-radius: 10px;
    z-index: 9999;
    box-shadow: 0px 2px 15px 4px black;
}

.preview-absolute-positioned {
    background-color: #fefefe;
    /* overflow: hidden; */
    width: 70%;
    position: absolute;
    top: 50px;
    left: 50px;
    z-index: 9999;
}

TABLE.tray-preview-tbl {
    margin-top:25px;
}

.location-trays-list-preview-tray {
    float: left;
    cursor: pointer;
    width: 200px;
    height: 200px;
    padding: 10px;
    margin: 10px;
    border: 1px solid #333;
    border-radius: 8px;
}

.tray-preview-component-container {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 9999;
    cursor: move
}

TABLE.tray-preview-tbl .tray-preview-container-cell {
    display: inline-block;
    font-size: 13px;
    font-weight: bold;
    padding: 3px;
    width: 110px;
    height: 74px;
    border: 1px solid #000;
    border-radius: 3px;
    margin: 3px;
}

TABLE.tray-preview-tbl .tray-preview-container-cell SPAN.tray-preview-container-cell-study {
    font-size: 10px;
    color:#121212;
}

TABLE.tray-preview-tbl .tray-preview-container-cell A.tube-preview-link {
    text-decoration: none;
    cursor:pointer;
    color: #000;
}

.tube-barcode-details-link,
.tube-barcode-details-link:visited,
.tube-barcode-details-link:hover {
    text-decoration: none;
    cursor:pointer;
    color: #fff;
}

.tube-barcode-details-link SPAN {
    margin:0;
    padding:0;
}

.tube-barcode-details-site-study {
    font-size: 14px;
    font-weight: bold;
    color: #ededed;
}

.tray-tube-cell-pos {
    font-size: 14px;
    color: #656565;
    display: block;
}

.tray-animate-cell {
    background-color: #f5af1a;
}


.tray-unknown-slot-cell {
    background-color: #b8d8de !important;
}

.tray-preview-location {
    padding: 20px;
    font-size: 17px;
}

.tray-preview-location I {
    margin-right: 5px;
}

.tray-preview-tray-name {
    font-size: 20px;
    font-weight: bold;
    color: #222;
}

.tray-info-panel {
    width: 18%;
    display: inline-block;
    vertical-align: top;
    margin-right: 8px;
}

.selected-tray-details {
    border: 3px solid #888;
    /* !important should not be used, but in this case ng-class and ng-style 
    combined together with dynamic values like background color of each row in trays table 
    does not work pretty well, so let's make this one exception... [RJ] */
    /* border-radius: 50px; */
    /* background-color: #f22 !important; */
}

.tray-position-info {
    text-align: center;
    padding: 0px;
    border: 3px solid #060;
    border-radius: 8px;
    font-size: 15px;
    font-weight: bold;
    color: #060;
    line-height: 28px;
}

.tray-position-info-id {
    font-size: 15px;
}

.tray-position-tube-barcode {
    font-size: 16px;
    color: #404040;
}

.tube-note-directive {
    position: absolute;
    width: 290px;
    top: 30px;
    left: 30px;
    overflow: hidden;
    vertical-align: top;
    border: 1px solid #cecece;
    border-radius: 8px;
    background-color: #fafafa;
    z-index: 999;
    padding: 8px;
}

.tube-note-directive-dismiss {
    color: #f00;
    cursor: pointer;
}

.tubes-screen-header {
    font-size: 24px;
    font-weight: bold;
    border-bottom: 1px solid #693b3b;
    padding-bottom: 21px;
    margin-bottom: 15px;
}

.loading-gif {
    width: 100%;
    display: block;
    text-align: center;
    /* margin: 0 auto; */
}

.tray-row {
    font-weight: bold;
}

.transit-tray {
    /* background-color: #e20a0a; */
    color: #ef1c1c;
}

.lab-tray {
    color: #3e3e3e;
}

input[type="checkbox"].transit-checkbox {
    width: 18px;
    height: 18px;
    margin: 8px;
}


.error {
    font-size: 22px;
    font-weight: bold;
    color: #e00;
}

.container {
    margin-top: 20px;
    padding-top: 10px;
    border-radius: 4px;
}

.navbar {
    margin-bottom: 0;
}

.navbar-brand {
    padding: 9px 15px;
}

.alert {
    border-radius: 10px;
    font-size: 18px;
    font-weight: bold;
    margin: 20px 2px;
}

.alert-danger {
    color: #980805;
    background-color: #fbb9b9;
    border-color: #f75871;
}

.alert-success {
    color: #3c763d;
    background-color: #dff0d8;
    border-color: #3c6d3d;
}

.alert-danger .close SPAN,
.alert-succsess .close SPAN {
    color: #3e3e3a;
}

.box-selected {
    font-size: 19px;
    color: #397539;
    font-weight: bold;
    margin: 11px 0px;
}

.form-dropdown {
    min-width: 200px;
    max-width: 200px;
    overflow: hidden;
}

.form-dropdown:hover {
    overflow: visible;
}

#pdcs .disabled-link {
    color: #ccc;
    cursor: not-allowed;
}

.scrollable-dropdown {
    height: auto;
    max-height: 500px;
    overflow-x: hidden;
}

.filter-icon-clear {
    width: 30px;
    height: 10px;
    position: relative;
    top: -26px;
}

.tube-filter-icon-clear {
    left: 295px;
}

.tray-filter-icon-clear {
    left: 138px;
}

.waybill-filter-icon-clear {
    left: 195px;
}

.study-trays-selector {
    display: inline-block;
    width: 200px;
    height: 200px;
    border: 2px solid #292727;
    background-color: #a76262;
    border-radius: 15px;
    margin: 11px;
    cursor: pointer;
}

.study-trays-selector P {
    text-align: center;
    font-size: 24px;
    margin: 0;
    padding: 3px;
    color: #ececec;
    padding-top: 85px;
}


.third-of-parent {
    width: 30%;
    max-width: 30%;
}

.reports-results {
    position: relative;
    top: 70px;
}

.tube-position-edit-popup {
    position: absolute;
    top: 305px;
    left: 20px;
    border: 4px solid #8e8e8e;
    border-radius: 10px;
    background-color: #fff;
    padding: 10px;
    width: 400px;
    z-index: 999;
}

.tube-destroy-popup {
    position: absolute;
    top: -40px;
    left: 120px;
    border: 4px solid #fa0000;
    border-radius: 10px;
    background-color: #fff;
    padding: 10px;
    width: 400px;
    text-align: left;
    z-index: 999;
}

.reports-settings {
    position: relative;
    top: 70px;
}

.reports-loading-spinner-container {
    position: relative;
    top: 30px;
    width: 300px;
    text-align: center;
    margin: 0 auto;
}

.coombe-popup-block {
    padding: 10px;
    border: 3px solid #d9edf7;
    min-height: 400px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.coombe-popup-status-bar {
    height: 55px;
    background-color: #d9edf7;
    padding: 15px 15px;
    font-size: 20px;
    font-weight: bold;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.coombe-popup-samples-table {
    /* border: 1px solid #ededed; */
    padding: 10px;
    margin-top: 20px;
    max-height: 450px;
    overflow: auto;
}

.offline-form {
    opacity: .4;
}

.warning-message {
    font-size: 19px;
    font-weight: bold;
    color:#f00;
    width: 480px;
}

.loader-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 150%;
    background-color: rgba(200, 200, 200, 0.6);
    z-index: 9999;
}

.loader-layer DIV P {
    position: relative;
    top:-200px;
    text-align: center;
    color: #111;
}

.input-group-addon {
    font-weight: bold;
}

.loader-layer DIV {
    position: relative;
    top: 40%;
}


.handsontable .wtSpreader {
    width:100%;
}

.pagination-goto {
    cursor: pointer;
}

.pagination-page-indicator {
    line-height: 2em;
    display: inline-block;
    /* width: 120px; */
    float: left;
    margin-top: 25px;
    margin-right: 19px;
    font-size: 15px;
    font-weight: bold;
}

.pagination-page-indicator SELECT {
    padding:6px;
    border-radius:5px;
}

.pagination-page-of {
    float:right;
    font-size: 18px;
    margin: 26px 30px 0 0;
    font-weight: bold;
}

.pagination {
    margin: 24px 0 0 0;
}

.bg-red {
    background-color: #f34c4c;
    color: #fafafa;
}

.bg-green {
    background-color: #27B227;
    color: #fafafa;
}

.well P {
    font-size: 16px;
    font-weight: bold;
    color: #210303;
}

.samples-autocomplete-container {
    background-color: #fff;
    z-index: 999;
    padding: 0;
    margin: 0;
    border: 1px solid #dedede;
    position: absolute;
    top: 42px;
    left: 73px;
    max-height: 350px;
    overflow: auto;
    width: 248px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.samples-autocomplete-container UL {
    padding: 0;
}

.samples-autocomplete-container UL LI {
    font-size: 17px;
    text-align: left;
    line-height: 28px;
    cursor: pointer;
    padding: 0 0 0 10px;
}

.samples-autocomplete-container UL LI:hover {
    color: #F0E4E4;
    background-color: rgb(13, 158, 94);
}

.samples-autocomplete-dropdown-icon {
    position: absolute;
    top: 11px;
    left: 285px;
    color: #aaa;
    cursor: pointer;
}

/* handsontable custom styles start */
.ht_master tr:nth-child(0)>td:nth-child(0) {
    background-color: #F00;
}
/* handsontable custom styles end */

.table-list {
    margin-bottom: 100px;
}

@media screen and (min-width: 1200px) {
    .section-panel {
        padding-bottom: 10px;
        max-height: 600px;
        overflow-y: auto;
        overflow-x: hidden;
    }
}

#section-nav a.list-group-item:active {
    background-color: #D9EDF7
}

#fitness-report .table th {
    text-align: center;
}

.affixed {
    z-index: 777;
    background-color: white;
    padding-bottom: 10px;
}
.question-text-panel {
    margin-top: 20px;
    padding-top: 5px;
    border-top: 1px solid #eeeeee;
}

.comment-directive{
    margin-top: .4em;
    margin-bottom: .4em;
}

.border-percent {
    width: 0%;
    transition: width 1.5s;
    -webkit-transition: width 1.5s;
    border-top: 1px solid white;
    margin-top: 0;
}
.next-section-nav {
    margin-top: 25px;
    margin-bottom: 20px;

}

.section-status p{
    padding: 5px;
    text-align: center;
}

#selfserve {
    color: #707070;
}
#selfserve .progress-bar{
    color: #707070;
    font-weight: bold;
    text-align: center;
}

.biobank-sample-upload-block {
    padding: 10px;
    border: 3px solid #d9edf7;
    border-bottom-left-radius: 10px;
    overflow: auto;
    border-bottom-right-radius: 10px;
    min-height: 200px;
}

#form-directive .buttongroup {
    min-width: 130px;
}

.copied-confirmation-popup {
    position: fixed;
    background-color: #eee;
    top: 20px;
    left: 20px;
    width: 220px;
    height: 30px;
    border: 2px solid #060;
    border-radius: 6px;
    padding: 4px;
    z-index: 9999;
}
.copied-confirmation-popup P {
    font-size: 14px;
    font-weight: bold;
    color: #060
}

.table-striped > tbody > tr.dna-extracted TD {
    background-color: #f1c6c6 !important;
}

#lab-waybills-list > tbody > tr.many-studies TD {
    background-color: #dcbcbc !important;
}

.centered {
    position: fixed;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -60%);
    -webkit-transform: translate(-50%, -60%);
    -moz-transform: translate(-50%, -60%);
    -o-transform: translate(-50%, -60%);
    -ms-transform: translate(-50%, -60%);
}


#selfserve h1 {
    margin-top: 80px;
    margin-bottom: 20px;
}

#selfserve .patient {
    font-size: 200%;
    font-weight: bold;
}
#selfserve a.logout {
    margin-top: 80px;
}
#selfserve .progress {
    margin-bottom: 5px;
}


.question-muted {
    opacity: 0.3;
}

.help-image {
    margin-top: 50px;
}
.help-image img{
    max-width: 100%
}

.has-comment{
    border: 1px #5CB85C solid;
    color: #5CB85C ;
}

.fit-audit-value