@font-face {
  font-family: gilroybold;
  font-weight: 700;
  font-style: normal;
  src: url('../fonts/gilroy-bold-webfont.woff2') format('woff2');
  font-display: swap;
}

@font-face {
  font-family: 'proxima_nova_regular';
  font-weight: normal;
  font-style: normal;
  src: url('../fonts/proximanova-regular-webfont.woff2') format('woff2');
  font-display: swap;
}

@font-face {
  font-family: 'proxima_nova_bold';
  font-weight: bolder;
  font-style: normal;
  src: url('../fonts/proximanova-bold-webfont.woff2') format('woff2');
  font-display: swap;
}

@keyframes move-up-first {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-20px);
  }
}
@keyframes move-up-second {
  from {
    transform: translateY(20px);
  }
  to {
    transform: translateY(0);
  }
}
@keyframes show {
  0% {
    opacity: 0;
  }
  40%, 100% {
    opacity: 1;
  }
}
@keyframes hide {
  0% {
    opacity: 1;
  }
  40%, 100% {
    opacity: 0;
  }
}
@keyframes move-arrow-first {
  0% {
    transform: translateX(0);
    opacity: 1;
  }
  25% {
    opacity: 0;
  }
  100% {
    opacity: 0;
    transform: translateX(22px);
  }
}
@keyframes move-arrow-second {
  0% {
    transform: translateX(-22px);
    opacity: 0;
  }
  25% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}
* {
  box-sizing: border-box;
}

body {
  margin: auto;
  position: relative;
  min-width: 100vw;
  min-height: 100vh;
  font-family: proxima_nova_regular, Helvetica, Arial, sans-serif;
  font-size: 14px;
  line-height: 21px;
  background-image: url('../gfx/login_background.jpg');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-color: #fff;
}
button {
  outline:none;
}
.login {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 100vh;
  visibility: visible;
  opacity: 1;
  transform: matrix(1, 0, 0, 1, 0, 0);
  background-color: #fff;

}

.login__panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-self: center;
  min-height: 100vh;
  width: 100%;
  background: #ffffff;
  z-index: 1;
  border: 1px solid #fff;
}

/* Panel header styles */

.panel__header {
  display: flex;
  justify-content: center;
  max-width: 100%;
  border-bottom: 1px solid #e5e5e5;
  border-top-right-radius: 10px;
  border-top-left-radius: 10px;
  padding: 16px;
}

.header__logo {
  width: 200px;
  height: 50px;
  object-fit: contain;
}

/* Panel content styles */

.panel__content {
  padding: 24px;
  min-height: 200px;
  flex: 1;
}

.panel__title {
  font-family: gilroybold, Helvetica, Arial, sans-serif;
  margin: 0 0 24px 0;
  font-size: 20px;
  line-height: 26px;
}
.extended_panel__title {
  font-family: gilroybold, Helvetica, Arial, sans-serif;
  margin: 0 0 8px 0;
  font-size: 20px;
  line-height: 26px;
}

.extended__title {
  font-family: gilroybold, Helvetica, Arial, sans-serif;
  font-size: 14px;
  top: 20px;
  left: 12px;
  margin: 16px 0;
  pointer-events: none;
  word-wrap: break-word;
}

.panel__body {
  color: #666666;
  margin-bottom: 16px;
  font-family: proxima_nova_regular, Helvetica, Arial, sans-serif;
  font-size: 16px;
}

.extended__title + .panel__body {
  margin-bottom: 24px;
}

.panel__form {
  display: flex;
  flex-direction: column;
  max-width: 100%;
  margin: 8px 0;
}

/* Panel form styles */

.form__element {
  display: flex;
  flex-direction: column;
  position: relative;
  margin-bottom: 16px;
}
.form__element:last-of-type {
  margin-bottom: 24px;
}
.form__element--has-error {
}

.form__element--has-error[data-msg-error]:after {
  content: attr(data-msg-error);
  display: block;
  color: #df1b12;
  margin-top: 8px;
}


.panel__form__error {
  color: #df1b12;
  margin-bottom: 16px;
  font-size: 14px;
  line-height: 21px;
  font-family: proxima_nova_regular, Helvetica, Arial, sans-serif;
}

.element__label {
  position: absolute;
  top: 20px;
  left: 12px;
  font-family: gilroybold, Helvetica, Arial, sans-serif;
  font-size: 14px;
  line-height: 18px;
  margin-bottom: 6px;
  transition: transform .2s;
  pointer-events: none;
  text-transform: capitalize;
}

.element__label:after {
  content: "*";
  display: inline-block;
  margin-left: 4px;
  color: #DF1B12;
}

.element__input {
  width: 100%;
  height: 56px;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  padding: 20px 12px 12px 12px;
  font-family: proxima_nova_regular, Helvetica, Arial, sans-serif;
}

.form__element--has-error .element__input {
  border: 1px solid #df1b12;
  border-radius: 10px;
}



.element__input:valid + .element__label  {
  transform: translateY(-12px) scale(0.857143);
  opacity: 0.25;
  left: 6px;
}


.element__input:focus +  .element__label {
  transform: translateY(-12px) scale(0.857143);
  opacity: 0.25;
  left: 6px;
}
input:-webkit-autofill:not(:focus) +  .element__label {
  transform: translateY(-12px) scale(0.857143);
  opacity: 0.25;
  left: 6px;
}
input:autofill:not(:focus) +  .element__label {
  transform: translateY(-12px) scale(0.857143);
  opacity: 0.25;
  left: 6px;
}



.element__input:focus {
  outline: 1px solid #000;
  border-radius: 10px;
}

.checkbox__wrapper {
  display: flex;
  position: relative;
  padding: 4px 0 0 35px;
  align-items: center;
  cursor: pointer;
  color: #666;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;

}


.checkbox {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkbox__checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 24px;
  width: 24px;
  border: 1px solid #e5e5e5;
  border-radius: 5px;
}

.checkbox__wrapper .checkbox:checked ~ .checkbox__checkmark {
  background-color: #df1b12;
  border: 1px solid #df1b12;
  border-radius: 5px;
}

.checkbox__checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

.checkbox__wrapper .checkbox:checked ~ .checkbox__checkmark:after {
  display: block;
}

.checkbox__wrapper .checkbox__checkmark:after {
  left: 7px;
  top: 3px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

.form__button {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 48px;
  text-align: center;
  margin-bottom: 16px;
  white-space: nowrap;
  background-color: #df1b12;
  color: #fff;
  border: 0 solid transparent;
  border-radius: 24px;
  font-family: gilroybold, Helvetica, Arial, sans-serif;
  font-size: 14px;
  line-height: 16px;
  transition: background-color .2s ease-in-out;
  cursor: pointer;
  outline: none;
  padding: 0;

}

.form_or_panel {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 24px;
  gap: 12px;
  width: 100%;
  height: 21px;


  /* Inside auto layout */
  flex: none;
  order: 3;
  flex-grow: 0;
}

.form_or_first_line {
  /* Line */

  width: 40px;
  height: 0px;

  /* Tertiary/Grey 10% */
  border: 1px solid #E5E5E5;

  /* Inside auto layout */
  flex: none;
  order: 0;
  flex-grow: 0;
}

.form_or_label {
  /* Label */

  width: 16px;
  height: 21px;

  /* Desktop/Body/Body 2 */
  font-family: gilroybold, Helvetica, Arial, sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 21px;
  /* identical to box height, or 150% */

  /* Primary/Brand Black */
  color: #000000;
  /* Inside auto layout */
  flex: none;
  order: 1;
  flex-grow: 0;
}

.form_or_second_line {
  /* Line */

  width: 40px;
  height: 0px;

  /* Tertiary/Grey 10% */
  border: 1px solid #E5E5E5;

  /* Inside auto layout */
  flex: none;
  order: 2;
  flex-grow: 0;
}

.form_social_login_panel {
  /* Auto layout */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0px;
  gap: 16px;

  width: 100%;
  height: 96px;


  /* Inside auto layout */
  flex: none;
  order: 4;
  align-self: stretch;
  flex-grow: 0;

}

.form_social_login_google_btn {
  /* Form Elements */

  cursor: pointer;
  box-sizing: border-box;

  /* Auto layout */
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 0px;

  width: 100%;
  height: 40px;

  /* Primary/Brand White */
  background: #FFFFFF;
  border: 1px solid #747775;
  border-radius: 24px;

  /* Inside auto layout */
  flex: none;
  order: 0;
  align-self: stretch;
  flex-grow: 0;
}

.form_google_icon {
  /* Auto layout */
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 10px;
  gap: 10px;

  width: 40px;
  height: 40px;

  /* Inside auto layout */
  flex: none;
  order: 0;
  flex-grow: 0;

}

.google_clip_path_group {
  /* Clip path group */

  width: 20px;
  height: 20px;

  /* Inside auto layout */
  flex: none;
  order: 0;
  flex-grow: 0;

}

.google_icon_clip {
  position: absolute;
  left: 25%;
  right: 26%;
  top: 25%;
  bottom: 25%;
}

.form_google_label {
  height: 18px;

  /* Desktop/Headline/Subheadline 1 */
  font-family: gilroybold, Helvetica, Arial, sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 14px;
  line-height: 18px;
  /* identical to box height, or 129% */
  letter-spacing: 0.2px;
  font-feature-settings: 'liga' off;

  /* Primary/Brand Black */
  color: #000000;


  /* Inside auto layout */
  flex: none;
  order: 1;
  flex-grow: 0;

}

/* Facebook login button */

.facebook_btn {
  cursor: pointer;
  width: 100%;
  height: 100%;
  background: white;
  border-radius: 24px;
  border: 1px #1877F2 solid;
  justify-content: center;
  align-items: center;
  display: inline-flex
}

.form_facebook_icon {
  padding: 10px;
  justify-content: flex-start;
  align-items: center;
  gap: 10px;
  display: flex
}

.form_facebook_label {
  color: #1877F2;
  font-size: 14px;
  font-family: gilroybold, Helvetica, Arial, sans-serif;
  font-weight: 700;
  line-height: 18px;
  letter-spacing: 0.20px;
  word-wrap: break-word
}

.form__button.disabled, .form__button[disabled], fieldset[disabled] .form__button {
  cursor: not-allowed;
  pointer-events: none;
  opacity: .65;
  box-shadow: none;
}

.form__button__link,
.form__button__link__second {
  display: inline-flex;
  letter-spacing: .3px;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: inherit;
  white-space: nowrap;
  padding: 0 24px;


}
.form__button__link:focus,
.form__button__link__second:focus {
  outline: 0;
}
.form__button__link {
  text-transform: initial;
  font-family: gilroybold,Helvetica,Arial,sans-serif;
  font-size: 14px;
  line-height: 16px;

}

.form__button__link__second {
  position: absolute;
}

.form__button__link__second__text,
.form__button__link__second__text-icon {
  opacity: 0;
}

.form__button__icon {
  margin-left: 8px;
  display: flex;
  align-items: center;
}
.form__button svg {
  fill: #fff;
}

.form__button:hover .form__button__link__first__text, .form__button:hover .form__button__link__first__icon {
  animation: hide 0.75s cubic-bezier(0.45, 0, 0.55, 1), move-up-first 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}
.form__button:hover .form__button__link__second__text {
  animation: show 0.75s cubic-bezier(0.45, 0, 0.55, 1), move-up-second 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}
.form__button:hover .form__button__link__second__icon {
  animation: show 0.75s cubic-bezier(0.45, 0, 0.55, 1) forwards, move-up-second 0.75s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.form__button:hover .form__button__link__first__icon .form__button__icon {
  animation: move-arrow-first 1s cubic-bezier(0.16, 1, 0.3, 1) infinite;
  animation-delay: 0.75s;
}
.form__button:hover .form__button__link__second__icon .form__button__icon {
  animation: move-arrow-second 1s cubic-bezier(0.16, 1, 0.3, 1) infinite;
  animation-delay: 0.75s;
}
.form__button--icon-only .form__button__link__second__icon {
  opacity: 1 !important;
}
.form__button--icon-only .form__button__icon {
  animation-delay: 0s !important;
  animation-iteration-count: infinite;
}
.form__button--icon-only:hover .form__button__link__first__text, .form__button--icon-only:hover .form__button__link__second__text, .form__button--icon-only:hover .form__button__link__first__icon, .form__button--icon-only:hover .form__button__link__second__icon {
  animation: unset;
}


/* Panel links styles */

.panel__links-wrapper {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
}

.panel__link {
  font-family: gilroybold, Helvetica, Arial, sans-serif;
  color: #df1b12;
  font-size: 14px;
  text-decoration: none;
  display: flex;
  cursor: pointer;
}

.panel__link__icon {
  justify-content: center;
  align-items: center;
  padding: 0;
  display: inline-flex;
}
.panel__link svg,.panel__link path {
  fill: #df1b12;
}

.button__link{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: inherit;
  white-space: nowrap;

}
.button__link:focus {
  outline: 0;
}
.button__link {
  text-transform: initial;
  font-family: gilroybold,Helvetica,Arial,sans-serif;
  font-size: 14px;
  line-height: 18px;
  margin-left: 8px;
}

.button__icon {
  display: flex;
  align-items: center;
}

.panel__link:hover .button__link__icon .button__icon {
  animation: move-arrow-second 1s cubic-bezier(0.16, 1, 0.3, 1) infinite;
  animation-delay: 0.75s;
}

/* Footer styles */

.panel__footer {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  max-width: 100%;
  padding: 0 24px;
  border-top: 1px solid #e5e5e5;
  padding: 40px 24px;
}

.footer__body {
  display: flex;
  align-items: center;
  justify-items: center;
  margin-bottom: 12px;
  padding: 0px 12px;
  font-family: gilroybold, Helvetica, Arial, sans-serif;
  color: #000;
}

.footer__button {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  height: 48px;
  width: 100%;
  text-align: center;
  white-space: nowrap;
  background-color: #000;
  color: #fff;
  font-family: gilroybold, Helvetica, Arial, sans-serif;
  font-size: 14px;
  line-height: 16px;
  text-decoration: none;
  transition: background-color .2s ease-in-out;
  border-radius: 24px;
  border: 0 solid transparent;
  cursor: pointer;
  outline:none;
  padding: 0;
}

.footer__button__link,
.footer__button__link__second {
  letter-spacing: .3px;
  font-size: 14px;
  line-height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: inherit;
  white-space: nowrap;
  padding: 0 24px;

}
.footer__button__link:focus,
.footer__button__link__second:focus {
  outline: 0;
}
.footer__button__link {
  text-transform: initial;
  font-family: gilroybold,Helvetica,Arial,sans-serif;
  font-size: 14px;
  line-height: 16px;
}

.footer__button__link__second {
  position: absolute;
}

.footer__button__link__second__text,
.footer__button__link__second__text-icon {
  opacity: 0;
}

.footer__button__icon {
  margin-left: 8px;
  display: flex;
  align-items: center;
}
.footer__button svg {
  fill: #fff;
}

.footer__button:hover .footer__button__link__first__text, .footer__button:hover .footer__button__link__first__icon {
  animation: hide 0.75s cubic-bezier(0.45, 0, 0.55, 1), move-up-first 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}
.footer__button:hover .footer__button__link__second__text {
  animation: show 0.75s cubic-bezier(0.45, 0, 0.55, 1), move-up-second 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}
.footer__button:hover .footer__button__link__second__icon {
  animation: show 0.75s cubic-bezier(0.45, 0, 0.55, 1) forwards, move-up-second 0.75s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.footer__button:hover .footer__button__link__first__icon .footer__button__icon {
  animation: move-arrow-first 1s cubic-bezier(0.16, 1, 0.3, 1) infinite;
  animation-delay: 0.75s;
}
.footer__button:hover .footer__button__link__second__icon .footer__button__icon {
  animation: move-arrow-second 1s cubic-bezier(0.16, 1, 0.3, 1) infinite;
  animation-delay: 0.75s;
}
.footer__button--icon-only .footer__button__link__second__icon {
  opacity: 1 !important;
}
.footer__button--icon-only .footer__button__icon {
  animation-delay: 0s !important;
  animation-iteration-count: infinite;
}
.footer__button--icon-only:hover .footer__button__link__first__text, .footer__button--icon-only:hover .footer__button__link__second__text, .footer__button--icon-only:hover .footer__button__link__first__icon, .footer__button--icon-only:hover .footer__button__link__second__icon {
  animation: unset;
}


/* retry changes*/
.form_button-group .form__button {
  text-decoration: none;
  width: auto;
}
#cancel {
  background: #E5E5E5;
  color: #000;
}

.form_button-group {
  position: fixed;
  bottom: 30px;
  display: flex;
  justify-content: space-between;
  flex: 1;
  width: calc(100% - 48px);
}

/* Desktop styles */

@media screen and (min-width: 600px) {

  .login {
    margin: 0 24px;
    width: calc(100% - 48px);
    background-color: transparent;
  }

  .login__panel {
    width: 490px;
    justify-content: center;
    min-height: 200px;
    border-radius: 20px;
    box-shadow: 0px 0px 50px rgb(0 0 0 / 10%);
  }

  .panel__footer {
    padding: 24px 80px;
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
  }

  .panel__content {
    padding: 24px 80px;
  }

  .panel__header {
    padding: 16px 80px;
  }
  .form_button-group {
    position: relative;
    display:flex;
    justify-content: space-between;
    margin-top: 80px;
    width: 100%;
  }
}

@media screen and (min-width: 768px) {
  .login {
    margin:0 40px;
    width: calc(100% - 80px);
  }
}
@media screen and (min-width: 960px){
  .login {
    justify-content: flex-start;
  }
}
@media screen and (min-width: 1500px){
  .login {
    margin:0 80px;
    width: calc(100% - 290px);
  }
}
@media screen and (min-width:100em) {
  .login {
    width: 1440px;
    max-width: 1440px;
    margin-left: auto;
    margin-right: auto;
  }
}
