/**
 * Magento
 *
 * NOTICE OF LICENSE
 *
 * This source file is subject to the Academic Free License (AFL 3.0)
 * that is bundled with this package in the file LICENSE_AFL.txt.
 * It is also available through the world-wide-web at this URL:
 * http://opensource.org/licenses/afl-3.0.php
 * If you did not receive a copy of the license and are unable to
 * obtain it through the world-wide-web, please send an email
 * to license@magento.com so we can send you a copy immediately.
 *
 * DISCLAIMER
 *
 * Do not edit or add to this file if you wish to upgrade Magento to newer
 * versions in the future. If you wish to customize Magento for your
 * needs please refer to http://www.magento.com for more information.
 *
 * @category    design
 * @package     rwd_default
 * @copyright   Copyright (c) 2006-2016 X.commerce, Inc. and affiliates (http://www.magento.com)
 * @license     http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
 */
/* ============================================ *
 * Homepage
 * ============================================ */
/* -------------------------------------------- *
 * Primary Banner
 */
body.cms-home .main-container {
  padding-top: 0;
}
body.cms-home .slideshow-container {
  margin-top: 0;
}

.slideshow .banner-msg {
  position: absolute;
  text-align: center;
  text-transform: uppercase;
  width: 100%;
  top: 30%;
  -moz-user-select: none;
  -ms-user-select: none;
  -webkit-user-select: none;
  -o-user-select: none;
  user-select: none;
}

.slideshow .banner-msg h2 {
  color: #FFFFFF;
  font-size: 24px;
  text-shadow: 1px 1px 3px #555555;
}

.slideshow .banner-msg h2 strong {
  font-weight: bold;
  display: block;
  font-size: 36px;
}

@media only screen and (max-width: 770px) {
  .slideshow .banner-msg h2 {
    font-size: 20px;
  }

  .slideshow .banner-msg h2 strong {
    font-size: 24px;
  }
}
@media only screen and (max-width: 479px) {
  .slideshow .banner-msg {
    top: 20%;
  }

  .slideshow .banner-msg h2 {
    font-size: 14px;
  }

  .slideshow .banner-msg h2 strong {
    font-size: 16px;
  }
}
/* -------------------------------------------- *
 * Promotion Banner Section
 */
.promos {
  margin: 0 0 10px 0;
  padding: 0;
  width: 100%;
}

.promos:after {
  content: '';
  display: table;
  clear: both;
}

/* Specifying the body only in order to override the .std ul li styling */
body .promos > li {
  margin: 0 0 10px 0;
  list-style: none;
  text-align: center;
  position: relative;
  border: 1px solid #cccccc;
  -moz-user-select: none;
  -ms-user-select: none;
  -webkit-user-select: none;
  -o-user-select: none;
  user-select: none;
}

.promos > li:last-child {
  margin-bottom: 0;
}

.promos img {
  max-width: 100%;
  width: 100%;
}

.promos a:hover {
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=80);
  opacity: 0.8;
  display: block;
}

.promos span {
  color: #FFFFFF;
  text-transform: uppercase;
  position: absolute;
  display: block;
  width: 100%;
  top: 10%;
  font-weight: 400;
  font-size: 20px;
  font-family: "Raleway", "Helvetica Neue", Verdana, Arial, sans-serif;
  text-shadow: 1px 1px 3px #555555;
}

.promos strong {
  font-weight: 600;
  font-size: 26px;
  display: block;
}

@media only screen and (min-width: 771px) {
  .promos span {
    font-size: 16px;
  }

  .promos strong {
    font-size: 17px;
  }

  /* Config: Three columns + flexible gutter */
  body .promos > li {
    float: left;
    width: 31.74603%;
    margin-right: 2.38095%;
  }

  .promos > li:nth-child(3n) {
    margin-right: 0;
  }
}
@media only screen and (min-width: 880px) {
  .promos span {
    font-size: 18px;
  }

  .promos strong {
    font-size: 24px;
  }
}
/* -------------------------------------------- *
 * New Products Section
 */
/* Hiding the reviews content via CSS because we can't modify the template, */
/* since it may be used in other places where those elements are needed */
.cms-index-index .products-grid .ratings,
.cms-index-index .products-grid .actions,
.cms-index-noroute .products-grid .ratings,
.cms-index-noroute .products-grid .actions {
  display: none;
}

.cms-index-index h2.subtitle {
  font-size: 1.3em;
  color: #787878;
}
.cms-index-noroute h2.subtitle {
  display: none;
}

@media only screen and (max-width: 770px) {
  .cms-index-index h2.subtitle { text-align: center; }
}

/* ============================================ *
 * Category Landing Pages
 * ============================================ */
.categorylandingMainblock {
  border: 1px solid #E2E2E2;
  padding: 7px;
}

.catblocks {
  float: left;
  padding: 0 0 20px 0;
  width: 100%;
}

.catblocks li {
  position: relative;
  float: left !important;
  width: 23% !important;
  margin-right: 2.66667% !important;
  margin-bottom: 10px;
  border: 1px solid #cccccc;
  padding: 10px;
}

.catblocks li:hover {
  border-color: #3399cc;
}

@media only screen and (max-width: 770px) {
  .catblocks li {
    width: 49% !important;
    margin-right: 2% !important;
  }

  .catblocks li:nth-child(even) {
    margin-right: 0 !important;
  }
}
@media only screen and (max-width: 479px) {
  .catblocks li {
    width: 100% !important;
    margin-right: 0 !important;
    float: none;
  }
}
.catblocks li:last-child {
  margin-right: 0 !important;
}

.catblocks li img {
  width: 100%;
  max-width: 100%;
}

.catblocks li a span {
  color: #FFFFFF;
  position: absolute;
  background-color: #7B7C7B;
  font-family: raleway;
  font-size: 17px;
  font-weight: bold;
  text-transform: uppercase;
  text-align: center;
  bottom: 0px;
  left: 0px;
  width: 100%;
  padding: 5px 10px;
  margin-right: 10px;
}

.catblocklinks a {
  color: #FFFFFF;
  text-decoration: none;
}

.catlandingbottomPromoblock {
  float: left;
  width: 100%;
  border: 1px solid #E2E2E2;
  margin-bottom: 100px;
}

.catalog-category-view div.categoryland-caption {
  display: block;
  margin: 0;
  position: absolute;
  color: #000000;
  font-size: 30px;
  font-weight: 600;
  line-height: 36px;
  text-align: center;
}

.catalog-category-view div.categoryland-caption span.blue-big-text {
  color: #3399CC;
  font-size: 50px;
  font-weight: 600;
  padding: 0 0 0 8px;
}

.catalog-category-view div.categoryland-caption span.blue-big-text {
  padding: 0 !important;
}

.catalog-category-view div.categoryland-caption span.three-dots {
  background: url(../images/bg_threeDots.png) no-repeat center center;
  display: block;
  height: 20px;
}

.catalog-category-view div.categoryland-caption p.desc {
  font: italic 18px/28px Georgia, "Times New Roman", Times, serif;
  color: #656565;
}

.cms-home #homepage-main-slides div.slides_control div div.slideshow-caption a.link:hover,
.cms-home #homepage-main-slides div.slides_control div div.slideshow-caption span.link:hover {
  text-decoration: underline;
  color: #1189C5;
}

.cms-home #homepage-main-slides div.slides_control div div.slideshow-caption span.blue-big-text,
.catalog-category-view div.categoryland-caption span.blue-big-text {
  color: #3399CC;
  font-size: 50px;
  font-weight: 600;
  padding: 0 0 0 8px;
}

.catalog-category-view div.categoryland-caption span.blue-big-text {
  padding: 0 !important;
}

.cms-home #homepage-main-slides div.slides_control div div.slideshow-caption span.three-dots,
.catalog-category-view div.categoryland-caption span.three-dots {
  background: url(../images/bg_threeDots.png) no-repeat center center;
  display: block;
  height: 20px;
}

.cms-home #homepage-main-slides div.slides_control div div.slideshow-caption p.desc,
.catalog-category-view div.categoryland-caption p.desc {
  font: italic 18px/28px Georgia, "Times New Roman", Times, serif;
  color: #656565;
}

/* GO HOME */
.home-slider { border-bottom: 1px solid #e1e1e1; }
.home-slider img {
  width: 100%;
  height: auto;
}

.home-banners { border-bottom: 1px solid #e1e1e1; }
.home-banners ul {
  overflow: hidden;
  padding: 0;
}
.home-banners li {
  float: left;
  width: 33.33%;
  padding: 12px 0;
  position: relative;
  text-align: center;
}
.home-banners li:nth-child(2n):before {
  content: '';
  display: block;
  width: 1px;
  height: 140px;
  position: absolute;
  top: 35px;
  left: 0;
  border-left: 1px solid #e1e1e1;
}
.home-banners li a {
  display: block;
  text-decoration: none !important;
  color: inherit;
}
.home-banners li img {
  max-width: 100%;
  display: inline-block;
}
.home-banners li p {
  padding: 5px 0 8px;
  font-size: 15px;
  line-height: 1.3em;
}
.home-banners li p span { display: block; }
.home-banners li p strong { color: #e3002b; }
.home-banners li .button {
  font-size: 16px;
  line-height: 20px;
}

.home-banners li.map {
  padding: 0;
}
.home-banners li.map img {
  display: block;
  width: 100%;
}
.home-banners li.map div.text {
  width: 100%;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translate(0,-50%);
  -webkit-transform: translate(0,-50%);
  -moz-transform: translate(0,-50%);
  -o-transform: translate(0,-50%);
  background: #fff;
  padding: 0;
}
.home-banners li.map div.text span {
  display: block;
  width: 80%;
  margin: 0 auto;
  padding: 0;
  border-bottom: 1px solid #e3002b;
  font-size: 18px;
  line-height: 30px;
  font-weight: 600;
  color: #e3002b;
  text-transform: uppercase;
}
.home-banners li.map div.text input.input-text {
  border: none;
  text-align: center;
}
@media only screen and (max-width: 770px) {
  .home-banners li { width: 50%; padding: 15px 0 20px; }
  .home-banners li.map { float: none; width: 100%; clear: left; }
  .home-banners li:nth-child(2n){ border-left: 1px solid #e1e1e1; }
  .home-banners li:nth-child(2n):before { display: none; }
  .home-banners li p span { display: block; padding: 0 15px 10px; font-size: 20px; }
  .home-banners li .button { text-transform: uppercase; }
}
@media only screen and (min-width: 1024px) {
  .home-banners li {
    padding: 20px 0;
  }
}

.home-destacados ul {
  overflow: hidden;
  margin-bottom: 20px;
}
.home-destacados li {
  position: relative;
  float: left;
  width: 49%;
  margin-right: 2%;
  margin-bottom: 10px;
  border: 1px solid #e1e1e1;
}
.home-destacados li:nth-child(2n) { margin-right: 0; }
.home-destacados li a {
  display: block;
  color: #e3002b;
}
.home-destacados li img { width: 100%; }
.home-destacados li a.banner-more {
  display: block;
  position: absolute;
  right: 15px;
  bottom: 15px;
}
.home-destacados li a.banner-more:before {
  content: '';
  display: block;
  width: 20px;
  height: 20px;
  background: url("../images/icon-sprite-generaloptica.png") no-repeat;
  background-position: -81px -221px;
}
.home-destacados li a.banner-more span { display: none; }

@media only screen and (max-width: 649px) {
  .home-destacados li {
    float: none;
    width: 100%;
    margin-right: 0 !important;
  }
}

.home-marcas {
  position: relative;
  padding: 30px 5px;
  margin-bottom: 50px;
  background-color: #e1e1e1;
  text-align: center;
}
.home-marcas img {
  display: inline-block;
}
.home-marcas .button {
  position: absolute;
  left: 50%;
  bottom: -16px;
  font-size: 15px;
  line-height: 24px;
  text-transform: uppercase;
  transform: translate(-50%,0);
  -webkit-transform: translate(-50%,0);
  -moz-transform: translate(-50%,0);
  -o-transform: translate(-50%,0);
}
@media only screen and (max-width: 1060px) {
  .home-marcas { margin-left: -10px; margin-right: -10px; }
}
@media only screen and (max-width: 1024px) {
  .home-marcas { margin-left: -20px; margin-right: -20px; }
}
@media only screen and (max-width: 999px) {
  .home-marcas .box-carousel { margin: 0 25px; }
}
@media only screen and (max-width: 770px) {
  .home-marcas { margin-left: -10px; margin-right: -10px; }
}


.home-blog {
  text-align: center;
}
.home-blog .item img { width: 100%; }
.home-blog .item p {
  width: 100%;
  min-height: 90px;
  position: absolute;
  left: 0;
  bottom: 0;
  padding: 20px 30px 20px 80px;
  background-color: rgba(0, 0, 0, 0.6);
  font-size: 16px;
  line-height: 24px;
  color: #fff;
}
.home-blog .item p:before {
  display: block;
  width: 20px;
  height: 20px;
  position: absolute;
  left: 35px;
  top: calc(50% - 10px);
  content: '';
  background: url("../images/icon-sprite-generaloptica.png") no-repeat;
  background-position: -121px -221px;
}
.home-blog .button {
  margin-top: 10px;
  font-size: 15px;
  line-height: 24px;
  text-transform: uppercase;
}
@media only screen and (min-width: 550px) and (max-width: 770px){
  .home-blog .item p {
    min-height: 80px;
    padding: 15px 15px 15px 55px;
    font-size: 14px;
  }
  .home-blog .item p:before { left: 20px; }
}
@media only screen and (max-width: 899px) {
  .home-blog .box-carousel { margin: 0 30px; }
}

 span.mobile.new-banner {
    font-size: 12px;
    font-weight: bold;
    margin: -5px;
    text-align: left;
 }