@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

a, .btn-link {
    color: #0366d6;
}

.btn-modifiers {
    width: 100px;
    margin-left: 20px;
    margin-top: 5px;
}

.btn-navigation {
    width: 150px;
    margin: 20px;
    background-color: darkorchid;
}

.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;
}

/**** Custom site wide settings ****/

/* Makes the grid have no divider lines */
.k-grid table td {
    border: 0;
}

/* Makes the grid column headers bold */
.k-grid-header {
    font-weight: bold;
}

/* Makes the add button in a grid green and larger */
.k-grid .k-button .k-i-plus-circle {
    color: green;
    font-size: 32px;
}

/* Makes the delete button in a grid red */
.k-grid .k-button .k-i-delete {
    color: red;
}

/* Adds a shadow style to the grids */
.k-grid {
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.2), 0 3px 10px 0 rgba(0, 0, 0, 0.19);
}

/* Makes dropdown stay within boundary */
.k-dropdown {
    max-width: 100%;
}

/* Makes the form buttons right-justified */
.k-form .k-form-buttons {
    justify-content: flex-end;
}

/* Makes content right aligned */
.right-aligned-buttons {
    display: flex;
    justify-content: flex-end;
}

/* Makes bottom of labels line up with each other */
.k-form .k-form-field {
    display: flex !important;
    /*justify-content: flex-end;*/
    flex-direction: column;
}

/*
    Using margin top here because of a scroll issue with justify content flex-end. Solution and reasoning found here:
        https://stackoverflow.com/questions/36130760/use-justify-content-flex-end-and-to-have-vertical-scrollbar 
*/
.k-form .k-form-field > :first-child {
    margin-top: auto !important;
}

/* Adds a max height for windows so they don't grow too large */
.k-window.k-window-wrapper {
    max-height: 85vh;
}

/* Adds extra spacing for tree view items */
.k-treeview .k-item {
    padding-left: 25px !important;
}
