@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background: #FAFAFA;
}

a, .btn-link {
    color: #0366d6;
}

/*.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}*/

app {
    position: relative;
    display: flex;
    flex-direction: column;
}

.top-row {
    min-height: 3.5rem;
    display: flex;
    flex-wrap: wrap;
    padding: 0 !important;
    /*    align-items: center;*/
}

    .top-row .loading-container {
        height: .375rem;
        width: 100%;
        align-self: start;
    }

.main {
    flex: 1;
}

    .main .top-row {
        background-color: #f7f7f7;
        border-bottom: 1px solid #d6d5d5;
        /*justify-content: flex-end;*/
        z-index: 99;
    }

        .main .top-row > a, .main .top-row .btn-link {
            white-space: nowrap;
            margin-left: 1.5rem;
        }

        .main .top-row a:first-child {
            overflow: hidden;
            text-overflow: ellipsis;
        }

.sidebar {
    box-shadow: 0px 0px 10px #ddecf0;
}

    .sidebar .top-row {
        background-color: rgba(0,0,0,0.4);
    }

    .sidebar .navbar-brand {
        font-size: 1.1rem;
    }

    .sidebar .oi {
        width: 2.5rem;
        font-size: 1.1rem;
        vertical-align: text-top;
        top: -2px;
    }

    .sidebar ul.nav {
        height: calc(100vh - 62px);
    }

    .sidebar .nav-item {
        font-size: 0.9rem;
        padding-bottom: 0.5rem;
    }

        .sidebar .nav-item:first-of-type {
            margin-top: 1rem;
        }

        .sidebar .nav-item:last-of-type {
            padding-bottom: 1rem;
        }

        .sidebar .nav-item a {
            color: #3a3a3a;
            border-radius: 4px;
            height: 3rem;
            display: flex;
            align-items: center;
            line-height: 3rem;
            text-decoration: none;
        }

            .sidebar .nav-item a img {
                /*width: 22px;*/
            }

            .sidebar .nav-item a.active {
                background-color: rgba(255,255,255,0.25);
            }

            .sidebar .nav-item a:hover {
                background-color: rgba(255,255,255,0.1);
            }

.content {
    padding-top: 1.1rem;
}

.navbar-toggler {
    background-color: rgba(255, 255, 255, 0.1);
}

.valid.modified:not([type=checkbox]):not(.radzen-date) {
    border: 1px solid #26b050 !important;
}

.invalid {
    border: 1px solid red !important;
}

.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;
    }

@media (max-width: 767.98px) {
    .main .top-row:not(.auth) {
        /*display: none;*/
    }

    .main .top-row.auth {
        justify-content: space-between;
    }

    .main .top-row a, .main .top-row .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 768px) {
    app {
        flex-direction: row;
    }

    .sidebar {
        width: 272px;
        height: 100vh;
        position: sticky;
        top: 0;
        overflow-y: auto;
    }

    .main .top-row {
        position: sticky;
        top: 0;
    }

    .main > div {
        padding-left: 2rem;
        padding-right: 1.5rem;
    }

    .navbar-toggler {
        display: none;
    }

    .sidebar .collapse {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }
}




select {
    background: url(data:image/svg+xml;base64,PHN2ZyBpZD0iTGF5ZXJfMSIgZGF0YS1uYW1lPSJMYXllciAxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA0Ljk1IDEwIj48ZGVmcz48c3R5bGU+LmNscy0xe2ZpbGw6I2ZmZjt9LmNscy0ye2ZpbGw6IzQ0NDt9PC9zdHlsZT48L2RlZnM+PHRpdGxlPmFycm93czwvdGl0bGU+PHJlY3QgY2xhc3M9ImNscy0xIiB3aWR0aD0iNC45NSIgaGVpZ2h0PSIxMCIvPjxwb2x5Z29uIGNsYXNzPSJjbHMtMiIgcG9pbnRzPSIxLjQxIDQuNjcgMi40OCAzLjE4IDMuNTQgNC42NyAxLjQxIDQuNjciLz48cG9seWdvbiBjbGFzcz0iY2xzLTIiIHBvaW50cz0iMy41NCA1LjMzIDIuNDggNi44MiAxLjQxIDUuMzMgMy41NCA1LjMzIi8+PC9zdmc+) no-repeat 99% 50%;
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
}


a {
    text-decoration: underline;
}

    a:hover {
    }

    a.btn {
        text-decoration: none;
    }

    a.nav {
        color: #3a3a3a;
    }


.row.alternate-color {
    background-color: rgba(0,0,0,.05);
    border-radius: 4px;
}

.btn-primary {
    box-shadow: none !important;
}

    .btn-primary:active,
    .btn-primary:hover,
    .rz-button.btn-secondary,
    .rz-spinner-button {
        box-shadow: none !important;
    }


    .btn-primary:not(:disabled):not(.disabled).active, .btn-primary:not(:disabled):not(.disabled):active, .show > .btn-primary.dropdown-toggle {
    }

        .btn-primary:not(:disabled):not(.disabled).active:focus, .btn-primary:not(:disabled):not(.disabled):active:focus, .show > .btn-primary.dropdown-toggle:focus {
            box-shadow: none !important;
        }

.add-button-sm {
    display: inline-block;
    padding-top: 5px;
    width: 30px;
    height: 30px;
    color: #FFF;
    border-radius: 30px;
    text-align: center;
    /*    box-shadow: 2px 2px 3px #999;*/
}

.float-button {
    position: fixed;
    width: 50px;
    height: 50px;
    bottom: 20px;
    right: 20px;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    /*    box-shadow: 2px 2px 3px #999;*/
}

    .float-button span {
        margin-top: 16px;
    }

    .float-button:hover {
        color: #FFF;
    }

.float-label {
    position: absolute;
    visibility: hidden;
    top: .25rem;
    left: 1rem;
    font-size: 10px;
    color: #FFF;
    transition: all .1s linear;
    /*background-color: white;*/
    display: block;
    padding-bottom: .1rem;
    margin-bottom: 0;
}

    .float-label.active {
        visibility: visible;
        color: #999;
        font-size: 10px;
        z-index: 98;
        transition: all .2s linear;
        background-color: transparent;
    }

input.form-control,
select.form-control {
    height: calc(3rem + 2px);
    padding-top: .75rem;
    padding-bottom: 0;
}

    input.form-control.no-float-label,
    select.form-control.no-float-label {
        height: calc(1.5em + .75rem + 2px);
        padding-top: 0.375rem;
        padding-bottom: 0.375rem;
    }


textarea.form-control {
    padding-top: 1.25rem;
}

input.form-control.currency {
    /*display: inline;*/
    min-width: 3.5rem;
}

input.form-control.percent {
    /*display: inline;*/
    min-width: 2.5rem;
}

input[type="color"] {
    padding-top: 1rem !important;
    padding-bottom: .25rem;
}

.form-group {
    position: relative;
}

.loader {
    fill: #333;
    height: 24px;
    margin-left: .5rem;
    margin-left: auto;
}

th.min, td.min {
    max-width: 1%;
    width: 1%;
}

td.ellipsis {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    max-width: 0;
}

/*th.tenPercentCentered, td.tenPercentCentered {
    max-width: 10%;
    width: 10%;
    text-align: center;
}*/

th.max, td.max {
    max-width: 100%;
    width: 100%;
}

.table td, .table th {
    padding: .5rem;
}

a.icon {
    text-decoration: none;
}

.icon.check img {
    width: 20px;
}

.icon.edit img {
    width: 20px;
}

.icon.delete img {
    width: 26px;
}

.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
    border-bottom-color: #FAFAFA;
    background-color: transparent;
}

.nav-link {
    padding-left: .5rem;
}

.tee-time-log {
    position: relative;
    display: inline-block;
    /*    border-bottom: 1px dotted black;*/
}

.row-header {
    font-weight: bold
}

.tee-time-log .tee-time-log-text {
    visibility: hidden;
    height: 120px;
    background-color: #ccc;
    /*       color: #fff;*/
    text-align: center;
    border-radius: 1px;
    padding: 5px 0;
    /* Position the tooltip */
    position: absolute;
    z-index: 1;
}

.tee-time-log:hover .tee-time-log-text {
    visibility: visible;
}


.blazored-modal-header {
    padding-bottom: 1rem !important;
}

.blazored-modal {
    max-height: 100vh;
    overflow-y: auto;
}

@media (min-width: 768px) {
    .blazored-modal {
        min-width: 450px;
    }
}


pre {
    margin-top: -1rem;
    margin-bottom: -2.5rem;
}

.col-5-5 {
    width: 48%;
}

.col-1-5 {
    width: 4%;
}

.pad-child-label > label {
    margin-left: 42px;
}

.focus {
    box-shadow: none !important;
}

.form-control:focus {
    box-shadow: none !important;
    border-radius: .25rem;
}

.btn:focus, .btn.focus,
.btn:focus, .btn.focus {
    box-shadow: none !important;
}



a.btn-primary:hover {
    color: white !important;
}

.oi.oi-plus {
    font-size: .65rem;
    top: 0;
}

/* Radzen overrides */
.ui-inputtext {
    height: 100% !important;
}

.ui-calendar {
    height: calc(3rem + 2px) !important;
}

.ui-datepicker-title > select {
    background: none;
    -webkit-appearance: menulist;
}

.ui-dropdown-label {
    position: absolute;
    visibility: hidden;
    top: .25rem;
    left: .6rem;
    /*    font-size: 10px;*/
    /*color: #FFF;*/
    transition: all .1s linear;
    /*background-color: white;*/
    display: block;
    padding-bottom: .1rem;
    margin-bottom: 0;
    visibility: visible;
    color: #999 !important;
    font-size: 10px;
    z-index: 98;
    transition: all .2s linear;
}


p {
    line-height: initial;
}

.card p {
    margin-bottom: 1rem;
}

.card {
    padding: unset;
    box-shadow: unset;
}

.textbox, .textarea, .mask, .ui-dropdown, .ui-multiselect, .ui-calendar-w-btn, .ui-spinner, .ui-lookup-search input {
    padding: unset;
    box-shadow: unset;
}

.ui-spinner {
    padding: .5rem;
}

.ui-spinner-button {
    background-color: #DDD;
    color: #000;
}

.textbox:hover, .textarea:hover, .mask:hover, .ui-dropdown:hover, .ui-multiselect:hover, .ui-calendar-w-btn:hover, .ui-spinner:hover, .ui-lookup-search input:hover, .ui-chkbox-box:hover:not(.ui-state-disabled), .ui-radiobutton-box:hover:not(.ui-state-disabled), .ui-autocomplete:hover {
    box-shadow: unset;
}

.ui-datepicker-calendar td .ui-state-active {
}

.ui-hour-picker, .ui-minute-picker, .ui-second-picker {
    border: 1px solid #dadfe2;
    background-color: #FFF;
}


input.rz-inputtext {
    width: 100% !important;
    height: calc(3rem + 2px) !important;
    padding-top: .75rem !important;
    padding-bottom: 0 !important;
    font-size: 1rem !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;
    color: #495057 !important;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
}

    input.rz-inputtext:focus {
        box-shadow: none !important;
        border-radius: .25rem !important;
        outline: none !important;
    }

.rz-dropdown {
    height: 30px !important;
}

.rz-spinner input[type='number'], .rz-spinner input[type='text'] {
    height: auto !important;
    padding-top: .25rem !important;
}

.rz-ampm-picker a {
    text-decoration: none !important;
}

.linear-activity {
    overflow: hidden;
    width: 100%;
    height: .375rem;
    background-color: #f7f7f7;
    margin: 20px auto;
}


.indeterminate {
    position: relative;
    width: 100%;
    height: 100%;
}

    .indeterminate:before {
        content: '';
        position: absolute;
        height: 100%;
        animation: indeterminate_first 1.5s infinite ease-out;
    }

    .indeterminate:after {
        content: '';
        position: absolute;
        height: 100%;
        animation: indeterminate_second 1.5s infinite ease-in;
    }


.disabled {
    pointer-events: none;
    opacity: 0.4;
}

@keyframes indeterminate_first {
    0% {
        left: -100%;
        width: 100%;
    }

    100% {
        left: 100%;
        width: 10%;
    }
}

/*@keyframes indeterminate_second {
    0% {
        left: -150%;
        width: 100%;
    }

    100% {
        left: 100%;
        width: 10%;
    }
}
*/







/* total width */
::-webkit-scrollbar {
    background-color: #F3F2F1 !important;
    width: 16px;
}

/* background of the scrollbar except button or resizer */
::-webkit-scrollbar-track {
    background-color: #F3F2F1 !important;
}


    ::-webkit-scrollbar-track:hover {
        background-color: #F3F2F1 !important;
    }

/* scrollbar itself */
::-webkit-scrollbar-thumb {
    background-color: #babac0 !important;
    border-radius: 16px;
    border: 4px solid #F3F2F1 !important;
}

    ::-webkit-scrollbar-thumb:hover {
        background-color: #a0a0a5 !important;
        /*border: 4px solid #f4f4f4;*/
    }

/* set button(top and bottom of the scrollbar) */
::-webkit-scrollbar-button {
    display: none;
}


.pointer {
    cursor: pointer;
}

