﻿:root {
    --b3-dark-blue: #002E60;
    --b3-dark-blue-hover: #001c50;
    --b3-light-blue: #00b6E0;
    --b3-light-blue-hover: #00a9d1;
    --b3-gray: #808080;
    --b3-gray-hover: #6e6e6e;
    --b3-light-gray: #f6f6f6;
    --b3-warning-color: #f0ad4e;
    --b3-warning-color-hover: #ecaa4b;
    --b3-error-color: #BA1200;
    --b3-error-color-hover: #A91000;
    --b3-green: #13BB07;
    --b3-beta: #a24949;
}

/* Coloring
-------------------------------------------------- */
.b3-warning-text {
    color:var(--b3-warning-color);
}

.b3-error-text {
    color: var(--b3-error-color);
}

.b3-green-text {
    color: var(--b3-green);
}

/* Main container width & nav
-------------------------------------------------- */
@media (min-width: 1200px) {
    .container {
        max-width: 1500px;
    }
}

/* Keep the navbar from being huge*/
.navbar {
    padding:2px 20px 2px 20px;
    height:40px;
}

/* nav bryt colors*/
.b3-side-nav .nav-link.active {
    background-color: var(--b3-light-blue);
}

.b3-side-nav .nav-link {
    color: var(--b3-gray)
}

#mainContent {
    min-height:calc(100vh - 150px);
}

/* Kendo grid general
-------------------------------------------------- */
th.k-header {
    font-weight:bold !important;
}

.k-grid-toolbar {
    padding: 3px !important;
}

.k-table {
    font-size: 12px !important;
}

/* header */
.k-grid-header .k-header {
    padding: 7.5px 6px 7.5px 6px;
}

.k-grid tbody tr {
    line-height: 14px !important;
    height: 32px;
    padding: 3px !important;
}

/* regular grid row */
.k-grid tbody td {
    padding: 3px !important;
}

/* search box*/
span.k-searchbox.k-input.k-input-md.k-rounded-md.k-input-solid.k-grid-search {
    height: 33px !important;
    font-size: 14px !important;
    margin-left: auto !important;
}

.k-toolbar {
    height:40px;
}

.k-header-column-menu.k-state-active {
    background-color: transparent !important;
}

.k-icon.k-i-more-vertical.k-state-active {
    color: red !important;
}

.k-pager-wrap {
    padding: 3px 7.5px 3px 7.5px !important;
}

.k-icon.k-i-expand {
    padding: 0px 0px !important;
}

.k-item {
    font-size:12px !important;
}

.k-item .k-link {
    padding: 6px 15px 6px 15px !important;
}

.k-detail-cell .k-content.k-state-active{
    padding:4px 4px 4px 4px !important;
}

/* toolbar button*/
.k-grid-toolbar .k-button {
    padding: 6px 7.5px 6px 7.5px;
    font-size: 12px;
}

/* toolbar button*/
.k-grid-toolbar .k-button:hover {
    padding: 4px 7.5px 4px 7.5px;
    font-size: 12px;
}

tr .k-button {
    padding: 2px 6px 2px 6px;
    font-size: 12px;
}

.k-command-cell .k-button:hover {
    padding: 2px 6px 2px 6px;
    font-size: 12px;
}

.k-pager.k-grid-pager.k-pager-md {
    padding:0px 5px 0px 5px !important;
}

/* Other Kendo
-------------------------------------------------- */
/* for the kendo numeric control to have the same disabled look as bootstrap */
input.k-input:disabled {
    color: black !important;
}

/* for the kendo numeric control to have the same disabled look as bootstrap */
span.k-numeric-wrap.k-state-disabled {
    background-color: #e9ecef !important;
}

.b3-typeahead-adjust.k-input {
    font-size: .875rem !important;
}

.k-chip-md {
    font-size: .875rem !important;
}

.k-multiselect li {
    font-size: .875em !important;
}

.k-list li {
    font-size: .875em !important;
}

li.k-button {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    height: 20px;
}

.b3-grid-heading-panel {
    background-color: var(--b3-light-gray);
    border-radius: 5px;
    padding: 7.5px 10px;
    margin-bottom: 4px;
}

/* Common bryt layout stuff
-------------------------------------------------- */

.b3-dark-background {
    background-color: var(--b3-dark-blue);
    color:white;
}

.b3-beta-background {
    background-color: var(--b3-beta);
    color: white;
}

.b3-gray-background {
    background-color: var(--b3-gray);
    color: white;
}

.b3-light-gray-background {
    background-color: var(--b3-light-gray);
    color: black;
}

.b3-primary-button {
    background: var(--b3-light-blue);
    color: white;
}

.b3-primary-button:focus {
    outline: none;
    box-shadow: none;
}

.b3-primary-button:hover {
    text-decoration: none;
    background-color: var(--b3-light-blue-hover);
    color: white;
}

.b3-warning-button {
    background: var(--b3-warning-color) !important;
    color: white !important;
}

.b3-warning-button:focus {
    outline: none;
    box-shadow: none;
}

.b3-warning-button:hover {
    text-decoration: none;
    background-color: var(--b3-warning-color-hover);
    color: white;
}

.b3-secondary-button {
    background-color: var(--b3-gray);
    color: white;
}

.b3-secondary-button:focus {
    outline: none;
    box-shadow: none;
}

.b3-secondary-button:hover {
    text-decoration: none;
    background-color: var(--b3-gray-hover);
    color: white;
}

.b3-small-table-button {
    padding-top:2px;
    padding-bottom:3px;
}

/* for the title bar */
.b3-section-header-top {
    margin-top: 5px;
    height: 40px;
    border-radius: 4px;
    display: flex;
    flex-direction:row;
    align-items: center;
    padding-left: 10px;
    background-color: var(--b3-light-blue);
    color:white;
}

/* for the title bar button */
.b3-section-header-button {
    padding-top: 7px;
    padding-bottom: 7px;
    background-color: var(--b3-dark-blue);
    color: white;
}

/* for the title bar button */
.b3-section-header-button:hover { 
    background-color: var(--b3-dark-blue-hover);
    color: white;
    text-decoration:none;
}

/* for the title bar button */
.b3-card-header-button {
    font-size:.85rem;
    padding-top: 2px;
    padding-bottom: 4px;
    background-color: var(--b3-gray);
    color: white;
}

/* for the title bar button */
.b3-card-header-button:hover {
    background-color: var(--b3-gray-hover);
    color: white;
    text-decoration: none;
}

/* for the title bar */
.b3-section-header-right {
    margin-right:5px;
}

/* for the title bar */
.b3-section-header-left {
    flex-basis:100%;
}

.b3-top-gap {
    margin-top: 6px;
}

/* this is for the entire area tabbed page layout */
.b3-tabbed-page {
    margin-top: 6px;
    width: 100%;
    padding-left: 0px;
    padding-right: 0px;
}

/* used to get multiple columns to match their height*/
.b3-full-height{
    height:100%;
}

.b3-left-col{
    padding-left:0px;
    padding-right:3px;
}

.b3-right-col {
    padding-right:0px;
    padding-left:3px;
}

.b3-full-col {
    padding-right: 0px;
    padding-left: 0px;
}

.dropdown-menu {
    padding-top: 0px;
    padding-bottom: 0px;
}

.b3-wizard-footer {
    margin-top: 35px;
}

.b3-wizard-hr {
    margin-top:10px;
    margin-bottom:12.5px;
}

.b3-underline-hr {
    margin-top: 1px;
    margin-bottom:5px;
}

.b3-modal-header {
    padding: 10px 16px 10px 16px !important;
    background-color: var(--b3-light-blue) !important;
    color:white !important;
}

.b3-summary-wrapper {
    background: var(--b3-light-gray);
    color: black;
    border-radius: 4px;
    padding: 10px;
    margin-bottom:6px;
}

.b3-summary-non-wrapper {
    margin-bottom: 6px;
}

.b3-card-header {
    height: 2rem;
    padding-top: 5px;
    padding-left: 10px;
    background-color: var(--b3-light-blue) !important;
    color: white;
}

.b3-card-body {
    padding: 10px 15px 10px 15px;
}

.b3-mixed-row-text-offset {
    margin-top:4.5px
}

/* Forms
-------------------------------------------------- */
input[readonly] {
    background-color: white !important;
    border: 0;
}

select[readonly] {
    background-color: white !important;
    border: 0;
}

textarea[readonly] {
    background-color: white !important;
    border: 0;
}

form select { 
    font-size:.875em;
}

form label {
    margin-bottom:1px;
    font-size: .875rem;
    margin-left:3px;
    color:#444;
}

.k-textbox {
    font-size: .875rem !important;
}

.b3-page-form-wrapper {
    background:var(--b3-light-gray);
    color:black;
    border-radius:4px;
    padding:10px;
}

.b3-split-form-wrapper {
    background: var(--b3-light-gray);
    color: black;
    border-radius: 4px;
    height: 100%;
}

.b3-form-submit-button {
    background:var(--b3-light-blue);
    color:white;
    width:125px;
}

.b3-form-submit-button-disabled {
    background: var(--b3-gray);
    color: white;
    width: 125px;
}

.b3-form-submit-button-disabled:hover {
    background: var(--b3-gray);
    color: white;
    width: 125px;
}

.b3-form-submit-button:hover {
    background: var(--b3-light-blue-hover);
    color: white;
    width: 125px;
}

.b3-form-cancel-button {
    background: var(--b3-gray);
    color: white !important;
    width:125px;
}

.b3-form-cancel-button:hover {
    background: var(--b3-gray-hover);
    color: white;
    width: 125px;
}

.b3-non-modal-card-form {
    background: var(--b3-light-gray);
    padding:15px;
}

.b3-form-buttons {
    margin-top:25px;
}

div.form-group {
    margin-bottom:7.5px;
}

.b3-changed-input {
    border-color: var(--b3-warning-color) !important;
    border-width: 2px;
}

.remove-border-and-background {
    border:none;
    background-color:transparent;
}

.background-light-gray {
    background-color:var(--b3-light-gray);
}


/* Validation
-------------------------------------------------- */

span.k-form-error {
    background:var(--b3-error-color);
    color:white;
    padding:0 5px 0 5px;
    font-size:.875rem;
    margin-left:1px;
    margin-right:1px;
    border-radius:2px;
}

input.k-invalid {
    border-color:var(--b3-error-color);
    margin-bottom:2px;
}


/* Misc helpers
-------------------------------------------------- */

.hide {
    display:none;
}

.hide-visible {
    visibility: hidden;
}

.highlight {
    background-color: #ffe4b3;
}

.highlight-em {
    background-color: #ffe4b3;
    padding-right: 2px;
}

/* Notifications
-------------------------------------------------- */

.k-notification-b3info {
    background-color: var(--b3-light-blue) !important;
}

.notification-info {
    color:white;
}

/* Font sizes
-------------------------------------------------- */
.b3-std-font-size {
    font-size: .875rem;
}

.b3-small-font-size {
    font-size: .875rem;
}

/* External layout
-------------------------------------------------- */

.external-header-image {
    display: block;
    margin: 7px auto;
    height: 100px;
}

.external-colorstrip {
    margin: 0 0 0 0;
    width: 100%;
    height: 120px;
    border-style: solid;
    border-color: #eeeeee;
    background-color: #eeeeee;
}

.external-panel {
    background-color: var(--b3-light-gray);
    color: black;
    border-radius: 4px;
    padding: 10px;
}

/* Tables
-------------------------------------------------- */

.b3-card-table-wrapper {
    width: 100%;
    border-width: 1px;
}

.table-curved {
    margin-bottom:0px !important;
    font-size:.875rem !important;
}

.table-curved th {
    border-bottom: 1px solid #dddddd !important;
    border-top: 0px !important;
    border-right: 1px solid #dddddd !important;
}

.table-curved th:last-child {
    border-right: 0px!important;
}

.table-curved td {
    border-right: 1px solid #dddddd !important;
}

.table-curved td:last-child {
    border-right: 0px !important;
}

.vertical-line-right {
    border-right: 1px solid #888;
    height: 100%;
/*    position: absolute;
    left: 50%;*/
}

/* for selection grids
-------------------------------------------------- */

.selected-row {
    background-color: white;
    border: 1px solid gray;
    border-radius: 4px;
}

/* For NSF entries */
#ScheduleGrid .nsf-row {
    background-color: #ffeeee !important;
}

#ScheduleGrid .void-row {
    background-color: #ffffbf !important;
}

#ScheduleGrid .refund-row {
    background-color: #ffdfbf !important;
}

/* popovers
-------------------------------------------------- */
.b3-popover{
    margin-bottom: 10px;
}

