@import url("https://fonts.adobe.com/fonts/gill-sans-nova");

/* Reset & base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "gill-sans-nova", sans-serif;
  font-weight: 400;
  font-style: normal;
  min-height: 100vh;
}

p {
  font-size: 20px;
  color: #000000;
}

a {
  color: #000000;
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
  font-size: 16px;
}

.main-container {
  min-height: 100vh;
  background: url(https://clearstream-static.s3.eu-west-1.amazonaws.com/merlin/lp/media/background_merlin.png);
  background-repeat: no-repeat;
  background-position: top left;
  background-size: cover;
}

/* Header */
.logo-bar {
  width: 100%;
  padding: 43px 12.5% 0 14.84%;
  display: flex;
}

.logo-bar > .logo {
  height: 77px;
}

.logo-bar > a > img {
  height: 77px;
}

.logo-bar.legals {
  background: url(https://clearstream-static.s3.eu-west-1.amazonaws.com/branded_ex_plor/lp/media/main_back.png);
  background-repeat: no-repeat;
  background-position: top left;
  background-size: cover;
  min-height: unset;
  padding-top: 56px;
  padding-bottom: 57px;
}

/* Form container */
.form-container {
  width: 100%;
  min-height: 670px;
  padding: 193px 12.5% 100px 14.84%;
  padding-top: max(120px, 17.54vh);
  display: flex;
  justify-content: space-between;
  gap: 50px;
}

.left-box {
  max-width: 815px;
}

.h1_yellow {
  font-family: "gill-sans-nova", sans-serif;
  font-weight: 600;
  font-style: normal;
  font-size: 32px;
  color: #020850;
  text-transform: uppercase;
  line-height: 2.1;
}

.h1_yellow span {
  display: inline;
  background-color: #ffcf31;
  padding: 14px 20px;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.h1_blue {
  font-family: "gill-sans-nova", sans-serif;
  font-weight: 700;
  font-size: 38px;
  color: #020850;
  text-transform: uppercase;
  max-width: 815px;
  line-height: 2.39;
  margin-bottom: 50px;
}

.h1_blue span {
  display: inline;
  background-color: #04abee;
  padding: 22px 20px;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.form-container p {
  margin-bottom: 27px;
  color: #ffffff;
  letter-spacing: 0.2px;
}

.btn-sign,
.submit.btn.btn-secondary.btn-login,
#registration_submit {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 135px;
  height: 51px;
  background-color: #ffcf31;
  font-size: 18px;
  color: #020850;
  cursor: pointer;
  transition: all 0.4s ease;
  text-decoration: none;
  border: 0;
  font-family: "gill-sans-nova", sans-serif;
  font-weight: 600;
  font-style: normal;
}

.btn-sign {
  margin-top: 49px;
  margin-bottom: 30px;
}

.btn-sign:hover,
.submit.btn.btn-secondary.btn-login:hover,
#registration_submit:hover {
  background-color: #fdc200;
}

/* Log box  */
.right-log-box {
  width: 465px;
  max-width: 90%;
  min-height: 360px;
  height: 100%;
  background-color: #ffffff;
  margin-top: 10px;
  padding: 48px 55px 58px 55px;
  text-align: start;
}

.right-log-box h2 {
  font-family: "gill-sans-nova", sans-serif;
  font-weight: bold;
  font-style: normal;
  font-size: 26px;
  color: #020850;
  margin-bottom: 25px;
  letter-spacing: 0.5px;
}

#user_session_password,
#user_session_login {
  width: 100%;
  background-color: #ffffff;
  margin: 0;
  margin-bottom: 17px;
  padding: 18px 20px;
  font-family: "gill-sans-nova", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 20px;
  color: #000000;
  border: 1px solid #d9e1ee;
  border-radius: 0;
}

#user_session_password::placeholder,
#user_session_login::placeholder {
  font-size: 20px;
  font-family: "gill-sans-nova", sans-serif;
  font-weight: 400;
  font-style: normal;
  color: #717171;
}

#user_session_login:focus,
#user_session_login:focus-visible,
#user_session_password:focus,
#user_session_password:focus-visible {
  outline: none;
}

.submit.btn.btn-secondary.btn-login {
  width: 100%;
  margin-top: 9px;
  padding: 0;
  background-color: #ffcf31;
}

div.password-field-container div.password-eye {
  right: -0.1em !important;
  bottom: 2.14em !important;
}

.password-eye.show-icon.hidden,
.password-eye.hide-icon.hidden {
  display: none;
}

.forgot-pass {
  display: block;
  font-size: 16px;
  color: #4a4a4a;
  text-align: left;
  margin-top: 20px;
  margin-left: 1px;
}

.forgot-pass:hover {
  filter: brightness(130%);
}

#new_user_session > div.alert.alert-danger.errorExplanation > p {
  padding: 5px;
  font-size: 15px;
  color: #ff4545;
  font-weight: bold;
}

/* Footer */
footer {
  background-color: #ffffff;
  color: #020850;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding: 0 12.5% 0 14.84%;
}

footer > .container-footer {
  width: 100%;
  align-items: center;
  display: flex;
  justify-content: flex-end;
  padding: 37px 0 40px 0;
}

.footer-right {
  display: flex;
  flex-direction: column;
}

footer > .container-footer p,
footer > .container-footer a {
  font-size: 20px;
  color: #020850;
  transition: all 0.3s ease;
  text-decoration: none;
}

footer > .container-footer a:hover {
  text-decoration: underline;
}

/* Legals Styles */
.logo-bar.legal-bar {
  background-color: #020850;
  padding-top: 35px;
  padding-bottom: 40px;
}

.legals-container {
  min-height: 100vh;
}

.legals-box {
  width: 100%;
  padding: 76px 13.7% 200px 12.5%;
  background-color: #ffffff;
  color: #000000;
}

.legals-box h2 {
  font-family: "gill-sans-nova", sans-serif;
  font-weight: 600;
  font-style: normal;
  color: #020850;
  font-size: 42px;
  margin-top: 29px;
  margin-bottom: 35px;
  text-transform: uppercase;
}

.legals-box > h3 {
  font-family: "gill-sans-nova", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 24px;
  margin-top: 27px;
  margin-bottom: 27px;
}

.legals-box p {
  margin-bottom: 20px;
  font-size: 16px;
}

.legals-box ol {
  margin-left: 25px;
  margin-bottom: 15px;
}

.legals-box ul {
  margin-left: 25px;
  margin-bottom: 15px;
}

.legals-box a {
  color: #000000;
  text-decoration: underline;
}

.legals-box td {
  padding-left: 20px;
  padding-right: 20px;
}

.home-btn-legal:hover {
  font-weight: bold;
}

/* Mobile Styles */

@media (max-width: 1800px) {
  .logo-bar {
    padding-left: 5%;
    padding-right: 5%;
  }

  .form-container {
    padding-left: 5%;
    padding-right: 5%;
  }

  .legals-box {
    padding-left: 5%;
    padding-right: 5%;
  }

  footer > .container-footer {
    padding-left: 5%;
    padding-right: 5%;
  }
}

@media (max-width: 1500px) {
  p,
  a,
  footer > .container-footer p,
  footer > .container-footer a {
    font-size: 18px;
  }

  .left-box {
    width: 60%;
  }

  .right-log-box {
    width: 40%;
  }

  .h1_yellow span {
    padding: 12px 15px;
  }

  .h1_blue span {
    padding: 12px 15px;
  }

  .h1_yellow {
    font-size: 24px;
  }

  .h1_blue {
    font-size: 28px;
    line-height: 2.1;
  }
}

@media (max-width: 1000px) {
  .logo-bar {
    min-height: unset;
    padding: 20px 5% 20px 5%;
    justify-content: flex-start;
  }

  .logo-bar.legals {
    justify-content: center;
  }

  .logo-bar > a > img,
  .logo-bar > .logo {
    height: 55px;
  }

  .form-container {
    padding: 100px 5% 100px 5%;
  }

  .left-box {
    width: 55%;
  }

  .right-log-box {
    width: 45%;
  }
}

@media (max-width: 992px) {
  .logo-bar.legals {
    padding-top: 35px;
    padding-bottom: 35px;
  }

  .form-container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    gap: unset;
    padding: 50px 5% 100px 5%;
  }

  .left-box {
    width: 90%;
    align-items: center;
    text-align: center;
  }

  .right-log-box {
    width: 90%;
  }

  .h1_yellow {
    line-height: 2.31;
  }

  .btn-sign {
    margin: auto;
    margin-top: 46px;
    margin-bottom: 60px;
  }

  footer > .container-footer {
    gap: 20px;
    padding: 51px 5% 48px 5%;
  }
}

@media (max-width: 500px) {
  .logo-bar > a > img,
  .logo-bar > .logo {
    height: 45px;
  }

  .h1_blue {
    line-height: 2;
  }

  .form-container p {
    margin-bottom: 20px;
  }

  .form-container p {
    margin-bottom: 15px;
  }

  .right-log-box {
    padding: 10%;
  }

  footer > .container-footer p,
  footer > .container-footer a {
    font-size: 16px;
  }
}
