/* 
	Reset:
	Based on http://meyerweb.com/eric/tools/css/reset/ 
   	v2.0 | 20110126	
*/
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}

body {
    line-height: 1;
}

ol,
ul {
    list-style: none;
}

blockquote,
q {
    quotes: none;
}

    blockquote:before,
    blockquote:after,
    q:before,
    q:after {
        content: "";
        content: none;
    }

table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* ----- Custom Reset styles ------ */
*,
*:before,
*:after {
    box-sizing: border-box;
}

iframe,
img,
svg,
video {
    display: block;
    max-width: 100%;
}

button {
    padding: 0;
    background-color: transparent;
    border: none;
}

b,
strong {
    font-weight: bold;
}

iframe {
    border: none;
}

input,
textarea {
    border: none;
}

textarea,
input,
button,
select {
    font-family: inherit;
}

@media (max-width: 1024px) {

    input[type=text],
    input[type=search],
    input[type=button],
    input[type=password] {
        -webkit-appearance: none;
    }
}

/* ----- VARIABLES ----------------------------------------------- */
/* ----- Sizes ----- */
/* ----- Fonts ----- */
@font-face {
    font-family: "JMSans";
    src: url("/fonts/jmsans-light.woff2") format("woff2"), url("/fonts/jmsans-light.woff") format("woff");
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: "JMSans";
    src: url("/fonts/jmsans-medium.woff2") format("woff2"), url("/fonts/jmsans-medium.woff") format("woff");
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: "JMSans";
    src: url("/fonts/jmsans-bold.woff2") format("woff2"), url("/fonts/jmsans-bold.woff") format("woff");
    font-weight: bold;
    font-style: normal;
}

/* ----- Colours ----- */
/* ----- Break points ----- */
/* ----- FUNCTIONS ----- */
/* ----- MIXINS -------------------------------------------------- */
/* ----- Grid ----- */
/* ----- Responsive ----- */
/* ----- GLOBAL STYLES ------------------------------------------- */
/* ----- Utility Classes ----- */
@media (max-width: 667px) {
    .mobile-hide {
        display: none !important;
    }
}

@media (min-width: 668px) {
    .mobile-only {
        display: none !important;
    }
}

@media (max-width: 667px) {
    .mobile-align-centre {
        text-align: center;
    }
}

.dev-guides .constrained {
    outline: 1px dotted cyan;
}

.dev-guides .row {
    outline: 1px dashed red;
}

.dev-guides .column {
    outline: 1px solid yellow;
}

html,
body {
    min-height: 100%;
}

body {
    background: rgb(30, 34, 170);
    background: linear-gradient(140deg, rgb(30, 34, 170) 0%, rgb(135, 195, 235) 100%) 0 0 no-repeat;
    background-size: contain;
    color: white;
    font-family: "JMSans", Arial, Helvetica, sans-serif;
    font-weight: 300;
    line-height: 1.333;
}

a {
    color: inherit;
}

b {
    font-weight: 500;
}

.site-header {
    position: relative;
    display: flex;
    justify-content: space-between;
}

@media (max-width: 667px) {
    .site-header {
        align-items: center;
        height: 80px;
        margin-bottom: 30px;
        padding: 20px 20px 0;
    }
}

@media (min-width: 668px) {
    .site-header {
        height: 80px;
        margin-bottom: 80px;
        align-items: baseline;
        padding: 27px;
    }
}

@media (min-width: 1600px) {
    .site-header {
        height: 110px;
        margin-bottom: 110px;
        padding: 40px;
    }
}

@media (max-width: 667px) {
    .header-logo {
        max-width: 140px;
    }
}

@media (min-width: 668px) and (max-width: 1024px) {
    .header-logo {
        max-width: 170px;
    }
}

.outlined-link {
    border: 1px solid white;
    border-radius: 3px;
    color: white;
    cursor: pointer;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
}

@media (max-width: 667px) {
    .outlined-link {
        padding: 10px 18px;
        margin-left: 10px;
    }
}

@media (min-width: 668px) {
    .outlined-link {
        position: absolute;
        bottom: 0;
        right: 27px;
        padding: 20px 37px;
    }
}

@media (min-width: 1600px) {
    .outlined-link {
        right: 40px;
    }
}

.form-button {
    padding: 5px 18px;
    background-color: #1E22AA;
    border-radius: 3px;
    color: white;
    font-size: 26px;
    cursor: pointer;
}

@media (max-width: 1024px) {
    .form-button {
        font-size: 18px;
    }
}

.constrained {
    margin: 0 auto;
    padding: 0 40px;
}

@media (min-width: 668px) and (max-width: 1024px) {
    .constrained {
        max-width: 780px;
    }
}

@media (min-width: 1025px) and (max-width: 1599px) {
    .constrained {
        max-width: 960px;
    }
}

@media (min-width: 1600px) {
    .constrained {
        max-width: 1114px;
    }
}

@media (min-width: 668px) {
    .row {
        display: flex;
        flex-wrap: wrap;
        margin-left: -10px;
        margin-right: -10px;
    }
}

@media (max-width: 667px) {
    .column {
        margin-bottom: 30px;
    }
}

@media (min-width: 668px) {
    .column {
        padding-left: 10px;
        padding-right: 10px;
    }
}

@media (min-width: 668px) {
    .form-column {
        width: 40%;
    }
}

@media (min-width: 668px) and (max-width: 1024px) {
    .form-column {
        width: 300px;
    }
}

@media (min-width: 668px) {
    .text-column {
        width: 50%;
    }
}

@media (min-width: 668px) and (max-width: 1024px) {
    .text-column {
        flex: 1;
        margin-left: 4%;
    }
}

@media (min-width: 1025px) {
    .text-column {
        margin-left: 10%;
    }
}

.login-form {
    max-width: 440px;
    background-color: white;
    border-radius: 6px;
    box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16);
    color: #1E22AA;
}

@media (max-width: 667px) {
    .login-form {
        margin-bottom: 30px;
        padding: 20px;
    }
}

@media (min-width: 668px) {
    .login-form {
        padding: 30px;
    }
}

.login-form h3 {
    margin-bottom: 25px;
    font-size: 24px;
    font-weight: 500;
}

@media (max-width: 667px) {
    .login-form h3 {
        font-size: 16px;
    }
}

.form-row {
    margin-bottom: 10px;
}

@media (min-width: 668px) and (max-width: 1024px) {

    label,
    .text-field {
        font-size: 14px;
    }
}

@media (min-width: 1025px) and (max-width: 1599px) {

    label,
    .text-field {
        font-size: 16px;
    }
}

@media (min-width: 1600px) {

    label,
    .text-field {
        font-size: 18px;
    }
}

label {
    display: inline-block;
    margin-bottom: 5px;
    font-weight: 500;
}

.text-field {
    display: block;
    width: 100%;
    padding: 10px;
    border: 1px solid rgba(30, 34, 170, 0.2);
    border-radius: 3px;
}

@media (min-width: 1025px) {
    .text-field {
        min-height: 50px;
    }
}

.form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
}

    .form-footer .form-button {
        margin-left: 10px;
    }

.intro-text {
    margin-bottom: 50px;
}

@media (max-width: 667px) {
    .intro-text {
        font-size: 16px;
    }
}

@media (min-width: 668px) {
    .intro-text {
        border-top: 1px solid white;
    }
}

@media (min-width: 668px) and (max-width: 1024px) {
    .intro-text {
        padding-top: 20px;
        font-size: 16px;
    }
}

@media (min-width: 1025px) and (max-width: 1599px) {
    .intro-text {
        padding-top: 30px;
        font-size: 18px;
    }
}

@media (min-width: 1600px) {
    .intro-text {
        padding-top: 50px;
        font-size: 24px;
    }
}

h1,
.as-h1 {
    margin-bottom: 50px;
    line-height: 1.25;
    font-weight: bold;
}

@media (max-width: 667px) {

    h1,
    .as-h1 {
        margin-bottom: 20px;
        font-size: 24px;
        line-height: 1;
        text-align: center;
    }
}

@media (min-width: 668px) and (max-width: 1024px) {

    h1,
    .as-h1 {
        font-size: 31px;
    }
}

@media (min-width: 1025px) and (max-width: 1599px) {

    h1,
    .as-h1 {
        font-size: 44px;
    }
}

@media (min-width: 1600px) {

    h1,
    .as-h1 {
        font-size: 66px;
    }
}

h3,
.as-h3 {
    margin-bottom: 10px;
    font-size: 18px;
}

.tick-list {
    margin-bottom: 50px;
}

    .tick-list li {
        position: relative;
        margin-bottom: 30px;
    }

@media (max-width: 667px) {
    .tick-list li {
        padding-left: 40px;
    }
}

@media (min-width: 668px) {
    .tick-list li {
        padding-left: 55px;
    }
}

.tick-list li::before {
    position: absolute;
    left: 0;
    top: -5px;
    width: 30px;
    height: 30px;
    background: transparent url(../images/icon-tick.svg) 0 0 no-repeat;
    background-size: contain;
    content: "";
}

@media (max-width: 667px) {
    .tick-list li::before {
        width: 24px;
        height: 24px;
    }
}

.page-background {
    position: fixed;
    left: 0;
    top: 0;
    z-index: -1;
}
