﻿/* Fira Sans weights = 300, 300 italic, 400 */
html { height: 100%; font-size: 10px; }
body { height: 100%; font-family: 'Fira Sans', sans-serif; font-size: 1.8rem; line-height: 1.5; text-align: center; margin: 0; font-weight: 300; -webkit-font-feature-settings: "liga" 1; -moz-font-feature-settings: "liga" 1; -ms-font-feature-settings: "liga" 1; font-feature-settings: "liga" 1; }

header section { padding: 20px 0 0; }
.header { overflow: hidden; border-top: 10px solid #fb3; }
.container { position: relative; min-height: 100vh; }
.content { padding-bottom: 120px; width: 100%; min-height: 380px; clear: both; }
.logo { max-width: 100%; }
.footer { position: absolute; bottom: 0; padding: 12px 0; width: 100%; height: 90px; }

a { color: #f63; }
button, input { line-height: 1.5; }
h1, h2, h3, h4 { font-family: 'Fira Sans', sans-serif; font-size: 3rem; /*font-weight: 400;*/ line-height: 1.2; padding: 0; margin: 0 0 20px; }
    h1:last-child { margin: 0; }
h2 { font-size: 2.2rem; line-height: 1.3636363636; margin: 25px 0 10px; }
h3 { font-size: 2.0rem; line-height: 1.3636363636; margin: 25px 0 10px; }
input[type="text"], textarea, select, .inputArea { font-family: 'Fira Sans', sans-serif; font-size: 1.8rem; font-weight: 300; width: 100%; padding: 2px 6px; border: solid 1px #999; border-radius: 3px; box-sizing: border-box; }
input[type="submit"], input[type="button"] { cursor: pointer; }
input[type="text"].inputError, textarea.inputError { border: solid 1px #c00; }
input[type=text].inputLife { /*text-align: right;*/ width: 25%; height: 33px; border-left: 1px solid #bfbfbf; border-radius: 0 3px 3px 0; }
input[type=radio], input[type=checkbox] { width: 22px; height: 22px; margin-right: 10px; }
input[type=radio] { float: left; position: relative; top: 4px; }
input:focus, textarea:focus { outline: none; }
li { margin: 0 0 6px; }
    li:last-child { margin: 0; }
    li label { vertical-align: text-bottom; }
p { margin: 15px 0 0; min-height: 40px; }
section { max-width: 800px; clear: both; padding: 24px; margin: auto; }
    section.finish { max-width: 988px; }
table { margin: 0 auto; }
td { text-align: left; }
td { font-size: 1.8rem; padding: 10px 14px; border-bottom: 1px solid #ccc; }
tr:last-child td, #calcMain td.border0 { border-bottom: 0; }
ul { list-style: none; padding: 0; margin: 0; }

.align-center { text-align: center; }
.align-left { text-align: left; }
.icon-calc { margin: -20px 20px 5px 0; }
.max-width { max-width: 800px; margin: auto; }
.btnS { font-family: 'Fira Sans', sans-serif; font-size: 2rem; font-weight: 400; background: #fa0; padding: 10px 22px; margin: 30px 6px; border: 0; border-radius: 50px; transition: all 0.2s linear; }
    .btnS:hover { background: #fc6; }
.btnS2 { color: #fff; white-space: normal; background: #1f991f; display: block; margin: 30px auto; border-radius: 6px; }
    .btnS2:hover { background: #36b336; }
.aspNetDisabled, .aspNetDisabled:hover { background: #ccc; }
.section-input { background: #f2f2f2; max-width: 752px; padding: 18px 24px; border-radius: 6px; }
.inputPrompt { font-weight: 400; text-align: left; }
.inputFootnote { font-size: 1.4rem; }
.valign-top { vertical-align: top; }
#pnlBasics ul { list-style: disc; margin: 0 0 20px 20px; }

.calcMsg, .calcMsg.hide { display: block; max-width: 800px; padding: 4px 8px; margin: auto; border-radius: 6px; box-sizing: border-box; }
.debugMsg { display: block; max-width: 800px; padding: 4px 8px; margin: 0 auto 20px; font-size: 1.4rem; border: 1px solid #fa0; background-color: #ffe5b2; border-radius: 6px; text-align: left; }
.warning { font-size: 1.4rem; color: #fff; background: #c00; }
.tip { background: url(images/calc-tip-icon.svg) no-repeat; padding-left: 50px; }
.tip2 { padding-left: 50px; }

.start { font-size: 2rem; line-height: 1.2; font-weight: 400; overflow: hidden; list-style: none; margin: 30px auto 0; }
    .start li { float: left; margin: 0 19px 20px 0; }
        .start li:last-child { margin-right: 0; }
    .start a { color: #000; text-decoration: none; background: #e6e6e6 url(images/ssa-start-icons.svg) no-repeat 41px 25px; display: table-cell; vertical-align: bottom; padding: 16px; box-sizing: border-box; text-align: center; width: 185px; height: 185px; transition: all 0.2s linear; }
        .start a:hover { background-color: #ffe5b2; }
a.estimate { background-position: -142px 25px; }
a.file { background-position: -311px 25px; }
a.audit { background-position: -489px 25px; }

.toggle { background: #fa0 url(images/sprite-main-menu.svg) 2px -157px no-repeat; width: 44px; height: 24px; padding: 0; margin: 0 6px; border: 0; border-radius: 12px; transition: all 0.2s linear; }
    .toggle:hover { background-color: #fc6; }
.toggle-right { background-position: 22px -157px; }
.toggle-selected { font-weight: bold; color: #000; /*margin: 10px;*/ }
.toggle-unselected { font-weight: normal; color: #666; /*margin: 10px;*/ }

select.inputLife { width: 75%; height: 33px; border-right: 0; border-radius: 3px 0 0 3px; }

/*.advisorlogo, .advisorphoto { float: right; height: 116px; margin: -12px 0 0 20px; }*/
.advisorphoto { margin: -12px 0 0; }
.advisorline { font-size: 1.3rem; /*font-weight: 400; color: #000; text-align: center; background: #fa0; padding: 6px 20px;*/ margin: 0 0 20px; }
.pipe { font-weight: 300; color: #c80; margin: 0 6px; }
.nobreak { white-space: nowrap; }
footer { font-size: 1.2rem; font-weight: 400; border-top: 3px solid #FA0; padding: 12px; }
    footer a { color: #000; text-decoration: none; }

/* COMPARE SCREEN */
#pnlFinish ul { line-height: 18px; padding: 0; list-style: none; }
#pnlFinish li { width: 30%; float: left; padding: 6px 8px 0 8px; margin: 0 0 30px; border-left: 16px solid #000; text-align: left; }
#pnlFinish h3 { font-size: 2.0rem; line-height: 1.3636363636; margin: 10px 0; text-align: left; }
#pnlFinish .assumptions { text-align: left; margin-top: 20px; }
    #pnlFinish .assumptions .scenarioName { font-size: 1.8rem; font-weight: bold; }
    #pnlFinish .assumptions .scenarioNotes { font-size: 1.8rem; }
#pnlFinish .scenarioNumber { font-size: 3.0rem; font-weight: bold; margin-right: 6px; }
#pnlFinish .scenarioName { font-size: 1.8rem; line-height: 26px; font-weight: bold; margin-bottom: 20px; }
#pnlFinish .scenarioUserNotes { font-size: 1.4rem; white-space: pre-wrap; margin-bottom: 15px; }
#pnlFinish .scenarioNotes { font-size: 1.3rem; margin: 0; }
#pnlFinish .scenarioColor1 { border-color: #7acc8f; }
#pnlFinish .scenarioColor2 { border-color: #7acccc; }
#pnlFinish .scenarioColor3 { border-color: #7a8fcc; }
#pnlFinish .scenarioColor4 { border-color: #a37acc; }
#pnlFinish .scenarioColor5 { border-color: #cc7ab8; }
#pnlFinish .scenarioColor6 { border-color: #cc9a7a; }
#pnlFinish .scenarioColor7 { border-color: #ccb87a; }
#pnlFinish .scenarioColor8 { border-color: #a3cc7a; }


@media only screen and (max-width: 848px) {
    .start { width: 390px; }
        .start li:nth-child(even) { margin-right: 0; }
}

@media only screen and (max-width: 800px) {
    .section-input, .calcMsg, .calcMsg.warning { border-radius: 0; }
}

@media only screen and (max-width: 560px) {
    header h1 { background: none; padding: 0; }
    .advisorlogo { display: none; }
    input[type="text"].inputBoxDate, input[type="text"].inputBoxAge { width: 50%; }
}

@media only screen and (max-width: 425px) {
    body, td { font-size: 1.6rem; }
    header { font-size: 3rem; padding: 24px 24px 0; }
        header h1, h1 { font-size: 3rem; }
    .advisorphoto { height: 148px; margin: -30px -24px 0 20px; }
    .advisor-mobile { display: none; }
    .btnS { font-size: 1.6rem; margin: 20px 6px; }
    .btnS2 { margin: 20px auto; }
    input[type="text"].inputBoxDate, input[type="text"].inputBoxAge { width: 50%; }
}

@media only screen and (max-width: 438px) {
    .start { width: 185px; }
        .start li { margin-right: 0; }
}

@media only screen and (max-width: 370px) {
    header { padding: 14px 14px 0 14px; }
    .advisorphoto { height: 128px; margin: -14px -14px 0 20px; }
    h1 { font-size: 2.6rem; }
    input[type="text"].inputBoxDate, input[type="text"].inputBoxAge { width: 50%; }
    section { padding: 14px; }
}

@media only screen and (max-width: 320px) {
    header h1 { font-size: 2.6rem; }
    .advisorphoto { height: 116px; }
}
