@font-face {
    font-family: 'Avenir';
    src: url('fonts/Avenir-Black.eot');
    src: url('fonts/Avenir-Black.eot?#iefix') format('embedded-opentype'), url('fonts/Avenir-Black.svg#Avenir-Black') format('svg');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Avenir';
    src: url('fonts/Avenir-Medium.eot');
    src: url('fonts/Avenir-Medium.eot?#iefix') format('embedded-opentype'), url('fonts/Avenir-Medium.svg#Avenir-Medium') format('svg');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

/* General styles */

body {
    font-family: 'Avenir', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: #F4F9FC;
}

main:not(.active) {display: none;}

.logo {
    height: 50px;
    width: 170px;
}

header h1 {
    margin-left: 20px;
    font-size: 24px;
    color: #343a40;
}

.sidebar {
    background-color: #343a40;
    color: white;
    padding-top: 20px;
    position: fixed;
    height: 100vh;
    width: 15%;
    top: 0;
    left: 0;
    overflow-y: auto;
}

.sidebar .nav-link {
    color: rgb(0, 0, 0);
    font-size: 14px;
    padding: 10px 20px;
    display: flex;
    align-items: center;
}

.sidebar .nav-link i {
    margin-right: 10px;
}

.sidebar .nav-link.active {
    background-color: #e9ecef;
    color: #007bff;

}
.nav-pills {
    --bs-nav-pills-border-radius: 0.375rem;
    --bs-nav-pills-link-active-color: #fff;
    --bs-nav-pills-link-active-bg: #41464b;
}
.nav-pills .nav-link.active, .nav-pills .show>.nav-link{
    fill: #fff;
}
.list-group {
    --bs-list-group-color: #212529;
    --bs-list-group-bg: #fff;
    --bs-list-group-border-color: rgba(0, 0, 0, 0.125);
    --bs-list-group-border-width: 1px;
    --bs-list-group-border-radius: 0.375rem;
    --bs-list-group-item-padding-x: 1rem;
    --bs-list-group-item-padding-y: 0.5rem;
    --bs-list-group-action-color: #495057;
    --bs-list-group-action-hover-color: #495057;
    --bs-list-group-action-hover-bg: #f8f9fa;
    --bs-list-group-action-active-color: #212529;
    --bs-list-group-action-active-bg: #e9ecef;
    --bs-list-group-disabled-color: #6c757d;
    --bs-list-group-disabled-bg: #fff;
    --bs-list-group-active-color: #fff;
    --bs-list-group-active-bg: #41464b;
    --bs-list-group-active-border-color: #41464b;
}
/* Info Box Section Start here */
body .left-dropdownselect{display: none; width: 50%;}
body.active-product .left-dropdownselect{display: block;}
.left-dropdownselect .form-label{
    width: 100px;
    float: left;
    margin-bottom: 0;
    }
.left-dropdownselect .form-select{
    width: calc(100% - 100px);
}
.mian-infobox{
    margin-left: -10px;
    margin-right: -10px;
    display: flex;
}
.info{
    width: 25%;
    float: left;
    padding: 0 10px;
}


.info-box{
    padding: 20px;
    border-radius: 5px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.violations-info-box {
    background-color: #ffe1e6;
}
.incomplete-info-box {
    background-color: #fff5df;
    
}
.inapplicable-info-box {
    background-color: #daecfc;
  
}

.passes-info-box {
    background-color: #ddf3f2;
}

.info-box .title {
    font-size: 16px;
    font-weight: 400;
}
.info-box .count {
    font-size: 20px;
    font-weight: bold;
    color: #333;
}
.box .row {
    height: 100%;
}
/*Info Box section end here */


/* Chart Css start here*/
.pie-box {
    display: flex;
}
.chart-legend {
    width: 20%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-right: 10px;
}
.chart-container {
    width: 80%;
}
.chart-legend ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.chart-legend li {
    display: flex;
    align-items: center;
}
.chart-legend li span {
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-right: 10px;
}
/* Chart Css End here*/

.main-content {
    margin-left: 15%;
    padding: 0px, 20px;
    min-height: calc(100vh - 60px);
}

.left-section {
    /* background-color: #ffffff;
    padding: 20px;
    border-radius: 5px;
    height: 100%; */
    height: 100%;
}

.table-custom {
    background-color: white;
}
.table-custom tbody tr {
    background-color: white;
}
.table-custom tbody tr:hover {
    background-color: lightgray; 
}

.left-section .tablebox{
    text-align: center;
    position: relative;
    overflow: scroll;
    height: calc(100% - 34px);
}

.pie-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #ffffff;
    border-radius: 5px;
    padding: 10px;
}

.pie-box h3 {
    margin-bottom: 10px;
}

.pie-chart-container {
    position: relative;
    width: 100%;
    height: calc(100% - 40px);
    /* Adjust height to account for title and padding */
}

.violation-list {
    list-style: none;
    padding: 0;
    margin-top: 0;
    /* Remove top margin */
}

.violation-list li {
    display: flex;
    align-items: center;
    /* Vertically center the items */
    justify-content: space-between;
    /* Ensure the anchor and span are spaced out */
    margin-bottom: 10px;
    background-color: #f8f9fa;
    /* Example background color */
    padding: 10px;
    border-radius: 5px;
}

.violation-list li:hover {
    background-color: #343a40;
}

.violation-list p {
    margin-bottom: 0px;
}

.violation-link {
    text-decoration: none;
    color: #343a40;
    display: block;
    /* Ensure the anchor takes the full width of the li */
    width: 100%;
    height: auto;
    flex: 1;
    /* Take up remaining space */
    font-size: 14px;
}

a.violation-link {
    width: 85%;
    float: left;
}

.violation-link-status {
    background-color: #dc3545;
    color: white;
    padding: 2px 5px;
    border-radius: 3px;
    margin-left: 5px;
    flex-shrink: 0;
    font-size: 13px;
}

.violation-link:hover {
    color: white;
    text-decoration: none;
}

.summery-info .summery-item {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid #d4d4d4;
    padding-bottom: 10px;
}

.summery-info .summery-item:last-child {
    border-bottom: 0;
    padding-bottom: 0px;
    /* margin-bottom:0px;*/
}

.summery-info .summery-title {
    font-weight: 500;
    max-width: 200px;
    flex: 0 0 120px;
    color: #575757;
    font-size: 14px;
}

.summery-info span.summery-info {
    font-weight: 400;
    color: #090909;
    font-size: 14px;
}


footer {
    background-color: #343a40;
    text-align: center;
    position: fixed;
    bottom: 0;
    width: 100%;
    color: whitesmoke;
    padding: 8px;
}

.footer p {
    margin: 0;
}

/* Adjustments for Dashboard and Details pages */
.headersmallBox {
    background: white;
    width: 20%;
    float: left;
    margin-right: 10px;
    padding: 15px;
}

.redheadersmallBox {
    background: rgb(204, 0, 0);
    width: 20%;
    float: left;
    margin-right: 10px;
    padding: 15px;
    color: #343a40;
}

.orangeheadersmallBox {
    background: white;
    width: 20%;
    float: left;
    margin-right: 10px;
    padding: 15px;
    background-color: chocolate;
    color: #343a40;
}

.yellowheadersmallBox {
    background: rgb(206, 206, 0);
    width: 20%;
    float: left;
    margin-right: 10px;
    padding: 15px;
    color: #343a40;
}

.greenheadersmallBox {
    background: rgb(33, 183, 0);
    width: 20%;
    float: left;
    margin-right: 10px;
    padding: 15px;
    color: #ffffff;
}

.left-panel,
.right-panel {
    height: calc(100vh - 202px);
    /* Adjusting height based on header and footer */
    overflow-y: auto;
}

.right-panel {
    background-color: #ffffff;
    border: 1px solid lightgray;
}

.report-list {
    padding: 10px;
    flex: calc(100% - 500px);
    height: 76vh;
    overflow: scroll;
}

.screenshot-box {
    border: 1px solid #ccc;
    padding: 10px;
    margin-top: 10px;
    text-align: center;
}

.screenshot-box img {
    max-width: 100%;
    height: auto;
}

.thumbnail-img {
    width: 100px;
    height: auto;
    cursor: pointer;
}

.fullsize-img {
    width: 100%;
    height: auto;
}

.node-info {
    font-weight: 400;
    color: #090909;
    font-size: 16px;
}

h5.mb-4.subtitle {
    font-size: 16px;
    font-weight: 500;
}

button.accordion-button {
    color: black !important;
    font-size: 18px;
    font-weight: 500;
    background-color: #f4f9fc;
}

span.node-title {
    font-weight: 400;
    max-width: 200px;
    flex: 0 0 120px;
    color: #575757;
    font-size: 14px;
}

.node-item {
    display: flex;
    align-items: baseline;
    gap: 15px;
    margin-top: 5px;
    padding-bottom: 15px;

}
body {
    min-height: 100vh;
    min-height: -webkit-fill-available;
}

html {
    height: -webkit-fill-available;
}

main {
    height: calc(100vh - 82px - 40px) !important;
    height: -webkit-fill-available;
    max-height: 100vh;
    overflow-x: auto;
    overflow-y: hidden;
}

.dropdown-toggle {
    outline: 0;
}

.btn-toggle {
    padding: .25rem .5rem;
    font-weight: 600;
    color: rgba(0, 0, 0, .65);
    background-color: transparent;
}

.btn-toggle:hover,
.btn-toggle:focus {
    color: rgba(0, 0, 0, .85);
    background-color: #d2f4ea;
}

.btn-toggle::before {
    width: 1.25em;
    line-height: 0;
    content: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='rgba%280,0,0,.5%29' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M5 14l6-6-6-6'/%3e%3c/svg%3e");
    transition: transform .35s ease;
    transform-origin: .5em 50%;
}

.btn-toggle[aria-expanded="true"] {
    color: rgba(0, 0, 0, .85);
}

.btn-toggle[aria-expanded="true"]::before {
    transform: rotate(90deg);
}

.btn-toggle-nav a {
    padding: .1875rem .5rem;
    margin-top: .125rem;
    margin-left: 1.25rem;
}

.btn-toggle-nav a:hover,
.btn-toggle-nav a:focus {
    background-color: #d2f4ea;
}

.scrollarea {
    overflow-y: auto;
}

.r-main-title {
    background: #eee;
    font-weight: bold;
}

.report-item {
    display: flex;
    align-items: baseline;
    gap: 15px;
    margin-bottom: 15px;
    border-bottom: 1px solid #d4d4d4;
    padding-bottom: 15px;
}

.report-item:last-child {
    border-bottom: 0;
    padding-bottom: 0px;
    /* margin-bottom:0px;*/
}

.report-title {
    font-weight: 400;
    max-width: 200px;
    flex: 0 0 120px;
    color: #575757;
    font-size: 14px;
}

span.report-info {
    font-weight: 400;
    color: #090909;
    font-size: 16px;
}

.report-details {
    padding: 10px 10px;
    border-bottom: 1px solid #d4d4d4;
    border-right: 1px solid #d4d4d4;
    flex: 0 0 570px;
}

.report-tags li {
    margin-right: 10px;
    text-transform: uppercase;
    font-size: 12px;
}

.report-tags li span {
    background: #eee;
    padding: 4px 10px;
    border-radius: 5px;
}


.ada-items li .ada-items-btn{
    border-radius: 0;
    color: #737b88;
    font-weight: 500;
    font-size: 16px;
    border: 0;
    background: transparent;
    padding: 0;
    display: flex;
    align-items: center;
}
.ada-items li .ada-items-btn:hover .ada-item-text,
.ada-items li .ada-items-btn:focus .ada-item-text,
.ada-items li .ada-items-btn.active .ada-item-text{
    border-bottom: 2px solid #000000;
    color: #000000;
}


.ada-item-text {
    display: inline-block;
    padding: 0 6px 3px;
    border-bottom: 2px solid #00000000
}
.ada-items .count {
    /* display: inline-block; */
    padding: 3px 10px;
    /* background: #737b88; */
    font-size: 80%;
    margin-left: 5px;
    border-radius: 5px;
    color:#333;
    display: none;

}
/* .ada-items li .ada-items-btn:hover .count,
.ada-items li .ada-items-btn:focus .count,
.ada-items li .ada-items-btn.active .count{
    background-color: #000000;
} */
.report-info ul {
    flex-wrap: wrap;
    gap: 15px 0;
}
.custom-tab{height: calc(100vh - 220px);}
.custom-tab-item{display: none;}
.custom-tab-item.active{display: block;}
.detail-main:not(.active){display: none;}



.accordion.background {
    background: #f8f9fa;
    padding: 10px;
}

.codeblock{
    background: white;
    padding: 10px;
    color: black;
}
code {
    color: black;
}

.leftdropdown select{
   
    padding: 6px;
    border: 1px solid lightgray;
    float: left;
}

.leftdropdown .dropdown{
   float: left;padding-top: 7px;
}

.innerdivwhite{
    display: flex;height: 100%;
}


.badge-critical {
    background-color: #FF0000; /* Red */
    color: white;
}

.badge-serious {
    background-color: #dc3545; /* Dark Orange */
    color: white;
}

.badge-moderate {
    background-color: #FFA500; /* Orange */
    color: white;
}

.badge-minor {
    background-color: #FFD700; /* Gold */
    color: black;
}

.badge-null {
    background-color: #808080; /* Grey */
    color: white;
}

.container.p-3.bg-white {
    border-radius: 5px;
}


.report-list-item .accordion .accordion-item {
    border: 0;
    border-radius: 0;
    margin-bottom: 10px;
}
.accordion-item:first-of-type .accordion-button {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}
.accordion-item:last-of-type .accordion-button.collapsed {
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
   
}
.accordion-button:not(.collapsed) {
    background-color: #41464a;
    box-shadow: none !important;
    color: #fff !important;

}
.accordion-button:not(.collapsed)::after{
--bs-accordion-btn-active-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}
.accordion-button:focus {
    z-index: 3;
    border-color: 0;
    outline: 0;
    box-shadow: none;
}

 #products .body-content:not(.active){
    display: none;
}

/*  */
/* 
.list-unstyled li:nth-child(2),
.mian-infobox .info:nth-child(2),
.summery-info .summery-item:nth-child(2) {
display: none;
} */