@font-face {
  font-family: "Brandon Medium";
  src: url("../fonts/Brandon_med.otf") format("truetype");
}
@font-face {
  font-family: "Brandon Regular";
  src: url("../fonts/Brandon_reg.otf") format("truetype");
}
@font-face {
  font-family: "Brandon Light";
  src: url("../fonts/Brandon_light.otf") format("truetype");
}
@font-face {
  font-family: "Brandon Bold";
  src: url("../fonts/Brandon_bld.otf") format("truetype");
}
@font-face {
  font-family: "Brandon Bold It";
  src: url("../fonts/Brandon_bld_it.otf") format("truetype");
}
@font-face {
  font-family: "Brandon Thin";
  src: url("../fonts/Brandon_thin.otf") format("truetype");
}
@font-face {
  font-family: "Brandon Black";
  src: url("../fonts/Brandon_blk.otf") format("truetype");
}

/*Black Frame*/
#top,
#bottom,
#left,
#right {
  background: black;
  position: fixed;
  z-index: 2;
}
#left,
#right {
  top: 0;
  bottom: 0;
  width: 10px;
}
#left {
  left: 0;
}
#right {
  right: 0;
}

#top,
#bottom {
  left: 0;
  right: 0;
  height: 10px;
}
#top {
  top: 0;
}
#bottom {
  bottom: 0;
}

#header {
  position: fixed;
  top: 0;
  width: 100%;
  height: 93px;
  background: rgba(255, 255, 255, 0.8);
  z-index: 1;
}
.logo {
  width: 50px;
  height: 62px;
  background-image: url(../img/merkenlab_logo_n.png);
  background-size: 50px;
  float: left;
  margin-left: 3.9%;
  position: absolute;
  /* bottom: 10px; */
  margin-top: 18px;
}

.social-links {
  width: 100px;
  height: 15px;
  float: right;
  position: absolute;
  top: 36px;
  right: 12px;
  display: flex;
}
.item {
  width: 30px;
  height: 25px;
}
/* .in {
  background: url(../img/linkedin.png) no-repeat;
  background-size: auto 15px;
} */
.mail {
  background: url(../img/correo_n.png) no-repeat;
  background-size: auto 25px;
}

/* .in:hover {
  background: url(../img/linkedinGray.png) no-repeat;
  background-size: auto 15px;
} */
.mail:hover {
  background: url(../img/correo_n.png) no-repeat;
  background-size: auto 25px;
}

/*
//////////////////////////////// PORTFOLIO.HTML ////////////////////////////////////
*/
/* ROW 1 */

.content {
  margin: 9% 6.5% 13%;
}
.content a {
  display: block;
}
.row1,
.row2,
.row3,
.row4 {
  width: 100%;
  margin-bottom: 0.7%;
}

.row1imgLeft img,
.row1imgRight img,
.row2imgLeft img,
.row2imgRight img,
.row3imgLeft img,
.row3imgRight img,
.row4imgLeft img,
.row4imgMid img,
.row4imgRight img {
  width: 100%;
  height: auto;
  position: relative;
}

.row1imgLeft {
  width: 55%;
  float: left;
  position: relative;
}
.row1imgRight {
  width: 44%;
  float: right;
  position: relative;
}

/* ROW 2 */

.row2imgLeft {
  width: 44%;
  float: left;
  position: relative;
}
.row2imgRight {
  width: 55%;
  float: right;
  position: relative;
}

/* ROW 3 */
.row3imgLeft {
  width: 49.5%;
  float: left;
  position: relative;
}
.row3imgRight {
  width: 49.5%;
  float: right;
  position: relative;
}

/* ROW 4 */
.row4imgLeft {
  width: 32.7%;
  float: left;
  display: inline-block;
  position: relative;
}
.row4imgMid {
  width: 32.7%;
  float: left;
  display: inline-block;
  margin-left: 0.9%;
  position: relative;
  text-align: center;
  margin-top: 7rem;
}
@media (max-width: 1300px) {
  .row4imgMid {
    margin-top: 5rem;
  }
}
@media (max-width: 480px) {
  .row4imgMid {
    margin-top: 0;
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
}
.row4imgRight {
  width: 32.7%;
  float: left;
  display: inline-block;
  margin-left: 0.9%;
  position: relative;
}

.fadeCaption {
  width: 100%;
  height: 99%;
  background-color: rgba(0, 0, 0, 0.9);
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  -webkit-transition: opacity 0.5s ease-in-out;
  -moz-transition: opacity 0.5s ease-in-out;
  -o-transition: opacity 0.5s ease-in-out;
  transition: opacity 0.5s ease-in-out;
}

.fadeCaption:hover {
  opacity: 0.7;
}
.fadeText {
  font-family: "Brandon Medium";
  font-size: 18px;
  color: white;
  text-align: center;
  position: relative;
  top: 50%;
  letter-spacing: 0.1em;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
}
.fadeText span {
  font-family: "Brandon Light";
  letter-spacing: 0.08em;
}

/*
//////////////////////////////// PORTFOLIO.HTML ////////////////////////////////////
*/

#footer {
  position: fixed;
  bottom: 0;
  width: 100%;
  height: 60px;
}
.language {
  font-family: "Brandon Medium";
  font-size: 17px;
  float: left;
  margin-left: 3.7%;
  margin-top: 4px;
}
.languageSmallDevice {
  font-family: "Brandon Medium";
  font-size: 17px;
  float: left;
  margin-left: 3.7%;
  margin-top: 4px;
  display: none;
}
.prisma {
  width: 128px;
  height: 22px;
  background: url(../img/merkenlab_n.png) no-repeat;
  background-size: 128px 22px;
  background-repeat: no-repeat;
  float: right;
  margin-right: 1.8%;
  margin-top: 10px;
}

/*Language links atributes*/
a {
  text-decoration: none;
  color: #000;
}
a:hover {
  text-decoration: underline;
}
p.about {
  margin-top: -10px;
  font-family: "Brandon Bold";
  font-size: 21px;
}
a.menu {
  color: white;
  text-decoration: none;
  display: block;
}
/*a.brightness:hover{  -webkit-filter: brightness(0.2); filter: brightness(0.2);}*/
a.not {
  color: grey;
}

/*Text fonts/sizes*/
p.title,
span.title {
  font-family: "Brandon Bold";
  font-size: 20px;
}
p.text {
  font-family: "Brandon Regular";
  font-size: 20px;
  letter-spacing: 0.05em;
}
p.textSmall {
  font-family: "Brandon Regular";
  font-size: 15px;
  letter-spacing: 0.05em;
}
p.black {
  font-family: "Brandon Black";
  font-size: 27px;
  letter-spacing: 0.04em;
}
p.boldIt {
  font-family: "Brandon Bold It";
  font-size: 27px;
  letter-spacing: 0.04em;
}
span.bold {
  font-family: "Brandon Bold";
  font-size: 20px;
  letter-spacing: 0.04em;
}

/*Main Menu*/
ul {
  text-align: right;
  display: inline;
  z-index: 99;
  padding: 15px 4px 17px 0;
  position: absolute;
  top: 4px;
  left: 13.5%;
}
ul li {
  font-family: "Brandon Medium";
  font-size: 14px;
  letter-spacing: 0.05em;
  display: inline-block;
  margin-right: -4px;
  position: relative;
  padding: 1px 13px;
  width: 110px;
  background: #000;
  color: #fff;
  cursor: pointer;
  border-top: 1px solid #403d3d;
}
ul li ul {
  opacity: 0;
  padding: 0;
  position: absolute;
  top: 23px;
  left: 0;
  width: 110px;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  visibility: hidden;
  -webkit-transition: all 0.25s ease;
  -moz-transition: all 0.25s ease;
  -ms-transition: all 0.25s ease;
  -o-transition: all 0.25s ease;
  transition: all 0.25s ease;
}
#breadcrumb {
  background: gray none repeat scroll 0% 0%;
  width: 40px;
  padding-right: 32px;
  padding-top: 2px;
  border: none;
  cursor: default;
}
ul li ul li:hover {
  background: #403d3d;
}
ul li:hover {
  background: #403d3d;
}
ul li:hover ul {
  display: block;
  opacity: 1;
  visibility: visible;
}

.navegar {
  position: relative;
}
.navegar:before {
  font-family: "Brandon Light";
  content: "+";
  position: absolute;
  left: 0.25em;
  top: 0;
  font-size: 1.75em;
  line-height: 1;
  bottom: 0;
  font-weight: 100;
}

/*Responsive*/
@media only screen and (max-width: 1024px) {
  .fadeCaption {
    height: 98%;
  }
  .content {
    margin: 14% 6.5% 13%;
  }
}

@media only screen and (max-width: 768px) {
  .fadeCaption {
    height: 98%;
  }
  .content {
    margin: 17% 6.5% 13%;
  }
}

@media (max-width: 640px) {
  #header {
    height: 70px;
  }
  .logo {
    width: 45px;
    height: 55px;
    background-size: 45px;
  }
  .social-links {
    width: 140px;
    height: 20px;
    right: 4%;
  }
}

/*Responsive*/
@media screen and (max-width: 480px) {
  .content {
    margin: 30% 8.5% 13%;
  }

  .row1imgLeft {
    width: 100%;
    margin-bottom: 3.5%;
  }
  .row1imgRight {
    width: 100%;
    margin-bottom: 2.3%;
  }
  .row2imgLeft {
    width: 100%;
    margin-bottom: 3.5%;
  }
  .row2imgRight {
    width: 100%;
    margin-bottom: 2.3%;
  }
  .row3imgLeft {
    width: 100%;
    margin-bottom: 3.5%;
  }
  .row3imgRight {
    width: 100%;
    margin-bottom: 2.3%;
  }
  .row4imgLeft {
    width: 100%;
    margin-bottom: 3.5%;
  }
  .row4imgMid {
    width: 100%;
    margin-bottom: 3.5%;
  }
  .row4imgRight {
    width: 100%;
    margin-bottom: 2.3%;
  }

  .fadeCaption {
    height: 97%;
  }
  .fadeText {
    font-size: 13px;
  }

  #header {
    height: 70px;
  }
  .logo {
    width: 45px;
    height: 55px;
    background-size: 45px;
  }
  .social-links {
    display: none;
  }
  .textL {
    display: none;
  }
  .textR {
    display: none;
  }
  #footer {
    height: 50px;
  }
  .language {
    display: none;
  }
  .languageSmallDevice {
    display: block;
  }
  .prisma {
    margin-right: -2.1%;
  }
  ul {
    top: -5px;
    right: 9%;
  }
  ul li {
    padding: 1px 8px;
  }
}
