/* Styles Main Site Template
-----------------------------------------------------------*/

body {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  padding: 0;
  margin: 0;
  line-height: 1.25;
  font-size: 3.4vh;
  font-family: 'Segoe UI';
  background-color: #F1F5FC;
  /*white-space: nowrap;*/
}

/* ratio > 0.583 (7 width : 12 height) */
@media (max-aspect-ratio: 7/12) {
  html, body {
    font-size: calc((12/7)*3.4vw);
  }
}

/* ratio > 4 (4 width : 1 height) */
@media (min-aspect-ratio: 4/1) {
  html, body {
    font-size: calc((1/4)*3.4vw);
  }
}

/* 0.889 (8w:9h) < ratio < 1.5 (3w:2h) */
@media screen and (min-aspect-ratio: 8/9) and (max-aspect-ratio: 3/2) {
  html, body {
    font-size: 5.5vw;
  }
}

/********************************************************************************/
/* Areas                                                                        */

#MenuBarArea {
  position: absolute;
  display: block;
  width: 100%;
  height: 2.86rem;
  top: 0;
  text-align: center;
  background-color: #009EE3;
  /*color: #3A277C;*/
  color: #000;
}

#MenuContentArea {
  width: 100%;
  background-color: #009EE3;
  position: absolute;
  top: 2.86rem;
  color: #fff;
  display: none;
  border: 1px solid #fff;
  z-index: 999;
}

.ControlArea {
  background-color: #DEE8F6;
  border-bottom: 1px solid #BAC8DC;
  color: #000;
  overflow: hidden;
  white-space: nowrap;

  flex-shrink: 0;
}

.InfoArea {
  background-color: #F1F5FC;
  overflow-y: auto;
  color: #000;
  width: 100%;
  height: 100%;
}

#ContentArea {
  position: absolute;
  overflow: hidden;
  width: 100%;
  top: 2.86rem;
  bottom: 2.5rem;

  display:flex;
  flex-direction: column;
}

  /* sometimes there is a form between content and control/info area*/
  #ContentArea > form {
    display: flex;
    flex-direction: column;
    height: 100%;
  }

#HotKeysArea {
  width: 100%;
  border-collapse: collapse;
  position: absolute;
  display: block;
  bottom: 0;
}


/********************************************************************************/


/********************************************************************************/
/* listview                                                                     */


.lis-listView-Normal, .lis-listView-Selected {
  font-size: 0.78rem;
  padding: .3rem .72rem;
  overflow: hidden;
}
.lis-listView-Normal {
  color: #000;
  background-color: white;
}

.lis-listView-Selected {
  color: #fff;
  background-color: #009EE3;
}

.lis-font-smaller {
  font-size: 0.68rem;
}

.lis-col-oneline {
  white-space: nowrap;
  overflow: hidden;
}

/********************************************************************************/

/********************************************************************************/
/* ListView ProgressBar                                                         */


.LISProgressBar {
  height: 12px;
}

/********************************************************************************/


/********************************************************************************/
/* Controls                                                                     */


/* Button */
.k-button, .btn-primary {
  color: #fff;
  background-color: #009EE3;
  border-color: #009EE3;
  min-width: 3.214rem;
}

  .k-button:hover, .btn-primary:hover {
    color: #000;
    border-color: #aaaaaa;
    background-color: #BBE3FA;
  }

  .k-button:disabled,
  .k-button[disabled],
  .btn-primary:disabled,
  .btn-primary[disabled] {
    background-color: #cccccc;
    color: #666666;
    border-color: #fff;
  }

  .btn-primary:not(:disabled):not(.disabled).active,
  .btn-primary:not(:disabled):not(.disabled):active {
    background-color: #ccc;
    border-color: #ccc;
  }

.btn.disabled, .btn:disabled {
  opacity: 1;
}

/* Input */
.k-input, input.k-textbox {
  color: #000;
  width: 100%;
}

  .k-input, input.k-textbox::-webkit-input-placeholder, input.k-formatted-value::-webkit-input-placeholder {
    color: #aaaaaa;
    font-style: italic;
  }

  k-input, input.k-textbox:-moz-placeholder, input.k-formatted-value:-moz-placeholder {
    color: #aaaaaa;
    font-style: italic;
  }

  k-input, input.k-textbox::-moz-placeholder, input.k-formatted-value::-moz-placeholder {
    color: #aaaaaa;
    font-style: italic;
  }

  k-input, input.k-textbox:-ms-input-placeholder, input.k-formatted-value:-ms-input-placeholder {
    color: #aaaaaa;
    font-style: italic;
  }

.UnitValues .k-textbox, .UnitValues .form-control {
  width: 27%;
}

/* DropDown */
.k-dropdown {
  width: 100%;
}

  .k-dropdown .k-input {
    color: #000;
  }

/* HotkeyButton */
.HotkeyButtonMainMenu {
  line-height: 1.2em;
  width: 100%;
  height: 2.5rem;
  background-color: #64d0ff;
  /*background-color: #3A277C;*/
}

.HotkeyButtonMenu {
  line-height: 1.2em;
  width: 100%;
  height: 100%;
}

.HotkeyButton1, .HotkeyButton2, .HotkeyButton3, .HotkeyButton4 {
  line-height: 1.2em;
  height: 100%;
  border-left: .1rem solid #FFF;
}

  .HotkeyButton1:first-of-type, .HotkeyButton2:first-of-type, .HotkeyButton3:first-of-type, .HotkeyButton4:first-of-type {
    border-left: none;
  }

.HotkeyButton1 {
  width: 100%;
}

.HotkeyButton2 {
  width: 50%;
  float: left;
}

.HotkeyButton3 {
  width: 33.3%;
}

.HotkeyButton4 {
  width: 25%;
}


/* Icons */

.DefaultIcon {
  height: 3.6rem;
  vertical-align: middle;
}

.MenuIcon {
  height: 2.64rem;
  vertical-align: middle;
}

.ErrorIcon {
  height: 2rem;
  float: left;
  margin: 0.29rem 0.36rem 0 0.36rem;
  cursor: pointer;
}

.SuccessIcon {
  height: 2rem;
  float: left;
  margin: 0.29rem 0.36rem 0 0.36rem;
  cursor: pointer;
}

.WarningIcon {
  height: 2rem;
  float: left;
  margin: 0.36rem 0.36rem 0 0.36rem;
}

.ListIcon {
  width: 1.14rem;
  margin: 0 0.71rem;
  vertical-align: middle;
}

.ButtonIcon {
  height: 2rem;
  margin: 0;
  vertical-align: middle;
}

/* ToggleSection*/
.ToggleSection {
  width: 100%;
  /*margin: 10px 0;*/
}

  .ToggleSection .Header {
    background-color: #009EE3;
    color: #fff;
    cursor: pointer;
    padding: 0.36rem 0.72rem 0px 0.72rem;
    margin: 0.36rem;
  }

  .ToggleSection .Content {
    display: none;
    padding: 0 0.36rem;
  }

/********************************************************************************/

.MenuHeader {
  text-align: center;
  padding-top: 1px;
  background-color: white;
  height: 100%;
  line-height: 1.66em;
  color: #787878;
  border-bottom: 1px solid #dedada;
}



.MainMenu {
  /*width: 100%;*/
  height: 100%;
  float: left;
}

.MainMenuItem {
  height: 1.786rem;
  float: left;
}


/********************************************************************************/
/* table definitions                                                            */

.TableForm {
  margin: 0.36rem auto;
  padding: 0 0.36rem;
  width: 100%;
}

  .TableForm tr {
  }

  .TableForm td {
  }


table, th, td {
  /*border: 1px solid black;*/
  vertical-align: text-top
}


/********************************************************************************/


.field-validation-error {
  color: red;
}


/********************************************************************************/
/* validation                                                                   */


/* ValidationSummary */
.validation-summary-valid {
  display: none;
}

.validation-summary-errors {
  position: fixed;
  top: 0;
  left: 0;
  color: white;
  min-height: 2.86rem;
  width: 100%;
  background: red;
  z-index: 999999;
}

  .validation-summary-errors ul {
    list-style-type: none;
    text-align: left;
    margin-top: 0;
    padding-left: 2.86rem;
    margin: 0.36rem 0;
  }

  .validation-summary-errors li {
    font-size: 0.72rem;
    font-weight: bold;
    /*background: #fff url(images/icons/validationerror.png) no-repeat 5px 50%;*/
  }

.validation-summary-success {
  position: fixed;
  top: 0;
  left: 0;
  color: white;
  min-height: 2.86rem;
  width: 100%;
  background: green;
  z-index: 999999;
}

  .validation-summary-success ul {
    list-style-type: none;
    text-align: left;
    margin-top: 0;
    padding-left: 2.86rem;
    margin: 0.36rem 0;
  }

  .validation-summary-success li {
    font-size: 0.72rem;
    font-weight: bold;
    /*background: #fff url(images/icons/validationerror.png) no-repeat 5px 50%;*/
  }

.validation-summary-info {
  position: fixed;
  bottom: 2.5rem;
  color: #009EE3;
  min-height: 2.86rem;
  width: 100%;
  background: yellow;
  z-index: 999999;
}

  .validation-summary-info ul {
    list-style-type: none;
    text-align: left;
    margin-top: 0;
    padding-left: 2.86rem;
    margin: 0.36rem 0;
  }

  .validation-summary-info li {
    font-size: 0.72rem;
    font-weight: bold;
  }

.validation-summary-warning {
  position: fixed;
  bottom: 2.5rem;
  color: #000;
  min-height: 2.86rem;
  width: 100%;
  background: yellow;
  z-index: 999999;
}

  .validation-summary-warning ul {
    list-style-type: none;
    text-align: left;
    margin-top: 0;
    padding-left: 2.86rem;
    margin: 0.36rem 0;
  }

  .validation-summary-warning li {
    font-size: 0.72rem;
    font-weight: bold;
    /*background: #fff url(images/icons/validationerror.png) no-repeat 5px 50%;*/
  }

/********************************************************************************/


.btn {
  padding: .1rem .2rem;
  border-radius: 0rem;
}

  .btn:not(:disabled):not(.disabled).active:focus,
  .btn:not(:disabled):not(.disabled):active:focus {
    box-shadow: 0 0 !important;
  }

.form-control {
  color: #000;
  margin: auto;
}

  /* WebKit, Blink, Edge */
  .form-control::-webkit-input-placeholder {
    color: #aaaaaa;
    font-style: italic
  }

  /* Mozilla Firefox 4 to 18 */
  .form-control:-moz-placeholder {
    color: #aaaaaa;
    font-style: italic
  }

  /* Mozilla Firefox 19+ */
  .form-control::-moz-placeholder {
    color: #aaaaaa;
    font-style: italic
  }

  /* Internet Explorer 10-11 */
  .form-control:-ms-input-placeholder {
    color: #aaaaaa;
    font-style: italic
  }

  /* Microsoft Edge */
  .form-control::-ms-input-placeholder {
    color: #aaaaaa;
    font-style: italic
  }

  .form-control:focus, .custom-select:focus, .btn:focus {
    box-shadow: 0 0 !important;
    border-color: #009ee3 !important;
  }

table {
  border-collapse: separate !important;
}

/** LIS Hamburger Menu **/
.icon-bar {
  display: block;
  width: 2.1428rem;
  height: 0.25rem;
  border-radius: 0.178rem;
  background-color: #fff;
  margin: 0.393rem;
}

.top-bar.active {
  transform: rotate(45deg);
  transform-origin: 10%;
  -webkit-transition: -webkit-transform 0.2s ease-in-out;
  transition: -webkit-transform 0.2s ease-in-out;
  -o-transition: transform 0.2s ease-in-out;
  transition: transform 0.2s ease-in-out;
  transition: transform 0.2s ease-in-out, -webkit-transform 0.2s ease-in-out;
}

.middle-bar.active {
  opacity: 0;
}

.bottom-bar.active {
  transform: rotate(-45deg);
  transform-origin: 5%;
  -webkit-transition: -webkit-transform 0.2s ease-in-out;
  transition: -webkit-transform 0.2s ease-in-out;
  -o-transition: transform 0.2s ease-in-out;
  transition: transform 0.2s ease-in-out;
  transition: transform 0.2s ease-in-out, -webkit-transform 0.2s ease-in-out;
}

.btn[title="Menu"] {
  padding: 0.214rem;
}
/* */

.LISRow {
  margin: 0px;
  padding: 0.178rem 0;
}

/** LIS Autocomplete Box with OptionList **/
.LIS_AC_Button {
  padding: .375rem 1rem;
  background-color: white;
  border: 1px solid #ced4da;
  border-radius: .25rem;
}

.LIS_AC_OptionList {
  position: absolute;
  display: none;
  z-index: 9999;
  background-color: white;
  border: 1px solid #ced4da;
  border-radius: .25rem;
  width: calc(100% - 0.714rem);
}

.LIS_AC_Option {
  padding: 0.5rem 0.4rem;
  font-size: 1.4rem;
}

  .LIS_AC_Option:hover {
    cursor: pointer;
    background-color: #eee;
  }
/**  **/


/** LIS LoadingEquipment Item **/
.divLoadingItemContainer {
  font-size: 1.5rem;
}

.divJustifyContent {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.divChangeLoadingItemAmountContainer {
  min-width: 2.5rem;
}

.btnChangeLoadingItemAmount {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
}

  .btnChangeLoadingItemAmount.disabled, .btnChangeLoadingItemAmount:disabled {
    background-color: #bbb;
    border-color: #aaa;
  }

.btnLoadingItemBooked {
  color: #ccc;
  text-align: center;
}

.inputLoadingItemAmount {
  font-size: 1.3rem;
  text-align: center;
  padding-left: 0.3rem;
  padding-right: 0.3rem;
}

.btnSubmitLoadingItemAmount {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  left: calc(41.66% + 2.5rem + 25%);
  position: relative;
  bottom: 0.36rem;
  width: 2.5rem;
  margin-bottom: 0.36rem;
  min-width: 0;
}
/* */

/*** Debug Information Controls (open with F8) ***/
.debug {
  display:none;
}

.debug-backlist {
  font-size: 0.5rem;
  position: absolute;
  bottom: 2.8rem;
  right: 0.1rem;
  background-color: white;
  letter-spacing: -0.02rem;
  z-index: 9999999;
}
/* */

/*Busy Indicator*/
.BusyIndicatorLoading {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: rgba(0,0,0,0.7);
  color: #fff;
  display: none;
  z-index: 99999999;
}

.BusyIndicatorLoadingVisible {
  display: block;
}

.BusyIndicatorCentered {
  position: fixed; /* or absolute */
  top: 40%;
  left: 50%;
  /* bring your own prefixes */
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}
/*********************/

/* loading spinner */
.spinner {
  width: 8rem;
  height: 8rem;
}

  .spinner::before {
    width: 8rem;
    height: 8rem;
    border-bottom-color: #009ee3;
    border-right-color: #009ee3;
    border-top-color: rgba(1, 1, 1, 0);
    border-left-color: rgba(1, 1, 1, 0);
    top: 0px;
    left: 0px;
    -webkit-animation: rotate-animation 1.5s linear 0.02s infinite, pulse 1.5s linear 0.02s infinite;
    animation: rotate-animation 1.5s linear 0.02s infinite, pulse 1.5s linear 0.02s infinite;
  }

  .spinner::before, .spinner::after {
    content: "";
    display: block;
    position: absolute;
    border-width: .3rem;
    border-style: solid;
    border-radius: 50%;
  }

  .spinner::after {
    width: 6rem;
    height: 6rem;
    border-bottom-color: #009ee3;
    border-right-color: #009ee3;
    border-top-color: rgba(1, 1, 1, 0);
    border-left-color: rgba(1, 1, 1, 0);
    opacity: 0.7;
    top: .9rem;
    left: .9rem;
    -webkit-animation: anti-rotate-animation 1.1325s linear 0.02s infinite, pulse 1.5s linear 0.02s infinite;
    animation: anti-rotate-animation 1.1325s linear 0.02s infinite, pulse 1.5s linear 0.02s infinite;
  }

.spinner-image {
  display:none;
  /*position: absolute;
  display: block;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  max-width: 5rem;
  max-height: 3rem;
  -webkit-animation: pulse 1.5s linear 0.02s infinite;
  animation: pulse 1.5s linear 0.02s infinite;*/
}

@-webkit-keyframes pulse {
  0% {
    opacity: .8;
  }

  50% {
    opacity: .2;
  }

  100% {
    opacity: .8;
  }
}

@keyframes pulse {
  0% {
    opacity: .8;
  }

  50% {
    opacity: .2;
  }

  100% {
    opacity: .8;
  }
}

@-webkit-keyframes rotate-animation {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@keyframes rotate-animation {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@-webkit-keyframes anti-rotate-animation {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(-360deg);
    transform: rotate(-360deg);
  }
}

@keyframes anti-rotate-animation {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(-360deg);
    transform: rotate(-360deg);
  }
}

@-webkit-keyframes spin {
  0% {
    -webkit-transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(360deg);
  }
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}
/**/