/*
Theme Name: 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  ***************/

#topcontrol{
	background: #73af2c !important;
}
#topcontrol:hover{
    background: #404040 !important;
}

/* Redes sociales*/ 
#header .share-links {
    margin-left: 0px !important;
}
.header-col > :not(.header-col-wide), .header-col-wide > :not(.header-col-wide) {
    margin-left: 0rem !important;
}

/*Precio y horas producto*/
.top-menu, ul.products li.product-col .price {
    color: #73af2c;
    font-size: 1rem;
	display: initial !important;
}
.horas {
    color: #73af2c;
    font-size: 1rem;
	font-weight: 500;
}
.atribph {
    font-size: 1rem;
}

.add-links-wrap{
	display: none !important;
}

.atribcodigo{
	font-weight: 600; 
	font-size: 18px;
	color: #000000; 
}



/*Estilo del filtro de las horas*/
.widget_hours_filter .hours_slider_wrapper{
    margin-bottom:.3571em
}

.widget_hours_filter .hours_slider{
    margin-top:1.4286em;
    margin-bottom:2.1428em;
    border-width:0;
    border-radius:0
}

.widget_hours_filter .hours_slider_amount{
    line-height:2em;
    font-size:.8751em;
    display:-ms-flexbox;
    display:flex;
    -ms-flex-align:center;
    align-items:center;
    -ms-flex-wrap:wrap;
    flex-wrap:wrap;
    -ms-flex-pack:between;
    justify-content:space-between
}

.widget_hours_filter .hours_slider_amount .button{
    padding:.4em 1.25em;
    text-transform:uppercase;
    font-weight:600;
    font-size:.75rem;order:2
}

.widget_hours_filter .clear{
    display:none
}

.widget_hours_filter .ui-slider{
    position:relative;
    text-align:left
}

.widget_hours_filter .ui-slider .ui-slider-handle{
    position:absolute;
    z-index:2;
    width:11px;
    height:11px;
    cursor:pointer;
    outline:none;
    top:50%;
    margin-top:-5.5px;
    border-radius:6px;
    border-width:0;
    background-image:none
}

.widget_hours_filter .ui-slider .ui-slider-handle:last-child{
    margin-left:-10px
}

.widget_hours_filter .ui-slider .ui-slider-range{
    position:absolute;
    z-index:1;
    font-size:.7em;
    display:block;
    border:0;
    box-shadow:0 1px 2px 0 rgba(0,0,0,0.38) inset;
    background-image:none
}

.widget_hours_filter #min_hours,.widget_hours_filter #max_hours{
    width:45%;
    margin-right:4%;
    margin-top:0.3571em;
    margin-bottom:1.2857em
}

.widget_hours_filter .ui-slider-horizontal{
    height:3px
}

.widget_hours_filter .ui-slider-horizontal .ui-slider-range{
    top:0;
    height:100%
}

.widget_hours_filter .ui-slider-horizontal .ui-slider-range-min{
    left:-1px
}

.widget_hours_filter .ui-slider-horizontal .ui-slider-range-max{
    right:-1px
}

.wp-post-image{
    width: 150px!important;
    margin-left: auto!important;
    margin-right: auto!important;
    display: block!important;
}
.product-content{
    border: 2px solid #eee;
    border-radius: 4px;
    padding: 10px 10px 10px 170px;
}
.category-list{
    margin-top: 10px;
}
.product-content:hover{
    border-bottom: 3px solid #73af2c; 
    border-right: 3px solid #73af2c;
    transition: 0.1s;
}
.product-layout-grid .product-images .img-thumbnail, ul.list li.product {
    margin-bottom: 30px;
}

#etiquetaed{
	position: absolute;
    top: -15px;
    left: 25px;
}
.etiqcajatitulo{
    position: absolute;
    top: -4px;
    left: 33px;
    width: 117px;
    line-height: 15px;
}
.etiqeditorial{
    color: white;
    font-weight: 400;
    text-align: center;
    font-size: 12px;
}
ul.products li.product-col h3 {
    margin-bottom: 0.15rem !important;
}

ul.list li.product .product-content {
    max-width: 1060px;
}

/*SLIDER*/
.elementor-147 .elementor-element.elementor-element-b0b537e .elementor-repeater-item-a23d299 .swiper-slide-inner .elementor-slide-button {
    color: #FFFFFF;
    border-color: #FFFFFF;
    margin-right: 185px;
    margin-bottom: 70px;
}

@media only screen and (max-width: 1880px) {
.elementor-147 .elementor-element.elementor-element-b0b537e .elementor-repeater-item-a23d299 .swiper-slide-inner .elementor-slide-button {
    margin-right: 175px;
	margin-bottom: 70px;
}	
}
@media only screen and (max-width: 1430px) {
.elementor-147 .elementor-element.elementor-element-b0b537e .swiper-slide {
    height: 415px !important;
}
.elementor-147 .elementor-element.elementor-element-1aa6e2f > .elementor-container {
    min-height: 415px !important;
}
.elementor-147 .elementor-element.elementor-element-b0b537e .elementor-repeater-item-a23d299 .swiper-slide-inner .elementor-slide-button {
    margin-right: 85px;
	margin-bottom: 0px;
}	
}

@media only screen and (max-width: 1330px) {
.elementor-147 .elementor-element.elementor-element-b0b537e .swiper-slide {
    height: 400px !important;
}
.elementor-147 .elementor-element.elementor-element-1aa6e2f > .elementor-container {
    min-height: 400px !important;
}
.elementor-147 .elementor-element.elementor-element-b0b537e .elementor-repeater-item-a23d299 .swiper-slide-inner .elementor-slide-button {
    margin-right: 80px;
	margin-bottom: 0px;
}
}

@media only screen and (max-width: 1000px) {
.elementor-147 .elementor-element.elementor-element-b0b537e .swiper-slide {
    height: 350px !important;
}
.elementor-147 .elementor-element.elementor-element-1aa6e2f > .elementor-container {
    min-height: 350px !important;
}
}

@media only screen and (max-width: 920px) {
.elementor-147 .elementor-element.elementor-element-b0b537e .swiper-slide {
    height: 300px !important;
}
.elementor-147 .elementor-element.elementor-element-1aa6e2f > .elementor-container {
    min-height: 300px !important;
}
}
@media only screen and (max-width: 400px) {
.elementor-147 .elementor-element.elementor-element-b0b537e .swiper-slide {
    height: 200px !important;
}
.elementor-147 .elementor-element.elementor-element-1aa6e2f > .elementor-container {
    min-height: 200px !important;
}
}

/*CATÁLOGO*/

@media only screen and (max-width: 1300px) {
	ul.list li.product .product-content {
    	max-width: 976px;
	}
}
@media only screen and (max-width: 820px) {
	ul.list li.product .product-content {
    	max-width: 780px;
	}
}
@media only screen and (max-width: 768px) {
	ul.list li.product .product-content {
    	max-width: 725px;
	}
}
@media only screen and (max-width: 575px){
ul.pcols-ls-2 li.product-col {
    width: 100% !important;
}
}


/* TEXTO VERDE EN FILTROS DE FORMATO Y EDITORIAL */
a.chosenTag {
    color: #73af2c !important;
}


/* CSS DEL BOTÓN Y BUSCADOR DE CERTIFICADOS */
#buscador {
    box-sizing: border-box;
    background-position: 14px 12px;
    background-repeat: no-repeat;
    font-size: 16px;
    padding: 14px 20px 12px 45px;
    border: none;
    border-bottom: 1px solid #ddd;
}
  
#buscador:focus {
    outline: 3px solid #ddd;
}
  
.divBotonBuscar {
    position: relative;
    display: inline-block;
}
  
.divBuscador {
    display: none;
    position: absolute;
    background-color: white;
    min-width: 230px;
    overflow: auto;
    border: 1px solid white;
    z-index: 1;
    flex: 1;
    position: inherit;
    text-align: center;
}
  
.divBuscador a {
    color: #73af2c;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: center;
  }
  
.divBotonBuscar a:hover {
    background-color: white; color: #4d751c;
}
  
.mostrar {
    display: block;
}

.woocommerce-pagination ul li span.current{
    color:#FFFFFF;
    background-color:#73af2c;
}

.woocommerce-pagination ul li a:hover{
    background-color: #73af2c !important;
    color: #FFFFFF !important;
}

.woocommerce-pagination ul li a, .woocommerce-pagination ul li span{
    border: 1px solid #ccc;
    border-radius: 0;
    color: #7b858a;
    display: block;
    font-size: 15px;
    font-weight: 700;
    /* margin: 0 0 5px; */
    padding: 0 0.5em;
    line-height: 2.1em;
    min-width: 2.2em;
    height: 2.2em;
    text-decoration: none;
    text-align: center;
    transition: all .25s ease-in-out;
    -moz-transition: all .25s ease-in-out;
    -webkit-transition: all .25s ease-in-out;
}

.wc-block-attribute-filter .wc-block-attribute-filter-list li label{
    cursor: pointer;
    display: inline;
}
.elementor-147 .elementor-element.elementor-element-b0b537e .elementor-repeater-item-a23d299 .swiper-slide-bg{
    background-size: contain!important;
    background-color: white!important;
}
.elementor-147 .elementor-element.elementor-element-b0b537e .elementor-repeater-item-b653892 .swiper-slide-bg{
    background-size: contain!important;
    background-color: white!important;
}

/* ESTILOS DEL SELECT DE BÚSQUEDA */
.searchform-fields span.text{
    max-width: 900px !important;
    width: 780px !important;
  }

#header .searchform select{
    color: black;
    border-right-width: 2px;
    margin-right: -3px;
    width: 210px;
}

#header .searchform button{
    margin-left: 0px;
    background-color: #73af2c !important;
}

#header .searchform input{
    width: 700px !important;
    font-size: larger !important;
}

.selectBusqueda{
    background: url(/wp-content/themes/porto-child/flechaSelect.svg) 98% / 4% no-repeat;
}

#main-toggle-menu .toggle-menu-wrap{
    width: 120%;
    box-shadow: 0 29px 29px rgb(0 0 0 / 10%);
}

#main-toggle-menu .menu-title{
    padding: 16px 49px 22px 20px;
    background-color: #fff;
    color: #4dae65;
    border-left: 1px solid;
    border-right: 1px solid;
    border-color: #e7e7e7;
    font-size: 14px;
    font-weight: 600;
    text-transform: none;
    letter-spacing: -.025em;
    border-radius: 5px;
    height: 52px;
}

.main-menu-wrap .container{
    margin-bottom: 5px;
}

#header .searchform{
    margin: 0 10px 0px 10px !important;
    max-width: 1049px !important;
    width: 100% !important;
    border-width: 2px;
    border-radius: 5px;
    background-color: #ffffff;
    border-color: #73af2c;
}

@media only screen and (max-width: 1366px) {
#header .searchform {
    max-width: 935px !important;
}
.searchform-fields span.text {
    max-width: 655px !important;
    width: 655px !important;
}
}

@media only screen and (max-width: 1326px) {
#header .searchform {
    max-width: 915px !important;
}
.searchform-fields span.text {
    max-width: 635px !important;
    width: 635px !important;
}
}

@media only screen and (max-width: 1300px) {
#header .searchform {
    max-width: 885px !important;
}
.searchform-fields span.text {
    max-width: 605px !important;
    width: 605px !important;
}
}
@media only screen and (max-width: 1280px) {
#header .searchform {
    max-width: 865px !important;
}
.searchform-fields span.text {
    max-width: 585px !important;
    width: 585px !important;
}
}
@media only screen and (max-width: 1024px) {
#header .searchform {
    max-width: 610px !important;
}
.searchform-fields span.text {
    max-width: 332px !important;
    width: 332px !important;
}
}