/* Start Browser fixes */
 /* FIREFOX */
  /* Fix datatable header, prevent it from pushing to the left */
.dataTables_scrollHead{
    clear: both;
}

/* End Browser fixes */

/* Skin Customization */
.smart-style-3 .page-footer {
    background-color: #EAAF0F;
}

.smart-style-3 #header {
    background-image: linear-gradient(to bottom, #003F77, #003F77);
    background-color: #003F77;
}


/* Fix Broken panels in .smart-form */
.panel {
    margin-bottom: 18px;
}

.panel-heading {
    padding: 10px 15px;
}

.panel-body {
    padding: 15px;
}

.panel-heading .checkbox, .panel-heading .form-group {
    margin: 0;
    /*margin-left: 2em;*/
}

/* Set Height on fields to allow help-text */
.form-group {
    margin-bottom: 0px;
}
.controls {
    min-height: 50px;
}

.help-block {
    margin-top: 0;
    margin-bottom: 0;
}

/* Misc Styles */
.clear-both {
    clear: both;
}

/* Show Checkboxes */
input[type=checkbox].checkbox {
    visibility: visible;
}

/* Fix Select2 Padding */
.select2-container {
    padding: inherit;
}

/* Fix Input Padding */
.smart-form input {
    padding: 8px 10px;
    box-sizing: border-box;
}

/* Fix Logo */
#logo {
    margin: 2px 0 1px;
}

#logo img {
    height: 49px !important;
    width: auto !important;
    padding-left: 0 !important;
}

#logo-group {
    background-color: white;
    margin-left: -1px;
    border-bottom: 1px solid #ccc;
}

/* Make Help Text Italic */
.help-block {
    font-style: italic;
}


/* Form with-in Panel Heading */
.panel-heading-form {
    min-height: 38px;
    padding-top: 2px;
    padding-bottom: 2px;
}

.panel-heading-form div.col-sm-3 {
    padding-left: 0px;
}

.panel-heading-form div.form-group label {
    float: left;
    padding-right: 1em;
    padding-top: 8px;
}

.panel-heading-form div.form-group div.controls {
    float: left;
    height: auto;
}

/* This overrides smartform disabled fields to grey them out */
.form-control[disabled], .smart-form .input input[disabled] {
    background-color: #eee;  /* !important; */
}

/* Large inline formset style */
.large-inline {
    border: 1px solid #ccc;
    /*background-color: #ddc;
    background-color: #F6E503;*/
    background-color: #ffc;
    margin-bottom: 1em;
    padding: .5em;
}


/* Condensed inline formset style */
.dynamic-formset-condensed .checkbox, .radio {
    margin-bottom: 0;
}

.dynamic-formset-condensed .col {
    padding: 0px 5px 0px 0px;
}

.dynamic-formset-condensed div.controls {
    min-height: 0;
}

.dynamic-formset-condensed label {
    white-space: nowrap;
    overflow: hidden;
    font-size: 80%;
    margin-bottom: 0;
}

.dynamic-formset-condensed .form-control, .dynamic-formset-condensed .select2-choice {
    font-size: 80%;
    height: 22px !important;
    padding: 1px 2px;
    line-height: 22px;
}

.dynamic-formset-condensed .btn {
    height: 22px !important;
    line-height: 18px;
    padding-top: 3px;
    padding-bottom: 3px;
}

.dynamic-formset-condensed textarea.form-control {
    height: inherit !important;
}

.dynamic-formset-condensed div.smart-form i.icon-append {
    top: 0;
}

.dynamic-formset-condensed .input-group-addon{
    font-size: 80%;
    padding: 1px 6px;
}

.dynamic-formset-condensed .select2-container {
    padding: 0;
}

.dynamic-formset-condensed .checkbox {
    margin-top: 0;
}

.dynamic-formset-condensed .help-block {
    font-size: 80%;
}

/*.dynamic-formset-condensed label:hover {*/
    /*overflow: visible;*/
    /*background-color: yellow;*/
    /*transform: scale(.9, 1);*/
    /*-ms-transform: scale(.9, 1); *//* IE 9 */
    /*-webkit-transform: scale(.9, 1); *//* Chrome, Safari, Opera */
    /*z-index: 100;*/
/*}*/

/* Panels inside a jarvis widget */
.jarviswidget div.panel{
    padding: 0;
}

/* Minimal padding on inputs for small formset fields */
.padding-min input {
    padding-left: 2px;
    padding-right: 2px;
    text-align: center;
}

/* Table Small Font */
.table-small-font {
    font-size: 80%;
}

.select2-container-multi {
    display: inline-table !important;
    width: 100%;
}

.hide-help .help-block{
    display: none;
}

/* List Table Select Icons */
.list-table-select:before {
    font-family: FontAwesome;
    display: inline-block;
    font-style: normal;
    content: "\f096";
    color: black;
}

tr.active .list-table-select:before {
    content: "\f046";
}

/* Customize the Data tables processing notice */
.dataTables_processing {
    color: red;
}

/* Prohibited styel for select2 widget */
.select2-choice-prohibited {
    background-color: red !important;
}

/* Add padding between records when showing process out extra */
.inline-extra {
    padding-bottom: 1em;
}

/* Only show inline-extra when we hover over hover-extra */
.hover-extra .inline-extra {
    display: none;
}

.hover-extra:hover .inline-extra {
    display: block;
    opacity: .8;
}

.hover-extra:hover {
    background-color: #FFFF9C;
}

/* Add padding between records when showing process out extra */
.process-out-extra {
    padding-bottom: 1em;
}

/* Move delete link centered under Delete label */
a.delete-row {
    position: relative;
    left: 23px;
}

/* Button Holder Padding */
div.btn-holder-padded {
    margin-top: 3px;
    margin-bottom: 3px;
}

/* Dynamic Form AddOn Lables */
.dynamic-formset-condensed .input-group-addon {
    background-color: white;
}

/* Fix size of checkboxes on in a form */
.form-group div.checkbox {
    margin-top: 35px;
    margin-bottom: 20px;
}

.row-condensed div.checkbox, div.radio {
    margin-top: 0px;
    margin-bottom: 10px;
}

.row-condensed .col {
    padding: 0px 5px 0px 0px;
}

.row-condensed div.controls {
    min-height: 0;
}

.row-condensed label {
    white-space: nowrap;
    overflow: hidden;
    font-size: 80%;
    margin-bottom: 0;
}

.row-condensed .form-control, .row-condensed .select2-choice {
    font-size: 80%;
    height: 22px !important;
    padding: 1px 2px;
    line-height: 22px;
}

.row-condensed textarea.form-control, .row-condensed .controls {
    height: inherit !important;
}

.row-condensed div.smart-form i.icon-append {
    top: 0;
}

.row-condensed .input-group-addon {
    font-size: 80%;
    padding: 1px 6px;
}

.row-condensed .select2-container {
    padding: 0;
}

.row-condensed .checkbox {
    margin-top: 0;
}

.row-condensed .help-block {
    font-size: 80%;
}

.row-scale-80 label, .row-scale-80 input, .row-scale-80 select, .row-scale-80 .controls{
    transform: scale(.8);
    min-height: auto;
}

.tab-scale-80 li.tab-pane {
    font-size: 80%;
    font-weight: bold;
}

.tab-scale-80 li.tab-pane a {
    padding: 5px;
}

/* Don't apply margins to dynamic-form and panel-heading checkboxes */
div.dynamic-formset-condensed .form-group div.checkbox {
    margin-top: inherit;
    margin-bottom: inherit;
}
div.panel-heading .form-group div.checkbox {
    margin-top: inherit;
    margin-bottom: inherit;
}

/* Don't use negative margins on rows in dynamic form */
div.dynamic-formset .row {
    margin-left: auto;
    margin-right: auto;
}

/* Form Styles */
form.form-inline-labels .input-group-addon:first-child {
    background-color: white;
    border: 0;
    padding: 0;
    font-weight: bold;
}

form.form-inline-labels div.controls {
    min-height: inherit;
}

form.form-inline-labels .form-control[disabled], form.form-inline-labels .smart-form .input input[disabled] {
    background-color: white;
    border: 0;
    padding: 0 3px;
    height: inherit;
}

div.inline-labels label {
    float: left;
    margin-top: 5px;
    margin-right: 5px;
    min-width: 4em;
    position: relative;
    z-index: 2;
}

div.inline-labels .form-control {
    width: auto;
    display: block;
}

/* Input Field Highlights */
div.highlight-success input, div.highlight-success textarea, div.highlight-success select,
div.highlight-success .select2-choice,div.highlight-success span {
    background-color: #dff0d8 !important;
    font-weight: bold;
}
div.highlight-success label {
    font-weight: bold;
}

div.highlight-danger input, div.highlight-danger textarea, div.highlight-danger select,
div.highlight-danger .select2-choice, div.highlight-danger span {
    background-color: #e4b9b9 !important;
    font-weight: bold;
}
div.highlight-danger label {
    font-weight: bold;
}

div.highlight-warning input, div.highlight-warning textarea, div.highlight-warning select,
div.highlight-warning .select2-choice, div.highlight-warning span {
    background-color: #f7ecb5 !important;
    font-weight: bold;
}

div.highlight-warning label {
    font-weight: bold;
}

/* Input field sizes */
.input-xxsmall input, .input-xxsmall select, input.input-xxsmall, select.input-xxsmall {
    width: 50px !important;
}
.input-xsmall input, .input-xsmall select, input.input-xsmall, select.input-xsmall {
    width: 65px !important;
}
.input-small input, .input-small select, input.input-small, select.input-small {
    width: 80px !important;
}
.input-medium input, .input-medium select, input.input-medium, select.input-medium {
    width: 150px !important;
}
.multiField div.input-group input.input-medium {
    width: 100% !important;
}
.multiField {
    width: 100%;
}
.multiField label {
    display: none;
}

/* Footer console log */
#page-footer {
    padding-right: 0;
    padding-left: 220px;
}

#footer-console-log {
    background-color: black;
    height: 22px;
    margin-top: -22px;
    margin-left: 0;
    color: white;
    display: block;
    unicode-bidi: embed;
    font-family: monospace;
    white-space: pre;
    overflow: scroll;
}

#footer-console-log.open {
    height: 222px;
    margin-top: -222px;
}

#footer-console-toggle {
    float: right;
}

/* Colored Wells */
.well.well-info {
    color: #31708f;
    background-color: #d9edf7;
    border-color: #bce8f1;
}

.well.well-success {
    color: #3c763d;
    background-color: #dff0d8;
    border-color: #d6e9c6;
}

.well.well-warning {
    color: #8a6d3b;
    background-color: #fcf8e3;
    border-color: #faebcc;
}

.well.well-danger {
    color: #a94442;
    background-color: #f2dede;
    border-color: #ebccd1;
}

.well.well-white {
    background-color: #fff;
    border-color: #ebccd1;
}

/* List Inline action */

.list-inline-actions {
    display: inline-block;
    width: 1.3em;
}


.form-collapsed .row, .form-collapsed .panel-heading {
    display: none;
    border: 0;
    padding: 0;
}

.form-collapsed .panel-body, .form-collapsed .panel {
    padding: 0;
    display: table-row;
}

/*form.form-collapsed .panel:nth-of-type(1) {*/
    /*display: block;*/
/*}*/

/*form.form-collapsed .row:nth-of-type(1) {*/
    /*display: block;*/
/*}*/

/*form.form-collapsed:nth-of-type(1) label {*/
    /*display: inline-block;*/
/*}*/

.form-collapsed .panel {
    background-color: #dff0d8;
    padding: 0;
    margin: 0;
    padding-right: 3em;
}

.form-collapsed .controls {
    min-height: 0;
}

.form-collapsed .form-collapsed-info {
    display: block;
}

.form-expand {
    float: right;
    background-color: transparent;
    border: 0;
    font-size: 125%;
    position: relative;
    left: 20px;
    top: -20px;
}

#actions-formset .well {
    margin-bottom: 1em;
}

/*
 * Namespace: DTS (DataTables Scroller)
 */

/*div.DTS tbody th,*/
/*div.DTS tbody td {*/
    /*white-space: nowrap;*/
/*}*/

div.DTS tbody tr.even {
    background-color: white;
}

div.DTS div.DTS_Loading {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200px;
    height: 20px;
    margin-top: -20px;
    margin-left: -100px;
    z-index: 1;

    border: 1px solid #999;
    padding: 20px 0;
    text-align: center;
    background-color: white;
    background-color: rgba(255, 255, 255, 0.5);
}

div.DTS div.dataTables_scrollHead,
div.DTS div.dataTables_scrollFoot {
    background-color: white;
}

div.DTS div.dataTables_scrollBody {
    z-index: 2;
}

div.DTS div.dataTables_scroll {
    background: url('../../images/loading-background.png') repeat 0 0;
}

#fieldset-filter section {
    min-height: 59px;
}


/* Date Range Picker Override */
.daterangepicker {
    top: inherit;
    left: inherit;
    width: auto;
}

.ui-datepicker {
    /*z-index: 3 !important;*/
    z-index: 1051 !important;  /* Needs to be above modal, which is 1050 */
}

/* Dynamic Formset row classes */

div.dynamic-formset.danger input, div.dynamic-formset.danger .input-group-addon,
div.dynamic-formset.danger .select2-choice {
    background-color: #a94442 !important;
    color: white !important;
}

div.dynamic-formset.warning input, div.dynamic-formset.warning .input-group-addon,
div.dynamic-formset.warning .select2-choice {
    background-color: #fcf8e3;
}

div.dynamic-formset.info input, div.dynamic-formset.info .input-group-addon,
div.dynamic-formset.info .select2-choice {
    background-color: #d9edf7;
}

div.dynamic-formset.success input, div.dynamic-formset.success .input-group-addon,
div.dynamic-formset.success .select2-choice {
    background-color: #dff0d8;
}

/* Dynamic Formset labels */
div.dynamic-formset label.formset-hidden-label {
    display: none;
}

div.dynamic-formset div.checkbox label {
    padding-left: 20px;
    display: initial;
}
div.dynamic-formset input.checkboxinput {
    margin-top: 17px;
    margin-left: 0;
}

div.dynamic-formset label.formset-hidden-label {
    height: 0;
    display: inherit;
}

div.dynamic-formset label.formset-hidden-label.btn {
    height: auto;
    display: initial;
}

div.dynamic-formset label.formset-hidden-label input.checkboxinput {
    margin-top: 0;
}

/* Fieldsets */
div.fieldset {
    border: 1px solid darkslategray;
    /* margin: -.5em; */
    margin-bottom: .2em;
    padding: .5em;
    margin-top: 3em;
    padding-top: .8em;
}

div.panel-body div.fieldset:first-child {
    margin-top: 1.3em;
}

div.fieldset .fieldset-title {
    margin-top: -2em;
    font-size: 19px;
}

div.fieldset .label {
    background-color: #ddd;
    color: black;
}

div.fieldset {
    background-color: #fafafa;
    border-color: #333;
}

div.fieldset.fieldset-success .label {
    background-color: #739e73;
}

div.fieldset.fieldset-success {
    background-color: #dff0d8;
    border-color: #739e73;
}

div.fieldset.fieldset-info .label {
    background-color: #337ab7;
}

div.fieldset.fieldset-info {
    background-color: #d9edf7;
    border-color: #3c763d;
}

div.fieldset.fieldset-warning .label {
    background-color: #f0ad4e;
}

div.fieldset.fieldset-warning {
    background-color: #faebcc;
    border-color: #f0ad4e;
}

div.fieldset.fieldset-danger .label {
    background-color: rgba(217, 83, 79, 0.58);
}

div.fieldset.fieldset-danger {
    background-color: #f2dede;
    border-color: #d9534f;
}

div.fieldset.fieldset-golden .label {
    background-color: #EEDD82;
}

div.fieldset.fieldset-golden {
    background-color: #FAFAD2;
    border-color: #EEDD82;
    margin-top: 2em;
    margin-bottom: 1em;
}

.jarviswidget > header > h2 {
    max-width: 400px;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.condensed-form label {
    margin-bottom: 0;
}

.condensed-form .controls {
    min-height: 38px;
}

.condensed-form .radioselect-inline label.control-label {
    min-width: 40%;
    display: inline-block;
}

.condensed-form .radioselect-inline .controls {
    clear: both;
    min-height: 1.8em;
    display: inline-block;
}

.textarea {
    margin-bottom: .5em;
}

.question-related {
    margin-bottom: 2em;
    /*background-color: aliceblue;*/
    /*border: solid 1px royalblue;*/
}

.row.row-shaded .col:nth-child(odd), .row.row-shaded .row:nth-child(odd) {
    background-color: #eee;
}

.row.row-indent {
    margin-left: 0;
    margin-right: 0;
}

.row.row-indent .row {
    margin-left: 0;
    margin-right: 0;
}

/* Print styles */
body.print {
    /*max-width: 950px;*/
    size: portrait;
}

/*body.print .fixed-detail-header {*/
/*    left: 10px;*/
/*    width: 912px;*/
/*}*/
/*.hidden-menu #left-panel {*/
/*    !*display:none;*!*/
/*}*/


@media print {
    @page {
        size: portrait;
    }
}


/* Nestable Remove Class */
.dd-item>button[data-action=remove]:before {
    content: '\f057';
    color: #a90329;
}

/* Nestable Override Collapse color */
.dd-item>button[data-action=collapse]:before {
    color: #0091d9;
}

.checkbox-no-margin .form-group div.checkbox {
    margin-top: 0;
    margin-bottom: 0;
}

/* Fixed Navigation Fixes */
.fixed-navigation nav > ul {
    width: 233px;
}

.minifyme {
    margin-top: -100px;
}

/* Fixed Detail Header */
.fixed-detail-header {
    position: fixed;
    right: 0;
    left: 220px;
    z-index: 901;
    top: 49px;
    margin: 14px;
    margin-top: 0;
}

/* Required fields */
label.requiredField {
    font-weight: bold;
    /* color: saddlebrown; */
}

span.asteriskField {
    color: red;
    font-size: 150%;
    line-height: 0;
}


/* Ensure datatable header scrolls with body */
.dataTables_scrollHead {
    overflow-x: hidden !important;
}


.panel-radio .controls {
    display: inline-block;
    padding-left: 2em;
    min-height: inherit;
}

#overlay {
    opacity: 0.4;
    position: absolute;
    top: 0;
    left: 0;
    background-color: black;
    width: 100%;
    z-index: 5000;
    display: none;
}

.col-left {
    padding-left: 0;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
}

.col-right {
    padding-right: 0;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
}

/* Hidden Panel with no heading */
.panel-hidden {
    background-color: transparent;
    border: none;
}

.panel-hidden .panel-heading {
    display: none;
}

/* Allow multi-line entries in select2 */
.select2-container, .select2-container .select2-choice {
    height: auto;
    min-height: 32px;
}

.dynamic-formset-condensed .select2-container, .select2-container .select2-choice {
    min-height: 22px;
}

.inline {
    display: inline;
}

/* Fieldsets */
fieldset.fieldset-lightblue {
    background-color: #EDF2F7;
}

fieldset.fieldset-lightblue legend{
    background-color: white;
}

.bold_labels label, legend {
    font-weight: bold;
    font-size: 110%;
}

.bold_labels .group-span-filestyle label {
    font-size: 13px;
}

.hidden-label label {
    display: none;
}


.tab_75vh .tab-content {
    height: 75vh;
    overflow: scroll;
}

@media screen and (max-height: 1000px) {
    .tab_75vh .tab-content {
        height: 72vh;
    }
}

@media screen and (max-height: 900px) {
    .tab_75vh .tab-content {
        height: 69vh;
    }
}

@media screen and (max-height: 800px) {
    .tab_75vh .tab-content {
        height: 65vh;
    }
}

@media screen and (max-height: 700px) {
    .tab_75vh .tab-content {
        height: 60vh;
    }
}

.popover{
    max-width:700px;
}

.formset-spreadsheet .col {
    padding: 0;
}

.formset-spreadsheet .row {
    line-height: initial;
}

.formset-spreadsheet label {
    font-size: 80%;
    width: 100%;
    padding-left: 2px;
}

.formset-spreadsheet label.btn {
    width: auto;
}

.formset-spreadsheet .form-group {
    line-height: normal;
    box-shadow: 1px 0 0 0 #888,
    0 1px 0 0 #888,
    1px 1px 0 0 #888, /* Just to fix the corner */ 1px 0 0 0 #888 inset,
    0 1px 0 0 #888 inset;
}

.formset-spreadsheet div.delete-col .form-group {
    box-shadow: none;
}

.formset-spreadsheet .controls,  .formset-spreadsheet .ctrlHolder {
    padding: 1px;
    box-shadow: 1px 0 0 0 #888,
    0 1px 0 0 #888,
    1px 1px 0 0 #888, /* Just to fix the corner */
    1px 0 0 0 #888 inset,
    0 1px 0 0 #888 inset;
}

.formset-spreadsheet div.delete-col.controls {
    box-shadow: none;
}
.formset-spreadsheet .row {
    /*display: table-row;*/
}

.formset-spreadsheet select {
    border: 0;
}

.formset-spreadsheet input {
    border: 0 !important;
}

.holder-nopadding{
    margin-left: 13px;
    margin-right: 13px;
}
.holder-nopadding .panel-body {
    padding: 0;
}

.holder-nopadding .panel {
    margin-bottom: 0;
}

.row-nopadding .controls {
    min-height: 0;
}

div.inline-labels.wide-labels label {
    min-width: 200px;
}

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

/* Ensure label shows up on inline forms */
.em-file-input label {
    font-size: 13px;
}

/* Pre for databables */
pre.pre-datatable {
    padding: 0;
    background-color: inherit;
    border: 0;
}

.table a, .table a {
    overflow-wrap: anywhere !important;
    hyphens: auto;
}

.small-select2 .select2-chosen {
    width: 350px;
    overflow: visible !important;
}