@font-face {
  font-family: 'Formular';
  src: url('fonts/Formular-BlackItalic.eot');
  src: local('Formular Black Italic'), local('Formular-BlackItalic'),
      url('fonts/Formular-BlackItalic.eot?#iefix') format('embedded-opentype'),
      url('fonts/Formular-BlackItalic.woff2') format('woff2'),
      url('fonts/Formular-BlackItalic.woff') format('woff'),
      url('fonts/Formular-BlackItalic.ttf') format('truetype');
  font-weight: 900;
  font-style: italic;
}

@font-face {
  font-family: 'Formular';
  src: url('fonts/Formular-MediumItalic.eot');
  src: local('Formular Medium Italic'), local('Formular-MediumItalic'),
      url('fonts/Formular-MediumItalic.eot?#iefix') format('embedded-opentype'),
      url('fonts/Formular-MediumItalic.woff2') format('woff2'),
      url('fonts/Formular-MediumItalic.woff') format('woff'),
      url('fonts/Formular-MediumItalic.ttf') format('truetype');
  font-weight: 500;
  font-style: italic;
}

@font-face {
  font-family: 'Formular';
  src: url('fonts/Formular-Italic.eot');
  src: local('Formular Italic'), local('Formular-Italic'),
      url('fonts/Formular-Italic.eot?#iefix') format('embedded-opentype'),
      url('fonts/Formular-Italic.woff2') format('woff2'),
      url('fonts/Formular-Italic.woff') format('woff'),
      url('fonts/Formular-Italic.ttf') format('truetype');
  font-weight: normal;
  font-style: italic;
}

@font-face {
  font-family: 'Formular';
  src: url('fonts/Formular-LightItalic.eot');
  src: local('Formular Light Italic'), local('Formular-LightItalic'),
      url('fonts/Formular-LightItalic.eot?#iefix') format('embedded-opentype'),
      url('fonts/Formular-LightItalic.woff2') format('woff2'),
      url('fonts/Formular-LightItalic.woff') format('woff'),
      url('fonts/Formular-LightItalic.ttf') format('truetype');
  font-weight: 300;
  font-style: italic;
}

@font-face {
  font-family: 'Formular';
  src: url('fonts/Formular-Black.eot');
  src: local('Formular Black'), local('Formular-Black'),
      url('fonts/Formular-Black.eot?#iefix') format('embedded-opentype'),
      url('fonts/Formular-Black.woff2') format('woff2'),
      url('fonts/Formular-Black.woff') format('woff'),
      url('fonts/Formular-Black.ttf') format('truetype');
  font-weight: 900;
  font-style: normal;
}

@font-face {
  font-family: 'Formular';
  src: url('fonts/Formular-Light.eot');
  src: local('Formular Light'), local('Formular-Light'),
      url('fonts/Formular-Light.eot?#iefix') format('embedded-opentype'),
      url('fonts/Formular-Light.woff2') format('woff2'),
      url('fonts/Formular-Light.woff') format('woff'),
      url('fonts/Formular-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: 'Formular';
  src: url('fonts/Formular.eot');
  src: local('Formular'),
      url('fonts/Formular.eot?#iefix') format('embedded-opentype'),
      url('fonts/Formular.woff2') format('woff2'),
      url('fonts/Formular.woff') format('woff'),
      url('fonts/Formular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Formular';
  src: url('fonts/Formular-Medium.eot');
  src: local('Formular Medium'), local('Formular-Medium'),
      url('fonts/Formular-Medium.eot?#iefix') format('embedded-opentype'),
      url('fonts/Formular-Medium.woff2') format('woff2'),
      url('fonts/Formular-Medium.woff') format('woff'),
      url('fonts/Formular-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: 'Formular';
  src: url('fonts/Formular-BoldItalic.eot');
  src: local('Formular Bold Italic'), local('Formular-BoldItalic'),
      url('fonts/Formular-BoldItalic.eot?#iefix') format('embedded-opentype'),
      url('fonts/Formular-BoldItalic.woff2') format('woff2'),
      url('fonts/Formular-BoldItalic.woff') format('woff'),
      url('fonts/Formular-BoldItalic.ttf') format('truetype');
  font-weight: bold;
  font-style: italic;
}

@font-face {
  font-family: 'Formular';
  src: url('fonts/Formular-Bold.eot');
  src: local('Formular Bold'), local('Formular-Bold'),
      url('fonts/Formular-Bold.eot?#iefix') format('embedded-opentype'),
      url('fonts/Formular-Bold.woff2') format('woff2'),
      url('fonts/Formular-Bold.woff') format('woff'),
      url('fonts/Formular-Bold.ttf') format('truetype');
  font-weight: bold;
  font-style: normal;
}

html, body {
  width: 100%;
  height: 100%;
  margin: 0;
  font-family: 'Formular', Arial, sans-serif;
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.framed {
  position: absolute;
  top: 50%; left: 50%;
  width: 15rem;
  margin-left: -7.5rem;
}

.logo {
  cursor: default;
  mix-blend-mode: difference;
}

.logo svg{
  fill: white;
  fill-rule: evenodd;
}

.text {
  color: #fff;
  text-shadow: 0 1px 1px rgba(0,0,0,0.8);
  text-decoration: none;
}

.text--small {
  opacity: 0.85;
  font-size: 0.75rem;
  cursor: pointer;
}

.text--small:hover {
  opacity: 1;
}

.text--omega {
  width: 200%;
  margin: 0 0 1rem -50%;
  font-size: 1.5rem;
  line-height: 1.125;
  font-weight: normal;
}

.text--centered {
  display: block;
  text-align: center;
}

.text--border-right {
  border-right: 1px solid rgba(255,255,255,0.5);
  margin-right: 0.75rem;
  padding-right: 0.75rem;
}

.legal {
  position: absolute;
  bottom: 1.125rem; left: 1.125rem;
}

.ghost {
  position: absolute;
  left: -100%;
}

.form {
  margin-top: -4.5em;
  transition: 1s ease-in-out;
}

.input {
  -moz-box-sizing: border-box;
       box-sizing: border-box;
  font-size: 1.125rem;
  line-height: 3rem;
  width: 100%; height: 3rem;
  color: #444;
  background-color: rgba(255,255,255,.9);
  border: 0;
  border-top: 1px solid rgba(255,255,255,0.7);
  padding: 0 1rem;
  font-family: 'Open Sans', sans-serif;
}
  .input:focus {
    outline: none;
  }
  .input--top {
    border-radius: 0.5rem 0.5rem 0 0;
    border-top: 0;
  }
  .input--submit {
    background-color: rgba(92,168,214,0.9);
    color: #fff;
    font-weight: bold;
    cursor: pointer;
    border-top: 0;
    border-radius: 0 0 0.5rem 0.5rem;
    margin-bottom: 1rem;
  }

.photo-cred {
  position: absolute;
  right: 1.125rem; bottom: 1.125rem;
}

.fullscreen-bg {
  position: fixed;
  z-index: -1;
  top:0; right:0; bottom:0; left:0;
  background: url('/img/auth-bg.jpg') center;
  background-size: cover;
}

#toggle--login:checked ~ .form--signup { left:200%; visibility:hidden; }
#toggle--signup:checked ~ .form--login { left:-100%; visibility:hidden; }

@media (height:300px){.legal,.photo-cred{display:none}}

input.is-invalid {
  border: 1px #dc3545 solid;
}

.layout{
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.layout .alter_buttons_parent{
  display: none;
  transition: top .2s;
}

.layout.get_started_active .alter_buttons_parent,
.layout.log_in_active .alter_buttons_parent{
  display: block;
}

.layout.get_started_active .alter_buttons_parent .get_started{
  display: none;
}

.layout.log_in .alter_buttons_parent .get_started{
  display: block;
}

.layout.get_started_active .alter_buttons_parent .log_in{
  display: block;
}

.layout.log_in_active .alter_buttons_parent .log_in{
  display: none;
}

.choose_buttons{
  display: flex;
  opacity: 1;
  flex-direction: column;
  max-height: 200px;
}

.main_parent_auth_form{
  width: 300px;
  height: 300px;
}

.main_parent_auth_form button:focus{
  outline: none !important; 
}

.sing_up_get_started_btn{
  width: 100%;
  height: 44px;
  border: none;
  margin-top: 10px;
  font-weight: bold;
  border-radius: 2px;
  font-size: 16px;
  line-height:normal;
}

.get_started, .sing_up{
  background: #00b8ff;
  color: white;
}

.get_started:active{
  background: #4e96c2;
}

.log_in{
  background: white;
  color: #444;
}

.common_class_form{
  width: 100%;
  max-height: 0;
  overflow: hidden;
  pointer-events: none;
}

.common_class_form input{
  height: 44px;
  width: 100%;
  background: white;
  color: #222;
  border: none;
  border-bottom: 1px solid lightgray;
  padding: 11px 10px 11px 13px;
  font-family: HelveticaNeueCyr, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.4;
  text-decoration: none !important;
}

.common_class_form input::placeholder{
  color: #a3a3a3;
}
.common_class_form input:-ms-input-placeholder{
  color: #a3a3a3;
}
.common_class_form input::-ms-input-placeholder{
  color: #a3a3a3;
}

.common_class_form input.is-invalid{
  border: 1px #dc3545 solid !important;
}

.common_class_form input[type="password"].is-invalid{
  margin-top: -1px;
}

.field-signupform-password:last-child input{
  border-bottom: none;
}

.common_class_form input:focus{
  outline: none;
}

.border_radius{
  overflow: hidden;
  border-radius: 2px;
}

.border_radius div:last-child input{
  border-bottom: 0;
}

.log_in_active .choose_buttons,
.get_started_active .choose_buttons{
  opacity: 0;
  max-height: 0;
  transition: all .2s; 
  overflow: hidden;
}

.log_in_active .choose_buttons button,
.get_started_active .choose_buttons button{
  pointer-events: none;
}

.alter_buttons_parent{
  position: absolute;
  top: 20px;
  right: 20px;
}

.alter_buttons_parent.get_started .log_in{
  display: none;
}

.alter_buttons_parent.log_in .get_started{
  display: none;
}

.alter_button{
  border: none;
  background: none;
  color: white;
  font-weight: bold;
}

.alter_button.log_in:active,
.alter_button.log_in:focus,
.alter_button.get_started:active,
.alter_button.get_started:focus{
  outline: none;
  background: none;
}

.sing_up_form input{
  margin-left: 400px;
  transition: margin-left .3s ease-out;
}


.get_started_active .sing_up_form{
  margin-top: -300px;
  pointer-events: all;
  transition: all 0.3s;  
}

.get_started_active .sing_up_form.active{
  margin-top: 0;  
  max-height: 400px;
}

.get_started_active .sing_up_form input{
  margin-left: 0;
}

.log_in_form input{
  margin-left: -300px;
  border-radius: 0;
  transition: margin-left 0.3s; 
}

.log_in_active .log_in_form{
  margin-bottom: -300px;
  transition: all 0.3s;  
  pointer-events: all;
}

.log_in_active .log_in_form.active{
  margin-bottom: 0;
  max-height: 200px;
}

.log_in_active .log_in_form.active input{
  margin-left: 0;
}

.strong_password_indicate{
  width: 100%;
  margin-top: -2px;
  position: relative;
  z-index: 2;
  height: 2px;
  background: linear-gradient(90deg, rgba(255,46,0,1) 0%, rgba(48,255,0,1) 100%);
  display: none;
}

.agent_domain .log_in_form,
.is_domain .log_in_form,
.r_domain .log_in_form{
  margin-bottom: 0;
  max-height: 200px;
  pointer-events: all;
}

.agent_domain .log_in_form input,
.is_domain .log_in_form input,
.r_domain .log_in_form input{
  margin-left: 0;
}

@media screen and (max-width: 500px){
  .alter_buttons_parent.hide{
    top:-100px;
  }
  .legal.hide{
    bottom: -100px;
    transition: bottom .2s;
  }
  #yii-debug-toolbar{
    bottom: -100px;
    transition: bottom .2s;
  }
}

