/*! HTML5 Boilerplate v6.0.1 | MIT License | https://html5boilerplate.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 {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * 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 audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

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

/*
 * Remove default fieldset styles.
 */

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

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

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

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

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
h1, h2, h3 {
    margin: 0;
}

h1 {
    text-indent: -9999px;
}

h2 {
    font-size: 24px;
    
}
h3 {
    font-size: 20px;
}

body {
    font-family: 'AdiNeue-Regular';
    background: #fff;
    overflow-x: hidden;
    color: #1dafbe;
}

header {
      position: absolute;
    width: 100%;
    z-index: 200;
    background: none;
    }
header .container {
    padding: 0;
}
select {
    border: none;
}
.der {
    text-align: right;
}
.btn {
    border-radius: 5px;
    border: 1px solid #fff;
}
.btn a {
    font-family: 'adineuePRO-Bold'!important;
    font-size: 18px;
    text-transform: uppercase;
}
.navbar-default {
  background: none;
  border: none;
}
.navbar-collapse.collapse.in{
  background: #fff;
}
.navbar-toggle {
  margin-right: 25px;
}
.navbar-toggle, .navbar-toggle:active {
  background: #fff;
}
.navbar-collapse li a {
  padding-left: 20px;
  padding-bottom: 0;
  margin-bottom: 0;
  font-family: 'AvantGardeITCbyBT-Book';
  font-weight: bold;
}
/********** GENERALES ***********/
section h2 {
    color: #1dafbe;
    /*text-align: center;*/
    font-size: 30px;
    font-family: 'adineuePRO-Light';
    /*padding-bottom: 50px;*/
}


.logo img {
    display: block;
    margin: 10px auto;
    max-width: 45%;
}
.logo a {
    display: block;
    height: 114px; 
}



/************* SLIDER *************/
.bajada, .carousel-indicators {
    display: none;
}

.carousel-indicators li, .carousel-indicators .active {
    width: 16px;
    height: 16px;
}
.carousel-indicators li {
    background: #188e95;
    border: none;
    margin: 0;

}

.carousel-indicators .active {
    background: #0bb8c2;
    margin: 0;
}

.btn.slider {
    background: none;
}
.btn.slider a {
    color: #fff;
}

/************* SECCIONES *************/
.items {
    background: url(../img/bg-items.jpg) no-repeat;
    background-size: cover;
}

/************* PRESENTACION *************/
.presentacion {
    padding: 60px 0;
}
.presentacion h2 {
  text-align: center;
}
.presentacion .btn.info {
    border-color: #1daab9;
    background: none;
    /*width: 156px;*/
    margin: auto;
    display: block;
    margin: 60px auto 0;
}
.presentacion .btn.info a {
    text-align: center;
    color: #1daab9;
    display: block;
}
.presentacion span {
    display: block;
    text-align: center;
    font-size: 18px;
    font-family: 'AvantGardeITCbyBT-Book';
}
.presentacion .col-xs-6 img {
  padding: 0 20px;
}

/************* ITEMS *************/
.items .item{
    padding:  30px;
    position: relative;
}
.hovereffect {
  width: 100%;
  height: 100%;
  float: left;
  overflow: hidden;
  position: relative;
  text-align: center;
  cursor: default;
  background: #000;
}

.hovereffect .overlay {
  width: 100%;
  height: 100%;
  position: absolute;
  overflow: hidden;
  top: 0;
  left: 0;
  padding: 30px 20px;
}

.hovereffect img {
  display: block;
  position: relative;
  max-width: none;
  /*width: calc(100% + 20px);*/
  -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
  transition: opacity 0.35s, transform 0.35s;
  -webkit-transform: translate3d(-10px,0,0);
  transform: translate3d(-10px,0,0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.hovereffect:hover img {
  opacity: 0.2;
  filter: alpha(opacity=20);
  -webkit-transform: translate3d(0,0,0);
  transform: translate3d(0,0,0);
}

.hovereffect h2 {
  text-transform: uppercase;
  color: #209ca9;
  text-align: left;
  position: relative;
  font-size: 17px;
  overflow: hidden;
  padding: 0 0 0.5em;
  /*background-color: transparent;*/
  display: none;
}
.hovereffect:hover h2 {
    display: block;
}

.hovereffect h2:after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: #209ca9;
  content: '';
  -webkit-transition: -webkit-transform 0.35s;
  transition: transform 0.35s;
  -webkit-transform: translate3d(-100%,0,0);
  transform: translate3d(-100%,0,0);
}

.hovereffect:hover h2:after {
  -webkit-transform: translate3d(0,0,0);
  transform: translate3d(0,0,0);
}
.hovereffect a {
  border: 1px solid #fff;
  padding: 10px;
  border-radius: 5px;
  color: #fff;
  font-weight: bold;
  margin: 10px 0;
  display: block;
  width: 120px;
}
.hovereffect a:hover {
  text-decoration: none;
}

.hovereffect p {
  font-family: 'AvantGardeITCbyBT-Book';
  font-size: 14px;
  color: #209ca9;
  opacity: 0;
  filter: alpha(opacity=0);
  -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
  transition: opacity 0.35s, transform 0.35s;
  -webkit-transform: translate3d(100%,0,0);
  transform: translate3d(100%,0,0);
  text-align: left;
}

.hovereffect:hover a, .hovereffect:hover p {
  opacity: 1;
  filter: alpha(opacity=100);
  -webkit-transform: translate3d(0,0,0);
  transform: translate3d(0,0,0);
  top: 60px;
}
.hovereffect:hover p {
    padding-top: 0.75em;
    margin: 0;
} 
.hovereffect:hover p img {
    width: auto;
    opacity: 1;
    filter: alpha(opacity=100);
}

/************* PROYECTOS *************/
.proyectos {
    padding: 40px 0;
}
.proyectos h2 {
  text-align: center;
  padding-bottom: 30px;
}
.proyectos h3{
    padding: 10px 0;
    font-family: 'adineuePRO-Bold';
    font-size: 13px;
} 
.proyectos h3 span {
    float: right;
}
.pagination {
    display: block;
    margin: 20px auto;
    width: 200px;
}
.pagination>li.active a {
  background: #0e7884!important;
}
.proyectos p {
  font-family: 'AvantGardeITCbyBT-Book';
  font-size: 12px;
}
.paginate-pagination {
  clear: both;
}



/************* LA EMPRESA *************/
.empresa {
    background: #f7f7f7;
    padding: 90px 0;
}
.empresa h2 {
  text-align: center;
  padding-top: 20px;
}
.empresa p {
    font-size: 16px;
    line-height: 22px;
    text-align: center;
    padding: 20px 0 0;
    font-family: 'AvantGardeITCbyBT-Book';
}
.empresa span {
    color: #00d2e4;
    font-weight: bold;
}
.empresa figcaption {
    text-align: center;
    font-family: 'AvantGardeITCbyBT-Book';
    font-size: 18px;
}


 

/************* CONTACTO *************/
.formulario {
    padding: 0 5%;
}
.formulario h2 {
  padding: 0 0 20px 0;
  text-align: center; 
}
.tit-campo {
    color: #1dafbe;
    font-family: 'AvantGardeITCbyBT-Book';
}

.contacto {
    padding: 30px 0;
    background: #ffffff;
}
.campo {
    margin: 5px 0;
}

.campo input, .campo select  {
    margin: 0 0 5px 0;
    color: #333;
    width: 100%;
    padding: 10px;
    background: #fff;
    border-radius: 10px;
    border: 1px solid #1dafbe;
    moz-border-radius: 10px;
    webkit-border-radius: 10px;
    ms-border-radius: 10px;
}
.form .col-sm-8 {
    padding: 0;
}
.direccion {
    padding-left: 10%;
} 
.direccion p {
    margin: 0;
}

p.direccion {
    background: url(../img/ico-finder.png) 4px 10px no-repeat;
    padding: 10px 0 15px 50px;
    font-family: 'AvantGardeITCbyBT-Book';
}
p.fono {
    background: url(../img/ico-fono.png) 6px 0 no-repeat;
    padding: 10px 0 15px 50px;
    font-family: 'AvantGardeITCbyBT-Book';
}
p.mail {
    background: url(../img/ico-mail.png) 1px 6px  no-repeat;
    padding: 10px 0 15px 50px;
    font-family: 'AvantGardeITCbyBT-Book';
}
.contacto p.pago {
    text-align: center;
}

input {
    outline: none;
    border: none;
}

textarea {
    width: 100%;
    height: 100%;
    border: none;
    background: none;
    resize: none;
    outline: none;
    padding: 10px;
}

.textarea {
    background: #fff;
    color: #333;
    border: 1px solid #1dafbe;
    border-radius: 10px;
    padding: 10px;
    margin: 0 0 10px 0;
}

.form .enviar {
    cursor: pointer;
    color: #1dafbe;
    width: 82px;
    padding: 10px 0 5px;
    font-size: 16px;
    background: none;
    border: 1px solid #1dafbe;
    border-radius: 5px;
    font-family: 'adineuePRO-Bold';
    text-transform: uppercase;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    -ms-transition: all 0.5s ease;
    transition: all 0.5s ease;
    margin-top: 10px;
    margin-bottom: 30px;
}




/***********OFICINAS**************/
.col-centered {
    float: none;
    margin: 0 auto;
}

.carousel-control { 
    width: 8%;
    width: 0px;
}
.carousel-control.left,
.carousel-control.right { 
    margin-right: 5%;
    margin-left: 5%; 
    background-image: none;
    opacity: 1;
    z-index: 999;
}
.carousel-control > a > span {
    color: gray;
    font-size: 29px !important;
}

.carousel-col { 
    position: relative; 
    min-height: 1px; 
    padding: 5px; 
    float: left;
 }

 .active > div { display:none; }
 .active > div:first-child { display:block; }






/************* FOOTER *************/

footer {
    background: #000;
    padding: 30px 0;

}
footer p {
  color: #fff;
  font-family: 'AvantGardeITCbyBT-Book';
  margin-bottom: 10px;
  text-align: center;
}
.menu-bottom p {
  font-size: 18px;
  text-align: center;

} 
footer p a, footer p a:hover {
    color: #fff;
    
}
.logo-bottom img {
  max-width: 60%;
}


.rrss{
  background: url(../img/ico-rrss.png) 30% top no-repeat;
  background-size: 8%;
  padding-top: 3px;
  padding-left: 10px;
  padding-bottom: 20px;
  margin: 0;
}
.rrss.fb {
  background: url(../img/ico-fb.png) 30% top no-repeat;
  background-size: 10%;

}
.rrss.tw {
  background: url(../img/ico-twitter.png) 30% top no-repeat;
  background-size: 10%;
}
.rrss.mail {
  background: url(../img/ico-maill.png) 0 top no-repeat;
}
.rrss a {
  color: #fff;
}

.logo-bottom p {
    text-align: center;
}


.img-responsive, .thumbnail>img, .thumbnail a>img, .carousel-inner>.item>img, .carousel-inner>.item>a>img {
    margin: 0 auto;
}

.empresa p {
        text-align: justify;
    }


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

/*
 * Hide visually and from screen readers
 */

.hidden {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    -webkit-clip-path: inset(50%);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    white-space: nowrap; /* 1 */
}

/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    -webkit-clip-path: none;
    clip-path: none;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
    white-space: inherit;
}

/*
 * Hide visually and from screen readers, 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;
}

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


@media only screen and (min-width: 768px) {
    /* Style adjustments for viewports that meet the condition */
    
    .logo {
      margin-top: 10px;
    }
    .logo img {
      display: block;
      margin: 10px auto;
      max-width: 85%;
    }


    header .container {
        padding: 0 15px;
    }

    .navbar-default {
        position: absolute;
        z-index: 10;
        top: 10px;
        width: 85%;
        margin: 0 auto;
        left: 5%;
        opacity: 0.9;
        padding: 10px;
        background: none!important;
        border: none;
     }
     .navbar-nav {
        float: right;
     }

    .navbar-default .navbar-nav>li>a {
        font-size: 14px;
        padding: 10px 5px;
        text-align: center;
        line-height: 14px;
        color: #fff;
        font-family: 'AvantGardeITCbyBT-Book';
    }


    .paginate > li {float: left; width: 33%; min-height: 370px !important;}


     .carousel-inner .active.left { left: -50%; }
 
    .carousel-inner .active.right { left: 50%; }
    .carousel-inner .next        { left:  50%; }
    .carousel-inner .prev            { left: -50%; }
    .carousel-col                { width: 50%; }
    .active > div:first-child + div { display:block; }

    .empresa h2 {
      text-align: left;
    }
    
    .rrss{
    background: url(../img/ico-rrss.png) no-repeat;
    background-size: 15%;
    padding-top: 3px;
    padding-left: 0;
    padding-bottom: 20px;
    margin: 0;
  }
  .rrss.fb {
    background-position: 3% 0;
    background-size: 15%;
    padding-top: 3px;
    padding-left: 0;
    padding-bottom: 20px;
    margin: 0;
  }
  .rrss.tw {
    background-position: 3% 0;
    background-size: 15%;
    padding-top: 3px;
    padding-left: 0;
    padding-bottom: 20px;
    margin: 0;
  }
  .rrss.mail {
    background-size: 15%;
    padding-top: 3px;
    padding-left: 20%;
    padding-bottom: 20px;
    margin: 0;
  }
  .presentacion .col-xs-6 img {
    padding: 0 10px;
  }
  
  figure {
    margin-top: 24px;
  }

  .logo-bottom img {
    max-width: 100%;
  }

  .formulario {
    padding: 0;
  }

  .menu-bottom p {
    text-align: left!important;
  }



}


@media only screen and (min-width: 960px) {

       .logo img {
      margin-top: 100px;
     }

    
    .bajada {
        display: block;
        position: absolute;
        background: rgba(0,0,0,0.6);
        left: 0;
        top: 15%;
        z-index: 100;
        width: 100%;
        padding: 10px;
        text-align: right;
        padding: 20px 0;
        padding-right: 5%;
    }

    .bajada h3 {
        font-family: 'adineuePRO-Light';
        background: none!important;
        color: #fff;
        padding: 5px 0!important;
        font-size: 30px;
        text-transform: uppercase!important;
    }
    .bajada p {
        color: #fff;
        font-size: 17px;
        font-family: 'AvantGardeITCbyBT-Book';
        line-height: 24px;
        letter-spacing: 0.5px;
    }

    .container {
        width: 960px;
    }


    .navbar-default .navbar-nav>li>a {
        padding: 15px;
        font-size: 20px;
    }

    .navbar-nav>li>a:hover,.navbar-default .navbar-nav>li>a:focus{
        color:#00d2e4!important;
    }
    .carousel-inner .active.left { left: -33%; }
    .carousel-inner .active.right { left: 33%; }
    .carousel-inner .next        { left:  33%; }
    .carousel-inner .prev            { left: -33%; }
    .carousel-col                { width: 33%; }
    .active > div:first-child + div { display:block; }
    .active > div:first-child + div + div { display:block; }
    
    .campo, .textarea {
      width: 303px;
    }


}

@media only screen and (min-width: 1280px) {
    
    .navbar-nav {
      margin-right: 68px;
    }
    

         .logo img {
      margin-top: 130px;
     }

    

    .carousel-inner .active.left { left: -25%; }
    .carousel-inner .active.right{ left:  25%; }
    .carousel-inner .next        { left:  25%; }
    .carousel-inner .prev            { left: -25%; }
    .carousel-col                { width: 25%;}
    .active > div:first-child + div { display:block; }
    .active > div:first-child + div + div { display:block; }
    .active > div:first-child + div + div + div { display:block; }


    .block {
        width: 250px;
        height: 340px;
        background: #fff;
        padding: 10px;
        
    }
    .block img {
        max-height: 100px!important;

    }

    .block h4{
        color: #ea0a2a;

    }

}


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

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important; /* Black prints faster:
                                   http://www.sanbeiji.com/archives/953 */
        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 that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

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

    pre {
        white-space: pre-wrap !important;
    }
    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    thead {
        display: table-header-group;
    }

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

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

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