﻿html, body {
    height: 100%;
    font-size: 14px;
    font-family: Roboto, "Helvetica Neue", sans-serif;
}

/* Set padding to keep content from hitting the edges */
.content-container {
    padding-left: 15px;
    padding-right: 15px;
}

#gctNotificationIcon .fa-layers-counter {
    transform: scale(.35);
}

.clickable {
    cursor: pointer;
}

.gct-hidden {
    display: none;
}

.gct-danger > td {
    color: #721c24;
    font-weight: 700;
}

.gct-notification-item {
    border-bottom: 1px solid #cccccc;
}

.gct-notification-delete {
    display: inline-block;
    width: 32px;
    height: 32px;
    vertical-align: middle;
    text-align: center;
    margin-left: 10px;
}

.gct-notification-message {
    display: inline-block;
    width: 300px;
    vertical-align: middle;
}

.k-animation-container-shown,
.k-animation-container > .k-popup {
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.03), 0 4px 5px 0 rgba(0, 0, 0, 0.04);
}

.gct-notification-item[data-read='false'] p {
    font-weight: 700 !important;
}

#gctOverlay {
    height: 0;
    width: 0;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    background-color: rgba(115,115,115, 0.9); /* Black w/opacity */
    overflow-x: hidden; /* Disable horizontal scroll */
}

.k-window-title {
    font-weight: 700;
}

.k-window-titlebar {
    background-color: #dee2e6;
}

#top-wrap {
    padding-top: 62px;
}

.gct-highlight {
    background-color: #f8d7da;
}

.gct-strikethrough {
    text-decoration: line-through;
}

.gct-auto-vertical {
    margin-top: auto;
    margin-bottom: auto;
}

.gct-light-gray {
    color: #BDBDBD;
}

.gct-edit-footer {
    border-top: 1px solid #cccccc;
    background-color: #ffffff;
    padding-left: 15px;
    padding-right: 15px;
}

.gct-edit-header {
    border-bottom: 1px solid #cccccc;
    background-color: #ffffff;
    top: 60px;
    position: fixed;
    right: 0;
    left: 0;
    padding-top: 12px;
    z-index: 1000;
}

.gct-edit-wrap {
    margin-top: 5px;
    padding-bottom: 60px;
}

.gct-note-text {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

#editForm {
    height: calc(100% - 60px);
}

.gct-editForm-height {
    height: calc(100% - 60px);
}

.gct-header-container {
    padding-top: 60px;
}

.gct-beneficiary-edit-container {
    /*height: 100%;*/
}

.gct-edit-container {
    padding-top: 60px;
    height: 100%;
}

.gct-edit-main {
    height: 100%;
    overflow-y: auto;
}

.gct-edit-secondary {
    height: 100%;
    overflow-y: auto;
}

.gct-edit-secondary-list {
    height: 100%;
    overflow-y: hidden;
}

.bg-gct {
    /*background-color: #5b6985 !important;*/
    background-color: #000000 !important;
}

.table .gct-thead-dark th {
    background-color: #5b6985 !important;
    border-color: #3e4759 !important;
}

.table .gct-thead-light th {
    background-color: #ccd1db !important;
    border-color: #aeb4c1 !important;
}

.table-noborder th,
.table-noborder td
{
    border-top-width: 0px;
}

.text-gct {
    color: #5b6985 !important;
}

.gct-upload-target {
    border: 3px dashed #cccccc;
    text-align: center;
    border-radius: 16px;
}

.gct-text-success {
    color: #155724;
}

.gct-text-warning {
    color: #856404;
}

.gct-text-danger {
    color: #721c24;
}

/* List screen CSS */
#listWrapper {
    display: flex;
    width: auto;
}

#filterWrapper {
    position: relative;
    display: flex;
    width: auto;
    top: 63px;
    height: 40px;
}

.filterSidebar {
    background: #efefef;
    overflow-y: auto;
    height: calc(100% - 63px);
    right: 0;
    margin-top: 63px;
    position: fixed;
    transition: all 0.3s;
    width: 250px;
    z-index: 999;
}

    .filterSidebar.active {
        margin-right: -250px;
    }

.editFilterSidebar {
    margin-top: 0px;
    height: calc(100% - 390px);
    z-index: auto;
    overflow-y: scroll;
    overflow-x: hidden;
    background: #efefef;
    right: 0;
    position: fixed;
    transition: all 0.3s;
    width: 250px;
    padding-bottom: 2em;
}

    .editFilterSidebar.active {
        margin-right: -250px;
    }

#dataTableContent {
    height: calc(100% - 103px);
    margin-top: 0px;
    position: absolute;
    transition: all 0.3s;
    left: 0;
    top: 103px;
    font-size: 1em;
    width: calc(100% - 15px);
}

div.dtk-focus-alt table.dataTable tbody th.focus,
div.dtk-focus-alt table.dataTable tbody td.focus {
    outline: 2px solid #5b6985 !important;
}

table.dataTable.table > tbody > tr.selected > * {
    box-shadow: inset 0 0 0 9999px rgb(91, 105, 133) !important;
}

table.dataTable.table > tbody > tr.selected a {
    color: rgb(184, 207, 230) !important;
}

#listContent {
    height: calc(100% - 63px);
    margin-top: 63px;
    position: absolute;
    transition: all 0.3s;
    left: 0;
    width: calc(100% - 250px);
}

    #listContent.active {
        width: 100%;
    }

.gridHeight {
    height: calc(100vh - 324px);
}

#top-wrap.gct-collapsed .gridHeight {
    height: calc(100vh - 165px);
}

#editPageListContent {
    height: calc(100vh - 324px);
    margin-top: 63px;
    position: absolute;
    transition: all 0.3s;
    left: 0;
    width: calc(100% - 250px);
}

    #editPageListContent.active {
        width: 100%;
    }

#top-wrap.gct-collapsed #editPageListContent {
    height: calc(100vh - 165px);
}

.popupFilterSidebar {
    background: #efefef;
    height: 100%;
    right: 0;
    margin-top: 0px;
    position: fixed;
    transition: all 0.3s;
    width: 250px;
    z-index: 999;
}

    .popupFilterSidebar.active {
        margin-right: -250px;
    }

#popupListContent {
    height: 100%;
    margin-top: 0px;
    position: absolute;
    transition: all 0.3s;
    left: 0;
    width: calc(100% - 250px);
}

    #popupListContent.active {
        width: 100%;
    }
/*END List screen CSS */

/* Copy Bootstrap .in-invalid settings to MVC .input-validation-error*/
.k-picker-wrap > .form-control:focus {
    box-shadow: none;
}

.form-control.k-input {
    border-width: 0px;
    height: calc(1.5em + 0.5rem + 2px);
}

.form-control-sm.k-input,
.form-control-sm.k-dropdown {
    height: calc(1.5em + 0.5rem);
}

.form-control-sm > .k-picker-wrap > input {
    height: calc(1.5em + 0.5rem) !important;
}

.k-dateinput .k-dateinput-wrap, 
.k-datepicker .k-picker-wrap, 
.k-datetimepicker .k-picker-wrap, 
.k-timepicker .k-picker-wrap {
    background-color: transparent;
}

.form-control > .k-dropdown-wrap > input,
.form-control > .k-multiselect-wrap > input {
    height: calc(1.5em + 0.75rem + 2px);
}

.form-control-sm > .k-dropdown-wrap > input,
.form-control-sm > .k-dropdown-wrap > input {
    height: calc(1.25em + 0.5rem) !important;
}

.k-multiselect-wrap {
    border-width: 0px !important;
}

.form-control-sm > .k-dropdown-wrap,
.form-control-sm > .k-multiselect-wrap {
    height: calc(1.5em + 0.5rem);
}

.form-control-sm .k-icon {
    height: 0.95em;
}

.form-control-sm .k-button {
    font-size: 0.9rem;
    margin: calc(0.25rem - 3px) 0 0 calc(0.25rem - 3px) !important;
}

.form-control-sm .k-dropdown,
.form-control-sm .k-multiselect {
}

.k-dropdown-wrap.input-validation-error {
    border: 1px solid #dc3545 !important;
}

.form-control.k-combobox {
    border-width: 0px;
}

.form-control-sm.k-widget {
    padding: 0;
}

.form-control.k-widget {
    padding: 0;
}

.k-maskedtextbox {
    border-width: 0 !important;
}

.form-control.input-validation-error {
    border-color: #dc3545;
    padding-right: calc(1.5em + 0.75rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23dc3545' viewBox='0 0 12 12'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.form-control.input-validation-error:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

textarea.form-control.input-validation-error {
    padding-right: calc(1.5em + 0.75rem);
    background-position: top calc(0.375em + 0.1875rem) right calc(0.375em + 0.1875rem);
}

.custom-select.input-validation-error {
    border-color: #dc3545;
    padding-right: calc(0.75em + 2.3125rem);
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='4' height='5' viewBox='0 0 4 5'%3e%3cpath fill='%23343a40' d='M2 0L0 2h4zm0 5L0 3h4z'/%3e%3c/svg%3e") no-repeat right 0.75rem center/8px 10px, url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23dc3545' viewBox='0 0 12 12'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e") #fff no-repeat center right 1.75rem/calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

    .custom-select.input-validation-error:focus {
        border-color: #dc3545;
        box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
    }

.form-check-input.input-validation-error ~ .form-check-label {
    color: #dc3545;
}

.form-check-input.input-validation-error ~ .invalid-feedback,
.form-check-input.input-validation-error ~ .invalid-tooltip {
    display: block;
}

.custom-control-input.input-validation-error ~ .custom-control-label {
    color: #dc3545;
}

    .custom-control-input.input-validation-error ~ .custom-control-label::before {
        border-color: #dc3545;
    }

.custom-control-input.input-validation-error:checked ~ .custom-control-label::before {
    border-color: #e4606d;
    background-color: #e4606d;
}

.custom-control-input.input-validation-error:focus ~ .custom-control-label::before {
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.custom-control-input.input-validation-error:focus:not(:checked) ~ .custom-control-label::before {
    border-color: #dc3545;
}

.custom-file-input.input-validation-error ~ .custom-file-label {
    border-color: #dc3545;
}

.custom-file-input.input-validation-error:focus ~ .custom-file-label {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.input-validation-warning {
    border: 1px solid #856404;
}
/* end of Copy Bootstrap .in-invalid settings to MVC .input-validation-error*/


#main {
    /* overflow: auto;  // Removed because it was interfering with Tooltip placement */
    height: 100%;
}

.alert ul {
    list-style: none outside;
    margin-bottom: 0;
    padding-left: 0;
}

.footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 60px;
    line-height: 60px;
}

.field-validation-error {
    color: #d50000;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.toast-danger {
    color: #721c24 !important;
    background-color: #f8d7da !important;
    border-color: #f5c6cb !important;
}

    .toast-danger hr {
        border-top-color: #f1b0b7 !important;
    }

    .toast-danger .alert-link {
        color: #491217 !important;
    }

h6, .h6 {
    text-transform: uppercase;
}


.dl-horizontal dt {
    white-space: normal;
}

/* Bootstrap overrides */
.form-control {
    color: #572c18;
}

.nav-tabs .nav-link.active, .nav-tabs .nav-item.show .nav-link {
    font-weight: 700;
}

label {
    color: #3b3b3b;
    font-weight: 500;
    margin-bottom: 0;
}

label.form-check-label {
    color: #495057;
    font-weight: 400;
}

.form-group-condensed {
    margin-bottom: 0.3rem;
}

.card-title {
    margin-bottom: 0;
}

/* Kendo UI overrides */
.k-grid-toolbar {
    overflow: inherit;
}

.k-toolbar {
    display: inherit;
    padding-left: 1em;
}

.k-datepicker .k-picker-wrap {
    border-width: 0px;
}

.k-list-container {
    background-color: #f0faff;
}

.k-list .k-item.k-state-selected .text-muted {
    color: #f2f2f2 !important;
}

.k-grid {
    font-family: Roboto, "Helvetica Neue", sans-serif;
}

.k-grid th, .k-grid td {
    padding: 0 0.75rem;
}

.k-grid th {
    border-width: 1px 1px 0 1px;
}

.k-grid td {
    border-width: 1px 0 0 0;
}

.k-grid th {
    padding-bottom: 0.5rem;
}

.k-grid .k-alt {
    background-color: inherit;
}

.k-grid th, .k-grid td {
    height: 48px;
}

.k-loading-color {
    background-color: #efefef;
    opacity: .7;
}
