
@font-face {
    font-family: 'Forza';
    font-style: normal;
    font-weight: 300;
    src: url(/fonts/Forza/Forza-Book.woff);
  }
  @font-face {
    font-family: 'Forza';
    font-style: normal;
    font-weight: 600;
    src: url(/fonts/Forza/Forza-Bold.woff);
  }

html, body, .app-container {
  height: 100%;
  overflow: hidden;
}

body {
  white-space: normal;
  /*background-color: #f9f9f9;*/
}
loginButton {
  background-color: #f9f9f9;
  color: #000000;
  border: 1px solid #ebebeb;
  padding: 5px 8px;
  border-radius: 3px;
  cursor: pointer;
}
button:hover {
  background-color: #00acff;
  color: #ffffff;
}
.dx-item .panel {
  margin-right: 10px;
  background: #ffffff;
  border: 1px solid #ebebeb;
  margin-bottom: 10px;
}
.dx-item:last-of-type .panel {
  margin-right: 0px;
}
.dx-item:last-of-type .panel:last-of-type {
  margin-bottom: 0px;
}
.panel-header,
.panel-body {
  padding: 2px 8px 4px 8px;
}
.panel-footer {
  padding: 8px 0px;
}
.panel-header {
  background-color: #f9f9f9;
  font-weight: bold;
  border-bottom: 1px solid #ebebeb;
  text-align: left;
}
.panel-header h2 {
  font-size: 14px;
  font-weight: bold;
  display: inline-block;
}
.panelHeaderAddition {
  float: right;
  position: relative;
  bottom: 3px;
  left: 9px;
}
.panelHeaderAddition button {
  margin-left: -1px;
}
.panelHeaderAddition button:hover {
  background-color: #00acff;
  color: #ffffff;
}
.panel-footer {
  margin: 0px 8px;
  border-top: 1px solid #ebebeb;
  text-align: right;
}
.rect {
  text-align: center;
  font-size: 30px;
  padding-top: 10px;
  height: 100%;
}
#header {
  text-align: left;
  padding: 0;
  border-bottom: 1px solid #ebebeb;
  font-family: 'Forza', sans-serif;
  font-weight: 300;
  height: auto;
}
#back {
  font-size: 24px;
  cursor: pointer;
  color: #0e0a0a;
  margin-right: 5px;
  position: relative;
  top: 2px;
}
#back:hover {
  color: #00acff;
}
#headerLogo {
  padding-left: 20px;
}
#headerLogo img {
  height: 24px;
  padding: 0;
}
#headerSiteTitle {
  text-align: center;
  padding-top: 8px;
  font-family: 'Forza';
  display: inline-block;
  width: calc(100% - 300px);
}
#headerSiteTitle h1 {
  font-size: 24px;
  display: inline-block;
}
#loginContainer,
#qrContainer {
  margin-top: 50px;
  padding: 1rem;
}
#loginContainer,
#qrContainer {
  max-width: 500px;
  margin: 0 auto;
}
form {
  margin: 10px;
}
#loggedIn {
  padding: 10px;
  white-space: nowrap;
  overflow-x: auto;
  background-color: #f9f9f9;
}
#loggedIn * {
  white-space: normal;
}
#user {
  position: absolute;
  top: 14px;
  right: 20px;
}
#user span,
#user i {
  font-size: 24px;
  color: #808080;
  padding-left: 10px;
}
#logout {
  cursor: pointer;
  position: relative;
  top: 3px;
  color: #808080;
  width: 100%;
}
#logout:hover {
  color: #00acff;
}

#darkMode {
  margin: 1rem 0;
}
#darkMode .dx-field-label {
  width: 65%;
  padding-right: 0;
  font-size: 1rem;
}
#darkMode .dx-field-value {
  width: 35%;
  text-align: right;
  margin-top: 4px;
}

.dx-item-content img {
  padding-top: 20px;
  padding-left: 30px;
}
.dx-datagrid-header-panel {
  width: 100%;
}

/* IE10, IE11 */
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
  #header {
    border-top: 1px solid #dddddd;
  }
}

#qrContainer {
  display: none;
  text-align: center;
}
.spinner {
  width: 80px;
  height: 80px;
  position: relative;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  position: absolute;
  margin-top: 37px;
}

.double-bounce1, .double-bounce2 {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: #333;
  opacity: 0.6;
  position: absolute;
  top: 0;
  left: 0;

  -webkit-animation: sk-bounce 2.0s infinite ease-in-out;
  animation: sk-bounce 2.0s infinite ease-in-out;
}

.double-bounce2 {
  -webkit-animation-delay: -1.0s;
  animation-delay: -1.0s;
}

@-webkit-keyframes sk-bounce {
  0%, 100% { -webkit-transform: scale(0.0) }
  50% { -webkit-transform: scale(1.0) }
}

@keyframes sk-bounce {
  0%, 100% {
    transform: scale(0.0);
    -webkit-transform: scale(0.0);
  } 50% {
    transform: scale(1.0);
    -webkit-transform: scale(1.0);
  }
}

#qrContainer h2 {
  font-weight: bold;
  margin-top: 40px;
  font-size: 1.1rem;
}

#qrContainer img {
  opacity: 0.1;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  position: absolute;
  padding-top: 75px;
}

.image-spinner-container {
  position: relative;
  height: 300px;
  margin-bottom: 30px;
}

#loginButton,
#qrLogin {
  width: 100%;
  font-weight: bold;
  height: 3rem;
  font-size: 1rem;
}

.dx-button {
  transition: background 0.5s ease-in-out;
}

#qrLogin {
  margin: 1rem 0;
}

.dx-field-item-label-content {
  text-align: left;
}

/* hide qr input */
#qrInput, #qrInput input {
  /* border: none; */
  /* color: #cccccc; */
  /* cursor: default; */
}

/* #qrInput {
  width: 400px;
  margin: 0 auto;
  position: absolute;
  bottom: 0;
} */

#qrInput .dx-texteditor-buttons-container {
  background: #f2f2f2;
  padding-right: 1rem;
}

#qrInput {
  margin: 2rem 0;
}

#qrContainer, #qrContainer *:not(input) {
  -webkit-user-select: none; /* Safari */
  -moz-user-select: none; /* Firefox */
  -ms-user-select: none; /* IE10+/Edge */
  user-select: none; /* Standard */
}

body .dx-loadpanel-wrapper {
  margin-top: 55px!important;
  background: rgba(256,256,256,0.8)!important;
  transform: initial!important;
}

#navigateToNormalLogin {
  display: block;
  max-width: 259px;
  margin: 1rem auto;
  position: relative;
  z-index: 3;
}

#loginName input,
#loginPassword input,
#qrInput input {
  padding: 1rem;
  background: rgba(255,255,255,.04)
}

#loginName input + .dx-placeholder,
#loginPassword input + .dx-placeholder,
#qrInput input + .dx-placeholder {
  left: 1rem;
}

.image-spinner-container img, .image-spinner-container .spinner {
  display: none;
}

.symphony-version {
  position: absolute;
  bottom: 2px;
  right: 2px;
  color: #000000;
  font-family: sans-serif;
  font-size: 11px;
}

.login-title h1 {
  font-size: 1.5rem;
  letter-spacing: normal;
  color: #565656;
  border-bottom: 1px solid #dadada;
  padding: 1rem;
  font-family: 'Forza', sans-serif;
  text-align: center;
}

.login-title {
  margin-top: 2rem;
}

#loginContainer .dx-fieldset {
  margin: 2rem 0;
}

#loginContainer .dx-fieldset .dx-field {
  display: flex;
  margin-bottom: 1rem;
}

#loginContainer .dx-fieldset .dx-field .dx-field-label {
  width: 100px;
  font-size: 1rem;
  text-align: left;
}
#loginContainer .dx-fieldset .dx-field .dx-field-value {
  flex-grow:1;
}

@media screen and (max-width: 800px) {
  #boxOptions4 > :nth-child(2) {
    flex-basis: 40%!important;
  }
  .login-title {
    margin: 0;
  }
}

@media screen and (max-width: 600px) {
  #boxOptions4 > :nth-child(2) {
    flex-basis: 100%!important;
  }
}

@media screen and (orientation:landscape) and (max-width: 900px) {
  #loginContainer,
  #qrContainer {
    margin-top: 0px;
  }
  .login-title {
    margin: 0;
  }
}

#localeSelect {
  width: 100%;
  height: 38px;
}
#localeSelect.dx-texteditor.dx-editor-underlined::after {
  border: none;
}
#localeSelect .dx-dropdowneditor-field-template-wrapper .language-text {
  display: none;
}
#localeSelect .dx-dropdowneditor-field-template-wrapper .language-select-flag {
  /* filter: gray;
  -webkit-filter: grayscale(0.5);
  filter: grayscale(0.5); */
  -webkit-transition: opacity .4s ease-in-out;
  -moz-transition: opacity .4s ease-in-out;
  -ms-transition: opacity .4s ease-in-out;
  -o-transition: opacity .4s ease-in-out;
  transition: opacity .4s ease-in-out;
  opacity: 0.5;
}
#localeSelect:hover .dx-dropdowneditor-field-template-wrapper .language-select-flag {
  /* filter: none; */
  /* -webkit-filter: grayscale(0); */
  opacity: 1;
}

#localeSelect input,
.language-select-item-container {
  text-transform: uppercase;
  font-family: 'Forza';
  font-size: 1.05rem;
}

.language-select-item {
  height: 24px;
  width: 36px;
}
.language-select-flag {
  border-radius: 3px;
}

.dx-item-content img.language-select-flag {
  padding: 0;
}

.language-select-item-container {
  padding: 10px 7px!important;
}

#drawer {
  position: absolute;
  height: calc(100vh - 51px);
  pointer-events: none;
}

.dx-drawer-opened {
  z-index: 500;
}

#drawer.dx-drawer-opened{
  pointer-events: all;
}

.dx-drawer-panel-content {
  background: #ffffff;
  border-top: 1px solid #dedede;
}

.dx-drawer-panel-content > * {
  padding: 2rem;
}

#headerToolbar {
  padding: 0px 14px;
}
#headerToolbar.dx-toolbar .dx-toolbar-items-container {
  height: 54px;
}

#menuButton .dx-icon-menu {
  font-size: 1.5rem;
  position: relative;
}

#menuButton {
  height: 35px;
  width: 35px;
}


/**** dark mode ****/

.dark-mode,
.dark-mode .panel-header h2,
.dark-mode #back,
.dark-mode #toggleHeader,
.dark-mode #user i,
.dark-mode #logout,
body.dark-mode .dx-datagrid-headers,
.dark-mode .symphony-version,
.dark-mode .dx-datagrid-rowsview .dx-selection.dx-row:not(.dx-row-focused) > td,
.dark-mode .dx-datagrid-rowsview .dx-selection.dx-row:not(.dx-row-focused) > tr > td,
.dark-mode .dx-datagrid-rowsview .dx-selection.dx-row:not(.dx-row-focused):hover > td,
.dark-mode .dx-datagrid-rowsview .dx-selection.dx-row:not(.dx-row-focused):hover > tr > td,
.dark-mode h1,
.dark-mode .small-load-panel-title ,
.dark-mode #loginButton,
.dark-mode #logout i.dx-icon {
  color: #fff;
}

.dark-mode button {
  background-color: #363640;
  color: #363640;
  border: 1px solid #515159;
}
.dark-mode button:hover {
  background-color: #00acff;
  color: #363640;
}
.dark-mode .dx-item .panel {
  background: #363640;
  box-shadow: 1px 1px 2px 1px rgba(0,0,0,0.25);
}
.dark-mode .panel-header {
  background-color: #363640;
  border-bottom: 1px solid #515159;
}

.dark-mode .panelHeaderAddition button:hover {
  background-color: #00acff;
  color: #363640;
}
.dark-mode .panel-footer {
  border-top: 1px solid #515159;
}
.dark-mode #header {
  border-bottom: 1px solid #515159;
}
.dark-mode #contentWrapper {
  background-color: #282828;
  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.5);
}

.dark-mode #toggleHeader {
  background-color: #363640;
  border: 1px solid #515159;
}

body.dark-mode .dx-checkbox-icon {
  border: 1px solid #ffffff;
}

.dark-mode .important-info-container .important-info-paragraph {
  color: #333333;
}

.dark-mode .dx-drawer-panel-content {
  background-color: #363640;
}

.dark-mode #qrContainer img  {
  -webkit-filter: invert(1);
  filter: invert(1);
  margin-top: 40px;
}

.dark-mode .double-bounce1,
.dark-mode .double-bounce2 {
  background-color: #d3d3d3;
}

.dark-mode #qrInput .dx-texteditor-buttons-container {
  background: rgba(255,255,255,.04);
  padding-right: 1rem;
}

.dark-mode #loginName input + .dx-placeholder,
.dark-mode #loginPassword input + .dx-placeholder,
.dark-mode #qrInput input + .dx-placeholder {
  color: #a7a3a3;
}

.dark-mode .spinner {
  margin-top: 77px;
}

.dark-mode input:-webkit-autofill {
  -webkit-text-fill-color: white;
  transition: background-color 5000s ease-in-out 0s;
}

body.dark-mode .dx-loadpanel-wrapper {
  background: rgba(54, 54, 64, 0.5)!important;
}