/*
Theme Name: Webservi Porto Child
Theme URI: https://www.portotheme.com/wordpress/porto
Author: P-THEMES
Author URI: https://www.portotheme.com/
Description: Porto Responsive WordPress + eCommerce Theme.
Version: 1.1
Template: porto
License: Commercial
License URI: http://themeforest.net/licenses/regular_extended
Tags: woocommerce, corporate, ecommerce, responsive, blue, black, green, white, light, dark, red, two-columns, three-columns, four-columns, left-sidebar, right-sidebar, fixed-layout, responsive-layout, custom-menu, editor-style, featured-images, flexible-header, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready, accessibility-ready
*/

/*************** ADD YOUR CUSTOM CSS HERE  ***************/

/* Botones para las variaciones de productos*/

.single-product .pewc-group-content-wrapper input[type="radio"] {
  display: none;
}

.single-product .pewc-group-content-wrapper input[type="number"] {
  border: 2px solid #00aab4;
  border-radius: 10px;
}

.single-product .pewc-group-content-wrapper li > label {
  display: flex;
  font-size: 15px;
}

.single-product .pewc-group-content-wrapper li > label span {
  display: inline-block;
  border: 2px solid #00aab4;
  border-radius: 10px;
  padding: 2px 12px;
  cursor: pointer;
}

.single-product .pewc-group-content-wrapper li > label span:hover {
  background-color: #f4f4f4;
}

.single-product .pewc-group-content-wrapper li > label input:checked + span {
  background-color: #00aab4;
  color: white;
}

.single-product .pewc-group-content-wrapper label.pewc-field-label {
  text-transform: uppercase;
  font-weight: bold;
}

.pewc-product-extra-groups > li {
  float: left;
  width: 100%;
}

.pewc-product-extra-groups > li:nth-child(1),
.pewc-product-extra-groups > li:nth-child(2) {
  width: 50%;
}

.pewc-product-extra-groups > li:nth-child(3),
.pewc-product-extra-groups > li:nth-child(4),
.pewc-product-extra-groups > li:nth-child(5) {
  width: 33%;
}

.pewc-product-extra-groups > li.pewc-group-calculation {
  display: none;
}

.single-product .pewc-group-content-wrapper select {
  border: 2px solid #00aab4;
  border-radius: 10px;
}

.single-product .pewc-product-extra-groups > li label span {
  line-height: 20px;
}

.single-product .pewc-product-extra-groups > li:nth-child(6) input {
  width: 275px;
}

#wcuf_product_ajax_container {
  width: 100%;
}

@media (max-width: 992px) {
  .single-product .product-summary-wrap .summary-before.col-lg-6 {
    display: none;
  }
}

/*Ocultar totales repetidos para el producto copisteria*/
.single-product.postid-2391 .pewc-total-field-wrapper p:nth-child(1),
.single-product.postid-2391 .pewc-total-field-wrapper p:nth-child(2) {
  display: none;
}

/*Estilos selectores para los otros productos*/
.single-product .filter-item-list li a {
  border: 2px solid #0cafb6;
  border-radius: 10px;
  background: white !important;
}

.single-product .filter-item-list li a:hover,
.single-product .filter-item-list li.active a {
  background-color: #0cafb6 !important;
  color: white;
}

/*Para alinear campos copisteria*/
.single-product .pewc-product-extra-groups > li:nth-child(6) input,
.single-product .pewc-product-extra-groups > li:nth-child(7) select {
  width: 90%;
  margin: auto;
}

.single-product .pewc-product-extra-groups li .pewc-item-field-wrapper ul li * {
  margin: auto;
}

.single-product .pewc-product-extra-groups li .pewc-item-field-wrapper {
  text-align: center;
}

.single-product .pewc-product-extra-groups > li:nth-child(6) label,
.single-product .pewc-product-extra-groups > li:nth-child(7) label {
  display: block;
}

.single-product .pewc-product-extra-groups > li:nth-child(6),
.single-product .pewc-product-extra-groups > li:nth-child(7) {
  float: left;
  width: 50%;
}

.single-product .pewc-product-extra-groups > li:nth-child(7):after {
  clear: both;
  display: block;
  margin-bottom: 12px;
}

.single-product .pewc-group-content-wrapper li > label input + span {
  width: 100%;
}

.single-product .pewc-group-content-wrapper ul.pewc-product-extra-groups {
  padding: 0;
}

/*Para los botones de categorías del home*/

.home .porto-products.filter-horizontal .product-categories a {
  line-height: 46px;
  border: 2px solid #4da9b1;
  padding: 5px 10px;
  border-radius: 10px;
  color: #4da9b1;
  text-decoration: none;
}

.home .porto-products.filter-horizontal .product-categories a:hover {
  background-color: #4da9b1;
  color: white;
}

.home .porto-products.filter-horizontal .product-categories {
  margin: auto;
  margin-top: 40px;
  margin-bottom: 40px;
  text-align: center;
}
.home .porto-products.filter-horizontal .product-categories li {
  margin-right: 12px;
}

/*Wating mesage in checkout page*/
.checkout.woocommerce-checkout .wating-msg {
  display: none;
}

.checkout.woocommerce-checkout.processing .wating-msg {
  display: block;
  z-index: 99999;
  position: fixed;
  padding: 0;
  margin: 0;
  padding-top: 200px;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
}

.checkout.woocommerce-checkout .wating-msg > div {
  border: 1px solid grey;
  background-color: white;
  max-width: 320px;
  margin: auto;
  padding: 20px;
  text-align: center;
}


/*Numeración*/
table.thwepo-extra-options .label-tag {
  color: #797979;
  font-size: 0.85rem;
  text-transform: uppercase;
}

table.thwepo-extra-options td {
  display: inline-block;
}

table.thwepo-extra-options #numeracion {
  border-radius: 20px;
  background-color: #10afb5;
  color: white;
  padding: 10px 20px;
  min-width: 300px;
}

table.thwepo-extra-options #numeracion::placeholder {
  color: white;
}

table.thwepo-extra-options {
  display: none;
}

