﻿/* ------------------------------------------------ */
/*                BOOTSTRAP OVERRIDE                */
/* ------------------------------------------------ */

textarea {
    resize: vertical;
}

.validation-summary-errors {
    padding: 15px;
    margin-bottom: 20px;
    background-color: #f2dede;
    border: 1px solid #ebccd1;
    border-radius: 0;
}

    .validation-summary-errors ul {
        margin: 0;
    }

.input-validation-error {
    border: 1px solid #e91e63;
}

.input-group-addon .fa {
    width: 14px;
}

.input-sm {
    font-size: 14px;
}

.table-hover tbody tr:hover td, .table-hover tbody tr:hover th {
    background-color: #dddddd;
}

.table-borderless > tbody > tr > td,
.table-borderless > tbody > tr > th,
.table-borderless > tfoot > tr > td,
.table-borderless > tfoot > tr > th,
.table-borderless > thead > tr > td,
.table-borderless > thead > tr > th {
    border: none;
}

.table > thead > tr > td.success,
.table > tbody > tr > td.success,
.table > tfoot > tr > td.success,
.table > thead > tr > th.success,
.table > tbody > tr > th.success,
.table > tfoot > tr > th.success,
.table > thead > tr.success > td,
.table > tbody > tr.success > td,
.table > tfoot > tr.success > td,
.table > thead > tr.success > th,
.table > tbody > tr.success > th,
.table > tfoot > tr.success > th {
    background-color: #dff0d8;
}

.table > tbody > tr > td.active,
.table > tbody > tr > th.active,
.table > tbody > tr.active > td,
.table > tbody > tr.active > th {
    background-color: #c9dfec;
}

.table-hover > tbody > tr > td.active:hover,
.table-hover > tbody > tr > th.active:hover,
.table-hover > tbody > tr.active:hover > td,
.table-hover > tbody > tr:hover > .active,
.table-hover > tbody > tr.active:hover > th {
    background-color: #dff0d8;
}

.table > tbody > tr.active > td,
.table > tbody > tr.active > th,
.table > tbody > tr > td.active,
.table > tbody > tr > th.active,
.table > tfoot > tr.active > td,
.table > tfoot > tr.active > th,
.table > tfoot > tr > td.active,
.table > tfoot > tr > th.active,
.table > thead > tr.active > td,
.table > thead > tr.active > th,
.table > thead > tr > td.active,
.table > thead > tr > th.active {
    background-color: #f5f5f5;
}

.btn .fa {
    min-width: 12px;
}

.btn-group-xs > .btn, .btn-xs {
    padding: 1px 5px;
    font-size: 12px;
    line-height: 1.5;
    border-radius: 3px;
}

/* ------------------------------------------------ */
/*                ADMIN LTE OVERRIDE                */
/* ------------------------------------------------ */

.info-box {
    color: #000000;
}

.modal-content .box-comments .box-comment {
    padding-bottom: 0;
}

.modal-content .box-comments .comment-text {
    line-height: 30px;
}

/* ------------------------------------------------ */
/*                BOOTSTRAP DIALOG                  */
/* ------------------------------------------------ */

.bootstrap-dialog .modal-header {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.wide-dlg .modal-dialog {
    width: 900px !important;
}

.xwide-dlg .modal-dialog, .modal-xlg {
    width: 1024px !important;
}

.dialog-body-wrapper {
    overflow-wrap: break-word;
}

/* ------------------------------------------------ */
/*                  LOADING STATUS                  */
/* ------------------------------------------------ */

.loader {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background: url('../images/loading.gif') 50% 50% no-repeat transparent;
}

input.spinner {
    background: url('../images/spinner-ubuntu.gif') no-repeat 98% center;
}

select.spinner {
    background: url('../images/spinner-ubuntu.gif') no-repeat 95% center;
}

div.spinner {
    background: url('../images/spinner-ubuntu.gif') no-repeat center center;
}

/* ------------------------------------------------ */
/*                  LABELS                          */
/* ------------------------------------------------ */

.required:after {
    content: " *";
    font-weight: bold;
    color: red;
    position: absolute;
    right: 0
}

.required-near:after {
    content: " *";
    font-weight: bold;
    color: red
}

.sample-id {
    display: inline-block !important;
    width: 40% !important
}

.editable-item {
    color: #C30000;
    border-bottom: dashed 1px #08c;
    opacity: 1 !important
}

.editable-inline .editableform .form-control {
    width: 100%;
}

/* ------------------------------------------------ */
/*   Fix jqGrid style to show dropdown in a cell    */
/* ------------------------------------------------ */

.ui-jqgrid tr.jqgrow td.text-wrap {
    overflow: visible !important;
    white-space: normal !important;
}

.ui-jqgrid-htable td, .ui-jqgrid-htable th {
    border-top: none;
}

.ui-jqgrid-htable #grid_rn {
    background-color: #f5f5f5;
}

.jqgrow ul.dropdown-menu {
    border-color: #269abc;
    border-radius: 0;
}

    .jqgrow ul.dropdown-menu > li > a {
        color: #333;
    }

        .jqgrow ul.dropdown-menu > li > a:hover {
            background-color: #00c0ef;
            color: #ffffff;
        }

.jqgrow .editable-clear-x {
    right: 15px;
}

.ui-jqgrid th.ui-th-column div {
    /*word-wrap: break-word;*/ /* IE 5.5+ and CSS3 */
    /*white-space: pre-wrap;*/ /* CSS3 */
    /*white-space: -moz-pre-wrap;*/ /* Mozilla, since 1999 */
    /*white-space: -pre-wrap;*/ /* Opera 4-6 */
    /*white-space: -o-pre-wrap;*/ /* Opera 7 */
    overflow: hidden;
    height: auto !important;
    vertical-align: middle;
}

.ui-jqgrid tr.jqgroup {
    background-color: #d9edf7 !important;
}

.pager-narrow td[align=left] {
    width: 0 !important;
}

.grid-free-space .ui-jqgrid-bdiv {
    min-height: 600px !important;
}

/* ------------------------------------------------ */
/*                  POSITIONING                     */
/* ------------------------------------------------ */

.pos-relative {
    position: relative;
}


/* ------------------------------------------------ */
/*                  WIDTH-HEIGHT                    */
/* ------------------------------------------------ */

.wd-30 {
    width: 30px;
}

.wd-50 {
    width: 50px;
}

.wd-75 {
    width: 75px;
}

.wd-100 {
    width: 100px;
}

.wd-120 {
    width: 120px;
}

.wd-150 {
    width: 150px;
}

.wd-200 {
    width: 200px;
}

.wd-250 {
    width: 250px;
}

.wd-300 {
    width: 300px;
}

.fw-30 {
    width: 30px;
    min-width: 30px;
    max-width: 30px;
}

.fw-50 {
    width: 50px;
    min-width: 50px;
    max-width: 50px;
}

.fw-75 {
    width: 75px;
    min-width: 75px;
    max-width: 75px;
}

.fw-100 {
    width: 100px;
    min-width: 100px;
    max-width: 100px;
}

.fw-120 {
    width: 120px;
    min-width: 120px;
    max-width: 120px;
}

.fw-150 {
    width: 150px;
    min-width: 150px;
    max-width: 150px;
}

.fw-200 {
    width: 200px;
    min-width: 200px;
    max-width: 200px;
}

.fw-250 {
    width: 250px;
    min-width: 250px;
    max-width: 250px;
}

.fw-300 {
    width: 300px;
    min-width: 300px;
    max-width: 300px;
}

.h-500-scrollable {
    overflow-y: scroll;
    height: 500px;
    max-height: 500px;
}

.h-600-scrollable {
    overflow-y: scroll;
    height: 600px;
    max-height: 600px;
}

.h-700-scrollable {
    overflow-y: scroll;
    height: 700px;
    max-height: 700px;
}

.h-800-scrollable {
    overflow-y: scroll;
    height: 800px;
    max-height: 800px;
}

/*----------------------------------------------------------------------------*/
/*                        BACKGROUND & TEXT & ICONS                           */
/*----------------------------------------------------------------------------*/

/* Custom background color */
.bg-light-yellow, .bg-light-warning {
    background-color: #fcf8e3 !important;
}

.bg-light-info {
    background-color: #d9edf7 !important;
}

.bg-light-success {
    background-color: #dff0d8 !important;
}

.bg-light-danger {
    background-color: #f2dede !important;
}

/* Text format */
.highlight {
    color: red;
    font-weight: bold;
}

.text-red {
    color: red;
}

.text-gray {
    color: gray;
}

.text-purple {
    color: purple;
}

.text-violet {
    color: #9400d3;
}

.text-bold {
    font-weight: bold;
}

.text-huge {
    font-size: 30px;
    font-weight: bold;
}

.text-nowrap, .truncate {
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis; /* This is where the magic happens */
}

/* Icons */
span.icon-lg {
    font-size: larger;
}

span.icon-xlg {
    font-size: x-large;
}

span.icon-xxlg {
    font-size: xx-large;
}

span.icon-2x {
    font-size: 28px;
}

span.icon-3x {
    font-size: 42px;
}

span.icon-4x {
    font-size: 56px;
}

.icon-w25 {
    width: 25px;
}

i.fa-md {
    font-size: 1.4em;
}

/* Chart */
.chart-wrapper {
    margin-top: 50px;
    margin-bottom: 50px;
}

.chart {
    min-height: 500px;
}

/* Links */
a.fill-cell {
    cursor: pointer;
    display: block;
    margin: -.9em;
    padding: .9em;
    -webkit-tap-highlight-color: #000000;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

/*----------------------------------------------------------------------------*/
/*                                  QUICK LINKS                               */
/*----------------------------------------------------------------------------*/

.quick-link-item {
    text-align: center;
    color: white;
    height: 130px;
    max-height: 130px;
    overflow: hidden;
    margin-bottom: 10px;
}

    .quick-link-item a {
        color: #f0f0f0;
        display: block;
        padding: 10px;
    }

        .quick-link-item a:hover {
            text-decoration: none;
        }

            .quick-link-item a:hover span {
                color: black;
            }

            .quick-link-item a:hover p {
                color: white;
                font-weight: bold;
            }

    .quick-link-item p {
        margin: 10px 0 0;
    }

/*----------------------------------------------------------------------------*/
/*                       HORIZONTAL SCROLLABLE TABLE                          */
/* <div id="table-scroll-#" class="table-scrollable-container">               */
/*   <div class="table-scrollable-wrapper">                                   */
/*     <table class="table main-table">                                       */
/*       <thead><tr><th class="fixed-side-col"></th>...</tr></thead>          */
/*       <tbody><tr><td class="fixed-side-col"></td>...</tr></tbody>          */
/*     </table">                                                              */
/*   </div">                                                                  */
/* </div">                                                                    */
/*----------------------------------------------------------------------------*/

.fixed-side-col {
    min-width: 200px;
    max-width: 220px;
}
/*Used for left most column*/
.table-scrollable-container {
    position: relative;
    max-width: 100%;
    margin: auto;
    overflow: hidden;
}

    .table-scrollable-container table {
        width: 100% !important;
        margin: auto;
        border-collapse: separate;
        border-spacing: 0;
    }

    .table-scrollable-container th, .table-scrollable-container td {
        padding: 5px 10px; /*border:1px solid #000;*/
        background: #fff;
        white-space: nowrap;
        vertical-align: top;
    }

    .table-scrollable-container thead, .table-scrollable-container tfoot {
        background: #f9f9f9;
    }

.table-scrollable-wrapper {
    width: 100% !important;
    overflow: auto;
}

.table-cloned {
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: none;
}

    .table-cloned th, .table-cloned td {
        visibility: hidden;
        border-color: transparent;
    }

    .table-cloned tbody th {
        visibility: visible;
    }

    .table-cloned .fixed-side-col {
        background: #f9f9f9;
        visibility: visible;
    }

    .table-cloned thead, .table-cloned tfoot {
        background: transparent;
    }

/*----------------------------------------------------------------------------*/
/*               STICKY TABLE - FIXED HEADER AND FIRST COLUMN                 */
/* <div class="table-sticky-container">                                       */
/*   <table class="table table-sticky">                                       */
/*     <thead>                                                                */
/*       <tr class="first-header-row"><th></th>...</tr>                       */
/*       <tr class="second-header-row"><th></th>...</tr>                      */
/*     </thead>                                                               */
/*     <tbody>                                                                */
/*       <tr><th></th> <td></td> ... </tr>                                    */
/*       <tr><th></th> <td></td> ... </tr>                                    */
/*     </tbody>                                                               */
/*   </table">                                                                */
/* </div">                                                                    */
/*----------------------------------------------------------------------------*/

.table-sticky-container {
    max-height: 750px;
    overflow: scroll;
    position: relative;
}

.table-sticky {
    position: relative !important;
    border-collapse: collapse;
}

    .table-sticky thead th {
        position: -webkit-sticky;
        position: sticky;
        background-color: #ffffff;
        border: 1px solid #ddd;
    }

        .table-sticky thead th:first-child {
            left: 0;
            z-index: 1;
        }

    .table-sticky thead tr.first-header-row th {
        top: 0;
    }

    .table-sticky thead tr.second-header-row th {
        top: 35px;
        background-color: #008b8b;
        color: #ffffff;
    }

    .table-sticky tbody th {
        position: -webkit-sticky;
        position: sticky;
        background-color: #ffffff;
        border-right: 1px solid #ddd;
        left: 0;
    }
