/*

Made using Kirby CMS

Author: Alejandro Matamala Ortiz
URL:    http://www.matamala.info
Email:  matamala@material.cl

*/


/* FONTS
-------------------------------------------------- */

@font-face {
  font-family: 'Apercu';
  font-style: normal;
  src: url(../fonts/Apercu-Regular.otf) format('opentype');
}

@font-face {
  font-family: 'Apercu-Regular';
  font-style: normal;
  src: url(../fonts/Apercu-Regular.otf) format('opentype');
}

@font-face {
  font-family: 'Apercu-Bold';
  font-style: normal;
  src: url(../fonts/Apercu-Bold.otf) format('opentype');
}

/* RESET
-------------------------------------------------- */
*, *:before, *:after {
  margin: 0;
  padding: 0;
  border: 0;
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, main, nav, section, summary {
  display: block;
}


nav {
    width: 100%;
    margin-top: 20px;
    height: 172px;
    z-index: 2;
    color: white;
}

.preNav {
  width: 100vw;
  height: 2em;
  background: black;
  display: -webkit-flex;
  display: flex;
}
/* IMGS
-------------------------------------------------- */
img {
  display: block;
  width: 100%;
}


/* LINKS
-------------------------------------------------- */
a {
  color: #000;
  text-decoration: none;
}
a:hover {
    border-bottom: 2px solid black;
}

a.navLink:active, a.navLink:visited {
  text-decoration: none !important;
}

a.active {
    border-bottom: 2px solid black;
}

.visited{
  border-bottom: 2px solid white;
}

.col-3-12.name a {
  color: black;
}

.containerMenuHam {
  display: none;
}
a.last {
    float: right;
    text-transform: uppercase;
    font-size: 16px;
    margin-top: 8px;
    font-weight: bold;
    font-family: apercu-bold;
    letter-spacing: 1.2px;
    color: black;
}

/* Clearfix
-------------------------------------------------- */
.cf:after {
  content: "";
  display: table;
  clear: both;
}

.cfix {
  clear: both;
}


/* SITE
-------------------------------------------------- */
html {
  height: 101%;
  font-family: "Times new Roman", sans-serif;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body {
  margin: 0 auto;
  font-size: 1.25em;
  line-height: 1.5em;
  background: #a7a7a7;
  color: black;
}

li
{
list-style-type: none;
}

.centerLogo {
    text-align: center;
    margin-bottom: -38px;
    margin-top: 19px;
    letter-spacing: 1.5px;
    font-size: 23px;
}


.centerLogo a {
  color: black !important;
}
.center {
  text-align: center;
  margin-bottom: 100px;
  margin-top: 20px;
}


/* HEADINGS
-------------------------------------------------- */
h1 {
  font-size: 56px;
  line-height: 1.25em;
  font-weight: 400;
  margin-bottom: .5em;
}
h2 {
  font-size: 1em;
  line-height: 1.25em;
  font-weight: 600;
  margin-bottom: .5em;
  font-family: Apercu;
  color: black;
}
h3 {
  font-size: 1.4em;
  line-height: 1.5em;
  font-weight: 400;
  margin-bottom: .5em;
}
h4 {
  font-size: 1.125em;
  font-weight: 600;
  line-height: 1.5em;
  margin-bottom: .5em;
  color: red;
}
h1 a, h2 a, h3 a, h4 a {
  color: inherit;
  border: 0 !important;
}

.titlesBlack {
    margin-top: 25px;
    margin-bottom: 65px;
    color: black;
    border-bottom: 2px solid;
    padding-bottom: 2px;
    display: inline;
    text-transform: uppercase;
    font-size: 16px;
    font-weight: bold;
    font-family: apercu-bold;
    letter-spacing: 1.2px;
}

.titlesWhite {
    margin-top: 25px;
    margin-bottom: 65px;
    color: black;
    border-bottom: 2px solid;
    padding-bottom: 2px;
    display: inline;
    text-transform: uppercase;
    font-size: 16px;
    font-weight: bold;
    font-family: apercu-bold;
    letter-spacing: 1.2px;
}

/* PARAGRAPHS
-------------------------------------------------- */
p{
    margin-bottom: 60px;
  }

.textsAbout {
    text-align: left;
    font-family: "Apercu-Regular";
    font-size: 18px;
    line-height: 24px;
    padding-right: 22px;
}

.textsAbout p {
    margin-bottom: 22px;
}

.textDescription  p {
  font-size: 0.8em;
  line-height: 1.2em;
  padding-right: 10px;
}

h1.textDescription {
    margin-top: 5%;
}

.col-3-12.imgAbout {
    margin-top: 14px;
    float: right;
}

.col-8-12.textAbout {
    padding: 0;
    margin-top: -38px;
}

/* HEADER
-------------------------------------------------- */
.logo {
  display: block;
  margin-bottom: 1.5em;
}
.logo img {
  width: 2em;

}

.name {
  margin-top: 25px;
  font-family: "Apercu",arial,sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: black;
}

header.header.cf {
    width: 98%;
}

/* HOME
-------------------------------------------------- */

h1.textHome {
    width: 80%;
    margin-bottom: 5%;
}


/* HIGHLIGHTED
-------------------------------------------------- */

.titleHighlight {
    margin-top: 20px;
    font-weight: bold;
    text-align: center;
    margin-top: 44px;
    margin-bottom: 73px;
    border-bottom: 2px solid;
    padding-bottom: 2px;
    display: inline;
    font-size: 22px;
    letter-spacing: 0.8px;
    font-family: "Apercu-Bold", Arial;
}

.textHighlight {
    font-family: "Times new Roman";
    width: 87%;
    font-size: 19px;
    line-height: 22px;
    letter-spacing: 0.5px;
    margin-top: 15px;
    margin-bottom: 15px;
}

.tagsHighlight {
   font-family: Apercu;
   font-size: 12px;
   margin-top: -20px;
   margin-bottom: 20px;
}

.colspecial1 {
    float: left;
    width: 50%;
    padding-right: 70px;
}


.colspecial3 {
    float: right;
    width: 61%;
    padding-right: 30px;
}

.colspecial4 {
    float: left;
    width: 35%;
    padding-top: 27%;
}


/* MENU
-------------------------------------------------- */


#menu {
  width: 100%;
  margin: 0 auto 0 auto;
  font-family: "Apercu-Regular", Arial;
  color: black;
}

#menu ul{
    width: 180px;
    margin: 7px -93px 0 10px;
    list-style: none;
    display: block;
    float: left;
    text-transform: uppercase;
    font-size: 16px;
    font-weight: bold;
    font-family: Apercu-Bold;
    letter-spacing: 1.2px;
}

/*select section title elements*/
#menu ul li ~ li{
  visibility:hidden;
  height:0;
  opacity:0;
  -webkit-transition: all 333ms;
  overflow: hidden;
    color: black;

}

#menu ul li a{
    color: black;

}

/*children get displayed when parent is selected*/
#menu ul:hover > li {
  visibility:visible;
  height:auto;
  opacity:1;
  -webkit-transition: all 333ms;
    color: white;

}

.col-3-12.name.menu {
    margin-left: 7%;
    margin-right: 8%;
    width: 9%;
}

.col-3-12.name {
    margin-right: 15px;
}

.show-menu {
  text-decoration: none;
  text-align: center;
  display: none;
  margin-bottom: 20px;
}

.cuartoMenu {
  float: right;
}

ul.liMenu {
    margin-left: 0px;
    font-family: "Apercu-Regular", Arial;
    font-weight: 400;
    font-size: 17px;
    margin-bottom: 80px !important;
    color: white;


}

/*Hide checkbox*/
input[type=checkbox]{
    display: none;
}

/*Show menu when invisible checkbox is checked*/
input[type=checkbox]:checked ~ #menu{
    display: block;
}

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

  img#hamW {
      width: 17px !important;
      height: 17px;
  }

  .centerLogo {
      text-align: left;
      margin-bottom: -23px;
      margin-top: 23px;
      letter-spacing: 1.5px;
      font-size: 18px;
      color: black;
  }

  .name {
  margin-top: 38px;
  margin-left: 18px;
  font-family: "Apercu",arial,sans-serif;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 5px;
}
  #menu {
    font-family: "Apercu-Regular", arial;
    display: none;
    width: 100%;
  }

  #menu ul{
    width: 100%;
    float: none;
    padding: 20px 0 0px 0;
    margin: 0;
  }
  #menu ul li{
    margin-bottom: -61px !important;
    margin-left: 9px !important;
    margin-top: 37px !important;
    font-size: 12px;

  }
  .show-menu {
      display: block;
      margin-top: 2px;
      float: right;
  }
  .containerMenu {
    margin-left: -5%;
    margin-top: -3%;
    margin-bottom: 10%;
    display: none;
}

ul.liMenuHam {
    margin-left: -10px !important;
    margin-top: -40px !important;
    line-height: 2.3;
}
  .containerMenu {
    margin-left: -5%;
    margin-top: -3%;
}

.containerMenuHam {
  display: block;
}


}





/* GRID
-------------------------------------------------- */


.gridProjects {
  width: 100%;
 }

 .grid-project {
  padding-right: 60px !important;
 }

.grid-item {
  width: 25%;
  padding-right: 37px;
 }

#container {
  /* either of these will work for horizontal Isotope layouts */
  height: 500px;

}

@media screen and (min-width: 1800px) {

#container {
  /* either of these will work for horizontal Isotope layouts */
  height: 700px;

}
h1.textDescription {
    font-size: 66px;
    margin-top: 5%;
}

  }



/* PROJECTS
-------------------------------------------------- */

.content {
    text-align: center;
}

.projectsbg {
   background-color: black;
   width: 100%;
}

.textProjects {
    color: white;
    font-size: 16px;
    line-height: 20px;
    text-align: center;
    margin-bottom: 8px;
    margin-top: 16px;
    letter-spacing: 1px;
    font-weight: 400;
}


.textProjectsBlack {
  color: black;
  font-size: 16px;
  line-height: 20px;
  text-align: center;
}

.textProjects a {
  color: black;
}

.textProjectsBlack a {
  color: black;
}


.descriptionProject {
  font-family: "Apercu",arial,sans-serif;
  font-size: 14px;
  line-height: 22px;
}

.titleProjects {
    color: black;
    text-align: center;
    margin-top: 44px;
    margin-bottom: 73px;
    border-bottom: 2px solid;
    padding-bottom: 2px;
    display: inline;
    font-size: 20px;
    font-weight: bold;
    font-family: "Apercu-Bold", Arial;
}

.titleProjectsBlack {
  font-family: "Apercu", Arial, sans-serif;
  text-decoration: underline;
  color: black;
  font-size: 18px;
  margin-top: 10px;
  text-align: center;
}

.tags a {
  color: white;
  font-family: "Apercu",arial,sans-serif;
  font-size: 12px;
}

.tagsBlack a {
  color: Black;
  font-family: "Apercu",arial,sans-serif;
  font-size: 12px;
}

.right {
  float: right !important;
}

.left {
  float: left;
}

.credits {
  margin-top: 30px;
}

ul.tags {
    display: -webkit-inline-box;
    font-family: "Apercu-regular", arial;
}

ul.tagsBlack {
    display: -webkit-inline-box;
}

.center {
  margin-bottom: 80px;
}


/* FLEXBOX
-------------------------------------------------- */

.flex-container {
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: flex-end;
    align-items: flex-end;
    height: 50%;
}


.flex-item {
    margin: 0px;

}

/* VIDEOS
-------------------------------------------------- */

.js-video {
height: 0;
padding-top: 25px;
padding-bottom: 67.5%;
margin-bottom: 10px;
position: relative;
overflow: hidden;
margin-bottom: 70px;
}
.js-video.widescreen {
padding-bottom: 56.34%;
}
.js-video.vimeo {
padding-top: 0;
}

.js-video embed, .js-video iframe, .js-video object, .js-video video {
top: 0;
left: 0;
width: 97%;
height: 100%;
position: absolute;
}

.video {
  clear: both;
}



/* NEXT/PREV
-------------------------------------------------- */
.nextprev {
  padding: 1em 0;
}
.nextprev a {
  border: 0;
}
.nextprev .prev {
  float: left;
}
.nextprev .next {
  float: right;
}


/* FOOTER
-------------------------------------------------- */


.footer {
  text-align: center;
  font-size: 16px;
  height: 200px;
  padding-top: 3em !important;
  color: white;
}

.footerbg {
  background-color: black;
}

.footer a {
  color: white;
}

.col-1-4.footerContent {
    font-size: 18px;
    line-height: 24px;
}

.col-1-4.footerAbout {
    margin-bottom: 140px;
}


/* MOBILE
-------------------------------------------------- */

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


  /* MOBILE HIGHLIGHTED
  -------------------------------------------------- */

  .colspecial1 {
    float: left;
    width: 100%;
    padding-right: 10px;
  }

  .colspecial3 {
    float: left;
    width: 100%;
    padding-right: 10px;
  }

  .colspecial4 {
    float: left;
    width: 100%;
    padding-right: 10px;
    padding-top: 5%;
}

    /* MOBILE GRID
  -------------------------------------------------- */

  .grid-item {
  width: 100%;
  padding-right: 37px;
  }

  #container {
  /* either of these will work for horizontal Isotope layouts */
  height: auto;
  padding-left: 0px;
  padding-right: 10px;
  }

    /* MOBILE PROJECTS
  -------------------------------------------------- */

  .textProjects {
    margin-bottom: 60px;
  }

  /* MOBILE HEADING
  -------------------------------------------------- */

  h1.textHome {
    width: 100%;
    margin-bottom: 18%;
    font-size: 23px;
  }

   /* MOBILE VIDEO
  -------------------------------------------------- */

  .js-video {
    margin-bottom: 0px;
  }



  /* ABOUT FLEXBOX
  -------------------------------------------------- */
  h1 {
    font-size: 1em;
}
  textDescription h1 {
    font-size: 1em;
}


.flex-container {
    display: -webkit-flex;
    display: block;
    -webkit-align-items: flex-end;
    align-items: flex-end;
    height: 50%;
}


.flex-item {
    margin: 0px;

}

p {
  margin-bottom: 20px;
  font-size: 1em;
}


.center {
  text-align: left;
  margin-bottom: 100px;
  margin-top: 60px;
}



.content{
  text-align: left;
}
}

.sharedMenu a{
  color: #e0e0e0;
  font-size: 0.7em;
  font-family: "Apercu", Arial;
}

/* Flex
-------------------------------------------------- */

.f1 {
  flex: 1;
}

.middle {
  text-align: center;
}

/* Margins and Paddings
-------------------------------------------------- */
.mt03{
  margin-top: 0.3em;
}

.pl5 {
  padding-left: 5%;
}

.pr5 {
  padding-right: 5%;
}