/* ==========================================================================
   HTML5 Boilerplate styles - h5bp.com (generated via initializr.com)
   ========================================================================== */

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

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

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

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

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

img {
    vertical-align: middle;
}

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

textarea {
    resize: vertical;
}

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


/* ==========================================================================
   Author's custom styles
   ========================================================================== */


/*layout*/

#photo {
    width:      960px;
    height:     374px;

    -webkit-box-shadow: 2px 2px 8px 0px #999;
    box-shadow:         2px 2px 8px 0px #999;

    background: url(../img/sub_logo02.jpg) no-repeat;

}

#photo_main {
    width:      960px;
    height:     659px;

    -webkit-box-shadow: 2px 2px 8px 0px #999;
    box-shadow:         2px 2px 8px 0px #999;

    background: url(../img/alte_eldo.jpg) no-repeat;

}


#contact {
    color: #9a8963;
    font-weight: normal;
    float: left;
    padding-left: 20px;

    width: 880px;
    padding: 5px 40px 10px 40px;

    margin: 0 auto;
    text-align: center;

}

#contact a {
    color: #8e7e5b;
    text-decoration: underline;
}

#contact_padding {
    height: 560px;
}

#main {
    width: 960px;
    margin: 0 auto;
}


.boxx {

    margin-top: 50px;
    width: 880px;
    padding: 1px 40px 40px 40px;

    height: 80%;

    background: url(../img/natural_paper01.png) #a18d72;

    -webkit-box-shadow: 2px 2px 8px 0px #999;
    box-shadow: 2px 2px 8px 0px #999;

    color: #5c5140;
}

.clear {
    clear: both;
}


.wine {
    width: 880px;
    margin: 20px auto;
}

.review {
    width: 800px;
    padding: 40px;
    margin-bottom: 40px;

    background: url(../img/natural_paper.png) #a18d72;
}

.review_image img {
    padding-right: 40px;
}

.top {
    margin-left: -150px;
}

footer {
    width: 960px;
}

ul#text-menu {
    margin:0;
}

ul#text-menu li {
    display: block;
    float: left;
    height: 30px;
    font-size: 1.3em;
    text-transform: uppercase;
    padding-left:1em;
}

ul#text-menu li a {
    color: #5a5a5a;
}

#text-menu > li:nth-child(1) {
    padding-left: 3.5em;
}

#castellan_menu {
    margin: 0 auto 30px;
    width: 750px;
    height: 40px;
}

#castellan_padding { /*For sub pages only */
    height: 310px;
}

.menut {
    float: left;
    width: 100px;
    height: 30px;
}

.story {
    width: 110px;
    margin-left: 10px;
    margin-right: 50px;
}

.vino {
   width: 100px;
   margin-right: 46px;
}

.kindest {
    width: 210px;
    margin-right: 45px;
}

.buybuy {
    width: 160px;
}

.cellardoor {
    margin-left: 275px;
    width:200px;
    margin-top: 10px;
}

#copy {
    margin-top: 40px;
    height: 40px;
    color: #666;
    font-size: .8em;
    text-align: center;
}

h2 {
    font-size: 1.8em;
}

h3 {
    
    font-weight: normal;
    font-size: 1.2em;
    color: #000;
}

    
h5 {
    font-size: 1.1;
    font-weight: normal;
    text-align: center;
}

body {
    background: url(../img/natural_paper.png) #a18d72;
    background-position: center;
}


html { font-size: 100%; overflow-y: scroll; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }

body { margin: 0; font-size: 17px; line-height: 1.231; }

body, button, input, select, textarea { font-family: 'Jacques Francois', serif;  serif; color: #000; }

h1 {
    font-size: 2.6em;
}

ul {
    list-style: circle;
}


/*links*/

a {
    color: #000;
    text-decoration: none;
    outline: none;
}

a:hover {
    color: #666;
}


/*wines*/
.back_label {
    height: 408px;
    width: 280px;

    margin-left: 580px;
    padding-top: 20px;
}
#wine1 {
    height: 408px;
    width: 880px;

    padding-top: 1px;

    background: url("../img/perseverance.png") no-repeat;

}

#wine2 {
    height: 408px;
    width: 880px;
    background: url("../img/onyx.png") no-repeat;
}

#wine3 {
    height: 408px;
    width: 880px;
    background: url("../img/quasimodo.png") no-repeat;
}

#wine4 {
    height: 408px;
    width: 880px;
    background: url("../img/comrade.png") no-repeat;
}
#wine5 {
    height: 408px;
    width: 880px;
    background: url("../img/luminoso.png") no-repeat;
}

.variety {
    font-weight: bold;
    font-style: normal;
    font-size: 1em;
}

.wine_name {
    font-style: italic;
    font-size: 1.3em;
    margin: 10px auto;
}

p {
        text-align: justify;
}

.italic {
    font-style: italic;
}

.description {
    font-size: .8em;
}

#wine1 {
    color: #000;
    font-weight: normal;
}

#wine2 {
    color: #eee;
    font-weight: normal;
}

.tagline {
    font-style: italic;
}

#wine3 {
    color: #000;

}

#wine4 {
    color: #eee;
}

#wine5 {
    color: #000;
}

/* ==========================================================================
   Media Queries
   ========================================================================== */

@media only screen and (min-width: 35em) {

}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {

}

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

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    *text-indent: -9999px;
}

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

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

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

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

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@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;
    }
}