@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Catamaran:wght@400;700;800&family=Nunito+Sans:wght@400;700;800&display=swap");

:root {
  --boxes-gap: 24px;
  --box-1-width: 435px;
  --box-padding: 40px;
  --body-text-color: #133c4c;
  --theme-first-color: #163677;
  --theme-second-color: #eeb146;
  --theme-third-color: #53b3e5;
  --theme-grey-color: #dfe0e3;
  --basic-border: 1px solid var(--theme-grey-color);
}
body {
   color: var(--body-text-color);
  font-family: "Open Sans", sans-serif;
  padding: 0;
  margin: 0;
  background: #fff;
  
  min-height:calc(100vh - 50px);text-rendering: optimizeLegibility !important;
  padding-bottom:50px;
    -webkit-font-smoothing: antialiased;}
/*html.iframe {display:none;}*/

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  /* -webkit-appearance: none; */
  margin: 0;
}

/* Firefox */
input[type=number] {
  /* -moz-appearance: textfield; */
}

input[type="submit"]:disabled,
button[type="submit"]:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  pointer-events: none;
}
[data-loading]:disabled {
  cursor: progress !important;
}


.box-toggle {
  display: none;
}

.box-toggle.active {
  display: block;
}

.table {
  width: 100%;
  border-radius: 5px;
}

.table th {
  padding: 15px 10px 15px 15px;
  text-align: left;
}

.table:not(.no-hover) tr:not(.no-hover):hover td {
  background: #eaeaea;
}

.table td {
  padding: 15px 10px 15px 15px;
  border-bottom: solid 1px #eaeaea;
}

.table table th,
.table table td {
  padding: unset;
  background: unset;
  border-bottom: unset;
  text-align: unset;
}

.table-wrapper{overflow:auto; padding: 0 3px;}

a {
  color: var(--theme-third-color);
  text-decoration: underline;
}

a:hover {
  text-decoration: none;
}

.top {display:flex; flex-direction:row-reverse; align-items:center; gap:16px; margin-top:-7px;margin-bottom:7px;}
.menu-nav-links { margin: 0; font-size: 18px;}
.menu-nav-links a {color: #fff; text-decoration: none; display: inline-block; margin: 0 20px 0 0; font-weight: 100; background: url('/images/icons/ico-dot.svg') no-repeat 0 8px; padding: 0 0 0 19px; }
.menu-nav-links a:hover {text-decoration: underline;}
.menu-nav-links a.active {font-weight: 600; text-decoration: underline;}

@media screen and (max-width: 1200px) {
  .menu-nav-links {
    display:none;
  }
}



.top-menu {
  padding: 0;
  margin: 10px 0 0 0;

}


.top-menu li {
  list-style-type: none;
  display: inline-block;
  background: #33ccd8;
  color: #fff;
  border-radius: 25px;
  padding: 15px 30px;
  margin-right: 10px;
  margin-bottom: 5px;
}

.top-menu li:hover {
  background: #355bd8;
}

.top-menu li a {
  color: #fff;
  text-decoration: none;
}

.top-menu .avatar,
.top-menu .avatar:hover {
  background: none;
  color: #133c4c;
}

.top-menu .avatar span {
  border-bottom: solid 3px #2ecbd7;
}

.content-container {
  padding: 10px 30px 10px 30px;
  position: relative;
  overflow:auto;
}
.content-container.widget-fullscreen{
  padding:0;
}
.content-container.widget-fullscreen .boxes{
  margin-top:0;
}

.holder {
  background: #fff;
  border-radius: 5px;
  box-shadow: 0 3px 11px #0000001a;
  max-width: 100%;
  padding: 15px 15px 60px 15px;
  width: 80%;
  margin: auto;
  margin-top: 20px;
}

.content-container .holder-blank {
  width: 82%;
  margin: auto;
  margin-top: 10px;
  border-top: solid 1px #e2e2e2;
  padding-top: 20px;
}

.holder-white {
  background: #fff;
}

html.fixed body{margin-top:115px;}



header {
  background: var(--theme-first-color);  
  color: #fff;
  min-height: 125px;
      display: flex;
    width: 100%;
    flex-wrap: nowrap;
    justify-content:end;
    padding: 0 30px;
    width:calc(100% - 60px);
}

html.fixed  header {
   position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 2;


}
.top {
  text-align: right;

background: var(--theme-first-color);  
  color: #fff;

  
}



.logo {
  float: left;
}

.footer {
  margin-top: 30px;
  padding: 50px 20px;
}

.disabled {
  opacity: 0.3;
}

.table-filter {

  margin: 0;
}

.tab-switch,.table-filter {    
  display: flex;
  width: 100%;
  gap: 8px;
  flex-wrap: wrap;
  padding: 20px 0 20px 0;
}

.tab-switch {
  align-items: center;
}

  .tab-switch a,.table-filter a {white-space:nowrap}

h1 {
  margin: 20px 0 0 13px;
  padding: 0;
}

h3 {
  padding: 0;
}

.content-container .holder h1 {
  margin-top: 10px;
}

.holder h3 {
  margin-bottom: 15px;
}

.form {
  padding: 0;
  margin: 0;
  font-size: 14px;
}

.form label {
  width: 100%;
  display: block;
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 8px;
  vertical-align: top;
}
.form .half-switch+label{
  display:inline-block;
  width:auto;  margin-left:8px;
}

.form .item {
  margin: 0 0 20px 0;
}
.form .item-flex {
 max-width:499px;
 display: flex;
 justify-content: flex-start;
 gap:12px;
}
.form .item-flex .item {
  width:100%;
}
.form .item.border {
  border-bottom: solid 1px rgb(235, 235, 235);
  padding-bottom: 10px;
}

.form h3 {
  margin: 0 0 20px 0;
  padding: 0;
}

.form2 label {
  display: inline-block;
  width: 160px;
}

.a-button {
  background: #08da9d;
  cursor: pointer;
  display: inline-block;
  color: #fff;
  padding: 12px 24px;
  text-decoration: none;
  border-radius: 5px;
  border: 0;
  font-size: 14px;
}

.a-button:hover {
  background: #133c4c;
}

.a-add-task {
  margin: 10px 0 0 20px;
}

.a-add-task,
.a-white-button {
  border: solid 1px #ccc;
  cursor: pointer;
  display: inline-block;
  color: #000;
  padding: 4px 24px;
  text-decoration: none;
  border-radius: 5px;
  font-size: 12px;
}

.a-white-button {
  background: #fff;
}

.a-add-todo,
.a-add {
  cursor: pointer;
  display: inline-block;
  color: #fff;
  padding: 4px 24px;
  text-decoration: none;
  border-radius: 4px;
  font-size: 12px;
  background: #355bd8;
  display: inline-block;
  top: -4px;
  position: relative;
  margin-left: 5px;
}

.a-add {
  background: #08da9d;
}

td.no-hover {
  background: transparent !important;
}

.a-delete {
  color: #cf3939;
}

.td-delete-row {
  text-align: center; 
  width: 15px; 
  padding-left: 10px !important;
}

/*select {padding: 12px 18px; border-radius: 9px; border: solid 1px #ccc; margin-right: 12px; font-size: 14px;}*/
input[type="text"],
input[type="url"],
input[type="tel"],
input[type="datetime-local"],
input[type="date"],
input[type="time"],
input[type="number"],
input[type="search"],
input[type="password"],
input[type="email"],
input[type="color"],
input[type="month"] {
  width: calc(100% - 24px);
  -webkit-box-shadow: inset 1px 2px 8px rgba(0, 0, 0, 0.0588942);
  box-shadow: inset 1px 2px 8px rgba(0, 0, 0, 0.0588942);
  border-radius: 8px;
  border: var(--basic-border);
  height: 46px;
  outline: none;
  padding-left: 12px;
  padding-right: 12px;
  font-weight: normal;
  font-size: 14px;
  line-height: 15px;
  font-family: "Open Sans", sans-serif;
}
input[type="color"] {
  width:50px;
}
/*
input[required],select[required],textarea[required] {
  border-color:#000!important;
}*/
label:has(+ [required])::after {
  content:"*";
  color:#d0021b!important;
  display:inline-block;
  padding-left:4px;
}

input[required]:user-invalid,select[required]:user-invalid,textarea[required]:user-invalid {
  border-color:#d0021b!important;
}

input[required]:valid,select[required]:valid,textarea[required]:valid{
  border-color:#00c335!important;
}

input[type="datetime-local"] {
  max-width: 180px;
}

form .item input[type="text"],
form .item input[type="url"],
form .item input[type="tel"],
form .item input[type="datetime-local"],
form .item input[type="date"],
form .item input[type="time"],
form .item input[type="number"],
form .item input[type="search"],
form .item input[type="password"],
form .item input[type="email"] form .item input[type="number"],
form .item input[type="password"],
form .item input[type="email"],
form .item textarea {
  max-width: 475px;
  border-radius: 4px;
  width: calc(100% - 24px);
}

form .item select,
form .item .select2-container {
  max-width: 500px;
  width: calc(100% - 24px)!important;
  margin-right: 0;
}

form .item textarea, textarea, form .item .CodeMirror.cm-s-default {
  border: var(--basic-border);
  -webkit-box-shadow: inset 1px 2px 8px rgba(0, 0, 0, 0.0588942);
  box-shadow: inset 1px 2px 8px rgba(0, 0, 0, 0.0588942);
  border-radius: 4px;
  width: calc(100% - 24px);
  height: 86px;
  outline: none;
  padding: 12px;
  font-weight: normal;
  font-size: 14px;
  line-height: 16px;
  font-family: "Open Sans", sans-serif;
}
form .item .sun-editor label {width:auto;}
textarea.codemirror,textarea.suneditor {width:100%!important;max-width:100%!important; min-height:300px;}
.se-wrapper-wysiwyg,.se-wrapper-code-mirror { overflow:auto;}

form.form-edit-line {
  display: inline-block;
  margin: 0;
  padding: 0;
}

.form-edit-line.css-modify {
  position: absolute;
  left: 15px;
  top: 10px;
}

.todos li:has(.form-edit-line.css-modify) {
  padding-left: 40px;
  position: relative;
}

form.form-edit-line-2 {
  display: inline-block;
  margin: 0;
  padding: 0;
  min-width: 360px;
}

.form-edit-line-2 input[type="text"],
.form-edit-line-2 input[type="url"],
.form-edit-line-2 input[type="tel"],
.form-edit-line-2 input[type="datetime-local"],
.form-edit-line-2 input[type="number"],
.form-edit-line-2 input[type="password"],
.form-edit-line-2 input[type="email"],
.form-edit-line-2 select,
.form-edit-line-2 .select2-container  {
  max-width: 200px;
  width: 100%!important;;

}

form.form-edit textarea {
  width: calc(100%  - 24px);
  min-height: 300px;
}

.mce-panel {border: var(--basic-border)!important;
    -webkit-box-shadow: inset 1px 2px 8px rgba(0, 0, 0, 0.0588942)!important;
    box-shadow: inset 1px 2px 8px rgba(0, 0, 0, 0.0588942)!important;
    border-radius: 4px!important;
}

.todos {
  background: #fefcd6;
  box-shadow: 0 3px 11px #0000001a;
  max-width: 100%;
  border-radius: 4px;
  padding: 0;
  margin: 20px 0 20px 0;
}

.todos li {
  list-style-type: none;
  margin: 0;
  padding: 10px 15px 9px 15px;
  border-bottom: 1px solid #eee;
}

.todos li > * {
  vertical-align: middle;
}

.todos li a {
  color: #000;
  text-decoration: none;
  max-width: calc(100% - 150px);
  display: inline-block;
  vertical-align:top;
}

.todos .badges-cont,.todos-list .badges-cont {display:inline-block; vertical-align:middle; margin-left:10px; margin-top:-4px;}

.todos-list li {
  list-style-type: none;
  margin: O;
  font-size: 14px;
  padding: 10px 15px;
  border-bottom: solid 1px #eee;
  position: relative;
}

.todos-list li:hover {
  background: #f9f9f9;
}

.todos-list li a {
  text-decoration: none;
  color: #2b2b2b;
}

.todos-list {
  margin: 0 0 0 0;
  padding: 0;
}

.todos-list.closed {
  margin-top: 0;
  padding-top: 0;
}

.todos-list li.closed,.todos li.closed  {
  text-decoration: line-through;
  opacity: 0.4;
}

.task-row.closed {
  opacity: 0.5;
}

.todos li:hover .record-time {
  visibility: visible;
}

h3.todo-name {
  margin: 0 0 10px 15px;
  padding: 0;
  font-weight: normal;
  color: #355bd8;
}

h3.todo-name a {
  text-decoration: none;
  font-size: 18px;
}

.title-task {
  color: #cf3939;
  font-weight: normal;
  margin: 20px 0 20px 15px;
  padding: 0;
}

@media (hover: hover) and (pointer: fine) {
  .todos-list .todo-list-del,
  .todos .todo-list-del,
  .task-simple .todo-list-del,
  .td-delete-row a {
    visibility: hidden;

  }
}
.todos-list .todo-list-del,
  .todos .todo-list-del,
  .task-simple .todo-list-del,
  .td-delete-row a {

    display: inline-block;
  }

.todo-list-del img {
  width: 15px;
  padding-top:4px;
}

.todos-list li:hover .todo-list-del,
.todos li:hover .todo-list-del,
.task-simple .todo-list-del,
.task-simple li:hover .todo-list-del,
tr:hover .td-delete-row a  {
  visibility: visible;
  float: right;
}

.todos-list li .todo-list-del,
.todos .todo-list-del {
  float: right;
}

.navbar {
  padding: 5px 15px;
  width: 80%;
  margin: auto;
  margin-bottom: 15px;
}

.navbar .last {
  text-decoration: none;
  color: #000;
}

body:not(.tracking) .record-view #time-elapsed,
body:not(.tracking) .record-stop
{
    display: none;
}


.record-view {
  display: inline-block;
  
  color: #fff;

  height: 30px;
  padding: 0px 0px 5px 0px;
  border-radius: 100px;
  font-size: 14px;
  text-decoration: none;
  line-height: 20px;
  font-weight: normal;
}
.record-view img {height:24px;}
body.tracking .record-view {
  background: #e8010d;
   padding: 5px 10px 5px 5px;
}

.record-view-stop {
  line-height: 20px;
  font-weight: normal;
  border:none;
  background: #cf3939;
  color: #fff;
  width: 100px;
  float: right;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 14px;
  margin: 20px 20px 0 0;
  text-decoration: none;
}

.record-view a, .record-view-stop a {
  text-decoration: none;
  color: #fff;
}

.time-elapsed {
  margin-left: 10px;
  line-height: 20px;
  font-weight: normal;
  text-decoration: none;
}

.record-view-stop .stop {
  display: inline-block;
  width: 20px;
  height: 20px;
  background: #861b1b;
  border-radius: 2px;
  float: right;
}


    .record-view-sidebar {
        position: fixed;
        top: 0;
        right: -360px;
        width: 360px;
        height: 100%;
        background: #fff;
        box-shadow: -2px 0 8px rgba(0,0,0,0.08);
        z-index: 10;
        display: none;
        transition: right 0.25s;
        overflow-y: auto;
    }
    .record-view-close {
        position: absolute;
        top: 10px;
        right: 10px;
        background: transparent;
        border: none;
        font-size: 2rem;
        cursor: pointer;
        color: #888;
    }
    .record-view-sidebar-content {
        padding: 24px 16px 16px 16px;
    }
.info-item {
  margin-bottom: 5px;
  min-height: 40px;
}

.info-item label {
  width: 150px;
  display: inline-block;
  vertical-align: top;
}
.long .form-edit-line {float:left;}
.long.info-item label {
  margin-right:20px;
  width:calc(100% - 130px);
  line-height:34px;
}

.record-time {
  position: relative;
  padding-left: 10px;
  display: inline-block;

}
@media (hover: hover) and (pointer: fine) {
  .todos-list .record-time,.todos .record-time{
  visibility: hidden;

}
}

.todos-list .record-time,.todos .record-time{

  float:right;
}
.todos-list li:hover .record-time,.todos li:hover .record-time{
  visibility: visible;
}
.record-time img {
  width: 20px;
  display: inline-block;
  /* position: absolute;
  top: -14px; */
  opacity: 0.4;
  vertical-align: middle;
}

.todos-list .record-time,.todos .record-time {
  padding-inline: 14px;
}

.record-stop {
  display: inline-block;
  margin: 5px 0 0 10px;
  position: absolute;
  background: #cf3939;
  width: 15px;
  height: 15px;
}

.todos-list li:hover .record-time {
  position: relative;
  display: inline-block;
}

.info-box {
  padding: 20px 0 0 0;
}

.blur {
  filter: blur(3px);
  -webkit-filter: blur(3px);
}

.dataTables_filter {
  padding-bottom: 15px;
}

.task-avatar-img {
  width: 25px;
  margin-left: 15px;
  border-radius: 50%;
  display: inline-block;
  vertical-align: middle;
}

.comment-item {
  padding: 30px;
}

.comment-item .comment-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  float: left;
  margin-right: 20px;
  margin-bottom: 10px;
}

.comment-item .comment {
  clear: both;
  overflow-wrap: anywhere;
}

.comment img {
  width: 100% !important;
}

.tasks-total-comments {
  display: inline-block;
  background: #e5e5e5;
  color: #929292;
  margin-left: 10px;
  border-radius: 10px 10px 10px 0;
  font-size: 12px;
  height: 15px;
  min-width: 15px;
  line-height: 15px;
  text-align: center;
  padding: 3px 7px 3px 7px;
  position:relative;
}
.badges-cont .tasks-total-comments{
  margin-left: 0px;
}
.tasks-total-comments.envelope::after{
  content:"";
  display:block;
  position:absolute;
  top:-10px;
  right:-10px;
  width: 20px;
  height:20px;
  background:url("/images/icons/envelope.svg") center center ;
  background-size:contain;
  opacity:0.4;
  
}

.sales-ticket-list-badge,
.subtasks-total {
  display: inline-block;
  border-radius: 12px;
  padding: 3px 11px;
  font-size: 12px;
}
.sales-ticket-list-badge,
.project-hashtag {
  cursor:pointer;
  background: #DEDEDE;
  position:relative;
}

.sales-ticket-list-badge {
  color: var(--body-text-color);
  text-decoration: none;
}

.sales-ticket-list-badge:hover {
  opacity: 0.8;
}


.project-hashtag input {width:1px; height:1px; opacity:0.05;     position: absolute;}

.project-hashtag:hover{
  opacity:0.8;
}

.subtasks-total.all-closed img {
  width: 14px;
  position: relative;
  top: 2px;
  margin-right: 4px;
}

.contact-name-cell {
  display: flex;
  gap: 8px;
  align-items: center;
}

.contact-marker {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  margin-right:8px;
  vertical-align: middle;
  flex: 0 0 20px;
}
.table mark {
  background: #cfeff7; font-weight: bold;
}
.table label mark { background: unset; font-weight: unset; color:unset}
.empty-result {
  padding: 0 0 0 15px;
}

.table.dataTable.no-footer {
  border: 0;
}

table.dataTable a {
  font-weight: bold;
}

table.dataTable.row-border>tbody>tr>th,
table.dataTable.row-border>tbody>tr>td,
table.dataTable.display>tbody>tr>th,
table.dataTable.display>tbody>tr>td {
  border-top: 0;
}

table.dataTable tbody th,
table.dataTable tbody td {
  padding: 14px 10px !important;
}

.mf-wrap {
  backdrop-filter: blur(4px);
}

/* Styles for dialog window */
#facility-dialog,
.popup-dialog {
  background:  top right no-repeat #fff;
  padding: 48px;
  text-align: left;
  max-width: 800px;
  width: 80%;
  margin: 10px auto;
  border-radius: 12px;
  border: solid 1px #eee;
  box-shadow: 0 3px 11px #0000001a;
  clear:both;
  position: relative;
}

#facility-dialog h3 {
  margin-left: 0;
}

.contant-top-ares {line-height:30px;}

/**
* Fade-zoom animation for first dialog
*/

/* start state */
.my-mfp-zoom-in .zoom-anim-dialog {
  opacity: 0;

  /* -webkit-transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out; */

  -webkit-transform: scale(0.8);
  -moz-transform: scale(0.8);
  -ms-transform: scale(0.8);
  -o-transform: scale(0.8);
  transform: scale(0.8);
  box-shadow: 0px 63px 120px rgba(0, 0, 0, 0.5);
}

/* animate in */
.my-mfp-zoom-in.mfp-ready .zoom-anim-dialog {
  opacity: 1;

  -webkit-transform: scale(1);
  -moz-transform: scale(1);
  -ms-transform: scale(1);
  -o-transform: scale(1);
  transform: scale(1);
}

/* animate out */
.my-mfp-zoom-in.mfp-removing .zoom-anim-dialog {
  -webkit-transform: scale(0.8);
  -moz-transform: scale(0.8);
  -ms-transform: scale(0.8);
  -o-transform: scale(0.8);
  transform: scale(0.8);

  opacity: 0;
}

/* Dark overlay, start state */
/* .my-mfp-zoom-in.mfp-bg {
  opacity: 0;
  -webkit-transition: opacity 0.3s ease-out;
  -moz-transition: opacity 0.3s ease-out;
  -o-transition: opacity 0.3s ease-out;
  transition: opacity 0.3s ease-out;
} */

/* animate in */
/* .my-mfp-zoom-in.mfp-ready.mfp-bg {
  opacity: 1;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(7.5px);
  -webkit-backdrop-filter: blur(4px);
} */

/* animate out */
/* .my-mfp-zoom-in.mfp-removing.mfp-bg {
  opacity: 0;
} */

.zoom-anim-dialog .content {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 400;
  font-size: 18px;
  line-height: 180%;
}


.zoom-anim-dialog h5 {
  font-family: "Martel";
  font-style: normal;
  font-weight: 900;
  font-size: 32px;
  line-height: 54px;
  align-items: center;
  color: var(--theme-first-color);
  padding: 0;
  margin: 0 !important;
}

.zoom-anim-dialog h6 {
  margin: 0;
  padding: 0;
  font-family: "Martel";
  font-style: normal;
  font-weight: 800;
  font-size: 24px;
  line-height: 30px;
}

.hr-dashed {
  height: 30px;
  background: url("/images/bg-dashed.svg") repeat-x left bottom;
  margin-bottom: 30px;
  clear: both;
}

.zoom-anim-dialog .title-shadow {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 300;
  font-size: 24px;
  line-height: 36px;
  color: #c1c7d6;
}

.mfp-container {
  height: unset !important;
}
/*
.mfp-container:has(#facility-dialog) {
  box-sizing: border-box;
  bottom: 0;
}

.mfp-container.mfp-inline-holder:has(.pmfp-content) {
  height: 100%;
}

.mfp-container.mfp-inline-holder:has(.popup-content) {
  padding: 0 !important;
  height: 100% !important;
}

.mfp-content:has(.popup-content.zoom-anim-dialog) {
  height: 100%;
}

.mfp-container .popup-content.zoom-anim-dialog {
  margin: auto;
  height: 100% !important;
  width: 100%;
  max-width: 900px; 
  border: solid 1px #eee;
  box-shadow: 0 3px 11px #0000001a;
  background: #fff;
  box-sizing: border-box;
  overflow: auto;
}*/

.hr-dashed {
  height: 30px;
  background: url("/images/bg-dashed.svg") repeat-x left bottom;
  margin-bottom: 30px;
  clear: both;
}

.zoom-anim-dialog .title-shadow {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 800;
  font-size: 24px;
  line-height: 36px;
  color: #c1c7d6;
}

.d-none {
  display: none;
}

.switch {
  position: relative;
  display: inline-block;
  width: 60px !important;
  height: 34px;
  line-height: 60px;
  vertical-align: middle;
}
.form .switch{
  display: inline-block;
  vertical-align: middle;
  margin-right:12px!important;
}
.form .switch.half-switch{
  margin-right:6px!important;
}
.switch input {
  opacity: 0.01;
  width: 1px;
  height: 1px;
  position: relative;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: 0.4s;
  transition: 0.4s;
  border-radius: 34px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: 0.4s;
  transition: 0.4s;
  border-radius: 50%;
}

input:disabled+.slider {
  opacity: .3;
  cursor: unset;
}

input:checked:not([data-checked="0"])+.slider,input[data-checked="1"]+.slider {
  background-color: #00c335;
}

input:focus+.slider {
  box-shadow: 0 0 1px #00c335;
}

input:checked:not([data-checked="0"])+.slider:before,input[data-checked="1"]+.slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

.switch.half-switch {
  width: 30px !important;
  height: 17px;
  line-height: 17px;
  margin-top: 3px;
  margin-bottom: 2px;
}

.switch.half-switch .slider:before {
  height: 13px;
  width: 13px;
  left: 2px;
  bottom: 2px;
}

.switch.half-switch input:checked:not([data-checked="0"])+.slider:before,.switch.half-switch input[data-checked="1"]+.slider:before {
  -webkit-transform: translateX(13px);
  -ms-transform: translateX(13px);
  transform: translateX(13px);
}

.box-detail {
  margin-block: 24px;
}

.mfp-iframe-scaler iframe {
  box-shadow: unset;
  background: transparent;
  border-radius: 22px;
}

.close-btn-cont {
  float: right;
  width: 24px;
  height: 30px;
  display: inline-block;
  font-weight: 700;
}
.mfp-iframe-holder {
  backdrop-filter: blur(7.5px);
  -webkit-backdrop-filter: blur(7.5px);
}

.mfp-iframe-holder .mfp-close {
  color: #000 !important;
  top: 0 !important;
  right: 16px !important;
  font-size: 28px !important;
  width: auto !important;
}
/*
html.iframe .mfp-iframe-holder {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    padding: 0;
    margin: 0;
    overflow:auto;
}

html.iframe .mfp-iframe-holder .mfp-content {
    height: 100vh !important;
}
*/
.close-btn-cont a {
  opacity: .65;
  font-family: Arial, Baskerville, monospace;
  padding: 8px;
  position: absolute;
  top: 0px ;/*calc(50% - 14px);*/
  right: 8px;
  text-decoration: none;  
  color: #000 !important;
  font-size: 28px !important;
  font-weight: 400;
  height: 15px;
  line-height: 15px;
}

.close-btn-cont a:hover {
  opacity: 1;
}

.mfp-iframe-holder {
  /* background: rgba(255, 255, 255, 0.2);*/
  backdrop-filter: blur(7.5px);
  -webkit-backdrop-filter: blur(7.5px);
}

.mfp-iframe-scaler iframe {
  width: 99.8% !important;
  overflow: hidden;
}

.mfp-iframe-scaler .iframe {
  z-index: 1049;
}

.iframe body,
.mfp-iframe-scaler iframe {
  background: transparent !important;
}
/*
.mfp-wrap.mfp-ready {
  position: fixed !important;
  top: 40px !important;
  left: 0;
  right: 0;
  bottom: 0;
}

.mfp-wrap.mfp-ready:not(.iframe .mfp-wrap.mfp-ready) {
  height: 90vh !important;
}*/

.iframe #facility-dialog {
  width: 100%;
  margin: 0 !important;
  min-height: 90vh;
}

.iframe header,
.iframe .top,
.iframe .footer,
.iframe .nav-title {
  display: none;
}

.iframe .holder {
  width: 95%;
}

.iframe ::-webkit-scrollbar {
  width: 0px;
}

::-webkit-scrollbar-thumb {
  background: var(--theme-first-color);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--theme-first-color);
}

.iframe .content-container {
  padding: 0px 0;
}

.iframe .navbar {
  padding: 5px 0;
  width: 98%;
}

.iframe .holder {
  width: 95%;
}

.iframe.content-container .holder-blank {
  width: 99%;
}

.mfp-bg {
  background: rgba(0, 0, 0, 0.5);
}

.task-simple {
  margin: 20px 0 0 0;
  padding: 0;
}

.task-li-simple {
  list-style-type: none;
  padding: 10px;
  margin: 0 0 7px 0;
  border-radius: 4px;
  border: solid 1px #d9d46f;
  background: #fefcd6;
  position:relative;
  padding-left:40px;
}

.task-li-simple:hover {
  background: #fffba6 !important;
}

.task-li-simple.closed {
  text-decoration: line-through;
  opacity: 0.5;
}

.task-li-simple a {
  text-decoration: none;
  color: #000;
}

.input-custom {
  padding-right:30px;
  background:url('/images/icons/icon-custom.svg');
  background-position: center right 12px;
  background-repeat: no-repeat;
  background-size: 16px 12px;
}
input[type='date'].input-custom,input[type='datetime-local'].input-custom{
  background-position: center right 40px;
}
input[type='color'].input-custom{
  padding-right:40px;
  width:90px;
}
.select-custom {
 /* background-image:url('/images/icons/select-custom.svg');*/
}

.checkbox-custom .slider:before {
  background-image:url('/images/icons/icon-custom.svg');
  background-position: center center;
  background-repeat: no-repeat;
  background-size: 16px 12px;
}



.button-2,.button-custom-2 {
  border-radius: 5px;
  border: 0;
  cursor: pointer;
  line-height: 50px;
  text-align: center;
  display: inline-block;
  padding: 0 25px 0 55px;
  text-decoration: none;
  color: #fff !important;
  font-family: "Poppins";
  font-style: normal;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  text-decoration: none !important;
  background: url(/images/ico-book.svg) no-repeat 20px 11px var(--theme-second-color);
  background-size: 20px;

}
.button-custom-2 {
  border:1px solid var(--theme-first-color);
  padding-left:25px;
  position:relative;
  background:#fff;
  color:var(--theme-first-color)!important;
}
.button-custom-2:after{
  content:"";
  height:14px;
  width:20px; 
  display:inline-block;
  margin-left:8px;
  background:url('/images/icons/icon-custom.svg');
  background-position: center center;
  background-repeat: no-repeat;
  background-size: contain;

}
.button-custom-2:hover,.button-custom-2.active{
  background:var(--theme-first-color)!important;
  color:#fff!important;
  

}
.button-custom-2:hover:after,.button-custom-2.active:after{
  filter: brightness(100);
}




.button-2 + .todos {
  margin-top: 30px;
}

.nav-back {
  display: inline-block;
  background: url(/images/left-arrow.svg) no-repeat 0% 50%;
  padding-left: 50px;
  color: #fff;
  text-decoration: none;
  margin-right: 35px;
}

.boxes {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  /* justify-content: center; */
  gap: var(--boxes-gap);
}

.half-boxes-cont {
  display: flex;
  flex-wrap: wrap;
  gap: var(--boxes-gap);
  max-width: var(--box-1-width);
}

.half-boxes-cont .box {
  flex: 1 1 auto;
}
.box .custom-datatable-filter {text-align:left; background:white;  border-radius: 10px;}

.box {
   width: var(--box-1-width); 
  /*min-height: 351px;*/
  background: #f2f5fb;
  border-radius: 20px;
  padding: var(--box-padding);
  box-sizing: border-box;
  max-width:100%;
  position:relative;
}

.iframe .box {
  width: 100%;
  max-width: 100%;
  padding:0;
}

.box.box-half-height {
  min-height: 190px;
}

.box-min-h {
  min-height: 425px;
}

.box-1 {
  width: var(--box-1-width);
  gap: var(--boxes-gap);
}

.box-2 {
  width: 894px;
}

.box-3 {
  width: 1353px;
}

.box-4 {
  width: 1812px;
}
.box-full {
  width:100%;
}

.box-custom:after {
  content:"";
  position:absolute;
  top:20px;
  right:50px;
  display:block;
  width:28px;
  height:18px;
  background:url('/images/icons/icon-custom.svg');
  background-position: center center;
  background-repeat: no-repeat;
  background-size: contain;
}
.widget-custom-title {
  height:14px;
  width:20px; 
  display:inline-block;
  margin-left:8px;

}
.box .trash-ico-widget {
  position: absolute;
  top:14px;
  right:20px;
  font-size: 30px;
    color: #000 !important;
    text-decoration: none;
    opacity: .65;
    font-family: Arial, Baskerville, monospace;
}
.box .trash-ico-widget:hover{
  opacity:1;
}



.box-2 .box-inner::after {
  content: "";
  width: calc(894px - 2 * var(--box-padding));
  display: block;
}

.box-3 .box-inner::after {
  content: "";
  width: calc(1353px - 2 * var(--box-padding));
  display: block;
}

.box-4 .box-inner::after {
  content: "";
  width: calc(1812px - 2 * var(--box-padding));
  display: block;
}

/* .boxes>div:nth-child(3n) {
  margin-right: 0;
} */

.box h3 {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 800;
  font-size: 28px;
  line-height: 42px;
  display: flex;
  align-items: center;
  color: var(--theme-first-color);
  margin: 0;
}

.box h3 svg {
  margin-left: 10px;
  margin-right: 10px;
  fill: var(--theme-first-color);
}

.box hr {
  height: 3px;
  width: 70px;
  background: var(--theme-first-color);
  border-color: var(--theme-first-color);
  display: inline-block;
  clear: both;
  margin-block: 26px;
}
/* 
.box p {
  margin: 0;
  font-size: 16px;
  line-height: 26px;
} */
.actions-table-td {text-align:right; width:1px; text-wrap: nowrap;}
@media (hover: hover) and (pointer: fine) {
  .actions-table-td a {visibility: hidden;}
}
tr:hover .actions-table-td a {visibility:visible;}

.table .action-title {
  width: 120px;
}
.export-link {margin: 0;position: absolute;top: 60px;right: 60px; color:gray}
.export-link a { color:gray; display:inline-block; margin-left:20px;}
.box-container.white table {
  background: #fff;
  border-radius: 10px;
}

.box-container .mini-title {
  display: block;
  font-weight: bold;
  font-family: "Martel";
}

.box-container .mini-value {
  display: block;
  margin-bottom: 10px;
  font-size: 40px;
  font-weight: 800;
  font-family: "Martel";
}

.box-container .mini-value:last-child {
  margin-bottom: 0;
}

.box-container .mini-value.green {
  color: #0ca60c;
}

.box-container .mini-value.red {
  color: #cf3939;
}

 .box .button-1 {
  margin: 36px 36px 0 0 ;
}
.box .tab-switch  .button-1{
  margin:0;
}

.box .single-value {
  font-size: 40px;
  font-family: "Martel";
  font-weight: 800;
}

.more-anchor {
  padding-left: 10px;
}

.box-sticker {
  background: blue;
  width: 300px;
  background: #fff;
  border-radius: 10px;
  padding: 15px;
}

.box-sticker textarea {
  width: 270px;
  padding: 10px;
  min-height: 100px;
}

.btns-cont {
  display: flex;
  gap: 10px;
  margin-top: 48px;
  flex-wrap: wrap;
}

.cl {
  clear: both;
}

.fw-100 {
  font-weight: 100 !important;
}

.button-1 {
  border: solid 1px var(--theme-first-color);
  background-color:#fff;
  border-radius: 5px;
  line-height: 48px;
  text-align: center;
  display: inline-block;
  padding: 0 25px;
  text-decoration: none;
  color: var(--theme-first-color) !important;
  font-family: "Poppins";
  font-style: normal;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  text-decoration: none !important;
  cursor:pointer;
}
.box .button-1 {background-color:transparent;}

.button-1:hover,
.button-1.active {
  background: var(--theme-first-color);
  color: #fff !important;
}

.btns-cont .button-1 {
  margin: 0;
}

.button-3 {
  border: solid 1px #c3c3c3;
  background: white;
  border-radius: 5px;
  line-height: 40px;
  text-align: center;
  display: inline-block;
  padding: 0 25px;
  color: #767676;
  font-family: "Poppins";
  font-style: normal;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  text-decoration: none !important;
}

.button-3:hover,
.button-3.active {
  background: var(--theme-second-color);
  border-color: var(--theme-second-color);
  color: #fff;
}
.box-anchor .button-3 {opacity:0.3}
.box-anchor .button-3:hover{
  background: #e8e8e8;
  border-color:#e8e8e8;
  opacity:1;
}
.menu-mobile {
  position: absolute;
  width: 200px;
  top: 0;
  right: 0;
  background: red;
  display: none;
}

.menu-mobile-burger {
  display: none;
  position: absolute;
  width: 60px;
  height: 60px;
  top: 20px;
  right: 20px;
  text-align: center;
  line-height: 48px;
}

.menu-mobile-burger img {
  width: 100%;
}

.menu-popup {
  margin: 40px 0 0 0;
  padding: 0;
}

.menu-popup li {
  list-style-type: none;
  background: url("/images/jm-dot.svg") no-repeat 0 10px;
  background-size: 16px;
  padding-left: 30px;
  line-height: 32px;
  font-size: 18px;
  margin-bottom: 10px;
}

.menu-popup li a {
  color: #000;
  text-decoration: underline;
}

.menu-popup li a:hover {
  font-weight: bold;
  text-decoration: none;
}

.menu-popup li ul {
  margin: 20px 0 20px 0;
}

select,.select2-container--default .select2-selection--single{
  background-color: #fff;
  -webkit-box-shadow: inset 1px 2px 8px rgba(0, 0, 0, 0.0588942);
  box-shadow: inset 1px 2px 8px rgba(0, 0, 0, 0.0588942);
  border-radius: 4px;
  border: var(--basic-border);
  height: 46px;
  outline: none;
  padding-left: 12px;
  padding-right: 33px;
  background-image: url("https://app.eucto.cz/assets/select-arrow.svg");
  background-repeat: no-repeat;
  background-position: right;
  -moz-appearance: none;
  -webkit-appearance: none;
  font-weight: normal;
  font-size: 14px;
  line-height: 16px;
  text-overflow: ellipsis;
  min-width:80px;
  max-width:100%;
}

.select2-container--default .select2-selection--multiple  {
  background-color: #fff;
  -webkit-box-shadow: inset 1px 2px 8px rgba(0, 0, 0, 0.0588942);
  box-shadow: inset 1px 2px 8px rgba(0, 0, 0, 0.0588942);
  border-radius: 4px;
  border: var(--basic-border);
  min-height: 46px;
  outline: none;
  padding-top: 8px;
  padding-left: 12px;
  padding-right: 33px;

  background-repeat: no-repeat;
  background-position: right;
  -moz-appearance: none;
  -webkit-appearance: none;
  font-weight: normal;
  font-size: 14px;
  line-height: 16px;
  text-overflow: ellipsis;
  min-width:80px;
}

.select2-selection__arrow {
  display: none;
}

.select2-selection__rendered {
  margin-top: 7px;
}

.select2-results__options {
  width: calc(100% - 50px);
}

.dataTables_wrapper .dataTables_filter input {
  border: unset;
  border-radius: unset;
  padding: unset;
  background-color: unset;
  color: unset;
  margin-left: unset;
}

.custom-datatable-filter {
  display: none;
  margin: 10px 0 20px 0;
  text-align: right;
  background: #f6f7f9;
  padding: 12px 28px 2px 8px;
  position: relative;
  border-radius:10px;
}

.custom-datatable-filter-item {
  display: inline-flex;
  flex-direction: column;
  margin-inline: 16px;
  gap: 4px;
}

.custom-datatable-filter-item label {
  margin-right: 0;
  margin-left: 0;
  text-align: left;
}

.custom-datatable-filter-item input {
  width: auto;
}

.custom-datatable-filter label,
.dataTables_filter label {
  display: inline-block;
  margin: 0px;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
}

.custom-datatable-filter input,
.custom-datatable-filter select,
.dataTables_filter input[type="search"] {
  display: inline-block;
  min-width: 160px;
  margin-bottom: 10px;
}
.custom-datatable-filter input[type="date"]{
  min-width: 120px;
}

.contact-name-cell .contact-name {
  margin-bottom: 4px;
  display: inline-block;
}

.contact-name-cell .badges-cont {
  display: flex;
  gap: 8px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.client-pin-toggle {visibility: hidden;}
tr:hover .client-pin-toggle, .client-pin-toggle.active{visibility: visible;}
.contact-name-cell .badge.date {
  background-color: #53b4e5;
}
.client-pin-toggle::before{
  content:"Připnout";
  display:inline-block;
  position:absolute;

  top:-10px;
  left:10px;
  font-size:80%;

}
.client-pin-toggle.active::before{
  content:"Připnuto";
}
.client-pin-toggle {
  position:relative;
  display:inline-block;
  height:20px;
  width:60px;
  color:#000;
}
.client-pin-toggle:hover::before{
  text-decoration:underline;
}
.client-pin-toggle.active {
  color:#eeb146;
}

.close-btn-cont {
  float: right;
  width: 24px;
  height: 30px;
  display: inline-block;
  font-weight: 700;
  margin-top:-8px;
}

.close-btn-cont img {

  width:10px;
}

.settings-link img,
.trash-ico img {
  width: 15px;
}

.message-ok {
  color: #0ca60c;
  font-weight: bold;
}

.label {
  width: 30% !important;
  min-width: 250px;
}

.fc-list-item .iframe-popup {
  padding: 15px;
  display: block;
}

.menu-btn {
  position: relative;

  width: 30px;
  height: 30px;
}

.menu-btn span {
  width: 30px;
  height: 3px;
  background-color: #ffffff;
  position: absolute;
  left: 0;

}

.menu-btn .top-line,
.profile-link span .top-line {
  top: 2px;
}

.menu-btn .mid-line,
.profile-link .mid-line {
  top: 11px;
}

.menu-btn .bottom-line,
.profile-link .bottom-line {
  top: 20px;
}

.menu-btn {
  vertical-align: middle;
}

.mfp-iframe-holder .mfp-content {
  height: 90vh !important;
}

.popup-content {
  background-color: #fff;
  padding: 48px;
  text-align: left;
  max-width: 800px;
  width: 80%;
  margin: 40px auto;
  position: relative;
  border-radius: 12px;
}

.nav-title {
  
  color: #fff;
  position:absolute;
  top:20px;
  left:30px;
}

.date-past {
  opacity: 0.3;
}

.mfp-iframe .nav-title {
  display: none;
}

.menu-calendar-link {
  position: relative;
  width: 30px;


  display: inline-block;
}

/* CSS FOR CALENDAR APART FROM ONE IN SECTION "UCETNICTVI" */
.calendar-link {
  width: 100%;
  height: auto;
}

.tasks-after-deadline {
  color: white;
  font-weight: bold;
  position: absolute;
  top: -7px;
  right: -14px;
  padding: 2px;
  background: #d0021b;
  width: 23px;
  box-sizing: border-box;
  text-align: center;
  border-radius: 50%;
  font-size: 14px;
}

th {
  font-size: 13px;
  text-transform: uppercase;
  text-align: left;
  font-weight: 800;
  border-bottom: var(--basic-border);
  font-family: "Catamaran";
  padding-bottom: 6px !important;
}

.detail-box {
  padding: 0 20px 20px 20px;
  width: 100%;
}

.button-1 span.num {
  font-weight: 100 !important;
  font-family: "Open Sans";
}

.td-desc {
  font-size: 12px;
  margin-top: 3px;
}

.del-trash img {
  width: 15px;
}

.notification-box {
  background: #f2f5fb;
  border-radius: 10px;
  margin: 30px auto 10px auto;
  border: none;;
  position:relative;
  padding-left:40px;
  max-width: 858px;

}
.notification-box .notification-icon:before {
  content:" ";
  display:block;
  background-image: url("/images/icons/ok-icon.svg");
  background-position: center;
  background-size: contain;
  width: 30px;
  height: 30px;

  position: absolute;
  left: -10px;
  top: 50%;
  margin-top:-15px;
}
.notification-box.notification-error .notification-icon:before {
  background-image: url("/images/icons/error-icon.svg");

}
.notification-close {
  position:absolute;
  top:50%;
  margin-top:0px;
  width:30px;
  height:30px;
  right:20px;
  text-decoration:none;

}
.notification-close:before,
.notification-close:after {
  content:"";
  display:block;
  position:absolute;
  height:1px;
  background-color:#444;
  width:20px;
  top:0px;
  left:0px;
  transform: rotate(45deg);
}
.notification-close:after{
  transform: rotate(-45deg);
}
.notification-close:hover{
  opacity:1;
}

html.iframe .notification-box {margin: 0px 0 25px 0;}

#accounting_history .notification-box {
  margin-bottom: 20px;
}

.notification-head {
  padding: 12px;
  padding-right: 46px;
  position: relative;

}
.ur_group ul {
  list-style-type:none;
}
.ur_group>ul {
  padding-left: 0;
}




.notification-head p {
  font-weight: bold;
  font-size: 18px;
  line-height: 18px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding-left: 20px;
  color: #133c4c;
  font-family: "Nunito Sans", sans-serif;
}

.notification-more {
  display: none;
}

.notification-more.display {
  display: inline;
}

.notification-more,
.notification-more span {
  color: #f2994a;
  font-weight: normal;
  font-size: 12px;
  line-height: 16px;
  -webkit-text-decoration-line: underline;
  text-decoration-line: underline;
}

.notification-more+span {
  padding-left: 50px;
  font-weight: normal;
  font-size: 12px;
  line-height: 16px;
  display: none;
}

.notification-more+span a {
  color: #f2994a;
}

.notification-message-preview {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
  padding-right: 24px;
  font-size: 10px;
  font-weight: normal;
  line-height: 14px;
}

.box-inner {
  width: calc(var(--box-1-width) - var(--box-padding));
  width: 100%;
  /*overflow-x: auto;*/
  min-height:50px;
}

@media screen and (max-width: 550px) {

  header {
 
    padding: 0 20px;
    width:calc(100% - 40px);
}

  .nav-title {
    left: 20px;
  }
.time-elapsed {display:none!important}
body.tracking .record-view {        padding: 5px 5px 0 5px;}


  .popup-content {width:calc(100% - 40px); margin:0;}
  .mfp-iframe-holder {padding:0px!important;}

  .custom-datatable-filter-item {

    width: unset!important;;
}

  .boxes {
    margin-top: 0 !important;
  }

  .content-container {
    padding: 10px;
  }

  #menu .button-1 {
    margin-bottom: 10px;
  }

  .detail-box {
    padding: 0;
  }

  #facility-dialog,
  .popup-dialog {
    padding: 38px;
  }

  .mfp-container {
    width: 100% !important;
  }

  .nav-title h1>span {
    display: none !important;
  }

  /* td,
  th {
    display: block;
    width: 100%;
  } */

  tr {
    border-bottom: solid 3px #eaeaea;
  }

  .popup-content{
        padding: 40px 20px;
  }

  #facility-dialog,
  .popup-dialog {
    padding: 20px;
    width: unset!important;;
    position: relative;
    border-radius: unset;
    border: unset;
    box-shadow: unset;
  }

    html:not(.iframe) .content-container #facility-dialog,  html:not(.iframe) .content-container .popup-dialog  {
      padding: 10px;
    }

    .iframe #facility-dialog {
    width: unset!important;;
  }

}

@media screen and (max-width: 450px) {
  :root {
    --boxes-gap: 24px;
    --box-1-width: 100%;
    --box-padding: 20px;
  }

}

trix-editor [data-trix-mutable].attachment img,
figure img {
  max-width: 100%;
  height: auto;
}

figure[data-trix-content-type^="team_member_id"],
li[data-trix-attachment-content-type] {
  margin: 0;
  padding: 0px;
  margin-right: 20px;
  display: inline-block;
  border-bottom: 1px dashed var(--theme-second-color);
  line-height: 20px;
}

figure[data-trix-content-type^="team_member_id"]:before,
li[data-trix-attachment-content-type]:before {
  display: block;
  float: left;
  width: 20px;
  height: 20px;
  background-size: cover;
  border-radius: 50px;
  content: " ";
}

ul[role=listbox] {
  margin: 0;
  padding: 20px;
  list-style: none;
  background: #fff;
  border-radius: 12px;
  border: solid 1px #eee;
  box-shadow: 0 3px 11px #0000001a;
  display: inline-block;
}

ul[role=listbox] li {
  cursor: pointer;
}

.d-flex {
  display: flex;
}

.d-inline-block {
  display: inline-block !important;
}

.d-none {
  display: none !important;
}

.notif-label {
  width: 200px !important;
  display: inline-block !important;
}

.text-center {
  text-align: center;
}

.card-toggle {
  cursor: pointer;
  margin-right: 10px;
}

.card-active {
  background: var(--theme-first-color);
  color: white;
}

/* .box {
  width: 355px;
} */

.box-container.white table {
  background: #fff;
  border-radius: 10px;
}

.box-container .mini-title {
  display: block;
  font-weight: bold;
  font-family: "Martel";
}

.box-container .mini-value {
  display: block;
  margin-bottom: 10px;
  font-size: 40px;
  font-weight: 800;
  font-family: "Martel";
}

.box-container .mini-value.green {
  color: #0ca60c;
}

.box-container .mini-value.red {
  color: #cf3939;
}
/* 
.boxes>div:nth-child(3n) {
  margin-right: 25px;
} */

.box .single-value {
  font-size: 40px;
  font-family: "Martel";
  font-weight: 800;
}

.box-anchor {
  width: 355px;
  box-sizing: border-box;
  background: #fff;
  border-radius: 20px;
  padding-bottom: 0px;
  padding-right: 0px;
  border: dashed 6px #e8e8e8;
  display: flex;
  text-align: center;
  vertical-align: middle;
  justify-content: center;
  align-items: center;
  text-decoration: none;
}


.more-anchor {
  padding-left: 10px;
}

.box-sticker {
  background: blue;
  width: 300px;
  background: #fff;
  border-radius: 10px;
  padding: 15px;
}

.box-sticker textarea {
  width: 270px;
  padding: 10px;
  min-height: 100px;
}

.textarea-h-250 {
  height: 250px;
}

.pagination-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding-left: 15px;
}

.pagination {
  display: flex;
  padding-left: 0;
  list-style: none;
  border-radius: .25rem
}

.page-link {
  position: relative;
  display: block;
  padding: .5rem .75rem;
  margin-left: -1px;
  line-height: 1.25;
  color: var(--theme-first-color);
  background-color: #fff;
  border: 1px solid #dee2e6;
  text-decoration: none;
}

.page-link:hover {
  color: #0056b3;
  text-decoration: none;
  background-color: #e9ecef;
  border-color: #dee2e6
}

.page-link:focus {
  z-index: 2;
  outline: 0;
  box-shadow: 0 0 0 .2rem rgba(0, 123, 255, .25)
}

.page-link:not(:disabled):not(.disabled) {
  cursor: pointer
}

.page-item:first-child .page-link {
  margin-left: 0;
  border-top-left-radius: .25rem;
  border-bottom-left-radius: .25rem
}

.page-item:last-child .page-link {
  border-top-right-radius: .25rem;
  border-bottom-right-radius: .25rem
}

.page-item.active .page-link {
  z-index: 1;
  color: #fff;
  background-color: var(--theme-first-color);
  border-color: var(--theme-first-color)
}

.page-item.disabled .page-link {
  color: #6c757d;
  pointer-events: none;
  cursor: auto;
  background-color: #fff;
  border-color: #dee2e6
}

.pagination-lg .page-link {
  padding: .75rem 1.5rem;
  font-size: 1.25rem;
  line-height: 1.5
}

.pagination-lg .page-item:first-child .page-link {
  border-top-left-radius: .3rem;
  border-bottom-left-radius: .3rem
}

.pagination-lg .page-item:last-child .page-link {
  border-top-right-radius: .3rem;
  border-bottom-right-radius: .3rem
}

.pagination-sm .page-link {
  padding: .25rem .5rem;
  font-size: .875rem;
  line-height: 1.5
}

.pagination-sm .page-item:first-child .page-link {
  border-top-left-radius: .2rem;
  border-bottom-left-radius: .2rem
}

.pagination-sm .page-item:last-child .page-link {
  border-top-right-radius: .2rem;
  border-bottom-right-radius: .2rem
}

.table-sort {
  display: block;
  color: var(--theme-first-color);
  text-decoration: none;
  position: relative;
  cursor:pointer;
  white-space:nowrap;
}

.table-sort span {
  position: absolute;
  font-size: 10px;
  padding-left: 8px;
  opacity: 0.2
}

.table-sort.asc,
.table-sort.desc {
  opacity: 1;
}

.table-sort span.up {
  top: -2px;
}

.table-sort span.down {
  bottom: -2px;
}

.table-sort.asc span.up,
.table-sort.desc span.down {
  opacity: 0.8
}

.table-sort.asc:hover span.down,
.table-sort:not(.asc):hover span.up {
  opacity: 1;
}

.table-sort.asc:hover span.up,
.table-sort:not(.asc):hover span.down {
  opacity: 0.2;
}

.curve-chart {
  width: 100%;
  height: 500px;
  border-radius: 10px;
}

.todo-box-kanban { display: flex;
  gap: 10px;
  overflow:auto;
}

.todo-box-kanban .todo-box {
  min-width: 300px;
  padding: 5px;
  outline: 1px solid   #eaeaea;
  outline-offset: 5px;
  margin: 0px;
}

.ui-sortable.todos-list:empty{
  padding-top:20px;
  padding-bottom:20px;
  margin-top: -40px;
}

.other-criteria-cont .item {
  display: none;
}

.other-criteria-cont .item.active {
  display: block;
}

.add-rule-form .form-flex-item {
  display: flex;
  gap: 8px;
  max-width: 500px;
  width: 100%;
}

.form-item-half-wide {
  width: calc(50% - 4px);
}

.form-item-half-wide * {
  box-sizing: border-box;
}

.add-rule-form .switcher-cont {
  display: flex;
  gap: 8px;
  align-items: center;
  position: relative;
}

.item-with-close-btn {
  display: flex;
  gap: 16px;
  align-items: center;
}

.item-with-close-btn .close-btn-cont a {
  position: static;
  line-height: unset;
}

.item-with-close-btn .inner-cont {
  max-width: 500px;
  width: 100%;
}

#other_criteria option.hide {
  display: none;
}

.item:has(#other_criteria).hide {
  display: none;
}

.task-text-icon-cont {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
}

.todos .task-text-icon-cont {
  line-height: 25px;
}

.todos .icons-cont {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-basis: 100%;
  min-width: 48%;
}

.todos .task-text-icon-cont div:first-child {
  flex-shrink: 0;
}

.table.folder-table {
  border-collapse: collapse;
}

.table.folder-table td {
  min-width: 170px;
  padding: 8px 12px;
}

.table.folder-table td.folder a {
  display: flex;
  gap: 12px;
  align-items: center;
}

.table.folder-table td.folder {
  padding: 0;
}

.folder-table td.folder a {
  text-decoration: none;
  color: var(--body-text-color);
  font-weight: 600;
  padding: 8px 12px;
}

.folder-table td.folder a *:first-child {
  min-width: 28px;
}

.folder-table .settings-link {
  margin-right: 12px;
}

.title.task-title input[type="checkbox"] {
  width: 1px;
  height: 1px;
  opacity: .01;
  position: absolute;
}

.title.task-title input[type="checkbox"] + label::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 1px solid #2b2b2b;
  background-color: #fff;
  border-radius: 5px;
  margin-right: 8px;
}

.title.task-title input[type="checkbox"]:checked + label::before {
  background-image: url(/images/icons/check-white.svg);
  background-color: var(--theme-first-color);
}

.title.task-title input[type="checkbox"] + label:hover::before {
  cursor: pointer;
}

.loader {
  width: 120px;
  height: 22px;
  border-radius: 40px;
  color: var(--theme-first-color);;
  border: 2px solid;
  position: relative;
  }
  .loader::before {
  content: "";
  position: absolute;
  margin: 2px;
  width: 25%;
  top: 0;
  bottom: 0;
  left: 0;
  border-radius: inherit;
  background: currentColor;
  animation: l3 10s infinite linear;
  }
  @keyframes l3 {
      50% {left:100%;transform: translateX(calc(-100% - 4px))}
  }

.active-file{
  background-color: #8383831f;
}

.private-file{
  background-color: #f2994a36;
}

.private-folder{
  background-color: #f2994a36;
}

.nav-more-dots {
  display: inline-block;
  width: 35px;
  height: 35px;
  text-align: center;
  line-height: 35px;
  margin-right: 12px;
  /*border: 1px solid white;
  */
  border-radius: 50%;
  font-weight: bold;
  letter-spacing: 2px;
  transition-delay: .5s;
  transition: .1s;
  cursor: pointer;
  position: relative;
  z-index: 1000;
}

.nav-more-btn.active .nav-more-dots,.nav-more-btn:hover .nav-more-dots {
  background-color: white;
  color: var(--theme-first-color);
}

.nav-more-btn.active .nav-more-dots::before {
  content: "";
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  z-index: 999;
  background-color: rgba(0, 0, 0, 0.36);
}

.nav-more-btn {
  position: relative;
}

.nav-more-content {
  background-color: white;
  padding: 18px 24px;
  border-radius: 12px;
  border: solid 1px white;
  box-shadow: 0 3px 11px #0000001a;
  color: var(--body-text-color);
  position: absolute;
  top: 115%;
  left: 0;
  width: 300px; 
  display: none;
  transition: .1s;
  transition-delay: .5s;
}

.nav-title .nav-more-1,.nav-title .nav-more-2, .nav-title .nav-more-0 {display:none!important;}

.nav-more-content a {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-more-btn.active .nav-more-content {
  display: block;
  z-index: 1001;
}
.nav-more-btn ul a:hover {font-weight:normal!important}

.iframe #facility-dialog .nav-more-btn {
  float: left;
}

.iframe #facility-dialog .nav-more-btn.active .nav-more-dots,.iframe #facility-dialog .nav-more-btn:hover .nav-more-dots {
  background-color: var(--theme-first-color);
  color: white;
}

.iframe #facility-dialog span.title-shadow::after {
  content: "";
  width: 1px;
  height: 1px;
  display: block;
  clear: both;
}

.folder-acces-inherited{
  background-color: #7ff24a36;
}

.nav-title .nav-more-btn .nav-more-content li:last-child {
 display:none;
}

.star-radio {position:absolute; width:1px; height:1px;  opacity: 0.01; padding: 0; margin: 0;}
.star-radio+label:before{content:"☆";display:inline-block;color:gray}
.star-radio+label {width:24px; height:24px; display:inline-block; ;text-align:center; font-size:24px;cursor:pointer;}
 .star-radio:checked+label:before,
.star-radio.active+label:before{
 content:"★";color:#eeb146}

.subtasks-types {
  background-color: #e5e5e5;
}

.ares-close {
  width: 44px;
  height: 44px;
  line-height: 44px;
  position: absolute;
  right: 0;
  top: 0;
  text-decoration: none;
  text-align: center;
  opacity: .65;
  padding: 0 0 18px 10px;
  font-style: normal;
  font-size: 28px;
  font-family: Arial, Baskerville, monospace;
  cursor: pointer;
}

.ares-search-content{
  position:fixed;
  top:0;
  left:0;
  right:0;
  bottom:0;
  background: #000000aa;
  backdrop-filter: blur(3px);
  overflow:auto;

}

.help-mode {
  background: #f2f5fb;
  border-radius: 20px;
  padding: var(--box-padding);
  margin-bottom: 40px;
  color: var(--theme-first-color);
  font-size: 18px;
  font-weight: 100;
  line-height: 28px;
}

.detailed-view-td--status {
  width: 40px;
}

.table-td-name-1 {min-width: 400px;}
@media screen and (min-width: 100px) {

  .detailed-view-td--calc_width {
      max-width: calc((100vw - 600px) / 2);
  }
}
.detailed-view-td--calc_width {
  min-width: 200px;
}
.detailed-view-td--other {
  min-width: 100px;
}
.detailed-view-table {
  overflow-wrap: break-word;
}

 pre,xmp {white-space: pre-wrap;}

.param-text {
  width: calc(100% - 210px);
  display: inline-block;
}

.project-settings-registration__remove-logo {
  position: absolute;
  top: 2px;
  right: 2px;
  cursor: pointer;
  background: url("/images/icons/icons8-trash.svg") white;
  width: 24px;
  height: 24px;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: 15px;
  border: solid 1px black;
  border-radius: 5px;
}
.client-registration, .co-worker-registration {
  display: flex;
  align-items: center;
  gap: 30px;
}
.project-settings-registration-switch-item {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 10px 0;
}

.open-in-new-window img,
.scan-qr-code img {
  height: 1.25em;
  opacity: 0.5;
}

.file-drag-drop-area {
  border: 3px dashed #e5e5e5;
  border-radius: 10px;
  padding: 20px;
  min-height: 80px;
  max-width: 475px;
  min-width: 280px;
  font-weight: unset !important;
  font-size: unset !important;
  cursor: pointer;
  overflow: hidden;
  text-overflow: ellipsis;
}
.file-drag-drop-area:hover, 
.file-drag-drop-area.hover {
  background-color: #f9f9f9;
}
.file-drag-drop input[type='file'] {
  display: none;
}
body.public {max-width:1000px; margin:auto}
.public-logo { height: 70px; margin: 15px 5% 20px 0; float:right}
.iframe .public-logo {display:none;}

.ui-datepicker .ui-state-active {
  background: var(--theme-third-color);
  color: white;
  border: 1px solid var(--theme-third-color);
}
.ui-datepicker .ui-state-active:hover {
  background: var(--theme-first-color);
  border: 1px solid var(--theme-first-color);
  color: white;
}

.ui-datepicker-header {
  background: #f6f7f9;
  margin-bottom: 12px;
}

.ui-datepicker th {
  text-align: center !important;
}

.form-element-dev {
  margin: 2px 0;
  display: none;
}

.hidden {
  display: none;
}

.qr-container {float:right; text-align:center}
.qr-container svg {
  width: 200px;
  height: 200px;
}

@media screen and (max-width: 770px) {
 html.iframe .qr-container{
    float:none;
    text-align:left;
    margin:0 auto;
    padding:0 0px 20px 0;
  }

}

@media screen and (max-width: 920px) {
  html:not(.iframe) .qr-container{
     float:none;
     text-align:left;
     margin:0 auto;
     padding:0 0 20px 0;
   }
 
 }


.emailing-status-1 {width: 12px; height: 12px; margin-left: 5px; position: relative; background: url(/images/check-green.svg); background-size: contain; font-size: 13px; display: inline-block; top: 2px; opacity: 0.4;}
.table.emails .error-icon {    width: 18px;
    padding-right: 8px;
  }

  .search-label {
    background: #bfefff; border-radius: 14px; padding: 3px 12px; text-transform:none;max-width: 150px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

.search-more{
  border-top: solid 1px #e8e8e8; margin: 10px 0 15px 0;padding-top: 16px;
}

.toggle-more {
  color: gray; font-size: 16px;margin-bottom:16px; display:inline-block;
}