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

/* ==========================================================================
   Browse Happy prompt
   ========================================================================== */
.browsehappy {
  position: absolute;
  text-align: center;
  padding: 20px 0;
  width: 100%;
  font-size: 18px;
  background-color: #ad1a40;
  color: white;
}
.browsehappy a {
  color: white;
}

/**/
.clearfix:before,
.clearfix:after {
  content: " ";
  /* 1 */
  display: table;
  /* 2 */
}

.clearfix:after {
  clear: both;
}

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

/**************************************/
/*
div div{ background:red;
height:30px;}
.container { @include container(98%); }
.uno { @include span( 1 of 4); }
.dos { @include span(3 at 2 of 4); }
.tres { @include span(4 of 4); }
*/
/**/
/*** colores ***/
/**/
/*fuentes*/
/**/
* {
  box-sizing: border-box;
}

a {
  transition: all 0.5s ease;
}

/****typo*****/
html {
  font-size: 14px;
}

body {
  font-size: 1rem;
  line-height: 1.6;
  font-family: 'Open Sans', sans-serif;
  font-style: normal;
  font-weight: 300;
}

p {
  margin: 0 0 0.8rem 0;
}

h1, h2, h3, h4 {
  margin: 1.6rem 0 0.8rem 0;
  font-weight: inherit;
  font-family: 'Open Sans', sans-serif;
  font-style: normal;
  font-weight: 600;
  /*line-height: 1;*/
}

textarea, input {
  outline: none;
}

/*
perfect fifth
lineheigth es es multiplo de 1.6 menos 0.8
*/
h1 {
  margin-top: 0;
  font-size: 5.063rem;
  line-height: 5.6rem;
}

h2 {
  font-size: 3.375rem;
  line-height: 4.0rem;
}

h3 {
  font-size: 2.25rem;
  line-height: 2.4rem;
}

h4 {
  font-size: 1.5rem;
  line-height: 1.6rem;
}

/**** end typo*****/
body {
  background-color: #67a413;
}

.intro {
  text-align: center;
}

/*****layout******/
.contenedor, .servicios, .clientes, footer {
  max-width: 95%;
  margin-left: auto;
  margin-right: auto;
}
.contenedor:after, .servicios:after, .clientes:after, footer:after {
  content: " ";
  display: block;
  clear: both;
}

.intro, .servicios, .clientes, footer {
  margin-bottom: 20px;
}

/**************/
header {
  padding: 15px 0;
  background-color: #90ba21;
}

h1.logo {
  width: 80%;
  line-height: 1;
  height: auto;
  margin: 0 auto;
}
h1.logo img {
  width: 100%;
  vertical-align: top;
  display: block;
}
h1.logo span {
  display: none;
}

nav ul {
  padding: 0;
  margin: 15px 0 0 0;
}
nav ul li {
  display: inline-block;
}

nav a {
  color: #eef4f4;
  text-decoration: none;
  font-size: 1.2rem;
  padding: 1px 5px;
}
nav a:hover {
  background-color: #67a413;
}

/**********/
#menu {
  display: none;
}

.slicknav_menu {
  display: block;
}

/**********/
/*intro*/
.intro {
  color: #eef4f4;
  background: url(../img/home2.jpg) no-repeat center;
  background-size: cover;
  position: relative;
  height: 280px;
}
.intro p {
  font-size: 1.5rem;
  line-height: 1.2;
  margin-bottom: 2rem;
}
.intro .v_centre {
  position: absolute;
  top: 50%;
  width: 100%;
  transform: translateY(-50%);
}

.bigbutton {
  padding: 15px 40px;
  font-size: 1rem;
  font-family: 'Open Sans', sans-serif;
  font-style: normal;
  font-weight: 600;
  color: #eef4f4;
  text-decoration: none;
  text-transform: uppercase;
  background: #67a413;
}

a.bigbutton:hover, a.medbutton:hover, a.generalbutton:hover {
  background: #9abd25;
}

.medbutton {
  display: block;
  clear: both;
  margin: 0px auto 20px auto;
  width: 300px;
  /*position: absolute;
  
  left: 50%;

  margin-left: -140px;
  margin-top: -80px;*/
  text-align: center;
  padding: 10px 40px;
  font-size: 1rem;
  font-family: 'Open Sans', sans-serif;
  font-style: normal;
  font-weight: 600;
  color: #eef4f4;
  text-decoration: none;
  text-transform: uppercase;
  background: #67a413;
}

/**/
/*servicios*/
.servbox {
  background-color: #17191f;
  color: #eef4f4;
  clear: both;
  text-align: center;
  /**/
}
.servbox img {
  width: 100%;
  max-width: 340px;
  margin: 0 auto;
  display: block;
}
.servbox div {
  width: 100%;
  max-width: 340px;
  height: auto;
  padding: 2rem 1rem;
  background-color: #17191f;
  margin-top: -100px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}
.servbox h2 {
  margin: 0 0 1rem 0;
  line-height: 1;
  font-size: 1rem;
  text-transform: uppercase;
}
.servbox p {
  font-size: 0.9rem;
  color: #999;
}

/*clientes*/
.clientes {
  background-color: #17191f;
  color: #eef4f4;
}

.cl_info {
  padding: 1rem 2.5%;
  text-align: center;
}
.cl_info h2 {
  line-height: 1;
  font-size: 1rem;
}

.gridclientes {
  /*padding: 0 10%;*/
    /*display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;

    img{ margin: 3px 5px;}*/
}
.gridclientes ul {
  list-style: none;
  padding: 0;
}
.gridclientes li {
  display: inline-block;
  width: 50%;
}
.gridclientes img {
  display: block;
  margin: 0 auto;
}

/**/
/***footer***/
footer {
  color: #eef4f4;
}

.contact {
  padding: 2rem;
  background-color: #17191f;
}
.contact p {
  margin: 0;
}

.bottom h2 {
  margin: 0 0 1rem 0;
  line-height: 1;
  font-size: 1.25rem;
  text-transform: uppercase;
}

.email {
  color: #eef4f4;
  text-decoration: none;
  font-size: 1.2rem;
}

.social {
  padding: 2rem;
}

.generalbutton {
  display: inline-block;
  padding: 5px 40px;
  font-size: 1rem;
  font-family: 'Open Sans', sans-serif;
  font-style: normal;
  font-weight: 600;
  color: #eef4f4;
  text-decoration: none;
  text-transform: uppercase;
  margin: 1.5rem 0 1.5rem;
  background: #67a413;
}

/*iconos*/
.itube, .iinsta, .iband, .itumblr, .icloud, .itwitt, .iface {
  background: url(../img/iconos.svg) no-repeat;
  display: inline-block;
  display: block;
  text-indent: -9999px;
  width: 40px;
  height: 40px;
  line-height: 1;
  margin-bottom: 4px;
  margin-left: -2px;
  border-radius: 50%;
}

.no-svg .itube, .no-svg .iinsta, .no-svg .iband, .no-svg .itumblr, .no-svg .icloud, .no-svg .itwitt, .no-svg .iface {
  background-image: url(../img/iconos.png);
}

.itube {
  background-position: -173px 0px;
}

.iinsta {
  background-position: -130px 0px;
}

.iband {
  background-position: -216px 0px;
}

.itumblr {
  background-position: -258px 0px;
}

.icloud {
  background-position: -88px 0px;
}

.itwitt {
  background-position: -45px 0px;
}

.iface {
  background-position: -2px 0px;
}

/****************************/
.credits {
  clear: both;
  margin: 1rem 0 0 0;
  padding-top: 0.75rem;
  text-align: right;
  font-size: 0.9rem;
  border-top: solid 1px rgba(238, 244, 244, 0.3);
}

.k a {
  color: #eef4f4;
  text-decoration: none;
}
.k a:hover {
  text-decoration: underline;
}

/**/
.imgresp {
  width: 100%;
  display: block;
}

/******internas*******/
.text {
  color: #eef4f4;
  padding: 50px 0 1rem 0;
  border-bottom: solid 1px rgba(238, 244, 244, 0.3);
  margin-bottom: 1rem;
}

.paddingme_r {
  padding: 0 20px 20px 0;
}

.txtbig {
  font-size: 1.5rem;
}

.headunderline {
  border-bottom: solid 1px rgba(238, 244, 244, 0.3);
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
  font-size: 1.5rem;
  line-height: 2rem;
  text-transform: uppercase;
}

/**/
.servintro {
  padding: 0 20px 0 0;
}

.servinfo {
  padding: 0 20px 1rem 0;
}

.servitem h3 {
  margin-top: 0.5rem;
  padding-bottom: 0.5rem;
  border-bottom: solid 1px rgba(238, 244, 244, 0.3);
}

.servthumbs {
  padding-bottom: 2rem;
}
.servthumbs img {
  width: 50%;
  display: block;
  float: left;
}

.botonfull {
  clear: both;
  background-color: #17191f;
  color: #eef4f4;
  text-align: center;
  text-decoration: none;
  width: 75%;
  float: right;
  margin-right: 0;
  font-family: 'Open Sans', sans-serif;
  font-style: normal;
  font-weight: 600;
  display: block;
  padding: 0.5rem 0;
}
.botonfull:hover {
  color: #67a413;
}

/********portafolio********/
.portitem img {
  display: block;
  width: 100%;
}

.portnav ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem 0 !important;
}
.portnav ul a {
  color: #eef4f4;
  text-decoration: none;
  display: block;
  padding: 0.5rem 0 0.5rem 10px;
}
.portnav ul a:hover {
  background-color: #90ba21;
}
.portnav ul a.current {
  background-color: #17191f;
}

.portitem {
  width: 50%;
  float: left;
  margin-bottom: 1rem;
  position: relative;
}
.portitem:nth-child(2n + 1) {
  margin-left: 0;
  margin-right: -100%;
  clear: both;
  margin-left: 0;
}
.portitem:nth-child(2n + 2) {
  margin-left: 50%;
  margin-right: -100%;
  clear: none;
}

.cap {
  background-color: #17191f;
  padding: 10px;
  position: absolute;
  bottom: -10px;
  width: 100%;
}
.cap p {
  margin: 0;
  line-height: 1.2;
  font-size: 0.8rem;
}

.address {
  font-size: 1.5rem;
}
.address a {
  color: #eef4f4;
  text-decoration: none;
  word-wrap: break-word;
}

.c_form label {
  display: block;
}
.c_form div {
  padding-bottom: 1rem;
}
.c_form button {
  display: inline-block;
  background-color: #17191f;
  color: #eef4f4;
  border: none;
  padding: 10px 40px;
}
.c_form button:hover {
  background-color: #90ba21;
}
.c_form input, .c_form textarea {
  width: 100%;
  padding: 5px;
}

/***************************************************************************/
@media only screen and (min-width: 40.063em) {
  /****typo*****/
  html {
    font-size: 15px;
  }

  /**/
  h1.logo {
    width: 180px;
    float: left;
  }

  nav {
    float: right;
  }

  nav ul {
    padding: 0;
  }
  nav ul li {
    display: inline-block;
  }

  .intro {
    height: 600px;
  }
  .intro p {
    font-size: 4rem;
    line-height: 1;
    margin-bottom: 3rem;
  }

  .contenedor, .servicios, .clientes, footer {
    max-width: 95%;
    margin-left: auto;
    margin-right: auto;
  }
  .contenedor:after, .servicios:after, .clientes:after, footer:after {
    content: " ";
    display: block;
    clear: both;
  }

  .servbox {
    width: 33.33333%;
    float: left;
    clear: none;
  }

  .servbox:last-child {
    width: 33.33333%;
    float: right;
    margin-right: 0;
  }

  .servbox div {
    height: 180px;
  }

  .bottom .colmedia, .text .colmedia {
    width: 50%;
    float: left;
  }
  .bottom .colmedia:last-child, .text .colmedia:last-child {
    width: 50%;
    float: right;
    margin-right: 0;
  }

  .servintro {
    width: 25%;
    float: left;
  }

  .serv {
    width: 75%;
    float: right;
    margin-right: 0;
  }

  .servinfo {
    width: 33.33333%;
    float: left;
  }

  .servthumbs {
    width: 66.66667%;
    float: right;
    margin-right: 0;
  }

  .gridclientes li {
    display: inline-block;
    width: 33.3%;
  }

  .headunderline {
    /*font-size: 3.375rem;
    line-height: 4rem;*/
  }

  /**/
  .portnav {
    width: 25%;
    float: left;
  }
  .portnav li {
    padding-right: 10px;
  }

  .port {
    width: 75%;
    float: right;
    margin-right: 0;
  }

  .portitem {
    width: 33.33333%;
    float: left;
  }
  .portitem:nth-child(3n + 1) {
    margin-left: 0;
    margin-right: -100%;
    clear: both;
    margin-left: 0;
  }
  .portitem:nth-child(3n + 2) {
    margin-left: 33.33333%;
    margin-right: -100%;
    clear: none;
  }
  .portitem:nth-child(3n + 3) {
    margin-left: 66.66667%;
    margin-right: -100%;
    clear: none;
  }
  .portitem img {
    width: 100%;
  }

  .contactos {
    width: 33.33333%;
    float: left;
  }

  .c_form {
    width: 33.33333%;
    float: left;
  }
}
@media only screen and (min-width: 64.063em) {
  #menu {
    display: block;
  }

  .slicknav_menu {
    display: none;
  }

  /****typo*****/
  html {
    font-size: 16px;
  }

  /**/
  /*layout*/
  .contenedor, .servicios, .clientes, footer {
    max-width: 95%;
    margin-left: auto;
    margin-right: auto;
  }
  .contenedor:after, .servicios:after, .clientes:after, footer:after {
    content: " ";
    display: block;
    clear: both;
  }

  .colmedia {
    width: 50%;
    float: left;
  }

  .colmedia:last-child {
    width: 50%;
    float: right;
    margin-right: 0;
  }

  .credits {
    max-width: 50%;
  }

  /**/
  h1.logo {
    float: left;
  }

  nav {
    float: right;
  }

  nav ul {
    padding: 0;
  }
  nav ul li {
    display: inline-block;
  }

  .servbox {
    text-align: left;
  }
  .servbox img {
    width: 50%;
    float: left;
    display: block;
    margin-top: 0;
  }
  .servbox div {
    width: 50%;
    float: left;
    padding: 2rem 1rem 0 1rem;
    margin-top: 0;
  }

  .medbutton {
    position: absolute;
    width: 280px;
    left: 50%;
    margin-left: -140px;
    margin-top: -80px;
  }

  .email {
    color: #eef4f4;
    text-decoration: none;
    font-size: 1.5rem;
  }

  /**/
  .portnav {
    width: 16.66667%;
    float: left;
  }

  .port {
    width: 83.33333%;
    float: right;
    margin-right: 0;
  }

  .portitem {
    width: 20%;
    float: left;
  }
  .portitem:nth-child(5n + 1) {
    margin-left: 0;
    margin-right: -100%;
    clear: both;
    margin-left: 0;
  }
  .portitem:nth-child(5n + 2) {
    margin-left: 20%;
    margin-right: -100%;
    clear: none;
  }
  .portitem:nth-child(5n + 3) {
    margin-left: 40%;
    margin-right: -100%;
    clear: none;
  }
  .portitem:nth-child(5n + 4) {
    margin-left: 60%;
    margin-right: -100%;
    clear: none;
  }
  .portitem:nth-child(5n + 5) {
    margin-left: 80%;
    margin-right: -100%;
    clear: none;
  }
  .portitem img {
    width: 100%;
  }
}
/* min-width 1025px, large screens */
@media only screen and (min-width: 90.063em) {
  /****typo*****/
  html {
    font-size: 18px;
  }

  /**/
  /*layout*/
  .contenedor, .servicios, .clientes, footer {
    max-width: 1440px;
    margin-left: auto;
    margin-right: auto;
  }
  .contenedor:after, .servicios:after, .clientes:after, footer:after {
    content: " ";
    display: block;
    clear: both;
  }

  /**/
  .servbox h2 {
    font-size: 1.2rem;
  }
  .servbox p {
    font-size: 0.75rem;
  }

  .servthumbs img {
    width: 25%;
  }
}
/* min-width 1441px, xlarge screens */
/* min-width 1921px, xxlarge screens */
