@charset "UTF-8";
/* Global styles */
/* VARIABLES
 * ============================== */
/* Colors */
/* Typography */
/* Screen media breakpoints */
/* Catálogo */
/* Base mobile style */
/*! Based on HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */
html,
button,
input,
select,
textarea {
  color: #4d4d4d;
}

html {
  font-size: 1em;
  line-height: 1.4;
}

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #6d8082;
  margin: 1em 0;
  padding: 0;
}

audio,
canvas,
img,
video {
  vertical-align: middle;
}

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

textarea {
  resize: vertical;
}

.browsehappy {
  margin: 0.2em 0;
  background: #2B6FD1;
  color: #fff;
  padding: 0.2em 0;
}

/* GLOBAL
 * ============================== */
h1, .h1,
h2, .h2,
h3, .h3,
h4, .h4,
h5, .h5,
h6, .h6 {
  color: #4d4d4d;
  font-family: Bitter, serif;
  font-weight: 700;
}

figure {
  margin: 0;
}

iframe {
  border: none;
}

/* STRUCTURE
 * ============================== */
body {
  background: #F5F5F3;
  border-top: 8px solid #2B6FD1;
  color: #4d4d4d;
  font: 16px/26px Raleway, Helvetica, sans-serif;
}

.wrapper {
  width: 90%;
  margin: 0 5%;
}

.loader {
  margin: 0 auto;
  height: 20em;
  width: 20%;
  text-align: center;
  padding: 10em 2em 2em;
  display: block;
}

svg path,
svg rect {
  fill: #2B6FD1;
}

/* HEADER
 * ============================== */
#header-container {
  background: #2B6FD1;
}

#logo {
  margin: 0;
  padding: 0;
}
#logo a {
  background: url(../img/header-logo.png) center center;
  display: block;
  width: 230px;
  height: 130px;
  margin: 0 auto;
}

/* Menu */
.tinynav {
  display: block;
  width: 100%;
  padding: 0.5em 1em;
  color: #2B6FD1;
  font-weight: 700;
  border: none;
}
.tinynav option {
  padding: 0.5em 1em;
}

#nav {
  display: none;
}

/* Main
 * ============================== */
.main-container {
  background: #F5F5F3;
}

.main {
  padding: 60px 0 30px 0;
}

.main article h1 {
  font-size: 2em;
}

.page-content {
  background: #fff;
  border-top: 2px solid #2B6FD1;
  margin-bottom: 30px;
  padding: 24px;
}
.page-content:last-child {
  margin: 0;
}
.page-content h2 {
  color: #2B6FD1;
  font-size: 1.500em;
  margin: 0 0 24px 0;
}
.page-content h3 {
  margin-top: 0;
}
.page-content .text-columns {
  -webkit-columns: 1 768px;
  -moz-columns: 1 768px;
  columns: 1 768px;
}

.page-section {
  margin-top: 20px;
}

.pagination {
  margin: 30px 0 0 0;
}
.pagination a {
  color: #2B6FD1 !important;
}
.pagination .active a {
  background: #2B6FD1 !important;
  color: #fff !important;
}

.main aside {
  color: white;
  padding: 0px 5% 10px;
}

#featured-content .featured-box {
  margin: 0 auto 20px;
  max-width: 480px;
}
#featured-content .featured-box:hover {
  text-decoration: none;
}
#featured-content .featured-box:hover .featured-text {
  background-color: #e9e9e5;
}
#featured-content .featured-box:hover .featured-text h4,
#featured-content .featured-box:hover .featured-text span {
  color: #2B6FD1;
}
#featured-content figure {
  margin: 0;
  width: 100%;
  height: 100%;
}
#featured-content .featured-text {
  background: #fff;
  padding: 20px;
  text-align: center;
  width: 100%;
}
#featured-content .featured-text h4 {
  color: #2B6FD1;
}
#featured-content .featured-text span {
  color: #6d8082;
  font-family: Raleway, Helvetica, sans-serif;
  font-wight: 300;
}

/* Catalog */
.catalogo-container {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-flow: row wrap;
      -ms-flex-flow: row wrap;
          flex-flow: row wrap;
}
.catalogo-container .thumb-container {
  max-width: 200px;
  width: 20%;
}
@media (max-width: 1030px) {
  .catalogo-container .thumb-container {
    width: 25%;
  }
}
@media (max-width: 600px) {
  .catalogo-container .thumb-container {
    width: 33.33%;
  }
}
@media (max-width: 400px) {
  .catalogo-container .thumb-container {
    width: 50%;
  }
}

.thumbnail {
  margin: 0;
  padding: 2px;
  border: none;
  border-radius: 0;
  position: relative;
}
.thumbnail .caption {
  position: absolute;
  z-index: 250;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
      -ms-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  width: 100%;
  padding: 1em;
  opacity: 0;
  transition: all 0.3s ease;
}
.thumbnail:before {
  content: '';
  position: absolute;
  background-color: #fff;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 150;
  opacity: 0;
  transition: all 0.3s ease;
}
.thumbnail:hover .caption {
  opacity: 1;
  transition: all 0.3s ease-in 0.2s;
}
.thumbnail:hover:before {
  opacity: 0.75;
  transition: all 0.3s ease;
}
.thumbnail .thmb--img {
  background-size: contain;
  background-position: center center;
  background-repeat: no-repeat;
  height: 200px;
  width: 200px;
}
.thumbnail .thmb--img.img_cover {
  background-size: cover;
}

.text-caption {
  font-size: 1.1em;
  line-height: 1.125;
  font-weight: 700;
  text-align: center;
  color: #2B6FD1;
}

/* Trabajos */
.trabajos h4 {
  text-align: center;
  transition: all 0.2s ease;
}
.trabajos .thumbnail {
  min-height: 250px;
  margin-bottom: 1em;
  transition: color 0.2s ease;
}
@media (max-width: 481px) {
  .trabajos .thumbnail {
    min-height: 220px;
  }
}
.trabajos .thumbnail:before {
  background-color: transparent;
}
.trabajos .thumbnail:hover {
  border-bottom: 2px solid #2B6FD1;
  text-decoration: none;
  transition: all 0.2s ease;
}
.trabajos .thumbnail:hover h4 {
  color: #2B6FD1;
  border: none;
  transition: color 0.2s ease;
}

.empresa_img {
  margin: 1rem auto;
}

/* FancyBox */
.fancybox-close {
  top: -36px;
  right: 0;
  background: none #2B6FD1;
  font-size: 36px;
  color: #FFFFFF;
  line-height: 1;
  text-align: center;
  transition: color 0.2s ease;
}
.fancybox-close:before {
  content: "\00d7";
}
.fancybox-close:hover {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.2s ease;
}

.fancybox-skin {
  background: none;
  border-radius: none;
  padding: 0 !important;
}

.fancybox-opened .fancybox-skin {
  box-shadow: none;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
}

.fancybox-title {
  font: Bitter, serif;
}

.fancybox-title-float-wrap {
  bottom: auto;
  margin-top: 0;
}

.fancybox-title-float-wrap .child {
  background: #2B6FD1;
  border-radius: 0;
  text-shadow: none;
  font-weight: 700;
}

.fancybox-title-float-wrap h5 {
  color: #fff;
}

/* Google Maps */
.embed-responsive,
.embed-responsive-16by9 {
  padding-bottom: 41%;
  margin-bottom: 1.5rem;
}

/* Contact form */
input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  padding: 0.75rem;
  margin-bottom: 1.5rem;
}
input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
  outline: none;
}

input[type="submit"] {
  background: #F5F5F3;
  border: none;
  color: #4d4d4d;
  width: 100%;
  padding: 10px 0;
}
input[type="submit"]:hover, input[type="submit"]:focus {
  background: #2B6FD1;
  color: #fff;
}

/* Footer
 * ============================== */
#footer {
  border-top: 2px solid #2B6FD1;
  background: #F5F5F3;
  color: #6d8082;
  font-size: 0.875em;
  margin-top: 40px;
  padding: 20px 0;
  text-align: center;
}
#footer a {
  color: #6d8082;
}
#footer a:hover {
  text-decoration: underline;
}
#footer p {
  margin: 0;
}
#footer .social-facebook {
  background: url(../img/social-facebook.png) no-repeat center center;
  float: left;
  font-size: 0;
  display: block;
  margin: 5px 0 0 10px;
  width: 16px;
  height: 16px;
}
#footer .social-facebook:hover {
  opacity: 0.8;
}

/* IE Fixes */
.ie7 .title {
  padding-top: 20px;
}

/* ==========================================================================
   Helper classes
   ========================================================================== */
.ir {
  background-color: transparent;
  border: 0;
  overflow: hidden;
  *text-indent: -9999px;
}

.ir:before {
  content: "";
  display: block;
  width: 0;
  height: 150%;
}

.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;
}

/* Large phone & vertical tablets */
@media only screen and (min-width: 480px) {
  /* STRUCTURE
   * ============================== */
  /* HEADER
   * ============================== */
  /* IE Fixes */
  nav ul li {
    display: inline;
  }

  .oldie nav a {
    margin: 0 0.7%;
  }
}
/* Horizontal tablets & desktop */
@media only screen and (min-width: 768px) {
  /* STRUCTURE
   * ============================== */
  .wrapper {
    max-width: 960px;
    margin: 0 auto;
  }

  /* HEADER
   * ============================== */
  #header-container {
    background: #fff;
  }

  #logo a {
    margin: 0;
  }

  /* Nav */
  #logo {
    float: left;
  }

  #navbar {
    float: right;
  }

  #nav {
    display: block;
    margin: 41px 0;
  }
  #nav li {
    display: inline-block;
  }
  #nav li a {
    color: #6d8082;
    font-family: Raleway, Helvetica, sans-serif;
    font-size: 1.125em;
    font-weight: 300;
    padding: 10px;
  }
  #nav li:hover a, #nav li.active a {
    background-color: #e9e9e5;
    border-bottom: 2px solid #2B6FD1;
    color: #2B6FD1;
  }
  #nav .dropdown {
    position: relative;
  }
  #nav .dropdown > .submenu {
    display: none;
  }
  #nav .dropdown > .submenu li {
    display: block;
  }
  #nav .dropdown:hover > .submenu, #nav .dropdown:focus > .submenu {
    display: block;
    position: absolute;
    left: 0;
    top: auto;
    padding: 0;
    margin: 0;
    z-index: 999;
    min-width: 200px;
  }
  #nav .dropdown:hover > .submenu a, #nav .dropdown:focus > .submenu a {
    clear: both;
    padding: 10px;
    background-color: #e9e9e5;
    border-bottom: none;
    color: #2B6FD1;
  }
  #nav .dropdown:hover > .submenu a:hover, #nav .dropdown:focus > .submenu a:hover {
    background: #2B6FD1;
    color: #fff;
  }

  .tinynav {
    display: none;
  }

  /* Main
   * ============================== */
  .home-hero {
    overflow: hidden;
  }
  .home-hero img {
    display: block;
    margin: 0 auto;
  }

  .page-content .text-columns {
    -webkit-columns: 2 435px;
    -moz-columns: 2 435px;
    columns: 2 435px;
  }

  .nav-secundaria {
    background: #F5F5F3;
    margin-bottom: 10px;
  }
  .nav-secundaria .nav-tabs {
    border: none;
  }
  .nav-secundaria .nav-tabs li.active > a {
    background: #F5F5F3 !important;
  }
  .nav-secundaria a {
    border: none !important;
    border-radius: 0 !important;
    font-size: 14px;
    margin-right: 0;
    padding: 10px !important;
  }

  /* Contact form */
  textarea {
    height: 170px;
  }

  input[type="submit"] {
    float: right;
    width: auto;
    padding: 10px 20px;
  }

  .fancybox-close {
    top: 0;
    right: -36px;
  }

  /* Footer
   * ============================== */
  #footer {
    margin-bottom: 20px;
    text-align: left;
  }
  #footer .copyright {
    float: left;
  }
  #footer .made-by {
    float: right;
  }
}
