﻿/*
----------- COLORS: -----------

Bright blue: #00A8FF
Alt Blue: #0275d8 
Dark blue main: #303844
Dark Blue accent: #3E4651
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;
Firefly Yellow: #F0D800
Orange: #e5912a
-------------------------------
*/


/*
    VARIABLES
    example: color: var(--main-color);
*/
:root {
    --dark-blue-main: #303844;
    --dark-blue-accent: #3E4651;
}

/*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: 5px;
    /*margin: 2px 0 7px;*/
    /*border: 1px solid #b7b7b7;*/
    font-family: inherit;
    border-radius: 2px;
    background-color: #fdfdfd;
    border: 1px solid #d6d6d6;
}

    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 #d6d6d6;
        cursor: default;
    }

        input:read-only:focus {
            outline: none;
        }

    input.invisible {
        border: none;
        background: transparent;
    }

    input.large {
        padding: 10px;
    }
    input.small {
        padding: 3px;
    }

::-webkit-input-placeholder {
    color: #c7c6c6;
}

::-moz-placeholder { /* Firefox 19+ */
    color: #c7c6c6;
}

:-ms-input-placeholder { /* IE10–11 */
    color: #c7c6c6 !important;
}

select {
    padding: 4px 5px;
    /*border: 1px solid #b7b7b7;*/
    border-radius: 2px;
    margin: 0;
    background-color: #fdfdfd;
    border: 1px solid #d6d6d6;
}

    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: 2px;
    resize: none;
    font-family: inherit;
    padding: 5px;
    background-color: #fdfdfd;
    border: 1px solid #d6d6d6;
}

    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;
    margin: 5px 0 10px;
}

    fieldset legend {
        font-size: .9em;
        padding: 0 5px;
        letter-spacing: 1px;
        font-weight: bold;
        color: #025aa5;
    }

table td, table th {
    text-align: left;
}

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 {
    background-color: #eff0f1; /*f3f3f3*/
    font-size: 13px;
    /*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;
    height: 100%;
    /*min-width: 400px;*/
}

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;
}

.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;
    }

.column-detail, .page-detail {
    height: 100%;
    padding: 10px;
    flex: 1;
    overflow: auto;
    /* overflow: auto; makes the inner page display double scroll bar */
}

.form-group-separator {
    display: inline-block;
    padding-top: 35px;
}

.monospace {
    font-family: 'Source Code Pro', monospace;
}

.beta-badge {
    background-color: #fffece;
    font-size: .85em;
    padding: 1px 4px;
    border-radius: 3px;
    border: 1px solid #bab100;
    color: #6c6700;
    position:relative;
    top: -1px;
    text-transform:lowercase;
}

/*.page-main {
    display: inline-block;
    flex: 0 1 5000px;
    height: 100vh;
}*/

/* PAGE HEADER */
.page-header{
    background-color: white;
    margin: 0;
    padding:0;
}
.page-header h2{
    margin:0;
    padding: 10px 0;
}

/* PAGE NAV */
.page-nav {
    /*flex: 0 0 30px;*/
    background: white;
    display: flex;
    padding: 0 20px;
    border-bottom: 1px solid #b7b7b7;
    overflow: auto;
    white-space: nowrap;
}

.page-nav-item {
    padding: 4px 10px;
    border-bottom: 3px solid transparent;
    cursor: pointer;
}

    .page-nav-item:hover {
        border-bottom: 3px solid #c4c5c6;
    }

    .page-nav-item.selected {
        border-bottom: 3px solid #00A8FF;
    }



/* GENERAL CLASSES */

.hidden {
    display: none !important;
}

.full-width {
    width: 100%;
}

.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;
}

.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;
}

.error-message {
    padding: 5px 7px;
    border-radius: 2px;
    background-color: #f1dddd;
    border: 1px solid #c66262;
    color: #c66262;
}
.error-message.small {
    padding: 2px 5px;
    font-size:.9em;
}

.warning-message {
    padding: 5px 7px;
    border-radius: 2px;
    background-color: #fbf5e2;
    border: 1px solid #e8d099;
    color: #846503;
}

.success-message {
    padding: 5px 7px;
    border-radius: 2px;
    background-color: #bcf5bc;
    border: 1px solid #7cdd77;
    color: #086a08;
}

.info-message {
    padding: 5px 7px;
    border-radius: 2px;
    background-color: #efefef;
    border: 1px solid #3e3e3e;
    color: #3e3e3e;
}

    .error-message i, .warning-message i, .success-message i, .info-message i {
        padding-right: 5px;
    }

.internal-options {
    border-radius: 3px;
    background: #fcfbee;
    border: 1px solid #bfbf7e;
    padding: 5px;
    margin: 10px;
}

    .internal-options h4 {
        margin: 0;
        padding: 5px 8px;
    }

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;
}

.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;
}

    .description.warning {
        color: #c66262;
    }

.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;
    }

.fitwidth {
    width: 1px;
    white-space: nowrap;
}

.button-row {
    padding: 5px 5px 5px 7px;
    position: relative;
}

    .button-row .button-row-right {
        position: absolute;
        right: 5px;
        top: 5px;
        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;
}

.text-success {
    color: #5cb85c;
}

.text-danger {
    color: #bf5849;
}

.text-warning, .button.warning {
    color: #ba9a03;
}

/* COMMON PAGE STYLES */
.page-card {
    background-color: white;
    border-color: #a9a9a9;
    border-radius: 2px;
    border: 1px solid #a9a9a9;
    max-width: 900px;
    position: relative;
    margin-bottom: 15px;
}

.page-card-contents {
    padding: 15px;
    position: relative;
}

.page-card-buttons {
    text-align: right;
}

.page-card h3, .page-card-header {
    font-size: 1.3em;
    border-bottom: 1px solid rgb(206, 206, 206);
    padding: 10px;
    margin: 0;
    width: 100%;
    background-color: #f5f5f5;
    position: relative;
    font-weight: bold;
}

.page-card-header-buttons {
    display: inline-block;
    position: absolute;
    right: 10px;
    top: 3px;
    font-weight: normal;
    font-size: 1rem;
}

.page-card h4 {
    font-size: 1.2em;
    padding: 20px 0 0 0;
    margin: 0;
}

.page-card-wide {
    background-color: white;
    border-color: #a9a9a9;
    border-radius: 2px;
    border: 1px solid #a9a9a9;
    max-width: 2160px;
    position: relative;
    margin-bottom: 15px;
}

.page-card-wide-contents {
    padding: 15px;
    position: relative;
}

.page-card-wide-buttons {
    text-align: right;
}

.page-card-wide h3, .page-card-wide-header {
    font-size: 1.3em;
    border-bottom: 1px solid rgb(206, 206, 206);
    padding: 10px;
    margin: 0;
    width: 100%;
    background-color: #f5f5f5;
    position: relative;
    font-weight: bold;
}

.page-card-wide-header-buttons {
    display: inline-block;
    position: absolute;
    right: 10px;
    top: 3px;
    font-weight: normal;
    font-size: 1rem;
}

.page-card-wide 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;
    }

    .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: 50%;
    border: 1px solid #8f8f8f;
    color: #8f8f8f;
    padding: 3px 3px;
    font-size: .75rem;
    cursor: pointer;
    background: white;
}

    .options-icon-button:hover {
        border: 1px solid #3b3b3b;
        color: #2f2f2f;
    }

/* 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;
}


/* 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: 6px 15px 5px;
    background-color: #ffffff;
    color: #222222;
    cursor: pointer;
    min-width: 100px;
    text-align: center;
    border: 1px solid #ccc;
    margin: 5px 0;
    border-radius: 2px;
    transition: all .2s ease-in-out;
    text-transform: uppercase;
    letter-spacing: 1px;
    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: #3e3e3e !important;*/
        border-color: #e9e9e9 !important;
        cursor: default !important;
    }

    button:focus {
        outline-color: transparent;
        outline: 0;
    }

.button {
    display: inline-block;
}

    button.primary, .button.primary {
        background-color: #004C97;
        color: white;
        border-color: #004C97;
    }

        button.primary:hover, .button.primary:hover {
            background-color: #0275d8;
            border-color: #0275d8;
        }

    button.success, .button.success {
        background-color: #5cb85c;
        color: white;
        border-color: #5cb85c;
    }

        button.success:hover, .button.success:hover {
            background-color: #449d44;
            border-color: #419641;
        }

    button.danger, .button.danger {
        background-color: #bf5849;
        color: white;
        border-color: #bf5849;
    }

        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.custom, .button.custom {
        background-color: #004C97;
        color: white;
        border-color: #004C97;
    }

        button.custom:hover, .button.custom:hover {
            /* opacity: .95;*/
            filter: brightness(95%);
        }

    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 {
            color: #014c8c;
            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;
                color: #a7493b;
            }

        button.link.subtle, .button.link.subtle {
            color: #9f9f9f;
        }

        button.link.danger:hover, .button.link.danger:hover {
            color: #7c7c7c;
        }


    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 10px;
        font-size: .8em;
    }

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: flex;
}

    .input-group input, .input-group select {
        flex: 1;
        outline: none;
    }

    .input-group input {
        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 {
            border-left: 1px solid #d6d6d6;
            border-top-left-radius: 2px;
            border-bottom-left-radius: 2px;
        }

        .input-group input:last-child, .input-group span:last-child {
            border-top-right-radius: 2px;
            border-bottom-right-radius: 2px;
            border-right: 1px solid #d6d6d6;
        }

    .input-group button, .input-group select {
        border-radius: 0;
        min-width: 0; /*fixes weird firefox bug*/
        margin: 0;
    }

        .input-group button:not(:first-child) {
            border-left: none;
        }

        .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: 2px;
            border-bottom-right-radius: 2px;
            margin: 0;
        }

        .input-group button:first-child, .input-group select:first-child {
            border-radius: 0;
            border-top-left-radius: 2px;
            border-bottom-left-radius: 2px;
            margin: 0;
        }

    .input-group span {
        background-color: #e8e8e8;
        padding: 5px;
        border: 1px solid #d6d6d6;
        cursor: default;
    }

    .input-group.ghost span, .input-group.ghost input, .input-group.ghost button {
        border: none;
        background: transparent;
    }

    .input-group.error input {
        border: 1px solid #c66262;
    }
        .input-group.error span {
            background: #c66262;
            border: 1px solid #c66262;
            color:white;
        }

/* 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: #3E4651;
        font-size: .78em;
        text-transform: uppercase;
        letter-spacing: 1px;
        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 .description.warning {
            color: #c66262;
        }

.form-group-inline-button{
    margin-top: 27px;
    display:inline-block;
}

.required > label:first-child:after {
    content: "*";
    color: #da6464;
    padding: 4px;
}

/* 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;
}

/* DROPDOWN MENU */
.dropdown-button {
    border-radius: 3px;
    cursor: pointer;
    padding: 3px 5px;
    color: #1a1a1a;
}

    .dropdown-button:hover {
        background: #f7f7f7;
    }

.dropdown-menu-parent {
    position: relative;
}

.dropdown-menu {
    display: none;
    min-width: 120px;
    background-color: #fff;
    border: 1px solid rgb(155, 155, 155);
    padding: 3px 0;
    position: absolute;
    top: 100%;
    margin: 4px 0;
    border-radius: 3px;
    z-index: 999;
}

    .dropdown-menu.right {
        right: 0;
    }

.dropdown-menu-item {
    color: #0B2332;
    padding: 5px 10px;
    cursor: pointer;
    display: block;
    margin: 0;
    text-decoration: none;
    font-size: .9rem;
    white-space: nowrap;
    text-align: left;
    text-transform: initial;
}

    .dropdown-menu-item:hover {
        background-color: rgb(241, 241, 241);
    }

    .dropdown-menu-item.danger:hover {
        background-color: #bf5849;
        color: white;
    }
    .dropdown-menu-item.property.current {
        text-decoration: underline;
        font-weight: bold;
    }

    .dropdown-menu-item.property.current {
        font-weight: bold;
    }

a.dropdown-menu-item {
    color: #0B2332;
}

/*.dropdown-menu-item.danger {
    color: #bf5849;
}*/

.dropdown-divider {
    height: .5px;
    margin: 2px 0;
    background-color: rgb(206, 206, 206);
}

.dropdown-submenu-parent {
    position: relative;
}

    .dropdown-submenu-parent:hover > .dropdown-submenu {
        display: block;
    }

.dropdown-submenu {
    display: none;
    min-width: 120px;
    background-color: #fff;
    border: 1px solid rgb(155, 155, 155);
    padding: 3px 0;
    position: absolute;
    left: 100%;
    top: -7px;
    margin: 4px 0;
    border-radius: 3px;
    z-index: 9999;
    border-top-left-radius: 0;
}

.dropdown-submenu-parent i {
    position: absolute;
    right: 5px;
}


/* HELP SECTION */

.help-section {
    background: #f1f1f1;
    border-radius: 3px;
    padding: 5px;
    color: #5a5b5d;
    border: 1px solid #5a5b5d;
    border-left: 15px solid #5a5b5d;
    position: relative;
    margin-bottom: 15px;
}

.help-section-title {
    font-weight: bold;
}

.help-section > i {
    position: absolute;
    left: -10px;
    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 tbody tr {
    font-size: .8rem;
    letter-spacing: .5px;
}

table.clickable tbody tr:hover {
    cursor: pointer;
    background: #f6f6f6 !important;
}

table.clickable tbody tr.selected {
    background: #002640 !important;
}

    table.clickable tbody tr.selected td {
        color: white;
    }

table.clickable tbody tr.noclick:hover {
    cursor: default;
    background: initial !important;
}

table thead tr {
    font-size: .9rem;
    font-weight: bold;
    letter-spacing: 1.2px;
}

table.striped tr:nth-child(even) {
    background-color: #f8f8f8;
}

.dataTables_info {
    font-size: .9rem;
    letter-spacing: 1px;
}


/* 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;
        }


/* FINANCIAL ACCOUNT SELECTOR */
.financial-account-selector option {
    color: black;
}
    /*.financial-account-selector option.uncommon:not(:checked) {*/
    /*display: none;*/
    /*color: #8f8f8f;
    }*/
    .financial-account-selector option.uncommon {
        /*display: none;*/
        color: #9d9d9d;
    }

.financial-account-selector .checkbox-group {
    font-size: .9em;
    color: #606060;
}

.deactivated-column {
    opacity: 0.7;
}

.knowledgebase-box {
    background-color: #303844;
    border-radius: 5px;
    border: 1px solid white;
    color: white;
    font-size: 1em;
    margin: 10px;
    padding: 10px;
    text-align: center;
}
    .knowledgebase-box a {
        color: white;
    }
    .knowledgebase-box p {
        margin: 0px;
    }