@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  src: local('Roboto'), url('/online/resource/OS_StaticResources/fonts/Roboto-Regular.ttf?orgId=00D200000005nIk') format('truetype');
}

@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 300;
  src: local('Roboto Light'), url('/online/resource/OS_StaticResources/fonts/Roboto-Light.ttf?orgId=00D200000005nIk') format('truetype');
}

@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 100;
  src: local('Roboto Thin'), url('/online/resource/OS_StaticResources/fonts/Roboto-Thin.ttf?orgId=00D200000005nIk') format('truetype');
}

html, body {
  background: #f0eeed;
  margin: 0;
  font-family: 'Roboto', sans-serif;
}

body {
  font-size: 14px;
}

.h1 {
  font-size: 1.5rem;
  font-weight: 400;
  color: #000000;
  margin: 0 auto;
}

.main-container {
  flex-basis: 100%;
}

.logo {
  position: relative;
  top: 0;
  left: 0;
  display: block;
  align-self: flex-start;
  background-color: #fff;
  margin-right: 60px;
  height: 100px;
  max-width: 150px;
}

.logo:after {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  left: 100%;
  width: 0;
  height: 0;
  border-top: 100px solid rgb(255, 255, 255);
  border-right: 60px solid transparent;
}

.logo-image {
  width: 130px;
  margin-left: 10px;
}

.page {
  display: flex;
  position: relative;
  flex-direction: row;
  min-height: 100vh;
}

.announcement {
  margin: 2em 0 0;
  padding: 24px;
  background: #ffc400;
  color: #000;
  max-width: 550px;
  margin: 1em;
}

.form {
  display: flex;
  flex: 1 0 100%;
  min-height: calc(100vh - 232px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 2em 0;
}

.form-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: min(320px, 100%);
  background-color: white;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
  padding: 40px;
}

.image-container {
  display: none;
}

.image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  overflow: hidden;
  object-position: left;
}

.login-form {
  margin: 2em 0 0;
  width: 100%;
}

.login-form-tight .input {
  margin: 1em 0;
}

.input {
  width: 100%;
  margin: 1em 0;
  position: relative;
}

.input.input-no-icon {
  margin-left: 2em;
}

.input img {
  align-self: center;
  width: 24px;
  height: 24px;
}

.input-field {
  font-size: .8rem;
  width: 100%;
  line-height: 1.2rem;
  background: transparent;
  outline: none;
  border: 1px solid black;
  padding: 8px 4px;
  box-sizing: border-box;
}

.input-field::placeholder {
  color: #898989;
}

.input-float-button {
  position: absolute;
  right: 8px;
  top: calc(1em + 10px);
}

.paragraph {
  margin: 1em;
}

.button-container {
  display: flex;
  flex-direction: row;
}

.button-container .button {
  margin-left: 1em;
}

.button {
  font-size: 1em;
  min-width: 6.5rem;
  min-height: 2.4rem;
  line-height: 2.4rem;
  margin: 0 auto;
  cursor: pointer;
  padding: 0 1em;
  text-decoration: none;
  border-width: initial;
  border-style: none;
  border-color: initial;
  border-image: initial;
}

.button-primary {
  background-color: #086795;
  color: #fff;
}

.button-secondary {
  background-color: #cccccc;
  color: #000;
}

.button-login {
  background-color: #ff7321;
  color: #fff;
  width: 100%;
}

.not-user-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 2rem;
  width: 100%;
}

.buttons-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.link-list {
  list-style: none;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  margin: 1em .5em;
  padding: 0;
  color: #066694;
}

.link-list-item {
  font-size: .8rem;
  margin-right: 10px;
  color: #066694;
}

.error {
  display: flex;
  margin: 0 6px 18px;
  flex-direction: row;
  color: #dc3127;
}

.error-icon {
  display: block;
  position: relative;
  min-width: 20px;
  max-width: 20px;
  min-height: 20px;
  max-height: 20px;
  border-radius: 50%;
  margin-right: 12px;
  background: #dc3127;
}

.error-icon:after {
  content: '!';
  position: absolute;
  top: -1px;
  left: 8px;
  color: #fff;
  min-width: 20px;
  min-height: 20px;
}

.footer {
  margin: 1em 0;
  bottom: 0;
  left: 0;
  width: 100%;
}

.lines {
  display: flex;
  flex-direction: row;
}

.link {
  display: block;
  text-decoration: none;
  text-align: center;
  color: #086795;
  margin: 1.5em 0 0;
}

.link:hover {
  text-decoration: underline;
}

.link-text {
  display: block;
}

.line {
  width: 100%;
}

.line-blue {
  border-top: 1px solid #01486a;
  margin-top: 11px;
}

.line-blend {
  position: absolute;
  bottom: 1rem;
  width: calc(50% - 100px);
  border-top: 1px solid white;
  mix-blend-mode: difference;
}

.line-blend:before {
  content: '';
  position: absolute;
  right: -43px;
  bottom: calc(1rem + 2px);
  width: 50px;
  transform: rotate(-45deg);
  border-top: 1px solid white;
}

.line-blend:after {
  content: '';
  position: absolute;
  bottom: 1rem;
  right: -100px;
  bottom: calc(2rem + 4px);
  width: 64px;
  border-top: 1px solid white;
}

.has-float-label {
  display: block;
  margin-left: 6px;
  position: relative;
}

.has-float-label input {
  width: 240px;
  height: 26px;
}

.has-float-label label, .has-float-label > span {
  position: absolute;
  color: #01486a;
  left: 0;
  top: 0;
  cursor: text;
  font-size: 75%;
  opacity: 1;
  -webkit-transition: all .2s;
  transition: all .2s;
}

.has-float-label select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.has-float-label textarea {
  width: 100%;
}

.has-float-label input, .has-float-label select, .has-float-label textarea {
  font-size: inherit;
  padding-top: 0.75em;
  margin-bottom: 2px;
  border: 0;
  border-radius: 0;
  background: transparent;
  border-bottom: 1px solid rgb(8, 103, 149);
}

.has-float-label input::-webkit-input-placeholder, .has-float-label select::-webkit-input-placeholder, .has-float-label textarea::-webkit-input-placeholder {
  opacity: 1;
  -webkit-transition: all .2s ease-out;
  transition: all .2s ease-out;
}

.has-float-label input::-moz-placeholder, .has-float-label select::-moz-placeholder, .has-float-label textarea::-moz-placeholder {
  opacity: 1;
  transition: all .2s ease-out;
}

.has-float-label input:-ms-input-placeholder, .has-float-label select:-ms-input-placeholder, .has-float-label textarea:-ms-input-placeholder {
  opacity: 1;
  transition: all .2s ease-out;
}

.has-float-label input::placeholder, .has-float-label select::placeholder, .has-float-label textarea::placeholder {
  opacity: 1;
  -webkit-transition: all .2s ease-out;
  transition: all .2s ease-out;
}

.has-float-label input:placeholder-shown:not(:focus)::-webkit-input-placeholder, .has-float-label select:placeholder-shown:not(:focus)::-webkit-input-placeholder, .has-float-label textarea:placeholder-shown:not(:focus)::-webkit-input-placeholder {
  opacity: 0;
}

.has-float-label input:placeholder-shown:not(:focus)::-moz-placeholder, .has-float-label select:placeholder-shown:not(:focus)::-moz-placeholder, .has-float-label textarea:placeholder-shown:not(:focus)::-moz-placeholder {
  opacity: 0;
}

.has-float-label input:placeholder-shown:not(:focus):-ms-input-placeholder, .has-float-label select:placeholder-shown:not(:focus):-ms-input-placeholder, .has-float-label textarea:placeholder-shown:not(:focus):-ms-input-placeholder {
  opacity: 0;
}

.has-float-label input:placeholder-shown:not(:focus)::placeholder, .has-float-label select:placeholder-shown:not(:focus)::placeholder, .has-float-label textarea:placeholder-shown:not(:focus)::placeholder {
  opacity: 0;
}

.has-float-label input:placeholder-shown:not(:focus) + *, .has-float-label select:placeholder-shown:not(:focus) + *, .has-float-label textarea:placeholder-shown:not(:focus) + * {
  font-size: 110%;
  color: #01486a;
  top: .5em;
}

.has-float-label input:focus, .has-float-label select:focus, .has-float-label textarea:focus {
  outline: none;
  border-color: rgba(0, 0, 0, 0.5);
}

.has-float-label select {
  padding-right: 1em;
  background: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'%3E%3Cpath fill='%23333' d='M2 0L0 2h4zm0 5L0 3h4z'/%3E%3C/svg%3E") no-repeat right 0.5em bottom 0.25em;
  background-size: 8px 10px;
}

@media screen and (max-width: 768px) {
  .cust-popup {
    left: 5px !important;
    top: 5px !important;
    right: 5px !important;
    margin-left: 0 !important;
    width: auto !important;
  }
  
  .button-cancel, .button-ok {
    width: 115px;
  }
}

.full-width {
  width: 100%;
}

@media screen and (min-width: 768px) {
  .main-container {
    flex: 1 0 50%;
    max-width: 50%;
  }
  
  .image-container {
    display: block;
    flex: 1 0 50%;
    max-width: 50%;
  }
  
  .has-float-label input {
    width: 280px;
  }
}

.chatWindow {
  height: 100%;
}

.chatWrapper {
  height: calc(100vh - 60px);
  background-color: #f2f2f2;
  display: flex;
  flex-direction: column;
}

@media (min-width: 450px) {
  .chatWrapper {
    height: 450px;
  }
}

#liveAgentMessageContainer > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 80px;
  padding-top: 100px;
  font-size: 18px;
}

#liveAgentMessageContainer > div button {
  display: none;
}

#waitingMessage {
  display: none;
  margin: 0 80px;
  padding-top: 180px;
  font-size: 18px;
}

#chatInputWrapper {
  max-height: 120px;
}

#chatInput {
  display: flex;
  height: auto !important;
  justify-content: space-around;
  margin-left: 20px;
  margin-right: 20px;
  border-top: 1px solid #a3a3a3;
  padding-top: 10px;
  padding-bottom: 10px;
}

.chatInputNoBorder {
  border: none !important;
}

#liveAgentChatLog {
  width: 100%;
  border: none !important;
}

.liveAgentChatInput {
  background-color: #ffffff;
  border: 1px solid #000;
  padding: 6px;
  outline: none;
  overflow: hidden;
  overflow-wrap: break-word;
}

#liveAgentClientChat textarea {
  width: 220px !important;
}

@media (min-width: 450px) {
  #liveAgentClientChat textarea {
    width: 300px !important;
  }
}

.liveAgentSendButton {
  border-radius: 0px;
  height: 26px;
  width: 60px;
  border: none;
  background: none;
  background-color: #2c6692;
  color: white;
  background-image: url('/resource/OS_StaticResources/icons/send-button-white.svg');
  background-size: 50%;
  background-repeat: no-repeat;
  background-position: center;
  color: transparent;
  margin-left: 16px;
  margin-right: 6px;
}

.liveAgentSendButton:hover {
  background-position: center !important;
}

.clientChatLogWrapper {
  flex-grow: 1;
  overflow-y: scroll;
}

#liveAgentChatLogText {
  display: flex;
  flex-direction: column;
}

#liveAgentChatLogText .operator > .name {
  display: none;
}

#liveAgentChatLogText .client > .name {
  display: none;
}

#liveAgentChatLogText .client {
  display: flex;
  flex-direction: column;
  margin-top: 20px;
  margin-left: auto;
  margin-right: 55px;
  position: relative;
}

#liveAgentChatLogText .operator {
  position: relative;
  display: flex;
  flex-direction: column;
  margin-top: 20px;
  margin-left: 50px;
}

.messageText {
  background-color: #fff;
  width: 200px;
  padding: 10px 18px;
  font-family: Roboto;
  font-size: 14px;
  position: relative;
  word-break: break-word;
}

.operator > .messageText:before {
  content: '';
  left: 0;
  top: 0;
  height: 100%;
  width: 10px;
  position: absolute;
  background-color: #ea7f2e;
}

.operator > .messageText:after {
  content: '';
  left: -5px;
  top: 12px;
  height: 10px;
  width: 10px;
  position: absolute;
  background-color: #ea7f2e;
  transform: rotate(45deg);
}

.client > .messageText:after {
  content: '';
  right: 0;
  top: 0;
  height: 100%;
  width: 10px;
  position: absolute;
  background-color: #1a3249;
}

.client > .messageText:before {
  content: '';
  right: -5px;
  top: 12px;
  height: 10px;
  width: 10px;
  position: absolute;
  background-color: #1a3249;
  transform: rotate(45deg);
}

.client:after {
  content: '';
  right: -40px;
  top: 3px;
  height: 27px;
  width: 27px;
  position: absolute;
  border-radius: 50%;
  background-color: #fff;
  background-image: url('/resource/OS_StaticResources/icons/user-bubble.svg');
  background-size: 75%;
  background-repeat: no-repeat;
  background-position: center;
}

.operator:before {
  content: '';
  left: -40px;
  top: 3px;
  height: 27px;
  width: 27px;
  position: absolute;
  border-radius: 50%;
  background-color: #fff;
  background-image: url('/resource/OS_StaticResources/icons/w_logo.svg');
  background-size: 65%;
  background-repeat: no-repeat;
  background-position: center;
}

.system {
  margin: 30px 0 20px 0px;
  font-size: 15px;
  text-align: center;
}

.timestamp {
  display: block;
  margin-top: 6px;
  font-size: 11px;
}

.client + .timestamp {
  margin-left: auto;
  margin-right: 55px;
}

.operator + .timestamp {
  margin-top: 3px;
  margin-left: 50px;
}

.toolbarWithBorders {
  border-top: 1px solid #006798;
  border-bottom: 1px solid #006798;
}

#toolbar {
  background: #e1f2fb;
}

#fileNameLabel {
  font-weight: bold;
  color: #006798;
}

#fileDragLink {
  text-decoration: none;
  color: #006798 !important;
  font-weight: bold;
}

#fileDragArea {
  margin: 5px 10px 0 10px;
  height: 50px;
  display: flex;
  align-items: center;
}

#fileCancelButton {
  border: none;
  padding: 10px 10px;
  margin: 10px;
  background: #dedede;
  border-radius: 0;
  cursor: pointer;
}

#fileSendButton {
  border: none;
  padding: 10px 10px;
  margin: 10px 10px 10px 0;
  background: #006798;
  border-radius: 0;
  color: #fff;
  cursor: pointer;
}

.label {
  font-weight: 600;
  margin-left: 12px;
}

.error-message {
  display: flex;
  flex-direction: column;
}

.input-addon-text {
  position: absolute;
  color: orange;
  top: 7px;
  right: 0;
  right: -4px;
}