/* -------------------------------- 

Primary style

-------------------------------- */
html * {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

*, *:after, *:before {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}


body.overflow-hidden {
  /* prevent 2 vertical scrollbars on ie and firefox when the cart is visible */
  overflow: hidden;
}

a {
  color: #435779;
  text-decoration: none;
}

img {
  max-width: 100%;
}

/* -------------------------------- 

Modules - reusable parts of our design

-------------------------------- */
.cd-container {
  /* this class is used to horizontally align the gallery of items */
  position: relative;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}
.cd-container::after {
  /* clearfix */
  content: '';
  display: table;
  clear: both;
}

.cd-img-replace {
  /* replace text with a background-image */
  display: inline-block;
  overflow: hidden;
  text-indent: 100%;
  white-space: nowrap;
}

/* -------------------------------- 

MENU PRINCIPAL

-------------------------------- */
header {
  position: fixed;
  top: 0;
  left: 0;
  height: 50px;
  width: 100%;
  background:#000; /*#e53022;*/ /*COLOR DE FONDO DEL MENU*/
  text-align: center;
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.1);
  z-index: 4;
}
@media only screen and (min-width: 1100px) {
  header {
    height: 80px;box-sizing:border-box;
  }
  #logo img{width:65%;height:auto;}
  
}

#logo {
  padding-top: 3px;
  /* delete this property if you don't want your logo to scale down on mobile devices */
  -webkit-transform: scale(0.8);
  -moz-transform: scale(0.8);
  -ms-transform: scale(0.8);
  -o-transform: scale(0.8);
  transform: scale(0.8);
}
@media only screen and (min-width: 1100px) {
  #logo {
    padding-top: 5px;
    position: absolute;
    /* logo left margin on Dekstop */
    left: 2.4em;
    top: 0;
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1);
  }
}

#cd-hamburger-menu{
  position: absolute;
  top: 0;
  height: 100%;
}
#cd-hamburger-menu a{
  width: 60px;
  height: 100%;
}

#cd-hamburger-menu {
  right: 0;
}
#cd-hamburger-menu a {
  background: #26292f url("../img/cd-hamburger-menu.svg") no-repeat center center;
}


@media only screen and (min-width: 1100px) {
  #cd-hamburger-menu {
    display: none;
  }
}


#main-nav {
  position: fixed;
  top: 0;
  height: 100%;
  width: 260px;
  /* header height */
  padding-top: 50px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
font-size:17px;
  z-index: 3;
  font-family: 'latoregular';
}


@media only screen and (min-width: 768px) {
  #main-nav{
    width: 200px;
  }   
}


@media only screen and (min-width: 1100px) {
  #main-nav{
    width: 30%;
    /* header height has changed */
    padding-top: 80px;
  }
}


#main-nav {
  right: -100%;
  background: #000;
  -webkit-transition: left 0.3s;
  -moz-transition: left 0.3s;
  transition: left 0.3s;
  width:auto;
  height:auto;
}
#main-nav.speed-in {
  right: 0;
}
#main-nav ul a {
  display: block;
  height: 50px;
  line-height: 50px;
  padding: 0 1em;
  border-bottom: 1px solid #e0e6ef;transition: all 1s ease;
}
#main-nav ul a:hover {background:#C00;color:#FFF;transition: all 0.25s ease;
}

/*COLOR DEL BORDE IZQUIERDO RESPONSIVO*/
#main-nav ul .current { 
  box-shadow: inset 3px 0 #000;
}

@media only screen and (min-width: 1100px) {
  #main-nav {
    /* reset main nav style */
    position: absolute;
    height: auto;
    width: auto;
    left: auto;
    right: 4em;
    padding-top: 0;
    top: 0;
    background: transparent;
    box-shadow: none;
    /* header height */
    line-height: 80px;
    z-index: 4;
  }
  #main-nav li {
    display: inline-block;
    margin-left: 0;
  }
  #main-nav ul a {
    display: inline-block;
    height: auto;
    line-height: 1;
    padding: .5em 1em;
    border-bottom: none;
    color: rgba(255, 255, 255, 1);
    border-radius: 0.25em;
  }

  #main-nav ul a.current {
    box-shadow: none;
    background:none;
    color: #FFF;
  }
  
  /*COLOR DE OPCIONES RATÓN ENCIMA*/
  .no-touch #main-nav ul a:hover {
    background:rgba(0,0,0,0);
    color: #e53022;
	margin-left:20px;
	/*border-bottom:5px solid #000;*/
  }
}
.no-js #main-nav {
  position: fixed;
}






/* -------------------------------- 

xgallery 

-------------------------------- */
main {
  position: relative;
  min-height: 100%;
  background: #eeeff7;
  padding-top: 70px;
  z-index: 1;
}
@media only screen and (min-width: 768px) {
  main {
    padding-top: 90px;
  }
}
@media only screen and (min-width: 1100px) {
  main {
    padding-top: 120px;
  }
}

#cd-shadow-layer {
  position: fixed;
  min-height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  background: rgba(67, 87, 121, 0.6);
  cursor: pointer;
  z-index: 2;
  display: none;
}
#cd-shadow-layer.is-visible {
  display: block;
  -webkit-animation: cd-fade-in 0.3s;
  -moz-animation: cd-fade-in 0.3s;
  animation: cd-fade-in 0.3s;
}
