//*
Template Author : pixelhint.com Author Email : contact@pixelhint.com Template Name : Magnetic ***************************************** - Fonts - General CSS - Header - Home/portfolio - Inner page - Map/Contact page - Tooltip - Responsive code */

/*  Fonts  */
@font-face {
  font-family: 'raleway-regular';
  src: url('../fonts/raleway-regular.eot');
  src: url('../fonts/raleway-regular.eot?#iefix') format('embedded-opentype'),
  url('../fonts/raleway-regular.woff') format('woff'),
  url('../fonts/raleway-regular.ttf') format('truetype'),
  url('../fonts/raleway-regular.svg#ralewayregular') format('svg');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'raleway-bold';
  src: url('../fonts/raleway-bold.eot');
  src: url('../fonts/raleway-bold.eot?#iefix') format('embedded-opentype'),
  url('../fonts/raleway-bold.woff') format('woff'),
  url('../fonts/raleway-bold.ttf') format('truetype'),
  url('../fonts/raleway-bold.svg#ralewaybold') format('svg');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'raleway-semibold';
  src: url('../fonts/raleway-semibold.eot');
  src: url('../fonts/raleway-semibold.eot?#iefix') format('embedded-opentype'),
  url('../fonts/raleway-semibold.woff') format('woff'),
  url('../fonts/raleway-semibold.ttf') format('truetype'),
  url('../fonts/raleway-semibold.svg#ralewaysemibold') format('svg');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Arnold-Boecklin';
  src: url('../fonts/ArnoldBoecklin.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@100;200;300;400;500;600;700;800;900&display=swap');

/*  General CSS*/
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

/* width */
::-webkit-scrollbar {
  width: .5vw;
}

/* Track */
::-webkit-scrollbar-track {
  background: #f1f1f1;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #B80000;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: rgb(121, 42, 42);
}

body {
  background: #fff;
}

/* ==============================
   Ordenador
   ============================== */

@media only screen{

.wrapper {
  width: 92.72727272727273%;
  margin: 0 auto;
}

header ul.social li a,
.main .work a .caption,
header nav ul li a {
  transition: all .1s linear;
  -webkit-transition: all .1s linear;
  -moz-transition: all .1s linear;
  -o-transition: all .1s linear;
}

h1, h2, h3, h5, h6 {
  font-family: "Montserrat", sans-serif;
  /* letter-spacing: 1px; */
}

h4 {
  color: #939393;
  font-family: "Montserrat", sans-serif;
  letter-spacing: 1px;
}

h7 {
  color: #e2e2e2;
  font-family: "Montserrat", sans-serif;
  letter-spacing: 1px;
}

h1 {
  color: rgb(0, 0, 0);
  font-size: 1.5em;
  margin: .67em 0;
  text-transform: uppercase;
}

h2 {
  font-size: 1em;
  margin: .75em 0
}

h3 {
  font-size: .8em;
  margin: .83em 0
}

h4 {
  font-size: 11px;
  margin: 1.67em 0
}

h5 {
  font-size: .83em;
  margin: 1.5em 0
}

h6 {
  font-size: .75em;
  margin: 1.67em 0
}

h7 {
  font-size: .55em;
  margin: 1.67em 0
}

h1, h2, h3, h4,
h5, h6, h7, h8, {
  font-weight: normal
}

p {
  color: #454545;
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  font-size: 13px;
}

a {
  color: #454545;
  font-family: "Montserrat", sans-serif;
}

.clearfix:before,
.clearfix:after {
  content: " ";
  display: table;
}

.clearfix:after {
  clear: both;
}

.clearfix {
  *zoom: 1;
}

/*  Header  */
@media (min-width:1099px) {
  header {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 15vw;
    min-height: 100%;
    padding: 0 0 0 3vw;
    background: #B80000;
    float: left;
    overflow: hidden;
    z-index: 9999;
    box-shadow: 5px 0px 15px rgba(0, 0, 0, .8);
  }

  header .logo {
    margin-top: 50px;
  }

  header nav ul {
    display: block;
    overflow: hidden;
    margin-top: 50px;
    list-style: none;
  }

  header nav ul li {
    display: block;
    margin-bottom: 9px;
  }

  header nav ul li a {
    color: #ffffff;
    font-family: "Montserrat", sans-serif;
    font-weight: 400;
    font-size: .8em;
    text-decoration: none;
    /* letter-spacing: 1px; */
  }

  header nav ul li a:hover {
    color: #ffffff;
    font-weight: 700;
  }

  header nav ul li a.selected {
    color: #ffffff;
    font-weight: 700;
  }

  header .footer {
    position: absolute;
    bottom: 20px;
  }

  header ul.social {
    list-style: none;
    margin-bottom: 5px;
  }

  header ul.social li {
    display: block;
    float: left;
    position: relative;
    margin: 0 15px 15px 0;
  }

  header ul.social li a {
    display: block;
    width: 30px;
    height: 30px;
    background: url('../img/sm.png') no-repeat;
    background-position: 0 0;
  }

  header ul.social li a:hover {
    background: url('../img/sm_hover.png') no-repeat;
  }

  header ul.social li a.fb,
  header ul.social li a.fb:hover {
    background-position: 0 0;
  }

  header ul.social li a.google,
  header ul.social li a.google:hover {
    background-position: -31px 0;
  }

  header ul.social li a.behance,
  header ul.social li a.behance:hover {
    background-position: -62px 0;
  }

  header ul.social li a.twitter,
  header ul.social li a.twitter:hover {
    background-position: -93px 0;
  }

  header ul.social li a.dribble,
  header ul.social li a.dribble:hover {
    background-position: -124px 0;
  }

  header ul.social li a.rss,
  header ul.social li a.rss:hover {
    background-position: -155px 0;
  }

  header .rights p {
    color: #ffffff;
    font-family: "Montserrat", sans-serif;
    font-size: 11px;
    letter-spacing: 1px;
    line-height: 18px;
  }

  header .rights a {
    font-family: "Montserrat", sans-serif;
    font-weight: bold;
    text-decoration: none;
  }

  #menu_icon,
  .close_menu {
    display: none;
  }
}

#menu_icon,
.close_menu {
  float: right;
  margin-right: 40px;
  width: 40px;
  height: 40px;
  cursor: pointer;
  background: url('../img/men_icons.png') no-repeat;
}

#menu_icon {
  background-position: 0 0;
}

.close_menu {
  background-position: -41px 0 !important;
}

/* Diapositivas */
.diapositivas {
  width: 100%;
  height: 100%;
  padding-left: 300px;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  position: absolute;
  background: #ffffff;
  clear: both;
}

.diapositivas .galería {
  display: block;
  width: 100%;
  height: auto;
  overflow: hidden;
  vertical-align: middle;
}

.diapositivas .galería .media {
  width: 100%;
  vertical-align: middle;
  text-align: middle;
}

/*  Main  */
.main {
  width: 82vw;
  height: 100%;
  margin-left: 18vw;
  /* margin-right: 10vw; */
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  position: relative;
  z-index: 55;
  background: #ffffff;
  clear: both;
}

/*  Home/portfolio  */
.main .work {
  display: block;
  width: 12.5%;
  height: auto;
  float: left;
  position: relative;
  overflow: hidden;
  vertical-align: middle;
  box-shadow: 0px 0px 10px  rgba(0, 0, 0, .6);
  transition: all .2s ease-in-out;
}

.main .work .media {
  width: 100%;
  vertical-align: middle;
}

.main .work:hover {
  transform: scale(1.1);
  z-index: 99;
}

.main .work .grayscale {
  width: 100% filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#grayscale");
  /* Firefox 3.5+, IE10 */
  filter: gray;
  /* IE6-9 */
  -webkit-filter: grayscale(100%);
  /* Chrome 19+ & Safari 6+ */
  -webkit-transition: all .6s ease;
  /* Fade to color for Chrome and Safari */
  -webkit-backface-visibility: hidden;
  /* Fix for transition flickering */
  vertical-align: middle;
}

.main .work a:hover .grayscale {
  filter: none;
  -webkit-filter: grayscale(0%);
}

svg image {
  transition: all .6s ease;
}

svg image:hover {
  opacity: 0;
}

.main .work .caption {
  position: absolute;
  display: block;
  text-align: center;
  margin-left: 5%;
  width: 90%;
  height: 100%;
  top: 0;
  left: 0;
  opacity: 0;
}

.main .work a:hover .caption {
  opacity: 1;
}

.work .caption .work_title {
  display: block;
  width: 100%;
  position: absolute;
  text-align: center;
  top: 50%;
  margin-top: -20px;
}

.main .work .caption p {
  position: relative;
  display: inline-block;
  max-width: 100%;
  padding: 5px 5px;
  z-index: 77;
  color: #ffffff;
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: .5px;
  /* border-bottom: 1px solid #ffffff;
  border-top: 1px solid #ffffff;
  border-left: 1px solid #ffffff;
  border-right: 1px solid #ffffff; */
  background: #B80000;
  margin: 0;
}

/* Popup */

.overlay {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.5);
  transition: opacity 500ms;
  visibility: hidden;
  opacity: 0;
  z-index: 1000000;
}

.overlay:target {
  visibility: visible;
  opacity: 1;
}

.popup {
  margin: 100px 25vw;
  padding: 2vw;
  background: #fff;
  border-radius: 5px;
  width: 60vw;
  position: fixed;
  transition: all 5s ease-in-out;
  z-index: 1000000;
  box-shadow: 0px 0px 15px rgba(0, 0, 0, .6);
}

.popup h2 {
  margin-top: 0;
  color: #333;
  font-family: "Montserrat", sans-serif;
  margin: 1.5em 0;
}

.popup .close {
  position: absolute;
  top: 20px;
  right: 30px;
  transition: all 200ms;
  font-size: 30px;
  font-weight: bold;
  text-decoration: none;
  color: #333;
}

.popup .close:hover {
  color: #B80000;
}

.popup .contenido {
  text-align: justify;
  width: 49%;
  max-height: 30%;
  overflow: auto;
  float: left;
  color: rgb(166, 166, 166);
  font-family: "Montserrat", sans-serif;
  font-size: 15px;
  line-height: 20px;
  padding: 0px 30px;
  background: #fff;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -ms-box-sizing: border-box;
  box-sizing: border-box;
}

.popup .galeria{
  margin: 1em 0em;
}

.popup .fotorama{
  margin: 0 auto;
}

.popupsalir{
  width: 100%;
  height: 100vh;
  float: right;
  transition: all 200ms;
  margin-left: 15vw;
}

/* Apartado */

.apartado{
  margin: 20vh 0vh 10vh;
}

.apartadoobras{
  height: 22vh;
  margin-bottom: 20vh;
}

/* Imagen seccion */

.imagenseccion {
  width: 105%;
  height: 50vh;
  overflow: hidden;
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-position: center center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-shadow: inset 0px -5px 15px -2px rgba(0, 0, 0, .3), inset 0px  5px 15px -2px rgba(0, 0, 0, .3);
}

.imagenportada {
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-position: center center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  box-shadow: inset 0px -5px 15px -2px rgba(0, 0, 0, .6);

}

/* Margen lados */

.izquierda {
  margin-left: 3vw;
}

.derecha {
  margin-right: 3vw;
}
/* Titulos */

.titulo {
  margin-top: 3vh;
  margin-bottom: 3vh;
}

.titulo h2 {
  font-size: 1.3em;
  background-color: #B80000;
  color: white;
  padding: .2em;
  /* margin: .75em 0; */
}

.tituloprincipal {
  margin-top:12vh;
  font-weight: 900 !important;
  color: #ffffff !important;
}

.tituloprincipal h1 {
  font-family: 'Arnold-Boecklin';
  color: #B80000;
  font-size: 8em;
  letter-spacing: 5px;
  /* margin: .67em 0; */
  text-transform: uppercase;
}

.subtituloprincipal {
  margin-top:40vh;
  font-weight: 900 !important;
  color: #ffffff !important;
}

.subtituloprincipal h2 {
  background-color: #B80000;
  color: #ffffff;
  font-size: 2.4em;
  /* margin: .67em 0; */
  text-transform: uppercase;
}


/* Textos */

.texto {
  width: 50%;
  text-align: justify;
  margin-bottom: 2vh;
  margin-left: 5vw;
}

.texto p {
  font-weight: 500;
  line-height: 1.5em;
}

.texto a {

}

/* About */
.about {
  width: 60%;
  height: 100%;
  padding-left: 300px;
  padding-right: 20px;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  position: absolute;
  background: #ffffff;
  clear: both;
  color: #a6a6a6;
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  text-decoration: none;
  letter-spacing: 1px;
  TEXT-ALIGN: justify;
}

.aboutimagen {
  width: 30%;
  height: 40%;
  padding-left: 20px;
  padding-right: 20px;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  position: absolute;
  right: 60px;
  background: #ffffff;
  clear: both;
  color: #a6a6a6;
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  text-decoration: none;
  letter-spacing: 1px;
  align: right
}

.yutu {
  padding-left: 300px;
  padding-right: 20px;
  width: 100% !important;
  height: auto !important;
}

/*  Inner Page  */
.top {
  width: 100%;
  height: 350px;
  overflow: hidden;
  display: block;
  position: relative;
  background: url('../img/hero_image.jpg') no-repeat;
  background-size: cover;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-position: 50% 50%;
}

.work_nav {
  display: block;
  width: 100%;
}

.work_nav .btn {
  float: right;
}

.work_nav ul {
  list-style: none;
}

.work_nav ul li {
  display: block;
  float: left;
  margin: 0 0 1px 1px;
  position: relative;
}

.work_nav a {
  display: block;
  width: 40px;
  height: 40px;
  background: url('../img/p_navigation.png') no-repeat;
  background-position: 0 0;
}

.work_nav a.previous {
  background-position: 0 0;
}

.work_nav a.grid {
  background-position: -41px 0;
}

.work_nav a.next {
  background-position: -82px 0;
}

.top .title {
  display: block;
  width: 100%;
  color: #4b4848;
  font-family: "raleway-bold", arial;
  font-size: 26px;
  font-weight: bold;
  background: rgba(255, 255, 255, .7);
  padding: 20px;
  text-transform: uppercase;
  line-height: 30px;
  margin: 0 !important;
  overflow: hidden;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -ms-box-sizing: border-box;
  box-sizing: border-box;
}

.content_header {
  position: absolute;
  bottom: 0;
  margin: 0 auto;
  left: 50%;
  margin-left: -46.36363636363637%;
}

.content {
  color: #4b4848;
  font-family: "Montserrat", sans-serif;
  font-size: 15px;
  line-height: 22px;
  padding: 60px 30px;
  background: #fff;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -ms-box-sizing: border-box;
  box-sizing: border-box;
}

.content p {
  color: #4b4848;
  font-family: "Montserrat", sans-serif;
  font-size: 15px;
  line-height: 24px;
  margin-bottom: 60px;
}

.content h1,
.content h2,
.content h3,
.content h5,
.content h6,
.content h7,
.content h8 {
  color: #4b4848;
  font-family: "Montserrat", sans-serif;
  font-weight: regular;
  line-height: 28px;
  margin-bottom: 30px;
}

.content h4 {
  color: #F0F8FF;
  font-family: "Montserrat", sans-serif;
  font-weight: regular;
  line-height: 28px;
  margin-bottom: 30px;
}

/*  Contact page map  */
#map .map_adresse {
  font-family: 'raleway-regular', arial;
  font-size: 14px;
  line-height: 22px;
  letter-spacing: 1px;
}

#map .map_address,
#map .map_tel {
  padding: 5px;
}

#map .map_address .address,
#map .map_tel .tel {
  font-family: 'raleway-bold', arial;
  font-weight: bolder;
}

#map img {
  max-width: none;
}

/*  Tooltip  */
.tooltip {
  display: block;
  padding: 7px 10px;
  background: #454545;
  color: #fff;
  font-family: "Montserrat", sans-serif;
  font-size: 12px;
  position: absolute;
  white-space: nowrap;
  z-index: 999;
  opacity: 0;
  text-align: center;
  letter-spacing: .5px;
}

.tooltip:after {
  content: '';
  width: 0px;
  height: 0px;
  border-style: solid;
  border-width: 3px 3px 0 3px;
  border-color: #454545 transparent transparent transparent;
  display: block;
  text-align: center;
  position: absolute;
  bottom: -3px;
  left: 50%;
  margin-left: -3px;
}

/*  Responsive code  */
@media (max-width:1099px) {
  header {
    display: block;
    width: 100%;
    min-height: 100px;
    padding: 0;
    position: relative;
  }

  header .logo {
    margin: 10px 0 0 10px;
    float: left;
  }

  header .footer {
    display: none;
  }

  header #menu_icon,
  header .close_menu {
    float: right;
    margin: 10px 10px 0 0;
    position: relative;
    z-index: 9999;
  }

  header nav {
    width: 100%;
    position: absolute;
    top: 0 px;
    left: 0;
    z-index: 9998;
  }

  header nav ul {
    list-style: none;
    display: none;
    position: relative;
  }

  header nav ul li a {
    display: block;
    width: 100%;
    padding: 20px 0;
    text-align: center;
    color: #454545;
    font-family: "Montserrat", sans-serif;
    font-size: 8 px;
    text-decoration: none;
    border-top: 1px solid #f7f5f5;
    background: #fff;
  }

  header nav ul li a:active {
    background: #f7f5f5;
  }

  #menu_icon,
  .close_menu,
  .show_menu {
    display: block;
  }

  .show_menu {
    display: block;
  }

  .main {
    height: 25%;
    width: 100%;
    position: relative;
    /* padding-left: 15%; */
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    position: relative;
  }

  .main .work {
    display: block;
    width: 25%;
    height: 100%;
    position: relative;
    overflow: hidden;
    vertical-align: middle;
  }

  .main .work .media {
    width: 100%;
    vertical-align: middle;
  }

  .work .caption .work_title {
    display: block;
    width: 100%;
    position: absolute;
    text-align: center;
    top: 50%;
    margin-top: -20px;
  }

  .main .work .caption p {
    position: relative;
    display: inline-block;
    max-width: 100%;
    padding: 5px 5px;
    z-index: 77;
    color: #ffffff;
    font-family: "Montserrat", sans-serif;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: .5px;
    /* border-bottom: 1px solid #ffffff;
    border-top: 1px solid #ffffff;
    border-left: 1px solid #ffffff;
    border-right: 1px solid #ffffff; */
    background: #B80000;
    margin: 0;
  }

  .main .work .caption p2 {
    position: relative;
    display: inline-block;
    max-width: 100%;
    padding: 10px 10px;
    z-index: 77;
    color: #000000;
    font-family: "Montserrat", sans-serif;
    font-size: 6px;
    letter-spacing: .5px;
    border-bottom: 1px solid #000000;
    border-top: 1px solid #000000;
    border-left: 1px solid #000000;
    border-right: 1px solid #000000;
    background: rgba(255, 255, 255, 0);
    margin: 0;
  }

  .diapositivas {
    width: 100%;
    height: 100%;
    position: relative;
    padding-left: 0;
    background: #ffffff;
    clear: both;
  }

  .diapositivas .galería {
    width: 100%;
    height: 100%;
    overflow: hidden;
    vertical-align: middle;
  }

  .diapositivas .galería .media {
    width: 100%;
    vertical-align: middle;
    text-align: middle;
  }

  #map {
    margin: 0 !important;
  }

  .about {
    width: 60%;
    height: 100%;
    padding-left: 10px;
    padding-right: 30px;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    position: absolute;
    background: #ffffff;
    clear: both;
    color: #a6a6a6;
    font-family: "Montserrat", sans-serif;
    font-size: 14px;
    text-decoration: none;
    letter-spacing: 1px;
    TEXT-ALIGN: justify;
  }

  .aboutimagen {
    width: 30%;
    height: 40%;
    padding-left: 20px;
    padding-right: 10px;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    position: absolute;
    right: 40px;
    background: #ffffff;
    clear: both;
    color: #a6a6a6;
    font-family: "Montserrat", sans-serif;
    font-size: 14px;
    text-decoration: none;
    letter-spacing: 1px;
    align: right
  }
}

/* ==============================
   Ordenador Pequeño
   ============================== */

@media only screen and (max-width: 1200px) {

.wrapper {
  width: 92.72727272727273%;
  margin: 0 auto;
}

header ul.social li a,
.main .work a .caption,
header nav ul li a {
  transition: all .1s linear;
  -webkit-transition: all .1s linear;
  -moz-transition: all .1s linear;
  -o-transition: all .1s linear;
}

h1, h2, h3, h5, h6 {
  font-family: "Montserrat", sans-serif;
  /* letter-spacing: 1px; */
}

h4 {
  color: #939393;
  font-family: "Montserrat", sans-serif;
  letter-spacing: 1px;
}

h7 {
  color: #e2e2e2;
  font-family: "Montserrat", sans-serif;
  letter-spacing: 1px;
}

h1 {
  color: rgb(0, 0, 0);
  font-size: 1.5em;
  margin: .67em 0;
  text-transform: uppercase;
}

h2 {
  font-size: 1em;
  margin: .75em 0
}

h3 {
  font-size: .8em;
  margin: .83em 0
}

h4 {
  font-size: 11px;
  margin: 1.67em 0
}

h5 {
  font-size: .83em;
  margin: 1.5em 0
}

h6 {
  font-size: .75em;
  margin: 1.67em 0
}

h7 {
  font-size: .55em;
  margin: 1.67em 0
}

h1, h2, h3, h4,
h5, h6, h7, h8, {
  font-weight: normal
}

p {
  color: #454545;
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  font-size: 13px;
}

a {
  color: #454545;
  font-family: "Montserrat", sans-serif;
}

.clearfix:before,
.clearfix:after {
  content: " ";
  display: table;
}

.clearfix:after {
  clear: both;
}

.clearfix {
  *zoom: 1;
}

/*  Header  */
/* @media (min-width: 1200px) { */
header{
    display: block;
    width: 100%;
    min-height: 100px;
    padding: 0;
    position: relative;
    background: #B80000;
}
header .logo{
    margin: 40px 0 0 30px;
    float: left;
}
header .footer{
    display: none;
}
header #menu_icon,
header .close_menu{
    float: right;
    margin: 30px 30px 0 0;
}

header nav{
    width: 100%;
    position: absolute;
    top: 100 px;
    left: 0;
    z-index: 9999;
}

header nav ul{
    list-style: none;
    display: none;
    position: relative;
}
header nav ul li a{
    display: block;
    width: 100%;
    padding: 30px 0;
    text-align: center;
    color: #454545;
    font-family: "raleway-regular", arial;
    font-size: 14px;
    text-decoration: none;
    border-top: 1px solid #f7f5f5;
    background: #fff;
}
header nav ul li a:active{
    background: #f7f5f5;
}
#menu_icon,
.close_menu,
.show_menu{
    display: block;
}
.show_menu{
    display: block;
}

.main .work{
    width: 50%;
}
.main{
    width: 100%;
    margin-left: 0;
    position: relative;
    padding-left: 0;
}
#map{
    margin: 0!important;
}


#menu_icon,
.close_menu {
  float: right;
  margin-right: 40px;
  width: 40px;
  height: 40px;
  cursor: pointer;
  background: url('../img/men_icons.png') no-repeat;
}

#menu_icon {
  background-position: 0 0;
}

.close_menu {
  background-position: -41px 0 !important;
}

/* Diapositivas */
.diapositivas {
  width: 100%;
  height: 100%;
  padding-left: 300px;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  position: absolute;
  background: #ffffff;
  clear: both;
}

.diapositivas .galería {
  display: block;
  width: 100%;
  height: auto;
  overflow: hidden;
  vertical-align: middle;
}

.diapositivas .galería .media {
  width: 100%;
  vertical-align: middle;
  text-align: middle;
}

/*  Main  */
.main {
  width: 100vw;
  height: 100%;
  margin-left: 0;
  /* margin-right: 10vw; */
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  position: relative;
  z-index: 55;
  background: #ffffff;
  clear: both;
}

/*  Home/portfolio  */
.main .work {
  display: block;
  width: 12.5%;
  height: auto;
  float: left;
  position: relative;
  overflow: hidden;
  vertical-align: middle;
  box-shadow: 0px 0px 10px  rgba(0, 0, 0, .6);
  transition: all .2s ease-in-out;
}

.main .work .media {
  width: 100%;
  vertical-align: middle;
}

.main .work:hover {
  transform: scale(1.1);
  z-index: 99;
}

.main .work .grayscale {
  width: 100% filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#grayscale");
  /* Firefox 3.5+, IE10 */
  filter: gray;
  /* IE6-9 */
  -webkit-filter: grayscale(100%);
  /* Chrome 19+ & Safari 6+ */
  -webkit-transition: all .6s ease;
  /* Fade to color for Chrome and Safari */
  -webkit-backface-visibility: hidden;
  /* Fix for transition flickering */
  vertical-align: middle;
}

.main .work a:hover .grayscale {
  filter: none;
  -webkit-filter: grayscale(0%);
}

svg image {
  transition: all .6s ease;
}

svg image:hover {
  opacity: 0;
}

.main .work .caption {
  position: absolute;
  display: block;
  text-align: center;
  margin-left: 5%;
  width: 90%;
  height: 100%;
  top: 0;
  left: 0;
  opacity: 0;
}

.main .work a:hover .caption {
  opacity: 1;
}

.work .caption .work_title {
  display: block;
  width: 100%;
  position: absolute;
  text-align: center;
  top: 50%;
  margin-top: -20px;
}

.main .work .caption p {
  position: relative;
  display: inline-block;
  max-width: 100%;
  padding: 5px 5px;
  z-index: 77;
  color: #ffffff;
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: .5px;
  /* border-bottom: 1px solid #ffffff;
  border-top: 1px solid #ffffff;
  border-left: 1px solid #ffffff;
  border-right: 1px solid #ffffff; */
  background: #B80000;
  margin: 0;
}

/* Popup */

.overlay {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.5);
  transition: opacity 500ms;
  visibility: hidden;
  opacity: 0;
  z-index: 1000000;
}

.overlay:target {
  visibility: visible;
  opacity: 1;
}

.popup {
  margin: 50px 10vw;
  padding: 2vw;
  background: #fff;
  border-radius: 5px;
  width: 80vw;
  position: fixed;
  transition: all 5s ease-in-out;
  z-index: 1000000;
  box-shadow: 0px 0px 15px rgba(0, 0, 0, .6);
}

.popup h2 {
  margin-top: 0;
  color: #333;
  font-family: "Montserrat", sans-serif;
  margin: 1.5em 0;
}

.popup .close {
  position: absolute;
  top: 20px;
  right: 30px;
  transition: all 200ms;
  font-size: 30px;
  font-weight: bold;
  text-decoration: none;
  color: #333;
}

.popup .close:hover {
  color: #B80000;
}

.popup .contenido {
  text-align: justify;
  width: 49%;
  max-height: 30%;
  overflow: auto;
  float: left;
  color: rgb(166, 166, 166);
  font-family: "Montserrat", sans-serif;
  font-size: 15px;
  line-height: 20px;
  padding: 0px 30px;
  background: #fff;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -ms-box-sizing: border-box;
  box-sizing: border-box;
}

.popup .galeria{
  margin: 1em 0em;
}

.popup .fotorama{
  margin: 0 auto;
}

.popupsalir{
  width: 100%;
  height: 100vh;
  float: right;
  transition: all 200ms;
  margin-left: 15vw;
}

/* Apartado */

.apartado{
  margin: 20vh 0vh 10vh;
}

.apartadoobras{
  height: 22vh;
  margin-bottom: 20vh;
}

/* Imagen seccion */

.imagenseccion {
  width: 105%;
  height: 50vh;
  overflow: hidden;
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-position: center center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-shadow: inset 0px -5px 15px -2px rgba(0, 0, 0, .3), inset 0px  5px 15px -2px rgba(0, 0, 0, .3);
}

.imagenportada {
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-position: center center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  box-shadow: inset 0px -5px 15px -2px rgba(0, 0, 0, .6);

}

/* Margen lados */

.izquierda {
  margin-left: 3vw;
}

.derecha {
  margin-right: 3vw;
}
/* Titulos */

.titulo {
  margin-top: 3vh;
  margin-bottom: 3vh;
}

.titulo h2 {
  font-size: 1.3em;
  background-color: #B80000;
  color: white;
  padding: .2em;
  /* margin: .75em 0; */
}

.tituloprincipal {
  margin-top:12vh;
  font-weight: 900 !important;
  color: #ffffff !important;
}

.tituloprincipal h1 {
  font-family: 'Arnold-Boecklin';
  color: #B80000;
  font-size: 6em;
  letter-spacing: 5px;
  /* margin: .67em 0; */
  text-transform: uppercase;
}

.subtituloprincipal {
  margin-top:40vh;
  font-weight: 900 !important;
  color: #ffffff !important;
}

.subtituloprincipal h2 {
  background-color: #B80000;
  color: #ffffff;
  font-size: 2em;
  /* margin: .67em 0; */
  text-transform: uppercase;
}


/* Textos */

.texto {
  width: auto;
  text-align: justify;
  margin-bottom: 2vh;
  margin-left: 5vw;
  margin-right: 5vw;
}

.texto p {
  font-weight: 500;
  line-height: 1.5em;
}

.texto a {

}

/* About */
.about {
  width: 60%;
  height: 100%;
  padding-left: 300px;
  padding-right: 20px;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  position: absolute;
  background: #ffffff;
  clear: both;
  color: #a6a6a6;
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  text-decoration: none;
  letter-spacing: 1px;
  TEXT-ALIGN: justify;
}

.aboutimagen {
  width: 30%;
  height: 40%;
  padding-left: 20px;
  padding-right: 20px;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  position: absolute;
  right: 60px;
  background: #ffffff;
  clear: both;
  color: #a6a6a6;
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  text-decoration: none;
  letter-spacing: 1px;
  align: right
}

.yutu {
  padding-left: 300px;
  padding-right: 20px;
  width: 100% !important;
  height: auto !important;
}

/*  Inner Page  */
.top {
  width: 100%;
  height: 350px;
  overflow: hidden;
  display: block;
  position: relative;
  background: url('../img/hero_image.jpg') no-repeat;
  background-size: cover;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-position: 50% 50%;
}

.work_nav {
  display: block;
  width: 100%;
}

.work_nav .btn {
  float: right;
}

.work_nav ul {
  list-style: none;
}

.work_nav ul li {
  display: block;
  float: left;
  margin: 0 0 1px 1px;
  position: relative;
}

.work_nav a {
  display: block;
  width: 40px;
  height: 40px;
  background: url('../img/p_navigation.png') no-repeat;
  background-position: 0 0;
}

.work_nav a.previous {
  background-position: 0 0;
}

.work_nav a.grid {
  background-position: -41px 0;
}

.work_nav a.next {
  background-position: -82px 0;
}

.top .title {
  display: block;
  width: 100%;
  color: #4b4848;
  font-family: "raleway-bold", arial;
  font-size: 26px;
  font-weight: bold;
  background: rgba(255, 255, 255, .7);
  padding: 20px;
  text-transform: uppercase;
  line-height: 30px;
  margin: 0 !important;
  overflow: hidden;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -ms-box-sizing: border-box;
  box-sizing: border-box;
}

.content_header {
  position: absolute;
  bottom: 0;
  margin: 0 auto;
  left: 50%;
  margin-left: -46.36363636363637%;
}

.content {
  color: #4b4848;
  font-family: "Montserrat", sans-serif;
  font-size: 15px;
  line-height: 22px;
  padding: 60px 30px;
  background: #fff;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -ms-box-sizing: border-box;
  box-sizing: border-box;
}

.content p {
  color: #4b4848;
  font-family: "Montserrat", sans-serif;
  font-size: 15px;
  line-height: 24px;
  margin-bottom: 60px;
}

.content h1,
.content h2,
.content h3,
.content h5,
.content h6,
.content h7,
.content h8 {
  color: #4b4848;
  font-family: "Montserrat", sans-serif;
  font-weight: regular;
  line-height: 28px;
  margin-bottom: 30px;
}

.content h4 {
  color: #F0F8FF;
  font-family: "Montserrat", sans-serif;
  font-weight: regular;
  line-height: 28px;
  margin-bottom: 30px;
}

/*  Contact page map  */
#map .map_adresse {
  font-family: 'raleway-regular', arial;
  font-size: 14px;
  line-height: 22px;
  letter-spacing: 1px;
}

#map .map_address,
#map .map_tel {
  padding: 5px;
}

#map .map_address .address,
#map .map_tel .tel {
  font-family: 'raleway-bold', arial;
  font-weight: bolder;
}

#map img {
  max-width: none;
}

/*  Tooltip  */
.tooltip {
  display: block;
  padding: 7px 10px;
  background: #454545;
  color: #fff;
  font-family: "Montserrat", sans-serif;
  font-size: 12px;
  position: absolute;
  white-space: nowrap;
  z-index: 999;
  opacity: 0;
  text-align: center;
  letter-spacing: .5px;
}

.tooltip:after {
  content: '';
  width: 0px;
  height: 0px;
  border-style: solid;
  border-width: 3px 3px 0 3px;
  border-color: #454545 transparent transparent transparent;
  display: block;
  text-align: center;
  position: absolute;
  bottom: -3px;
  left: 50%;
  margin-left: -3px;
}

/*  Responsive code  */
/* @media (max-width:1099px) { */
  header {
    display: block;
    width: 100%;
    min-height: 100px;
    padding: 0;
    position: relative;
  }

  header .logo {
    margin: 10px 0 0 10px;
    float: left;
  }

  header .footer {
    display: none;
  }

  header #menu_icon,
  header .close_menu {
    float: right;
    margin: 10px 10px 0 95vw;
    position: fixed;
    z-index: 99999;
  }

  header nav {
    width: 100%;
    position: absolute;
    top: 0 px;
    left: 0;
    z-index: 9998;
  }

  header nav ul {
    list-style: none;
    display: none;
    position: relative;
  }

  header nav ul li a {
    display: block;
    width: 100%;
    padding: 20px 0;
    text-align: center;
    color: #454545;
    font-family: "Montserrat", sans-serif;
    font-size: 8 px;
    text-decoration: none;
    border-top: 1px solid #f7f5f5;
    background: #fff;
  }

  header nav ul li a:active {
    background: #f7f5f5;
  }

  #menu_icon,
  .close_menu,
  .show_menu {
    display: block;
  }

  .show_menu {
    display: block;
    position: fixed;
    width: 100%;
  }

  .main {
    height: 25%;
    width: 100%;
    position: relative;
    /* padding-left: 15%; */
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    position: relative;
  }

  .main .work {
    display: block;
    width: 25%;
    /* height: 100%; */
    position: relative;
    overflow: hidden;
    vertical-align: middle;
  }

  .main .work .media {
    width: 100%;
    vertical-align: middle;
  }

  .work .caption .work_title {
    display: block;
    width: 100%;
    position: absolute;
    text-align: center;
    top: 50%;
    margin-top: -20px;
  }

  .main .work .caption p {
    position: relative;
    display: inline-block;
    max-width: 100%;
    padding: 5px 5px;
    z-index: 77;
    color: #ffffff;
    font-family: "Montserrat", sans-serif;
    font-size: .8em;
    line-height: 1.1em;
    letter-spacing: .4px;
    /* border-bottom: 1px solid #ffffff;
    border-top: 1px solid #ffffff;
    border-left: 1px solid #ffffff;
    border-right: 1px solid #ffffff; */
    background: #B80000;
    margin: 0;
  }

  .main .work .caption p2 {
    position: relative;
    display: inline-block;
    max-width: 100%;
    padding: 10px 10px;
    z-index: 77;
    color: #000000;
    font-family: "Montserrat", sans-serif;
    font-size: 6px;
    letter-spacing: .5px;
    border-bottom: 1px solid #000000;
    border-top: 1px solid #000000;
    border-left: 1px solid #000000;
    border-right: 1px solid #000000;
    background: rgba(255, 255, 255, 0);
    margin: 0;
  }

  .diapositivas {
    width: 100%;
    height: 100%;
    position: relative;
    padding-left: 0;
    background: #ffffff;
    clear: both;
  }

  .diapositivas .galería {
    width: 100%;
    height: 100%;
    overflow: hidden;
    vertical-align: middle;
  }

  .diapositivas .galería .media {
    width: 100%;
    vertical-align: middle;
    text-align: middle;
  }

  #map {
    margin: 0 !important;
  }

  .about {
    width: 60%;
    height: 100%;
    padding-left: 10px;
    padding-right: 30px;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    position: absolute;
    background: #ffffff;
    clear: both;
    color: #a6a6a6;
    font-family: "Montserrat", sans-serif;
    font-size: 14px;
    text-decoration: none;
    letter-spacing: 1px;
    TEXT-ALIGN: justify;
  }

  .aboutimagen {
    width: 30%;
    height: 40%;
    padding-left: 20px;
    padding-right: 10px;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    position: absolute;
    right: 40px;
    background: #ffffff;
    clear: both;
    color: #a6a6a6;
    font-family: "Montserrat", sans-serif;
    font-size: 14px;
    text-decoration: none;
    letter-spacing: 1px;
    align: right
  }
}

/* ==============================
   Phone
   ============================== */

@media only screen and (max-width: 480px) {

.wrapper {
  width: 92.72727272727273%;
  margin: 0 auto;
}

header ul.social li a,
.main .work a .caption,
header nav ul li a {
  transition: all .1s linear;
  -webkit-transition: all .1s linear;
  -moz-transition: all .1s linear;
  -o-transition: all .1s linear;
}

h1, h2, h3, h5, h6 {
  font-family: "Montserrat", sans-serif;
  /* letter-spacing: 1px; */
}

h4 {
  color: #939393;
  font-family: "Montserrat", sans-serif;
  letter-spacing: 1px;
}

h7 {
  color: #e2e2e2;
  font-family: "Montserrat", sans-serif;
  letter-spacing: 1px;
}

h1 {
  color: rgb(0, 0, 0);
  font-size: 1.5em;
  margin: .67em 0;
  text-transform: uppercase;
}

h2 {
  font-size: 1em;
  margin: .75em 0
}

h3 {
  font-size: .8em;
  margin: .83em 0
}

h4 {
  font-size: 11px;
  margin: 1.67em 0
}

h5 {
  font-size: .83em;
  margin: 1.5em 0
}

h6 {
  font-size: .75em;
  margin: 1.67em 0
}

h7 {
  font-size: .55em;
  margin: 1.67em 0
}

h1, h2, h3, h4,
h5, h6, h7, h8, {
  font-weight: normal
}

p {
  color: #454545;
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  font-size: 13px;
}

a {
  color: #454545;
  font-family: "Montserrat", sans-serif;
}

.clearfix:before,
.clearfix:after {
  content: " ";
  display: table;
}

.clearfix:after {
  clear: both;
}

.clearfix {
  *zoom: 1;
}

/*  Header  */
/* @media (min-width: 1200px) { */
header{
    display: block;
    width: 100%;
    min-height: 100px;
    padding: 0;
    position: relative;
    background: #B80000;
}
header .logo{
    margin: 40px 0 0 30px;
    float: left;
}
header .footer{
    display: none;
}
header #menu_icon,
header .close_menu{
    float: right;
    margin: 30px 30px 0 0;
}

header nav{
    width: 100%;
    position: absolute;
    top: 100 px;
    left: 0;
    z-index: 9999;
}

header nav ul{
    list-style: none;
    display: none;
    position: relative;
}
header nav ul li a{
    display: block;
    width: 100%;
    padding: 30px 0;
    text-align: center;
    color: #454545;
    font-family: "raleway-regular", arial;
    font-size: 14px;
    text-decoration: none;
    border-top: 1px solid #f7f5f5;
    background: #fff;
}
header nav ul li a:active{
    background: #f7f5f5;
}
#menu_icon,
.close_menu,
.show_menu{
    display: block;
}
.show_menu{
    display: block;
}

.main .work{
    width: 50%;
}
.main{
    width: 100%;
    margin-left: 0;
    position: relative;
    padding-left: 0;
}
#map{
    margin: 0!important;
}


#menu_icon,
.close_menu {
  float: right;
  margin-right: 40px;
  width: 40px;
  height: 40px;
  cursor: pointer;
  background: url('../img/men_icons.png') no-repeat;
}

#menu_icon {
  background-position: 0 0;
}

.close_menu {
  background-position: -41px 0 !important;
}

/* Diapositivas */
.diapositivas {
  width: 100%;
  height: 100%;
  padding-left: 300px;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  position: absolute;
  background: #ffffff;
  clear: both;
}

.diapositivas .galería {
  display: block;
  width: 100%;
  height: auto;
  overflow: hidden;
  vertical-align: middle;
}

.diapositivas .galería .media {
  width: 100%;
  vertical-align: middle;
  text-align: middle;
}

/*  Main  */
.main {
  width: 100vw;
  height: 100%;
  margin-left: 0;
  /* margin-right: 10vw; */
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  position: relative;
  z-index: 55;
  background: #ffffff;
  clear: both;
}

/*  Home/portfolio  */
.main .work {
  display: block;
  width: 12.5%;
  height: auto;
  float: left;
  position: relative;
  overflow: hidden;
  vertical-align: middle;
  box-shadow: 0px 0px 10px  rgba(0, 0, 0, .6);
  transition: all .2s ease-in-out;
}

.main .work .media {
  width: 100%;
  vertical-align: middle;
}

.main .work:hover {
  transform: scale(1.1);
  z-index: 99;
}

.main .work .grayscale {
  width: 100% filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#grayscale");
  /* Firefox 3.5+, IE10 */
  filter: gray;
  /* IE6-9 */
  -webkit-filter: grayscale(100%);
  /* Chrome 19+ & Safari 6+ */
  -webkit-transition: all .6s ease;
  /* Fade to color for Chrome and Safari */
  -webkit-backface-visibility: hidden;
  /* Fix for transition flickering */
  vertical-align: middle;
}

.main .work a:hover .grayscale {
  filter: none;
  -webkit-filter: grayscale(0%);
}

svg image {
  transition: all .6s ease;
}

svg image:hover {
  opacity: 0;
}

.main .work .caption {
  position: absolute;
  display: block;
  text-align: center;
  margin-left: 5%;
  width: 90%;
  height: 100%;
  top: 0;
  left: 0;
  opacity: 0;
}

.main .work a:hover .caption {
  opacity: 1;
}

.work .caption .work_title {
  display: block;
  width: 100%;
  position: absolute;
  text-align: center;
  top: 50%;
  margin-top: -20px;
}

.main .work .caption p {
  position: relative;
  display: inline-block;
  max-width: 100%;
  padding: 5px 5px;
  z-index: 77;
  color: #ffffff;
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: .5px;
  /* border-bottom: 1px solid #ffffff;
  border-top: 1px solid #ffffff;
  border-left: 1px solid #ffffff;
  border-right: 1px solid #ffffff; */
  background: #B80000;
  margin: 0;
}

/* Popup */

.overlay {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.5);
  transition: opacity 500ms;
  visibility: hidden;
  opacity: 0;
  z-index: 1000000;
}

.overlay:target {
  visibility: visible;
  opacity: 1;
}

.popup {
  margin: 50px 5vw;
  padding: 2vw;
  background: #fff;
  border-radius: 5px;
  width: 90vw;
  position: fixed;
  transition: all 5s ease-in-out;
  z-index: 1000000;
  box-shadow: 0px 0px 15px rgba(0, 0, 0, .6);
  overflow: hidden;
}

.popup h2 {
  margin-top: 0;
  color: #333;
  font-family: "Montserrat", sans-serif;
  margin: 1.5em 0;
}

.popup .close {
  position: absolute;
  top: 20px;
  right: 30px;
  transition: all 200ms;
  font-size: 30px;
  font-weight: bold;
  text-decoration: none;
  color: #333;
}

.popup .close:hover {
  color: #B80000;
}

.popup .contenido {
  text-align: justify;
  width: 100%;
  max-height: 30%;
  overflow: auto;
  float: left;
  color: rgb(166, 166, 166);
  font-family: "Montserrat", sans-serif;
  font-size: 15px;
  line-height: 18px;
  padding: 0px 10px 10px 10px;
  background: #fff;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -ms-box-sizing: border-box;
  box-sizing: border-box;
}

.popup .galeria{
  margin: 1em 0em;
}

.popup .fotorama{
  margin: 0 auto;
}

.popupsalir{
  width: 100%;
  height: 100vh;
  float: right;
  transition: all 200ms;
  margin-left: 15vw;
}

/* Apartado */

.apartado{
  margin: 20vh 0vh 10vh;
}

.apartadoobras{
  height: 22vh;
  margin-bottom: 20vh;
}

/* Imagen seccion */

.imagenseccion {
  width: 105%;
  height: 50vh;
  overflow: hidden;
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-position: center center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-shadow: inset 0px -5px 15px -2px rgba(0, 0, 0, .3), inset 0px  5px 15px -2px rgba(0, 0, 0, .3);
}

.imagenportada {
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-position: center center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  box-shadow: inset 0px -5px 15px -2px rgba(0, 0, 0, .6);

}

/* Margen lados */

.izquierda {
  margin-left: 3vw;
}

.derecha {
  margin-right: 3vw;
}
/* Titulos */

.titulo {
  margin-top: 3vh;
  margin-bottom: 3vh;
}

.titulo h2 {
  font-size: 1.3em;
  background-color: #B80000;
  color: white;
  padding: .2em;
  /* margin: .75em 0; */
}

.tituloprincipal {
  margin-top:12vh;
  font-weight: 900 !important;
  color: #ffffff !important;
}

.tituloprincipal h1 {
  font-family: 'Arnold-Boecklin';
  color: #B80000;
  font-size: 3em;
  letter-spacing: 5px;
  /* margin: .67em 0; */
  text-transform: uppercase;
}

.subtituloprincipal {
  margin-top:40vh;
  font-weight: 900 !important;
  color: #ffffff !important;
}

.subtituloprincipal h2 {
  background-color: #B80000;
  color: #ffffff;
  font-size: 2em;
  /* margin: .67em 0; */
  text-transform: uppercase;
}


/* Textos */

.texto {
  width: auto;
  text-align: justify;
  margin-bottom: 2vh;
  margin-left: 5vw;
  margin-right: 5vw;
}

.texto p {
  font-weight: 500;
  line-height: 1.5em;
}

.texto a {

}

/* About */
.about {
  width: 60%;
  height: 100%;
  padding-left: 300px;
  padding-right: 20px;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  position: absolute;
  background: #ffffff;
  clear: both;
  color: #a6a6a6;
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  text-decoration: none;
  letter-spacing: 1px;
  TEXT-ALIGN: justify;
}

.aboutimagen {
  width: 30%;
  height: 40%;
  padding-left: 20px;
  padding-right: 20px;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  position: absolute;
  right: 60px;
  background: #ffffff;
  clear: both;
  color: #a6a6a6;
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  text-decoration: none;
  letter-spacing: 1px;
  align: right
}

.yutu {
  padding-left: 300px;
  padding-right: 20px;
  width: 100% !important;
  height: auto !important;
}

/*  Inner Page  */
.top {
  width: 100%;
  height: 350px;
  overflow: hidden;
  display: block;
  position: relative;
  background: url('../img/hero_image.jpg') no-repeat;
  background-size: cover;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-position: 50% 50%;
}

.work_nav {
  display: block;
  width: 100%;
}

.work_nav .btn {
  float: right;
}

.work_nav ul {
  list-style: none;
}

.work_nav ul li {
  display: block;
  float: left;
  margin: 0 0 1px 1px;
  position: relative;
}

.work_nav a {
  display: block;
  width: 40px;
  height: 40px;
  background: url('../img/p_navigation.png') no-repeat;
  background-position: 0 0;
}

.work_nav a.previous {
  background-position: 0 0;
}

.work_nav a.grid {
  background-position: -41px 0;
}

.work_nav a.next {
  background-position: -82px 0;
}

.top .title {
  display: block;
  width: 100%;
  color: #4b4848;
  font-family: "raleway-bold", arial;
  font-size: 26px;
  font-weight: bold;
  background: rgba(255, 255, 255, .7);
  padding: 20px;
  text-transform: uppercase;
  line-height: 30px;
  margin: 0 !important;
  overflow: hidden;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -ms-box-sizing: border-box;
  box-sizing: border-box;
}

.content_header {
  position: absolute;
  bottom: 0;
  margin: 0 auto;
  left: 50%;
  margin-left: -46.36363636363637%;
}

.content {
  color: #4b4848;
  font-family: "Montserrat", sans-serif;
  font-size: 15px;
  line-height: 22px;
  padding: 60px 30px;
  background: #fff;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -ms-box-sizing: border-box;
  box-sizing: border-box;
}

.content p {
  color: #4b4848;
  font-family: "Montserrat", sans-serif;
  font-size: 15px;
  line-height: 24px;
  margin-bottom: 60px;
}

.content h1,
.content h2,
.content h3,
.content h5,
.content h6,
.content h7,
.content h8 {
  color: #4b4848;
  font-family: "Montserrat", sans-serif;
  font-weight: regular;
  line-height: 28px;
  margin-bottom: 30px;
}

.content h4 {
  color: #F0F8FF;
  font-family: "Montserrat", sans-serif;
  font-weight: regular;
  line-height: 28px;
  margin-bottom: 30px;
}

/*  Contact page map  */
#map .map_adresse {
  font-family: 'raleway-regular', arial;
  font-size: 14px;
  line-height: 22px;
  letter-spacing: 1px;
}

#map .map_address,
#map .map_tel {
  padding: 5px;
}

#map .map_address .address,
#map .map_tel .tel {
  font-family: 'raleway-bold', arial;
  font-weight: bolder;
}

#map img {
  max-width: none;
}

/*  Tooltip  */
.tooltip {
  display: block;
  padding: 7px 10px;
  background: #454545;
  color: #fff;
  font-family: "Montserrat", sans-serif;
  font-size: 12px;
  position: absolute;
  white-space: nowrap;
  z-index: 999;
  opacity: 0;
  text-align: center;
  letter-spacing: .5px;
}

.tooltip:after {
  content: '';
  width: 0px;
  height: 0px;
  border-style: solid;
  border-width: 3px 3px 0 3px;
  border-color: #454545 transparent transparent transparent;
  display: block;
  text-align: center;
  position: absolute;
  bottom: -3px;
  left: 50%;
  margin-left: -3px;
}

/*  Responsive code  */
/* @media (max-width:1099px) { */
  header {
    display: block;
    width: 100%;
    min-height: 100px;
    padding: 0;
    position: relative;
  }

  header .logo {
    margin: 10px 0 0 10px;
    float: left;
  }

  header .footer {
    display: none;
  }

  header #menu_icon,
  header .close_menu {
    float: right;
    margin: 10px 10px 0 88vw;
    position: fixed;
    z-index: 99999;
  }

  header nav {
    width: 100%;
    position: absolute;
    top: 0 px;
    left: 0;
    z-index: 9998;
  }

  header nav ul {
    list-style: none;
    display: none;
    position: relative;
  }

  header nav ul li a {
    display: block;
    width: 100%;
    padding: 20px 0;
    text-align: center;
    color: #454545;
    font-family: "Montserrat", sans-serif;
    font-size: 8 px;
    text-decoration: none;
    border-top: 1px solid #f7f5f5;
    background: #fff;
  }

  header nav ul li a:active {
    background: #f7f5f5;
  }

  #menu_icon,
  .close_menu,
  .show_menu {
    display: block;
  }

  .show_menu {
    display: block;
    position: fixed;
    width: 100%;
  }

  .main {
    height: 25%;
    width: 100%;
    position: relative;
    /* padding-left: 15%; */
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    position: relative;
  }

  .main .work {
    display: block;
    width: 25%;
    /* height: 100%; */
    position: relative;
    overflow: hidden;
    vertical-align: middle;
  }

  .main .work .media {
    width: 100%;
    vertical-align: middle;
  }

  .work .caption .work_title {
    display: block;
    width: 100%;
    position: absolute;
    text-align: center;
    top: 50%;
    margin-top: -20px;
  }

  .main .work .caption p {
    position: relative;
    display: inline-block;
    max-width: 100%;
    padding: 5px 5px;
    z-index: 77;
    color: #ffffff;
    font-family: "Montserrat", sans-serif;
    font-size: .8em;
    line-height: 1.1em;
    letter-spacing: .4px;
    /* border-bottom: 1px solid #ffffff;
    border-top: 1px solid #ffffff;
    border-left: 1px solid #ffffff;
    border-right: 1px solid #ffffff; */
    background: #B80000;
    margin: 0;
  }

  .main .work .caption p2 {
    position: relative;
    display: inline-block;
    max-width: 100%;
    padding: 10px 10px;
    z-index: 77;
    color: #000000;
    font-family: "Montserrat", sans-serif;
    font-size: 6px;
    letter-spacing: .5px;
    border-bottom: 1px solid #000000;
    border-top: 1px solid #000000;
    border-left: 1px solid #000000;
    border-right: 1px solid #000000;
    background: rgba(255, 255, 255, 0);
    margin: 0;
  }

  .diapositivas {
    width: 100%;
    height: 100%;
    position: relative;
    padding-left: 0;
    background: #ffffff;
    clear: both;
  }

  .diapositivas .galería {
    width: 100%;
    height: 100%;
    overflow: hidden;
    vertical-align: middle;
  }

  .diapositivas .galería .media {
    width: 100%;
    vertical-align: middle;
    text-align: middle;
  }

  #map {
    margin: 0 !important;
  }

  .about {
    width: 60%;
    height: 100%;
    padding-left: 10px;
    padding-right: 30px;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    position: absolute;
    background: #ffffff;
    clear: both;
    color: #a6a6a6;
    font-family: "Montserrat", sans-serif;
    font-size: 14px;
    text-decoration: none;
    letter-spacing: 1px;
    TEXT-ALIGN: justify;
  }

  .aboutimagen {
    width: 30%;
    height: 40%;
    padding-left: 20px;
    padding-right: 10px;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    position: absolute;
    right: 40px;
    background: #ffffff;
    clear: both;
    color: #a6a6a6;
    font-family: "Montserrat", sans-serif;
    font-size: 14px;
    text-decoration: none;
    letter-spacing: 1px;
    align: right
  }
}
