﻿/* Bootstrap Validation Summary Override */
/* Bootstrap Validation Summary Override */

/*set the primary accent colors for the application*/
:root {
    --primary-color: #04acec;
    --secondary-color: #3E444A;
    --tertiary-color: #0a0af8;
}
.validation-summary-valid {
    display: none;
}

.bootstrap-select .dropdown-menu {
    transform: none;
}

.restrict-bootstrap-select-width .dropdown-menu {
    max-width: 100% !important;
    min-width: 100% !important;
}

.bootstrap-select .empOption {
    font-size: 13px !important;
}

.validation-summary-errors ul {
    margin-bottom: 0;
    padding-left: 1rem;
}

.alert.validation-summary-errors {
    margin-bottom: 1rem;
}

.col-0 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 4.166665%;
    flex: 0 0 4.166665%;
    max-width: 4.166665%;
    width: 4.166665%;
}

.col-1 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 8.33333%;
    flex: 0 0 8.33333%;
    max-width: 8.33333%;
    width: 8.33333%;
}

.col-2 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 16.66666%;
    flex: 0 0 16.66666%;
    max-width: 16.66666%;
    width: 16.66666%;
}

.dataTables_empty {
    font-size: 1.5rem !important;
}
.table-row-select tr:hover {
    cursor: pointer;
}

/* Reference classes, no implementation */
.base,
.needs-validation,
.flex-start,
.text-faded,
.app-container-demo,
.lang-js,
.lang-csharp,
.has-tooltip,
.has-popover {
}

/* Keeps analyzers happy */
.js-waves-off,
.js-waves-on,
.js-get-date,
.js-collapse,
.js-modal-settings,
.js-filter-message,
.js-buttons,
.js-icon-class,
.js-icon-copy,
.js-bg-color,
.js-bg-gradient,
.js-bg-gradient-demo,
.js-bg-target {
}

/* Small word wrap correction */
section > ol > li {
    word-break: break-all;
}

code {
    border: 1px solid silver;
    padding: 0.03rem 0.2rem !important;
}

pre.prettyprint {
    border-radius: 0.2rem;
    padding-left: 0.4rem !important;
    padding-right: 0.4rem !important;
}

.documentation h2 {
    color: var(--primary);
}

.documentation th:first-child,
.documentation th:nth-child(3) {
    width: 16%;
}

.documentation blockquote {
    margin-left: 1rem;
    padding: 1rem 1rem 0.01rem 1rem;
    font-weight: 400;
    border-radius: 0 4px 4px 0;
    background: #edf2f9;
    border-left: 3px solid var(--primary);
}

    .documentation blockquote.info {
        background: #edf2f9;
        border-left: 3px solid var(--info);
    }

    .documentation blockquote.warning {
        background: #fff4db;
        border-left: 3px solid var(--warning);
    }

    .documentation blockquote.danger {
        background: #fadeeb;
        border-left: 3px solid var(--danger);
    }

/* Button css */
.btn-solid {
    box-shadow: inset 0 5px 15px 5px rgb(0 0 0 / 10%), 5px 5px 5px rgb(0 0 0 / 20%);
    margin-right: 5px;
}
.modal-btns {
    float: right;
    margin-right: 20px;
}
/* Button css END */

/* Form css */
.form-save{
    float: right;
}
.form-group{
    margin-bottom: 0.5rem !important;
}
.form-action-buttons {
    padding: 20px;
}
/* Form css END */

/*Info popu icons css*/
.infoPopupBtn {
    color: dodgerblue;
}

    .infoPopupBtn:hover {
        color: deepskyblue;
    }

    .infoPopupBtn:active {
        color: blue;
    }
/*Info popu icons css END*/
/*important popu icons css*/
.importantPopupBtn {
    color: red;
}

    .importantPopupBtn:hover {
        color: orangered;
    }

    .importantPopupBtn:active {
        color: darkred;
    }

.yellowPopupBtn {
    color: orange;
}

    .yellowPopupBtn:hover {
        color: orangered;
    }

    .yellowPopupBtn:active {
        color: darkorange;
    }
/*important popu icons css END*/
.swal2-select{
    border-radius: 5px;
    background-color: #ECEEEF!important;
}
.p-b-10{
    padding-bottom: 10px;
}
.p-l-10{
    padding-left: 10px;
}
/*SweetAlerts custom styling*/
.title-swal {
    font-size: 1.575rem!important;
}

.input-swal {
    font-size: 1.2rem!important;
}

.swal2-container {
    z-index: 10000 !important;
}

.btn-circle {
    width: 30px;
    height: 30px;
    text-align: center;
    padding: 0;
    font-size: 12px;
    line-height: 1.428571429;
    border-radius: 15px;
}

    .btn-circle.btn-lg {
        width: 50px;
        height: 50px;
        padding: 0;
        font-size: 18px;
        line-height: 1.33;
        border-radius: 25px;
    }

    .btn-circle.btn-xl {
        width: 70px;
        height: 70px;
        padding: 0;
        font-size: 24px;
        line-height: 1.33;
        border-radius: 35px;
    }
    .btn-circle > i {
        color: white;
    }

.btn-secondary-color-shadow {
    color: white;
    background-color: var(--secondary-color);
    box-shadow: 2px 2px 5px 1px var(--secondary-color); /* changed from:  box-shadow: 2px 2px 5px 3px var(--secondary-color);*/
}

.btn-primary-color-shadow {
    color: white;
    background-color: var(--primary-color);
    box-shadow: 2px 2px 5px 1px var(--primary-color); /* changed from:  box-shadow: 2px 2px 5px 3px var(--secondary-color);*/
}

    .btn-secondary-color-shadow:enabled:hover, .btn-primary-color-shadow:enabled:hover {
        /*    background-color: var(--secondary-color);*/
        box-shadow: none;
    }

    .btn-secondary-color-shadow:hover, .btn-primary-color-shadow:hover {
        color: white;
    }

    .btn-secondary-color-shadow:hover, .btn-primary-color-shadow .fa-arrow-right {
        position: relative;
        left: 0px;
        transition: 0.5s;
    }

    .btn-secondary-color-shadow:enabled:hover, .btn-primary-color-shadow:enabled:hover .fa-arrow-right {
        left: 10px;
    }

.menu-icon{
    fill: var(--tertiary-color);
    height: 70px;
}
//*****FLEX STYLING****//
.flex-container{
    display: flex;
    flex-wrap: wrap;
    gap: 5px 10px;
}
.flex-item-w15{
    width: 15%;
}
.flex-item-1{
    flex-grow: 1;
}
.flex-item-2{
    flex-grow: 2;
}
.flex-item-3{
    flex-grow: 3;
}
.flex-item-4{
    flex-grow: 4;
}

.ui-autocomplete {
    z-index: 10000;
}

/* urgent rows V1 - les subtle */
/*tr.urgent-row.odd{
    background-color: crimson !important;
}
tr.urgent-row.even {
    background-color: darkred !important;
}*/
/*tr.urgent-row .actionBtn button {
    background-color: whitesmoke !important;
    border-color: lightgrey !important;
}*/
/*tr.urgent-row {
    color: whitesmoke !important;
}*/

/* urgent rows V2 - more subtle*/
tr.urgent-row {
    color: red !important;
    font-weight: bold !important;
}
tr.urgent-row .actionBtn > button {
    background-color: red !important;
    border-color: red !important;
    color: whitesmoke !important;
}

tr.highlighted-row td {
    font-weight: bold !important;
    background-color: lightgrey !important;
}

.select2-dropdown.increasezindex {
    z-index: 99999; /*I added this because the dropdown menu was hidden behind the modal when select2 was used on a partial view*/
}
.select2-search__field, .select2-search {
    width: 100% !important; /*I added this because the placeholder text was getting cut off on initialization*/
}

.checkbox {
    height: 25px;
    width: 25px;
    vertical-align: middle;
    display: inline-block;
    margin: 5px;
}


/*CSS for selectable table rows*/
tr.selected {
    border: 1px solid black !important;
    border-radius: 3px !important;
    background-color: #cbcaca !important;
    box-shadow: 0 0 0px 1px #808080 !important;
}

table.dataTable tr th.select-checkbox.selected::after {
    content: "✔";
    margin-top: -11px;
    margin-left: -4px;
    text-align: center;
    text-shadow: rgb(176, 190, 217) 1px 1px, rgb(176, 190, 217) -1px -1px, rgb(176, 190, 217) 1px -1px, rgb(176, 190, 217) -1px 1px;
}

table.dataTable thead th.select-checkbox {
    position: relative;
}

    table.dataTable thead th.select-checkbox:before,
    table.dataTable thead th.select-checkbox:after {
        display: block;
        position: absolute;
        top: 1.2em;
        left: 50%;
        width: 12px;
        height: 12px;
        box-sizing: border-box;
    }

    table.dataTable thead th.select-checkbox:before {
        content: ' ';
        margin-top: -6px;
        margin-left: -6px;
        border: 1px solid black;
        border-radius: 3px;
    }


.requirementsNotation {
    color: red;
    font-size: inherit;
    font-style: italic;
    font-weight: 500;
}

.solid-hr {
    border: none;
    border-bottom: solid 2px black;
}


.heavy-line {
    border-bottom: 1px solid #666666;
}

.vertical-line-after {
    border-right: 1px solid #666666;
    height: 100%;
}

@media (min-width: 992px) {
    .vertical-line-after-lg {
        border-right: 1px solid #666666;
        height: 100%;
    }
}

@media (min-width: 768px) {
    .vertical-line-after-md {
        border-right: 1px solid #666666;
        height: 100%;
    }
}

@media (min-width: 576px) {
    .vertical-line-after-sm {
        border-right: 1px solid #666666;
        height: 100%;
    }
}


.development-mode-alert {
    position: fixed;
    right: 1.5rem;
    /*top: 5rem;*/
    bottom: 1.5rem;
    z-index: 1500;
    width: 110px;
    height: 110px;
    border: dotted orangered 2px;
    /*padding: 30px 10px 40px 10px;*/ /*for circle*/
    padding: 15px 8px 20px 8px;
    text-align: center;
    /*border-radius: 50%;*/ /*for circle*/
    border-radius: 5%;
    background-color: orange;
    opacity: 0.7;
    pointer-events: none; /*allow user to click underlying elements*/
}

    .development-mode-alert h4 {
        font-weight: bold;
        font-size: 0.8rem;
    }

    .development-mode-alert p {
        font-weight: 500;
        font-size: 0.7rem;
    }


.development-mode-menu-btn:not(button) {
    position: fixed;
    right: 1.5rem;
    top: 12rem;
    z-index: 1500;
    width: 110px;
    /*height: 110px;*/
    /*padding: 30px 10px 40px 10px;*/ /*for circle*/
    padding: 0;
    text-align: center;
    /*border-radius: 50%;*/ /*for circle*/
    border-radius: 5%;
    /*opacity: 0.7;*/
}

    .development-mode-menu-btn button:hover {
        /*background-color: lawngreen;*/
        filter: brightness(85%); /* filter: values less than 100% darken, value great than 100% brighten */
    }

/* Fixes Bootstrap selects that have 150+ options to make the options have the same size text */
.bootstrap-select .dropdown-item > .text {
    font-size: 14px !important;
}
