/*
 * The layout CSS.
 */

/**************
 *   Header   *
 **************/
.header-logo,
.header-content {
    max-width: 50%;
}

.header-logo {
    float: left;
    width: 61.8%;
}
.header-content {
    float: right;
    width: 38.2%;
}
@media (max-width: 600px) {
    .header-logo {
        text-align: center;
    }
    .header-logo,
    .header-content {
        float: none;
        max-width: none;
        width: 100%;
    }
    .navigation-main.toggled .nav-menu li {
        background-image: none;
        border-bottom: none;
    }
}

/**************
 *   Header   *
 **************/
.main-wrapper .login_container {
    padding: 5px 50px;
}

/********************
 *   Body Content   *
 ********************/
#primary {
    margin: 0 0 30px 0; /* Indent the primary content for a nice inner border */
    background-color: white;
}

@media (max-width: 600px) {
    #primary {
        margin: 0px !important;
    }
}

@media (min-width: 1037px) {
    .responsive {
        width: 1020px;
    }
}

body{
    overflow: unset !important;
}


/*************************
 *   Recipe Page Hacks   *
 *************************/
.custom-template-outer {
    margin: 0 auto 20px;
    padding: 0 15px 15px 15px;
    max-width: 930px;
}

.custom-template-inner {
    background-color: white;
    padding-top: 10px;
}
.custom-template-inner > form > div > div > div:first-child {
    left: 181px !important;
}
.custom-template-inner > form > div > div > div:last-child {
    left: 705px !important;
}

/*******************
 *   Lan. Selector *
 *******************/
#lang_sel_list {
    float: right;
    height: auto !important;
}

/******************
 *   Social Bar   *
 ******************/
.nav-social-header {
    position: absolute;
    top: 0;
    right: 0;
}

@media screen and (max-width: 600px) {
    .nav-social-header {
        display: none;
    }
    .nav-social-footer {
        float: none;
        text-align: center;
        margin-bottom: 6px;
    }
}

/**************
 *   Footer   *
 **************/
.footer-wrapper .footer-container {
    padding: 30px 15px;
}

.navigation-main .nav-menu .current-menu-item > a, .navigation-main .nav-menu .current-menu-parent > a, .navigation-main .nav-menu .current-menu-ancestor > a{
    color: #ffffff !important;
}

.main-wrapper{
    margin-bottom: 20px;
}

.background-image{
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.header-wrapper{
    position: relative;
}

.weekly-ad-header-img {
    vertical-align: bottom;
}

.cycloneslider-template-default .cycloneslider-pager {
    top: 40px !important;
}

.header-logo {
    margin: 0 20px;
}

.header-logo img {
    max-width: 70%;
    max-height: 100%;
}

.header-container {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 0px;
}

.header-container > * {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
}

.header-container > .header-left {
    justify-content:center;
}

.header-container > .header-center{
    justify-content: center;
    text-align: center;
}

.header-container > .header-right{
    justify-content: flex-end;
}

.header-container div.header-content,
div.clear {
    display: none;
}

.header-container img {
    max-height: 175px;
}

.header-container>.facebook-container {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.facebook-container > a {
    margin: 3px;
    display: inline-block;
    text-indent: -9999px;
    background: url('/wp-content/themes/shoptocook-responsive/images/social.png?v=2') 0 50% no-repeat;
    background-position: 0px 0px;
    width: 46px;
    height: 46px;
    opacity: 1;
}

.header-container .logo_container{
    min-height: 100px;
    padding-right: 200px;
}

.header-container .login_container{
    padding: 0px;
}

@media (max-width: 600px) {
    .header-logo {
        margin: 0;
    }
    .header-container>.facebook-container {
        display: none;
    }
}

@media (max-width: 780px) {
    .catering_slider {
        padding-top: 15px !important;
    }
}

@media (max-width: 950px) {
    .top_page_header_text {
        font-size: 25px !important;
        height: 25px !important;
    }
}

@media (max-width: 570px) {
    .top_page_header_text {
        height: 50px !important;
        top: 70% !important;
    }
}


@media (min-width: 1200px) {
    .responsive {
        width: 1100px !important;
    }
}

@media screen and (max-width: 1199px) and (min-width: 900px) {
    #site-navigation {
        max-width: 95% !important;
    }
}

@media screen and (max-width: 899px) {
    .cycloneslider-template-default .cycloneslider-pager {
        top: 20px !important;
    }
}


/**************
 *   Preheader   *
 **************/

#preheader {
    background-color: #f6f6f6;
    color: black;
}

.selected-store {
    display: inline-block;
    padding: 5px;
    border-radius: 5px;
    margin: 6px;
    font-size: 14px;
    font-weight: bold;
}

.selected-store img {
    padding-right: 5px;
    vertical-align: middle;
}

.selected-store-link {
    white-space: nowrap;
}

.navigation-main .nav-menu .current-menu-item a:after,
.navigation-main .nav-menu .current-menu-parent a:after,
.navigation-main .nav-menu .current-menu-ancestor a:after {
    display: none;
}

#masthead {
    /*background-image: url("../images/largeheader1.png?v=2");*/
    background-color: white;
    background-repeat: repeat-x;
    background-position-x: center;
    background-position-y: center;
}


/***********************
 *   NAVIGATION MENU   *
 ***********************/

a.menu-toggle{
    font-size: 18px !important;
    text-align: right;
}

.navigation-main .nav-menu>li>a {
    padding-right: 35px;
    text-transform: uppercase;
    padding-top: 20px;
    padding-bottom: 20px;
}

.navigation-main .nav-menu .sub-menu a {
    width: 100%;
    padding-left: 0px !important;
    padding-right: 0px !important;
}

.navigation-main .nav-menu .sub-menu .menu-item {
    width: 100%;
}

#site-navigation {
    padding: 0;
    position: relative;
    z-index: 9999;
    margin: 0 auto;
    min-width: 100%;
    font-family: 'Lato', sans-serif;
    letter-spacing: 2px;
    font-size: 16px;
}

.site-header .menu-toggle{
    font-family: 'Ubuntu', sans-serif;
    letter-spacing: 2px;
    font-size: 18px;
    font-weight: bold;
    line-height: 28px;
}

@media (max-width: 600px) {
    #site-navigation {
        box-shadow: none;
    }
    .menu-no-link>a {
        cursor: default;
    }
}

.navigation-main {
    float: none;
    font-weight: bold !important;
}

.navigation-main ul {
    margin: 0 !important;
}

.navigation-main ul ul {
    top: 60px !important;
    left: auto;
    right: 0;
    min-width: 250px;
    letter-spacing: 1px;
}

.menu-item-more .menu-item-has-children{
    display: none;
}

.main-wrapper .login_container {
    background-color: white;
    margin-left: 0px;
    padding: 0px !important;
    width: 50%;
    margin: 0 auto;
    border-radius: 25px 25px 0px 0px;
    text-align: center;
}


/*************
 *   Footer   *
 *************/

.footer-map{
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0px;
}

.footer-map > *{
    display: flex;
}

.footer-map iframe[src*="www.google.com/maps/"]{
    background-color: transparent;
    /*border: 5px #ee1e26 solid !important;*/
    /*border-radius: 20px;*/
    box-sizing: border-box;
}

.footer-wrapper .footer-container{
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-wrapper .footer-container > *{
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.footer-wrapper .footer-container > .footer-center{
    align-items: center;
    text-align: center;
    color: white;
    margin: 0px 20px;
}

.footer-wrapper .footer-container > .footer-right{
    align-items: flex-end;
}

.footer-wrapper .footer-container .footer-logo{
    text-align: center;
    background-color: white;
    display: block;
    padding: 40px 20px;
    position: relative;
    top: -100px;
    margin-bottom: -50px;
    border-radius: 20px;
    box-shadow: 0px 50px 100px -50px rgb(0 0 0 / 50%);
    transition: all .5s
}

.footer-wrapper .footer-container .footer-logo:hover{
    box-shadow: 0px 50px 100px -50px rgb(0 0 0 / 75%);
    transform: scale(1.05);
}

.footer-wrapper .site-footer .info{
    color: black;
    display: flex;
}

.footer-wrapper .site-footer .info > .icon{
    font-size: 36px;
    margin-right: 20px;
    color: black;
}

.footer-wrapper .site-footer .info.deli > .icon{
    color: transparent;
}

.footer-wrapper .site-footer .info > .text{
    display: flex;
    flex-direction: column;
    line-height: normal;
    font-family: 'Raleway', sans-serif;
}

.footer-wrapper .site-footer .info.hours > .text{
    align-items: flex-end;
    text-align: right;
}

.footer-wrapper .site-footer .info > .text > h4{
    font-family: 'Moderne', sans-serif;
    font-size: 25px;
    font-weight: bold;
    margin-bottom: 10px;
    color: black;
}

.footer-wrapper .site-footer .info > .text > p{
    font-size: 18px;
}

.footer-wrapper ul.nav-social li a:hover {
    opacity: 1; 
    transform: scale(1.2, 1.2);
    transition: transform .5s;
}

.footer-wrapper .bottom > .legal{
    color: white;
    text-align: center;
}

.footer-wrapper .bottom > .legal > *{
    padding: 20px;
    display: block;
    font-size: 14px !important;
}

.footer-wrapper .bottom > .legal a {
    color: rgb(255, 255, 255);
}

.footer-wrapper .bottom > .legal a:hover {
    color: #DDDDDD;
}

.page_headers {
    font-size: 24px;
    color: #007cc2;
}

.tops_page_header {
    position: relative;
    width: 100%;
    margin-top: -30px;
}

.top_page_header_text {
    position: absolute;
    left: 0;
    height: 45px;
    width: 45%;
    top: 85%;
    color: white;
    background-color: #007cc2;
    font-size: 45px;
    padding: 10px;
    margin-left: 15px;
    line-height: 1em;
    font-family: 'Ubuntu', sans-serif;
    letter-spacing: 2px;
    font-size: 16px;
}

.tops-page-content {
    font-size: 20px;
    line-height: 1.5em;
}

.tops-page-content ul {
    line-height: 1em;
}

.catering_slider {
    padding-top: 100px;
}

.weekly-ad-header-img {
    margin: 10px 45px 0px 0px;
}

.warning_message {
    border: 5px dotted red;
    padding: 10px;
}

.site-content .entry-content h1 {
    font-family: 'Ubuntu', sans-serif;
    letter-spacing: 2px;
    font-size: 48px;
    margin-bottom: 30px;
}

.entry-content h2{
    font-family: 'Ubuntu', sans-serif;
    letter-spacing: 2px;
    font-size: 24px;
}

.entry-content h3{
    font-family: 'Ubuntu', sans-serif;
    font-size: 18px;
}

.nav-primary {
    width: 100%;
    display: table;
    text-align: center;
}

.nav-primary li {
    display: inline-block;
    float: none;
}

.color-menu-secondary{
    border-radius: 0px 0px 25px 25px;
    font-family: 'Ubuntu', sans-serif;
}

.nav-secondary {
    text-align: center;
    padding-top: 15px;
    padding-bottom: 15px;
}

.nav-secondary li {
    display: inline;
}

.nav-secondary a {
    font-size: 16px;
}

.menu_item>a {
    text-align: center;
}

#main {
    margin-top: 50px;
}

.content-area {
    box-shadow: 0px 50px 100px -50px rgba(0, 0, 0, 0.75);
    border-radius: 25px;
}

.custom-template-outer {
    max-width: 960px !important;
    background-color: white;
    border-radius: 25px;
    box-shadow: 0px 50px 100px -50px rgba(0, 0, 0, 0.75);
}

.custom-template-inner {
    background-color: transparent !important;
}

#stc-search-header {
    border-radius: 25px 25px 0px 0px;
}

#pagearea {
    margin: 0 auto !important;
}

.weekly-ad-container {
    text-align: right;
    margin: 0 20px;
    position: relative;
    top: 5px;
}

.stc-feat-image {
    max-width: 100%;
    height: auto;
}

.stc-feat-link{
    background: #e4272d;
    font-weight: bold;
}

.stc-feat-image .inner-border {
    display: none;
}

.stc-feat-image img {
    outline: 4px solid white;
    outline-offset: -15px;
}

.site-header .menu-toggle:before{
    content: '';
}

.site-content{
    font-family: 'Ubuntu', sans-serif;
}

.site-content *{
    line-height: normal;
}

.nav-secondary li + li::before {
    color: #bf2228;
}

ul.nav-primary li.menu-item{
    box-shadow: 0 0 0 #ddd inset;
    transition: .5s;
}

ul.nav-primary > li.menu-item.current-menu-item, ul.nav-primary > li.menu-item.current-menu-parent {
    box-shadow: 0 -5px 0 #bf2228 inset;
}

@media (max-width: 800px) {
    .footer-wrapper .site-footer .info{
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .footer-wrapper .site-footer .info > .icon{
        margin-right: 0px;
        margin-bottom: 10px;
    }
    .footer-wrapper .site-footer .info.hours > .text{
        align-items: center;
        text-align: center;
    }
}

@media (max-width: 600px) {
    .mobile-hide{
        display: none;
    }
    .content-area{
        border-radius: 0px;
    }
    .nav-primary{
        text-align: left;
    }
    .navigation-main .nav-menu .sub-menu a{
        width: auto;
        padding-left: 40px !important;
    }
    .header-container {
        justify-content: center;
        flex-direction: column;
    }
    .navigation-main.toggled .nav-menu li {
        background-image: none;
        border-bottom: none;
        display: list-item;
    }
    .current-menu-parent{
        background-color: initial !important;
    }
    .navigation-main .nav-menu .current-menu-parent > a{
        color: white !important;
    }
    .navigation-main .nav-menu > li {
        width: 100%;
    }
    .navigation-main .nav-menu .sub-menu a {
        padding-right: 10px !important;
    }
    #main{
        padding-top: 0px !important;
        border-radius: 0px;
        margin-top: 0px;
        margin-bottom: 0px;
    }
    .navigation-main.toggled .nav-menu li {
        background-image: none;
        border-bottom: none;
        display: list-item;
    }
    .navigation-main .nav-menu > li {
        width: 100%;
    }
    .navigation-main .nav-menu .sub-menu a {
        padding-right: 10px !important;
    }
    .navigation-main.toggled a {
        padding: 10px 22px;
    }
    .login_container {
        position: static !important;
    }
    .stc-enabled  {
        display: block;
        width: auto;
    }

    .stc-enabled .logo_container, .stc-enabled .login_container {
        display: block;
    }

    .sso-enabled .logo_container, .sso-enabled .login_container {
        float: none;
        width: auto;
    }

    .sso-enabled .social_box {
        display: inline !important;
    }

    .logo_container {
        text-align: center;
    }
    .header-container .logo_container{
        min-height: 0px;
        padding: 0px 20px;
    }
    .header-container .login_container{
        padding-top: 20px;
    }
    .color-menu-secondary, .custom-template-outer{
        border-radius: 0px;
    }
    .footer-map{
        /*padding: 20px 20px 0px 20px;*/
    }
    .footer-map iframe[src*="www.google.com/maps/"]{
        /*border-radius: 20px 20px 0px 0px;*/
        border: none !important;
    }
    .footer-container > *{
        text-align: center;
        flex-direction: column;
    }
    .footer-wrapper .site-footer .info.deli > .icon{
        display: none;
    }
    #footer{
        background-position: center calc(100% - 80px);
    }
    ul.nav-primary > li.menu-item.current-menu-item, ul.nav-primary > li.menu-item.current-menu-parent {
        box-shadow: 5px 0px 0 #bf2228 inset;
    }
}