﻿/*@import url('https://fonts.googleapis.com/css?family=Roboto&display=swap');
@import url('https://fonts.googleapis.com/css?family=Poppins&display=swap');
@import url('https://fonts.googleapis.com/css?family=DM+Sans&display=swap');
@import url('https://fonts.googleapis.com/css?family=Montserrat&display=swap');
@import url('https://fonts.googleapis.com/css?family=Open+Sans&display=swap');*/
@import url('https://fonts.googleapis.com/css?family=Inter&display=swap');
@import url('https://fonts.googleapis.com/css?family=Source+Sans+3&display=swap');


/*
----------- COLORS: -----------

Dark red main: #910000
Bright red main: #c80d0d
Dark Background: #242833
White: #ffffff
Gray line accent: #8a8a8a
Red: #c66262 (deletes, error, etc)
Bright red: #e43838
light red: #edd2d2
light green: #d5e4d2
Green: #78a170
Blue: #0e529c
Yellow: #ffee0d;
Orange: #e5912a
-------------------------------
*/

/*
    VARIABLES
    example: color: var(--main-color);
*/
:root {
    --primary: #e65c4f;
    --primary-dark: #d35549;
    --accent-1: #326789;
    --accent-1-dark: #2a5976;
    /*ELEMENTS*/
    --link: #0275d8;
    --link-hover: #075ba3;
    /*BACKGROUNDS*/
    --white-background: #ffffff;
    --light-gray-background-1: #fefefe;
    --light-gray-background-2: #f3f3f3;
    --light-gray-background-3: #fbfbfb;
    --light-gray-background-4: #e9e9e9;
    /*--dark-background-1: #243C55;*/
    /*--dark-background-1: #3C5671;*/
    --dark-background-1: #344557;
    --hover-light-1: #f7f9fc;
    --white: #ffffff;
    /*FONTS*/
    --font-primary: #384d5c;
    --font-white: #fafafa;
    --font-gray-1: #6e7b86;
    --font-red-1: #e65c4f;
    /*BORDERS*/
    --gray-line-accent-1: #8a8a8a;
    --border-1: #e9e9e9;
    --input-border: #d6d6d6;
    /*COLORS*/

    --bright-red: #e43838;
    --light-red: #edd2d2;
    --red: #c66262;
    --dark-red: #7c3b3b;
    --extra-light-green: #eaffee;
    --light-green: #dce9da;
    --green: #78a170;
    --dark-green: #5f785b;
    --extra-light-yellow: #fffdec;
    --light-yellow: #fffad6;
    --yellow: #f1e37c;
    --dark-yellow: #898a00;
    --light-orange: #f6d2a5;
    --orange: #e5912a;
    --dark-orange: #a96819;
    --dark-blue: #1e6189;
    --light-blue: #bcdaeb;
    --light-purple: #ece1ed;
    --purple: #995b9d;
    --dark-purple: #7a507d;
    --light-gray: #f2f2f2;
    --gray: #e5e5e5;
    --medium-gray: #d0d0d0;
    --dark-gray: #585858;
}

/*RESET BOX SIZING*/
html {
    box-sizing: border-box;
}

*, *:before, *:after {
    box-sizing: inherit;
}

/* GENERAL ELEMENTS */

a {
    color: #0275d8;
}

    a:visited {
        color: #0275d8;
    }

    a:hover {
        color: #075ba3;
    }

input {
    padding: 7px;
    font-family: inherit;
    border-radius: 5px;
    background-color: #fdfdfd;
    border: 1px solid var(--input-border);
}

    input[type=text].inline-input {
        display: inline-block;
        border: none;
        background: none;
        border-bottom: 1px dotted #0275d8;
        color: #0275d8;
        padding: 1px;
        border-radius: 0;
        cursor: pointer;
    }

        input[type=text].inline-input:focus {
            outline: none;
        }

        input[type=text].inline-input:disabled {
            color: #575757;
            border-bottom: 1px dotted #575757;
        }

    input:read-only {
        background-color: #f7f7f7;
        border: 1px solid var(--input-border);
        cursor: default;
    }

        input:read-only:focus {
            outline: none;
        }

    input.invisible {
        border: none;
        background: transparent;
    }

    input.large {
        padding: 10px;
    }

::-webkit-input-placeholder {
    color: #c7c6c6;
}

::-moz-placeholder { /* Firefox 19+ */
    color: #c7c6c6;
}

:-ms-input-placeholder { /* IE10–11 */
    color: #c7c6c6 !important;
}

select {
    /*for mac safari - remove defult select style that doesnt match anything else*/
    background: url(data:image/svg+xml;base64,PHN2ZyBpZD0iTGF5ZXJfMSIgZGF0YS1uYW1lPSJMYXllciAxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA0Ljk1IDEwIj48ZGVmcz48c3R5bGU+LmNscy0xe2ZpbGw6I2ZmZjt9LmNscy0ye2ZpbGw6IzQ0NDt9PC9zdHlsZT48L2RlZnM+PHRpdGxlPmFycm93czwvdGl0bGU+PHJlY3QgY2xhc3M9ImNscy0xIiB3aWR0aD0iNC45NSIgaGVpZ2h0PSIxMCIvPjxwb2x5Z29uIGNsYXNzPSJjbHMtMiIgcG9pbnRzPSIxLjQxIDQuNjcgMi40OCAzLjE4IDMuNTQgNC42NyAxLjQxIDQuNjciLz48cG9seWdvbiBjbGFzcz0iY2xzLTIiIHBvaW50cz0iMy41NCA1LjMzIDIuNDggNi44MiAxLjQxIDUuMzMgMy41NCA1LjMzIi8+PC9zdmc+) no-repeat 99% 50%, #fdfdfd;
    /*background: url('data:image/jpeg;base64,/9j/2wCEABoZGSccJz4lJT5CLy8vQkc9Ozs9R0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0cBHCcnMyYzPSYmPUc9Mj1HR0dEREdHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR//dAAQAAv/uAA5BZG9iZQBkwAAAAAH/wAARCAAKABIDACIAAREBAhEB/8QAXQAAAgMAAAAAAAAAAAAAAAAAAAEDBAUBAQAAAAAAAAAAAAAAAAAAAAAQAAECBQMFAAAAAAAAAAAAAAEAAgMEEhNRETFBISJCcfARAQAAAAAAAAAAAAAAAAAAAAD/2gAMAwAAARECEQA/AN6avU1QNKm9aT5DGvBwfhDKxY0w644WoWzWOHeTyTgYHO/u+UkDQhCD/9k=') no-repeat 95% 50%, white;*/
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
    /*then custom styles*/
    padding: 7px 7px;
    border-radius: 5px;
    margin: 0;
    background-color: #fdfdfd;
    border: 1px solid var(--input-border);
}

    select.large {
        padding: 10px;
    }

    select.ghost {
        border: transparent;
        background: transparent;
    }

    select.inline-input {
        display: inline-block;
        border: none;
        background: none;
        border-bottom: 1px dotted #0275d8;
        padding: 1px;
        border-radius: 0;
        cursor: pointer;
    }

        select.inline-input:focus {
            outline: none;
        }

        select.inline-input:disabled {
            color: #575757;
            border-bottom: 1px dotted #575757;
        }

textarea {
    /*border: 1px solid #b7b7b7;*/
    border-radius: 5px;
    resize: none;
    font-family: inherit;
    padding: 5px;
    background-color: #fdfdfd;
    border: 1px solid var(--input-border);
}

    textarea:read-only {
        background-color: #f7f7f7;
        border: 1px solid #f2f2f2;
        cursor: default;
    }

        textarea:read-only:focus {
            outline: none;
        }

    textarea.invisible {
        border: none;
        background: transparent;
    }

fieldset {
    border: 1px solid #e8e8e8;
    border-radius: 3px;
}

    fieldset legend {
        font-size: .9em;
        padding: 0 5px;
        letter-spacing: 1px;
        font-weight: bold;
        color: #025aa5;
    }

table td, table th {
    text-align: left;
    vertical-align: top;
}

hr {
    border: none;
    border-top: 1px solid #eaeaea;
    margin: 15px 0;
}

code {
    display: inline-block;
    background: #f7f7f7;
    padding: 15px;
}

a.noclick {
    pointer-events: none;
    cursor: default;
}

/* GENERAL STRUCTURE */
html {
    height: 100%;
}

body {
    font-size: 13px;
    font-weight: 400;
    letter-spacing: .5px;
    /* line-height:18px;*/
    /*font-family: monospace;*/
    /*font-family: Consolas;*/
    /*font-family: 'Source Code Pro', monospace;*/
    /*font-family: 'Roboto Mono', monospace;*/
    /*font-family: 'Inconsolata', monospace;*/
    /*font-family: 'Amiko', sans-serif;*/
    /*font-family: 'Cantarell', sans-serif;*/
    /*font-family: 'Cousine', monospace;*/
    /*font-family: 'Work Sans', sans-serif;*/
    /*font-family: 'Roboto', sans-serif;*/
    /*font-family: 'Poppins', sans-serif;*/
    /*    font-family: 'DM Sans', sans-serif;*/
    /*font-family: 'Montserrat', sans-serif;*/
    /*font-family: 'Open Sans', sans-serif;*/
    /*font-family: 'Source Sans 3', sans-serif;*/
    font-family: Inter, "Helvetica Neue", Arial;
    height: 100%;
    /*min-width: 400px;*/
}

.monospace {
    font-family: 'Source Code Pro', monospace;
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="number"] {
    -moz-appearance: textfield;
}

input[type="color"] {
    padding: 0 3px;
    cursor: pointer;
}

.barcode-font {
    font-family: 'Code 128';
}

.column-list {
    height: 100%;
    border-right: 1px solid #8a8a8a;
    /*min-width: 200px;
    width: 30%;*/
    /*max-width: 300px;*/
    /*display: inline-block;*/
    /*vertical-align: top;*/
    padding: 10px;
    overflow: auto;
    background-color: #f7f7f7;
    flex: 0 0 200px;
}

.column-list-item {
    padding: 5px;
    font-size: 1.2em;
    cursor: pointer;
    margin: 2px;
}

    .column-list-item:hover {
        background-color: #d8d8d8;
        border-radius: 3px;
    }

    .column-list-item.selected {
        background-color: #303844;
        border-radius: 3px;
        color: white;
    }

.page-header {
    position: relative;
    flex: 0 0 30px;
    /*background: rgb(255, 255, 255);*/
    padding: 5px;
}

.column-detail, .page-detail {
    /*height: 100%;*/
    padding: 0 10px 10px;
    flex: 1;
    overflow: auto;
}

.form-group-separator {
    display: inline-block;
    padding-top: 35px;
}

.search-active, input:read-only.search-active {
    background: var(--light-yellow);
}


/*.page-main {
    display: inline-block;
    flex: 0 1 5000px;
    height: 100vh;
}*/
/* PAGE NAV */
.page-nav {
    /*flex: 0 0 30px;*/
    background: var(--light-gray-background-1);
    border-radius: 5px;
    display: flex;
    padding: 8px 20px 0;
    /*border-bottom: 1px solid #b7b7b7;*/
    overflow: auto;
    white-space: nowrap;
    margin-bottom: 10px;
    border: 1px solid var(--border-1);
}

.page-nav-item {
    padding: 4px 10px;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    margin-right: 2px;
}

    .page-nav-item:hover {
        border-bottom: 3px solid var(--gray);
    }

    .page-nav-item.selected {
        border-bottom: 3px solid var(--primary);
    }

    .page-nav-item.tab-error {
        background: var(--light-red);
        border-top-right-radius: 5px;
        border-top-left-radius: 5px;
    }

/* GENERAL CLASSES */
.hidden {
    display: none !important;
}

.full-width {
    width: 100%;
}

.ignore-css, .ignore-css *, .ignore-css a:hover, .ignore-css a:visited, .ignore-css a:active {
    background: none;
    border: none;
    bottom: auto;
    clear: none;
    cursor: default;
    /* didn't really know what the default for display should be*/
    /*display:inline;*/
    float: none;
    font-family: Arial, Helvetica, sans-serif;
    font-size: medium;
    font-style: normal;
    font-weight: normal;
    height: auto;
    left: auto;
    letter-spacing: normal;
    line-height: normal;
    max-height: none;
    max-width: none;
    min-height: 0;
    min-width: 0;
    overflow: visible;
    position: static;
    right: auto;
    text-align: left;
    text-decoration: none;
    text-indent: 0;
    text-transform: none;
    top: auto;
    visibility: visible;
    white-space: normal;
    width: auto;
    z-index: auto;
}

.label {
    color: #3E4651;
    font-size: .78em;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: bold;
}

.modal {
    background-color: white;
    border: 1px solid black;
    -webkit-box-shadow: 0px 0px 17px -2px rgba(71,71,71,1);
    -moz-box-shadow: 0px 0px 17px -2px rgba(71,71,71,1);
    box-shadow: 0px 0px 17px -2px rgba(71,71,71,1);
    position: absolute;
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
}

.default-tag {
    font-size: .85em;
    padding: 1px 3px;
    background: #fff8a7;
    font-weight: 400;
    border-radius: 5px;
    border: 1px solid var(--dark-yellow);
    color: var(--dark-yellow);
    background: var(--light-yellow);
}

.admin-section {
    background: var(--light-yellow);
    color: var(--dark-yellow);
    padding: 10px;
    border: 1px solid;
    border-radius: 5px;
}

.columns {
    display: flex;
}

.column {
    padding: 5px;
    vertical-align: top;
    display: inline-block;
    margin: 0 -2px;
    width: 50%;
}

.center-fit-image {
    background-color: #f2f2f2;
    background-image: url('../Images/photo-coming-soon.png');
    background-position: center;
    background-size: cover;
}

.separator {
    display: inline-block;
    border-radius: 50%;
    width: 3px;
    height: 3px;
    background: #898787;
    margin-bottom: 2px;
}

.block {
    display: block;
}

.success-message, .error-message, .warning-message, .info-message {
    padding: 5px 7px;
    border-radius: 5px;
}

    .success-message.small, .error-message.small, .warning-message.small, .info-message.small {
        padding: 2px 5px;
        font-size: .9em;
    }

.error-message {
    background-color: var(--light-red);
    border: 1px solid var(--dark-red);
    color: var(--dark-red);
}

.warning-message {
    background-color: var(--light-yellow);
    border: 1px solid var(--dark-yellow);
    color: var(--dark-yellow);
}

.success-message {
    background-color: var(--light-green);
    border: 1px solid var(--dark-green);
    color: var(--dark-green);
}

.info-message {
    background-color: var(--light-gray);
    border: 1px solid var(--dark-gray);
    color: var(--dark-gray);
}

    .error-message i, .warning-message i, .success-message i, .info-message i {
        padding-right: 5px;
    }

span.link, div.link {
    color: #0275d8;
    min-width: 10px;
    padding: 2px 5px;
    margin: 0;
}

    span.link:hover, div.link:hover {
        color: #014c8c;
        text-decoration: underline;
        cursor: pointer;
    }

.no-data-found {
    color: #a9a9a9;
    text-align: center;
    padding: 4px 5px;
}

/*.loading-text{
    color: var(--font-gray-1);
}*/

.loading-text {
    color: #3c3c3c;
}

@keyframes textShine {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 100% 50%;
    }
}

.loading-text p {
    margin: 5px;
    background: linear-gradient( to right, #575757 20%, #c7c6c6 30%, #575757 70%, #c7c6c6 80% );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-fill-color: transparent;
    background-size: 500% auto;
    animation: textShine 5s ease-in-out infinite alternate;
}

.strikethrough {
    text-decoration: line-through;
    color: #858585;
}

.fatal-error {
    text-align: center;
    padding: 20px;
}

    .fatal-error h1, .fatal-error h2, .fatal-error code {
        text-align: center;
    }

.description {
    color: #7c7c7c;
    font-size: .9em;
    letter-spacing: .5px;
    margin: 0;
}

.new-feature-notification {
    color: #78a170;
    font-size: .8rem;
    letter-spacing: .7px;
    text-align: center;
    width: fit-content;
    margin: auto;
    background: #dfe8dd;
    padding: 3px 7px;
    border-radius: 3px;
    border: 1px solid #78a170;
    margin-top: 5px;
    margin-bottom: 5px;
}

    .new-feature-notification i {
        padding-right: 10px;
    }

.tooltip.show-help:after {
    content: "?";
    color: #3b3b3b;
    background: #ebebeb;
    padding: 2px 4px;
    border-radius: 10px;
    font-size: 10px;
    font-weight: lighter;
    height: 13px;
    width: 13px;
    position: absolute;
    cursor: help;
    margin-left: 3px;
}

    .tooltip.show-help:after:hover {
        background: #303844;
        color: white;
    }

.info-bubble {
    background: #ebebeb;
    padding: 2px 3px;
    border-radius: 10px;
    font-size: 10px;
    font-weight: lighter;
    height: 13px;
    width: 13px;
    color: #3b3b3b;
    display: inline-block;
    cursor: help;
    margin: 0;
    position: relative;
    top: -1px;
}

    .info-bubble:hover {
        background: #303844;
        color: white;
    }

.badge {
    border-radius: 5px;
    padding: 2px 5px 1px;
    font-size: .9em;
    display: inline-block;
    border: 1px solid;
}

.fitwidth {
    width: 1px;
    white-space: nowrap;
}

.button-row {
    padding: 5px 5px 5px 7px;
    position: relative;
    min-height: 30px;
}

    .button-row .button-row-right {
        position: absolute;
        right: 5px;
        display: inline-block;
    }

.inline-button-row {
    padding-top: 29px;
    display: inline-block;
}

.clear-input-btn {
    font-size: .85em;
    position: absolute;
    top: 13px;
    right: 5px;
}

.date-range-picker, input.date-range-picker:read-only, .date-picker, input.date-picker:read-only {
    cursor: pointer;
}

.select-all-listbox-btn {
    position: absolute;
    right: 5px;
    top: 10px;
}

.absolute {
    position: absolute;
}


/* COMMON PAGE STYLES */
.page-card {
    background-color: var(--light-gray-background-1);
    border-radius: 5px;
    border: 1px solid var(--border-1);
    max-width: 1200px;
    position: relative;
    margin-bottom: 15px;
    /* box-shadow: 0px 0px 37px -15px rgba(0,0,0,0.22);*/
}

.page-card-contents {
    padding: 25px;
    position: relative;
}

.page-card-buttons {
    text-align: right;
}

.page-card h3, .page-card-header {
    font-size: 1.3em;
    letter-spacing: 1.4px;
    padding: 10px 10px;
    margin: 0;
    width: 100%;
    position: relative;
    font-weight: bold;
    border-radius: 0;
    color: var(--font-gray-1);
    border-bottom: 1px solid var(--border-1);
    border-top-right-radius: inherit;
    border-top-left-radius: inherit;
    background: var(--light-gray-background-3);
}

.page-card-header-buttons {
    display: inline-block;
    position: absolute;
    right: 7px;
    top: 1px;
    font-weight: normal;
    font-size: 1rem;
}

.page-card h4 {
    font-size: 1.2em;
    padding: 20px 0 0 0;
    margin: 0;
}

.list-card {
    border: 1px solid #b7b7b7;
    border-left: 3px solid #025aa5;
    border-radius: 3px;
    background-color: white;
    padding: 5px;
}

    .list-card.selectable:hover {
        cursor: pointer;
        transform: translateX(2px);
        transition: .1s all;
    }

.list-row {
    border-bottom: 1px dotted #d0d0d0;
    padding: 5px 2px;
    position: relative;
}

    .list-row:first-of-type {
        border-top: 1px dotted #d0d0d0;
    }

    .list-row .drag-handle {
        cursor: pointer;
        padding: 2px 5px;
        color: #6b6b6b;
    }

        .list-row .drag-handle:hover {
            color: #232323;
        }

    .list-row .list-row-options {
        display: inline-block;
        color: #838383;
        font-size: .95em;
        position: absolute;
        right: 3px;
        top: 3px;
    }

    .list-row .list-row-content {
        display: inline-block;
    }

    .list-row .list-row-name {
        display: inline-block;
        font-weight: bold;
    }

    .list-row .list-row-description {
        display: inline-block;
        color: #3c3c3c;
        padding-left: 10px;
        font-size: .9em;
    }

.add-new-section {
    border-radius: 3px;
    background-color: #fbfbfb;
    border: 1px solid #cecece;
    padding: 10px;
}

    .add-new-section h4 {
        margin: 0;
    }

h2 {
    text-align: center;
    margin: 15px 0;
}

.options-icon-button {
    height: 20px;
    width: 20px;
    border-radius: 5px;
    border: 1px solid #8f8f8f;
    color: #8f8f8f;
    padding: 3px 3px;
    font-size: .75rem;
    cursor: pointer;
    background: white;
    display: inline-block;
    box-sizing: border-box;
}

    .options-icon-button:hover {
        border: 1px solid #3b3b3b;
        color: #2f2f2f;
    }

/* DRAG HANDLE */
.drag-handle {
    cursor: pointer;
    padding: 2px 5px;
    color: #989898;
}

    .drag-handle:hover {
        color: #232323;
    }

/* INPUT VALIDATION */
.form-validation-error {
    background-color: #f1cdcd;
    border: 1px solid red;
    color: red;
    padding: 5px;
    margin: 5px 0;
}

/* SEARCH BOX */

.search-box {
    border: 1px solid #8a8a8a;
    background-color: #ffffff;
    position: relative;
    margin-bottom: 10px;
}

    .search-box input {
        border: none;
        margin: 0;
        width: calc(100% - 25px);
    }

        .search-box input:focus {
            outline: none;
        }

.search-box-button {
    padding: 0 5px;
    text-align: center;
    cursor: pointer;
    display: inline-block;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

.search-textbox {
    background-image: url(/images/icon_search.png);
    background-repeat: no-repeat;
    background-position: right 10px center;
    padding-right: 25px;
}


/* SEARCH SECTION */
.search-section {
    background: var(--light-gray-background-2);
    padding: 5px 10px;
    /* margin-bottom: 20px;*/
    border-radius: 5px;
    border: 1px solid var(--border-1);
}

/* DRAG AND DROP */
.drag {
    border: 1px solid #dddddd;
    -ms-transform: rotate(1deg);
    -o-transform: rotate(1deg);
    -moz-transform: rotate(1deg);
    -webkit-transform: rotate(1deg);
    transform: rotate(1deg);
    -webkit-backface-visibility: hidden; /*fix jagged line in chrome*/
    background-color: rgba(255, 255, 255, 0.89);
}

.drag-placeholder {
    background: #f7f8de;
}



/* DIALOG */

.dialog {
    background-color: rgba(0,0,0,0.6);
    position: fixed;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
}

.dialog-form {
    width: 800px;
    height: 600px;
    position: relative;
    margin: auto;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 5px;
    background-color: #ffffff;
}

.dialog-title {
    padding: 15px;
    font-size: 1.2em;
    text-transform: uppercase;
    color: #353535;
    border-top-left-radius: inherit;
    border-top-right-radius: inherit;
    border-bottom: 1px solid #cfcfcf;
    font-weight: bold;
    letter-spacing: 1px;
    background: #fbfbfb;
}

.dialog-content {
    padding: 15px;
    height: 200px;
}

.dialog-buttons {
    padding: 15px;
    border-bottom-left-radius: inherit;
    border-bottom-right-radius: inherit;
    border-top: 1px solid #cfcfcf;
    position: absolute;
    bottom: 0;
    width: 100%;
    text-align: right;
    background: #fbfbfb;
}

.dialog .close-button {
    position: absolute;
    right: 20px;
    top: 15px;
    color: #b1b1b1;
    cursor: pointer;
    font-size: 1.5em;
}

    .dialog .close-button:hover {
        color: #353535;
    }


/* BUTTONS */
button, .button {
    padding: 8px 15px 6px;
    background-color: #ffffff;
    color: #222222;
    cursor: pointer;
    min-width: 100px;
    text-align: center;
    border: 1px solid #ccc;
    margin: 5px 0;
    border-radius: 5px;
    transition: all .2s ease-in-out;
    letter-spacing: 1.2px;
    font-size: .95em;
}


    button:hover, .button:hover {
        background-color: #e6e6e6;
        border-color: #adadad;
        color: #292b2c;
    }

    button:disabled {
        background-color: #e9e9e9 !important;
        color: #3e3e3e !important;
        border-color: #d3d3d3 !important;
        cursor: default !important;
    }

    button:focus {
        outline-color: transparent;
        outline: 0;
    }

.button {
    display: inline-block;
}

    button.primary, .button.primary {
        background-color: var(--accent-1);
        /*background-color: var(--dark-background-1);*/
        color: white;
        border-color: var(--accent-1);
    }

        button.primary:hover, .button.primary:hover {
            background-color: #335b74;
            border-color: #335b74;
        }

    button.secondary, .button.secondary {
        background-color: var(--dark-gray);
        color: var(--light-gray);
        border-color: var(--dark-gray);
    }

        button.secondary:hover, .button.secondary:hover {
            background-color: #6d6b6b;
            border-color: #6d6b6b;
        }

    button.success, .button.success {
        color: white;
        background-color: var(--green);
        border-color: var(--green);
    }

        button.success:hover, .button.success:hover {
            background-color: var(--dark-green);
            border-color: var(--dark-green);
        }

    button.danger, .button.danger {
        background-color: var(--red);
        color: white;
        border-color: var(--red);
    }

        button.danger:hover, .button.danger:hover {
            background-color: #a7493b;
            border-color: #a7493b;
        }

    button.warning, .button.warning {
        background-color: #d5af34;
        color: white;
        border-color: #ba9a03;
    }

        button.warning:hover, .button.warning:hover {
            background-color: #caa42c;
            border-color: #b19305;
        }

    button.admin, .button.admin {
        background-color: #e5912a;
        color: white;
        border-color: #e5912a;
    }

        button.admin:hover, .button.admin:hover {
            background-color: #cc8226;
            border-color: #cc8226;
        }

    button.custom, .button.custom {
        background-color: var(--primary);
        color: white;
        border-color: var(--primary);
    }

        button.custom:hover, .button.custom:hover {
            background-color: var(--primary-dark);
            border-color: var(--primary-dark);
        }

    button.link, .button.link {
        background-color: transparent;
        color: #0275d8;
        border-color: transparent;
        min-width: 10px;
        padding: 2px 5px;
        margin: 0;
        text-transform: initial;
    }

        button.link:hover, .button.link:hover {
            text-decoration: underline;
        }

        button.link.danger, .button.link.danger {
            color: #a7493b;
        }

            button.link.danger:hover, .button.link.danger:hover {
                background-color: transparent;
                border-color: transparent;
            }

        button.link.subtle, .button.link.subtle {
            color: #9f9f9f;
        }


    button.round, .button.round {
        padding: 2px;
        border-radius: 50%;
        width: 20px;
        height: 20px;
        min-width: 20px;
        font-size: .8em;
        margin: 0;
    }

    button.ghost, .button.ghost {
        background-color: transparent;
        border-color: transparent;
    }

        button.ghost:hover, .button.ghost:hover {
            background-color: #ffffff;
            border: 1px solid #ccc;
            color: #292b2c;
        }

    button .button-icon, .button .button-icon {
        padding: 0 5px 0 0;
    }

    button .button-icon-right, .button .button-icon-right {
        padding: 0 0 0 5px;
    }

    button.large, .button.large {
        padding: 8px 15px;
        font-size: 1.2em;
    }

    button.small, .button.small {
        padding: 4px 8px;
        font-size: .9em;
    }

    button.mini, .button.mini {
        padding: 3px 7px;
        font-size: .85em;
    }

    button.short, .button.short {
        min-width: initial;
    }

button.inline-form-group-button {
    margin-top: 30px;
}

/* BUTTON GROUP */
.button-group {
    /*font-size: 0;*/
    display: flex;
}

    .button-group.inline {
        /*display: inline-block;*/
        display: inline-flex;
    }

    .button-group button {
        font-size: .8rem;
        /*margin: 2px 0 0 0;*/
        background-color: white;
        border: 1px solid #3c3c3c;
        border-left: none;
        color: black;
        cursor: pointer;
        border-radius: 0;
        padding: 6px 5px 5px;
    }

        .button-group button:first-child {
            border-left: 1px solid #3c3c3c;
            border-top-left-radius: 2px;
            border-bottom-left-radius: 2px;
        }

            .button-group button:first-child:hover {
                border-left: 1px solid #3c3c3c;
            }

        .button-group button:last-child {
            border-top-right-radius: 2px;
            border-bottom-right-radius: 2px;
        }

        .button-group button:hover {
            background-color: #d1dae2;
            color: black;
            border-left: none;
        }

        .button-group button.selected {
            background-color: #004C97;
            color: white;
        }

        .button-group button:focus {
            outline: 0;
        }

    .button-group.ghost button {
        border: transparent;
        background: transparent;
        border-radius: 3px;
        margin: 0 2px;
    }

        .button-group.ghost button:hover {
            color: #004C97;
            border: 1px solid #b5b5b5;
        }

        .button-group.ghost button.selected {
            color: #004C97;
            border: 1px solid #004C97;
            font-weight: bold;
        }


/* INPUT GROUP */
.input-group {
    display: inline-flex;
    width: 100%;
}

    .input-group input, .input-group select {
        flex: 1;
        outline: none;
    }

    .input-group input, .input-group select {
        border-left: none;
        border-right: none;
        border-radius: 0;
        min-width: 0; /*fixes weird firefox bug*/
        margin: 0;
    }

        .input-group input:first-child, .input-group span:first-child, .input-group select:first-child {
            border-left: 1px solid var(--input-border);
            border-top-left-radius: 5px;
            border-bottom-left-radius: 5px;
            padding: 7px 5px;
        }

    .input-group div.button:first-child {
        border-top-left-radius: 5px;
        border-bottom-left-radius: 5px;
    }

    .input-group input:last-child, .input-group span:last-child, .input-group select:last-child {
        border-top-right-radius: 5px;
        border-bottom-right-radius: 5px;
        border-right: 1px solid var(--input-border);
        padding: 7px 5px;
    }

    .input-group div.button:last-child {
        border-top-right-radius: 5px;
        border-bottom-right-radius: 5px;
    }

    .input-group > button, .input-group > select, .input-group > div {
        border-radius: 0;
        min-width: 0; /*fixes weird firefox bug*/
        margin: 0;
    }

    .input-group button:not(:first-of-type), .input-group .button:not(:first-of-type) {
        border-left: none;
    }

    .input-group button:not(:last-child).input-group .button:not(:last-child) {
        border-right: none;
    }

    .input-group button:last-child, .input-group select:last-child {
        border-radius: 0;
        border-top-right-radius: 5px;
        border-bottom-right-radius: 5px;
        margin: 0;
    }

    .input-group select:last-child {
        border-left: 1px solid var(--input-border);
    }

    .input-group button:first-child, .input-group select:first-child {
        border-radius: 0;
        border-top-left-radius: 5px;
        border-bottom-left-radius: 5px;
        margin: 0;
    }

    .input-group span {
        background-color: var(--light-gray-background-4);
        color: var(--dark-gray);
        padding: 7px;
        border: 1px solid var(--input-border);
        cursor: default;
    }

    .input-group.ghost span, .input-group.ghost input, .input-group.ghost button {
        border: none;
        background: transparent;
    }

    .input-group .divider {
        width: 1px;
        color: var(--input-border);
        border: none;
    }

    .input-group.large span {
        padding: 10px;
    }

/* FORM GROUP */

.form-group {
    padding: 15px 10px 4px;
    position: relative;
    display: inline-block;
    margin: 0 -2px;
    width: 100%;
    vertical-align: top; /*weird IE bug*/
}

    .form-group > label:first-child {
        display: block;
        color: var(--accent-1);
        font-size: .9em;
        /*text-transform: uppercase;*/
        letter-spacing: 1.5px;
        font-weight: bold;
        margin-bottom: 5px;
    }

    .form-group label.inline {
        display: inline-block;
    }

    .form-group.readonly label {
        color: #818993;
    }

    .form-group .char-limit {
        color: #b4b4b4;
        font-size: .85em;
        letter-spacing: .6px;
    }


    .form-group input[type=text]:not(.inline-input), .form-group input:not([type=checkbox]):not([type=radio]):not(.inline-input), .form-group select:not(.inline-input) {
        width: 100%;
        transition: .5s;
    }

    .form-group textarea {
        width: 100%;
        resize: none;
    }

    .form-group .description {
        color: #909090;
        font-size: .7rem;
        letter-spacing: .6px;
        padding-top: 2px;
    }

    .form-group p {
        margin: 0;
    }

    .form-group .form-group-button-row {
        position: absolute;
        right: 10px;
        top: 10px;
        font-size: .9em;
    }

    .form-group.condensed {
        padding: 5px 5px 2px;
    }

    .form-group.required > label:first-child::after {
        content: "*";
        color: #da6464;
        padding: 4px;
    }


    .form-group.address-lookup-active > label:first-child::after {
        font-family: "Font Awesome 5 Free";
        content: "\f110";
        font-size: .85em;
        padding: 1px 4px;
        margin-left: 2px;
        /*     
        content: 'searching...';
        color: var(--dark-yellow);
        background: var(--light-yellow);
        border-radius: 5px;
        border: 1px solid;
        */
        animation-name: spin;
        animation-duration: 1000ms;
        animation-iteration-count: infinite;
        animation-timing-function: linear;
        display: inline-block;
        color: var(--primary);
    }

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}
/* INLINE FORM GROUP */

.form-group-inline {
    /*padding: 5px 10px 2px;*/
    position: relative;
    /*display: inline-block;*/
    /*margin: 0 -2px;*/
    width: 100%;
    text-align: right;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .form-group-inline > label:first-child {
        display: inline-block;
        width: 25%;
    }

    .form-group-inline input[type=text]:not(.inline-input), .form-group-inline input:not([type=checkbox]):not([type=radio]):not(.inline-input), .form-group-inline select:not(.inline-input) {
        width: 75%;
        display: inline-block;
        transition: .5s;
        text-align: left;
    }

    .form-group-inline.spread > label:first-child {
        text-align: left;
    }

    .form-group-inline.spread input[type=text]:not(.inline-input), .form-group-inline input:not([type=checkbox]):not([type=radio]):not(.inline-input), .form-group-inline select:not(.inline-input) {
        text-align: right;
    }

/* FLEX ROW */
.flex-row {
    display: flex;
}

    .flex-row .form-group {
        margin-right: 5px;
    }

        .flex-row .form-group:last-child {
            margin-right: 0;
        }

/* RADIO BUTTON GROUP / CHECKBOX GROUP */
label.radio-button-group, label.checkbox-group {
    letter-spacing: 0;
    color: black;
    font-size: 1em;
    font-weight: 100;
    display: block;
    cursor: pointer;
    padding: 6px 5px 3px 5px;
}

    label.radio-button-group:hover, label.checkbox-group:hover {
        background-color: #e6e6e6;
        border-radius: 3px;
    }

    label.radio-button-group.inline, label.checkbox-group.inline {
        display: inline-block;
    }

    label.radio-button-group.small, label.checkbox-group.small {
        font-size: .75em;
        font-weight: 100;
        padding: 5px 3px 1px 3px;
        margin: 3px 0 0;
    }

    label.radio-button-group.large, label.checkbox-group.large {
        font-size: 1.3em;
        font-weight: 100;
        padding: 5px 3px 1px 3px;
        margin: 3px 0 0;
    }

        label.radio-button-group.large input, label.checkbox-group.large input {
            width: 20px;
            height: 20px;
        }

    label.radio-button-group.disabled, label.checkbox-group.disabled {
        color: #b7b7b7;
        cursor: default;
    }

.radio-button-group input[type=radio], .checkbox-group input[type=checkbox] {
    margin-top: 0;
    vertical-align: middle;
}

.checkbox-group, .radio-button-group {
    cursor: pointer;
    padding: 6px 5px 3px 5px;
}

    .checkbox-group input[type=checkbox], .radio-button-group input[type=radio] {
        transform: translateY(-1px);
        cursor: pointer;
    }

/* CHECKBOX LIST*/
.checkbox-list {
    border: 1px solid #cfcfcf;
    border-radius: 2px;
    background: white;
    max-height: 150px;
    overflow: auto;
}




/* HELP SECTION */

.help-section {
    background: var(--light-gray);
    border-radius: 5px;
    padding: 8px;
    color: var(--dark-gray);
    border: 1px solid var(--dark-gray);
    border-left: 25px solid var(--dark-gray);
    position: relative;
    margin-bottom: 15px;
}

.help-section-title {
    font-weight: bold;
}

.help-section > i {
    position: absolute;
    left: -15px;
    color: white;
    font-size: 1.1em;
    top: 50%;
    transform: translateY(-50%);
}

.help-section p {
    margin: 0;
    letter-spacing: 1px;
}

.help-section ul {
    margin: 5px;
    padding-left: 20px;
}


/* DEFAULT TABLE STYLE */

table thead th {
    font-size: .8rem;
    letter-spacing: .6px;
}

table thead th {
    border-bottom: 1px solid var(--border-1) !important;
}

table tbody tr {
    font-size: .8rem;
    /* letter-spacing: .5px;*/
}

table tbody {
}

    table tbody td {
        border-bottom: 1px solid var(--border-1);
    }

table.clickable tbody tr:hover {
    cursor: pointer;
    background: #f6f6f6 !important;
}

table.clickable tbody tr.noclick:hover {
    cursor: default;
    background: initial !important;
}

table.selectable tbody tr:hover {
    cursor: pointer;
    background-color: #f8f8f8;
}

table.selectable tbody tr.selected {
    background: var(--dark-background-1) !important;
}

    table.selectable tbody tr.selected td {
        color: white;
    }

table thead tr {
    font-size: .9rem;
    font-weight: bold;
    letter-spacing: 1.2px;
}

table.striped tr:nth-child(even) {
    background-color: #f8f8f8;
}

table.striped tbody td {
    border-bottom: 1px solid var(--border-1);
}

table tr.checkbox-selected td {
    background: var(--light-yellow);
}

.dataTables_info {
    font-size: .9rem;
    letter-spacing: 1px;
}

/* BASIC TABLE */
table.basic-table {
    border-collapse: collapse;
    width: 100%;
    margin: 20px 0;
    border: 1px solid var(--border-1);
    border-radius: 5px;
}

    table.basic-table td {
        padding: 5px;
        border-bottom: 1px solid var(--border-1);
    }

    table.basic-table thead {
        background: #ffffff;
        color: black;
    }

    table.basic-table thead {
        border-bottom: 1px solid #bebebe;
    }

        table.basic-table thead tr td {
            /* border-bottom: 1px solid #bebebe;*/
        }

    table.basic-table tbody tr:nth-of-type(odd) {
        background: #f8f8f8;
    }

table.basic-tabletable.clickable tbody tr:hover {
    cursor: pointer;
    background: #f6f6f6 !important;
}

/* LISTBOX */
.listbox {
    border: 1px solid #cacaca;
    padding: 3px;
}

.listbox-item {
    margin: 1px 0;
    padding: 3px 5px;
    border-radius: 3px;
    cursor: pointer;
}

    .listbox-item:hover {
        background-color: #e6e6e6;
    }

    .listbox-item.selected {
        background: #303844;
        color: white;
    }

    .listbox-item.disabled {
        cursor: default;
        color: #8f8f8f;
    }

        .listbox-item.disabled:hover {
            background-color: transparent;
        }

/* ADVANCED SECTION */
.advanced-section {
    border-top: 1px solid #c7c6c6;
    margin: 25px 0 10px;
    padding: 0 0 5px;
}

    .advanced-section .advanced-title {
        /*width: 180px;
        margin: auto;*/
        display: inline-block;
        left: 50%;
        transform: translateX(-50%);
        text-align: center;
        color: #838383;
        cursor: pointer;
        position: relative;
        top: -9px;
        background: white;
        padding: 2px 5px;
    }

        .advanced-section .advanced-title:hover {
            text-decoration: underline;
        }

/* PILL */
.pill {
    border: 1px solid var(--dark-gray);
    display: flex;
    border-radius: 5px;
}

    .pill.inline {
        display: inline-flex;
    }

    .pill.large .pill-name, .pill.large .pill-value {
        padding: 6px 10px 6px;
    }

    .pill .pill-name {
        background: var(--dark-gray);
        color: white;
        background: var(--light-gray);
        color: var(--dark-gray);
        padding: 1px 5px 1px;
        border-bottom-left-radius: inherit;
        border-top-left-radius: inherit;
        border-right: 1px solid var(--dark-gray);
    }

    .pill .pill-value {
        padding: 1px 5px 1px;
        border-top-right-radius: inherit;
        border-bottom-right-radius: inherit;
        background: white;
    }
