:root {
    --input-border: #90BBE1;
    --input-focus-h: 208;
    --input-focus-s: 57%;
    --input-focus-l: 72%;
}

html {
    font-size: 100%;
    height: 100%;
    overflow: hidden;
}

body {
    height: 100%;
    font-family: PSanRegr;
    background-color: white;
    font-weight: 400;
    line-height: 1.65;
    color: #333;
    display: flex;
    flex-direction: column;
}
    body.bg {
        background: url(../img/screenshots/page-5.png) no-repeat center center fixed;
        -webkit-background-size: cover;
        -moz-background-size: cover;
        -o-background-size: cover;
        background-size: cover;
    }

/***********************************************************************************************
 *  Type scale
 */
p {margin: 0 0 1.15rem 0;}

h1, h2, h3, h4, h5,
.h1, .h2, .h3, .h4, .h5 {
  margin: 2.75rem 0 1.05rem;
  font-weight: 400;
  line-height: 1.15;
}

h1, .h1 {
  margin-top: 0;
  font-size: 3.052em;
}

h2, .h2 {font-size: 2.441em;}

h3, .h3 {font-size: 1.953em;}

h4, .h4 {font-size: 1.563em;}

h5, .h5 {font-size: 1.25em;}

h6, .h6 {font-size: 0.95em;}

.text_small_85 {font-size: 0.85em;}
small, .text_small {font-size: 0.8em;}
.text_small_7 {font-size: 0.7em;}
.text_small_76 {font-size: 0.76em;}
.text_small_6 {font-size: 0.6em;}

.text_tiny_5 {font-size: 0.5em;}
.text_tiny {font-size: 0.4em;}
.font-0 {font-size: 0;}


.heading {
    font-size: 2.732em;
}
.heading_smaller {
    font-size: 2.332em;
}

.text_size_110 {
    font-size: 1.1em;
}
.text-xl	{
    font-size: 1.25rem;
    line-height: 1.75rem;
}

.ls-1 {
    letter-spacing: 1px;
}
.ls-1 {
    letter-spacing: 1.3px;
}
.ls-2 {
    letter-spacing: 2px;
}

/* Modifiers */
.bold {
    font-family: PSanBold;
}
.upper {
    text-transform: uppercase;
}
.no-decoration {
    text-decoration: none;
}
.stretch {
    display:inline-block;
    -webkit-transform:scale(2,1); /* Safari and Chrome */
    -moz-transform:scale(2,1); /* Firefox */
    -ms-transform:scale(2,1); /* IE 9 */
    -o-transform:scale(2,1); /* Opera */
    transform:scale(2,1); /* W3C */
}
.list-style-none {
    list-style-type: none;
}

/***********************************************************************************************
 *  Colours
 */
.primary {
    color: #3C557D;
}
.secondary {
    color: #90BBE3;
}
.green {
    color: #8BC53F;
}
.orange {
    color: #F6921E;
}
.red {
    color: #EE4036;
}
.grey-1 {
    color: #E6E6E6;
}
.grey-1-bg {
    background-color: #E6E6E6;
}
.grey-2 {
    color: #545454;
}
.grey-3 {
    color: #818282;
}

/***********************************************************************************************
 *  Show / Hide
 */
.hide {
    display: none;
}
.notvisible {
    visibility: hidden;
}
.opacity-30 {
    opacity: .3;
}

/***********************************************************************************************
 *  Floats & Aligns
 */
.float-left {
    float: left;
}
.float-right {
    float: right;
}
.text-right {
    text-align: right;
}
.text-centre {
    text-align: center;
}
.text-centre.button-container {
   display: flex;
   flex-direction: row;
   flex-wrap: wrap;
   justify-content: center;
   align-items: center;
}
.text-left {
    text-align: left;
}
.margin-centre {
    margin: 0 auto;
}

/***********************************************************************************************
 *  Display
 */
.display-block {
    display: block;
}
.display-inline {
    display: inline;
}
.display-inline.hide {
    display: none;
}

/***********************************************************************************************
 *  Overflow : hidden
 */
.overflow-hidden {
    overflow: hidden;
}
.overflow-hidden .years {
    float: left;
}

/***********************************************************************************************
 *  Margins
 */
.m-0 {
    margin: 0 !important;
}

.mt-0 {
    margin-top: 0px;
}
.mt-1 {
    margin-top: 0.5em;
}
.mt-2 {
    margin-top: 1em;
}
.mt-3 {
    margin-top: 1.5em;
}
.mt-4 {
    margin-top: 2em;
}
.mt-4-3 {
    margin-top: 2.3em;
}
.mt-5 {
    margin-top: 2.57em;
}
.mt-6 {
    margin-top: 3.3em;
}
.mt--1 {
    margin-top: -0.7em;
}
.mt--2-9 {
    margin-top: -2.9em;
}

.mr-4 {
    margin-right: 4em;
}

.mb-0 {
    margin-bottom: 0em;
}
.mb-1 {
    margin-bottom: 0.5em;
}
.mb-2 {
    margin-bottom: 1.5em;
}
.mb-4 {
    margin-bottom: 4em;
}

.ml-10 {
    margin-left: 10px;
}
.ml--1 {
    margin-left: -0.5em;
}

.mtb--10-23 {
    margin-top: -10px;
    margin-bottom: 23px;
}
.mtb-25--25 {
    margin-top: 2.5em;
    margin-bottom: -2.5em;
}

.gap {
    display: inline-block;
    margin-top: 0.51em;
}

/***********************************************************************************************
 *  Padding
 */
.pr-0 {
    padding-right: 0px;
}
.pr-1 {
    padding-right: 0.5em;
}
.pr-2 {
    padding-right: 1em;
}
.pr-3 {
    padding-right: 1.5em;
}
.pr-4 {
    padding-right: 2em;
}
.pr-5 {
    padding-right: 5em;
}
.pr-2-5 {
    padding-right: 2.5625em;
}

.pt-0 {
    padding-top: 0 !important;
}
.pt-0-2 {
    padding-top: 0.2em !important;
}
.pt-0-6 {
    padding-top: 0.6em !important;
}
.pt-1 {
    padding-top: 1em !important;
}
.pt-1-3 {
    padding-top: 1.3em !important;
}
.pt-1-6 {
    padding-top: 1.6em !important;
}
.pt-2-8 {
    padding-top: 2.8em !important;
}

.pl-0 {
    padding-left: 0px !important;
}
.pl-5 {
    padding-left: 5px;
}
.pl-9 {
    padding-left: 9px;
}
.pl-10 {
    padding-left: 10px !important;
}
.pl-15 {
    padding-left: 15px;
}

.pl-0 {
    padding-left: 0px !important;
}

.p-rl-30 {
    padding: 0 30px;
}
.p-rl-333 {
    padding: 0 333px !important;
}

.p-20 {
    padding: 60px;
}
.p-20-38 {
    padding: 20px 38px !important;
}
.p-17-38 {
    padding: 17px 38px !important;
}

/***********************************************************************************************
 *  Positioning
 */
.pr {
    position: relative;
}

.pr-t-0-3 {
    position: relative;
    top: 0.3em;
}
.pr-t-0-3.pdf {
    left: -1em;
}
.pr-t-1-2 {
    position: relative;
    top: 0.5em;
}
.pr-t-1-4.pdf {
    position: relative;
    top: 1rem;
    left: -1rem;
}
.pr-t-1-5 {
    position: relative;
    top: 1.2rem;
}
.pr-t-2-4 {
    position: relative;
    top: 2.4em;
}
.pr-t-2-5 {
    position: relative;
    top: 2.2rem;
}
.pr-t-2 {
    position: relative;
    top: 2em;
}
.pr-t-37{
    position: relative;
    top: 37px;
}
.pr-t-47 {
    position: relative;
    top: 47px;
}
.pr-t-70 {
    position: relative;
    top: 70px;
}
.pr-t-l {
    position: relative;
    top: 18px;
    left: -35px;
}
.pr--t45-l97 {
    position: relative;
    top: -45px;
    left: 97px;
}
.pr-t-460 {
    position: relative;
    top: 461px;
}
.pr-t-7 {
    position: relative;
    top: 7px;
}
.pr-t-26 {
    position: relative;
    top: 26px;
}
.pr-t-34 {
    position: relative;
    top: 34px;
}
.pr-t--15 {
    position: relative;
    top: -15px;
}
.pr-tr--1-45 {
    position: relative;
    top: -1px;
    right: 45px;
}
.pr-t--1 {
    position: relative;
    top: -1em;
}
.pr-l-10 {
    position: relative;
    left: -10px;
}
.pr-l-485 {
    position: relative;
    left: 485px;
}
.pr-tx-lx {
    position: relative;
    top: -119px;
    left: 513px;
}
.pr-t44-l185 {
    position: relative;
    top: -44px;
    left: 185px;
}
.pr-t17-l320 {
    position: relative;
    top: 17px;
    left: 320px;
}
.pr-t17-l207 {
    position: relative;
    top: 17px;
    left: 207px;
}
.pr-t18-l168 {
    position: relative;
    top: 18px;
    left: 168px;
}
.pr--t10-r42 {
    position: relative;
    top: -10px;
    right: 42px;
}
.pr--t92-r42 {
    position: relative;
    top: -92px;
    right: 42px;
}
.pr--t29-l355 {
    position: relative;
    top: -29px;
    left: 355px;
}
.pr-t17-l282 {
    position: relative;
    top: 17px;
    left: 282px;
}
.pr-t17-l124 {
    position: relative;
    top: 17px;
    left: 124px;
}
.pr-r76 {
    position: relative;
    right: 76px;
}

.pr-t--3 {
    position: relative;
    top: -3px;
}
.pr-t--8 {
    position: relative;
    top: -8px;
}
.pr-t--10 {
    position: relative;
    top: -10px;
}
.pr-l--20 {
    position: relative;
    left: -20px;
}
.pr-t61-l218 {
    position: relative;
    top: -61px;
    left: 218px;
}
.pr-t60-l147 {
    position: relative;
    top: -60px;
    left: 147px;
}
.pr-t35-l147 {
    position: relative;
    top: -35px;
    left: 147px;
}

.pa {
    position: absolute;
}
.pa-32 {
    position: absolute;
    top: 32px;
}
.pa-65 {
    position: absolute;
    top: 65px;
}
.pa-t-10 {
    position: absolute;
    top: -10px;
}
.pa-t-15 {
    position: absolute;
    top: 15px;
}
.pa-t-40 {
    position: absolute;
    top: 40px;
}
.pa-t24-l50 {
    position: absolute;
    top: 24px;
    left: 50px;
}
.pa-b122 {
    position: absolute;
    bottom: 122px;
}
.pa-b122-l295 {
    position: absolute;
    bottom: 122px;
    left: 295px;
}

.z-10000 {
    position: relative;
    z-index: 10000;
}
.z-10 {
    position: relative;
    z-index: 10;
}

/***********************************************************************************************
 *  Borders
 */
.bb-1 {
    border-bottom: 1px solid #ccc;
    margin-bottom: 15px;
}
.border-grey {
    border: 1px solid #DDD !important;
}

/***********************************************************************************************
 *  Height
 */
.mh-container {
    min-height: 513px;
}

/***********************************************************************************************
 *  Buttons
 */
.button {
    border: 1px solid #90BBE3;
    width: 266px;
    padding: 22px 38px;
    margin: 15px 93px;
}
.button:hover {
    background-color: #3C557D;
    cursor: pointer;
}
.button-grey {
    margin: 15px 93px;
    background-color: #ddd;
}
.button-grey:hover {
    background-color: #ddd;
    cursor: pointer;
}
    .button .action {
        font-size: 2.2em;
    }
    .button:hover .action {
        color: #fff;
    }

    .button.disabled:hover .action {
        color: #3C557D;
    }
    .button .info {
        text-transform: uppercase;
        font-size: 0.78em;
        font-family: PSanBold;
        letter-spacing: 0.1em;
        top: -0.5em;
        position: relative;
    }
    .button .info.alt {
        top: -0.2em;
        left: 2.4em;
        font-size: 1.2em;
    }
    .button .info.altpopup {
        top: -0.2em;
        left: 6px;
        font-size: 1.2em;
    }

.button.next {
    width: 116px;
    padding: 16px 30px 16px 16px;
    margin: 15px 0 0 0;
    font-size: 0.5em;
    background: url(../img/calculator/right_arrow.svg) no-repeat;
    background-size: 14px 63px;
    background-position: 134px 0px;
}
    .button.next:hover {
        background-color: #3C557D;
        cursor: pointer;
    }
    .button.next.hover {
        background-color: #3C557D;
        cursor: pointer;
    }
    .button.next.hover .action {
        color: #fff;
    }
    .button.disabled {
        opacity: 0.4;
    }
    .button.disabled:hover {
        background-color: #fff;
        cursor: default;
    }
.button.calculate {
    width: 180px;
    padding: 16px 30px 16px 16px;
    margin: 15px 0 0 0;
    font-size: 0.5em;
    background: url(../img/calculator/right_arrow.svg) no-repeat;
    background-size: 14px 63px;
    background-position: 190px 0px;
}
    .button.calculate:hover {
        background-color: #3C557D;
        cursor: pointer;
    }
.button.calculatealt {
    width: 180px;
    padding: 16px 30px 16px 16px;
    margin: 15px 0 0 0;
    font-size: 0.5em;
    background: url(../img/calculator/right_arrow.svg) no-repeat;
    background-size: 14px 63px;
    background-position: 190px 0px;
    float: right;
}
    .button.calculatealt:hover {
        background-color: #3C557D;
        cursor: pointer;
    }
.button.share {
    width: 204px;
    padding: 16px 30px 16px 16px;
    margin: 0;
    font-size: 0.5em;
    background: url(../img/calculator/right_arrow.svg) no-repeat;
    background-size: 14px 63px;
    background-position: 214px 0px;
    background-color: #3C557D;
    border: 1px solid #90BBE3;
}
    .button.share:hover {
        cursor: pointer;
    }
    .button.share .action {
        color: #fff;
    }
.button.savesurvey {
    width: 263px;
    padding: 5px 6px;
    margin: 0 auto;
}
    .button.savesurvey:hover {
        background-color: #3C557D;
        cursor: pointer;
    }
    .button.savesurvey.disabled:hover {
        background-color: #fff;
        cursor: default;
    }

.couple .button.share {
    width: 187px;
    background-position: 202px 0px;
}
.button.personalised {
    width: 204px;
    padding: 16px 30px 16px 16px;
    margin: 0;
    font-size: 0.5em;
    background: url(../img/calculator/right_arrow.svg) no-repeat;
    background-size: 14px 63px;
    background-position: 214px 0px;
    background-color: #3C557D;
    border: 1px solid #90BBE3;
}
    .button.personalised:hover {
        cursor: pointer;
    }
    .button.personalised .action {
        color: #fff;
    }
.button.cancer,
.button.advisor {
    margin: 15px;
}

.couple .button.personalised {
    width: 187px;
    background-position: 208px 0px;
}
.button-terms {
    border: 1px solid #90BBE3;
    width: 280px;
    padding: 22px 38px;
    margin: 0px 0px 20px 0px;
}
.button-terms:hover {
    background-color: #3C557D;
    cursor: pointer;
}
    .button-terms .action {
        font-size: 2.2em;
    }
    .button-terms:hover .action {
        color: #fff;
    }

.btn {
    display: inline-block;
    padding: 6px 12px;
    margin-bottom: 0;
    font-size: 13px;
    font-weight: normal;
    line-height: 1.428571429;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    cursor: pointer;
    border: 1px solid transparent;
    border-radius: 4px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -o-user-select: none;
    user-select: none;
}
.btn:focus {
    outline: thin dotted;
}

.btn-primary {
    color: #fff;
    background-color: #3C557D;
    border-color: #3C557D;
    cursor: default;
}
.btn-primary.nav {
    cursor: pointer;
}
.btn-secondary {
    color: #fff;
    background-color: #90BBE3;
    border-color: #90BBE3;
}
.btn-default {
    color: #3C557D;
    background-color: #fff;
    border-color: #fff;
    cursor: default;
}

.btn-lg {
    padding: 10px 16px;
    font-size: 18px;
    line-height: 1.33;
    border-radius: 6px;
}

.btn-circle {
    width: 32px;
    height: 32px;
    text-align: center;
    padding: 6px 0;
    font-size: 10px;
    line-height: 1.428571429;
    border-radius: 17px;
    margin: 15px 18px 0px 41px;
    font-family: PSanBold;
}

.btn-circle.btn-lg {
    width: 50px;
    height: 50px;
    padding: 10px 16px;
    font-size: 18px;
    line-height: 1.33;
    border-radius: 25px;
}

.btn-circle.btn-secondary:hover {
    background-color: #3C557D;
    border-color: #3C557D;
}

/***********************************************************************************************
 *  Button Group
 */
.btn-group button {
    background-color: #ffffff;
    border: 1px solid #90BBE3;
    color: #90BBE3;
    padding: 21px 55px;
    cursor: pointer;
    float: left;
}
.btn-group.confidence button {
    padding: 21px 90px;
    width: 33.3%;
}
.btn-group button.slim {
    padding: 13px 55px;
}


.btn-group button:not(:last-child) {
    border-right: none; /* Prevent double borders */
}

/* Clear floats (clearfix hack) */
.btn-group:after {
    content: "";
    clear: both;
    display: table;
}

/* Add a background color on hover */
.btn-group button:hover,
.btn-group button.active {
    background-color: #3C557D;
}

.btn-group.check button {
    padding: 17.85px 55px;
}
.btn-group.check button:not(:last-child) {
    border: 1px solid #90BBE3;
    border-bottom: none; /* Prevent double borders */
}
.btn-group.check.col2 button {
    border-left: none; /* Prevent double borders */
}
.btn-group.check.col1 button {
    padding: 21.05px 55px;
}
.ipad .btn-group.check.col1 button {
    padding: 27.9px 55px;
}

/***********************************************************************************************
 *  Links
 */
.link-back-to-alt-results {
    cursor: pointer;
}
.underline {
    text-decoration: underline;
}
.link {
    text-decoration: underline;
    cursor: pointer;
}

/***********************************************************************************************
 *  Tabs
 */

.tabs {
    float: none;
    list-style: none;
    position: relative;
    text-align: left;
    margin-top: 38px;
}
.tabs li {
    float: right;
    display: block;
}
.tabs li:first-child {
    margin-right: 50px;
}
.tabs input[type="radio"] {
    position: absolute;
    top: 0;
    left: -9999px;
}
.tabs label {
    display: block;
    padding: 7px 16px;
    border-radius: 0;
    font-size: 0.72rem;
    font-weight: normal;
    text-transform: uppercase;
    color: #3C557D;
    background: #fff;
    cursor: pointer;
    position: relative;
    top: 0px;
    -moz-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    -webkit-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
    border-top: 1px solid #90BBE3;
    border-left: 0;
    border-right: 0;
    letter-spacing: 1.5px;
}
.tabs label:hover {
    background: #3C557D;
    color: #fff;
}
.pdf .tabs label {
    padding: 7px 28px;
}
.couple .pdf .scale.custom .pa {
    top: 1.5px;
}
.tabs .tab-content {
    z-index: 2;
    display: none;
    overflow: hidden;
    width: 92.6%;
    font-size: 17px;
    line-height: 25px;
    padding: 40px 40px 0 40px;
    position: absolute;
    top: 34px;
    left: 0;
    background: rgba(255, 255, 255, 0.5);
    border-top: 2px solid #3C557D;
}
.tabs [id^="tab"]:checked + label {
    top: 0;
    padding-top: 7px;
    padding-bottom: 8px;
    background: #fff;
    border-top: 2px solid #3C557D;
    border-left: 2px solid #3C557D;
    border-right: 2px solid #3C557D;
    border-bottom: 0;
    color: #3C557D;
    z-index: 3;
    font-family: PSanBold;
}
.tabs [id^="tab"]:checked ~ [id^="tab-content"] {
    display: block;
}
.border-right label {
    border-right: 1px solid #90BBE3;
}
.border-left label {
    border-left: 1px solid #90BBE3;
}

/***********************************************************************************************
 *  Modals
 */
.blocker {
    position: fixed;
    top: 0; right: 0; bottom: 0; left: 0;
    width: 100%; height: 100%;
    overflow: auto;
    z-index: 10;
    padding: 20px;
    box-sizing: border-box;
    background-color: rgb(255, 255, 255);
    background-color: rgba(255, 255, 255, 0.75);
    text-align: center;
}
.blocker:before{
    content: "";
    display: inline-block;
    height: 100%;
    vertical-align: middle;
    margin-right: -0.05em;
}
.blocker.behind {
    background-color: transparent;
}
.modal {
    display: none;
    vertical-align: middle;
    position: relative;
    z-index: 20;
    max-width: 400px;
    box-sizing: border-box;
    width: 90%;
    background: #fff;
    padding: 15px 15px;
    border: 1px solid #90BBE3;
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    -o-border-radius: 0px;
    -ms-border-radius: 0px;
    border-radius: 0px;
    -webkit-box-shadow: 0 8px 24px rgba(149,157,165,.2);
    -moz-box-shadow: 0 8px 24px rgba(149,157,165,.2);
    -o-box-shadow: 0 8px 24px rgba(149,157,165,.2);
    -ms-box-shadow: 0 8px 24px rgba(149,157,165,.2);
    box-shadow: 0 8px 24px rgba(149,157,165,.2);
    text-align: left;
}
.modal a.close-modal {
    position: absolute;
    top: -12.5px;
    right: -12.5px;
    display: block;
    width: 30px;
    height: 30px;
    text-indent: -9999px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
    background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAAAAXNSR0IArs4c6QAAA3hJREFUaAXlm8+K00Acx7MiCIJH/yw+gA9g25O49SL4AO3Bp1jw5NvktC+wF88qevK4BU97EmzxUBCEolK/n5gp3W6TTJPfpNPNF37MNsl85/vN/DaTmU6PknC4K+pniqeKJ3k8UnkvDxXJzzy+q/yaxxeVHxW/FNHjgRSeKt4rFoplzaAuHHDBGR2eS9G54reirsmienDCTRt7xwsp+KAoEmt9nLaGitZxrBbPFNaGfPloGw2t4JVamSt8xYW6Dg1oCYo3Yv+rCGViV160oMkcd8SYKnYV1Nb1aEOjCe6L5ZOiLfF120EjWhuBu3YIZt1NQmujnk5F4MgOpURzLfAwOBSTmzp3fpDxuI/pabxpqOoz2r2HLAb0GMbZKlNV5/Hg9XJypguryA7lPF5KMdTZQzHjqxNPhWhzIuAruOl1eNqKEx1tSh5rfbxdw7mOxCq4qS68ZTjKS1YVvilu559vWvFHhh4rZrdyZ69Vmpgdj8fJbDZLJpNJ0uv1cnr/gjrUhQMuI+ANjyuwftQ0bbL6Erp0mM/ny8Fg4M3LtdRxgMtKl3jwmIHVxYXChFy94/Rmpa/pTbNUhstKV+4Rr8lLQ9KlUvJKLyG8yvQ2s9SBy1Jb7jV5a0yapfF6apaZLjLLcWtd4sNrmJUMHyM+1xibTjH82Zh01TNlhsrOhdKTe00uAzZQmN6+KW+sDa/JD2PSVQ873m29yf+1Q9VDzfEYlHi1G5LKBBWZbtEsHbFwb1oYDwr1ZiF/2bnCSg1OBE/pfr9/bWx26UxJL3ONPISOLKUvQza0LZUxSKyjpdTGa/vDEr25rddbMM0Q3O6Lx3rqFvU+x6UrRKQY7tyrZecmD9FODy8uLizTmilwNj0kraNcAJhOp5aGVwsAGD5VmJBrWWbJSgWT9zrzWepQF47RaGSiKfeGx6Szi3gzmX/HHbihwBser4B9UJYpFBNX4R6vTn3VQnez0SymnrHQMsRYGTr1dSk34ljRqS/EMd2pLQ8YBp3a1PLfcqCpo8gtHkZFHKkTX6fs3MY0blKnth66rKCnU0VRGu37ONrQaA4eZDFtWAu2fXj9zjFkxTBOo8F7t926gTp/83Kyzzcy2kZD6xiqxTYnHLRFm3vHiRSwNSjkz3hoIzo8lCKWUlg/YtGs7tObunDAZfpDLbfEI15zsEIY3U/x/gHHc/G1zltnAgAAAABJRU5ErkJggg==');
}

#devicenotrecommended {
    position: absolute;
    left: 0px;
    width: 100%;
}

.form-group {
    margin-bottom: 1rem;
}
.form-control {
    display: block;
    width: 68%;
    height: calc(1.5em + .75rem + 2px);
    padding: .375rem .75rem;
    font-size: .875rem;
    font-weight: 400;
    line-height: 1.5;
    color: #5c6873;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #e4e7ea;
    border-radius: .25rem;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
    margin: 0 auto;
}
textarea.form-control {
    height: auto;
}
.form-control.is-invalid, .was-validated .form-control:invalid {
    border-color: #f86c6b;
    padding-right: calc(1.5em + .75rem);
    background-image: url(data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23f86c6b' viewBox='-2 -2 7 7'%3e%3cpath stroke='%23f86c6b' d='M0 0l3 3m0-3L0 3'/%3e%3ccircle r='.5'/%3e%3ccircle cx='3' r='.5'/%3e%3ccircle cy='3' r='.5'/%3e%3ccircle cx='3' cy='3' r='.5'/%3e%3c/svg%3E);
    background-repeat: no-repeat;
    background-position: center right calc(.375em + .1875rem);
    background-size: calc(.75em + .375rem) calc(.75em + .375rem);
}
textarea.form-control.is-invalid {
    padding-right: calc(1.5em + .75rem);
    background-position: top calc(.375em + .1875rem) right calc(.375em + .1875rem);
}

.invalid-feedback {
    display: none;
    width: 100%;
    margin-top: .25rem;
    font-size: 80%;
    color: #f86c6b;
}

.form-control.is-invalid~.invalid-feedback,
.form-control.is-invalid~.invalid-tooltip,
.was-validated .form-control:invalid~.invalid-feedback,
.was-validated .form-control:invalid~.invalid-tooltip {
    display: block;
}


#survey_answer {
    resize: vertical;
    overflow: auto;
    border: 1px solid #90BBE3;
}
#survey_answer:focus {
    outline: none !important;
    border: 1px solid #90BBE3;
    box-shadow: 0 0 10px #719ECE;
}
.button.savesurvey .action {
    font-size: 1.8em;
}

label.advisor_email {
    position: absolute;
    top: 277px;
    left: 41px;
}
#advisor_email {
    font-size: max(16px, 1em);
    font-family: inherit;
    padding: 1.25em 0.5em;
    color: #90BBE3;
    background-color: #fff;
    border: 1px solid #90BBE3;
    border-radius: 0px;
}
#advisor_email:focus {
    border-color: hsl(var(--input-focus-h), var(--input-focus-s), var(--input-focus-l));
    box-shadow: 0 0 0 3px hsla(var(--input-focus-h), var(--input-focus-s), calc(var(--input-focus-l) +
          40%), 0.8);
}
.error {
    text-align: left;
    position: relative;
    left: 17px;
}
#advisor_email:-webkit-autofill,
#advisor_email:-webkit-autofill:hover,
#advisor_email:-webkit-autofill:focus
{
    color: #90BBE3 !important;
    border-color: hsl(var(--input-focus-h), var(--input-focus-s), var(--input-focus-l));
    box-shadow: 0 0 0 3px hsla(var(--input-focus-h), var(--input-focus-s), calc(var(--input-focus-l) +
          40%), 0.8);
}

/***********************************************************************************************
 *  Spinner
 */
#spinner img{
    animation-name: ckw;
    animation-duration: 1.5s;
    animation-iteration-count: infinite;
    transform-origin: 50% 50%;
    display: inline-block;
    position: absolute;
    width: 100px;
    height: 100px;
    top: 100px;
    left: 465px;
}
@keyframes ckw {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
#calculating_figures {
    position: absolute;
    width: 100%;
}

/***********************************************************************************************
 *  Slider
 */
.slider {
    position: relative;
    padding: 0px 179px 50px 17px;
    margin: 95px 0 44px 0;
    z-index: 2;
}
.noUi-connects {
    background-color: #90BBE3;
}
.noUi-connect {
    background: #3C557D;
}
.noUi-handle {
    border: 1px solid #3C557D;
    border-radius: 3px;
    background: #3C557D;
    cursor: default;
    box-shadow: inset 0 0 1px #FFF, inset 0 1px 7px #3c557d85, 0 3px 6px -3px #3C557D;
}
.noUi-horizontal .noUi-handle {
    width: 45px;
    height: 38px;
    right: -22px;
    top: -12px;
}
.noUi-handle:before,
.noUi-handle:after {
  content: "";
  display: block;
  position: absolute;
  height: 23px;
  width: 1px;
  background: #E8E7E6;
  left: 19px;
  top: 6px;
}
.noUi-handle:after {
  left: 24px;
}
.noUi-pips {
    color: #3C557D;
}
.noUi-marker {
    background: #90BBE3;
}
.noUi-marker-large {
    background: #3C557D;
}
.noUi-marker-sub {
    background: #90BBE3;
}
.noUi-value-sub {
    color: #90bbe39e;
}
#slider-input {
    padding: 21px;
    border: 1px solid #90BBE3;
    color: #90BBE3;
    font-size: 1.62em;
    margin: -20px 0px 0px 18px;
    width: 72.63%;
    position: relative;
    top: 63px;
    z-index: 1;
}
#slider-input:focus {
    outline: none;
    border: 1px solid #3C557D;
    background-color: #90bbe314;
    -webkit-transition: all 0.60s ease-in-out;
    -moz-transition: all 0.60s ease-in-out;
    -ms-transition: all 0.60s ease-in-out;
    -o-transition: all 0.60s ease-in-out;
}
#slider-input-hint,
#slider-input-initial-hint {
    position: absolute;
    font-size: 0.6em;
    top: 193px;
    left: 193px;
}
#slider-scale-1000-plus {
    position: absolute;
    top: 401px;
    right: 172px;
}
#slider-input-1000-plus {
    position: absolute;
    top: 244px;
    left: 332px;
    font-size: 1.62em;
}
#slider-edit-icon {
    position: absolute;
    font-size: 1.5em;
    right: 245px;
    top: 170px;
    color: #90BBE3;
}

/***********************************************************************************************
 *  Images
 */
.contain {
    max-width:100%;
    max-height:100%
}
#question_img {
    animation: image_animate 2s linear;
}
@keyframes image_animate {
    0% { opacity: 0; }
    100% { opacity: 1; }
}
.combo #question_img {
    left: -190px;
}
#lifespan_two.combo #question_img {
    left: -120px;
}
#lifespan_two.woman #question_img {
    left: -90px;
}
#lifespan_three.combo #question_img {
    left: -85px;
}
#lifespan_four.combo #question_img {
    left: -178px;
}
#lifespan_four.woman #question_img {
    left: -22px;
}
#lifespan_four.man #question_img {
    left: -22px;
}
#lifespan_five.combo #question_img {
    left: -95px;
}
#lifespan_five.woman #question_img {
    left: 18px;
}
#lifespan_five.man #question_img {
    left: -45px;
}
#lifespan_six.combo #question_img {
    left: -100px;
}
#lifespan_six.woman #question_img {
    left: -35px;
}
#lifespan_seven.combo #question_img {
    left: -115px;
}
#lifespan_seven.woman #question_img {
    left: 20px;
}
#lifespan_eight.woman #question_img {
    left: 12px;
}
#lifespan_eight.man #question_img {
    left: -5px;
}
#lifespan_nine.combo #question_img {
    left: -115px;
}
#lifespan_nine.woman #question_img {
    left: 20px;
}
#lifespan_eleven.combo #question_img {
    left: -215px;
}
#lifespan_eleven.woman #question_img {
    left: -10px;
}
#lifespan_eleven.man #question_img {
    left: 30px;
}


/***********************************************************************************************
 *  Help
 */
.circle-outline {
    width: 34px;
    height: 34px;
    line-height: 34px;

    -moz-border-radius: 50%;
    border-radius: 50%;

    text-align: center;
    font-family: PSanBold;
    font-size: 9px;
    border: 1.5px solid #90BBE3;
    background-color: #ffffff;

    padding: 1px 3px 1px 5px;
    margin: 0 0 0 16px;

    position: relative;
    top: -3px;
}


/***********************************************************************************************
 *  Containers and rows
 */
.container {
    width: 100%;
    margin: 0 auto;
    padding: 0px;
    flex: 1 0 auto;
}
.row {
}
.footer {
    flex-shrink: 0;
    height: 5.9em;
}
#lifespan_start+.footer {
    height: 5.6em;
}
.question {
    font-size: 3em;
    margin-top: 40px;
    min-height: 307px;
    /*overflow-y: hidden;*/
}
.question.f27 {
    font-size: 2.7em;
}
.combo .question,
.combo .question.f27 {
    font-size: 2.5em;
}
.question.f14 {
    font-size: 1.4em;
}
.question.f18 {
    font-size: 1.8em;
}
#lifespan_four .question {
    width: 76%;
}
#lifespan_ten .question.f14 {
    line-height: 1.2;
}
#lifespan_ten .question.f14 > .primary:first-child {
    font-size: 0.73em;
}
.question.h2 {
    line-height: 1.6;
}
#lifespan_ten .question {
    margin-top: 15px;
}

/***********************************************************************************************
 *  Grids
 */
.grid {
    display: flex;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
    list-style: none;
}
.grid>* {
    padding-left: 40px;
}
.grid-collapse,
.grid-column-collapse {
    margin-left: 0;
}
.grid-collapse>* {
    padding-left: 0px;
}


/***********************************************************************************************
 *  Grids -- PDF
 */
.grid.pdf {
    display: -webkit-box;
}


/***********************************************************************************************
 *  Widths
 */
[class*='width'] {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
}

.w-100,
.width-1-1 {
    width: 100%;
}
.w-85 {
    width: 85%;
}
.w-70 {
    width: 70%;
}
.w-60 {
    width: 60%;
}
.w-50,
.width-1-2 {
    width: 50%;
}
.width-1-3 {
    width: 33.32%;
}
.width-2-3 {
    width: 66.64%;
}
.width-1-4 {
    width: 25%;
}
.width-3-4 {
    width: 75%;
}
.width-1-5 {
    width: 20%;
}
.width-2-5 {
    width: 40%;
}
.width-3-5 {
    width: 60%;
}
.width-4-5 {
    width: 80%;
}
.width-1-6 {
    width: calc(100% * 1 / 6.001);
}
.width-5-6 {
    width: calc(100% * 5 / 6.001);
}
.width-1-12 {
    width: calc(100% * 2 / 15.001);
}
.width-11-12 {
    width: calc(100% * 13 / 15.001);
}
.w-4 {
    width: 4%;
}
.w-7 {
    width: 7%;
}
.edge .w-7,
.gecko .w-7 {
    width: 12%;
}
.chrome .w-7 {
    width: 6%;
}
.w-135 {
    width: 135px;
}
.w-18-h-18 {
    width: 18px;
    height:  18px;
}

/***********************************************************************************************
 *  Popover / Tips
 */
 .tippy-box[data-theme~='mylifespan-small'] {
    background-color: white;
    color: #545454;
    border: 1px solid #90BBE3;
    font-size: 1em;
    border-radius: 0;
    -webkit-box-shadow: 0 8px 24px rgba(149,157,165,.2);
    -moz-box-shadow: 0 8px 24px rgba(149,157,165,.2);
    box-shadow: 0 8px 24px rgba(149,157,165,.2);
    width: 110px;
    padding: 10px;
}

    .tippy-box[data-theme~='mylifespan-small'] .tippy-content {
        text-align: center;
    }

.tippy-box[data-theme~='mylifespan'] {
    background-color: white;
    color: #545454;
    border: 1px solid #90BBE3;
    font-size: 1em;
    border-radius: 0;
    -webkit-box-shadow: 0 8px 24px rgba(149,157,165,.2);
    -moz-box-shadow: 0 8px 24px rgba(149,157,165,.2);
    box-shadow: 0 8px 24px rgba(149,157,165,.2);
    width: 175px;
    padding: 10px;
}

.tippy-box[data-theme~='mylifespan-large'] {
    background-color: white;
    color: #545454;
    border: 1px solid #90BBE3;
    font-size: 1em;
    border-radius: 0;
    -webkit-box-shadow: 0 8px 24px rgba(149,157,165,.2);
    -moz-box-shadow: 0 8px 24px rgba(149,157,165,.2);
    box-shadow: 0 8px 24px rgba(149,157,165,.2);
    width: 360px;
    padding: 10px;
}

.option_help {
    top: -19px;
    left: -23px;
    font-size: 12px;
    padding: 0px 5px 0px 6px;
}


/***********************************************************************************************
 *  Home page :: Terms and Conditions
 */
.read-terms {
    white-space: normal;
    text-align: left;
    padding: 6px 0;
    margin: 0 8px;
    display: inline-block;
    box-sizing: border-box;
    position: relative;
    left: 15px;
}
    .read-terms .agree-checkbox {
        padding-left: 40px;
        position: relative;
    }

.agree-checkbox input[type='checkbox'] {
    position: absolute;
    clip: rect(0, 0, 1px, 1px);
}
.agree-checkbox .agree-checkbox-tick {
    position: absolute;
    left: 0;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
    height: 24px;
    width: 24px;
    border-radius: 24px 24px 24px 24px;
    background: #FFF;
}
.agree-checkbox .agree-checkbox-tick {
    border: 1px solid #90BBE3;
    top: 30%;
    border-radius: 0px;
}
.agree-checkbox .agree-checkbox-tick:hover {
    cursor: pointer;
}
.agree-checkbox .agree-checkbox-tick svg {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    -webkit-transition: opacity 0.2s linear;
    -moz-transition: opacity 0.2s linear;
    transition: opacity 0.2s linear;
    opacity: 0;
}
.agree-checkbox .agree-checkbox-tick svg .fill {
    fill: #90bbe3;
}
#agree-label-text {
    position: relative;
    top: -5px;
}
#lifespan_terms h1 {
    font-size: 2.052em;
}
#lifespan_terms h2 {
    font-size: 1.441em;
}
#lifespan_terms h3 {
    font-size: 1.153em;
}
#lifespan_terms h4 {
    font-size: 1em;
}
#lifespan_terms p.grey-2,
#lifespan_terms ul.grey-2 {
    font-size: 0.8rem;
}

/***********************************************************************************************
 *  Results == Single
 */
/* Scale number spacing is
set in survey.php/setresultoutput */

.confidence_50 .on {
    color: #EE4036;
}
.confidence_75 .on {
    color: #f6921e;
}
.confidence_95 .on {
    color: #8BC53F;
}

.dotted-line {
    border: 2px dotted #3C557D;
    border-style: none none dashed;
    color: #fff;
    margin-top: 22px;
    position: relative;
    z-index: 2;
}

.bar-heading {
    font-size: 1.6rem;
    text-align: center;
}

/* Vertical lines spacing is
set in survey.php/setresultoutput */
.vertical-line {
    height: 82px;
    overflow: hidden;
    width: 1px;
    padding-left: 9.15px;
    padding-right: 8.15px;
    position: relative;
    z-index: -1;
}
.vertical-line.single {
    height: 82px;
}
.vertical-line:first-child {
    padding-left: 4.15px;
    padding-right: 4px;
}

.years.single {
    padding-left: 4.15px;
    padding-right: 5px;
}

/* Bar */
.bar {
    height: 34px;
}
.single .bar {
    margin-top: 40px;
    position: relative;
    z-index: 1;
}
.green-bg {
    background-color: #8BC53F;
    animation: green_bg_animate 2s linear;
}
.orange-bg {
    background-color: #F6921E;
    animation: orange_bg_animate 2s linear;
}
.red-bg {
    background-color: #EE4036;
    animation: red_bg_animate 2s linear;
}
@keyframes green_bg_animate {
    0% { background-color: #8bc53f14; }
    100% { background-color: #8BC53F; }
}
@keyframes orange_bg_animate {
    0% { background-color: #f6921e14; }
    100% { background-color: #F6921E; }
}
@keyframes red_bg_animate {
    0% { background-color: #ee40361a; }
    100% { background-color: #EE4036; }
}

.start_0 {
    margin-left: 0;
}
.start_5 {
    margin-left: calc(100px * 0.5);
}
.start_10 {
    margin-left: calc(100px * 1);
}
.start_15 {
    margin-left: calc(100px * 1.5);
}
.start_20 {
    margin-left: calc(100px * 2);
}
.start_25 {
    margin-left: calc(100px * 2.5);
}
.start_30 {
    margin-left: calc(100px * 3);
}


.start_50 {
    margin-left: 0;
}
.start_55 {
    margin-left: calc(79px * 1);
}
.start_60 {
    margin-left: calc(79px * 2);
}
.start_65 {
    margin-left: calc(79px * 3);
}
.start_70 {
    margin-left: calc(79px * 4);
}
.start_75 {
    margin-left: calc(79px * 5);
}
.start_80 {
    margin-left: calc(79px * 6);
}
.length_5 {
    width: calc((79px * 1) + 20px);
}
.length_10 {
    width: calc((79px * 2) + 20px);
}
.length_15 {
    width: calc((79px * 3) + 20px);
}
.length_20 {
    width: calc((79px * 4) + 20px);
}
.length_25 {
    width: calc((79px * 5) + 20px);
}
.length_30 {
    width: calc((79px * 6) + 20px);
}
.length_35 {
    width: calc((79px * 7) + 20px);
}
    .length_35_2 {
        width: calc((79px * 7) + (2 * 20px));
    }
.length_40 {
    width: calc((79px * 8) + 20px);
}
    .length_40_2 {
        width: calc((79px * 8) + (2 * 20px));
    }
.length_45 {
    width: calc((79px * 9) + 20px);
}
    .length_45_2 {
        width: calc((79px * 9) + (2 * 20px));
    }

.age-name {
    background: url(../img/calculator/right_arrow_dark.svg) no-repeat;
    background-size: 4px 13px;
    background-position: 26px 6px;
    width: 100%;
}

/* Result Box */
.result-box {
    border: 1px solid #90BBE3;
    padding: 16px 28px 9px 28px;
    margin: 3px 0 0 0;
}
.pdf .result-box {
    border-top: 2px solid #90BBE3;
    border-right: 0;
    border-bottom: 2px solid #90BBE3;
    border-left: 0;
    padding: 16px 28px 9px 28px;
    margin: 3px 0 0 0;
}
.single .couple-box {
    display: none;
}
.box-text {
    font-size: 16px;
    line-height: 21px;
    display: inline-block;
}
.box-text-smaller {
    font-size: 14px;
    line-height: 21px;
    display: inline-block;
}
.help-retire-age.circle-outline {
    padding: 1px 4px 1px 5px;
    margin-left: -50px;
}
.help-life-expectancy.circle-outline {
    padding: 1px 4px 1px 5px;
    margin-left: -32px;
}


/* Result Text */
.help-confidence.circle-outline {
    padding: 1px 4px 1px 5px;
    margin-left: -7px;
    position: relative;
    top: -8px;
}
.result-lead {
    margin: 0 0 1.05rem 2rem;
    font-size: 1.953em;
    font-weight: 400;
    line-height: 1.15;
}
.result-lead.pdf-text {
    margin: 0 0 1.05rem 0;
}
.result-p {
    margin: 0 0 1.05rem 2rem;
}
.result-p.pdf-text {
    margin: 0 0 1.05rem 0;
}
.help-personalised-results.circle-outline {
    margin: 0 0 0 7px;
    top: -5px;
}

/***********************************************************************************************
 *  Results == Couple
 */
.couple .scale .age + .age {
    margin-left: 56px;
}

.couple .dotted-line {
    margin-top: 0px;
}

/* Bar */
.couple .bar {
    height: 20px;
}
.couple .bar.your {
    margin-top: 15px;
    height: 20px;
}
.couple .bar.spouse {
    margin-top: 8px;
}
.couple .bar.house {
    margin-top: 8px;
}
.couple .start_50 {
    margin-left: 0;
}
.couple .start_55 {
    margin-left: calc(79px * 1);
}
.couple .start_60 {
    margin-left: calc(79px * 2);
}
.couple .start_65 {
    margin-left: calc(79px * 3);
}
.couple .start_70 {
    margin-left: calc(79px * 4);
}
.couple .start_75 {
    margin-left: calc(79px * 5);
}
.couple .start_80 {
    margin-left: calc(79px * 6);
}
.couple .length_5 {
    width: calc((79px * 1) + 20px);
}
.couple .length_10 {
    width: calc((79px * 2) + 20px);
}
.couple .length_15 {
    width: calc((79px * 3) + 20px);
}
.couple .length_20 {
    width: calc((79px * 4) + 20px);
}
.couple .length_25 {
    width: calc((79px * 5) + 20px);
}
.couple .length_30 {
    width: calc((79px * 6) + 20px);
}
.couple .length_35 {
    width: calc((79px * 7) + 20px);
}
    .couple .length_35_2 {
        width: calc((79px * 7) + (2 * 20px));
    }
.couple .length_40 {
    width: calc((79px * 8) + 20px);
}
    .couple .length_40_2 {
        width: calc((79px * 8) + (2 * 20px));
    }
.couple .length_45 {
    width: calc((79px * 9) + 20px);
}
    .couple .length_45_2 {
        width: calc((79px * 9) + (2 * 20px));
    }

.couple .age-name.your {
    background-position: 54px 6px;
}
.couple .age-name.spouse {
    background-position: 99px 6px;
}

/* Result Box */
.couple .result-box {
    padding: 6px 10px 9px 23px;
}
.couple .single-box {
    display: none;
}
.couple .couple-box {
    width: 80%;
}
.couple .pdf .couple-box {
    width: 100%;
}
.couple .box-text {
    font-size: 13px;
    line-height: 0px;
    display: block;
    margin-top: 26px;
}
.couple .box-text-smaller {
    font-size: 14px;
    line-height: 21px;
    display: inline-block;
}
.couple .result-box .h1 {
    line-height: 0.8;
}
.couple .result-box .h1 ~ span {
    position: relative;
    top: -5px;
}
.couple .help-retire-age.circle-outline {
    margin-left: 6px;
}
.couple .help-life-expectancy.circle-outline {
    margin-left: 9px;
}

/* Result Text */
.couple .result-lead {
    margin: 0 0 1.05rem 2rem;
    font-size: 1.953em;
    font-weight: 400;
    line-height: 1.15;
}
.couple .result-lead.pdf-text {
    margin: 0 0 1.05rem 0;
}
.couple .result-p p {
    margin: 0 0 0.7rem 0rem;
    line-height: 1.76;
}

/***********************************************************************************************
 *  PDF
 */
.methodology_red {
    background: #BD181E;
    color: #fff;
}
.methodology_green {
    background: #20A367;
    color: #fff;
}
.pdf_page {
    height: 6em;
}
.methodology ul {
    padding-left: 13px;
}

/***********************************************************************************************
 *  Media
 */
@media screen and (min-device-width: 320px) and (max-device-width: 767px) {
    .container {
        display: none;
    }
    .message {
        display: block;
        padding: 25px;
        text-align: center;
        height: 530px;
    }
}
