:root{
  --main-bg-color: white;
  --navbar-color: white;
  --sidebar-color: white;

  --sidebar-category-dropdown-bg-color: whitesmoke;
  --sidebar-category-dropdown-border: 1px solid #e4e4e4;

  --taskview-container-bg-color: rgb(255, 255, 255, 1);

  --activity-description-bg-color: #f9f9f9;
  --activity-description-shadow: rgb(0 0 0 / 14%) 2px 2px 10px 0px;

  --chat-detail-container-bg-color: rgb(234, 234, 234);
}

.list-item-row-2{
  overflow-y: hidden;
}

.task_view_header > div:nth-child(2) {
  /* overflow-x: hidden; */
}

.subtask_row > div:nth-child(2) {
  cursor: pointer;
  text-overflow: ellipsis;
  max-width: 99%;
  white-space: nowrap;
  overflow: hidden;
}

.table.form-input-element.uk-input {
    height: auto;
    position: relative;
    margin-bottom: 75px;
}

.mini-btn.hide-during-print.duplicate-row-button {
    position: absolute;
    bottom: -75px;
    left: 0px;
    right: 0px;
    width: 100%;
    height: auto;
    padding-bottom: 0px;
}


.next-stages-container{
  position: relative;
  /* border-left: 1px solid black; */
}

.node-wrapper{
  position: relative;
}

.branch{
  position: absolute;
  top: -5px;
  left: 20px;
  border-left: 1px solid #939393;
  /* border-bottom: 1px solid #939393; */
  height: 100%;
  width: 20px;
}

.stage-node{
  /* position: absolute;
  top:50px; */
  margin: 5px 10px;
  padding: 5px 10px;
  background: #fbe200;
  border: 1px solid #d7d700;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: fit-content;
  border-radius: 3px;
  font-size: 0.75rem;
  cursor: pointer;
  flex-direction: column;
}

.end-node{
  border:5px solid black;
}

.collapse{
  display:none;
}


newline{
  display: block;
}

mention{
  color: #00c4ff;
}

html {
 scroll-behavior: smooth;
}

/* App Container */
.app-container{
  background-color: var(--main-bg-color);
}

/* App Navbar */
.app-container .app-navbar{
  background-color: var(--navbar-color);
}

/* App Sidebar */
.app-container .side-bar-light{
  background-color: var(--sidebar-color);
}

/* App Sidebar Category Dropdown */
.app-container .sidebar-category-dropdown{
  background: var(--sidebar-category-dropdown-bg-color);
  border: var(--sidebar-category-dropdown-border);
}

/* Task View Container */
.app-container .task_view_container{
  background-color: var(--taskview-container-bg-color);
}

.chat_detail_container{
  background-color: var(--chat-detail-container-bg-color);
}


/*************  THEMES **************/



/* The Dim UI Theme */
.app-container[data-theme="dim"]{
  --main-bg-color: gray;
}

/* The Dark UI Theme */
.app-container[data-theme="dark"]{
  --main-bg-color: black;
}


.moveUp{
	transform: translateY(-50px);
}
.moveDown{
	transform: translateY(50px);
}

.task-update-btn{
  box-shadow: rgb(0 0 0 / 26%) 4px 4px 10px 2px;
  transition: 0.1s ease-in;
}

.task-update-btn:active{
  box-shadow: rgb(0 0 0 / 7%) 3px 2px 7px 2px;
}

.uk-background-default {
    background-color: #fff0;
}

.first_column{
  overflow-x: hidden;
  border-right: 1px solid #cccccc;
  display: flex;
  flex-direction: column;
  overflow-y: hidden;
  background: whitesmoke;
}

.first_column_scrollable{
  overflow-y: auto;
}

.second_column{
  overflow-x: hidden;
  overflow-y: hidden;
  display: grid;
  grid-template-rows: auto 1fr;
  background: white;
}

.back-button{
  background-color: transparent;
  border-radius: 50%;
  place-self: center start;
  place-items: center;
  font-size: 0.65rem;
  line-height: 32px;
  font-weight: normal !important;
  padding: 0px 7px;
  fill: green;
  transition: 0.25s linear;
}

.back-button:hover {
    background-color: rgb(210 210 210);
}

.back-button > svg > path {
  background-color: rgb(232 232 232);
  fill: rgb(181 181 181);
}

.back-button:hover > svg > path {
  fill: rgb(95 95 95);
}

.task-title, .tab-bar{
  padding: 10px 5px 5px;
  color: rgb(51, 51, 51);
  background: rgb(255, 255, 255, 0.88);
  height: 35px;
  margin: 0px;
  margin-top: 5px;
  margin-left: 10px;
  margin-right: 10px;
  border-radius: 4px;
  border: 1px solid #d0d0d0;
  z-index: 0;
}

.priority-label{
  display:flex;
  column-gap:3px;
  font-size: 0.65rem;
  color: rgb(255 255 255);
  align-self: center;
  margin-right: 20px;
  padding: 5px 10px;
  border-radius: 3px;
  width: fit-content !important;
  min-width: 30px;
}

.high-priority{
  background-color: #f58008;
}

.medium-priority{
  background-color: #08b4f5;
}

.low-priority{
  background-color: #4caf50;
}

.right-panel-header{
  padding: 5px 10px;
  margin-left: 10px;
  margin-right: 10px;
  background: #f5f5f5;
  display: flex !important;
  align-items: center;
  min-height: 25px;
}

.right-panel-header > a{
  padding: 5px;
  background: #f3f3f3;
  letter-spacing: 0.025rem;
  margin-left: auto;
  color: #5f5f5f;
}

.uk-switcher-component{
    margin-top:20px;
}

.uk-subnav-pill>*>a {
  font-size: .55rem!important;
  border-radius: 2px;
  letter-spacing: 0.075rem;
}

.right-panel-list{
    margin: 10px 20px;
}

.right-panel-list > ul >li{
    margin-top: 5px;
    list-style: none;
}


.complete_task_btn{
  cursor: pointer;
  padding: 2px 10px !important;
  color: white !important;
  border: 1px solid rgb(240, 80, 110);
  background-color: rgb(240, 80, 110);
  border-radius: 3px;
  place-self: center;
  place-items: center;
  min-width: 100px;
  font-size: 0.65rem;
  font-weight: normal !important;
}

.task-communication {
  font-size: 0.75rem;
  font-weight: 300;
  line-height: 1.25rem;
  color: black;
}

.uk-placeholder {
  margin-bottom: 20px;
  padding: 30px 30px;
  background: 0 0;
  border: 1px solid #e5e5e5;
  background: white;
}

.ui-form > div{
  margin-top:20px;
}

.mini-btn{
  padding:5px 10px;
  border: 1px solid #cecece;
  border-radius: 3px;
  transition:0.1s linear;
}

.mini-btn:hover{
  border: 1px solid #4caf50;
  color: #4caf50;
  cursor: pointer;
}

.mini-btn:active {
    cursor: pointer;
    transform: scale(0.95);
}

.collapse-btn{
  height: auto;
  margin: 20px;
  padding: 5px 10px;
  border: 1px solid #e5e5e5;
  border-radius: 3px;
  cursor: pointer;place-self: center;
  width: 25%;
  justify-content: center;display: flex;margin: auto;
  text-transform: uppercase;
  font-size: 0.55rem;
  background: transparent;
  transition:0.2s linear;
}

.collapse-btn:hover{
  border: 1px solid #333;
  color: #333;
  cursor: pointer;
}

.collapse-btn:active {
    cursor: pointer;
    transform: scale(0.95);
}


/* Custom scrollbar style - To be moved to style.css */
.custom-scroll-bar::-webkit-scrollbar {
    width: 10px;
    background-color: transparent;
    scroll-behavior: smooth;
    cursor: pointer;
}

.custom-scroll-bar::-webkit-scrollbar {
    width: 5px;
    background-color: transparent;
}

.custom-scroll-bar[data-v-6459955c]::-webkit-scrollbar-thumb {
    background-color: #a8a8a8;
    background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, .2) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .2) 50%, rgba(255, 255, 255, .2) 75%, transparent 75%, transparent);
}

.custom-scroll-bar[data-v-6459955c]::-webkit-scrollbar-track {
    /* -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3); */
    background-color: #f3f3f3;
}

.data-unavailable{
  display: grid;
  place-items: center;
  height: 50px;
  color: #bbbbbb;
}


.chips-list{
  display: flex;
  column-gap: 10px;
  min-height: 50px;
}

.chips-item{
    background: #03a9f4;
    color: white;
    padding: 3px 10px;
    border-radius: 3px;
    transition:0.1s linear;
    display:flex;
    column-gap:5px;
    height: fit-content;
    cursor: default;
}

.chips-item > .delete{
    opacity:0;
    color:white;
    cursor:pointer;
}

.chips-item:hover > .delete{
    opacity:1
}


.task_event {
  padding-left: 5px !important;
  padding-right: 5px !important;
}


.normal_event{
  background: #03a9f4 !important;
  border: 1px solid #03a9f4 !important;
  color: white;
  font-family: 'Nunito';
  font-size: 0.55rem;
}


.duedate_elapsed_event{
  color: white;
  background: #f91368 !important;
  border: 1px solid #f91368 !important;
  font-family: 'Nunito';
  font-size: 0.55rem;
}

.startdate_elapsed_event{
    background: #4caf50 !important;
    border: 1px solid #4caf50 !important;
    color: white;
    font-family: 'Nunito';
    font-size: 0.55rem;
}

.fc .fc-button-primary {
  background-color: #2196f3 !important;
  border-color: #058af5 !important;
}

.normal_event .fc-daygrid-event-dot,
.duedate_elapsed_event .fc-daygrid-event-dot{
  display: none;
}

.startdate_elapsed_event .fc-daygrid-event-dot{
  display: none;
}


.task-search-input{
  background: #fbfbfb66 !important;
}

.task-search-input:focus, .task-search-input:active{
  background: #fff !important;
}

/* Task Activity Component styles */

.activities_list{
  padding-top: 20px;
  box-sizing: border-box;
}

.activity_box{
  display: flex;
  column-gap: 30px;
  width: fit-content;
  grid-template-columns: 1px 1fr;
  margin: 0px 15px 0px 10px;
  opacity:1;
  transition:0.25s linear;
}

.activity_box.fade_reveal{
  opacity: 0;
}

.activity_box:hover .replyToTrigger{
  /* Commented because, now we added whatsapp like context menu for every activity item. */
  /* display:flex !important; */
}

.activity_description{
  position: relative;
  padding: 0px 10px;
  margin-bottom: 0px;
  display: flex;
  align-items: flex-start;
  border: 0px solid #cacaca;
  border-radius: 5px;
  background-color: var(--activity-description-bg-color);
  margin-bottom: 5px;
  width: fit-content;
}

.activity_description::after{
  content: ' ';
  position: absolute;
  width: 0;
  height: 0;
  left: -10px;
  right: auto;
  top: 0px;
  bottom: auto;
  border: 22px solid;
  border-color: #fff transparent transparent transparent;
  z-index: -1;
}


.activity_description::before{
    content:'';
}

.activity_description>div{
  margin-bottom:0px;
}

.activity_description::beforeX{
  content: "";
  top: 25px;
  left: -39px;
  height: 15px;
  width: 15px;
  background-color: #0277fe;
  border-radius: 15px;
  position: absolute;
}

.activity_description .hide_activity_detail{
  display:none !important;
}

.activity_detail_trigger{
  transition: .25s linear;
  transform-origin: center center;
  transform-box: fill-box;
}

.activity_detail_trigger:hover, .activity_detail_trigger:active,{
  background-color:#e6e6e6;
}

.flip_vertically > svg{
  transform: rotateX(180deg);
}

.activity-sno{
  top: 0px;
  left: -40px;
  height: 20px;
  width: 20px;
  display: flex;
  text-align: center;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  position: absolute;
  color: #ffffff;
  background: #5db9fd;
  font-size: .45rem;
}

.openActivityDetailTrigger{
  user-select: none;
  position: absolute;
  right: -5px;
  top: auto;
  bottom: auto;
  padding: 5px;
  background: #f9f9f9;
  height: 15px;
  border-radius: 5px;
  display: none;
  transition:0.15s linear;
}

.openActivityDetailTrigger:active{
  transform:scale(0.95);
  opacity: 0.75;
  background-color: "#f0f0f0";
}

.openActivityDetailTrigger:hover{
  background: #e4e4e4;
}

.activity-user-name {
  font-weight: 400;
  color: #2579FF
}

.task-activity-body {
  width: 96% !important;
  margin-left:-5px;
  cursor:pointer;
  user-select:none;
  font-weight: normal;
  position: relative;
  min-height: 35px;
  justify-content:flex-start;
  align-items: center;
}

.activity_box:hover .openActivityDetailTrigger{
  /* Commented on may 14. Instead of the dropdown arrow, we are making the activity-box title itself as clickable to open/hide the details */
  display:block !important;
}

.activity_reply{
  background: #ffffff;
  position: relative;
  margin: 15px 0px;
  box-sizing: border-box;
  border: 0.5px solid #C6CEDD;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 10px;
  border-radius: 5px;
  width: 50%;
}

.replies {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  justify-content: flex-start;
  align-items: flex-start;
  padding-left: 50px;
  margin-top: -5px;
  box-sizing: border-box;
}

.reply_tree_branch{
  position: absolute;
  left: -21px;
  top: -17px;
  min-height: 36px;
  border-left: 1px solid #cecece;
  border-bottom: 1px solid #cecece;
  border-bottom-left-radius: 17px;
  min-width: 20px;
  z-index: 0;
}


.reply_tree_trunk{
  position: absolute;
  left: 30px;
  top: 0px;
  height: calc(100% - 108px);
  border-left: 1px solid #d2d2d2;
  min-width: 20px;
  z-index: 0;
}

/*
.activity_item_context_menu.opened,
.channel_activity_item_context_menu.opened,
.chat_conversations_context_menu.opened,
.chat_msg_item_context_menu.opened{
  opacity: 1 !important;
  transform: scale(1) !important;
} */


.chat_conversations_context_menu{
  z-index: 1000;
}

.activity_item_context_menu,
.channel_activity_item_context_menu,
.chat_msg_item_context_menu{
  transform-origin: left top;
  opacity: 0;
  transform: scale(0);
  position: absolute;
  border-radius: 5px;
  height: 200px;
  width: 200px;
  background-color: white;
  /*box-shadow: rgb(0 0 0 / 31%) 5px 7px 10px 0px;*/
  z-index: 1000;
  transition: 0.075s linear;

  border-radius: 3px;
  box-shadow: 0 2px 5px 0 rgb(0 0 0 / 26%), 0 2px 10px 0 rgb(0 0 0 / 16%);
}

.activity_item_context_menu > ul, .channel_activity_item_context_menu > ul, .chat_msg_item_context_menu > ul{
  list-style-type: none;
  padding: 5px 0px;
  font-size: 0.75rem;
}

.activity_item_context_menu_action, .chat_msg_item_context_menu_action{
  padding: 7px 15px;
  box-sizing: border-box;
  display: flex;
  column-gap: 5px;
  align-items: center;
  justify-content: flex-start;
  border-radius: 0px;
  user-select: none;
}

.activity_item_context_menu_action:hover, .chat_msg_item_context_menu_action:hover{
  background-color:#f7f7f7;
  cursor:pointer;
}

.hide_display{
  display:none;
}

.fc .fc-button-primary:not(:disabled):active:focus, .fc .fc-button-primary:not(:disabled).fc-button-active:focus {
  box-shadow: none !important;
}

.fc .fc-button-primary:focus {
    box-shadow: none !important;
}

.trigger-icon>svg{
  pointer-events:none;
}

/* Checklists Tab style begins here */

.checklist_item{
  padding: 10px;
  display: flex;
  border-bottom: 1px solid rgba(208, 208, 208, 0.17);
  column-gap: 20px;
  margin-right: 15px;
  margin-left: 15px;
  transition: 0.25s linear;
  line-height: 28px;
}

.checklist_item:hover{
  background-color: #eaeaea6b;
}


.checked_checkbox_small{
  min-width: 0.65rem;
  background: rgb(187 187 187);
  border: 1px solid rgb(160 160 160);
  width: 0.65rem;
  height: 0.65rem;
  display: inline-flex;
  cursor: pointer;
  border-radius: 2px;
}

.unchecked_checkbox_small{
  min-width: 0.65rem;
  border: 1px solid rgb(160 160 160);
  height: 0.65rem;
  width: 0.65rem;
  display: grid;
  cursor: pointer;
  border-radius: 2px;
}

/* Checklists Tab style ends here */

.clickable-btn {
  position: relative;
  overflow: hidden;
}

.clickable-btn .ripple {
    position: absolute;
    border-radius: 50%;
    /* To make it round */
    background-color: rgba(0, 0, 0, 0.3);

    width: 100px;
    height: 100px;
    margin-top: -50px;
    /* for positioning */
    margin-left: -50px;

    animation: ripple 1s;
    opacity: 0;
}

/* Add animation */
@keyframes ripple {
    from {
        opacity: 1;
        transform: scale(0);
    }

    to {
        opacity: 0;
        transform: scale(10);
    }
}

.pingpong{
  position: absolute;
  height: 100px;
  width: 100px;
  border-radius: 50%;
  background: red;
  z-index: 100;
  animation: pingpong-animation 1s;
  animation-duration: 2s;
  animation-name: pingpong-animation;
  animation-iteration-count: infinite;
  animation-direction: alternate-reverse;
}

@keyframes pingpong-animation{
  0%   {top: 0px;}
  100%  {top: 500px;}
}

.contextMenuTrigger > svg{
  pointer-events:none;
}


.back-button {
  background-color: transparent;
  border-radius: 50%;
  place-self: center flex-start;
  place-items: center;
  font-size: 0.65rem;
  line-height: 32px;
  font-weight: normal !important;
  padding: 0px 7px;
  fill: green;
  transition: 0.25s linear;
}

.back-button:hover {
  background-color: rgb(210 210 210);
}

.back-button > svg > path {
  background-color: rgb(232 232 232);
  fill: rgb(181 181 181);
}

.back-button:hover > svg > path {
  fill: rgb(95 95 95);
}



.modal-back-button {
    background-color: hsl(0deg 0% 100% / 0%);
    border-radius: 50%;
    place-self: center flex-start;
    place-items: center;
    font-size: .65rem;
    height: 40px;
    width: 40px;
    font-weight: 400!important;
    padding: 0 7px;
    fill: #0de60d;
    color: rgb(255 255 255);
    transition: .25s linear;
}

.modal-back-button>svg>path{
    background-color: rgb(232 232 232);
    fill: rgb(101 101 101);
}



.side-bar-light .uk-nav-sub>li.selected-menu>a {
    color: #333!important;
    font-weight: bold!important;
    font-size: .7rem;
}

.hide_reveal{
  opacity: 0;
}


/* Context Menu Classes */

    .context-menu{
      position: fixed;
      opacity:0;
      transition:0.10s ease-out;
      transform-origin:top left;
      transform:scale(0);
      pointer-events:none;
      width: 200px;
      max-height: 150px;
      font-size: 0.8rem;
      padding: 9px 0px;
      z-index: 10;
      background: white;
      box-shadow: rgba(0, 0, 0, 0.26) 0px 2px 5px 0px, rgba(0, 0, 0, 0.16) 0px 2px 10px 0px;
      box-shadow: rgb(0 0 0 / 0%) 0px 2px 5px 0px, rgb(0 0 0 / 13%) 0px 2px 10px 0px;
      border-radius: 3px;
      border: 1px solid #e0e0e0;
    }

    .context-menu.is-open{
      opacity:1;
      transform:scale(1);
      pointer-events:all;
    }

    .context-menu div div{
      cursor:pointer;
      padding:5px 15px !important;
    }

    .context-menu div div:hover{
      background-color:#ececec;
      padding:5px 15px !important;
    }



    .contextMenuTrigger{
      border-radius: 50%;
      padding: 3px;
      cursor: pointer;
      line-height: 0;
      /* transform: scale(1) translateY(-10px); */
      opacity: 0;
      user-select:none;
    }

    .contextMenuTrigger:hover{
      background: #e4e4e4;
      transition:0.15s linear;
      /* transform: scale(1) translateY(0px); */
      /* transform: scale(0.9) rotate(0deg); */
    }

    .contextMenuTrigger:active{
      background: #e4e4e4;
      transform:scale(0.75);
    }

    .contextMenuTrigger > svg{
      pointer-events:none;
    }

    .task_item .category_row{
      pointer-events:none;
    }

    .task_item:hover .contextMenuTrigger {
      opacity: 1;
      transform: scale(1) translateY(0px);
    }

    .ctx-menu-trigger:hover {
        cursor: pointer;
        background-color: #e0e0e085;
    }

    .ctx-menu-trigger:active {
        cursor: pointer;
        background-color: #d0d0d085;
        transform: scale(0.75) !important;
    }
/* Ends here */

.uk-button {
  font-weight: 300;
  text-transform: none;
  border-radius: 4px;
  padding: 0px 18px;
}

.uk-button-primary {
  font-weight: 300;
  background: #176CFF;
}
