/*
 * The [demeter] layout CSS.
 */

/******************
 *   Navigation   *
 ******************/
.navigation-main .nav-primary  a {
    padding-top:  10px;
    padding-bottom:  10px;
}

#lang_sel_list {
    float: right;
    height: auto !important;
}

.menu-toggle h1 {
    display: inline-block;
    padding:0;
    margin:0; 
}

/********************
 *   Body Content   *
 ********************/
#primary {
    margin: 15px; /* Indent the primary content for a nice inner border */
    background-color: white;
}

@media (max-width: 600px) {
    #primary {
        margin: 0px !important;
    }
}

/*************************
 *   Recipe Page Hacks   *
 *************************/
.custom-template-outer {
    padding: 10px;
}

.custom-template-inner {
    padding: 10px;
    background-color: white;
}
.custom-template-inner > form > div > div > div:first-child {
    left: 181px !important;
}
.custom-template-inner > form > div > div > div:last-child {
    left: 705px !important;
}
#leftnav {
    width: 165px !important;
}
#myaccountnav, #rightnav  {
    width: 170px !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-wrapper {
    margin-bottom: 15px; /* For the bottom drop shadow */
}

.footer-wrapper .footer-container {
    padding: 30px 15px;
}