/*
Print Layout
*/

.tr-black td, .tr-black th{
    background-color: #000;
}

@media print {
/*
Taken from: https://gist.github.com/donnierayjones/6fd9802d992b2d8d6cfd
*/
    header, nav, #left-panel, #footer-console, #challenged-menu {
        display: none !important;
    }

    .jarviswidget>div {
        border: 0;
    }

    .tr-black td, .tr-black th{
        background-color: #000 !important;
    }

    /* Fix bootstrap printing colors */
    a[href]:after {
        content: none !important;
    }

    * {
        color: inherit !important;
    }

    .table>tbody>tr.info>td,.table>tbody>tr.info>th,.table>tbody>tr>td.info,.table>tbody>tr>th.info,.table>tfoot>tr.info>td,.table>tfoot>tr.info>th,.table>tfoot>tr>td.info,.table>tfoot>tr>th.info,.table>thead>tr.info>td,.table>thead>tr.info>th,.table>thead>tr>td.info,.table>thead>tr>th.info {
        background-color: #d6dde7 !important;
    }

    .table>tbody>tr.success>td,.table>tbody>tr.success>th,.table>tbody>tr>td.success,.table>tbody>tr>th.success,.table>tfoot>tr.success>td,.table>tfoot>tr.success>th,.table>tfoot>tr>td.success,.table>tfoot>tr>th.success,.table>thead>tr.success>td,.table>thead>tr.success>th,.table>thead>tr>td.success,.table>thead>tr>th.success {
        background-color: #dff0d8 !important;
    }
    .table>tbody>tr.danger>td,.table>tbody>tr.danger>th,.table>tbody>tr>td.danger,.table>tbody>tr>th.danger,.table>tfoot>tr.danger>td,.table>tfoot>tr.danger>th,.table>tfoot>tr>td.danger,.table>tfoot>tr>th.danger,.table>thead>tr.danger>td,.table>thead>tr.danger>th,.table>thead>tr>td.danger,.table>thead>tr>th.danger {
        background-color: #f2dede !important;
        -webkit-print-color-adjust: exact !important;
    }

    .btn-default {
        color: #333 !important;
        background-color: #fff !important;
        border-color: #ccc !important;
    }

    .btn-primary {
        color: #fff !important;
        background-color: #3276b1 !important;
        border-color: #2c699d !important;
    }

    .btn-success {
        color: #fff !important;
        background-color: #739e73 !important;
        border-color: #659265 !important;
    }

    .btn-info {
        color: #fff !important;
        background-color: #57889c !important;
        border-color: #4e7a8c !important;
    }

    .btn-warning {
        color: #fff !important;
        background-color: #c79121 !important;
        border-color: #b1811d !important;
    }

    .btn-danger {
        color: #fff !important;
        background-color: #a90329 !important;
        border-color: #900323 !important;
    }

    .text-muted {
        color: #999 !important;
    }

    .text-primary {
        color: #3276b1 !important;
    }

    .text-success {
        color: #468847 !important;
    }

    .text-info {
        color: #346597 !important;
    }

    .text-warning {
        color: #c09853 !important;
    }

    .text-danger {
        color: #b94a48 !important;
    }

    #main {
        margin: 0 !important;
    }
    body {
      -webkit-print-color-adjust: exact !important;
    }

    @page {size: landscape;}

    .col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12 {
        float: left;
    }

    .col-sm-12 {
        width: 100%;
    }

    .col-sm-11 {
        width: 91.66666667%;
    }

    .col-sm-10 {
        width: 83.33333333%;
    }

    .col-sm-9 {
        width: 75%;
    }

    .col-sm-8 {
        width: 66.66666667%;
    }

    .col-sm-7 {
        width: 58.33333333%;
    }

    .col-sm-6 {
        width: 50%;
    }

    .col-sm-5 {
        width: 41.66666667%;
    }

    .col-sm-4 {
        width: 33.33333333%;
    }

    .col-sm-3 {
        width: 25%;
    }

    .col-sm-2 {
        width: 16.66666667%;
    }

    .col-sm-1 {
        width: 8.33333333%;
    }

    .col-sm-pull-12 {
        right: 100%;
    }

    .col-sm-pull-11 {
        right: 91.66666667%;
    }

    .col-sm-pull-10 {
        right: 83.33333333%;
    }

    .col-sm-pull-9 {
        right: 75%;
    }

    .col-sm-pull-8 {
        right: 66.66666667%;
    }

    .col-sm-pull-7 {
        right: 58.33333333%;
    }

    .col-sm-pull-6 {
        right: 50%;
    }

    .col-sm-pull-5 {
        right: 41.66666667%;
    }

    .col-sm-pull-4 {
        right: 33.33333333%;
    }

    .col-sm-pull-3 {
        right: 25%;
    }

    .col-sm-pull-2 {
        right: 16.66666667%;
    }

    .col-sm-pull-1 {
        right: 8.33333333%;
    }

    .col-sm-pull-0 {
        right: auto;
    }

    .col-sm-push-12 {
        left: 100%;
    }

    .col-sm-push-11 {
        left: 91.66666667%;
    }

    .col-sm-push-10 {
        left: 83.33333333%;
    }

    .col-sm-push-9 {
        left: 75%;
    }

    .col-sm-push-8 {
        left: 66.66666667%;
    }

    .col-sm-push-7 {
        left: 58.33333333%;
    }

    .col-sm-push-6 {
        left: 50%;
    }

    .col-sm-push-5 {
        left: 41.66666667%;
    }

    .col-sm-push-4 {
        left: 33.33333333%;
    }

    .col-sm-push-3 {
        left: 25%;
    }

    .col-sm-push-2 {
        left: 16.66666667%;
    }

    .col-sm-push-1 {
        left: 8.33333333%;
    }

    .col-sm-push-0 {
        left: auto;
    }

    .col-sm-offset-12 {
        margin-left: 100%;
    }

    .col-sm-offset-11 {
        margin-left: 91.66666667%;
    }

    .col-sm-offset-10 {
        margin-left: 83.33333333%;
    }

    .col-sm-offset-9 {
        margin-left: 75%;
    }

    .col-sm-offset-8 {
        margin-left: 66.66666667%;
    }

    .col-sm-offset-7 {
        margin-left: 58.33333333%;
    }

    .col-sm-offset-6 {
        margin-left: 50%;
    }

    .col-sm-offset-5 {
        margin-left: 41.66666667%;
    }

    .col-sm-offset-4 {
        margin-left: 33.33333333%;
    }

    .col-sm-offset-3 {
        margin-left: 25%;
    }

    .col-sm-offset-2 {
        margin-left: 16.66666667%;
    }

    .col-sm-offset-1 {
        margin-left: 8.33333333%;
    }

    .col-sm-offset-0 {
        margin-left: 0%;
    }

    .visible-xs {
        display: none !important;
    }

    .hidden-xs {
        display: block !important;
    }

    table.hidden-xs {
        display: table;
    }

    tr.hidden-xs {
        display: table-row !important;
    }

    th.hidden-xs,
    td.hidden-xs {
        display: table-cell !important;
    }

    .hidden-xs.hidden-print {
        display: none !important;
    }

    .hidden-sm {
        display: none !important;
    }

    .visible-sm {
        display: block !important;
    }

    table.visible-sm {
        display: table;
    }

    tr.visible-sm {
        display: table-row !important;
    }

    th.visible-sm,
    td.visible-sm {
        display: table-cell !important;
    }

    .custom-scroll {
        max-height: initial !important;
    }
}


.page-waste-stream-revision #content, .page-waste-stream-revision .tab-pane, .page-waste-stream-revision .widget-body {
    padding-bottom: 0 !important;
}

.page-waste-stream-revision #form-content .jarviswidget {
    margin-bottom: 0;
}


.issue-custom-form .row {
    /* Fix Border margins */
    /*margin-left: -11px;*/
    /*padding-left: 11px;*/
}


.issue-custom-form label {
    font-weight: bold;
    display: table-cell;
    width: fit-content;
    white-space: nowrap;
    padding: 0 5px 0 0;
    /*max-width: initial;*/
    font-size: 93%;
}

.issue-custom-form .checkbox-inline, .issue-custom-form .radio-inline {
    padding-left: 20px !important;
    font-weight: 400 !important;
}

.issue-custom-form .checkbox label, .issue-custom-form .radio label {
    padding-left: 20px !important;
    font-weight: 400 !important;
}

label.center {
    text-align: center;
}

.label-wrap label {
    white-space: normal;
}

.label-top .form-group .controls {
    display: block;
}

.issue-custom-form .label-top .form-group .controls {
    display: inline;
}

.radioselect-inline .controls {
    min-height: 20px;
}

.issue-custom-form .controls {
    display: table-cell;
    width: 100%;
    padding: 0;
    font-size: 93%;
}

.issue-custom-form .form-control {
    /*height: auto;*/
    padding: 0;
}

.issue-custom-form .form-group {
    margin-top: 2px;
    margin-bottom: 2px;
}

.issue-custom-form .col {
    display: table;
    padding-top: 5px;
    padding-bottom: 5px;
}

.row-lines > .row > .col {
    border-top: 1px solid #ccc;
}

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

#formTabContent {
    background-color: #f7f7f7;
}

.smart-style-3 input:not([type]), .smart-style-3 input[type=color], .smart-style-3 input[type=email], .smart-style-3 input[type=number], .smart-style-3 input[type=password], .smart-style-3 input[type=tel], .smart-style-3 input[type=text]:not('.input-mini'), .smart-style-3 input[type=url], .smart-style-3 textarea {
    border-radius: 5px !important;
    padding: 2px;
}

input[type=checkbox], input[type=radio] {
    margin: 0;
}

/*.issue-custom-form .select2-container, .issue-custom-form .select2-container .select2-choice {*/
/*    line-height: initial;*/
/*    min-height: 19px;*/
/*}*/

.help-block {
    color: red;
}

div.no-row-padding .col {
    padding-top: 0;
    padding-tottom: 0;
    /*border: none;*/
}

div.no-row-padding .col .form-group {
    margin: 0;
}

.fake-table {
    overflow: hidden;
    padding-right: 13px;
    padding-left: 13px;
    border-bottom: 1px solid darkgrey;
    margin-bottom: 5px;
}

.border {
    border: 1px solid darkgrey;
}

.left-border {
    border: 1px solid darkgrey;
    border-right: 0;
    border-top: 0;
    /*padding-bottom: 100%;*/
    /*margin-bottom: -100%;*/
}

.right-border {
    border: 1px solid darkgrey;
    border-top: 0;
    /*padding-bottom: 100%;*/
    /*margin-bottom: -100%;*/
}

.table-dark-border, .table-dark-border > tbody > tr > td, .table-dark-border > tbody > tr > th, .table-dark-border > tfoot > tr > td, .table-dark-border > tfoot > tr > th, .table-dark-border > thead > tr > td, .table-dark-border > thead > tr > th {
    border-color: #999;
}

.inline-radio-filed div.radioselect-inline {
    float: left;
}

.bottom-line {
    padding-bottom: 1em;
    margin-bottom: 1em;
    border-bottom: 2px solid #003F77;
}

.select-height-200 select {
    height: 200px;
}


/* TEMP */

.issue-custom-form label {
    font-weight: bold;
    display: table-cell;
    width: fit-content;
    white-space: nowrap;
    padding: 0 5px 0 0;
    /*max-width: initial;*/
    font-size: 93%;
}

.issue-custom-form .controls {
    display: table-cell;
    width: 100%;
    padding: 0 0 .5em;
    font-size: 93%;
}

.issue-custom-form .right-controls label {
    width: 200px;
    text-align: right;
}

.issue-custom-form .right-controls .controls {
    width: 60%;
}

.issue-custom-form .right-controls .form-group {
    text-align: right;
}

.issue-custom-form .right-controls span {
    text-align: left;
}

.right-controls label.radio-inline, .right-controls .checkbox label {
    width: auto;
}

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

.dynamic-formset .form-group .controls {
    display: inline;
}

.form-error-message {
    font-weight: bold;
}

.block-radio label {
    display: block;
    margin-left: 10px;
}


label[for=id_reviewother] em {
    display: block;
}