.erp_modal {
  display: block;
  position: fixed;
  z-index: 10;
  top: 85px;
  left: 12%;
  border: solid 1px #313131;
  border-radius: 4px;
  resize: both;
  /* max-height: 728px; */
  overflow: hidden;
  background-color: #f6f4ee;
  box-shadow: 0px 10px 26px #808080; }

/* @media only screen and (max-height: 900px) {
   .erp_modal {
    max-height: 528px; } 
  .modal-body {
    max-height: 500px; } } */

.msize-sm {
  width: 300px; }

.msize-lg {
  width: 800px; }

.erp_modal-tittle {
  height: 28px;
  padding: 5px;
  background-color: #967c61; }

.erp_modal-close {
  padding: 7px;
  margin: 2px 3px;
  border-radius: 50%;
  background-color: #ae301f;
  float: left; }
  .erp_modal-close:hover {
    cursor: pointer;
    box-shadow: 0 0 4px #f1ded3; }

.erp_modal-close-X {
  cursor: pointer;
  float: right;
  position: relative;
  width: 15px;
  height: 15px;
  transition: .3s; }
  .erp_modal-close-X::after, .erp_modal-close-X::before {
    position: absolute;
    left: 5px;
    content: " ";
    height: 15px;
    width: 2px;
    background-color: #333; }
  .erp_modal-close-X::before {
    transform: rotate(45deg); }
  .erp_modal-close-X::after {
    transform: rotate(-45deg); }
  .erp_modal-close-X:hover:before, .erp_modal-close-X:hover:after {
    background-color: #ae301f; }

.erp_modal-min {
  float: left;
  padding: 7px;
  margin: 2px 3px;
  border-radius: 50%;
  background-color: #68a500; }
  .erp_modal-min:hover {
    cursor: pointer;
    box-shadow: 0 0 4px #f1ded3; }

.erp_modal-name {
  font-weight: bold;
  float: left;
  user-select: none; }

.modal-body {
  max-height: 500px;
  overflow-y: scroll; }

.hello-wrapper {
  margin-top: 90px;
  margin-left: auto;
  margin-right: auto;
  width: 670px; }

.mid-message {
  padding: 18px;
  padding-left: 28px;
  width: auto;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3), -23px 0 20px -23px rgba(0, 0, 0, 0.8), 23px 0 20px -23px rgba(0, 0, 0, 0.8), 0 0 40px rgba(0, 0, 0, 0.1) inset; }

.mid-message > p {
  font-size: 100px; }

.mid-message p {
  margin-left: 20px;
  display: inline-block;
  font-size: 30px;
  font-stretch: ultra-expanded;
  color: darkgrey; }

.hello-text {
  float: left;
  width: 50%;
  margin-left: 20px;
  margin-top: 20px;
  font-size: 60px;
  font-stretch: ultra-expanded;
  color: darkgrey; }

.t3 {
  float: left;
  text-align: center;
  font-stretch: ultra-expanded;
  font-size: 90px;
  padding-top: 5px;
  width: 140px;
  height: 140px;
  color: #535353;
  background-color: #ffce00;
  border-top-left-radius: 50%;
  border-top-right-radius: 50%;
  border-bottom-right-radius: 50%;
  border-bottom-left-radius: 50%;
  box-shadow: 0 0 20px #333333; }

.hello-btn {
  display: inline-block;
  font-size: 18px;
  background-color: #003580;
  margin: 15px;
  width: 70px;
  text-align: center;
  color: white;
  border: solid 1px white;
  border-radius: 2px; }

.loader {
  position: absolute;
  left: 47%;
  border: 16px solid #f3f3f3;
  /* Light grey */
  border-top: 16px solid #3498db;
  /* Blue */
  border-bottom: 16px solid #3498db;
  border-radius: 50%;
  width: 120px;
  height: 120px;
  -webkit-animation: spin 1s linear infinite;
  animation: spin 1s linear infinite; }

@-webkit-keyframes spin {
  0% {
    -webkit-transform: rotate(0deg); }
  100% {
    -webkit-transform: rotate(360deg); } }

@keyframes spin {
  0% {
    transform: rotate(0deg); }
  100% {
    transform: rotate(360deg); } }

.login-bg {
  background-color: #f3f3f4;
  background-image: url(../../img/bg.jpg);
  background-repeat: no-repeat;
  min-height: 100%;
  background-position: center;
  background-size: cover; }

.login-block {
  position: absolute;
  top: 20%;
  left: 10%;
  background-color: rgba(0, 0, 0, 0.438);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.863);
  width: 400px; }

.login_logo {
  margin-top: 20px;
  color: white;
  font-size: 80px;
  font-weight: 800;
  font-stretch: extra-expanded;
  text-align: center;
  text-shadow: 0 0 0 2px white; }
  .login_logo::before {
    display: inline-block;
    position: absolute;
    top: 21px;
    left: 42px;
    content: "ONE";
    color: white;
    background-color: #ff0039;
    font-size: 18px;
    letter-spacing: 0.1em;
    padding: 0 6px; }

.login-input-block {
  width: 300px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 50px;
  margin-bottom: 50px; }

.login-input-block span {
  display: inline-block;
  color: rgba(255, 255, 255, 0.61);
  font-size: 30px;
  font-weight: 400;
  font-stretch: extra-expanded;
  margin-top: -15px; }

.login-btn {
  width: 100%;
  padding: 10px 18px;
  text-align: center;
  background-color: #24458b;
  color: white;
  font-size: 14px;
  font-weight: 400;
  font-stretch: extra-expanded;
  border: solid 1px #142750;
  border-radius: 5px;
  margin-top: 15px;
  transition: .5s; }
  .login-btn:hover {
    background-color: #3264cf;
    border: solid 1px #fff;
    box-shadow: 0 0 12px #97b8ff; }

.chat {
  max-height: 300px;
  overflow: scroll;
  display: grid;
  grid-gap: 15px;
  grid-template-columns: repeat(5, 1fr);
  grid-auto-flow: column; }

.chat-me-name {
  font-weight: bold;
  padding: 0 5px;
  color: #78a061; }

.chat-me-text {
  position: relative;
  padding: 5px;
  border: solid 1px #b7e2af;
  border-radius: 5px;
  color: #aaa;
  background-color: #e3ffde; }

.chat-me-message {
  grid-column: 2 / span 4; }

.chat-alian-name {
  font-weight: bold;
  padding: 0 5px;
  color: #7b86a6; }

.chat-alian-text {
  position: relative;
  padding: 5px;
  border: solid 1px #b7d9ea;
  border-radius: 5px;
  color: #999999;
  background-color: #dcf3fe; }

.chat-alian-message {
  grid-column: 1 / span 4; }

#chtTodo {
  scroll-behavior: smooth; }

.animation-bar-green {
  flex-grow: 10;
  width: 100%;
  height: 40px;
  /* background-color: #ffc107; */
  background-color: #c71700;
  background-image: linear-gradient(-45deg, rgba(255, 255, 255, 0.25) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.25) 50%, rgba(255, 255, 255, 0.25) 75%, transparent 75%, transparent);
  -webkit-background-size: 50px 50px;
  -moz-background-size: 50px 50px;
  -ms-background-size: 50px 50px;
  background-size: 50px 50px;
  -webkit-animation: progress 2s linear infinite;
  -moz-animation: progress 2s linear infinite;
  -ms-animation: progress 2s linear infinite;
  animation: progress 2s linear infinite; }

.animation-bar-red {
  flex-grow: 10;
  width: 100%;
  height: 40px;
  /* background-color: #ffc107; */
  background-color: #00bb10;
  background-image: linear-gradient(-45deg, rgba(255, 255, 255, 0.25) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.25) 50%, rgba(255, 255, 255, 0.25) 75%, transparent 75%, transparent);
  -webkit-background-size: 50px 50px;
  -moz-background-size: 50px 50px;
  -ms-background-size: 50px 50px;
  background-size: 50px 50px;
  -webkit-animation: progress 2s linear infinite;
  -moz-animation: progress 2s linear infinite;
  -ms-animation: progress 2s linear infinite;
  animation: progress 2s linear infinite; }

@-webkit-keyframes progress {
  0% {
    background-position: 0 0; }
  100% {
    background-position: 0px 75px; } }

@-moz-keyframes progress {
  0% {
    background-position: 0 0; }
  100% {
    background-position: 0px 75px; } }

@-ms-keyframes progress {
  0% {
    background-position: 0 0; }
  100% {
    background-position: 0px 75px; } }

@keyframes progress {
  0% {
    background-position: 0 0; }
  100% {
    background-position: 0px 50px; } }

.preact_btn {
  /*display: block;*/
  width: 100%;
  cursor: pointer;
  margin-top: 15px;
  padding: 10px 15px;
  border: solid 1px #4178be;
  border-radius: 5px;
  color: #4178be;
  background-color: #fff;
  text-align: center;
  box-shadow: 0 0 5px #aaa;
  transition: .3s; }

.preact_btn:hover {
  color: #fff;
  background-color: #4178be; }

.preact_btn:focus {
  outline: solid 2px lightblue; }

.p-btn {
  display: inline-block;
  border: 1px solid blue;
  padding: 15px 10px;
  font-size: 1.2em; }

.on {
  background-color: #a10000;
  border: 2px solid white;
  box-shadow: 0 0 3px #368a36;
  color: white; }

.off {
  background-color: #449d44;
  border: 2px solid white;
  box-shadow: 0 0 2px red;
  color: white; }

.flex {
  display: flex;
  align-items: center;
  flex-grow: 12; }

body, html {
  height: 100%; }

.ver {
  position: fixed;
  bottom: 0;
  left: 0;
  opacity: 0.7; }

.top-panel {
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100%;
  height: 50px;
  background-color: #144182;
  box-shadow: 0 3px 12px #555555; }

.btn-open-side {
  margin: 15px;
  width: 70px;
  text-align: center;
  color: white;
  border: solid 1px white;
  border-radius: 2px; }
  .btn-open-side:hover {
    background-color: #8a8aff;
    cursor: pointer; }

.main-menu {
  position: fixed;
  z-index: 9998;
  width: 0;
  height: 90%;
  list-style-type: none;
  margin: 0;
  margin-left: -215px;
  margin-top: 51px;
  padding: 0;
  background-color: #f6f4ee;
  box-shadow: 3px 1px 12px #555555;
  overflow-x: hidden;
  overflow-y: scroll;
  transition: .5s; }
  .main-menu::-webkit-scrollbar {
    width: 0; }

.main-item {
  padding: 8px 1px;
  text-decoration: none;
  color: #0088cc;
  text-align: center; }
  .main-item > a {
    text-decoration: none; }

.sub-menu {
  list-style-type: none;
  margin: 0;
  padding: 0;
  background: #fcf8e3; }

.sub-item {
  padding: 1px 1px;
  overflow-x: hidden; }
