@font-face {
  font-family: 'Readex Pro';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/readex-pro/readex-pro-400.eot');
  src: local(''),
       url('../fonts/readex-pro/readex-pro-400.eot?#iefix') format('embedded-opentype'),
       url('../fonts/readex-pro/readex-pro-400.woff2') format('woff2'),
       url('../fonts/readex-pro/readex-pro-400.woff') format('woff'),
       url('../fonts/readex-pro/readex-pro-400.ttf') format('truetype'),
       url('../fonts/readex-pro/readex-pro-400.svg#ReadexPro') format('svg');
}

@font-face {
  font-family: 'Noto Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/noto-sans/noto-sans-400.eot');
  src: local(''),
       url('../fonts/noto-sans/noto-sans-400.eot?#iefix') format('embedded-opentype'),
       url('../fonts/noto-sans/noto-sans-400.woff2') format('woff2'),
       url('../fonts/noto-sans/noto-sans-400.woff') format('woff'),
       url('../fonts/noto-sans/noto-sans-400.ttf') format('truetype'),
       url('../fonts/noto-sans/noto-sans-400.svg#NotoSans') format('svg');
}

* {
  box-sizing: border-box;
}

p {
  margin: 0;
}

p + p {
  margin-top: 10px;
}

ol li + li, ul li + li {
  margin-top: 5px;
}

.form-control, .form-control:hover,
.form-control:focus, .form-control:active,
.form-control:-webkit-autofill, .form-control:-webkit-autofill:hover,
.form-control:-webkit-autofill:focus, .form-control:-webkit-autofill:active,
input:-webkit-autofill, input:-webkit-autofill:hover,
input:-webkit-autofill:focus, input:-webkit-autofill:active,
textarea:-webkit-autofill, textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus, textarea:-webkit-autofill:active,
select:-webkit-autofill, select:-webkit-autofill:hover,
select:-webkit-autofill:focus, select:-webkit-autofill:active {
  box-shadow: 0 0 0 30px white inset;
  -webkit-box-shadow: 0 0 0 30px white inset;
}

.form-control::-webkit-input-placeholder {
  color: #adadad;
  font-style: normal;
}
.form-control::-moz-placeholder {
  color: #adadad;
  font-style: normal;
}
.form-control:-ms-input-placeholder {
  color: #adadad;
  font-style: normal;
}
.form-control:-moz-placeholder {
  color: #adadad;
  font-style: normal;
}

a {
  text-decoration: none;
}

.login-html {
  height: 100%;
}

.login-body {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100%;
  margin: 0;
  background: #F1F0EA;
  color: #333;
  font: normal 16px 'Noto Sans';
}

.wrapper {
  margin: 40px 20px;
  max-width: 380px;
  background: #fff;
  border-radius: 17px;
}

.header {
  width: 100%;
  padding: 0 30px;
}

.brillant-logo {
  background-image: url('../img/Brillant-Energie_Logo.png');
  background-repeat: no-repeat;
  background-size: 210px 80px;
  width: 210px;
  height: 80px;
  margin: 30px 0;
}

.brillant-text {
  margin-top: 40px;
  font: bold 22px/30px 'Readex Pro';
}

.locale {
  position: absolute;
  width: auto;
  top: 5px;
  right: 10px;
  padding: 0;
  text-align: right;
}

.locale ul {
  display: none;
  position: absolute;
  background-color: #F1F0EA;
  list-style: none;
  right: 0;
  top: 30px;
  width: 120px;
  padding: 0;
}

.locale:hover ul {
  display: block;
  margin: 0;
}

.locale ul li a {
  display: block;
  padding: 4px;
  background: #F1F0EA;
  color: #333;
  text-decoration: none;
  display: block;
  line-height: 20px;
}

.locale ul li a:hover {
  color: #DB483D;
  background-color: transparent;
}

.locale-dropdown a {
  color: #333;
}

.locale-dropdown a:hover {
  text-decoration: none;
}

.current-locale-link {
  position: relative;
  display: block;
  width: 120px;
  padding-right: 15px;
  line-height: 30px;
}

.locale-dropdown:hover .current-locale-link,
.current-locale-link:hover {
  color: #DB483D;
}

.current-locale-link::after {
  position: absolute;
  content: '';
  top: 12px;
  right: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid #333;
}

.locale-dropdown:hover .current-locale-link::after {
  border-top: 6px solid #DB483D;
}

.content {
  margin: 20px 0 30px;
  color: #333;
}

a {
  outline: 0;
  color: #333;
  font: normal 16px 'Noto Sans';
  text-decoration: underline;
}

a:hover {
  color: #E84A40;
}

.instruction {
  margin-bottom: 20px;
}

.icon-info {
  width: 20px;
  height: 20px;
  background-image: url('../img/info.svg');
  background-repeat: no-repeat;
  background-size: 20px 20px;
  margin-right: 10px;
}

.alert-box {
  padding: 0 30px;
}

.alert {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  color: #333;
}

.feedback-text {
  width: calc(100% - 30px);
  color: #333;
  font: normal 16px/20px 'Noto Sans';
}

.alert-error .feedback-text {
  color: #E84A40;
}

.form-wrapper {
  padding: 0 30px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
}

.form-control {
  width: 100%;
  height: auto;
  padding: 6px 20px;
  background-color: #fff;
  font: normal 16px/26px 'Noto Sans';
  border: 1px solid #adadad;
  border-radius: 3px;
  outline: 0;
  transition: border linear .3s;
}

.form-control:focus {
  padding: 6px 20px;
  background: none;
  background-color: #fff;
  border-color: #333;
}

.form-group.has-error .form-control {
  border-color: #E84A40;
}

.form-options {
  margin-bottom: 20px;
  text-align: center;
}

.remember-me {
  padding: 0;
  margin-top: 10px;
}

.remember-me-input {
  opacity: 0;
  height: 0
}

.remember-me-label {
  cursor: pointer;
  font: normal 16px 'Noto Sans';
}

.label-bg {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  width: 30px;
  height: 16px;
  margin-left: 5px;
  background: #888;
  border-radius: 500px;
  cursor: pointer;
}

.switch {
  position: absolute;
  left: 0;
  width: 14px;
  height: 14px;
  margin-top: 1px;
  margin-left: 1px;
  border-radius: 500px;
  background: #fff;
  box-shadow: 5px 0 28px -9px rgba(0, 0, 0, .75);
  transition: transform .2s ease-in;
}

.remember-me-input:checked ~ label > .label-bg {
  background: #E84A40;
}

.remember-me-input:checked ~ label > .label-bg .switch {
  transform: translatex(14px);
  transition: transform .2s ease-in;
}

.btn-holder {
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-holder .btn-small:first-child {
  margin-right: 10px;
}

.btn-primary,
.btn-secondary {
  min-width: 230px;
  width: auto;
  height: 44px;
  padding: 0 20px;
  border: 1px solid #E84A40;
  border-radius: 20px;
  font: bold 16px/24px 'Noto Sans';
  text-align: center;
}

.btn-primary {
  background: #E84A40;
  color: #fff;
}

.btn-primary.logout {
  margin-top: 20px;
}

.btn-secondary {
  background: #fff;
  color: #E84A40;
}

.btn-small {
  min-width: 80px;
}

.btn-primary:hover {
  cursor: pointer;
  background: #DB483D;
}

.option-link {
  margin-bottom: 20px;
}

.text-confirm {
  margin: 30px 0 20px;
}

.info {
  padding: 0 30px;
}

.information {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 30px;
  padding: 20px 5px 0;
  border-top: 1px solid #adadad;
  font: normal 14px/20px 'Noto Sans';
}

.information .alert {
  display: flex;
  align-items: center;
  margin-bottom: 5px;
}

.information .icon-info {
  margin-right: 5px;
}

.information .feedback-text {
  width: calc(100% - 25px);
  font-size: 14px;
}

.information .msg-info {
  text-align: center;
}

.app-banner {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 100%;
  background-color: rgba(0, 0, 0, .5);
  justify-content: center;
}

.app-banner.app-show {
  display: flex;
}

.app-banner .app-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background-image: url('../img/close.svg');
  background-repeat: no-repeat;
  background-size: 30px 30px;
  width: 30px;
  height: 30px;
  z-index: 101;
}

.app-banner .app-close:hover {
  top: 14px;
  right: 14px;
  background-size: 32px 32px;
  width: 32px;
  height: 32px;
  cursor: pointer;
}

.app-banner .app-content {
  position: relative;
  width: 280px;
  min-height: 611px;
  margin: 20px;
  background-color: #F1F0EA;
  border-radius: 30px;
}

.app-banner .app-top {
  opacity: .8;
  width: 100%;
  height: 280px;
  background-color: #BEACA5;
  border-radius: 30px 30px 0 0;
}

.app-banner .app-top .text1 {
  padding: 50px 30px 5px 30px;
  font: 400 31px/33px 'Readex Pro';
  color: #060606;
  position: relative;
  z-index: 100;
}

.app-banner .app-top .text1 span {
  color: #E84A40;
}

.app-banner .app-top .text2 {
  position: relative;
  z-index: 100;
  padding-left: 30px;
  font: 400 24px/28px 'Readex Pro';
  color: #060606;
}

.app-banner .app-bottom {
  position: relative;
  z-index: 100;
  width: 100%;
  height: 332px;
  padding-bottom: 10px;
  border-radius: 0 0 30px 30px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.app-banner .app-bottom .text {
  padding-left: 30px;
  font: 400 16px/20px 'Readex Pro';
  color: #060606;
}

.app-banner .app-bottom .iphone,
.app-banner .app-bottom .google-play {
  background-repeat: no-repeat;
  background-size: 158px 54px;
  width: 158px;
  height: 54px;
}

.app-banner .app-bottom .app-buttons {
  display: flex;
  flex-direction: column;
  padding-left: 30px;
}

.app-banner .app-bottom .iphone {
  background-image: url('../img/download-on-the-app-store-apple-logo.svg');
}

.app-banner .app-bottom .google-play {
  background-image: url('../img/google-play-badge-logo.svg');
}

.app-banner .app-bg {
  position: absolute;
  right: 0;
  background-image: url('../img/bg.svg');
  background-repeat: no-repeat;
  background-size: cover;
  width: 280px;
  height: 611px;
  border-radius: 30px;
  opacity: .3;
}

.app-banner .app-smartphone {
  position: absolute;
  top: 140px;
  right: 0;
  z-index: 100;
  background-image: url('../img/smartphone.png');
  background-repeat: no-repeat;
  background-size: 188px 425px;
  width: 188px;
  height: 425px;
}

@media (min-width: 400px) {
  .wrapper {
    min-width: 380px;
  }
}

@media (min-height: 600px) {
  .brillant-logo {
    background-size: 230px 87px;
    width: 230px;
    height: 87px;
  }

  .app-banner {
    align-items: center;
  }
}
