/*layout styles*/

html,
body {
  margin: 0;
  height: 100%;
  min-height: 100%;
  padding: 0;
  font-family: "Montserrat";
  font-size: 14px;
  color: #212833;
}

body {
  overflow-y: hidden;
}

.half {
  height: 100%;
  overflow-y: auto;
  width: 50%;
  z-index: 1;
  top: 0;
  overflow-x: hidden;
  position: absolute;
  box-sizing: border-box;
}

.right {
  left: 50%;
  visibility: visible !important;
  opacity: 1 !important;
}

.left {
  left: 0;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center left;
}

.title {
  font-size: 24px;
  font-weight: 900;
  margin-bottom: 0;
  margin-top: 0;
}

.body {
  font-size: 14px;
  font-weight: 400;
}

.entry {
  margin-top: 68px;
}

.logoFooter {
  display: inline-block;
  width: 16px;
  height: 16px;
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
}

@media screen and (max-width: 960px) {
  .left {
    display: none;
  }

  .right {
    width: 100%;
    left: 0;
  }
}

/*text aids*/

.caption {
  font-size: 12px;
  font-weight: 700;
  color: #8ba0b9;
  position: absolute;
  bottom: 16px;
  left: 0;
  text-align: center;
  width: 100%;
}

.help {
  font-size: 12px;
  position: absolute;
  right: 39px;
  color: #212833;
  font-weight: 700;
  text-decoration: underline;
  top: 39px;
  cursor: pointer;
}

.help:hover .helpTooltip {
  visibility: visible;
  opacity: 1;
}

.helpTooltip {
  transition: opacity 0.5s ease-in-out;
  visibility: hidden;
  opacity: 0;
  font-size: 10px;
  padding: 17px;
  background-color: #f1f4f8;
  width: 230px;
  position: absolute;
  top: 33px;
  right: 0;
  line-height: 16px;
  text-align: center;
  z-index: 900;
}

.helpTooltip::before {
  top: -5px;
  right: 30px;
  position: absolute;
  content: "";
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-bottom: 5px solid #f1f4f8;
}

.helpLink {
  display: none;
}

.labelTip {
  font-size: 12px;
  margin-bottom: 12px;
  display: inline-block;
}

.labelError {
  color: #f45f5e;
}

.labelTip.labelError ~ .error.itemLevel {
  display: none !important;
}

/*form box*/
.content {
  width: 400px;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

@media screen and (max-width: 485px) {
  .content {
    width: calc(100% - 48px);
  }

  .right {
    padding: 0 24px;
  }

  .help {
    right: 0;
    display: inline-block;
    text-align: right;
    width: 100%;
    position: relative;
    top: 0;
  }
}

/*Azure form styles*/

label {
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
  font-size: 12px;
}

.divider {
  display: none;
}

input {
  width: 100%;
  padding: 16px;
  border: 1px solid #cfd9e7;
  font-size: 14px;
  box-sizing: border-box;
  font-family: "Montserrat";
}

.inputError {
  border-color: #f45f5e;
}

.attrEntry {
  position: relative;
}

/*remove input autocomplete background color*/
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 30px white inset !important;
  filter: none;
}

input:focus {
  outline: none;
}

::placeholder {
  /* Chrome, Firefox, Opera, Safari 10.1+ */
  color: #8ba0b9;
}

:-ms-input-placeholder {
  /* Internet Explorer 10-11 */
  color: #8ba0b9;
}

::-ms-input-placeholder {
  /* Microsoft Edge */
  color: #8ba0b9;
}

a {
  color: #212833;
  font-weight: 700;
  text-decoration: underline;
}

input:disabled {
  background-color: #f1f4f8;
  border: none;
  cursor: default;
}

/*buttons*/

button {
  width: 100%;
  padding: 18px;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  border: 1px solid #212833;
  background-color: #212833;
  cursor: pointer;
  font-family: "Montserrat";
}

button:disabled {
  background-color: #d5dbe2;
  border: none;
}

@media screen and (max-height: 800px) {
  button {
    margin-top: 24px;
  }
}

/*errors*/

.error {
  color: #f45f5e;
}

.error.hide {
  display: none;
}

.error.show {
  display: block;
}

input.highlightError {
  border-color: #f45f5e;
}

.error.itemLevel.show + input {
  border-color: #f45f5e;
}

.error.itemLevel {
  color: #f45f5e;
  font-size: 10px;
  font-weight: 700;
  padding-top: 5px;
  position: absolute;
  left: 0;
  bottom: -26px;
}

.error.pageLevel {
  color: #f45f5e;
  font-size: 14px;
  position: absolute;
  top: 34px;
}

/*show password icon*/

.eyeIcon {
  display: block;
  position: relative;
}

.eyeIcon svg {
  width: 22px;
  height: 16px;
  position: absolute;
  bottom: 20px;
  right: 16px;
  cursor: pointer;
}

.eyeIcon g {
  fill: #d5dbe2;
}

.eyeIcon.visiblePass g {
  fill: #212833;
}

input:disabled ~ span.visiblePass svg g {
  fill: #d5dbe2;
}

input:disabled ~ span svg {
  pointer-events: none;
}

/*azure loading screen*/

#simplemodal-container,
#simplemodal-container p {
  color: #fff !important;
  font-family: "Montserrat" !important;
}

/*import custom templates global styles*/

/*background image*/

.left {
  background-image: url(https://login.otillia.carlsberg.com/fd7cc79cfc12848b40d1.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center left;
}

@media screen and (max-height: 670px) {
  .content {
    position: relative;
    top: initial;
    transform: translateX(-50%);
  }

  .caption {
    position: relative;
    margin-top: 100px;
  }

  .right {
    padding: 60px 24px 24px;
  }
}

/*Azure form styles*/

.intro {
  display: none;
}

.attr ul {
  padding: 0;
}

.attr li {
  list-style: none;
  margin-bottom: 24px;
}

button {
  margin-top: 88px;
}

.entry-item {
  position: relative;
}

.entry-item:first-of-type {
  margin-bottom: 26px;
}

/*flow specific styles*/

.accountButton {
  background-color: transparent;
  color: #212833;
  border: none;
  padding: 0;
  font-size: 12px;
  font-weight: 700;
  margin-top: 0;
  outline: none;
  text-decoration: none;
}

.accountButton span {
  text-decoration: underline;
}

#forgotPassword {
  position: absolute;
  bottom: -26px;
  font-size: 12px;
  right: 0;
}

.options > div {
  position: absolute;
  bottom: -30px;
  width: 100%;
}

