:root {
    --clr-primary: #006341;
    --clr-secondary: #F8FAF9;
    --clr-tertiary: #073622;
    --clr-dark-gray: #A7A7A7;
    --clr-light-gray: #F6F6F6;
    --clr-mint: #7bf8cc;
  

    --ff-base: 'Arial', sans-serif;
    --ff-accent: 'Arial Rounded MT Bold','Arial Rounded Bold','Arial';

    --fs-100: clamp(0.7644rem, 0.4824rem + 0.4098vw, 0.8rem);
    --fs-200: clamp(0.7769rem, 0.5645rem + 0.562vw, 1rem);
    --fs-300: clamp(0.8125rem, 0.6603rem + 0.7609vw, 1.25rem);
    --fs-400: clamp(0.975rem, 0.7707rem + 1.0217vw, 1.5625rem);
    --fs-500: clamp(1.17rem, 0.8976rem + 1.362vw, 1.9531rem);
    --fs-600: clamp(1.4038rem, 1.0429rem + 1.8043vw, 2.4413rem);
    --fs-700: clamp(1.685rem, 1.2096rem + 2.3772vw, 3.0519rem);
    --fs-800: clamp(2.0219rem, 1.3982rem + 3.1185vw, 3.815rem);
}
*,
*::before,
*::after {
    box-sizing: border-box;
}
* {
    margin: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--ff-base);
    font-size: var(--fs-200);
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

h1, h2, h3 {
    line-height: 1;
    /*text-wrap: balance;*/
}

h1 {
    font-size: var(--fs-500);
    margin: 1rem 0;
}

h2 {
    font-size: var(--fs-200);
    color: var(--clr-primary);
}

h3 {
    font-family: var(--ff-accent);
    font-size: var(--fs-400);
    margin: 0 0 0 0;
    color: var(--clr-primary);
}

h4 {
    font-size: var(--fs-300);
    line-height: 1.3;
}

h5 {
    font-size: var(--fs-300);
    font-weight: 400;
    line-height: 1.2;
}

h6 {
    font-size: var(--fs-200);
}

p {
    margin: .5rem 0;
    line-height: 1.6;
}

ul {
    font-size: var(--fs-100);
    margin: 1rem;
    padding: 0;
}

a {
    color: var(--clr-primary);
}

.green {
    color: var(--clr-primary);
}

.small {
    font-size: var(--fs-100);
}

.text-center{
    text-align: center;
}

img {
    max-width: 100%;
    display: block;
    margin: auto;
}

.nowrap {
    white-space: nowrap;
  }  

.button-group{
    margin: 0;
}
.button-group > * {
    margin-right: .5rem;
}

button {
    cursor: pointer;
}

.btn-primary, .btn-footer {
    display: inline-flex;
    align-items: center;
    border-radius: 4px;
    padding: .5rem 3rem;
    background-color: var(--clr-primary);
    color: #FFF;
    font-size: var(--fs-200);
    transition: background-color 0.3s ease;
    text-decoration: none;
    border: none;
}

.btn-secondary {
    display: inline-block;
    border-radius: 4px;
    padding: .5rem 3rem;
    background-color: #000;
    color: #FFF;
    text-decoration: none;
    font-size: var(--fs-200);
    transition: background-color 0.3s ease;
    border: none;
}

.btn-secondary:hover {
    background-color: var(--clr-dark-gray);
}

.btn-primary-small {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border-radius: 4px;
    padding: 0 1rem;
    height: 30px;
    background-color: var(--clr-primary);
    color: #FFF;
    text-transform: uppercase;
    font-size: 11px;
    text-decoration: none;
    transition: background-color 0.3s ease;
    flex: 1;
    align-self: end;
}

.btn-primary:hover, .btn-primary-small:hover, .btn-footer:hover{
    background-color: var(--clr-tertiary);
}

.btn-footer {
    margin: 1rem 0;
    cursor: pointer;
}

header {
    background-image: linear-gradient(#073720,#020e0c);
}

.header-wrap{
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: auto;
}

.logo img {
    width: 180px;
    margin: 1rem 0 .5rem 1rem;
}

.graydient {
    margin-top: 0;
    width: 100%;
    background: url(https://noshok.b-cdn.net/img/graydient.jpg) repeat-x;
    height: 24px;
}

.crossover-container {
    width: 1400px;
    margin: auto;
    padding: 2rem;
}

.crossover-header-wrap{
    margin: 2rem 0;
}

.crossover-header {
    background-color: var(--clr-secondary);
    padding: 2rem;
    margin: 1rem 0;
    display: flex;
    align-items: center;
}

.pt-arrow{
    width: 75px;
}

.crossover-description {
    flex: 1 1 0;
}

.crossover-header-content {
    display: flex;
    flex: 2 1 0;
    align-items: center;
    justify-content: space-evenly;
}

.pt-bucket {
    display: flex;
    align-items: center;
}

.pt-bucket img {
    /* Set a max width for the image, for example, 30% of its container */
    max-width: 40%;
    width: 100%; /* This will make the image responsive */
    display: block;
    margin: auto;
}

.pt-bucket-content {
    /* This will make the content grow and take up the remaining space */
    flex: 1;
    padding-left: 0; /* For some spacing between the image and the content */
}
.pt-bucket-content a {
    text-decoration: none;
}

.pt-bucket-content a:hover {
    text-decoration: underline;
}


.app-label-container {
    width: 1000px;
    margin: 0 auto;
}

.app-label{
    display: flex;
    justify-content: flex-end;
    align-items: center;
    color: #666666;
    font-size: var(--fs-100);
}

.app-label-img{
    width: 20px;
}

.app-container {
    background-color: var(--clr-secondary);
    width: 1000px;
    margin: .5rem auto 1rem auto;
    border: 1px solid var(--clr-primary);
}

.app-header {
 border-bottom: .5px solid var(--clr-primary);
}

.app-body {
    padding: 3rem;
}

.app-footer{
    border-top: .5px solid var(--clr-primary);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 3rem;
}

.app-footer-error {
    color: #BB071A;
    font-style: italic;
    font-weight: 800;
    flex-basis: 100%;
}

.app-tab-nav {
    display: flex;
}

.app-tab-btn-part {

}

button.app-tab-btn-spec, button.app-tab-btn-part{
    color:#000;
}

.app-tab-btn {
    flex: 1;
    padding: 1rem;
    cursor: pointer;
    background-color: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    transition: 0.3s;
}

.app-tab-btn-part:hover {
    background-color: var(--clr-tertiary);
    color: #FFF;
}

.app-tab-btn-spec:hover {
    background-color: var(--clr-tertiary);
    color: #FFF;
    border-bottom: 2px solid var(--clr-tertiary);
}


.app-tab-btn.active {
    border-bottom: 2px solid var(--clr-tertiary);
    color: #fff;
    background-color: var(--clr-primary);
}

.app-tab-content .app-tab-pane {
    display: none;
}

.app-tab-content .app-tab-pane.active {
    display: block;
}

.app-body[data-active-tab="by-part-number"] {
    background-color: var(--clr-primary);
    color: #fff;
}

.app-body .dropdowns {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
}

.app-body .dropdowns .col{
    flex-basis: 48%;
    margin: 10px 0;
}

.app-body .dropdowns .col label {
    font-size: var(--fs-100);
}

.app-body .dropdowns .col sup, #by-specification sup {
    color: red;
    font-weight: bold;
}

.app-body .dropdowns .col select {
    width: 100%;
    padding: .5rem;
}

/* USE THIS STYLE FOR A DROPDOWN THAT WAS SELECTED */
.app-body .dropdowns .col select:focus {
    border: 2px solid var(--clr-primary);
    outline: none;
}

input#partNumber {
    width: 100%;
    padding: .5rem 1rem;
    font-size: var(--fs-200);
    margin-bottom: 1rem;
}

.pt-tooltip-container {
    position: relative;
    display: inline-block;
}

.pt-tooltip-container span{
    display: flex;
    align-items: center;
}


.pt-tooltip-container img{
    width: 16px;
}

.info-icon {
    cursor: pointer;
}

.pt-tooltip-text {
    visibility: hidden;
    background-color: var(--clr-light-gray);
    color: #000;
    border-radius: 4px;
    border: 1px solid var(--clr-dark-gray);
    padding: 1rem 2rem;
    position: absolute;
    z-index: 1;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s;
    width: 380px; /* Width of the tooltip */
    top: 125%; /* Position the tooltip below the icon and link */
    bottom: auto; /* Remove the bottom positioning */
    box-shadow: 2px 2px 3px #CCC;
}

.pt-tooltip-text::after {
    content: "";
    position: absolute;
    bottom: 100%; /* Arrow pointing upwards */
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: transparent transparent var(--clr-dark-gray) transparent;
}

.pt-tooltip-container:hover .pt-tooltip-text {
    visibility: visible;
    opacity: 1;
}

.note-615 {
    text-decoration: underline;
    font-style: italic;
    display: none;
}

.instructions-container{
        display: flex;
        align-items: center;
}

.instructions-container img {
    width: 16px;
    margin: 0 8px 0 0;
}

.app-instructions {
    position: relative;
    display: none; /* Initially hidden */
    padding: 4rem 5rem;
    border: 1px solid var(--clr-light-gray);
    border-radius: 5px;
    /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); */
    max-width: 800px;
    background-color: #fff;
    /* margin-top: 20px; */
    margin: 20px auto;
}

.app-instructions p{
    font-size: var(--fs-100);
}

.app-instructions h4 {
    margin: 0 0 1rem 0;
}

.app-instructions .close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    cursor: pointer;
    background: transparent;
    border: none;
    outline: none;
    padding: 0;
}

.app-instructions .close-btn img {
    width: 30px;
    height: 30px;
}


.instruction_bullet {
    display: flex;
    align-items: center;

}

.instruction_bullet img {
    width: 30px;
    margin: 0 30px 0 0;
}

.pt-results-header {
    text-align: center;
    margin: 3rem 0;
}
.pt-results-header h5{
    margin-bottom: 1rem;
}

.pt-product-container{
    max-width: 1600px;
    margin: 0 auto 2rem auto;
}

.pt-product-grid {
    display: grid;
    /*grid-template-columns: repeat(3, 1fr);*/
    grid-template-columns: repeat(auto-fill, minmax(470px, 1fr));
    gap: 20px;
    padding: 0 1rem;
}

.pt-product {
    position: relative;
    display: flex;
    padding: 20px;
    background-color: var(--clr-secondary);
}

.pt-product-image-container{
    position: relative;
    width: 215px;
}

.badge {
    position: absolute;
    top: 0;
    left: 0;
    background-color: #FFCE0C;
    color: black;
    padding: 5px 1rem;
    font-size: 11px;
    font-weight: bold;
    z-index: 1;
    text-transform: uppercase;
    border-radius: 3px;
}

.pt-product img {
    width: 100%;
   /* max-width: 220px; /* You can adjust this value as needed */
    object-fit: cover;
}

.pt-product-info {
    flex: 1;
    padding-left: 10px;
    display: grid;
    grid-template-rows: auto auto auto;
}

.pt-product-info h2 {
    margin-top: 0;
    color: #000;
}

.pt-product-info h2 a:hover {
    color: var(--clr-tertiary);
}

.pt-product-info ul {
    font-size: var(--fs-100);
    margin: 1rem;
    padding: 0;
}

.pt-product-btn-group {
    display: flex;
    align-items: center;
}

.pt-btn-email {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border-radius: 4px;
    padding: .5rem 1rem;
    background-color: #000;
    color: var(--clr-primary);
    font-size: var(--fs-200);
    text-decoration: none;
    margin-left: 10px;
    height: 30px;
    transition: background-color 0.3s ease;
}

.pt-btn-email:hover {
    background-color: var(--clr-dark-gray);
}

.icon-top {
    width: 20px;
    height: 20px;
    background-size: cover;
    display: inline-block;
}

.email {
    background-image: url('img/mail-white.png');
}

.pt-product .pt-tooltip-container{
    position: absolute;
    display: inline-block;
    z-index: 9999;
    right: 1rem;
    top: 1rem;
}

.pt-product .pt-tooltip-container img{
    width: 18px;
}

.pt-product .pt-tooltip-text a{
   float: right;
   font-weight: 800;
}



.highlight-x {
    color: var(--clr-dark-gray);
    font-weight: normal;
}

.pt-results-header, .crossover-app-footer {
    display: none;
}

.crossover-app-footer{
    padding: 0 0 5rem 0;
    text-align: center;
}

.crossover-app-footer-msg {
    color: var(--clr-dark-gray);
    font-style: italic;
}

option.disabled {
    color: #767676
}

button[disabled] {
    opacity: 0.5;
    cursor: not-allowed;
    background: #C5C5C5;
}
button[disabled]:hover {
    background-color: #C5C5C5;
}

.selected {
    border: 2px solid var(--clr-primary);
}

li.missing-item {
    color: var(--clr-dark-gray);
}

/* Responsive styling */
@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: 1fr;
    }
}

@media (min-width:1480px) and (max-width:1600px) {
    .pt-product-image-container {
        width: 175px;
    }
}

@media (min-width:550px) and (max-width:992px) {
    .pt-product-btn-group, .btn-primary-small {
        width: 60%;
    }
}

@media (max-width: 992px) {
    .header-wrap .btn-primary {
        padding: .5rem 2rem;
        margin: 0 .5rem;
    }
    .crossover-container {
        width: auto;
    }
    .crossover-header {
        flex-direction: column;
        padding: 1rem;
    }
    .crossover-header-content{
        flex-direction: column;
    }
    .pt-arrow{
        width: 25px;
        transform: rotate(90deg);
    }
    .app-label-container {
        width: auto;
        margin: 0 1rem;
    }
    .app-container {
        width: auto;
        margin: 0 1rem;
    }
    .instructions-container {
        margin-bottom: 1rem;
    }
    .app-body .dropdowns {
        flex-direction: column;
    }
    .pt-product-grid {
        grid-template-columns: 1fr;
    }
    .pt-product-image-container {
        width: 145px;
    }
    .btn-primary-small{
        font-size: 8px;
    }
    .pt-tooltip-text {
        transform: translateX(-100%);
    }
}

@media (max-width: 400px) {
    .btn-primary, .btn-secondary {
        padding: .5rem 1.5rem;
    }
    .button-group > * {
        margin-right: 0;
    }
}

@media (max-width: 475px) {
    .pt-product {
        flex-direction: column;
    }
    .pt-product-image-container {
        width: 100%;
    }
    .pt-product-info {
        padding-top: 15px;
    }
    .crossover-header-content {
        flex: 0;
        align-items: center;
        justify-content: space-evenly;
    }
}