/**
Theme Name: a5-farmacia
Author: Juan Jiménez-Castellanos Carmona
Author URI: https://mintuicion.com/es
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: a5-farmacia
Template: astra
*/


/*PW gift cards*/
#pwgc-redeem-button{
    margin-top: 1rem !important;
}
/*Puntos*/
#wps_cart_points{
    background-color: white !important;
    border: 1px solid #D1D5DB !important;
    border-radius: 0 !important;
}
#wps_cart_points:focus{
    border: 1px solid #000 !important;
}

/*Gravity Forms*/
.gfield input[type=text], .gfield input[type=email], .gfield input[type=select], .gfield textarea, .gfield textarea:focus, .gfield input[type=checkbox], .gfield input[type=number], .gfield input[type=tel], .gform_button, .gform_button:focus{
    border: 1px solid #000 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}
.gfield input[type=radio]{
    border: 1px solid #000 !important;
    box-shadow: none !important;
}
.gfield input[type=radio]::before, .gfield input[type=checkbox]::before{
    color: #000 !important;
    background-color: #000 !important;
    display: inline-block !important;
    width: 20px !important;
    height: 20px !important;
}
.gform-datepicker{
    display: block !important;
    width: 100% !important;
}
.gform_button{
    display: block !important;
    width: 100% !important;
    background-color: #000 !important;
}
.gform_button:hover{
    background-color: #fff !important;
    color: #000 !important;
}
.gform_fields {
  grid-row-gap: 15px !important;
}

.vertical-center-wrapper {
    display: table;
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}
.vertical-center {
    position: relative;
    width: 100%;
    height: 100%;
    display: table-cell;
    vertical-align: middle;
}

.psw-form {
    min-height: 70vh;
    padding: 20px;
    position: relative;
}
.psw-content {
    max-width: 600px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
    clear: both;
}
.psw-content fieldset{
	padding: 0;
    border: none;
}

.psw-content fieldset input{
	border-radius: 0; 
}
.psw-content fieldset input:focus-visible, .psw-content fieldset input:focus{
	outline:0;
}

.psw-form input[type="password"] {
    float: left;
    clear: left;
    border: 1px solid #000000;
    padding: 0px 15px;
    line-height: 45px;
    background: transparent;
    
    width: -webkit-calc(50% - 10px);
	width: -calc(50% - 10px);
	width: -moz-calc(50% - 10px);
	width: calc(50% - 10px);
}
.psw-form input[type="submit"] {
    float: right;
    border: 1px solid #000000;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 15px;
    font-weight: 500;
    text-aling: center;
    padding: 0px 15px;
    line-height: 45px;
    cursor: pointer;
    background-color: #000000;
    background-image: url(https://ghgemaherrerias.com/wp-content/themes/gemaherrerias/img/arrow-top-white.svg);
    background-repeat: no-repeat;
    background-size: 16px;
    background-position: 95%;
    
    width: -webkit-calc(50% - 10px);
	width: -calc(50% - 10px);
	width: -moz-calc(50% - 10px);
	width: calc(50% - 10px);
    
    -webkit-transition: all 0.2s linear;
	-moz-transition: all 0.2s linear;
	transition: all 0.2s linear;
}
.psw-form input[type="submit"]:hover {
    border: 1px solid #ffffff;
    background-color: #ffffff;
    background-image: url(https://ghgemaherrerias.com/wp-content/themes/gemaherrerias/img/arrow-right.svg);
    background-size: 22px;
    color: #000000;
    
    -webkit-transition: all 0.2s linear;
	-moz-transition: all 0.2s linear;
	transition: all 0.2s linear;
}
body.page-id-1941 .psw-form {
    background-image: url(https://ghgemaherrerias.com/wp-content/uploads/2022/06/SLIDER-1-PROPDUCTOS-1-scaled.webp);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: right bottom;
}

@media screen and (max-width: 767px) {
    .psw-form {
        min-height: 80vh;
        margin-top: 20px;
    }
    .psw-form input[type="password"],
    .psw-form input[type="submit"] {
        width: 100%;
        float: none;
        clear: both;
    }
    .psw-form input[type="submit"] {margin-top: 10px;}
    .psw-content {padding: 20px;}
}

.elementor-nav-menu a{
    text-decoration: none !important;
}

.botonmenu{
    background-color: black !important;
    border: 1px solid black !important;
    padding-left: 6px !important;
}
.botonmenu a{
    color: white !important;
}
.botonmenu:hover{
    background-color: white !important;
}
.botonmenu a:hover{
    color: black !important;
}

@media(max-width: 1024px){
    .buscador{
        padding-left: 1rem !important;
        padding-right: 1rem !important;
        padding-bottom: 1rem !important;
    }
}


.orig::placeholder, #ajaxsearchlite1 .probox .proinput input, div.asl_w .probox .proinput input{
    font-family: 'Gill Sans Nova' !important;
    font-size: 16px !important;
}
input:focus{
    border: 1px solid #000 !important;
}

.sombrahover img{
    transition: 0.3s;
    box-shadow:1px 1px 2px  0px rgba(0, 0, 0, .3);
}
.sombrahover img:hover{
    box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, .3);
}
figcaption.widget-image-caption.wp-caption-text{
    padding-top: 5px;
}
.margenicono{
    margin-right: 5px;
}
html{
    overflow-x: hidden;
}
.owl-content a{
    color: #000;
}

.elementor-shortcode a{
    color: #000;
}
.elementor-shortcode .is-active a{
    color: #fff !important;
}
#user-registration.vertical .user-registration-MyAccount-navigation ul .user-registration-MyAccount-navigation-link.is-active a{
    background: #000;
    border-color: #000;
}
#user-registration.vertical .user-registration-MyAccount-navigation{
    background: #fff;
}
.user-registration-Button, .ur-submit-button{
    color: #000 !important;
    border: 2px solid #000 !important;
    border-radius: 0; 
}
.user-registration-Button:hover, .user-registration-Button:focus, .ur-submit-button:hover, .ur-submit-button:focus{
    background-color: #000 !important;
    color: #fff !important;
    border-radius: 0; 
}
fieldset{
    border: 0;
}

#user-registration{
    box-shadow: 0 1px 10px rgba(45,53,89,.1);
}
.user-registration-profile-header{
    display:none !important;
}
.user-registration-MyAccount-content{
    text-align: left !important;
}

p.user-registration-LostPassword.lost_password{
    font-weight: bold;
    padding-top: 1rem;
    font-size: 20px;
    text-decoration: underline;
    text-transform: uppercase;
}

@media (max-width: 767px){
    .elementor-element.elementor-element-6cd314ac.e-con-full.bgloop.animated-slow.e-flex.e-con.e-parent.e-lazyloaded{
        background-image: none !important;
    }
}
    
.etiqueta{
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: black;
    padding: 9px 10px;
    color: white;
    font-size: 14px;
    border-top-left-radius: 12px;
}
@media (max-width: 766px){
    .etiqueta{
        top: 25px;
        left: 25px;
        font-size: 12px;
    }
}


.wpcf7-submit{
    width: 100% !important;
    background-color: #000 !important;
    border:1px solid #000 !important;
    color: #fff !important;
}
.wpcf7-submit:hover, .wpcf7-submit:focus{
    background-color: #fff !important;
    color: #000 !important;
}

.cd-upload-btn, .wpcf7-list-item-label a{
    color: #000 !important;
}
.wpcf7-acceptance span{
    margin-left: 0px !important;
}

.codedropz-upload-inner h3{
    font-size: 24px!important;
}


.owl-theme .owl-dots .owl-dot.active span, .owl-theme .owl-dots .owl-dot:hover span{
    background: #000 !important;
}


/*Contact Form 7*/
.cf-container {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-right: -5px;
    margin-left: -5px;
}
.cf-col-1, .cf-col-2, .cf-col-3, .cf-col-4, .cf-col-5, .cf-col-6, .cf-col-7, .cf-col-8, .cf-col-9, .cf-col-10, .cf-col-11, .cf-col-12 {
    position: relative;
    width: 100%;
    min-height: 1px;
    padding-right: 5px;
    padding-left: 5px;
}
@media ( min-width: 576px ) {
    .cf-col-1 {
        -ms-flex: 0 0 8.333333%;
        flex: 0 0 8.333333%;
        max-width: 8.333333%;
    }
    .cf-push-1 { margin-left: 8.333333%; }
    .cf-col-2 {
        -ms-flex: 0 0 16.66667%;
        flex: 0 0 16.66667%;
        max-width: 16.66667%;
    }
    .cf-push-2 { margin-left: 16.66667%; }
    .cf-col-3 {
        -ms-flex: 0 0 25%;
        flex: 0 0 25%;
        max-width: 25%;
    }
    .cf-push-3 { margin-left: 25%; }
    .cf-col-4 {
        -ms-flex: 0 0 33.33333%;
        flex: 0 0 33.33333%;
        max-width: 33.33333%;
    }
    .cf-push-4 { margin-left: 33.33333%; }
    .cf-col-5 {
        -ms-flex: 0 0 41.66667%;
        flex: 0 0 41.66667%;
        max-width: 41.66667%;
    }
    .cf-push-5 { margin-left: 41.66667%; }
    .cf-col-6 {
        -ms-flex: 0 0 50%;
        flex: 0 0 50%;
        max-width: 50%;
    }
    .cf-push-6 { margin-left: 50%; }
    .cf-col-7 {
        -ms-flex: 0 0 58.33333%;
        flex: 0 0 58.33333%;
        max-width: 58.33333%;
    }
    .cf-push-7 { margin-left: 58.33333%; }
    .cf-col-8 {
        -ms-flex: 0 0 66.66667%;
        flex: 0 0 66.66667%;
        max-width: 66.66667%;
    }
    .cf-push-8 { margin-left: 66.66667%; }
    .cf-col-9 {
        -ms-flex: 0 0 75%;
        flex: 0 0 75%;
        max-width: 75%;
    }
    .cf-push-9 { margin-left: 75%; }
    .cf-col-10 {
        -ms-flex: 0 0 83.33333%;
        flex: 0 0 83.33333%;
        max-width: 83.33333%;
    }
    .cf-push-10 { margin-left: 83.33333%; }
    .cf-col-11 {
        -ms-flex: 0 0 91.66667%;
        flex: 0 0 91.66667%;
        max-width: 91.66667%;
    }
    .cf-push-11 { margin-left: 91.66667%; }
    .cf-col-12 {
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }
}

.woocommerce-js h2{
    margin-bottom: 0 !important;
}

.barrasuperior{
    background-color: #000!important;
    padding: 1rem !important;
    text-align: center !important;
    color: #fff !important;
}
.barrasuperior a{
    color: #fff !important;
    text-decoration: none !important;
}
.site-primary-footer-wrap a{
    text-decoration: none !important;
}

.ast-menu-toggle, .menu-toggle:focus, .ast-menu-toggle:hover,.ast-menu-toggle:focus,.ast-menu-toggle:focus-visible, .ast-menu-toggle:active,.menu-toggle-close, .menu-toggle-close:hover, .menu-toggle-close:active, .menu-toggle-close:focus, .menu-toggle-close:focus-visible{
    outline: none !important;
    border: 0 !important;
    border-style: none !important;
    border-radius: none !important;
    box-shadow: none !important; 
}

.ast-mobile-popup-inner{
    padding: 2rem !important;
}

.woocommerce nav.woocommerce-pagination ul li span.current, .woocommerce nav.woocommerce-pagination ul li a:hover, .woocommerce nav.woocommerce-pagination ul li a:focus{
    color: #fff !important;
}

ul.page-numbers{
    text-align: center !important;
    padding-bottom: 2rem;
}
a{
    text-decoration: none !important;
}

span.mobile-menu{
    padding-top: 5px !important;
}

ul.sub-menu {
    font-size: 16px !important;
    padding-left: 2rem !important;
}

.rellenoarriba{
    padding-top: 1rem !important;
}

@media(max-width: 1024px){
    span.mobile-menu{
        display:none !important;
    }
}

@media (min-width:1025px){
    .woocommerce-result-count, .orderby{
        padding-left: 2.5rem !important;
    }
}
@media (max-width:1024px){
    .woocommerce-result-count, .orderby{
        padding-left: 1.5rem !important;
    }
}

.woocommerce-ordering select.orderby{
    max-width: 230px !important;
}

.ast-shop-toolbar-container{
    padding-left: 0.7rem !important;
    padding-right: 2rem !important;
}
.elementor-button-text{
    padding-top: 4px !important;
}

.astra-shop-thumbnail-wrap{
    padding: 3rem !important;
}

a.button.checkout.wc-forward {
    background-color: #000 !important;
    color: #fff !important;
}

.yith-wcwl-add-button, .yith-wcwl-wishlistexistsbrowse{
    padding-top: 1rem !important;
}

i.yith-wcwl-icon.fa.fa-heart-o, i.yith-wcwl-icon.fa.fa-heart{
    font-size: 1rem !important;
}

@media (min-width: 920px){
    section.up-sells.upsells.products h2{
        padding-left: 1rem !important;
    }
}

.wps_wpr_apply_custom_points br, .wc-proceed-to-checkout br{
    display:none !important;
}

.woocommerce-cart .wc-proceed-to-checkout a.checkout-button{
    line-height: 0 !important;
    margin-top: 1rem !important;
    padding: 1.5rem !important;
    background-color: #000 !important;
    color: #fff !important;
}

.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover{
    background-color: #fff !important;
    color: #000 !important;
}

#wps_wpr_order_notice{
  font-family: 'Josefin Sans', sans-serif !important;  
}


input#search-field, input#search-field:focus{
    border: 0 !important;
}

/*Barra de scroll*/
body::-webkit-scrollbar, .ld-focus-sidebar-wrapper::-webkit-scrollbar{
    width: 6px !important;
}
body::-webkit-scrollbar-track{
    background: #fff !important;
}
.ld-focus-sidebar-wrapper::-webkit-scrollbar-track{
    background: #fff !important;
}
body::-webkit-scrollbar-thumb, .ld-focus-sidebar-wrapper::-webkit-scrollbar-thumb{
    background-color: #000 !important;
    border-radius: 0px !important;
    border: 1px solid #000 !important;
}

/*Paginas de recuperación de contraseña y login de Wordpress*/
a.wp-login-log-in {
    display: none !important;
}
.login h1 a{
        background-image: url('https://www.a5farmacia.com/wp-content/uploads/2024/05/A5-Farmacia-online-Sevilla-logo.avif') !important;
}
.notice.notice-info.message {
    background-color: white !important;
    border-left: 4px solid black !important;
    box-shadow: none !important;
}
form#lostpasswordform, form#loginform{
    border:0 !important;
    box-shadow: none !important;
}
.login .privacy-policy-page-link, .login .language-switcher, .wp-core-ui .button-secondary:focus{
    display:none !important;
}
body.login{
    background: #fff !important;
}
.wp-core-ui .button-secondary, .login #backtoblog a:hover, .login #nav a:hover{
    color: #8c65a8 !important;
}
.gform_button, .elementor-field-type-submit button, #wp-submit{
    
}
.gform_button, .elementor-field-type-submit button, #wp-submit{
    outline: none !important;
    display: block !important;
    width: 100% !important;
    background-color: #000 !important;
    border-radius: 0 !important;
}
.gfield input[type=text], .gfield input[type=email], .gfield input[type=password], .gfield input[type=select], .gfield select, .gfield select:focus, .gfield textarea, .gfield textarea:focus, .gfield input[type=checkbox], .gfield input[type=number], .gfield input[type=tel], .ginput_container_fileupload input, .ginput_container_fileupload input:focus, .gform_button, .gform_button:focus, .elementor-field-type-text input, .login form .input{
    border: 1px solid #000 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}
.gform_button:hover, .elementor-field-type-submit button:hover, #wp-submit:hover{
    background-color: #fff !important;
    color: #000 !important;
    border: 1px solid #000 !important;
}


/*Página de mi cuenta*/
.page-id-11 .product-price, .page-id-11 .product-stock-status{
    text-align: left !important;
}

#wc-stripe-express-checkout-element, .yith-wcwl-add-button{
    justify-content: initial !important;
}
.yith-wcwl-add-to-wishlist .yith-wcwl-add-button{
    display: block !important;
}

.bordefooter{
    border-top-width: 0px !important;
}