/********** Template CSS **********/
:root {
    /*--primary: #3CB815;
    --secondary: #F65005;*/
    --light: #F7F8FC;
    --dark: #111111;
}

/* Payment success starts*/
.success-container {
    text-align: center;
    background: #ffffff;
    padding: 40px 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    /*max-width: 400px;*/
    width: 50%;
}

.success-icon {
    font-size: 60px;
    color: #4CAF50;
}

.success-message {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin: 20px 0 10px;
}

.details {
    font-size: 16px;
    color: #666;
    margin-bottom: 20px;
}

.btn:hover {
    background: #45a049;
}
/*Payment success ends*/

.nav-link.active {
    display: flex;
    border-bottom: 2px solid #ddd;
    margin: 0;
    padding: 0;
}

body {
    margin: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/*.btn-rd-25 {
    border-radius: 10px
}*/

footer {
    /* text-align: center;*/
    background-color: #19312c !important;
    margin-top: auto;
    padding: 10px 0;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    background-color: #f2f8ff;
}

.btnInactive {
    color: #FFFFFF;
    background-color: #14735f !important;
}

.btnActive {
    background-color: #ff0000;
    color: white;
    padding: 10px 16px !important;
    border-radius: 6px;
    border: 1px solid transparent;
}

.header {
    background-color: #19312c !important;
    color: white;
    padding: 0px;
    font-size: 24px;
    text-align: center;
}
.profile-section {
    background-color: white;
    border-radius: 8px;
    padding: 20px;
    margin-top: 20px;

}

.text-truncate {
    white-space: nowrap; /* Prevents the text from wrapping to the next line */
    overflow: hidden; /* Hides the overflowing text */
    text-overflow: ellipsis; /* Adds the ellipsis (...) */
    max-width: 250px; /* Set a maximum width for the element */
    cursor: pointer;
}

.bg-btn-color {
    color: #FFFFFF;
    background-color: #19312c !important;
    margin-top: 10px;
    /*background-color: #3bb54a !important;*/
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}

.search-box {
    border: 0;
    border-radius: 10px;
    /*background-color: #e9ecef !important;*/
    border: 1px solid #c9d2ed !important;
    padding: 0.8em 1.41575em !important;
    line-height: 1;
}

.my-6 {
    margin-top: 6rem;
    margin-bottom: 6rem;
}

.py-6 {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.bg-icon {
    background: url(../img/bg-icon.png) center center repeat;
    background-size: contain;
}

/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

    #spinner.show {
        transition: opacity .5s ease-out, visibility 0s linear 0s;
        visibility: visible;
        opacity: 1;
    }

/*** Button ***/
.btn {
    font-weight: 500;
    transition: .5s;
}

    .btn.btn-primary,
    .btn.btn-secondary,
    .btn.btn-outline-primary:hover,
    .btn.btn-outline-secondary:hover {
        color: #FFFFFF;
    }

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}


/*** Navbar ***/
.fixed-top {
    transition: .5s;
}

.top-bar {
    height: 35px;
    border-bottom: 1px solid rgba(0, 0, 0, .07);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar .navbar-nav .nav-link {
    padding: 25px 15px;
    color: #fff !important;
    font-weight: 500;
    outline: none;
}

.home-menu {
    padding: 25px 15px;
    color: white;
    font-weight: 500;
    outline: none;
   
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--dark);
}
/*(max-width: 991.98px)*/
@media {
    .navbar .navbar-nav {
        margin-top: 10px;
        border-top: 1px solid rgba(0, 0, 0, 0.07);
        background: #ffffff;
        padding-top: 20px;
    }

        .navbar .navbar-nav .nav-link {
            padding: 10px 0;
            font-size: 22px;
        }

    .navbar {
        padding-left: 10px;
        padding-right: 10px;
    }

    .search-menu-a {
        margin-left: 0px;
    }

    .navbar .navbar-nav li {
        display: inline-block;
        padding-right: 18px;
        text-align: center;
        font-size: 14px;
        float: left;
        padding-bottom: 20px;
    }

    .navbar-nav {
        display: inline-block;
    }

    .search-products {
        width: 100% !important;
    }

    .navbar.mainmenu-navbar .navbar-nav li {
        display: block;
        text-align: left;
    }
}

.secondary-navigation .menu-item {
    padding: 0 5px;
    border-left: 1px solid #eee;
    font-family: inherit;
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        transition: .5s;
        opacity: 0;
    }

    .navbar .nav-item:hover .dropdown-menu {
        transform: rotateX(0deg);
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}

/*** Header ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: start;
    z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
    width: 15%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    background-color: var(--primary);
    border: 10px solid var(--primary);
    border-radius: 3rem;
}

@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 450px;
    }

        #header-carousel .carousel-item img {
            position: absolute;
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
}

.page-header {
    padding-top: 12rem;
    padding-bottom: 6rem;
    background: url(../img/carousel-1.jpg) top right no-repeat;
    background-size: cover;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: #999999;
}


/*** Section Header ***/
.section-header {
    position: relative;
    /*padding-top: 70px;*/
}

    .section-header::before {
        position: absolute;
        content: "";
        width: 60px;
        height: 2px;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        background: var(--primary);
    }

    .section-header::after {
        position: absolute;
        content: "";
        width: 90px;
        height: 2px;
        top: 10px;
        left: 50%;
        transform: translateX(-50%);
        background: var(--secondary);
    }

    .section-header.text-start::before,
    .section-header.text-start::after {
        left: 0;
        transform: translateX(0);
    }

@media (min-width: 992px) {
    .navbar-expand-lg {
        flex-wrap: wrap !important;
        padding: 20px 0;
    }
}

@media (min-width: 768px) {
    /* Add your desktop styles here */
}

@media (max-width: 767px) {
    .d-lg-flex {
        display: flex !important;
    }

    .ms-2 {
        margin-left: 0.5rem !important;
    }
}

    .search-menu .navbar-nav li {
        padding-right: 20px;
    }
    .search-menu .navbar-nav ul li .search-menu-a {
        padding: 0px;
    }
        figure {
            margin: 0 !important;
            text-align: center;
        }

    .search-menu .navbar-nav li:nth-child(1) {
        padding-left: 20px;
    }

    .dropdown-menu {
        border: none !important;
        box-shadow: 1px 1px 15px rgba(0, 0, 0, .15);
    }

    .dropdown-item {
        border-bottom: 1px dotted #cccccd;
    }

        .dropdown-item:last-child {
            border-bottom: none;
        }

    .dropdown-menu {
        display: none;
    }

        .dropdown-menu.show {
            display: block;
        }

.navbar{
    display:block !important;
}

@media (min-width: 992px) {
    .navbar-expand-lg .navbar-collapse{
        display: flex !important;
        flex-basis: 95%;
    }
}