@media print {
    @page {
        margin: 0;
    }

    body {
        margin: 3rem;
    }
}

html {
  font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

@media print {
    html, body {
        font-size: 14px !important;
    }

    .page-break {
        break-after: page;
    }
}


/**********************************************************************/

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {

}

/*  Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
    
}

/*  Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    
}

/*  X-Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    
}

/*  XX-Large devices (larger desktops, 1400px and up) */
@media (min-width: 1400px) {
    
}


/**********************************************************************/

.ecs-navbar {
    background-color: #66718f;
}


@keyframes menuButtonBlink {
    0% {
        color: #ffffff;
        opacity: 1;
    }

    50% {
        color: #ddddff;
        opacity: 0.5;
    }

    100% {
        color: #ffffff;
        opacity: 1;
    }
}

#bMainMenuNavButton {
    color: #ffffff;
    opacity: 1;
    animation-name: menuButtonBlink;
    animation-duration: 1.5s;
    animation-iteration-count: 1;
}

.small {
    font-size: 12px !important;
}

.small-ish {
    font-size: 14px !important;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
}

.box-shadow {
    box-shadow: rgba(0, 0, 0, 0.15) 0px 2px 10px !important;
}

div.offcanvas-header {
    box-shadow: rgba(0, 0, 0, 0.15) 0px 2px 10px !important;
    border-bottom: solid 1px #ccc;
    z-index: 2;
}
div.offcanvas-body {
    z-index: 1;
}

div.card {
    box-shadow: rgba(0, 0, 0, 0.05) 5px 5px 20px 0px !important;
}

.alert-shadow {
    box-shadow: rgba(0, 0, 0, 0.35) 5px 5px 20px 0px !important;
}

.loading-screen {
    position: fixed;
    top: 3em;
    left: 50%;
    transform: translate(-50%);
    z-index: 999;
    border-width: 3px;
}

.hovering-message {
    position: fixed;
    top: 3em;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    z-index: 9999;
    box-shadow: 5px 5px 5px 0 rgba(0, 0, 0, 0.4);
    border-width: 3px;
}

.align-items-center {
    display: flex;
    align-items: center; /*Aligns vertically center */
    justify-content: center; /*Aligns horizontally center */
}

.no-transition {
    -webkit-transition: height 0.01s;
    -moz-transition: height 0.01s;
    -o-transition: height 0.01s;
    transition: height 0.01s;
}

.validation-summary-errors {
    padding: 0;
    padding-left: 1em;
    margin-bottom: 1rem;
    background: #f8d7da;
    border-color: #000;
    color: #842029;
    border-radius: 0.25rem;
}

    .validation-summary-errors ul {
    }

    .validation-summary-errors ul {
        padding: 1em 2em;
        margin-bottom: 0 !important;
    }

    .validation-summary-errors li {
        padding: 0 0 5px 0 !important;
        margin: 0 !important;
    }

.hidden-coloring:not(.active) {
    color: #996600 !important;
}

a[data-sort-column] {
    text-decoration: none;
}

a[data-sort-direction="asc"]:after {
    content: '\F238';
    font-family: "bootstrap-icons";
    font-size: 80%;
    margin-left: 5px;
    vertical-align: -10%;
    text-decoration: none;
}

a[data-sort-direction="desc"]:after {
    content: '\F22C';
    font-family: "bootstrap-icons";
    font-size: 80%;
    margin-left: 5px;
    vertical-align: -10%;
    text-decoration: none;
}



thead tr th {
    border-bottom: solid 1px #ccc;
    font-weight: 500 !important;
}

.col-form-label {
    color: #777;
}

.form-checkbox-list-container {
    overflow-y: auto;
    max-height: 200px;
    border: solid 1px rgb(206, 212, 218);
    border-radius: 6px;
}

.breadcrumb-container {
    padding: 7px 12px;
    background: #f6f6f6;
    border: solid 1px #f0f0f0;
    border-radius: 10px;
}

html[data-bs-theme="dark"] .breadcrumb-container {
    background: #333;
    border: solid 1px #666;
}

.breadcrumb-container .breadcrumb {
    margin: 0;
}

.dragging {
    opacity: 0.25;
}

.dragging td {
    color: white;
    background-color: black;
}

/**********************************************/

/* Fix for overflow issues */
.table-responsive .dropdown,
.table-responsive .btn-group,
.table-responsive .btn-group-vertical {
    position: static;
}

/**********************************************/
/* Component Menu effects */

#ocComponentMenu a[data-bs-toggle="collapse"] i.bi-caret-down-fill {
    transform: rotate(180deg);
    color: #cccccc;
}

#ocComponentMenu a[data-bs-toggle="collapse"].collapsed i.bi-caret-down-fill {
    transform: rotate(0deg);
    color: #000000;
}