﻿/* Bootstrap Validation Summary Override */
/* Bootstrap Validation Summary Override */
.validation-summary-valid {
    display: none;
}

.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;
}

/* 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);
    }

/* COCHRANE SPECIFIC CSS */
/* Enter custom CSS rules for your application here */

.page-logo {
    background-color: #fff;
}

.page-logo img {
    width: 147px;
    height: 50px;
    margin-left: 25px;
}

/* For some reason dropdown menu in datatable is offset strangley.  This attempts to fix. */
/* .dropdown-menu-left-cc {
    top: -32px !important;
    left: -100px !important;
}*/

/* Correct dropleft spacing */
/* .dropdown-menu.dropleft-cc.show {
    left: -10px !important;
}*/

a.dropdown-item.bmd-modalButton {
    text-decoration: none !important;
}

table.dataTable tbody tr.selected a, table.dataTable tbody th.selected a, table.dataTable tbody td.selected a {
    color: #333;
}

/* .modal-fullscreen .modal-header {
    border: none;
}



.modal-fullscreen .modal-content {
   border: 0;
   -webkit-box-shadow: none;
   box-shadow: none;
}

.modal-backdrop.modal-backdrop-fullscreen {
    background: #ffffff;
}

.modal-backdrop.modal-backdrop-fullscreen.in {
    opacity: .97;
    filter: alpha(opacity=97);
}

.modal-fullscreen .modal-dialog {
    margin: 0;
    margin-right: auto;
    margin-left: auto;
    width: 100%;
}

@media (min-width: 768px) {
    .modal-fullscreen .modal-dialog {
        width: 750px;
    }
}

@media (min-width: 992px) {
    .modal-fullscreen .modal-dialog {
        width: 970px;
    }
}

@media (min-width: 1200px) {
    .modal-fullscreen .modal-dialog {
        width: 1170px;
    }
}

@media (min-width: 1400px) {
    .modal-fullscreen .modal-dialog {
        width: 1370px;
    }
}*/

/* Change height to 90% this seems to fix overflow. */
.embed-responsive .embed-responsive-item, .embed-responsive iframe, .embed-responsive embed, .embed-responsive object, .embed-responsive video {
    height: 90%;
}

/* Change z-index of fullscreen panel.  
    Boostrap modal is 1060. Smartadmin default is 2055. 
    We wamt Smartadmin behind bootstrap.*/
.panel.panel-fullscreen {
    z-index: 1059;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff;
    background-color: #00629A;
}

/* .page-logo > ul > li {
    z-index: 9999;
}*/

/* Page logo overflow menu */
 .page-logo {
    z-index: 1024;
    overflow:visible;
}


/* .dropdown-icon-menu > ul {
    overflow:visible;
} */


/* app navgation stays hidden logo overrides */
@media (min-width: 992px) {
    .nav-function-hidden:not(.nav-function-top) .page-wrapper {
        padding-right: 0.625rem;
    }

    .nav-function-hidden:not(.nav-function-top) .page-sidebar {
        right: -16.25rem;
        z-index: 1001;
        -webkit-transition: all 470ms cubic-bezier(0.34, 1.25, 0.3, 1);
        transition: all 470ms cubic-bezier(0.34, 1.25, 0.3, 1);
        position: absolute;
        top: 0;
        bottom: 0;
        will-change: left, right;
        /* apply invisible hit area to reveal nav */
    }

        .nav-function-hidden:not(.nav-function-top) .page-sidebar:after {
            content: "";
            background: transparent;
            height: 100%;
            display: block;
            position: fixed;
            z-index: 1;
            top: 0;
            bottom: 0;
            right: 16.875rem;
            width: 2.1rem;
        }

        .nav-function-hidden:not(.nav-function-top) .page-sidebar:hover {
            right: 0;
            -webkit-transition: 450ms cubic-bezier(0.9, 0.01, 0.09, 1);
            transition: 450ms cubic-bezier(0.9, 0.01, 0.09, 1);
        }

            .nav-function-hidden:not(.nav-function-top) .page-sidebar:hover:after {
                content: "";
                z-index: -1;
            }

    .nav-function-hidden:not(.nav-function-top) .page-logo {
        margin-right: 0;
        /* active button state for "nav-function-hidden" */
    }

        .nav-function-hidden:not(.nav-function-top) .page-logo [data-class="nav-function-hidden"] {
            background: #505050;
            border-color: #363636 !important;
            -webkit-box-shadow: inset 0 0 3px 1px rgba(0, 0, 0, 0.37);
            box-shadow: inset 0 0 3px 1px rgba(0, 0, 0, 0.37);
            color: #fff !important;
        }

    .nav-function-hidden:not(.nav-function-top).nav-function-fixed .page-sidebar {
        /* apply invisible hit area to reveal nav */
    }

        .nav-function-hidden:not(.nav-function-top).nav-function-fixed .page-sidebar:after {
            right: 0.625rem;
        }

    .nav-function-hidden.header-function-fixed:not(.nav-function-top) .page-logo {
        margin-right: 0.625rem;
    }
}

/* app navigation stays fixed logo overrides */
.nav-function-fixed:not(.nav-function-top) .page-sidebar {
    position: fixed !important;
    top: 0;
    bottom: 0;
}

    .nav-function-fixed:not(.nav-function-top) .page-sidebar .primary-nav {
        overflow: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
        height: calc(100% - 6.9375rem);
    }

    .nav-function-fixed:not(.nav-function-top) .page-sidebar .slimScrollDiv {
        height: calc(100% - 6.9375rem) !important;
    }

        .nav-function-fixed:not(.nav-function-top) .page-sidebar .slimScrollDiv .primary-nav {
            padding-bottom: 0;
        }

/* Mobile Hamburger button */
.header-btn[data-class='mobile-nav-on'] {
    border-color: #00629a;
    background-color: #02639b;
    background-image: -webkit-gradient(linear, left bottom, left top, from(#b42d0b), to(#842108));
    background-image: linear-gradient(to top, #303030, #00629a);
    color: #fff;
}

.nav-function-top .page-sidebar .primary-nav .nav-menu > li.active > a:before {
    color: #71af2f;
}

/* change accordion hover to cochrane blue. */
.accordion.accordion-hover .card-title:not(.collapsed) {
    color: #fff;
    background-color: #00629a !important;
}

.badge-primary {
    color: #FFF;
    background-color: #00629A !important;
}

.badge-info {
    color: #fff;
    background-color: #2196F3 !important;
}

.badge-success {
    color: #fff;
    background-color: #71af2f !important;
}

.badge-secondary {
    color: #fff;
    background-color: #6f7f8c !important;
}

/* Agency select in info bar */
.row.agency-select {
    width: 15rem;
}

/* Reduce padding of info card */
.info-card {
    padding: 0 1rem;
}

/******************** Select2 Override style *********************/

/* Move search icon */
.select2-container--flat .select2-search--dropdown:before {
    content: "\f002";
    font-family: 'Font Awesome 5 Pro';
    position: absolute;
    left: 550px;/*calc(12rem);*/
    top: calc(0.6rem + 0.875rem);
    color: #00629a;
}

/* Assign min-width to container */
.select2-container--flat.select2-container {
    min-width: 230px;
    max-width: 230px;
    font-family: Roboto, Helvetica;
}

.select2-container--flat.select2-container--open .select2-dropdown--below, .select2-container--flat.select2-container--open .select2-dropdown--above {
    background: #f8f8f8; /*#e5ebf4;*/
    color: #222; /* #97b1dc; */
}

/* for dark mode, make text white. */
.mod-skin-dark:not(.mod-skin-light) .select2-container--flat.select2-container--open .select2-dropdown--below, .select2-container--flat.select2-container--open .select2-dropdown--above {
    color: #c0c5c9;
}

.select2-container--flat .select2-container--focus .select2-selection--multiple {
    border: 2px solid #00629a;
}

.select2-container--flat .select2-results__option--highlighted[aria-selected] {
    background: #00629a !important;
    color: #fff;
}

.select2-container--flat .select2-results__option[aria-selected="true"] {
    background: #00629a;
    color: #fff;
    opacity: 0.8;
}

.select2-container--flat .select2-selection--single {
    border-radius: 0px;
}

.select2-container--flat.select2-container--open .select2-selection__arrow b {
    transform: rotate(180deg);
    -webkit-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
}

.select2-container--flat span.select2-search input {
    height: 30px !important;
}

.select2-container .select2-choice {
    border: 2px solid #e5ebf4;
    height: 36px;
    border-radius: 0px;
    font-family: "Lato", sans-serif;
    font-size: 14px;
    text-indent: 1px;
    box-shadow: none;
    background-image: none;
}

.select2-container .select2-choice div {
    border-left: 2px solid #e5ebf4;
    border-radius: 0 4px 4px 0;
    background-clip: padding-box;
}

.select2-container .select2-choice .select2-arrow {
    border: 0px;
    border-radius: 0px;
    background: transparent;
    background-image: none;
}

.select2-container *:focus {
    outline: 0px;
}

.select2-container.select2-drop-above .select2-choice {
    border-bottom-color: #e5ebf4;
    border-radius: 0px;
}

.select2-drop {
    margin-top: -2px;
    border: 2px solid #e5ebf4;
    border-top: 0;
    border-radius: 0px !important;
    border-radius: 0 0 6px 6px;
    box-shadow: none;
}

.select2-drop.select2-drop-above {
    margin-top: 2px;
    border-top: 2px solid #e5ebf4;
    border-bottom: 0;
    border-radius: 6px 6px 0 0;
    box-shadow: none;
}

.select2-container--flat .select2-search {
    /*margin-top: 3px;*/
    border-top: 4px solid #355f9f;
}

.select2-search input {
    height: 26px;
    border: 2px solid #e5ebf4;
}

.select2-container-active .select2-choice, .select2-container-active .select2-choices {
    border: 2px solid #e5ebf4;
    outline: none;
    box-shadow: none;
}

.select2-dropdown-open .select2-choice {
    box-shadow: none;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.select2-dropdown-open .select2-choice .select2-choice div {
    background: transparent;
    border-left: none;
    filter: none;
}

.select2-results {
    padding: 0 0 0 0px;
    margin: 4px 0px 0px 0;
}

.select2-results .select2-highlighted {
    background: #00629a;
    color: #fff;
    border-radius: 0px;
}

.select2-container-multi .select2-choices {
    height: auto !important;
    height: 1%;
    border: 2px solid #e5ebf4;
}

.select2-container-multi.select2-container-active .select2-choices {
    border: 2px solid #e5ebf4;
    border-radius: 6px;
    box-shadow: none;
}
/****** Select2 Single CSS *******/
.select2-container--flat .select2-selection--single {
    background: #ffffff00;
    border: 0px;
    height: 34px;
    border: 1px solid #fff;
    border-radius: 6px;
}

.select2-container--flat .select2-selection--single .select2-selection__rendered {
    color: #fff;
    line-height: 34px;
}

.select2-container--flat .select2-selection--single .select2-selection__arrow {
    height: 26px;
    position: absolute;
    top: 1px;
    right: 1px;
    width: 20px;
}

.select2-container--flat .select2-selection--single .select2-selection__arrow b {
    border-color: #fff transparent transparent transparent;
    top: 60%;
    border-style: solid;
    border-width: 5px 4px 0 4px;
    height: 0;
    left: 50%;
    margin-left: -4px;
    margin-top: -2px;
    position: absolute;
    width: 0;
}

.select2-container--flat .select2-selection--single .select2-selection__placeholder {
    color: #fff;
}

.select2-container--flat .select2-selection--single .select2-selection__clear {
    cursor: pointer;
    float: right;
    font-weight: bold;
}

/****** Select2 Multiple CSS *******/
.select2-container--flat .select2-selection--multiple {
    border: 1px solid #00629a;
}

.select2-container--flat .select2-selection--multiple .select2-selection__choice__remove:hover {
    color: #00629a;
    cursor: pointer;
}

.select2-container--flat .select2-selection--multiple .select2-selection__rendered {
    box-sizing: border-box;
    list-style: none;
    margin: 0;
    padding: 0 5px;
    width: 100%;
}

.select2-container--flat .select2-selection--multiple .select2-selection__choice {
    background-color: #0093e7;
    color: #fff;
    border: 1px solid #0093e7;
    border-radius: 0px;
    padding: 3px 5px;
    cursor: default;
    float: left;
    margin-right: 5px;
    margin-top: 5px;
}

.select2-container--flat .select2-selection--multiple .select2-selection__choice__remove {
    color: #00629a;
    margin-right: 6px;
    margin-left: 6px;
    float: right;
}

.select2-container--flat ul.select2-results {
    min-height: 150px;
    max-height: 600px;
    z-index: 2001;
}

.select2-container--flat .select2-dropdown {
    z-index: 2001;
}

.select2-container--flat .select2-results {
    min-height: 150px;
    max-height: 600px;
}

.select2-container--flat .select2-results__options {
    min-height: 150px;
    max-height: 600px;
    overflow-y: auto;
}

.select2-container--flat .select2-choices {
    min-height: 150px;
    max-height: 600px;
    overflow-y: auto;
}

/* set dropdown width to 600px */
.bigdrop {
    width: 600px !important;
    border: 4px solid #e5ebf4;
    box-shadow: 5px 5px rgba(0, 0, 0, 0.5);
}

/* If under 600px restore original width. */
@media only screen and (max-width: 600px) {
    .bigdrop {
        width: 100% !important;
    }
}

/****** Full screen modal *******/
.modal.modal-fullscreen {
    /* Maximize the main wrappers on the screen */
    /* Make the parent wrapper of the modal box a full-width block */
    /* Remove borders and effects on the content */
    /**
	 * /!\ By using this feature, you force the header and footer to be placed
	 * in an absolute position. You must handle by yourself the margin of the
	 * content.
	 */
}
.modal.modal-fullscreen .modal-dialog,
.modal.modal-fullscreen .modal-content {
  bottom: 0;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}
.modal.modal-fullscreen .modal-dialog {
  margin: 0;
  width: 100% !important;
  animation-duration:0.6s;
}
.modal.modal-fullscreen .modal-content {
  border: none;
  -moz-border-radius: 0;
  border-radius: 0;
  -webkit-box-shadow: inherit;
  -moz-box-shadow: inherit;
  -o-box-shadow: inherit;
  box-shadow: inherit;
}
.modal.modal-fullscreen.force-fullscreen .modal-body {
  padding: 0;
}
.modal.modal-fullscreen.force-fullscreen .modal-header,
.modal.modal-fullscreen.force-fullscreen .modal-footer {
  position: absolute;
  bottom: 0;
}
.modal.modal-fullscreen.force-fullscreen .modal-header {
  top: 0;
}

.modal-body {
  height: 100%;
  overflow-y: auto;
}

.modal-footer {
  width: 100%;
  position: absolute;
  bottom: 0;
  /*background-color: #FFF;*/
}

/****** 90% of Full screen modal *******/
.modal.modal-fullscreen-90 .modal-dialog,
.modal.modal-fullscreen-90 .modal-content {
    bottom: 20px;
    left: 20px;
    position: absolute;
    right: 10px;
    top: 20px;
}

.modal.modal-fullscreen-90 .modal-dialog {
    margin: 0;
    width: 96% !important;
    animation-duration: 0.6s;
}

.modal-fullscreen-90 {
    padding: 0 !important;
}

/* Handheld modal 90 becomes fullscreen. */
@media only screen and (max-width: 600px) {
    .modal.modal-fullscreen-90 .modal-dialog,
    .modal.modal-fullscreen-90 .modal-content {
        bottom: 0px;
        left: 0px;
        position: absolute;
        right: 0px;
        top: 0px;
    }

    .modal.modal-fullscreen-90 .modal-dialog {
        margin: 0;
        width: 100% !important;
        animation-duration: 0.6s;
    }
}

.modal-fullscreen-90 .modal-content {
    border-radius: 0;
    border-width: 0;
}

.modal-fullscreen-90 .modal-dialog {
    max-width: calc(100vw);
    max-height: calc(100vh - 80px);
}

.modal-fullscreen-90 .modal-dialog .modal-content {
    height: calc(100vh - 60px);
}

/****** 75% of Full screen modal *******/
.modal.modal-fullscreen-75 .modal-dialog,
.modal.modal-fullscreen-75 .modal-content {
    bottom: 50px;
    left: 150px;
    position: absolute;
    right: 45px;
    top: 34px;
}

.modal.modal-fullscreen-75 .modal-dialog {
    margin: 0;
    width: 75% !important;
    animation-duration: 0.6s;
}

.modal-fullscreen-75 {
    padding: 0 !important;
}

/* @media only screen and (max-width: 1200px) {
    .modal.modal-fullscreen-75 .modal-dialog,
    .modal.modal-fullscreen-75 .modal-content {
        left: 50px;
    }
}

@media only screen and (max-width: 900px) {
    .modal.modal-fullscreen-75 .modal-dialog,
    .modal.modal-fullscreen-75 .modal-content {
        left: 30px;
    }
} */



.modal-fullscreen-75 .modal-content {
    border-radius: 0;
    border-width: 0;
}

.modal-fullscreen-75 .modal-dialog {
    max-width: calc(100vw);
    max-height: calc(100vh - 120px);
}

.modal-fullscreen-75 .modal-dialog .modal-content {
    height: calc(100vh - 120px);
    overflow: hidden;
}

/* Handheld modal 75 becomes fullscreen under 1400px. */
@media only screen and (max-width: 1400px) {
    .modal.modal-fullscreen-75 .modal-dialog,
    .modal.modal-fullscreen-75 .modal-content {
        bottom: 0px;
        left: 0px;
        position: absolute;
        right: 0px;
        top: 0px;
    }

    .modal.modal-fullscreen-75 .modal-dialog {
        margin: 0;
        width: 100% !important;
        animation-duration: 0.6s;
    }

    .modal-fullscreen-75 .modal-dialog {
        max-width: 100%;
        max-height: 100%;
    }

    .modal-fullscreen-75 .modal-dialog .modal-content {
        height: 100%;
        overflow: hidden;
    }
}


/* Fix bootstrap modal centering for large and XL */
.modal.modal-lg, .modal.modal-xl {
    max-width: unset !important;
    right: 0;
    top: 34px;
}

/* Change datatables selected color for normal mode */
table.dataTable tbody > tr.selected, table.dataTable tbody > tr > .selected {
    background-color: #eee;
    color: #000;
}

/* Change datatables selected color for dark mode */
.mod-skin-dark:not(.mod-skin-light) table.dataTable tbody > tr.selected, table.dataTable tbody > tr > .selected {
    background-color: #4442b2;
    color: #fff;
}

/* Special overrides for change payment button */
.changePayment {
    color: #494949;
    border-color: #71af2f;
    font-weight: 900;
    border: 2px solid #71AF2f;
    /*background-color: #d6d6a2;*/
}

/* Change no data available datatables.net message to gold and add additional padding. */
.dataTables_empty {
    color: #94930d;
    font-size: 2rem;
    padding-top: 2.5rem !important;
    padding-bottom: 8.0rem !important;
}

/* Place CochraneBot after datatables.net error message. */
.dataTables_empty::before {
   content: ' ';
   /*background-image: url('../content/images/other/tepcoSadCloud.svg');*/
   background-image: url('../content/images/bg/cochranebot.svg');
   background-size: 100px 100px;
   background-position: center;
   width: 100px;
   height: 100px;
   display: block;
   position: absolute;
   left: calc(50% - 50px);
   top: 45%;
}

/* Change Chardin overlay to Cochrane blue and increase opacity */
.chardinjs-overlay {
    background-color: #013856;
    opacity: .65;
}

/* Change Chardin overlay to Roboto and add font shadow.  Make overlay text lager. */
.chardinjs-helper-layer {
    font-family: 'Roboto';
    font-size: medium;
    text-shadow: 2px 2px #333;
}

/* Align sweet alert 2 radios to left*/
.accounting-radio {
    display: inline-flex !important;
    flex-direction: column;
    align-items: flex-start !important;
    font-size: 0.9em;
}

/* Change z-index of sweet alert so that it is on top of action modal*/
.swal2-container {
    z-index: 3000 !important;
}

/* Remove bullet from @Html.ValidationSummary */
.help-block ul {
    list-style-type: none;
}

/* Restore default danger alert */
.alert-danger {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}


