@font-face {
  font-family: 'SAP Icons';
  src: url(./fonts/SAP-icons.ttf) format('truetype');
}

@font-face {
  font-family: "72-Regular";
  src: url("./fonts/72-Regular.ttf");
}

@font-face {
  font-family: "72-Bold";
  src: url("./fonts/72-Bold.ttf");
}

[data-sap-icon]:before {
  font-family: "SAP Icons";
  content: attr(data-sap-icon);
  speak: none;
  font-weight: normal;
  -webkit-font-smoothing: antialiased;
}

* {
  box-sizing: border-box;
}

html {
  font-size: 1rem;
  color: #424242;
}

body {
  margin: 0;
  font-family: "72-Regular", arial;
}

h1 {
  margin-bottom: 2rem;
  font-size: 1.5rem;
  font-weight: normal;
}

input, select, button {
  margin-bottom: 6px;
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  border: 1px solid #919396;
  border-radius: 2px;
  color: #424242;
  font-family: "72-Regular", arial;
  font-size: 1rem;
  background: white;
  outline: none;
}

select, button {
  -webkit-appearance: none;
  cursor: pointer;
}

select {
  background-image:
    linear-gradient(45deg, transparent 50%, gray 50%),
    linear-gradient(135deg, gray 50%, transparent 50%);
  background-position:
    calc(100% - 20px) calc(1.5rem - 4px),
    calc(100% - 15px) calc(1.5rem - 4px);
  background-size:
    5px 5px,
    5px 5px;
  background-repeat: no-repeat;
  padding-right: 30px;
}

input:disabled, select:disabled {
  color: #c0c0c0;
  border-color: #c0c0c0;
  cursor: not-allowed;
}

input:disabled::placeholder {
  color: #a8a8a8;
}

select:disabled {
  background-image:
    linear-gradient(45deg, transparent 50%, #c0c0c0 50%),
    linear-gradient(135deg, #c0c0c0 50%, transparent 50%);
}

input::placeholder {
  color: #a8a8a8;
}

input::-ms-input-placeholder {
  /* Microsoft Edge */
  color: #a8a8a8;
}

input:not([type="checkbox"]), select {
  display: block;
  margin-bottom: 2.25rem;
  width: 100%;
  height: 3rem;
}

input[type="submit"] {
  border: none;
  border-radius: 4px;
  background-color: #0070F2;
  box-shadow: 0 1px 0 0 rgba(0,0,0,0.06);
  cursor: pointer;
  color: white;
  font-family: "72-Bold";
  height: 2.625rem;
}

input[type="submit"]:hover {
  background-color: #0064D9;
}

input[type="submit"]:disabled {
  background: #ddd;
  cursor: not-allowed;
}

input[type="submit"]:disabled:hover {
  opacity: unset;
}

.page {
  display: flex;
  align-items: stretch;
  height: 100vh;
  width: 100vw;
  overflow: hidden;
}

.page-cover {
  flex: 3;
}

.page-cover-img {

  /* background-image: url(../img/b1cover.jpg); */
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-cover-logo {
  position: absolute;
  top: 3rem;
  left: 3rem;
  width: 207px;
  height: auto;
  /* background-image: url(../img/b1logo.png); */
}

.page-content {
  width: 35rem;
  overflow: auto;
}

.page-content-forms {
  margin: 5rem auto 0;
  max-width: 21.5rem;
}

.floater {
  float: left;
  height: 50%;
  width: 1px;
  margin-bottom: -10rem;
}

.center_box {
  clear: both;
  margin-left: auto;
  margin-right: auto;
}

.hide {
  display: none;
}

.selected {
  background: #fceecc;
}

.remember {
  margin-bottom: .825rem;
  font-size: .75rem;
}

.tab-item {
  color: #666;
  cursor: pointer;
  display: inline-block;
  height: 3rem;
  margin: 0 1rem;
  line-height: 3rem;
}

.tab-item.selected {
  background-color: transparent;
  border-bottom: 3px solid #f1b41e;
  color: #f0ab00;
  font-family: "72-Bold";
}

.tab {
  margin-bottom: 2.25rem;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  border-bottom: 1px solid #fbda85;
}

.tab.hide {
  display: none;
}

/* Select with filterable list --- end*/
.select {
  margin-bottom: 2.25rem;
  position: relative;
}

.select-value {
  display: flex;
  position: relative;
}

.select-value input {
  cursor: pointer;
  margin-bottom: 0;
  padding-right: 2.125rem;
}

.select-value-icon {
  cursor: pointer;
  font-size: 1.375rem;
  height: 3rem;
  padding: 0.25rem 0.75rem;
  position: absolute;
  right: 0;
}

.filterable-list {
  -webkit-box-shadow: 0px 0px 4px 0px rgba(59,59,59,0.75);
  -moz-box-shadow: 0px 0px 4px 0px rgba(59,59,59,0.75);
  box-shadow: 0px 0px 4px 0px rgba(59,59,59,0.75);
  background: #fff;
  position: absolute;
  width: 100%;
  z-index: 1;
}

.filterable-list-search {
  position: relative;
  padding: 0.3125rem 0.625rem;
  border-bottom: 1px solid #d8d8d8;
  height: 3rem;
}

input.filterable-list-search-input {
  border-color: #d8d8d8;
  font-size: 0.875rem;
  height: 2.375rem;
  margin-bottom: 0;
}

.filterable-list-search-icon {
  position: absolute;
  right: 10px;
  top: 6px;
  padding: 0.625rem;
  color: #f0ab00;
  font-size: 0.875rem;
  cursor: pointer;
}

.filterable-list-list {
  margin: 0;
  margin-top: -1px;
  padding-left: 0;
  max-height: 15rem;
  overflow: auto;
  list-style-type: none;
}

.filterable-list-list-item {
  padding: 1rem;
  height: 3rem;
  border-top: 1px solid #d8d8d8;
  cursor: pointer;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.filterable-list-list-item:hover {
  background-color: #f3f3f2;
}
/* Select with filterable list --- end*/

.error-message {
  background-color: #ffe2e1;
  border: 1px solid #fd514d;
  border-radius: 3px;
  display: flex;
  line-height: 1.25rem;
  margin-bottom: 2.25rem;
  min-height: 3rem;
  padding: 0.75rem;
}

.error-message.hide {
  display: none;
}

.error-message .notification-icon {
  color: #b90000;
  font-size: 0.875rem;
  margin-right: 0.75rem;
}

.error-message .error-message-content {
  color: #434343;
  font-size: 0.875rem;
}
.succeed-message .succeed-message-content {
	background-color: #71eeb2;
    border: 1px solid #82cbae;
    border-radius: 3px;
    display: flex;
    line-height: 1.25rem;
    margin-bottom: 2.25rem;
    min-height: 3rem;
    padding: 0.75rem;
}

.field-input {
  margin-bottom: 2.25rem;
}

.field-input input {
  margin-bottom: 0;
}

.show-tip {
  position: relative;
}

.error-tip {
  display: none;
}

.show-tip .error-tip {
  color: #b90000;
  display: inline-block;
  font-size: 0.625rem;
  padding-left: 0.75rem;
  position: absolute;
  top: 50px;
}

.show-tip > input,
.show-tip.select .select-value-input {
  border: 1px solid #b90000;
}

@media (max-width: 1130px) {
  .tab-item {
    margin: 0 0.5rem;
  }
}

@media (max-width: 950px) {
  .page {
    flex-direction: column;
    overflow: initial;
  }

  .page-cover {
    height: 30vw;
  }

  .page-cover-logo {
    top: 7vw;
    left: 5vw;
    width: 207px;
  }

  .page-content {
    width: auto;
    flex: 7;
  }

  .floater {
    float: none;
    height: 2.25rem;
    width: auto;
    margin-bottom: 0px;
  }

  .tab-item {
    margin: 0 1.5rem;
  }

  .page-content-forms{
    margin: 5rem auto 0;
  }

  html{
    font-size: 75%;
  }
}