/* ###########      Start new design        ############ */


.card.card-custom.card-stretch {
    background-color: transparent;
}

.containerPage {
    background-color: #EBF3F4;
    font-family: "dubai" !important;
}

.sub_title {
    font-family: "dubai";
    background: white;
    margin: 0 12px;
    padding: 25px 10px;
    border-radius: 10px;
    width: -webkit-fill-available;
}

.sub_title .sub_title_content,
.sub_title .sub_title_content>div {
    display: flex;
    align-items: center;
}

.sub_title .title_collapse {
    font-size: 20px;
    font-weight: 700;
    margin: 0 15px;
}

.sub_title .sub_title_content .calendar_box {
    padding: 3px 10px;
    border: 1px solid #EDEDED;
    background: transparent;
    border-radius: 5px;
    align-items: center;
    cursor: pointer;
}

.sub_title .sub_title_content .calendar_box img {
    margin-right: 10px;
    height: 25px;
}

.dropdown_calendar {
    position: relative;
    margin-right: 10px;
}

.dropdown_calendar .calendar_box~.dropdown_content {
    position: absolute;
    display: none;
    opacity: 0;
    flex-direction: column;
    background: white;
    width: 100%;
    border-radius: 0 0 10px 10px;
    border: 1px solid #EDEDED;
    top: 32px;
    z-index: 1;
    max-height: 100px;
    overflow: auto;
    flex-wrap: nowrap;
}

.dropdown_calendar.open .calendar_box {
    border-radius: 10px 10px 0 0;
    border-bottom: 0;
}

.dropdown_calendar.open .calendar_box img {
    transform: rotate(180deg);
}

.dropdown_calendar.open .dropdown_content {
    display: flex;
    opacity: 1;
}

.dropdown_calendar .calendar_box~.dropdown_content .dropdown_item_calendar {
    padding: 3px 10px;
}

.dropdown_calendar .calendar_box~.dropdown_content .dropdown_item_calendar:hover {
    background: #018796;
    color: #FFF !important;
}

.dropdown_calendar .calendar_box~.dropdown_content .dropdown_item_calendar:last-of-type {
    border-radius: 0 0 10px 10px;
}



.sub_title .img_mainItem {
    width: auto;
    height: 45px;
}

.arrow_drag_drop {
    display: flex;
    align-items: center;
    justify-content: end;
}

.arrow_drag_drop div {
    width: 40px;
    height: 40px;
    justify-content: center;
    align-items: center;
    padding: 5px;
    margin-left: 10px;
}

.arrow_drag_drop div img {
    width: auto;
    height: 30px;
    cursor: pointer;
}

/* .container_item_scroll::-webkit-scrollbar {
    display: none;                     
  } */

.container_item_scroll::-webkit-scrollbar {
    height: 10px;
}

.container_item_scroll::-webkit-scrollbar-thumb {
    background: #9ec7cc;
    border-radius: 4px;
}

.container_item_scroll::-webkit-scrollbar-track {
    background: transparent;
}

.container_item_scroll {
    overflow-x: auto;
    white-space: nowrap;
}

.container_item_box {
    display: flex;
    align-items: center;
    margin-top: 25px;
    min-width: min-content;
    width: 100%;
}

.container_item_box .itemBox {
    width: 300px;
    border: 1px solid #EDEDED;
    padding: 10px 20px;
    border-radius: 7px;
    margin-left: 10px;
    cursor: pointer;
    position: relative;
}

.container_item_box .itemBox p {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 30px;
    font-family: "dubai";
    position: relative;
}

.container_item_box .itemBox p::before {
    content: "";
    position: absolute;
    height: 30px;
    width: 6px;
    background: #018796;
    border-radius: 10px 0 0 10px;
    top: 0;
    right: -20px;
}

.container_item_box .itemBox h2 {
    font-size: 35px;
    margin: 0;
    font-family: "dubai" !important;
}

.container_item_box .itemBox h2 span {
    font-size: 20px;
    font-family: "dubai" !important;
}

.container_item_box .itemBox:hover,
.container_item_box .itemBox.selected {
    background: linear-gradient(233deg, #018796, #002B30);
    color: #FFF;
}

.container_item_box .itemBox.selected.kpi-card .kpi-link{
    opacity:0 !important;
}

.container_item_box .itemBox:hover p,
.container_item_box .itemBox.selected p,
.container_item_box .itemBox:hover h2,
.container_item_box .itemBox.selected h2{
    color: #FFF!important;
}

.container_item_box .itemBox:hover p::before,
.container_item_box .itemBox.selected p::before {
    background: #FFF;
}

.container_item_box .itemBox.rej p::before {
    background: #E13D17;
}

.container_item_box .itemBox.app p::before {
    background: #86B826;
}

/* sTART collapsible and expand */

.collapsible {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.5s ease-out, opacity 0.5s ease-out;
    margin: 0 18px;
}

.collapsible.open {
    max-height: 500px;
    opacity: 1;
    overflow-x: auto;
    padding-bottom: 10px;
}

.toggle-btn img {
    transition: transform 0.3s ease;
}

.toggle-btn.active img {
    transform: rotate(180deg);
}

/* End collapsible and expand */


.details_container {
    margin: 40px 0;
    background: #FFF;
    border-radius: 10px;
    padding: 25px 10px;
}

.details_container .sub_title {
    padding: 0;
    border-radius: 0;
    background: transparent;
}

.details_container .container_item_scroll {
    padding-bottom: 10px;
    margin: 0;
}
.details_container .table_container {
    padding: 0;
    margin: 0;
}
.details_container .sub_title_content {
    padding: 0;
}

@media (max-width:768px) {
    .sub_title {
        width: -webkit-fill-available;
    }

    .sub_title .sub_title_content>.d-flex {
        order: 2;
    }

    .arrow_drag_drop {
        align-items: start;
        padding: 0;
    }

    .sub_title .title_collapse {
        margin: 0 0 0 10px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        display: block;
        width: 80%;
    }

    .dropdown_content {
        flex-wrap: wrap;
    }

    .dropdown_calendar {
        order: 1;
        margin-bottom: 10px;
    }

    .sub_title .sub_title_content {
        flex-direction: column;
        align-items: start;
        padding: 0;
    }

    #toggleAllBtn {
        margin-top: 20px;
        width: 100% !important;
    }

    .collapsible {
        margin: 0;
    }
    .details_container .sub_title {
        margin: 0;
    }
    .table_container > .col-12 ,
    .sub_title .mt-5.mb-10 {
        padding: 0;
    }
    .details_container .title_details {
        margin-bottom: 20px;
    }
}
.kpi-link {
    display: flex;
    position: absolute;
    bottom: 17px;
    left: 20px;
}

.container_item_scroll.loadingBox .itemBox p,
.container_item_scroll.loadingBox .itemBox h2,
.container_item_scroll.loadingBox .kpi-card .kpi-link  {
    opacity: 0;
}

 .container_item_scroll.loadingBox .itemBox  {
    -webkit-animation-duration: 1s;
    -webkit-animation-fill-mode: forwards;
    -webkit-animation-iteration-count: infinite;
    -webkit-animation-name: placeHolderShimmer;
    -webkit-animation-timing-function: linear;
    background: #f6f7f9;
    background-image: linear-gradient(to right, #f6f7f9 0%, #e9ebee 20%, #f6f7f9 40%, #f6f7f9 100%);
    background-repeat: no-repeat;
    background-size: 800px 114px;
    height: 114px;
    position: relative;
}

@keyframes placeHolderShimmer{
  
    0% {
        background-position: 468px 0;
    }
    100% {
        background-position: -468px 0;
    }
    }

/* ###########      end new design        ############ */