/* Fonts */
@import url("//fonts.googleapis.com/css?family=Open+Sans:300,300i,400,600,700,800");

/* Libraries */
/*! normalize.css v8.0.0 | MIT License | github.com/necolas/normalize.css */
html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
}
h1 {
  font-size: 2em;
  margin: 0.67em 0;
}
hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}
pre {
  font-family: monospace, monospace;
  font-size: 1em;
}
a {
  background-color: transparent;
}
abbr[title] {
  border-bottom: none;
  text-decoration: underline;
  text-decoration: underline dotted;
}
b,
strong {
  font-weight: bolder;
}
code,
kbd,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}
small {
  font-size: 80%;
}
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}
sub {
  bottom: -0.25em;
}
sup {
  top: -0.5em;
}
img {
  border-style: none;
}
button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
}
button,
input {
  overflow: visible;
}
button,
select {
  text-transform: none;
}
[type="button"],
[type="reset"],
[type="submit"],
button {
  -webkit-appearance: button;
}
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner,
button::-moz-focus-inner {
  border-style: none;
  padding: 0;
}
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring,
button:-moz-focusring {
  outline: 1px dotted ButtonText;
}
fieldset {
  padding: 0.35em 0.75em 0.625em;
}
legend {
  box-sizing: border-box;
  color: inherit;
  display: table;
  max-width: 100%;
  padding: 0;
  white-space: normal;
}
progress {
  vertical-align: baseline;
}
textarea {
  overflow: auto;
}
[type="checkbox"],
[type="radio"] {
  box-sizing: border-box;
  padding: 0;
}
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}
[type="search"] {
  -webkit-appearance: textfield;
  outline-offset: -2px;
}
[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}
::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}
details {
  display: block;
}
summary {
  display: list-item;
}
template {
  display: none;
}
[hidden] {
  display: none;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes yAxis {
  50% {
    -webkit-animation-timing-function: cubic-bezier(0.02, 0.01, 0.21, 1);
    animation-timing-function: cubic-bezier(0.02, 0.01, 0.21, 1);
    -webkit-transform: translateY(-100px);
    transform: translateY(-100px);
  }
}
@keyframes xAxis {
  50% {
    -webkit-animation-timing-function: cubic-bezier(0.3, 0.27, 0.07, 1.64);
    animation-timing-function: cubic-bezier(0.3, 0.27, 0.07, 1.64);
    -webkit-transform: translateX(100px);
    transform: translateX(100px);
  }
}

/* Auth */
* {
  outline: none;
}

body {
  background: #f8f8f8;
  font-family: "Open Sans", sans-serif;
  /*height: 100%;*/
  text-align: left;
  color: #231f20;
  overflow: hidden;
  overflow-y: scroll;
}

main {
  width: 100vw;
  height: 100vh;
  position: relative;
  /*overflow: hidden;*/
}

.logo {
  width: 200px;
  height: 100px;
  position: fixed;
  top: 17px;
  left: 35px;
  background: url(/app/img/logo.svg) center center no-repeat;
  z-index: 2;
  background-size: contain;
}

.container {
  max-width: 416px;
  width: 100%;
  margin: 30px auto;
  position: relative;
  z-index: 1;
}

header {
  padding: 50px 0 35px;
  animation: fadeInUp 1s;
}

header h1 {
  font-size: 25px;
  font-weight: 600;
  line-height: 34px;
  text-align: center;
  margin: 4px 0;
}

header hr {
  width: 50px;
  height: 2px;
  background: #333333;
  margin: 4px auto;
  border: none;
}

.panel {
  display: block;
  background: #ffffff;
  border-radius: 15px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.06);
  animation: fadeInUp 2s;
}

.panel .tabs {
  height: 60px;
  clear: both;
}

.panel .tabs a {
  display: block;
  background: #eae8e8;
  width: 50%;
  padding: 18px 0;
  text-align: center;
  font-size: 18px;
  line-height: 24px;
  font-weight: 400;
  color: #818181;
  text-decoration: none;
  float: left;

  transition: 0.5s;
}

.panel .tabs a:first-child {
  border-radius: 15px 0 0 0;
}

.panel .tabs a:last-child {
  border-radius: 0 15px 0 0;
}

.panel .tabs a.active {
  background: #ffffff;
  color: #2b28a6;
}

.panel .tabs a:hover {
  background: #f9f7f7;
}

.panel .inner {
  width: 100%;
  max-width: 290px;
  margin: 0 auto;
  padding-bottom: 10px;
}

.panel .inner h2 {
  color: #2b28a6;
  font-weight: 400;
  font-size: 15px;
  line-height: 20px;
  padding: 20px 0;
  margin: 0;
  text-align: center;
}

.panel .inner h3 {
  color: #333333;
  font-weight: 400;
  font-size: 15px;
  line-height: 20px;
  padding: 0 0 20px;
  margin: 0;
  text-align: center;
}

.panel .inner .tip {
  font-size: 12px;
  color: #777777;
  padding: 0 5px 10px;
}

.panel .inner .radio-options {
  width: 100%;
}
.panel .inner .radio-options [type="checkbox"]:checked,
.panel .inner .radio-options [type="checkbox"]:not(:checked),
.panel .inner .radio-options [type="radio"]:checked,
.panel .inner .radio-options [type="radio"]:not(:checked) {
  position: absolute;
  left: -9999px;
  width: 0;
  height: 0;
  visibility: hidden;
}
.panel .inner .radio-options .radio-option + label {
  border: 1px solid #d5d5d5;
  border-radius: 20px;
  position: relative;
  display: inline-block;
  padding: 10px;
  width: 117px;
  letter-spacing: 1px;
  margin: 0 0 10px;
  text-align: center;
  cursor: pointer;
  color: #333;
  transition: border-color 0.5s;
}
.panel .inner .radio-options .radio-option + label .check {
  display: none;
  position: absolute;
  top: -5px;
  right: -5px;
  z-index: 1;
}
.panel .inner .radio-options .radio-option + label:first-child {
  margin-right: 7px;
}
.panel .inner .radio-options .radio-option + label:last-child {
  margin-left: 7px;
}
.panel .inner .radio-options .radio-option + label h5 {
  font-size: 14px;
  line-height: 20px;
  margin: 10px 0;
  color: #888888;
  font-weight: 600;
}
.panel .inner .radio-options .radio-option + label p {
  font-size: 12px;
  line-height: 20px;
  color: #666666;
  font-weight: 300;
}
.panel .inner .radio-options .radio-option + label i.icon {
  padding-top: 10px;
  display: block;
}
.panel .inner .radio-options .radio-option:checked + label,
.panel .inner .radio-options .radio-option:hover + label {
  border-color: #2b28a6;
}
.panel .inner .radio-options .radio-option:checked + label .check {
  display: block;
}
.panel .inner .radio-options .radio-option:checked + label h5 {
  color: #2b28a6;
}
.panel .inner .radio-options .radio-option:checked + label p {
  color: #2b28a6;
}

.panel .inner .select,
.panel .inner input:not([type="checkbox"]) {
  border: 1px solid #d5d5d5;
  border-radius: 20px;
  font-size: 14px;
  line-height: 19px;
  padding: 10px 15px;
  margin: 8px 0;
  box-sizing: border-box;
  width: 100%;

  transition: border-color 0.5s;
}

.panel .inner input[type="checkbox"] {
  font-size: 14px;
  line-height: 19px;
  padding: 10px 15px;
  margin: 8px 0;
  display: block;
}

.panel .inner .select.is-invalid,
.panel .inner input.is-invalid {
  border-color: #e64a3a;
}

.panel .inner .select:hover,
.panel .inner input:not([type="checkbox"]):focus {
  border-color: #2b28a6;
}

.panel .inner .select {
  overflow: hidden;
  padding: 3px 8px;
}

.panel .inner button {
  width: 100%;
  padding: 9px 0;
  color: #ffffff;
  background: #2b28a6;
  border-radius: 28px;
  border: 1px solid #2b28a6;
  font-size: 16px;
  line-height: 22px;
  margin: 8px 0;
  cursor: pointer;

  transition: 0.5s;
}

.panel .inner button:hover {
  background: transparent;
  color: #2b28a6;
}

.panel .inner a.social-button {
  width: 100%;
  background: #2b28a6;
  border-radius: 28px;
  border: 1px solid #2b28a6;
  margin: 8px 0 16px;
  cursor: pointer;
  text-decoration: none;
  display: block;
  box-sizing: border-box;
  height: 41px;

  transition: 0.5s;
}

.panel .inner a.social-button svg {
  float: left;
  height: 39px;
}

.panel .inner a.social-button span {
  padding: 9px 0;
  display: block;
  margin: 0 0 0 70px;
  font-size: 16px;
  text-align: left;
  width: 100%;
  line-height: 22px;
  color: #ffffff;
}

.panel .inner a.social-button.button-google {
  background: #2593e8;
  border-color: #2593e8;
}

.panel .inner a.social-button.button-facebook {
  background: #3b5998;
  border-color: #3b5998;
}

.panel .inner a.social-button:hover {
  background: transparent;
}

.panel .inner a.social-button.button-google:hover span {
  color: #2593e8;
}

.panel .inner a.social-button.button-facebook:hover span {
  color: #3b5998;
}

.panel .inner .select select {
  background: transparent;
  border: none;
  font-size: 14px;
  height: 34px;
  width: 100%;
  box-sizing: border-box;
  outline: 0;
}

.panel .inner hr {
  width: 100%;
  height: 2px;
  background: #eae8e8;
  margin: 30px 0;
  border: none;
}

.panel .inner p.bottom {
  font-size: 14px;
  line-height: 19px;
  text-align: center;
  margin: 0;
  padding: 5px 0 10px;
}

.panel .inner p.bottom a {
  font-size: 14px;
  line-height: 19px;
  color: #2b28a6;

  transition: 0.5s;
}

.panel .inner p.bottom a:hover {
  color: #231f20;
}

.alert {
  font-weight: 400;
  font-size: 15px;
  line-height: 20px;
  margin: 10px 0;
  text-align: center;
  padding: 10px;
  border-radius: 5px;
}
.alert.alert-danger {
  color: #e64a3a;
  background-color: #ffe3e0;
}

.alert.alert-success {
  color: #77aa74;
  background-color: #e0fff1;
}

.bottom-link {
  font-size: 14px;
  color: #2b28a6;
  display: block;
  text-align: center;
  margin-top: 10px;
}

.panel .inner ol {
  margin: 0;
}
.panel .inner ol li {
  color: #2b28a6;
  font-weight: 400;
  font-size: 12px;
  line-height: 20px;
  padding: 0 0 10px;
}

.page-form .form-row {
  padding: 8px 0;
}

.page-form .form-inline {
  display: inline-block;
  margin-right: 20px;
}

.page-form .form-50 {
  display: inline-block;
  width: calc(50% - 14px);
  margin-right: 20px;
  vertical-align: top;
}

.page-form .form-33 {
  display: inline-block;
  width: calc(33% - 14px);
  margin-right: 20px;
  vertical-align: top;
}

.page-form .form-50:last-child,
.page-form .form-33:last-child {
  margin-right: 0;
}

/* Clouds */

.clouds .cloud {
  position: absolute;
  z-index: 0;

  animation: xAxis 30s infinite cubic-bezier(0.02, 0.01, 0.21, 1);
}

.clouds .cloud svg {
  animation: yAxis 30s infinite cubic-bezier(0.3, 0.27, 0.07, 1.64);
}

.clouds .cloud.cloud-1 {
  left: -73px;
  top: -25px;
  width: 573px;
}
.clouds .cloud.cloud-2 {
  right: 179px;
  top: 122px;
  width: 545px;
}

.clouds .cloud.cloud-3 {
  left: 30px;
  bottom: -106px;
  width: 496px;
}
.clouds .cloud.cloud-4 {
  right: -20px;
  bottom: -54px;
  width: 354px;
}

.clouds .cloud.cloud-2,
.clouds .cloud.cloud-2 svg {
  animation-delay: 4s;
  animation-duration: 40s;
}

.clouds .cloud.cloud-3,
.clouds .cloud.cloud-3 svg {
  animation-delay: 6s;
  animation-duration: 50s;
}

.clouds .cloud.cloud-4,
.clouds .cloud.cloud-4 svg {
  animation-delay: 8s;
  animation-duration: 60s;
}

/*=============================

  Responsive start

  =============================*/

@media (max-width: 1366px) {
}

@media (max-width: 1024px) {
  main {
    overflow: inherit;
  }

  .logo {
    position: relative;
    top: inherit;
    left: inherit;
    margin: 20px auto;
  }

  header {
    padding-top: 0;
  }

  .clouds {
    display: none;
  }
}

@media (max-width: 768px) {
  .page-form .form-50,
  .page-form .form-33 {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 20px;
    box-sizing: border-box;
  }

  .panel .inner {
    max-width: 260px;
  }
}

@media (max-width: 360px) {
}
