/*! HTML5 Boilerplate v5.0 | MIT License | http://h5bp.com/ */
/* ==========================================================================
   Fonts
   ========================================================================== */
   @import url(http://fonts.googleapis.com/css?family=Oswald:400,300,700);
   @import url(http://fonts.googleapis.com/css?family=BenchNine:300,400,700);
   @font-face {
        font-family: NexaBold;
        src: url(../utils/fonts/NexaBold.otf);
        font-weight: 600;
   }
   @font-face {
        font-family: NexaLight;
        src: url(../utils/fonts/NexaLight.otf);
        font-weight: 400;
   }

html {
    color: #222;
    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;
}

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

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

textarea {
    resize: vertical;
}

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


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

body{
    font: 16px/26px NexaLight, Helvetica, Helvetica Neue, Arial;
}

.menu-container {
    display:block;
    float:left;
    width:200px;
    height:auto;
    padding:10px;
    background-color:white;
    position:fixed;
    z-index:999;
}
.menu-container aside{
    border-right: 1px solid black;
    padding-bottom:293px;
}
.logo{
    margin:10px;
    width: 80%;
}
.direccion{
    font-family:NexaBold;
    display:block;
    position:relative;
    background-color:rgba(254,254,254,0.7);
    padding:10px;
    font-size:12px;
    line-height:1em;
}
.parrafo-especial{
    margin:0;
    padding-left:13px;
    background-image:url(../img/arrow.png);
    background-repeat:no-repeat;
    background-position:left center;
    line-height:1em;
    font-family:NexaBold;
    color:gray;
    font-size:12px;
}
/* ==============
    Menu
   ============== */
nav ul {
    font-family:NexaLight, Helvetica, sans-serif;
    margin: 50px 0;
    padding: 0;
    text-align:right;
    font-size:12px;
}
nav li {
    list-style: none;
    margin-right:24px;
}
nav a{
    display:block;
    background-image:url(../img/plus.png);
    background-repeat:no-repeat;
    background-position:right;
    padding-right:16px;
    text-decoration:none;
    color:gray;
}
nav a:hover,li.active a,a.select{
    background-position:right;
    background-repeat:no-repeat;
    background-image:url(../img/plus_bold.png);
    font-family:NexaBold,Helvetica, sans-serif;
}

/* Backgrounds will cover all the section
    * --------------------------------------- */
#section0,
#section1,
#section2,
#section3,
#section4,
#section5{
    background-size: cover;
    background-attachment: fixed;
}

/* Defining each sectino background and styles
    * --------------------------------------- */
#section0{
    background-image: url(../img/1_chica.jpg);
    padding: 0 0 0 0;
    background-size: cover;
}
#section1{
    background-image: url(../img/bg2.jpg);
    padding: 6% 0 0 0;
    background-size: cover;
}
#section2{
    background-image: url(../img/bg3.jpg);
    padding:0;
}
#section3{
    /*background-image: url(../img/bg4.jpg);*/
    background-color: #586971;
    margin-left: 220px;
    padding:0;
    text-align: center;
}
#section3 img{
    display: block;
    margin:0 auto;
    height: 100%;
}
#section4{
    background-color: #586971;
    /*background-image: url(../img/bg5.jpg);*/
    padding: 0;
}
#section4 img{
    display: block;
    margin:0 auto;
    float: right;
    clear: both;
}
#section5{
    background-image: url(../img/bg6.jpg);
    padding: 0;
}
#container header{
    position:absolute;
    padding:10px 10px 10px 10px;
    right:0px;
    background-image:url(../img/headerBG.png);
    background-size: cover;
    background-position:center center;
    background-repeat:no-repeat;
    z-index:2;
}
#container header h1{
    font-family:NexaBold;
    width:310px;
    color:white;
    padding-right:80px;
}
.main-info-block1{
    background-color:#3c3c3c;
    color:white;
    padding:0px 15px 0;
    position:absolute;
    left:220px;
    width:250px;
    height:100%;
}
.main-info-block1 h3:first-child{
    padding-top:100px;
}
.main-info-block1 h3{
    border-bottom:1px solid white;
    width:auto;
    font-size:1em;
    margin:0;
}
.main-info-block1 h4{
    border-bottom:1px dashed white;
    width:auto;
    font-size:.8em;
    margin:0;
}
.main-info-block1 h5:first-child{
    padding-top:100px;
    font-size:11px;
    font-weight:normal;
}
.main-info-block1 label{
    display:block;
    margin:0px;
    width:60px;
    font-size:11px;
}
.main-info-block1 input,textarea{
  color:black;
}
.main-info-block1 textarea{
    width:97%;
    height:200px;
}
.main-info-block1 button{
    margin:15px 0;
    border:0;
    background-color:#3c3c3c;
    color:white;
    font-size:11px;
    float:right;
    clear:both;
}
.main-info-block1 ul{
    margin:5px;
    font-size:0.7em;
}
.main-info-block1 li{
    padding:0;
    margin:0;
    line-height:1;
}
.tablap2{
    position:absolute;
    left:270px;
    bottom:190px;
}
.button-mapa{
    position:absolute;
    right:0px;
    bottom:340px;
    cursor:pointer;
}
footer {
    position:absolute;
    display: block;
    bottom: 0;
    background-color:rgba(0,0,0,0.7);
    color: white;
    padding: 20px 20px 20px 240px;
}
.columna1-3,.columna1-2{
    font-size:12px;
    display:inline-block;
    vertical-align:top;
    line-height:14px;
}
.columna1-2 h6,.columna1-3 h6{
    font-size:16px;padding: 0;margin:0;
}
.columna1-2 img,.columna1-3 img{
    width: 100%;
    max-width: 500px;
}
.columna1-2 p,.columna1-3 p{
    text-align:justify;
    padding:0 20px;
}
.columna1-2{
    width: 40%;
}
.columna1-3{
    width: 30%;
}
.bg-gray{
    background-color:#3c3c3c;
}
.submenu-block{
    position:absolute;
    background-color:#002E55;
    text-align:center;
    height: 100%;
    width: 80%;
    padding:0 10px;
    transition:1s;
    -webkit-transition:1s;
    -o-transition:1s;
    -moz-transition:1s;
}
.submenu-block.hide{
    left:-100%;
}
.submenu-block h3{
    padding-top:40%;
}
 .submenu-block ul{
    width: auto;
    margin:40px 20px 0;
    font-size: 1em;
}
.submenu-block li{
    text-align: center;
    margin-top:10px;
}
.submenu-block a{
    color:white;
    margin: 0 auto;
    width: auto;
}
.submenu-info-block{
    position:absolute;
    left:-200%;
    width: 100%;
    background-color:gray;
    padding: 0 10px;
    height: 100%;
    transition:1s;
    -webkit-transition:1s;
    -o-transition:1s;
    -moz-transition:1s;
}
.submenu-info-block .close{
    position:absolute;
    right:-50px;
    background-color:orange;
    width:50px;
    height: 24px;
    text-align: center;
    vertical-align: middle;
    font-weight: bold;
    cursor:pointer;
}
.submenu-info-block.show{
    position:absolute;
    left:0px;
    background-color:gray;
}
.submenu-info-block h3{
    padding-top:20px;
}
.submenu-info-block h4{
    margin:10px 10px;
}

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

@media only screen and (min-width: 1500px) {
  #container header{
    bottom:25%;
  }
}

@media only screen and (max-width: 1500px) {
  #container header {
    top:10%;
  }
}
@media only screen and (min-width: 1024px) {
    .columna1-2,.columna1-3{
      font-size:1.3em;
      line-height: normal;
    }
    .main-info-block1 li{
        padding:0;
        margin:0;
        line-height:normal;
        font-size: 1em;
    }
}
@media only screen and (max-height: 768px) {
  nav ul {
      margin: 20px 0;
  }
  .columna1-2,.columna1-3{
    font-size:0.8em;
    line-height: normal;
  }
  .main-info-block1 li{
      padding:0;
      margin:0;
      line-height:1em;
  }
  .main-info-block1{
    overflow-y: visible;
  }
}

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

}

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

.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 {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important;
        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) ")";
    }

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

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

    thead {
        display: table-header-group;
    }

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

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

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

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