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

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



section{
    width: 100%;
    min-height: 700px;
    background: #fff;
    display: inherit;
}
.titulo{
  font-weight: lighter;
  color:#0f2134;
  text-align: center; 
  margin: .5em 0;
  font-size: 2em
}
.padding{
padding: 100px 0 50px 0
}

.content{
    width: 960px;
    margin: 0 auto
}
#main{
    min-width: 960px
}

/*==================== nav ==============*/

nav{
    min-width: 960px;
    min-height: 89px;
    margin-top: -124px;
    width: 100%;
    background-color: #fff;
    position: fixed;
    z-index: 9999999999999;
    -webkit-box-shadow: 0px 1px 5px 0px rgba(0,0,0,0.28);
    -moz-box-shadow: 0px 1px 5px 0px rgba(0,0,0,0.28);
    box-shadow: 0px 1px 5px 0px rgba(0,0,0,0.28);

    -webkit-transition: all 500ms cubic-bezier(0.250, 0.100, 0.250, 1.000); 
   -moz-transition: all 500ms cubic-bezier(0.250, 0.100, 0.250, 1.000); 
     -o-transition: all 500ms cubic-bezier(0.250, 0.100, 0.250, 1.000); 
        transition: all 500ms cubic-bezier(0.250, 0.100, 0.250, 1.000); /* ease (default) */

-webkit-transition-timing-function: cubic-bezier(0.250, 0.100, 0.250, 1.000); 
   -moz-transition-timing-function: cubic-bezier(0.250, 0.100, 0.250, 1.000); 
     -o-transition-timing-function: cubic-bezier(0.250, 0.100, 0.250, 1.000); 
        transition-timing-function: cubic-bezier(0.250, 0.100, 0.250, 1.000); /* ease (default) */
}
nav ul{
    margin: 0;
    padding: 0;
    width: 100%;
    text-align: center;
}
nav ul li{
    text-transform: uppercase;
    display: inline-block;
    vertical-align: top;
    padding: 20px 30px 0 30px;
}
nav ul li a{
    text-decoration: none;
    color: #0f2134;
    font-size: .9em
}
nav ul li a:hover{
    color: #18579a
}
.select a{
    color: #18579a
}
.select:after{
    content: '';
    width: 0;
    height: 0;
    border-left: 20px solid transparent;  /* left arrow slant */
    border-right: 20px solid transparent; /* right arrow slant */
    border-bottom: 20px solid #18579a; /* bottom, add background color here */
    font-size: 0;
    line-height: 0;
    position: relative;
    display: block;
    margin: 22px auto 0 auto;

}
#bodegas{
    padding: 20px 30px 0 30px
}
#bodegas:after{
    margin-top: 0
}
/*================= sections =============*/

#intro{
    background: url("../img/intro.jpg");
    background-size: cover;
}
#intro .content{
    margin-top: 180px
}
#intro .logo{
    width: 20%;
    margin: 0 5% 0 25%;
    display: inline-block;;
    float: left;
}
#intro .logo img{
    width: 100%;
}
#intro .motto{
    width: 50%;
    display: inline;
    font-weight: bold;
    font-style: italic;
    color: #0f2134;
    float: left;
    margin-top: 45px;
    font-size: 3em;
}

#about{
    background: #0f2134;
    min-height: 100px;
    color: #fff;
    padding: 30px 0
}
#about .content{
    width: 450px
}
#about h3{
    text-decoration: underline;
    font-style: italic;
}
#about p{
    font-size: .9em
}

#clients{
    background: #f2f2f2;
    padding: 20px 0;
    min-height: 100px
}
#sample1{
    min-height: 600px
}
#sample1 .content_img{
    background: url("../img/sample1.jpg") fixed no-repeat;
    background-size: cover;
    min-height: 600px
}

#projects .list_projects{
    width: 960px;
    margin: 0 auto
}
#projects .list_projects ul{
    margin: 0;
    padding: 0;
    list-style: none;
    color: #fff;
}
#projects .list_projects ul li{
    width: 188px;
    float: left;
    margin: 2px;
    background-color: #0f2134;
    text-align: center;
    padding: 30px 0;
    font-size: .95em;
    cursor: pointer;     
}
#projects .list_projects ul li:hover{
    background-color: #18579a
}

#projects .listado {display: block; width: 960px; margin: auto; margin-top: 20px}
#projects .listado ul {list-style: disc; color: #0f2134; font-size: 0.8em;  padding-left: 20px; width: 168px; margin: 2px; float: left; height: 1px; overflow: hidden; font-weight: bold;}

.slider_project{
    min-height: 200px;
    overflow: hidden;
    position: relative;
}
.slider_project .bx-wrapper .bx-controls-direction a{
    margin-top: auto;
    /*bottom:30px;*/
}
#sample2{
    min-height: 600px
}
#sample2 .content_img{
    background: url("../img/sample2.jpg") fixed no-repeat;
    background-size: cover;
    min-height: 600px
}
#map .cellar{
    padding: 50px 0;
    width: 960px;
    margin: 0 auto;
    position: relative;
}
#map .cellar img{
    margin: 0 auto;
    display: block;
}
#contact{
    background: url("../img/contacto.jpg") no-repeat;
    background-size: cover;
    padding: 100px 0;
    color: #0f2134;
}
#contact .content>p{
    width: 350px;
    margin: 0 auto;
    font-size: .8em;
    text-align: justify;
    margin-top: 3em;
}
#contact .content{
    text-align: center;
}
#contact .info{
    display: inline-block;
    width: 300px;
    font-size: .8em;
    text-align: left;
    vertical-align: top;
    margin-top: 170px;
    margin-left: 50px
}
#contact .form{
    width: 350px;
    display: inline-block;
    text-align: left;
    margin-top: 100px;
    border-right: solid 1px #0f2134;
    padding-right: 50px
}
#contact .form .content_input{
    width: 100%;
    margin-bottom: 10px
}
#contact .form .content_input label{
    width: 28%;
    display: inline-block;
    text-align: right;
    padding-right: 10px
}
#contact .form .content_input input,#contact .form .content_input textarea{
    width: 60%;
    display: inline-block;
    background-color: #0f2134;
    border:none;
    color:#fff;
    padding: 8px 10px
}
.form input{
    height: 1.2em
}
.form textarea{
    height: 5em
}
.form input[type="submit"]{
    padding: 7px 25px;
    border: none;
    background-color: #7c7c7c;
    display: block;
    margin:0 50%;
    height: inherit;
    color: #fff
}

#projects, #map,#contact{
    padding-top: 140px
}

.bx-wrapper img{
    max-height: 100%;
}
.sample-text{
    width: 60%;
    margin: 0 auto;
    margin-top: 250px;
    font-size: 2em;
    text-align: center;
    font-weight: bold;
    font-style: italic;
    color: #0f2134;
}
.bodega{
    display: inline-block;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    position: absolute;
    background-color: #0f2134;
}
.bodega:hover{
    background-color: #14487f
}
.bodega1{top: 50px;
    left: 43%;}
.bodega2{top: 32%;
    left: 35%;}
.bodega3{
    top: 76%;
    left: 26%;
    width: 40px;
    height: 40px;
    background-color: #c76700
}
.bodega3:hover{
    background-color: #c76700
}
.bodega4{top: 75%;
    left: 31%;}
.bodega5{
    top: 80%;
    left: 31%;
}
.bodega6{
    top: 57%;
    left: 72%;
}
.textBod{
    position: absolute;
    text-align: left;
    font-size: 0.8em;
    font-weight: lighter;
    font-style: italic;
    text-transform: uppercase;
    padding: 5px;
    margin-left: 40px;
    margin-top: 5px;
    display: none;
    background-color: #14487f;
    padding: 5px 15px;
    color:#fff;
}

.textBod1{top: 50px;
    left: 43%;
    margin-top: -5px}
.textBod2{top: 32%;
    left: 35%;}
.textBod3{
    top: 71%;
    left: 13%;
    background-color: #c76700;
    color:#fff;
    text-align: center;
    padding: 5px 15px
}
.textBod4{top: 75%;
    left: 31%;
    margin-top: -5px}
.textBod5{
    top: 80%;
    left: 31%;
        margin-top: -5px
}
.textBod6{
    top: 57%;
    left: 72%;
    background-color: #14487f;
    color: #fff;
    text-align: center;
}


/*********************** load ******************************/
/*.bxslider li img{
    display: none
}*/
.load{
    width: 100%;
    height: 100%;
    position: absolute;
}

#facebookG{
width:100px;
position: absolute;
left: 50%;
top: 50%;
margin-left: -50px;
margin-top: -35px
}

.facebook_blockG{
background-color:#0f2134;
border:2px solid #0f2134;
float:left;
height:71px;
margin-left:5px;
width:19px;
opacity:0.1;
-moz-animation-name:bounceG;
-moz-animation-duration:1.3s;
-moz-animation-iteration-count:infinite;
-moz-animation-direction:linear;
-moz-transform:scale(0.7);
-webkit-animation-name:bounceG;
-webkit-animation-duration:1.3s;
-webkit-animation-iteration-count:infinite;
-webkit-animation-direction:linear;
-webkit-transform:scale(0.7);
-ms-animation-name:bounceG;
-ms-animation-duration:1.3s;
-ms-animation-iteration-count:infinite;
-ms-animation-direction:linear;
-ms-transform:scale(0.7);
-o-animation-name:bounceG;
-o-animation-duration:1.3s;
-o-animation-iteration-count:infinite;
-o-animation-direction:linear;
-o-transform:scale(0.7);
animation-name:bounceG;
animation-duration:1.3s;
animation-iteration-count:infinite;
animation-direction:linear;
transform:scale(0.7);
}

#blockG_1{
-moz-animation-delay:0.39s;
-webkit-animation-delay:0.39s;
-ms-animation-delay:0.39s;
-o-animation-delay:0.39s;
animation-delay:0.39s;
}

#blockG_2{
-moz-animation-delay:0.52s;
-webkit-animation-delay:0.52s;
-ms-animation-delay:0.52s;
-o-animation-delay:0.52s;
animation-delay:0.52s;
}

#blockG_3{
-moz-animation-delay:0.65s;
-webkit-animation-delay:0.65s;
-ms-animation-delay:0.65s;
-o-animation-delay:0.65s;
animation-delay:0.65s;
}

@-moz-keyframes bounceG{
0%{
-moz-transform:scale(1.2);
opacity:1}

100%{
-moz-transform:scale(0.7);
opacity:0.1}

}

@-webkit-keyframes bounceG{
0%{
-webkit-transform:scale(1.2);
opacity:1}

100%{
-webkit-transform:scale(0.7);
opacity:0.1}

}

@-ms-keyframes bounceG{
0%{
-ms-transform:scale(1.2);
opacity:1}

100%{
-ms-transform:scale(0.7);
opacity:0.1}

}

@-o-keyframes bounceG{
0%{
-o-transform:scale(1.2);
opacity:1}

100%{
-o-transform:scale(0.7);
opacity:0.1}

}

@keyframes bounceG{
0%{
transform:scale(1.2);
opacity:1}

100%{
transform:scale(0.7);
opacity:0.1}

}

/***********************bodegas*****************************/



/***************modify***********************/

.slider_project .bx-wrapper .bx-controls-direction a{
    background-color: #0f2134;
    padding: 10px;
}
.slider_project .bx-wrapper .bx-controls-direction a:hover{
    background-color: #18579a
}

.slider_project .bx-wrapper .bx-next{
    background-size: 20px;
    background-position: 20px;
}

.slider_project .bx-wrapper .bx-prev{
    background-position: 10px!important;
    background-size: 20px!important;
}

.activeSection{
    background-color: #18579a!important
}





/****************TOOLTIP******************/

#tooltip
{
    text-align: center;
    color: #fff;
    background: #111;
    position: absolute;
    z-index: 100;
    padding: 15px;
    font-size: 0.75em;
}
 
    #tooltip:after /* triangle decoration */
    {
        width: 0;
        height: 0;
        border-left: 10px solid transparent;
        border-right: 10px solid transparent;
        border-top: 10px solid #111;
        content: '';
        position: absolute;
        left: 50%;
        bottom: -10px;
        margin-left: -10px;
    }
 
        #tooltip.top:after
        {
            border-top-color: transparent;
            border-bottom: 10px solid #111;
            top: -20px;
            bottom: auto;
        }
 
        #tooltip.left:after
        {
            left: 10px;
            margin: 0;
        }
 
        #tooltip.right:after
        {
            right: 10px;
            left: auto;
            margin: 0;
        }



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