/** standard element styles */

body {
    font-family: "Trebuchet MS", Helvetica, sans-serif;
    font-size: 0.9169rem;
    background-color: #EEE;
    line-height: 150%;
    color: #666;
    height: 100%;
}

html {
    background: #EEE;
}

.overflow {
    white-space: nowrap;
    overflow: visible;
}

a {
    color: #486380;
    font-weight: bold;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.hide {
    display: none;
}


/** main page container for centering */

.main-container {
    width: 780px;
    margin: 0 auto;
    min-height: 780px;
}


/** wrapper for the pages */

.app-container {
    background-repeat: no-repeat;
    background-position: left bottom;
    /* or 0% 100% */
}


/** header styling */

header {
    padding: 35px 0 5px 0;
    display: block;
}

.focused {
    opacity: .5;
    border: 1pc solid red;
}

.focusout {
    opacity: 1;
}

/* .fullRetAgeLabel {
    width: 100%;
} */

header .title {
    font-size: 2.0831rem;
    color: #FFF;
    color: #000;
    font-weight: bold;
    display: inline-block;
    margin: 0 20px 0 30px;
    padding-right: 25px;
    border-right: 1px solid #FFF;
    border-right: 1px solid #000;
    line-height: 100%;
}

header .subtitle {
    font-size: 0.9169rem;
    color: #FFF;
    color: #000;
    font-family: Georgia, serif;
    display: inline-block;
    vertical-align: top;
    padding-top: 13px;
    font-style: italic;
    line-height: 100%;
    margin: 0 20px 0 30px;
}


/** Intro Page Styles **/

.intro-page h2 {
    font-size: 1.5831rem;
    font-weight: 400;
    font-style: italic;
    margin: 0 30px 15px 30px;
    line-height: 120%;
}

.intro-page p {
    font-size: 0.9169rem;
    margin: 0 30px 25px 30px;
}

.intro-page h3 {
    font-size: 0.9169rem;
    margin: 0 30px 25px 30px;
    font-weight: bold;
}

.intro-page .btn {
    position: relative;
    display: inline-block;
    float: right;
    text-transform: uppercase;
}

.intro-page header .title {
    margin-left: 0 !important;
}


/** main section styles **/

section#main {
    position: relative;
    padding: 15px;
    overflow: hidden;
}

section#main .app-content {
    background-color: #edf1f4;
    -moz-border-radius: 5px;
    border-radius: 5px;
    -moz-box-shadow: 0 0 5px #888;
    -webkit-box-shadow: 0 0 5px #888;
    box-shadow: 0 0 5px #888;
}

section#main .app-header {
    background-color: #2f4154;
    margin: 0 15px;
    -webkit-border-bottom-right-radius: 3px;
    -webkit-border-bottom-left-radius: 3px;
    -moz-border-radius-bottomright: 3px;
    -moz-border-radius-bottomleft: 3px;
    border-bottom-right-radius: 3px;
    border-bottom-left-radius: 3px;
    color: #FFF;
    position: relative;
}

section#main .app-header .subtitle {
    padding: 20px 0 0 30px;
    text-transform: uppercase;
    font-size: 0.8331rem;
    color: #FFF;
    margin-top: 0px;
}

section#main .app-header .title {
    color: #FFF;
    font-size: 18pt;
    font-weight: bold;
    padding-left: 30px;
    padding-bottom: 15px;
    padding-top: 5px;
    margin-top: 0;
}

section#main .app-header .step {
    display: inline-block;
    top: 30px;
    right: 50px;
    position: absolute;
    border: 1px solid #486380;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
    background-color: #486380;
    color: #cdd5de;
    font-size: 8pt;
    padding: 0;
    white-space: nowrap;
}

section#main .app-header span.step span {
    padding: 5px 8px;
    border-left: 1px solid #cdd5de;
    border-top: 1px solid #486380;
    border-bottom: 1px solid #486380;
    margin: 0;
    font-weight: bold;
}

section#main .app-header span.step span.selected {
    background-color: #cdd5de;
    color: #486380;
    border: 1px solid #cdd5de;
}

section#main .app-header span.step span.first {
    border-left: 0;
    -webkit-border-top-left-radius: 8px;
    -webkit-border-bottom-left-radius: 8px;
    -moz-border-radius-topleft: 8px;
    -moz-border-radius-bottomleft: 8px;
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
}

section#main .app-header span.step span.last {
    -webkit-border-top-right-radius: 8px;
    -webkit-border-bottom-right-radius: 8px;
    -moz-border-radius-topright: 8px;
    -moz-border-radius-bottomright: 8px;
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
}

.results section#main .app-header span.step {
    display: none;
}

section#main .app-page .caption,
section#main .app-page .intro {
    margin: 0 0 10px 30px;
    line-height: 120%;
}

section#main .app-page .caption {
    font-weight: bold;
}

section#main .app-page .intro {
    font-size: 10.5pt;
}

section#main .app-page {
    min-height: 460px;
    margin: 20px 0;
}

section#main .app-nav {
    text-align: right;
    padding: 10px 40px 30px 0;
}


/* Custom Addition to Worksheets */

.worksheet-nav .results {
    text-align: left;
    display: inline-block;
    height: 47px;
    position: absolute;
    bottom: 30px;
    left: 0;
}

.worksheet-nav .results .consult {
    background: #ccd4d8;
    color: #444;
    font-size: 12px;
    font-weight: bold;
    padding: 8px;
    position: relative;
    width: 340px;
    line-height: 1.4;
}

.app-container .app-nav .results {
    text-align: left;
    float: left;
    position: absolute;
    top: -10px;
    left: 20px;
    display: block;
}

.app-container .app-nav .results span {
    display: inline-block;
    padding: 0 10px;
    line-height: 15px !important;
}

.app-container .app-nav .results .consult {
    width: 340px;
    top: 5px;
}


/** footer */

footer {
    margin-top: 10px;
    padding: 10px;
    font-size: 12px;
    line-height: 16px;
}

footer p {
    margin-bottom: 16px;
}


/** form layout */

.table {
    display: table;
    table-layout: fixed;
    width: 95%;
}

.table .row {
    display: table-row;
}

.table .row .column {
    display: table-cell;
    padding: 7px 0 0;
    font-size: 10.5pt;
    width: 18%;
    text-align: right;
}



.double-col .table .row span.column,
.single-col .fancybox-inner .table .row span.column {
    width: 18% !important;
}

.double-col .table .row .column.slider {
    width: 60% !important;
}

.double-col .table.worksheet-table .row .worksheet-column,
.single-col .table.worksheet-table .row .worksheet-column {
    width: 40px !important;
}

.table .row.header .column {
    line-height: 12pt;
}

.table .row.separator .column {
    border-bottom: 2px solid #dcdcdc;
    padding-bottom: 20px;
}

.table .row label.column {
    text-align: left;
    width: 64%;
    font-weight: bold;
    padding-left: 30px;
    word-wrap: break-word;
}

.table .row label.column .rate-text {
    display: inline-block;
}

.table .row .column.full {
    width: 100% !important;
}

.table .row .column.overview {
    padding-left: 30px;
    padding-right: 30px;
    padding-top: 0;
    text-align: left;
}

.expand-container .table .row label.column {
    padding-left: 60px ;
    font-weight: normal;
}

.expand-container .table .row.heading label.column {
    padding-left: 30px;
    font-weight: bold;
}
.single-col .table .row span.column {
    width: 50% !important;
}

.matchContainer.expand-container .table .row span.column.rightcol {
    padding-left: 25px ;
}

.matchContainer.expand-container .table .row LABEL.column {
    width: 60% ;
}

.matchContainer.expand-container .table .row .column {
    width: 25% !important;
}

.matchContainer.expand-container .table .row div.column {
    width: 125px !important;
}

.center .table {
    width: 65%;
    margin: 0 auto;
    margin-top: 10px;
}

.section-head h4 {
    color: #93a445;
    border-bottom: 1px solid #93a445;
    display: block;
    font-weight: bold;
}


/** form element styles */

input.property {
    outline: 0;
    border: 2px solid #dcdcdc;
    padding: 0 4px;
    text-align: right;
    font-size: 10.5pt;
}

input.D,
input.P,
input.N,
input.S {
    height: 23px;
    line-height: 23px;
}

input.D {
    width: 95px;
    background: #FFF url('/shared/_images/input_dollar.png') no-repeat 5px;
}

input.P {
    width: 40px;
    background: #fff url('/shared/_images/input_percent.png') no-repeat 47px;
    padding-right: 20px;
}

input.N {
    width: 35px !important;
    background: #fff;
    padding-right: 5px;
}

input.S {
    width: 125px;
    background: #fff;
    padding-right: 5px;
    margin-left: 0;
}

input.input-error {
    border: 2px solid #B80030 !important;
}

input[type='checkbox'] {
    border: 0 !important;
}

.chk-left {
    margin-right: 10px;
}

.chk-right {
    margin-left: 10px;
}


/** slider stuff */

.table .row label.slider {
    width: 40% ;
}

.table .row .column.slider {
    white-space: nowrap;
    width: 60%;
}

.slider .sliderMaxLabel,
.table .row .column.slider .sliderContainer,
.table .row .column.slider .sliderMinLabel {
    display: inline-block;
}

.slider .sliderMaxLabel,
.table .row .column.slider .sliderContainer,
.table .row .column.slider .sliderMinLabel {
    text-align: left;
    font-weight: bold;
    color: #767676;
}

.slider .sliderContainer {
    width: 190px;
    margin: 0 5px;
}

.slider .sliderContainer span.control {
    background: #7494CD;
    /* blue */
    background: #428F92;
    /* green */
    cursor: default;
    border: none;
    height: 12px;
    margin-bottom: -2px;
    width: 190px;
    display: inline-block;
}

.slider .sliderContainer span.control .ui-slider-horizontal,
.slider .sliderContainer span.control .ui-slider-handle {
    top: -6px;
    margin-left: -.35em;
    cursor: pointer;
    height: 18px;
    width: 9px;
    border: 2px solid #999;
}

.slider input.property {
    margin-left: 10px;
}

.table .row label.slider {
    width: 40% ;
}


/** special page handling */

.start-page {
    width: 85%;
    margin: 0 auto;
}

.table.start-page .row label.column {
    font-size: 12pt;
    color: #333;
}

.table .row.separator .column {
    padding: 50px 30px 30px 20px;
}

.table .row.separator .column {
    padding: 50px 30px 30px 20px;
}

.table .row.separator.small .column {
    padding: 8px 30px 8px 20px;
}


/** misc styles */

.sub {
    padding-top: 0;
    font-weight: normal;
}

.errorMsg {
    color: #B80030;
    font-size: 9pt;
    display: block;
    line-height: 0.9169rem;
}

.lite {
    background-color: #F8F8F8;
    padding-bottom: 10px;
    margin: 10px 0 0 0;
}

.templates {
    display: none;
}

.header {
    font-size: 12.5pt;
    color: #93a445;
    font-weight: normal;
    font-weight: bold;
    line-height: 12.5pt;
}

span.btn {
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    background-color: #486380;
    color: #fff;
    font-size: 15pt;
    padding: 10px 20px;
    cursor: pointer;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

span.btn.disable {
    background: #ccc;
    cursor: default !important;
}

span.btnUse {
    width: 38px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    background-color: #428F92;
    color: #fff;
    font-size: 8pt;
    padding: 0 0 0 8px;
    cursor: pointer;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    float: right;
    text-transform: uppercase;
}

.btnWrapAnn {
    float: right;
}

.btnWrapAnn div.btnMo,
.btnWrapAnn div.btnYr {
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px 0px 0px 4px;
    background-color: #428F92;
    color: #fff;
    font-size: 8pt;
    padding: 4px 4px 4px 4px;
    cursor: pointer;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    margin-right: 0px;
    ;
    border: 2px solid #428F92;
    line-height: 2pt;
    text-align: center;
    display: inline-block;
}

.btnWrapAnn div.btnMo,
.btnWrapAnn div.btnYr {
    border: none;
    padding: 8px 10px 8px 10px;
    font-size: 9pt;
    background-color: #428F92;
    border: 2px solid #428F92;
    color: #FFFFFF;
}

.btnWrapAnn div.btnMo {
    border-radius: 0 4px 4px 0;
    background-color: #fff;
    color: #428F92;
    margin-left: 0px;
}

.btnWrapAnn div.on {
    background: #fff;
    color: #000;
    cursor: default;
}

.btnWrapAnn div.off {
    background-color: #428F92;
    color: #fff;
    cursor: pointer;
}

.btnWrapAnn div.btnMoYr-onArrow {
    background: url('/shared/_images/arrow_tab.png') no-repeat;
    width: 11px;
    height: 6px;
    position: relative;
    bottom: -8px;
    margin: 0 auto;
    margin-bottom: -6px;
}


/** expand collapse stuff */

span.expand-btn {
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    background-color: #428F92;
    color: #fff;
    font-size: 14pt;
    text-align: center;
    margin: 3px 5px 7px;
    cursor: pointer;
    padding: 0 6px;
    width: 10px;
    display: inline-block;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

span.expand-text {
    cursor: pointer !important;
}

.expand-container .row,
.expand-content {
    display: none;
}

.expand-container .row.heading {
    display: table-row;
}


/** worksheet handling */

.table.worksheet-table {
    width: 98%;
}

.table.worksheet-table .row .worksheet-column {
    text-align: left;
}

.table.worksheet-table .row .worksheet-column a {
    display: block;
    margin-left: 8px;
    padding-top: 6px;
}

.table.worksheet-table .row .worksheet-column a span img {
    position: relative;
    top: 4px;
}

.table.worksheet-table .row .worksheet-column a .on {
    display: none;
}


/** help icons & hover text */

.helpStr {
    display: inline-block;
    cursor: pointer;
    margin-left: 4px;
    vertical-align: text-top;
}

.helpStr.link {
    margin-left: 0;
}

.popover {
    background-color: #93A8B2;
    color: #FFF;
    padding: 0 10px 10px 10px;
    font-size: 8pt;
    font-weight: normal;
    line-height: 14px;
    font-family: "Trebuchet MS", Helvetica, sans-serif;
}

.popover-title {
    background-color: #93A8B2;
    margin: 0;
    padding: 0;
    line-height: 0;
    padding-top: 0;
    border: none;
}

.popover.top {
    margin-top: -18px;
}

.popclosex {
    width: 13px;
    height: 13px;
    background: url(/shared/_images/cancel.png) no-repeat;
    /* this is a black 15px x 15px icon */
    background: url(/shared/_images/cancelwhite.png) no-repeat;
    cursor: pointer;
    position: absolute;
    top: 2px;
    right: 2px;
}

.popover-content {
    padding: 16px 5px 5px 5px;
}

.popover.top .arrow:after {
    border-top-color: #93A8B2;
}

.popover.right .arrow:after {
    border-right-color: #93A8B2;
}

.popover.bottom .arrow:after {
    border-bottom-color: #93A8B2;
}

.popover.left .arrow:after {
    border-left-color: #93A8B2;
}

.left-edge .popover {
    left: 0 !important;
}

.left-edge .popover .arrow {
    left: 47% !important;
}

input::-webkit-inner-spin-button,
input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}


/*** worksheets */

.worksheet-container .table.four .column {
    width: 25%;
    text-align: left;
    padding: 4px 8px !important;
    font-size: 0.8331rem;
}

.worksheet-container .table.four .column.three {
    border-left: 2px solid #FFF;
}

.worksheet-one-col .row label.column {
    text-align: right;
    font-weight: bold;
}

.worksheet-two-col .row label.first {
    text-align: left;
    font-weight: bold;
}

.worksheet-two-col .row label.second {
    text-align: left;
    font-weight: bold;
    padding-left: 20px;
}

.worksheet-title {
    color: #158DA7;
    font-size: 1.5rem;
    font-weight: bold;
    padding: 4px 0 15px 40px;
    margin: 0 20px;
    background: url(/shared/_images/worksheet_icon_large.png) no-repeat;
    border-bottom: 1px solid #F1F1EE;
}

.worksheet-print {
    float: right;
    background: url(/shared/_images/print_icon.png) no-repeat;
    color: #486380;
    padding: 0 0 0 25px;
    font-size: 0.8331rem;
    display: inline-block;
    width: 60px;
    margin-top: 10px;
    text-transform: uppercase;
    cursor: pointer;
}

.worksheet-caption {
    margin: 10px 20px 20px 20px;
}

.table.highlight {
    background-color: #EEE;
}

.worksheet-container .table {
    width: 100%;
}

.worksheet-container .table.highlight {
    background-color: #eee;
    padding: 10px 15px;
    width: 96% !important;
}

.worksheet-container label.column,
.worksheet-container span.column {
    padding: 8px !important;
}

.worksheet-container .table.total {
    margin-top: 30px !important;
    padding: 10px 15px;
    width: 96% !important;
}

.worksheet-container .worksheet-nav span {
    cursor: pointer;
}

.worksheet-container .worksheet-nav {
    text-align: right;
    position: absolute;
    bottom: 20px;
    right: 40px;
}

.worksheet-container .worksheet-nav .currentSavingsClear {
    color: #486380;
}

.worksheet-container .saveBtn {
    margin-left: 20px;
}


/* Step4 Worksheet Table */

.avg-tax-rate.off {
    color: #444 !important;
    font-weight: normal !important;
    cursor: default;
    text-decoration: none !important;
}

.worksheet-container .expense-wrapper header {
    padding: 0 !important;
    margin-bottom: 0 !important;
}

.worksheet-container .expense-wrapper {
    background: #fff;
    width: 750px;
    font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
    display: none;
    position: absolute;
    top: 140px;
    left: 0;
}

.worksheet-container .expense-wrapper .expense-header h2 {
    border-right: 2px solid #fff;
    font-size: 1rem;
    text-align: center;
    width: 634px;
    display: inline-block;
    padding: 15px 0;
}

.worksheet-container .expense-wrapper .expense-header span {
    width: 100px;
    text-align: center;
    display: inline-block;
}

.worksheet-container .expense-wrapper {
    background: #fff;
    width: 99.7%;
    font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
    display: none;
    position: absolute;
    top: 140px;
    left: 0;
}

.worksheet-container .expense-wrapper .back {
    width: 100%;
    display: block;
    overflow: hidden;
}

.worksheet-container .expense-wrapper a {
    float: right;
    padding: 10px 35px;
    display: inline-block;
}

.worksheet-container .expense-wrapper .expense-header {
    font-size: 0.9169rem;
    text-transform: uppercase;
    background: #ebeae1;
    color: #666 !important;
}

.worksheet-container .expense-wrapper .title-row {
    background: #f5f4ed;
    color: #93a445;
    font-size: 0.8331rem;
    text-transform: uppercase;
    overflow: hidden;
}

.worksheet-container .expense-wrapper .title-row span {
    padding: 9px 0;
    border-left: 2px solid #fff;
    text-align: center;
    width: 158px;
    font-weight: bold;
    float: left;
    display: block;
    line-height: 120%;
}

.worksheet-container .expense-wrapper .title-row span.first {
    width: 152px !important;
    padding: 20px 0 0 0;
}

.worksheet-container .expense-wrapper .expense-row span {
    padding: 2px 0;
    border-right: 2px solid #fff;
    text-align: center;
    width: 154px;
    font-weight: bold;
    display: inline-block;
}

.worksheet-container .expense-wrapper .expense-row {
    font-size: 0.7919rem;
    color: #444;
    background: #ebeae1;
}

.worksheet-container .expense-wrapper .expense-row.odd {
    background: #f5f4ed;
}

.worksheet-container .expense-wrapper .expense-row span.last,
.worksheet-container .expense-wrapper .title-row span.last {
    width: 100px !important;
    border-right: 0 !important;
}


/** ie8 and 9 specific styles */

.ie9 #sgt-container .table.worksheet-table {
    width: 105% !important;
}

.ie8 #sgt-container .table.worksheet-table .row label.column .ie9 #sgt-container .table.worksheet-table .row label.column {
    width: 55% !important;
}


/* Worksheet Sizing Fixes */

.ie9 .worksheet-container .column {
    width: 24%;
}

.ie8 .worksheet-container label.column,
.ie9 .worksheet-container label.column {
    width: 45% !important;
}

.ie9 .worksheet-container .table.four .column,
.worksheet-container .table.four label.column {
    width: 27% !important;
}

.ie8 .worksheet-nav,
.ie9 .worksheet-nav {
    bottom: 10px;
}

.ie8 input.P {
    direction: rtl;
}

.double-col .table .row span.double-wide {
    width: 36% !important;
}


/* Removes IE 'X' from input field that cause padding issues after focus*/

input::-ms-clear {
    display: none;
}


/*PR modal height fix*/

.worksheet-container .worksheet-nav {
    text-align: right;
    position: static;
    margin-top: 50px;
    margin-bottom: 40px;
    margin-right: 40px;
}


/*modal height fix end*/

.loading {
    display: none;
    position: absolute;
    left: 62%;
    top: 71.5%;
    margin: 0px auto;
}

.spinner {
    display: none;
    position: absolute;
    left: 60%;
    top: 65%;
    height: 135px;
    width: 135px;
    margin: 0px auto;
    -webkit-animation: rotation .6s infinite linear;
    -moz-animation: rotation .6s infinite linear;
    -o-animation: rotation .6s infinite linear;
    animation: rotation .6s infinite linear;
    border-left: 6px solid rgba(2, 67, 90, 0.15);
    border-right: 6px solid rgba(2, 67, 90, 0.15);
    border-bottom: 6px solid rgba(2, 67, 90, 0.15);
    border-top: 6px solid rgba(1, 29, 40, 0.8);
    border-radius: 100%;
}

@-webkit-keyframes rotation {
    from {
        -webkit-transform: rotate(0deg);
    }
    to {
        -webkit-transform: rotate(359deg);
    }
}

@-moz-keyframes rotation {
    from {
        -moz-transform: rotate(0deg);
    }
    to {
        -moz-transform: rotate(359deg);
    }
}

@-o-keyframes rotation {
    from {
        -o-transform: rotate(0deg);
    }
    to {
        -o-transform: rotate(359deg);
    }
}

@keyframes rotation {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(359deg);
    }
}