.pad-zero {
    padding-top: 0 !important;
}

span {
    color: #189bec !important;
}

hr{
    width: 60%;
    border-color: #189bec;
}

a:hover {
    color: #189bec;
}

/* Header */

@media (max-width: 768px) {
    .m-place {
        left: 30%;
        margin: 0 !important;
        padding: 0 !important;
    }
}

/* header font size */

@media (max-width: 768px) {
    h2 {
        font-size: 22px;
    }

    h3 {
        font-size: 20px;
    }
}


.theme-btn {
    background-color: #189bec;
}

.theme-btn:hover {
    background-color: #131e4a;
}

.theme-btn-s2:hover {
    background-color: #131e4a;
}

.theme-btn-s3 {
    border-color: #189bec;
}

.theme-btn-s3:hover {
    background-color: #131e4a;
}

.preloader {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 9999;
    width: 100%;
    height: 100%;
    overflow: visible;
    background: #fff;
}

.loader {
    display: block;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 40%;
    height: 40%;
    border-radius: 50%;
    background: url(../preloader/Techsol.gif) no-repeat center center;
    background-size: contain;
}


.loader.hidden {
    opacity: 0;
    transition: opacity 1s ease-out;
}

ul {
    list-style-type: none;
}

.dot:before {
    content: "\2022";
    /* Add a bullet point using Unicode character */
    margin-right: 10px;
    font-size: 120%;
}

/* Toote slider */

.slider-container {
    margin-top: 20px;
    position: relative;
    overflow: hidden;
}

.slider {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 10px;
}

/* WebKit-based browsers (Chrome, Safari) */
.slider::-webkit-scrollbar {
    width: 8px;
    background-color: rgba(0, 0, 0, 0.1);
}

.slider::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.4);
    border-radius: 4px;
}

.slider::-webkit-scrollbar-thumb:hover {
    background-color: rgba(0, 0, 0, 0.6);
}

.slider::-webkit-scrollbar-track {
    background-color: transparent;
}

/* Firefox */
.slider {
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, 0.4) rgba(0, 0, 0, 0.1);
}

.slider::-moz-scrollbar {
    width: 8px;
    background-color: rgba(0, 0, 0, 0.1);
}

.slider::-moz-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.4);
    border-radius: 4px;
}

.slider::-moz-scrollbar-thumb:hover {
    background-color: rgba(0, 0, 0, 0.6);
}

.slider::-moz-scrollbar-track {
    background-color: rgba(0, 0, 0, 0.1);
}

/* Edge */
@supports (-ms-ime-align: auto) {
    .slider {
        scrollbar-width: thin;
        scrollbar-color: rgba(0, 0, 0, 0.4) rgba(0, 0, 0, 0.1);
    }

    .slider::-ms-scrollbar {
        width: 8px;
        background-color: rgba(0, 0, 0, 0.1);
    }

    .slider::-ms-scrollbar-thumb {
        background-color: rgba(0, 0, 0, 0.4);
        border-radius: 4px;
    }

    .slider::-ms-scrollbar-thumb:hover {
        background-color: rgba(0, 0, 0, 0.6);
    }

    .slider::-ms-scrollbar-track {
        background-color: rgba(0, 0, 0, 0.1);
    }
}

.slider-images {
    display: flex;
}

.slider-images img {
    width: 150px;
    height: 100px;
    object-fit: cover;
    cursor: pointer;
    margin: 5px;
}

.slider-navigation {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    width: 100%;
    pointer-events: none;
}

.slider-navigation .slider-arrow {
    pointer-events: auto;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    padding: 10px;
    background-color: rgba(242, 178, 33, 1);
    font-weight: bolder;
    margin: 10px;
}


.slider-arrow:hover {
    background-color: rgb(163, 123, 27, 0.8);
}

.modal {
    display: none;
    position: fixed;
    z-index: 999;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
}

.modal-content {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    background-color: transparent;
}

.modal-image-container {
    position: relative;
}

.modal-image-container img {
    max-width: 100%;
    max-height: 100%;
}

/* .modal-image {
    display: block;
    margin: 0 auto;
    max-width: 90%;
    max-height: 80%;
} */

.modal-navigation {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    width: 100%;
    pointer-events: none;
    /* Disable pointer events to allow clicking on the image */
}

.modal-navigation .modal-arrow {
    pointer-events: auto;
    /* Enable pointer events only for the arrows */
    color: #fff;
    font-size: 50px;
    cursor: pointer;
    padding: 8px;
    background-color: rgba(242, 178, 33, 1);
}

.modal .close {
    position: absolute;
    top: 40px;
    right: 75px;
    font-size: 5rem;
    font-weight: bold;
    /* color: #fff; */
    cursor: pointer;
    z-index: 99999;
}

@media (max-width: 768px) {
    .slider-images img {
        width: 100px;
        height: 70px;
    }

    .modal-navigation .modal-arrow {
        font-size: 20px;
        padding: 6px;
    }

    .modal .close {
        font-size: 24px;
        top: 30px;
        right: 30px;
    }
}

/* Products name */

.product {
    color: #189bec;
}

/* This adds vertical line behind word SERIES, FOR IT TO WORK YOU NEED TO ENVELOPE WORD SERIES IN SPAN */

/* .series-line {
    position: relative;
    color: black;
    font-style: italic;
}

.series-line::after {
    content: "";
    position: absolute;
    top: 0;
    right: -5px;
    height: 100%;
    width: 1px;
    background-color: #777777;
    margin-right: 2px;
} */

/* This is the end of the code that adds a vertical line behind the word SERIES */

/* Products features */

/* .features-size {
    scale: 75%;
} */

.download-img {
    height: 50px;
}

/* product images big and small */

.product-img {
    display: flex;
    justify-content: center;
    align-items: center;
}

.product-img-small {
    max-width: 6rem;
}

@media (max-width: 768px) {
    .product-img-small {
        max-width: 5rem;
        position: relative;
        left: 234%
    }
}

.product-img-small-table {
    display: flex;
    position: relative;
    left: -150px;
    /* top: -70px; */
}

.cross-section-img{
    padding: 0 15%;
}

/* Removes tooted_sale.html */

@media (min-width:768px) {
    .m-sidebar {
        display: none;
    }
}

@media (max-width:768px) {
    .m-remove {
        display: none;
    }

    .m-sidebar {
        background-color: #189bec;
        display: block;
        padding: 3px 3px;
        position: fixed;
        /* width: 50px;
        height: 50px; */
        left: 1px;
        top: 20px;
        z-index: 4;
    }

    .m-sidebar p {
        color: wheat;
        cursor: pointer;
        margin: 0;
    }

    .squareDrop {
        background-color: #189bec;
        display: flex;
        font-size: 14px;
        padding: 2px 3px;
        position: fixed;
        top: 60px;
        margin: 0 0 0 1px;
    }

    .squareDrop li {
        margin: 2px;
        padding: 3px 0;
    }

    .squareDrop a {
        color: wheat;

    }

}


/* Products headers */

.product-h3-container {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-top: 50px;
    margin-bottom: 30px;
}

@media (max-width: 768px) {
    .product-h3-container {
        display: flex;
        align-items: flex-end;
        justify-content: space-between;
        margin-top: 30px;
        margin-bottom: 10px;
    }
}

.product-h3 {
    display: inline-block;
    text-align: left;
}

.product-h3-line {
    flex-grow: 1;
    height: 2px;
    background-color: black;
    margin-left: 10px;
    margin-top: 0;
}


/* Products table */

.features-table {
    width: 100%;
    border-collapse: collapse;
}

@media (max-width: 768px) {
    .features-table {
        border-collapse: collapse;
        margin: auto;
    }
}

.features-td {
    /* padding: 10px; */
    vertical-align: top;
    text-align: center;
}

@media (max-width: 768px) {
    .features-td {
        /* padding: 10px; */
        vertical-align: top;
        text-align: center;
    }
}

.item-container {
    display: flex;
    align-items: center;
    height: 200px;
    max-width: 500px;
}

@media (max-width: 768px) {
    .item-container {
        display: flex;
        align-items: normal;
        height: 200px;
        max-width: 100%;
    }
}


.features-img {
    height: 150px;
    display: inline-block;
    vertical-align: middle;
}

@media (max-width: 768px) {
    .features-img {
        height: 50px;
        display: inline-block;
        vertical-align: middle;
        max-width: none;
    }
}

.text {
    display: inline-block;
    vertical-align: middle;
    height: 150px;
    width: calc(100% - 110px);
}

@media (max-width: 768px) {
    .text {
        display: inline-block;
        vertical-align: middle;
        height: 150px;
        width: 50%;
        max-width: 50%;
    }

}

.line {
    height: 1px;
    width: 100%;
    background-color: black;
    margin: 10px 0;
}

/* Product header h2 collapse */

.product-info-h2 {
    border: 2px solid black;
    border-radius: 6px;
    padding: 10px 30px;
    cursor: pointer;
    margin-bottom: 10px;
    background-color: whitesmoke;
}

@media (max-width:768px) {
    .product-info-h2 {
        border: 1px solid black;
        padding: 5px 10px;
        cursor: pointer;
        margin-bottom: 10px;
        line-height: 1.2;
    }
}

.product-info-drop {
    cursor: auto;
}

.product-info-h2 h3 {
    padding: 15px 30px 0;
}


@media (max-width: 768px) {
    .product-info-h2 h3 {
        margin: 10px 0 5px;
        padding: 0;
    }
}



/* Products detailed overview */

.detail-table {
    width: 100%;
    margin: 0;
    border-collapse: collapse;
}



.detail-th {
    background-color: #189bec;
    color: white;
    padding: 10px 2px;
    text-align: left;
    width: 10%;
    font-size: 0.9rem;
}

/* .detail-th-s {}

.detail-th-l {} */


.detail-td {
    padding: 10px 5px;
    text-align: left;
    width: 860px;
    font-weight: normal;
}

@media (max-width: 768px) {
    .detail-td {
        padding: 5px 5px;
        text-align: left;
        width: 650px;
    }

}

.detail-tr-btn {
    display: inline-flex;
    width: 100%;
}

.detail-td-btn {
    padding: 10px 5px;
    text-align: center;
    width: 50%;
    border: 2px #189bec solid;
    margin: 0 10px;
    cursor: pointer;
}

.active {
    /* background-color: #189bec; */
    color: #131e4a;
    border: 3.2px #189bec solid;
}

.active-mini-pic {
    background-color: rgb(163, 123, 27, 0.8);
}

.detail-td-btn:hover {
    transition: 500ms;
    background-color: #131e4a;
    color: #189bec;
    border: 3px #189bec solid;
}

.image-td{
    display: contents;
}


/* IF the text does not fit. */

.detail-td-s {
    padding: 10px 5px;
    text-align: left;
}

.detail-td-L {
    padding: 10px 5px;
    text-align: left;
}

.detail-tr:nth-child(even) {
    background-color: #ffffff;
}

.product-detail-img {
    max-width: 300px;
    height: auto;
}

.detail-td-table {
    width: calc(100% - 300px);
}

@media (max-width: 768px) {

    /* Adjustments for mobile devices */
    .product-detail-img {
        max-width: 50px;
        height: auto;
    }

    .detail-td-table {
        width: 100%;
    }
}


@media (max-width: 768px) {
    .site-footer .about-widget .social-icons ul a {
        font-size: 14px;
        font-size: 1.4rem;
        color: #131e4a;
    }
}


@media (max-width: 768px) {
    .product-detail-mobile {
        margin: 0 2px;
        padding: 0 1px;
    }
}

@media (max-width: 768px) {
    .product-detail-mobile p {
        line-height: 1.1;
        font-size: 12px;
    }
}


/* =====**********===== 
Attachment button visual and its children
=====**********=====*/

.attachment {
border: 2px solid #ebedef;
font: normal;
padding: 5px 5px 2px;
}

.attachment-btn{
background-color: #189bec;
border: none;
color: #fff;
padding: 2px 5px;
}

#fileError{
    color: #131e4a;
    font-size: 15px;
}




/* PDF VIEWER */

.pdf-gallery {
    margin: 2rem 0;
    width: 100%;
}

.pdf-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}


@media (min-width: 1200px) {
    .pdf-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 768px) and (max-width: 1199px) {
    .pdf-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767px) {
    .pdf-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Single PDF centering */
/* .pdf-grid:only-child {
    grid-template-columns: minmax(auto, 400px);
    justify-content: center;
} */

.pdf-item {
    position: relative;
    aspect-ratio: 0.707; /* A4 ratio (1/1.414) */
    max-height: 300px;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
    background: #f5f5f5;
}

.pdf-preview {
    position: relative;
    width: 100%;
    height: 100%;
    background: #f5f5f5;
}

.pdf-thumbnail {
    width: 100%;
    height: 100%;
    border: none;
    pointer-events: none;
}

/* Hide all PDF viewer UI elements */
.pdf-thumbnail::-webkit-scrollbar,
.pdf-thumbnail::-webkit-pdf-toolbar {
    display: none !important;
}

.pdf-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: #f5f5f5;
    color: #666;
    font-size: 14px;
}

.pdf-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.pdf-preview:hover .pdf-overlay {
    opacity: 1;
}

.pdf-title {
    color: white;
    margin-bottom: 1rem;
    text-align: center;
    padding: 0 10px;
    font-size: 14px;
}

.view-pdf-btn {
    padding: 8px 16px;
    background: #189bec;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.view-pdf-btn:hover {
    background: #0056b3;
}

.pdf-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 9999;
}

.pdf-modal.active {
    display: flex;
    justify-content: center;
    align-items: center;
}

.pdf-modal-content {
    position: relative;
    width: 90%;
    height: 90%;
    background: white;
    padding: 20px;
    border-radius: 8px;
}

/* .pdf-modal .pdf-modal-content {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
} */

.close-modal {
    position: absolute;
    right: -30px;
    top: -30px;
    background: white;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    font-size: 20px;
    cursor: pointer;
    z-index: 10000;
}

.close-modal:hover {
    background: #131e4a;
}

.pdf-frame {
    width: 100%;
    height: 100%;
    border: none;
}

/* Two-page spread for larger screens */
@media (min-width: 768px) {
    .pdf-frame {
        width: 100%;
        height: 100%;
    }
}

/* Single page view for mobile */
@media (max-width: 767px) {
    .pdf-frame {
        width: 100%;
        height: 100%;
    }
}