/*
 * The [artemis] 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;
}

.header-right{
    display: block !important;
}

.header-right > *{
    display: flex;
    justify-content: center;
    align-items: center;
}

.header-right > .upper{
    justify-content: space-between;
    margin-bottom: 10px;
}

.header-right > .upper > .links{
    display: flex;
    gap: 20px;
}

.header-right > .upper > .links > a{
    display: block;
    color: white;
    text-decoration: none;
    font-size: 22px;
    font-weight: bold;
    text-align: center;
    padding: 15px 0px;
}

instacart-auth{
    background-color: #f6f7f8;
    border: 2px solid black;
    border-radius: 100px;
}

instacart-search{
    flex: 1;
    margin-right: 10px;
}

input:-webkit-autofill,
input:-webkit-autofill:focus {
    transition: background-color 0s 600000s, color 0s 600000s;
}

div.faq-search-bar{
    display: flex;
    justify-content: center;
}

form.search{
    flex: 1;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #efefef;
    border-radius: 50px;
    margin: 0 20px;
}

form.search.faqs{
    border: solid #d72832 2px;
    background-color: #efefef;
    margin: 20px;
    max-width: 800px;
    padding-left: 15px;
}

form.search > select{
    background-color: #d72832;
    color: white;
    padding: 10px;
    border: none;
    height: 100%;
    border-radius: 50px;
    font-size: 16px;
    font-family: 'Raleway', sans-serif;
    font-weight: bold;
    cursor: pointer;
}

form.search > select:focus{
    border-radius: 25px 25px 0px 0px;
}

form.search > input{
    flex: 1;
    height: 100%;
    border: none;
    background-color: transparent !important;
    color: black;
    padding-left: 15px;
    width: 0;
    font-family: 'Raleway', sans-serif;
}

form.search > input::placeholder{
    color: black;
}

form.search > button{
    background-color: transparent;
    color: black;
    height: 100%;
    border: none;
    cursor: pointer;
    padding: 10px;
    font-size: 20px;
}

.top-bar{
    height: 45px;
    overflow: hidden;
    transition: all .5s;
}

.header-wrapper.sticky .top-bar{
    height: 0;
}

.top-bar .stuff{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar img{
    height: 25px;
}

.top-bar a{
    color: white;
    font-weight: bold;
    padding: 10px;
    font-size: 16px;
    text-decoration: none;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

.pig-points > img{
    max-height: 30px !important;
}

/********************
 *   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;
    }
}

/*************************
 *   DFP   *
 *************************/
#dfp-right {
    margin-left: 441px !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;
}

.nav-social-footer {
    float: right;
}

@media screen and (max-width: 600px) {
    .nav-social-header {
        display: none;
    }
    .nav-social-footer {
        float: none;
        text-align: center;
        margin-bottom: 6px;
    }
}

/**************
 *   Footer   *
 **************/

#footer {
    background: url('../images/fabric.png');
    border-top: solid 20px #d72832;
}

.footer-wrapper{
    font-family: 'Raleway', sans-serif;
}

.footer-wrapper .footer-container{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-wrapper .footer-container > .site-branding{
    max-width: 300px;
}

.footer-wrapper .footer-container > .menu-columns{
    display: flex;
    justify-content: center;
    padding: 20px 0px 50px 0px;
}

.footer-wrapper .footer-container > .menu-columns > .column{
    padding: 15px;
    display: flex;
    flex: 1;
}

.footer-wrapper .footer-container > .menu-columns > .column.logo{
    align-items: center;
    flex-direction: column;
}

.footer-wrapper .footer-container > .menu-columns > .column.logo img{
    max-width: 350px;
}

.footer-wrapper .footer-container > .menu-columns > .column .icon{
    font-size: 30px;
    margin-top: 10px;
    margin-right: 10px;
    color: #d72832;
}

.footer-wrapper .footer-container > .menu-columns > .column .text{
    display: flex;
    flex-direction: column;
    line-height: normal;
}

.footer-wrapper .footer-container > .menu-columns > .column h3{
    color: #d72832;
    font-family: 'Raleway', sans-serif;
    letter-spacing: 1px;
    font-size: 38px;
    font-weight: bold;
    line-height: normal;
    margin-bottom: 20px;
}

.footer-wrapper .footer-container > .menu-columns > .column.logo h3{
    margin-bottom: 0px;
    margin-top: 20px;
}

.footer-wrapper .footer-container > .menu-columns > .column h4{
    color: #d72832;
    font-family: 'Raleway', sans-serif;
    letter-spacing: 1px;
    font-size: 20px;
    font-weight: bold;
    line-height: normal;
    margin-bottom: 10px;
}

.footer-wrapper .footer-container > .menu-columns > .column a{
    color: black;
    font-size: 18px;
    text-decoration: none;
    font-family: 'Raleway', sans-serif;
    padding-bottom: 10px;
}

.footer-wrapper .footer-container > .menu-columns > .column.logo{
    justify-self: center;
    align-self: center;
    text-align: center;
}

.footer-wrapper .footer-container > .menu-columns > .column.logo a{
    padding-bottom: 0px;
}

.footer-wrapper .footer-container > .menu-columns > .column a:hover{
    text-decoration: underline;
}

.footer-wrapper .footer-container .social{
    margin-top: 20px;
}

.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: white;
}

.footer-wrapper .bottom > .legal a:hover {
    color: #d6d6d6;
}

@media (max-width: 800px) {
    .footer-wrapper .footer-container > .menu-columns{
        flex-direction: column;
    }
    .footer-wrapper .footer-container > .menu-columns > .column{
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .footer-wrapper .footer-container > .menu-columns > .column > .icon{
        margin-right: 0px;
        margin-bottom: 10px;
    }
    .footer-wrapper .footer-container > .menu-columns > .column > .text{
        align-items: center;
        text-align: center;
    }
    .footer-wrapper .footer-container > .menu-columns > .column.logo{
        order: -1;
    }
    .header-right{
        margin: 0px 10px;
    }
    .header-right > .upper > .links > a{
        font-size: 18px;
    }
}