/**
 * Jakob Steiner website stylesheet
 * 
 * Site by:     Big Picture Interactive (bpiagency.com)
 * Author:      Jonathan Williams
 * Date:        June 2013
 *
 * Responsive Mobile-first CSS
 * 
 *
 *  Stylesheet Contents
 * ---------------------
 *
 * - HTML & text basics
 * - Menu bar
 * - Footer
 * - Social links
 *
 * - Slides:
 *    - Generic
 *    - Home
 *    - About
 *    - Recipes
 *    - Downloads
 *    - Contact
 *    - Support pages (Terms, Responsibility)
 *    - Entry page
 *
 * - Buttons
 * - JavaScript-users only
 * - Non JavaScript users only
 * - Plugins:
 *    - bxSlider
 *
 *
 * - Major breakpoints for Media queries
 *   - min-width 320px
 *   - min-width 480px
 *   - min-width 768px
 *   - min-width 940px
 *   - min-width 940px & max-height 800px
 *
 */




/**
 * HTML & text basics
 */

html {
    font-size: 62.5%;
    -webkit-font-smoothing: antialiased;
}

    body {
        background: url(../images/bg.jpg) no-repeat center top;
        background-attachment: fixed;
        background-size: cover;

        overflow-x: auto;   /*  **  */
    }
    /*
    .ios body {
        height: 100%;
    }
    */


a {
    text-decoration: none;
}
a,
a:visited,
a:hover,
a:active,
a:focus {
    outline: none;
}

h1,
h2 {
    position: absolute;
    display: inline-block;
    font-family: 'LeagueGothicRegular', arial, sans-serif;
    font-size: 34px;
    font-size: 3.4rem;
    font-weight: 500;
    line-height: 1;
    text-transform: uppercase;
    color: #ef3e1d;
}
    h1 span {
        display: block;
        font-family: 'Alegreya SC', serif;
        font-size: 15px;
        font-size: 1.5rem;
        font-weight: 600;
        color: #000;
    }
        h1 span span {
            display: block;
        }

h2 {
    font-size: 33px;
    font-size: 3.3rem;
}
    h2 span {
        display: block;
        font-family: 'Alegreya SC', serif;
        font-size: 27px;
        font-size: 2.7rem;
        font-weight: 600;
        text-transform: none;
        color: #000;
    }
        h2 span span {
            display: block;
        }

p {
    margin-bottom: 0.75em;
}



/**
 * Menu bar
 */
/** Needs doing **/
#menu-container {
    width: 100%;
    height: 50px;
    position: fixed;
    top: 0;
    z-index: 100;
}
#menu {
    position: relative;
    width: 100%;
    max-width: 938px;
    margin: 0 auto;
    z-index: 50;
}
/** need to finalise menus / images **/
    #menu-list {
        margin: 0 auto;
        padding-top: 30px;
        padding-bottom: 56px;
        padding-left: 15px;
        font-family: 'LeagueGothicRegular', arial, sans-serif;
        font-size: 28px;
        font-size: 2.8rem;
        text-transform: uppercase;
        line-height: 1.3;
        background: url(../images/breakpoint-320/bg-menu-all.png) bottom right no-repeat;
    }
    /** **/
    .no-js #menu-list {
        padding-bottom: 10px;
        padding-left: 0;
        background: url(../images/breakpoint-768/bg-menu.png) bottom left no-repeat;
    }
    .simple-js #menu-list {
        background: url(../images/breakpoint-320/bg-menu-all.png) bottom right no-repeat;
    }
        #menu-list li {
            display: block;
            padding-left: 30px;
            margin-bottom: 5px;
        }
        .no-js #menu-list li {
            display: inline-block;
        }
            #menu-list a {
                display: block; /** added late **/
                color: #ef3e1d;
            }
            #menu-list a.active,
            #menu-list a:hover {
                color: #5c9d8a;
            }
            #menu-list a:hover {
                text-decoration: underline;
            }

    #menu-trigger {
        position: absolute;
        right: 10px;
        bottom: 0;
        margin-bottom: 0;
        font-family: 'Alegreya SC', serif;
        font-size: 16px;
        font-size: 1.6rem;
        color: #f8f8f8;
        z-index: 30;
    }
        #menu-trigger a {
            display: block;
            height: 36px;
            width: 70px;
            line-height: 28px;
            text-align: center;
            font-weight: bold;
            color: #f9f9f9;
        }

    #logo {
        position: absolute;
        top: 10px;
        right: 20px;
        height: 27px;
        width: 130px;
        background: url(../images/breakpoint-240/logo.png) 0 0 no-repeat;
    }
    .no-js #logo {
        display: none;
    }



/**
 * Footer
 */
/** Needs doing **/
#footer-container {
    width: 100%;
    position: fixed;
    bottom: 0;
    height: 35px;
    z-index: 100;

}
    #footer {
        position: relative;
        top: 0;
        max-width: 900px;
        min-height: 35px;
        margin: 0 auto;
        padding: 0 19px 0;
        border-top: solid 1px #d9d9d9;
        font-family: 'LeagueGothicRegular', arial, sans-serif;
        font-size: 16px;
        font-size: 1.6rem;
        text-align: center;
        text-transform: uppercase;
        background: #fff;
    }

        #footer ul {
            float: none;
            margin-top: 3em;
        }
            #footer li {
                display: block;
                margin: 8px 0;
                padding: 0 0.75em;
            }
        #footer p {
            position: absolute;
            top: 10px;
            left: 45px;
            width: 82%;
            cursor: pointer;
        }
        #footer #drink-aware {
            text-decoration: none;
        }
        #footer a {
            color: #000;
            text-decoration: underline;
        }
        #footer a:hover {
            color: #212b43;
        }

        #footer-trigger {
            position: absolute;
            left: 15px;
            top: 2px;
            height: 30px;
            width: 30px;
            cursor: pointer;
            background: url(../images/breakpoint-320/jakob-steiner-sprites.png) -440px 4px no-repeat;
        }
        .footer-open #footer-trigger {
            background: url(../images/breakpoint-320/jakob-steiner-sprites.png) -440px -75px no-repeat;
        }
     



/**
 * Social links
 */

.sociallinks {
    position: absolute;
    min-width: 90px;
    max-width: 140px;
    z-index: 70;
}
    .sociallinks p {
        margin-bottom: 0;
        color: #000;
        font-family: 'LeagueGothicRegular', arial, sans-serif;
        font-size: 18px;
        font-size: 1.8rem;
        text-transform: uppercase;
    }
    .sociallinks ul {
        height: 40px;
        min-width: 90px;
        margin-bottom: 12px;
        list-style: none;
    }
        .sociallinks li {
            float: left;
            max-width: 50px;
            text-indent: 300%;
            white-space: nowrap;
            overflow: hidden;
        }
            .sociallinks .facebook {
                float: left;
                width: 40px;
                height: 40px;
                margin-right: 10px;
                background: url(../images/breakpoint-320/jakob-steiner-sprites.png) 0 0;
            }
            .twitter {
                float: left;
                width: 40px;
                height: 40px;
                background: url(../images/breakpoint-320/jakob-steiner-sprites.png) 0 -80px;
            }



/**
 * Slides
 */

 .stamp {
    position: absolute;
    width: 100px;
    height: 100px;
}
.no-js .stamp {
    display: none;
}

/* Slide container */
 .pane-container {
    
}

/* The target for the slide to show in */
    .js .pane {
        clear: left;
        position: relative;
        width: 100%;
        height: 100%;
    }
    .simple-js .pane {
        height: 600px;
    }
    .js .pane {
        overflow: hidden;
    }

    .js .pane .slides {
        overflow: hidden;
    }

/* generic slide rules */

/** JW - may need updating once media queries near completion */
.js .pane .slide {
    float: left;
    width: 100%;        /* overidden if JavaScript available */
    overflow: hidden;
}
.simple-js .slide {
    height: 770px;
    overflow-x: hidden;
    position: relative;
}
.no-js .slide {
    height: 1000px;     /* default height for slides when JavaScript not available */
    padding-top: 30px;
}
.no-js #recipes {
    height: 1400px;     /* additional slide specific heights can be defined her */
}
.no-js #terms {
    height: 2300px;
}
.no-js #privacy {
    height: 1700px;
}

/* initial approx rules to put a slide into the 'middle' column, overwritten with JavaScript */
.js .slides #recipes,
.js .slides #downloads {
    margin: 0 33.3%;
}

    .slide-content {
        position: relative;
        width: 100%;
        max-width: 938px;
        margin: 0 auto;
    }
    .js .slide-content {
        min-height: 100%;
    }



/* 'Home' slide */
#home {
    background: url(../images/breakpoint-240/home-bg-nostamp.png) 43% 70px no-repeat;
}

    #home h1 {
        top: 40px;
        right: 10px;
        left: 10px;
        height: 75px;
        padding-top: 18px;
        text-align: center;
        background: url(../images/breakpoint-240/jakob-steiner-sprites.png) 0 -400px; 
    }
    #home .stamp {
        top: 150px;
        left: -6%;
    }
    #home #bottle {
        position: absolute;
        top: 222px;
        right: 1%;
        height: 155px;
        width: 120px;
        background: url(../images/breakpoint-240/home-bottle.png) no-repeat;
    }
    #home #home-wtb-mob {
        position: absolute;
        top: 158px;
        right: 2%;
    }
    #home .sociallinks {
        top: 650px;
        right: 10%;
    }
        #home-wtb {
            display: none;
        }
    #home .sociallinks p {
        font-size: 21px;
        font-size: 2.1rem;
    }
    #facebook-feed-container {
        position: absolute;
        top: 380px;
        left: 0;
        height: 249px;
        max-width: 316px;
        margin: 0 4%;
        background: url(../images/home-textarea.png) center 0 no-repeat;
        padding: 20px 0 0;
    }
        #facebook-feed {
            height: 235px;
            max-width: 295px;
            padding: 0 0 0 20px;
            overflow: hidden;
        }
        .js .fb-like-box {
            min-height: 70px;
            padding-left: 10px;
        }
        .fbf {
            height: 160px;
            overflow-y: auto;
            font-family: 'lucida grande',tahoma,verdana,arial,sans-serif;
            font-size: 11px;
            font-size: 1.1rem;

        }
            .fbf h3 {
                margin-bottom: 3px;
                font-size: 13px;
                font-size: 1.3rem;
            }
            .fbf small {
                display: block;
                margin-bottom: 8px;
                font-size: 10px;
                font-size: 1.0rem;
                color: #999;
            }
            .fbf a {
                color: #3B5998;
                cursor: pointer;
            }
                .fbf a:hover {
                    text-decoration: underline;
                }
/* non-js alternative facebook feed header */
#fb-nojs {
    padding: 10px 10px 10px 20px;
    font-family: 'lucida grande',tahoma,verdana,arial,sans-serif;
    font-size: 13px;
    font-size: 1.3rem;
    font-weight: bold;
}
    #fb-nojs img {
        vertical-align: top;
    }
    #fb-nojs a {
        color: #3B5998;
    }



/* 'About' slide */
.simple-js #about {
    height: 700px;
}
#about {
}
    #about h2 {
        top: 30px;
        left: 10px;
        text-align: center;
        height: 60px;
        padding-top: 6px;
        line-height: 60px;
        background: url(../images/breakpoint-240/jakob-steiner-sprites.png) 0 -750px; 
    }
    #about .stamp {
        top: 30px;
        left: 83%;
        transform: rotate(55deg);
        -moz-transform: rotate(55deg);
        -webkit-transform: rotate(55deg);
        display: none;
    }
    #about .sociallinks {
        display: none;
    }
    #about-textpanel {
        position: relative;
        top: 120px;
        left: 0;
        height: 156px;
        max-width: 392px;
        padding: 20px 20px 10px 20px;
        margin: 0 4%;
        font-family: georgia, serif;
        font-size: 12px;
        font-size: 1.2rem;
        line-height: 1.2;
        color: #111;
        background: url(../images/breakpoint-320/about-textarea1.png) center 0 no-repeat;
        overflow-x: visible;
    }
    #about-textpanel2 {
        position: relative;
        top: 140px;
        left: 0;
        height: 253px;
        max-width: 389px;
        padding: 5px 10px 10px 10px;
        margin: 0 4%;
        font-family: georgia, serif;
        font-size: 12px;
        font-size: 1.2rem;
        line-height: 1.2;
        color: #111;
        background: url(../images/breakpoint-768/about-textarea2.png) center 0 no-repeat;
        overflow-x: visible;
    }
    #about h3 {
        margin-bottom: 0.15em;
        font-family: 'Alegreya SC', serif;
        font-size: 23px;
        font-size: 2.3rem;
        text-align: center;
        color: #222;
    }



/* 'Recipes' slide */
.simple-js #recipes {
    height: 650px;
}
#recipes {
    background: url(../images/breakpoint-240/recipes-bg-no-stamp.png) 58% 190px no-repeat;
}
    #recipes h2 {
        top: 30px;
        left: 10px;
        height: 92px;
        padding-top: 12px;
        font-size: 34px;
        font-size: 3.4rem;
        line-height: 1;
        text-align: center;
        background: url(../images/breakpoint-240/jakob-steiner-sprites.png) 0 -580px; 
    }
        #recipes h2 span {
            font-size: 21px;
            font-size: 2.1rem;
            text-align: center;
        }
    #recipes .stamp {
        top: 60px;
        left: 85%;
        transform: rotate(30deg);
        -moz-transform: rotate(30deg);
        -webkit-transform: rotate(30deg);
    }
    #recipes .sociallinks {
        top: 350px;
        right: 7%;
    }
        #recipes .sociallinks ul, 
        #recipes .sociallinks p {
            display: none;
        }
    #recipe-slider-container {
        position: absolute;
        top: 155px;
        left: 0;
        width: 100%;
        max-width: 938px;
        overflow-y: auto;
    }
        #recipe-slider {
            overflow-y: auto;
        }
            #recipe-slider li {
                display: inline-block;
            }
    #recipe-slider li img {
        float: left;
    }
    #recipe-slider.mini li img {
        float: none;
    }

    #recipe-slider h3 {
        margin-left: 172px;
        font-family: 'LeagueGothicRegular', arial, sans-serif;
        font-size: 25px;
        font-size: 2.5rem;
        font-weight: 500;
        line-height: 1;
        color: #111;
    }
    #recipe-slider.mini h3,
    #recipe-slider.mini p {
        margin-left: 0;
    }
    #recipe-slider li.padtop h3 {
        padding-top: 20px;
    }
    #recipe-slider p {
        margin-left: 172px;
        font-family: georgia, serif;
        font-size: 14px;
        font-size: 1.4rem;
        line-height: 1.3;
    }




/* 'Downloads' slide */
.simple-js #downloads {
    height: 1720px;
}
#downloads {
    background: url(../images/breakpoint-240/downloads-bg-no-stamp.png) 42% 1320px no-repeat;
}
    #downloads h2 {
        top: 30px;
        left: 10px;
        height: 92px;
        padding-top: 12px;
        font-size: 41px;
        font-size: 4.1rem;
        line-height: 0.95;
        text-align: center;
        background: url(../images/breakpoint-240/jakob-steiner-sprites.png) 0 -580px;
    }
        #downloads h2 span {
            font-size: 22px;
            font-size: 2.2rem;
            line-height: 0.8;
            text-align: center;
        }
     #downloads .stamp {
        top: 60px;
        left: 76%;
    }
    #downloads .sociallinks {
        top: 1550px;
        right: 30%;
        display: none;
    }
    #downloads ul.downloads {
        position: absolute;
        top: 180px;
        width: 100%;
        max-width: 634px;
        text-align: center;
    }
        #downloads ul.downloads li {
            display: inline-block;
            width: 230px;
            margin: 0 auto 50px auto;
            text-align: center;
            vertical-align: bottom;
        }
    #downloads ul.downloads li img {
        float: none;
    }
    #downloads h3 {
        font-family: 'LeagueGothicRegular', arial, sans-serif;
        font-size: 25px;
        font-size: 2.5rem;
        font-weight: 500;
        line-height: 1;
        color: #111;
    }
        #downloads li.padtop h3 {
            padding-top: 20px;
        }
    #downloads ul.downloads p {
        max-width: 200px;
        margin-left: auto;
        margin-right: auto;
        font-family: georgia, serif;
        font-size: 14px;
        font-size: 1.4rem;
        line-height: 1.3;
    }
    #downloads ul.downloads a {
        margin: 1em auto 0 auto;
    }



/* 'Contact' slide */
.simple-js #contact {
    height: 700px;
}

    #contact h2 {
        top: 30px;
        right: 10px;
        height: 60px;
        padding-top: 4px;
        font-size: 30px;
        font-size: 3rem;
        line-height: 60px;
        text-align: center;
        background: url(../images/breakpoint-240/jakob-steiner-sprites.png) 0 -750px;
    }
    #contact .stamp {
        top: 34px;
        right: 75%;
    }
    #contact .sociallinks {
        top: 490px;
        left: 10%;
        z-index: 25;
        max-width: 250px;
    }
        #contact .sociallinks ul {
            float: left;
        }
        #contact .sociallinks a.button {
            float: left;
            margin-left: 30px;
        }
    #reg-form {
        position: absolute;
        top: 140px;
        width: 84%;
        max-width: 309px;
        height: 297px;
        padding: 22px 2% 10px 6%;
        margin: 0 4%;
        background: url(../images/contact-textarea.png) right top no-repeat; /** changed **/
        z-index: 30;
    }

/* Form elements */
    form {
        -webkit-appearance: none;
    }
        form ul {
            list-style: none;
        }
            form li {
                height: 34px;
                margin-bottom: 8px;
                font-family: 'LeagueGothicRegular', arial, sans-serif;
                font-size: 17px;
                font-size: 1.7rem;
            }
                label {
                    display: inline-block;
                    vertical-align: middle;
                    padding-right: 3px;
                    font-family: 'LeagueGothicRegular', arial, sans-serif;
                    font-size: 17px;
                    font-size: 1.7rem;
                    text-transform: uppercase;
                }
                input,
                select {
                    font-family: 'LeagueGothicRegular', arial, sans-serif;
                    font-size: 17px;
                    font-size: 1.7rem;
                    border: solid 2px transparent;
                    border-bottom: solid 2px #000;
                    color: #444;
                    background: #fff;
                    -moz-appearance: none;
                    border-radius: 0;
                }
                .ios input[type=text],
                .ios input[type=email],
                .ios input[type=tel],
                .ios textarea,
                .ios select {
                    padding: 2px;
                    -webkit-appearance: none;
                }
                .ios input[type=checkbox] {

                }
                #full-name {
                    width: 103px;
                }
                #email {
                    width: 130px;
                }
                #dob-day,
                #dob-month,
                #dob-year {
                    width: 30px;
                    text-align: center;
                }
                /** **/
                .ios #dob-day,
                .ios #dob-month,
                .ios #dob-year {
                    width: 47px;
                }
                #i-am-a {
                    width: 161px;
                }
                /** **/
                /*
                .ios #i-am-a {
                    xwidth: 250px;
                }
                */

                li.checkbox {
                    margin: 20px 7px 0 0;
                    vertical-align: top;
                }
                    li.checkbox label {
                        width: 175px;
                        padding-top: 4px;
                        font-family: georgia, serif;
                        font-size: 12px;
                        font-size: 1.2rem;
                        line-height: 1.3;
                        vertical-align: top;
                        text-transform: none;
                    }
                    li.checkbox input {
                        border: 0;
                    }
                    .ios li.checkbox input {
                        border: solid 2px #000;
                    }
                #send-details {
                    position: absolute;
                    top: 260px;
                    right: 20px;
                    font-size: 20px;
                    font-size: 2rem;
                }
                .non-js #message .button-small {
                    position: absolute;
                    top: 237px;
                    right: 43px;
                }


/* Form helpers */
        .highlight {
            border: solid 2px #ef3e1d;
        }
        .loading {
            height: 32px;
            width: 32px;
            margin: 100px auto;
            background: url(../images/bx_loader.gif) no-repeat;
            display: none;
        }


/* Form feedback (Seen by JavaScript users only) */
        #reg-form-feedback h3,
        #message h3 {
            width: 68%;
            margin: 2px 0 16px;
            font-family: 'LeagueGothicRegular', arial, sans-serif;
            font-size:25px;
            font-size: 2.5rem;
            font-weight: 500;
            line-height: 1;
            text-transform: uppercase;
            color: #111;
        }
        #reg-form-feedback p,
        #reg-form-feedback li {
            font-family: georgia, serif;
            font-size: 15px;
            font-size: 1.5rem;
            line-height: 1.3;
            color: #222;
        }
        #reg-form-feedback li {
            margin: 3px 0;
            height: auto;
        }
        #reg-form-feedback a.button-small {
            position: absolute;
            right: 20px;
            top: 260px;
        }





/* Slide for Entry page (Date of birth capture) */
#entry {
    height: 600px;
    background: url(../images/breakpoint-240/entry-bg.png) 56% -5% no-repeat;
}

    #entry h1 {
        top: 80px;
        right: 10px;
        height: 114px;
        padding-top: 15px;
        font-size: 56px;
        font-size: 5.6rem;
        line-height: 0.9;
        text-align: center;
        background: url(../images/breakpoint-768/jakob-steiner-sprites.png) 0 -580px; 
    }
        #entry h1 span {
            font-size: 18px;
            font-size: 1.8rem;
            font-weight: 600;
            line-height: 1;
            text-transform: none;
        }
            #entry h1 span span {
                font-size: 16px;
                font-size: 1.6rem;
                font-weight: 600;
            }
    #entry-form,
    #entry #message {
        position: absolute;
        top: 250px;
        right: 10px;
        left: 5px;
        height: 237px;
        max-width: 343px;
        padding: 40px 0 0 20px;
        background: url(../images/breakpoint-320/entry-textarea.png) top left no-repeat;
    }
        #entry-form li {
            margin-bottom: 0;
        }
        #entry-form li.checkbox input {
            float: left;
        }
        #entry-form li.checkbox label {
            min-width: 220px;
            max-width: 300px;
            margin-left: 5px;
            font-size: 13px;
            font-size: 1.1rem;
        }
            #entry-form label a {
                color: #000;
                text-decoration: underline;
            }
        button#send-entry {
            position: absolute;
            top: 210px;
            right: 22px;
            padding-bottom: 1px;
            padding-top: 2px;
        }

        #entry #message {
            font-family: georgia, serif;
            font-size: 12px;
            font-size: 1.2rem;
            line-height: 1.5;
            color: #111;
        }

            #entry #message li {
                height: auto;
            }
            #entry #message .button-small {
                position: absolute;
                top: 196px;
                right: 22px;
            }



/* Support slides (T & Cs, drink responsibly) */
.support {
    background: url(../images/breakpoint-240/support-bg.png) 45% 20px no-repeat;
}
    .support h2 {
        top: 70px;
        left: 10px;
        height: 62px;
        line-height: 62px;
        text-align: center;
        padding-top: 4px;
        background: url(../images/breakpoint-240/jakob-steiner-sprites.png) 0 -750px;
    }
    .support .sociallinks {
        display: none;
    }
    .support .textpanel {
        position: relative;
        top: 200px;
        left: -10px;
        height: auto;
        width: 92%;
        max-width: 600px;
        padding: 20px 2% 10px 8%;
        font-family: georgia, serif;
        font-size: 12px;
        font-size: 1.2rem;
        line-height: 1.5;
        color: #111;
        overflow-x: visible;
    }


.simple-js #terms {
    height: 2900px;
}
.simple-js #privacy {
    height: 1830px;
}




#terms .textpanel,
#privacy .textpanel {
    top: 110px;
    height: 30%;
    margin-bottom: 100px;
    overflow-y: auto;
}

.js #terms.no-constraints,
.js #privacy.no-constraints {
    top: 100px;
    height: auto !important;
    overflow-y: auto;
}


    .js #terms.no-constraints h2,
    .js #privacy.no-constraints h2 {
        top: 100px;
    }
    .js #terms.no-constraints .textpanel,
    .js #privacy.no-constraints .textpanel {
        top: 250px;
        height: auto !important;
        padding-bottom: 300px;
    }


    #terms .textpanel a,
    #privacy .textpanel a {
        color: #ef3e1d;
    }
    #terms .textpanel a:hover,
    #privacy .textpanel a:hover {
        text-decoration: underline;
    }
#terms h3,
#terms h4,
#privacy h3 {
    margin: 0 0 1em 0;
    font-family: 'Alegreya SC', serif;
    font-size: 20px;
    font-size: 2rem;
}
#terms h4 {
    margin: 1.5em 0 0.5em 0;
    font-size: 18px;
    font-size: 1.8rem;
}
#terms ol {
    margin: 1em 0 3em 1em;
}


#privacy h3.padtop {
    margin-top: 2em;
}

dl {
    margin: 2em 0 1em;
}
dt {
    font-weight: bold;
}





 /**
 * Buttons 
 */
button,
a.button-small,
a.button,
#downloads ul.downloads a {
    display: block;
    padding: 0;
    border: 0;
    font-family: 'Alegreya SC', serif;
    font-size: 16px;
    font-size: 1.6rem;
    font-weight: bold;
    text-align: center;
    text-shadow: 1px 1px 0 #bf3217;
    color: #fff;
    cursor: pointer;
}
button {
    padding-bottom: 2px;
}
button,
a.button-small {
    width: 114px;
    height: 34px;
    line-height: 32px;
    background: url(../images/breakpoint-240/jakob-steiner-sprites.png) -80px -83px; 
}
a.button,
.sociallinks .button,
#downloads ul.downloads a {
    display: block;
    width: 110px;
    height: 37px;
    font-size: 16px;
    font-size: 1.6rem;
    line-height: 33px;
    background: url(../images/breakpoint-240/jakob-steiner-sprites.png) -260px -83px; 
}



/**
 * Rule adjustments for browsers with JavaScript enabled
 */

.js .slide-content {
    height: 100%;
    overflow: hidden;
    overflow-x: visible;
}
/** **/
.js #entry {
    height: 800px !important;
}





/* js navigation arrows */
.js .arrow-up {
    position: absolute;
    top: 110px;
    left: 450px;
    height: 26px;
    width: 41px;
    background: url(../images/breakpoint-768/jakob-steiner-sprites.png) -139px 0; 
    z-index: 200;
}
.js .arrow-right {
    position: absolute;
    top: 50%;
    right: 0;
    height: 41px;
    width: 26px;
    background: url(../images/breakpoint-768/jakob-steiner-sprites.png) -260px 0;
    z-index: 200;
}
.js .arrow-down {
    position: absolute;
    bottom: 50px;
    left: 450px;
    height: 26px;
    width: 41px;
    background: url(../images/breakpoint-768/jakob-steiner-sprites.png) -80px 0;
    z-index: 200;
}
.js .arrow-left {
    position: absolute;
    top: 50%;
    left: 0;
    height: 41px;
    width: 26px;
    background: url(../images/breakpoint-768/jakob-steiner-sprites.png) -200px 0; 
    z-index: 200;
}




/* Slide for non-js pages e.g. registration response */
.slide.non-js {
    background: url(../images/breakpoint-240/home-bg-no-bottle.png) center 10% no-repeat;
}
    .slide.non-js h2 {
        top: 30px;
        right: 10px;
        height: 60px;
        padding-top: 4px;
        font-size: 40px;
        font-size: 4rem;
        line-height: 60px;
        text-align: center;
        background: url(../images/breakpoint-240/jakob-steiner-sprites.png) 0 -750px;

    }
    .slide.non-js #message {
        position: absolute;
        top: 140px;
        width: 84%;
        max-width: 309px;
        height: 289px;
        padding: 30px 2% 10px 6%;
        margin: 0 4%;
        font-size: 1.2rem;
        line-height: 1.5;
        background: url(../images/contact-textarea.png) right top no-repeat; /** changed **/
        z-index: 30;
    }
        .slide.non-js #message ul,
        #entry #message ul {
            list-style: none;
        }
        .slide.non-js #message ul li {
            font-size: 12px;
            font-size: 1.2rem;
        }
        .slide.non-js #message p {
            width: 75%;
            font-size: 12px;
            font-size: 1.2rem;
        }
        .slide.non-js #message .button,
        #entry #message .button {
            margin-top: 10px;
            font-size: 20px;
            font-size: 2rem;
        }




/**
 * Plugins
 * =======
 */


/**
 * BxSlider v4.0 - Fully loaded, responsive content slider
 * http://bxslider.com
 *
 * Written by: Steven Wanderski, 2012
 * http://stevenwanderski.com
 * (while drinking Belgian ales and listening to jazz)
 *
 * CEO and founder of bxCreative, LTD
 * http://bxcreative.com
 */

/**
 * Tweaked for Jakob Steiner by Jonathan Williams
 */

/** RESET AND LAYOUT
===================================*/

.bx-wrapper {
    position: relative;
    margin: 0 auto 60px;
    padding: 0;
    *zoom: 1;
}

.bx-wrapper img {
    max-width: 100%;
    display: block;
}

/** THEME
===================================*/

.bx-wrapper .bx-pager,
.bx-wrapper .bx-controls-auto {
    position: absolute;
    bottom: -30px;
    width: 100%;
}

/* LOADER */

.bx-wrapper .bx-loading {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    min-height: 50px;
    background: url(../images/bx_loader.gif) center center no-repeat;
    z-index: 2000;
}

/* PAGER */

.bx-wrapper .bx-pager {
    padding-top: 20px;
    font-size: .85em;
    font-family: Arial;
    font-weight: bold;
    text-align: left;
    color: #666;
}

.bx-wrapper .bx-pager .bx-pager-item,
.bx-wrapper .bx-controls-auto .bx-controls-auto-item {
    display: inline-block;
    *zoom: 1;
    *display: inline;
}

.bx-wrapper .bx-pager.bx-default-pager a {
    display: block;
    width: 14px;
    height: 14px;
    margin: 0 5px;
    outline: 0;
    text-indent: -9999px;
    background: #5c9d8a;
    -moz-border-radius: 7px;
    -webkit-border-radius: 7px;
    border-radius: 7px;

}

.bx-wrapper .bx-pager.bx-default-pager a:hover,
.bx-wrapper .bx-pager.bx-default-pager a.active {
    background: #ef401f;
}



















/**
 * Major breakpoint: min width - 320px
 *
 * Minor breakpoints:
 *   min width - 280px
 *   min width - 370px
 *   min width - 430px
 */


@media only screen and (min-width: 280px) {


    #about-textpanel {
        line-height: 1.4;
    }
    #about-textpanel2 {
        line-height: 1.4;
    }


}





@media only screen and (min-width: 320px) {


    /**
     * HTML & text basics
     */

    .show-breakpoints body {
        background: #cde;
    }


    h1 {
        font-size: 45px;
        font-size: 4.5rem;
    }
        h1 span {
            font-size: 20px;
            font-size: 2rem;
        }

    h2 {
        font-size: 42px;
        font-size: 4.2rem;
    }




    /**
     * Slides
     */

    .no-js .slide {
        height: 700px;     /* default height for slides when JavaScript not available */
    }
    .no-js #recipes {
        height: 700px;
    }
    .no-js #downloads {
        height: 1100px;
    }
    .no-js #contact {
        height: 600px;
    }
    .no-js #terms {
        height: 2800px;
    }
    .no-js #privacy {
        height: 1850px;
    }


    /* 'Home' slide */
    #home {
        background-position: 43% 90px;
    }
    .simple-js #home {
        height: 780px;
    }

        #home h1 {
            height: 100px;
            padding-top: 19px;
            background: url(../images/breakpoint-320/jakob-steiner-sprites.png) 0 -400px; 
        }
        #home #bottle {
            top: 207px;
            right: 4%;
        }
        #home #home-wtb-mob {
            top: 160px;
            right: 3%;
        }
        #home .sociallinks {
            top: 645px;
            right: 10%;
        }
        #facebook-feed-container {
            top: 380px;
        }



    /* 'About' slide */
    .simple-js #about {
        height: 690px;
        background: url(../images/breakpoint-320/about-bg.png) 130% 80px no-repeat;
    }
        #about h2 {
            height: 70px;
            line-height: 70px;
            background: url(../images/breakpoint-320/jakob-steiner-sprites.png) 0 -750px; 
        }
        #about .stamp {
            top: 30px;
            left: 88%;
        }
        #about .sociallinks {
            left: 5%;
        }
        #about-textpanel {
            top: 135px;
            padding: 20px 20px 10px 20px;
        }
        #about-textpanel2 {
            top: 145px;
            max-width: 407px;
            padding: 10px 10px 10px 15px;
        }



    /* 'Recipes' slide */
    .simple-js #recipes {
        height: 590px;
    }
    #recipes {
    }
        #recipes h2 {
            height: 96px;
            font-size: 40px;
            font-size: 4rem;
            background: url(../images/breakpoint-320/jakob-steiner-sprites.png) 0 -580px; 
        }
            #recipes h2 span {
                line-height: 0.9;
            }
        #recipes .stamp {
            top: 60px;
            left: 82%;
        }



    /* 'Downloads' slide */
    .simple-js #downloads {
        height: 1190px;
    }
    #downloads {
        background-position: 42% 800px;
    }
        #downloads h2 {
            height: 92px;
            padding-top: 14px;
            font-size: 45px;
            font-size: 4.5rem;
            line-height: 0.9;
            background: url(../images/breakpoint-320/jakob-steiner-sprites.png) 0 -580px; 
        }
        #downloads .stamp {
            top: 60px;
            left: 76%;
        }
        #downloads .sociallinks {
            top: 1130px;
            right: 20%;
        }
            #downloads ul.downloads li {
                clear: both;
                float: left;
                width: 290px;
                margin: 0 0 50px 5%;
                text-align: left;
            }
            #downloads ul.downloads li:nth-child(even) {
                float: right;
                margin: 0 5% 50px 0
            }
        #downloads ul.downloads li img {
            float: left;
        }
        #downloads h3 {
            margin-left: 172px;
        }

        #downloads ul.downloads p {
            margin-left: 172px;
        }
        #downloads ul.downloads a {
            margin: 1em 0 0 172px;
        }



    /* 'Contact' slide */
    .simple-js #contact {
        height: 630px;
    }
        #contact h2 {
            height: 70px;
            padding-top: 11px;
            font-size: 40px;
            font-size: 4rem;
            background: url(../images/breakpoint-320/jakob-steiner-sprites.png) 0 -750px;
        }
        #contact .stamp {
            top: 47px;
            right: 88%;
            transform: rotate(-55deg);
            -moz-transform: rotate(-55deg);
            -webkit-transform: rotate(-55deg);
        }
        #reg-form {
            top: 150px;
            max-width: 390px;
        }


    #entry-form #dob-day,
    #entry-form #dob-month,
    #entry-form #dob-year {
        width: 49px;
    }
    #entry-form li.checkbox label {
        min-width: 88%;
    }


    /* Support slides (T & Cs, drink responsibly) */
    .simple-js #terms {
        height: 2900px;
    }
    .support h2 {
        top: 20px;
        height: 70px;
        padding-top: 11px;
        background: url(../images/breakpoint-320/jakob-steiner-sprites.png) 0 -750px;
    }
    .simple-js #privacy {
        height: 1730px;
    }

    .slide.non-js #message {
        top: 150px;
        max-width: 390px;
        height: 289px;
        margin: 0 4%;
        padding: 30px 2% 10px 6%;
        position: absolute;
        top: 140px;
        width: 84%;
        z-index: 30;
    }


}




@media only screen and (min-width: 370px) {


    #facebook-feed-container {
        left: 7%;
    }
        form li {
            font-size: 20px;
            font-size: 2rem;
        }
            label {
                font-size: 20px;
                font-size: 2rem;
            }
            input,
            select,
            option {
                font-size: 20px;
                font-size: 2rem;
                font-family: inherit;
            }

            #full-name {
                width: 133px;
            }
            #email {
                width: 160px;
            }
            #dob-day,
            #dob-month,
            #dob-year {
                width: 37px;
            }
            #i-am-a {
                width: 190px;
            }

                li.checkbox label {
                    width: 225px;
                    padding-top: 4px;
                    font-family: georgia, serif;
                    font-size: 13px;
                    font-size: 1.3rem;
                    line-height: 1.4;
                    vertical-align: top;
                    text-transform: none;
                }


    #entry h1 {
        right: 8%;
    }

    #entry-form,
    #entry #message {
        right: 2%;
    }
    #entry-form label {
        font-size: 23px;
        font-size: 2.3rem;
    }
    #entry-form li.checkbox label,
    #entry #message {
        font-size: 1.3rem;
    }

    .slide.non-js #message p,
    .slide.non-js #message ul li {
        font-size: 13px;
        font-size: 1.3rem;
    }


}




@media only screen and (min-width: 430px) {


    #about-textpanel2 {
        left: 5px;
    }
    #reg-form {
        right: 10px;
        left: auto;
        margin-left: auto;
        margin-right: 0;
    }

    #entry {
        background-position: 70% -4%;   
    }
        #entry h1 {
            right: 14%;
        }
        #entry-form,
        #entry #message{
            right: 10%;
            min-width: 343px;
            left: auto;
        }

    #reg-form-feedback h3,
    #message h3 {
        width: 170px;
    }

    .slide.non-js #message {
        top: 150px;
        left: auto;
        right: 10px;
    }

    .slide.non-js #message {
        right: 10px;
        left: auto;
        margin-left: auto;
        margin-right: 0;
    }


}












/**
 * Major breakpoint: min width - 480px
 *
 * Minor breakpoints:
 *   min width - 520px
 *   min width - 620px
 */



@media only screen and (min-width: 480px) {


    /**
     * HTML & text basics
     */

    .show-breakpoints body {
        background: #ecc;
    }


    h1,
    h2 {
        font-size: 45px;
        font-size: 4.5rem;
    }

    h2 {
        font-size: 50px;
        font-size: 5rem;
    }
        h2 span {
            font-size: 27px;
            font-size: 2.7rem;
        }
            h2 span span {
                display: inline;
            }



    /**
     * Menu bar
     */

    #menu-list {
        padding: 12px 5px 50px 5px;
        font-size: 25px;
        font-size: 2.5rem;
     }

    #menu-list li {
        display: inline-block !important;
        padding-left: 20px;
        margin: 0;
    }
    #logo {
        display: none;
        top: 6px;
    }

    /**
     * Footer
     */

    #footer-trigger {
        background: url(../images/breakpoint-480/jakob-steiner-sprites.png) -440px 4px no-repeat;
    }
    .footer-open #footer-trigger {
        background: url(../images/breakpoint-480/jakob-steiner-sprites.png) -440px -75px no-repeat;
    }


    /**
     * Social links
     */

    .sociallinks p {
        font-size: 18px;
        font-size: 1.8rem;
    }

    .sociallinks .facebook {
        background: url(../images/breakpoint-480/jakob-steiner-sprites.png) 0 0;
    }
    .twitter {
        background: url(../images/breakpoint-480/jakob-steiner-sprites.png) 0 -80px;
    }



    /**
     * Slides
     */

    .stamp {
        width: 200px;
        height: 200px;
    }

    .no-js .slide {
        height: 700px;     /* default height for slides when JavaScript not available */
    }
    .no-js #recipes {
        height: 750px;
    }
    .no-js #downloads {
        height: 1200px;
    }
    .no-js #contact {
        height: 800px;
    }
    .no-js #terms {
        height: 2300px;
    }
    .no-js #privacy {
        height: 1650px;
    }

    /* 'Home' slide */
    .simple-js #home {
        height: 730px;
    }
    #home {
        background: url(../images/breakpoint-480/home-bg-no-bottle.png) 58% -110px no-repeat;
    }

        #home h1 {
            top: 70px;
            right: 10px;
            left: auto;
            height: 95px;
            padding-top: 19px;
            background: url(../images/breakpoint-480/jakob-steiner-sprites.png) 0 -400px; 
        }
        #home .stamp {
            display: none;
        }
        #home #bottle {
            top: 362px;
            right: 1%;
            height: 207px;
            width: 160px;
            background: url(../images/breakpoint-320/home-bottle.png) no-repeat;
        }
        #home #home-wtb-mob {
            display: none;
        }
        #home .sociallinks {
            top: 205px;
            right: 5%;
        }
            #home-wtb {
                display: block;
            }
        #home .sociallinks p {
            font-size: 23px;
            font-size: 2.3rem;
        }
        #facebook-feed-container {
            top: 380px;
            left: 0;
        }



    /* 'About' slide */
    .simple-js #about {
        height: 730px;
    }
    #about,
    .simple-js #about {
        background: url(../images/breakpoint-480/about-bg.png) 48% 20px no-repeat;
    }
        #about h2 {
            top: 60px;
            height: 70px;
            line-height: 70px;
            padding-top: 6px;
            background: url(../images/breakpoint-480/jakob-steiner-sprites.png) 0 -750px; 
        }
        #about .stamp {
            left: 83%;
            transform: rotate(45deg);
            -moz-transform: rotate(45deg);
            -webkit-transform: rotate(45deg);
            display: none;
        }
        #about .sociallinks {
            top: 620px;
            right: 0;
            left: auto;
        }
        #about-textpanel {
            top: 150px;
            width: 300px;
            margin-left: 10px;
            padding-top: 25px;
            line-height: 1.4;
        }
        #about-textpanel2 {
            top: 164px;
            left: 0;
            height: 253px;
            width: 303px;
            padding: 5px 15px 10px 25px;
            margin-left: 10px;
            background: url(../images/breakpoint-480/about-textarea2.png) 0 0 no-repeat;
            line-height: 1.4;
        }
        #about h3 {
            margin-bottom: 0.3em;
        }



    /* 'Recipes' slide */
    .simple-js #recipes {
        height: 850px;
    }
    #recipes {
        background: url(../images/breakpoint-480/recipes-bg-no-stamp.png) 70% 100px no-repeat;
    }
        #recipes h2 {
            top: 66px;
            left: 10px;
            right: auto;
            height: 94px;
            padding-top: 13px;
            font-size: 50px;
            font-size: 5rem;
            line-height: 0.95;
            background: url(../images/breakpoint-480/jakob-steiner-sprites.png) 0 -580px; 
        }
            #recipes h2 span {
                font-size: 19px;
                font-size: 1.9rem;
            }
        #recipes .stamp {
            top: 20px;
            left: 77%;
        }
        #recipes .sociallinks {
            top: 420px;
            right: 5%;
        }
        #recipe-slider-container {
            top: 200px;
        }



    /* 'Downloads' slide */
    .simple-js #downloads {
        height: 1300px;
    }
    #downloads {
        background: url(../images/breakpoint-480/downloads-bg-no-stamp.png) center 550px no-repeat;
    }
        #downloads h2 {
            top: 66px;
            padding-top: 14px;
            font-size: 50px;
            font-size: 5rem;
            line-height: 0.95;
            background: url(../images/breakpoint-480/jakob-steiner-sprites.png) 0 -580px;
        }
            #downloads h2 span {
                font-size: 20px;
                font-size: 2rem;
            }
        #downloads .stamp {
            top: 0;
            left: 70%;
        }
        #downloads .sociallinks {
            top: 1620px;
            right: 20px;
        }
        #downloads ul.downloads {
            top: 200px;
            right: 10px;
            left: auto;
            text-align: left;
        }
            #downloads ul.downloads li {
                float: none;
                width: 302px;
                display: inline-block;
                margin: 0 0 30px 11px;
            }
            #downloads ul.downloads li:nth-child(even) {
                float: none;
                display: inline-block;
                margin: 0 0 30px 11px;
            }
        #downloads ul.downloads a {
            margin-top: 1.5em;
            margin-left: 172px;
        }



    /* 'Contact' slide */
    .simple-js #contact {
        height: 900px;
    }
    #contact {
        background: url(../images/breakpoint-480/contact-bg.png) 70% 40px no-repeat;
    }
        #contact h2 {
            top: 54px;
            padding-top: 6px;
            font-size: 50px;
            font-size: 5rem;
            line-height: 70px;
            background: url(../images/breakpoint-480/jakob-steiner-sprites.png) 0 -750px;
        }
        #contact .stamp {
            display: none;
        }
        #contact .sociallinks {
            top: 500px;
            right: 7%;
            left: auto;
            max-width: 140px;
        }
        #contact .sociallinks a.button {
            margin-left: 0;
        }
        #reg-form {
            top: 156px;
            max-width: 309px;
            padding: 30px 100px 10px 25px;
        }
        .ie8 #reg-form {
            right: 10px !important;
            left: 100px !important;
        }

        #reg-form-feedback h3,
        #message h3 {
            width: auto;
        }


    /* Form elements */
    form li {
        font-size: 23px;
        font-size: 2.3rem;
    }
        label {
            font-size: 23px;
            font-size: 2.3rem;
        }
        input,
        select {
            font-size: 23px;
            font-size: 2.3rem;
        }
        #full-name {
            width: 210px;
        }
        #email {
            width: 243px;
        }
        #dob-day,
        #dob-month,
        #dob-year {
            width: 49px;
        }
        .ios #dob-day,
        .ios #dob-month,
        .ios #dob-year {
            width: 47px;
        }
        #i-am-a {
            width: 244px;
        }
        .ios #i-am-a {
            width: 250px;
        }
        li.checkbox {
            margin: 20px 7px 0 0;
            vertical-align: top;
        }
            li.checkbox label {
                width: 264px;
                font-size: 15px;
                font-size: 1.5rem;
            }

        /* Form feedback (Seen by JavaScript users only) */
        /*
        #reg-form-feedback h3,
        #message h3 {
            font-size:25px;
            font-size: 2.5rem;
        }
        #reg-form-feedback p {
            font-size: 15px;
            font-size: 1.5rem;
        }
        */


    /* Entry slide */
    #entry {
        background: url(../images/breakpoint-480/entry-bg.png) 67% -25% no-repeat;
    }
        #entry h1 {
            padding-top: 13px;
            font-size: 65px;
            font-size: 6.5rem;
            line-height: 0.85;
        }
            #entry h1 span {
                font-size: 20px;
                font-size: 2rem;
                line-height: 0.9;
            }
                #entry h1 span span {
                    font-size: 16px;
                    font-size: 1.8rem;
                }
        #entry-form,
        #entry #message {
            top: 210px;
        }


    /* Support slides (T & Cs, drink responsibly) */
    .support {
        background: url(../images/breakpoint-480/support-bg.png) 45% 60px no-repeat;
    }
        .support h2 {
            height: 70px;
            line-height: 70px;
            padding-top: 6px;
            background: url(../images/breakpoint-480/jakob-steiner-sprites.png) 0 -750px; 
        }
        .support .sociallinks {
            display: none;
        }
        .support .textpanel {
            max-width: 500px;
            font-size: 13px;
            font-size: 1.3rem;
            line-height: 1.4;
        }


    .simple-js #terms {
        height: 2200px;
    }
    .simple-js #privacy {
        height: 1700px;
    }

    .slide.non-js #message {
        max-width: 309px;
        padding: 30px 100px 10px 25px;
        top: 140px;
    }


     /**
     * Buttons 
     */

    a.button,
    .sociallinks .button,
    #downloads ul.downloads a {
        width: 134px;
        background: url(../images/breakpoint-480/jakob-steiner-sprites.png) -260px -83px; 
        font-size: 19px;
        font-size: 1.9rem;
    }

    .slide.non-js #message p,
    .slide.non-js #message ul li {
        font-size: 15px;
        font-size: 1.5rem;
    }
    .slide.non-js #message p {
        width: auto;
    }


}





@media only screen and (min-width: 520px) {


    h1 {
        font-size: 50px;
        font-size: 5rem;
    }
        h1 span {
            font-size: 22px;
            font-size: 2.2rem;
        }

    #home h1 {
        padding-top: 16px;
    }

    #home #bottle {
        right: 4%;
    }
    #home .sociallinks {
        right: 5%;
    }
    #facebook-feed-container {
        left: 4%;
    }

    #about .sociallinks {
        right: 5%;
    }


}






@media only screen and (min-width: 620px) {


    h1 {
        font-size: 55px;
        font-size: 5.5rem;
    }
        h1 span {
            font-size: 25px;
            font-size: 2.5rem;
        }

    #logo {
        display: block;
    }
    .no-js #logo {
        display: block;
    }

    #home h1 {
        height: 100px;
        padding-top: 19px;
        background: url(../images/breakpoint-768/jakob-steiner-sprites.png) 0 -580px; 
    }

    #home #bottle {
        right: 8%;
    }
    #home .sociallinks {
        right: 10%;
    }
    #facebook-feed-container {
        left: 6%;
    }

    #entry {
        background-position: 100% -20%;
    }

    .support .textpanel {
        padding: 40px 20px 10px 30px;
    }

}


@media only screen and (min-width: 646px) {

    #downloads {
        background: url(../images/breakpoint-480/downloads-bg-no-stamp.png) center 150px no-repeat;
    }

    .simple-js #downloads {
        height: 890px;
    }

}













/**
 * Major breakpoint: min width - 768px
 *
 * Minor breakpoints:
 *   min width - 840px
 *   min width - 920px
 */



@media only screen and (min-width: 768px) {


    /**
     * HTML & text basics
     */

    .show-breakpoints body {
        background: #cec;
    }

    h1,
    h2 {
        font-size: 63px;
        font-size: 6.3rem;
    }
        h1 span {
            font-size: 28px;
            font-size: 2.8rem;
        }

    h2 {
        font-size: 66px;
        font-size: 6.6rem;
    }
        h2 span {
            font-size: 27px;
            font-size: 2.7rem;
        }




    /**
     * Menu bar
     */

        #logo {
            display: block;
            top: 7px;
            height: 39px;
            width: 190px;
            background: url(../images/breakpoint-768/logo.png) 0 0 no-repeat;
        }

        #menu-list,
        .simple-js #menu-list {
            padding-top: 10px;
            padding-bottom: 56px;
            font-size: 32px;
            font-size: 3.2rem;
            background: url(../images/breakpoint-768/bg-menu-all.png) bottom right no-repeat;
        }

        .no-js #menu-list {
            background: url(../images/breakpoint-768/bg-menu.png) bottom left no-repeat;
        }

        #menu-trigger {
            right: 18px;
            bottom: 4px;
            font-size: 19px;
            font-size: 1.9rem;
        }
            #menu-trigger a {
                height: 46px;
                line-height: 46px;
            }



    /**
     * Footer
     */

    #footer {
        padding: 0 10px 0;
    }
        #footer ul {
            float: right;
            margin-top: 0;
        }
            #footer li {
                display: inline-block;
                margin: 8px 0;
                padding: 0 0.75em;
                border-left: solid 1px #999;
            }
        #footer p {
            position: static;
            float: right;
            width: auto;
            margin: 0;
            padding: 8px 0.75em;
            cursor: text;
        }
        #footer-trigger {
            display: none;
        }



    /**
     * Social links
     */
    .sociallinks .facebook {
        background: url(../images/breakpoint-768/jakob-steiner-sprites.png) 0 0;
    }
    .twitter {
        background: url(../images/breakpoint-768/jakob-steiner-sprites.png) 0 -80px;
    }



    /**
     * Slides
     */

     .stamp {
        width: 266px;
        height: 266px;
    }

    .simple-js .slide {
        height: 1100px;
    }

    .no-js .slide {
        height: 900px;
    }
    .no-js #recipes {
        height: 1000px;
    }
    .no-js #downloads {
        height: 900px;
    }
    .no-js #contact {
        height: 950px;
    }
    .no-js #terms {
        height: 2300px;
    }
    .no-js #privacy {
        height: 1650px;
    }

    /* 'Home' slide */
    .simple-js #home {
        height: 900px;
    }
    #home {
        background: url(../images/breakpoint-768/home-bg-nostamp.png) 55% 15% no-repeat;
    }

        #home h1 {
            top: 170px;
            height: 118px;
            padding-top: 22px;
            background: url(../images/breakpoint-768/jakob-steiner-sprites.png) 0 -400px; 
        }
        #home .stamp {
            display: block;
            top: 10px;
            left: -110px;
            transform: rotate(-22deg);
            -moz-transform: rotate(-22deg);
            -webkit-transform: rotate(-22deg);
        }
        #home #bottle {
            right: 7%;
            height: 414px;
            width: 320px;
            background: url(../images/breakpoint-768/home-bottle.png) no-repeat;
        }
        #home .sociallinks {
            top: 390px;
            right: 6%;
        }

        #facebook-feed-container {
            top: 500px;
            left: 0;
        }



    /* 'About' slide */
    .simple-js #about {
        height: 900px;
    }
    #about,
    .simple-js #about {
        background: url(../images/breakpoint-768/about-bg-nostamp.png) 57% 15% no-repeat;
    }
        #about h2 {
            top: 120px;
            left: 10px;
            height: 90px;
            line-height: 94px;
            padding-top: 6px;
            background: url(../images/breakpoint-768/jakob-steiner-sprites.png) 0 -750px; 
        }
        #about .stamp {
            display: block;
            top: 20px;
            left: 72%;
            transform: rotate(0);
            -moz-transform: rotate(0);
            -webkit-transform: rotate(0);
        }
    #about .sociallinks {
        display: block;
        top: 700px;
        right: 3%;
    }

    #about-textpanel {
        top: 270px;
        left: -10px;
        width: auto;
        height: 186px;
        max-width: 392px;
        padding: 30px 20px 10px 30px;
        background: url(../images/breakpoint-768/about-textarea1.png) 0 0 no-repeat;
        font-size: 15px;
        font-size: 1.5rem;
        line-height: 1.2;
    }
    #about-textpanel2 {
        top: 274px;
        left: -10px;
        width: auto;
        max-width: 389px;
        padding: 10px 20px 10px 30px;
        background: url(../images/breakpoint-768/about-textarea2.png) 0 0 no-repeat;
        font-size: 15px;
        font-size: 1.5rem;
            line-height: 1.2;
        }
        #about h3 {
            font-size: 27px;
            font-size: 2.7rem;
        }



    /* 'Recipes' slide */
    .simple-js #recipes {
        height: 960px;
    }
    #recipes {
        background: url(../images/breakpoint-768/recipes-bg-nostamp.png) 54% 10% no-repeat;
    }
        #recipes h2 {
            top: 140px;
            height: 108px;
            padding-top: 16px;
            font-size: 66px;
            font-size: 6.6rem;
            line-height: 0.9;
            background: url(../images/breakpoint-768/jakob-steiner-sprites.png) 0 -580px; 
        }
            #recipes h2 span {
                font-size: 25px;
                font-size: 2.5rem;
            }
        #recipes .stamp {
            top: 70px;
            left: 77%;
            transform: rotate(15deg);
            -moz-transform: rotate(15deg);
            -webkit-transform: rotate(15deg);
        }
        #recipes .sociallinks {
            top: 540px;
            right: 10px;
        }
            #recipes .sociallinks ul, 
            #recipes .sociallinks p {
                display: block;
            }
        #recipe-slider-container {
            top: 320px;
        }




    /* 'Downloads' slide */
    .simple-js #downloads {
        height: 900px;     /* additional slide specific heights can be defined her */
    }
    #downloads {
        background: url(../images/breakpoint-768/downloads-bg-nostamp.png) 55% -10px no-repeat;
    }
        #downloads h2 {
            top: 95px;
            left: auto;
            right: 20%;
            height: 108px;
            padding-top: 14px;
            font-size: 62px;
            font-size: 6.2rem;
            line-height: 1;
            background: url(../images/breakpoint-768/jakob-steiner-sprites.png) 0 -580px;
        }
            #downloads h2 span {
                font-size: 25px;
                font-size: 2.5rem;
            }
        #downloads .stamp {
            top: -15px;
            left: -10px;
            width: 266px;
            height: 266px;
            overflow: auto;

        }
        #downloads .sociallinks {
            display: block;
            top: 670px;
            right: 15px;
        }
        #downloads ul.downloads {
            top: 260px;
        }




    /* 'Contact' slide */
    .simple-js #contact {
        height: 1000px;     /* additional slide specific heights can be defined her */
    }
    #contact {
        background: url(../images/breakpoint-768/contact-bg.png) center 15% no-repeat;
    }
        #contact h2 {
            top: 170px;
            height: 90px;
            font-size: 64px;
            font-size: 6.4rem;
            line-height: 94px;
            padding-top: 6px;
            background: url(../images/breakpoint-768/jakob-steiner-sprites.png) 0 -750px;
        }
        #contact .sociallinks {
            top: 650px;
            right: 40%;
            z-index: 25;
        }
        #reg-form {
            top: 310px;
            padding: 30px 100px 10px 25px;
            background: url(../images/contact-textarea.png) 0 0 no-repeat;
        }




/* Slide for Entry page (Date of birth capture) */

#entry {
    height: 800px;
    background: url(../images/breakpoint-768/entry-bg.png) 60% 10% no-repeat;
}

    #entry h1 {
        top: 130px;
        right: 7%;
        height: 214px;
        padding-top: 24px;
        font-size: 120px;
        font-size: 12rem;
        line-height: 0.8;
        background: url(../images/breakpoint-768/jakob-steiner-sprites.png) 0 -152px;
    }
        #entry h1 span {
            font-size: 38px;
            font-size: 3.8rem;
            line-height: 1;
        }
            #entry h1 span span {
                font-size: 30px;
                font-size: 3.5rem;
            }
    #entry-form,
    #entry #message {
        top: 380px;
        right: 7%;
    }

        #entry-form li.checkbox label {
            width: 290px;
            padding-right: 0;
            font-size: 13px;
            font-size: 1.3rem;
        }




    .support {
        background: url(../images/breakpoint-768/support-bg.png) center 0 no-repeat;
    }
        .support h2 {
            top: 120px;
            height: 90px;
            font-size: 64px;
            font-size: 6.4rem;
            line-height: 94px;
            padding-top: 6px;
            background: url(../images/breakpoint-768/jakob-steiner-sprites.png) 0 -750px;
        }
        .support .sociallinks {
            top: 460px;
            right: 20px;
        }
        .support .textpanel {
            top: 230px;
            padding: 40px 20px 10px 30px;
            font-size: 15px;
            font-size: 1.5rem;
            line-height: 1.2;
        }
        #terms .textpanel,
        #privacy .textpanel {
             top: 230px;
         }



    .simple-js #terms {
        height: 2300px;
    }
    .simple-js #privacy {
        height: 1700px;
    }



    .js #terms .textpanel,
    .js #privacy .textpanel {
        height: 30%;
    }

    #terms h3,
    #terms h4,
    #privacy h3 {
        font-size: 20px;
        font-size: 2rem;
    }




     /**
     * Buttons 
     */
    button,
    a.button-small,
    a.button,
    #downloads ul.downloads a {
        font-size: 20px;
        font-size: 2rem;
    }
    button,
    a.button-small {
        background: url(../images/breakpoint-768/jakob-steiner-sprites.png) -80px -83px; 
    }
    a.button,
    .sociallinks .button,
    #downloads ul.downloads a {
        background: url(../images/breakpoint-768/jakob-steiner-sprites.png) -260px -83px; 
        font-size: 19px;
        font-size: 1.9rem;
    }


}







@media only screen and (min-width: 840px) {


    h1 {
        font-size: 70px;
        font-size: 7rem;
    }
    h1 span {
        font-size: 31px;
        font-size: 3.1rem;
    }

    #footer {
        padding: 0 19px 0;
    }

    #home h1 {
        padding-top: 18px;
    }



}


@media only screen and (min-width: 920px) {


    #downloads h2 {
        top: 370px;
        left: 10px;
        right: auto;
    }

    #downloads .stamp {
        top: 45px;
        left: 10px;
    }

     #downloads ul.downloads {
        top: 190px;
    }

    .ie8 #downloads ul.downloads {
        top: 190px;
        left: 290px;
    }


}





















/**
 * Major breakpoint: min width - 940px
 *
 */



@media only screen and (min-width: 940px) {


    /**
     * HTML & text basics
     */

    .show-breakpoints body {
        background: #bbb;
    }



    /**
     * Menu bar
     */

    #menu-list {
        font-size: 37px;
        font-size: 3.7rem;
    }
    #logo {
        top: 10px;

    }




    /**
     * Slides
     */

     .slide-content {
        overflow: visible;
     }

    /* generic slide rules */




/* 'Home' slide */
#home {
    background: url(../images/breakpoint-768/home-bg-no-bottle.png) 55% 15% no-repeat;
}
    #home h1 {
        right: 0;
    }
    #home .stamp {
        display: none;
    }


/* 'About' slide */
#about,
.simple-js #about {
    background: url(../images/breakpoint-768/about-bg.png) 57% 15% no-repeat;
}
    #about h2 {
        left: 0;
    }
        #about .stamp {
            display: none;
        }

/* 'Recipes' slide */
    #recipes {
        background: url(../images/breakpoint-768/recipes-bg.png) 54% 10% no-repeat;
    }
        #recipes h2 {
            left: 0;
            xtop: 196px;
            top: 150px;
        }
        #recipes .stamp {
            display: none;
        }
        #recipe-slider-container {
            top: 330px;
        }

/* 'Downloads' slide */
#downloads {
    /*background: url(../images/breakpoint-768/downloads-bg.png) 60% 74% no-repeat;*/
    background: url(../images/breakpoint-768/downloads-bg.png) 55% -10px no-repeat;
}
    #downloads h2 {
        left: 0;
    }
    #downloads .stamp {
        display: none;
    }
    #downloads ul.downloads {
        top: 150px;
    }
        #downloads ul.downloads li {
            margin-bottom: 50px;
        }

/* 'Contact' slide */
    #contact h2 {
        right: 0;
    }



/* Slide for Entry page (Date of birth capture) */

#entry {
    background: url(../images/breakpoint-768/entry-bg.png) center 10% no-repeat;
}

    #entry h1 {
        right: 10%;
    }
    #entry-form,
    #entry #message {
        right: 10%;
    }


}






















/**
 * Major breakpoint: max height - 800px
 *
 */

@media only screen and (min-width: 940px) and (max-height: 800px) {
/*@media only screen and (min-width: 940px) and (max-height: 600px) {*/


    /**
     * HTML & text basics
     */

    .show-breakpoints body {
        background: orange;
    }


    /* Home slide */

    .shorter #home {
        background: url(../images/breakpoint-height/home-bg-no-bottle.png) 50% 40% no-repeat;
    }
        .shorter #home h1 {
            top: 19%;
        }
    .shorter #home #bottle {
        top: 42%;
        right: 90px;
        height: 336px;
        width: 260px;
        background: url(../images/breakpoint-height/home-bottle.png) no-repeat;
    }
    .shorter #home .sociallinks {
        top: 49%;
        right: 70px;
    }
    .shorter #facebook-feed-container {
        top: 50%;
    }



    /* 'About' slide */

    .shorter #about {
        background: url(../images/breakpoint-height/about-bg.png) 30% 38% no-repeat;
    }
        .shorter #about h2 {
            top: 11%;
        }
        .shorter #about .sociallinks {
            top: auto;
            bottom: 8%;
            right: 0;
        }
        .shorter #about-textpanel {
            top: 29%;
            height: 150px;
            width: 494px;
            max-width: 494px;
            padding: 30px 23px 10px 33px;
            /** replace with one from a breakpoint folder? **/
            background: url(../images/breakpoint-height/about-textarea1.png) 0 0 no-repeat;
        }
        .shorter #about-textpanel2 {
            top: 29%;
            height: 200px;
            width: 524px;
            max-width: 624px;
            padding: 7px 23px 10px 33px;
            /** replace with one from a breakpoint folder? **/
            background: url(../images/breakpoint-height/about-textarea2.png) 0 0 no-repeat;
        }
        .shorter #about h3 {
            margin-bottom: 0.2em;
        }



    /* 'Recipes' slide */
    .shorter #recipes {
        /** replace with one from a breakpoint folder? **/
        background: url(../images/breakpoint-height/recipes-bg.png) center 83% no-repeat;
    }
        .shorter #recipes h2 {
            top: 12%;
        }
        .shorter #recipes .sociallinks {
            top: auto;
            bottom: 10%;
        }
        .shorter #recipe-slider-container {
            top: 35%;
        }



    /* 'Downloads' slide */

    .shorter #downloads {
        /** replace with one from a breakpoint folder? **/
        background: url(../images/breakpoint-height/downloads-bg.png) 60% 74% no-repeat;
    }
        .shorter #downloads h2 {
            top: 36%;
        }
        .shorter #downloads .stamp {
            display: none;
            top: -80px;
            left: -50px;
        }
        .shorter #downloads .sociallinks {
            top: auto;
            bottom: 8%;
            right: 10px;
        }
        .shorter #downloads ul.downloads {
            top: 100px;
        }
            .shorter #downloads ul.downloads li {
                margin-bottom: 30px;
            }



    /* 'Contact' slide */

    .shorter #contact {
        /** replace with one from a breakpoint folder? **/
        background: url(../images/breakpoint-height/contact-bg.png) 68% 15% no-repeat;
    }
        .shorter #contact h2 {
            top: 17%;
        }
        .shorter #contact .sociallinks {
            top: 75%;
            left: 350px;
            top: auto;
            bottom: 13%;
        }
        .shorter #reg-form {
            right: 0;
            top: auto;
            bottom: 12%;
            width: 309px;
            height: 289px;
            padding: 30px 100px 10px 25px;
            /** replace with one from a breakpoint folder? **/
            background: url(../images/contact-textarea.png) 0 0 no-repeat;
            z-index: 30;
        }



    /* Slide for Entry page (Date of birth capture) */

    .shorter #entry h1 {
        top: 100px;
    }

    .shorter #entry-form,
    .shorter #entry #message {
        top: 330px;
    }


}
