@import url("https://cdnjs.cloudflare.com/ajax/libs/meyer-reset/2.0/reset.min.css");
* {
  -webkit-font-smoothing: antialiased;
  box-sizing: border-box;
}
html,
body {
  margin: 0px;
  height: 100%;
}
/* a blue color as a generic focus style */
button:focus-visible {
  outline: 2px solid #4a90e2 !important;
  outline: -webkit-focus-ring-color auto 5px !important;
}
a {
  text-decoration: none;
}

.tabs {
    display: flex;
    flex-wrap: wrap;
    margin-top: 20px;
}

    .tabs a {
        cursor: default;
        /*padding: 10px 0px 0px 0px !important;*/
        text-decoration: none;
        color: #444;
        border-bottom: 3px solid transparent;
        /*margin-bottom: 10px;*/
        margin-right: 40px;
    }

        .tabs a.active {
            display: inline;
            border-bottom: 3px solid var(--nys-color-theme) !important;
            font-weight: bold;
            color: var(--nys-color-theme);
        }

        .tabs a:hover {
            text-decoration: none !important;
        }

thead th {
    font-weight: bold;
}

.program-details {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    padding-top: 25px;
}

.column {
    flex: 0 0 48%;
    margin-bottom: 20px;
    line-height: 1.7;
}

.license-info {
    margin-top: 20px;
    border-top: 1px solid #ccc;
    padding-top: 20px;
    flex: 0 0 100%;
}

.contact-info {
    margin-top: 20px;
    border-top: 1px solid #ccc;
    padding-top: 20px;
    flex: 0 0 100%;
    margin-bottom:5px;
}

.float-right{
    float: right;
}

.details {
    margin-top: 20px;
    border-top: 1px solid #ccc;
    padding-top: 20px;
    font-size: 14px;
    color: #4a4d4f;
}

.tabs input[type="radio"] {
    display: none;
}


selector {
    text-align: left;
}

/*TOOL TIP CSS*/
.custom-tooltip {
    /* Initially hidden and off-screen */
    visibility: hidden;
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    background-color: var(--bs-warning-bg-subtle);
    color: var(--nys-color-text);
    padding: 5px 5px;
    border-radius: 5px;
    font-size: var(--nys-font-size-ui-sm);
    transition: opacity 0.3s ease;
    z-index: 9999;
    width: fit-content;
    max-width: calc(100vw - 16px);
    word-wrap: break-word;
}

/* Arrow styling */
.tooltip-arrow {
    position: absolute;
    width: 0;
    height: 0;
    border-style: solid;
    transform: translateX(-50%);
}

/* Arrow position for a top-positioned tooltip, now aligned left */
    .tooltip-arrow.top {
        border-width: 7px 7px 0 8px; /* Creates a downward-pointing triangle */
        border-color: var(--nys-color-text) transparent transparent transparent;
        top: 100%;
        left: 48%;
    }

.icon-align-margin-bt-7n {
    margin-bottom: -7px !important;
}
.icon-align-margin-bt-5n {
    margin-bottom: -5px !important;
}

.icon-align-margin-bt-4n {
    margin-bottom: -4px !important;
}

.icon-align-margin-bt-2n {
    margin-bottom: -2px !important;
}

  
.translate-button {
    --nys-button-color: #457AA5 !important;
    --nys-button-color--hover: #457AA5 !important;
}

#languages-div {
    text-decoration: none !important;
    color: #457AA5;
    font-size: var(--nys-font-size-body-md);
    font-weight: bold;
    background-color: var(--nys-color-info-weak)
}

    #languages-div a {
        margin-left: unset !important;
        vertical-align: unset !important;
        border: none !important;
        color: #457AA5 !important;
        text-decoration: none;
        padding: 5px 10px;
    }

.custom-translate-btn{
    font-weight:bold !important;
}

    .custom-translate-list .dropdown-item.active, .dropdown-item:active {
        background-color: var(--nys-color-theme) !important;
    }
.custom-translate-list-item {
    --_nys-dropdownmenu-line-height: 10px;
}
    .custom-translate-list-item.active {
        --_nys-dropdownmenuitem-background-color: var(--nys-color-theme);
        --_nys-dropdownmenuitem-color: var(--nys-color-ink-reverse);
    }
    .custom-translate-list-item.active:hover {
        --_nys-dropdownmenuitem-background-color: var(--nys-color-theme);
        --_nys-dropdownmenuitem-color: var(--nys-color-ink-reverse);
        --_nys-dropdownmenuitem-background-color--hover: var(--nys-color-theme) !important;
    }
.background-transition {
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

    .background-transition:hover {
        background-color: var(--nys-color-ink-reverse) !important; /* Gray background on hover */
        border-radius: 5px;
        box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.5); /* Shadow on right and bottom */
    }

.image-container {
    position: relative; /* Needed to position the button inside this container */
    display: inline-block; /* Optional, helps wrap around the image naturally */
    width: 100%; /* Image takes full width */
}

    .image-container img {
        width: 100%;
        height: auto;
        display: block;
    }

.top-right-btn {
    position: absolute;
    top: 10px; /* Distance from top edge */
    right: 250px; /* Distance from right edge */
    z-index: 9999; /* Make sure it sits above the image */
    --nys-button-color: #457AA5 !important;
    --nys-button-color--hover: #457AA5
}

.globalNav {
    background-color: var(--nys-color-theme) !important;
}

.table-header-purple-bg {
    --bs-table-active-bg: var(--nys-color-theme);
    --bs-table-active-color: var(--nys-color-ink-reverse);
}

.no-bullet{
    list-style-type:none !important;
}

.fixed-size {
    /*table-layout: fixed;
    width: 100%;*/ /* Or a specific pixel width */
    width: auto; /* Allows the table to expand beyond the container if needed */
    min-width: 100%; /* Ensures the table takes at least 100% of the container width */
    border-collapse: collapse; /* Optional: for better table styling */
    white-space: nowrap;
}
.pre-licensing-date-col {
    min-width: 140px;
    width: 140px;
    white-space: normal !important;
    word-wrap: break-word;
}

.pre-licensing-date-col1 {
    min-width: 250px;
    width: 250px;
    white-space: normal !important;
    word-wrap: break-word;
}

.select-flex-row {
    flex-direction: row !important;
}

.pagination-btn-bg-color{
    --nys-button-background-color: var(--nys-color-theme);
    --nys-button-border-color: var(--nys-color-theme);
}

.table-container {
    overflow-x: auto; 
    width: 100%; 
}

.info-footer li {
    margin-bottom: 0 !important;
    margin-left: 2rem;
}

#InspectionChecklist{
    margin-top: 50px;
}

@media (max-width: 576px) {
    .top-right-btn {
        top: auto;
        bottom: 10px;
        /*right: 50%;
        transform: translateX(50%);*/
        right: 0px !important;
        transform: translateX(0px);
    }

    .p-col-2 {
        margin-top: 2rem;
    }
}

@media (max-width: 1024px) {
    .top-right-btn {
        top: auto;
        bottom: 10px;
        /*right: 50%;
        transform: translateX(50%);*/
        right: 0px !important;
        transform: translateX(0px);
    }
}
@media (max-width: 576px) {
    .custom-tooltip {
        max-width: 90vw;
        font-size: 14px;
    }
}
