.font24 {
  font-size: 1.5em; }

.font22 {
  font-size: 1.375em; }

.font20 {
  font-size: 1.25em; }

.font18 {
  font-size: 1.125em; }

.font16 {
  font-size: 1em; }

.font14 {
  font-size: 0.875em; }

.font12 {
  font-size: 0.75em; }

.font10 {
  font-size: 0.625em; }

.c-black {
  color: #000; }

.c-red {
  color: #b00; }

.c-white {
  color: #fff; }

.c-primary-color {
  color: #166DCC; }

.c-secondary-color {
  color: #2E496E; }

.bg-black {
  background-color: #000; }

.bg-red {
  background-color: #b00; }

.bg-white {
  background-color: #fff; }

.bg-primary-color {
  background-color: #166DCC; }

.bg-secondary-color {
  background-color: #2E496E; }

.gray5 {
  color: #f2f2f2; }

.gray10 {
  color: #e5e5e5; }

.gray15 {
  color: #d9d9d9; }

.gray20 {
  color: #ccc; }

.gray25 {
  color: #bfbfbf; }

.gray30 {
  color: #b2b2b2; }

.gray35 {
  color: #a6a6a6; }

.gray40 {
  color: #999; }

.gray45 {
  color: #8c8c8c; }

.gray50 {
  color: #808080; }

.gray55 {
  color: #737373; }

.gray60 {
  color: #666; }

.gray65 {
  color: #595959; }

.gray70 {
  color: #4d4d4d; }

.gray75 {
  color: #404040; }

.gray80 {
  color: #333; }

.gray85 {
  color: #262626; }

.gray90 {
  color: #1a1a1a; }

.bg-gray5 {
  background-color: #f2f2f2; }

.bg-gray10 {
  background-color: #e5e5e5; }

.bg-gray15 {
  background-color: #d9d9d9; }

.bg-gray20 {
  background-color: #ccc; }

.bg-gray25 {
  background-color: #bfbfbf; }

.bg-gray30 {
  background-color: #b2b2b2; }

.bg-gray35 {
  background-color: #a6a6a6; }

.bg-gray40 {
  background-color: #999; }

.bg-gray45 {
  background-color: #8c8c8c; }

.bg-gray50 {
  background-color: #808080; }

.bg-gray55 {
  background-color: #737373; }

.bg-gray60 {
  background-color: #666; }

.bg-gray65 {
  background-color: #595959; }

.bg-gray70 {
  background-color: #4d4d4d; }

.bg-gray75 {
  background-color: #404040; }

.bg-gray80 {
  background-color: #333; }

.bg-gray85 {
  background-color: #262626; }

.bg-gray90 {
  background-color: #1a1a1a; }

/*! normalize.css v5.0.0 | MIT License | github.com/necolas/normalize.css */
/**
 * 1. Change the default font family in all browsers (opinionated).
 * 2. Correct the line height in all browsers.
 * 3. Prevent adjustments of font size after orientation changes in
 *    IE on Windows Phone and in iOS.
 */
/* Document
   ========================================================================== */
html {
  font-family: sans-serif;
  /* 1 */
  line-height: 1.15;
  /* 2 */
  -ms-text-size-adjust: 100%;
  /* 3 */
  -webkit-text-size-adjust: 100%;
  /* 3 */ }

/* Sections
   ========================================================================== */
/**
 * Remove the margin in all browsers (opinionated).
 */
body {
  margin: 0; }

/**
 * Add the correct display in IE 9-.
 */
article,
aside,
footer,
header,
nav,
section {
  display: block; }

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
  font-size: 2em;
  margin: 0.67em 0; }

/* Grouping content
   ========================================================================== */
/**
 * Add the correct display in IE 9-.
 * 1. Add the correct display in IE.
 */
figcaption,
figure,
main {
  /* 1 */
  display: block; }

/**
 * Add the correct margin in IE 8.
 */
figure {
  margin: 1em 40px; }

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
  box-sizing: content-box;
  /* 1 */
  height: 0;
  /* 1 */
  overflow: visible;
  /* 2 */ }

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
  font-family: monospace, monospace;
  /* 1 */
  font-size: 1em;
  /* 2 */ }

/* Text-level semantics
   ========================================================================== */
/**
 * 1. Remove the gray background on active links in IE 10.
 * 2. Remove gaps in links underline in iOS 8+ and Safari 8+.
 */
a {
  background-color: transparent;
  /* 1 */
  -webkit-text-decoration-skip: objects;
  /* 2 */ }

/**
 * Remove the outline on focused links when they are also active or hovered
 * in all browsers (opinionated).
 */
a:active,
a:hover {
  outline-width: 0; }

/**
 * 1. Remove the bottom border in Firefox 39-.
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
  border-bottom: none;
  /* 1 */
  text-decoration: underline;
  /* 2 */
  text-decoration: underline dotted;
  /* 2 */ }

/**
 * Prevent the duplicate application of `bolder` by the next rule in Safari 6.
 */
b,
strong {
  font-weight: inherit; }

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
  font-weight: bolder; }

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
  font-family: monospace, monospace;
  /* 1 */
  font-size: 1em;
  /* 2 */ }

/**
 * Add the correct font style in Android 4.3-.
 */
dfn {
  font-style: italic; }

/**
 * Add the correct background and color in IE 9-.
 */
mark {
  background-color: #ff0;
  color: #000; }

/**
 * Add the correct font size in all browsers.
 */
small {
  font-size: 80%; }

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline; }

sub {
  bottom: -0.25em; }

sup {
  top: -0.5em; }

/* Embedded content
   ========================================================================== */
/**
 * Add the correct display in IE 9-.
 */
audio,
video {
  display: inline-block; }

/**
 * Add the correct display in iOS 4-7.
 */
audio:not([controls]) {
  display: none;
  height: 0; }

/**
 * Remove the border on images inside links in IE 10-.
 */
img {
  border-style: none; }

/**
 * Hide the overflow in IE.
 */
svg:not(:root) {
  overflow: hidden; }

/* Forms
   ========================================================================== */
/**
 * 1. Change the font styles in all browsers (opinionated).
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
  font-family: sans-serif;
  /* 1 */
  font-size: 100%;
  /* 1 */
  line-height: 1.15;
  /* 1 */
  margin: 0;
  /* 2 */ }

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
  /* 1 */
  overflow: visible; }

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
  /* 1 */
  text-transform: none; }

/**
 * 1. Prevent a WebKit bug where (2) destroys native `audio` and `video`
 *    controls in Android 4.
 * 2. Correct the inability to style clickable types in iOS and Safari.
 */
button,
html [type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
  /* 2 */ }

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0; }

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText; }

/**
 * Change the border, margin, and padding in all browsers (opinionated).
 */
fieldset {
  border: 1px solid #c0c0c0;
  margin: 0 2px;
  padding: 0.35em 0.625em 0.75em; }

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */
legend {
  box-sizing: border-box;
  /* 1 */
  color: inherit;
  /* 2 */
  display: table;
  /* 1 */
  max-width: 100%;
  /* 1 */
  padding: 0;
  /* 3 */
  white-space: normal;
  /* 1 */ }

/**
 * 1. Add the correct display in IE 9-.
 * 2. Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
  display: inline-block;
  /* 1 */
  vertical-align: baseline;
  /* 2 */ }

/**
 * Remove the default vertical scrollbar in IE.
 */
textarea {
  overflow: auto; }

/**
 * 1. Add the correct box sizing in IE 10-.
 * 2. Remove the padding in IE 10-.
 */
[type="checkbox"],
[type="radio"] {
  box-sizing: border-box;
  /* 1 */
  padding: 0;
  /* 2 */ }

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto; }

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
  -webkit-appearance: textfield;
  /* 1 */
  outline-offset: -2px;
  /* 2 */ }

/**
 * Remove the inner padding and cancel buttons in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-cancel-button,
[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none; }

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
  -webkit-appearance: button;
  /* 1 */
  font: inherit;
  /* 2 */ }

/* Interactive
   ========================================================================== */
/*
 * Add the correct display in IE 9-.
 * 1. Add the correct display in Edge, IE, and Firefox.
 */
details,
menu {
  display: block; }

/*
 * Add the correct display in all browsers.
 */
summary {
  display: list-item; }

/* Scripting
   ========================================================================== */
/**
 * Add the correct display in IE 9-.
 */
canvas {
  display: inline-block; }

/**
 * Add the correct display in IE.
 */
template {
  display: none; }

/* Hidden
   ========================================================================== */
/**
 * Add the correct display in IE 10-.
 */
[hidden] {
  display: none; }

/* http://prismjs.com/download.html?themes=prism&languages=markup+css+sass+scss */
/**
 * prism.js default theme for JavaScript, CSS and HTML
 * Based on dabblet (http://dabblet.com)
 * @author Lea Verou
 */
code[class*="language-"],
pre[class*="language-"] {
  color: black;
  background: none;
  text-shadow: 0 1px white;
  font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
  text-align: left;
  white-space: pre;
  word-spacing: normal;
  word-break: normal;
  word-wrap: normal;
  line-height: 1.5;
  -moz-tab-size: 4;
  -o-tab-size: 4;
  tab-size: 4;
  -webkit-hyphens: none;
  -moz-hyphens: none;
  -ms-hyphens: none;
  hyphens: none; }

pre[class*="language-"]::-moz-selection, pre[class*="language-"] ::-moz-selection,
code[class*="language-"]::-moz-selection, code[class*="language-"] ::-moz-selection {
  text-shadow: none;
  background: #b3d4fc; }

pre[class*="language-"]::selection, pre[class*="language-"] ::selection,
code[class*="language-"]::selection, code[class*="language-"] ::selection {
  text-shadow: none;
  background: #b3d4fc; }

@media print {
  code[class*="language-"],
  pre[class*="language-"] {
    text-shadow: none; } }
/* Code blocks */
pre[class*="language-"] {
  padding: 1em;
  margin: .5em 0;
  overflow: auto; }

:not(pre) > code[class*="language-"],
pre[class*="language-"] {
  background: #f5f2f0; }

/* Inline code */
:not(pre) > code[class*="language-"] {
  padding: .1em;
  border-radius: .3em;
  white-space: normal; }

.token.comment,
.token.prolog,
.token.doctype,
.token.cdata {
  color: slategray; }

.token.punctuation {
  color: #999; }

.namespace {
  opacity: .7; }

.token.property,
.token.tag,
.token.boolean,
.token.number,
.token.constant,
.token.symbol,
.token.deleted {
  color: #905; }

.token.selector,
.token.attr-name,
.token.string,
.token.char,
.token.builtin,
.token.inserted {
  color: #690; }

.token.operator,
.token.entity,
.token.url,
.language-css .token.string,
.style .token.string {
  color: #a67f59;
  background: rgba(255, 255, 255, 0.5); }

.token.atrule,
.token.attr-value,
.token.keyword {
  color: #07a; }

.token.function {
  color: #DD4A68; }

.token.regex,
.token.important,
.token.variable {
  color: #e90; }

.token.important,
.token.bold {
  font-weight: bold; }

.token.italic {
  font-style: italic; }

.token.entity {
  cursor: help; }

* {
  box-sizing: border-box; }

body {
  margin: 0;
  padding: 20px;
  color: #4d4d4d;
  background: #fff;
  font-family: helvetica, arial, sans-serif;
  font-size: 1em;
  line-height: 1.2; }

h1 {
  margin: 0 0 .5em;
  font-size: 1.8em; }

h2 {
  margin: 1em 0 .5em;
  font-size: 1.4em; }

h3 {
  margin: 1.5em 0 .3em;
  font-size: 1em;
  font-weight: bold; }

h4 {
  margin: 1.5em 0 .3em;
  font-size: .88888888em; }

h1,
h2,
h3,
h4 {
  color: #2E496E; }

p {
  margin: 1em 0;
  line-height: 1.5; }

img {
  max-width: 100%;
  vertical-align: middle; }

a:link {
  color: #166DCC; }

a:visited {
  color: #1461b5; }

a:focus,
a:hover {
  color: #11549e; }

a:active {
  color: #b00; }

hr {
  display: block;
  height: 5px;
  border: 0;
  margin: 2em 0;
  background: #f2f2f2; }

figure {
  margin: 1.5em 0;
  padding: 0; }

figcaption {
  font-size: 0.875em;
  color: #737373;
  display: block;
  margin: .4em 0; }

table {
  width: 100%;
  margin: 1em 0 2em;
  border-collapse: collapse; }

caption {
  padding: 0 0 .5em;
  font-weight: bold;
  text-align: left; }

th,
td {
  border-bottom: 1px solid #ccc;
  padding: .5em 1em;
  text-align: left;
  vertical-align: middle; }

th {
  border-top: 1px solid #ccc;
  border-bottom: 2px solid #ccc;
  font-weight: bold;
  vertical-align: top; }

ul,
ol {
  padding-left: 1.5em; }
  ul li,
  ol li {
    margin-bottom: .2em; }

dt {
  font-weight: bold; }

dd {
  margin: 0 0 .5em;
  padding-left: 1.5em; }

.container {
  max-width: 38em;
  margin: 0 auto; }

.switch__content,
.hidden {
  position: absolute;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  width: 1px;
  height: 1px;
  border: 0;
  margin: -1px;
  padding: 0; }

.markup-heading {
  color: #2E496E;
  font-size: 1em;
  font-weight: bold; }

.example {
  border: 1px solid #ccc;
  margin: 1em 0;
  padding: 1em; }

.input {
  margin-bottom: 1em; }

.input__content {
  display: block;
  margin: 0 0 .2em; }

.input__control {
  display: block;
  width: 100%;
  height: 2.2em;
  border: 1px solid #ccc;
  border-radius: .2em;
  padding: 0 .5em;
  color: #808080;
  background-color: #fff;
  font-size: 1em;
  line-height: 2.2em; }

.button-primary {
  height: 2.2em;
  border: 1px solid #11549e;
  border-radius: .2em;
  padding: 0 1em;
  cursor: pointer;
  color: #fff;
  background: #166DCC;
  font-family: inherit;
  font-size: 1em;
  line-height: 2.2em; }

.button-primary:focus,
.button-primary:hover {
  border: 1px solid #0c3c70;
  color: #fff;
  background: #11549e; }

.button-primary:active {
  border: 1px solid #880000;
  color: #fff;
  background: #b00; }

.button-secondary {
  height: 2.2em;
  border: 1px solid #ccc;
  border-radius: .2em;
  padding: 0 1em;
  cursor: pointer;
  color: #166DCC;
  background: #fff;
  font-family: inherit;
  font-size: 1em;
  line-height: 2.2em; }

.button-secondary:focus,
.button-secondary:hover {
  color: #11549e;
  background: #f2f2f2; }

.button-secondary:active {
  color: #b00;
  background: #e5e5e5; }

.graph {
  font-family: 'HelveticaNeue','Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 16px; }

.graph1-0,
.graph2-0,
.graph3-0 {
  fill: #58938a; }

.graph1-1,
.graph2-1,
.graph3-1 {
  fill: #935fa7; }

.graph1-2,
.graph2-2,
.graph3-2 {
  fill: #3d77ba; }

.graph1-3,
.graph2-3,
.graph3-3 {
  fill: #a4c686; }

.graph1-4,
.graph2-4,
.graph3-4 {
  fill: #e19e40; }

.graph1-5,
.graph2-5,
.graph3-5 {
  fill: transparent; }

.graph1-5:hover,
.graph2-5:hover {
  fill: rgba(0, 0, 0, 0.1); }

.graph :focus .graph1-5 {
  stroke: rgba(0, 0, 255, 0.5);
  stroke-width: 3; }

.graph :active .graph1-5 {
  stroke: rgba(255, 0, 0, 0.5);
  stroke-width: 3; }

.graph2-link,
.graph3-link {
  display: inline-block; }

.pass,
.fail {
  display: inline-block;
  border-radius: .3em;
  padding: .2em .5em; }

.pass {
  background: rgba(125, 200, 125, 0.5); }

.fail {
  background: rgba(200, 0, 0, 0.3); }

button {
  position: relative; }

button[aria-label]:focus:after,
button[aria-label]:hover:after {
  position: absolute;
  z-index: 1;
  top: -2em;
  left: 0;
  display: block;
  overflow: hidden;
  width: 17em;
  height: 2em;
  border-radius: .2em;
  padding: 0 .7em;
  content: attr(aria-label);
  color: #fff;
  background: #000;
  font-size: 1em;
  line-height: 2em;
  text-align: left; }

.example1 button:default {
  color: red; }

.example2 input:default {
  color: red; }

.example3 input:default {
  border: 2px solid red; }

.example4 input:default + label {
  color: red; }

.example5 input:default + label {
  color: red; }

.example6 option:default {
  color: red; }

.details {
  position: relative;
  margin: 0 0 .3em; }

.details__summary {
  padding: .3em .3em .4em 28px;
  cursor: pointer;
  background: #eee; }

.details__summary:hover,
.details__summary:focus {
  background: #ddd; }

.details__summary:active {
  background: #ccc; }

.details__summary::-webkit-details-marker {
  display: none; }

.details__summary:before {
  position: absolute;
  top: 4px;
  left: 5px;
  display: block;
  width: 20px;
  height: 20px;
  content: '';
  background: url(../img/details-closed.png); }

.details[open] .details__summary:before {
  background: url(../img/details-open.png); }

.details__content {
  margin: .6em 0 1.5em; }

.language {
  width: 110px;
  height: 30px;
  font-size: 14px;
  line-height: 1;
  margin: 1em 0; }

.language__container--left,
.language__container--right {
  position: relative;
  float: left;
  width: 55px;
  height: 30px;
  padding: 5px; }

.language__label {
  position: absolute;
  top: 0;
  left: 0;
  width: 55px;
  height: 30px;
  border: 1px solid #ccc;
  padding: 7px 8px 5px 0;
  background-color: #fff;
  background-repeat: no-repeat;
  background-position: 7px 7px;
  background-size: 14px;
  text-align: right;
  text-transform: uppercase; }

.language__container--left .language__label {
  border-radius: 4px 0 0 4px; }

.language__container--right .language__label {
  border-left: 0;
  border-radius: 0 4px 4px 0; }

.language__control:hover + .language__label,
.language__control:focus + .language__label {
  background-color: #eee; }

.language__control:checked + .language__label {
  background-color: #ddd; }

.language__control:focus + .language__label,
.language__control:checked:focus + .language__label {
  z-index: 2;
  outline: 2px solid #85bffd;
  box-shadow: 0 0 8px #85bffd; }

.language__container--fr .language__label {
  background-image: url("../img/fr.svg"); }

.language__container--en .language__label {
  background-image: url("../img/gb.svg"); }

.button--loading {
  position: relative;
  cursor: not-allowed;
  color: transparent;
  background: #aaa;
  border-color: #aaa; }
  .button--loading:hover, .button--loading:focus {
    background: #aaa;
    border-color: #aaa;
    color: transparent; }

.button--loading:before {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  width: 1.5em;
  height: 1.5em;
  margin-top: -0.75em;
  margin-left: -0.75em;
  content: '';
  background: url(../img/loading-icon.png);
  background-size: 1.5em 1.5em;
  -webkit-animation: spin 2s linear infinite;
  -moz-animation: spin 2s linear infinite;
  animation: spin 2s linear infinite; }

@-moz-keyframes spin {
  100% {
    -moz-transform: rotate(360deg); } }
@-webkit-keyframes spin {
  100% {
    -webkit-transform: rotate(360deg); } }
@keyframes spin {
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg); } }
.message {
  position: relative;
  border-left: 4px solid #92bf43;
  margin: 0 0 1em;
  padding: 15px 20px 15px 10px;
  background-color: #efefef; }

.message--info {
  border-left: 4px solid #bcbcbc; }

.message--success {
  border-left: 4px solid #92bf43; }

.message--warning {
  border-left: 4px solid #ff9837; }

.message--error {
  border-left: 4px solid #dc0000; }

.message input {
  float: left;
  width: 20px;
  opacity: 1; }

.message input:focus {
  outline: none; }

.message input:after {
  position: absolute;
  top: 13px;
  left: 7px;
  width: 20px;
  height: 20px;
  content: '';
  background: url(../img/closed.gif) no-repeat; }

.message--info input:after {
  background-color: #898989; }

.message--success input:after {
  background-color: #92bf43; }

.message--warning input:after {
  background-color: #ff9837; }

.message--error input:after {
  background-color: #dc0000; }

.message--success input:hover:after {
  background-color: #bcbcbc; }

.message--success input:hover:after {
  background-color: #597428; }

.message--warning input:hover:after {
  background-color: #d06500; }

.message--error input:hover:after {
  background-color: #900000; }

.message--info input:hover + label,
.message--success input:hover + label,
.message--warning input:hover + label,
.message--error input:hover + label {
  color: black; }

.message input:focus:after {
  background-color: #000;
  outline: 5px auto #85bffd; }

.message input:focus + label {
  color: #3c4e1b; }

.message input:checked:after {
  background: url(../img/open.gif) no-repeat; }

.message input:checked:hover:after,
.message input:checked:focus:after {
  background-color: #759a35; }

.message input:checked:focus:after {
  outline: 5px auto #85bffd; }

.message label {
  cursor: pointer;
  color: #333; }

.message__content {
  overflow: hidden;
  height: 0;
  opacity: .5;
  transition: all .5s ease; }

.message input:checked ~ .message__content {
  height: auto;
  opacity: 1; }

.message__inner {
  padding: 10px 0 10px 27px; }

::-webkit-input-placeholder {
  opacity: 1;
  color: red; }

:-moz-placeholder {
  opacity: 1;
  color: red; }

::-moz-placeholder {
  opacity: 1;
  color: red; }

:-ms-input-placeholder {
  opacity: 1;
  color: red; }

form {
  margin: 1em 0; }

.segmented-control {
  display: flex;
  flex-direction: row;
  margin: 0;
  padding: 0;
  list-style: none; }
  .segmented-control li {
    position: relative;
    border: 1px solid #166DCC;
    border-left: 0;
    text-align: center;
    text-decoration: none; }
  .segmented-control li:first-child {
    border-left: 1px solid #166DCC;
    border-radius: .3em 0 0 .3em; }
  .segmented-control li:last-child {
    border-radius: 0 0.3em 0.3em 0; }
  .segmented-control input {
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0; }
  .segmented-control label {
    z-index: 1;
    display: block;
    padding: .5em 1em;
    color: #166DCC;
    background: #fff; }
  .segmented-control label:hover {
    background: #cee3fa; }
  .segmented-control li:first-child label {
    border-radius: .3em 0 0 .3em; }
  .segmented-control li:last-child label {
    border-radius: 0 0.3em 0.3em 0; }
  .segmented-control input:checked + label,
  .segmented-control input:focus + label {
    color: #fff;
    background: #166DCC; }
  .segmented-control input:checked + label:hover,
  .segmented-control input:focus + label:hover {
    color: #fff;
    background: #5ba1ed; }

.segmented-control--stretched li {
  flex-grow: 1; }

.segmented-control--sized li {
  width: 9em; }

.segmented-control--centered {
  justify-content: center; }

.select {
  margin-bottom: 1.5em; }

.select__content {
  display: block;
  margin: 0 0 .2em; }

.select__control-container {
  position: relative;
  display: block;
  border: 1px solid #ccc;
  border-radius: .2em;
  background: #fff; }

.select__control-container:hover {
  background: #efefef; }

.select__control-container::before {
  position: absolute;
  z-index: 1;
  top: 2px;
  right: 1px;
  bottom: 1px;
  display: block;
  width: 1em;
  content: '';
  background: #fff;
  pointer-events: none; }

.select__control-container:hover::before {
  background: #efefef; }

.select__control-container::after {
  position: absolute;
  z-index: 2;
  top: 40%;
  right: .5em;
  width: 0;
  height: 0;
  border-top: 7px solid #666;
  border-right: 4px solid transparent;
  border-left: 4px solid transparent;
  content: '';
  pointer-events: none; }

.select__control {
  display: block;
  width: 100%;
  height: 2em;
  border: 1px solid transparent;
  border-radius: .2em;
  padding: 0 .5em;
  cursor: pointer;
  color: #888;
  background: transparent;
  font-size: 1em;
  line-height: 2em; }

.select--disabled .select__content {
  color: #aaa; }

.select--disabled .select__control-container {
  border: 1px solid #d9d9d9;
  background: #eee; }

.select--disabled .select__control-container::before {
  background: #eee; }

.select--disabled .select__control-container::after {
  border-top: 7px solid #cccccc; }

.select--disabled .select__control {
  cursor: not-allowed;
  color: #aeaeae; }

.select--required .select__content:after {
  display: inline-block;
  padding: 0 0 0 .2em;
  content: '*';
  color: red; }

/* 1.5em */
/* 1em */
/* .25em */
.switch {
  position: relative;
  width: 3em;
  height: 1.5em; }

.switch--xl {
  font-size: 1.6em; }

.switch--lg {
  font-size: 1.4em; }

.switch--md {
  font-size: 1.2em; }

.switch--sm {
  font-size: 1em; }

.switch--xs {
  font-size: 0.8em; }

.switch__control {
  position: absolute;
  top: 0;
  left: 0;
  width: 3em;
  height: 1.5em;
  border-radius: 1.5em;
  margin: 0;
  opacity: 0;
  line-height: 1; }

.switch__label {
  position: relative;
  display: block;
  width: 3em;
  height: 1.5em;
  border-radius: 1.5em;
  margin: 0;
  cursor: pointer;
  background: #aaa;
  text-indent: 0;
  transition: background .2s; }

.switch__label:after {
  position: absolute;
  top: 0.25em;
  left: 0.25em;
  display: block;
  width: 1em;
  height: 1em;
  border-radius: 1em;
  content: '';
  background: #fff;
  transition: left .04s; }

.switch__control:hover + label,
.switch__control:focus + label {
  background: #777; }

.switch__control:checked + label {
  background: #00a000; }

.switch__control:checked:hover + label,
.switch__control:checked:focus + label {
  background: #006e00; }

.switch__control:focus + label,
.switch__control:checked:focus + label {
  box-shadow: 0 0 0 1px #85bffd, 0 0 0 2px #85bffd, 0 0 5px 3px #85bffd; }

.switch__control:checked + label:after {
  left: 1.75em; }

.switch__control:checked + label:before {
  position: absolute;
  z-index: 10;
  top: 0.25em;
  left: 0.325em;
  display: block;
  width: 1em;
  height: 1em;
  content: '';
  background-image: url(../img/switch.svg);
  background-repeat: no-repeat;
  background-position: 0 0;
  background-size: 100%; }

.switch__control[disabled] + label {
  cursor: not-allowed;
  background: #ddd; }

.vote {
  width: 72px;
  height: 36px;
  margin: 0 0 1em;
  padding: 0;
  list-style: none; }

.vote__item {
  position: relative;
  float: left;
  width: 36px;
  height: 36px;
  margin: 0;
  padding: 0; }

.vote__control {
  position: absolute;
  top: 0;
  left: 0;
  width: 36px;
  height: 36px;
  margin: 0;
  padding: 0;
  line-height: 1; }

.vote__content {
  position: absolute;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  width: 1px;
  height: 1px;
  border: 0;
  margin: -1px;
  padding: 0; }

.vote__label {
  position: relative;
  display: block;
  width: 36px;
  height: 36px;
  border: 1px solid #ccc;
  margin: 0;
  cursor: pointer;
  cursor: pointer;
  color: transparent;
  background-color: #fff;
  background-image: url(../img/vote.svg);
  background-repeat: no-repeat;
  background-size: 72px 72px; }

.vote__label--upvote {
  border-radius: 3px 0 0 3px;
  background-position: 0 0; }

.vote__label--downvote {
  border-radius: 0 3px 3px 0;
  background-position: 0 -36px;
  border-left: 0; }

.vote__control:focus + .vote__label,
.vote__control:hover + .vote__label,
.vote__control:disabled + .vote__label,
.vote__control:checked:focus + .vote__label,
.vote__control:checked:hover + .vote__label {
  background-color: #e5e5e5; }

.vote__control:focus + .vote__label {
  z-index: 2;
  outline: 2px solid #85bffd;
  box-shadow: 0 0 8px #85bffd; }

.vote__control:checked + .vote__label--upvote {
  background-position: -36px 0; }

.vote__control:checked + .vote__label--downvote {
  background-position: -36px -36px; }

.vote__control:disabled {
  cursor: not-allowed; }

.vote__control:disabled + .vote__label {
  cursor: not-allowed;
  opacity: .7; }

.input-container {
  position: relative;
  margin: 2em 0; }

.input-container__input {
  width: 100%;
  border: none;
  border-bottom: 1px solid #ccc;
  padding: .5em .5em .5em 0;
  background: #fff;
  font-size: 1em; }

.input-container__input:focus {
  border-bottom: 1px solid blue;
  outline: none; }

.input-container__input:focus:valid {
  border-bottom: 1px solid green; }

.input-container__label {
  position: absolute;
  top: -10px;
  left: 0;
  opacity: 0;
  color: blue;
  font-size: 12px; }

.input-container__input:focus + .input-container__label {
  opacity: 1;
  transition: .5s ease;
  -webkit-transform: translateY(-5px);
  transform: translateY(-5px); }

.input-container__input:valid + .input-container__label {
  opacity: 1;
  color: #777;
  transition: .5s ease;
  -webkit-transform: translateY(-5px);
  transform: translateY(-5px); }

.input-container__input:focus:valid + .input-container__label {
  color: green; }

::-webkit-input-placeholder {
  opacity: 1;
  color: #777; }

:-moz-placeholder {
  opacity: 1;
  color: #777; }

::-moz-placeholder {
  opacity: 1;
  color: #777; }

:-ms-input-placeholder {
  opacity: 1;
  color: #777; }

.input-container__input:focus::-webkit-input-placeholder {
  opacity: 0;
  transition: 1s ease; }

.input-container__input:focus:-moz-placeholder {
  opacity: 0;
  transition: 1s ease; }

.input-container__input:focus::-moz-placeholder {
  opacity: 0;
  transition: 1s ease; }

.input-container__input:focus:-ms-input-placeholder {
  opacity: 0;
  transition: 1s ease; }
