/*
Theme Name: Serpic
Theme URI: http://www.serpic.info
Description: A demo theme built to accompany the Treehouse blog post <a href="http://teamtreehouse.com/wordpress-bootstrap-theme-tutorial">How to Build a WordPress Theme with Bootstrap</a>.
Description: Tema  la página corporativa
Author: Ferran Capdevila Fores
Author URI: 
Version: 1.0
Tags: responsive, white, bootstrap

License: Attribution-ShareAlike 3.0 Unported (CC BY-SA 3.0)
License URI: http://creativecommons.org/licenses/by-sa/3.0/

This simple theme was built using the example Bootstrap theme "Basic marketing site" found on the Bootstrap web site http://twitter.github.com/bootstrap/examples/hero.html
*/
/*
@smartphone: ~"only screen and (max-width: 767px)";
@tablet: ~"only screen and (min-width: 768px) and (max-width: 991px)";
@desktop: ~"only screen and (min-width: 992px) and (max-width: 1199px)";
*/
/*
Variables generales
*/
/*
*********************************************************************************
Mixins
*********************************************************************************
*/
/*
 * Títulos
 */
h1.entry-title {
  margin-top: 0;
  line-height: 1.0;
}
/*
 * IMPORTANTE Una sola columna en la página de checkout`para dirección de envío y facturación
 */
.woocommerce-checkout .col2-set .col-1,
.woocommerce-checkout .col2-set .col-2 {
  width: 100%;
}
/*
 * Formulario de búsqueda
 */
form.woocommerce-product-search {
  position: relative;
  margin: 0;
  width: 100%;
  color: #333;
  /**
	 * Imágen de la lupa en el lado izquierdo
	 */
  /**
	 * Eliminamos el label
	 */
  /**
	 * Input para la búsqueda
	 */
  /**
	 * Anulamos el boton del submit
	 */
}
form.woocommerce-product-search:before {
  position: absolute;
  font-family: "FontAwesome";
  content: "\f002";
  top: 10px;
  left: 10px;
  width: 40px;
}
form.woocommerce-product-search label {
  display: none;
}
form.woocommerce-product-search input[type=search] {
  width: 100%;
  border: 1px solid #d3d3d3;
  border-radius: 3px;
  -webkit-appearance: none;
  box-sizing: border-box;
  padding: 10px 10px 10px 30px;
  color: #333;
}
form.woocommerce-product-search input[type=submit] {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute!important;
  top: 0;
  left: 0;
}
/*
 * Pagina de productos
 */
.woocommerce ul.products,
ul.products-slider {
  /*
	 * Efecto hover sobre la imágen del producto
	 */
  /*
	 * Redondel de los productos en oferta
	 */
  /*
	 * Precios en el listado de productos
	 */
}
@media screen and (min-width: 768px) {
  .woocommerce ul.products li.product img,
  ul.products-slider li.product img {
    transition: box-shadow 0.3s, background-color 0.3s, color 0.3s, opacity 0.3s, -webkit-transform 0.3s;
    transition: transform 0.3s, box-shadow 0.3s, background-color 0.3s, color 0.3s, opacity 0.3s;
    transition: transform 0.3s, box-shadow 0.3s, background-color 0.3s, color 0.3s, opacity 0.3s, -webkit-transform 0.3s;
  }
  .woocommerce ul.products li.product img:hover,
  ul.products-slider li.product img:hover {
    -webkit-transform: translateY(-6px) !important;
    -ms-transform: translateY(-6px) !important;
    transform: translateY(-6px) !important;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.1);
  }
}
.woocommerce ul.products span.onsale,
ul.products-slider span.onsale {
  background-color: #ff6633 !important;
}
.woocommerce ul.products li.product .woocommerce-loop-category__title,
ul.products-slider li.product .woocommerce-loop-category__title,
.woocommerce ul.products li.product .woocommerce-loop-product__title,
ul.products-slider li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product h3,
ul.products-slider li.product h3 {
  font-size: 1em;
  min-height: 44px;
}
.woocommerce ul.products li.product .price,
ul.products-slider li.product .price {
  color: #333333 !important;
  font-size: 20px;
  font-weight: 600;
  display: block;
  margin-bottom: .5em;
}
.woocommerce ul.products li.product .price del,
ul.products-slider li.product .price del {
  float: left;
  margin-right: 15px;
}
.woocommerce ul.products li.product .button,
ul.products-slider li.product .button {
  margin-top: .5em;
}
.woocommerce ul.products li.product .button:hover,
ul.products-slider li.product .button:hover {
  background-color: #ff6633;
  color: #FFF;
}
ul.products-slider li.product .price,
ul.products-slider li.product .button {
  display: none;
}
ul.products-slider li.product .woocommerce-loop-category__title,
ul.products-slider li.product .woocommerce-loop-product__title,
ul.products-slider li.product h3 {
  text-align: center;
}
@media screen and (max-width: 767px) {
  .woocommerce .woocommerce-result-count {
    display: none;
  }
  .woocommerce .woocommerce-ordering {
    float: left;
  }
  .woocommerce .toggle-filters {
    float: right;
  }
}
/*
 * Página de producto
 */
.woocommerce div.product {
  /*
	 * Contenedor de los thumbnails
	 */
  /*
	 * Precios en la ficha del producto
	 */
}
.woocommerce div.product div.images .flex-control-thumbs {
  margin-left: -5px;
  margin-right: -5px;
}
.woocommerce div.product div.images .flex-control-thumbs > li {
  padding: 5px;
}
.woocommerce div.product p.price,
.woocommerce div.product span.price {
  color: #333333 !important;
  font-size: 20px;
  font-weight: 600;
}
/*
 * Establecer columnas
 */
.woocommerce ul.products,
.woocommerce-page ul.products {
  margin-left: -15px;
  margin-right: -15px;
  min-height: 0px;
}
.woocommerce ul.products li.first,
.woocommerce-page ul.products li.first {
  clear: none !important;
}
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  float: left !important;
  clear: none !important;
  padding-left: 15px;
  padding-right: 15px;
  margin-right: 0 !important;
}
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product,
.woocommerce-page.columns-4 ul.products li.product,
.woocommerce.columns-4 ul.products li.product {
  width: 50%;
}
@media only screen and (min-width: 480px) {
  .woocommerce ul.products li.product,
  .woocommerce-page ul.products li.product,
  .woocommerce-page.columns-4 ul.products li.product,
  .woocommerce.columns-4 ul.products li.product {
    width: 33.333333%;
  }
}
@media only screen and (min-width: 1200px) {
  .woocommerce ul.products li.product,
  .woocommerce-page ul.products li.product,
  .woocommerce-page.columns-4 ul.products li.product,
  .woocommerce.columns-4 ul.products li.product {
    width: 25%;
  }
}
body.home .woocommerce-page.columns-5 ul.products li.product,
body.home .woocommerce.columns-5 ul.products li.product {
  width: 50%;
}
@media only screen and (min-width: 480px) {
  body.home .woocommerce-page.columns-5 ul.products li.product,
  body.home .woocommerce.columns-5 ul.products li.product {
    width: 33.333333%;
  }
}
@media only screen and (min-width: 768px) {
  body.home .woocommerce-page.columns-5 ul.products li.product,
  body.home .woocommerce.columns-5 ul.products li.product {
    width: 25%;
  }
}
@media only screen and (min-width: 1200px) {
  body.home .woocommerce-page.columns-5 ul.products li.product,
  body.home .woocommerce.columns-5 ul.products li.product {
    width: 20%;
  }
}
/*
.woocommerce table.shop_table {
	border-radius: @border-radius;
	background-color: #FFF;
}
.woocommerce div.product form.cart .variations select {
	height: @button-height;
	border-radius: @border-radius;
}
.select2-container--default .select2-selection--single {
	background-color: #fff;
	border: 1px solid rgba(0,0,0,0.15);
	border-radius: .25rem;
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
	padding: .4rem .75rem;
	font-size: 1rem;
	line-height: 1.25;
}
.select2-container .select2-selection--single {
	height: 35px !important;
}
.select2-container--default .select2-search--dropdown .select2-search__field {
	border: 1px solid rgba(0,0,0,0.15);
	border-radius: .25rem;
	padding: .4rem .75rem;
	font-size: 1rem;
	line-height: 1.25;
}
.woocommerce ul.products,
.woocommerce-page ul.products,
.woocommerce-page[class*=columns-] ul.products,
.woocommerce[class*=columns-] ul.products {
	li.product  {
		text-align: center;

		img {
			@media screen and (min-width: 768px) {
		    	transition: box-shadow .3s, background-color .3s, color .3s, opacity .3s, -webkit-transform .3s;
	    		transition: transform .3s, box-shadow .3s, background-color .3s, color .3s, opacity .3s;
	    		transition: transform .3s, box-shadow .3s, background-color .3s, color .3s, opacity .3s, -webkit-transform .3s;

				&:hover {
				    -webkit-transform: translateY(-6px) !important;
				    -ms-transform: translateY(-6px) !important;
				    transform: translateY(-6px) !important;
				    box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.1);
				}

				&hover:before {
					position: absolute;
					top: 0;
					left: 0;
					width: 100%;
					height: 100%;
					border: 1px solid #ccc;
				}
			}
		}

		// Precio
		.price {
		    font-weight: 700;
		    font-size: 20px;
		    color: #333;
			del {
				display: inline-block !important;
				margin-right: 1rem;
			}	
			ins {
			    font-weight: 700;
			}
		}    

		// Solo mostramos la descripción en pantalla de categias
		.shop_cat_desc {
			display: none;
		}

		// Smartphone 2 columnas al 50%
		@media only screen and (max-width: 767px) {
			width: 50%;
		}

		// Tablet 3 columnas al 33%
		@media only screen and (min-width: 768px) and (max-width: 991px) {
			width: 33.3333333%;
		}

		// Desktop 4 columnas al 25%
		@media only screen and (min-width: 992px) {
			width: 25%;
		}

		.woocommerce-loop-category__title,
		.woocommerce-loop-product__title, h3 {
    		min-height: 50px;	    	
	    }

		span.onsale {
		    background-color: @link-hover-color;
		}

    	.button:hover {
    		color: #FFFFFF;
	    	background-color: @link-hover-color;
		}
	}
}
*/
