/* sidebar: nav-link color */
.sidebar-dark-primary .nav-sidebar > .nav-item > .nav-link.active,
.sidebar-light-primary .nav-sidebar > .nav-item > .nav-link.active {
    background-color: #ff8f1c !important;
}

.navbar-light .navbar-nav .nav-link .custom-btn {
    color: #fff !important;
}

/* .nav-item > .btn {
    background-color: #ff8f1c !important;
    color: #fff !important;
} */

.theme-btn {
    background-color: #ff8f1c !important;
    color: #fff !important;
}

.btn-theme {
    background-color: #ff8f1c !important;
    color: #fff !important;
}

body {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 0.8rem;
    /* background: #d2d6de; */
}

.card-header {
    background-color: #337ab7;
    color: #fff;
    /* display: block;
    padding: 10px;
    position: relative;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px; */
}
/*  tooltip style  */
.tooltip-content {
    display: none;
    position: absolute;
    background-color: #fff;
    border: 1px solid #ccc;
    padding: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.tooltip-trigger:hover + .tooltip-content {
    display: block;
}
.tooltip-trigger {
    position: relative;
    cursor: pointer;
}

.nav-theme-btn {
    background-color: #ff8f1c !important;
    color: #fff !important;
    border-radius: 8px;
    margin-right: 0.5rem !important;
}

.theme-dropdown-item,
.theme-dropdown-menu {
    background-color: #337ab7 !important;
    color: #fff !important;
}

/* level page css */

.level-background {
    /* background-image: url({{ url('public/img/nvwa-wineyardweb.jpg') }}); */
    background-image: url("https://exams.napavalleywineacademy.com/public/img/nvwa-wineyardweb.jpg");
    background-size: cover;
    background-attachment: fixed;
    display: flex;
    align-items: start;
    justify-content: center;
    color: #fff;
    text-align: center;
    min-height: 100vh;
    padding-top: 80px;
}
/* Container styling with white background */
.level-main-div {
    background-color: white;
    color: black;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 700px;
    width: 100%;
}

/* Title styling */
.level-title {
    margin-bottom: 20px;
    color: #669940 !important;
    font-weight: bold !important;
}

/* Button styling */
.level-button-container {
    margin-top: 20px;
}

.level-btn-custom {
    background-color: #ff5733;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

.level-btn-custom:hover {
    background-color: #c70039; /* Hover background color */
}

.level-form-label {
    text-align: left;
}

.level-tech-note {
    color: #787878;
}

.level-radio-label {
    text-align: left !important;
    font-weight: normal !important;
}

.level-radio {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}
.level-radio input[type="radio"] {
    margin-right: 10px;
}
.level-radio label {
    margin-bottom: 0;
}
.level-title {
    margin-bottom: 20px;
}
.level-exam-registration {
    margin-top: 20px;
}

.level-submit-btn {
    max-width: 350px !important;
    min-height: 75px !important;
    background-color: #ff8f1c;
    color: #ffffff;
    font-size: 18px;
    font-family: Helvetica;
    border-style: Solid;
    border-width: 1px;
    -moz-border-radius: 3px;
    border-radius: 3px;
}

.level-submit-btn-div {
    align-items: center !important;
}

.level-page-footer-note {
    font-size: 18px;
    color: #787878;
    margin-top: 20px;
    font-style: italic;
}
.level-page-footer-link {
    color: #ff8f1c !important;
}

/* remove sidebar */
body:not(.sidebar-mini-md):not(.sidebar-mini-xs):not(.layout-top-nav)
    .content-wrapper,
body:not(.sidebar-mini-md):not(.sid ebar-mini-xs):not(.layout-top-nav)
    .main-footer,
body:not(.sidebar-mini-md):not(.sidebar-mini-xs):not(.layout-top-nav)
    .main-header {
    margin-left: 0 !important;
}

/* navbar */
main-header navbar navbar-expand navbar-white navbar-light {
    padding-right: 10px !important;
}
/* card button color */
.card-btn {
    color: #fff;
}
.download-link {
    cursor: pointer;
    color: #fff !important;
    font-size: 14px;
}
.error {
    color: red;
    font-size: 12px;
    text-align: left;
    font-weight: normal;
    display: block;
}

.brand-image {
    display: block;
    width: 150px;
}

.theme-dropdown-menu > .dropdown-item {
    background-color: #337ab7 !important;
    color: #fff !important;
}

.active-dropdown-item{
    display: block;
    width: 100%;
    padding: .25rem 1.5rem;
    clear: both;
    font-weight: 400;
    text-align: inherit;
    white-space: nowrap;
    text-decoration: none !important;
    border: 0;
    background-color: #225c8f !important;
    color: #fff !important;
}

.theme-dropdown-menu > .dropdown-item:hover {
    background-color: #225c8f !important;
    color: #fff !important;
}

.order-modal-container {
    border: 0.8px solid #787878;
}


.custom-modal-body {
    padding: 15px;
    overflow-x: auto; /* Allows horizontal scrolling if content overflows */
}

.custom-modal-container {
    width: 100%; /* Make modal container take full width */
    max-width: 95vw; /* Prevent it from getting too wide, use 90% of viewport width */
}

/* Adjustments for smaller screens */
@media (max-width: 768px) {
    .custom-modal-container {
        max-width: 95vw; /* For small screens, make it 95% of the viewport width */
    }
}

@media (max-width: 576px) {
    .custom-modal-container {
        max-width: 100vw; /* On extra small screens, use full viewport width */
    }
}
#tagModalLabel {
    text-transform: capitalize;
}

/* body{
    font-size: 0.75rem !important;
} */

.table td,
.table th {
    padding: 0.5rem !important;
}

.spinner-border {
    width: 1rem;
    height: 1rem;
    border-width: 0.2em;
}
.btn.loading .button-text {
    visibility: hidden;
}

.spinner-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.spinner {
    border: 8px solid #f3f3f3;
    border-top: 8px solid #3498db;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.modal-body {
    position: relative;
    min-height: 100px;
}

/*  */
.course-registration-tbl,
.exam-registration-tbl {
    .w-20{
        width: 20% !important;
    }
    .min-w-85px {
        min-width: 85px !important;
    }
    .min-w-245px {
        min-width: 245px !important;
    }
    th {
        font-size: 0.8rem;
        line-height: 30px;
        color: #333;
        text-align: center;
    }
    td {
        font-size: 0.8rem;
        line-height: 17px;
        vertical-align: middle;
    }
}

.table-bordered {
    .w-20{
        width: 20% !important;
    }
    .min-w-85px {
        min-width: 85px !important;
    }
    .min-w-245px {
        min-width: 245px !important;
    }
    th {
        font-size: 0.8rem;
        line-height: 30px;
        color: #333;
        text-align: center;
    }
    td {
        font-size: 0.8rem;
        line-height: 17px;
        vertical-align: middle;
    }
}

table.dataTable th.dt-type-numeric, table.dataTable th.dt-type-date{
    text-align: center !important;
}

.dataTables_filter input[type="search"]:focus {
    outline-offset: none
}

table.dataTable td.dt-type-date{
    text-align: center !important;
}

/* exam form logo -> nvwa-rect-logo */
.exam-form-logo{
    max-width: 400px;
}

.terms-and-conditions .title{
    font-weight: bold;
}

.terms-and-conditions .item{
    padding-left: 40px !important;
}

.btn-primary {
    color: #fff !important;
    background-color: #337ab7 !important;
    border-color: #2e6da4 !important;
    background-color: #337ab7 !important;
}

.clear-date-filter {
    color: #337ab7 !important;
}
.inline-filter-row{
    height: 40px; 
    margin-bottom: 10px !important
}
#submit-button:disabled{
    background-color: #ff8f1c !important;
    color: #ffffff !important;
    opacity: 0.5;
}
#submit-button-2:disabled{
    /* background-color: #ff8f1c !important; */
    /* color: #ffffff !important; */
    opacity: 0.5;
}
.table-font-white tr th{
    color: white !important;
}

.table-font-white tr th{
    color: white !important;
}

table.dataTable thead > tr > th.dt-orderable-asc span.dt-column-order, table.dataTable thead > tr > th.dt-orderable-desc span.dt-column-order, table.dataTable thead > tr > th.dt-ordering-asc span.dt-column-order, table.dataTable thead > tr > th.dt-ordering-desc span.dt-column-order, table.dataTable thead > tr > td.dt-orderable-asc span.dt-column-order, table.dataTable thead > tr > td.dt-orderable-desc span.dt-column-order, table.dataTable thead > tr > td.dt-ordering-asc span.dt-column-order, table.dataTable thead > tr > td.dt-ordering-desc span.dt-column-order {
    right: 0px !important;
}

table.dataTable{
    width: 99% !important;
}

table.dataTable thead tr th {
    vertical-align: middle !important;
    text-align: center !important;
}

table.dataTable tbody tr td {
    vertical-align: middle !important;
    text-align: center !important;
}

.modal{
    padding-right: 0px !important;
}

/* Shital css */

.navbar-nav{
    font-size: 14px;
}

.navbar-nav a{
    display: block;
    /* background: #FF8F1B; */
    padding: 5px 15px;
    text-decoration: none;
    white-space: nowrap;
    /* color: #FFF !important; */
    text-align: left;
    font-weight: bold;
}

.navbar-nav li {
    display: block;
    position: relative;
    float: left;
    border: 1px solid #fff;
}

.main-header .nav-link {
    height: auto;
    position: relative;
}

.card-header {
    background-color: #337ab7;
    color: #fff;
    display: block;
    padding: 10px;
    position: relative;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}

.card-header .box-title {
    display: inline-block;
    font-size: 18px;
    margin: 0;
    line-height: 1;
}

.card-title {
    margin-bottom: 0px;
    float: left;
    font-size: 18px;
    font-weight: 500;
    margin: 0;
}

.card-header>.card-tools {
    margin-right: 0px;
}

.sortselect {
    width: 160px !important;
    height: 22px !important;
    font-size: 12px !important;
    padding: 2px !important;
}
.sortorderselect {
    width: 160px !important;
    height: 22px !important;
    font-size: 12px !important;
    padding: 2px !important;
}
.riskfiltersmall {
    width: 160px !important;
    height: 22px !important;
    font-size: 12px !important;
    padding: 2px !important;
}

.table.table-bordered{
    font-size: 11px;
}
.card-body {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    border-bottom-right-radius: 3px;
    border-bottom-left-radius: 3px;
    padding: 10px;
}

.select2-selection{
    display: block;
    width: 100%;
    /* height: calc(2.25rem + 2px) !important; */
    height: 34px !important;
    padding: .375rem .75rem;
    font-size: 12px !important;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da !important;
    border-radius: .25rem;
}   

.form-control{
    height: 34px !important;
    font-size: 14px !important;
}
button{
    height: 35px;
}

.btn {
    padding: 3px 6px !important;
    font-size: 16px !important;
    min-width: 150px !important;
}

.sortselect{
    height: 25px !important;
}
.sortorderselect{
    height: 25px !important;
}
.riskfiltersmall{
    height: 25px !important;
}

.clear-date-filter{
    background-color: #becfe1;
}

input[type="file"] {
    padding-bottom: 33px !important;
}

.old-keap-data{
    font-size: 14px !important;
    margin-bottom: 0px;
    margin-left: 5px;
    font-weight: bold;
}
.data-review-form .form-control{
    margin-top: 10px;
}

