﻿/*
    NOTE: Control label must be placed after the control in order to work with CSS
    NOTE: Input Placeholder styled with red asterisk; cannot determine appropriate CSS; see Anaqua Required (Placeholder); Asterisk Color: AQX Danger (#EF4836)
    NOTE: Select control does not have an HTML read-only attribute; use class .read-only with attribute disabled; select.read-only must be placed after select:disabled
    NOTE: Styling the select option hover (select option:hover) cannot be determined using pure CSS; select option:checked is not styling font-size correctly; select option not styling padding correctly; See bootstrap-select for more customization

    DEPENDENCY: JQuery (https://jquery.com/); MIT License
    DEPENDENCY: Bootstrap (https://getbootstrap.com/); MIT License
    DEPENDENCY: Google Font Roboto (https://fonts.google.com/specimen/Roboto?preview.text_type=custom); APACHE LICENSE, VERSION 2.0
*/

/* ANAQUA STYLED BOOTSTRAP FONTS (https://anaqua.sharepoint.com/sites/UX/SitePages/Typography.aspx) */

/*AQX Color Constants*/

:root {
    --aqxpurple: rgba(124, 111, 238);
    --aqxdark: rgba(47, 45, 66);
    --aqxgray: rgba(95,106,118);
    --aqxsubtle: rgba(211,220,232);
    --aqxplaceholder: rgba(47,45,66);
    --aqxlightpurple: rgba(229,226,255);
    --aqxhover: rgba(93,79, 179);
    --aqxbackground: rgba(239,241,245);
    --aqxwhite: rgba(255,255,255);
    --aqxsuccess: rgba(26,165,118);
    --aqxwarning: rgba(244,175,61);
    --aqxdanger: rgb(239, 72, 54);
    --aqxbody: rgb(47, 45, 66);
}


html {
    overflow-x: hidden;
    margin-right: calc(-1 * (100vw - 100%));
}

.Section-Title {
    font-size: 20px;
    line-height: 28px;
    color: var(--aqxdark);
    font-weight: bold;
}

.Section-Labels {
    font-size: 18px;
    line-height: 24px;
    color: var(--aqxdark);
    font-weight: bold;
}
/* .Body {font-size: 14px; line-height: 16px; color: var(--aqxdark); font-weight: normal} */
.Text-Links {
    font-size: 14px;
    line-height: 16px;
    color: var(--aqxpurple);
    font-weight: bold;
}

.Button-Text {
    font-size: 14px;
    line-height: 16px;
    color: var(--aqxwhite);
    font-weight: bold;
    background-color: var(--aqxpurple);
}

/*.Card-Label {
    font-size: 14px;
    line-height: 16px;
    color: var(--aqxdark);
    font-weight: bold;
}*/

.Card-Label {
    font-size: 12px;
    font-weight: bold;
    color: var(--aqxdark);
    padding: 12px 32px 12px 16px;
    background-color: var(--aqxwhite);
    border: solid;
    border-radius: 4px;
    font-weight: bold;
}

    .Card-Label i {
        padding: 12px 32px;
    }

.Field-Label {
    font-size: 10px;
    line-height: 12px;
    color: #5F6A76; /* ??? AQX Grey-Blue Missing using AQX Grey */
    font-weight: normal;
    background-color: var(--aqxdark);
}

.Field-Text {
    font-size: 14px;
    line-height: 16px;
    color: var(--aqxdark);
    font-weight: normal;
}

.Table-Header {
    font-size: 12px;
    line-height: 14px;
    color: var(--aqxdark);
    font-weight: bold;
}

.Table-Text {
    font-size: 12px;
    line-height: 14px;
    color: var(--aqxdark);
    font-weight: normal;
}

/* ANAQUA STYLED BOOTSTRAP GENERAL */
body {
    font-family: 'Roboto', sans-serif !important;
    font-size: 14px;
    line-height: 16px;
    font-weight: normal;
    background-color: var(--aqxbackground) !important; /* #EFF1F5; */
    margin: 0;
    padding: 0;
    color: var(--aqxbody) !important;
    font-display: swap;
    min-width: 1024px; /* I-PAD PRO*/
}

a {
    color: var(--aqxpurple);
    font-size: 12px;
    font-weight: bold;
    border: none;
}

    a:hover {
        color: rgba(60, 49, 156);
        background-color: rgba(17, 23, 52, .1);
        /*    border-radius: 2px;*/
        text-decoration: none;
    }

    a.disabled {
        color: rgba(95, 106, 118, 0.3);
        font-size: 12px;
        font-weight: bold;
        border: none;
        pointer-events: none;
        cursor: default;
    }

        a.disabled:hover {
            background-color: transparent;
            text-decoration: none;
        }

/* ANAQUA STYLED BOOTSTRAP CONTROLS (https://anaqua.sharepoint.com/sites/UX/SitePages/Input.aspx */

/* CONTROLS */
.form-control:focus {
    box-shadow: none; /* NOTE: REMOVE DEFAULT BOOTSTRAP BLUE GLOW */
}

/* CONTROL INPUT EXCEPT RADIO AND CHECKBOX */
input:not([type=checkbox]):not([type=radio]):not([type=button]):not([type=submit]) {
    line-height: 32px; /* Anaqua Entered Text */
    font-size: 12px; /* Anaqua Entered Text */
    background-color: var(--aqxwhite); /* Anaqua Entered Text */
    border: 1px solid rgba(17, 23, 52, .18); /* Anaqua Entered Text */
    border-radius: 4px; /* Anaqua Entered Text */
    padding: 6px 12px 6px 8px; /* Anaqua Entered Text */
    margin: 0 0 0 0; /* Anaqua Entered Text */
    max-height: 32px;
}

    input:not([type=checkbox]):not([type=radio]):not([type=button]):not([type=submit]) ~ label {
        position: absolute;
        top: -6px; /* NOTE: Correct Alignment */
        left: 24px;
        background: linear-gradient(to bottom, var(--aqxwhite) 51%, transparent 49%);
        padding: 0 4px 0 4px;
        color: var(--aqxdark); /* Anaqua Entered Text */
        font-size: 9px; /* Anaqua Entered Text */
    }
    /* INPUT REQUIRED */
    input:not([type=checkbox]):not([type=radio]):not([type=button]):not([type=submit]):required ~ label:after {
        content: " *"; /* Anaqua Required */
        color: #EF4836; /* Anaqua Required */
    }

    input:not([type=checkbox]):not([type=radio]):not([type=button]):not([type=submit]):required:placeholder-shown {
        color: rgba(17, 23, 52, .50); /* Anaqua Required (Placeholder) */
    }

        input:not([type=checkbox]):not([type=radio]):not([type=button]):not([type=submit]):required:placeholder-shown ~ label {
            display: none; /* Anaqua Required (Placeholder) */
        }

    /* INPUT OPTIONAL */


    /* INPUT VALID */
    input:not([type=checkbox]):not([type=radio]):not([type=button]):not([type=submit]):valid:placeholder-shown {
        color: rgba(17, 23, 52, .50); /* Anaqua Entered Text */
    }

        input:not([type=checkbox]):not([type=radio]):not([type=button]):not([type=submit]):valid:placeholder-shown ~ label {
            display: none; /* Anaqua Placeholder */
        }

    /* INPUT INVALID */
    input:not([type=checkbox]):not([type=radio]):not([type=button]):not([type=submit]):invalid {
        border: 1px solid #EF4836; /* Anaqua Error */
    }

        input:not([type=checkbox]):not([type=radio]):not([type=button]):not([type=submit]):invalid ~ label {
            color: #EF4836; /* Anaqua Error */
        }

        input:not([type=checkbox]):not([type=radio]):not([type=button]):not([type=submit]):invalid:placeholder-shown {
            border: 1px solid rgba(17, 23, 52, .18); /* Anaqua Placeholder */
        }

            input:not([type=checkbox]):not([type=radio]):not([type=button]):not([type=submit]):invalid:placeholder-shown ~ label {
                display: none; /* Anaqua Required (Placeholder) */
            }

    /* INPUT FOCUS */
    input:not([type=checkbox]):not([type=radio]):not([type=button]):not([type=submit]):focus {
        border: 1px solid var(--aqxpurple); /* Anaqua Entered Text */
    }

        input:not([type=checkbox]):not([type=radio]):not([type=button]):not([type=submit]):focus ~ label {
            display: block; /* Anaqua Focus */
            color: var(--aqxpurple); /* Anaqua Focus */
        }

        input:not([type=checkbox]):not([type=radio]):not([type=button]):not([type=submit]):focus:valid ~ label {
            display: block; /* Anaqua Entered Text */
            color: var(--aqxpurple); /* Anaqua Entered Text */
        }

        input:not([type=checkbox]):not([type=radio]):not([type=button]):not([type=submit]):focus:invalid ~ label {
            display: block; /* Anaqua Error */
        }


    /* INPUT PLACEHOLDER */
    input:not([type=checkbox]):not([type=radio]):not([type=button]):not([type=submit])::-webkit-input-placeholder {
        color: rgba(17, 23, 52, .50); /* Anaqua Placeholder */
    }

    /* INPUT READ ONLY */
    input:not([type=checkbox]):not([type=radio]):not([type=button]):not([type=submit]):read-only {
        border: none !important; /* Anaqua Read Only */
        background-color: transparent !important; /* Anaqua Read Only */
    }

        input:not([type=checkbox]):not([type=radio]):not([type=button]):not([type=submit]):read-only ~ label {
            color: var(--aqxdark); /* Anaqua Read Only */
            background: linear-gradient(to bottom, var(--aqxwhite) 51%, transparent 49%) !important; /* Anaqua Read Only */
        }

    /* INPUT DISABLED */
    input:not([type=checkbox]):not([type=radio]):not([type=button]):not([type=submit]):disabled {
        color: rgba(17, 23, 52, .30) !important; /* Anaqua Disabled */
        background-color: rgba(17, 23, 52, .10) !important; /* Anaqua Disabled */
    }

        input:not([type=checkbox]):not([type=radio]):not([type=button]):not([type=submit]):disabled ~ label {
            background: linear-gradient(to bottom, var(--aqxwhite) 51%, transparent 49%) !important; /* Anaqua Disabled */
        }

        input:not([type=checkbox]):not([type=radio]):not([type=button]):not([type=submit]):disabled:placeholder-shown ~ label {
            display: none; /* Anaqua Disabled (Placeholder) */
        }

        input:not([type=checkbox]):not([type=radio]):not([type=button]):not([type=submit]):disabled:not(:placeholder-shown) ~ label {
            top: -8px; /* NOTE: Correct Alignment */
            display: block; /* Anaqua Disabled */
        }

/* INPUT CHECKBOX */

input[type="checkbox"]:not(:checked),
input[type="checkbox"]:checked {
    position: absolute;
    left: -9999px;
}

    input[type="checkbox"]:not(:checked) + label,
    input[type="checkbox"]:checked + label,
    inlinecheck > [type="checkbox"]:checked + label {
        position: relative;
        padding-left: 30px;
    }

input[type="checkbox"] ~ label {
    padding-top: 2px;
}

input[type="checkbox"]:not(:checked) + label:before {
    content: "";
    position: absolute;
    left: 0px;
    top: 0px;
    width: 20px;
    height: 20px;
    border: 1px solid var(--aqxgray);
    background: var(--aqxwhite);
    cursor: pointer;
}

input[type="checkbox"]:checked + label:before {
    content: "";
    position: absolute;
    left: 0px;
    top: 0px;
    width: 20px;
    height: 20px;
    background: var(--aqxpurple);
    cursor: pointer;
}

input[type="checkbox"]:not(:checked) + label:after,
input[type="checkbox"]:checked + label:after {
    font-family: "Material Icons";
    content: "check";
    text-rendering: optimizeLegibility;
    font-feature-settings: "liga" 1;
    font-style: normal;
    text-transform: none;
    line-height: 17px;
    font-size: 21px;
    width: 22px;
    height: 22px;
    text-align: center;
    position: absolute;
    top: 0px;
    left: 0px;
    display: inline-block;
    overflow: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: all 0.2s;
    cursor: pointer;
}

input[type="checkbox"]:not(:checked) + label:after {
    opacity: 0;
    transform: scale(0);
    border: 1px solid var(--aqxgray);
    cursor: pointer;
}

input[type="checkbox"]:checked + label:after {
    opacity: 1;
    transform: scale(1);
    color: var(--aqxwhite);
    cursor: pointer;
}

input[type="checkbox"]:disabled:not(:checked) + label:before {
    content: "";
    position: absolute;
    left: 0px;
    top: 0px;
    width: 20px;
    height: 20px;
    border: 1px solid rgba(95,106,118,0.75);
    background: var(--aqxgray);
    cursor: default;
}

input[type="checkbox"]:disabled:checked + label:before {
    content: "";
    position: absolute;
    left: 0px;
    top: 0px;
    width: 20px;
    height: 20px;
    background: var(--aqxgray);
    cursor: default;
}


input[type="checkbox"]:disabled:checked + label:after {
    opacity: 1;
    transform: scale(1);
    color: var(--aqxwhite);
    cursor: default;
}

input[type="checkbox"]:disabled + label {
    color: var(--aqxgray);
    cursor: default;
}

input[type="checkbox"]:not(:checked):focus + label:before {
    border: 1px solid var(--aqxgray);
    cursor: pointer;
}

input[type=radio] {
    width: 24px;
    height: 24px;
    background-color: var(--aqxwhite);
    font-size: 24px;
    color: var(--aqxgray);
    line-height: normal;
}

    input[type=radio]:after {
        content: '\e836';
        font-family: 'Material Icons';
        font-size: 24px;
        width: 24px;
        height: 24px;
        top: 0;
        left: 0;
        position: relative;
        visibility: visible;
        background-color: var(--aqxwhite);
        margin: 0 8px 0 0;
        color: var(--aqxgray);
        cursor: pointer;
    }

    input[type=radio]:disabled:after {
        width: 24px;
        height: 24px;
        border-radius: 24px;
        top: 0;
        left: 0;
        position: relative;
        content: '';
        display: inline-block;
        visibility: visible;
        background-color: var(--aqxwhite);
        color: var(--aqxgray);
        margin: 0 8px 0 0;
        cursor: default;
    }

    input[type=radio]:checked {
        width: 24px;
        height: 24px;
        top: 0;
        left: 0;
        position: relative;
        visibility: visible;
        color: var(--aqxpurple);
    }

        input[type=radio]:checked:after {
            color: var(--aqxwhite);
            background-color: var(--aqxpurple);
            border-radius: 24px;
            font-size: 24px;
            width: 24px;
            height: 24px;
            top: 0;
            left: 0;
            position: relative;
            visibility: visible;
            font-family: 'Material Icons';
            margin: 0 8px 0 0;
            cursor: pointer;
        }

        input[type=radio]:checked[disabled]::after {
            width: 24px;
            height: 24px;
            border-radius: 24px;
            top: 0;
            left: 0;
            position: relative;
            visibility: visible;
            background-color: var(--aqxgray);
            color: var(--aqxwhite);
            margin: 0 8px 0 0;
            cursor: default;
        }
/* CONTROL INPUT MESSAGE */
message {
    position: absolute;
    bottom: 16px;
    left: 32px;
    font-size: 10px; /* Anaqua Description */
    line-height: 10px; /* Anaqua Description */
    color: rgba(17, 23, 52, .50); /* Anaqua Description */
}

.error {
    color: #EF4836; /* Anaqua Error */
}
/* CONTROL INPUT SELECT */
select {
    line-height: 32px; /* Anaqua Entered Text */
    font-size: 12px; /* Anaqua Entered Text */
    background-color: var(--aqxwhite); /* Anaqua Entered Text */
    border: 1px solid rgba(17, 23, 52, .18); /* Anaqua Entered Text */
    border-radius: 4px; /* Anaqua Entered Text */
    padding: 6px 12px 6px 8px; /* Anaqua Entered Text */
    margin: 0 0 0 0; /* Anaqua Entered Text */
    cursor: pointer;
}

    select ~ label,
    textarea ~ label {
        position: absolute;
        top: -7px; /* NOTE: Correct Alignment */
        left: 24px;
        background: linear-gradient(to bottom, var(--aqxwhite) 50%, transparent 50%);
        padding: 0 4px 0 4px;
        color: var(--aqxdark); /* Anaqua Entered Text */
        font-size: 10px; /* Anaqua Entered Text */
    }

    select option {
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        font-size: 12px; /* NOTE: font-size should be 12px; not working correctly */
        color: var(--aqxdark);
        padding: 12px 16px 12px 8px !important; /* NOTE: padding not working */
    }

        select option:checked {
            font-weight: bold;
            background-color: rgba(89, 73, 232, .1) !important;
        }

        select option:hover {
            background-color: var(--aqxlightpurple) !important;
            cursor: pointer;
        }

        select option[selected] {
            background-color: var(--aqxlightpurple) !important;
        }
    /* SELECT DISABLED */
    select:disabled {
        color: rgba(17, 23, 52, .30); /* Anaqua Disabled */
        background-color: rgba(17, 23, 52, .10); /* Anaqua Disabled */
    }

        select:disabled ~ label {
            background: linear-gradient(to bottom, var(--aqxwhite) 50%, transparent 50%) !important; /* Anaqua Disabled */
        }

        select:disabled:placeholder-shown ~ label {
            display: none; /* Anaqua Disabled (Placeholder) */
        }

        select:disabled:not(:placeholder-shown) ~ label {
            top: -8px; /* NOTE: Correct Alignment */
            display: block; /* Anaqua Disabled */
        }

.dropdown-content li.active, .dropdown-content li:hover {
    background-color: red;
}
/* SELECT READ ONLY */
select.read-only { /* NOTE: select.read-only must be placed after select:disabled */
    border: none; /* Anaqua Read Only */
    background-color: transparent !important; /* Anaqua Read Only */
    -webkit-appearance: none;
    -moz-appearance: none;
    text-indent: 1px;
    text-overflow: '';
}

    select.read-only ~ label {
        background: linear-gradient(to bottom, var(--aqxwhite) 50%, transparent 50%) !important; /* Anaqua Disabled */
    }

textarea:focus {
    border: 1px solid var(--aqxpurple) !important;
}


input[type=button],
input[type=submit],
button[type=button] {
    color: var(--aqxwhite);
    font-size: 12px; /* NOTE: font-size should be 12px; not working correctly */
    font-weight: bold;
    background-color: var(--aqxpurple);
    border-radius: 4px;
    padding: 8px 16px 8px 16px;
    text-transform: uppercase;
}

    input[type=button]:hover,
    input[type=submit]:hover,
    button[type=button]:hover {
        cursor: pointer;
        background-color: var(--aqxhover);
    }

    input[type=button]:focus,
    input[type=submit]:focus,
    button[type=button]:focus {
        color: var(--aqxwhite);
        background-color: var(--aqxpurple);
    }

    input[type=button].primary,
    input[type=submit].primary,
    button[type=button].primary {
        color: var(--aqxwhite);
        font-size: 12px; /* NOTE: font-size should be 12px; not working correctly */
        background-color: var(--aqxpurple);
        border-radius: 4px;
        padding: 8px 16px 8px 16px;
    }

        input[type=button].primary:hover,
        input[type=submit].primary:hover,
        button[type=button].primary:hover {
            cursor: pointer;
            background-color: var(--aqxhover);
        }

        input[type=button].primary:focus,
        input[type=submit].primary:focus,
        button[type=button].primary:focus {
            color: var(--aqxwhite);
            background-color: var(--aqxpurple);
        }

        input[type=button].primary:disabled,
        input[type=submit].primary:disabled,
        button[type=button].primary:disabled {
            background-color: rgba(17, 23, 52, 0.1);
            color: rgba(17, 23, 52, 0.25);
            border: none;
            cursor: default;
        }

    input[type=button].secondary,
    input[type=submit].secondary,
    button[type=button].secondary {
        color: var(--aqxpurple);
        font-size: 12px; /* NOTE: font-size should be 12px; not working correctly */
        background-color: transparent;
        border: 1px solid var(--aqxpurple);
        border-radius: 4px;
        padding: 8px 16px 8px 16px;
    }

        input[type=button].secondary:hover,
        input[type=submit].secondary:hover,
        button[type=button].secondary:hover {
            cursor: pointer;
            background: rgba(89, 73, 232, .10);
        }

        input[type=button].secondary:focus,
        input[type=submit].secondary:focus,
        button[type=button].secondary:focus {
            color: var(--aqxpurple);
            background-color: transparent;
        }

        input[type=button].secondary:disabled,
        input[type=submit].secondary:disabled,
        button[type=button].secondary:disabled {
            background-color: transparent;
            border-color: rgba(17, 23, 52, 0.1);
            color: rgba(17, 23, 52, 0.25);
        }


/* CONTROL INPUT CHECKBOX */

a, a:hover {
    background-color: transparent;
}




/*input[type=file] {
}*/

/*input[type=date] {
}

input[type=time] {
}

input[type=datetime-local] {
}

input[type=week] {
}

input[type=month] {
}

input[type=number] {
}

input[type=email] {
}

input[type=url] {
}

input[type=reset] {
}

input[type=submit] {
}*/



