/*-------------------------------------
 * General
 *-------------------------------------
 */
* {
    box-sizing: border-box;
}

/*-------------------------------------
 * Main
 *-------------------------------------
 */
.welcome_banner {
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: url('/images/grocery_welcome_blur.jpg');
    background-size: cover;
    background-repeat: repeat;
    background-position: center;
    box-sizing: content-box;
}

.welcome_banner_one {
    color: white;
    text-align: center;
}

.welcome_banner_two {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 25em;
    background-image: url('/images/egghand_blur.png');
    background-size: cover;
    background-repeat: repeat;
    background-position: center;
    box-sizing: content-box;
}

.share_card {
    text-align: center;
    height: 400px;
    margin-top: -200px;
}

.share_card img {
    justify-content: center;
}

a {
    text-decoration: none;
    color: white;
}

/*prevents weird padding on sides of footer*/
footer.container-fluid {
    padding: 0;
}

/*-------------------------------------
 * NAVBAR
 *-------------------------------------
 */
.small_nav {
    display: none;
}

.nav_hamburger {
    display: none;
}

.small_nav ul {
    list-style: none;
}

.small_nav li {
    display: inline-block;
    padding: 0 10px;
}

#nav_center {
    display: flex;
    justify-content: center;
}

#color_white {
    color: white;
}

#search_dropdown {
    width: 100%;
    display: none;
    z-index: 1;
    position: absolute;
    background-color: white;
}

.user_icon_small .material-symbols-outlined {
    display: none;
}

.user_icon_large .material-symbols-outlined {
    display: none;
}

/*-------------------------------------
 * FOOTER
 *-------------------------------------
 */
.spacing {
    margin-top: 100px;
}

.footer_icon {
    text-align: center;
}

.footer_icon p {
    color: white;
}

/*-------------------------------------
 * LOGIN
 *-------------------------------------
 */
.mdl-button--colored {
    background-color: #198754 !important;
}

/*-------------------------------------
 * INDEX and MAIN
 *-------------------------------------
 */
.sale_product_container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    padding-bottom: 20px;
}

.sale_product_container>div {
    width: 25%;
}

.sale_product_container img {
    width: 100%;
}

.sale_product_card {
    padding: 1%;
    background-color: white;
    text-align: center;
    border-radius: 10px;
    margin: 2px;
}

button {
    background-color: green;
    color: white;
    border-radius: 10px;
    border-style: none;
}

.welcome_banner {
    overflow: hidden;
    text-align: center;
}

.title {
    color: white;
}

/*-------------------------------------
 * SHARE
 *-------------------------------------
 */
.text_box {
    display: flex;
    justify-content: center;
    align-items: center;
    background-position: center;
    box-sizing: content-box;
    margin-top: 10px;
}

#post_successful {
    display: flex;
    justify-content: center;
    text-align: center;
    font-size: 30px;
    color: green;
    font-weight: bold;
}

.center {
    text-align: center;
}

.form-group {
    margin-bottom: 10px;
}

/* Avoid form and buttons from being hidden by the sticky footer */
.form-group > p{
    margin-bottom: 100px;}

#saveBtn, #editBtn {
    margin-bottom: 100px;
}

/* Style for disabled input fields and select elements */
input:disabled,
select:disabled {
    background-color: #e9ecef;
    /* Light grey background */
    color: #6c757d;
    /* Grey text */
    cursor: not-allowed;
}

/* Style for disabled buttons */
button:disabled {
    background-color: #6c757d;
    /* Darker grey background */
    color: #ffffff;
    /* White text */
    cursor: not-allowed;
}


/*-------------------------------------
 * PROFILE AND ABOUT
 *-------------------------------------
 */
.profile-card {
    width: 98%;
    margin: 20px auto;
    border-radius: 10px;
    background-color: rgba(156, 179, 128, 0.2);
    padding: 5px;
}

#mypic-goes-here {
    border-radius: 50%;
}

.text {
    width: 60%;
    padding: 10px 40px;
}

.img-container {
    width: 30%;
    padding-bottom: 20px;
}

.aboutbtn,
.contact {
    margin-bottom: 100px;
}

.card {
    margin: 10px;
}

.quote {
    font-style: italic;
    font-size: 20px;
    text-align: center;
}

table {
    margin: auto;
    width: 70%;
    border-collapse: collapse;
}

table,
th,
td {
    border: 1px solid black;
}

#photoPreview {
    width: auto;
    height: 30vh;
    object-fit: cover;
}

/*-------------------------------------
 * MEDIUM SCREENS
 *-------------------------------------
 */
@media screen and (max-width: 992px) {
    .search_bar {
        padding-top: 7px;
        width: 100%;
    }

    .navbar {
        padding-bottom: 15px;
    }

    .user_icon_small .material-symbols-outlined {
        display: block;
        font-size: 35px;
    }

    .user_icon_large {
        display: none;
    }
}