﻿:root {
  --default-app-hover-color: #2affff;
  --default-skill-color: #454dff;
  --default-activity-color: #F9F871;
  --default-font-color: #231f20;
  --default-app-alt-line-color: #1b54ad;
  --default-app-radius: 25px;
  --default-modal-color: #e3e3e3d9;
}

/* #2affff
#18eaff
#3bc4ff
#4894ff
#454dff
#171717
#10133D
#060714 */

* {
  -webkit-print-color-adjust: exact !important;
  /* Chrome, Safari, Edge */
  color-adjust: exact !important;
}

@page {
  margin: 0;
  size: 215mm 340mm;
}

html,
body,
::placeholder,
input,
select {
  color: var(--default-font-color);
  border-color: var(--default-font-color);
}

html,
body {
  margin: 0;
  width: 100vw;
  min-height: 100vh;
  font-family: "Poppins", "Segoe UI";
  overflow-x: hidden;
  font-size: 0.9em;
}

html {
  margin-right: calc(-1 * (100vw - 100%));
}

input[type="text"],
select,
textarea,
input {
  border-radius: var(--default-app-radius) !important;
  background-color: #00000011;
  border: 1px solid var(--default-font-color);
  font-size: 0.9em;
}

input,
select,
button,
textarea {
  padding: 10px 15px;
  font-family: "Poppins", "Segoe UI";
  font-size: 0.9em;
}

input:focus {
  outline: none;
}

a {
  color: inherit;
  text-decoration: none;
}

input[type="button"],
button {
  border: 1px solid var(--default-font-color);
  cursor: pointer;
  font-size: 0.85em !important;
  text-transform: uppercase;
  border-radius: 25px !important;
  background: transparent;
}

.btn-white {
  border: 2px solid white;
  color: white;
}

input[type="button"],
button:hover,
.btn-white:hover {
  border: 1px solid var(--default-font-color);
  background-color: var(--default-font-color);
  color: var(--default-app-hover-color);
  position: relative;
  z-index: 1;
}

.btn-white:hover {
  background-color: white;
  color: var(--default-font-color);
}

img {
  max-width: 100%;
  display: block;
}

.ddl-alt-padding {
  padding: 4px 15px !important;
}

.modal {
  position: absolute;
  z-index: 99;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4);
}

/* Modal Content */
.modal-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: linear-gradient(135deg, #4864facc 10%, #29fefecc);
  margin: auto;
  padding: 0;
  border-radius: 10px;
  width: 50%;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  -webkit-animation-name: animatetop;
  -webkit-animation-duration: 0.4s;
  animation-name: animatetop;
  animation-duration: 0.4s;
}

/* Add Animation */
@-webkit-keyframes animatetop {
  from {
    top: -300px;
    opacity: 0;
  }

  to {
    top: 0;
    opacity: 1;
  }
}

@keyframes animatetop {
  from {
    top: -300px;
    opacity: 0;
  }

  to {
    top: 0;
    opacity: 1;
  }
}

.tele-success {
  text-align: center;
  color: var(--light-gray-color);
  background-color: rgb(35, 160, 50);
  border: solid 1px rgb(0, 140, 20);
  font-size: 10pt;
}

.tele-not-allowed {
  text-align: center;
  color: rgb(50, 0, 0);
  background-color: rgb(255, 85, 70);
  border: solid 1px orangered;
  font-size: 10pt;
}

.tele-info {
  text-align: left;
  background-color: #ffffff;
  border: solid 1px #aaaaaa;
  color: black;
}

.tele-cancel {
  color: #969696 !important;
  border-color: #969696 !important;
}

.tooltip {
  position: absolute !important;
  padding: 5px 9px !important;
  max-width: 220px !important;
  z-index: 9999 !important;
  font-size: 8pt !important;
  background-color: black !important;
  color: white !important;
  opacity: 0.9 !important;
  text-align: center !important;
  border-radius: 10px;
}

.tooltip-left {
  text-align: left !important;
}

.scrollbar {
  overflow-y: auto;
}

.scrollbar::-webkit-scrollbar-track {
  background-color: transparent;
}

.scrollbar::-webkit-scrollbar-thumb {
  border-radius: 10px;
  background-color: #4864fa;
}

.scrollbar::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}

.pass-rule-container {
  padding: 5px;
}

.pass-rule-ok {
  text-decoration: line-through;
  color: green;
}

.pass-rule-warning {
  color: orangered;
}

.close {
  cursor: pointer;
}

.close:hover {
  color: #70cad1 !important;
}

.element-children-list div li {
  margin-right: 10px;
  display: flex;
  justify-content: space-between;
}

.element-children-list div li i {
  cursor: pointer;
}

.export {
  height: 20px !important;
}

.div-import-help>i {
  margin-left: 5px;
}

.div-import-help>u {
  margin-left: 5px;
}

.top {
  height: 48vh;
  min-width: 10px;
  display: flex;
  overflow-y: hidden;
}

.separator {
  background-color: #aaa;
  height: 1px;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  cursor: row-resize;
  padding: 1px 0;
  border-radius: 5px;
}

.bottom {
  height: 48vh;
  min-width: 10px;
  display: flex;
  /* overflow-y: hidden; */
  max-width: 88vw;
}

.bg-alt-line {
  /* background-color: var(--default-app-alt-line-color); */
  background-color: #003e7824;
}

.bg-dark-line {
  background-color: #060714bf;
}

.line-clamp {
  display: -webkit-box !important;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.line-clamp-1 {
  -webkit-line-clamp: 1;
}

.input-line-clamp {
  width: 200px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: default;
}

.page-container {
  padding: 1% 2% 1% 1%;
}

.new-message-animate {
  animation: new-message 1000ms ease-in-out infinite;
}

.replied-message {
  animation: new-message 1000ms ease-in-out;
  animation-iteration-count: 3;
}

.cursor-pointer {
  cursor: pointer;
}

.cursor-default {
  cursor: default;
}

.default-radius {
  border-radius: var(--default-app-radius);
  padding-left: 10px;
  padding-right: 10px;
}

@keyframes new-message {
  0% {
    opacity: 1;
  }

  50% {
    opacity: .1;
  }

  80% {
    opacity: 1;
  }

  100% {
    opacity: 1;
  }
}