﻿/* 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. */

.swal2-container {
    z-index: 10010;
}

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;
}

.btn-icon {
    width: 1em;
    height: 1em;
    font-weight: bold;
    position: relative;
    top: -2px;
    left: -1px;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}


input.form-control,
textarea.form-control,
select.form-control,
select.form-select,
.form-floating > label,
.form-floating > .form-control ~ label
.form-floating > .form-select,
.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label,
.form-floating > .form-select ~ label,
.form-control:focus {
    color: black;
    opacity: 1;
}

.dataTables_info .filteredWrapper {
    font-weight: bold;
    color: darkred;
}

#alertsWrapper svg {
    width: 1rem;
    height: 1rem;
    margin-top: -0.2rem;
    margin-right: 0.5rem;
    margin-left: -0.5rem;
}

/*Select2 ReadOnly Start*/
select[readonly].select2-hidden-accessible + .select2-container {
    pointer-events: none;
    touch-action: none;
}

    select[readonly].select2-hidden-accessible + .select2-container .select2-selection {
        background: #eee;
        box-shadow: none;
    }

    select[readonly].select2-hidden-accessible + .select2-container .select2-selection__arrow, select[readonly].select2-hidden-accessible + .select2-container .select2-selection__clear {
        display: none;
    }

/*Select2 ReadOnly End*/

/* Float sidebar over everything, including PDF editor */
#sidebar {
    z-index: 10000;
}

/* 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 */
}


/* Print document styles */
@media print {
    body.modal-open .c-header,
    body.modal-open .c-footer,
    body.modal-open #staticBackdropDocument .modal-header,
    body.modal-open #staticBackdropDocument .modal-footer {
        display: none;
    }

    body.modal-open #staticBackdropDocument .modal-dialog {
        width: 100% !important;
        max-width: 100% !important;
    }

    body.modal-open #staticBackdropDocument .modal-body {
        display: block;
    }

    body.modal-open #staticBackdropDocument #viewerContainer {
        overflow: visible;
    }

    /*
    body.modal-open {
        display: none;
    }

    body.modal-open div.modal-body {
        display: block;
    }
*/
}