/** General styling */
html {
  background: 0 0;
}

body {
  font-family: Segoe UI, SegoeUI, "Helvetica Neue", Helvetica, Arial, sans-serif;
  background-attachment: fixed;
  background-color: #fff;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  text-align: left;
  font: -apple-system-body;
  background-image: url("background-layer.png");
  background-color: rgba(255,255,255,0.2);
  background-blend-mode: lighten;
  margin: 0;
}

/** Scrollbar styling */
html * {
  scrollbar-color: #dadada rgb(0 0 0 / 0%);
  scrollbar-width: thin;
}

html *::-webkit-scrollbar {
  width: 10px;
  background-color: rgb(0 0 0 / 0%);
}

html *::-webkit-scrollbar-track {
  background-color: rgb(0 0 0 / 0%);
}

html *::-webkit-scrollbar-thumb {
  width: 6px;
  border: 2px solid transparent;
  background-clip: padding-box;
  background-color: #dadada;
  border-radius: 10px;

  &:hover {
    width: 8px;
    border: 1px solid transparent;
    background-color: #aaa;
  }
}

p {
  margin: 10px 0 0 0;
}

label {
  font-weight: normal;
}

button,
a {
  cursor: pointer;
}

a {
  text-decoration: underline;
  color: #00A49A;
}

a:hover {
  color: #00A49A;
}

/** ---- **/

.overlay {
  position: absolute;
  background-color: #ffffffab;
  width: 100vw;
  height: 100vh;
}

.container {
  position: absolute;
  z-index: 1;
  height: 99%;
  box-sizing: border-box;
  min-width: 400px;
  width: 400px;
  margin: 5px;
  border-radius: 4px;
  background-color: #ffffff;
  box-shadow: 6px 0px 19px rgba(0,0,0, .15);
  background-image: url("./background-image.png");
  background-position: bottom;
  background-repeat: no-repeat;
  overflow: scroll;
}

/** header with Paragon logo */
.container header {
  margin-top: 25%;
  margin-left: 5%;
}

.container header img {
  max-width: 67px;
  max-height: 78px;
  width: auto;
  height: auto;
}

header .title-container {
  border-left: 1px solid #0b142420;
  margin-left: 25px;
  padding-left: 25px;
}

header .title-container h1 {
  width: 313px;
  height: 23px;
  font-family: Arial;
  font-size: 18px;
  color: #0b1424;
  text-decoration: none solid rgb(11, 20, 36);
  letter-spacing: 1px;
}

header .title-container p {
  width: 185px;
  height: 28px;
  font-family: Arial;
  font-size: 12px;
  color: #636363;
  text-decoration: none solid rgb(99, 99, 99);
  margin-top: -10px;
}

.container header h1 {
  font-size: 20px;
  margin-top: 0;
  letter-spacing: 1px;
}

/** Login pane */
.login-container {
  flex-flow: column nowrap;
  background-color: #f7f7f7;
  padding: 25px 15px;
  margin-left: 15px;
  margin-right: 15px;
  margin-top: 35%;
  height: 400px;
  max-height: 400px;
  overflow-y: auto;
}

.select-language {
  display: flex;
  justify-content: space-between;
}

.select-language label {
  font-family: Arial;
  font-size: 16px;
  color: #0b1424;
  text-decoration: none solid rgb(11, 20, 36);
}

.select-language select {
  height: 23px;
  border-radius: 4px;
  border: 1px solid #8c8c8c;
  font-size: 12px;
}

.overflow {
  overflow-x: auto;
  height: 270px;
  max-height: 270px;
}

#agreement button {
  background-color: #00A49A;
  width: 100px;
  height: 40px;
  border: none;
  border-radius: 3px;
  color: #fff;
  margin-top: 20px;
  justify-content: center;
}

#agreement button:hover {
  background-color: #00716a;
}

#loginProblem {
  /* Problems logging ... */
  font-family: Arial;
  font-size: 12px;
  color: #0b1424;
  text-decoration: none solid rgb(11, 20, 36);
  line-height: 17px;

}

#loginProblem a {
  font-family: Arial;
  font-size: 12px;
  color: #00a49a;
  text-decoration: underline solid rgb(0, 164, 154);
  line-height: 17px;
}

footer {
  position: absolute;
  /* bottom: 15px; */
  left: 15px;
}

/* ----------------------- */
.flex-column {
  display: flex;
  flex-flow: column wrap;
}

.flex-row {
  display: flex;
}

/* Override default styling of B2C */
h2 {
  font-size: medium;
  font-weight: normal;
}

button {
  background-position-x: 3%;
  background-position-y: 50%;
  background-repeat: no-repeat;
  background-color: #fff;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  align-content: center;
  width: 100%;
  height: 40px;
  box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.2);
  border: none;
  margin: 10px 0;
  border-radius: 4px;
}

button:hover {
  background-color: #00A49A;
  color: #fff;
}

button:focus,
button:active,
button:target {
  border: none;
}

.claims-provider-list-buttons .options #CSAMSignInClaim {
  background-size: 10% 60% !important;
  background-image: url("https://sapgnprodweb2c001.blob.core.windows.net/b2c/csam.png");
  padding-left: 55px;
}

.divider,
.create {
  display: none;
}

.claims-provider-list-buttons .options #AzureADNCCNExchange {
  background-size: 10% 60% !important;
  background-image: url("https://sapgnprodweb2c001.blob.core.windows.net/b2c/nccn.png");
  padding-left: 55px;
}

.unified_container .row .panel-default #api .social {
  display: block;
}

#localButton {
  padding-left: 55px;
  background-image: url("https://sapgnprodweb2c001.blob.core.windows.net/b2c/localIcon.svg");
}

.buttons button {
  background-image: none;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  display: inline-block;
  font-size: 1em;
  font-weight: 400;
  height: inherit;
  line-height: 1.3333333;
  margin-top: 2rem;
  margin-bottom: 1.2rem;
  margin-left: 0;
  padding: 10px 16px;
  text-align: center;
  touch-action: manipulation;
  user-select: none;
  vertical-align: middle;
  white-space: nowrap;
  -moz-user-select: none;
  -ms-touch-action: manipulation;
  -ms-user-select: none;
  -webkit-user-select: none;
  color: #fff;
  width: 63%;
  box-shadow: 0 0 30px 0 #dae1f7;
  width: 25%;
  margin-right: 30px;
  background-color: #00a49a;
}

.entry {
  display: none;
}

.entry-item {
  position: relative;
  width: 100%;
  padding-top: 6px;
  padding-bottom: 6px;
  display: block;
}

.entry-item label {
  font-size: 12px;
  display: inline-block !important;
  text-align: left;
  width: 100%;
}

.error {
  color: #b00;
  text-align: left;
}

.entry-item input {
  outline: 0;
  border: 1px solid #cccccc;
  font-family: Arial;
  text-decoration: none solid rgb(51, 51, 51);
  background-color: #fff !important;
  background-image: none !important;
  border-radius: 0.5rem !important;
  color: #333333;
  display: inline-block;
  font-size: 1em;
  height: 38px;
  line-height: 1.42857143;
  padding: 0px 10px;
  transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s !important;
  width: 90% !important;
  -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s !important;
  -webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s !important;
  margin-right: 15px;
}

.entry .entry-item .password-label #forgotPassword {
  width: 150px;
  top: 2px;
  left: 52%;
  font-size: 11px;
  position: absolute;
  bottom: 0;
  clear: right;
  cursor: pointer;
  text-align: right;
}

.entry .buttons button:hover {
  -moz-box-shadow: none;
  -webkit-box-shadow: none;
  box-shadow: none;
  background-color: #00a49a;
  color: #fff;
}

#localAccountForm {
  display: none;
}

#localAccountForm .entry,
#localAccountForm .create {
  display: none;
}

#backButton {
  background-color: #fff !important;
  color: #00a49a !important;
}

#backButton:hover,
#CSAMSignInClaim:hover,
#localButton:hover {
  background-color: #00a49a !important;
  color: #fff !important;
}

#attributeList ul {
  padding: 0;
}

#attributeList ul li {
  list-style: none;
  margin: 1rem 0;
}