/*! HTML5 Boilerplate v5.0 | MIT License | http://h5bp.com/ */

html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

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

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

textarea {
    resize: vertical;
}

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


/* ==========================================================================
   Author's custom styles
   ========================================================================== */

body {x-overflow: hidden;}
.content {width:960px; margin: auto}
form textarea, form input{box-sizing: border-box; -moz-box-sizing: border-box;}
input, textarea {width: 100%; border: none; padding: 12px; margin-bottom: 10px}
a {text-decoration: none; color: #000}
a, a:hover, a:active, a:focus {outline:0;}
nav ul {margin: 0; padding: 0; list-style: none;}
nav ul li {display: inline-block;}
img {width: auto; height: auto; max-width: 100%}
input[type='checkbox'] {display: inline-block; width: inherit;}
input[type='radio'] {display: inline-block; width: inherit;}
/*
* {
-webkit-transition: all 0.5s;
-moz-transition: all 0.5s;
-o-transition: all 0.5s;
-ms-transition: all 0.5s;
transition: all 0.5s;}
*/
body {font-family: 'Raleway', sans-serif; font-size: 14px; overflow-x: hidden}
header {margin: 30px 0 60px 0; font-size: 0.9em; font-weight: 300;}
#logo {float: left;}
#lang, nav {float: right; text-align: right; width: 50%; margin-top: -15px; }
#lang {opacity: 0}
header #lang a {color: #808080}
header nav {margin-top: 10px}
header nav a {display: inline-block; margin-left: 20px}
header nav a:hover {font-weight: bold;}
header #lang a:hover {font-weight: bold;}
header .content {position: relative;}

#redes {position: fixed; margin-left: -580px; left: 50%; width: 80px; top: 122px; z-index: 99}
#redes a {display: block; text-align: left; font-style: italic;}
#redes a:hover {text-decoration: line-through;}
#m-icon {position: fixed; margin-right: -515px; right: 50%; top: 130px; cursor: pointer; z-index: 98;
}

#m-icon:hover {
  animation-name: bounce;
  transform-origin: center bottom;
}

#intro h2 {font-weight: 300; font-size: 2em; line-height: 1.4em}
#intro .content {position: relative;}
#frase h3 {font-weight: bold; font-size: 4em; text-align: right; line-height: 1em; margin: 133px 0 120px;}

#grid {margin-bottom: 40px}
#grid .content {overflow: hidden;}
.fixgrid {width: 980px}
.project {display: inline-block; vertical-align: bottom; margin-right: 20px; margin-bottom: 20px}
.project {font-size: 0.9em; line-height: 1em}
.project h4, .project p {margin: 0}
.project h4 {margin-bottom: 5px}
.project img {margin-bottom: 10px}

a.view-more {display: block; float: right; padding: 15px 40px; border:solid 1px #000; text-align: center; min-width: 120px; font-size: 0.8em; font-weight: bold;}
/*#grid a.view-more {margin-right: 20px}*/

footer {background: #000; color: #fff; padding: 40px 0; margin-top: 40px; font-size: 0.9em}
footer .colum {width: 22%; float: left; margin-right: 6%}
footer h6 {font-weight: bold; font-size: 1em; margin: 0}
footer a {color: #fff}
.colum:nth-child(4) {margin-right: 0; width: 16%;}


#points {
width: 700px;
position: absolute;
top: 140px;
left: -245px;
}
/*
.point {height: 5px; width: 5px; background: #000; border: solid 20px rgba(255, 255, 255, 1); margin: 3px; float: left;
-webkit-border-radius: 50%;
border-radius: 50%;
-webkit-transition: all 0.2s;
-moz-transition: all 0.2s;
-o-transition: all 0.2s;
-ms-transition: all 0.2s;
transition: all 0.2s;
}*/
.point-cover {position: relative; height: 70px; width: 70px; overflow: hidden; float: left;}
.point {
  background: url('../img/dot.png') no-repeat center center; 
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  height: 70px; width: 70px; float: left;
-webkit-transition: all 0.2s;
-moz-transition: all 0.2s;
-o-transition: all 0.2s;
-ms-transition: all 0.2s;
transition: all 0.2s;
z-index: 999;


}

.point:hover {
-moz-transform: scale(4);
-webkit-transform: scale(4);
-o-transform: scale(4);
-ms-transform: scale(4);
transform: scale(4);
z-index: 998;
}


.post {position: relative; margin-bottom: 40px}
/*.post .title {position: absolute; font-size: 1.5em; left: 10%; width: 200px; top: 50px}*/
.post .title {font-size: 1.2em;}
.post .title h3 {margin: 0;}
/*.post .title .date {font-size: 0.7em; color: 808080; margin-top: 20px}
.post img {margin-left: 20%; float: left;}*/
.post .title .date {font-size: 0.7em; color: #808080;}
.post img {float: left; margin-right: 20px; width: 540px;}
/*.post .desc {float: right; width: 350px; font-size: 0.9em; text-align: justify; margin-top: 160px;}*/
.post .desc {font-size: 0.9em; text-align: justify; margin-top: 20px;}
.post .desc a {font-weight: bold; vertical-align: middle;}
.post .desc a span {font-size: 1.5em}

#post-list {}
#post-list .post {width: 45%; float: left; margin-bottom: 20px;}
#post-list .post:nth-child(2n+2) {float: right;}

#post-list .post .title h3 {margin: 20px auto; font-size: 1em;}
#post-list img {float: none;}

#history {color: #808080;
    left: 50%;
    margin-left: -580px;
    position: fixed;
    top: 200px;
    width: 80px;
    z-index: 99;
}
#history a {display: block; color: #808080}
/*#history span {font-weight: bold; display: block; padding-left: 20px; background: url(../img/down.png) left center no-repeat;}
#history ul {margin: 0; display: block; padding: 0; list-style: none;}
#history ul li {display: block;}*/

#post-article {width: 71%; text-align: justify; margin-right: 3%; margin-left: 5%;}
#post-article h2 {font-size: 3em; margin: 0}
.date-autor {margin: 10px 0 20px 0; color: #808080; font-weight: lighter;}
.frase-post {font-size: 1.2em; font-weight: bold; font-style: italic;}

#post-article .compartir {text-align: center;}

/*#post-list {display: inline-block; width: 86%; margin-right: 3%}
#post-list .post-img {margin-left: 15%}
#post-list .post .title {left: 0}
#post-list .post .desc {width: 250px; margin-top: 115px;}*/

#post-grid .content {position: relative;}
#related {width:  20%; position: relative;}
#related {width: 17%;}
#related img {max-width: 100%}
#related h5 {font-weight: 300; color: #808080; font-size: 0.9em; margin-top: 5px}
#related h2 {font-weight: bold; font-style: italic; font-size: 1em}
#related ul {list-style: none; margin: 0; padding: 0;}
#related ul li {margin-bottom: 15px}
#related ul li a {color: #808080; font-size: 0.9em}

#post-article, #related, #history {display: inline-block;}
#post-article {display: block; float: left;}
#related-posts {}

#frase-contacto {}
#frase-contacto p {margin: 0}
#frase-contacto span {display: block; background: #000; color: #fff; text-align: center; font-weight: bold; text-transform: uppercase; font-size: 2em; margin-bottom: 10px; letter-spacing: 0.2em; padding: 15px 0}

#contacto .fleft {float: left; width: 48%;}
#contacto .fright {float: right; width: 48%}
#contacto input, #contacto textarea {border: solid 1px #A8A8A8;}
#contacto form {width: 80%}
#contacto .half {width: 48%; float: left;}
#contacto .half + .half {width: 48%; float: right;}
#contacto input[type='submit'], #contacto div.wpforms-container-full .wpforms-form button[type="submit"] {width: auto; background: #000; color: #fff; padding:5px 20px; border: none}

.portafolio-post, .gray-right, .gray-left #portafolio-proyecto {text-align: justify;}
.portafolio-post .main-img img {width: 100%}
.info-proyecto h1 {margin: 0; margin-top: 15px; font-size: 1.5em}
.info-proyecto .cat {margin: 0; font-style: italic;}
.intro {width: 70%; clear: right; vertical-align: text-top; margin-left: 30%; padding-top: 60px;
-moz-column-count: 2;
-moz-column-gap: 20px;
-webkit-column-count: 2;
-webkit-column-gap: 20px;
column-count: 2;
column-gap: 20px;
}

.intro p:first-child {margin-top: 0}

.cat a {display: inline-block; padding-right: 8px; margin-right: 8px; border-right: solid 1px #333; text-align: justify;}
.cat a:last-child {padding-right: 0; margin-right: 0; border-right: none;}

.gray-left {background: #EEEEEE; padding: 40px; margin: 40px 0}
.gray-left img {float: right;; width: 70%; margin-left:5%}
/*.gray-left p {width: 25%; float: left;}*/

.gray-right {background: #EEEEEE; padding: 40px 0; margin: 40px 0}
.gray-right img {float: left; width: 70%; margin-right: 5%}
/*.gray-right p {width: 25%; float: right;}*/

.info-proyecto {position: absolute; width: }

.fullwidth img {width: 100%}
.fullwidthvideo iframe {width: 100%}

#portafolio-proyecto .content .gallery-item {
    display: inline-block;
    float: none;
    margin-bottom: 20px;
    margin-right: 20px;
    margin-top: 0;
    text-align: left;
    vertical-align: bottom;
    width: auto;
}
#portafolio-proyecto .content .gallery-item img {border: none;}
#portafolio-proyecto .content br {display: none;}

#nosotros {font-size: 0.9em}
#mantra {width: 30%}
#mantra h1 {font-size: 2em}

#servicios {width: 60%; margin-top: -100px; float: right;}
#servicios .block {width: 30%; margin-right: 2%; float: left;}
#servicios ul {margin: 0; padding: 0; list-style: none}
#servicios h2 {font-size: 2em}
#servicios h3 {margin: 0; text-transform: uppercase; font-size: 1em}

#video {margin: 40px 0;}
#video iframe {margin: 0 auto; display: block;}

#metodo {background: #E4E4E4; font-size: 0.9em; padding: 40px 0}
#metodo #steps {width: 30%; float: left; text-align: center; font-size: 2em; font-weight: bolder; margin-right: 5%}
#metodo #steps span {display: block; background: #000; color: #fff; text-align: center; padding: 25px 0; margin-bottom: 5px; font-size: 0.5em; font-weight: normal;}
#metodo #steps p {margin: 0; margin-bottom: 10px}

#metodo .fleft {width: 48%; float: left;}
#metodo .fright {width: 48%; float: right;}

#metodo .metodo {width: 65%; float: right;}
#metodo h3 {margin: 0; font-size: 1em}
#metodo .fleft p:nth-child(2), #metodo .fright p:nth-child(2) {margin-top: 0}

#folks {margin-bottom: 120px; position: relative;}
#folks h2 {font-size: 5em; line-height: 1em}
#folks ul {margin: 0; padding: 0; list-style: none; margin-left: 50%}
#folks ul li {margin-bottom: 15px}
#folks .content {position: relative;}

#folksgrid {width: 700px; position: absolute; top: 158px; left:-200px; z-index: -1}
.folkpoint {height: 5px; width: 5px; background: #000; border: solid 37px rgba(255, 255, 255, 1); margin: 3px; float: left;
-webkit-border-radius: 50%;
border-radius: 50%;}

#drag {height: 600px; position: relative;}
#drag h1 {font-size: 5em; line-height: 1em}
#drag h1, #drag img {position: absolute;}
#drag img {display: none;}
#drag h1 {bottom: 0; left: 0; margin-left: 20%; z-index: 10}
#drag img:nth-child(2) {display: block; left: 50%; top: 200px}
#drag img:nth-child(3) {display: block; right: 45%; top: 25px}
#drag img:nth-child(4) {display: block; left: 45%; top: 25px}
.drag:hover {cursor: move}

.line1, .line2, .line3, .line4, .line5, .line6, .line7, .line8, .line9, .line10, .line11, .line12, .line13 {
border-top:solid 1px #000; position: absolute; width: 0px; right: 62px; top: 42px;
-webkit-transition: all 0.2s;
-moz-transition: all 0.2s;
-o-transition: all 0.2s;
-ms-transition: all 0.2s;
transition: all 0.2s;

}
.line2 {
-moz-transform: rotate(-45deg);
-webkit-transform: rotate(-45deg);
-o-transform: rotate(-45deg);
-ms-transform: rotate(-45deg);
transform: rotate(-45deg);
-webkit-transform-origin: top right;
-moz-transform-origin: top right;
-o-transform-origin: top right;
-ms-transform-origin: top right;
transform-origin: top right;
    right: 148px;
    top: 42px;
    width: 0;
}
.line3 {border-left: solid 1px; height: 0px; width: 0; right: 232px; top: 126px; }
.line4 {border-left: solid 1px; height: 0px; width: 0; right: 317px; top: 211px}
.line5 {right: 233px; top: 212px;}
.line6 {border-left: solid 1px; height: 0px; width: 0; right: 317px; top: 297px;}
.line7 {
-moz-transform: rotate(-45deg);
-webkit-transform: rotate(-45deg);
-o-transform: rotate(-45deg);
-ms-transform: rotate(-45deg);
transform: rotate(-45deg);
-webkit-transform-origin: top right;
-moz-transform-origin: top right;
-o-transform-origin: top right;
-ms-transform-origin: top right;
transform-origin: top right;
    right: 317px;
    top: 381px;
    width: 0;
}
.line8 {border-left: solid 1px; height: 0px; width: 0; right: 402px; top: 384px;}
.line9 {right: 404px; top: 382px;}
.line10 {border-left: solid 1px; height: 0px; width: 0; right: 487px; top: 298px;}
.line11 {
-moz-transform: rotate(-45deg);
-webkit-transform: rotate(-45deg);
-o-transform: rotate(-45deg);
-ms-transform: rotate(-45deg);
transform: rotate(-45deg);
-webkit-transform-origin: top right;
-moz-transform-origin: top right;
-o-transform-origin: top right;
-ms-transform-origin: top right;
transform-origin: top right;
    right: 488px;
    top: 297px;
    width: 0;
}
.line12 {border-left: solid 1px; height: 0px; width: 0; right: 572px; top: 383px;}
.line13 {right: 487px; top: 467px;}

.line1.animated, .line3.animated, .line4.animated, .line5.animated, .line6.animated, .line7.animated, .line8.animated, .line9.animated, .line10.animated, .line11.animated, .line12.animated, .line13.animated {
width: 85px;
-webkit-transition: all 0.5s;
-moz-transition: all 0.5s;
-o-transition: all 0.5s;
-ms-transition: all 0.5s;
transition: all 0.5s;
}
.line3.animated, .line4.animated, .line6.animated, .line8.animated, .line10.animated, .line12.animated {
height: 85px; width: 0;
-webkit-transition: all 0.5s;
-moz-transition: all 0.5s;
-o-transition: all 0.5s;
-ms-transition: all 0.5s;
transition: all 0.5s;
}
.line11.animated, .line7.animated, .line2.animated {
width: 120px;
-webkit-transition: all 0.5s;
-moz-transition: all 0.5s;
-o-transition: all 0.5s;
-ms-transition: all 0.5s;
transition: all 0.5s;
}

#contacto div.wpforms-container-full .wpforms-form .wpforms-field {padding: 0; clear: none;}
#contacto div.wpforms-container-full .wpforms-form input[type="date"], #contacto div.wpforms-container-full .wpforms-form input[type="datetime"], #contacto div.wpforms-container-full .wpforms-form input[type="datetime-local"], #contacto div.wpforms-container-full .wpforms-form input[type="email"], #contacto div.wpforms-container-full .wpforms-form input[type="month"], #contacto div.wpforms-container-full .wpforms-form input[type="number"], #contacto div.wpforms-container-full .wpforms-form input[type="password"], #contacto div.wpforms-container-full .wpforms-form input[type="range"], #contacto div.wpforms-container-full .wpforms-form input[type="search"], #contacto div.wpforms-container-full .wpforms-form input[type="tel"], #contacto div.wpforms-container-full .wpforms-form input[type="text"], #contacto div.wpforms-container-full .wpforms-form input[type="time"], #contacto div.wpforms-container-full .wpforms-form input[type="url"], #contacto div.wpforms-container-full .wpforms-form input[type="week"], #contacto div.wpforms-container-full .wpforms-form select, #contacto div.wpforms-container-full .wpforms-form textarea, #contacto input, #contacto textarea {

    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 0px;
    box-sizing: border-box;
    color: #333;
    display: block;
    float: none;
    font-size: inherit;
    height: inherit;
    line-height: inherit;
    padding: 12px;
    margin-bottom: 10px;
    width: 100%;
}

#contacto div.wpforms-container-full .wpforms-form input.wpforms-field-medium, #contacto  div.wpforms-container-full .wpforms-form select.wpforms-field-medium, #contacto  div.wpforms-container-full .wpforms-form .wpforms-field-row.wpforms-field-medium {
    max-width: 100%;
}

#map-canvas {width: 100%; height: 300px}
.marker {background: url("../img/pointer.png") center center no-repeat;}

.collapsed-archives > ul {padding: 0}
.collapsed-archives-triangles input + label::before {float: left;}

#history .titulodelwidget {display: none;}


#history .collapsed-archives input:checked ~ ul, #history .collapsed-archives ul ul, .collapsed-archives ul ul {
    list-style: none;
    margin: 0!important;
    padding: 0!important;
}

#history .collapsed-archives-triangles input:checked + label::before {content: "▲";}
#history .collapsed-archives-triangles input + label::before {content: "▼";}

#history ul label + a {font-weight: bold;}

#clientes {background: #eeeeed; text-align: center; padding: 50px 0; margin: 50px 0;}
#clientes h3 {text-align: left; font-size: 2em;}
#clientes img {width: 13.33%; margin: 0 4% 20px 0%; display: block; float: left;}
#clientes img:nth-child(6n+6) {margin-right: 0;}

#suscribeme {text-align: center;}
#newsletter {margin: 50px auto; text-align: center;}
#newsletter label {display: inline-block; width: auto; padding-right: 20px; font-weight: bolder; font-style: italic;}
#newsletter input {display: inline-block; width: auto; background: #e8e8e8; color: #000; width: 30%;}
#newsletter input[type='submit'] {display: inline-block; width: auto; background: #000; color: #fff;}

.slash {margin-bottom: 50px; width: 100%; }

/* ==========================================================================
   Media Queries
   ========================================================================== */

@media only screen and (min-width: 35em) {

}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {

}

@media only screen and (max-width: 1200px) {

}

@media only screen and (max-width: 1120px) {
    .content {width: 720px}
    .fixgrid {width: 740px}
    #redes {margin-left: -440px;}
    #m-icon {margin-right: -394px;}
    #history {margin-left: -440px;}
    .post .desc {margin-top: 0}
    #folksgrid {left: -320px;}

}

@media only screen and (max-width: 900px) {
    .content {width: 560px}
    .fixgrid {width: 580px}
    #redes, #history {margin-left: -360px;}
    #m-icon {margin-right: -314px;}
    .post .desc {margin-top: 0}
    .intro {width: 100%; clear: both; vertical-align: text-top; margin-left: 0%; padding-top: 160px; text-align: justify;
    -moz-column-count: 1;
    -moz-column-gap: 0px;
    -webkit-column-count: 1;
    -webkit-column-gap: 0px;
    column-count: 1;
    column-gap: 0px;
    }
    .gray-left img {width: 60%;}
    #contacto .fleft, #contacto .fright {width: auto; float: none; margin: 0}
    #contacto form {width: auto}
    #folksgrid {left: -400px;}


}

@media only screen and (max-width: 730px) {
    .content {width: 90%}
    #redes {clear: both;left: auto; margin-left: auto; position: relative; width: 100%; top: auto; text-align: center; padding-top: 10px; margin-top: 10px; border-top: solid #333 1px}
    #redes a {display: inline-block; margin: 0 15px}
    #logo {float: none;}
    #logo a {display: block;}
    #logo a img {display: block; margin: 0 auto}
    nav {float: none; width: 100%;  text-align: center;}
    header nav a {display:block; background: #000; color: #fff; padding: 10px 20px; min-width: 100px; margin: 0 5px}
    nav ul li {display: block; margin-bottom: 5px}
    #m-icon {display: none;}
    .post .title {position: relative; left: auto; top: auto; width: auto}
    .post .title .date {margin-top: 0}
    .post img {float: none; margin-left: 0; max-width: 100%}
    .post .desc {float: none; width: auto; }
    .post .desc a {float: right;}
    .gray-right img {width: 40%;}
    #history {display: none;}
    #post-article {
        margin-left: auto;
        margin-right: auto;
        text-align: justify;
        width: 100%;
    }
    #related {width: 35%}
    #points {display: none;}
    .fixgrid {width: 100%}

    .project {
        display: block;
        float: none;
        margin: auto auto 20px;
        text-align: center;
    }
    footer .colum, .colum:nth-child(4) {float: none; margin: auto; margin-bottom: 15px; width: 100%}
    .gray-left img, .gray-right img {width: 100%; float: none; margin: auto; margin-bottom: 15px}
    #drag img, #drag img:nth-child(2), #drag img:nth-child(3), #drag img:nth-child(4) {display: none;}
    #drag h1 {margin: auto; width: 90%; position: relative;}
    #drag {height: auto;}
    #mantra {width: 100%}
    #servicios {float: none; margin-top: auto; }
    #servicios .block {float: none; margin-right: auto; width: 100%}
    #video iframe {width: 100%}
    #metodo #steps {width: 100%; margin-right: 0; float: none;}
    #metodo .metodo {float: none; width: 100%}
    #folks ul {margin: auto}
    #folksgrid {display: none;}
    #post-list .post, #post-list .post:nth-child(2n+2) {width: 100%; float: none;}

}

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

.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;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important;
        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) ")";
    }

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

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

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