/*Write your custom css in this file.*/

/*
* Grey - #4d4d4f
* Dark Grey - #3e3e3f
* Orange - #f2af3d
* Dark Orange - #cc6328
*/

/**************************
* Body
***************************/
html,
body {
  color: #3e3e3f;
}

/**************************
* Button
***************************/
.btn-primary {
  background-color: #f2af3d;
}
.btn-primary:hover,
.btn-primary:focus {
  background-color: #cc6328;
}
.hide{
  display: none;
}

.show{
  display: block;
}

/**************************
* Sidebar
***************************/
#sidebar {
  background: #3e3e3f;
}
#sidebar-menu li a {
  color: #ffffff;
}
#sidebar-menu > li.active > a {
  background: rgba(0,0,0,.35);
  border-color: #f2af3d;
}
#sidebar-menu li:hover,
#sidebar-menu > li > ul > li:hover > a {
  background: transparent;
}
#sidebar-menu li a:hover,
#sidebar-menu > li > ul > li > a:hover {
  color: #ffffff;

  background: rgba(0,0,0,.35);
}

#sidebar-menu li ul > li > a {
  color: rgba(255,255,255,.65);

  background: rgba(0,0,0,.35);
}

/**************************
* Loader
***************************/
.app-loader .loading,
.table-loader .loading {
  border-color: #f2af3d;
  border-top-color: #ffffff;
}

.circle-loader {
  border-top-color: #f2af3d;
}

/**************************
* Nav Tabs
***************************/
.nav-tabs > li > a:hover {
  color: #cc6328;
}
.nav-tabs > li.active > a,
.nav-tabs > li.active > a:active,
.nav-tabs > li.active > a:hover,
.nav-tabs > li.active > a:focus {
  color: #cc6328;

  border-bottom: 2px solid #f2af3d;
}
.nav-tabs > li:not(.title-tab):after {
  background-color: #f2af3d;
}

/**************************
* Events
***************************/
.fc-agendaWeek-view .img-circle {
  width: 30%;
  margin-right: 15px;
}

.fc-month-view .fc-event-container .img-circle {
  width: 15% !important;
}

.user_filter,
.team_filter {
  min-width: 200px;
}

.select2-container-disabled.user_filter,
.select2-container-disabled.team_filter {
  opacity: .5;
}

#event-calendar .fc-content {
  display: flex;
  flex-flow: row-reverse;
  align-items: center;
  justify-content: left;

  white-space: normal !important;
}

#event-calendar .fc-content .event-project {
  background-color: #ddd;
  padding: 6px;
}
/* #event-calendar .fc-content .fc-title {
  flex-basis: 70%;
}
#event-calendar .fc-content .event-task-assignee {
  display: inline-block;
  margin-left: auto;
  width: 32px;
} */

.event-task {
  color: #000000 !important;
}

.event-collaborator {
  opacity: .5;
}

/**************************
* Panel
***************************/
.panel-orange {
  color: #ffffff;

  background-color: #f2af3d;
}
.panel-orange .btn {
  color: #f2af3d;
}

/**************************
* Gantt Chart
***************************/
div.ganttview-block-text a {
  display: none;
}

/**************************
* Helpers
***************************/
.text-bold {
  font-weight: 600;
}

.text-thin {
  font-weight: 300;
}

.text-white {
  color: #ffffff !important;
}

.navbar-default .navbar-nav > li > a.btn-info {
  border: 1px solid #5bc0de;
}

.navbar-default .navbar-nav > li > a.btn-info,
.navbar-default .navbar-nav > li > a.btn-danger {
  color: #ffffff !important;

  border-color: transparent;
  border-radius: 0;
}

.navbar-default .navbar-nav > li > a.btn-info:hover,
.navbar-default .navbar-nav > li > a.btn-info:active,
.navbar-default .navbar-nav > li > a.btn-danger:hover,
.navbar-default .navbar-nav > li > a.btn-danger:active {
  color: #4e5e6a !important;
}
.fc-day-header {
  font-size: 25px !important;
  font-weight: unset !important;
}

.fc-title strong {
  display: none !important; 
}

.weekly .title-button-group {
  padding: 10px 0;
}
.weekly-avatar.avatar img {
  position: absolute;

  padding: 5px;
  max-width: 50px;
}

#project-gridly {
  height: 100%;
  overflow-y: auto;
}

#weekly-kanban ul,
#weekly-board ul {
  padding: 0;
  margin: 0;

  list-style-type: none;
}

#weekly-grid li .kanban-col-title {
  margin: 0;
}

.kanban-col-title {
  border-radius: 4px;
}

#project-grid .kanban-item {
  width: 100%;
  height: 120px;
}

.kanban-item {
  position: relative;
  border-radius: 4px;
}

.check-sample {
  position: absolute;
  top: 10px;
  right: 15px;
}

.task-title {
  margin-right: 25px;
  display: block;
}


.checkbox-blank-sm, .checkbox-checked-sm {
  border: 1px solid #cecece;
  height: 13px;
  width: 13px;
  border-radius: 50%;
  cursor: pointer;
  margin-top: 4px;
}

.checkbox-checked-sm:before{
  content: "\f00c";
  font-family: 'FontAwesome';
  top: -4px;
  position: relative;
  font-size: 11px;
  color: #00b393;
}


.kanban-item-checked{
  background-color: #f2f2f2;
}

.kanban-item:hover .checkbox-blank-sm, .checkbox-checked-sm{
  visibility: visible;
}


#project-grid .kanban-item .meta {
  margin-top: 3px;
}

.weekly-avatar {
  position: relative;

  cursor: pointer;
  transition: opacity 250ms ease-in-out;
}

.widget_disabled .kanban-item {
  background: repeating-linear-gradient( 45deg, #c1c1c1, #cecece 10px, #a7a7a7 10px, #b3b3b3 20px ), linear-gradient( to bottom, #eeeeee, #bfbfbf );
  border-bottom: 3px solid red;

  opacity: .7;
}

.gs-opaque {
  opacity: .2;
}

.weekly-avatar.opacitized {
  opacity: .3;
}

.weekly-avatar .estimate-tooltip {
  position: absolute;
  bottom: -15px;
  left: 50%;

  transform: translateX(-50%);
}

.kanban-item .actions {
  position: absolute;
  bottom: 15px;
}

#header-clock-in {
  display: none;
}

@media screen and (max-width: 575px) { 
  .kanban-item-this-week {
      width: 100vw !important;
  }
}

.kanban-item-this-week {
  padding: 3px 10px;
  margin: 2px 10px;
  width: 0;
  display: block;
  /* white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis; */
  min-width: fit-content;
}

.kanban-item-this-week .meta {
  margin-top: 4px;
}

.kanban-item-this-week .label-deadline {
  background-color: #333333
}

@media screen and (max-width: 575px) {
  .kanban-col {
      width: calc(100vw - 20px) !important;
      min-height: max-content !important;
      height: inherit !important;
  }
  .kanban-col-title {
      width: calc(100vw - 20px) !important;
  }
  .kanban-col:nth-of-type(even) {
      scroll-margin: 0;
  }
  .kanban-item{
      width: calc(100vw - 15px) !important;
  }
  .kanban-container {
      display: flex !important;
      overflow-y: hidden;
  }
  .kanban-item-list{
      height: 100% !important;
      max-height: none !important;
      min-height: max-content !important;
      overflow-y: visible;
  }

  /* .checklist-items a.delete-checklist-item i{
    padding: 3px 8px;
  } */

  /* .checklist-items a.edit_checklist_item i{
    padding-right: 8px;
  } */

  .checklist-title {
    display: inline-block;
    width: 65% !important;
  }
}

.checklist-title {
  display: inline-block;
  width: 80%;
}

.kanban-container {
  width: max-content;
}

.kanban-col {
  flex: 0 0 305px;
}

.kanban-item-list {
  min-height: 100px;
}

.scrolling-modal {
  max-height: calc(100vh - 200px); 
  overflow-y: scroll;
  overflow-x: hidden;
}

* {
  -webkit-overflow-scrolling: touch;
}

@media screen and (max-width: 767px) {
  .navbar-left {
    display: inline-block;
  }
  
  .navbar-right {
    display: inline-block;
    /* float: right; */
  }

  .navbar-right li {
    display: inline-block;
    vertical-align: middle;
  }

  .navbar-right #timerTab {
    display: none;
  }

  .navbar-right .dropdown-user {
    font-size: 0;
  }
}

#event-calendar .fc-day-grid-event {
  color: black;
  background: transparent !important;
  border: transparent !important;
}

thead {
  height: unset !important;
}

/* #event-calendar .fc-week,
.fc-time-grid .fc-slats td {
  height: 197px !important;
} */

.fc-time-grid .fc-slats .fc-minor td,
tr .fc-axis .fc-time .fc-widget-content {
    border-top-style: unset !important;
    border-bottom: unset !important;
}

.fc-time-grid .fc-slats td {
    height: 22px !important;

    border-top-color: transparent !important;
}

tr:nth-child(26) {
    border: 1px solid rgb(161, 157, 157) !important;
}

.fc-button-group .fc-button, 
.fc-today-button {
	color: #000 !important;
}

.fc-time-grid .fc-slats td span {
    display: none !important;
}

.all-users-main {
    display: flex;
    flex-wrap: wrap;
}

.all-users {
  margin: 5px;
}

.users-name {
  display: none;
}

.fc-event.ui-draggable.ui-draggable-handle {
  display: flex;
  align-items: center;
  
  color: #000;
  
  background-color: transparent;
  border: unset;
}

.all-users-main .weekly-avatar {
    margin: unset;
}

.all-users-main .users-name {
    margin: 0 5px;
}

/* #event-calendar .fc-content-skeleton {
  display: none !important;
} */

/* .fc-agendaWeek-view .fc-day-grid {
  height: 33rem;
} */

.fc-axis {
  width: 140px !important;
}

.fc-ltr .fc-axis {
  text-align: center !important;
  font-size: 20px !important;
}

/* .fc-agenda-view .fc-day-grid .fc-row .fc-content-skeleton {
  padding-bottom: 29em !important;
} */

tr:nth-child(36) .fc-axis,
tr:nth-child(12) .fc-axis {
  font-size: 40px !important;
  text-align: center;
}

.all-users-main .fc-event  {
  display: flex;
  height: auto;

  padding-bottom: 12px;

  background-color: transparent;
  border: transparent;
}

.user-info {
  display: flex;
  flex-flow: column-reverse;
  justify-content: center;
  margin: 0 13px;
}

.user-info .label {
  font-size: 15px;
  font-weight: normal;
  
  color: #000;
}

#drop-remove,
.fc-time-grid-event .fc-time {
  display: none !important;
  opacity: 0 !important;
}

.body-users .fc-axis .all-users-main {
  display: none;
}

a.fc-time-grid-event.fc-v-event.fc-event.fc-start.fc-end {
    inset: unset !important;
    position: relative;
    width: 45%;
    margin: 5px !important;
}

.fc-time-grid .fc-event-container {
    position: unset;
    z-index: 4;
    display: flex;
    flex-flow: row wrap;
}

.modal.in .modal-dialog {
    width: 45%;
    margin: 2% auto;
}

@media screen and (max-width: 768px) {
  .modal.in .modal-dialog {
    width: 100%;
    max-width: 85vw;
    margin: 8rem auto;
  }
  .modal-body {
    padding: 8px;
  }
}