.turnstile-form {
    position: relative;
}

.turnstile-floating-overlay {
    position: absolute;
    z-index: 20;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
    width: min(340px, calc(100% - 40px));
    max-width: 100%;
    pointer-events: none;
}

.turnstile-floating-overlay .cf-turnstile {
    width: 100%;
    min-width: auto;
    pointer-events: auto;
}

.turnstile-submit-wrapper {
    position: relative;
    width: 100%;
    display: inline-block;
}

.turnstile-submit-wrapper .turnstile-floating-overlay {
    bottom: calc(100% + 12px);
    left: 0;
    transform: translateX(0);
}

.turnstile-disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

p {
    font-size: 1em;
    line-height: 1.5em;
    display: block;
    width: 100%;
}

.addOpacity {
    opacity: 0.85;
}

.small_text {
    font-size: 1.25rem;
    font-weight: 300;
}

/* header */
.header_contact {
    position: sticky;
    top: 0;
    z-index: 9999;
    background-color: #efefef;
    width: 100%;
    border-bottom: 1px solid #ddd;

    height: 35px;
    font-size: 12px;
}

.header_contact p {
    padding-top: 10px;
    margin-bottom: 10px;
    font-weight: bold;
    font-size: 1.1em;
}

.header_contact .container p {
    padding-top: 5px;
    margin-bottom: 0;
}

/* nav bar */
.nav_banner {
    background-color: #002b49;
    box-shadow: 0 1px 3px #111;
}

.navbar.sticky-top {
    top: 30px;
    z-index: 9999;
}

a .navbar-brand-container {
    display: inline-block;
    padding-top: .3125rem;
    padding-bottom: .3125rem;
    margin-right: .37rem;
    font-size: 1.25rem;
    line-height: inherit;
    white-space: nowrap;
}

.nav_banner .nav-item .nav-link {
    color: white;
    font-weight: 300;
}

@media (min-width: 992px) {
    .navbar-light .container {
        flex-wrap: nowrap;
        padding-right: 0px;
        padding-left: 0px;
    }

    .navbar-light .container .form-inline {
        flex-wrap: nowrap;
    }
}

@media (max-width: 992px) {
    .navbar-light .container .search-bar {
        width: calc(85%);
        margin-right: 5px;
    }

    .navbar-light .form-inline {
        width: 100%;
        flex-wrap: nowrap;
    }

    .btn-outline-light {
        width: unset !important;
    }

    .search-bar {
        margin-right: 8px;
    }
}

.page-card {
    width: calc(48% - 5px);
    height: 300px;
}

@media (max-width: 767px) {
    .page-card {
        width: calc(100% - 5px);
    }
}

/* breadcrumbs */
.breadcrumbs {
    padding-bottom: .55rem;
    padding-top: .55rem;
    padding-left: 1rem;
}

.breadcrumbs p {
    font-size: 1rem;
}

/* Product Page */

.product h1,
.product h2,
.product h3,
.product h4,
.product h5 {
    text-shadow: 1px 1px 0px #eee;
    ;
}

.product_description {
    font-size: 16px;
    line-height: 1.5em;
    padding: 0 0 18px 0;
    max-height: min-content;
}

#description-column {
    min-height: 0;
    max-height: min-content;
    display: flex;
    flex-direction: column;
}

#specs-column {
    display: flex;
    flex-direction: column;
}

.specs-height {
    min-height: 250px;
}

.specs-card-height {
    max-height: calc(100% - 50px);
}

.accordion>.card:not(:last-of-type) {
    border-bottom: 1px solid rgba(0, 0, 0, .125);
}

.accordion .card {
    margin-top: 5px;
    margin-bottom: 5px;
}

.accordion .btn:focus {
    box-shadow: none;
}

.collapsing {
    transition-duration: 0s;
}

#specs-column .btn {
    font-size: 1.25rem;
    font-weight: 500;
}

#specs-column .card-header:hover {
    cursor: pointer;
    background-color: rgba(0, 0, 0, 0.09);
}

#specs-column .card-header {
    height: fit-content;
    max-height: 57px;
    align-content: center;
}

#specs-column .card-body {
    overflow-y: auto;
    min-height: 0;
    max-height: calc(100% - 100px);
    scrollbar-width: thin;
    scrollbar-color: #002b49 rgba(0, 0, 0, 0.125);
    padding-top: 2px;
}


@media (max-width: 767px) {
    .product-column {
        padding-left: 0px;
        padding-right: 0px;
    }

    #specs-column {
        padding-left: 0px;
    }

    .product_description {
        padding-bottom: 0px;
    }
}

.product_specs {
    font-size: 14px;
    line-height: 1.5em;
    padding: 0 0 18px 0;
}

.product_image {
    max-height: 382px;
}

.product_image .carousel {
    position: relative;
    margin: 0 auto;
}

.stock_in_ship {
    font-weight: 700;
    color: #28a745;
    font-size: 1em !important;
}

.price {
    color: #047b5f;
}

.product_in {
    color: #28a745;
}

.product_out {
    color: gray;
}

.checkout_button {
    background-color: green;
    border-radius: 5px;
    color: #fff;
    cursor: pointer;
    padding: 12px;
    margin: 10px 0;
    display: inline-block;
}

.ui.color1.segment {
    border-color: #1F2585;
}

#quote {
    color: #ffffff;
}

#quote.active {
    color: #ffffff;
}

.description {
    font-style: italic;
    font-size: 1em;
}

.shipping_info .description {
    font-size: 12px;
}

.shipping_info input.required {
    border: 2px solid red;
}

.free_shipping {
    color: green;
    font-style: italic;
    margin: 10px 0;
    display: block;
    font-size: 1.8rem;
}

.shipping_choices_acknowledgement_label {
    text-align: center;
    width: 100%;
}

.extra_shipping_note {
    font-size: 1.2rem;
}

.payment_methods {
    margin: 0 auto;
    display: block;
}

.form-check-label {
    cursor: pointer;
    font-size: 1rem;
}

#container-purchase {
    border-radius: 5px;
    background-color: #f2f2f2;
    padding: 20px;
}

.product_title {
    font-weight: bold;
    font-size: xx-large;
    word-wrap: break-word;
}

form #website {
    display: none;
}

.indramat-v1-info-card {
    box-shadow: 0 0 6px #eee;
}

/* Product Page Product Tabs */

.product-tabs-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 1rem;
    margin-top: .5rem;
}

.product-tabs-wrapper .card-header-static {
    margin-bottom: 0;
    background-color: transparent;
    border-bottom: none;
}

.product-tabs-wrapper .card-header-static+.card-body {
    padding: 0;
}

.product-tabs-wrapper .card:has(> .card-header-static) {
    border: none;
}

.product-tabs-wrapper .static-content.card-title {
    font-size: 1.75rem;
    padding: 0;
}

.product-tabs-wrapper .card-header-toggle {
    padding: .3rem 1.25rem;
    margin-bottom: 0;
    background-color: rgba(0, 0, 0, .03);
    border-bottom: 1px solid rgba(0, 0, 0, .125);
}

.product-tabs-wrapper .card-title {
    position: relative;
    font-size: 1rem;
    padding: .5rem;
}

.product-tabs-wrapper .card-body {
    overflow-x: auto;
}

.product-tabs-wrapper .revisions-card {
    margin-bottom: 0;
}

.product-tabs-wrapper .toggle-chevron {
    position: absolute;
    right: 0;
    top: 45%;
}

.product-tabs-wrapper .faq-answer-wrapper {
    margin-left: 1.5rem;
}

.product-tabs-wrapper .rating-stars-wrapper {
    margin-bottom: 0;
}

.product-tabs-wrapper .rating-stars {
    color: gold;
}

/* RFQ form */

.rfqModal {
    background-color: rgba(0, 0, 0, 0.03);
    font-size: large;
    padding: 20px;
    color: #002b49;
    border-radius: 5px;
    border: thin solid rgba(0, 0, 0, 0.125);
}

.button-pulse {
    transform: scale(1);
    animation: pulse 1.2s 5;
    box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.35);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0px rgba(0, 0, 0, 0.2);
        transform: scale(1.001);
    }

    100% {
        box-shadow: 0 0 0 16px rgba(0, 0, 0, 0);
        transform: scale(1);
    }
}

/* Footer */
.footer_boxes {
    background: #eee;
    padding: 30px 30px 0;
    box-shadow: 0px -1px 6px lightgray;
}

.footer_boxes p {
    font-size: 1em;
}

.disclaimer p {
    font-size: 10px;
    text-align: center;
}

.copyright_bar {
    padding: 1rem;
    text-align: center;
    background: #002b49;
    color: #fff;
}

/* bootstrap third level submenu support */
.dropdown-submenu {
    position: relative;
}

.dropdown-submenu a::after {
    transform: rotate(-90deg);
    position: absolute;
    right: 6px;
    top: .8em;
}

.dropdown-submenu .dropdown-menu {
    top: 0;
    left: 100%;
    margin-left: .1rem;
    margin-right: .1rem;
}

.title-link:hover h1 {
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
}

.text-link:hover .text-snippet {
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
}

/* About Us */
#about-us-contact-info {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    background-color: #002b49;
    color: white;
    border-radius: 5px;
    text-align: center;
    height: 264px;
}

#about-us-contact-info a {
    color: white;
}

.shipping-payment-card {
    height: 264px;
}

.shipping-payment-card img {
    height: 70px;
    width: 70px;
    border-radius: 5px;
}

/* Repair Page */
#repair-cards {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-content: center;
    margin-right: 10px;
}

@media (max-width: 767px) {
    .row {
        flex-direction: column;
        align-items: center;
        margin: 10px;
    }
}

/* brands we serve */
.brands-we-serve {
    background-color: #002b49;
    color: white;
    text-align: center;
    font-size: 4rem;
    width: 100%;
    margin-top: -29px;
}

.brands-we-serve .container {
    border-radius: 5px;
}

.brands-icon {
    justify-content: space-evenly;
}

@media (max-width: 767px) {
    .brands-icon {
        flex-direction: column;
    }
}

/* review carousel */
#reviewSliderContainer {
    width: 450px;
    height: 90px;
    position: relative;
    overflow: hidden;
}

#review-slider-content {
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    animation-duration: 0.5s;
}

#currentReviewText {
    white-space: normal;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: medium;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-height: 1.2em;
}

.review-footer {
    position: relative;
    font-size: small;
}

.review-author {
    display: inline-block;
}

.review-stars {
    top: 50%;
    left: 0;
}

.review-navigation {
    position: absolute;
    right: 0;
    bottom: -10%;
}

.review-navigation .chevron {
    outline: none;
    border: none;
    font-size: 24px;
    line-height: 1em;
    margin-bottom: 6px;
    background-color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 767px) {
    #reviewSliderContainer {
        display: none;
    }
}

@keyframes slideInFromLeft {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(0%);
    }
}

@keyframes slideInFromRight {
    0% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(0%);
    }
}

.slide-from-left {
    animation-name: slideInFromLeft;
}

.slide-from-right {
    animation-name: slideInFromRight;
}

/* Product Page (11/15/2024) */

.no-horizontal-margin {
    margin-right: 0;
    margin-left: 0;
}

.shipping_info>.card-body {
    padding-top: .6rem;
    padding-bottom: .6rem;
}

.product-column-left {
    align-content: center;
}

.warranty-repairs-exchange-card {
    padding-left: .8rem;
    padding-right: .8rem;
}

#about-us-contact-info {
    padding: 1rem;
}

.brands-we-serve {
    padding-bottom: 2rem !important;
}

.product_description {
    display: flex;
}

@media(max-width: 1200px) {
    .product-column-left {
        width: 50%;
        min-width: auto;
    }

    .product-column-right {
        width: 50%;
        min-width: auto;
    }

    .warranty-repairs-exchange-card {
        padding-left: .7rem;
        padding-right: .7rem;
    }

    .product_description>div {
        width: 50%;
    }

    #specs-column {
        padding-right: 1rem !important;
        width: 95%;
    }
}

@media(max-width: 991px) {
    .product_description>div {
        width: unset;
    }
}

@media(max-width: 767px) {
    .brands-we-serve {
        padding-top: 2rem !important;
    }

    .brands-we-serve>.container {
        border: none !important;
    }

    #description-column {
        margin-left: .5rem;
    }

    #specs-column {
        padding-right: unset !important;
    }

    .product-column-left {
        min-width: unset;
        width: 100%;
    }

    .product-column-right {
        min-width: unset;
        width: 100%;
    }

    .footer_boxes {
        padding: 30px 0px 0px 0px;
    }

    .warranty-repairs-exchange-card {
        padding-left: unset;
        padding-right: unset;
    }
}

/* Product Carousel (11/15/2024) */

.carousel-item>img {
    object-fit: contain;
}

/* Instant Search */
.autocomplete-result {
    z-index: 99999;
    display: none;
    position: absolute;
    top: 100%;
    background-color: white;
    padding: 20px;
    border: 1px solid #ccc;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    height: auto;
    max-height: 80vh;
    overflow-y: auto;
}

.autocomplete-row {
    padding-top: .35rem;
    padding-bottom: .35rem;
    border-bottom: solid 1px lightgray;
}

.autocomplete-row:first-child {
    padding-top: unset;
}

.autocomplete-row:last-child {
    border-bottom: none;
    padding-bottom: unset;
}

.autocomplete-item {
    display: flex;
    flex-direction: column;
}

.autocomplete-item .part-number {
    font-weight: 600;
}

.autocomplete-item .manufacturer-series {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    gap: 5px;

    font-size: .95rem;
    color: #707070;
}

.autocomplete-item .manufacturer-series>div:nth-child(1) {
    flex: 1;
}

.autocomplete-item .manufacturer-series>div:nth-child(2) {
    flex: 1;
}

@media(max-width:767px) {
    .autocomplete-result {
        width: 418px;
    }
}

@media(max-width:575px) {
    .autocomplete-result {
        width: 100% !important;
        left: 0;
    }

    .autocomplete-row {
        padding-top: .6rem;
        padding-bottom: .6rem;
    }
}

/* Page Styles */

.revisions-card {
    margin-bottom: 2rem;
}

.revisions-card h2 {
    font-size: 1rem;
    padding: .5rem;
}

.revisions-card .card-body>p {
    margin-bottom: unset;
}

.part-number-title {
    text-align: center;
    margin-bottom: .5rem !important;
    margin-top: .5rem;
}

.broad-series-title {
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 1rem !important;
    font-weight: 400;
    text-shadow: none !important;
}

.product-page-title-stars {
    text-align: center;
    font-size: 1.1rem;
    margin-top: .5rem;
    margin-bottom: 1rem;
}

.product-page-title-stars .description {
    font-style: normal !important;
}

/* Tech Specs Grid */
.product-description-specs-wrapper {
    padding-bottom: 1rem;
    font-size: 1rem !important;
}

.product-description-specs-wrapper>section:nth-child(2) {
    margin-top: 1rem;
}

.product-description-specs-wrapper h2 {
    font-size: 1.75rem;
    margin-bottom: .5rem;
}

/* Ensure consistent spacing between paragraphs in product descriptions */
.product-description p {
    margin-top: 0;
    margin-bottom: 0;
}

.product-description br+br {
    display: none;
}

.product-description br {
    display: block;
    content: "";
    height: 0;
    margin: .7em 0;
}

.product-description p+p {
    margin-top: .7em;
}

.product-specs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.product-specs> :nth-child(6n-5),
.product-specs> :nth-child(6n-4),
.product-specs> :nth-child(6n-3) {
    background-color: #f8f9fa;
}

.spec-stat {
    display: flex;
    flex-direction: column;
    padding: .5rem;
}

.spec-stat p {
    margin-bottom: unset;
}

@media(max-width:767px) {

    .product-description-specs-wrapper {
        padding: 1rem;
        padding-top: 0;
    }

    .product-specs {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    .product-specs> :nth-child(6n-5),
    .product-specs> :nth-child(6n-4),
    .product-specs> :nth-child(6n-3) {
        background-color: unset;
    }

    .product-specs> :nth-child(4n-3),
    .product-specs> :nth-child(4n-2) {
        background-color: #f8f9fa;
    }

}