/**
 * Version 1.4.0
 */

/* General CSS Rules */

* {
    margin: 0px;
    padding: 0px;
  }
  
  html,
  body {
    color: #000000;
    font-weight: normal;
    font-family: Arial, Helvetica, sans-serif;
    -ms-overflow-style: -ms-autohiding-scrollbar;
    font-size: 0.9em;
  }
  
  #noScript {
    margin: 16px;
    color: Black;
  }
  
  :lang(en-GB) {
    quotes: "\2018""\2019""\201C""\201D""\201E";
  }
  
  :lang(zh) {
    font-family: 微软雅黑;
  }
  
  /* Viewports */
  
  @-ms-viewport {
    width: device-width;
  }
  
  @-moz-viewport {
    width: device-width;
  }
  
  @-o-viewport {
    width: device-width;
  }
  
  @-webkit-viewport {
    width: device-width;
  }
  
  @viewport {
    width: device-width;
  }
  
  /* Page layouts */
  
  #fullPage,
  #brandingWrapper {
    background-color: #ffffff;
    width: 100%;
  }
  
  /* ETH Logo */
  
  #branding {
    background-repeat: no-repeat;
    position: static;
    background-image: url(./Eth_Logo_Black.png);
    height: 2.5rem;
    margin: 1.9375rem auto 1.9375rem auto;
  }
  
  #contentWrapper {
    width: 100%;
  }
  
  #content {
    box-shadow: 0 0rem 0.5rem rgba(31, 64, 122, 0.3);
    margin: 20px auto 10px auto;
    padding: 2rem 0rem 2rem 0rem;
  }
  
  #home.pageLink {
    margin: 0;
    color: #000000;
  }
  
  #helpDesk.pageLink {
    margin: 0;
    color: #000000;
  }
  
  #header {
    padding: 0rem 1.25rem 0rem 1.25rem;
    font-size: 1.75rem;
    overflow: visible;
  }
  
  #loginMessage {
    box-sizing: border-box;
    direction: ltr;
    display: block;
    height: auto;
    line-height: 28px;
    margin: 1rem 0rem 1rem 0rem;
    padding: 0;
    width: auto;
  }
  
  #workArea {
    background-color: transparent;
  }
  
  #footer {
    box-shadow: 0 0rem 0.5rem rgba(31, 64, 122, 0.3);
    color: #000000;
    box-sizing: border-box;
    clear: both;
    direction: ltr;
    display: block;
    filter: none;
    font-size: 15px;
    font-weight: normal;
    height: 33px;
    line-height: 20px;
    overflow-x: visible;
    overflow-y: visible;
    position: relative;
    text-align: left;
    text-size-adjust: 100%;
    margin-left: auto;
    margin-right: auto;
    padding: 0 1.25rem 0 1.25rem;
    width: auto;
  }
  
  .floatReverse div {
    display: flex;
    justify-content: space-between;
    flex-direction: row-reverse;
    align-items: center;
    text-align: center;
    height: 100%;
  }
  
  #copyright {
    opacity: 0;
    box-sizing: border-box;
    color: #ffffff;
    direction: ltr;
    display: inline-block;
    font-size: 12px;
    font-weight: normal;
    height: 28px;
    line-height: 28px;
    margin-left: 8px;
    margin-right: 8px;
    text-align: left;
    text-size-adjust: 100%;
  }
  
  #userNameArea,
  #passwordArea {
    box-sizing: border-box;
    color: #262626;
    direction: ltr;
    display: block;
    font-size: 15px;
    font-weight: normal;
    height: 52px;
    line-height: 20px;
    margin-left: 0px;
    margin-right: -2px;
    text-align: left;
    text-size-adjust: 100%;
  }
  
  #updatePasswordForm #submitButton,
  #cancelButton {
    width: 48%;
  }
  
  #oldPasswordArea,
  #newPasswordArea {
    margin-bottom: 7px;
  }
  
  #errorMessage {
    margin-top: 5px;
  }
  
  #copyright {
    display: none;
  }
  
  .pageLink {
    box-sizing: border-box;
    color: #000000;
    direction: ltr;
    font-size: 0.6875rem;
    width: auto;
    text-size-adjust: 100%;
  }
  
  /* Common content styles */
  
  .clear {
    clear: both;
  }
  
  .floatReverse {
    width: 100%;
    height: 100%;
  }
  
  .indent {
    margin-left: 16px;
  }
  
  .indentNonCollapsible {
    padding-left: 16px;
  }
  
  .hidden {
    display: none;
  }
  
  .notHidden {
    display: inherit;
  }
  
  .error {
    color: #e81123;
  }
  
  .actionLink {
    margin-top: 5px;
    margin-bottom: 8px;
    display: block;
  }
  
  a {
    color: #0067b8;
    text-decoration: none;
    background-color: transparent;
    word-wrap: normal;
  }
  
  ul {
    list-style-type: disc;
  }
  
  ul,
  ol,
  dd {
    padding: 0 0 0 16px;
  }
  
  h1,
  h2,
  h3,
  h4,
  h5,
  label {
    margin-bottom: 8px;
  }
  
  #formsAuthenticationArea {
    background-color: #f6f6f6;
    padding: 1.25rem;
  }
  
  #submitButton {
    display: inline-block;
    height: auto;
  }
  
  .topFieldMargin {
    margin-top: 8px;
  }
  
  .fieldMargin {
    margin-bottom: 8px;
  }
  
  #idpForm {
    background-color: #f6f6f6;
    margin: 1.25rem;
    padding: 1.25rem;
    height: auto;
  }
  
  #idpForm > div {
    margin-top: 1rem;
  }
  
  .fieldMargin#idp_ThisRpPanel {
    margin: 0.5rem 0 0.5rem 0;
    margin-top: 0.75rem;
  }
  
  .fieldMargin#mfaGreeting {
    display: unset;
    font-size: 1.2em;
    padding: 0px;
  }
  
  .fieldMargin#idp_OtherRpPanel {
    margin: 0.5rem 0 0.5rem 0;
    margin-top: 0.75rem;
  }
  
  .submitMargin#idp_SignInPanel {
    margin-top: 1.25rem;
  }
  
  .submitMargin#submissionArea {
    margin-top: 1.25rem;
  }
  
  .groupMargin#idp_SignInThisSiteStatusLabel {
    padding: 0;
    font-size: 1.2em;
  }
  
  .groupMargin#customAuthArea {
    margin-top: 0.5rem;
    background-color: #f6f6f6;
  }
  
  .groupMargin#mfaGreetingDescription {
    margin-top: 0.5rem;
    padding: 0;
  }
  
  .submit#idp_SignInButton {
    height: auto;
    display: inline-block;
    border: 0;
    outline: 0;
  }
  
  .fieldMargin#idp_RelyingPartyDropDownList {
    width: 290px;
  }
  
  .groupMargin {
    margin-bottom: 0px;
    padding: 0px 20px 0px 20px;
    width: auto;
    margin-top: 1.25rem;
  }
  
  .sectionMargin {
    margin-bottom: 32px;
  }
  
  .block {
    display: block;
  }
  
  .autoWidth {
    width: auto;
  }
  
  .fullWidth {
    width: 342px;
  }
  
  .fullWidthIndent {
    width: 326px;
  }
  
  .smallTopSpacing {
    margin-top: 15px;
  }
  
  .mediumTopSpacing {
    margin-top: 25px;
  }
  
  .largeTopSpacing {
    margin-top: 35px;
  }
  
  .smallBottomSpacing {
    margin-bottom: 5px;
  }
  
  .mediumBottomSpacing {
    margin-bottom: 15px;
  }
  
  .largeBottomSpacing {
    margin-bottom: 25px;
  }
  
  #openingMessage {
    margin-bottom: 4px;
    padding: 0px 20px 0px 20px;
    visibility: hidden;
  }
  
  input {
    max-width: 100%;
    margin-top: 0px;
    margin-bottom: 0px;
  }
  
  input[type="radio"],
  input[type="checkbox"] {
    vertical-align: middle;
    margin-bottom: 0px;
  }
  
  span.submit,
  input[type="submit"] {
    border: 0;
    outline: 0;
    font-family: inherit;
    border-radius: 0.125rem;
    background-color: #222222;
    color: #ffffff;
    cursor: pointer;
    direction: ltr;
    margin: 0;
    max-width: 100%;
    overflow-x: hidden;
    overflow-y: hidden;
    padding: 0.75rem 2.25rem 0.75rem 2.25rem;
    position: relative;
    text-align: center;
    text-indent: 0px;
    text-shadow: none;
    text-size-adjust: 100%;
    touch-action: manipulation;
    user-select: none;
    vertical-align: middle;
    white-space: nowrap;
    width: auto;
    word-spacing: 0px;
    writing-mode: horizontal-tb;
    -webkit-appearance: none;
    -webkit-rtl-ordering: logical;
    -webkit-border-image: none;
  }
  
  input[type="submit"]:hover,
  span.submit:hover {
    background: #000000;
    border: #000000;
  }
  
  input.text {
    font-family: inherit;
    border: 1px solid #6f6f6f;
    border-image-outset: 0px;
    border-image-repeat: stretch;
    border-image-slice: 100%;
    border-image-source: none;
    border-image-width: 1;
    box-sizing: border-box;
    color: #262626;
    box-shadow: inset 0 0 0.3125rem #f1f1f1;
    cursor: auto;
    direction: ltr;
    display: block;
    font-size: 15px;
    font-stretch: normal;
    font-style: normal;
    font-variant-caps: normal;
    font-variant-ligatures: normal;
    font-variant-numeric: normal;
    font-weight: normal;
    height: 36px;
    letter-spacing: normal;
    line-height: 20px;
    margin-bottom: 0px;
    margin-left: 0px;
    margin-right: 0px;
    margin-top: 0px;
    max-width: 100%;
    outline-color: #262626;
    outline-style: none;
    outline-width: 0px;
    padding-bottom: 6px;
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 6px;
    text-align: start;
    text-indent: 0px;
    text-rendering: auto;
    text-shadow: none;
    text-size-adjust: 100%;
    text-transform: none;
    user-select: text;
    width: 338px;
    word-spacing: 0px;
    writing-mode: horizontal-tb;
    -webkit-appearance: none;
    -webkit-locale: "en";
    -webkit-rtl-ordering: logical;
    -webkit-border-image: none;
  }
  
  input.text:focus {
    border: 1px solid #bad98a;
    outline: none !important;
  }
  
  select {
    height: 28px;
    min-width: 60px;
    max-width: 100%;
    margin-bottom: 8px;
    white-space: nowrap;
    overflow: hidden;
    box-shadow: none;
    padding: 2px;
    font-family: inherit;
  }
  
  h1,
  .giantText {
    font-size: 2em;
    font-weight: lighter;
  }
  
  h2,
  .bigText {
    font-size: 1.33em;
    font-weight: lighter;
  }
  
  h3,
  .normalText {
    font-size: 1em;
    font-weight: normal;
  }
  
  h4,
  .smallText {
    font-size: 0.9em;
    font-weight: normal;
  }
  
  h4 {
    font-size: 0.7em;
    font-weight: normal;
  }
  
  h5,
  .tinyText {
    font-size: 0.8em;
    font-weight: normal;
  }
  
  .hint {
    color: #999999;
  }
  
  .emphasis {
    font-weight: 700;
    color: #2f2f2f;
  }
  
  .smallIcon {
    height: 20px;
    padding-right: 12px;
    vertical-align: middle;
  }
  
  .largeIcon {
    height: 48px;
    vertical-align: middle;
  }
  
  .largeTextNoWrap {
    height: 48px;
    display: table-cell;
    vertical-align: middle;
    white-space: nowrap;
    font-size: 1.2em;
  }
  
  .idp {
    height: 48px;
    clear: both;
    padding: 8px;
    overflow: hidden;
    cursor: pointer;
  }
  
  .idp:hover {
    background-color: #cccccc;
    cursor: pointer;
  }
  
  .idpDescription {
    width: 80%;
    cursor: pointer;
  }
  
  .identityBanner {
    color: black;
    text-align: left;
    white-space: nowrap;
    line-height: 28px;
    height: 28px;
    font-size: 15px;
    font-weight: 300;
    white-space: nowrap;
    overflow: hidden;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    padding-left: 20px;
  }
  
  .submit.backButton {
    color: black;
    width: 108px;
    float: left;
    background: #cccccc;
    border-color: #cccccc;
    margin-left: -2px;
    height: 32px;
    position: relative;
    left: 110px;
    bottom: 17px;
  }
  
  input[type="submit"].backButton:hover,
  span.submit.backButton:hover {
    background: #aaa;
    border: 1px solid #aaa;
  }
  
  .submit.nextButton {
    margin-left: -2px;
    left: 229px;
    bottom: -40px;
    height: 32px;
    width: 108px;
  }
  
  .submit.modifiedSignIn {
    display: block;
    width: auto;
    position: relative;
    height: 32px;
    width: 108px;
    left: 229px;
    bottom: -15px;
  }
  
  /* View for Smartphones */
  @media (max-width: 481px) {
    #branding {
      height: 2rem !important;
    }
  
    /* ETH Logo */
    #branding {
      background-size: 120px;
      height: 100px;
      width: auto;
      margin-top: 31px;
      margin-left: 31px;
      margin-right: auto;
    }
  
    #content {
      width: 85%;
      height: auto;
    }
  
    #footer {
      bottom: 0;
      width: 85%;
      height: 5rem;
    }
  
    .floatReverse div {
      display: flex;
      flex-direction: column-reverse;
      justify-content: center;
    }
  }
  
  /* View for small laptops and tablets */
  @media screen and (min-width: 482px) and (max-width: 768px) {
    /* ETH Logo */
    #branding {
      background-size: 30%;
      min-width: 320px;
      max-width: 412px;
    }
  
    #content {
      min-height: 290px;
      min-width: 320px;
      max-width: 412px;
    }
  
    #footer {
      bottom: 0;
      min-width: 320px;
      max-width: 412px;
      height: 4rem;
      margin-bottom: 1.9375rem;
    }
  
    .floatReverse div {
      display: flex;
      flex-direction: column-reverse;
      justify-content: center;
    }
  }
  
  /* View for mid-sized laptops and tablets */
  @media screen and (min-width: 769px) and (max-width: 1025px) and (min-height: 561px),
    (min-width: 769px) {
    #brandingWrapper {
    }
  
    /* ETH Logo */
    #branding {
      background-size: 21%;
      width: 45rem;
    }
  
    #content {
      width: 45rem;
    }
  
    #footer {
      width: 45rem;
    }
  }
  
  /* Targets displays using any of the Windows High Contrast Mode themes */
  @media screen and (-ms-high-contrast: active) {
    textarea::-webkit-input-placeholder {
      color: #00ff00;
    }
  
    textarea:-moz-placeholder {
      /* Firefox 18- */
      color: #00ff00;
    }
  
    textarea::-moz-placeholder {
      /* Firefox 19+ */
      color: #00ff00;
    }
  
    textarea:-ms-input-placeholder {
      color: #00ff00;
    }
  }
  
  /* Targets displays using the Windows "High Contrast Black" theme */
  @media screen and (-ms-high-contrast: white-on-black) {
    #contentWrapper {
      background-color: #000000;
      color: #ffffff;
    }
    .idp:hover {
      background-color: #ffffff;
      color: #000000;
    }
    #brandingWrapper {
      background-color: #000000;
      color: #ffffff;
    }
    html,
    body {
      background-color: #000000;
      color: #ffffff;
    }
  
    textarea::-webkit-input-placeholder {
      color: #ffffff;
    }
  
    textarea:-moz-placeholder {
      /* Firefox 18- */
      color: #ffffff;
    }
  
    textarea::-moz-placeholder {
      /* Firefox 19+ */
      color: #ffffff;
    }
  
    textarea:-ms-input-placeholder {
      color: #ffffff;
    }
  }
  
  /* Targets displays using the Windows "High Contrast White" theme */
  @media screen and (-ms-high-contrast: black-on-white) {
    #contentWrapper {
      background-color: #ffffff;
      color: #000000;
    }
  
    .idp:hover {
      background-color: #000000;
      color: #ffffff;
    }
  
    #brandingWrapper {
      background-color: #ffffff;
      color: #000000;
    }
  
    html,
    body {
      background-color: #ffffff;
      color: #000000;
    }
  
    textarea::-webkit-input-placeholder {
      color: #000000;
    }
  
    textarea:-moz-placeholder {
      /* Firefox 18- */
      color: #000000;
    }
  
    textarea::-moz-placeholder {
      /* Firefox 19+ */
      color: #000000;
    }
  
    textarea:-ms-input-placeholder {
      color: #000000;
    }
  }
  
  /** Dark mode support */
  @media (prefers-color-scheme: dark) {
    #contentWrapper {
      background-color: #000000;
      color: #ffffff;
    }
  
    a {
    color: #269af6;
    }
  
    #content {
      box-shadow: 0 0rem 0.5rem rgba(255, 255, 255, 0.3);
    }
  
    #formsAuthenticationArea,
    #idpForm {
      background-color: rgba(246, 246, 246, 0.175);
      color: #ffffff;
    }
  
    .idp:hover {
      background-color: #ffffff;
      color: #000000;
    }
  
    .groupMargin#customAuthArea {
    margin-top: 0.5rem;
    background-color: rgba(246, 246, 246, 0.175)
    }
    
    #branding {
      background-image: url(/adfs/portal/illustration/Eth_Logo_White.png);
    }
  
    #brandingWrapper {
      background-color: #000000;
      color: #ffffff;
    }
  
    #footer {
      background-color: #000000;
      box-shadow: 0 0rem 0.5rem rgba(255, 255, 255, 0.3);
    }
  
    #home.pageLink {
      color: #ffffff;
    }
  
    #helpDesk.pageLink {
      color: #ffffff;
    }
  
    input[type="submit"],
    span.submit {
      background-color: #222222;
      color: #ffffff;
    }
  
    input[type="submit"]:hover,
    span.submit:hover {
      background-color: #000000;
      color: #ffffff;
    }
  
    input.text {
      border-color: #676055;
      color: #ffffff;
      background-color: #000000;
      box-shadow: #202324 0px 0px 0.3125rem inset;
      font-size: 15px;
      height: 36px;
      outline-color: #262626;
    }
  
    input.text:focus {
      border: 1px solid #bad98a;
      outline: none !important;
    }
  
    html,
    body,
    #fullPage {
      background-color: #000000;
      color: #ffffff;
    }
  
    textarea::-webkit-input-placeholder {
      color: #ffffff;
    }
  
    textarea:-moz-placeholder {
      /* Firefox 18- */
      color: #ffffff;
    }
  
    textarea::-moz-placeholder {
      /* Firefox 19+ */
      color: #ffffff;
    }
  
    textarea:-ms-input-placeholder {
      color: #ffffff;
    }
  }
  