html,
body {
  margin: 0;
}

.phidias_desktop_only {
  display: block !important;
}

.authorization_error h1 {
  color: #990000;
}

#phidias_box {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  /* min-height: 100vh; */
  height: 100vh;
}

#phidias_box_left {
  flex: 1;
  padding: 12px;
  background: #fff;
  height: 100vh;
  overflow: auto;
  box-sizing: border-box;
}

#phidias_box_logo {
  margin: 24px 0;
  background-color: var(--phidias-box-color);
}

#phidias_box_top {
  text-align: right;
}

#phidias_box_contents {
  margin: auto;
  max-width: 380px;
  text-align: center;
}

#phidias_box_image {
  width: 40vw;
  background-color: #ccc;
  background-image: var(--phidias-box-image);
  background-size: cover;
}

#phidias_box_image_register {
  width: 40vw;
  background-color: #ccc;
  background-image: var(--phidias-box-image-register);
  background-size: cover;
}

/* Animacion de la imagen login */
/*
#phidias_box_image {
  animation-name: box_image_movement;
  animation-duration: 5000s;
  animation-iteration-count: infinite;
}

@keyframes box_image_movement {
  from {
    background-position: 0px 0px;
  }

  to {
    background-position: -4000px -10000px;
  }
}
*/

/* Scroll css */
.scroll::-webkit-scrollbar {
  width: 5px;
  height: 5px;
  background-color: transparent;
}

.scroll::-webkit-scrollbar-track {
  border-radius: 10px;
  background-color: transparent;
}

.scroll::-webkit-scrollbar-thumb {
  border-radius: 8px;
  background-color: #CED9E1;
}

.field label {
  color: var(--ui-field-label-color);
  font-size: var(--ui-font-size-body);
  font-weight: 500;
  padding-bottom: 5px;
}

.primaryButton {
  width: 100%;
  margin-bottom: 16px;
  padding: 12px 24px !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
}

.secondaryButton {
  width: 100%;
  background: transparent !important;
  color: #414242 !important;
  padding: 12px 24px !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
}

.cancelButton {
  background: transparent;
  color: #990000 !important;
}

/* General inputs login */
#phidias_box_contents form {
  margin: 25px 0;
}

#phidias_box_contents form .field {
  text-align: left;
  margin-top: 15px;
}

#phidias_box_contents form input[type="text"],
#phidias_box_contents form input[type="email"],
#phidias_box_contents form input[type="submit"],
#phidias_box_contents form input[type="password"] {
  width: 100%;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

/* Css btn login external */
.loginExternal {
  gap: 5px;
  display: flex;
  padding: 12px 24px;
  background: #fff;
  border-radius: 10px;
  align-items: center;
  justify-content: center;
  border: 1px solid #8f8f8f;
}

.btnLoginExternal {
  width: 100%;
  border-top: none;
  text-align: center;
  margin-top: 12px;
}

.btnLoginExternal a {
  color: black;
  text-decoration: none;
  font-weight: 500;
}

.btnLoginExternal a img {
  margin-right: 5px;
}

/* Css recovery  */
.recovery-pw {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-top: 10px;
  margin-bottom: 30px;
}

.recovery-pw>.recovery-pw-left {
  flex-grow: 1;
  text-align: left;
  font-weight: 500;
  color: var(--ui-field-label-color);
}

.recovery-pw>.recovery-pw-right {
  flex-grow: 1;
  text-align: right;
}

.recovery-pw>.recovery-pw-right a {
  color: black;
  text-decoration: none;
}

/* warning  */
.phidias_warning {
  width: 100% !important;
}

/* Responsive */
@media screen and (max-width: 1135px) {

  #phidias_box_image,
  #phidias_box_image_register {
    display: none;
  }
}

@media screen and (max-width: 599px) {
  #phidias_box_contents {
    margin: 0 24px;
  }

  #phidias_box_logo {
    max-width: 90%;
    margin-top: 40px;
  }
}
