/*
  - background: #f0f0f0
  - white: #fff
  - black: #161615
  - gray: #5f605b
  - red: #b63b2e
*/

/* evitar movimiento horizontal modo responsive */
html, body {
    overflow-x: hidden;
}

body {
    position: relative;
}

@media (max-width: 766px) {
    .node__content {
        padding: 0;
    }
}

@media (max-width: 575px) {
    #main-content > div {
        padding-right: 15px;
        padding-left: 15px;
        margin-right: auto;
        margin-left: auto;
    }
}

@media (min-width: 992px) {
    .bodegas.full .node__content,
    .node--type-article .node__content {
        margin-left: 160px;
        margin-right: 170px;
    }
}


a, a:hover, a:focus, ul.menu li a.active, ul.menu li a:hover, ul.links li a.active, ul.links li a:hover, #forum thead a:hover, #block-node-recent .node-title a:hover {
    color: #b63b2e;
}

body, #page {
    background-color: #f0f0f0;
    font-family: 'montserrat', sans-serif;
    font-weight: 300;
}

a:hover, a:focus {
    /*text-decoration: underline;*/
    text-decoration: none;
    color: #161615;
}
a.button:hover, a.button:focus {
    text-decoration: none;
    color: #fff;
}
input {
    outline: none;
}

/* limpieza de temas padre */
.node footer {
    border: none;
}
#main-content {
    padding: initial;
    margin-bottom: 40px;
}
select {
    min-height: auto;
}

.item-list:focus,
.item-list ul li:focus {
    outline: none;
}

input[type="submit"]:hover,
input[type="reset"]:hover,
input[type="button"]:hover,
.dark input[type="submit"],
.highlighted-block .btn:hover,
.highlighted-block .btn:focus,
.call-to-action .btn,
.tag a:hover {
    background-color: #161615;
    color: #fff;
}

input.form-text:focus, input.search-text:focus, textarea.form-textarea:focus {
    border-color: #b63b2e;
}

.container-fluid {
    padding-left: 0;
    padding-right: 0;
}

.form-textarea {
    border: none;
    border-radius: 0;
    border-bottom: 2px solid #b7b7b7;
    margin-bottom: 10px;
    background-color: #f0f0f0;
    resize: none;
}

@media (min-width: 768px) {
    #page .block {
        max-width: 93%;
        margin-left: auto;
        margin-right: auto;
    }
    input {
        max-width: 360px;
    }
}

/* CONTAINER */
@media (min-width: 1600px) {
    .container {
        width: 1600px;
    }
}

/* HEADER */
#header {
    background-color: transparent;
    border-bottom: none;
    z-index: 500;
    padding: 3rem 5rem;
    text-align: initial;
    min-height: auto;
    transition: padding 0.2s ease-in-out, box-shadow 0.2s ease-in-out, background-color 0.2s ease-in-out;
}

#header.sticky {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1rem 5rem;
    box-shadow: 0px 5px 5px #cacbc8;
    background-color: #f0f0f0;
}
@media (max-width: 768px) {
    #header.sticky {
        padding: 1rem;
    }
}

.region-header-right {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-end;
}
.region-header-right a:hover {
    color: #b63b2e !important;
}

#header_right .content img {
    margin-top: calc(7px + 11%);
}

#block-cabecerausuarioanonimo a,
#block-cabecerausuarioautenticado a {
    display: inline-block;
    vertical-align: middle;
    margin-right: 25px;
    color: #161615;
    text-transform: uppercase;
    font-family: 'montserrat';
    letter-spacing: 3px;
    font-size: 12px;
}
@media (max-width: 1199px) {
    #block-cabecerausuarioanonimo a, #block-cabecerausuarioautenticado a
    {
        margin-right: 4px;
    }
}
.fa-times-circle {
    margin-right: 20px;
    /*margin-top: 10px;*/
}
@media (max-width: 766px) {
    .fa-times-circle {
        margin-right: -2px;
    }
}
a.cerrar svg {
    margin-right: 0px;
}

#block-cabecerausuarioautenticado a:hover{
    text-decoration: none;
}
#lupa {
    margin-right: 25px;
}
#txtBusqueda {
    min-height: auto;
    height: 40px;
    border: #5f605b 1px solid;
    width: 350px;
    margin: 10px;
    position: absolute;
    /* top: 40px;
     right: 55px;*/
}
#btnBusqueda {
    display: none;
}

#header_right {
    display: flex;
    flex-wrap: nowrap;
    align-content: center;
    flex-direction: row-reverse;
    align-items: center;
    vertical-align: middle;
}

#header_right .block {
    padding: 0;
    margin: 0;
}

#header_right p {
    margin: 0;
}

#buscador {
    display: none;
}
#buscador.open {
    display: block;
}
#block-professionalwines-cartflyout {
    position: relative;
}
#block-professionalwines-cartflyout .cart--cart-block.red-dot:before  {
    position: absolute;
    content: '';
    background-color: #b63b2e;
    border-radius: 50%;
    width: 12px;
    height: 12px;
    pointer-events: none;
    top: 10px;
    right: 2px;
    z-index: 1;
}
header .row > div {
    padding: 0;
}
/* SLOGAN */

#slogan .title {
    width: 80%;
    font-size: 6.5rem;
    line-height: 7rem;
}
@media (max-width: 768px) {
    #slogan .title {
        width: 70%;
        font-size: 48px;
        line-height: 52px;
        margin: 10px 0;
    }
    #slogan .subtitle {
        width: 50%;
        margin: 0;
    }

}
#slogan {
    position: relative;
}
#slogan .slogan-text {
    width: 450px;
    height: 600px;
    margin-left: 130px;
    margin-top: 150px;
}
#slogan .slogan-image {
    position: absolute;
    top: -300px;
    left: 30%;
}
@media (max-width: 1199px) {
    #slogan .slogan-image {
        position: static;
        display: block;
        width: 50%;
        max-width: none;
        clear: none;
        float: right;
    }

    #slogan .slogan-text {
        width: 450px;
        height: auto;
        margin-top: 0;
        float: left;
        position: absolute;
    }
}

@media (max-width: 991px) {
    #slogan .slogan-text {
        position: static;
        display: block;
    }

    #slogan .slogan-image {
        width: 100%;
    }
}

@media (max-width: 766px) {
    #slogan .slogan-text {
        margin-left: 30px;
    }
}

/* TITULOS */
.subtitle {
    font-family: 'montserrat';
    color: #5f605b;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 1rem;
    margin-top: 1rem;
    margin-bottom: 1.5rem;
    max-width: 70%;
}

.title {
    font-family: 'Cormorant Infant', serif;
    color: #161615;
    font-size: 6rem;
    line-height: 6rem;
    margin-bottom: 4rem;
}
@media (max-width: 766px) {
    .title {
        font-size: 36px;
    }
}


/* PRODUCT y PRODUCT VARIATION */
.tienda-imagen-catalogo {
    position: absolute;
    right: -50px;
    top: 70px;
}
@media (max-width: 991px) {
    .tienda-imagen-catalogo {
        display: none;
    }
}

.view-id-tienda.view-display-id-page_1 > * {
    margin-top: 20px;
}

.view-tienda .view-content {
    width: auto;
    margin-left: auto;
    margin-right: auto;
    padding: auto 5%;
}

article.product {
    width: 280px;
    height: unset;
    background-color: #fff;
    padding: 20px 10px 5px;
    border-radius: 5px;
    margin-right: 10px;
    margin-bottom: 10px;
    float: left;
    box-shadow: 3px 4px 10px #ccc;
    position: relative;
}
article.product:hover {
    box-shadow: 8px 12px 12px 0 rgb(59 57 55 / 20%);
}
.product .product-image img {
    margin-left: auto;
    margin-right: auto;
    height: 250px;
    margin-bottom: 10px;
}

.mosaico .product-icons {
    position: absolute;
    top: 15px;
    right: 15px;
}

.promo-ahorro::before {
    border: solid 2px #b63b2e;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    line-height: 25px;
    text-align: center;
    color: #b63b2e;
    font-weight: 500;
    font-size: 15px;
    margin-bottom: 5px;
}

.field--name-field-pvptosparker,
.field--name-field-pvptospenin {
    text-align: center;
}

.field--name-field-pvptosparker {
    color: white;
    font-family: Roboto, sans-serif;
    font-weight: 600;
    line-height: 18px;
    font-size: 18px;
}

.field--name-field-pvptospenin {
    font-family: 'Cormorant Infant', serif;
    font-size: 22px;
    line-height: 22px;
    font-weight: 600;
    color: #164137;
}

.promo-ahorro::before {
    display: block;
    content: "%";
}
.promo-oferta .promo.diagonal,
.promo-ahorro .promo.diagonal {
    display: none;
}

.mosaico .product-points {
    position: absolute;
    top: 15px;
    left: 15px;
    display: flex;
    flex-direction: column;
}

.mosaico .product-points > div {
    margin: 3px 0;
}

.product .product-title {
    margin-bottom: 5px;
    height: 50px;
}

.product .product-title a {
    font-family: 'Cormorant Infant';
    color: #161615;
    font-weight: 600;
    font-size: 1.4em;
    text-align: center;
}

.product .product-info,
#product-main .product-info {
    height: 55px;
    overflow: hidden;
}
.product .product-info div,
#product-main .product-info div {
    display: inline-block;
    font-family: 'Cormorant Infant';
    color: #5f605b;
    margin-bottom: 5px;
    font-weight: 500;
    font-size: 16px;
}
.product .product-info > div:first-child::after,
.product .product-info > div:last-child::before,
#product-main .product-info > div:first-child::after,
#product-main .product-info > div:last-child::before {
    content: " · ";
}

.view-productos-destacados-novedades .view-footer {
    display: block;
    clear: both;
    text-align: center;
    padding: 30px;
}
.view-blog .view-footer a,
.view-productos-destacados-novedades .view-footer a {
    display: block;
    margin: 0 auto;
}

.product .button.btn-block {
    width: auto;
}

/* PRODUCT-FULL */
#product-main img {
    border-radius: 5px;
}

#product-main .product-icons > div {
    display: inline-block;
    margin: 0 5px;
}

#product-main .product-actions label {
    display: none;
}

#product-main .product-actions select {
    position: relative;
    display: inline;
}

#product-main .select-wrapper {
    float: left;
    margin-right: 10px;
}

#product-main .form-actions {
    margin-top: 20px;
}

#product-main .form-actions button {
    width: 200px;
    display: inline-block;
    clear: both;
    float: left;
}

#product-main .form-actions button img {
    display: inline;
    margin: 5px;
}

#product-main .form-actions .form-submit {
    width: 250px;
    font-size: 14px;
    padding: 8px;
    margin-top: 20px;
}
#product-main .form-actions .form-submit img {
    margin: 3px 6px 9px;
}

#product-main .item-list ul li {
    border: none;
    padding: 0;
}

#product-main .field--name-field-pvimagenes img {
    border-radius: 6px;
}

#product-main .field--name-field-pvecologico,
#product-main .field--name-field-pvvegano {
    position: absolute;
    top: 15px;
    margin-right: 15px;
    right: 15px;
}

.product-icons .field img {
    margin-bottom: 10px;
}

#product-main .product-price > div {
    display: inline-block;
    margin: 10px 0;
}
#product-main .field--name-price.field--type-commerce-price {
    font-size: 32px;
}


/* BOTONES */
.button-wrapper {
    width: 300px;
}

.button {
    display: block;
    margin: 10px 5px;
    position: relative;
    padding: 12px 20px;
    width: 300px;
    border-radius: 5px;
    background-color: #b63b2e;
    color: white;
    font-family: 'montserrat', sans-serif;
    font-size: 16px;
    text-transform: uppercase;
    text-align: center;
    font-weight: 400;
    cursor: pointer;
}
@media (max-width: 766px) {
    .button {
        width: 250px;
        font-size: 14px;
        padding: 8px 12px;
    }
}
.button-reverse {
    background-color: #161615;
    color: #fff;
}
.button-reverse:hover {
    background-color: #b63b2e;
    text-decoration: none;
    color: #fff !important;
}
.button.anim {
    transition: all 0.4s cubic-bezier(0.215, 0.61, 0.355, 1) 0s;
}
.button.anim:hover {
    color: #fff !important;
    background-color: #161615;
    text-decoration: none;
}

.button.anim:hover:before {
    top: 0%;
    bottom: auto;
    height: 100%;
}
.button.anim:before {
    display: block;
    position: absolute;
    left: 0px;
    bottom: 0px;
    height: 0px;
    width: 100%;
    z-index: -1;
    content: '';
    color: #fff !important;
    background: #161615;
    transition: all 0.4s cubic-bezier(0.215, 0.61, 0.355, 1) 0s;
    border-radius: 5px;
}
.form-item,
.form-actions {
    margin-top: 0;
    margin-bottom: 0;
}
.product-actions {
    position: relative;
}
.form-actions button {
    background-color: #b63b2e;
    color: #fff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 3px;
    padding: 0;
}
.form-actions button img {
    background-color: transparent !important;
    height: 17px;
    margin: auto;
}
.product-actions select {
    position: absolute;
    right: 0;
    top: 0;
}

/* oculta texto si está en vista mosaico */
.mosaico .form-actions span {
    display: none;
}

/* quita label cantidad */
.mosaico .form-type-select label,
.mosaico .qty-btns label {
    display: none;
}

/* bloques externos */
.qty-left-btns.qty-middle-btns,
.qty-right-btns,
select.form-control {
    border: solid 1px #5f605b;
    border-radius: 3px;
    padding: 5px 8px;
    width: 100px;
    height: 40px;
    background-color: #fff;
    display: flex;
    flex-direction: row;
}
.form-group {
    margin: 0;
    padding: 0;
}

/* PRODUCT TABS */
.panel-body {
    padding: 15px;
}

.panel-default>.panel-heading+.panel-collapse>.panel-body {
    border-top-color: #ddd;
}

.collapse {
    display: none;
}

@media (min-width: 768px) {
    .panel-collapse {
        height: auto;
    }
}

.collapse.in {
    display: block;
}

@media (min-width: 768px) {
    .panel-collapse.collapse {
        display: block;
    }
}

.panel-title {
    margin-top: 0;
    margin-bottom: 0;
    font-size: 16px;
    color: inherit;
}

.panel-heading {
    padding: 10px 15px;
    border-bottom: 1px solid transparent;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
}

@media (min-width: 768px) {
    .panel-heading {
        display: none;
    }
}

.panel-default>.panel-heading {
    color: #333;
    background-color: #f5f5f5;
    border-color: #ddd;
}


.nav-tabs {
    margin: 25px 0 15px;
    border-bottom: 2px solid #b7b7b5
}
@media (max-width: 767px) {
    .extra-info .nav-tabs {
        display: none;
    }
}

@media (max-width: 767px) {
    .tab-content .tab-pane {
        display: block;
    }
}
.nav-tabs li {
    border: none;
    border-right: 2px solid #b7b7b5;
    font-family: 'montserrat';
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 2px;
    margin: 0;
    color: #161615
}
.nav-tabs li a {
    color: #161615;
}
.nav-tabs li:last-of-type {
    border: none;
}

@media (max-width: 767px) {
    .nav-tabs.primary li {
        width: 100%;
    }
}

.nav-tabs li.active a {
    background-color: transparent;
    border: none;
}

.nav-tabs>li.active>a,
.nav-tabs>li.active>a:focus,
.nav-tabs>li.active>a:hover {
    background-color: transparent;
    border: none;
}

.panel {
    background-color: transparent;
    border: none;
}

#collapse-carac .panel-body > div {
    display: block;
    border-bottom: 2px solid #b7b7b5;
    padding: 8px 0;
    width: 48%;
    float: left;
    margin: 0px 1%;
}

@media (max-width: 1199px) {
    #collapse-carac .panel-body > div {
        float: none;
        width: 98%;
        margin: 0 1%;
    }
}

.titulotaxonmia {
    padding: 0px 30px;
    color: #888;
}

.terminotaxonmia {
    text-align: right;
    padding: 0 30px;
}

.terminotaxonmia a {
    color: #888;
    font-weight: 400;
}
.terminotaxonmia a:hover {
    text-decoration: none;
}

/* ocultar flechas input number */
.qty-left-btns.qty-middle-btns input[type=number]::-webkit-inner-spin-button,
.qty-left-btns.qty-middle-btns input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.qty-left-btns.qty-middle-btns input[type=number] {
    -moz-appearance:textfield;
}

/* tamaño de lo que no es boton */
.qty-left-btns.qty-middle-btns input,
.qty-right-btns .box {
    border: none;
    background: transparent;
    width: 55px;
    font-size: 20px;
    font-weight: 500;
    padding: 2px 10px;
}
.qty-right-btns .box {
    width: 55px;
    height: 30px;
}

/* tamaño de los botones */
.qty-left-btns.qty-middle-btns .buttons {
    display: flex;
    flex-direction: column;
}
.qty-left-btns.qty-middle-btns button,
.qty-right-btns button {
    border: none;
    width: 30px;
    height: 14px;
    background: transparent;
    padding: 0;
    margin: 0px;
    line-height: 0;
}
.qty-right-btns {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    margin-left: 10px;
    margin-right: 10px;
}

/* posicion de los botones */
.form-actions select {
    right: 25px;
    position: absolute;
}
.qty-btns {
    display: inline-flex;
    float: left;
}

/* PRECIOS */
.mosaico .field--name-price,
#product-related .field--name-price,
#product-main .field--name-price {
    font-family: 'montserrat';
    color: #5f605b;
    font-size: 26px;
    font-weight: 500;
}
.ivainc {
    font-size: 12px;
    margin-bottom: 6px;
}

.product-tarifa {
    height: 20px;
}

.precio-tarifa {
    color: #b63b2e;
    text-decoration: line-through;
    font-size: 12px;
    font-weight: 400;
}

/* PAGINADOR */
.pager__item {
    padding: 0px;
}
.pager li>a, .pager li>span {
    display: inline-block;
    padding: 5px 14px;
    background-color: #f0f0f0;
    border: 1px solid #5f605b;
    border-radius: 4px;
    color: #a5a5a5;
}
.pager li.pager__item--first>a, .pager li.pager__item--last>a, .pager li.pager__item--previous>a, .pager li.pager__item--next>a {
    color: #5f605b;
    font-weight: 700;
}
.pager li.is-active>a, .pager li:hover>a {
    color: white;
    background-color: #b63b2e;
    border: solid 1px #b63b2e;
}
.pager__items {
    padding-left: 0;
    padding-top: 40px;
}

/* FOOTER */
#footer-inside {
    width: 95%;
}

#logo-dark img {
    width: 250px;
    margin-left: auto;
    margin-right: auto;
}

#footer {
    border: none;
    background-color: #161615;
    color: #f0f0f0;
    font-family: 'montserrat', sans-serif;
    padding: 40px 50px 30px;
}
#footer h2 {
    font-family: 'montserrat', sans-serif;
    font-weight: 500;
    margin-bottom: 12px;
}

h2::after {
    content: none !important;
}

#footer p {
    line-height: 26px;
}

#block-informacion li {
    list-style: none;
}

#block-informacion a {
    color: #f0f0f0;
}

#block-informacion a:hover {
    color: #fff;
    text-decoration: none;
}

#envio .row > div {
    padding: 5px;
}

/* ICONOS RRSS */

#rrss {
    font-size: 20px;
}
#rrss svg {
    margin-right: 10px;
}

.region-we-mega-menu .rrss {
    margin-top: 50%;
}

.rrss-icons {
    font-size: 22px;
    color: #b63b2e;
    margin-top: 5px;
}
.rrss-icons svg {
    margin-right: 10px;
}

#block-menumovil .rrss {
    margin: 45px 75px;
}

/* FOOTER ENVÍO */
#envio {
    padding: 20px 0;
}
#envio .row div {
    margin: 10px 0px;
}
#envio .col-xs-2 {
    text-align: center;
}
#envio img {
    margin: 0 auto;
    height: 30px;
}
#envio span {
    font-weight: 500;
}

/* QUIENES SOMOS */
h2.title {
    font-weight: 400;
    font-size: 7rem;
    width: 50%;
}

h3.title {
    font-size: 5rem;
    font-weight: 100;
    width: 50%;
}
p {
    line-height: 2.5rem;
}

@media (min-width: 1600px) {
    #interior-tienda {
        position: absolute;
        max-width: none;
        left: -130px;
    }
}
@media (max-width: 1599px) {
    #interior-tienda {
        max-width: none;
        margin-bottom: -160px;
        margin-left: -130px;
        width: 150%;
    }
}
@media (max-width: 995px) {
    #interior-tienda {
        max-width: none;
        width: 100%;
        margin: -80px auto -200px;
    }
}

#nuestros-productos .row {
    margin: 0;
    margin-top: 60px;
}
@media (min-width: 1200px) {
    #nuestros-productos {
        margin: 70px 120px 70px;
    }
}
@media (max-width: 1199px) {
    #nuestros-productos {
        margin: 30px 10px;
    }
}

/* VISTAS */
.block-views-blockproductos-destacados-novedades-block-1 .view-content {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: flex-start;
    width: auto;
    overflow-x: scroll;
    margin-left: 10px;
    margin-right: 10px;
}

.views-view-grid {
    margin-left: auto;
    margin-right: auto;
}
.image-style-display-tradicional {
    border-radius: 10px;
}
.bodegas.teaser h3.title {
    width: auto;
    font-size: 2.7em;
    overflow: hidden;
    height: 60px;
    margin-bottom: 10px;
}
@media (max-width: 766px){
    .bodegas.teaser h3.title {
        overflow: auto;
        white-space: nowrap;
    }
}
.bodegas.teaser .button {
    margin: 20px 0;
    width: 250px;
    font-size: 16px;
    font-weight: 400;
}
.view-id-tienda.view-display-id-bodegas .title,
.view-id-bodegas.view-display-id-embed_1 .title {
    width: 100%;
}
.bodegas.full .bodegas-header h3.title {
    font-size: 5.5em;
    width: 100%;
}
.bodegas.full .summary {
    font-size: 1.2em;
    line-height: 1.8em;
    margin-right: 60px;
    margin-left: 0;
    text-align: justify;
}
.bodegas.full .field--type-image img {
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}
.block-bodegas-custom-block {
    background-image: url(/themes/custom/professionalwines/images/Barril.png);
    background-repeat: no-repeat;
    background-position: 120% 100%;
}
.bodegas.custom {
    margin-top: 40px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: flex-end;
}
.bodegas.custom h3 {
    margin: 0px;
}

@media (min-width: 992px) {
    .bodegas.custom .col-md-6 {
        width: auto;
    }
}

#bodegas_principal {
    padding-left: 100px;
}

@media (min-width: 1200px) {
    .bodegas.custom .row {
        display: flex;
        flex-direction: row;
        align-items: flex-end;
    }
}

@media (max-width: 766px) {
    .bodegas.full .summary {
        margin-left: 10px;
    }
}

/* blog */
.view-blog img {
    border-radius: 5px;
    filter: brightness(0.8);
    width: 100%;
}

.view-blog article {
    position: relative;
}

.view-blog .article-info {
    position: absolute;
    bottom: 0;
    margin: 20px 40px;
}
.view-blog .article-info > div {
    display: block;
}

.view-blog .article-info .subtitle {
    color: #fff;
    margin: 0;
    font-size: 10px;
}
@media (max-width: 766px) {
    .view-blog .article-info .subtitle {
        letter-spacing: 1px;
    }
}
.view-blog .article-info .title {
    color: #fff;
    font-size: 34px;
    line-height: 42px;
    margin-bottom: 10px;
}
@media (max-width: 766px) {
    .view-blog .article-info .title {
        font-size: 28px;
        line-height: 32px;
    }
}
.view-blog .article-info {
    color: #fff;
}
.view-blog .overlay {
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, #0008, transparent);
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 5px;
    z-index: auto;
}

/* CESTA TOOLTIP */
/* Tooltip container */
.header-tooltip {
    position: relative;
    display: inline-block;
}

/* Tooltip text */
.header-tooltip .tooltiptext {
    visibility: hidden;
    width: 120px;
    background-color: black;
    color: #fff;
    text-align: center;
    padding: 5px 0;
    border-radius: 6px;

    /* Position the tooltip text - see examples below! */
    position: absolute;
    z-index: 1;
}

/* Show the tooltip text when you mouse over the tooltip container */
.header-tooltip:hover .tooltiptext {
    visibility: visible;
}

.header-tooltip .tooltiptext {
    width: 120px;
    top: 100%;
    left: 50%;
    margin-left: -60px; /* Use half of the width (120/2 = 60), to center the tooltip */
}

/* MODAL */
.ui-dialog {
    background: #fff;
    border-radius: 5px;
    border: none;
}

.ui-dialog .ui-dialog-titlebar {
    border: none;
    background: transparent;
}

.ui-dialog .ui-dialog-titlebar span {
    visibility: hidden;
}

.ui-dialog .ui-front {
    padding: 10px 70px 0;
}

.ui-dialog label {
    font-family: 'montserrat';
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #161615;
    font-weight: 400;
    margin-top: 10px;
}

.ui-dialog .form-text {
    background: transparent;
    border: none;
    border-bottom: #b7b7b5 solid 2px;
    border-radius: 0;
    font-family: 'montserrat';
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 0;
}

.ui-dialog .ui-dialog-buttonpane {
    background: transparent !important;
    border: none;
}

.ui-dialog .ui-dialog-buttonpane button {
    width: auto;
    padding: 0 25px;
    font-family: 'montserrat' !important;
}

.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset {
    float: left;
}

.ui-dialog .ui-dialog-buttonpane {
    margin-bottom: 20px;
    margin-left: 55px
}

.ui-widget-overlay {
    backdrop-filter: blur(10px);
    opacity: 1;
    background-color: #16161544;
    transition: all 0.5s ease-in-out;
}

/* OFFCANVAS */

.btn-link:focus, .btn-link:hover {
    color: #161615;
}

.well {
    background-color: #fff
}


#cart-offcanvas {
    background-color: transparent;
    overflow-y: auto;
}

#cart-offcanvas h3.title {
    font-size: 5rem;
    font-weight: 100;
    margin: 10px;
    width: auto;
}

.cart-offcanvas--right {
    width: 30%;
}
@media (max-width: 767px) {
    .cart-offcanvas--right {
        width: auto;
    }
}

.cart--cart-offcanvas__close button.link {
    font-size: 24px;
}

.cart-offcanvas-bg.is-animating,
.cart-offcanvas-bg.is-open {
    backdrop-filter: blur(10px);
    background-color: #16161544;
}

.cart-block--offcanvas-cart-table__image img {
    max-width: none;
}

.cart-block--offcanvas-cart-table__title {
    font-family: 'Cormorant Infant';
    font-size: 23px;
    line-height: 23px;
    font-weight: 500;
    color: #161615;
    height: 48px;
    overflow: hidden;
}

.cart-block--offcanvas-cart-table__remove button {
    color: #b63b2e;
    font-size: 18px;
    margin: 3px 0;
}

.cart-block--offcanvas-cart-table__quantity input {
    border: solid 1px #161615;
    color: #161615;
    font-weight: 500;
    font-size: 20px;
}

.cart-block--offcanvas-cart-table__price {
    font-family: 'montserrat';
    color: #5f605b;
    font-size: 26px;
    font-weight: 500;
}

#cart-offcanvas .price_tax {
    font-weight: 300;
    font-size: 12px;
    margin: 0 5px;
}

.cart-block--offcanvas-contents__update {
    color: #b63b2e;
    font-size: 18px;
}

.cart-block--offcanvas-contents__links a,
#cart-offcanvas button.button {
    width: 150px;
    display: block;
    text-align: center;
    background-color: #b63b2e;
    color: #fff;
    text-transform: uppercase;
    padding-top: 5px;
    padding-bottom: 5px;
    border-radius: 5px;
    font-weight: 500;
}
#cart-offcanvas button.button {
    background-color: #161615;
}

.subtotal .subtotal-qty {
    font-family: 'montserrat';
    font-weight: 500;
    font-size: 25px;
}

/* WEBFORM */
.webform-submission-form input.form-text,
.webform-submission-form input.form-email,
.webform-submission-form input.form-tel {
    margin-top: 20px;
    padding: 0;
    min-height: auto;
    height: 40px;
    width: 100%;
    border: none;
    border-radius: 0;
    border-bottom: 2px solid #b7b7b7;
    background-color: #f0f0f0;
    font-family: 'montserrat';
    font-size: 14px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 3px;
    line-height: 14px;
}

.webform-submission-form textarea {
    border: none;
    border-radius: 0;
    border-bottom: 2px solid #b7b7b7;
    margin-bottom: 10px;
    background-color: #f0f0f0;
    resize: none;
}

.webform-submission-form .form-type-textarea label {
    margin-top: 25px;
    font-family: 'montserrat';
    font-size: 14px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #888;
}

.webform-submission-form #edit-actions-submit {
    background-color: #b63b2e;
    width: 220px;
    margin-left: auto;
    margin-right: auto;
    padding: 12px 20px;
}
.webform-submission-form #edit-actions-submit:hover {
    background-color: #161615;
}

@media (min-width: 1200px) {
    #block-webform {
        background-image: url("/themes/custom/professionalwines/images/Racimo vid.png");
        background-repeat: no-repeat;
        background-position: -40% 90%;
        background-size: auto;
    }

    /* sustotuir col-md-offset-* por regla 
     * correspondiente para los formularios
     */
    .webform-submission-contact-form {
        margin-left: 8.33333333%;
    }
    #block-webform form {
        margin-left: 41.66666667%;
    }

    #page-webform-contact {
        background-image: url("/themes/custom/professionalwines/images/Racimo vid.png");
        background-repeat: no-repeat;
        background-position: 100% 40%;
        background-size: auto;
    }
}


/** FACETS **/
#facets .region-facets {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: space-between;
    justify-content: space-between;
    align-items: flex-start;
}

#facets .block {
    width: 100%;
    margin: 0 15px;
    border-bottom: solid 1px #b7b7b7;
    padding-bottom: 5px;
    overflow: hidden;
    position: relative;
}

#facets a h2,
#facets button h2{
    font-family: 'montserrat';
    font-size: 15px;
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 2px;
    color: #5f605b;
}

.facets-widget-links {
    max-height: 250px;
    overflow-y: auto;
}

#facets .facets-widget-links ul {
    padding: 0;
    white-space: nowrap;
}

#facets .facet-item {
    list-style: none;
}

#facets .facet-item a {
    color: #5f605b;
    font-family: 'Cormorant Infant';
    font-weight: 700;
    font-size: 16px;
}

#facets .facet-item a.is-active {
    font-weight: 900;
}

#facets-right {
    border-bottom: solid 1px #b7b7b7;
    padding-bottom: 5px;
    overflow: hidden;
}
@media (max-width: 1199px) {
    #facets .region-facets {
        flex-direction: column;
        margin: 0px 0px 0px -20px;
    }
}

div .collapsiblock {
    background: none;
}
#facets-left .collapsiblock.collapsiblockCollapsed ::after,
#facets-left .collapsiblockTitle.collapsiblockTitleCollapsed button::after,
#facets-right .collapsiblock.collapsiblockCollapsed a::after
{
    content: '';
    border: solid #b63b2e;
    border-width: 0 3px 3px 0;
    display: inline-block;
    padding: 3px;
    transform: rotate(135deg) !important;
    -webkit-transform: rotate(135deg) !important;
    position: absolute;
    top: 24px;
    right: 3px;
}
#facets-left .collapsiblock ::after,
#facets-left .collapsiblockTitle button::after,
#facets-right .collapsiblock a::after	{
    content: '';
    border: solid #b63b2e;
    border-width: 0 3px 3px 0;
    display: inline-block;
    padding: 3px;
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    position: absolute;
    top: 24px;
    right: 3px;
}


div .collapsiblockTitleCollapsed button{
	background:none !important;
}

.collapsiblockTitle button{
	background:none !important;
}

.filter__summary {
    display: block;
    margin: 0 auto;
    padding: 0 15px;
    font-family: 'Cormorant Infant';
    font-size: 18px;
    color: #5f605b;
    text-align: right;
}
@media (min-width: 768px) {
    .filter__summary {
        width: 750px;
    }
}
@media (min-width: 992px) {
    .filter__summary {
        width: 970px;
    }
}
@media (min-width: 1200px) {
    .filter__summary {
        width: 1170px;
    }
}
@media (min-width: 1600px) {
    .filter__summary {
        width: 1600px;
    }
}

/** ICONOS PUNT VINOS **/
.product-parker div {
    left: -35%;
    bottom: -28px;
    position: absolute;
    transition: opacity 0.2s ease-in-out;
}

.product-parker {
    position: relative;
}

.product-icons {
    margin-bottom: 20px;
}

.product-points__parker,
.product-points__penin {
    background-color: #b63b2e;
    color: white;
    height: 35px;
    width: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-family: 'Cormorant Infant';
    font-weight: 600;
    font-size: 20px;
    margin-bottom: 20px;
}

.product-points__parker::after {
    content: "Parker";
    color: #b63b2e;
    height: 20px;
    margin-top: 64px;
    font-size: 18px;
    position: absolute;
    text-align: center;
}

#product-main .product-icons {
    margin-top: 20px;
}

.product-points__penin::after {
    content: "Peñín";
    color: #b63b2e;
    height: 20px;
    margin-top: 60px;
    font-size: 18px;
    position: absolute;
    text-align: center;
}

.volver {
    font-family: 'montserrat';
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 11px;
    font-weight: 600;
    display: inline-block;
    margin: 20px 25px;
}

/** TABLAS **/
table {
    border: none;
}

thead {
    background-color: white;
    color: #5f605b;
    box-shadow: 3px 3px 8px #cacbc8;
}

thead th {
    border: none;
}

table .button {
    width: auto;
    margin: 0;
    padding: 5px 20px;
    line-height: normal;
}

/*** SUMMARY ***/
.view-commerce-cart-form td.views-field-purchased-entity {
    font-family: 'Cormorant Infant';
}
.product-revision {
    margin-top: 10px;
    margin-bottom: 10px;
}

.product-revision > div {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
}

.product-revision-title {
    font-size: 17px;
    font-weight: 600;
}
.product-revision-title a {
    color: #161615;
}

.product-revision-info,
.product-revision-attribute {
    font-size: 16px;
}

.product-revision-info div,
.product-revision-attribute div {
    display: inline;
}

.product-revision-data {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.product-revision-data div {
    margin: 4px 0;
}

.product-revision img {
    border-radius: 5px;
}

.view-id-commerce_cart_form tbody tr {
    border-bottom: solid 1px #b7b7b7;
}

.view-id-commerce_cart_form td {
    vertical-align: middle;
}

.view-id-commerce_cart_form td.views-field-purchased-entity {
    width: 50%;
}
.view-id-commerce_cart_form .product-revision-price-name,
.view-id-commerce_cart_form td.views-field-total-price__number {
    font-family: 'montserrat';
    font-size: 16px;
    font-weight: 600;
    color: #5f605b;
}
.view-id-commerce_cart_form td.views-field-nothing {
    font-size: 12px;
}
.view-id-commerce_cart_form td.views-field-edit-quantity input {
    padding: 8px 12px;
    background-color: transparent;
    border: solid 1px #161615;
    border-radius: 4px;
    font-size: 18px;
    font-weight: 500;
    width: 85px;
}
.view-id-commerce_cart_form td.views-field-remove-button {
    width: 10%;
}

.view-id-commerce_cart_form .delete-order-item {
    width: 150px;
}

.view-id-commerce_cart_form input[type="submit"] {
    background: transparent;
    color: #b63b2e;
    font-weight: 500;
    display: inline-block;
    width: 200px;
}

.field--name-total-price {
    float: right;
}
.order-total-line .order-total-line-label {
    font-weight: 300;
    font-size: 14px;
    color: #5f605b;
}
.order-total-line .order-total-line-value {
    font-weight: 500;
    font-size: 16px;
}
.order-total-line__total .order-total-line-label {
    font-weight: 600;
}
.order-total-line__total .order-total-line-value {
    font-size: 24px;
}
.order-total-line-value {
    display: inline;
    margin-left: 10px;
}
.order-total-line__total {
    padding-top: 10px;
    margin-bottom: 80px;
}

.view-commerce-cart-form .form-actions input {
    background-color: #b63b2e;
    color: white;
    border-radius: 5px;
}

@media (max-width: 575px) {
    .view-commerce-cart-form .views-field-nothing,
    .view-commerce-cart-form .views-field-remove-button {
        display: none;
    }
}

/*** CHECKOUT ***/

input.form-text, input.form-email, input.form-search, textarea.form-textarea, select {
    color: #161615;
    font-weight: 400;
}

@media screen and (min-width: 780px),
(orientation: landscape) and (min-device-height: 780px) {
    .commerce-checkout-flow .layout-region-checkout-main {
        width: 55%;
        padding-right: 100px;
    }

    .commerce-checkout-flow .layout-region-checkout-secondary {
        width: 45%;
        padding-right: 100px;
    }

    .commerce-checkout-flow .layout-region-checkout-footer {
        width: 100%;
    }
}

.fieldset-legend,
.layout-checkout-form h3 {
    font-family: 'Cormorant Infant';
    font-size: 48px;
}

.layout-checkout-form h3 {
    font-weight: 300;
    margin: 0;
    padding: 10px 0 0;
}

.layout-checkout-form fieldset {
    margin: 0;
    padding: 0;
    border: none;
}
.layout-checkout-form fieldset legend {
    margin-bottom: 20px;
    padding-top: 25px;
}
.layout-checkout-form .js-form-type-select label {
    font-family: 'montserrat';
    color: #b63b2e;
}

.layout-checkout-form .field__label {
    color: #444;
    font-family: 'montserrat';
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.form-composite > legend {
    margin: 0 !important;
}

.form-composite > legend > span {
    font-family: 'montserrat';
    font-size: 14px;
    color: #b63b2e;
}

.layout-checkout-form select,
.layout-checkout-form input[type="text"],
.layout-checkout-form input[type="password"],
.layout-checkout-form input[type="email"] {
    background: transparent;
    border: none;
    border-bottom: #b7b7b5 solid 2px;
    border-radius: 0;
    font-family: 'montserrat';
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 0;
}

.layout-checkout-form select {
    padding: 7px 0;
    margin-bottom: 20px;
}

.layout-checkout-form input[type="text"],
.layout-checkout-form input[type="password"],
.layout-checkout-form input[type="email"] {
    min-height: auto;
    padding: 7px 2px;
    margin-bottom: 20px;
}

.layout-checkout-form .js-form-submit {
    background: #b63b2e;
    color: white;
    font-weight: 500;
    display: inline-block;
    width: auto;
}

.form-textarea {
    border: none;
    border-radius: 0;
    border-bottom: 2px solid #b7b7b7;
    margin-bottom: 10px;
    background-color: #f0f0f0;
    resize: none;
}

.form-item label {
    font-family: 'montserrat';
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-type-radio label.option,
.form-type-checkbox label.option {
    font-weight: normal;
    font-family: 'montserrat';
    text-transform: none;
}

.view-commerce-checkout-order-summary tr td {
    font-family: 'montserrat';
    font-weight: 500;
    padding: 5px 0;
}

.view-commerce-checkout-order-summary .views-field-total-price__number {
    text-align: right;
}

.view-commerce-checkout-order-summary .views-field-purchased-entity a {
    font-family: 'Cormorant Infant';
    color: #444;
    font-size: 19px;
}

.view-commerce-checkout-order-summary .views-view-table {
    border-bottom: solid 2px #b7b7b5;
    margin-top: 30px;
    margin-bottom: 20px;
}
.view-commerce-checkout-order-summary .views-view-table tr:last-of-type td {
    padding-bottom: 20px;
}

.view-commerce-checkout-order-summary .order-total-line {
    padding-right: 0;
}

.layout-region-checkout-footer .link--previous,
.layout-checkout-form .form-actions a
{
    display: inline-block;
    padding: 15px 24px;
    width: auto;
    background-color: #5f605b;
    border-radius: 3px;
    color: white;
    text-transform: uppercase;
    font-weight: 500;
    font-size: 16px;
}

.layout-checkout-form .fieldset-legend > a {
    font-family: 'montserrat';
    text-transform: uppercase;
    font-size: 20px;
    font-weight: 500;
    color: #b63b2e;
}

/**RADIO BUTTON***/
.form-type-radio {
    position: relative;
    margin: 10px 0 0;
}

.form-type-radio input[type='radio'] {
    display: none;
}

.form-type-radio label {
    font-weight: normal;
}

.form-type-radio label:before {
    content: " ";
    display: inline-block;
    position: relative;
    top: 5px;
    margin: 0 5px 0 0;
    width: 20px;
    height: 20px;
    border-radius: 11px;
    border: 2px solid #b63b2e;
    background-color: transparent;
}

.form-type-radio input[type=radio]:checked + label:after {
    border-radius: 11px;
    width: 12px;
    height: 12px;
    position: absolute;
    top: 9px;
    left: 4px;
    content: " ";
    display: block;
    background: #b63b2e;
}

/*** CHECKOUT LOGIN PANE ***/
#commerce-checkout-pane-login fieldset {
    width: 100%;
    background-color: #fff;
    padding: 70px;
    border-radius: 10px;
    box-shadow: 4px 6px 12px #ddd;
    position: relative;
}

#commerce-checkout-pane-login fieldset legend span {
    display: block;
    position: absolute;
    top: 50px;
}

#edit-login-returning-customer-forgot-password {
    padding: 20px;
    font-family: 'montserrat';
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
    color: #b63b2e;
}

@media (min-width: 780px) {
    #edit-login {
        overflow: hidden;
    }
}

/*** MOBILE NAV ***/
@media (max-width: 991px) {
    #mobile-nav nav {
        position: fixed;
        bottom: 0px;
        left: 0;
        width: 100%;
        background-color: #fff;
        z-index: 5;
        overflow: hidden;
        transition: height 0.5s;
        height: 0;
        margin: 0;
        padding: 0;
    }

    #mobile-nav button {
        position: fixed;
        bottom: 20px;
        right: 20px;
        display: block;
        width: 40px;
        height: 40px;
        background-color: #fff;
        border: none;
        border-radius: 50%;
        box-shadow: 5px 5px 4px #9996;
        z-index: 5;
    }

    #mobile-nav nav.open {
        height: auto;
    }

    #nav-overlay {
        position: fixed;
        display: none;
        top: 0;
        width: 100%;
        left: 0;
        height: 100%;
        background-color: #0008;
        z-index: 2;
    }

    .menu-item.menu-item--expanded li {
        display: none;
    }

    nav div > ul.menu {
        margin-top: 80px;
        margin-bottom: 60px;
    }

    ul.menu li {
        border: none;
        list-style: none;
        padding: 10px 50px;
    }

    ul.menu li a,
    ul.menu li a.is-active {
        font-family: 'montserrat';
        text-transform: uppercase;
        font-size: 18px;
        font-weight: 500;
        color: #5f605b;
    }
}

/*** RESEÑAS ***/
.view-id-resenas.view-display-id-embed_1 article {
    background-color: #fff;
    padding: 40px;
    border-radius: 5px;
    margin-right: 10px;
    margin-bottom: 10px;
    box-shadow: 3px 4px 10px #ccc;
}

.view-id-resenas.view-display-id-embed_1 .resena-nombre {
    font-family: 'Cormorant Infant';
    color: #b63b2e;
    font-size: 24px;
    font-weight: 500;
    float: left;
    width: 75%;
}

.view-id-resenas.view-display-id-embed_1 .resena-fecha {
    font-family: 'montserrat';
    float: right;
    display: inline-block;
    width: 25%;
    font-weight: 500;
    text-align: right;
}

.view-id-resenas.view-display-id-embed_1 .resena-comentario {
    display: block;
    font-family: 'montserrat';
    font-size: 15px;
    line-height: 25px;
    margin-top: 35px;
    margin-bottom: 15px;
}

#views-bootstrap-resenas-embed-1 .row > div:last-of-type,
#views-bootstrap-resenas-embed-1 .row > div:first-of-type {
    margin-top: 30px;
}

#views-bootstrap-resenas-embed-1 {
    margin-bottom: 50px;
}

.resena-resumen > div {
    display: inline-block;
    margin-bottom: 10px;
}

.resena-resumen-conteo {
    display: inline-block;
    margin-left: 10px;
    font-weight: 500;
    text-transform: capitalize;
    font-size: 13px;
}

.resena-resumen-conteo svg {
    margin: 0 10px;
    font-size: 16px;
    vertical-align: middle;
}

.resena-resumen-conteo a {
    color: #5f605b;
}

.view-id-resenas.view-display-id-embed_1 .view-footer a {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.form-radios .form-item-valoracion {
    display: inline-block;
}

.resenaproducto-form .form-submit {
    background-color: #b63b2e;
    font-family: 'montserrat';
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/*** Estrellas ***/
.star-y, .star-o {
    margin: 2px;
}

.star-y {
    color: #ffd627;
}
.star-o {
    color: #5f605b;
}

/*** MEGA MENU ***/
.menu-texto {
    font-family: 'montserrat';
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    margin-right: 15px;
    margin-top: 0;
    color: #5f605b;
}


.overlay {
    cursor: pointer;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 499;
    background-color: rgba(0,0,0,0.2);
    width: 100%;
    height: 100%;
}

.region-we-mega-menu {
    background-color: transparent;
    padding: 0px 15px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    align-items: center;
    -webkit-justify-content: flex-start;
    justify-content: flex-start;
}

.region-we-mega-menu a:hover {
    text-decoration: none;
}

.navbar-toggle {
    position: relative;
    float: right;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: baseline;
    align-content: space-between;
    padding: 9px 10px;
    /*margin: 8px 15px 8px 0;*/
    margin: 0px;
    background: none;
    box-shadow: none;
    border: 1px solid transparent;
    border-radius: 4px;
    z-index: 2000;
    cursor: pointer;

}

.navbar-we-mega-menu.navbar {
    background: #fff;
    bottom: 0;
    display: none;
    height: 100%;
    position: fixed;
    right: -500px;
    width: 500px;
    top: 0;
    z-index: 1000;
    transition: all 0.5s ease-in-out;
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    -moz-border-radius: 0;
    -webkit-border-radius: 0;
    border-radius: 0;
    border: 0 none;
}

.navbar-we-mega-menu.navbar.we-mobile-megamenu-active {
    left: 0;
    display: block;
    -moz-animation-fill-mode: both;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    -moz-animation-duration: 0.5s;
    -webkit-animation-duration: 0.5s;
    animation-duration: 0.5s;
    -moz-animation-timing-function: ease-in-out;
    -webkit-animation-timing-function: ease-in-out;
    animation-timing-function: ease-in-out;
    -moz-animation-name: slideInLeft;
    -webkit-animation-name: slideInLeft;
    animation-name: slideInLeft;
    padding: 10% 5%;
}

.navbar-we-mega-menu.navbar .container, .navbar-we-mega-menu.navbar .container-fluid {
    padding: 0;
    position: static;
    width: auto;
}

.navbar-we-mega-menu.navbar ul {
    padding: 0;
    margin: 0;
    border: 0 none;
}

.navbar-we-mega-menu.navbar ul>li {
    display: block;
    float: none;
    list-style: none;
    border: none;
}

.navbar-we-mega-menu.navbar .dropdown-menu {
    position: static;
    min-width: inherit;
    padding: 0;
    margin: 0;
    padding-left: 20px;
    background-color: transparent;
    border: 0 none;
    -moz-box-shadow: inherit;
    -webkit-box-shadow: inherit;
    box-shadow: inherit;
    -moz-border-radius: 0;
    -webkit-border-radius: 0;
    border-radius: 0;
}

.navbar-we-mega-menu.navbar .dropdown-menu {
    position: static;
    min-width: inherit;
    padding: 0;
    margin: 0;
    background-color: transparent;
    border: 0 none;
    -moz-box-shadow: inherit;
    -webkit-box-shadow: inherit;
    box-shadow: inherit;
    -moz-border-radius: 0;
    -webkit-border-radius: 0;
    border-radius: 0;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    float: left;
    font-size: 14px;
    text-align: left;
    list-style: none;
    background-color: #fff;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    border-radius: 4px;
    -webkit-box-shadow: 0 6px 12px rgb(0 0 0 / 18%);
    box-shadow: 0 6px 12px rgb(0 0 0 / 18%);
}

.navbar-we-mega-menu.navbar ul a,
.navbar-we-mega-menu.navbar ul .we-megamenu-nolink {
    display: inline-block;
    padding-top: 10px;
    padding-bottom: 10px;
    text-decoration: none;
    color: #5f605b;
    font-family: 'montserrat';
    font-size: 14px;
    border: none;
}

.navbar-we-mega-menu.navbar .nav-tabs>li>a,
.navbar-we-mega-menu.navbar .nav-tabs>li>.we-megamenu-nolink {
    -moz-border-radius: 0;
    -webkit-border-radius: 0;
    border-radius: 0;
    margin-right: 0;
    border: 0 none;
    position: relative;
    width: auto;
}

.navbar-we-mega-menu.navbar .we-mega-menu-ul>li>a,
.navbar-we-mega-menu.navbar .we-mega-menu-ul>li>.we-megamenu-nolink {
    padding-left: 15px;
    padding-right: 15px;
    background-color: #fff;
    text-shadow: none;
}

.navbar-we-mega-menu.navbar .nav-tabs>li.active>a,
.navbar-we-mega-menu.navbar .nav-tabs>li.active>a:focus {
    border: 0 none;
    cursor: pointer;
    background-color: transparent;
    text-shadow: none;
}

.navbar-toggle .menu-texto {
    color: #161615;
}
.navbar-toggle:hover .menu-texto {
    color: #b63b2e;
    text-decoration: none;
}

.we-mega-menu-ul {
    display: inline-block;
}

li.we-mega-menu-li.dropdown-menu::after {
    content: '';
    border: solid #b63b2e;
    border-width: 0 3px 3px 0;
    display: inline-block;
    padding: 3px;
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
}

.we-mega-menu-submenu{
    width: 250px;
    top: auto;
    left: 320px;
    z-index: 1100;
    margin-top: -40px !important;
}

.we-mega-menu-submenu .we-mega-menu-submenu {
    width: 250px;
    top: auto;
    left: 240px;
    z-index: 1100;
    margin-top: -40px;
}

.we-mega-menu-submenu>.we-mega-menu-submenu-inner{
    min-height: auto;
}

.we-mega-menu-submenu li.we-mega-menu-li span {
    border: none;
    padding: 0;
}


.we-mega-menu-li.dropdown-menu a {
    margin-left: -5px;
}
.we-mega-menu-li a {
    margin-left: 10px;
}
.we-mega-menu-li.dropdown-menu .we-mega-menu-li.dropdown-menu a {
    margin-left: 10px;
}

.we-mega-menu-li.dropdown-menu .we-mega-menu-li a {
    margin-left: 10px;
}

/* .hamburger-icon styles */
.navbar-toggle .icon-bar+.icon-bar {
    margin:0;
}
.navbar-toggle.open {
    top: 0;
    right: 0;
}

.menu-barras {
    position: relative;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: .5s ease-in-out;
    -moz-transition: .5s ease-in-out;
    -o-transition: .5s ease-in-out;
    transition: .5s ease-in-out;
    cursor: pointer;
    width: 30px;
}

.menu-barras span {
    display: block;
    position: absolute;
    height: 9px;
    width: 100%;
    background: #d3531a;
    border-radius: 9px;
    opacity: 1;
    left: 0;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: .25s ease-in-out;
    -moz-transition: .25s ease-in-out;
    -o-transition: .25s ease-in-out;
    transition: .25s ease-in-out;
}

.menu-barras .icon-bar {
    background-color: #161615;
}
.menu-barras.open .icon-bar {
    background-color: #b63b2e;
}

.menu-barras span:nth-child(1) {
    top: -16px;
}

.menu-barras span:nth-child(2) {
    top: -8px;
}

.menu-barras span:nth-child(3) {
    top: 0px;
}

.menu-barras.open span:nth-child(1) {
    top: -8px;
    -webkit-transform: rotate(135deg);
    -moz-transform: rotate(135deg);
    -o-transform: rotate(135deg);
    transform: rotate(135deg);
}

.menu-barras.open span:nth-child(2) {
    opacity: 0;
    left: -60px;
}

.menu-barras.open span:nth-child(3) {
    top: -8px;
    -webkit-transform: rotate(-135deg);
    -moz-transform: rotate(-135deg);
    -o-transform: rotate(-135deg);
    transform: rotate(-135deg);
}


/*** BREADCRUMBS ***/
.block-system-breadcrumb-block {
    padding: 0;
}

.breadcrumb {
    border: none;
    background-color: transparent;
    color: #5f605b;
    background: url(http://professionalwines.com/themes/custom/professionalwines/images/home.svg) left center no-repeat;
    background-size: 15px;
    margin: 0;
    margin-left: 35px;
    padding: 0 25px 0 !important;
}

.breadcrumb a {
    font-family: 'montserrat';
    font-size: 12px;
    font-weight: 300;
    text-transform: uppercase;
    color: #5f605b;
    letter-spacing: 2px;
}

.breadcrumb ol li:last-of-type,
.breadcrumb ol li:last-of-type a {
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 1px;
}

.breadcrumb li:before {
    content: " \7C ";
}

/* Formularios */
div#edit-field-fecha-value {
    display: inline-flex;
}
form .form-actions input[type="submit"] {
    float: right;
}
form .form-item {
    margin-bottom: 10px;
}

/* conteo elementos de la tienda */
.block-conteo-busqueda-custom-block {
    padding: 0;
}

.block-conteo-busqueda-custom-block .conteo_tienda {
    font-family: "Cormorant Infant";
    font-size: 20px;
    float: right;
}

.block-conteo-busqueda-custom-block .conteo_tienda p {
    margin: 0;
}

/* textos justificados */
.node--view-mode-full p,
.bodegas p {
    text-align: justify;
}

/* ocultar formas de pago */
#edit-payment-information-payment-method .option[for$="bizum"],
#edit-payment-information-payment-method .option[for$="credito"],
#edit-payment-information-payment-method .option[for$="tienda"] {
    display: none;
}

/* stock */
.product-stock span {
    text-align: center;
    border-radius: 3px;
    font-weight: 500;
    padding: 5px;
    width: 100%;
    display: block;
    visibility: hidden;
}

.product-stock .ultimas,
.product-stock .agotado {
    color: #b63b2e;
    visibility: visible;
}

#product-main .product-stock {
    max-width: 250px;
}

/* filtros vista */
#views-exposed-form-tienda-page-1 .form--inline
{
    display: flex;
    flex-direction: row;
    align-items: flex-end;
}

#views-exposed-form-tienda-page-1 .form--inline .form-actions input {
    background-color: #b63b2e;
    color: #fff;
    border: none;
    width: 100px;
    height: 40px;
    border-radius: 3px;
    padding: 0;
    font-size: 14px;
}

#views-exposed-form-tienda-page-1 .form--inline .form-item select {
    border: solid 1px #5f605b;
    border-radius: 3px;
    padding: 5px 8px;
    height: 32px;
    background-color: #fff;
    display: flex;
    flex-direction: row;
    margin-right: 50px;
}

.block-views-exposed-filter-blocktienda-page-1 {
    float: right;
    font-size: 0.8em;
    padding: 0;
}

/* centrar productos en la tienda */
.view-tienda .view-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}


/* MENU IZQUIERDO */

#block-professionalwines-menuprofessionalwines{
    display: inline-block;
    padding: 0px;
}

#block-cabecerausuarioanonimo{
    display: inline-block;
    padding: 0px;
    margin-top: 5px;
}

#block-cabecerausuarioautenticado{
    display: inline-block;
    padding: 0px;
    margin-top: 5px;
}

#block-professionalwines-bloquedebusqueda{
    display: inline-block !important;
    padding: 0px;
    margin-top: 5px;
}

#block-professionalwines-cartflyout{
    display: inline-block;
    padding: 0px;
    margin-top: 5px;

}

#header_left .region.region-header-left{
    display: flex;
}


/* MENORES */
#bottom-content{
    background-color: #b63b2e;
    height: 20px;
    text-align: center;
    font-size: 17px;
    padding: 15px 0 35px 0;    
}


/* Cookies */
.cookiesjsr-banner.active{
    background-color : #161615 !important;
    color: #f0f0f0;
    font-family: 'montserrat', sans-serif;
    font-size: 13px;
    text-transform: uppercase;
    text-align: left;
    font-weight: 400;		
}
button.cookiesjsr-btn.cookiesjsr-settings{
    background-color : #b63b2e !important;		
    color: #f0f0f0;
    font-family: 'montserrat', sans-serif;
    font-size: 16px;
    text-transform: uppercase;
    text-align: center;
    font-weight: 400;		
}

button.cookiesjsr-btn.important.denyAll,
button.cookiesjsr-btn.important.allowAll{
    background-color: #f0f0f0;
    border-color: #ae392d;		
    color: #161615;
    font-family: 'montserrat', sans-serif;
    font-size: 16px;
    text-transform: uppercase;
    text-align: center;
    font-weight: 400;	
}
	
#age-overlay .buttons-wrapper input {
	border: solid 2px #b63b2e;		
}

#age-overlay .buttons-wrapper input:hover{
	background-color: #161615 !important;		
	border: solid 2px #161615;			
}

#age-overlay .overlay-content .footer-overlay {
	font-size: 13px;
	font-weight: normal;
}


