﻿@font-face {
  font-family: "roboto-thin";
  src: url(Fonts/Roboto-Thin.ttf);
}

@font-face {
  font-family: "roboto-light";
  src: url(Fonts/Roboto-Light.ttf);
}

@font-face {
  font-family: "roboto-regular";
  src: url(Fonts/Roboto-Regular.ttf);
}

@font-face {
  font-family: "roboto-medium";
  src: url(Fonts/Roboto-Medium.ttf);
}

@font-face {
  font-family: "roboto-bold";
  src: url(Fonts/Roboto-Bold.ttf);
}

@font-face {
  font-family: 'dots';
  src: url(Fonts/Dots.ttf);
}

.no_text_select {
  -moz-user-select: -moz-none;
  -o-user-select: none;
  -khtml-user-select: none;
  -webkit-user-select: none;
  user-select: none;
}

*, ::before, ::after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

body, html {
  font-family: 'roboto-regular';
  font-size: 16px;
  color: #777;
  cursor: default;
  height: 100%;
  min-width: 800px;
  text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.9);
}

body {
  padding: 0 0 20px 0;
  margin: 0;
  overflow: inherit;
}

h2 {
  font-size: 16px;
  font-weight: 500;
  color: rgba(0, 0, 0, .87);
  margin: 15px 0 0 0;
}

h4 {
  font-size: 14px;
  font-weight: 400;
  color: rgba(0, 0, 0, .54);
  margin: 5px 0 0 0;
}

h5 {
  color: #999;
  font-size: 0.9em;
  font-weight: 300;
  margin-top: 15px;
  margin-bottom: 5px;
}

.hide {
  display: none !important;
}

.container {
  width: 970px;
  text-align: left;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}

.block-header {
  font-size: 1.25em;
  color: #777;
  margin-top: 2.0em;
  margin-bottom: 1.0em;
}

.block-footer {
  font-size: 1.25em;
  color: #777;
  margin-top: 1em;
  margin-bottom: 1em;
}

.background-mild {
  background-color: rgb(255, 205, 210);
}

.version-holder {
  text-align: end;
  color: #999;
  font-size: 0.8em;
  padding: 10px;
}

.page-header {
  position: relative;
  background-color: white;
  height: 80px;
  min-height: 80px;
  margin: 0 0 10px 0;
  min-width: 1665px;
  border-top: 1px solid #bbb;
  border-bottom: 1px solid #bbb;
  box-shadow: 0 .35em 1.25em -0.25em rgba(0, 0, 0, 0.25);
  font-size: 1.25em;
  font-weight: 400;
  color: #777;
  text-align: start;
}

.page-header-action-block {
  display: inline-block;
  width: 80px;
  height: 100%;
  border-right: 1px solid #bbb;
  background-repeat: no-repeat;
  background-position: center;
  background-image: url(images/action_menu_36.png);
  transition: background-color .45s cubic-bezier(.4,0,.2,1),color .45s cubic-bezier(.4,0,.2,1);
  cursor: pointer;
}

.page-header-logo-img {
  display: inline-block;
  width: 80px;
  height: 100%;
  background-repeat: no-repeat;
  background-position: center;
  background-size: auto 90%;
  background-image: url(images/logo.png);
  opacity: 0.8;
}

.page-header-logo-block {
  display: inline-block;
  vertical-align: top;
  padding-top: 10px;
}

.page-header-user-block {
  display: inline-block;
  height: 100%;
  float: right;
  border-left: 1px solid #bbb;
  padding: 0 20px;
  transition: background-color .45s cubic-bezier(.4,0,.2,1), color .45s cubic-bezier(.4,0,.2,1);
  cursor: pointer;
  background-color: rgb(247, 247, 247);
}

.page-header-action-block:hover, .page-header-user-block:hover {
  background-color: rgba(0, 0, 0, 0.1);
}

.list-header {
  display: flex;
  white-space: nowrap;
  font-weight: 700;
  border-radius: 4px 4px 0 0;
  margin-right: 18px;
  color: white;
  border: 1px solid #ddd;
  background-color: rgb(255, 81, 69);
}

.header-cell {
  display: inline-block;
  height: 38px;
  padding: 10px 0 0 10px;
  flex-shrink: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  text-shadow: none;
  box-sizing: border-box;
}

.header-cell:first-child, .row-cell:first-child {
  width: 600px;
}

.header-cell:last-child, .row-cell:last-child {
  border-right: none;
}

.list-body .mCSB_container {
  min-height: 41px;
}

.list-body {
  max-height: 123px;
}

.list-row {
  cursor: pointer;
  color: #777;
  display: flex;
  white-space: nowrap;
  border-right: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
  -webkit-transition: all 0.15s;
  -moz-transition: all 0.15s;
  transition: all 0.15s;
}

.list-row:hover {
  background-color: #f7f7f7;
}

@-webkit-keyframes background {
  0% {
    background-color: rgba(255, 212, 209, 0.7);
  }

  100% {
    background-color: #fff;
  }
}

@keyframes background {
  0% {
    background-color: rgba(255, 212, 209, 0.7);
  }

  100% {
    background-color: #fff;
  }
}

.list-row.highlighted {
  -webkit-animation: background 5s ease-out;
  animation: background 5s ease-out;
}

.row-cell {
  display: inline-block;
  padding: 10px 0 10px 10px;
  flex-grow: 0;
  flex-shrink: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.row-cell:last-child {
  flex-grow: 1;
}

.btn_ex {
  -moz-user-select: -moz-none;
  -o-user-select: none;
  -khtml-user-select: none;
  -webkit-user-select: none;
  user-select: none;
  display: inline-block;
  position: relative;
  vertical-align: middle;
  color: rgb(106, 9, 0);
  font-weight: 400;
  padding: 10px;
  font-size: 1.0em;
  border: 1px solid rgb(255, 81, 69);
  background-color: rgb(255, 212, 209);
  background-repeat: no-repeat;
  background-position: center;
  border-radius: 2px;
  text-align: center;
  cursor: pointer;
  opacity: 0.7;
  filter: alpha(opacity=70);
  -webkit-transition: all 0.1s;
  -moz-transition: all 0.1s;
  transition: all 0.1s;
  box-shadow: 0 .35em 1.25em -0.25em rgba(0, 0, 0, 0.25);
}

.btn_ex:not([disabled]):hover {
  opacity: 1.0;
  filter: alpha(opacity=100);
  box-shadow: 1px 1px 1px rgb(150, 150, 150);
}

.btn_ex:not([disabled]):active {
  top: 1px;
  left: 1px;
  box-shadow: none;
}

.btn_ex[disabled] {
  cursor: default;
  opacity: 0.4;
}

.bordered-box {
  border-bottom: 1px solid #ddd;
  padding-top: 10px;
  padding-bottom: 20px;
  margin-top: 10px;
}

.text-row {
  color: #777;
  margin-bottom: 5px;
}

.caption {
  display: inline-block;
  width: 180px;
}

.text {
  display: inline-block;
  font-weight: 700;
}

.flex-container {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.flex-container > .top {
  flex: 0 0;
  overflow: hidden;
}

.flex-container > .middle {
  background-color: white;
  flex-grow: 1;
  overflow: hidden;
  box-shadow: 0 .35em 1.25em -0.25em rgba(0, 0, 0, 0.25);
}

.flex-container > .bottom {
  flex: 0 0;
}

.centered {
  margin: 0 auto;
  width: 1760px;
}

textarea {
  width: 100%;
  height: 100%;
  resize: none;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 10px;
}

.edit-text {
  display: inline-block;
  min-height: 40px;
  padding: 10px;
  font-family: 'roboto-regular';
  font-size: 1.0em;
  color: #555;
  vertical-align: middle;
  background-color: #fff;
  border: 1px solid #bbb;
  border-radius: 2px;
  outline: 0;
  transition: box-shadow ease-in-out .15s;
}

input.edit-text:focus:not([disabled]) {
  box-shadow: inset 0 0 1px rgba(255, 209, 206, 0.75), 0 0 8px rgb(255, 209, 206);
}

input.edit-text.error {
  box-shadow: inset 0 0 6px rgba(233, 0, 0, 0.5), 0 0 8px rgb(233, 0, 0) !important;
}

textarea.edit-text:focus:not([disabled]) {
  box-shadow: inset 0 0 6px rgb(255, 209, 206);
}

textarea.edit-text.error {
  box-shadow: inset 0 0 8px rgba(233, 0, 0, 0.75) !important;
}

.edit-text[disabled], .edit-text[readonly] {
  opacity: 0.6;
}

*[data-to-be-replaced-with] {
  display: none;
}

#panelWait {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 999;
  overflow: hidden;
  background-color: rgba(0, 0, 0, 0.3);
  background-repeat: no-repeat;
  background-position: center;
  background-image: url(images/ajax-loader-large.gif);
}

#panelWait.hide {
  display: none;
}

.tooltip {
  position: relative;
  z-index: 1;
}

.tooltip .tooltiptext {
  visibility: hidden;
  display: inline-block;
  width: 300px;
  font-size: 18px;
  text-align: center;
  color: #777;
  padding: 15px;
  border: 1px solid #bbb;
  border-radius: 4px;
  background-color: white;
  white-space: nowrap;
  opacity: 1.0;
  position: absolute;
  top: 115%;
  left: calc((100% - 300px) / 2);
  box-shadow: 0 .35em 1.25em -0.25em rgba(0, 0, 0, 0.25);
}

.tooltiptext:before {
  content: "";
  width: 0px;
  height: 0px;
  position: absolute;
  bottom: 100%;
  left: 50%;
  border-width: 0 12px 12px 12px;
  border-style: solid;
  border-color: #bbb transparent;
}

.tooltiptext::after {
  content: "";
  width: 0;
  height: 0;
  position: absolute;
  bottom: calc(100% - 1px);
  left: 50%;
  border-width: 0 12px 12px 12px;
  border-style: solid;
  border-color: #fff transparent;
}

.tooltip:hover .tooltiptext {
  visibility: visible;
}

.clickable-link {
  color: rgba(17, 51, 170, 0.7);
  text-decoration: underline;
  cursor: pointer;
}

.clickable-link:hover {
  color: rgb(17, 51, 170);
}
