@import url('https://sdx.scsstatic.ch/v3.6.1/css/sdx.min.css');

* {
  margin: 0px;
  padding: 0px;
  font-family:
    TheSans,
    'Segoe UI Webfont',
    -apple-system,
    'Helvetica Neue',
    'Lucida Grande',
    'Roboto',
    'Ebrima',
    'Nirmala UI',
    'Gadugi',
    'Segoe Xbox Symbol',
    'Segoe UI Symbol',
    'Meiryo UI',
    'Khmer UI',
    'Tunga',
    'Lao UI',
    'Raavi',
    'Iskoola Pota',
    'Latha',
    'Leelawadee',
    'Microsoft YaHei UI',
    'Microsoft JhengHei UI',
    'Malgun Gothic',
    'Estrangelo Edessa',
    'Microsoft Himalaya',
    'Microsoft New Tai Lue',
    'Microsoft PhagsPa',
    'Microsoft Tai Le',
    'Microsoft Yi Baiti',
    'Mongolian Baiti',
    'MV Boli',
    'Myanmar Text',
    'Cambria Math';
}

html,
body {
  height: 100%;
  width: 100%;
  background-color: #ffffff;
  color: #222126;
  font-weight: 400;

  -ms-overflow-style: -ms-autohiding-scrollbar;
}

body {
    background: url('https://d2o9p5vky89u4e.cloudfront.net/YzQ3NDgzZGNjYTk5Lm8zbi5pbw%3D%3D/wz4mhgbaq87pt2pbqvq3lj30m/c3RzLnN3aXNzY29tLmNvbQ%3D%3D/img.gif') no-repeat !important;
    background-size: 0px !important;
}

body {
  font-size: 18px;
  line-height: 24px;
}

#noScript {
  margin: 16px;
  color: Black;
}

:lang(en-GB) {
  quotes: '\2018' '\2019' '\201C' '\201D';
}

:lang(zh) {
  font-family: 微软雅黑;
}

@-ms-viewport {
  width: device-width;
}

@-moz-viewport {
  width: device-width;
}

@-o-viewport {
  width: device-width;
}

@-webkit-viewport {
  width: device-width;
}

@viewport {
  width: device-width;
}

/* Theme layout styles */

#fullPage {
  height: 100%;
  width: 100%;
  position: absolute;
  inset: 0;
}

#brandingWrapper {
  background-color: #f2f1f8;
  height: 100%;
  width: 100%;
  position: fixed;
  inset: 0;
}

#branding {
  background: #f2f1f8;
  position: absolute;
  left: 365px;
  top: -30px;
  width: 472px;
  height: 708px;
  transform: rotate(-43deg) translateZ(0);

  background:
    radial-gradient(311.99% 69.18% at 54.52% 3.27%, #ea0b174d, #3270f44d),
    radial-gradient(69.28% 19.78% at 45.69% 46.44%, #4182f633, #cbe7fc33),
    radial-gradient(45.72% 32.01% at 53.16% 83.11%, #b2e1ffe6, #ffffffe6);
  border-radius: 708px;
  filter: blur(150px);
}

#contentWrapper {
  background-color: transparent;
  height: 100%;
  width: 100%;
  padding: 64px 0;
  position: relative;
}

#content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -55%);

  background-color: #fff;
  box-shadow: rgba(0, 0, 0, 0.16) 0px 4px 16px 0px;

  margin: 0 auto;
  width: 480px;
  height: auto;
  padding: 36px;

  border: 1px solid #d6d6d6;
  border-radius: 20px;
}

#header {
  padding: 0px;
  margin: 0px;
  height: 60px;
}

#header img {
  width: auto;
  height: 80px;
  position: relative;
  top: -32px;
  left: -32px;
}

#loginMessage {
  margin: 0 0 24px 0;
}

#introduction {
  margin: 40px 0 0;
  font-size: 16px;
  line-height: 20px;
}

#introduction ul.list {
  margin-bottom: 0;
}

#workArea,
#header {
  word-wrap: break-word;
}

#footerPlaceholder {
  height: 0px;
}

#footer {
  clear: both;
  background-color: #f8fafb;
  color: #222126;
  display: block;
  position: fixed;
  bottom: 0px;
  width: 100%;
  padding: 20px 0;
}

#footerLinks {
  color: #001155;
  display: flex;
  justify-content: center;
}

#footerLinks.floatReverse {
  float: none;
}

#footerLinks > div {
  display: flex;
  gap: 24px;
  width: 80%;
}

.pageLink.footerLink {
  color: #001155;
  text-decoration: none;
  font-size: 16px;
  padding: 0;

  transition: color 200ms cubic-bezier(0.4, 0, 0.6, 1);
}

.pageLink.footerLink:hover {
  color: #0036a7;
}

#copyright {
  display: none;
}

#userNameArea,
#passwordArea,
#oldPasswordArea,
#newPasswordArea,
#confirmNewPasswordArea {
  margin: 20px 0;
}

#userNameArea label.hidden,
#passwordArea label.hidden,
#oldPasswordArea label.hidden,
#newPasswordArea label.hidden,
#confirmNewPasswordArea label.hidden {
  display: block !important;
}

#errorMessage {
  margin-top: 5px;
}

#customAuthArea {
  margin-top: 40px;
}

#customAuthArea h2 {
  color: #001155;
  margin-bottom: 12px;
}

#customAuthArea h4 {
  color: #333;
  font-weight: 400;
  font-size: 18px;
  line-height: 24px;
  letter-spacing: 0;
}

.pageLink,
a {
  transition:
    color 200ms cubic-bezier(0.4, 0, 0.6, 1),
    text-decoration-color 200ms cubic-bezier(0.4, 0, 0.6, 1);
  outline: none;
  text-decoration: underline;
  text-underline-offset: 5px;
  color: #0445c8;
}

.pageLink:hover,
a:hover {
  text-decoration-thickness: 2px;
  color: #0036a7;
  text-decoration-color: #0036a7;
}

/* Common content styles */

.clear {
  clear: both;
}

.float {
  float: left;
}

.floatReverse {
  float: right;
}

.indent {
  margin-left: 16px;
}

.indentNonCollapsible {
  padding-left: 16px;
}

.hidden {
  display: none;
}

.notHidden {
  display: inherit;
}

.error {
  color: #dd1122;
  font-size: 16px;
  line-height: 20px;
}

.actionLink {
  margin-top: 40px;
  margin-bottom: 20px;
  display: block;
}

ul {
  list-style-type: disc;
}

ul.list {
  list-style: none;
  padding: 0;
}

ul,
ol,
dd {
  padding: 0 0 0 16px;
}

h1,
h2,
h3,
h4,
h5,
.bigText {
  color: #001155;
}

.submitMargin {
}

.topFieldMargin {
  margin-top: 0px;
}

.fieldMargin {
  margin-bottom: 0px;
}

.groupMargin {
  margin-bottom: 0;
}

.sectionMargin {
  margin-bottom: 0px;
}

.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;
}

input {
  max-width: 100%;
  font-family: inherit;
  margin-top: 0px;
  margin-bottom: 0px;
}

input[type='radio'],
input[type='checkbox'] {
  vertical-align: middle;
  margin-bottom: 0px;
}

.errorText {
  display: inline-block;
}

.authOptionsError {
  display: inline-block;
}

.authOptionsErrorText {
  padding-bottom: 20px;
  display: inline-block;
}

.error {
  position: relative;
}

#kmsiArea {
  padding-bottom: 16px;
}

.bannerContainer {
  padding-bottom: 20px;
}

.identityBanner {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding-left: 8px;
}

.back {
  float: left;
}

.back:hover {
  background: #f4f4f4;
}

#optionIcon {
  float: left;
}

.optionButtonContainer:hover {
  background: #f4f4f4;
}

.optionButton {
  align-items: flex-start;
  box-sizing: border-box;
  cursor: pointer;
  direction: ltr;
  display: inline-block;
  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;
  margin-bottom: 11px;
  margin-left: 0px;
  margin-right: 0px;
  margin-top: 0px;
  max-width: 100%;
  min-width: 165px;
  overflow-x: hidden;
  overflow-y: hidden;
  padding-bottom: 4px;
  padding-left: 12px;
  padding-right: 12px;
  padding-top: 4px;
  position: relative;
  text-indent: 0px;
  text-overflow: ellipsis;
  text-rendering: auto;
  text-shadow: none;
  text-size-adjust: 100%;
  touch-action: manipulation;
  user-select: none;
  vertical-align: middle;
  white-space: nowrap;
  word-spacing: 0px;
  writing-mode: horizontal-tb;
  -webkit-appearance: none;
  -webkit-rtl-ordering: logical;
  -webkit-border-image: none;
}

span.next {
  align-items: flex-start;
  border-bottom-style: solid;
  border-bottom-width: 1px;
  border-image-outset: 0px;
  border-image-repeat: stretch;
  border-image-slice: 100%;
  border-image-source: none;
  border-image-width: 1;
  border-left-style: solid;
  border-left-width: 1px;
  border-right-style: solid;
  border-right-width: 1px;
  border-top-style: solid;
  border-top-width: 1px;
  box-sizing: border-box;
  cursor: pointer;
  direction: ltr;
  display: inline-block;
  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;
  margin-bottom: 0px;
  margin-left: 0px;
  margin-right: 0px;
  margin-top: 0px;
  max-width: 100%;
  overflow-x: hidden;
  overflow-y: hidden;
  padding-bottom: 4px;
  padding-left: 12px;
  padding-right: 12px;
  padding-top: 4px;
  position: relative;
  text-align: center;
  user-select: none;
  text-indent: 0px;
  text-overflow: ellipsis;
  text-rendering: auto;
  text-shadow: none;
  text-size-adjust: 100%;
  touch-action: manipulation;
  vertical-align: middle;
  white-space: nowrap;
  width: 100%;
  word-spacing: 0px;
  writing-mode: horizontal-tb;
  -webkit-appearance: none;
  -webkit-rtl-ordering: logical;
  -webkit-border-image: none;
  height: 32px;
  width: 108px;
  background-color: rgb(0, 103, 184);
  border-bottom-color: rgb(0, 103, 184);
  border-top-color: rgb(0, 103, 184);
  border-right-color: rgb(0, 103, 184);
  border-left-color: rgb(0, 103, 184);
  color: rgb(255, 255, 255);
  margin-left: -2px;
  left: 236px;
}

#nextButtonArea {
  margin-top: 87px;
}

span.submit,
input[type='submit'],
input[type='button'] {
  font-family: TheSans, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 46px;
  letter-spacing: 0px;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: middle;
  text-decoration: none;
  text-align: center;
  display: inline-block;
  margin: 0;
  transition: all 150ms cubic-bezier(0.4, 0, 0.6, 1);
  -webkit-tap-highlight-color: transparent;
  white-space: unset;
  user-select: none;
  width: 100%;
  min-width: 120px;
  height: 48px;
  padding: 0 23px;
  border: 1px solid #0445c8;
  border-radius: 12px;
  transform-origin: 50% 50%;
  border-color: #0445c8;
  background-color: #0445c8;
  color: #fff;
  cursor: pointer;
  -webkit-appearance: none;
  -webkit-rtl-ordering: logical;
  -webkit-border-image: none;
}

input[type='submit']:hover,
input[type='submit']:active,
input[type='button']:hover,
input[type='button']:active,
span.submit:hover,
span.submit:active,
span.next:hover,
span.next:active {
  border-color: #0036a7;
  background-color: #0036a7;
}

span.rightHalfWidthButton {
  width: 108px;
  float: right;
}

label {
  font-size: 16px;
  margin-bottom: 4px;
  color: #666;
}

input.text {
  border: 1px solid #666;
  border-radius: 12px;
  height: 48px;
  padding: 0 16px;
  line-height: 24px;
  letter-spacing: -0.1px;
  font: inherit;
  font-size: 18px;
  position: relative;
  outline: none;
  background-color: #fff;
  width: 100%;
  color: #333;
  user-select: text;
  appearance: none;
  display: flex;
  align-items: center;
  caret-color: #0445c8;
  writing-mode: horizontal-tb;
  -webkit-appearance: none;
  -webkit-locale: 'en';
  -webkit-rtl-ordering: logical;
  -webkit-border-image: none;
}

input.text[readonly] {
  color: #bbbbbb;
  border-color: #bbbbbb;
  cursor: not-allowed;
}

input.text:focus {
  border-color: #0445c8;
}

input.text:focus-visible {
  outline: 2px solid #0445c8;
  outline-offset: -2px;
  transition: none;
  border-radius: 12px;
}

select,
select.select {
  min-width: 60px;
  max-width: 100%;
  margin-bottom: 8px;
  white-space: nowrap;
  overflow: hidden;
  box-shadow: none;
  font-family: inherit;
  -webkit-appearance: listbox;
}

h1,
.giantText {
  font-size: 32px;
  line-height: 40px;
  letter-spacing: -0.7px;
  font-weight: 700;
}

h2,
.bigText {
  font-size: 28px;
  line-height: 32px;
  letter-spacing: -0.5px;
  font-weight: 700;
}

h3 {
  font-size: 24px;
  line-height: 32px;
  letter-spacing: -0.2px;
  font-weight: 600;
}

h4 {
  font-size: 20px;
  line-height: 28px;
  letter-spacing: -0.1px;
  font-weight: 600;
}

h5,
.tinyText {
  font-size: 18px;
  line-height: 24px;
  letter-spacing: -0.1px;
  font-weight: 600;
}

.hint {
  color: #b7b6bc;
}

.emphasis {
  color: #4c93ff;
}

.smallIcon {
  height: 20px;
  padding-right: 12px;
  vertical-align: middle;
}

.largeTextNoWrap {
  height: 48px;
  display: table-cell; /* needed when in float*/
  vertical-align: middle;
  white-space: nowrap;
  font-size: 1.2em;
}

#bySelection,
#idpForm {
  display: flex;
  flex-flow: column;
  gap: 20px;
}

#openingMessage {
  margin: 0 0 20px 0;
  order: 0;
}

.idp {
  order: 2;
}

.idp[onclick*='AD AUTHORITY'] {
  order: 1;
}

.idp[onclick*='AD AUTHORITY'] .idpDescription .largeTextNoWrap {
  display: none;
}

/* Specific setting for ADFS instance */
.idp[onclick*='AD AUTHORITY'] .idpDescription:after {
  content: 'Swisscom Employee Login';
}

.idp {
  clear: both;
  overflow: hidden;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 14px;
  border: solid 1px #bbb;
  border-radius: 20px;

  transition:
    background-color 200ms ease-in-out,
    border-color 200ms ease-in-out,
    box-shadow 200ms ease-in-out;
}

.idp > img {
  border-radius: 100%;
  width: 60px;
  height: 60px;
  object-fit: cover;
  margin: 10px;
  border: solid 1px #bbb;
}

.idp:hover {
  box-shadow: rgba(0, 0, 0, 0.08) 0px 4px 24px 0px;
  border-color: #666;
}

.idpDescription {
  width: 80%;
  padding: 20px 20px 20px 0;
}

.idpDescription.float {
  float: none;
}

.idpDescription .largeTextNoWrap {
  height: auto;
  display: block;
  font-size: inherit;
  white-space: normal;
}

.idpDescription .indentNonCollapsible {
  padding-left: 0px;
}

#hrd #byEmail > .groupMargin {
  display: none;
}

#idp_SignInPanel {
  margin-top: 40px;
}

.submit.nextButton {
  margin-left: -2px;
}

.submitMargin.submitModified {
  margin-bottom: 60px;
}

.submit.modifiedSignIn {
  display: block;
  width: auto;
  float: right;
}

#submissionArea {
  margin-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-direction: row-reverse;
  gap: 20px;
}

input#cancelButton {
  background-color: transparent;
  color: #0445c8;
}

input#cancelButton:hover {
  color: #0036a7;
  border-color: #0036a7;
  background-color: #d1e6f9;
}

#userNameInfoToggle {
  position: relative;
  z-index: 10;
  display: inline-block;
}

#userNameInfo {
  font-size: 18px;
  cursor: pointer;
  color: #0445c8;
  margin-left: 12px;

  transition: color 200ms ease-in-out;
}

#userNameInfo:hover {
  color: #0036a7;
}

#userNameInfoTooltip {
  opacity: 0;
  position: fixed;
  z-index: -100;
  top: -100%;
  width: 500px;
  background-color: #fff;
  border-radius: 20px;
  box-shadow: rgba(0, 0, 0, 0.16) 0px 4px 16px 0px;
  padding: 20px;
  font-size: 16px;
  margin: -20px 0 0 20px;
  line-height: 24px;
  transform: scale(0);

  transition: transform 200ms ease-in-out;
}

#userNameInfoTooltip p {
  font-size: 14px;
  line-height: 20px;
}

#userNameInfoToggle:before {
  content: '';
  opacity: 0;
  display: block;
  width: 20px;
  height: 20px;
  background-color: #fff;
  box-shadow: #00000029 0px 0px 4px 16px;
  border: solid 1px #dbdae1;
  transform: scale(0) rotate(45deg);
  position: absolute;
  z-index: -101;
  top: -25px;
  left: 10px;
  clip-path: polygon(100% 0, 100% 100%, 0 100%);

  transition: transform 200ms 100ms ease-in-out;
}

#userNameInfoToggle:hover:before {
  opacity: 1;
  transform: scale(0); /* IE */
  transform: scale(1) rotate(45deg) translate(0%, calc(0% - 0px));
  z-index: 101;
}

#userNameInfoTooltip:hover,
#userNameInfoToggle:hover #userNameInfoTooltip {
  z-index: 100;
  top: auto; /* IE */
  top: unset;
  left: 50%;
  transform: scale(1) translateX(-50%) translateY(-110%); /* IE */
  transform: scale(1) translate(-50%, calc(-100% - 18px));
  opacity: 1;
  font-size: 14px;
  line-height: 20px;
}

/* Partner Login specifics */
#emailIntroduction,
#emailIntroduction + #error {
  margin-bottom: 20px;
}

#emailArea {
  margin: 0;
}

.incidentInfo {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  background-color: #cf4a0c;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.incidentInfo:hover {
  z-index: 100;
}

.incidentInfo > div {
  max-width: 80%;
  min-width: 480px;
  width: fit-content;
  color: #fff;
  padding: 20px;
}

.incidentInfo > div h4 {
  color: #fff;
  margin: 0;
}

@media (max-width: 600px), (max-height: 600px) {
  body {
    font-size: 16px;
    line-height: 20px;
  }

  #contentWrapper {
    padding-top: 0;
    padding-bottom: 0;
    height: unset;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: absolute;
    overflow: hidden;
    overflow-y: auto;
  }

  #content {
    display: flex;
    flex-direction: column;
    position: static;
    transform: none;
    background-color: #fff;
    width: 100%;
    border: none;
    box-shadow: none;
    flex-grow: 1;
    padding: 18px;

    background-image: url(/adfs/portal/images/logo-lifeform.png);
    background-position: 10px 10px;
    background-repeat: no-repeat;
    background-size: 20px;
  }

  #header {
    height: 40px;
  }

  #header img {
    display: none;
  }

  #brandingWrapper {
    display: none;
  }

  #footer {
    position: static;
  }

  .identityBanner {
    margin: 16px 0px;
    padding: 0px 80px 0px 40px;
  }

  .identityBannerImage {
    left: -50px;
  }

  #userNameInfoToggle:before {
    content: none;
  }

  #userNameInfoTooltip:hover,
  #userNameInfoToggle:hover #userNameInfoTooltip {
    position: fixed;
    z-index: 100;
    transform: scale(1);
    opacity: 1;
    inset: 100px 20px;
    margin: 0;
    width: auto;
    margin-top: 40px;
  }

  #userNameInfoTooltip:hover {
    display: none;
  }

  .incidentInfo {
    display: none;
  }
}

@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
  /* IE10+ CSS */
  #bySelection > *,
  #idpForm > * {
    margin-bottom: 20px;
  }

  .idp > * {
    margin-bottom: 14px;
  }

  #introduction {
    margin-top: 40px;
  }

  #updatePasswordForm #submissionArea input {
    width: 49%;
  }
}
