/*
 * The [artemis] layout CSS.
 */

/**************
 *   Header   *
 **************/
.main-wrapper .login_container {
    padding: 5px 50px;
}

.site-header .site-branding{
    max-height: 42px;
}

/********************
 *   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 .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: 24px;
    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: 50px;
}

.footer-wrapper .footer-container .app{
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.footer-wrapper .footer-container .app > .app-icons{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.footer-wrapper .footer-container .app > .app-icons img{
    padding: 10px;
    max-width: 145px;
}

.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;
    }
}