﻿html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}

/*Custome Css*/


table.dataTable {
    width: 100% !important;
}


body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100vh;
    font-family: "Open Sans", sans-serif;
    background: #e0e0e0;
}

.jumbo {
    padding-top: 100px;
    min-height: 200vh;
}

.offcanvas.show:not(.hiding), .offcanvas.showing {
    background-color: #fff5f5;
    width: 80%;
}
/* Scroll Shrink Navbar */
.shrink .navbar {
    background: white !important;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: var(--bs-nav-pills-link-active-color) !important;
    background-color: #525252 !important;
}

@media (max-width: 600px) {
    .dropdown-menu {
        background-color: #ffffff00 !important;
        width: 270px;
    }

    .wdth255 {
        width: 255px;
    }

    .carousel-item .col-sm-3 {
        display: none; /* Hide all cards */
    }

        .carousel-item .col-sm-3:first-child {
            display: block; /* Show only the first card */
        }
}

/* Hover Dropdown for desktop */
@media (min-width: 992px) {
    .navbar .dropdown:hover > .dropdown-menu {
        display: block;
        margin-top: 0;
    }

    .wdth300 {
        width: 300px;
    }
}

.dropdown-arrow {
    transition: transform 0.3s ease;
    display: inline-block;
}

.dropdown-toggle::after {
    content: "";
    display: inline-block;
    margin-left: .255em;
    vertical-align: .255em;
    border-top: .3em solid;
    border-right: .3em solid transparent;
    border-left: .3em solid transparent;
    transition: transform 0.3s ease;
}

.dropdown.open .dropdown-toggle::after {
    transform: rotate(180deg);
}

.shrink .navbar {
    box-shadow: 0 5px 5px #27242412;
}

.navbar-light .navbar-nav .nav-link {
    padding-right: 25px !important;
    font-size: 17px;
    color: rgb(66 66 66) !important;
}

.footer-bg-color {
    background-color: #ffe8e8;
}

.zoom1:hover {
    transform: scale(.85);
    transition: transform 1s;
}

.lnk:hover {
    text-decoration: none !important;
}

.Border-Top {
    border-top: solid 1px #949494;
}

.twh:hover {
    color: black !important;
    text-decoration: none !important;
}


.r30 {
    border-radius: 30px;
}

.footer-content {
    text-decoration: none !important;
    color: dimgrey !important;
}

@media only screen and (max-width: 600px) {
    .lapy {
        display: none;
    }
    .picW{
        width:30%!important;
    }
}

@media only screen and (min-width: 600px) {
    .mobile {
        display: none;
    }
    .picW {
        width: 10% !important;
    }
}

.fs {
    font-size: 14px;
}
.fss {
    font-size: 12px;
}
.bg-red {
    background-color: #a9002f;
}
.bg-d-grey {
    background-color: #4b4b4b;
}
.bg-lg-grey {
    background-color: #00000012;
}

.bg-d-o {
    background-color: #00000070;
    color: white;
}

.cR {
    color: #a9002f;
}

.tlE {
    text-align: end
}

.aDecor {
    text-decoration: none;
    color: white;
}

.btn-danger {
    background-color: #a9002f !important;
    border-color: #a9002f !important;
}

.btn-outline-danger {
    border-color: #a9002f !important;
    color: #a9002f !important;
}

    .btn-outline-danger:hover {
        border-color: #a9002f !important;
        background-color: #a9002f !important;
        color: #fff !important;
    }

.d-md-block {
    display: block !important;
    background-color: #0000006b !important;
    padding-bottom: 100px !important;
}

.card-Custm {
    background-color: #eeeeee !important;
    border: none !important;
}

    .card-Custm:hover {
        box-shadow: 0 4px 12px rgb(128 0 0 / 50%);
    }

.b-Shadow {
    box-shadow: 0 4px 12px rgb(128 0 0 / 50%);
}

.BgImg1 {
    background-image: url('../Images/Other/b1.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.BgImgE {
    background-image: url('../Images/Other/connecting-cable.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.BgImgG {
    background-image: url('../Images/Other/modern-building-view.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
/*entrance animation*/
.fade-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 1s ease, transform 1s ease;
}

    .fade-in-left.visible {
        opacity: 1;
        transform: translateX(0);
    }

.fade-in-bottom {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

    .fade-in-bottom.visible {
        opacity: 1;
        transform: translateY(0);
    }

.fade-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

    .fade-in-right.visible {
        opacity: 1;
        transform: translateX(0);
    }

/*product carousal*/
@media (max-width: 600px) {
    .carousel-inner .carousel-item > div {
        display: none;
    }

        .carousel-inner .carousel-item > div:first-child {
            display: block;
        }
}
/* On larger screens, show 4 cards side by side */
@media (min-width: 600px) {
    .car_in {
        display: block;
        float: left;
        width: 23%; /* 4 items */
    }
}

.card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card_m {
    margin: 10px !important;
}

/*Image Zoom*/
@media (min-width: 600px) {
    #fullscreenOverlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.9);
        display: flex;
        justify-content: center;
        align-items: center;
        z-index: 9999;
    }

    #fullscreenImg {
        max-width: 90%;
        max-height: 90%;
        border: 3px solid #fff;
        border-radius: 8px;
    }

    #closeBtn {
        position: absolute;
        top: 20px;
        right: 30px;
        font-size: 40px;
        color: white;
        cursor: pointer;
    }
}

@media (max-width: 600px) {

    #fullscreenOverlay {
        display: none !important;
    }
}

.table-primary {
    --bs-table-bg: #a9002f2e !important;
}

select#categoryDropdown:hover,
select#categoryDropdown:focus {
    border-color: #a9002f !important;
    box-shadow: 0 0 5px #a9002f !important;
}
.form-check-input:checked {
    background-color: #a9002f!important;
    border-color: #a9002f!important;
}

/*sticky icons*/
.sticky-icon {
    position: fixed;
    top: 35%;
    right: 0;
    display: flex;
    width:60px;
    flex-direction: column;
    z-index: 9999;
}

    .sticky-icon a {
        border-radius: 5px 0px 0px 5px;
        text-align: left;
        margin: 2px 0;
        text-decoration: none;
        padding: 10px;
        font-size: 16px;
        background: #a9002f;
        color: #fff;
        border: 1px solid #a9002f;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        width: 200px;
    }

        .sticky-icon a i {
            background-color: #fff;
            height: 40px;
            width: 40px;
            color: #000;
            text-align: center;
            line-height: 40px;
            border-radius: 50%;
            margin-right: 10px;
        }

.fw900 {
    font-weight: 900 !important;
    font-size: 21px !important;
}


    /*Product Page*/


.product-info {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.product-info img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
}

.product-text {
    max-width: 400px;
}

.product-title {
    font-weight: bold;
    margin-bottom: 5px;
}

.product-description {
    color: #555;
    font-size: 14px;
}


/*Pagging css*/

.active > .page-link, .page-link.active {
    z-index: 3;
    color: white !important;
    background-color: black !important;
    border-color: black !important;
}
/*Testimonials*/
.rounded-circle {
    border-radius: 50%!important;
    border: solid #a9002f!important;
}