/*
 * The layout CSS.
 *
 * @package shoptocook-responsive-foodbazaar
 */

/***********************
 * Fonts               *
 ***********************/
@font-face {
    font-family: 'Proxima Nova';
    src: url('../fonts/ProximaNW01-Reg.woff2') format('woff2'),
        url('../fonts/ProximaNW01-Reg.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'avenir-light';
    src: url('../fonts/AvenirLTW01-35Light.woff2') format('woff2'),
        url('../fonts/AvenirLTW01-35Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'ufont_1';
    src: url('../fonts/Gotham-Bold.woff2') format('woff2'),
        url('../fonts/Gotham-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'ufont_2';
    src: url('../fonts/Gotham-Book.woff2') format('woff2'),
        url('../fonts/Gotham-Book.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'ufont_4';
    src: url('../fonts/Gotham-Medium.woff2') format('woff2'),
        url('../fonts/Gotham-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'ufont_6';
    src: url('../fonts/Gotham-Light.woff2') format('woff2'),
        url('../fonts/Gotham-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'ufont_5';
    src: url('../fonts/Gotham-Black.woff2') format('woff2'),
        url('../fonts/Gotham-Black.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'ufont_3';
    src: url('../fonts/SonderSans-BlackRough.woff2') format('woff2'),
        url('../fonts/SonderSans-BlackRough.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

/* Gotham-Bold */
.ufont-1 {
    font-family: ufont_1, arial;
}

/* Gotham-Book */
.ufont-2 {
    font-family: ufont_2, arial;
}

/* Sonder Sans */
.ufont-3 {
    font-family: ufont_3, arial;
}

/* Gotham Medium */
.ufont-4 {
    font-family: ufont_4, arial;
}

/* Gotham */
.ufont-5 {
    font-family: ufont_5, arial;
}

/* Gotham-light */
.ufont-6 {
    font-family: ufont_6, arial;
}

.font-1 {
    font-family: 'Proxima Nova', arial;
}

.font-2 {
    font-family: 'Fira Sans', sans-serif;
}

.font-3 {
    font-family: 'Nunito', sans-serif;
}

body.page.custom-background.home {
    background-color: white;
}

/***********************
 * Un-expound          *
 ***********************/
header *,
footer * {
    box-sizing: border-box;
}

footer {
    position: relative;
}

header p,
footer p,
header ul,
header ol,
footer ul,
footer ol {
    line-height: normal;
    margin: 0;
}

header ol,
footer ol,
header ul,
footer ul {
    list-style: none;
}

footer .sub-menu {
    border: none;
    box-shadow: none;
}

.navigation-main,
.navigation-main li {
    float: none;
}

.navigation-main ul {
    margin: 0 auto;
}

.navigation-main ul>.current_page_item a:after,
.navigation-main ul>.current-menu-item a:after {
    content: '';
    font-size: 0px;
    line-height: 0%;
    width: 0px;
    border: none;
    position: absolute;
    bottom: auto;
    left: auto;
    margin: 0 auto;
    z-index: auto;
}

.site-header .menu-toggle {
    color: black;
}

.site-header .menu-toggle:before {
    content: '';
    margin-right: 0;
}

/******************************
 * Article Defaults
 ******************************/
.page-template-default article.page h1 {
    font-family: lobster, cursive;
    font-size: 48px;
    line-height: normal;
    margin-bottom: 10px;
    text-align: left;
}

.page-template-default article h1>strong {
    font-family: lobster, cursive;
}

.page-template-default article.page h1 {
    font-family: lobster, cursive;
    font-size: 48px;
    line-height: normal;
    margin-bottom: 10px;
    text-align: left;
}

.page-template-default article.page h2 {
    color: #146135;
    font-family: lobster, cursive;
    font-size: 37px;
    line-height: normal;
    text-align: left;
}

.page-template-default article.page h3 {
    font-family: ufont_1, sans-serif;
    font-size: 26px;
    line-height: normal;
}

.page-template-default article p,
.page-template-default article li {
    font-family: ufont_2, arial;
    font-size: 15px;
    line-height: normal;
}

.page-template-default article p>strong {
    font-family: ufont_1, arial;
}


/***********************
 * Header              *
 ***********************/
header a {
    font-family: 'Open Sans', sans-serif;
}

#masthead {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 140;
}

#header-top-container {
    font-size: 14px;
    min-height: 48px;
}

#header-top-container>div {
    justify-content: space-between;
    align-items: center;
    height: 48px;
}

#header-top-container form {
    position: relative;
}

#header-top-container button {
    border: 0px;
    background: transparent;
    text-align: center;
    padding: 0;
    position: absolute;
    top: 9px;
    left: 10px;
    color: #e32424;
}

#header-top-search {
    max-width: 320px;
    width: 320px;
    border: 1px solid #98a0ab;
    font-size: 13px;
    height: 30px;
    padding-left: 35px;
    font-family: ufont_2;
}

#header-top-container a {
    color: #232323;
    text-decoration: none;
}

#header-top-container a>strong {
    font-weight: 600;
}

#site-navigation {
    display: flex;
    min-height: 96px;
    align-items: center;
    justify-content: space-between;
}

#site-navigation>* {
    flex-grow: 1;
    width: 100%;
}

#site-navigation>.logo-container {
    max-width: 150px;
    flex-grow: 0;
    margin-left: 15px;
}

.logo-container a {
    padding: 0;
}

.header-search-cont {
    margin-right: 36px;
}

.nav-primary-container {
    max-width: 730px;
}

.nav-primary {
    display: flex;
}

.navigation-main ul ul {
    font-weight: bold;
}

#menu-primary-menu>li>a {
    font-family: 'Roboto', sans-serif;
    font-weight: bold;
    text-transform: uppercase;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin: 5px 0;
    white-space: nowrap;
}

#menu-primary-menu>li>a>i {
    margin-right: 5px;
    font-size: 24px;
    margin-top: -3px;
    color: #146135;
}

.navigation-main .sub-menu li,
.navigation-main .children li {
    border-bottom: 1px solid white !important;
}

@media screen and (min-width: 600px) {
    #menu-primary-menu ul li:hover {
        background: #d1e7f3 !important;
    }
}

@media screen and (max-width: 600px) {
    .navigation-main ul ul {
        box-shadow: none !important
    }
}

.nav-secondary-container {
    border-bottom: 10px solid #f7f7f7;
    border-top: 10px solid #f7f7f7;
}

.nav-secondary a {
    font-size: 12px;
    white-space: nowrap;
    line-height: normal;
}

.nav-secondary a,
.nav-secondary a:visited {
    color: #757575;
}

.nav-secondary a:hover {
    text-decoration: underline;
}

/***********************
 * Footer              *
 ***********************/
footer h2,
footer h3,
footer a {
    font-family: 'Open Sans', sans-serif;
}

footer h3 {
    font-size: 16px;
    font-weight: bold;
    line-height: 1.5;
    text-transform: uppercase;
}

#footer-inner-container a {
    font-size: 14px;
    line-height: 22px;
}

#menu-footer-menu {
    display: flex;
    flex-direction: row;
    gap: 2%;
}

#menu-footer-menu a {
    font-weight: 300;
}

#menu-footer-menu>li {
    flex-grow: 1;
}

#footer-inner-container {
    padding-top: 41px;
    padding-bottom: 60px;
}

#footer-inner-container .social-nav {
    margin-bottom: 38px;
}

#footer-inner-container a,
footer a {
    color: black;
    text-decoration: none;
}

footer,
footer a:visited,
footer a:hover,
footer a:focus {
    color: black;
}

footer a:focus-within {
    outline: 2px solid #116dff;
    outline-offset: 1px;
}

#footer-inner-container>div {
    flex-grow: 1;
}

#footer-inner-container>div#footer-icon-container {
    flex-grow: 0;
}

#footer-icon-container {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    max-width: 200px;
}

#footer-icon-container>* {
    display: inline-block;
    margin: 0 auto;
}

#footer-icon-container p {
    font-size: 13px;
    margin-top: 18px;
    line-height: 15px;
}

#footer-icon-container .social-nav {
    margin-top: 25px;
}

#menu-social-menu {
    display: flex;
    margin-bottom: 20px;
}

#menu-social-menu li {
    margin-left: 10px;
}

#menu-social-menu li:first-child {
    margin-left: 0;
}

#footer-copyright {
    background: #146135;
    color: white;
    font-size: 12px;
    letter-spacing: .36px;
    line-height: 15px;
    text-align: center;
    padding: 11px 2%;
    min-height: 17px;
}

#footer-copyright a {
    text-decoration: underline;
    color: white;
}

.mobile-header .logo-container {
    display: flex;
    justify-content: center;
    margin: 10px auto;
}

.cols-3 {
    width: 33%;
}

.cols-center {
    text-align: center;
}

.cols-right {
    text-align: right;
}

/***********************
 * Global              *
 ***********************/
.instacart-widget-container {
    margin-left: 6px;
    min-width: 44px;
}

.custom-responsive {
    max-width: 978px;
    margin: 0 auto;
}

#header-top-container .custom-responsive,
footer .custom-responsive {
    display: flex;
    justify-content: flex-end;
}

#main_content {
    margin-top: 100px;
    margin-bottom: 100px;
}

#main {
    padding-top: 20px;
    padding-bottom: 50px;
}

@media screen and (min-width: 900px) {
    .mobile-header {
        display: none;
    }
}

@media screen and (max-width: 900px) {
    #site-navigation>.logo-container {
        display: none;
        margin: 0;
    }

    #masthead {
        position: static;
    }

    #main_content {
        margin-top: 0px;
    }

    .nav-primary-container {
        max-width: none;
    }

    #menu-primary-menu>li {
        justify-content: center;
    }
}

@media screen and (max-width: 770px) {

    #footer-inner-container,
    #footer-inner-container>div,
    #menu-footer-menu {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    #footer-inner-container .social-nav {
        margin-bottom: 15px;
    }

    #menu-footer-menu>li {
        margin-bottom: 15px;
    }

    #header-top-container .custom-responsive {
        padding-left: 3%;
        padding-right: 3%;
    }

    .header-login-wrapper {
        text-align: right;
    }

    #footer-inner-container {
        padding-bottom: 46px;
    }
}

@media screen and (min-width: 600px) {
    .navigation-main li>a {
        font-size: 12px;
    }
}

@media screen and (max-width: 600px) {
    .site-header .menu-toggle {
        display: block;
        font-size: 22px;
        text-decoration: none;
        font-weight: bold;
    }

    #site-navigation {
        flex-direction: column;
        min-height: 0;
    }

    .navigation-main li>a {
        font-size: 20px;
    }

    .nav-primary>li {
        display: block;
    }

    .header-search-cont {
        flex: 1;
    }

    #header-top-search {
        width: 100%;
    }

    #header-top-container .custom-responsive {
        justify-content: space-between;
    }
}

/***********************
 * Un-expound          *
 ***********************/
/*
.nav-primary li,
.navigation-main {
    float: none;
}
.navigation-main a {
    padding: 0;
}
.navigation-main ul ul a {
    width: auto;
}
.site-footer {
    padding: 0;
}
.site-header {
    padding: 25px 80px;
}
.site-header .menu-toggle {
    padding: 0;
}


*/