/**
 * MyGroceryPlan Plugin - Custom Styles
 * 
 * This file contains the CSS styles for the MyGroceryPlan WordPress plugin.
 *
 * @package   MyGroceryPlan
 * @version   1.0.0
 * @author    Shawn Pick
 * @license   GPL-2.0+
 * @link      https://mygroceryplan.ca
 * @since     1.0.0
 */




/* Shopping lists */


/* Contains the shopping list panels */
.mygroceryplan-container {
    display: none;
    justify-content: space-between;
    width: 100%;
    padding: 20px 0;
    box-sizing: border-box;
    flex-wrap: wrap; /* This enables wrapping on smaller screens */
    margin-bottom: 300px;

}

/* isolated shopping list */
.mygroceryplan-section {
    text-align: left;
}


/* System Headers */
.recipe-header h4,
.create-new-recipe h4,
.mygroceryplan-section h4 {
    display: inline-block !important;
}

.recipeDisplay .recipe-header h4 {
    
}

 .recipe-header {
  display: flex;
  flex-wrap: wrap; /* allows the 4th item to drop to next row */
  align-items: center;
  justify-content: space-between; /* spread left and right */
  gap: 5px; /* optional spacing between items */
}

.recipe-header > * {
  flex: 1; /* make first three items equal width */
  text-align: center; /* default center */
}

.recipe-header .back-btn-text,
.recipe-header .save-recipe,
.recipe-header .edit-recipe {
  flex: 0 0 auto;   /* don’t grow, don’t shrink */
}


/* Middle title: expands to fill free space */
.recipe-header .recipe-title {
  flex: 1;          /* grow to take leftover space */
  text-align: center;
}

.recipe-header .back-btn-text {
  text-align: left;
  justify-self: flex-start;
  
}


.elementor-kit-6 .recipe-header .save-recipe,
.elementor-kit-6 .recipe-header .edit-recipe {
  text-align: right;
  justify-self: flex-end;
  margin-right: auto;
  color: #007BFF;
  font-weight: bold;
  margin-right: 8px;
}

/* Make the 4th item span full width */
.recipe-header div {
  flex: 0 0 100%;
  text-align: left; /* align text naturally */
}

.recipeImages {
    vertical-align: top;
    display: flex;              /* Arrange items side by side */
    flex-wrap: nowrap;           /* Prevent wrapping */
    overflow-x: auto;            /* Enable horizontal scrolling */
    overflow-y: hidden;          /* Hide vertical overflow */
    height: 80px;
    gap: 5px;                    /* Optional spacing between items */
    -webkit-overflow-scrolling: touch; /* Smooth scroll on mobile */
    margin-bottom: 5px;
}

.recipeImages a,
.recipeImages span.uploadImage {
    flex: 0 0 auto;              /* Prevent shrinking, keep fixed width */
    display: inline-block;
    width: 75px;
    height: 75px;
    cursor: pointer;
}

.recipeImages a {    
    position: relative;
}

.recipeDisplay .recipeImages span.uploadImage {
    display: none;
}
.recipeImages a img {
    max-width: 4.7em;
    max-height: 4.7em;
    
}

.recipeImages input#new_image {
    visibility: hidden;
    width: 0;
    height: 0;

    
}



.recipeImages i {
    display: block;
    position: absolute;
    right:0;
    top:0;
    color: #e53935;
}


span.uploadImage {
    border: 1px solid #333;
    font-size: 80px;
    line-height: 50px;
    padding-left: 0px;
    vertical-align: top;
    text-align: center;
}


.mygroceryplan-section h4 {
    vertical-align: top;
}

/* Clickable Icon next to the H4 headers(Add Shopping List) */
.mygroceryplan-section .addList-btn {
    display: inline-block !important;
    background-color: transparent !important;
    padding: 0;
    margin: 0;
    color: #333 ;
    border: none !important;
    box-shadow: none;
}

 
/* The div holding the input box and the create button, within the lightbox */
.create-list-container {
    display: flex; /* Use Flexbox to align elements horizontally */
    justify-content: flex-start; /* Align items to the left */
    align-items: center; /* Vertically center items */
    margin-bottom: 20px; /* Add space below the section */
    margin: 10px 0 0 0;

}

/* Style for the input box's for  shopping list and recipe */
#create-new-recipe  input[type="text"],
#create-list-container input[type="text"] {
    flex-grow: 1; /* Make the input take up as much space as possible */
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 10px;
    margin-right: 10px; /* Space between the input and the button */
}



/* Style buttons(solid blue with white writing) */
.shoppinglist-chooser .shopping-list-item .add-to-shoppinglist-btn,
.shoppinglist-chooser .back-btn,
.create-new-recipe .create-btn,
#add-item-btn,
#delete-striked-items-btn,
.mygroceryplan-section .recipes-btn,
.create-list-container button,
.mygroceryplan-left .manage-departments-btn,
.mgp-shoppinglist-holder .manage-departments-btn,
.add-shoppinglist-item .add-item-btn,
#create-list-container button,
#add-department-btn {
    padding: 8px 13px;
    font-size: 16px !important;
    background-color: #15b5ff;
    color: #fff;
    border: 1px solid #15b5ff;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out;
}
.shoppinglist-chooser .shopping-list-item .add-to-shoppinglist-btn,
.mygroceryplan-section .recipes-btn {
    float: right;
}

.shoppinglist-chooser .shopping-list-item .add-to-shoppinglist-btn {
    float: none;
    display: block;
    box-shadow: none;
    width: 100%;
}


/* The Icon/Button that switches the application between Meals and Shopping */
.mygroceryplan-section .recipes-btn {
    padding: 6px 8px 0 8px;
}
.mygroceryplan-section .recipes-btn i {
    margin: 0;
    font-size: 30px;
}

/* Add Item to shopping list, in black faded box */
#add-item-btn:hover,
.mygroceryplan-left .manage-departments-btn:hover,
.add-shoppinglist-item .add-item-popup:hover,
.create-list-container button:hover,
#create-list-container button:hover
#add-department-btn:hover {
    background-color: #fff;
    color: #15b5ff;
}


/* Conatines the shopping list and departments panels */
.mgp-shoppinglist-holder {
    width: 100%;
    padding: 0;

}
/* Department panel !!!!! Needs Renaming !!!!! */
.mygroceryplan-container .mygroceryplan-left {
    margin-bottom: 200px;
    padding: 0;
}

/* Input box for the department name */
input[type="text"]#department-name {
    padding: 10px 8px;
}

.create-list-container input[type="text"].capsule {
    margin-right: 10px !important;
}

.create-list-container .delete-department-btn {
    padding: 10px 10px 5px 5px !important;
    background-color: #ff5252;
    border: none;
    color: #fff;
}


/* Left justifies the text for the Departments and Shopping List Create panel  */
.text-left {
    margin: 0; /* Removes default margin from paragraph */
    flex-grow: 1; /* Ensures the text takes up the remaining space */
}




/* Style for the shopping list panel(needs renaming) */
.mygroceryplan-left {
    display: inline-block;
    width: 50%; /* 50% width for left panel */
    padding-right: 20px; /* Add padding for separation */
}

/* The DIV that contains the shopping list elements that the JS works on */
#shopping-lists {
    margin-bottom: 20px;
    margin-top: 20px;
}

/* The Department Select list from the create shopping list item panel(faded black box) */
#department {
    margin-bottom: 15px;
}




/* Shopping list items, Capsule holder that contains the entire shopping list item */
.mygroceryplan-list-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    padding: 0px;
    background-color: #f9f9f9;
    border-radius: 5px;
    border: 1px solid #ddd;
}

/* The Shopping list items Capsule holder that contains the entire shopping list */
.shopping-list-item {
    display: flex; /* Use flexbox for layout */
    align-items: center; /* Center items vertically */
    margin-bottom: 10px;
}

/* Shopping list items - left button */
#shopping-lists .shopping-list-btn {
    display: inline-flex;
    background-color: #292929;
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    text-align: left;
    font-size: 16px;
    border-radius: 15px 0 0 15px !important;
    transition: background-color 0.3s ease-in-out;

    flex-grow: 1; /* Makes this button take up the remaining space */
    max-width: calc(100% - 70px); /* Prevents it from growing too much */
    white-space: wrap; /* Prevents text from wrapping */
    overflow: hidden; /* Hide overflow text */
    text-overflow: ellipsis; /* Show ellipsis (...) for overflowed text */
}
#shopping-lists .shopping-list-btn:hover {
    background-color: #fff; /* Hover color */
    color: #292929;

}


/* Shopping list items - right button */
.mygroceryplan-section .delete-list-btn {
    border-radius: 0 15px 15px 0 !important;
    background-color: #ff5252;
    color: white;
    padding: 8px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s ease-in-out;

    flex-shrink: 0; /* Prevents this button from shrinking */
    width: 70px; /* Fixed width for the delete button */
    padding: 10px; /* Add some padding for better appearance */
}
.mygroceryplan-section .delete-list-btn:hover {
    background-color: #e53935; /* Hover color */
}

/* Shopping list items Highlight Color - left button */
#shopping-lists .shopping-list-btn.selected {
    background-color: #64e92e; /* Selected list color */
    color: #292929;
}



/* Shopping list button Delete -  Right of the shopping-list-btn */
.mygroceryplan-list-item .delete-btn {
    color: #e91e63;
    cursor: pointer;
}
.mygroceryplan-list-item .delete-btn:hover {
    color: #c2185b;
}

/* The panel that contains the lists and all Delete Striked Items button */
#shopping-list-items {
    list-style:none;
    padding:0;
    margin:0 0 20px 0;
}

/* Shopping list item - left button */
#shopping-list-items .listItemStatus {
    background-color:#efefef;
    border: 1px solid #888 !important;
    text-align: left;
    color: #333333;
    border: none;
    padding: 8px;
    cursor: pointer;
    font-size: 14px;
    border-radius: 15px 0 0 15px !important;
    flex-grow: 1;
    margin-right: 10px;
    transition: none;
    box-shadow: none;
}

/* Style the timer GIF image that shows when the system is loading, the graphic popped into this item during ASYNC operations */
#shopping-list-items .listItemStatus img {
    background-color: transparent !important;
    height: 21px;
}

li.strikedOut {
    background-color: #ccc;
    color: #666;
}

/*  Striked out letters  */
#shopping-list-items li.strikedOut .listItemStatus {
    color: #ccc;
    text-decoration: line-through;
    border-color: #ccc !important;
    box-shadow: none;
    background-color: #ffff;
}


/* Shopping list item - right button */
.mygroceryplan-list-item .delete-item-btn {
    border-radius: 0 15px 15px 0 !important;
    background-color: #ff5252;
    border: 1px solid #ff5252;
    color: white;
    padding: 5px 3px 0 3px;
    cursor: pointer;
    transition: none;
    margin: 0;
    box-shadow: none;
}
.mygroceryplan-list-item .delete-item-btn i {
    font-size: 24px;
}
.mygroceryplan-list-item .delete-item-btn:hover {
    color: #ff5252;
    background-color: #fff;
    border:1px solid #ff5252 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* The black faded box that contains the Add Shopping List Item */
  .add-shoppinglist-item {
    position: fixed;
    display: none;
    bottom: 0; 
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 0 10px 20px 10px;    
  }
  /* The black faded box  */
  .shoppinglist-add-bg {
    position: absolute;
    display: block;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;    
    
    background-color: #000;
    box-shadow: 0 0 14px 15px #000;    
    opacity: .9;
  }
  

  .add-btn-holder {
    display: block;
    width: 100%;

    z-index: 100;

    text-align: -webkit-center;
    justify-content: center;
  }
  
  /* Splits the container into left/right for the input and controls  */
  .split {
    display: block;
    width: 50%; 
  }
  
  .left {
    float: left;
    width: 80%;
    text-align: left;
    z-index: 101;
  }
  
  .add-btn-holder .left input,
  .add-btn-holder .left select {
    position: relative;
    display: block;
    width: 100%;
    margin-bottom: 10px; 
    padding: 8px;
    font-size: 16px;
    z-index: 100;
    opacity: 1;
  }
  
  .right {
    float: right;
    width: 19%;
    height: 100%;
    z-index: 101;
    padding-top: 33px;

    display: flex;
    align-items:right;
    justify-content: right; 
  }
  
  /* Button to add item to shopping list */
  .add-shoppinglist-item  .add-item-btn {
    display: inline;
    position: relative;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    background-color: #007BFF;
    color: white;
    border: none;
    border-radius: 5px;
    z-index: 103;
  }
  
  /* Clear function to push the frame down */
  .clr {
    clear: both;
  }
  
  /* Holds the 'Create New Department' panel that is hidden unless the correct key is selected */
  .new-department-name-holder {
    position: relative;
    display: none;
    width: 50%; 
    padding: 0px;
    margin: 0;
    text-align: center;
    z-index: 104;
  }
  
/* ?? */
.add-item-popup:hover {
    background-color: #ccc;
    color:navy;
}
/* ??? */
.gradientBG {
    position: fixed;
    bottom: 100px;
    left: 0;
    width: 100%;
    height: 70px;
    z-index: 1;
    background-color: #000;
    box-shadow: 0 0 25px 40px #000;
    opacity: .9;
}



/* The grey backgrounds for 'Create Meal' panel  */
#recipes-cover,
/* The grey backgrounds for 'Create Shopping List' panel  */
#cover {
    display: none;
    background-color: #000;
    position: fixed;
    left: 0px;
    bottom: 0px;
    opacity: 0.7;
    width: 100%;
    height: 100%;
}

/* The containers that contain both the meal planner all meals and weekly meals */
#recipes,
#recipesWeek {
    margin: 15px 0 150px 0;
    padding: 0;
}

/* add extra padding to the bottom of the the top recipes container */
#recipesWeek {
    margin-bottom: 40px;
}



/* 
    Adding List Items 

*/
.mygroceryplan-right,
.mygroceryplan-createList {
    display: none;
    position: fixed;
    width: calc(100% - 20px);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    width: 45%; /* 45% width for right panel */
    background-color: #f1f1f1;
    padding: 15px;
    border-radius: 10px; /* Rounded corners */
    box-sizing: border-box;
}










/* 
    Manage departments section 

*/

#department-list {
    list-style: none;
    margin: 0;
    padding: 0;;
}

#department-list li {
    margin-bottom: 10px;
}


#department-list p {
    border: 1px solid #292929;
}


/*OLD*/
#department-list li div  {
    float: none;
    width: 100%;
    margin-top: 5px;
    text-align: center;
    align-items: center; 
}

#department-list li div div {
    float: right;
    width: 49%;
    text-align: right;
}

#department-list li div:first-child {
float: left;
text-align: left;
}

#department-list li div div p {
    border: 1px solid #292929;
}
/* OLD ENDS */

/* Custom Departments panel */
.mgp-left {
    display: inline-block;
    width: 50%; /* 50% width for left panel */
    padding-right: 20px; /* Add padding for separation */
    vertical-align: top;
}

/* Style for the add item panel */
.mgp-right {
    display: inline-block;
    width: 45%; /* 45% width for right panel */
    background-color: #f1f1f1;

}

.mygroceryplan-departments {
    display:none;
    width: 100%; /* Full width for Manage Departments on large screens */
    background-color: #f1f1f1;
    padding: 30px;
    margin-top: 20px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 10px; /* Rounded corners */
}

.mygroceryplan-right .delete-department-btn:hover {
    background-color: #e53935;
}

.mygroceryplan-right .delete-department-btn {
    background-color: #ff5252;
    color: white;
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 14px !important;
    margin-top: 5px;
    display: inline-block;
}

.department-section {
    margin-bottom: 20px;
}

.department-section p.title {
    margin: 10px auto 5px 0;
    font-weight: bold;
}


.mygroceryplan-department-items {
    list-style: none;
    padding-left: 0;
}

.mygroceryplan-department-items li {
    border: none;
    background-color: transparent;
}


.department-items div {
    float: right;
    width: 49%;
    height: 20px;
}

.department-items:first-child {
    float: left;
    width: 49%;
    height: 20px;
}







/* 
    Back-btn
    
*/
.shoppinglist-chooser .back-btn,
.create-new-recipe .back-btn,
.mygroceryplan-left .back-btn,
.mygroceryplan-createList .back-btn,
body.elementor-kit-6 .create-new-recipe button.back-btn,
.mygroceryplan-right .back-btn {
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out;

    border:1px solid #f56302;
    background-color: #f56302;
    color: #FFF;
    margin: 0;
    padding: 8px 10px;
    box-shadow: none;
}

.back-btn-text {
    font-size: 16px;
    padding: 8px 10px;
    color: #333;
    cursor: pointer;

}



/* 
    Input fields and buttons  

*/
input[type="text"],
select,
button {
    margin-top: 10px;
    margin-bottom: 15px;
}

input[type="text"], select, button {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    box-sizing: border-box;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #fff;
    transition: border-color 0.2s ease-in-out;
}

input[type="text"]:focus, select:focus {
    border-color: #8a2be2; /* Add focus color */
    outline: none;
}

button {
    background-color: #e91e63;
    color: white;
    border: none;
    padding: 10px 20px;
    margin-top: 10px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease-in-out, box-shadow 0.2s;
}

button:hover {
    background-color: #c2185b; /* Darker color on hover */
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}



/* 
    Heading adjustments 
    
*/
.mygroceryplan-right h2,
.mygroceryplan-left h2 {
    font-size: 22px;
    margin-bottom: 15px;
    margin-top: 0;
}

.mygroceryplan-right h3,
.mygroceryplan-left h3 {
    font-size: 18px;
    margin-bottom: 10px;
}
.flex-title {
    display: flex;
    justify-content: space-between; /* Ensures text is on the left and button on the right */
    align-items: center; /* Vertically center-aligns the content */
    width: 100%; /* Full width of the container */
    padding: 10px;
}



/*
    Capsules 

*/
p.capsule,
#department-list li div div p.capsule,
input[type="text"].capsule {
    display: block;
    border-radius: 15px 0 0 15px !important;
    box-shadow: none;

}

button.capsule {
    box-shadow: none !important;
    border-radius: 0 15px 15px 0 !important;
}

p.capsule {
    width: 100%;
    padding: 8px;
    margin: 0 10px 0 0;
}







/*
    Meal Planner | Recipes
    
*/

.recipes {
    /* min-width: 500px; */
    display: block; /* Show by default */
    width: 100%; /* Ensure the panel takes full width of its container */
    max-width: 100%; /* Prevents it from exceeding the width of its parent */
    box-sizing: border-box; /* Includes padding and border in the element's width */
    padding: 0;
    overflow: visible;

}



.mgp-recipes {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 20px 0;
    box-sizing: border-box;
    flex-wrap: wrap; /* Allows wrapping on smaller screens */
    overflow: visible; /* Prevents content from overflowing outside the container */
    

    
    /* display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 20px 0;
    box-sizing: border-box;
    flex-wrap: wrap;  */
}
.mgp-recipes .ingredientEdit-btn,
.mgp-recipes .addRecipe-btn {
    display: inline-block !important;
    background-color: transparent !important;
    padding: 0;
    margin: 0;
    color: #333 ;
    border: none !important;
    box-shadow: none;
    vertical-align: middle;
}
.mgp-recipes .ingredientEdit-btn i {
    font-size: 20px;
}


/* DELETE ME  */

.mgp-recipes .ingredientEdit-btn i {
    /* display: none; */
}

/* DELETE ME  */

.edit-ingredient fieldset {
    display: flex;
    flex-direction: row;
    justify-content: space-between;

}

.edit-ingredient fieldset:first-child {
    padding-left: 10px;
}

.edit-ingredient fieldset:last-child {
    padding-left: 10px;
}

.edit-ingredient .ingredient-row {
    display: flex;
    flex-flow: row;
    align-items: flex-start; /* Align all boxes to the top */
}

.edit-ingredient .ingredient-row .ingredient-amount {
    flex: 0 1 50px; /* don't grow, can shrink, base width 100px */
    margin: 0 4px 0 0;
}
.edit-ingredient .ingredient-row .ingredient-unit {
    flex: 0 1 50px; /* don't grow, can shrink, base width 100px */
    margin: 0 4px 0 0;
}

.edit-ingredient .ingredient-row .ingredient-name {
    flex: 1 1 200px; /* grow to fill remaining space */
    min-width: 150px;
    margin: 0;
}






.mygroceryplan-section .addList-btn i,
.mgp-recipes .addRecipe-btn i {
    font-size: 40px;
}

.mgp-recipes h4 {
    display: inline-block;
}

body.elementor-kit-6 .mygroceryplan-right .btn-close,
body.elementor-kit-6 .create-new-recipe button,
body.elementor-kit-6 .mgp-recipes button.meal-btn, 
body.elementor-kit-6 .mgp-recipes button.upBtn,
body.elementor-kit-6 .mgp-recipes button.downBtn,
body.elementor-kit-6 .mgp-recipes button.shoppinglists-btn,
body.elementor-kit-6 .mgp-recipes button.create-ingredient,
body.elementor-kit-6 .recipe-header button.save-recipe,
body.elementor-kit-6 .mgp-recipes input[type="button"], 
body.elementor-kit-6 .mgp-recipes input[type="submit"], 
body.elementor-kit-6 .mgp-recipes .elementor-button,
body.elementor-kit-6 .shoppinglist-chooser #create-shoppinglist-adhock {
    padding: 10px 20px;
    font-size: 16px;
    background-color: #15b5ff;
    color: #fff;
    border: 1px solid #15b5ff;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out;
}

.recipeDisplay .save-recipe {
    padding: 10px 20px;
    font-size: 16px;
    color: #fff;


    cursor: pointer;
    
}

body.elementor-kit-6 .shoppinglist-chooser #create-shoppinglist-adhock {
    margin-top: 10px;
}

body.elementor-kit-6 .recipe-header button.save-recipe {
    margin-bottom: 15px;
}

body.elementor-kit-6 .mgp-recipes #recipes button.meal-btn,
body.elementor-kit-6 .mgp-recipes #recipes button.delete-recipe-btn {
    background-color: #fff;
    color: #15b5ff;
    border: 1px solid #15b5ff;
    box-shadow: none;
}

#recipesWeek .delete-recipe-btn:disabled {
    background-color: #ccc;
    border-color: #ccc;
    cursor: not-allowed;
  }

body.elementor-kit-6 .mgp-recipes #recipes .meal.copy button.meal-btn {
    border-color: #8b8b8b;
    color: #8b8b8b;
}

body.elementor-kit-6 .mgp-recipes #recipes button.delete-recipe-btn {
    border-color: #ff5252;
    color: #ff5252;
    box-shadow: none;
}


body.elementor-kit-6 .mgp-recipes button.meal-btn {
    max-width: 99%;


    padding-left: 5px;
}

body.elementor-kit-6 .mgp-recipes button.meal-btn p {
    display: flex;
    flex: 4;
    margin: 0;
    white-space: normal; /* Allow line breaks at spaces */
    word-break: normal; /* Ensure breaking only occurs at spaces */
    overflow-wrap: normal; /* Default to natural breaks */
}

/* Hide the default checkbox */
button.meal-btn input[type="checkbox"] {
    display: none; /* Hide the default checkbox */
}

/* Style the custom checkbox */
button.meal-btn .custom-checkbox {
    flex: 0 0 auto; /* Do not grow or shrink, maintain natural size */
    box-sizing: border-box; /* Include padding in size calculation */

    width: 20px;
    height: 20px;
    background-color: white;
    border: 1px solid #15b5ff;
    border-radius: 4px; /* Optional: Rounded corners */
    margin-right: 10px;
    vertical-align: middle; /* Align with text */
    cursor: pointer;
    position: relative;
    transition: background-color 0.3s, border-color 0.3s;
}

.meal.copy button.meal-btn .custom-checkbox {
    border: 1px solid #8b8b8b;
    display: none;
}

/* Checked state: when the checkbox is checked */
button.meal-btn input[type="checkbox"]:checked + .custom-checkbox {
    background-color: #15b5ff; /* Background color when checked */
    border-color: #fff; /* Border color when checked */
}

/* Optional: Add a checkmark on checked state */
button.meal-btn input[type="checkbox"]:checked + .custom-checkbox::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 5px;
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Hover state for the custom checkbox */
button.meal-btn .custom-checkbox:hover {
    border-color: darkgray;
}


body.elementor-kit-6 .mgp-recipes button.upBtn,
body.elementor-kit-6 .mgp-recipes button.downBtn {
    background-color: transparent;
    padding-left: 0;
    padding-right: 0;
    margin-left: 0;
    margin-right: 0;
    border-radius: 0;
    box-shadow: none;
    border: none;
    color: #58151c;
    
}



body.elementor-kit-6 .alert-dismissible .btn-close,
body.elementor-kit-6 .mygroceryplan-right .btn-close,
body.elementor-kit-6 .create-new-recipe .alert .btn-close {
    background-color: transparent !important;
    box-shadow: none;
    border:none;
    font-size: 16px;
}


body.elementor-kit-6 .alert-dismissible .btn-close {
    padding: 11px 16px;
}

body.elementor-kit-6 .mgp-recipes  .addRecipe-btn {
    padding-left: 0 !important;
    color: #000;
}

body.elementor-kit-6 .mgp-recipes button.shoppinglists-btn {
    float: right;
    padding: 6px 8px 0 8px;

}
body.elementor-kit-6 .mgp-recipes button.shoppinglists-btn i {
    font-size: 30px;
    padding: 0;    
}



/* Meal Planner items */
body.elementor-kit-6 .mgp-recipes .shopping-list-btn {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    padding: 0px;
    background-color: #f9f9f9;
    border-radius: 5px;
    border: 1px solid #ddd;
}

/* Container for shopping list items and delete buttons */
body.elementor-kit-6 .mgp-recipes .meal {
    margin-bottom: 10px;
    text-align: center;
}

body.elementor-kit-6 .mgp-recipes .meal .button_holder {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}


body.elementor-kit-6 .mgp-recipes .meal.selected .button_holder .meal-btn {
    background-color: #15b5ff;
    color: #fff;
}

/* Shopping list items - left of the delete button */
body.elementor-kit-6 .mgp-recipes .meal-btn {
    display: inline-flex;
    align-items: flex-start; /* Do not stretch items; align them to the top */

    width: 99%;
    background-color: #292929;
    color: white;
    border: none;
    padding: 5px;
    cursor: pointer;
    text-align: left;
    font-size: 16px;
    border-radius: 15px 0 0 15px !important;
    transition: background-color 0.3s ease-in-out;
    margin: 0;

    box-shadow: none;
}

body.elementor-kit-6 .mgp-recipes .delete-recipe-btn {
    vertical-align: middle;
    border-radius: 0 15px 15px 0;
    background-color: #ff5252;
    border-color: #ff5252;
    color: white;
    padding: 0;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s ease-in-out;    

    box-shadow: none;

}

body.elementor-kit-6 .mgp-recipes .copy-recipe-btn {
    vertical-align: middle;
    border-radius: 0 15px 15px 0;
    background-color: #8b8b8b;
    border: 1px solid #8b8b8b;
    color: white;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s ease-in-out; 
    padding: 0 5px;
    box-shadow: none;


}

body.elementor-kit-6 .mgp-recipes .delete-recipe-btn i {
    margin: 4px 5px 0 5px;
}

body.elementor-kit-6 .mgp-recipes .delete-recipe-btn:hover {
    background-color: #e53935; /* Hover color */
}

body.elementor-kit-6 .mgp-recipes .meal.selected .meal-btn,
body.elementor-kit-6 .mgp-recipes .meal-btn:hover {
    background-color: #15b5ff; /* Hover color */
    color: #fff;
}


/* Shopping list button Delete -  Right of the shopping-list-btn */
body.elementor-kit-6 .mgp-recipes .delete-btn {
    font-size: 18px;
    color: #e91e63;
    cursor: pointer;
}

body.elementor-kit-6 .mgp-recipes .delete-btn:hover {
    color: #c2185b;
}

body.elementor-kit-6 .mgp-recipes .meal.selected .button_holder {
    margin-bottom: 0;
}

body.elementor-kit-6 .mgp-recipes .meal ul {
    display: inline-block;
    list-style: none;
    margin: 0;
    padding: 0;
    background-color: transparent;
    width: 90%;
}


body.elementor-kit-6 .mgp-recipes .meal ul.days-container li {
    background-color: transparent;
    border: none;
    box-shadow: none;
}

body.elementor-kit-6 .mgp-recipes .meal ul.days-container li:last-child {
    border-radius: none;
    border: none;
    box-shadow: none;
}

body.elementor-kit-6 .mgp-recipes .meal ul li {
    text-align: left;
    background-color: #e4e4e4;
    padding: 5px 10px;
    /* border-left: 1px solid #666;
    border-right: 1px solid #666; */
    border-bottom: 1px solid #ccc;
}

body.elementor-kit-6 .mgp-recipes #recipes .meal ul li {
    text-align: left;
    background-color: #fff;
    padding: 5px 10px;
    border-left: 1px solid #15b5ff;
    border-right: 1px solid #15b5ff;
    border-bottom: 1px solid #15b5ff;
    border-top: none;
    color: #15b5ff;
}

body.elementor-kit-6 .mgp-recipes #recipes .meal.copy ul li {
    border-left: 1px solid #8b8b8b;
    border-right: 1px solid #8b8b8b;  
    border-bottom: 1px solid #8b8b8b;
    color: #8b8b8b;
}


body.elementor-kit-6 .mgp-recipes .meal ul li.needError {
    background-color: #ff8383;
}

body.elementor-kit-6 .mgp-recipes .meal ul li.cleared {
    /* background-color: #9ecf9c; */
}

body.elementor-kit-6 .mgp-recipes .meal ul li button.need {
    padding: 0;
    margin: 10px 0 0 0;
    background-color: transparent;
    border: none;
    box-shadow: none;
    float: right;
    color: #292929;
    font-size: 20px;
}

body.elementor-kit-6 .mgp-recipes .meal ul li span {
    font-size: 20px;
} 

body.elementor-kit-6 .mgp-recipes #recipes .meal ul li button.need {
    color: #15b5ff;
}


body.elementor-kit-6 .mgp-recipes .meal ul li [type="checkbox"] {
    padding: 0;
    margin: 0 10px 0 0;
    accent-color: #15b5ff;
    color: #fff;
}

body.elementor-kit-6 .mgp-recipes .meal ul li select {
    display: inline-block;
    padding: 5px;
    margin: 0 0 5px 0;
    width: 100%;
    background-color: transparent;
    border-radius: 4px;
    line-height: 20px;
    background-color: #fff;

}

body.elementor-kit-6 .mgp-recipes .meal ul li:last-child {
    border-radius: 0 0 10px 10px;
    padding-bottom: 18px;
}


body.elementor-kit-6 .mgp-recipes .meal ul li span {
    display: inline-flex;
    max-width: 65%;
    position: relative;
    padding: 10px 15px 10px 0;
    word-wrap: break-word; /* Break long words to wrap */
    word-break: break-word; /* Ensures proper word breaking */

}
body.elementor-kit-6 .mgp-recipes .meal ul li span img {
    display: block;
    position: absolute;
    left:0;
    top:0;
    width: 100%;
    height: 100%;

}

body.elementor-kit-6 .mgp-recipes .ingredentsFooterButtons {
    padding: 0 15px;
    margin-bottom: 20px;
    text-align: left;
}

body.elementor-kit-6 .mgp-recipes .ingredentsFooterButtons button {
    background-color: transparent;
    border: none;
    padding: 0;
    margin: 0;
    color: #292929;
    box-shadow: none;
    font-size: 20px;

}
body.elementor-kit-6 .mgp-recipes .ingredentsFooterButtons button.right {
    float: right;
    justify-content: right;
}

body.elementor-kit-6 .mgp-recipes .ingredentsFooterButtons button:disabled {
    color: #ccc;
}



/* Create Recipes Panel */
.create-new-recipe {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: block;
    visibility: hidden;
    background-color: #f1f1f1;
    border-radius: 10px;
    /* margin: 0 8px 20px 8px; */
    width: calc(100% - 20px);    
    max-width: 500px;

}

/* Edit Ingredients Panel */
.edit-ingredient {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    visibility: hidden;
    background-color: #f1f1f1;
    border-radius: 10px;
    /* margin: 0 8px 20px 8px; */
    width: calc(100% - 20px);    
    max-width: 500px;
}

.edit-ingredient .recipe-header button {
    border-radius: 15px 15px 15px 15px;
    padding: 8px 13px;
    font-size: 16px !important;
    background-color: transparent;
    color: #333;
    border: none;
    border-radius: 0px;
    cursor: pointer;
    box-shadow: none;
}

.edit-ingredient  .recipe-header {
    align-items: center;
    display: flex;
    justify-content: space-between;
}

.edit-ingredient  .recipe-header .create-ingredient-btn {
    float: right;
}


.edit-ingredient .recipe-header  .back-btn {
    float: left;
}

.edit-ingredient #edit-ingredient-form,
.edit-ingredient #edit-recipe-form {
    padding: 0 8px 10px 8px;
}

.edit-ingredient textarea {
    width: 100%;
    min-height: 100px;
}


.ingredient-row select {
    padding-left: 0;
    padding-right: 0;;
}

.edit-ingredient legend {
    margin-top: 10px;
    font-size: 16px;
}

.ingredientEdit-btn {display: none;}


.shoppinglist-chooser .back-btn,
.recipe-header .back-btn,
.create-new-recipe .back-btn {
    float: right;
    font-size: 20px;
}

#meal-items {
    list-style:none;
    padding:0;
    margin:0 0 20px 0;
}

/*  */
body.elementor-kit-6 .mgp-recipes .addIngredent-btn {
    display: block;
    background-color: #15b5ff;
    margin: 0;
    padding: 0 20px 0 10px;
    color: #000;
    float: left;
    border: none;
    border-radius: 0;
    box-shadow: none;
}

body.elementor-kit-6 .mgp-recipes .ingredentInput {
    padding: 5px 10px;
}

body.elementor-kit-6 .mgp-recipes .ingredentInput div {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;

}

body.elementor-kit-6 .mgp-recipes .meal .ingredentInput div select {
    flex: 0 1 48%;
    margin-bottom: 10px;
}

body.elementor-kit-6 .mgp-recipes .ingredentInput select {
    border:none;
    color: #888; 
}



body.elementor-kit-6 .mgp-recipes .ingredentInput p {
    display: block;
    width: 100%;
    padding: 0 0 6px 0;
    margin: 0;
    text-align: center;
    font-weight: bold;
}

#ingredient_name,
body.elementor-kit-6 .mgp-recipes #recipes .ingredentInput [type='text'] {
    display: inline-block;
    padding: 3px;
    margin: 5px 10px 10px 0;
    border-color: #15b5ff;
    color: #15b5ff;
    accent-color: #15b5ff;
    flex: 1 1 0;
}

#ingredient_name {
    border-color: transparent;
}

body.elementor-kit-6 .mgp-recipes .ingredentInput button {
    padding: 8px 10px;
    float: right;
}

.clr {
    width: 100%;
    height: 0;
    clear: both;
}


/*
    Recipes Search

*/
.search-wrapper {
    display: flex; /* Flexbox for horizontal alignment */
    align-items: center; /* Center vertically */
    gap: 10px; /* Add spacing between input, checkbox, and button */
    width: 100%;
    position: relative; /* Ensure child elements can use absolute positioning */
}

#searchYourMeals {
    flex: 1; /* Input box takes up remaining space */
    height: 40px;
    padding: 10px;
    border-radius: 10px;
    box-sizing: border-box; /* Include padding in width */
    border: 1px solid #15b5ff;
    color: #15b5ff;
}
#searchYourMeals::placeholder {
    color: #15b5ff;

}

/* Clear button styles */
body.elementor-kit-6 .mgp-recipes .clear-btn {

    position: absolute; /* Position relative to .search-wrapper */
    right: 55px; /* Adjust as needed for placement */
    top: 50%; /* Center vertically within the container */
    transform: translateY(-50%); /* Adjust for vertical alignment */
    border: none;
    background: transparent;
    font-size: 40px;
    color: #888; /* Adjust the color */
    cursor: pointer;
    display: none; /* Hidden by default */
    margin: 0;
    padding: 0;
    box-shadow: none;
    display: none; /* Hidden by default */
}

body.elementor-kit-6 .mgp-recipes .clear-btn:hover {
    color: #333; /* Change color on hover */
}

/* Search Filters */
#searchFilters {
    display: flex; /* Enable Flexbox */
    justify-content: space-evenly; /* Evenly distribute items */
    align-items: center; /* Center items vertically */
    flex-wrap: wrap; /* Allow wrapping if there are too many items for one row */
    gap: 20px; /* Optional: Add some spacing between rows if wrapping occurs */
    padding: 10px; /* Add some padding around the container */
}

.searchFilter {
    display: none; /* Hide the default checkbox */
}

#searchFilters label {
    display: inline-block;
    width: 32px; /* Adjust to your image dimensions */
    height: 32px; /* Adjust to your image dimensions */
    background-size: cover;
    background-repeat: no-repeat;
    cursor: pointer;
}

label[for="searchPublic"] {
    display: flex;
    width: 40px;
    height: 40px;
    background-size: cover;
    background-position: center;
    border-radius: 6px;
    cursor: pointer;
}


.searchPublic {
    display: none; /* Hide the default checkbox */
}


.recipeOverlay {
    position: fixed;
    text-align: center;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: none; /* Hidden by default */
    justify-content: center;
    align-items: center;
    z-index: 1000;
}
.recipeOverlay .instructions_holder {
    position: relative;
    max-width: 500px;
    height: 100%;
    margin: 0 auto;
}

/* Style for the text box */
.recipeOverlay textarea {
    background: white;
    padding: 20px;
    border-radius: 8px;
    text-align: left;
    max-width: 500px;
    height: 100%;
}


/* Style for the close button */
body.elementor-kit-6 .recipeOverlay .close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: red;
    color: white;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);

    padding: 0 8px 10px 8px;
    margin: 0;
    font-size: 40px;
}



.sandTimer {
    display: block;
    text-align: center;
}


/* Alert boxes */
#alert-container-public-recipes,
#alert-container-newItem-recipes {
    position: fixed; /* Pins the element to a fixed position */
    top: 0; /* Aligns it to the top of the screen */
    left: 0; /* Aligns it to the left edge of the screen */
    width: 100%; /* Spans the full width of the screen */
    z-index: 1000; /* Ensures it stays above other elements */
    padding: 10px; /* Adds some space inside the container */
}

#alert-container-public-recipes .btn-close,
#alert-container-newItem-recipes .btn-close {
    background-color: transparent;
    box-shadow: none;
    border: none;
    font-size: 16px;
    margin-top: 8px;
}


.public-alerts {
    display: inline-block;
}


.page-content .alert {
    padding: 0 28px 6px 8px;
}




/* Panel that contains the shopping lists that a user has to choose from when pushing needed meal items to the shopping list */
.shoppinglist-chooser {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #f1f1f1;
    padding: 30px;
    border-radius: 10px;
    width: calc(100% - 20px); 
}

.shoppinglist-chooser input#onFlySLName {
    width: 100%;
    border: 1px solid #ccc;
    color: #888;
    padding: 4px 6px;
}

[type=button]:focus,
[type=button]:hover,
[type=submit]:focus,
[type=submit]:hover,button:focus,button:hover,
.shoppinglist-chooser input#onFlySLName:focus {
    border-color: #15b5ff !important;
    outline: none;
}




.shoppinglist-chooser .recipe-header {
    width: 100%;
}

ul.shoppinglists-choose li,
ul.shoppinglists-choose {
    display: block;
}
ul#shoppinglists-choose {
    padding: 10px 0 0 0;
}


/* This is the options panel for a recipe */
.recipeReader {
    display: none;
    position: fixed;
    top: 55%;
    left: 50%;
    width: 50%;
    transform: translate(-50%, -80%);
    background-color: #f1f1f1;
    border-radius: 10px;
    /* width: calc(100% - 20px);     */
}

/* This is the options panel for a recipe */
.recipeDisplay {
    display: none;
    position: fixed;
    top: 1%;
    left: 50%;
    width: 50%;
    transform: translate(-50%);
    background-color: #f1f1f1;
    border-radius: 10px;
    /* width: calc(100% - 20px);     */
}


.recipeEdit {
    display: none;
    position: fixed;
    top: 1%;
    left: 50%;
    width: 50%;
    transform: translate(-50%);
    background-color: #f1f1f1;
    border-radius: 10px;
    /* width: calc(100% - 20px);     */
}

.recipeEdit h1 {
    display: inline-block;

}

#recipe_ingredients_edit {
  list-style: none;
  padding: 0;
  margin: 0;

  display: flex;
  flex-wrap: wrap;   /* allow items to flow into rows */
  gap: 12px;         /* spacing between LI columns */

  height: 30vh;
  overflow-y: auto;
}

#recipe_instructions_edit {
    height: 30vh;
}

#recipe_ingredients_edit li {
  display: flex;
  flex-direction: column; /* stack selects and input vertically */
  gap: 6px;

  flex: 1 1 250px;   /* grow/shrink, base width 250px */
  max-width: 300px;  /* don’t stretch past 300px */
  min-width: 220px;  /* never shrink smaller than 220px */
  box-sizing: border-box;

  padding-bottom: 10px;
  margin-bottom: 10px;
  border-bottom: 1px solid #000;

}





/* Grey Border Panel backboard */

.greyBorder {
    background-color: #ebeaea;    
    border: 2px solid #222;
    padding: 8px 5px;
}

.greyBorder .recipe-header h4 {
    margin: 0;
}


/* Toggle Switch (Blue) */
.toggleFlex {
    display: flex;
  align-items: center;
  gap: 10px;         /* spacing between toggle and text */
  flex: 0 0 100%;    /* if this sits under your header row */
}

.toggle {
  position: relative;
  display: inline-block;
  max-width: 50px;
  width:50px;
  height: 20px;
  overflow: hidden;
}

/* Hide default checkbox */
.toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* Slider track */
.toggle .slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: 0.3s;
  border-radius: 26px;
  height: 100%;
  width: 50px;
}

/* Slider knob */
.toggle .slider::before {
  content: "";
  position: absolute;
  height: 15px;
  width: 15px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.3s;
  border-radius: 50%;
}

/* Checked state */
.toggle input:checked + .slider {
  background-color: #15b5ff;
}

.toggle input:checked + .slider::before {
  transform: translateX(24px);
}

body.elementor-kit-6 .toggleFlex p {
    margin-bottom: 0 ;
}

.recipe-public-row {
  margin: 8px 0;
}


.toggle,
.public-text {
  display: inline-block;
  margin-bottom: 0;

}
.recipe-public-row {
    vertical-align: middle;
}


/* Style the padding for the popup panels that hold the controls */
.mygroceryplan-createList,
.recipeReader,
.create-new-recipe {
    padding:10px;
}
/* Max settings for the instruction textarea */
#recipe_instructions {
    max-height: 30vh;
    min-height: 20vh;
    overflow-y: auto;
}

#recipe_ingredients {
    max-height: 30vh;
    overflow-y: auto;
    margin-bottom: 15px;
}

.recipeDisplay div label {
    font-weight: bold;
}

.recipeDisplay div div {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    -ms-flex-align: center;
    -ms-flex-item-align: center;
}

.recipeDisplay div div i {
    font-size: 1.2em;
    margin-right: 5px;
}

/* Style the header/title text */
body.elementor-kit-6 .recipe-header h4,
body.elementor-kit-6 .mygroceryplan-departments h4 {
    font-size: 28px;
}


.flex-break {
  flex-basis: 100%;
  height: 0;       /* optional */
}


/* More Recipes Button */
.elementor-kit-6 button#moreRecipes {
margin: 0;
padding: 10px 20px;
font-size: 16px;
background-color: #15b5ff;
color: #fff;
border: 1px solid #15b5ff;
border-radius: 5px;
cursor: pointer;
transition: background-color 0.3s ease-in-out;
}

.elementor-kit-6 #moreRecipesHolder {
    display: block;
    width: 100%;
    text-align: center;
}




/* Lightbox supplemetery Styles */
/* Prevent body scroll when lightbox is open */
body.mgp-lightbox-open {
    overflow: hidden;
}

/* Size variants */
.mgp-lightbox-small .mgp-lightbox-container {
    max-width: 400px;
}

.mgp-lightbox-medium .mgp-lightbox-container {
    max-width: 600px;
}

.mgp-lightbox-large .mgp-lightbox-container {
    max-width: 900px;
}





/* 
    Responsive behavior 
    
*/
@media screen and (max-width: 1024px) {

    /* 
        Style for the Departments
        
    */
    .manage-departments-btn {
        width:100%;
    }

    #department-list li div  {
        width: 100% !important;
        margin-top: 20px;
    }

    #department-list li div div {
        width: 49% !important;
    }

    .mgp-left, .mgp-right {
        width:95%;
        display: block;
        box-sizing: border-box;
        min-width: 122px;
        padding: 0;
        margin: 0 8px;
    }


    #shopping-list-items .listItemStatus {
        /* max-width: 284px; */
        white-space: normal; 
        word-wrap: break-word;  /* Break long words if needed */
        word-break: break-word;  /* Ensure long words are wrapped */
        display: inline-block;     /* Ensure the button stays inline */

    }

    .mgp-recipes .recipes h4 {
        font-size: 23px;
        vertical-align: top;
    }

    #mygroceryplan h4 {
        font-size: 23px;
    }

    /* 
        Main Plugin container 
        
    */
    .mygroceryplan-container {
        display: none; 
        text-align: center;
        margin-bottom: 300px;
    }

    .mygroceryplan-left, .mygroceryplan-departments {
        width: 100%; /* Full width for smaller screens */
        margin-bottom: 20px;
        padding: 8px 8px 20px 8px;
        margin: 0 0 200px 0;
    }

    .mygroceryplan-right {
        position: fixed;
        width: calc(100% - 20px);    
    }

    .mygroceryplan-createList {
        width: calc(100% - 20px);
    }

      


    body.elementor-kit-6 .mgp-recipes .meal-btn {
        width: 90%;
    }

    body.elementor-kit-6 .mgp-recipes .meal ul li button.need {
        font-size: 16px;
    }

    body.elementor-kit-6 .mgp-recipes button.meal-btn {
        max-width: 90%;
    }

    body.elementor-kit-6 .mgp-recipes .meal ul li span {
        font-size: 16px;
        padding: 10px 8px 10px 0;
    }
    body.elementor-kit-6 .mgp-recipes .ingredentsFooterButtons button {
        font-size: 16px;
    }





    /* 
        Shopping list items styling 
        
    */
    .mygroceryplan-list-item {
        padding: 0px;
    }

    body.elementor-kit-6 .recipe-header h4,
    body.elementor-kit-6 .mygroceryplan-departments h4 {
        font-size: 16px;
    }

    .add-btn-holder {
        width: 100%;
        text-align: left;
        justify-content: left;
    }

    .split {
        width: 100%;        
    }
    .split .left {
        width:60%;
    }

    .split .right {
        width:39%;
    }

    .new-department-name-holder {
        width: 100%;
    }



    .recipeReader {
        width: 95%;
        margin: 0 auto;
        box-sizing: border-box;

    }

    
    .recipeDisplay {
        width: 95%;
        margin: 0 auto;
        box-sizing: border-box;

    }

    .recipeEdit {
        width: 95%;
        margin: 0 auto;
        box-sizing: border-box;

    }

}
