﻿/* 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. */

a.navbar-brand {
  white-space: normal;
  text-align: center;
  word-break: break-all;
}

/* 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;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  font-size: 14px;
}
@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.border-top {
  border-top: 1px solid #e5e5e5;
}
.border-bottom {
  border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
  box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
  font-size: 1rem;
  line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  position: relative;
  min-height: 100%;
}

body {
  /* Margin bottom by footer height */
  margin-bottom: 60px;
}
.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  white-space: nowrap;
  line-height: 60px; /* Vertically center the text there */
}

/* Dividers
-------------------------------------------------- */
hr.dashed {
    border-top: 2px dashed #999;
}

hr.dotted {
    border-top: 2px dotted #999;
}

hr.solid {
    border-top: 2px solid #999;
}


hr.hr-text {
    position: relative;
    border: none;
    height: 1px;
    background: #999;
}

    hr.hr-text::before {
        content: attr(data-content);
        display: inline-block;
        background: #fff;
        font-weight: bold;
        font-size: 0.85rem;
        color: #999;
        border-radius: 30rem;
        padding: 0.2rem 2rem;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
.mt-6 {
    margin-top: 5rem !important;
}

/* Multi select
-------------------------------------------------- */
.btn-group .dropdown-toggle {
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}
.multiselect-container
{
    width:400px;
}

.upload-btn {
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}
/* Data Table
-------------------------------------------------- */
.inactive {
    background-color: #efefef;
    color: #b3b3b3;
}
.inactive a{
    background-color: #efefef;
    color: #b3b3b3;
}
/* Formatting
-------------------------------------------------- */
.not-allowed {
    cursor: not-allowed !important;
}
.hideme {
    display:none;
}
/* Bootstrap overrides
-------------------------------------------------- */
@media (min-width: 1200px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl {
        max-width: 1600px;
    }
}
/* DataTable Drop Down Menu
-------------------------------------------------- */
.dropdown-submenu {
    position: relative;
}

    .dropdown-submenu > .dropdown-menu {
        top: 0;
        left: 100%;
        margin-top: -6px;
        margin-left: -1px;
        -webkit-border-radius: 0 6px 6px 6px;
        -moz-border-radius: 0 6px 6px 6px;
        border-radius: 0 6px 6px 6px;
    }

    .dropdown-submenu > a:after {
        display: block;
        content: " ";
        float: right;
        width: 0;
        height: 0;
        border-color: transparent;
        border-style: solid;
        border-width: 5px 0 5px 5px;
        border-left-color: #cccccc;
        margin-top: 5px;
        margin-right: -10px;
    }

    .dropdown-submenu:hover > a:after {
        border-left-color: #555;
    }

    .dropdown-submenu.pull-left {
        float: none;
    }

        .dropdown-submenu.pull-left > .dropdown-menu {
            left: -100%;
            margin-left: 10px;
            -webkit-border-radius: 6px 0 6px 6px;
            -moz-border-radius: 6px 0 6px 6px;
            border-radius: 6px 0 6px 6px;
        }

.cb-dropdown-wrap {
    max-height: 80px;
    position: relative;
    height: 27px;
}

.cb-dropdown,
.cb-dropdown li {
    margin: 0;
    list-style: none;
    padding-left: 1px;
}

.cb-dropdown {
    position: absolute;
    z-index: 1;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #fff;
    border: 1px solid #ced4da;
    border-radius: .2rem;
    line-height: 1.5;
}

.dropdown-menu-limit {
    max-height:600px;
    overflow: auto;
}


/* For selected filter. */
.activeChk .cb-dropdown {
    background: #cee2f9;
}

.cb-dropdown-wrap:hover .cb-dropdown {
    height: 150px;
    width: 230px;
    padding: 5px;
    z-index: 100;
    overflow: auto;
    transition: 0.2s height ease-in-out;
}

/* For selected items. */
.cb-dropdown li.activeChk {
    background: #9bb9da;
}

.cb-dropdown li label {
    display: block;
    position: relative;
    cursor: pointer;
    line-height: 25px; /* Match height of .cb-dropdown-wrap */
}

    .cb-dropdown li label > input {
        position: absolute;
        right: 0;
        top: 6px;
        width: 16px;
    }

    .cb-dropdown li label > span {
        display: block;
        margin-left: 3px;
        margin-right: 20px; /* At least, width of the checkbox. */
        font-family: "Helvetica Neue", Helvetica, Arial;
        font-size: 14px;
        font-weight: 700;
        text-align: left;
        color: #757575;
    }

/* This fixes the vertical aligning of the sorting icon. */
table.dataTable thead .sorting,
table.dataTable thead .sorting_asc,
table.dataTable thead .sorting_desc,
table.dataTable thead .sorting_asc_disabled,
table.dataTable thead .sorting_desc_disabled {
    background-position: 100% 10px;
}


/* DataTable compact mode */
table.dataTable.compact tfoot th,
table.dataTable.compact tfoot td {
    padding: 4px;
}

table.dataTable.compact tbody th,
table.dataTable.compact tbody td {
    padding: 4px;
}