body {
    margin: 0;
    background-color: #ffffff;
    font-family: sans-serif;
    font-size: 16px;
}

#main-container {
    width: 1140px;
    min-height: 100%;
    max-height: 100%;
    background-color: #ffffff;
    margin: 0 auto;
}

#header-bar {
    position: relative;
    height: 100px;
    width: 1140px;
    margin: 0 auto;
    display: none;
}

#header-main-logo {
    position: absolute;
    top: 0px;
    left: 250px;
    width: 640px;
    height: 100px;
}

#header-sub-logo {
    position: absolute;
    top: 0px;
    left: 975px;
    width: 165px;
    height: 100px;
    background-image: url('../img/psg-logo.png');
    background-size: 255px 42px;
    background-repeat: no-repeat;
    background-position: 0px 58px;
}

.site-default #header-main-logo {
    background-image: url('../img/psg-logo.png');
    background-size: 425px 70px;
    background-repeat: no-repeat;
    background-position: center 15px;
}

.site-default #header-sub-logo {
    background-image: none;
}

.site-simplicity #header-main-logo {
    background-image: url('../img/simplicity.jpg');
    background-size: auto 100px;
    background-repeat: no-repeat;
    background-position: center 0px;
}

.site-massmutual #header-main-logo {
    background-image: url('../img/massmutual.png');
    background-size: auto 200px;
    background-repeat: no-repeat;
    background-position: center;
}

#main-body {
    position: relative;
    margin-top: 20px;
    height: calc(100vh - 130px);
}

#toc-panel, #results-panel {
    height: 100%;
    overflow-y: auto;
    position: absolute;
    top: 0;
}

#toc-panel {
    left: 0;
    width: 250px;
}

#evaluate-panel {
    position: absolute;
    top: 0;
    left: 250px;
    width: 640px;
}

#results-panel {
    left: 890px;
    width: 250px;
    padding-left: 10px;
    display: none;
}

#main-container.wide {
    width: calc(100% - 40px);
}

#main-container.wide #toc-panel {
    width: 300px;
}

#main-container.wide #evaluate-panel {
    left: 300px;
    width: calc(100% - 600px);
}

#main-container.wide #results-panel {
    left: calc(100% - 300px);
    width: 300px;
}

.toc-item {
    line-height: 20px;
    color: #007bff;
    cursor: pointer;
    margin-bottom: 5px;
    padding: 5px;
    border-radius: 5px;
}

.toc-item:hover {
    background-color: #f0f0f0;
}

.toc-item.highlighted {
    background-color: #ccffff;
}

.toc-item.important {
    background-color: #ffffa0;
    border-left: 5px solid #c0c000;
    color: #606000;
}

.toc-item.selected, .toc-item.selected:hover {
    background-color: #007bff;
    color: #ffffff;
}

.toc-item.disabled {
    color: #aaaaaa;
}

.toc-item.disabled:hover {
    background: none;
    cursor: default;
}

#results-container.loading {
    opacity: 0.5;
}

#results-container {
    height: calc(100vh - 184px);
    overflow: auto;
    margin-bottom: 10px;
}

#results-container.quote-top {
    margin: 10px 0 0 0;
}

#results-container.quote-hidden {
    height: calc(100vh - 136px);
    margin: 0;
}

.results-card {
    position: relative;
    color: #000000;
    font-size: 14px;
    line-height: 16px;
    background-color: #c0ffc0;
    margin-bottom: 10px;
    padding: 5px;
    border-radius: 5px;
}

.results-card .fav-star {
    float: right;
}

.results-card.decline {
    background-color: #FFC2C2;
}

.results-card.ineligible {
    background-color: #FFC2C2;
}

.results-card.manual {
    background-color: #FFE0C2;
}

.results-card.substandard {
    background-color: #FFFFC2;
}

.results-carrier {
    font-weight: bold;
}

.results-risk {
    font-style: oblique;
}

.results-flat-extra {
    padding-left: 8px;
}

#evaluate-container {
    padding: 0 20px;
    margin-bottom: 20px;
}

#page-heading {
    font-size: 24px;
}

#evaluate-prompts {
    padding-bottom: 20px;
    height: calc(100vh - 230px);
    overflow: auto;
}

.test-site #evaluate-prompts {
    height: calc(100vh - 320px);
}

.prompt {
    margin-top: 20px;
}

.prompt .p {
    line-height: 1.5em;
}

.prompt .extra-text {
    line-height: 1.5em;
    color: #008000;
    font-style: oblique;
}

.prompt .r {
    margin: 0 50px;
}

.prompt .r::after {
    content: "";
    display: table;
    clear: both;
}

.buttons div {
    float: left;
    line-height: 20px;
    text-align: center;
    background-color: #ffffff;
    color: #007bff;
    border-radius: 5px;
    padding: 5px;
    margin: 10px 10px 0 0;
    cursor: pointer;
}

.prompt-yesno .r div {
    width: 50px;
}

.prompt-toggle .r {
    margin: 0 25px;
}

.prompt-toggle .r div {
    width: 160px;
}

.buttons div:hover {
    background-color: #f0f0f0;
}

.buttons .selected {
    background-color: #007bff !important;
    color: #ffffff;
}

.prompt input {
    width: 100px;
    font-family: sans-serif;
    margin: 0px;
    padding: 0 5px;
    height: 30px;
    border: 1px solid #c0c0c0;
    background: rgba(0, 0, 0, 0.005);
    border-radius: 3px;
    background-color: transparent;
    box-sizing: border-box;
    font-size: 16px;
    font-weight: normal;
    outline: none;
}

.prompt-date .r {
    margin-top: 10px;
}

.prompt-numeric label {
    display: block;
    margin-top: 10px;
}

.prompt select {
    font-family: sans-serif;
    margin: 0;
    height: 30px;
    border: 1px solid #c0c0c0;
    background: rgba(0, 0, 0, 0.005);
    border-radius: 3px;
    background-color: transparent;
    box-sizing: border-box;
    font-size: 16px;
    font-weight: normal;
    outline: none;
}

.prompt-numeric select {
    margin-left: 10px;
}

.prompt select:focus, .prompt input:focus {
    border-color: #007bff;
}

.prompt-important {
    background-color: #ffffa0;
    border-left: 5px solid #c0c000;
    padding: 10px 5px;
    margin-top: 10px;
    margin-bottom: -10px;
    color: #606000;
}

.prompt-important .buttons div {
    background-color: #ffffa0;
}

.prompt-important .buttons div:hover {
    background-color: #f0f097;
}

.prompt-important.prompt input, .prompt-important.prompt select {
    background-color: #ffffff;
}

#quote-spec {
    font-size: 14px;
    line-height: 19px;
    color: blue;
    text-decoration: underline;
    cursor: pointer;
}

#quote-spec button {
    float: left;
}

#test-site-banner {
    display: none;
}

.test-site #test-site-banner {
    display: block;
    height: 70px;
    background-color: #e0e0e0;
    border-radius: 5px;
    text-align: center;
    color: #404040;
    margin: 0 20px 20px 20px;
    padding: 10px 0;
    font-size: 12px;
    line-height: 20px;
}

#test-site-banner > div:first-child {
    font-size: 16px;
    font-weight: bold;
    line-height: 30px;
}

#buttons-container {
    padding: 0px 20px;
}

#apply-modal .modal-dialog {
    width: 650px;
}

.error-border {
    border: 2px solid red;
}

.error-text {
    color: red;
    padding: 0px;
    margin: 0px;
    margin-top: -2px;
    margin-bottom: 2px;
}

div.ui-menu-item-wrapper {
    max-width: 470px;
}

.ui-selectmenu-button {
    background-color: white !important;
    line-height: 150%;
    padding: 4px 8px;
}

.ui-selectmenu-button.ui-button {
    width: 100%;
}

.ui-selectmenu-text {
    white-space: break-spaces;
}

.results-card .info {
    position: absolute;
    left: calc(100% - 25px);
    top: calc(100% - 25px);
    z-index: 1080;
}

.info-tooltip {
    position: relative;
    color: white;
    background-color: rgb(0, 105, 217);
    display: inline-block;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    line-height: 20px;
    font-size: 12px;
    text-align: center;
}

.info-tooltip:hover {
    color: white;
}

.info-tooltip .oi {
    margin-top: 2px;
}

.info-tooltip + div {
    display: none;
}

.tooltip.show {
    opacity: 1;
}

.info-tooltip-ui .arrow {
    display: none;
}

.info-tooltip-ui .tooltip-inner {
    background-color: #ffffff;
    min-width: 400px;
    border: 1px solid #007bff;
    border-radius: 5px;
    color: #007bff;
    font-family: sans-serif;
    font-size: 14px;
    text-align: left;
}

.info-tooltip-ui .tooltip-inner > div {
    display: list-item;
    list-style-type: disclosure-closed;
    margin: 0.5em 0.5em 0.5em 1.5em;
}

.info-tooltip-ui .tooltip-inner > div.debug {
    color: #800000;
}

.custom-combobox {
    position: relative;
    display: inline-block;
}

.custom-message {
    position: relative;
    left: 20px;
    background-color: #FFFF99;
    display: none;
}

.custom-combobox-toggle {
    position: absolute;
    top: 0;
    bottom: 0;
    margin-left: -1px;
    padding: 0;
}

.custom-combobox-input {
    width: auto !important;
}

ul.ui-autocomplete {
    max-height: 200px;
    overflow-x: hidden;
    overflow-y: scroll;
}

#quote-products .row {
    height: 10px;
}

#product-check label {
    font-size: 14px;
    font-weight: bold;
}
