@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,600i,700');
@import url("https://use.fontawesome.com/releases/v5.0.6/css/all.css");

*, html, body {
  font-family: 'Open Sans', sans-serif;
}
h1,h2,h3,h4,h5,h6 {
  font-family: 'Open Sans', sans-serif;
  font-weight: '600';
}

.clearfix:after {
  visibility: hidden;
  display: block;
  font-size: 0;
  content: " ";
  clear: both;
  height: 0;
}
.clearfix { display: inline-block; }
/* start commented backslash hack \*/
* html .clearfix { height: 1%; }
.clearfix { display: block; }
/* close commented backslash hack */

.content {
	padding: 64px 0px;
	background-color: #e9e9e9;
	margin-bottom: 2px;
}
.content-first {
  padding: 64px 0px;
  background-color: #ffffff;
}
.paraph { font-size: 0.9em; }
.paraph.subtitle {
  color: rgba(240,240,240,1);
  font-size: 1.1em;
}
.hdl1 {
  font-size: 1.6em;
  color: #fff;
}
.hdl2 {
  font-size: 1.6em;
  color: #1e1e1e;
  font-style: italic;
}
.hdl3 {
  font-size: 1.4em;
  color: #434343;
}
.hdl-subline {
  display: block;
  width: 100%;
  height: 2px;
  background-color: #ab0707;
  margin-bottom: 8px;
}
/* Menu de navegación */
.cd-auto-hide-header {
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background-color: rgba(0,0,0,0.4);
  /* Force Hardware Acceleration */
  -webkit-transform: translateZ(0);
          transform: translateZ(0);
  will-change: transform;
  -webkit-transition: -webkit-transform .5s;
  transition: -webkit-transform .5s;
  transition: transform .5s;
  transition: transform .5s, -webkit-transform .5s;
  border-bottom: 1px solid rgba(255,255,255,0.4);
}
.cd-auto-hide-header::after {
  clear: both;
  content: "";
  display: block;
}
.cd-auto-hide-header.is-hidden {
  -webkit-transform: translateY(-100%);
      -ms-transform: translateY(-100%);
          transform: translateY(-100%);
}
@media only screen and (min-width: 1024px) {
  .cd-auto-hide-header {
    height: 80px;
  }
}

.cd-auto-hide-header .logo,
.cd-auto-hide-header .nav-trigger {
  position: absolute;
  top: 50%;
  bottom: auto;
  -webkit-transform: translateY(-50%);
      -ms-transform: translateY(-50%);
          transform: translateY(-50%);
}

.cd-auto-hide-header .logo {
  left: 5%;
}
.cd-auto-hide-header .logo a, .cd-auto-hide-header .logo img {
  display: block;
  width: 180px;
}

.cd-auto-hide-header .nav-trigger {
  /* vertically align its content */
  display: table;
  height: 100%;
  padding: 0 1em;
  font-size: 0.7rem;
  text-transform: uppercase;
  color: #25283D;
  font-weight: bold;
  right: 0;
  border-left: 1px solid #f2f2f2;
}
.cd-auto-hide-header .nav-trigger span {
  /* vertically align inside parent element */
  display: table-cell;
  vertical-align: middle;
  color: #ffffff;
}
.cd-auto-hide-header .nav-trigger em, .cd-auto-hide-header .nav-trigger em::after, .cd-auto-hide-header .nav-trigger em::before {
  /* this is the menu icon */
  display: block;
  position: relative;
  height: 2px;
  width: 22px;
  background-color: #ffffff;
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
}
.cd-auto-hide-header .nav-trigger em {
  /* this is the menu central line */
  margin: 6px auto 14px;
  -webkit-transition: background-color .2s;
  transition: background-color .2s;
}
.cd-auto-hide-header .nav-trigger em::before, .cd-auto-hide-header .nav-trigger em::after {
  position: absolute;
  content: '';
  left: 0;
  -webkit-transition: -webkit-transform .2s;
  transition: -webkit-transform .2s;
  transition: transform .2s;
  transition: transform .2s, -webkit-transform .2s;
}
.cd-auto-hide-header .nav-trigger em::before {
  /* this is the menu icon top line */
  -webkit-transform: translateY(-6px);
      -ms-transform: translateY(-6px);
          transform: translateY(-6px);
}
.cd-auto-hide-header .nav-trigger em::after {
  /* this is the menu icon bottom line */
  -webkit-transform: translateY(6px);
      -ms-transform: translateY(6px);
          transform: translateY(6px);
}

.cd-auto-hide-header.scrolleabled {
  background: #f5f5f5;
  box-shadow: 1px 0px 12px rgba(0,0,0,0.1);
}
.cd-auto-hide-header.scrolleabled > .cd-primary-nav > ul a {
  color: rgba(28,23,109,1);
}
.cd-auto-hide-header.scrolleabled > .cd-primary-nav > ul a:hover {
  color: rgba(255,2,61,1);
}

@media only screen and (min-width: 960px) {
  .cd-auto-hide-header .nav-trigger {
    display: none;
  }
}

.cd-auto-hide-header.nav-open .nav-trigger em {
  /* transform menu icon into a 'X' icon */
  background-color: rgba(255, 255, 255, 0);
}
.cd-auto-hide-header.nav-open .nav-trigger em::before {
  /* rotate top line */
  -webkit-transform: rotate(-45deg);
      -ms-transform: rotate(-45deg);
          transform: rotate(-45deg);
}
.cd-auto-hide-header.nav-open .nav-trigger em::after {
  /* rotate bottom line */
  -webkit-transform: rotate(45deg);
      -ms-transform: rotate(45deg);
          transform: rotate(45deg);
}
.cd-primary-nav {
  display: inline-block;
  float: right;
  height: 100%;
  padding-right: 5%;
}
.cd-primary-nav > ul {
  position: absolute;
  z-index: 2;
  top: 60px;
  left: 0;
  width: 100%;
  background-color: #ffffff;
  display: none;
  box-shadow: 0 14px 20px rgba(0, 0, 0, 0.2);
  margin: 0;
}
.cd-primary-nav > ul li {
  list-style: none;
}
.cd-primary-nav > ul li:hover {
  background: #e9e9e9;
}
.cd-primary-nav > ul a {
  /* target primary-nav links */
  font-family: "Poppins" , sans-serif;
  display: block;
  height: 50px;
  line-height: 50px;
  padding-left: 5%;
  font-size: 0.7rem;
  color: #000000;
  border-top: 1px solid #f2f2f2;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 1px;
}
.cd-primary-nav > ul a:hover {
  color: #ec2121;
}
/* .cd-primary-nav > ul a:hover, .cd-primary-nav > ul a.active {
	background: -webkit-linear-gradient(left, #8F3985, #FF7400);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
} */

@media only screen and (min-width: 960px) {
  .cd-primary-nav {
    /* vertically align its content */
    display: table;
  }
  .cd-primary-nav > ul {
    /* vertically align inside parent element */
    display: table-cell;
    vertical-align: middle;
    /* reset mobile style */
    position: relative;
    width: auto;
    top: 0;
    padding: 0;
    background-color: transparent;
    box-shadow: none;
  }
  .cd-primary-nav > ul::after {
    clear: both;
    content: "";
    display: block;
  }
  .cd-primary-nav > ul li {
    display: inline-block;
    float: left;
    margin-right: 1.5em;
    padding-top: 12px;
  }
  .cd-primary-nav > ul li:hover {
    background: none;
  }
  .cd-primary-nav > ul li:last-of-type {
    margin-right: 0;
  }
  .cd-primary-nav > ul a {
    /* reset mobile style */
    height: auto;
    line-height: normal;
    padding: 0;
    border: none;
    color: #ffffff;
  }
}
.nav-open .cd-primary-nav ul,
.cd-primary-nav ul:target {
  /* 
  	show primary nav - mobile only 
  	:target is used to show navigation on no-js devices
  */
  display: block;
}

@media only screen and (min-width: 960px) {
  .nav-open .cd-primary-nav ul,
  .cd-primary-nav ul:target {
    display: table-cell;
  }
}
.content-header {
  margin-top: 36%;
}
.content-about {
  position: relative;
  background: rgba(255,255,255,1);
  padding: 24px;
  box-shadow: 0px 0px 16px rgba(0,0,0,0.2);
  border-bottom: 2px solid #ab0707;
}
.content-about div { 
  overflow: hidden;
  max-height: 520px;
}
.content-about div+[data-readmore-toggle] {
  position: absolute;
  z-index: 1;
  bottom: -24px;
  left: 50%;
  margin-left: -24px;
  display: block;
  width: 48px;
  height: 48px;
  background-color: #fff;
  color: #adadad;
  box-shadow: 0 0 12px rgba(0,0,0,0.3);
  border-radius: 50%;
  cursor: pointer;
  
}
.img-header {
  position: relative;
  background: url(../images/punteras1.jpg) top center no-repeat;
  -webkit-background-size: cover;
  background-size: cover;
  width: 100%;
  height: 650px;
}

.img-header:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4) url(../images/subtle-dots-dark.png);
}

#services {
  position: relative;
  background: url(../images/subtle-dots-dark.png), url(../images/punteras4.jpg) bottom center no-repeat fixed;
  -webkit-background-size: auto, cover;
  background-size: auto, cover;
}
#services:before {
  content: "";
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255,255,255,0.8);
}

#client {
	width: 100%;
}
.grid-masonry {
  margin: 0px auto;
}
.item-client {
	width: 168px;
	height: 80px;
	margin-left: 2px;
	margin-bottom: 2px;
}
.item-client img {
	display: block;
	margin: auto;
}

/* contactanos */

.input-style,
.text-style,
.select-style {
  box-shadow: none;
  border: none;
  border-bottom: 2px solid #cccccc;
}
.input-style:focus,
.text-style:focus,
.select-style:focus {
  border: none;
  border-bottom: 2px solid red;
}
#btnSubmit {
  display: inline-block;
  padding: 16px 48px;
  background: #ec2121;
  border-bottom: 2px solid #ab0707;
  float: right;
}

.hide{
    display: none;
}
.ajaxgif{
    position: absolute;
    right: -25px;
    top: 35px;
}
.msg{
  width: 100%;
    font-size: 0.8em;
  font-weight: 600;
  padding: 10px;
    line-height: 1.2;
    padding: 0 10px;
    /* position: absolute; */ 
    z-index: 2;
    top: 75px;
    right: 0px;
    /*min-width: 121px;*/
}
.msg_ok{
    color: #589D05;
}
.msg_error{
    color: red;
}
.txt-mail { background-color: #ccc;width: 50%;margin: auto; padding: 20px;}
#formulario {
  position: relative;
}
#formulario .ultimo{
    margin-bottom: 0;
    position: relative;
    display: block;
}

.footer {
  position: relative; 
  background: rgba(0,0,0,0.7) url(../images/diagmonds.png);
  padding: 36px 0px;
}
.footer p {
  font-size: 0.7em;
  color: #ffffff;
}

.phone-contact {
  margin-top: 24px;
  background:#f5f5f5;
  border: 1px solid #ccc;
  border-radius:5px;
  padding:12px;
}
.phone-contact span {
  display: inline-block;
  float: right;
  background-color: #ffffff;
  padding: 0px 12px;
  border: 1px solid #ccc;
  border-radius: 3px;
  font-size: 0.9em;
}
.phone-contact a {
  display: none;
}

.footpage {
  display:block;
  width: 185px;
  height: 16px;
  font-size: 10px;
  position: absolute;
  bottom: 0px;
  right: 0px;
  line-height: 1.3;
  font-weight: 700;
  text-transform: uppercase;
  text-align: center;
  border-top-left-radius: 5px;
  padding: 0px 4px;
  color: rgba(160,160,160,1);
  text-shadow: 1px 1px 0px #000;
}
.footpage a {float: right;}
.footpage a:after {
  content: "\f35d";
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  font-family: "Font Awesome 5 Free";
  padding-left: 4px;
}
.button.btnFb {
  background:#3b5998;
  border-bottom: 2px solid #313F7F;
}

/* MEDIA QUERIES */
@media only screen and (max-width: 460px) {
  .content-header { margin-top: 65%;  }
  .content-header h1 { font-size: 1.2em; }
  .content-header p.paraph.subtitle { font-size: 14px; }
  .content-about {
    width: 90%;
    margin: 0px auto;
  }

}
@media only screen and (max-width: 800px) {
  #formulario {
    display: block;
    padding-bottom: 30px;
/*     border-bottom: 1px solid #ccc; */
  }
  .content-header {
    margin-top: 42%;
    background-color: rgba(0,0,0,0.4);
    padding: 16px;
  }
  .phone-contact span { display: none; }
  .phone-contact a {
    display: inline-block;
    float: right;
    background-color: #ffffff;
    padding: 0px 12px;
    border: 1px solid #ccc;
    border-radius: 3px;    
  }
}

