.gantt_grid_data .dropdown-menu,
.gantt_task_content .dropdown-menu {
 position: fixed !important;
 z-index: 99999 !important;
}

.loading-overlay {
 display: none;
 position: fixed;
 width: 100%;
 height: 100%;
 top: 0;
 left: 0;
 z-index: 99999;
 background: rgba(255, 255, 255, 0.5) url('../img/Hourglass.gif') center
  no-repeat;
}

/* Turn off scrollbar when body element has the loading class */
body.loading {
 overflow: hidden;
}
/* Make spinner image visible when body element has the loading class */
body.loading .loading-overlay {
 display: block;
}

.container-header {
 background-color: #008eb9;
 width: 100%;
 box-sizing: border-box;
 padding: 2px;
 display: flex;
 justify-content: space-between;
 align-items: center;
}

.container-action {
 width: 100%;
 display: flex;
 justify-content: end;
 flex-direction: row;
}

.container-project {
 color: white;
 width: 70%;
}

.container-gantt {
 width: 100vw;
 height: 100vh;
}

.icon-action {
 opacity: 0.4;
 cursor: pointer;
 margin-right: 2px;
}

.icon-action-header {
 opacity: 0.4;
 cursor: pointer;
 margin-right: 2px;
 font-size: 1.3em;
}

.icon-action:hover {
 opacity: 1;
}

.f-white {
 color: #ffffff;
}

.f-red {
 color: red;
}

.f-blue-sky {
 color: #328ea0 !important;
}

.f-orange {
 color: #ffa011;
}

.f-green {
 color: green;
}

.f-grey {
 color: #383838;
}

.f-black {
 color: #000 !important;
}

.align-left {
 text-align: left;
}

.transparent {
 background: rgba(2, 2, 2, 0.01) !important;
}

.pull-right {
 float: right;
}

.modal-actions {
 right: 0;
}

.btn-icon-toolbar {
 padding-right: 10px;
 /* padding-left: 10px; */
}

.icon-toolbar {
 color: #ffffff;
}
.icon-toolbar:hover {
 color: #ffffff;
 cursor: pointer;
}

.icon-toolbar-separator {
 color: #ffffff;
}

.btn-icon-toolbar-label {
 /* padding: .25rem .5rem; */
 font-size: 0.875rem;
 /* line-height: 1.5; */
 border-radius: 0.2rem;
}

/* .gantt_tree_icon {
    background: rgba(2,2,2,.01) !important;
} */

#add_comment_form {
 display: none;
}

#add_doc_form {
 display: none;
}

.comment-section {
 margin-bottom: 10px;
}

.comment-detail {
 font-style: italic;
 font-size: 10px;
 color: rgb(117, 117, 117);
}

.comment-text {
 font-size: 14px;
}

table.dataTable td {
 font-size: 14px;
}

table.dataTable th {
 font-size: 14px;
}

/* .holidays{
    background: #f4f7f4 !important;
} */

.gantt_task_cell.holidays {
 /* background-color: #EFF5FD; */
 background-color: #fff4f0 !important;
}

.gantt_task_row.gantt_selected .gantt_task_cell.holidays {
 background-color: #f8ec9c;
}

.elm-hide {
 display: none;
}

.elm-hide2 {
 display: none !important;
}

#gantt_dropdown {
 font-family: Arial, Helvetica, sans-serif;
 /* line-height:25px; */
 position: absolute;
 display: none;
 border: 1px solid #cecece;
 background: #fff;
 padding: 10px;
 z-index: 10;
 max-height: 350px;
 overflow: auto;
}

#gantt_dropdown input {
 margin: 0 2px;
}

#gantt_dropdown label {
 display: inline-block;
 width: 100%;
 min-width: 200px;
 /* height: 25px; */
 font-size: 14px;
}

.dropdown-title {
 font-weight: bold;
 font-size: 14px;
}

/* .dropdown-item {
 cursor: pointer;
 padding-left: 0px !important;
 padding-right: 0px !important;
 margin: 0px !important;
} */

.baseline {
 position: absolute;
 border-radius: 2px;
 z-index: 0;
 opacity: 0.3;
 /* background: #6dadf0;
    border: 1px solid #4a6bf8; */
 background: #14110a;
 border: 1px solid rgb(0, 0, 0);
}

.gantt_task_line,
.baseline {
 border-radius: 4px;
}

#map-activity {
 height: 65vh;
 max-width: 100%;
 max-height: 100%;
 width: 100vw;
}

.gantt_grid_head_cell {
 font-size: 0.75rem;
 color: #303030 !important;
 font-weight: 900;
}

.gantt_scale_cell {
 font-size: 0.75rem;
 color: #303030 !important;
 font-weight: 500;
}

#report-image {
 display: flex;
 justify-content: center;
 width: 100%;
 margin-top: 15px;
}

.gantt_modal_box {
 z-index: 99999 !important;
}

.dropdown {
 position: relative;
 display: inline-block;
}

.dropdown-content {
 display: none;
 position: absolute;
 background: white;
 border: 1px solid #ddd;
 padding: 0px 5px;
 min-width: 200px;
 z-index: 999;
 box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.2);
 height: 300px;
 overflow-y: auto;
}

.dropdown-content label {
 display: block;
 margin: 5px 10px;
}

.dropdown.show .dropdown-content {
 display: block;
}

/* slider */

.prev-slide,
.next-slide {
 position: absolute;
 top: 50%;
 transform: translateY(-50%);
 width: 50px;
 height: 50px;
 background: rgba(0, 0, 0, 0.5);
 color: #fff;
 font-size: 24px;
 text-align: center;
 line-height: 50px;
 cursor: pointer;
 z-index: 1;
}

.prev-slide {
 left: 0;
}

.next-slide {
 right: 0;
}

.slider-container {
 position: relative;
 display: flex;
 justify-content: center;
 align-items: center;
}

/* Image styles */
.slider-container img {
 display: block;
}

/* Dots container styles */
.slider-dots {
 display: flex;
 justify-content: center;
 margin-top: 10px;
}

/* Dot styles */
.slider-dot {
 width: 100px;
 height: 50px;
 margin: 0 5px;
 cursor: pointer;
}

/* Active dot styles */
.slider-dot.active {
 border: 2px solid #605f5f;
}

/* STYLE ACTIVITY DETAIL */

.activity-info {
 display: grid;
 grid-template-columns: 1fr 1fr 1fr 1fr;
 row-gap: 16px;
 column-gap: 16px;
}

.info-item {
 display: contents;
}

.container-activity-comment {
 border: 1px solid;
 display: flex;
 flex-direction: column;
 height: 85vh;
 padding: 20px;
}

.view-comment {
 display: flex;
 flex-direction: column;
 flex-grow: 1;
 gap: 10px;
 overflow-y: auto;
 padding: 10px;
}

.tab-btn:hover {
 cursor: pointer;
}

.tab-btn.active {
 color: #007bff; /* contoh: biru */
}

.activity-input {
 width: 95%;
 border: 1px solid;
 border-radius: 10px;
 padding: 20px;
 margin: 10px;
 margin-top: auto;
}

.activity-input-header {
 padding: 0 5px;
 display: flex;
}

.activity-input-body textarea {
 border: none;
 margin: 10px 0;
 width: 100%;
 background: transparent;
 outline: none;
}

.activity-input-body input {
 border: none;
 width: 100%;
 background: transparent;
 outline: none;
}

.activity-input-body input:focus {
 outline: none;
}

.activity-input-footer {
 display: flex;
 justify-content: space-between;
}

.activity-input-footer .activity-input-footer-action {
 display: flex;
 gap: 15px;
}

.activity-input-footer .activity-input-footer-action i {
 font-size: 10px;
}

.email-input-from {
 margin: 10px 0;
 border-bottom: 1px solid;
}

.email-input-subject {
 margin: 10px 0;
 border-bottom: 1px solid;
}

.container-comment-text {
 padding: 18px;
 border: 1px solid;
 border-radius: 10px;
}

.comment-header h5 {
 border-bottom: 1px solid;
}

.comment-profile {
 display: flex;
 gap: 10px;
 align-items: center;
}

.comment-profile img {
 border-radius: 100%;
 width: 32px;
 height: 32px;
}

.comment-body {
 margin-top: 10px;
}

.custom-fields {
 margin-top: 16px;
 border: 1px solid;
 border-radius: 10px;
 padding: 10px;
}
