@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

#app, #root, app, body, html {
    height: 100%
}

.ant-layout {
    min-height: 100vh
}

a, .btn-link {
    color: #005581;
}

body {
    background: #fff;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 14px;
    color: #f2953e;
}

canvas {
    display: block

}

.btn-primary {
    color: #fff;
    background-color: #f2953e;
    border-color: #f2953e;
}

.content {
    padding-top: 1.1rem;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5ID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2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

.blazor-error-boundary::after {
    content: "An error has occurred."
}

.trigger {
    font-size: 18px;
    line-height: 64px;
    padding: 0 24px;
    cursor: hand;
    transition: color 0.3s;
    color: #fff;
    background: none;
    border: none;
}

.trigger:hover {
    color: #1890ff;
}

.logo {
    height: 100%;
    width: 100px;
    color: white;
}
.logo img{
    height: 100%;
}
.ant-layout-header{
    line-height: initial;
}
.main-layout-header{
    background: #005581;
    padding: 0 25px 0 8px;
    display:flex;
    place-content: space-between;
    align-content: center;
}

.main-layout-header .username{
    color: white;
}

.main-layout-header .signout-link{
    color: white;
}

.site-layout{
    background: #f1f1f1;
}

.full-width {
    width: 100%;
}

.flexed-content-area {
    margin-bottom: 10px;
    display: flex;
    flex-direction: row;
}

.flexed-element-full {
    margin: 5px;
    width: 100%;
}

.flexed-element-half {
    margin: 5px;
    width: 50%;
}

.flexed-element-one-third {
    margin: 5px;
    width:  33.33%;
}

.flexed-element-two-thirds {
    margin: 5px;
    width: 66.67%;
}

.flexed-element-quarter {
    margin: 5px;
    width: 25%;
}

.flexed-element-three-quarters {
    margin: 5px;
    width: 75%;
}

.flexed-element-eighth {
    margin: 5px;
    width: 12.5%;
}

.flexed-element-three-eighths {
    margin: 5px;
    width: 37.5%;
}

.flexed-element-five-eighths {
    margin: 5px;
    width: 62.5%;
}

.flexed-element-seven-eighths {
    margin: 5px;
    width: 87.5%;
}

.card-content-area {
    margin-bottom: 5px;
}

.select-pointer .ant-select-selector .ant-select-selection-search input.ant-select-selection-search-input {
    cursor: pointer;
}

.ant-table{
    box-shadow: 0 0 3px 3px rgba(0,0,0,.02);
}

table tbody tr:nth-child(even) td{
    background: #f5f5f5;
}

table tbody tr:nth-child(even) td:hover {
    background: #f5f5f5;
}

table tbody tr:nth-child(odd) td {
    background: #fff;
}

td.ant-table-column-sort {
    background-color: transparent;
}

.ant-input-disabled {
    background-color: #fcfcfc;
    opacity: 1;
    color: rgba(0, 0, 0, 0.75);
    cursor: not-allowed;
    pointer-events: none;
}

.ant-input-disabled:hover {
    border-color: #d9d9d9;
    border-right-width: 1px !important;
}

.ant-input[disabled] {
    background-color: #fafafa;
    opacity: 1;
    color: rgba(0, 0, 0, 0.75);
    cursor: not-allowed;
    pointer-events: none;
}

.ant-input[disabled]:hover {
    border-color: #d9d9d9;
    border-right-width: 1px !important;
}

/*change label text on inputfile*/
.recon-file-input::-webkit-file-upload-button {
    visibility: hidden;
}

.recon-file-input::before {
    content: 'Attach Files';
    display: inline-block;
    background: -webkit-linear-gradient(top, #f9f9f9, #e3e3e3);
    border: 1px solid #999;
    border-radius: 3px;
    padding: 5px 8px;
    outline: none;
    white-space: nowrap;
    -webkit-user-select: none;
    cursor: pointer;
    text-shadow: 1px 1px #fff;
    font-weight: 700;
    font-size: 10pt;
}

.recon-file-input:hover::before {
    border-color: black;
}

.recon-file-input:active::before {
    background: -webkit-linear-gradient(top, #e3e3e3, #f9f9f9);
}

.salestrace-file-input::-webkit-file-upload-button {
    visibility: hidden;
}

.salestrace-file-input::before {
    content: 'Choose Files';
    display: inline-block;
    background: -webkit-linear-gradient(top, #f9f9f9, #e3e3e3);
    border: 1px solid #999;
    border-radius: 3px;
    padding: 5px 8px;
    outline: none;
    white-space: nowrap;
    -webkit-user-select: none;
    cursor: pointer;
    text-shadow: 1px 1px #fff;
    font-weight: 700;
    font-size: 10pt;
}

.salestrace-file-input:hover::before {
    border-color: black;
}

.salestrace-file-input:active::before {
    background: -webkit-linear-gradient(top, #e3e3e3, #f9f9f9);
}

/*Seems to be an Ant D bug where we cannot use custom pagination and paginationposition on a table together*/
.ant-pagination {
    text-align: right;
}

::selection {
    color: #fff !important;
    /* background:#1890ff; */
}

html {
    /* --antd-wave-shadow-color:#1890ff; */
    --scroll-bar: 0;
}

.ant-btn-primary {
    color: #fff;
    border-color: #f2953e;
    background: #f2953e;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, .12);
    box-shadow: 0 2px 0 rgba(0, 0, 0, .045)
}


/*color changed*/
.ant-menu {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-variant-numeric: tabular-nums;
    line-height: 1.5715;
    font-feature-settings: 'tnum';
    margin-bottom: 0;
    padding-left: 0;
    color: #005581; 
    font-size: 14px;
    line-height: 0;
    text-align: left;
    list-style: none;
    background: #fff;
    outline: 0;
    box-shadow: 0 3px 6px -4px rgba(0, 0, 0, .12), 0 6px 16px 0 rgba(0, 0, 0, .08), 0 9px 28px 8px rgba(0, 0, 0, .05);
    transition: background.3s, width.3s cubic-bezier(.2, 0, 0, 1)0s;
}

/*.ant-menu-item a {*/
    /* color:rgba(0,0,0,.85); */
/*}

.ant-menu-item-selected {*/
    /* color: #000000; */
    /*color: #f2953e !important;*/
/*}*/

/*.ant-menu > .ant-menu-item:hover,
.ant-menu > .ant-menu-submenu:hover,
.ant-menu > .ant-menu-item-active,
.ant-menu > .ant-menu-submenu-active,
.ant-menu > .ant-menu-item-open,
.ant-menu > .ant-menu-submenu-open,
.ant-menu > .ant-menu-item-selected,
.ant-menu > .ant-menu-submenu-selected {
    color: #f2953e;
    border-bottom: 2px solid #f2953e;
}*/


.ant-menu-item-selected a, .ant-menu-item-selected a:hover {
    color: #f2953e;
}

.ant-menu:not(.ant-menu-horizontal).ant-menu-item-selected {
    background-color: #f0f0f0;
}

/*.ant-menu-vertical .ant-menu-item::after, 
.ant-menu-vertical-left .ant-menu-item::after, 
.ant-menu-vertical-right .ant-menu-item::after, 
.ant-menu-inline .ant-menu-item::after {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    border-right: 3px solid #f2953e !important;
    transform: scaleY(.0001);
    opacity: 0;
    transition: transform.15s cubic-bezier(.215, .61, .355, 1), opacity.15s cubic-bezier(.215, .61, .355, 1);
    content: ''
}*/

/*.ant-menu-item a {
    color: #005581;
}*/

.ant-menu-root.ant-menu-inline,
.ant-menu-root.ant-menu-vertical,
.ant-menu-root.ant-menu-vertical-left,
.ant-menu-root.ant-menu-vertical-right {
    /* box-shadow:none; */
}

.ant-typography h1, h1.ant-typography {
    margin-bottom: .5em;
    color: #f2953e;
    font-weight: 600;
    font-size: 38px;
    line-height: 1.23
}

.ant-typography h4, h4.ant-typography {
    margin-bottom: .5em;
    color: #f2953e;
    font-weight: 600;
    font-size: 20px;
    line-height: 1.4
}

.ant-card-body {
    padding: 5px 12px 12px 12px;
}

.ant-radio-group-solid .ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled) {
    color: #fff;
    background: #f2953e;
    border-color: #f2953e;
}

.ant-radio-button-wrapper-disabled.ant-radio-button-wrapper-checked {
    color: rgba(0, 0, 0, 0.25);
    background-color: #f2953e;
    border-color: #f2953e;
    box-shadow: none;
}

.ant-radio-button-wrapper:hover {
    position: relative;
    color: #f2953e
}

.ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled) {
    z-index: 1;
    color: #f2953e;
    background: #fff;
    border-color: #f2953e
}

.ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled)::before {
    background-color: #f2953e
}

.ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):first-child {
    border-color: #f2953e
}

.ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):hover {
    color: #f2953e;
    border-color: #f2953e
}

.ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):hover::before {
    background-color: #f2953e
}

.ant-radio-button-wrapper:not(.ant-radio-button-wrapper-disabled):focus {
    border: 1px solid #005581;
    margin: -1px;
    color: #fff;
    background: #40a9ff;
}

.ant-switch-checked {
    background-color: #f2953e;
}

.ant-select-bordered {
    border-color: #d0d0d0;
}

.ant-divider-horizontal {
    margin: 8px 0;
}

/*reduce padding around table cells to show more rows*/
.ant-table.ant-table-small .ant-table-title, .ant-table.ant-table-small .ant-table-footer, .ant-table.ant-table-small .ant-table-thead > tr > th, .ant-table.ant-table-small .ant-table-tbody > tr > td, .ant-table.ant-table-small tfoot > tr > th, .ant-table.ant-table-small tfoot > tr > td {
    padding: 2px 2px 2px 5px;
}

/*change the input and select border to something darker*/
.ant-input-affix-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
    min-width: 0;
    padding: 4px 11px;
    color: rgba(0, 0, 0, 0.85);
    font-size: 14px;
    line-height: 1.5715;
    background-color: #fff;
    background-image: none;
    border: 1px solid #005581;
    border-radius: 2px;
    transition: all 0.3s;
    display: inline-flex;
}

.ant-select:not(.ant-select-customize-input) .ant-select-selector {
    position: relative;
    background-color: #fff;
    border: 1px solid #005581;
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.ant-picker-range {
    position: relative;
    display: inline-flex;
    border: 1px solid #005581;
}

.ant-drawer-close:focus, .ant-modal-close:focus, .ant-pagination-item:focus, .ant-pagination-item-link:focus {
    border: 1px solid #005581 !important;
}

#select-customer-drawer .ant-tabs {
    height: 100%;
}
#select-customer-drawer .ant-tabs-content {
    height: 100%;
}
#select-customer-drawer .ant-tabs-tabpane {
    height: 100%;
}
#select-customer-drawer .ant-spin {
    position: relative;
    top: 50px;
    left: 49%;
}

.focus:focus {
    border: 1px solid #005581;
    margin: -1px;
}
header.main-layout-header .focus:focus {
    margin: 0;
}
header.main-layout-header button.focus {
    border: none;
    background: none;
}
header.main-layout-header .focus:focus {
    border-color: white;
}
.site-layout button.focus {
    border: none;
    background: none;
}
.site-layout button:focus {
    border: 1px solid #005581;
    margin: -1px;
}
.ant-pagination:focus, .ant-pagination-next:focus, .ant-pagination-prev:focus {
    border: 1px solid black !important;
}

.cursor-container input {
    cursor: pointer !important;
}

#user-admin-table button.ant-btn:focus {
    border-color: #005581 !important;
    color: black;
}

.badge {
    --bs-badge-padding-x: 0.65em;
    --bs-badge-padding-y: 0.35em;
    --bs-badge-font-size: 0.75em;
    --bs-badge-font-weight: 700;
    --bs-badge-color: #fff;
    --bs-badge-border-radius: 6px;
    display: inline-block;
    padding: 4.2px 7.8px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    color: rgb(0,0,0);
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 6px;
}
.text-bg-primary {
    color: #fff!important;
    background-color: rgb(13, 110, 253)!important;
}
.text-bg-success {
    color: #fff!important;
    background-color: rgb(25, 135, 84)!important;
}
.text-bg-danger {
    color: #fff!important;
    background-color: rgb(220, 53, 69)!important;
}
.text-bg-warning {
    color: #000!important;
    background-color: rgb(255, 193, 7)!important;
}

.scrolling-table {
    overflow-y: auto;
}
.scrolling-table table {
    border-top: 0 !important;
    border-collapse: collapse;
    width: 100%;
    position: relative;
}
.scrolling-table thead th {
    position: sticky;
    top: 0;
    z-index: 100;
}
.scrolling-table thead th:hover {
    background: rgb(255, 255, 255) !important;
}
.scrolling-table .ant-table-content {
    overflow: unset !important;
}
/* ticket #331. when screen not wide enough, have radio buttons take full column */
@media (max-width: 1163px) {
    .double-flex {
        width: 200% !important;
    }
}