﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

#printJS-Modal {
    z-index: 99999 !important;
    position: fixed !important;
    left: unset !important;
    bottom: unset !important;
    right: 0 !important;
    top: 0 !important;
    width: auto !important;
    height: auto !important;
}

    #printJS-Modal div {
        padding-bottom: 0.125rem !important;
        padding-top: 0.125rem !important;
        padding-left: 0.3rem !important;
        padding-right: 0.3rem !important;
        font-size: 1.2rem !important;
        font-weight: bold!important;
    }

/* bootstrap override */
.btn {
    box-shadow: 0 0 5px 0px rgba(0, 0, 0, .3);
}

.dropdown-menu {
    max-height: 75vh !important;
    z-index: 10001 !important;
    overflow: auto !important;
}

.dol-switch.custom-switch .custom-control-label::after {
    background-color: white;
}

.dol-switch.custom-switch .custom-control-label::before {
    border-color: red;
    background-color: red;
}

.custom-control-input:checked ~ .custom-control-label::before {
    color: #fff;
    border-color: #007bff;
    background-color: #007bff !important;
}

.tooltip[role="tooltip"] {
    z-index: 20009 !important;
}

.alert {
    position: absolute;
    cursor: pointer;
}

.dt-button-collection {
    left: -50px !important;
}

.container {
    background-color: #fff;
    padding: .75rem;
    box-shadow: 0 2px 5px 0px rgba(0, 0, 0, 0.3);
}

@media (min-width: 396px) {
    .d-xs-inline-block {
        display: inline-block !important;
        vertical-align: top;
    }

    .float-xs-none {
        float: none !important;
    }
}

a.btn-outline-primary:hover {
    color: white !important;
}

a.btn, input[type=button], input[type=submit] {
}

.form-control.dol-focus:focus {
    outline: 0px solid !important;
    box-shadow: none !important;
}

a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

.selectize-input {
    border-radius: 5px;
    padding: .375rem;
}

.selectize-dropdown {
    box-shadow: 0 0 3px 2px rgba(0, 0, 0, 0.3);
    border-radius: 5px;
}

.selectize-control .selectize-input.disabled {
    opacity: 1 !important;
    color: #495057 !important;
    background-color: #e9ecef;
}

.selectize-control.multi .selectize-input.disabled > div, .selectize-control.multi .selectize-input.disabled > div.active {
    color: #495057 !important;
    background-color: #e9ecef;
}

input::placeholder {
    color: lightgray !important;
}

/* Provide sufficient contrast against white background */
a {
    color: #0366d6;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.input-focus-outline-0:focus, .input-focus-outline-0 input:focus, .input-focus-outline-0 select:focus, .input-focus-outline-0 textarea:focus {
    box-shadow: none;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    font-size: 14px;
    background-color: rgba(0,0,0, .2);
    overflow-x: hidden;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}

body {
    background-color: transparent;
}

nav {
    transition: top .5s;
}

    nav.hide {
        top: -60px;
    }

#contentbody {
    padding-top: 4rem;
}

    #contentbody.active {
        padding-left: 310px !important;
    }

h5, h6 {
    color: #ff4350;
    font-weight: bold;
    text-transform: uppercase;
    padding-left: 5px;
    border-left: 5px solid;
}

h6 {
    color: #1b6ec2;
}

#errorarea {
    display: none;
    z-index: 21000;
}

#errorcontent {
    text-align: center;
    max-height: 50vh;
    box-shadow: 0 5px 10px 5px rgba(0, 0, 0, 0.3);
}

#errorarea.active {
    display: block;
}

ul.ui-menu {
    position: fixed;
    padding: 0;
    background: white;
    border: 1px solid black;
    list-style: none;
}

    ul.ui-menu li {
        padding: 5px 10px;
        background-color: #EEEEEE;
        border: 1px solid #DDDDDD;
        cursor: pointer;
    }

/* Datatable override */
table.dataTable:not(.fixedHeader-floating) {
    table-layout: auto;
}

table.dataTable.table-sm > thead > tr > th {
    padding-right: 20px;
    padding-left: 20px;
}

table.dataTable thead th,
table.dataTable tfoot th {
    overflow: hidden;
    text-overflow: clip;
    white-space: nowrap;
}

table.dataTable tbody td {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
}

table.dataTable > tbody > tr.child {
    background-color: white;
}

    table.dataTable > tbody > tr.child:hover {
        background-color: white !important;
    }

    table.dataTable > tbody > tr.child > td.child {
        border-left: .3rem solid rgba(0,0,0,1) !important;
    }

table.dataTable:not(.fixedHeader-floating) thead th,
table.dataTable:not(.fixedHeader-floating) tbody td {
    width: 100px;
}

    table.dataTable:not(.fixedHeader-floating) thead th.control,
    table.dataTable:not(.fixedHeader-floating) tbody td.control {
        width: 1px;
    }

table.dataTable.fixedHeader-floating.fixheadtablemargin, table.dataTable.fixedHeader-locked.fixheadtablemargin {
    top: 5.9rem !important;
}

div.dataTables_wrapper div.dataTables_info {
    padding: 0px;
}

div.dataTables_wrapper div.dataTables_filter label {
    margin: 0px;
}

.dt-button-info h2, div.dt-button-info > div {
    margin: 0 !important;
    padding: 0 !important;
}

table.dataTable thead .sorting:before, table.dataTable thead .sorting:after, table.dataTable thead .sorting_asc:before, table.dataTable thead .sorting_asc:after, table.dataTable thead .sorting_desc:before, table.dataTable thead .sorting_desc:after, table.dataTable thead .sorting_asc_disabled:before, table.dataTable thead .sorting_asc_disabled:after, table.dataTable thead .sorting_desc_disabled:before, table.dataTable thead .sorting_desc_disabled:after {
    position: absolute;
    bottom: 0;
    display: none;
}

table.dataTable.table-sm .sorting:after, table.dataTable.table-sm .sorting_asc:after, table.dataTable.table-sm .sorting_desc:after {
    top: 0;
    right: .3rem;
}

table.dataTable.table-sm .sorting:before, table.dataTable.table-sm .sorting_asc:before, table.dataTable.table-sm .sorting_desc:before {
    top: 0;
    right: -.2rem;
}

table.dataTable thead .sorting:before, table.dataTable thead .sorting_asc:before, table.dataTable thead .sorting_desc:before, table.dataTable thead .sorting_asc_disabled:before, table.dataTable thead .sorting_desc_disabled:before {
    font-size: medium;
    color: rgb(0,123,255);
    content: "\279C";
    border-radius: 3px;
    transform: rotate(-90deg);
}

table.dataTable thead .sorting:after, table.dataTable thead .sorting_asc:after, table.dataTable thead .sorting_desc:after, table.dataTable thead .sorting_asc_disabled:after, table.dataTable thead .sorting_desc_disabled:after {
    font-size: medium;
    color: rgb(0,123,255);
    content: "\279C ";
    border-radius: 3px;
    transform: rotate(90deg);
}

table.dataTable thead .sorting_asc:before, table.dataTable thead .sorting_desc:after {
    display: unset;
}

.dt-button-collection .dropdown-item, dt-button-collection .dropdown-item {
    color: black;
    text-decoration: none;
    background-color: transparent;
}

    .dt-button-collection .dropdown-item:before, dt-button-collection .dropdown-item:before {
        content: "\2212";
        color: red;
        padding-right: 5px;
        font-weight: bold;
    }

    .dt-button-collection .dropdown-item.active:before, dt-button-collection .dropdown-item:active:before {
        content: "\2713";
        color: rgb(0,123,255);
        padding-right: 5px;
        font-weight: bold;
    }

table td.dt-fix-15, table th.dt-fix-15 {
    width: 15px !important;
}


.rounded-left {
    border-top-right-radius: 0rem !important;
    border-bottom-right-radius: 0rem !important;
}

.rounded-right {
    border-top-left-radius: 0rem !important;
    border-bottom-left-radius: 0rem !important;
}

.rounded-top {
    border-bottom-left-radius: 0rem !important;
    border-bottom-right-radius: 0rem !important;
}

.rounded-bottom {
    border-top-left-radius: 0rem !important;
    border-top-right-radius: 0rem !important;
}
