/*******************************/
/* Generales */
/*******************************/
body {
  font-size: 15px;
	line-height: 130%;
  color: #333;
}

h1, h2, h3 { /********************************/
  margin: 0 0 3px 0;
  font-size: 20px;
  font-weight: 500;
  color: #242413;
}

strong {
  font-weight: 500;
  color: #202020;
}

a {
  /*color: #005FAD;*/
  color: #293E87;
}

a:hover, a:focus {
  text-decoration: none;
  /*color: #E64620;*/
  color: #CD2D28;
}

.container {
  width: 1170px;
  max-width: none !important;
}

.nm {
  margin-bottom: 0;
}


/*******************************/
/* Aviso */
/*******************************/

#aviso {
  margin-bottom: 1px;
  padding: 10px;
  background: #FFE599;
  text-align: center;
  /*color: #E64620;*/
  color: #CD2D28;
}


/*******************************/
/* Header */
/*******************************/

#header {
  width: 1170px;
  background-color: #EEE;
}

@media (min-width: 1200px) {
  #header {
    width: auto;
  }
}

#header .container {
    position: relative;
}

/* Boton idioma */
.btn-idioma {
  position: absolute;
  top: 0;
  left: 50%;
  margin-left: -50px;
  display: block;
  width: 100px;
  line-height: 35px;
  text-align: center;
  font-size: 12px;
  color: #FFF;
  -webkit-border-bottom-right-radius: 4px;
   -webkit-border-bottom-left-radius: 4px;
      -moz-border-radius-bottomright: 4px;
       -moz-border-radius-bottomleft: 4px;
          border-bottom-right-radius: 4px;
           border-bottom-left-radius: 4px;
  z-index: 1401;
  /*background: #E64620;*/
  background: #CD2D28;
}

.btn-idioma:hover {
  color: #FFF;
  background: #005FAD;
}

/* Logo */
.logo-header {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 1400;
  display: block;
  width: 170px;
  height: 160px;
  text-indent: -9999px;
  background: url(../img/comunes/logo-smmty.png) no-repeat center center;
}

/* Datos header */
#datos-header {
  padding-top: 40px;
  padding-bottom: 40px;
  font-size: 14px;
  text-align: right;
}

/* Menú principal */
#menu-principal {
  background: #FFF url(../img/comunes/fondo-menu.jpg) repeat-x left top;
}

#menu-principal ul {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0;
  text-align: right;
}

#menu-principal ul li {
  display: inline-block;
}

#menu-principal ul li a {
  display: block;
  margin: 25px 0 25px 30px;
  padding: 10px 20px;
  font-size: 16px;
  -webkit-border-radius: 4px;
     -moz-border-radius: 4px;
          border-radius: 4px;
  background-color: #FFF;
}

#menu-principal ul li a:hover {
  outline: 1px rgba(234,80,27,0.3) solid;
}

#menu-principal ul li a.sel {
  color: #FFF;
  /*background-color: #E64620;*/
  background-color: #CD2D28;
}


/*******************************/
/* Middle */
/*******************************/

#middle {
  background: url(../img/comunes/fondo-middle.jpg) repeat-x center top;
}

#middle .container {
  box-shadow: 0px 0px 5px rgba(0,0,0,0.2);
  background-color: #FFF;
}

/* Interior */
#middle .container.interior {
  padding: 30px 30px;
  font-size: 17px;
  line-height: 130%;
  background: url(../img/comunes/fondo-contenedor-interiores.jpg) no-repeat center top;
}

#middle .container.interior h1 {
  margin-bottom: 50px;
  font-size: 23px;
}

#middle .container.interior h2 {
  margin-bottom: 15px;
  padding-bottom: 15px;
  font-size: 18px;
  border-bottom: 2px #EEE solid;
}


/*******************************/
/* Portada */
/*******************************/

/* Slide */
#slide-bienvenida {
  background: url(../img/portada/fondo-slide.jpg) no-repeat center top;
}

/*
  Bootstrap Carousel Fade Transition (for Bootstrap 3.3.x)
  CSS from:       http://codepen.io/transportedman/pen/NPWRGq
  and:            http://stackoverflow.com/questions/18548731/bootstrap-3-carousel-fading-to-new-slide-instead-of-sliding-to-new-slide
  Inspired from:  http://codepen.io/Rowno/pen/Afykb 
*/
.carousel-fade .carousel-inner .item {
  opacity: 0;
  transition-property: opacity;
}

.carousel-fade .carousel-inner .active {
  opacity: 1;
}

.carousel-fade .carousel-inner .active.left,
.carousel-fade .carousel-inner .active.right {
  left: 0;
  opacity: 0;
  z-index: 1;
}

.carousel-fade .carousel-inner .next.left,
.carousel-fade .carousel-inner .prev.right {
  opacity: 1;
}

.carousel-fade .carousel-control {
  z-index: 2;
}

/*
  WHAT IS NEW IN 3.3: "Added transforms to improve carousel performance in modern browsers."
  Need to override the 3.3 new styles for modern browsers & apply opacity
*/
@media all and (transform-3d), (-webkit-transform-3d) {
    .carousel-fade .carousel-inner > .item.next,
    .carousel-fade .carousel-inner > .item.active.right {
      opacity: 0;
      -webkit-transform: translate3d(0, 0, 0);
              transform: translate3d(0, 0, 0);
    }
    .carousel-fade .carousel-inner > .item.prev,
    .carousel-fade .carousel-inner > .item.active.left {
      opacity: 0;
      -webkit-transform: translate3d(0, 0, 0);
              transform: translate3d(0, 0, 0);
    }
    .carousel-fade .carousel-inner > .item.next.left,
    .carousel-fade .carousel-inner > .item.prev.right,
    .carousel-fade .carousel-inner > .item.active {
      opacity: 1;
      -webkit-transform: translate3d(0, 0, 0);
              transform: translate3d(0, 0, 0);
    }
}

/* Bienvenida */
.bienvenida {
  color: #333;
  text-align: center;
}

.bienvenida h1 {
  margin-top: 120px;
  margin-bottom: 30px;
  font-size: 25px;
}

.bienvenida h2 {
  font-size: 21px;
  font-weight: normal;
}

/* Banners */
.banners {
  padding: 0 !important;
}

#carousel {
  margin: 0 !important;
  background: none;
}

#carousel .item img {
  margin: 0 auto;
}

.carousel-control {
  width: 10% !important;
  background-image: none !important;
}

/* Introducción */
#introduccion-bienvenida {
  padding: 30px 15px;
}

#introduccion-bienvenida strong {
  display: block;
  margin-bottom: 10px;
  font-size: 16px;
}

/* Destacados */
#destacados {
  margin-bottom: 30px;
  padding: 0 20px;
}

#destacados .col-xs-3 {
  border-left: 1px #DDD solid;
}

#destacados .col-xs-3:first-child {
  border: 0;
}

/*#destacados .col-xs-3 p {
  margin-left: 64px;
}*/

#destacados span {
  display: inline-block;
  width: 150px;
  height: 150px;
  /*margin-right: 10px;*/
  margin: 0 auto 15px auto;
  background: url(../img/portada/sprite-productos.png) no-repeat left center;
}

#destacados span.tenedores { background-position: -150px 0; }
#destacados span.cuchillos { background-position: -300px 0; }
#destacados span.platos { background-position: -450px 0; }

#destacados p {
  margin-bottom: 0;
}


/*******************************/
/* Nuestra empresa */
/*******************************/

#middle .container.interior.nuestra-empresa {
  padding-bottom: 0;
}

.productos-smmty {
  min-height: 350px;
  background: url(../img/nuestra-empresa/smmty-nuestra-empresa.jpg) no-repeat center bottom;
}


/*******************************/
/* Productos */
/*******************************/

/* Menu productos */
#menu-productos {
  margin: 0;
  padding: 0;
  list-style: none;
  border-bottom: 2px #EEE solid;
}

#menu-productos li {
  border-top: 2px #EEE solid;
}

#menu-productos li a {
  display: block;
  padding: 10px 4px;
}

#menu-productos li a.sel {
  /*color: #E64620;*/
  color: #CD2D28;
  background: url(../img/comunes/vineta.gif) no-repeat 145px center;
}

/* Producto */
#middle .producto {
  margin-bottom: 50px;
}

#middle .producto:last-child {
  margin-bottom: 30px;
}

#middle .producto img {
  padding: 4px;
  border: 1px #DDD solid;
  -webkit-border-radius: 4px;
     -moz-border-radius: 4px;
          border-radius: 4px;
  background: #FFF;
}

#middle .producto ul li ul li {
  margin-bottom: 5px;
  color: #999;
}

/* Galería fotos */
#middle .galeria-fotos {
  position: relative;
  display: block;
}

  .galeria-fotos span {
      position: absolute;
      display: inline-block;
      top: 43%;
      left: 0;
      right: 0;
      margin-left: 30px;
      margin-right: 30px;
      padding: 10px;
      font-size: 14px;
      color: #FFF;
      -webkit-border-radius: 4px;
         -moz-border-radius: 4px;
              border-radius: 4px;
      background: rgba(255,0,0,0.4);
  }

  .galeria-fotos span:hover {
    background: rgba(255,0,0,0.8); 
  }


/*******************************/
/* Mayoristas */
/*******************************/

/* Formulario */
#forma {
  margin-top: 20px;
}

.mayoristas .alert-danger strong {
  color: #B94A48 !important;
}

.mayoristas .alert-success strong {
  color: #3c763d !important;
}

#forma .form-group {
  margin-bottom: 10px;
}

#forma input.error,
#forma select.error,
#forma textarea.error {
    color: #B94A48;
    border-color: #E8E8E8;
}

#forma label {
  margin-bottom: 0px;
  font-size: 14px;
  font-weight: 400;
}

#forma button {
  margin-top: 10px;
}

/* Mapa mayoristas */
#mapa-mayoristas {}

#mapa-mayoristas p.titulo {
  margin-top: 70px;
  margin-bottom: 15px;
  font-weight: bold;
  color: #202020;
}

#mapa-mayoristas span {
  display: block;
  margin-bottom: 10px;
  font-size: 16px;
}

#mapa-mayoristas span strong {
  display: inline-block;
  margin-right: 5px;
  padding-left: 32px;
  line-height: 24px;
  background: url(../img/comunes/sprite-contecto.png) no-repeat left top;
}

#mapa-mayoristas span strong.email { background-position: 0 -24px; }


/*******************************/
/* Contacto */
/*******************************/

.forma-contacto .alert-danger strong {
  color: #B94A48 !important;
}

.forma-contacto .alert-success strong {
  color: #3c763d !important;
}

#mapa-gm {
  font-size: 14px;
  line-height: 120%;
}

#mapa-gm p.titulo {
  font-size: 16px;
  font-weight: bold;
  color: #202020;
}

#mapa-gm iframe {
  width: 100%;
  height: 340px;
  margin: 0;
  margin-top: 20px;
  padding: 8px;
  border: 1px solid #E8E8E8;
  background: #FFF;
}


/*******************************/
/* Footer */
/*******************************/

#footer {
  width: 1170px;
  margin-top: 50px;
  padding-top: 30px;
  border-top: 2px #DDD solid;
  background-color: #EEE;
}

@media (min-width: 1200px) {
  #footer {
    width: auto;
  }
}

#footer p.titulo {
  margin-bottom: 15px;
  font-weight: bold;
  color: #202020;
}

/* Mapa sitio */
#mapa-sitio ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

#mapa-sitio ul li {
  margin: 0;
  padding: 4px 0 6px 0;
  border-bottom: 1px #DDD solid;
}

#mapa-sitio ul li:nth-child(5),
#mapa-sitio ul li:nth-child(6) {
  border-bottom: 0;
}

/* Datos contacto */
#datos-contacto {
  text-align: center;
}

#datos-contacto span {
  display: block;
  font-size: 15px;
}

#datos-contacto span strong {
  display: inline-block;
  margin-right: 5px;
  padding-left: 32px;
  line-height: 24px;
  background: url(../img/comunes/sprite-contecto.png) no-repeat left top;
}

#datos-contacto span strong.email { background-position: 0 -24px; }
#datos-contacto span strong.vacio { background: none; }

/* Dirección física */
#direccion-fisica span {
  display: block;
  text-align: center;
}

#direccion-fisica span.logo {
  display: inline-block;
  width: 106px;
  height: 100px;
  background: url(../img/comunes/logo-smmty-footer.png) no-repeat center center;
}

/* Bottom */
#footer .bottom {
  margin-top: 30px;
  font-size: 12px;
  line-height: 40px;
  color: #FFF;
  /*background-color: #EA501B;*/
  background-color: #CD2D28;
}