/* Global / Generic */
html, body {
    font-family: Arial;
    margin: 0;
    padding: 0;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-size: 20px;
}

*, ::before, ::after { box-sizing: border-box; }

a, a:visited, a:active, a:hover {
    color: inherit;
    outline: none;
    text-decoration: none;
}


p {
    margin: 0 0 16px;
    line-height: 1.3;
    font-size: 20px;
}

h2 {
    font-size: 20px;
    margin: 25px 0 5px;
}

.c-primary { color: var(--primary-color); }

.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: 10px !important; }
.mt-2 { margin-top: 20px !important; }

.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 10px !important; }
.mb-2 { margin-bottom: 20px !important; }

.my-0 { margin-bottom: 0 !important; margin-top: 0 !important; }
.my-1 { margin-bottom: 10px !important; margin-top: 10px !important; }
.my-2 { margin-bottom: 20px !important; margin-top: 20px !important; }

ul { margin: 24px 0; }
li { padding: 5px 0; }

.text-right { text-align: right; }
.text-center { text-align: center; }
.text-justify { text-align: justify; }

.center-content {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
}

img { max-width: 100%; }

/* Errors */
.errors {
    align-items: center;
    display: flex;
    flex-direction: column;
    position: absolute;
    width: 100%;
}
.error {
    background-color: #f55;
    color: white;
    font-weight: bold;
    text-align: center;
    margin-top: 5px;
    padding: 10px;
    border: solid 1px white;
    box-shadow: 0 0 5px 1px white;

}


/* Header */
header {
    text-align: center;
    box-shadow: 1px 6px 5px #999999;
    margin-bottom: 15px;
}
header a {
    display: inline-block;
}
header img {
    max-height: 100px;
    padding: 16px 0;
}


/* Footer */
footer {
    background-color: #000000;
    color: #FFFFFF;
    text-align: center;
    padding: 16px;
    font-size: 0.8em;
}
footer a:hover {
    color: var(--primary-color-hover);
}



/*******************************************************************************
** GENERIC
*******************************************************************************/
main {
    flex: 1;
    line-height: 1.3;
    margin: 0 auto;
    max-width: 90%;
    width: 1140px;
}
main.center-fill { display: flex; flex-direction: column; justify-content: center; }

/* Fullwidth Background */
header + .fullwidth-bg {
    margin-top: -15px;
}

.fullwidth-bg {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -15px;
    position: relative;
    background-image: linear-gradient(180deg, #ec4a4a, #996868);
}
.fullwidth-bg::before { 
    content: '';
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 20vh 0 20vh 10vw;
    border-color: transparent transparent transparent #911313;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
}
.fullwidth-bg::after { 
    right: 0;
    content: '';
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 20vh 10vw 20vh 0;
    border-color: transparent #911313 transparent transparent;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}
.fullwidth-bg > div img { max-height: 500px; }
@media screen and (max-width: 925px) {
    .fullwidth-bg { flex-direction: column-reverse; }
    .fullwidth-bg > div img { width: 50vw; }
}
.fullwidth-bg .content {
    background: #FFFFFF;
    margin: 0 auto;
    max-width: calc(100% - 50px);
    padding: 30px;
    position: relative;
    width: 700px;
    z-index: 2;
}
.fullwidth-bg h1 {
    font-weight: 300;
    margin: 0 0 20px;
    text-align: center;
}
.fullwidth-bg h1 span {
    color: var(--primary-color);
}
.fullwidth-bg h2 {
    font-size: 25px;
    margin-top: -5px;
}
@media screen and (max-width: 768px) {
    .fullwidth-bg h1 { font-size: 30px; }
    .fullwidth-bg .content { padding: 32px 16px; max-width: 95%; }
}

.secure {
    position: absolute;
    color: #FFF;
    bottom: 0;
    left: 0;
    transform: translateY(150%);
}
.secure:hover { text-decoration: underline; }

/* Alerts */
.alert {
    padding: 16px;
    border: solid 3px transparent;
    border-radius: 8px;
}
.alert.alert-danger {
    background: #c94e4e;
    border-color: #c30d0d;
    color: #ffffff;
}

/* Form */
form .information {
    border: solid 2px var(--cta-dark);
    margin-top: 16px;
    padding: 8px 16px;
    text-align: center;
    color: var(--cta-dark);
    background: var(--cta-light);
    font-weight: bold;
}

.form-footer {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    line-height: 1;
}

.consent-checkbox {
    margin-top: -25px;
    margin-bottom: 25px;
}

/* As seen on */
.as-seen p {
    display: block;
    font-size: 21px;
    font-weight: 300;
    padding: 20px 0;
    position: relative;
    margin: 0;
    text-align: center;
}
.as-seen p span {
    padding: 0 40px;
    background-color: #FFFFFF;
    position: relative;
}
.as-seen p::before {
    content: '';
    height: 1px;
    top: 50%;
    width: 100%;
    position: absolute;
    left: 0;
    background-color: #000000;
}
.as-seen ul {
    padding: 0;
    display: flex;
    margin: 0;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
}
.as-seen li {
    min-width: 150px;
    padding: 20px;
    vertical-align: middle;
    flex: 1;
    max-width: 200px;
    display: inline-block;
}

/* Logos */
.logos ul {
    padding: 0;
    display: flex;
    margin: 0;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
}
.logos li {
    min-width: 150px;
    padding: 20px;
    vertical-align: middle;
    flex: 1;
    max-width: 200px;
    display: inline-block;
}

/* Tick icons */
.tick-icons {
    display: flex;
    padding: 0;
    flex-wrap: wrap;
}
.tick-icons li {
    display: flex;
    align-items: center;
    justify-content: center;
    list-style: none;
    position: relative;
    flex: 1;
    text-align: left;
    font-size: 20px;
    color: #555;
    padding: 0 8px;
    min-width: 300px;
    margin: 16px 0;
}
.tick-icons li::before {
    content: "\2714";
    color: var(--primary-color);
    font-size: 35px;
    margin-right: 16px;
    font-weight: 900;
    height: 25px;
    line-height: 23px;
}
@media screen and (max-width: 1050px) {
    .tick-icons li { width: 49%; }
}
@media screen and (max-width: 600px) {
    .tick-icons li { width: 100%; }
}








/*******************************************************************************
** ARTICLE
*******************************************************************************/
/* Layout */
.article {
    width: 790px;
    margin: 0 auto;
    max-width: 90%;
}
.article::after {
    content: '';
    clear: both;
    display: block;
}
.article main {
    width: 690px;
    max-width: 90%;
    float: left;
}
.article aside {
    float: right;
}
@media screen and (max-width: 900px) {
    .article aside {
        display: none;
    }
    .article main {
        width: 90%;
        margin: 0 auto;
        float: none;
    }
}

/* Typography */
.article h1 {
    color: #000;
    font-size: 50px;
    line-height: 1.1;
    margin: 10px 0;
    font-family: "Segoe UI", "Segoe WP", Arial, sans-serif;
}

.article h2 { margin-top: 0; }
@media screen and (max-width: 700px) {
    .article h1 { font-size: 33px; }
}
.article p a, .article li a {
    color      : var(--primary-color);
    font-weight: bold;
}
.article p a em {
    font-size  : 1.2em;
    line-height: 1;
}

.article p img {
    display: block;
    margin: 0 auto;
}

.grey { color: #858585; }

/* Author */
.author {
    font-size: 12px;
    color: #666666;
}
.author span {
    color: #000000;
}

/* Call To Actions */
.cta-light, .cta-dark {
    font-size    : 22px;
    font-weight  : bold;
    line-height  : 25px;
    margin-bottom: 12px;
    padding      : 10px 15px;
    text-align   : center;
}
.cta-light {
    background: var(--cta-light);
    color     : var(--cta-dark);
}
.cta-dark {
    background: var(--cta-dark);
    color     : #FFFFFF;
}
.cta-primary {
    color      : var(--primary-color);
    font-size  : 24px;
    font-weight: 800;
    margin     : 24px 0;
    text-align : center;
}
.cta-button {
    background   : linear-gradient(to bottom, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0)) repeat scroll 0 0%, #246ec8 none repeat scroll 0 0;
    border-radius: 5px;
    border       : 1px solid #1c569d;
    box-shadow   : 0 0 2px 2px rgba(32, 109, 203, 0.4);
    color        : #fff !important;
    cursor       : pointer;
    display      : inline-block;
    margin-bottom: 16px;
    padding      : 16px 24px;
    text-align   : center;
    transition   : background-color 0s ease 0s, padding 0s ease 0s, all 0.3s ease-in-out 0s;
}
.cta-button:hover {
    text-decoration: none;
    padding: 16px 32px;
}
.cta-light p, .cta-dark p { margin-bottom: 0; }
.article .cta-dark a { color: var(--cta-dark-link); }

/* Year picker */
.dobs {
    align-items    : center;
    display        : flex;
    flex-wrap      : wrap;
    justify-content: center;
    margin-bottom  : 16px;
}
.dobs a {
    background : var(--cta-dark);
    color      : white;
    font-size  : 19px;
    font-weight: bold;
    margin     : 2px;
    min-width  : 60px;
    padding    : 15px 0;
    text-align : center;
    width      : calc(12.5% - 4px);
}
.dobs a:hover {
    background: var(--cta-light);
    color: var(--cta-dark);
}


/* Configurable picker */
.picker-items {
    align-items    : center;
    display        : flex;
    flex-wrap      : wrap;
    justify-content: center;
    margin-bottom  : 16px;
}
.picker-items a {
    background : var(--cta-dark);
    color      : white;
    font-size  : 19px;
    font-weight: bold;
    margin     : 2px;
    min-width  : 60px;
    padding    : 15px;
    text-align : center;
}

.picker-items[data-columns="1"] a { width: calc((100% / 1) - 4px); }
.picker-items[data-columns="2"] a { width: calc((100% / 2) - 4px); }
.picker-items[data-columns="3"] a { width: calc((100% / 3) - 4px); }
.picker-items[data-columns="4"] a { width: calc((100% / 4) - 4px); }
.picker-items[data-columns="5"] a { width: calc((100% / 5) - 4px); }
.picker-items[data-columns="6"] a { width: calc((100% / 6) - 4px); }

@media screen and (max-width: 800px) {
    .picker-items[data-columns="2"] a { width: calc((100% / 1) - 4px); }
    .picker-items[data-columns="3"] a { width: calc((100% / 2) - 4px); }
    .picker-items[data-columns="4"] a { width: calc((100% / 3) - 4px); }
    .picker-items[data-columns="5"] a { width: calc((100% / 4) - 4px); }
    .picker-items[data-columns="6"] a { width: calc((100% / 5) - 4px); }
}

@media screen and (max-width: 600px) {
    .picker-items[data-columns="3"] a { width: calc((100% / 1) - 4px); }
    .picker-items[data-columns="4"] a { width: calc((100% / 2) - 4px); }
    .picker-items[data-columns="5"] a { width: calc((100% / 3) - 4px); }
    .picker-items[data-columns="6"] a { width: calc((100% / 4) - 4px); }
}

.picker-items a:hover {
    background: var(--cta-light);
    color: var(--cta-dark);
}

/* List */
.article ol {
    counter-reset: ordered-list;
    margin: 0 0 16px;
    padding: 0;
}

.article ol li {
    align-items: start;
    display: flex;
    list-style: none;
    margin-bottom: 8px;
    padding: 0;
}

.article ol li::before {
    background-color: var(--primary-color);
    border-radius: 50%;
    color: #FFFFFF;
    content: counter(ordered-list);
    counter-increment: ordered-list;
    display: block;
    flex-grow: 0;
    flex-shrink: 0;
    line-height: 23px;
    margin-right: 10px;
    padding: 5px;
    text-align: center;
    width: 33px;
}

/* Map */
.article img[src*="map."] {
    max-height: 400px;
}




/*******************************************************************************
** THANK YOU
*******************************************************************************/
.thankyou-title {
    text-align: center;
}
.thankyou-title h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
}
body[data-page*="thankyou"] main h2 {
    font-size: 30px;
    text-align: center;
}

/* Steps */
body {
    counter-reset: steps;
    --step-size: 33px;
}
.step {
    position: relative;
    margin-left: calc(var(--step-size) + 16px);
    padding-top: 20px;
}
.step::before {
    background-color: var(--primary-color);
    border-radius: 50%;
    color: #FFFFFF;
    content: counter(steps);
    counter-increment: steps;
    display: inline-block;
    line-height: calc(var(--step-size) - 10px);
    margin-right: 10px;
    left: calc((var(--step-size) + 16px) * -1);
    padding: 5px;
    position: absolute;
    text-align: center;
    width: var(--step-size);
}
.step p:first-child {
    line-height: var(--step-size);
}


/* Info box */
.info {
    background-color: #56adc8;
    border-radius: 10px;
    color: #fff;
    padding: 15px;
}

























/*******************************************************************************
** INHERITED
*******************************************************************************/
.numbers {
    background: #EBEBEB;
    font-family: Arial;
    font-size: 1.25em;
    font-weight: lighter;
    height: 33px;
    line-height: 33px;
    padding: 0;
    position: absolute;
    text-align: center;
    top: -5px;
    left: 0;
    width: 33px;
    border-radius: 50%;
    display: inline-block;
}

.questions {
    font-size: 17px;
    padding-left: 6px;
}

.form-radio {
    background: #fcfcfc;
    border-radius: 5px;
    position: relative;
    cursor: pointer;
}

.scrollform {
    position: relative;
    margin-bottom: 15px;
    min-height: 1.688em;
    padding-top: 1px;
}

.scrollform label {
    margin-bottom: 5px;
    min-height: 1.688em;
    padding-left: 50px;
    position: relative;
    font-weight: normal;
    display: block;
}

.form-radio::before {
    border-radius: 50%;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.1)) repeat scroll 0 0%, #fff none repeat scroll 0 0;
    box-shadow: 0 0 0 2px #333 inset, 0 0 0 5px #fff inset, 0 0 0 6px #eee inset;
    content: "";
    display: block;
    height: 23px;
    left: 10px;
    margin-top: -12px;
    position: absolute;
    top: 50%;
    width: 23px;
}

.form-radio:hover {
    background: #EBEBEB;
}

.form-radio:focus,
.form-radio:active {
    background: #EBEBEB;
}

.form-radio:hover::before {
    background: radial-gradient(ellipse, rgba(255, 255, 255, 0.8), transparent) repeat scroll 0 0%, #000 none repeat scroll 0 0;
}

.form-radio.checked::before {
    background: radial-gradient(ellipse, rgba(255, 255, 255, 0.4), transparent) repeat scroll 0 0%, #000 none repeat scroll 0 0;
}

.form-radio .radiooption {
    color: #000;
    border: 1px solid #DDDDDD;
    border-radius: 4px;
    cursor: pointer;
    font-size: 18px;
    font-weight: 400;
    padding: 15px 0px 15px 40px;
    display: block;
    height: 100%;
    width: 100%;
    margin-bottom: 9px;
}

.formsubmit {
    font-size: 20px;
    font-weight: bold;
    width: 100%;
    border-radius: 5px;
    background: var(--primary-color);
    color: #fff;
    border: 0;
    padding: 0.8em 0.4em;
    font-family: RalewayRegular, Arial, sans-serif;
    margin-top: 25px;
    opacity: 0.8;
}

.formsubmit:hover {
    background: var(--primary-color);
    opacity: 1;
}

.formsubmitdisable {
    font-size: 20px;
    font-weight: bold;
    width: 100%;
    border-radius: 5px;
    background: var(--primary-color);
    color: #fff;
    border: 0;
    padding: 0.8em 0.4em;
    font-family: RalewayRegular, Arial, sans-serif;
    margin-top: 25px;
    opacity: 0.1;
}

.tel {
    font-size: 1.5em;
    display: inline-block;
    color: #17357f;
    line-height: 2.5em;
    float: right
}

.goodNewsText {
    border: 2px solid #3CBC3C;
    border-radius: 0.5em;
    color: #333;
    height: auto;
    margin: 0em auto 15px;
    min-height: 0;
    padding: 0.5em;
    text-align: center;
    width: auto;
}

.progressDiv {
    border-radius: 1px;
    height: 22px;
    position: relative;
    left: 0;
    width: 100%;
    margin: 32px 0 14px;
    background: #EBEBEB;
    border: 1px solid #ddd;
}

.progressbar {
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2) inset;
    height: 100%;
    margin: 0 auto;
    width: 100%;
}

.progressbarinner {
    background: #3CBC3C;
    height: 100%;
    width: 0;
}

.progresstext {
    margin-top: -18px;
    text-align: center;
    font-size: 12px;
}

input.error {
    border: 2px solid #fcd920;
}

.questions {
    overflow: hidden;
    width: 100%;
    margin-bottom: 25px;
    padding: 0;
    transition: height .3s linear;
}
.questions-inner {
    transition: margin-left .5s linear;
    width: calc(1000px * 10);
}
.question {
    float: left;
    padding-top: 20px;
    width: 1000px;
}
.question-controls::after {
    content: '';
    display: block;
    clear: both;
}
.question-controls {
    text-align: center;
}
.question-controls > div, .submit-btn {
    background: var(--primary-color);
    border-radius: 8px;
    color: #FFF;
    cursor: pointer;
    font-weight: 700;
    letter-spacing: 1px;
    opacity: 0.8;
    padding: 15px 40px;
    text-align: center;
    position: relative; 
    transition: opacity .3s linear;
    font-size: 18px;
    font-family: inherit;
    border: none;
    line-height: 25px;
}

.next-question::after {
    content: '>>';
    position: absolute; 
    right: 10px;   
}
.question-controls > div:hover, .submit-btn:hover {
    opacity: 1;
}
.prev-question {
    float: left;
    display: none;
    font-size: 12px;
    cursor: pointer;
}
.submit-btn,
.next-question {
    float: none;
    margin: 0 auto;
    width: 80%;
}
.submit-btn {display: none;}
.question p {
    font-size: 25px;
    text-align: center;
    margin-bottom: 20px;
}
.question .message {
    color: #F00;
    clear: both;
    display: block;
    font-size: 15px;
    text-align: center;
}
.form-radio input {
    position: absolute;
    opacity: 0;
}
.question input[type="text"], .question input[type="number"], .question input[type="email"], select {
    border: 1px solid #bfbfbf;
    border-radius: 5px;
    color: #000;
    font-size: 18px;
    height: 40px;
    padding: 0.2em 0.5em;
    width: 100%;
}
.progressbarinner {
    transition: width .3s linear;
}

.questions-label {
    font-size: 20px;
    font-weight: 700;
}

