@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');
body {
  background: white !important; }

table th {
  position: sticky;
  top: -1px;
  z-index: 1;
  white-space: nowrap; }

.dragging {
  opacity: 0.5; }

.reorderSmallCol,
.taskParamCol {
  width: 1%;
  white-space: nowrap; }

.document-handler {
  display: block;
  width: 100%;
  height: 100%;
  border: 1px solid rgba(181, 181, 181, 0.8); }

.taskParamCol {
  text-align: right; }

.modal-content input {
  font-size: 20px; }

.comboTime {
  display: inline-block !important;
  position: relative;
  top: 2px;
  margin-right: 5px; }
  .comboTime input,
  .comboTime select {
    background: white;
    border-radius: 3px !important;
    -webkit-appearance: none;
    border: solid 1px #bbbbbb;
    margin-top: 0;
    font-size: 19px;
    -moz-transition: border 0.2s linear 0s, box-shadow 0.2s linear 0s;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) inset; }

table {
  width: 100%;
  border-collapse: collapse; }

th {
  background: #eeeeee !important;
  font-weight: normal !important; }

th,
td {
  border: 1px solid #dddddd !important;
  padding: 1px 3px !important;
  font-family: "Roboto", sans-serif !important;
  font-weight: 400;
  font-size: 13px !important;
  box-sizing: content-box; }

.wrongDates {
  color: red;
  font-weight: bold; }

.state-pending,
.state-pending:hover {
  background-color: rgba(238, 204, 255, 0.7) !important; }

.state-active,
.state-active:hover {
  background-color: rgba(250, 221, 187, 0.7); }

.state-wakeup,
.state-wakeup:hover {
  background-color: rgba(43, 175, 76, 0.7) !important; }

.state-stopped,
.state-stopped:hover {
  background-color: rgba(255, 187, 51, 0.7); }

.state-forbidden,
.state-forbidden:hover td {
  background: #bdbcbc !important; }

.selected,
.selected:hover {
  background-color: #cce5ff !important; }

.dropped-highlight,
.dropped-highlight:hover {
  background-color: #fffdd7f2 !important; }

tr:hover td {
  outline: 2px solid #999999;
  cursor: grab; }

.loadingModal {
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: rgba(255, 255, 255, 0.8) url('../../img/ajax-loader.gif') 50% 50% no-repeat; }

.dependantProgress .doubleclicklink {
  display: inline-block; }

.dependantProgress span {
  margin: 0 2px;
  font-size: 0.95em;
  color: red;
  font-weight: bold; }

.readyPercent {
  color: green !important; }

#editWatchHolder {
  float: right; }

.specialLink {
  margin-right: 10px; }

.otherEditors {
  display: inline-block;
  margin: 5px 10px;
  color: #333333; }

.reorderTableHeader {
  position: fixed;
  width: 100%;
  height: 38px;
  top: 0;
  left: 0;
  padding: 5px;
  background: white;
  box-sizing: border-box;
  z-index: 100000;
  border-bottom: 1px solid #cccccc; }
  .reorderTableHeader input {
    background: #dddddd !important;
    border: 1px solid #666666;
    -webkit-box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.8);
    box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.6); }
    .reorderTableHeader input:hover {
      background: #cccccc !important; }

#backBtn {
  text-shadow: 0 1px 0 #f1f1f1; }

.overflow-scroll {
  overflow-x: auto; }

#saveBtn {
  background-color: #28a745 !important;
  border-color: #28a745 !important;
  color: white;
  text-shadow: 0 1px 0 #666666; }
  #saveBtn:hover {
    color: white;
    background-color: #218838 !important;
    border-color: #1e7e34 !important; }

.notesCol:hover {
  cursor: text !important; }

.dataTable {
  margin-bottom: 0 !important; }

.overflow-scroll {
  overflow: auto;
  margin-top: 38px;
  box-sizing: border-box;
  height: calc(100vh - 40px); }

#modal {
  visibility: hidden;
    /*
   * Вместо display: none, използваме visibility
   */
  opacity: 0;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out; }

/*
 * Активен модален прозорец
 */
#modal.show {
  visibility: visible;
  opacity: 1; }

/*
 * Съдържанието на модала
 */
.modal-content {
  background: white;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  width: 300px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
  position: relative; }

/*
 * Бутон за затваряне
 */
.close {
  position: absolute;
  right: 10px;
  top: 5px;
  font-size: 20px;
  cursor: pointer; }

/*
 * Полета за дата и час
 */
#datepicker,
#timepicker {
  width: 100%;
  padding: 10px;
  margin: 10px 0;
  border: 1px solid #cccccc;
  border-radius: 5px;
  text-align: center;
  cursor: pointer;
  background-color: white; }

/*
 * Бутон за запазване
 */
#save {
  background-color: #28a745;
  color: white;
  border: none;
  padding: 10px 15px;
  cursor: pointer;
  border-radius: 5px; }

#save:hover {
  background-color: #218838; }

#modalClear {
  background-color: white;
    /*
   * Тъмнозелен основен цвят
   */
  color: black;
  border: 1px solid #2e7d32;
    /*
   * Още по-тъмен зелен бордър
   */
  padding: 5px 10px;
  border-radius: 5px;
    /*
   * Леко заоблени ръбове
   */
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease-in-out; }

#modalSave {
  background-color: #388e3c;
    /*
   * Тъмнозелен основен цвят
   */
  color: white;
    /*
   * Бял текст
   */
  border: 1px solid #2e7d32;
    /*
   * Още по-тъмен зелен бордър
   */
  padding: 5px 10px;
  border-radius: 5px;
    /*
   * Леко заоблени ръбове
   */
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease-in-out; }

/*
 * Ефект при ховър (малко по-тъмен)
 */
#modalSave:hover {
  background-color: #2e7d32; }

/*
 * Ефект при натискане
 */
#modalSave:active {
  background-color: #1b5e20; }

.manualTime {
  background-color: #d5ffc3 !important; }

