/*
Theme Name: ME WESguard
Author: ModernEarth | Julius Garcia
Author URI: https://www.modernearth.net/
Description: A custom WordPress theme with a responsive grid system.
Version: 1.0
Text Domain: me-wesguard
*/

/* General Styles */
html, body {
    height: 100%;
    margin: 0;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    color: #787878;
    background: #F4F9FF;
}

body {
    display: flex;
    flex-direction: column;
}

#page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

#main-content-wrapper {
    flex: 1 0 auto;
}


/* Footer Styles */
footer {
    background-color: #797979;
    color: #fff;
    text-align: center;
    padding: 1rem 0;
    flex-shrink: 0;
}

footer p {
    margin: 0;
}



.me-page-header{
    background-color: #709c46;
    /* background: url(images/inventory_top.jpg); */
    background-size: cover;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.me-page-header h2{
    color: white;
    font-size: 2.2rem;
}

.me-page-content{
    background-image: url(images/inventory_bg.jpg);
    background-size: cover;
    padding-top: 1rem;
    padding-bottom: 1rem;
    min-height: 100%;
}


.me-box-item-wrapper{
    padding: 1rem;
    border-radius: 4px;
    background-color: #fff;
    border: 1px solid #ededed;
    margin-bottom: 1.5rem;
}

.me-box-item-wrapper .headings{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: .8rem;
    margin-bottom: 1.2rem;
}

.me-box-item-wrapper .headings h4 {
    border-bottom: 3px solid #29d985;
    width: 25%;
    padding-bottom: 8px;
    margin-bottom: 8px;
}

.me-box-item-wrapper .filter-item{
    position: relative;
    margin-bottom: 25px;
}

.me-box-item-wrapper a.me-link-clear-filters{
    margin-bottom: 8px;
    color: #006D8E;
    text-decoration: none;
    font-size: 0.9rem;
}

.me-box-item-wrapper a.me-link-clear-filters:hover{
    margin-bottom: 8px;
    color: #1698d4;
    text-decoration: underline;
}

.me-box-item-wrapper .filter-item select {
    display: inline-block;
    border-radius: 4px;
    border: 1px solid #ededed;
    padding: 6px;
    cursor: pointer;
    color: #787878;
    text-overflow: ellipsis;
    width: 100%;
    margin: 0;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;    
}


.me-box-item-wrapper .filter-item button.refresh_button {

    content: "";
    border: 0;
    background: none;
    width: 14px;
    height: 14px;
    background-image: url(images/icons/R_grey.svg);
    background-size: contain;
    background-repeat: no-repeat;
}
.me-box-item-wrapper .filter-item label{
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
}

.flex-center {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    gap: 10px;
}

.justify-center {
    justify-content: center; 
}








.me-inventory-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

@media (max-width: 1200px) {
    .me-inventory-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .me-inventory-content {
        grid-template-columns: 1fr;
    }
}

.me-box-item-wrapper {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 20px;
    margin-bottom: 20px;
}

.me-box-item-wrapper h4 {
    margin-top: 0;
}

.me-box-item-wrapper p {
    margin: 5px 0;
}

.pagination {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.pagination a {
    padding: 5px 12px;
    margin: 0 5px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    color: #333;
    font-size: 0.9rem;
    transition: background-color .3s;
}

.pagination a:hover,
.pagination a.current-page {
    background-color: #709c46;
    color: #fff;
}

.pagination a.first-page,
.pagination a.prev-page,
.pagination a.next-page,
.pagination a.last-page {
    font-weight: bold;
}

.me-page-nums-wrapper{
    text-align: right;
}

.me-page-nums-wrapper select {
    display: inline-block;
    border-radius: 4px;
    border: 1px solid #ededed;
    padding: 6px;
    cursor: pointer;
    color: #787878;
    text-overflow: ellipsis;
    margin: 0;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
}

.order-by-wrapper {
    margin: 0;
    padding: 16px;
    list-style-type: none;
    display: flex;
    flex-flow: column wrap;
    justify-content: space-between;
    /* border-radius: 4px; */
    background-color: #fff;
    /* border: 1px solid #ededed; */
    flex-flow: row;
    margin-bottom: 15px;
    background: rgb(255, 255, 255);
    background: -moz-linear-gradient(top, rgba(255, 255, 255, 1) 0%, rgba(215, 215, 215, 1) 100%);
    background: -webkit-linear-gradient(top, rgba(255, 255, 255, 1) 0%, rgba(215, 215, 215, 1) 100%);
    background: linear-gradient(to bottom, rgb(255,255,255) 0%, rgb(215, 215, 215) 100%);
}

.order-by-wrapper label {
    display: inline-block;
    font-weight: 500;
    border: none;
    background: none;
    position: relative;
    font-size: 0.9rem;
    cursor: pointer;
}

.order-by-wrapper label:first-child{
    padding-right: 35px;
}
.order-by-wrapper label:last-child{
    padding-right: 35px;
}


.order-by-wrapper label input {
    opacity: 0;
    position: absolute;
}

@media (max-width: 768px) {
    .order-by-wrapper {
        flex-flow: wrap;
    }
    .order-by-wrapper label{
        padding-right: 15px;
    }
    .order-by-wrapper label:first-child{
        padding-right: inherit;

    }
    .order-by-wrapper label:last-child{
        padding-right: inherit;
    }    
}

.order-by-wrapper .order-by-icon {
    position: relative;
}

.order-by-wrapper .order-by-icon:before, .order-by-wrapper .order-by-icon:after {
    position: absolute;
    width: 0;
    height: 0;
    content: " ";
    left: 0;
    top: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;    
    left: 4px;    
}

.order-by-wrapper .order-by-icon:before {
    border-bottom: 4px solid #787878;
    top: 6px;
}

.order-by-wrapper .order-by-icon:after {
    border-top: 4px solid #787878;
    top: 12px;
}

.order-by-wrapper .order-by-icon.asc:before {
    border: 0;
}

.order-by-wrapper .order-by-icon.desc:after {
    border: 0;
}


.me-box-item-wrapper.box-highlight{
    border: 8px solid transparent;
    padding: 5px 10px;
}

.me-box-item-wrapper.box-highlight.gray, .me-box-item-wrapper.box-highlight .gray {
    border-image: linear-gradient(to right, #999, #ccc) 1;
}

.me-box-item-wrapper.box-highlight.green, .me-box-item-wrapper.box-highlight .green  {
    border-image: linear-gradient(to right, #2FBF71, #8CE6A4) 1;
}

.me-box-item-wrapper.box-highlight.orange, .me-box-item-wrapper.box-highlight .orange {
    border-image: linear-gradient(to right, orange, #FFD580) 1;
}

.me-box-item-wrapper.box-highlight.red, .me-box-item-wrapper.box-highlight .red {
    border-image: linear-gradient(to right, #EF2D56, #FF6B82) 1;
}

.me-box-item-wrapper.box-highlight.yellow, .me-box-item-wrapper.box-highlight .yellow {
    border-image: linear-gradient(to right, #f4f400, #FFFF99) 1;
}

.me-box-item-wrapper.box-highlight h4.title{
    margin-top: 10px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    font-weight: 600;
    font-size: 1.3rem;
    border-bottom: 1px solid #ddd;
    min-height: 68px;
    align-content: center;
    text-align: center;
}

.me-box-item-wrapper.box-highlight h4.title.gray {
    border-color: #999;
}
.me-box-item-wrapper.box-highlight h4.title.green  {
    border-color: #2FBF71;
}
.me-box-item-wrapper.box-highlight h4.title.orange {
    border-color: orange;
}
.me-box-item-wrapper.box-highlight h4.title.red {
    border-color: #EF2D56;
}
.me-box-item-wrapper.box-highlight h4.title.yellow {
    border-color: #f4f400;
}

.me-box-item-wrapper .image{
    position: relative;
    display: block;
    width: 100%;
    height: 200px;
    border-bottom: 0;
    cursor: pointer;
}

.me-box-item-wrapper.box-highlight strong{
    font-weight: 600;
}
.me-box-item-wrapper.box-highlight .me-box-item-label {
    font-size: .9rem;
    margin-bottom: .5rem;
}
.me-box-item-wrapper.box-highlight .me-box-item-label label{
    font-weight: 600;
    display: block;
}
.me-box-item-wrapper.box-highlight .me-box-item-label span{
    display: block;
    margin-left: 10px;
}


.me-action-toolbar{
    font-size: 0.9rem;
    text-align: right;
    padding: 10px 0px 5px;
}
.me-action-toolbar a{
    text-decoration: none;
    color: #006D8E;
}


.me-inventory-details-wrapper .title{
    margin-top: 15px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    font-weight: 600;
    border-bottom: 1px solid #ddd;
    min-height: 68px;
    align-content: center;
    text-align: center;
}
.me-inventory-details-wrapper strong{
    font-weight: 600;
}
.me-inventory-details-wrapper .me-box-item-label {
    font-size: .9rem;
    margin-bottom: .5rem;
}
.me-inventory-details-wrapper .me-box-item-label label{
    font-weight: 600;
    display: block;
}
.me-inventory-details-wrapper .me-box-item-label span{
    display: block;
    margin-left: 10px;
}



.background-image {
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.background-image {
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.me-score-wrapper {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid #ddd;
    padding-top: 10px;
    margin-top: 10px;
}

.me-score-item {
    flex: 1;
    text-align: center;
    padding: 10px;
    position: relative;
}

.me-score-item:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 10%;
    bottom: 10%;
    width: 1px;
    background-color: #ddd;
}

.me-score-item label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
    font-size: .6rem;
}

.me-score-item span {
    font-size: 1em;
}



.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.9);
    transition: opacity 0.5s ease;
    opacity: 0;
}

.lightbox-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
}

.lightbox.show {
    display: block;
    opacity: 1;
}

.lightbox-close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.lightbox-close:hover,
.lightbox-close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

.image {
    position: relative;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.magnifier {
    font-size: 2em;
    color: white;
}

.background-image:hover .overlay {
    opacity: 1;
}



.action-menu {
    position: relative;
    display: inline-block;
}

.action-menu-toggle {
    /* background: url(images/icons/action-items.svg) no-repeat center center; */
    background-size: contain;
    background: #ededed;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    width: 24px;
    height: 24px;
    margin-bottom: 5px;
    padding: 0;
}

.action-menu-toggle:hover {
    font-weight: bold;
    background: #bdbdbd;
}

.action-menu-content {
    display: none;
    position: absolute;
    left: 0%;  /* Position the menu to the right of the button */
    top: 0;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.action-menu-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: flex; /* Use flexbox for alignment */
    align-items: center; /* Align items vertically */
}

.action-menu-content a:hover {
    background-color: #f1f1f1;
}

.action-menu-content .link-icon {
    margin-right: 8px; /* Add space between the icon and the text */
    width: 16px; /* Adjust the size as needed */
    height: 16px; /* Adjust the size as needed */
}

.action-menu.show .action-menu-content {
    display: block;
}


.me-action-menu-link .link-icon{
    width: 15px;
}



/* General form styling */
.me-form-group {
    margin-bottom: 1rem;
}

.me-form-label {
    display: inline-block;
    margin-bottom: 0.2rem;
    font-weight: 600;
    font-size: 0.9rem;
}

.me-btn {
    display: inline-block;
    font-weight: 400;
    color: #212529;
    text-align: center;
    vertical-align: middle;
    user-select: none;
    background-color: transparent;
    border: 1px solid transparent;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 0.25rem;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.me-btn-primary {
    color: #fff;
    background-color: #007bff;
    border-color: #007bff;
}

.me-btn-primary:hover {
    color: #fff;
    background-color: #0069d9;
    border-color: #0062cc;
}

.me-btn-primary:focus, .me-btn-primary.focus {
    color: #fff;
    background-color: #0069d9;
    border-color: #0062cc;
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,.5);
}

.me-btn-primary:disabled, .me-btn-primary.disabled {
    color: #fff;
    background-color: #007bff;
    border-color: #007bff;
    opacity: 0.65;
}

/* Specific styling for input fields */
.me-form-control,
.me-form-control-file,
.me-form-control-select {
    display: block;
    width: 100%;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    min-height: 38px;
}

.me-form-control:focus,
.me-form-control-file:focus,
.me-form-control-select:focus {
    color: #495057;
    background-color: #fff;
    border-color: #80bdff;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25);
}

.me-form-control-textarea {
    display: block;
    width: 100%;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    min-height: 38px;
}

.me-form-control-textarea:focus {
    color: #495057;
    background-color: #fff;
    border-color: #80bdff;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25);
}




.me-form-control-file {
    display: block;
    width: 100%;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 0px solid #ced4da;
    border-radius: 0.25rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.me-btn {
    display: inline-block;
    text-decoration: none;
    font-size: 1rem;
    line-height: 2.15384615;
    min-height: 30px;
    margin: 0;
    padding: 0 10px;
    cursor: pointer;
    border-width: 1px;
    border-style: solid;
    -webkit-appearance: none;
    border-radius: 3px;
    white-space: nowrap;
    box-sizing: border-box;
}

.me-btn-small {
    display: inline-block;
    text-decoration: none;
    font-size: 0.8rem;
    line-height: 2.15384615;
    min-height: 30px;
    margin: 0;
    padding: 0 10px;
    cursor: pointer;
    border-width: 1px;
    border-style: solid;
    -webkit-appearance: none;
    border-radius: 3px;
    white-space: nowrap;
    box-sizing: border-box;
}

.me-btn.me-btn-primary, .me-btn-small.me-btn-primary {
    background: #2271b1;
    border-color: #2271b1;
    color: #fff;
    text-decoration: none;
    text-shadow: none;
    font-weight: 400;
    padding: 5px 20px;
}

.me-btn.me-btn-cancel, .me-btn-small.me-btn-cancel {
    background: #8e8d8d;
    border-color: #8e8d8d;
    color: #fff;
    text-decoration: none;
    text-shadow: none;
    font-weight: 400;
    padding: 5px 20px;
}

.me-btn.me-btn-secondary, .me-btn-small.me-btn-secondary {
    background: #77a84c;
    border-color: #77a84c;
    color: #fff;
    text-decoration: none;
    text-shadow: none;
    font-weight: 400;
    padding: 5px 20px;
}

.me-btn.me-btn-cancel:hover, .me-btn-small.me-btn-cancel:hover {
    background: #666666;
    border-color: #666666;
    color: #fff;
}
.me-btn.me-btn-primary:hover, .me-btn-small.me-btn-primary:hover {
    background: #18588d;
    border-color: #18588d;
    color: #fff;
}

.me-btn.me-btn-secondary:hover, .me-btn-small.me-btn-secondary:hover {
    background: #587220;
    border-color: #587220;
    color: #fff;
}






/* Add these styles to your stylesheet */
.me-table {
    width: 100%;
    border-collapse: collapse;
}

.me-table th, .me-table td {
    padding: 10px;
    font-size: .9rem;
    border: 1px solid #ddd;
    text-align: left;
}

.me-table.text-small th{

}

.me-table.text-small th, .me-table.text-small td {
    padding: 10px;
    font-size: .8rem;
    border: 1px solid #ddd;
    text-align: left;
}

.me-table th {
    background-color: #f9f9f9;
    cursor: pointer;
}

.me-table th i {
    margin-left: 5px;
}

.me-table th i.fa-unsorted {
    color: #ccc;
}

.me-table th i.fa-sort-asc, .me-table th i.fa-sort-desc {
    color: #333;
}

.me-table td a {
    color: #006D8E;
    text-decoration: none;
}

.me-table td a:hover {
    text-decoration: underline;
}

.me-table td.table-icons .link-icon{
    padding-right: 2px;
}
/* 
.me-table td.table-icons{
    padding: 0px 5px 0px 0px ;
} */

.me-table th, .me-table td.flex-start{
    align-content: flex-start;
}


.me-table th.vertical-header {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    text-align: center;
    white-space: nowrap;
    padding: 10px;
    vertical-align: middle;
}


.table-icons a {
    color: #333;
    text-decoration: none;
}

.table-icons a:hover {
    color: #007bff;
}

.me-toolbar-wrapper{
    margin-bottom: 15px;
}


.me-range-bar-wrapper{
    padding: 0rem 1rem 0.3rem;
}

#min_value, #max_value {
    font-weight: bold;
    padding: 0 10px;
}


.me-dashboard-wrapper {
    padding: 20px;
    background-color: #f9f9f9;
}


.dashboard-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
}

.dashboard-metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    border-top: 1px solid #e0e0e0;
    border-left: 1px solid #e0e0e0;
}

.dashboard-metric {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background-color: #fff;
    border-right: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
}

.metric-title {
    font-size: 14px;
    color: #666;
}

.metric-value {
    font-size: 24px;
    font-weight: bold;
    color: #4caf50;
    margin-top: 10px;
}

#chart_div {
    width: 100%;
    height: 400px;
    margin-top: 20px;
}

#chart_div text {
    text-align: center;
}

span.required{
    font-size: 75%;
    color: #B91E2D;
    vertical-align: text-top;
    margin: 0 0 0 6px;
    line-height: 65%;
}


.me-inner-table-wrapper{
    margin-left:-15px;
    margin-right:-15px;
}




/* Lightbox for questions */
.question-lightbox {
    display: none;
    position: fixed;
    z-index: 1000;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
}

.question-lightbox-content {
    background-color: #fefefe;
    margin: 5% auto;
    border: 1px solid #888;
    width: 80%;
    max-width: 1200px;
}

.question-lightbox-close {
    color: #aaa;
    float: right;
    font-size: 34px;
    font-weight: 400;
    margin-top: -50px;
    margin-right: -18px;
}

.question-lightbox-close:hover,
.question-lightbox-close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.question-lightbox-toolbar {
    display: flex;
    justify-content: space-between;
}

.question-lightbox-toolbar{
    background: #F2F5F7;
    width: 100%;
    padding: .8rem 1rem;
    margin-top: -10px;
}

.question-lightbox-content-wrapper{
    padding: 25px 25px;
}

.question-lightbox-content-title-wrapper{
    text-align: center;
    margin-bottom: 1rem;
}

.me-accordion-item {
    border-bottom: 1px solid #ddd;
    padding: 10px 5px;
}

.me-accordion-header {
    cursor: pointer;
    padding: 10px 0px 10px 0px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: #709c46;
    text-transform: uppercase;
    font-size: 1.6rem;
}
.me-accordion-header .step-number{
    font-size: 1.8rem;
    font-weight: bold;
}

.me-accordion-content {
    display: none;
    padding: 10px;
    border-top: none;
}

.me-btn-next, .me-btn-prev {
    margin-top: 10px;
    padding: 5px 10px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.me-btn-prev {
    background-color: #6c757d;
}

.me-btn-next:hover, .me-btn-prev:hover {
    background-color: #0056b3;
}

.chevron {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 13.1l-8-8 2.1-2.2 5.9 5.9 5.9-5.9 2.1 2.2z'/%3E%3C/svg%3E");
    height: 16px;
    width: 16px;
    transition: transform 0.3s ease;
}

.active .chevron {
    transform: rotate(180deg);
}

.me-accordion-btn-wrapper{
    text-align: right;
    padding: 15px 0;
    margin-left:-15px;
    margin-right:-15px;
}
.me-description-wrapper{
    padding: 1.5rem 1rem 1rem;
}
.me-additional-action-wrapper{
    border-top: solid 7px #DBDBDB;
    padding: 2.5rem 1rem 1rem;
    margin-top: 2.5rem;
}

/* The switch - the box around the slider */
  .switch {
    position: relative;
    display: inline-block;
    width: 34px;
    height: 20px;
  }
  
  /* Hide default HTML checkbox */
  .switch input {
    opacity: 0;
    width: 0;
    height: 0;
  }
  
  .status-label{
    min-width: 60px;
    text-align: left;
    display: inline-block;
  }
  
  /* The slider */
  .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ff4040;
    transition: .4s;
    border-radius: 20px;
  }
  
  .slider:before {
    position: absolute;
    content: "";
    height: 14px;
    width: 14px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
  }
  
  /* When the checkbox is checked, add a blue background */
  input:checked + .slider {
    background-color: #05d156;
  }
  
  /* Move the slider when checked */
  input:checked + .slider:before {
    transform: translateX(14px);
  }
  
  /* Rounded sliders */
  .slider.round {
    border-radius: 20px;
  }
  
  .slider.round:before {
    border-radius: 50%;
  }
  

  .me-upload-wrapper{
    padding: 1.5rem 0 1rem;
  }
  .me-upload-wrapper label{
    display: block;
  }
  

.risk-type-wrapper{

}
  
.risk-type-wrapper h3{
    margin-bottom: 1.5rem;
}

.risk-rating-wrapper{
    margin-top: 2.5rem;
    padding-top: 2.5rem;
    border-top: solid 7px #DBDBDB;
}  

  
.risk-rating-wrapper h3{
    margin-bottom: 1.5rem;
}

.risk-type-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    border-top: 1px solid #e0e0e0;
    border-left: 1px solid #e0e0e0;
}

.risk-type-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background-color: #fff;
    border-right: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
}

.risk-type-box .metric-title {
    font-size: 1rem;
    color: #666;
}

.risk-type-box .metric-value {
    font-size: 24px;
    font-weight: bold;
    color: #333333;
    margin-top: 10px;
}

.risk-rating-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    background-color: #fff;
    border: 1px solid #e0e0e0;
    width: 100px;
    margin: 0 auto;
    font-size: 2.4em;
    font-weight: 700;
    text-align: center;
    background: #BCC1AE;
    color: #fff;
}


.me-audit-accordion-item {
    border: 1px solid #ddd;
    padding: 0px;
    margin-bottom: 15px;
}

.me-audit-accordion-header {
    cursor: pointer;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #e3e3e3;
    text-transform: uppercase;
    color: #000000;
    font-weight: bold;
    font-size: 1.3rem;
}

.me-audit-accordion-content {
    display: none;
    padding: 10px;
    border-top: none;
}

.audit-chevron {
    transition: transform 0.3s ease;
}

.audit-chevron.active {
    transform: rotate(180deg);
}


.me-safety-question-item-wrapper{
    padding: 10px 20px;
    background-color: #fff;
    border: 1px solid #e0e0e0;
    margin-bottom: 1rem;
}

.me-safety-question-item-wrapper .me-safety-question{
    padding: 10px 0px;
    background-color: #fff;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 15px;
    font-weight: 600;
}

.me-safety-question-item-wrapper .me-safety-description{
    padding: 10px 0px;
    margin-bottom: 15px;
}

.me-safety-result-wrapper{
    text-align: right;
    padding: 10px 0px;
}

.me-safety-question-item-wrapper .me-safety-result-wrapper{
    font-size: .9em;
    font-weight: 700;
    text-align: right;
    text-transform: uppercase;
}
.me-safety-question-item-wrapper .me-safety-result-wrapper .result-pass{
    color: #00A151;
}
.me-safety-question-item-wrapper .me-safety-result-wrapper .result-fail{
    color: #B91E2D;
}





/* [+] Lightbox AUDIT FORMS */
.audit-form-lightbox {
    display: none;
    position: fixed;
    z-index: 1000;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
}

.audit-form-lightbox-content {
    background-color: #fefefe;
    margin: 5% auto;
    border: 1px solid #888;
    width: 90%;
    max-width: 1200px;
}

.audit-form-lightbox-close {
    color: #aaa;
    float: right;
    font-size: 34px;
    font-weight: 400;
    margin-top: -50px;
    margin-right: -18px;
}

.audit-form-lightbox-close:hover,
.audit-form-lightbox-close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.audit-form-lightbox-toolbar {
    display: flex;
    justify-content: space-between;
}

.audit-form-lightbox-toolbar{
    background: #F2F5F7;
    width: 100%;
    padding: .8rem 1rem;
    margin-top: -10px;
}

.audit-form-lightbox-content-wrapper{
    padding: 25px 25px;
}

.audit-form-lightbox-content-title-wrapper{
    text-align: center;
    margin-bottom: 1rem;
}


.audit-form-lightbox-inner-title{
    border-bottom: solid 7px #DBDBDB;
    padding: 2rem 1rem;
}

.audit-form-lightbox-inner-content{
    padding: 2.5rem 2.5rem;
}

/* [-] Lightbox AUDIT FORMS */





/* [+] Lightbox Request Inspection FORMS */
.request-inspection-lightbox {
    display: none;
    position: fixed;
    z-index: 1000;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
}

.request-inspection-lightbox-content {
    background-color: #fefefe;
    margin: 5% auto;
    border: 1px solid #888;
    width: 90%;
    max-width: 1200px;
}

.request-inspection-lightbox-close {
    color: #aaa;
    float: right;
    font-size: 34px;
    font-weight: 400;
    margin-top: -50px;
    margin-right: -18px;
}

.request-inspection-lightbox-close:hover,
.request-inspection-lightbox-close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.request-inspection-lightbox-toolbar {
    display: flex;
    justify-content: space-between;
}

.request-inspection-lightbox-toolbar{
    background: #F2F5F7;
    width: 100%;
    padding: .8rem 1rem;
    margin-top: -10px;
}

.request-inspection-lightbox-content-wrapper{
    padding: 25px 25px;
}

.request-inspection-lightbox-content-title-wrapper{
    text-align: center;
    margin-bottom: 1rem;
}


.request-inspection-lightbox-inner-title{
    border-bottom: solid 7px #DBDBDB;
    padding: 2rem 1rem;
}

.request-inspection-lightbox-inner-content{
    padding: 2.5rem 2.5rem;
}

/* [+] Lightbox Request Inspection FORMS */



/* [+] Lightbox New Department FORMS */
.new-department-lightbox {
    display: none;
    position: fixed;
    z-index: 1000;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
}

.new-department-lightbox-content {
    background-color: #fefefe;
    margin: 5% auto;
    border: 1px solid #888;
    width: 90%;
    max-width: 1200px;
}

.new-department-lightbox-close {
    color: #aaa;
    float: right;
    font-size: 34px;
    font-weight: 400;
    margin-top: -50px;
    margin-right: -18px;
}

.new-department-lightbox-close:hover,
.new-department-lightbox-close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.new-department-lightbox-toolbar {
    display: flex;
    justify-content: space-between;
}

.new-department-lightbox-toolbar{
    background: #F2F5F7;
    width: 100%;
    padding: .8rem 1rem;
    margin-top: -10px;
}

.new-department-lightbox-content-wrapper{
    padding: 25px 25px;
}

.new-department-lightbox-content-title-wrapper{
    text-align: center;
    margin-bottom: 1rem;
}


.new-department-lightbox-inner-title{
    border-bottom: solid 7px #DBDBDB;
    padding: 2rem 1rem;
}

.new-department-lightbox-inner-content{
    padding: 2.5rem 2.5rem;
}

/* [+] Lightbox New Department FORMS */


.hidden{
    display: none;
}


.collapse-button {
    position: absolute;
    top: 0px;
    right: -1px;
    background: #fff;
    border: 1px solid #ccc;
    cursor: pointer;
    padding: 5px;
    width: 30px;
    height: 30px;
    border-radius: 50px;
    z-index: 999;
}

.collapse-button .chevron{
    display: block;
    transform: rotate(90deg);
}

#me-inventory-sidebar-wrapper.collapsed {
    flex: auto;
    width: 1px;
    max-width: 1px;
    margin-right: 15px;
    padding: 0;
    border: 3px dashed #ddd;
    border-radius: 4px;
}

#me-inventory-sidebar-wrapper.collapsed .me-box-item-wrapper{
    display: none;
}

#me-inventory-sidebar-wrapper.collapsed .collapse-button{
    right: -15px;
    padding: 5px 8px;
    top: -4px;
}


#me-inventory-sidebar-wrapper.collapsed .collapse-button .chevron{
    display: block;
    transform: rotate(270deg);
}

#me-inventory-container-wrapper.full-width {
    flex: auto !important;
    width: 98% !important;
    max-width: 98% !important;
}

#me-inventory-container-wrapper .collapse-button {
    left: -25px;
}

#me-inventory-sidebar-wrapper{
    position: relative;
}


.sidebar-hidden{

}









/* Login Page Styling */
.login-page-container {
    max-width: 700px;
    margin: 0 auto;
    padding: 30px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.login-page-container input[type="text"],
.login-page-container input[type="password"],
.login-page-container input[type="submit"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 4px;
    border: 1px solid #ddd;
}

.login-page-container input[type="submit"] {
    background-color: #0073aa;
    color: #fff;
    cursor: pointer;
}

.login-page-container input[type="submit"]:hover {
    background-color: #005177;
}

/* Forgot Password Page Styling */
.forgot-password-container {
    max-width: 400px;
    margin: 0 auto;
    padding: 30px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.forgot-password-container h2 {
    font-size: 24px;
    margin-bottom: 15px;
}

.forgot-password-container p {
    margin-bottom: 20px;
    font-size: 16px;
    color: #555;
}

.forgot-password-container label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    text-align: left;
}

.forgot-password-container input[type="text"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.forgot-password-container input[type="submit"] {
    background-color: #0073aa;
    color: #fff;
    border: none;
    padding: 12px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    width: 100%;
}

.forgot-password-container input[type="submit"]:hover {
    background-color: #005177;
}

.error-message {
    color: #d9534f;
    background-color: #f2dede;
    border: 1px solid #ebccd1;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.success-message {
    color: #3c763d;
    background-color: #dff0d8;
    border: 1px solid #d6e9c6;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 20px;
}
.back-to-login {
    margin-top: 20px;
    text-align: center;
}

.back-to-login a {
    color: #0073aa;
    text-decoration: none;
    font-size: 16px;
}

.back-to-login a:hover {
    color: #005177;
    text-decoration: underline;
}




.company-select-container {
    max-width: 700px;
    margin: 0 auto;
    padding: 1rem 0;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 38px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 38px;
}



.search-wrapper{
    display: flex;
    align-items: center;    
}
.search-wrapper span.icon-wrapper{
    display: block;
    margin-left: -30px;   
    cursor: pointer;
}
.search-wrapper span.icon-wrapper:hover{
    color: #709c46;
}

