﻿@media screen {
    #printSection {
        display: none;
    }
}

@media print {
    body * {
        visibility: hidden;
    }

    #printSection, #printSection * {
        visibility: visible;
    }

    #printSection {
        position: absolute;
        left: 0;
        top: 0;
    }

    .modal-dialog {
        max-width: 100%;
        width: 100%;
    }

    .modal-body {
        overflow: visible !important;
    }

    * {
        overflow: visible !important;
    }

    .print-overflow {
        overflow: visible !important;
        height: auto !important;
    }

    div {
        page-break-before: always;
    }

}


body {
    font-size: .875rem;
}

.feather {
    width: 16px;
    height: 16px;
    vertical-align: text-bottom;
}

/*
 * Sidebar
 */

.sidebar {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 100; /* Behind the navbar */
    padding: 48px 0 0; /* Height of navbar */
    box-shadow: inset -1px 0 0 rgba(0, 0, 0, .1);
}

@media (max-width: 767.98px) {
    .sidebar {
        top: 5rem;
    }
}

@media (max-width: 500px) {
    .h2 {
        font-size: 25px;
    }
}

.sidebar-sticky {
    position: relative;
    top: 0;
    height: calc(100vh - 48px);
    padding-top: .5rem;
    overflow-x: hidden;
    overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
}

@supports ((position: -webkit-sticky) or (position: sticky)) {
    .sidebar-sticky {
        position: -webkit-sticky;
        position: sticky;
    }
}

.sidebar .nav-link {
    font-weight: 500;
    color: #333;
}

    .sidebar .nav-link .feather {
        margin-right: 4px;
        color: #999;
    }

    .sidebar .nav-link.active {
        color: #007bff;
    }

        .sidebar .nav-link:hover .feather,
        .sidebar .nav-link.active .feather {
            color: inherit;
        }

.sidebar-heading {
    font-size: .75rem;
    text-transform: uppercase;
}

/*
 * Navbar
 */

.navbar-brand {
    padding-top: .75rem;
    padding-bottom: .75rem;
    font-size: 1rem;
    background-color: rgba(0, 0, 0, .25);
    box-shadow: inset -1px 0 0 rgba(0, 0, 0, .25);
}

.navbar .navbar-toggler {
    top: .25rem;
    right: 1rem;
}

.navbar .form-control {
    padding: .75rem 1rem;
    border-width: 0;
    border-radius: 0;
}

.form-control-dark {
    color: #fff;
    background-color: rgba(255, 255, 255, .1);
    border-color: rgba(255, 255, 255, .1);
}

    .form-control-dark:focus {
        border-color: transparent;
        box-shadow: 0 0 0 3px rgba(255, 255, 255, .25);
    }

.cardTableCell {
    padding: 0px 10px 5px 0px;
}

.cardTableCellAllPadding {
    padding: 4px 10px 4px 10px;
    background-color: rgba(0,0,0,0.03);
    border: solid 1px rgba(0,0,0,0.125);
    margin: 3px;
}

.card-header-narrow {
    padding: 3px 15px 3px 15px;
}

.card-body-narrow {
    padding: 5px 15px 3px 15px;
}

.transparent {
    background: transparent;
    border: none;
}

    .transparent:focus {
        outline: none;
        text-decoration: underline;
    }

    .hoverHand {
        cursor: pointer;
    }

.hoverHandUnderline {
    cursor: pointer;
}

.hoverHandUnderline:hover {
    text-decoration: underline;
}

.hoverHelp {
    cursor: help !important;
}

.hoverArrow {
    cursor: default;
}

/*
 * Edit drop down options
 */

.level0 {
    margin: auto;
    padding: 5px;
    background: rgba(0,0,0,0.03);
}

.level1 {
    margin: auto;
    padding: 5px;
    margin:2px;
    background: rgba(0,0,0,0.03);
}

    .level1:hover {
        background: rgba(0,0,255,0.05);
    }

.level2 {
    margin: auto;
    padding: 5px 5px 5px 5px;
    margin: 2px 0px 2px 12px;
    background: rgba(0,0,0,0.03);
}

    .level2:hover {
        background: rgba(0,0,255,0.05);
    }

.level3 {
    margin: auto;
    padding: 5px 5px 5px 5px;
    margin: 2px 0px 2px 12px;
    background: rgba(0,0,0,0.03);
}

    .level3:hover {
        background: rgba(0,0,255,0.05);
    }

.level4 {
    margin: auto;
    padding: 5px 5px 5px 5px;
    margin: 2px 0px 2px 12px;
    background: rgba(0,0,0,0.03);
}

    .level4:hover {
        background: rgba(0,0,255,0.05);
    }

.level5 {
    margin: auto;
    padding: 5px 5px 5px 5px;
    margin: 2px 0px 2px 12px;
    background: rgba(0,0,0,0.03);
}

    .level5:hover {
        background: rgba(0,0,255,0.05);
    }

.level6 {
    margin: auto;
    padding: 5px 5px 5px 5px;
    margin: 2px 0px 2px 12px;
    background: rgba(0,0,0,0.03);
}

    .level6:hover {
        background: rgba(0,0,255,0.05);
    }

.ddOptionDiv1 {
    width: 70%;
    float: left;
}

.ddOptionDiv2 {
    margin-left: 15%;
    text-align: right;
}

.editDropDownInput {
    background: transparent;
    border: none;
}

    .editDropDownInput:focus {
        background: transparent;
        border: none;
        outline-width: 0;
    }

.editDropDownLabel {
    background: transparent;
    border: none;
}

    .editDropDownLabel:focus {
        background: transparent;
        border: none;
        outline-width: 0;
    }

.sortableDiv-placeholder {
    height: 25px;
    background: #e3dcd7;
    margin-bottom: 5px;
    margin-top: 5px;
}

/*
 * D3 Charts
 */
.d3rect-bar:hover {
    opacity: 0.5;
    transition: 200ms linear;
}

.d3rect-histogram:hover {
    opacity: 0.5;
    transition: 200ms linear;
}

.d3circle-tree:hover {
    fill-opacity: 0.5;
    transition: 200ms linear;
}

.d3rect-textlabel {
    pointer-events: none;
}

span.linkStyle:hover {
    text-decoration: underline;
    cursor: pointer;
}

.failedAlignmentCheck {
    color: red !important;
}

/*
 * Pulse buttons
 */

.pulsingButton {
    animation: pulse-animation 2s 2;
}

@keyframes pulse-animation {
    0% {
        box-shadow: 0 0 0 0px rgba(0, 0, 0, 0.2);
    }

    100% {
        box-shadow: 0 0 0 10px rgba(0, 0, 0, 0);
    }
}

button.btn-dropdown {
    padding: 0px 10px 0px 10px;
    margin: -0px;
    border: solid gray 1px;
    background-color: white;
}

button.btn-dropdown-no-box {
    padding: 0px 10px 0px 10px;
    margin: -0px;
    border: none;
    background-color: white;
}

    button.btn-dropdown-no-box:focus {
        outline: none !important;
    }

/* multicolum dropdown */
/* rows */
div.dropdown-multicol {
    width: 18em;
}

div.dropdown-row > a.ddcol-1 {
    display: inline-block;
    width: 40px;
    padding: 4px 10px 4px 20px;
}

div.dropdown-row > a.ddcol-2 {
    display: inline-block;
    width: 80%;
    padding: 4px 10px 4px 10px;
}

div.dropdown-multiselect {
    font-size: 14px;
    font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
    padding: 0px 10px 0px 10px;
}

input.ddCheckBox {
    padding: 0px 5px 0px 0px;
}

div.filteredInputList {
    margin-left: 15px;
    margin-top: 0px;
    overflow: auto;
    padding-left: 10px;
    cursor: pointer;
}

div.filteredBoxElement {
    width: 90%;
    margin-left: 10px;
    margin-right: 10px;
}

    div.filteredBoxElement:hover {
        background: rgba(0,0,255,0.05);
    }

/*Select2 custom css
*/

.select2-selection__rendered {
    line-height: 40px !important;
}

.select2-container .select2-selection--single {
    height: 40px !important;
}

.select2-selection__arrow {
    height: 40px !important;
}

.profileMenu {
    padding: 10px 0px 5px 0px;
    position: fixed;
    z-index: 20;
    right: 0px;
    background-color: #333741;
    display: none;
}

.profileMenuDiv {
    padding: 5px 20px 10px 20px;
}

.profileMenuItem {
    color: rgba(255,255,255,.5);
    border: 0px;
    outline: none;
}

    .profileMenuItem:hover {
        color: rgba(255,255,255,.75);
        text-decoration: none;
    }

    .profileMenuItem:focus {
        border: 0px;
        outline: none;
    }

.popover {
    width: 225px !important;
    max-width: 225px !important;
}

/*.popOverForThumbnails {
    width: 400px !important;
}
*/
/*Screen Calibration*/
.boxesPlaceholder {
    width: 100%;
    height: 100%;
    text-align: center;
}

.testBox {
    display: inline-block;
    padding: 10px;
}

.testBoxImage {
    width: 7cm;
    height: 7cm;
    border: solid 1px;
    font-size: 230px;
    font-family: Arial;
    font-weight: bold;
    text-align: center;
    vertical-align: middle;
    line-height: 7cm;
}

.testTextInput {
    width: 7cm;
    margin-top: 10px;
    text-align: center;
    background-color: black;
    border: solid 2px #8888ff;
    font-size: 1.4em;
    padding: 2px 0px;
    color: white;
}

.maxWidthTextarea {
    width: 100%;
    -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
    -moz-box-sizing: border-box; /* Firefox, other Gecko */
    box-sizing: border-box; /* Opera/IE 8+ */
}

.dropCardHover {
    border-color: rgba(0,0,0,0.75) !important;
    border-bottom-width: 2px;
    margin-left: -10px;
    margin-right: -10px;
}

.highligth-border-on-hover:hover {
    border-color: rgba(0,0,0,0.5) !important;
    border-bottom-width: 2px;
}

body div.toastify-center {
    max-width: max-content;
    background: none;
    background-color: #1f7787;
    opacity: 1;
}

.button-green {
    color: white;
    background: #1f7787;
}

    .button-green:hover {
        color: white;
        text-decoration: underline;
    }

 .placeholder-red::placeholder {
    color: red !important;
}

 /* Team overview  */

.team-event-member-btn,
.team-pathPanel-member-btn
{
    margin: 0px 5px 0px 0px;
    padding: 0px 3px 2px 3px;
    border: solid 1px #888888;
    border-radius: 3px;
}

.team-event-member-btn:hover,
.team-pathPanel-member-btn:hover {
    border: solid 1px #000000;
    background-color: #ffffff;
}

.text-link {
    color: black;
    text-decoration: none;
}

.text-link:hover {
    color: black;
}

.highlightOption {
    background: #c1fdac !important;
}

.searchResultHover:hover {
    background-color: #eeeeee;
}

.searchResultHighlight {
    background-color: #eeeeee;
}

/* css for 'dropdowns' */

button.dropdown-toggle.mt-0::after {
    position: relative;
    float: right;
    top: calc(50% - 1px);
    margin-right: 7px;
}

.dropdown-small {
    padding-left: 10px;
    padding-right: 5px;
    font-size: 0.75em;
}

.ddcol-1-small {
    display: inline-block;
    width: 80%;
    padding: 4px 10px 4px 10px;
}

.ddcol-2-small {
    display: inline-block;
    width: 20%;
    padding: 4px 10px 4px 10px;
}

/*.miniDropdown {
    position: relative;
    display: inline-block;
}
.miniDropDownContent {
    padding: 10px 0px 5px 0px;
    position: absolute;
    z-index: 20;
    background-color: #eeeeee;
    display: block;
    top: 25px;
}*/

.strong-shadow-on-hover:hover {
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.5)!important;
}

.rotate360 {
    animation: rotateY-anim 1s linear;
}

@keyframes rotateY-anim {
    0% {
        transform: rotateY(0deg);
    }

    100% {
        transform: rotateY(360deg);
    }
}

.redacted {
    color: grey;
    background: grey;
}

.redacted:hover {
    color: #212529;
    background: #eeeeee;
}

.ppTable {
    border: 1px solid;
    border-color: rgba(0, 0, 0, 0.125);
    border-collapse: collapse;
}

.ppHeaderCell {
    border: 1px solid;
    border-color: rgba(0, 0, 0, 0.125);
    border-collapse: collapse;
    background-color: rgba(0, 0, 0, 0.03);
    padding-left: 5px;
}

.ppCell {
    border: 1px solid;
    border-color: rgba(0, 0, 0, 0.125);
    border-collapse: collapse;
    padding-left: 5px;
}

.ppFilterInput {
    width: 100%;
}

    .ppFilterInput:focus {
        outline: none;
    }


/* Style the tab */
.ppTab {
    overflow: hidden;
    border: 1px solid #ccc;
    background-color: #f1f1f1;
}

    /* Style the buttons inside the tab */
    .ppTab button {
        background-color: inherit;
        float: left;
        border: none;
        outline: none;
        cursor: pointer;
        padding: 14px 16px;
        transition: 0.3s;
        font-size: 17px;
    }

        /* Change background color of buttons on hover */
        .ppTab button:hover {
            background-color: #ddd;
        }

        /* Create an active/current tablink class */
        .ppTab button.active {
            background-color: #ccc;
        }

/* Style the tab content */
.ppTabContent {
    display: none;
    padding: 12px 12px;
    border: 1px solid #ccc;
    border-top: none;
}

.p-min-in-child p {
    margin-bottom: 0px;
}

.customOpacity {
    opacity: 0.25 !important;
}

.td-truncate {
    max-width: 0;
    overflow: hidden;
    padding: 5px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Sortable tables */

.sortable-table thead tr th {
    position: relative;
    cursor: pointer;
}

.sortable-table thead tr th:after {
    position: absolute;
    right: 2px;
}

.sortable-table thead tr th.sort-asc:after {
    content: "\25b4";
}

.sortable-table thead tr th.sort-desc:after {
    content: "\25be";
}
