﻿/* 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. */
@import url('https://fonts.googleapis.com/css2?family=Inter&display=swap');

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 {
  font-family: 'Inter', sans-serif;
  /* 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 */
}

.dataTables_wrapper select{
    width: 60px
}

.dataTables_wrapper select,
.dataTables_wrapper .dataTables_filter input {
    height: 32px;
    margin-bottom: 1em;
    color: #4a5568;
    /*text-gray-700*/
    /*padding-left: 1rem;*/
    /*pl-4*/
    /*padding-right: 1rem;*/
    /*pl-4*/
    padding-top: .5rem;
    /*pl-2*/
    padding-bottom: .5rem;
    /*pl-2*/
    line-height: 1.25;
    /*leading-tight*/
    border-width: 2px;
    /*border-2*/
    border-radius: .25rem;
    border-color: #edf2f7;
    /*border-gray-200*/
    background-color: #edf2f7;
    /*bg-gray-200*/
}

/*Row Hover*/
table.dataTable.hover tbody tr:hover,
table.dataTable.display tbody tr:hover {
    background-color: #ebf4ff;
    /*bg-indigo-100*/
}

@media screen and (max-width: 620px) {
    .select2-container--default .select2-selection--single .select2-selection__rendered {
        font-size: 14px !important;
    }

    .dataTables_wrapper .dataTables_paginate {
        position: relative;
        left: 50%;
        transform: translate(-50%, 0%);
        text-align: right;
        padding-top: 0.25em;
        --tw-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
        --tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);
        box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
        border-radius: 0.375rem;
        display: inline-flex;
        float: unset !important;
    }

        .dataTables_wrapper .dataTables_paginate .paginate_button {
            padding-left: 0.6rem !important;
            padding-right: 0.6rem !important;
        }

        .dataTables_wrapper .dataTables_paginate .paginate_button.current {
            padding-left: 0.6rem !important;
            padding-right: 0.6rem !important;
        }
}
.dataTables_wrapper .dataTables_paginate {
    float: right;
    text-align: right;
    padding-top: 0.25em;
    --tw-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);
    box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
    border-radius: 0.375rem;
    display: inline-flex;
}

/*Pagination Buttons*/
    .dataTables_wrapper .dataTables_paginate .paginate_button {
        display: inline-flex;
        position: relative;
        --tw-text-opacity: 1;
        color: rgba(107,114,128,var(--tw-text-opacity)) !important;
        font-weight: 500;
        font-size: .875rem;
        line-height: 1.25rem;
        padding-top: 0.5rem;
        padding-bottom: 0.5rem;
        padding-left: 0.8rem;
        padding-right: 0.8rem;
        --tw-bg-opacity: 1;
        background-color: rgba(255,255,255,var(--tw-bg-opacity)) !important;
        --tw-border-opacity: 1;
        border-color: rgba(209,213,219,var(--tw-border-opacity)) !important;
        border-width: 1px;
        border-radius: 0em;
        background: none !important;
        --tw-space-x-reverse: 0;
        margin-right: calc(-1px * var(--tw-space-x-reverse));
        margin-left: calc(-1px * calc(1 - var(--tw-space-x-reverse)));
    }

        .dataTables_wrapper .dataTables_paginate .paginate_button:hover {
            --tw-bg-opacity: 1;
            background-color: rgba(249,250,251,var(--tw-bg-opacity)) !important;
            --tw-text-opacity: 1;
            color: rgba(107,114,128,var(--tw-text-opacity)) !important;
        }
    .dataTables_wrapper .dataTables_paginate .ellipsis {
        display: inline-flex;
        position: relative;
        --tw-space-x-reverse: 0;
        margin-right: calc(-1px * var(--tw-space-x-reverse));
        margin-left: calc(-1px * calc(1 - var(--tw-space-x-reverse)));
        --tw-text-opacity: 1;
        color: rgba(55,65,81,var(--tw-text-opacity));
        font-weight: 500;
        font-size: .875rem;
        line-height: 1.25rem;
        padding-left: 1rem;
        padding-right: 1rem;
        padding-top: 0.5rem;
        padding-bottom: 0.5rem;
        --tw-bg-opacity: 1;
        background-color: rgba(255,255,255,var(--tw-bg-opacity));
        --tw-border-opacity: 1;
        border-color: rgba(209,213,219,var(--tw-border-opacity));
        border-width: 1px;
    }

    .dataTables_wrapper .dataTables_paginate .paginate_button:first-child {
        border-top-left-radius: 0.375rem;
        border-bottom-left-radius: 0.375rem;
    }
    .dataTables_wrapper .dataTables_paginate .paginate_button:last-child {
        border-top-right-radius: 0.375rem;
        border-bottom-right-radius: 0.375rem;
    }

    .dataTables_wrapper .dataTables_paginate span .paginate_button:last-child {
        border-top-right-radius: 0rem;
        border-bottom-right-radius: 0rem;
    }
    .dataTables_wrapper .dataTables_paginate span .paginate_button:first-child {
        border-top-left-radius: 0rem;
        border-bottom-left-radius: 0rem;
    }
    .dataTables_wrapper .dataTables_paginate span .paginate_button {
        border-radius: 0rem;
    }


/*Pagination Buttons - Current selected */
    .dataTables_wrapper .dataTables_paginate .paginate_button.current {
        --tw-text-opacity: 1;
        color: rgba(79,70,229,var(--tw-text-opacity)) !important;
        font-weight: 500;
        font-size: .875rem;
        line-height: 1.25rem;
        padding-left: 0.8rem;
        padding-right: 0.8rem;
        padding-top: 0.5rem;
        padding-bottom: 0.5rem;
        --tw-bg-opacity: 1;
        background-color: rgba(238,242,255,var(--tw-bg-opacity)) !important;
        --tw-border-opacity: 1;
        border-color: rgba(99,102,241,var(--tw-border-opacity)) !important;
        border-width: 1px;
        --tw-space-x-reverse: 0;
        margin-right: calc(-1px * var(--tw-space-x-reverse));
        margin-left: calc(-1px * calc(1 - var(--tw-space-x-reverse)));
        border-radius: 0em;
        z-index: 8;
        position: relative;
    }


table.dataTable{
    width: 100% !important;
    table-layout: fixed;
}
/*Add padding to bottom border */
table.dataTable.no-footer {
    border-radius: .5em;
    border: 1px solid rgba(107,114,128,.3);
    /*border-b-1 border-gray-300*/
    margin-bottom: 0.75em;
    margin-top: 0.75em;
}

table.dataTable thead{
    --tw-bg-opacity: 1;
    background-color: rgba(249,250,251,var(--tw-bg-opacity));
}

table.dataTable thead tr th{
    --tw-text-opacity: 1;
    color: rgba(107,114,128,var(--tw-text-opacity));
    letter-spacing: .05em;
    text-transform: uppercase;
    font-weight: 500;
    font-size: .75rem;
    line-height: 1rem;
    text-align: left;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    /* padding-top: 0.75rem; */
    /* padding-bottom: 0.75rem; */
    border-bottom: 1px solid rgba(107,114,128,.3);
}

    table.dataTable tbody tr td {
        border-bottom: 1px solid rgba(107,114,128,.3);
        /* padding-top: 1rem; */
        /* padding-bottom: 1rem; */
        padding-left: 1.5rem;
        padding-right: 1.5rem;
        overflow: hidden; /* this is what fixes the expansion */
        text-overflow: ellipsis; /* not supported in all browsers, but I accepted the tradeoff */
        /*white-space: nowrap;*/
    }

    table.dataTable tbody tr:last-child td {
        border-bottom: 0px solid rgba(107,114,128,.3);
        /* padding-top: 1rem; */
        /* padding-bottom: 1rem; */
        padding-left: 1.5rem;
        padding-right: 1.5rem;
        /*white-space: nowrap;*/
    }

    table.dataTable tbody tr:last-child td:first-child {
        border-bottom: 0px solid rgba(107,114,128,.3);
        border-bottom-left-radius: .6em;
    }

    table.dataTable tbody tr:last-child td:last-child {
        border-bottom: 0px solid rgba(107,114,128,.3);
        border-bottom-right-radius: .6em;
    }

    table.dataTable thead tr:first-child th:first-child {
        border-top-left-radius: .6em;
    }

    table.dataTable thead tr:first-child th:last-child {
        border-top-right-radius: .6em;
    }

/*Change colour of responsive icon*/
table.dataTable.dtr-inline.collapsed > tbody > tr > td:first-child:before,
table.dataTable.dtr-inline.collapsed > tbody > tr > th:first-child:before {
    background-color: #667eea !important;
    /*bg-indigo-500*/
}

.dataTables_wrapper .dataTables_length select {
    border-radius: 0.375rem;
    padding: 4px;
    font-size: 0.875rem;
    line-height: 1.25rem;
    padding-bottom: 0.5rem;
    padding-left: 0.75rem;
    padding-top: 0.35em;
    background-color: rgb(255 255 255 / 1);
    padding-right: 0.75rem;
    border-width: 1px;
    border-color: rgb(209 213 219 / 1);
    margin-top: 0.25rem;
    --tw-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);
    box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
.dataTables_wrapper .dataTables_processing {
    padding-top: 0px !important;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.9) 5%, rgba(255, 255, 255, 0.9) 90%, rgba(255, 255, 255, 0) 100%) !important;
}
.render video {
    width: 300px;
    top: -100%;
    bottom: -100%;
    overflow: hidden;
    margin: auto;
    position: absolute;
}

.render {
    overflow: hidden;
}

#qr-shaded-region {
    border-width: 47px 50px !important; 
}

.autocomplete-suggestions {
    background: #FFF;
    overflow: auto;
    --tw-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);
    box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
    font-size: 0.875rem;
    line-height: 1.25rem;
    --tw-border-opacity: 1;
    border-color: rgb(99 102 241 / var(--tw-border-opacity));
    border-radius: 0.375rem;
    margin-top: 5px;
    --tw-border-opacity: 1;
    border-color: rgb(209 213 219 / var(--tw-border-opacity));
    outline: 2px solid transparent;
    outline-offset: 2px;
    --tw-ring-inset: var(--tw-empty, );
    --tw-ring-offset-width: 0px;
    --tw-ring-offset-color: #fff;
    --tw-ring-color: #2563eb;
    --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
    --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
    box-shadow: var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);
    border-color: #2563eb;
}

.autocomplete-no-suggestion {
    text-align: center;
    padding: 10px 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
    .autocomplete-suggestion {
    padding: 5px 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.autocomplete-selected {
    background: #F0F0F0;
}

.autocomplete-suggestions strong {
    font-weight: normal;
    color: #3399FF;
}

.autocomplete-group {
    padding: 2px 5px;
}

    .autocomplete-group strong {
        display: block;
        border-bottom: 1px solid #000;
    }

.noselect {
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    -khtml-user-select: none; /* Konqueror HTML */
    -moz-user-select: none; /* Old versions of Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome, Opera and Firefox */
}

button[tooltip]:hover:after {
    content: attr(tooltip);
    position: absolute;
    background-color: #000000;
    color: white;
    padding: 0.375em;
    width: max-content;
    max-width: 10em;
    border-radius: 0.375em;
    justify-content: center;
    align-content: center;
    align-items: center;
    text-align: center;
    opacity: .7;
    animation: fadeInFromNone 0.5s ease-out;
    margin-top: 0.5em;
    overflow: hidden;
    text-overflow: ellipsis;
    overflow-wrap: break-word;
    padding-inline: 0.5em;
    font-size: 15px;
}

@-webkit-keyframes fadeInFromNone {
    0% {
        display: none;
        opacity: 0;
    }

    1% {
        display: block;
        opacity: 0;
    }

    100% {
        display: block;
        opacity: .7;
    }
}


.form-switch .form-check-input:checked {
    background-position: 100%;
    background-size: unset;
}

.form-switch .form-check-input:checked, .form-switch .form-check-input:focus {
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3E%3Ccircle r='3' fill='%23fff'/%3E%3C/svg%3E");
}

.form-check-input:checked[type=checkbox] {
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3E%3Ccircle r='3' fill='%23fff'/%3E%3C/svg%3E");
}

.form-switch .form-check-input {
    margin-top: 0.1rem;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3E%3Ccircle r='3' fill='%23fff'/%3E%3C/svg%3E");
    background-position: 0;
    -webkit-transition: background-position .15s ease-in-out;
    transition: background-position .15s ease-in-out;
}

.form-check-input:checked {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

.dt-buttons .dt-button {
    color: #fff;
    border-color: #1861ac;
    --tw-bg-opacity: 1;
    background-color: rgb(220 38 38 / var(--tw-bg-opacity));
    border-color: transparent;
    border-width: 1px;
    border-radius: 0.375rem;
    justify-content: center;
    margin-left: 0.25rem;
    margin-right: 0.25rem;
    --tw-text-opacity: 1;
    color: rgb(255 255 255 / var(--tw-text-opacity));
    font-weight: 500;
    font-size: 0.875rem;
    line-height: 1.25rem;
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
    padding-left: 1rem;
    padding-right: 1rem;
}

.dt-buttons .dt-button:hover {
    color: #fff;
    border-color: #1861ac;
    --tw-bg-opacity: 1;
    background-color: rgb(185 28 28 / var(--tw-bg-opacity)) !important;
    border-color: transparent;
    border-width: 1px;
    border-radius: 0.375rem;
    justify-content: center;
    margin-left: 0.25rem;
    margin-right: 0.25rem;
    --tw-text-opacity: 1;
    color: rgb(255 255 255 / var(--tw-text-opacity));
    font-weight: 500;
    font-size: 0.875rem;
    line-height: 1.25rem;
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
    padding-left: 1rem;
    padding-right: 1rem;
}

.dt-buttons{
    margin-inline: 12px;
}

.select2-container .select2-selection--single {
    height: 38px !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    margin-top: 0.25rem;
    height: 38px !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-color: transparent;
    background-size: contain;
    border: none !important;
    height: 20px !important;
    width: 20px !important;
    margin: auto !important;
    top: 8px !important;
    left: -8px !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 1.25em !important;
    color: revert !important;
    font-size: 0.875rem;
    padding-top: 0.55rem !important;
    padding-right: 0.75rem !important;
    padding-bottom: 0.5rem !important;
    padding-left: 0.75rem !important;
}

.select2-container--default .select2-selection--single {
    border-radius: 0.375rem !important;
    margin-top: 0.25rem;
    --tw-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);
    box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
    --tw-border-opacity: 1;
    border-color: rgb(209 213 219 / var(--tw-border-opacity)) !important;
    border-width: 1px !important;
}


.select2-container--default .select2-selection--single .select2-selection__rendered:focus,
.select2-container--default .select2-selection--single:focus {
    --tw-border-opacity: 1;
    border-color: rgb(99 102 241 / var(--tw-border-opacity)) !important;
    outline: 2px solid transparent;
    outline-offset: 2px;
    --tw-ring-opacity: 1;
    --tw-ring-color: rgb(99 102 241 / var(--tw-ring-opacity));
    --tw-ring-inset: var(--tw-empty, );
    --tw-ring-offset-width: 0px;
    --tw-ring-offset-color: #fff;
    --tw-ring-color: #2563eb;
    --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
    --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);
    box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
}

div.dtsb-searchBuilder div.dtsb-group div.dtsb-criteria select.dtsb-dropDown, div.dtsb-searchBuilder div.dtsb-group div.dtsb-criteria input.dtsb-input{
    min-width: 10em !important;
}
button.dtsb-button {
    color: #fff !important;
    border-color: #1861ac !important;
    --tw-bg-opacity: 1 !important;
    background-color: rgb(220 38 38 / var(--tw-bg-opacity)) !important;
    border-color: transparent !important;
    border-width: 1px !important;
    border-radius: 0.375rem !important;
    justify-content: center !important;
    margin-left: 0.25rem !important;
    margin-right: 0.25rem !important;
    --tw-text-opacity: 1;
    color: rgb(255 255 255 / var(--tw-text-opacity)) !important;
    font-weight: 500 !important;
    font-size: 0.875rem !important;
    line-height: 1.25rem !important;
}