// Page // ================================================================================ body { font: { family: $base-font-family; size: $base-font-size; } line-height: $base-line-height; color: $base-font-color; background: $body-bg-color; @include breakpoint($break-767) { font-size: 16px; } @media print { font: { family: sans-serif; size: 16px; } color: $black; background: $white; } &.no-scroll { overflow: hidden; } } a { color: inherit; text-decoration: underline; cursor: pointer; &:focus, &:hover { color: inherit; text-decoration: none; } @media print { text-decoration: none; } } img { width: 100%; height: auto; } input[type="radio"] { display: none; } input[type="radio"] + label span.checkbox { margin: 0; width: 30px; height: 30px; border: 1px solid $gray; @include border-radius(5px); cursor: pointer; display: inline-block; @include breakpoint($break-767) { width: 20px; height: 20px; } @media print { border-color: $black; } span { display: none; } } input[type="radio"]:checked + label span.checkbox { position: relative; background-color: #2196f3; border: 1px solid #2196f3; @include border-radius(5px); cursor: default; @media print { border-color: $black; } @include icon(before, check) { position: absolute; top: 0; left: 0; width: 28px; height: 28px; line-height: 28px; font-size: 18px; text-align: center; color: #fff; @include breakpoint($break-767) { width: 18px; height: 18px; line-height: 18px; font-size: 12px; } } } span { &.blue-lite { color: $blue-lite; } &.red-dark { color: $red-dark; } &.yellow { color: $yellow; } } .wf-loading * { opacity: 0; visibility: hidden; } .wf-active * { opacity: 1; visibility: visible; } .doan { opacity: 0 !important; } .running { opacity: 1 !important; } .page { > .container { padding: { left: 0; right: 0; } background: $page-bg-color; @include box-shadow($blur: 7px, $color: #666); overflow: hidden; @include breakpoint($break-991) { width: 100%; } } } .header { position: relative; padding: 40px 0; @include linear-gradient(#0a2933, #327e9c); overflow: hidden; @media print { padding: 0; } &:after { content: ''; position: absolute; bottom: 0; width: 100%; height: 15px; background: { image: image-url($tri-gray); repeat: repeat-x; position: center top; size: 23px; } float: left; } #icons { position: absolute; top: 15px; right: 55px; z-index: 101; @media print { display: none; } } .print { position: fixed; width: 40px; height: 40px; line-height: 41px; font-size: 24px; color: $white; text-align: center; background: $blue; @include border-radius(20px); @include box-shadow($blur: 10px, $color: rgba($black, 0.25)); cursor: pointer; overflow: hidden; float: left; } .logo { margin-left: 40px; @include breakpoint($break-991) { margin-left: 15px; } @include breakpoint($break-767) { margin: 0; text-align: center; } img { width: 200px; height: auto; @include breakpoint($break-991) { width: 175px; } @media print { width: 150px; height: auto; } } .black { display: none; @media print { margin: 0 auto 30px; display: block; } } .white { @media print { display: none; } } } h1 { margin: -20px 0 45px 100px; padding: 25px 25px 25px 30px; width: 100%; font: { family: $prox-nova-ex-con; size: 60px; } color: $white; text-transform: uppercase; background: $red; @include rotate(-3deg); @include breakpoint($break-1199) { margin: -10px 0 45px 50px; padding: 20px 20px 20px 25px; font-size: 50px; } @include breakpoint($break-991) { margin-left: 25px; font-size: 40px; } @include breakpoint($break-767) { margin: 15px 0 35px 15px; padding-left: 20px; font-size: 30px; } @media print { margin: 0; padding: 0; font: { family: sans-serif; size: 30px; } text-align: center; @include rotate(0); } &:before { content: ''; position: absolute; top: 50%; right: 240px; margin-top: -85px; width: 170px; height: 170px; background: { image: image-url($clipboard); repeat: no-repeat; size: contain; } z-index: 100; @include breakpoint($break-1199) { right: 220px; margin-top: -75px; width: 150px; height: 150px; } @include breakpoint($break-991) { right: 70px; margin-top: -60px; width: 120px; height: 120px; } @include breakpoint($break-767) { right: 35px; margin-top: -40px; width: 80px; height: 80px; } @include breakpoint($break-500) { right: 25px; margin-top: -30px; width: 60px; height: 60px; } } &:after { content: ''; position: absolute; left: 0; bottom: -9px; width: 100%; height: 9px; background: { image: image-url($red-bg); repeat: repeat-x; } } span { font-family: $rockwell; @include breakpoint($break-500) { display: block; } @media print { font-family: sans-serif; } &.hidden { @media print { font-family: sans-serif; display: inline !important; } } } } .intro { margin: 20px auto; width: 72%; color: $white; @include breakpoint($break-1199) { width: 85%; } @include breakpoint($break-991) { margin: 20px 0; padding: 0 30px; width: 100%; } @include breakpoint($break-767) { padding: 0 15px; width: 100%; } .lead { line-height: 1.3; font-size: 24px; letter-spacing: 1.5px; @include breakpoint($break-1199) { font-size: 22px; } @include breakpoint($break-767) { font-size: 19px; letter-spacing: 0; } @media print { font: { family: sans-serif; size: 16px; } letter-spacing: 0; } } h2 { margin: 40px auto; padding: 15px 20px; font: { family: $rockwell; size: 48px; } color: $white; text: { align: center; transform: uppercase; } background: $blue-dark; display: table; @include breakpoint($break-1199) { margin: 30px auto; font-size: 44px; } @include breakpoint($break-991) { font-size: 36px; } @include breakpoint($break-767) { font-size: 28px; } @media print { margin: 0 auto 20px; padding: 0; font: { family: sans-serif; size: 26px; } } } ul { list-style: none; @include breakpoint($break-767) { padding-left: 15px; } } li { position: relative; padding-left: 25px; @include icon(before, angle-d-r) { position: absolute; top: 2px; left: 0; font-size: 16px; } } } } section { &.topics { padding: 40px 50px; overflow: auto; @include breakpoint($break-1199) { padding: 40px 25px 25px; } @include breakpoint($break-991) { padding: 30px 20px; } @include breakpoint($break-767) { padding: 30px 0 50px; } @media print { padding: 0; border: { color: $black; style: solid; width: 2px 0; } } .title { padding-left: 30px; width: 60%; font: { family: $prox-nova-ex-con; size: 42px; } color: $red; float: left; @include breakpoint($break-1199) { padding-left: 0; font-size: 40px; } @include breakpoint($break-767) { margin: 0 auto 30px; width: 269px; font-size: 26px; text-align: center; float: none; } @media print { margin: 20px 0; padding: 0; width: 100%; font: { family: sans-serif; size: 22px; weight: bold; } } p { line-height: 1; @include breakpoint($break-991) { margin-bottom: 0; } } } .questions { margin-bottom: 5px; font: { family: $rockwell; size: 32px; } text-transform: uppercase; display: block; @include breakpoint($break-1199) { font-size: 30px; } @include breakpoint($break-991) { font-size: 24px; } @include breakpoint($break-767) { margin-bottom: 0; font: { family: $prox-nova-ex-con; size: 28px; } text-transform: none; display: inline; } } .yes-no { width: 350px; font-weight: bold; color: $white; float: right; @include breakpoint($break-1199) { width: 275px; } @include breakpoint($break-991) { width: 250px; } @include breakpoint($break-767) { padding: 0 10px; width: 100%; } p { margin-bottom: 0; line-height: 1; text-align: center; @include breakpoint($break-767) { float: left; } } .checklist { padding: 17px 0 17px 15px; background: $blue-dark; border-bottom: 4px solid #eee; @include breakpoint($break-767) { border: 0; width: 65%; text-align: left; @media print { padding-left: 0; } } span { @include breakpoint($break-1199) { display: block; } @include breakpoint($break-767) { display: inline; } } } .choices { @include breakpoint($break-767) { width: 35%; } } .yes, .no { width: 50%; height: 70px; line-height: 70px; font-size: 30px; background: $blue; float: left; @include breakpoint($break-1199) { height: 60px; line-height: 60px; font-size: 26px; } @include breakpoint($break-991) { height: 50px; line-height: 50px; font-size: 20px; } @include breakpoint($break-767) { font-size: 16px; } } .yes { border-right: 2px solid #eee; @include breakpoint($break-767) { border-left: 2px solid #eee; border-right: 0; } @media print { border-left: 0; } } .no { border-left: 2px solid #eee; @media print { border-left: 0; } } } } &.question { position: relative; @media print { padding-bottom: 20px; border-bottom: 1px solid $black; } &:last-of-type { @media print { padding-bottom: 0; border-bottom: 0 } } h2 { position: relative; padding: 15px 0 15px 175px; width: 60%; font: { family: $prox-nova-ex-con; size: 28px; } color: $white; z-index: 100; @include breakpoint($break-1199) { padding-left: 125px; font-size: 24px; } @include breakpoint($break-991) { padding-left: 100px; width: 100%; } @include breakpoint($break-767) { padding: 35px 15px 30px; font-size: 20px; text-align: center; } @media print { margin: 30px 0 20px; padding: 0; font: { family: sans-serif; size: 20px; } text-align: left; } &:after { content: ''; position: absolute; left: 0; bottom: -9px; width: 100%; height: 9px; background: { position: -3px 0; repeat: repeat-x; } } } .num { position: absolute; top: -25px; left: 40px; width: 110px; height: 110px; line-height: 110px; font: { family: $rockwell; size: 90px; } text-align: center; @include border-radius(50%); @include breakpoint($break-1199) { top: -15px; left: 20px; width: 90px; height: 90px; line-height: 90px; font-size: 70px; } @include breakpoint($break-991) { top: 13px; left: 15px; width: 70px; height: 70px; line-height: 70px; font-size: 50px; } @include breakpoint($break-767) { position: absolute; top: -25px; left: 50%; margin: { left: -25px; bottom: 10px; } width: 50px; height: 50px; line-height: 50px; font-size: 40px; display: block; } @media print { display: none; } } .title { font-size: 46px; text-transform: uppercase; display: block; @include breakpoint($break-1199) { font-size: 42px; } @include breakpoint($break-767) { font-size: 30px; } @media print { font-size: 20px; text-transform: none; display: inline; } } .checklist { position: relative; margin: -105px 50px 0; padding: 145px 0 35px 100px; background: $white; @include breakpoint($break-1199) { margin: { left: 25px; right: 25px; } padding-left: 40px; } @include breakpoint($break-991) { margin: { left: 20px; right: 20px; } padding-left: 20px; } @include breakpoint($break-767) { margin: { left: 10px; right: 10px; } padding-left: 10px; } @media print { margin: 0; padding: 0; } &:before { content: ''; position: absolute; top: 35px; right: -50px; width: 100%; height: 40px; } h3 { margin-bottom: 15px; width: 55%; font: { family: $rockwell; size: 22px; } color: $red; @include breakpoint($break-767) { margin-bottom: 40px; padding-right: 15px; width: 100%; font-size: 18px; } @media print { width: 100%; font: { family: sans-serif; size: 16px; } } } ul { margin: 0; padding: 0; list-style: none; } li { margin: 7px 0; width: 100%; line-height: 1.2; display: inline-block; &:first-of-type { .checkboxes { span { position: relative; &.yes, &.no { &:before { position: absolute; top: -45px; left: 50%; margin-left: -25px; width: 50px; text-align: center; @include breakpoint($break-767) { top: -35px; } @media print { display: none; } } } &.yes { &:before { content: 'Yes'; } } &.no { &:before { content: 'No'; } } } } } .topic { width: 50%; display: inline-block; } .checkboxes { width: 350px; display: inline-block; float: right; @include breakpoint($break-1199) { width: 275px; } @include breakpoint($break-991) { width: 250px; } @include breakpoint($break-767) { width: 35%; } span { &.yes, &.no { width: 50%; height: 30px; text-align: center; float: left; @include breakpoint($break-767) { height: 20px; } } } label { margin-bottom: 0; height: 30px; @include breakpoint($break-767) { height: 20px; } } } } } &.one { .checklist { margin-top: -50px; padding-top: 90px; @media print { margin-top: 0; padding-top: 0; } &:before { top: -20px; } } } &.blue { h2 { background: $blue; &:after { background-image: image-url($blue-bg); } } .num { background: $blue-dark; } .checklist { &:before { background: $blue; } } } &.red { h2 { background: $red; &:after { background-image: image-url($red-bg); } } .num { background: $red-dark; } .checklist { &:before { background: $red; } } } &.yellow { h2 { background: $yellow; &:after { background-image: image-url($yellow-bg); } } .num { background: $yellow-dark; } .checklist { &:before { background: $yellow; } } } } } .footer { position: relative; width: 100%; height: 25px; background: $blue; &:before { content: ''; position: absolute; top: -14px; width: 100%; height: 16px; background: { image: image-url($tri-blue); repeat: repeat-x; position: center top; size: 23px; } float: left; } } .overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; @include rgba(0, 0, 0, 0.55); cursor: pointer; display: none; z-index: 500; } .popup { position: fixed; top: 0; bottom: 0; left: 0; right: 0; margin: auto; max-width: 900px; width: 100%; max-height: 600px; height: 100%; font-size: 18px; background: $white; border: { style: solid; width: 10px; } @include box-shadow($blur: 20px, $color: rgba($black, 0.4)); display: none; overflow: hidden; z-index: 1000; &.blue { border-color: $blue; .close-icon .fa { background: $blue; } h2 { background: $blue; } } &.red { border-color: $red; .close-icon .fa { background: $red; } h2 { background: $red; } } &.yellow { border-color: $yellow; .close-icon .fa { background: $yellow; } h2 { background: $yellow; } } .popup-inner { padding: 30px; height: 100%; overflow-y: auto; p { &:last-child { margin-bottom: 0; } } } h2 { position: relative; margin-bottom: 20px; padding: 15px 15px 10px; font: { family: $prox-nova-ex-con; size: 34px; } color: $white; @include breakpoint($break-767) { font-size: 26px; } } p { &.indent1 { margin-left: 30px; } &.indent2 { margin-left: 60px; } } ul { margin-left: 30px; } table { margin-bottom: 20px; width: 100%; border: 1px solid $gray; tr { &:nth-child(odd) { background: #eee; } } th { font-weight: bold; text-align: left; background: #ccc; } th, td { padding: 10px; text-align: center; border: 1px solid $gray; vertical-align: middle; @include breakpoint($break-767) { padding: 5px; line-height: 1.1; font-size: 14px; } &.width-25 { width: 25%; } &.width-33 { width: 33%; } &.width-50 { width: 50%; } } } .close-icon { position: relative; top: -10px; right: 30px; float: right; z-index: 100; .fa { position: fixed; width: 40px; height: 40px; line-height: 40px; font-size: 20px; color: $white; text-align: center; cursor: pointer; } } }