/* fonts */
@import url(https://fonts.googleapis.com/css?family=Nunito:400,300,700);
@import url(https://fonts.googleapis.com/css?family=Montserrat:400,700);

/* general */
* {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
html, body {
  height: 100%;
  font-family: 'Nunito', sans-serif;
  font-weight: 300;
}
a {
  outline: none;
  -webkit-transition: all 0.15s ease-in-out;
  -moz-transition: all 0.15s ease-in-out;
  -o-transition: all 0.15s ease-in-out;
  transition: all 0.15s ease-in-out;
}
a:focus{
  outline: none;
  outline-offset: -2px;
}

/* tipography */
h1, h2, h3, h4, h5, h6, 
.h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: inherit;
  font-weight: 300;
  margin: 10px 0;
}

/* preloader */
.preload {
  position:fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: #fff;
  z-index: 11000;
}
.preloader-image {
  position: absolute;
  margin: 0 auto;
  left: 1%;
  right: 1%;
  top: 45%;
  width: 96px;
  height: 96px;
  background-image: url('../pics/favicon.png');
  background-position: center;
  background-repeat: no-repeat;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
  border-radius: 50%;
}
.preloader-spinner {
  position: fixed;
  height: 96px;
  width: 96px;
  top: 50%;
  left: 50%;
  margin-left: -47px;
  margin-top: -47px;
  border-top: 1px solid #999;
  border-left: 3px solid transparent;
  border-bottom: 1px solid #999;
  border-right: 3px solid transparent;
  border-radius: 100%;
  -webkit-animation: rotation 0.750s infinite linear;
  -moz-animation: rotation 0.750s infinite linear;
  -o-animation: rotation 0.750s infinite linear;
  animation: rotation 0.750s infinite linear;
}
@-webkit-keyframes rotation {
  from {-webkit-transform: rotate(0deg);}
  to {-webkit-transform: rotate(359deg);}
}
@-moz-keyframes rotation {
  from {-moz-transform: rotate(0deg);}
  to {-moz-transform: rotate(359deg);}
}
@-o-keyframes rotation {
  from {-o-transform: rotate(0deg);}
  to {-o-transform: rotate(359deg);}
}
@keyframes rotation {
  from {transform: rotate(0deg);}
  to {transform: rotate(359deg);}
}

/* row-vertical */
@media (min-width: 992px) {
  .row-vertical {
    display: table;
    width: 100%;
    table-layout: fixed;
  }
  .row-vertical > div {
    display: table-cell;
    vertical-align: middle;
    float: none;
    
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
  }
}

/* header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background-color: #fff;
  z-index: 199;
}
@media (min-width:768px){
  header {
    height: 120px;
  }
}
.header-placeholder {
  height: 50px;
}
@media (min-width:768px){
  .header-placeholder {
    height: 110px;
  }
}
.header-brand {
  display: block;
  position: relative;
  margin-right: 15px;
  margin-top: 15px;
  margin-bottom: 13px;
  width: 180px;
  height: 32px;
  float: right;
}
@media (min-width:768px){
  .header-brand {
    margin: 0 auto;
    margin-top: 30px;
    margin-bottom: 20px;
    width: 400px;
    height: 70px;
    float: none;
  }
}

/* nav-affix */
.nav-affix {
  position: fixed;
  display: table;
  table-layout: fixed;
  top: 0;
  left: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  z-index: 9999;
}
@media (min-width:768px){
  .nav-affix {
    top: 20px;
    left: 0;
  }
}
@media (min-width:992px){
  .nav-affix {
    top: 20px;
    left: 30px;
  }
}
.nav-affix > li {
  display: table-cell;
  height: 60px;
  vertical-align: middle;
}
.nav-affix > li > span {
  display: block;
  padding: 0 10px;
  line-height: 1.2;
}
.nav-affix > li > span+span {
  font-size: 12px;
  font-style: italic;
  text-transform: lowercase;
}
.nav-toggle {
  position: relative;
  display: block;
  width: 60px;
  height: 60px;

  -moz-transition: all ease 0.5s;
  -webkit-transition: all ease 0.5s;
  -ms-transition: all ease 0.5s;
  transition: all ease 0.5s;
}
.nav-toggle:hover,
.nav-toggle:focus {
  background-color: transparent !important;
}
.nav-toggle i {
  display: block;
  height: 4px;
  width: 30px;
  border-radius: 1px;
  position: absolute;
  top: 50%;
  left: 50%;
  margin-left: -15px;
  margin-top: -2px;
  background: #222;
  -moz-transition: all ease 0.5s;
  -webkit-transition: all ease 0.5s;
  -ms-transition: all ease 0.5s;
  transition: all ease 0.5s;
}
.nav-toggle i:first-child {
  margin-top: -10px;
}
.nav-toggle i:last-child {
  margin-top: 6px;
}
.nav-toggle.open i {
  background: #222;
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  margin-top: -2px;
}
.nav-toggle.open i:nth-child(2) {
  background: rgba(0,0,0,0);
}
.nav-toggle.open i:last-child {
  transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
}

/* nav-main */
nav {
  display: table;
  position: fixed;
  top: 0;
  left: -160px;
  width: 160px;
  height: 100%;
  background-color: #fff;
  -moz-transition: all 0.5s ease-in-out;
  -webkit-transition: all 0.5s ease-in-out;
  -ms-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
}
nav.open {
  left: 0;
}
@media (min-width:992px){
  nav {
    left: -260px;
    width: 260px;
  }
}
.nav-main {
  margin-top: 60px;
  margin-left: 17px;
}
@media (min-width:768px){
  .nav-main {
    margin-top: 120px;
  }
}
@media (min-width:992px){
  .nav-main {
    margin-left: 45px;
  }
}
.nav-main > li > a {
  padding: 0;
  color: #222;
  font-size: 14px;
  letter-spacing: 1.5px;
  line-height: 2;
}
.nav-main > li > a:hover,
.nav-main > li > a:focus {
  color: #767676;
  background-color: transparent;
}
.nav-main > li.active > a {
  color:#767676;
}

.nav-filters {
  position: relative;
  padding-top: 15px;
  padding-bottom: 15px;
  margin-bottom: 30px;
}
.nav-filters:after {
  content: '';
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 4px;
  background-color: #000;
}
.nav-filters > li > a {
  padding: 0;
  color: #222;
  font-size: 13px;
  font-style: italic;
  line-height: 1.7;
  text-transform: lowercase;
}
.nav-filters > li > a:hover,
.nav-filters > li > a:focus,
.nav-filters > li.active > a {
  color: #767676;
  background-color: transparent;
}
.nav-filters.no-display {
  display: none;
}

/* isotope */
.isotope-wrap {
  overflow-x: hidden;
  overflow-y: visible;
  padding-left: 0;
  padding-right: 0;
}
.isotope-wrap > .row {
  margin-left: -10px;
  margin-right: -10px;
}
.isotope-item {
  padding: 10px;
}
.isotope-inner {
  display: block;
  position: relative;
}
.isotope-inner .isotope-picture {
  display: block;
  position: relative;
  width: 100%;
  padding-bottom: 75%;
  background-size: cover;
  background-repeat: no-repeat;
  z-index: 1;
}
.isotope-inner .img-responsive {
  min-width: 100%;
}
.isotope-inner .isotope-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 30px;
  background-color: rgba(255,255,255,.65);
  color: #111;
  opacity: 0;
  z-index: 2;

  -webkit-transition: all 0.15s ease-in-out;
  -moz-transition: all 0.15s ease-in-out;
  -o-transition: all 0.15s ease-in-out;
  transition: all 0.15s ease-in-out;
}
.isotope-inner:hover .isotope-overlay,
.isotope-inner.active .isotope-overlay {
  opacity: 1;
}
.isotope-inner .isotope-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  width: 32px;
  height: 32px;
  line-height: 32px;
  font-size: 32px;

  -moz-transform: translate(-50%,-50%);
  -webkit-transform:  translate(-50%,-50%);
  -ms-transform: translate(-50%,-50%);
  transform: translate(-50%,-50%);
}

/* slider */
.obra-caption{
  color:#767676;
  font-weight: 400;
  margin-top: 10px;
  padding: 0 15px;
  line-height: 30px;
}

/* estudios */
.bio {
  color: #808080;
  letter-spacing: .1em;
}


/* contacto */
.canvas-map{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding-top: 60px;
}
@media (min-width:768px){
  .canvas-map{
    padding-top: 120px;
  }
}

/* flickity */
.flickity-wrap {
  position: relative;
  margin-bottom: 10px;
}
.flickity-caption {
  position: absolute;
  top: 0;
  left: 50%;
  width: 200px;
  margin-left: -100px;
  text-align: center;
  line-height: 24px;
  background-color: rgba(255, 255, 255, 0.75);
  z-index: 49;
  
  -moz-transition: all .5s ease-in-out;
  -webkit-transition: all .5s ease-in-out;
  -ms-transition: all .5s ease-in-out;
  transition: all .5s ease-in-out;
}
.flickity-caption.disabled {
  opacity: 0;
}
.flickity-controls {
  position: absolute;
  display: block;
  top: 0;
  bottom: 0;
  width: 50px;
  z-index: 50;
  
  -moz-transition: all .5s ease-in-out;
  -webkit-transition: all .5s ease-in-out;
  -ms-transition: all .5s ease-in-out;
  transition: all .5s ease-in-out;
}
.flickity-controls.disabled {
  opacity: 0;
}
.flickity-controls.left {
  left: 0;
}
.flickity-controls.right {
  right: 0;
}
.flickity-controls > span {
  position: absolute;
  top: 50%;
  display: block;
  width: 50px;
  height: 50px;
  margin-top: -25px;
  background-color: rgba(255, 255, 255, 0.5);
  background-repeat: no-repeat;
  background-position: center center;
  
  -moz-transition: all .15s ease-in-out;
  -webkit-transition: all .15s ease-in-out;
  -ms-transition: all .15s ease-in-out;
  transition: all .15s ease-in-out;
}
.flickity-controls:hover > span {
  background-color: rgba(255, 255, 255, 0.75);
}
.flickity-controls.left > span {
  background-image: url('../pics/arrow-left.png');
}
.flickity-controls.right > span {
  background-image: url('../pics/arrow-right.png');
}
.flickity-wrap .carousel-cell {
  margin-right: 20px;
}

/* thumbnail-item */
.thumbnail-item {
  display: block;
  padding-bottom: 75%;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}
.thumbnail-item:hover,
.thumbnail-item.active {
  opacity: .75;
}

/* owl gallery */
.owl-parent {
  position: relative;
}
.owl-controls {
  position: absolute;
  background-color: rgba(255, 255, 255, 0.75);
  top: 20px;
  left: 50%;
  width: 200px;
  text-align: center;
  transform: translate(-50%);
}
.owl-next {
  float: right;
  background: transparent url(../pics/arrow-right.png) 0 0 no-repeat !important;
  content: "";
  width: 49px;
  position: relative;
  right: 15px;
  height: 28px;
  margin-top: 15px;
  margin-bottom: 15px;
}
.owl-prev{
  float: left;
  background: transparent url(../pics/arrow-left.png) 0 0 no-repeat !important;
  content: "";
  width: 49px;
  position: relative;
  left: 15px;
  height: 28px;
  margin-top: 15px;
  margin-bottom: 15px;
}
.owl-caption{
  position: absolute;
  top: 0px;
  left: 50%;
  background-color: rgba(255, 255, 255, 0.75);
  z-index: 2;
  width: 200px;
  text-align: center;

  -moz-transform: translate(-50%);
  -webkit-transform: translate(-50%);
  -ms-transform: translate(-50%);
  transform: translate(-50%);
}
.owl-carousel .item > img {
  width: auto;
}