/* == Frost styles ========================================================== */
@font-face {
 font-family:Roboto;
 font-style:normal;
 font-weight:400;
 src:local('Roboto'),
 local('Roboto-Regular'),
 url(../fonts/Roboto/Roboto-Regular.ttf) format('truetype');
 unicode-range:U+0000-00FF,
 U+0131,
 U+0152-0153,
 U+02C6,
 U+02DA,
 U+02DC,
 U+2000-206F,
 U+2074,
 U+20AC,
 U+2212,
 U+2215,
 U+E0FF,
 U+EFFD,
 U+F000
}

@font-face {
 font-family:Roboto;
 font-style:normal;
 font-weight:300;
 src:local('Roboto Light'),
 local('Roboto-Light'),
 url(../fonts/Roboto/Roboto-Light.ttf) format('truetype');
 unicode-range:U+0000-00FF,
 U+0131,
 U+0152-0153,
 U+02C6,
 U+02DA,
 U+02DC,
 U+2000-206F,
 U+2074,
 U+20AC,
 U+2212,
 U+2215,
 U+E0FF,
 U+EFFD,
 U+F000
}

@font-face {
 font-family:Roboto;
 font-style:normal;
 font-weight:700;
 src:local('Roboto Bold'),
 local('Roboto-Bold'),
 url(../fonts/Roboto/Roboto-Bold.ttf) format('truetype');
 unicode-range:U+0000-00FF,
 U+0131,
 U+0152-0153,
 U+02C6,
 U+02DA,
 U+02DC,
 U+2000-206F,
 U+2074,
 U+20AC,
 U+2212,
 U+2215,
 U+E0FF,
 U+EFFD,
 U+F000
}

* {
  box-sizing: border-box;
}

body {
  font-family: Roboto;
  margin: 0;
}

.f-color-white {
  color: #ffffff;
}

.f-color-grey-1 {
  color: #414141;
}

.f-color-grey-2 {
  color: #272425;
}

.f-color-grey-6 {
  color: #babcbe;
}

.f-color-critical-1 {
  color: #e52c2c;
}

.f-bg-lgrey-3 {
  background-color: #f0f2f4;
}

.f-bg-night-4 {
  background-color: #2c3339;
}

.f-border {
  border-style: solid;
}

.f-border-w-0 {
  border-width: 0;
}

.f-border-w-1 {
  border-width: 1px;
}

.f-border-radius-2 {
  border-radius: 4px;
}

.f-border-grey-7 {
  border-color: #cdcdcd;
}

.f-font-s {
  font-size: 14px;
}

.f-font-m {
  font-size: 16px;
}

.f-font-l {
  font-size: 23px;
}

.f-font-xl {
  font-size: 29px;
}

.f-font-light {
  font-weight: 300;
}

.f-font-regular {
  font-weight: 400;
}

.f-font-bold {
  font-weight: 700;
}

.f-margin-t-3 {
  margin-top: 12px;
}

.f-margin-t-6 {
  margin-top: 32px;
}

.f-margin-b-3 {
  margin-bottom: 12px;
}

.f-margin-b-4 {
  margin-bottom: 16px;
}

.f-margin-r-7 {
  margin-right: 40px;
}

.f-margin-y-4 {
  margin-top: 16px;
  margin-bottom: 16px;
}

.f-padding-4 {
  padding: 16px;
}

.f-padding-b-6 {
  padding-bottom: 32px;
}

.f-padding-t-7 {
  padding-top: 40px;
}

.f-padding-l-8 {
  padding-left: 48px;
}

.f-padding-y-2 {
  padding-top: 8px;
  padding-bottom: 8px;
}

.f-padding-y-3 {
  padding-top: 12px;
  padding-bottom: 12px;
}

.f-padding-x-3 {
  padding-left: 12px;
  padding-right: 12px;
}

.f-display-block {
  display: block;
}

.f-display-none {
  display: none;
}

.f-flex {
  display: flex;
}

.f-flex-1 {
  flex: 1;
}

.f-flex-column {
  flex-direction: column;
}

.f-flex-justify-center {
  justify-content: center;
}

.f-flex-align-start {
  align-items: flex-start;
}

.f-flex-align-center {
  align-items: center;
}

.f-width-100 {
  width: 100%;
}

.f-height-100 {
  height: 100%;
}

.f-pointer-cursor {
  cursor: pointer;
}

/* == Landing page styles ===================================================== */
.landing-page .dialog {
  width: 470px;
  box-shadow: 0px 10px 85px 0px rgba(0, 0, 0, 0.3);
}

.landing-page .brand-strip {
  width: 8px;
  height: 330px;
}

.landing-page .logo {
  height: 32px;
}

.landing-page .content {
  padding-right: 56px;
}

.landing-page .customer-input::placeholder {
  color: #babcde;
}

.landing-page .customer-input:focus {
  outline-style: solid;
  outline-width: 1px;
  outline-color: #009eef;
}

.landing-page .customer-input:invalid {
  outline-style: solid;
  outline-width: 1px;
  outline-color: #e52c2c;
}

.landing-page button:disabled {
  cursor: default;
  opacity: 0.7;
}

.landing-page .error-msg {
  padding: 32px 56px 64px;
  border-top: 1px solid #cdcdcd;
}

/* == Error page styles ===================================================== */
.error-page .error-svg {
  height: 145px;
  width: 145px;
}

/* == Error details details behaviour ======================================= */
.lbl-toggle::before {
  border-style: solid;
  border-width: 0.20em 0.20em 0 0;
  border-color: #babcbe;
  content: '';
  display: inline-block;
  height: 0.45em;
  left: 0.15em;
  position: relative;
  top: 0.25em;
  transform: rotate(45deg);
  vertical-align: top;
  width: 0.45em;
  margin-right: 14px;
}

.toggle:checked+.lbl-toggle::before {
  transform: rotate(135deg) translateX(-3px);
}

.collapsible-content {
  height: 0px;
  overflow: hidden;
  transition: height .25s ease-in-out;
}

.toggle:checked+.lbl-toggle+.collapsible-content {
  height: auto;
}

/* == Frost Components ====================================================== */

.frost-button-primary {
  font-family: "Roboto";
  background-color: #0271bc;
  border: none;
  color: white;
  font-size: 14px;
  border-radius: 2px;
}

.frost-button-primary:focus {
  outline-color: white;
  box-shadow: 0 0 4px 0 #43c9f7;
  border-color: #43c9f7;
  background-color: #009eef;
}

.frost-button-primary:hover {
  background-color: #009eef;
}

.frost-button-primary:active {
  background-color: #0271bc;
  box-shadow: none;
}

.frost-textarea {
  font-family: "Roboto";
  padding-top: 4px;
  padding-bottom: 4px;
  padding-left: 4px;
  padding-right: 24px;
  border-width: 1px;
  border-color: #cdcdcd;
  color: #272425;
  font-size: 14px;
  width: 100%;
}

.frost-textarea:focus {
  border-color: #009eef;
  outline: none;
}

/* ==== frost-notification ==== */

@keyframes frost-notifications-hide {
  0% {
    transform: scale(1);
    opacity: 1;
  }

  100% {
    transform: scale(.8);
    opacity: 0;
  }
}

@keyframes frost-notifications-show {
  0% {
    transform: perspective(450px) translate(0, -30px) rotateX(90deg);
    opacity: 0;
  }

  100% {
    transform: perspective(450px) translate(0, 0) rotateX(0deg);
    opacity: 1;
  }
}

@keyframes frost-notifications-shrink {
  0% {
    max-height: 800px;
    transform: scale(.8);
    opacity: 0;
  }

  100% {
    max-height: 0;
    transform: scale(.8);
    opacity: 0;
  }
}

.frost-notifications-container {
  position: absolute;
  margin-left: auto;
  margin-right: auto;
  left: 0;
  right: 0;
  top: 0;
  width: 500px;
}

.frost-notifications {
  position: relative;
  border-radius: 2px;
  overflow: hidden;
  min-height: 30px;
  max-height: 800px;
  display: flex;
  padding-top: 4px;
  padding-bottom: 4px;
  padding-left: 12px;
  padding-right: 12px;
  align-items: center;
  border: 2px solid;
  box-shadow: 0 1px 10px 0 rgba(0, 0, 0, .3);
  font-family: 'Roboto';
  color: #676767;
  font-size: 14px;
}

.frost-notifications-icon {
  width: 18px;
  height: 18px;
  margin-right: 10px;
}

.frost-notifications-close-icon {
  width: 15px;
  height: 15px;
  fill: #676767;
  cursor: pointer;
  position: absolute;
  right: 12px;
}

.frost-notifications-in {
  animation: frost-notifications-show 180ms cubic-bezier(.175, .885, .32, 1.2750);
  animation-fill-mode: forwards;
}

.frost-notifications-out {
  animation: frost-notifications-hide 250ms cubic-bezier(.3386, -.42, 1, -.22), frost-notifications-shrink 250ms 250ms cubic-bezier(.5, 0, 0, 1);
  animation-fill-mode: forwards;
}
