﻿/* Override the bootstrap behaviors */
html {
    background-color: #fff;
}

body {
    overflow: hidden;
}

.jumbotron {
    padding-top: 10px;
    padding-bottom: 0px;
    border-bottom: 4px solid #965B00;
    background-color: #fff;
    margin-bottom: 0px;
}

    .jumbotron h1 {
        display: inline-block;
        height: auto;
        margin-top: 10px;
    }

    .jumbotron strong {
        color: #f29200;
    }

/* Override the default bootstrap behavior where horizontal description lists
   will truncate terms that are too long to fit in the left column
*/
.dl-horizontal dt {
    white-space: normal;
}

.breadcrumb {
    border-radius: 0px;
}

.tab-content {
    padding: 4px;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
}

.form-control {
    height: 26px;
    width: 68%;
    display: inline;
    padding-left: 4px;
    padding-right: 4px;
    padding-top: 0px;
    padding-bottom: 0px;
    color: #555555;
    vertical-align: top;
    background-color: #ffffff;
    border: 1px solid #cccccc;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    -webkit-transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
    transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
    line-height: unset;
}

.modal {
    overflow: hidden;
}

body.modal-open, .modal-open .navbar-fixed-top, .modal-open .navbar-fixed-bottom {
    margin-right: 0px;
}

.panel-body {
    padding: 0px;
}

.caret {
    width: 0 !important;
}

label {
    font-weight: normal;
}

.dropdown-menu {
    left: -145px;
}

    .dropdown-menu > li > a {
        background-color: #fff;
        border: 1px solid #fff;
        border-radius: 4px;
    }

        .dropdown-menu > li > a:hover {
            background-color: #fff;
            border: 1px solid #337ab7;
            border-radius: 4px;
        }

        .dropdown-menu > li > a.btn-danger {
            background-color: #fff;
            border: 1px solid #d9534f;
            border-radius: 4px;
        }

            .dropdown-menu > li > a.btn-danger:hover {
                background-color: #d9534f;
                color: #fff;
            }

        .dropdown-menu > li > a.btn-danger-outline {
            background-color: #fff;
            border: 1px solid #d9534f;
            border-radius: 4px;
        }

            .dropdown-menu > li > a.btn-danger-outline:hover {
                cursor: default;
            }

.dropdown-toggle {
}

    .dropdown-toggle span {
        margin-top: 0px;
        top: 2px;
    }

.nav-tabs > li.active > a, .nav-tabs > li.active > a:focus, .nav-tabs > li.active > a:hover {
    color: #1a1919;
}

.nav > li > a {
    background-color: #eee;
    font-weight: bold;
}

    .nav > li > a:focus, .nav > li > a:hover {
        text-decoration: none;
        color: #039fb7;
    }

/* BEGIN overrides for Bootstrap Toggle */
div.toggle {
    z-index: 1;
    position: relative;
}

.toggle.btn-sm {
    min-width: 70px;
    min-height: 30px;
}

label.btn:nth-child(2) {
    width: 50% !important;
    padding-left: 4px !important;
}

label.btn:nth-child(1) {
    width: unset !important;
    padding-left: 4px !important;
}

.toggle-handle {
    width: unset !important;
}

.btn-group-sm > .btn, .btn-sm {
    font-size: 13px;
}

.row {
    margin-right: 0px;
    margin-left: 0px;
}

.form-inline .form-control {
    width: 68%;
}

/* END overrides for Bootstrap Toggle */

/* START overrides for Chosen framework */

.chosen-container-multi .chosen-choices .search-choice {
    margin: 3px !important;
    border: 1px solid #337ab7 !important;
    background-image: none !important;
    background-color: #fff !important;
    background-repeat: unset !important;
    filter: unset !important;
    -webkit-box-shadow: unset !important;
    box-shadow: unset !important;
}

.chosen-container-multi .chosen-choices li.search-field input[type="text"] {
    margin-left: 8px;
}

.chosen-single span {
    width: 80% !important;
}

.chosen-container-single .chosen-single {
    height: 28px !important;
    line-height: unset !important;
}

    .chosen-container-single .chosen-single span {
        font-weight: normal !important;
        padding-top: 2px;
    }

.chosen-container-active.chosen-with-drop .chosen-single div b {
    background-position: -18px 33px;
}

.search-choice-close {
    top: 3px !important;
}

.search-choice-close:hover{
    border: 1px solid tomato;
}

.chosen-container .chosen-choices {
    overflow: auto;
    max-height: 200px;
}

.chosen-container-multi .chosen-choices li.search-choice {
    width: 95%;
}

    .chosen-container-multi .chosen-choices li.search-choice span {
        width: 100%;
    }

/* END overrides for Chosen framework */

/*Stop blue border in chrome*/
button:focus {
    outline: 0;
}
/*END Stop blue border in chrome*/

/* Override default thumbnail */
.thumbnail {
    border: none;
    margin-bottom: unset;
}
/* END Override default thumbnail */

/* Override DataTable */
div.dataTables_wrapper div.dataTables_filter {
    margin-left: -18px;
    margin-right: 5px;
    margin-top: 0px;
    text-align: left;
}

    div.dataTables_wrapper div.dataTables_filter label {
        width: 50%;
    }

    div.dataTables_wrapper div.dataTables_filter input {
        width: 100%;
    }

.detailTable {
    width: 99% !important;
    margin: 0 auto 10px;
}

.dataTables_wrapper {
    top: -30px;
    position: relative;
}

.dt-center {
    text-align: center;
}

.dt-right {
    text-align: right;
}

.dt-scroll-body {
    height: calc(100% - 50px) !important;
}

.dataTables_processing {
    background-color: #00a0b8;
    font-weight: bold;
    color: #fff;
}

.dataTables_wrapper .dataTables_info {
    padding-top: 8px;
    white-space: unset;
}

div.dt-container div.dt-search input {
    width: 60%;
}

/* END Override DataTable */
/* Override Dropzone */
.dropzone {
    border: 2px dashed #428bca;
    display: none;
    padding: unset !important;
    min-height: 50px;
}

    .dropzone:hover {
        background-color: #fff1dc;
    }

.dz-message span {
    width: 100% !important;
    text-align: center;
}

.dz-details, .dz-image, .dz-success-mark, .dz-error-mark, .dz-preview {
    display: none !important;
}

div.progress {
    display: none;
}

/* END Override Dropzone */

/* DevExpress */

.dxrd-preview.dxrd-designer-wrapper .dxrd-preview-wrapper .dxrd-preview-surface .dxrd-report-preview-holder {
    width: 100%;
    height: calc(100vh - 90px);
    overflow: auto;
    text-align: center;
}

/* END DevExpress */



table.dataTable thead > tr > th.dt-orderable-asc span.dt-column-order, table.dataTable thead > tr > th.dt-orderable-desc span.dt-column-order, table.dataTable thead > tr > th.dt-ordering-asc span.dt-column-order, table.dataTable thead > tr > th.dt-ordering-desc span.dt-column-order, table.dataTable thead > tr > td.dt-orderable-asc span.dt-column-order, table.dataTable thead > tr > td.dt-orderable-desc span.dt-column-order, table.dataTable thead > tr > td.dt-ordering-asc span.dt-column-order, table.dataTable thead > tr > td.dt-ordering-desc span.dt-column-order {
    right: 3px;
}
