﻿.grid-header-container {
    background-color: #F2F3F5;
}
.theme-color_v1 {
    color: #1C257B;
}

.pointer {
    cursor: pointer;
}
.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.to-top-with-full-width {
    margin-top: -1.1rem;
    padding-top: 1.1rem;
    margin-left: -3rem !important;
    padding-left: 3rem !important;
    margin-right: -1.5rem;
    padding-right: 1.5rem;
}

.to-top-with-full-width-2 {
    margin-top: -1.1rem;
    padding-top: 1.1rem;
    margin-left: -3rem;
    padding-left: 3rem;
    margin-right: -1.5rem;
}


.paging, .paging i {
    color: #1C257B;
}

    .paging i {
        font-size: 14px;
        -webkit-text-stroke: 1px;
    }

    .paging .paging-btn {
        background-color: #F2F3F5;
        background: #F2F3F5;
        height: 28px;
        width: 28px;
        border-radius: 4.5px;
    }

.data-table tr .bi-arrow-top, .data-table tr .bi-arrow-bottom {
    font-size: 20px;
    -webkit-text-stroke: 1px;
}

.data-table thead, .grid-data-header_v1 {
    color: #ABAFB1;
}

.data-table thead th{
    border: none;
}

.data-table tbody{
    color: #1C257B;
}
.data-table tbody td{
    border-top: none;
    }

.grid-action-col {
    width: 65px;
}

    .grid-action-col button {
        color: #5E6366;
    }

.custom-search-container input:focus {
    outline: none;
}

.clear-filters-btn {
    background-color: white;
    width: inherit;
}

.excel-download-btn {
    width: inherit;
}

.header-action-buttons button, .clear-filters-btn {
    height: 32px;
    padding: 1px 10px;
}

.header-action-buttons, .search-filters-btn {
    height: 32px;
    padding: 1px 10px;
}

.header-action-buttons, .excel-download-btn {
    height: 32px;
    padding: 1px 10px;
}

.custom-modal .modal-header {
    border-bottom: 0;
    margin-left: auto;
    margin-right: auto;
}

.custom-modal .modal-title {
    color: #1C257B;
    max-width: 400px;
    text-align: center;
}

.custom-modal .form-group {
    color: #1C257B;
}
.custom-modal .modal-body  {
    padding-left: 2rem;
    padding-right: 2rem;
}

.custom-modal .modal-body-text {
    color: #5E6366;
    text-align:center;
}

.custom-modal .modal-dialog {
    padding-top: 3%;
}

.custom-modal .modal-footer {
    border-top: 0;
}

.custom-modal .modal-footer > div{
    margin-left: 0;
    margin-right: 0;
}

.modal-close-btn {
    position: absolute;
    right: 20px;
    top: 20px;
    padding: 10px;
}

.custom-add-btn {
    height: 32px;
    padding-top: 0.175rem;
    padding-bottom: 0.175rem;
}
.custom-btn-style {
    height: 31px;
    padding-top: 1px;
    padding-bottom: 1px;
}

.sticky-grid-footer {
    position: sticky;
    bottom: 0;
    background: white;
}

.dailybyhourstype-grid {
    max-height: calc(100vh - 520px);
}

#add-competences-btn-wrapper button {
    float: right;
}

.dailyreportdetails-grid .header {
    position: sticky;
    top: 0;
    background-color: white;
    z-index: 1;
}

.dailyreportdetails-grid {
    max-height: calc(100vh - 435px);
}

.daily-report-details-btns .excel-btn {
    width: 100%;
    white-space: nowrap;
}

.dailyabsencereporting-grid, .dailybyhourstype-grid {
    padding-bottom: 10px !important;
}

.gender-dropdown-container, .employmentFrom-dropdown-container, .employmentTo-dropdown-container {
    height: 32px;
}

.AbsenceTypes-table tbody tr td {
    vertical-align: middle;
}

.AbsenceTypes-table {
    max-width: 1200px;
}

#plane-tickets-table {
    table-layout: fixed;
}

#plane-tickets-table .edit-col,
#plane-tickets-table .delete-col,
#plane-tickets-table .edit-ticket-col-tab,
#plane-tickets-table .delete-ticket-col {
    max-width: 50px;
    width: 50px;
    padding-left: 6px;
    padding-right: 6px;
}

.plane-grid-header .clear-filters-btn-wrapper {
    min-width: 150px;
}

#company-contracts-table .contract-actions {
    min-width: 230px;
    display: inline-flex;
    align-items: flex-start;
}

#company-contracts-table .contract-state-btns-wrapper {
    min-width: 85px;
    padding-top: 3px;
    padding-bottom: 4px;
}

#clear-employeeDocuments-filters-btn {
    width: 130px;
}

#roles-table {
    table-layout:fixed;
}

#roles-table .action-col {
    width: 118px;
}

#AssignRoleModal .modal-list-container {
    max-height: 40vh;
}

#company-competences-table .competences-actions {
    min-width: 115px;
    max-width: 115px;
}

.z-index-20000 {
    z-index: 20000!important;
}

.custom-modal-xxl {
    max-width: 1300px;
    margin: auto;
    padding-left: 10px;
    padding-right: 10px;
    padding-block: 10px;
}

.custom-modal-xxxl {
    max-width: 100%;
    margin: auto;
    padding-left: 5%;
    padding-right: 5%;
    padding-block: 10px;
}


.icon-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 5px;
    height: 30px;
    width: 30px;
    border: 2px solid #1C257B;
    border-radius: 5px;
    cursor: pointer;
    opacity: 0.4;
}

.selected-icon-wrapper {
    width:35px;
    height: 35px;
    opacity: 1;
}


.shift-planning-grid {
    /*max-height: calc(100vh - 345px);*/
}

.working-day-cell {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    border: 1px solid white;
}

.working-day-cell-text {
    font-size: 11px;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.insert-mode-input {
    height:25.5px;
    color: black;

}

.insert-mode-input {
    height: 25.5px;
    color: black;
}

    .insert-mode-input::placeholder {
        color: black;
        opacity: 1; /* Firefox */
    }

    .insert-mode-input::-ms-input-placeholder { /* Edge 12 -18 */
        color: black;
    }
/*-------------------------------------------------*/
/*Media queries*/
/*-------------------------------------------------*/
@media ( min-width: 1201px ) {
    .custom-search-wrapper, .gender-dropdown-container {
        padding-left: 0;
    }

    .dailybyhourstype-grid {
        max-height: calc(100vh - 260px);
    }

    .dailybyemployee-grid {
        max-height: calc(100vh - 320px);
    }
}

@media (max-width: 1000px) {

    #company-competences-table .competences-country-col {
        display: none;
    }
}

@media (min-width: 991px) and (max-width: 1200px) {

    .dailybyemployee-grid {
        max-height: calc(100vh - 275px);
    }
}

@media (min-width: 991px) {

    .custom-search-wrapper, .gender-dropdown-container, .vehicles-dropdown-container {
        padding-left: 0;
    }
    
    .header-filters {
        padding: 0;
        margin: 0;
    }

    .dailyabsencereporting-grid {
        max-height: calc(100vh - 380px);
    }

    .daily-report-details-btns #add-employee-btn {
        margin-left: 15px;
    }

    .gmcgeneraldynamic-grid {
        max-height: calc(100vh - 310px);
    }

    .gmcperdivisionperproject-grid {
        max-height: calc(100vh - 226px);
    }
}

@media (max-width: 990px) {
    .dailyabsencereporting-grid {
        max-height: calc(100vh - 405px);
    }

    .dailybyemployee-grid {
        max-height: calc(100vh - 290px);
    }

    .dailyreportdetails-grid {
        max-height: calc(100vh - 510px);
    }
    .dailyreportdetails-header .excel-btn-wrapper {
        padding-left: 0;
    }

    .gmcgeneraldynamic-grid {
        max-height: calc(100vh - 380px);
    }

    .gmcperdivisionperproject-grid {
        max-height: calc(100vh - 260px)!important;
    }

    #add-ticket-btn {
        flex-grow: 1;
    }
    #clear-employeeDocuments-filters-btn, #add-employeeDocuments-btn {
        width: 100%;
    }
    #add-company-competences-btn {
        width: 100%;
    }
    #add-company-competences-btn-wrapper {
        padding-left: 0;
        padding-right: 0;
    }
    #add-company-cfConfiguration-btn-wrapper {
        width: 100%;
    }

    .w-md-100  {
        width: 100%;
    }
}

@media (max-width: 901px) {
    .dailyabsencereporting-grid {
        max-height: calc(100vh - 440px);
    }

    .dailyreportdetails-grid {
        max-height: calc(100vh - 510px);
    }

    .gmcperdivisionperproject-grid {
        max-height: calc(100vh - 260px);
    }

    #plane-tickets-table .project-col, #plane-tickets-table .ticket-number-col {
        display: none;
    }
}

@media ( min-width: 851px) {

    #download-excel-btn {
        margin-left: 0.5rem;
        width: 195px;
    }

    .dailybyhourstype-grid {
        max-height: calc(100vh - 290px);
    }
}

@media ( max-width: 850px) {
    .paging-container {
        display: flex;
        flex-direction: column;
        width: 100%;
        align-items: end;
    }
    .paging {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }

    .page-size-wrapper {
        margin-top: 20px;
    }

    .grid-header-container .header-action-buttons button {
        width: 100%;
        max-width: 100%;
    }

    .grid-header-wrapper {
        margin-bottom: 0;
        padding-bottom: 0;
    }

    .grid-header-container .header-filters > div {
        padding-right: 15px;
    }

    tbody td.grid-action-col {
        width: 100%;
        top: 1px solid #dee2e6;
    }

    .data-table tbody td {
        border-bottom: none;
    }


    .dailyabsencereporting-grid {
        max-height: calc(100vh - 440px);
    }

    .dailybyhourstype-grid {
        max-height: calc(100vh - 290px);
    }

    .dailyreportdetails-grid {
        max-height: calc(100vh - 510px);
    }

    .AbsenceTypes-table tbody tr td {
        width: 33%;
    }

    #add-ticket-btn {
        width: 100%!important;
        max-width: 100%;
    }
}


@media ( max-width: 766px) {
    .dailyabsencereporting-grid {
        max-height: calc(100vh - 670px);
    }

    .dailybyhourstype-grid {
        max-height: calc(100vh - 540px);
    }

    .dailyreportdetails-grid {
        max-height: calc(100vh - 435px);
    }

    .dailybyemployee-grid {
        max-height: calc(100vh - 500px);
    }

    .dailyreportdetails-header .excel-btn-wrapper {
        padding-right: 0;
    }

    .gmcgeneraldynamic-grid {
        max-height: calc(100vh - 230px) !important;
    }

    .gmcperdivisionperproject-grid {
        max-height: calc(100vh - 180px) !important;
    }

    .employee-documents td.download-col {
        width: 95px;
        grid-area: none;
    }
}

@media ( max-width: 700px) {
    #plane-tickets-table .ticket-arrivalDateAndTime-col, #plane-tickets-table .ticket-departureDateAndTime-col {
        display: none;
    }
}

@media ( max-width: 650px) {
    .role-employeesNumber-col {
        width: 60px;
    }
}

@media ( max-width: 560px) {
    .dailyabsencereporting-grid {
        max-height: calc(100vh - 700px);
    }

    .AbsenceTypes-table .name-col {
        max-width: 130px;
    }

    .AbsenceTypes-table .color-col {
        max-width: 60px;
    }

    .AbsenceTypes-table .action-col {
        max-width: 120px;
    }
}

/*USER PROFILE*/
.navbar_v1 {
    height: 50px;
    /*background-color: #F2F3F5;*/
    background-color: #d9d9d9;
    padding-top: 0;
    padding-bottom: 0;
    overflow-y: auto;
}

    .navbar_v1 .navbar-nav {
        padding-left: 0;
        flex-direction: row;
        align-items: center;
    }

    .navbar_v1 .navbar-nav .nav-link.active {
        border-radius: 10px;
    }

        .navbar_v1 .navbar-nav .nav-item .nav-link:hover {
            background-color: #F2F3F5;
        }

.navbar_v1::-webkit-scrollbar {
    height: 9px;
}

    .navbar_v1::-webkit-scrollbar-thumb {
        border-radius: 10px;
        -webkit-box-shadow: inset 0 0 7px rgba(5,5,5,1.0);
        height: 3px;
    }

    .navbar_v1 .nav-link {
        color: #1C257B !important;
        padding-right: 0.5rem;
        padding-left: 0.5rem;

        white-space: nowrap;
    }

.navbar_v1 .nav-link.active {
    font-weight: 600;
}

    .navbar_v1 .nav-link:hover {
        cursor: pointer;
    }

.input-group_v1 .input-btn_v1 {
    height: 32px;
}

.input-group_v1 .input-btn_v1:hover {
    cursor: pointer;
}

.section-title_v1 {
    color: #1C257B;
}

.left-inside-div {
    padding-left: 0;
}

.right-inside-div {
    padding-right: 0;
}


.sticky-grid .left-side-data {
    display: inline-block;
    position: sticky;
    left: 0;
    z-index: 51;
    background-color: white;
    height: fit-content;
}

.sticky-grid .left-side-header {
    z-index: 52;
    background-color: white;
}

.sticky-left-side-header {
    position: sticky;
    top: 0;
}

.sticky-grid .right-side-data {
    display: inline-block;
    width: 500px;
    overflow: initial;
    height: fit-content;
}

.sticky-grid .right-side-header {
    display: inline-block;
    position: sticky;
    height: 60px;
    top: 0;
    z-index: 10;
    display: flex;
    z-index: 50;
    background-color: white;
    width: fit-content;
}

.sticky-grid .right-side-data {
    width: 100%;
}

.toogle-gmc-dynamic-header-btn {
    margin-bottom: 10px;
}

/*start dailyabsencereporting*/


.absence-reporting-view-toggle-container label {
    margin: 0 10px;
}
.sort-section > div{
    margin-bottom: 10px;
}


/*end dailyabsencereporting*/

/*start companytimesheet*/

.sticky-header-container {
    position: sticky;
    top: 0;
    z-index:100;
}

.scrollable-content {
    height: calc(100vh - 100px);
    overflow: auto;
}

/*end companytimesheet*/

@media only screen and (max-width: 450px) {
    .multiple-inrow-fields-container_v1 {
        flex-direction: column;
    }

    .left-inside-div {
        padding-right: 0px;
    }

    .right-inside-div {
        padding-left: 0px;
    }
}

.add-approver-btn, .transparent-add-btn_v1 {
    color: #32A5FF;
}

.blue-card_v1 {
    padding: 2px 10px;
    width: fit-content;
    background-color: #E0F1FF;
    color:#1C257B;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
}

    .blue-card_v1 .card-icon_v1 {
        padding: 1px;
        font-weight: initial;
        font-size: 0.8rem;
    }
.red-card_v1 {
    padding: 2px 10px;
    width: fit-content;
    background-color: #ff0000;
    color:white;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
}

    .red-card_v1 .card-icon_v1 {
        padding: 1px;
        font-weight: initial;
        font-size: 0.8rem;
    }


.modal-list-container {
    max-height: 80%;
    overflow: scroll;
}

.input-group-with-icon-left_v1 span {
    border-top-left-radius: 4px !important;
    border-bottom-left-radius: 4px !important;
    background-color: white;
    height: 38px;
}
.input-group-with-icon-left_v1 input:focus {
    box-shadow: none;
    border: 1px solid #ced4da;
}
.input-group-with-icon-left_v1  input {
    width: calc(100% - 42px);
}

.approver-checkbox {
    height: 17px;
    width: 17px;
}


.action-dropdown_v1 {
    font-size: 18px;
}

#vacation-info {
    font-size: 14px;
    color: #ABAFB1;
}

.w-fit-content {
    width: fit-content;
}

.custom-action-dropdown {
    background-color: transparent;
    border: 0;
    color: #1C257B;
}

.custom-action-dropdown .e-caret {
    display: none!important;
}


.padding-sides-15px {
    padding-left: 15px;
    padding-right: 15px;
}


.data-table span {
    font-size: 14px;
}

.data-table th  {
    font-style: normal;
    vertical-align: baseline
}

.data-table th label {
    font-style: normal;
}

#document-image-wrapper {
    height: 100%;
    width: 100%;
    text-align: center;
}

    #document-image-wrapper img {
        max-width: 100%;
        max-height: 100%;
        height: auto;
    }


.file-options-container {
    width: 80px;
    display: flex;
    align-items: baseline;
}

.file-options-container.download-file-btn {
    width: 35px;
}

#add-ticket-btn {
    width: 195px;
    height: 32px;
}

    #add-ticket-btn div {
        margin-left: -8px;
        margin-top: -1px;
    }

    #add-ticket-btn i {
        font-size: 22px;
    }

.ticket-correction-section {
    width: 87vw;
    overflow: auto;
}

    .ticket-correction-section .row {
        width: min-content;
        min-width: 1150px;
    }

.contract-type-approver-container {
    height: 38px;
}

.contract-type-approver-warn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 30px;
}

.contract-type-approver-btns {
    min-width: 110px;
    max-width: 110px;
}

.mass-dropdown-btn {
    background-color: white!important;
    color: black!important;
    width:inherit;
}

    .mass-dropdown-btn:hover {
        background-color: white!important;
        color: black!important;
    }

.disabled-mass-btn {
    background-color: lightgray !important;
    color: white !important;
    cursor: not-allowed!important;
}
@media only screen and (max-width: 1024px) {
    .data-table thead th {
        font-weight: 500;
    }

    .grid-equal-columns-1024px {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(50px, 1fr)); /* Creates as many columns as possible to fit the container, each with a minimum width of 50px and a maximum width of 1fr */
    }

    th.type-col, th.status-col, th.action-btns-col {
        display: none;
    }

    .grid-first-row {
        grid-row: 1;
    }

    .grid-second-row {
        grid-row: 2;
    }

    .data-table th.contract-type-col {
        display: none;
    }

    .data-table .contract-actions button:first-child,
    .data-table .contract button:first-child {
        padding-left: 0;
    }

    .contract-type {
        grid-area: 2 / 1 / 3 / 3;
    }

    .contract-actions {
        grid-area: 2 / 3 / 3 / 4;
    }

    .hide-1024px {
        display: none;
    }

    #company-competences-table thead {
        display: none;
    }
}

@media only screen and (max-width: 830px) {
    .data-table thead th {
        font-weight: 500;
    }


    .grid-equal-columns-830px {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(50px, 1fr)); /* Creates as many columns as possible to fit the container, each with a minimum width of 50px and a maximum width of 1fr */
    }

    .grid-first-row {
        grid-row: 1;
    }

    .grid-second-row {
        grid-row: 2;
    }

    .createdBy-col, .employee-documents thead .documentType-col {
        display: none;
    }
}

@media only screen and (max-width: 575px) {

    #add-competences-btn-wrapper button {
        width: 100%
    }

    #plane-tickets-table .ticket-number-col {
        display: none;
    }

    #plane-tickets-table {
        table-layout: fixed;
    }

    #add-employeeDocuments-btn {
        width:100%;
    }
}

@media only screen and (max-width: 550px) {

    td.action-btns-col button {
        padding-left: 0;
        padding-right: 6px;
        font-size: 14px;
    }
}

@media only screen and (max-width: 440px) {

    .custom-modal .modal-title {
        max-width: 270px;
    }
}

.confirm-delete-warning {
    background-color: #ffcc00;
    color: #000000;
    padding: 0px;
    border-radius: 5px;
    border: 1px solid #ffaa00;
    vertical-align: central;
    display: flex;
    align-items: center;
    justify-content: center;
    font-style: italic;
}

.warning-border {
    border: 2px solid #ffcc00; /* Warning yellow color for the border */
    padding: 1px; /* Optional: Add some padding inside the div */
    border-radius: 2px; /* Optional: Add rounded corners to the border */
    border-radius: 5px;
}

/* Daily Hours Details Popup Styles */
.daily-hours-details-container {
    max-height: 60vh;
    overflow-y: auto;
}

.hour-entry {
    background: #fff;
    border-radius: 5px;
    margin-bottom: 10px;
    padding: 15px;
    border-left: 4px solid #dee2e6;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.timesheet-type {
    font-weight: 600;
    color: #333;
}

.time-display {
    font-family: monospace;
    color: #666;
    font-weight: 500;
}

.summary-card {
    background: #f8f9fa;
    border-radius: 4px;
    padding: 15px;
    margin-bottom: 8px;
    border-left: 4px solid #dee2e6;
    text-align: center;
}

.summary-label {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 5px;
}

.summary-value {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
}

.type-summary-card {
    background: #f8f9fa;
    border-radius: 4px;
    padding: 10px 15px;
    margin-bottom: 8px;
    border-left: 4px solid #dee2e6;
}

.type-name {
    font-weight: 500;
    color: #333;
    margin-bottom: 2px;
}

.type-total {
    color: #666;
    font-size: 0.9rem;
}

.project-info, .description-info {
    margin-top: 5px;
}

.project-info div, .description-info div {
    font-size: 0.9rem;
    color: #333;
}

.text-truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}