/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #222;
}

html {
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between images, videos, audio and canvas and the bottom of
 * their containers: h5bp.com/i/440
 */

audio,
canvas,
img,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browse Happy prompt
   ========================================================================== */

.browsehappy {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Akelarre styles
   ========================================================================== */

html, body{
    width: 100%;
    min-width: 950px;
    height: 100%;
}

body{

}

    body.quienes-somos{
        background: url('../img/quienes-somos.png') no-repeat top center, url('../img/background-craft.jpg') top center;
    }

    body.queso-akelarre{
        background: url('../img/queso-akelarre.png') no-repeat top center, url('../img/background-turquoise.jpg') top center;
    }

    body.como-lo-hacemos{
        background: url('../img/como-hacemos.png') no-repeat top center, url('../img/background-craft.jpg') top center;
    }

    body.idiazabal{
        background: url('../img/idiazabal.png') no-repeat top center, url('../img/background-turquoise.jpg') top center;
    }

    body.contacto{
        background: url('../img/contacto.png') no-repeat top center, url('../img/background-craft.jpg') top center;
    }

header{
    width: 940px;
    height: 900px;
    margin: 0 auto;
    font-family: 'Knockout';
    position: relative;
}

    header div.title{
        width: 545px;
        height: 67px;
        font-size: 4.7em;
        letter-spacing: 0.3em;
        position: absolute;
        top: 135px;
    }

        header div.title img.quote{
            width: 9px;
            height: 15px;
            position: absolute;
            top: 9px;
        }

            header div.title img.quote.left{
                left: 0;
            }

            header div.title img.quote.right{
                -moz-transform: scaleX(-1);
                -o-transform: scaleX(-1);
                -webkit-transform: scaleX(-1);
                transform: scaleX(-1);
                filter: FlipH;
                -ms-filter: "FlipH";
                right: 0;
            }

        header div.title a{
            color: #360300;
        }

            header div.title span{
                position: absolute;
            }

                header div.title span.char1{
                    font-family: 'Station N7';
                    top: 8px;
                    left: 4px;
                }

                header div.title span.char2{
                    font-family: 'Station N5';
                    top: 7px;
                    left: 71px;
                }

                header div.title span.char3{
                    font-family: 'Station N4';
                    top: 3px;
                    left: 139px;
                }

                header div.title span.char4{
                    font-family: 'Station N1';
                    left: 196px;
                }

                header div.title span.char5{
                    font-family: 'Station N6';
                    top: 6px;
                    left: 244px;
                }

                header div.title span.char6{
                    font-family: 'Station N4';
                    left: 312px;
                }

                header div.title span.char7{
                    font-family: 'Station N7';
                    top: 8px;
                    left: 373px;
                }

                header div.title span.char8{
                    font-family: 'Station N1';
                    left: 436px;
                }

                header div.title span.char9{
                    font-family: 'Station N4';
                    left: 500px;
                }

    header img.title{
        width: 482px;
        height: 67px;
        margin-top: 144px;
        display: none;
    }

    header h1{
        font-family: 'Station N4';
        font-weight: normal;
        color: #fff;
        font-size: 3.9em;
        line-height: 1.22em;
        letter-spacing: 0.16em;
        position: absolute;
        top: 280px;
        left: 122px;
    }

    header #lang{
        font-size: 0.9em;
        position: absolute;
        top: 20px;
        right: 35px;
    }

        header #lang ul{
            margin: 0;
            padding-left: 0;
            list-style-type: none;
        }

            header #lang ul li{
                display: inline-block;
            }

                header #lang ul li a{
                    text-decoration: none;
                    color: #360300;
                }

                    header #lang ul li a.selected{
                        border-bottom: 2px solid #360300;
                        color: #360300;
                    }

    header #menu{
        font-size: 1.05em;
        line-height: 1.35em;
        position: absolute;
        top: 140px;
        right: 134px;
    }

        header #menu ul{
            margin: 0;
            padding-left: 0;
            list-style-type: none;
        }

            header #menu ul li{

            }

                header #menu ul li a{
                    text-decoration: none;
                    color: #fff;
                }

                    header #menu ul li a.selected{
                        color: #360300;
                    }

#content{
    width: 940px;
    margin: 0 auto;
    font-family: 'Knockout';
    position: relative;
}

    #content div.columns{
        margin-bottom: 100px;
        overflow: auto;
    }

        #content div.columns div.column{
            float: left;
        }

            #content div.columns p{
                width: 217px;
                margin: 30px 18px 0 0;
                font-size: 1.3em;
                line-height: 1.2em;
                color: #360300;
            }

                #content div.columns p.white{
                    font-size: 1.7em;
                    font-weight: bold;
                    line-height: 1.35em;
                    color: #fff;
                }

                #content div.columns p a{
                    color: #360300;
                }

            #content div.columns ul{
                width: 217px;
                margin: 0;
                padding-left: 0;
                font-size: 1.3em;
                line-height: 1.2em;
                color: #360300;
                list-style-type: none;
            }

                #content div.columns ul.margin{
                    margin-top: 205px;
                }

                #content div.columns ul li{
                    margin-top: 10px;
                }

                    #content div.columns ul li b{
                        margin-right: 5px;
                    }

            #content div.columns ol{
                width: 195px;
                margin: 30px 20px 0 0;
                padding-left: 20px;
                font-size: 1.3em;
                line-height: 1.2em;
                color: #360300;
            }

                #content div.columns ol li{
                    margin-top: 10px;
                }

                    #content div.columns ol li b{
                        margin-right: 5px;
                    }

        #content div.columns div.form{
            display: inline-block;
        }

        #content form{
            width: 362px;
            margin-top: 34px;
        }

            #content div.columns form input{
                height: 36px;
                font-family: 'Knockout';
                font-size: 1.1em;
            }

                #content div.columns form input[type="text"]{
                    width: 340px;
                    margin-bottom: 18px;
                    border: 2px solid #360300;
                    padding: 0 11px 0 11px;
                    background-color: transparent;
                    color: #fff;
                }

                    #content div.columns form input[type="text"].error{
                        border: 2px solid red;
                    }

                #content div.columns form input[type="submit"]{
                    width: 120px;
                    border: 2px solid #360300;
                    background-color: #360300;
                    float: right;
                    color: #fff;
                }

            #content div.columns form textarea{
                width: 340px;
                height: 130px;
                margin-bottom: 18px;
                border: 2px solid #360300;
                padding: 8px 11px;
                font-family: 'Knockout';
                font-size: 1.1em;
                background-color: transparent;
                color: #fff;
            }

                #content div.columns form textarea.error{
                    border: 2px solid red;
                }

            #content div.columns div.form div.response{
                margin: 160px 0 0 75px;
                display: none;
            }

                #content div.columns div.form div.response p{
                    margin: 0 auto;
                    text-align: center;
                }

    #content #hand-made{
        width: 129px;
        height: 129px;
        position: absolute;
        top: -32px;
        z-index: -1;
    }

        #content #hand-made.mid-left{
            left: 330px;
        }

        #content #hand-made.right{
            right: 0;
        }

        #content #hand-made.mid-right{
            right: 112px;
        }

        #content #hand-made.over{
            z-index: 1;
        }

    #content #cheeses{
        position: absolute;
        top: -185px;
        right: -153px;
        z-index: -1;
    }

footer{
    width: 940px;
    height: 150px;
    border-top: 2px solid #360300;
    margin: 0 auto;
}

    footer div.social{
        margin-top: 32px;
        float: left;
    }

        footer div.social img{
            margin-right: 16px;
        }

            footer div.social img.facebook{
                width: 22px;
                height: 21px;
            }

            footer div.social img.twitter{
                width: 23px;
                height: 21px;
            }

            footer div.social img.pinterest{
                width: 25px;
                height: 23px;
            }

    footer div.logos{
        margin-top: 16px;
        float: right;
    }

        footer div.logos img{
            margin-left: 10px;
        }

            footer div.logos img.idiazabal{
                width: 53px;
                height: 52px;
            }

            footer div.logos img.artzai-gazta{
                width: 56px;
                height: 46px;
            }

*::-webkit-input-placeholder {
    color: #360300;
}
*:-moz-placeholder {
    color: #360300;
}
*::-moz-placeholder {
    color: #360300;
}
*:-ms-input-placeholder {
    color: #360300;
}

/* ==========================================================================
   Akelarre fonts
   ========================================================================== */

@font-face {
    font-family: 'Station N1';
    src: url('../fonts/Station N1.ttf') format('truetype'),
            url('../fonts/Station N1.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Station N2';
    src: url('../fonts/Station N2.ttf') format('truetype'),
            url('../fonts/Station N2.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Station N3';
    src: url('../fonts/Station N3.ttf') format('truetype'),
            url('../fonts/Station N3.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Station N4';
    src: url('../fonts/Station N4.ttf') format('truetype'),
            url('../fonts/Station N4.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Station N5';
    src: url('../fonts/Station N5.ttf') format('truetype'),
            url('../fonts/Station N5.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Station N6';
    src: url('../fonts/Station N6.ttf') format('truetype'),
            url('../fonts/Station N6.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Station N7';
    src: url('../fonts/Station N7.ttf') format('truetype'),
            url('../fonts/Station N7.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Knockout';
    src: url('../fonts/knockout-htf29-juniorliteweight.ttf') format('truetype'),
            url('../fonts/knockout-htf29-juniorliteweight.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
