/*! HTML5 Boilerplate v5.3.0 | 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
   ========================================================================== */

* {
  margin: 0;
  padding: 0;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * 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 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
   ========================================================================== */

body {
    background: #dfdfdf url(../img/fnd.jpg) center top no-repeat;
    font-family: 'Open Sans', sans-serif;
    color: #fff;
    font-size: 14px;

}



h2 {
  margin: 0;
}
h3 {
  font-size: 1.3em;
  font-weight: bold;
}

.center {
    width: 930px;
    margin: 0 auto;
}
h3, p {
  color: #6c6c6c;
}

header {
    background: url(../img/fnd-header.png);
    height: 135px;
    margin-bottom: 20px; 
}

.logo a {
    display: block;
    background: url(../img/logo.png) no-repeat;
    width: 225px;
    height: 80px;
    margin: auto;
}

#slider{
margin: 0 auto;

}
 

#whatsapp {
   position: fixed;
   bottom: 20px;
   right:20px;
}

svg {
   width: 80px;
   filter: drop-shadow(0 1px 4px rgba(0,0,0,.4));
}



circle {
   fill: #25d366;
}
path {
   fill: #55CD6C;
}

/* ==========================================================================
   MENU
   ========================================================================== */

nav {
    padding: 40px 0 0;
    position: relative;
}
nav ul {
    margin: 0
}

/*nav li:first-child a, nav li:last-child a {
  padding: 13px 0 0;
}
nav li {
    float: left;
    list-style: none;
    position: relative;
    text-transform: uppercase;
    font-size: 12px;
    cursor: pointer;
    display: block;
    background: url(../img/tab-menu.png) no-repeat;
    width: 126px;
    height: 39px;
    margin-left: 1px; 
}
nav li:hover, nav li.activo {
    background: url(../img/tab-menu.png) 0 bottom no-repeat;
}*/

.navbar {
  z-index: 1;
}
.navbar-light .navbar-nav .nav-link{
    font-weight: bold;
    display: block;
    text-align: center;
    padding: 5px 0;
    text-decoration: none;
    text-transform: uppercase;
    line-height: 130%;
}



.sombra {position: absolute; right: 0; bottom: -58px;}
.sombra ul li {
  background: url(../img/reflejo.png) ;
  list-style: none;
  height:  17px;
  float: left;
}

.bajada h2 {
  font-weight: bold;
  font-size: 26px;
  text-align: center;
  color: #666;
  text-transform: uppercase;
  padding: 20px 0;
}


/* ==========================================================================
   TRABAJOS REALIZADOS
   ========================================================================== */
  .trabajos{
    overflow: hidden;
    margin-bottom: 30px;
  }
   .trabajos h2, #main-int h2 {
    border-bottom: 4px solid #a94639;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    color: #fff;
    width: 100%;
    background: url(../img/tab-titulo.png) no-repeat;
    padding: 5px 10px;
    margin: 0 0 20px; 
   }
   .trabajos ul {
    margin: 0;
    padding: 0;
   }

   .trabajos .item {
    position: relative;
    list-style: none;

   } 
   .trabajos a {
    padding: 10px;
    display: block;
    color: #686868;
    text-align: center;
    text-decoration: none;
    background: #cecece;
   }
    
  .trabajos figcaption {
    max-width: 217px;
    margin: auto;
  }


  #main-int .trabajos .item figure{
    font-size: 14px;
    background: #ddd;
    margin: 0 0 10px 0;
    padding: 10px; 

  }

   #main-int .trabajos .item span {
    padding: 5px 0;
    text-align: center;
    display: block;
    color: #000;
  }


/* ==========================================================================
   EMPRESA
   ========================================================================== */
  .empresa {
    background: #e7e7e7;
    overflow: hidden;
    padding-top: 25px;
  }
  .col-izq {
    float: left;
    width: 240px;
  }
  .w400 {
    width: 400px!important;
  }
  .col-der.w500 {
    width: 500px!important;
  }

  .col-izq h3 {
    background: url(../img/tit-nos-contactaremos.png) no-repeat;
    height: 30px;
    text-indent: -9999px;
    margin: 0;
  }
  .col-der {
      float: right;
      width: 650px;
  }
  .col-der.con {
      float: none;
      width: 650px;
      margin: 0 auto;
  }
  .col-item {
    float: left;
    margin-left: 70px; 
  }
  .col-item:first-child {
    margin-left:0; 
  }
  .col-item h3 {
    text-transform: uppercase;
    color: #1e4f56;
    border-left: 3px solid #1e4f56;
    border-bottom: 1px solid #1d4f58;
    padding: 0 0 0 6px;
    margin: 0;
    font-size: 20px;
  }
  .col-item ul {
    padding: 0;
  }
  .col-item li {
    background: url(../img/arrow.png) 0 5px no-repeat;
    margin: 0 0 15px 0;
    padding-left: 14px;
    list-style: none;
  }
  .col-item li a {
    color: #1d4f58;
    text-decoration: none;
  }


/* ==========================================================================
   FOOTER
   ========================================================================== */

footer {
    border-top: 6px solid #fff;
    background: #a74133;
    clear: both;
    height: 100px;
}
footer .menu-bottom ul {
    text-align: center;
    padding: 0;
}
footer .menu-bottom ul li {
  list-style: none;
  display: inline-block;
  padding: 0 15px;
}
footer .menu-bottom ul li a{
  font-weight: bold;
  font-size: 12px;
  color: #fff;
  text-decoration: none;
  display: block;
}
footer .menu-bottom ul li a:hover {
  text-decoration: underline;
}
footer .menu-bottom p {
  clear: both;
  font-size: 12px;
  color: #fff;
  text-align: center;
}

/* ==========================================================================
   CONTACTO
   ========================================================================== */
.tit-contacto {
  font-size: 30px;
  font-weight: 300;
  text-transform: uppercase;
  color: #4e4d53;
  padding: 0 0 40px;
  text-align: center;
}
.campo {
  width: 100%;
  margin:0 0 5px 0;

}
.campo input, .campo textarea    {
  margin: 0 0 5px 0;
  width: 96%;
  padding: 5px;
  background:#fff;
  color: #333;
  border:1px solid #ccc; 
}
.campo select   {
  margin: 0 0 5px 0;
  width: 101%;
  padding: 5px;
  background:#fff;
  color: #333;
  border:1px solid #ccc;
  font-size: 12px;
}

input {
  outline: none;
}
textarea {
  width: 100%;
  height: 100%;
  border: none;
  background: none;
  resize: none;
  outline: none;

}


.form {
  position: relative;
  padding: 5px 25px;
}
.form td.tit-campo {
  font-size: 13px;
  font-weight: bold;
  line-height: 18px;
  width:auto;
  display:table;
  color: #666;
}

.form td.tit-mensaje {
  font-size: 18px;
  line-height: 32px;
  display:table-cell;
  vertical-align: top;
  color: #999;
}
.form .mensaje {
  border-radius: 5px;
  margin: 0 0 10px 5px; 
  width: 100%;
}
.azul {color: #19253D; text-decoration: underline;}
.enviar {
    cursor: pointer;
    color: #4e4d53;
    width: 90px;
    height: 36px;
    background: url(../img/btn-enviar.png) no-repeat;
    border: none;
    font-size: 12px;
    font-weight: bold;
    text-indent: -9999px;
    margin: 15px 0 20px;
    position: relative; 
    left: 0;
  }

.otros ul li {color: #000;} 


.contact-list {
  display:block;
  float:left;
  
  margin:0px;
  padding:0px;
}
.contact-list li{
  list-style:none;
  margin:0px;
  padding:0px;
  text-align:left;
  font-size:13px;
  margin-bottom:10px;
  padding-left:15px;
  text-transform:none;
  color: #333;
  
}
.contact-list li.email{
  background:url(../img/mail_silver.png) left 3px no-repeat;
padding-left: 25px !important;
}
.contact-list li.email a {
  color: #333;
}
.contact-list li.telefono{
  background:url(../img/phone_silver.png) left 3px no-repeat;
padding-left: 25px !important;
}
.contact-list li.home{
  background:url(../img/home_silver.png) left 3px no-repeat;
padding-left: 25px !important;
}
.contact-list li.mapa{
  background:url(../img/map_silver.png) left 3px no-repeat;
padding-left: 25px !important;
}

p.rojo {
  color: #a74133;
}

/* ==========================================================================
   SUBMENU NAVEGACION
   ========================================================================== */
  nav li li {font-size: 16px; line-height: 18px!important; padding: 10px!important; text-align: center; text-transform: none; float: none;}
  nav li ul  {display: none;}
  nav li:hover ul.sub.uno {display: block; top: 33px; padding: 0; }
  
  ul.sub.uno li:hover {background: #18424e;}


  .sub {position: absolute; z-index: 2;  left: 0; background: #105e72; width: 115px; border: none;}


/* ==========================================================================
   INTERIOR
   ========================================================================== */
    
    .miga {background: url(../img/fnd-miga.png) repeat-x; height: 49px;}
    .miga a {color: #6c6c6c;}

    .miga .center p {text-align: right;}
    .separador {background: url(../img/separador-int.png) no-repeat center top; height: 12px;}
    
    .contenido {background: #fff url(../img/fnd-content.png) top repeat-x; padding: 20px 0 0; }
    .contenido h2 {font-size: 30px; font-weight: bold; color: #126a85; text-transform: uppercase; border-left: 40px solid #126a85; padding: 0 0 0 20px; margin-bottom: 30px; }

    figure { position: relative;}
    figure img {border: 3px solid #fff;}
    figure.izq {float: left;}
    figure.der {float: right; margin: 0 0 0 20px }
    .contenido p {font-size: 15px;}
    
    .productos figure:hover span{background: url(../img/magnify.png) center center no-repeat; display: block; width: 300px; height: 300px; position: absolute; top: 0; left: 0;}
    

    .list li {color: #6c6c6c; font-size: 15px; list-style: inside;}
  
  /* ==========================================================================
   PRODUCTOS
   ========================================================================== */
  .tit-int {text-align: center; text-transform: uppercase; font-size: 30px; padding-bottom: 20px  }
  .productos {overflow: hidden; padding: 40px 15px;}
  .productos li {float: left; margin: 0 0 10px 10px; list-style: none; position: relative; display: table;}
  .productos li span {display: none}
  .productos li:hover span { display: block; background: url(../img/hover.png) repeat; width: 200px; height: 150px;position: absolute; 
    top: 0; left: 0; padding: 50px 0 0;}


  /* ==========================================================================
   MENU FLOTANTE
   ========================================================================== */

  .menu-float {position: fixed; background: #000; right: 0; top: 20%; width: 150px; height: 150px; z-index: 2; border-radius: 50px; border: 2px solid #dadada;}
  .menu-float ul {padding: 10px; margin: 0;}
  .menu-float li {list-style: none; text-transform: uppercase; margin: 0 0 10px; text-align: center;}
  .menu-float li a {color: #fff; text-decoration: none;}
  
  /* ==========================================================================
   FOOTER INTERIOR
   ========================================================================== */
  footer.int iframe {float: right; margin: 10px 0 0; }
  .ventas.int {float: left; width: 350px;}

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

/*
 * Hide visually and from screen readers
 */

.hidden {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 */

.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:
 * https://www.drupal.org/node/897638
 */

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

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

.carousel-control-next-icon, .carousel-control-prev-icon {
  width: 40px;
  height: 40px;
}



.movil {
  display: block;
}
.desktop {
  display: none;
}


/*ACORDEON FAQ*/
.card-header {
  background: #f2f2f2;
  padding: 0!important;
}
.btn-link, .btn-link:hover {
  color: #212121;
  text-decoration: none;
}
.btn-link span {
  float: right;
  display: block;
}
.btn-link:not(.collapsed) {
  background: #888;
  color: #fff!important;
  text-decoration: none;
}
.btn-link:not(.collapsed) i.rotate-icon {
  -webkit-transform: rotate(180deg)!important;
  transform: rotate(180deg)!important;
}






/* ==========================================================================
   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,
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 1.25dppx),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

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

  .logo a {
    margin: 0;
  }
  .bg-light {
    background: transparent!important;
  }
  .nav-item  {
      position: relative;
      text-transform: uppercase;
      font-size: 12px;
      cursor: pointer;
      display: block;
      background: url(../img/tab-menu.png) no-repeat;
      width: 126px;
      height: 39px;
      margin-left: 1px;
      -webkit-box-shadow: 0px 20px 20px -5px rgba(117,39,29,0.5);
      -moz-box-shadow: 0px 20px 20px -5px rgba(117,39,29,0.5);
      box-shadow: 0 20px 20px -5px rgba(117,39,29,0.5)
  }
  .navbar-nav .active {
    background: url(../img/tab-menu.png) 0 -41px no-repeat!important;
    height: 39px;
  }
  .navbar-light .navbar-nav .nav-link{
    color: #fff!important;
  }

  .movil {
    display: none;
  }
  .desktop {
    display: block;
  }
}


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

@media print {
    *,
    *:before,
    *:after,
    *:first-letter,
    *:first-line {
        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,
    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;
    }

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

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

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