/*! 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
   ========================================================================== */
/*#283450*/
.browsehappy {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}
section{
    width: 100%;
    margin-top: 100px;
    min-width: 960px
}
section .content{
    width: 960px;
    margin: 0 auto;
}
section h1,section h2{
    color: #283450;
    width: auto;
    text-transform: uppercase;
    margin-bottom: 50px
}
section h1{
    font-size: 2.5em;
    font-weight: lighter;
}
section h1:after{
    width: 63%;
    display: inline-block;
    height: 2px;
    background-color: #283450;
    content: "";
    vertical-align: middle;
    margin-left: 7%;
}

section h2:after{
    width: 75%;
    display: inline-block;
    height: 2px;
    background-color: #283450;
    content: "";
    vertical-align: middle;
    margin-left: 7%;
    float: right;
    margin-top: 17px;
}
/* ==========================================================================
   Author's custom styles
   ========================================================================== */
.content_logo{
    width: 150px;
    margin: 50px auto;
}
.content_logo img{
    width: 100%
}

.content_description img{
    max-width: 55%;
    height: 315px;
    float: left;
}
.content_description .description{
    width: 35%;
    height: auto;
    float: right;
    margin: 0px 0px 25px 0px;
    padding: 30px 50px;
    background: #283450;
    font-size: .9em;
    color: #fff;
    text-transform: uppercase;
    font-weight: lighter;
    border-radius: 0 10px 10px 0;
    -webkit-box-shadow: 2px 2px 12px 1px rgba(0,0,0,0.36);
    -moz-box-shadow: 2px 2px 12px 1px rgba(0,0,0,0.36);
    box-shadow: 2px 2px 12px 1px rgba(0,0,0,0.36);
}
.content_description .description p{
    margin: .7em auto
}
.content_description .description p span{
    float: right;
    text-align: right;
}
.cuadro_areas{
    margin: 5px 0 10px 0;
    width: 436px;
    display: inline-block;
    float: right;
    text-align: center;
    font-size: 1.5em;
    font-weight: lighter;
    text-transform: uppercase; 
    color: #283450 
}
#gallery .slider{
    width: 100%;
    min-height:600px;
    -webkit-box-shadow: inset 0px 0px 17px 4px rgba(0,0,0,0.46);
-moz-box-shadow: inset 0px 0px 17px 4px rgba(0,0,0,0.46);
box-shadow: inset 0px 0px 17px 4px rgba(0,0,0,0.46);

}

#gallery .slider .bx-wrapper{
    width: 100%!important
}
#gallery .slider .bx-wrapper .bx-viewport{
    height: 600px!important;
    border: solid 1px #000;
    border-right: none;
    border-left: none;
}
#gallery .slider .bx-wrapper img {
    width: 100%;
    max-height: 100%
}
#gallery .slider .bx-wrapper .bx-pager.bx-default-pager a{
    background-color: #fff;
}

#gallery .slider .bx-wrapper .bx-pager.bx-default-pager a:hover,#gallery .slider .bx-wrapper .bx-pager.bx-default-pager a.active{
    background-color: #283450;
}

#gallery .slider .bx-wrapper .bx-pager, #gallery .slider .bx-wrapper .bx-controls-auto{
    bottom: 20px
}

#gallery .slider .bx-wrapper .bx-pager.bx-default-pager a{
    width: 15px;
    height: 15px;
    border-radius: 10px
}

.contact{
    width: 500px;
    padding: 30px 50px;
    color: #fff;
    border-radius: 10px 10px 0 0;
    background-color: #283450;
    margin: 100px auto 0 auto
}
.contact p{
    padding-left: 40px
}
.contact p span{
    margin-left: -30px;    
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-right: 10px;
    vertical-align: middle;
}
.home{
    background: url("../img/home.png");
}
.phone{
    background: url("../img/phone.png");
}
.cel{
    background: url("../img/cel.png");
}
.mail{
    background: url("../img/mail.png");
}

#bodegaG .content_description .description{
    padding: 10px 50px
}
#bodegaPoniente .content_description .description{
    padding: 0px 50px
}

.sombra{
    width: 20px;
    height: 315px;
    background: url("../img/sombra.png");
    float: right;
    margin-top: -48px;
    margin-right: -20px;
    background-size: cover;
}
.sombra2{
    width: 826px;
    height: 20px;
    background: url("../img/sombra2.png");
    margin: 0 auto;
    background-size: cover;
    margin-bottom: 100px;
    margin-top: -20px
}
#bodegaG section h1:after {
    width: 70%;
}
#bodegaPoniente section h1:after {
    width: 25%;
}

/********************** boton regresar *******************/

.back {
    position: fixed;
    top: 120px;
    right: 0;
    -moz-box-shadow: 0px 1px 0px 0px #3f6f9e;
    -webkit-box-shadow: 0px 1px 0px 0px #3f6f9e;
    box-shadow: 0px 1px 0px 0px #3f6f9e;
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0.05, #0b1c3d), color-stop(1, #174d73));
    background: -moz-linear-gradient(top, #0b1c3d 5%, #174d73 100%);
    background: -webkit-linear-gradient(top, #0b1c3d 5%, #174d73 100%);
    background: -o-linear-gradient(top, #0b1c3d 5%, #174d73 100%);
    background: -ms-linear-gradient(top, #0b1c3d 5%, #174d73 100%);
    background: linear-gradient(to bottom, #0b1c3d 5%, #174d73 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#0b1c3d', endColorstr='#174d73',GradientType=0);
    background-color: #0b1c3d;
    -moz-border-radius: 7px;
    -webkit-border-radius: 7px;
    border-radius: 7px;
    border: 1px solid #0f3b59;
    display: inline-block;
    cursor: pointer;
    color: #ffffff;
    font-family: arial;
    font-size: 20px;
    padding: 14px 26px;
    text-decoration: none;
    text-shadow: 0px 1px 3px #0f1e45;
    overflow: hidden;
    border-radius: 7px 0 0 7px;
}
.back span{
    font-size: 2.3em;
    vertical-align: middle;
    line-height: 0;
    font-family: monospace;
}
.back:hover {
    background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #174d73), color-stop(1, #0b1c3d));
    background:-moz-linear-gradient(top, #174d73 5%, #0b1c3d 100%);
    background:-webkit-linear-gradient(top, #174d73 5%, #0b1c3d 100%);
    background:-o-linear-gradient(top, #174d73 5%, #0b1c3d 100%);
    background:-ms-linear-gradient(top, #174d73 5%, #0b1c3d 100%);
    background:linear-gradient(to bottom, #174d73 5%, #0b1c3d 100%);
    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#174d73', endColorstr='#0b1c3d',GradientType=0);
    background-color:#174d73;
}


/* ==========================================================================
   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;
    }
}
