/* styles */

body {
    background: #FFF;
}

.wp-block-column[style] {
    flex-grow: 1;
}

h3, h4 {
    letter-spacing: 1px;
}

/* content */

article h2 a {
    color: #000;
}
article h2 a:hover {
    color: #FF4D00;
}

article .tags-link h3 {
    color: #000;
}

article .tags-link a {
    font-size: 0.8rem;
}

article.post-single .aligncenter {
    display: block;
    margin: 0.5rem auto;
}

/* Cabecera */
.site-header{
    position: fixed;
    top:0;
    left: 0;
    width: 100%;
    z-index: 1000;

    box-shadow: unset;
}
.site-header-fixed-pre .site-header.site-header-animation-slide {
    top: 0;
}
body,
.site-header-fixed-pre,
.site-header-fixed{
    padding-top: 85px;
}
body.home{
    padding-top: 0;
}
.site-header-main{
    background: #fff;
}
.home .site-header-main{
    background: none;
}

.home .site-header .main-navigation .menu > li > a {
    color: white;
}
.home .site-header .main-navigation .menu > li.current-menu-item > a {
    font-weight: 600;
}
.home .site-header .header-myaccount-contents,
.home .site-header .search-opener,
.home .site-header .header-cart-contents {
    color: white;
}
.home .main-navigation li:hover > ul{
	top: 60px;
}

.site-header .site-branding a{
    padding: 0.6875rem 0;
}
.site-header .site-branding a img{
    width: 120px;
}
.site-header-fixed .site-header .site-header-main .site-branding a::before {
    width: 120px;
    height: 62px;
}
.site-header-fixed .site-branding{
    min-height: 84px;
}
.site-header-fixed .main-navigation .menu > li > a,
.site-header-fixed .main-navigation .menu > li > a .link-outer > .link-inner {
    color: #000;
}
.site-header-fixed .main-navigation .menu > li.current-menu-item > a > .link-outer > .link-inner {
    font-weight: 600;
}
.site-header-fixed .site-header .header-myaccount-contents,
.site-header-fixed .site-header .search-opener,
.site-header-fixed .site-header .header-cart-contents {
    color: #000;
}

.site-header-fixed .site-header.site-header-animation-slide .main-navigation .menu > li > a{
    padding-top: 25px;
    padding-bottom: 25px;
}

.menu-toggle-btn .icon-bar {
    background: #5E5E5E;
    width: 27px;
    height: 3px;
    border-radius: 3px;
    margin-bottom: 7px;
}

.site-header-fixed .site-header .site-branding a:before{
    display: none !important;
}
.site-header-fixed .site-header .site-branding a img{
    display: block !important;
}
.site-header-fixed .site-branding{
    min-height: unset;
}

/* Menu */
.main-navigation .menu>li {
    font-size: 0.9rem;
}
.main-navigation .menu > li > a {
    font-family: 'Raleway', sans-serif;
    color: #000;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding-left: 16px;
    padding-right: 16px;
}
.home .main-navigation .menu > li > a {
    color: #fff;
}
.main-navigation .menu>li>a>.link-outer {
    padding: 5px 0;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
}
.main-navigation .menu>li>a>.link-outer:before {
    background-color: transparent;
}
.main-navigation .menu>li>a:hover>.link-outer {
    border-color: #000;

}
.main-navigation .menu>li.current-menu-item>a,
.main-navigation .menu>li.current-menu-ancestor>a,
.main-navigation .menu>li.current-menu-item>a:hover,
.main-navigation .menu>li.current-menu-ancestor>a:hover {
    color: #5E5E5E;
}
.main-navigation .menu > li:hover > a,
.main-navigation .menu > li > a:hover {
    color: #000;
    font-weight: 600;
}
.home .main-navigation .menu > li:hover > a,
.home .main-navigation .menu > li > a:hover {
    color: #fff;
    font-weight: 600;
}
.main-navigation .menu>li.current-menu-item>a > .link-outer,
.main-navigation .menu>li.current-menu-ancestor>a > .link-outer,
.main-navigation .menu>li.current-menu-item>a:hover > .link-outer,
.main-navigation .menu>li.current-menu-ancestor>a:hover > .link-outer {
    border-color: #C7B084;
}
.main-navigation .menu > li.menu-item-has-children > a > .link-outer > .link-inner::after{
    margin-left: 8px;
}

.main-navigation .sub-menu {
    border-top: 2px solid #bbb;
}

.search-opener .fas{
    font-weight: 400;
}

/* Menu mobile */
.mobile-menu-header{
    background: transparent;
}
.mobile-menu-header .custom-logo-link img{
    height: 50px;
    width: auto;
}

/* widgets */

aside .widget{
    padding-top: 1rem;
    background: #fff;
    background-size: 100%;
}

.site-header-top {
    font-size: 0.75rem;
}

.site-header-top .widget.widget_text {
    opacity: 0.9;
}

.site-header-top .widget.widget_custom_html a {
    opacity: 0.9;
    margin-left: 1rem;
    transition: all 0.3s ease;
    font-size: 0.875rem;
}

.site-header-top .widget.widget_custom_html a:hover {
    text-decoration: none;
    opacity: 1;
}

/* Content */
.home .site-main-container {
    padding-top: 1rem;
}
.page-header-custom-back{
    background: rgba(168, 10, 97, 0.7);
}
.page-header-custom .page-title {
    font-family: 'Open Sans', sans-serif;
}
.page-header-custom .page-title,
h1.page-title {
    margin-bottom: 1.1rem;
    font-size: 2rem;
    font-weight: 600;
}
.page-header-custom h2 {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.3rem;
    line-height: 1.3em;
    font-weight: 300;
    margin: 0;
}
.page-header-custom .page-title:after {
    margin-top: 1rem;
    margin-bottom: 0;
}

.header-lang{
    margin-left: 2rem;
}

/* Widget: Galeria en sidebar */
.slick-dots li.slick-active button::before{
    color: #FF4D00;
}

/* swiper */
.swiper-container-horizontal > .swiper-pagination-bullets .swiper-pagination-bullet-active{
    border-color: #FF4D00;
}
.swiper-container-horizontal > .swiper-pagination-bullets .swiper-pagination-bullet-active:before{
    background: #FF4D00;
}

/* newsletter footer */
.site-footer .wpcf7 .wpcf7-form-control.wpcf7-text,
.site-footer .wpcf7 .wpcf7-form-control.wpcf7-textarea {
    background: rgba(0,0,0,0);
    border-radius: 0;
    padding: 0.4rem 1rem;
}
.site-footer .wpcf7 .wpcf7-form-control-wrap.email-suscripcion-newsleter {
    margin-left: 1rem;
    margin-right: 1rem;
}
.site-footer .wpcf7 .wpcf7-form-control-wrap.email-suscripcion-newsleter input{
    border-bottom: 1px solid #000;
}
.site-footer .wpcf7 span.wpcf7-list-item {
    margin: 0;
}
.site-footer .wpcf7 .wpcf7-form-control.wpcf7-text {
    padding: 0.4rem 0;
    font-size: 0.8rem;
    color: #707070;
}
.site-footer .wpcf7 .aceptar-newsletter {
    font-size: 0.8rem;
}
.site-footer .wpcf7 .aceptar-newsletter span {
    margin: 0;
}
.site-footer .wpcf7 .suscripcion-newsletter{
}
.site-footer .wpcf7 .suscripcion-newsletter i {
    font-size: 1.2rem;
}
.site-footer .wpcf7 .suscripcion-newsletter div:first-child {
    padding-left: 15px;
}
.site-footer .wpcf7 .suscripcion-newsletter > div:nth-child(2){
    max-width: calc(100% - 150px);
}

.site-footer .wpcf7 .wpcf7-form-control.wpcf7-submit{
    display: none;
}
.site-footer .wpcf7 .fa-envelope{
    cursor: pointer;
}

/***  wp-store-locator ***/
#wpsl-wrap{
    overflow: unset;
}
.wpsl-store-below #wpsl-gmap{
    margin: 0 -15px;
    width: calc(100% + 30px);
}

.wpsl-search{
    position: absolute;
    top: 87.5px;
    left: 50px;
    z-index: 1;
    background: #fff;
    padding: 0;
    min-width: 22rem;
}
.wpsl-search #wpsl-search-wrap div{
    display: block;
    float: none;
    margin: 0;
}
.wpsl-search #wpsl-search-wrap .wpsl-title{
    text-transform: uppercase;
    margin: 0;
    padding: 1.5rem 1.75rem 1.25rem 1.75rem;

    font-size: 1rem;
    font-weight: 600;
    color: #000;
}
.wpsl-search #wpsl-search-wrap .wpsl-input{
    margin: 0;
    padding: 0 1.75rem 1.25rem 1.75rem;
}
.wpsl-search #wpsl-search-wrap .wpsl-input label{
    display: none;
}
.wpsl-search #wpsl-search-wrap .wpsl-input input{
    display: block;
    width: 100%;
    border-radius: 0;
    border: 1px solid #E5E3E4;
    border-left: 2px solid #000;
}
.wpsl-search #wpsl-search-wrap #wpsl-search-btn{
    margin: 0;
    background: #000;
    color: #fff;
    text-align: center;
    border-radius: 0;
    border:0;
    width: 100%;
    text-transform: uppercase !important;
    font-weight: 600;
    padding: 0.9rem 0;
}

#wpsl-stores{
    height: auto;
    overflow-y: unset;
}
#wpsl-wrap.wpsl-store-below #wpsl-result-list ul{
    display: flex;
    flex-wrap: wrap;
}
#wpsl-wrap.wpsl-store-below #wpsl-result-list li{
    border: 0;
    padding: 0;
    flex: 0 1 33.33%;
}
#wpsl-wrap.wpsl-store-below #wpsl-result-list li .wpsl-monty{
    padding: 1.5rem 3rem;
}
#wpsl-wrap.wpsl-store-below #wpsl-result-list li .wpsl-monty > h4{
    font-size: 1rem;
    letter-spacing: 0;
    line-height: 1.2;
    color: #000;
    padding: 0 0 1rem 0;
    border-bottom: 1px solid #000;
    margin: 0 0 1rem 0;
}
#wpsl-wrap.wpsl-store-below #wpsl-result-list li .wpsl-monty > span{
    display: block;
    margin-bottom: 0.75rem;
}
#wpsl-wrap.wpsl-store-below #wpsl-result-list li .wpsl-monty .fas {
    font-size: 1rem;
    margin: 3px 0.625rem 0 0;
    color: #000;
    min-width: 20px;
    text-align: center;
}

#wpsl-wrap.wpsl-store-below #wpsl-result-list li.wpsl-preloader {
    flex: 1 1 100%;
    float: none;
    margin: 0 auto;
    text-align: center;
}
#wpsl-wrap.wpsl-store-below #wpsl-result-list li.wpsl-preloader img{
    position: relative;
    margin-right: 0.5rem;
    left: unset;
    top: unset;
}

/*** Checkout + wp-pickup-store ***/

#shipping-pickup-store-locator-modal .modal-title{
    color: #000;
    font-weight: 400;
}

#shipping-pickup-store-locator-modal .modal-body{
    display: flex;
    flex-direction: row;
}

#shipping-pickup-store-locator-modal .store-container{
    flex: 35% 0 0;
    margin-right: 1rem;
}

#shipping-pickup-store-locator-modal .store-search{
    display: flex;
    flex-direction: row;
    margin-bottom: 1rem;
}
#shipping-pickup-store-locator-modal .store-search input{
    flex:100% 1 1;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}
#shipping-pickup-store-locator-modal .store-search button{
    flex-shrink: 0;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

#shipping-pickup-store-locator-modal .store-list{
    height: calc(100vh - 17rem);
    overflow-x: hidden;
}

#shipping-pickup-store-locator-modal .store-item{
    padding: 0.5rem;
    border: 1px solid transparent;
    border-bottom-color: #E4E4E4;
    cursor: pointer;
}
#shipping-pickup-store-locator-modal .store-item .fas{
    color: #FF4D00;
    margin-right: 0.2rem;
}
#shipping-pickup-store-locator-modal .store-item-name{
    font-weight: 500;
    color: #000;
    font-size: 1rem;
}
#shipping-pickup-store-locator-modal .store-item .fa-circle{
    margin-right: 0.2rem;
}
#shipping-pickup-store-locator-modal .store-item .fa-check-circle{
    display: none;
    margin-right: 0.2rem;
}

#shipping-pickup-store-locator-modal .store-item.selected{
    border-color: #FF4D00;
    box-shadow: 0 0 0.4rem #FF4D00;
}
#shipping-pickup-store-locator-modal .store-item.selected .fa-circle{
    display: none;
}
#shipping-pickup-store-locator-modal .store-item.selected .fa-check-circle{
    display: inline-block;
}

#google-maps {
    flex: 65% 1 1;
    position: relative;
    /*padding-bottom: 56.25%;
    height: 0;*/
    height: calc(100vh - 14rem);
    overflow: hidden;
}
#google-maps iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
}

/*** IE10+ specific styles go here ***/
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
    .wp-block-image .aligncenter,
    .wp-block-image .alignleft,
    .wp-block-image .alignright,
    .wp-block-image.is-resized{
        display: block;
    }
}

/*** Media queries ***/

/* Large devices (landscape tablets, desktops) */
@media (max-width: 1200px) {
    .main-navigation .menu > li{
        font-size: 0.85rem;
    }
}

/* Medium devices (vertical tablets) */
@media (max-width: 991px) {
    .menu-toggle-btn{
        order: 1;
    }
    .site-branding{
        margin-left: auto;
        order: 2;
    }
    .search-opener{
        display: none;
        order: 3;
    }
    .site-header-main .header-myaccount-contents{
        margin-left: auto;
        order: 4;
    }
    .header-cart-contents{
        order: 5;
    }
    .header-lang{
        order: 6;
    }
}

/* Small devices (landscape phones)  */
@media (max-width: 767px) {
    #shipping-pickup-store-locator-modal .modal-body{
        flex-direction: column;
    }
    #shipping-pickup-store-locator-modal .store-container{
        flex: 100% 0 0;
        margin-right: 0;
        margin-bottom: 1rem;
    }
    #google-maps{
        min-height: 300px;
        flex: 100% 0 0;
    }
}

/* Small devices (vertical phones) */
@media (max-width: 575px) {
    .header-lang{
        margin-left: 1rem;
    }

    article h1.entry-title{
        font-size: 1.45rem;
        line-height: 1.85rem;
    }
    article.post-single .entry-date{
        display: none;
    }
    article.post-single .entry-date-mobile{
        display: block;
    }
    article.post-single .entry-content, article.post-single .entry-footer{
        margin-left: 0;
    }
}
