/* stylelint-disable */

/* http://meyerweb.com/eric/tools/css/reset/
   v2.0 | 20110126
   License: none (public domain)
*/

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: inherit;
   font-size: 100%;
   vertical-align: baseline;
}

article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
   display: block;
}
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;
}

/* stylelint-enable */

/*
 * CSS variables
 */

:root {
   --page-background: hsl(0, 0%, 98%);
   --text-color: hsla(0, 0%, 0%, .87);
   --text-light-color: hsla(0, 0%, 30%, .87);
   --text-lighter-color: hsla(0, 0%, 60%, .87);
   --grey: hsl(0, 0%, 96%);
   --grey-dark: hsl(0, 0%, 90%);
   --grey-darker: hsl(0, 0%, 80%);
   --grey-darkest: hsl(0, 0%, 60%);
   --primary-color: hsl(210, 45%, 50%);
   --secondary-color: hsl(160, 65%, 45%);
   --error-color: hsl(0, 100%, 55%);
   --shadow: 0 2px 5px 0 rgba(0, 0, 0, .25);
   --vertical-spacer: 0 auto 1.5rem 0;
}

/*
 * Fonts
 */

/* raleway-200 - latin */

@font-face {
   font-family: 'raleway';
   font-style: normal;
   font-weight: 200;
   src:
      url('../fonts/raleway-v13-latin-200.woff2') format('woff2'),
      url('../fonts/raleway-v13-latin-200.woff') format('woff');
}

/* raleway-regular - latin */

@font-face {
   font-family: 'raleway';
   font-style: normal;
   font-weight: 400;
   src:
      url('../fonts/raleway-v13-latin-regular.woff2') format('woff2'),
      url('../fonts/raleway-v13-latin-regular.woff') format('woff');
}

/* raleway-600 - latin */

@font-face {
   font-family: 'raleway';
   font-style: normal;
   font-weight: 600;
   src:
      url('../fonts/raleway-v13-latin-600.woff2') format('woff2'),
      url('../fonts/raleway-v13-latin-600.woff') format('woff');
}

/* noto-sans-regular - latin */

@font-face {
   font-family: 'notosans';
   font-style: normal;
   font-weight: 400;
   src:
      url('../fonts/noto-sans-v8-latin-regular.woff2') format('woff2'),
      url('../fonts/noto-sans-v8-latin-regular.woff') format('woff');
}

/* noto-sans-italic - latin */

@font-face {
   font-family: 'notosans';
   font-style: italic;
   font-weight: 400;
   src:
      url('../fonts/noto-sans-v8-latin-italic.woff2') format('woff2'),
      url('../fonts/noto-sans-v8-latin-italic.woff') format('woff');
}

/* noto-sans-700 - latin */

@font-face {
   font-family: 'notosans';
   font-style: normal;
   font-weight: 700;
   src:
      url('../fonts/noto-sans-v8-latin-700.woff2') format('woff2'),
      url('../fonts/noto-sans-v8-latin-700.woff') format('woff');
}

/* noto-serif-regular - latin */

@font-face {
   font-family: 'notoserif';
   font-style: normal;
   font-weight: 400;
   src:
      url('../fonts/noto-serif-v7-latin-regular.woff2') format('woff2'),
      url('../fonts/noto-serif-v7-latin-regular.woff') format('woff');
}

/* noto-serif-700 - latin */

@font-face {
   font-family: 'notoserif';
   font-style: normal;
   font-weight: 700;
   src:
      url('../fonts/noto-serif-v7-latin-700.woff2') format('woff2'),
      url('../fonts/noto-serif-v7-latin-700.woff') format('woff');
}

/* ssp icon font */

@font-face {
   font-family: 'ssp';
   font-style: normal;
   font-weight: 400;
   src: url('../fonts/ssp.woff?3cchvc');
}

/*
 * Extended reset
 */

html {
   box-sizing: border-box;
   overflow-y: scroll; /* Always display scrollbar */
}

*,
*::before,
*::after {
   box-sizing: inherit;
}

html,
body {
   height: 100%;
   width: 100%;
}

body {
   background: var(--page-background);
   color: var(--text-color);
   font: 400 1rem / 1 'notosans', sans-serif;
}

sup {
   font-size: .75rem;
   vertical-align: super;
}

sub {
   font-size: .75rem;
   vertical-align: sub;
}

/* Override browser appearance for form controls */

button,
input,
select {
   color: var(--text-color);
   font: 400 1rem / 1 'notosans', sans-serif;
   padding: 0;
}

/*
 * Predefined classes
 */

.ssp-Card {
   background: #fff;
   box-shadow: var(--shadow);
}

.ssp-Content-container {
   margin: auto;
   max-width: 52rem;
   padding: 0 1rem;
}

.ssp-Divider {
   background: var(--grey-darker);
   height: 1px;
}

.ssp-Loader {
   background: transparent center / 1rem no-repeat url('../images/loader_response.svg');
}

.ssp-Scrim {
   background: #000;
   bottom: 0;
   left: 0;
   opacity: .35;
   position: fixed;
   right: 0;
   top: 0;
   z-index: -1;
}

.ssp-Action-primary,
.ssp-Action-secondary,
.ssp-Submit {
   background: transparent;
   border: thin solid var(--primary-color);
   border-radius: 4px;
   color: var(--primary-color);
   cursor: pointer;
   display: inline-block;
   font: 600 .875rem / 1 'notosans', sans-serif;
   letter-spacing: 1px;
   padding: .625rem 1.25rem .75rem;
   text-decoration: none;
   text-transform: uppercase;
}

.ssp-Action-secondary {
   border: thin solid transparent;
   color: var(--text-light-color);
   transition: background .1s linear;
}

.ssp-Action-secondary:hover {
   background: var(--grey-dark);
}

.ssp-Submit {
   background: var(--secondary-color) center / 2rem no-repeat;
   border: thin solid var(--secondary-color);
   color: #fff;
   transition: all .2s linear;
}

.ssp-Submit:disabled {
   background-color: transparent;
   border-color: var(--grey-darker);
   color: var(--text-lighter-color);
   pointer-events: none;
}

.ssp-Submit-pending:disabled {
   background-image: url('../images/loader_response.svg');
   color: transparent;
}
