/*.header-list.main-header-list{
    justify-content: flex-end;
}
.header-list .account-dropdown-wrapper{
    left: 5%;
}*/
.modal-header{
    justify-content: space-between;
}
.modal-header .modal-title{
    order: 1;
}
.modal-header button{
    order: 2;
}
/*
.modal-footer button.btn {
	font-size:16px;
	line-height: normal;
	color: #fff;
	outline: none; 
	border: none;
	border-radius: 0;
	padding: 13px 50px;
	position: relative;
	cursor: pointer;
	text-decoration: none;
	transition:background-color 0.4s;

	display: inline-block;
}
.modal-footer button.btn.green-button {
    background: #00AD6F;
    color: #fff;
}
.modal-footer button.btn.green-button:hover{
    background-color: #008a59;
    color: #fff;
}
.modal-footer button.btn.green-button:active{
	top: 1px;
}
.modal-footer button.btn.red-button {
	background: #E15554;
    color: #fff;
}
.modal-footer button.btn.red-button:hover{
    color: #fff;
}
.modal-footer button.btn.red-button:active{
	top: 1px;
}
.account-log-out{
    margin-bottom: 0;
	padding-bottom: 45px;
}
*/

a{
    text-decoration: none;
}

/* ========== Bootstrap 5 Container Adjustments - Start ========== */

@media (min-width: 768px) {
  .container {
    max-width: 750px;
  }
}
@media (min-width: 992px) {
  .container {
    max-width: 970px;
  }
}
@media (min-width: 1200px) {
  .container {
    max-width: 1170px;
  }
}

/* ========== Bootstrap 5 Container Adjustments - End ========== */

/* ========== Bootstrap 5 Carousel Adjustments - Start ========== */

/* Carousel container - match Bootstrap 3 styling */
#carousel-home {
    margin-bottom: 50px;
}

/* Carousel indicators - positioned below carousel like Bootstrap 3 */
.carousel-indicators {
    bottom: -50px;
    margin-top:10px;
}

/* Carousel indicator buttons - rectangular bars matching Bootstrap 3 */
.carousel-indicators button {
    border: 1px solid #666 !important;
    border-radius: 0 !important;
    width: 50px !important;
    height: 8px !important;
    margin-left: 10px !important;
    background-color: transparent !important;
    opacity: 1 !important;
}

/* Active indicator - red background matching Bootstrap 3 */
.carousel-indicators .active {
    background-color: #e1221a !important;
    width: 50px !important;
    height: 8px !important;
    margin-left: 10px !important;
}

/* Responsive indicators for mobile - matching Bootstrap 3 */
@media screen and (max-width: 767px) {
    .carousel-indicators button {
        width: 25px !important;
        height: 6px !important;
        margin-left: 6px !important;
    }
    .carousel-indicators .active {
        width: 25px !important;
        height: 6px !important;
        margin-left: 6px !important;
    }
}

/* Carousel items - ensure smooth transitions */
#carousel-home .carousel-item {
    transition: transform 0.6s ease-in-out;
}

/* Maintain image styling for Bootstrap 5 */
#carousel-home .carousel-item img.no-margin {
    margin: 0;
}

/* Carousel caption styling - already defined in main_new_style.css */
/* The following styles from main_new_style.css apply to both Bootstrap 3 and 5:
   - .carousel-caption with red background (#e1221a)
   - .carousel-caption .caption-title
   - .carousel-caption .caption-description
   - .carousel-caption .caption-link
   - Responsive caption adjustments
*/

/* Optional: Carousel control buttons styling (currently commented out in markup) */
#carousel-home .carousel-control-prev,
#carousel-home .carousel-control-next {
    width: 5%;
    opacity: 0.5;
}

#carousel-home .carousel-control-prev:hover,
#carousel-home .carousel-control-next:hover {
    opacity: 0.9;
}

.carousel-control .icon-prev,
.carousel-control .glyphicon-chevron-left {
    left: 20%;
}

.carousel-control .icon-next,
.carousel-control .glyphicon-chevron-right {
    right: 20%;
}

/* ========== Bootstrap 5 Carousel Adjustments - End ========== */

/* ========== Bootstrap 5 Navigation Adjustments - Start ========== */

.navbar{
    padding: 0;
}

/* Navbar toggler icon - match Bootstrap 3 style */
.navbar-toggler {
    padding: 9px 10px;
    background-color: transparent;
    border: 1px solid transparent;
    border-radius: 4px;
    color: #fff;
    margin: 0 auto;
}

.navbar-toggler:hover{
    background-color: #b71b15;
}

.navbar-toggler:focus {
    outline: 0;
    box-shadow: none;
}

/* Create the three-bar icon like Bootstrap 3 */
.navbar-toggler-icon {
    display: inline-block;
    width: 22px;
    height: 2px;
    background-color: #fff;
    position: relative;
    background-image: none;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
    content: '';
    display: block;
    width: 22px;
    height: 2px;
    background-color: #fff;
    position: absolute;
    left: 0;
}

.navbar-toggler-icon::before {
    top: -7px;
}

.navbar-toggler-icon::after {
    top: 7px;
}

/* Navigation items - match Bootstrap 3 spacing */
.navbar-design .navbar-nav .nav-item {
    display: inline-block;
}

.navbar-design .navbar-nav .nav-link {
    padding: 15px;
    color: #fff;
    text-decoration: none;
}

.navbar-design .navbar-nav .nav-link:hover,
.navbar-design .navbar-nav .nav-link:focus {
    color: #fff;
    background-color: transparent;
}

.navbar-design .navbar-nav .nav-item.active .nav-link {
    color: #fff;
}

/* Dropdown menu styling - match Bootstrap 3 */
.navbar-design .dropdown-menu {
    border: none;
    border-radius: 0;
    margin-top: 0;
    font-size: 14px;
}

.navbar-design .dropdown-item {
    color: #fff;
    padding: 10px 20px;
}

.navbar-design .dropdown-item:hover,
.navbar-design .dropdown-item:focus {
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.navbar-design .dropdown-item.active {
    background-color: rgba(255, 255, 255, 0.15);
    color: #fff;
}

/* Ensure dropdown toggle works on hover for desktop */
@media (min-width: 992px) {
    .navbar-design .dropdown:hover .dropdown-menu {
        display: block;
    }
    
    .navbar-design .dropdown-toggle::after {
        display: none;
    }
}

/* Mobile navigation - match Bootstrap 3 */
@media (max-width: 991px) {    
    .navbar-design .navbar-nav {
        margin: 0;
    }
    
    .navbar-design .dropdown-menu {
        position: static;
        float: none;
        width: auto;
        margin-top: 0;
        background-color: rgba(0, 0, 0, 0.1);
        border: 0;
        box-shadow: none;
    }
}

/* ========== Bootstrap 5 Navigation Adjustments - End ========== */

/* ========== Bootstrap 5 Pagination Adjustments - Start ========== */

/* Match Bootstrap 3 pagination styling */
.pagination {
    display: inline-block;
    padding-left: 0;
    margin: 20px 0;
    border-radius: 4px;
}

.pagination > li {
    display: inline;
}

.pagination > li > a,
.pagination > li > span {
    position: relative;
    float: left;
    padding: 6px 12px;
    margin-left: -1px;
    line-height: 1.42857143;
    color: #337ab7;
    text-decoration: none;
    background-color: #fff;
    border: 1px solid #ddd;
}

.pagination > li:first-child > a,
.pagination > li:first-child > span {
    margin-left: 0;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
}

.pagination > li:last-child > a,
.pagination > li:last-child > span {
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}

.pagination > li > a:hover,
.pagination > li > span:hover,
.pagination > li > a:focus,
.pagination > li > span:focus {
    z-index: 2;
    color: #23527c;
    background-color: #eee;
    border-color: #ddd;
}

.pagination > .active > a,
.pagination > .active > span,
.pagination > .active > a:hover,
.pagination > .active > span:hover,
.pagination > .active > a:focus,
.pagination > .active > span:focus {
    z-index: 3;
    color: #fff;
    cursor: default;
    background-color: #337ab7;
    border-color: #337ab7;
}

.pagination > .disabled > span,
.pagination > .disabled > span:hover,
.pagination > .disabled > span:focus,
.pagination > .disabled > a,
.pagination > .disabled > a:hover,
.pagination > .disabled > a:focus {
    color: #777;
    cursor: not-allowed;
    background-color: #fff;
    border-color: #ddd;
}

/* ========== Bootstrap 5 Pagination Adjustments - End ========== */

/* ========== Bootstrap 5 Other Adjustments - Start ========== */

/* Font Awesome icon adjustments to match glyphicon styling */
.store-side-menu .fa {
    font-size: inherit;
    line-height: inherit;
}

.breadcrumb{
    padding: 8px 15px !important;
}
.black-bar .list-inline{
	justify-content: flex-end;
}
.button-design{
    text-decoration: none;
}
.recommended-frmOrder.form-inline .form-group{
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 5px !important;
    justify-content: space-between !important;
    flex-direction: row !important;
    align-items: center !important;
}

/* ========== Bootstrap 5 Other Adjustments - End ========== */