/* Assets */

@font-face {
  font-family: "Roboto";
  src: url(../assets/fonts/Roboto-Regular.ttf);
}

@font-face {
  font-family: "Roboto-Bold";
  src: url(../assets/fonts/Roboto-Bold.ttf);
  font-weight: bold;
}

#GoogleExchange {
  margin: auto !important;
  background-image: url(../assets/idp_logos/colored/google.svg);
}
#GoogleExchange:hover {
  background-image: url(../assets/idp_logos/white/google.svg);
}

/* General */

body {
  background-color: white;
  background-image: url(../assets/images/background.jpg);
  background-position-x: center;
  background-position-y: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-blend-mode: multiply;
  font-family: "Roboto";
}

h1,
h2,
h3,
h4,
h5 {
  color: rgb(13, 92, 170);
  font-family: "Roboto-Bold";
}

.logo {
  width: 250px;
  margin-bottom: 60px;
}

.wrapper {
  max-width: 920px;
  width: auto;
  display: flex;
  justify-content: flex-start;
  align-items: top;
  margin: 24px;
  background: rgb(13, 92, 170);
  box-shadow: 0 0 6px #707070;
  min-width: 900px;
  margin: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.right-pane,
.left-pane {
  padding: 48px;
}

.right-pane {
  max-width: 420px;
}

.left-pane {
  position: relative;
  background: white;
  color: rgb(13, 92, 170);
  min-width: 310px;
  max-width: 310px;
}

.left-pane h2 {
  margin: 0 0 12px 0;
}

.right-pane h2 {
  color: white;
  margin: 0 0 12px 0;
}

.info-block {
  margin-bottom: 24px;
}

.info-block p {
  margin: 0 6px;
}

.check-icon {
  width: 13px;
  margin-right: 3px;
}

label {
  width: auto;
  display: inline-block;
  color: white;
  margin-bottom: 3px;
}

input,
select {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-variant: tabular-nums;
  list-style: none;
  font-feature-settings: "tnum";
  position: relative;
  display: inline-block;
  width: 100%;
  height: 40px;
  padding: 4px 11px;
  color: #595959;
  font-size: 14px;
  line-height: 1.5;
  background-color: #fff;
  background-image: none;
  border: 1px solid #d9d9d9;
  border-radius: 2px;
  transition: all 0.3s;
  border-width: 1px;
  margin-bottom: 12px;
}

input:hover,
input:focus,
select:hover,
select:focus {
  border-color: #5e8bf3;
}

input:focus,
select:focus {
  outline: 0;
  box-shadow: 0 0 0 2px rgba(13, 92, 170, 0.2);
}

button {
  line-height: 1.499;
  position: relative;
  display: inline-block;
  font-weight: 400;
  white-space: nowrap;
  text-align: center;
  background-image: none;
  border: 1px solid transparent;
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.015);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
  user-select: none;
  touch-action: manipulation;
  height: 32px;
  padding: 0 15px;
  font-size: 14px;
  color: #fff;
  background-color: #bf5512;
  border-color: #bf5512;
}

button:hover,
button:focus {
  background-color: #e67e22;
  border-color: #e67e22;
}

.divider h2 {
  display: none;
}

.divider {
  margin: 24px 0;
  border-bottom: 1px solid #e8e8e8;
}

table,
th,
td {
  border: 1px solid black;
  border-collapse: collapse;
}

th,
td {
  padding: 12px;
}
input[type="checkbox"] {
  width: 20px !important;
  box-shadow: none;
  height: 20px;
  display: inline-block;
  clear: left;
  margin: 6px;
}

input[type="checkbox"]:after {
  box-shadow: inset 0 1px 1px red, 0 1px 0 red;
  background: red;
}

#attributeList ul li input[type="checkbox"]:before {
  background: red;
  background-size: 10px 8px;
  background-repeat: no-repeat;
  background-position: 3px 4px;
  position: absolute;
  left: 2px;
  z-index: 2;
  opacity: 0;
  width: 100%;
  height: 100%;
  color: #f6ac4f;
}

div.error.itemLevel {
  color: #f5222d;
}

input.highlightError,
input.invalid {
  border-color: #f5222d;
}

.intro {
  color: white;
}

div.error.pageLevel {
  color: white;
  background-color: red;
  padding: 4px;
  margin: 12px 0px;
  text-align: center;
}

div.error.pageLevel p {
  margin: 0;
}

#tos a {
  color: white;
}

.verifying-modal {
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: hsl(0 0% 0% / 0.6);
  color: white;
  font-family: "Roboto-Bold";
  font-size: 1.2rem;
  display: none;
}

.verifying-modal.simplemodal-data {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Unified */

.unified div.error.itemLevel {
  float: left;
  margin-right: 3px;
}

.unified div.error.itemLevel p {
  display: none;
  margin: 0;
}

.unified div.error.itemLevel:after {
  content: "*";
}

.unified .password-label {
  display: inline-block;
}

.unified div.create {
  color: white;
}

.unified div.create a {
  margin-left: 6px;
  color: white;
}

.unified div.create a:hover {
  text-decoration: none;
}

.unified label[for="password"] {
  width: auto;
  display: inline-block;
}

.unified .password-label a {
  margin-left: 6px;
  color: white;
  text-decoration: underline;
}

.unified .password-label a:hover {
  text-decoration: none;
}

.unified #GoogleExchange {
  margin-top: 10px;
  margin-bottom: 10px;
}

button#GoogleExchange {
  background-size: 10% 70%;
  background-position-x: 3%;
  background-position-y: 50%;
  background-repeat: no-repeat;
  display: block;
  font-size: 16px;
  height: 45px;
  width: 60%;
  margin-bottom: 12px !important;
}

#EFSAemployeeorpartner {
  margin: auto !important;
}

button#EFSAemployeeorpartner {
  background-size: 10% 70%;
  background-position-x: 3%;
  background-position-y: 50%;
  background-repeat: no-repeat;
  display: block;
  font-size: 16px;
  height: 45px;
  width: 60%;
}

/* Self Asserted */
.self-asserted label[for="extension_AgreedToTermsAndConditions"] {
  display: block;
}

.self-asserted .error.itemLevel {
  margin-bottom: 3px;
}

.self-asserted #attributeList ul {
  list-style-type: none;
  padding-left: 0;
}

.self-asserted #attributeList ul li .helpLink {
  display: none;
}

.self-asserted #attributeList ul input {
  margin-bottom: 0;
}

.self-asserted #attributeList li {
  margin-bottom: 12px;
}

.self-asserted
  #attributeVerification
  #attributeList
  ul
  li
  label[for="extension_AgreedToTermsAndConditions_True"] {
  display: inline-block;
  width: auto;
  margin: 6px;
  vertical-align: top;
}

.self-asserted
  #attributeVerification
  #attributeList
  ul
  li
  label[for="extension_AgreedToTermsAndConditions"]
  a {
  color: white !important;
  text-decoration: underline;
  text-decoration-color: white;
}

.self-asserted
  #attributeVerification
  #attributeList
  ul
  li
  label[for="extension_AgreedToTermsAndConditions"]
  a:hover {
  text-decoration: none;
}

.self-asserted label[for="displayName"],
.self-asserted input#displayName {
  display: none;
}

/* Password Reset */
.password-reset #attributeList ul {
  list-style-type: none;
  padding-left: 0;
  margin-top: 0;
}

.password-reset div.error.itemLevel p {
  margin-bottom: 3px;
}

.password-reset .helpLink {
  color: white;
  margin-bottom: 6px;
  display: block;
}

.password-reset .verificationInfoText {
  display: block;
  margin-bottom: 6px;
  color: white;
}

.password-reset .verificationInfoText,
.password-reset .verificationSuccessText,
.password-reset .verificationErrorText {
  margin-bottom: 24px;
}

.password-reset .verificationSuccessText {
  color: #52c41a;
}

.password-reset .verificationErrorText {
  color: #f5222d;
}

.password-reset .intro {
  font-size: 1.2rem;
  margin-bottom: 6px;
}

.password-reset .intro p {
  margin-bottom: 0;
}

.password-reset .buttons {
  margin-top: 24px;
}
.password-reset .buttons button#continue {
  width: 100%;
  display: block;
  margin-bottom: 12px !important;
}

.password-reset .buttons button#cancelButton {
  width: 100%;
  margin-top: 24px;
  background-color: transparent;
  border: none;
  box-shadow: transparent;
  display: block;
  text-decoration: underline;
}

.password-reset .buttons button#cancelButton:hover {
  text-decoration: none;
}

.password-reset .buttons.verify {
  margin-top: 12px;
}

.password-reset .error.itemLevel {
  display: none;
}

.password-reset .error.itemLevel p {
  margin: 0;
}

.password-reset .error.itemLevel.show {
  float: right;
  margin-top: 12px;
  display: inline-block;
}

.password-reset li.Password .error.itemLevel.show {
  display: inline-block;
  float: none;
  margin: 0 0 12px 0;
}

.password-reset label {
  margin-top: 12px;
}

@media screen and (max-width: 950px) {
  .wrapper {
    display: block;
    width: 100%;
    min-width: auto;
    max-width: 520px;
    position: relative;
    top: 0;
    left: 0;
    transform: initial;
    margin: 0 auto;
  }
  .logo {
    margin-bottom: 24px;
  }

  .right-pane,
  .left-pane {
    padding: 24px;
  }
}

/* Terms of use */

div#Termsofuse {
  background-color: white;
  color: black;
  position: absolute;
  left: 25%;
  right: 25%;
  border: 1px solid black;
  padding: 10px;
}

div#Termsofuse h1 {
  color: rgb(13, 92, 170);
  text-decoration: underline;
  font-family: Roboto;
  font-size: large;
}

div#Termsofuse h2,
h3,
h4 {
  color: black;
  font-family: Roboto;
  font-size: medium;
}

div#Termsofuse li {
  padding: 5px;
}

div#tos {
  padding: 10px 0px;
}
