/*
 * The [artemis] layout CSS.
 */

/**************
 *   Header   *
 **************/
.top-banner>div {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
    align-items: center;
}

.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;
    }
}

/*************************
 *   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-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-wrapper .footer-container {
    padding: 30px 15px;
}



/* NEW FOOTER */
.footer-wrapper.new-footer {
    padding-top: 0;
}

.new-footer #colophon {
    padding: 45px;
    box-sizing: border-box;
}

.new-footer .row {
    align-items: flex-start;
}

.new-footer.footer-wrapper .footer-logo {
    max-width: none;
    margin-bottom: 12px;
    max-width: 40%;
}

.font-adelle {
    font-family: adelle-sans, sans-serif;
}

.font-anton {
    font-family: Anton, sans-serif;
}

.new-footer.footer-wrapper .column.center {
    flex: 1;
}

.new-footer ul {
    list-style: none;
    margin: 0;
}

.new-footer .links {
    font-size: 22px;
    line-height: 1.2;
}

.new-footer.footer-wrapper .newsletter-signup {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: flex-start;
    margin: 0 auto;
    /*padding-top: 37px;*/
}

.style-uppercase {
    text-transform: uppercase;
    font-size: 22px;
}

@media (min-width: 1250px) {
    .new-footer .responsive {
        width: 1250px !important;
    }
}

@media (max-width: 1250px) {
    .footer-row-2 {
        flex-direction: column !important;
        align-items: center !important;
    }

    .new-footer #colophon {
        padding: 45px 3%;
    }

    .addr-list {
        margin-bottom: 20px !important;
    }

    .footer-row-insta {
        margin-left: 0 !important;
    }
}

@media (max-width: 920px) {
    .new-footer #colophon {
        padding: 45px 0;
    }

    .addr-row {
        align-items: center !important;
    }

    .footer-wrapper .newsletter-signup {
        padding: 0 !important;
    }

}

@media (max-width: 800px) {
    .new-footer.footer-wrapper .newsletter-signup {
        padding-top: 0;
    }

    .new-footer ul {
        margin-left: 0 !important;
    }

    .footer-row-insta,
    .footer-row-legal {
        flex-direction: row !important;
        margin-left: 0 !important;
    }
    .footer-row-1 .column:first-child {
        align-items: center !important;
    }
}

@media (max-width: 600px) {
    .new-footer .responsive {
        width: 95% !important;
    }
    .footer-row-insta  {
        flex-direction: column !important;
        align-items: center !important;
    }
    .footer-row-insta > div {
        margin-left: 0 !important;
    }
}