﻿
body {
    font-size: 0.85rem;
}

.table tbody .btn-group-sm > .btn, .table tbody .btn-sm {
    padding: 0.01rem 0.2rem;
    font-size: .75rem;
    border-radius: 0rem;
}


.table .switch {
    position: relative;
    display: inline-block;
    width: 42px;
    height: 17px;
}

    /* Hide default HTML checkbox */
    .table .switch input {
        opacity: 0;
        width: 0;
        height: 0;
    }

/* The slider */
.table .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

    .table .slider:before {
        position: absolute;
        content: "";
        height: 15px;
        width: 14px;
        left: 1px;
        bottom: 1px;
        background-color: white;
        -webkit-transition: .4s;
        transition: .4s;
    }

.table input:checked + .slider {
    background-color: #00638e;
}

.table input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
}

.table input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

/* Rounded sliders */
.table .slider.round {
    border-radius: 34px;
}

    .table .slider.round:before {
        border-radius: 50%;
    }

span.overme {
    font-size: 13px;
    line-height: 2.3;
    padding-left: 3px;
}

.table-download-a {
    color: #000108;
}

    .table-download-a:hover {
        color: #00638e;
        font-weight: 600;
    }



.select2-container--default .select2-selection--single {
    border-radius: 0px !important;
}

.btn-flat {
    border-radius: 0rem;
}

.btn-search {
    padding: 0.19em 0.9rem !important;
}

div.dataTables_filter,
div.dataTables_length, .dataTables_info, .dataTables_paginate {
    display: inline-block;
}

div.dataTables_filter, div.dataTables_paginate {
    float: right;
}

.table-bordered {
    border: 1px solid #f4f4f4;
}

    .table-bordered th {
        line-height: 2.5;
    }

.dataTables_filter input {
    border-radius: 0px !important;
    font-size: 0.71rem !important;
}

.page-item.active .page-link {
    background-color: #00638e !important;
    border-color: #00638e !important;
}

div.dataTables_wrapper div.dataTables_length select {
    border-radius: 0rem !important;
}

.dataTables_paginate .page-link {
    border-radius: 0rem !important;
}

.dataTable {
    width: 100% !important;
}

.table-bordered > thead > tr > th, .table-bordered > tbody > tr > th, .table-bordered > tfoot > tr > th, .table-bordered > thead > tr > td, .table-bordered > tbody > tr > td, .table-bordered > tfoot > tr > td {
    border: 1px solid #ededed;
}

.breadcrumb {
    margin-bottom: 0rem !important;
}

table.dataTable thead > tr > th.sorting_asc, table.dataTable thead > tr > th.sorting_desc, table.dataTable thead > tr > th.sorting, table.dataTable thead > tr > td.sorting_asc, table.dataTable thead > tr > td.sorting_desc, table.dataTable thead > tr > td.sorting {
    padding-left: 8px !important;
}

.label-min-height {
    height: 34px
}

.toggle-sidebar .label-min-height {
    height: 0px !important;
}

.form-control:focus {
    box-shadow: none !important;
}

.table tr .toggle_status .toggle {
    width: 60.5625px !important;
    height: 21px !important;
    border-radius: 0rem !important;
}

.table tbody .toggle-group .btn {
    padding: 0.01rem 0.2rem !important;
    font-size: .75rem !important;
    border-radius: 0rem !important;
}


.table tr .btn.toggle {
    width: 60.5625px !important;
    height: 21px !important;
    border-radius: 0rem !important;
}

.form-actions .btn {
    padding: 5px 42px;
    font-size: 15px;
    border-radius: 0px;
}

.form-actions-fixed {
    bottom: 0;
    position: fixed;
    width: 100%;
    float: right;
    background: #fff;
    padding: 10px 15px;
    display: inline-block;
}

.form-body {
    padding: 15px;
}

.form-control {
    font-size: 0.8rem !important;
    font-weight: 400 !important;
    border-radius: 0px !important;
    padding: 8px !important;
    line-height: 1 !important;
}

.form-select {
    font-size: 0.8rem !important;
    font-weight: 400 !important;
    border-radius: 0px !important;
    padding: 7px !important;
    line-height: 1 !important;
}

input[type="file"].form-control {
    line-height: 1.3 !important;
}

.btn {
    border-radius: 0px !important;
}

.modal-content {
    border-radius: 15px !important;
}

.btn-info {
    color: #fff !important;
}

.card-min-height {
    min-height: 750px;
}

.swal2-actions button {
    border-radius: 0px !important;
    padding: 5px 20px !important;
}

.table .button-group a.custom-button {
    font-size: 18px;
    color: #0a608b;
}

/*************btn toggle******/
label.check-1 {
    display: block;
}

    label.check-1 > input[type=checkbox] {
        display: none;
    }

.check-1 {
    position: fixed;
    top: 50%;
    left: 20%;
    transfrom: translatex(-50%) translatey(-50%);
    width: 50px;
    height: 29px;
    border-radius: 50px;
    position: relative;
    cursor: pointer;
}

    .check-1 .inner {
        position: absolute;
        width: 100%;
        height: 100%;
        border-radius: 50px;
        border: 2px solid #e8e8e8;
        background: #f9f9f9;
        transition: all 0.2s ease;
    }

    .check-1 .bullet {
        position: relative;
        width: 25px;
        height: 25px;
        background: #eee;
        border-radius: 50%;
        transition: all 0.3s ease;
        top: 2px;
        left: 2px;
        box-shadow: 0 3px 3px rgba(0, 0, 0, 0.15);
    }

    .check-1 input:checked ~ .inner {
        border: 15px solid #2ecc71;
        transition: all 0.2s ease;
    }

    .check-1 input:checked ~ .bullet {
        left: 23px;
        transition: all 0.3s ease;
        animation: 0.2s bullet;
    }

@keyframes bullet {
    0%, 100% {
        width: 25px;
    }

    40% {
        width: 30px;
    }
}
/*************end btn toggle***************/


/*************btn toggle only for table******/
label.table-check-1 {
    display: block;
    width: 80px;
}

    label.table-check-1 > input[type=checkbox] {
        display: none;
    }

.table-check-1 {
    /* Increased width to accommodate text */
    height: 30px;
    border-radius: 50px;
    position: relative;
    cursor: pointer;
}

    .table-check-1 .inner {
        position: absolute;
        width: 100%;
        height: 100%;
        border-radius: 50px;
        border: 2px solid #e8e8e8;
        background: #F44336;
        transition: all 0.2s ease;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 12px;
        font-weight: bold;
        color: black;
    }

        .table-check-1 .inner::before {
            content: "Inactive"; /* Default text */
            position: absolute;
            width: 100%;
            /* text-align: center; */
            left: 37%;
            color: black;
            font-size: 10px;
            font-weight: bold;
            transition: all 0.3s ease;
            color: #ffffff;
            text-align: -webkit-auto !important;
        }

    .table-check-1 .bullet {
        position: absolute;
        width: 23px;
        height: 23px;
        background: #eee;
        border-radius: 50%;
        transition: all 0.3s ease;
        top: 3px;
        left: 4px;
        box-shadow: 0 3px 3px rgba(0, 0, 0, 0.15);
    }

    .table-check-1 input:checked ~ .inner {
        border: 2px solid #2ecc71;
        background: #2ecc71;
        color: white;
        transition: all 0.2s ease;
    }

        .table-check-1 input:checked ~ .inner::before {
            content: "Active"; /* Changes text when checked */
            color: white;
            left: 18%;
        }

    .table-check-1 input:checked ~ .bullet {
        left: 53px; /* Moves to the right */
        top: 2px;
    }
/*************end btn toggle  only for table***************/

.input_wrapper {
    position: relative;
}

.addingCalendarIcon {
    position: absolute;
    right: -2px;
    top: 5px;
    width: 30px;
    height: 30px;
    font-size: 1.2rem;
}

    .addingCalendarIcon:before {
        padding: 8px 0px 0px 4px;
    }

.datepicker {
    transform: translate(0, 3.1em);
}

.error-border {
    border: 1px #db7e7e solid !important;
}

.add-qual-container, .add-vacc-container {
    border: 1px solid #ebebeb;
    padding: 10px;
    margin-bottom: 5px;
    position: relative;
}

.delete-qual, .delete-vacc {
    position: absolute;
    background: none;
    color: #f30000;
    top: 5px;
    right: 5px;
    border: none;
    font-size: 1.2rem;
}

.jq-toast-single {
    border-radius: 5px;
    font-size: 15px !important;
    box-shadow: rgba(0, 0, 0, 0.54) 0px 32px 64px;
}

    .jq-toast-single h2 {
        font-size: 18px !important;
    }

.jq-toast-wrap {
    width: 20% !important;
}

.jq-has-icon {
    padding: 15px 10px 15px 50px !important;
    background-position: 12px !important;
}

.close-jq-toast-single {
    top: 7px;
    right: 7px;
    font-size: 26px;
}

.accordion-item {
    border-radius: 0px;
}

.accordion-button {
    padding: 8px !important;
}

textarea.form-control {
    padding: 13px !important;
    border: 1px solid #e9e9e9 !important;
}



/*******start content-table*************/
.content-table {
    border-collapse: collapse;
    /* margin: 0px 0 14px 0px; */
    font-size: 0.9em;
    min-width: 100%;
    overflow: hidden;
}

    .content-table thead tr {
        background-color: #ffffff;
        color: #000000;
        text-align: left;
        font-weight: 600;
        font-size: 13px;
    }

    .content-table th,
    .content-table td {
        padding: 8px 9px;
        border: 1px solid #e7e7e7;
    }

    .content-table tbody tr {
    }

        .content-table tbody tr:nth-of-type(even) {
            background-color: #f3f3f3;
        }

        .content-table tbody tr:last-of-type {
            /*border-bottom: 2px solid #233242;*/
        }

        .content-table tbody tr.active-row {
            font-weight: bold;
            color: #009879;
        }
/*******end content-table*************/



/*=============
    ===SELECT 2=======START=======
    ===============
*/


.select2-selection__rendered, #addIncidentHazardModal .select2-selection__rendered {
    line-height: 33px !important;
}

.select2-container .select2-selection--single, #addIncidentHazardModal .select2-container .select2-selection--single {
    display: block !important;
    height: 35px !important;
    white-space: nowrap !important;
    border-radius: 0px;
}

.select2-selection__arrow, #addIncidentHazardModal .select2-selection__arrow {
    height: 34px !important;
}

.select2-container--default .select2-selection--multiple {
    line-height: 16px !important;
    border-radius: 0px;
}

.select2-container--default .select2-selection--multiple {
    border-radius: 0px !important;
}

.select2-selection--multiple {
    overflow: hidden !important;
    height: auto !important;
}

    .select2-selection--multiple .select2-selection__rendered {
        line-height: 25px !important;
    }

.select2-container--default .select2-selection--multiple .select2-selection__choice {
    border: 0px solid #aaa !important;
    border-radius: 0px !important;
}

.select2-container--classic .select2-selection--multiple .select2-selection__choice, .select2-container--default .select2-selection--multiple .select2-selection__choice, .select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    background-color: #243141 !important;
    color: #f3f3f3 !important;
}

.select2-custom-drp-container {
    display: none !important;
}

.select2-selection__clear {
    display: none !important;
}

.custom-select2-form-elem .select2-container--default .select2-selection--multiple .select2-selection__choice {
    margin-right: 3px !important;
    margin-top: 3px !important;
    padding: 0 7px !important;
}

.custom-select2-form-elem .select2-container--default .select2-selection--multiple {
    line-height: 10px !important;
}

.custom-select2-form-elem .select2-container {
    width: 100% !important;
}

/*=============
    ===SELECT 2======END========
    ===============
*/

.position-req-label {
    font-weight: bolder;
    color: #8d8d8d;
}

.position-site-activity-sub-head {
    color: #8395a5;
    font-size: 13px;
    font-weight: 600;
    background: #f3f3f3;
    padding: 10px;
    width: auto;
    margin: 0;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: #11678e;
    color: white;
}

.emp-main-container {
    padding: 20px;
}

.graph-image {
    width: 318px;
    height: 250px;
    padding-left: 25px;
    text-align: center;
    object-fit: contain;
}

.btn-dashboard-buttons {
    width: 100%;
    margin: 10px 2px 5px 2px;
    padding: 10px 10px 10px 10px;
    text-align: left;
    font-weight: bold;
    font-size: larger;
}

.filter-main-cont {
    margin-top: 22px;
    margin-left: 8px;
}

.custom-filter-icon {
    float: right;
    padding: 16px 16px 0 0;
    color: #707070;
}

.select2-filter .select2-container--default .select2-selection--single .select2-selection__arrow b {
    margin-top: 2px !important;
}

.select2-filter .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 34px !important;
}

.select2-filter .select2-container .select2-selection--single {
    height: 34px !important;
}

.select2-filter .select2-container--default .select2-selection--single {
    border-radius: 0px !important;
}

/*=============
    ===SELECT 2=======START=======
    ===============
*/


.custom-select2-container .select2-selection__rendered, .custom-select2-container .select2-selection__rendered {
    line-height: 33px !important;
}

.custom-select2-container .select2-container .select2-selection--single, .custom-select2-container .select2-container .select2-selection--single {
    display: block !important;
    height: 35px !important;
    white-space: nowrap !important;
    border-radius: 0px;
}

.custom-select2-container .select2-selection__arrow, .custom-select2-container .select2-selection__arrow {
    height: 34px !important;
}

.custom-select2-container .select2-container--default .select2-selection--multiple {
    line-height: 0px !important;
    border-radius: 0px;
}

.custom-select2-container .select2-selection--multiple {
    overflow: hidden !important;
    height: auto !important;
}

    .custom-select2-container .select2-selection--multiple .select2-selection__rendered {
        line-height: 22px !important;
    }

.custom-select2-container .select2-container--default .select2-selection--multiple .select2-selection__choice {
    border: 0px solid #aaa !important;
    border-radius: 0px !important;
}

.custom-select2-container .select2-container--classic .select2-selection--multiple .select2-selection__choice,
.custom-select2-container .select2-container--default .select2-selection--multiple .select2-selection__choice,
.custom-select2-container .select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    background-color: #243141 !important;
    color: #f3f3f3 !important;
}

.select2-custom-drp-container {
    display: none !important;
}

.select2-selection__clear {
    display: none !important;
}


.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: #11678e !important;
    color: white !important;
}

/*=============
    ===SELECT 2======END========
    ===============
*/

.red-warning {
    color: #f41414;
}


.text-anim1 {
    letter-spacing: 0px;
    position: relative;
    /*   shorthand animation property: name | duration | iteration count */
    /*   animation: text 4s 1; */
    animation-name: text;
    animation-duration: 4s;
    animation-iteration-count: infinite;
}


@keyframes text {
    0% {
        color: black;
    }

    30% {
        letter-spacing: 0.5px;
        color: #ff0000
    }

    85% {
        letter-spacing: 1px;
    }

    100% {
        color: #e11c1c
    }
}

.animated-border {
    animation: pulse 2s ease-out infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0px rgb(237 237 237), 0 0 0 0px rgb(225 225 225 / 85%);
    }

    50% {
        transform: scale(0.95);
    }

    100% {
        box-shadow: 0 0 0 15px rgba(0,210,255,0),0 0 0 30px rgba(0,210,255,0);
    }
}

input.select2-search__field::placeholder {
    color: #cbcbcb;
    padding-left: 8px;
}


.font-10 {
    font-size: 10px;
}

.font-weight-bold {
    font-weight: 700 !important;
}

.label-bold-common {
    padding: 7px 0 7px 0;
    font-size: 13px;
    font-weight: 500;
    color: #012970;
    font-family: "Poppins", sans-serif;
}

.label-common-display {
    padding: 7px 0 7px 0;
}

.div-break {
    border-bottom: 1px solid #f6f6f6;
}

.dashboard-active {
    background: #233242;
    color: #fff !important;
}

    .dashboard-active .card-title {
        color: #fff !important;
    }


.dashboard-button:hover {
    cursor: pointer;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 20px 25px -5px, rgba(0, 0, 0, 0.04) 0px 10px 10px -5px;
}

.dashboard-button .card-body {
    padding: 0px 5px 15px 10px !important;
}

.dashboard-button .card-title {
    padding: 14px 0 0px 0 !important;
    font-size: 0.8rem;
}

.dashboard-button p {
    margin-bottom: 0rem !important;
    font-size: 0.75rem;
}

.dataTables_filter label {
    display: flex;
}

.dataTables_filter input {
    margin-bottom: 5px;
    margin-left: 10px;
}

.header-card-image {
    /*display: flex;*/
    /*align-items: center;*/
    padding: 0;
    height: 100%;
    margin: 0;
    padding-left: 15px;
    text-align: center;
}

    .header-card-image img {
        max-width: 65px;
    }

.header-card-body {
    height: 100%;
}

.logo-custom {
    width: 125px;
    height: 50px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.for-smallheader-title {
    margin-top: 20px;
}

.card-common {
    padding-left: 0;
}
.sidebar-nav .nav-link .bi-chevron-down:hover {
    color: #ffffff;
    background: #82a0ee;
}

#dropZone {
    position: relative;
    cursor: pointer;
    border: 2px dashed #ccc;
    background-color: #f8f9fa;
    transition: all 0.3s ease;
}

    #dropZone.dragover {
        border-color: #cff4fc !important;
        background-color: #e9e9e9 !important;
        box-shadow: 0 0 12px rgba(13, 110, 253, 0.3);
        border: 3px dashed !important;
    }

    #dropZone i {
        color: #0d6efd;
    }
.custom-tooltip {
    --bs-tooltip-bg: #ffffff;
    --bs-tooltip-color: #009688;
    font-size: 15px;
    max-width: 250px;
    white-space: normal;
    text-align: left;
    opacity: 0.9 !important;
}
    .custom-tooltip .tooltip-inner {
        text-align: left;
        max-width: 350px;
        width: 350px;
    }
        .custom-tooltip .tooltip-inner ul {
            margin-bottom: 0;
            padding: 5px 2rem;
        }

.company-bottom-card {
    border: 2px solid #2196F3;
}
.company-label{
    text-align:right;
}

.position-req-span {
    background: #f1f1f1;
    padding: 5px 15px;
    margin: 2px;
    color: #6d6464;
    border-radius: 10px;
    display: inline-block;
    font-size: 13px;
}
span.position-req-span:hover {
    background: #e1e1e1;
}

.upload-label {
    font-weight: 500;
    font-size: 16px;
    margin-right: 10px;
    display: inline-block;
}

.upload-container {
    display: inline-flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 0px;
    padding: 2px 5px;
    background-color: #fff;
    cursor: pointer;
    position: relative;
    max-width: 240px;
    width: 100%;
    justify-content: space-between;
}

.upload-text {
    margin-left: 5px;
    color: #aaa;
    font-size: 14px;
    pointer-events: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 160px;
}

.upload-icon {
    color: #448ccb;
    font-size: 20px;
    margin-left: 5px;
    pointer-events: none;
}

.upload-input {
    opacity: 0;
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    cursor: pointer;
}

.styled-placeholder::placeholder {
    color: #e1e1e1;
    letter-spacing: 1.5px;
    opacity: 1;
}

.date-input-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
}

.calendar-icon {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    font-size: 22px;
    color: #448ccb;
}
.delete-container a {
    display: block;
    float: right;
    width: 15px;
    right: 35px;
}
.p-l-0 {
    padding-left: 0;
    padding-right: 9px;
}

.content-table.custom-table th, .content-table.custom-table td {
    border: 1px solid #b9b9b9;
}
.modal-backdrop.show{
    opacity:0.9 !important;
}