h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
}

a:hover {
  text-decoration: none;
}

ul li {
  list-style-type: none;
}

input:focus {
  outline: none;
}

::selection {
  background-color: #a2bd30;
  color: #003b67;
}

.item-list ul li {
  border: none;
}

#info-contacto ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

#info-contacto li {
  float: left;
  display: block;
}

#header-top img {
  width: 22px;
  display: inline-block;
  margin: 0 10px;
}

#header-top {
  font-weight: 500;
  font-size: 14px;
  padding: 3px;
}

#header-top a {
  text-decoration: none;
}

#header-top a:hover {
  color: #003b65;
}
#header {
  padding: 30px 0 0px;
}

#logo img {
  width: 325px;
  margin-top: 10px;
}

article h1 {
  font-size: 27px;
}

/* buscador múltiple */
.form-radios {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
}
.block-busqueda {
  float: right;
  margin: 10px; 
  width: 500px;
}
.block-busqueda > div {
  float: left;
  margin: 0;
}
@media (max-width: 575px) {
  .block-busqueda > div {
    margin: -10px;
  }
}
@media (min-width: 768px) {
  .bsq-input {
    width: 84%;
  }
}
.bsq-input .txtBusqueda {
  margin: 0;
  padding: 0 20px;
  font-size: 18px;
  border-radius: 0;
}
#btnBusqueda {
  color: transparent;
  background: url(/themes/custom/proyma/images/boton_lupa.jpg);
  max-width: 60px;
  height: 50px;
  background-size: contain;
  border-radius: 0;
  display: inline;
}
#content .busquedamultipleform {
  margin: 10px;
  display: inline-block;
  border: solid 3px #dbdbdb;
  padding: 20px 40px;
}
@media (max-width: 767px) {
  #content .busquedamultipleform  {
    margin: 0;
    margin-bottom: 20px;
    padding: 0;
    width: 100%;
  }
}

a.ui-menu-item-wrapper.ui-state-active a {
  color: black;
  margin-left: 10px;
  padding: 10px 5px;
}

.ajax-progress.ajax-progress-throbber {
  display: none;
}

@media screen and (max-width: 768px) {
  .form-radios {
    flex-direction: column;
    align-items: flex-start;
  }
  .block-busqueda {
    width: auto;
  }
  .ui-autocomplete {
    width: auto !important;
  }
  #main-content .form-radios {
    margin: 15px;
  }
  #main-content #aviso-movil p {
    margin: 10px;
  }
}

#aviso-movil p {
  border: solid 2px;
  border-radius: 5px;
  margin: 25px 0 0;
}

/* bloque cesta precio */

#main-navigation,
#block-bloquecestaprecio {
  text-transform: uppercase;
  font-weight: 600;
}

#main-navigation ul, 
#block-bloquecestaprecio {
  margin-top: 4px;
}

#main-navigation ul.menu li span,
#main-navigation ul.menu li a,
#block-bloquecestaprecio .cart-block--summary {
  padding: 5px 0;
  font-size: 20px;
}
#main-navigation ul.menu li span,
#main-navigation ul.menu li a {
  margin-right: 40px;
}
#main-navigation ul.menu li a.is-active {
  font-weight: 600;
}
#main-navigation a:hover {
  text-decoration: none;
}

.social-media {
  text-align: right;
}
.volver {
  border-radius: 10px;
  height: 25px;
  width: 144px;
  padding: 1px 10px;
  display: block;
  text-transform: none;
}
.region-cart {
  font-size: 20px;
  margin-top: 10px;
  margin-bottom: 10px;
  padding-left: 40px;
  background-image: url(/themes/custom/proyma/images/carrito.png);
  background-repeat: no-repeat;
  background-size: contain;
}

.region-slider #user-login-form {
  width: 560px;
  height: 300px;
}

.banner-item {
  text-align: center;
}

.banner-imagen {
  height: 180px;
}

.center {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 200px;
}

.block.block-revslider {
  padding: 0;
}

#banner {
  margin-top: 50px;
}

#banner,
#banner a {
  text-decoration: none;
  font-size: 14px;
}

#banner .banner-titulo a {
  font-size: 22px;
  font-weight: 600;
}

#banner .banner-descripcion {
  margin: 10px 0;
}

#slider h1 {
  text-transform: uppercase;
  text-align: center;
  margin: 20px 0;
  font-family: 'Poppins', sans-serif;
  font-size: 55px;
}

.region-facets {
  font-family: 'Poppins', sans-serif;
  color: white;
}
.region-facets h2 {
  font-weight: 600;
  font-size: 16px;
  text-transform: uppercase;
}

.collapsiblock {
  position: relative;
}
.collapsiblock a:after {
  position: absolute;
  top: 0;
  right: 0;
  content: '>';
  font-size: 34px;
  font-weight: 300;
  transform: rotate(90deg);
  padding: 2px;
}
.collapsiblock.collapsiblockCollapsed a:after {
  transform: rotate(0deg);
}

#collapsiblock-wrapper-bloquecarrito span{
  color: #003b67;
  font-family: "Poppins",sans-serif;
  font-size: 14px;
}

.content-title,
.view-header {
  text-align: center;
  font-size: 32px;
  text-transform: uppercase;
  margin: 30px;
}

#especialidades {
  position: relative;
}
.especialidades-imagen img {
  width: 300px;
  height: 300px;
  margin: auto;
}
.especialidades-texto {
  text-align: center;
  font-size: 20px;
  line-height: 40px;
  text-transform: uppercase;
  padding: 20px;
}
.overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  opacity: 1;
  transition: .5s ease;
}
.especialidades-imagen:hover .overlay {
  opacity: 0;
}

.product-info a {
  text-decoration: none;
  text-align: left;
  text-transform: uppercase;
}
.product-info .field--name-price {
  font-size: 20px;
  font-weight: 700;
}
.product-info .field-pvpreciotarifa {
  font-size: 18px;
  text-decoration: line-through;
}
.product-info .field-pvpvp {
  font-size: 16px;
}

.product-mosaico .product-stock {
  text-align: center;
  line-height: 25px;
}
.product-mosaico .product-stock span {
  display: block;
  border-radius: 10px;
  height: 25px;
  width: 90%;
}

.product-mosaico .product-stock {
  text-align: center;
  line-height: 25px;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
}

.product-mosaico .product-stock-cadmin {
  background-color: #003b67;
  color: white;
  margin-left: 5px;
  width: 100% !important;
}
.product-mosaico .product-stock-cadmin span {
  display: inline;
}

.product-actions .qty-btns {
  font-size: 20px;
  font-weight: 600;
}
.product-actions .qty-btns div {
  display: inline;
  background: none;
  border: none;
}
.product-actions .qty-btns input {
  border: none;
  text-align: center;
  width: 100px;
}

.product-actions .qty-btns button {
  background: none;
  border: none;
  font-size: 18px;
}

.product-specs .col-md-3 {
  font-weight: 600;
}

.product-specs h2 {
  font-size: 20px;
}

.product-icons > div {
  vertical-align: middle;
}
.product-lista .product-icons {
  bottom: 30px;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: flex-end;
  align-items: center;
}


/* Quitar flechas de input number */
/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
}

.product-actions .form-actions {
  text-align: center;
}
.product-actions .form-actions input {
  background: none;
  text-transform: none;
  font-size: 15px;
  background-image: url(/themes/custom/proyma/images/boton_articulo.png);
  background-size: contain;
  background-repeat: no-repeat; 
  width: 250px;
  text-align: left;
}

/* oculta variaciones */
.product-actions .attribute-widgets {
  display: none;
}

/* banner promociones */
.promo-ahorro {
  position: absolute;
  top: 0;
  left: 0;
  width: 60%;
  margin: -3px !important;
  background: none !important;
  z-index: 1000;
}

.promo-precio {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 40%;
  margin: 10px;
  background: none !important;
  z-index: 1000;
}

#footer {
  padding: 20px 0 0px;
}

#footer,
#footer a {
  font-size: 16px;
  font-weight: 300;
}

#footer img {
  margin-bottom: 30px;
}

#footer-bottom {
  padding: 10px 0 0;
  text-align: center;
}

#footer-bottom a {
  text-decoration: none;
}

#footer-bottom a:hover {
  text-decoration: none;
}

#footer-bottom .block {
  padding: 0
}

#footer-bottom p {
  margin: 0 0 12px;
}

#block-proymacategorias {
  text-transform: uppercase;
}

#block-proymacategorias ul {
  padding: 0;
}

#block-proymacategorias li {
  display: block;
  list-style: none;
}

#block-menusecundarioproyma ul {
  padding: 0;
}

#block-menusecundarioproyma li {
  display: block;
  list-style: none;
  padding: 0;
}

/* iconos facets */
.icono-facets {
  background-repeat: no-repeat;
  background-size: 45px;
  background-position-x: left;
  background-position-y: 15px;
  padding: 0;
}
.icono-facets a:after {
  padding: 9px;
}
.icono-facets.icono-farma {
  background-image: url(/themes/custom/proyma/images/iconos_facets/farma_ico.png);
}
.icono-facets.icono-alimentacion {
  background-image: url(/themes/custom/proyma/images/iconos_facets/alimentacion_ico.png);
}
.icono-facets.icono-cirugia {
  background-image: url(/themes/custom/proyma/images/iconos_facets/cirugia_ico.png);
}
.icono-facets.icono-fungible {
  background-image: url(/themes/custom/proyma/images/iconos_facets/fungible_ico.png);
}
.icono-facets.icono-higiene {
  background-image: url(/themes/custom/proyma/images/iconos_facets/higiene_ico.png);
}
.icono-facets.icono-suplemento {
  background-image: url(/themes/custom/proyma/images/iconos_facets/suplemento_ico.png);
}

.facets-widget-links ul {
  padding-left: 5px;
}

.icono-facets .content span {
  overflow: hidden;
}
.icono-facets .content > div > ul > li {
  padding: 2px 0;
}
.icono-facets .content > div > ul > li [data-drupal-facet-item-value] {
  background-repeat: no-repeat;
  background-position: left center;
  background-size: 25px;
  padding: 3px 0 3px 30px;
}

[data-drupal-facet-item-value="10361"] { background-image: url(/themes/custom/proyma/images/iconos_facets/farma_ico.png); }
[data-drupal-facet-item-value="10362"] { background-image: url(/themes/custom/proyma/images/iconos_facets/antibacteriano_ico.png); }
[data-drupal-facet-item-value="10403"] { background-image: url(/themes/custom/proyma/images/iconos_facets/cirugia_ico.png); }
[data-drupal-facet-item-value="10410"] { background-image: url(/themes/custom/proyma/images/iconos_facets/antiparasitario_ico.png); }
[data-drupal-facet-item-value="10418"] { background-image: url(/themes/custom/proyma/images/iconos_facets/cardiovascular_ico.png); }
[data-drupal-facet-item-value="10356"] { background-image: url(/themes/custom/proyma/images/iconos_facets/fungible_ico.png); }
[data-drupal-facet-item-value="10377"] { background-image: url(/themes/custom/proyma/images/iconos_facets/suplemento_ico.png); }
[data-drupal-facet-item-value="10404"] { background-image: url(/themes/custom/proyma/images/iconos_facets/anestesicos_ico.png); }
[data-drupal-facet-item-value="10467"] { background-image: url(/themes/custom/proyma/images/iconos_facets/suturas_ico.png); }
[data-drupal-facet-item-value="10548"] { background-image: url(/themes/custom/proyma/images/iconos_facets/alimentacion_ico.png); }
[data-drupal-facet-item-value="10549"] { background-image: url(/themes/custom/proyma/images/iconos_facets/alim_seca_ico.png); }
[data-drupal-facet-item-value="10563"] { background-image: url(/themes/custom/proyma/images/iconos_facets/antiinflamatorio_ico.png); }
[data-drupal-facet-item-value="10676"] { background-image: url(/themes/custom/proyma/images/iconos_facets/endocrino_ico.png); }
[data-drupal-facet-item-value="10777"] { background-image: url(/themes/custom/proyma/images/iconos_facets/respiratorio_ico.png); }
[data-drupal-facet-item-value="10773"] { background-image: url(/themes/custom/proyma/images/iconos_facets/gastrointestinal_ico.png); }
[data-drupal-facet-item-value="10505"] { background-image: url(/themes/custom/proyma/images/iconos_facets/farma_ico.png); }
[data-drupal-facet-item-value="10462"] { background-image: url(/themes/custom/proyma/images/iconos_facets/higiene_ico.png); }
[data-drupal-facet-item-value="10499"] { background-image: url(/themes/custom/proyma/images/iconos_facets/otros_ico.png); }
[data-drupal-facet-item-value="10439"] { background-image: url(/themes/custom/proyma/images/iconos_facets/cirugia_ico.png); }
[data-drupal-facet-item-value="10704"] { background-image: url(/themes/custom/proyma/images/iconos_facets/instrumental_ico.png); }
[data-drupal-facet-item-value="11027"] { background-image: url(/themes/custom/proyma/images/iconos_facets/eutanasicos_ico.png); }
[data-drupal-facet-item-value="11531"] { background-image: url(/themes/custom/proyma/images/iconos_facets/alimentacion_ico.png); }
[data-drupal-facet-item-value="10737"] { background-image: url(/themes/custom/proyma/images/iconos_facets/dermatologico_ico.png); }
[data-drupal-facet-item-value="11128"] { background-image: url(/themes/custom/proyma/images/iconos_facets/comida_hum_ico.png); }
[data-drupal-facet-item-value="10852"] { background-image: url(/themes/custom/proyma/images/iconos_facets/leche_ico.png); }


/* tablas */
table {
  border: none;
}
table th {
  font-weight: 400;
}
table .views-field-title {
  font-weight: 600;
}
table .views-field-edit-quantity div {
  margin: 0;
}
table .views-field-edit-quantity input {
  margin: 0;
  padding: 0;
}

table .button {
  border-radius: 10px;
  height: 25px;
  width: 100%;
  margin: auto;
  padding: 0;   
  display: block;
  text-transform: none;
  max-width: 105px;
}
table .button-tarifas {
  max-width: none;
  height: auto;
  border: none;
}
table .button-tarifas:focus {
  border: none;
  outline: none;
}
table .field_promo {
  font-weight: 600;
  text-align: center;
}
table img {
  display: inline;
  margin: 0 3px;
}
table a.button {
  padding: 3px 0px;
  text-align: center;
  max-width: none;
}

.view-block-cesta .texto_frio img,
.view-block-cesta .texto_pesado img,
.view-block-cesta .texto_sin_stock img {
  display: inline;
  margin: 0px 5px;
}

.view-block-cesta .precio_total {
  display: block;
  text-align: right;
  font-size: 24px;
  font-weight: 600;
}

.view-block-cesta .order-free-shipping-remaining {
  text-align: center;
  margin: 10px auto;
}
.view-block-cesta .free-shipping-value {
  font-weight: 600;
}
.view-block-cesta .form-actions {
  margin-bottom: 20px;
}
.view-block-cesta .form-actions input,
#user-key-auth-form input,
.view-filters input[type='submit'] {
  background: none;
  text-transform: none;
  font-size: 18px;
  background-image: url(/themes/custom/proyma/images/boton_articulo.png);
  background-size: contain;
  background-repeat: no-repeat; 
  width: 250px;
  text-align: left;
}

table .views-field-edit-quantity {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
}
table .views-field-edit-quantity input {
  width: 40px;
  text-align: center;
}

.order-time,
.order-free-shipping-remaining {
  font-size: 14px;
}

/* tabs primary */
.tabs.primary {
  margin-top: 10px;
  border-bottom: solid 1px #bdbdbd;
}
.tabs.primary li {
  border: solid 1px #bdbdbd;
  margin: 0;
  padding: 0;
  border-radius: 5px 5px 0 0;
  margin-bottom: -1px;
  background-color: #eee;
}
.tabs.primary a {
  color: #003b67;
}
.tabs.primary li.is-active {
  border-bottom: none;
}
.tabs.primary .is-active a.is-active {
  color: #a2bd30;
  background-color: white;
}

/* autocomplete results */
.ui-front {
  font-family: 'Poppins', sans-serif !important;
  z-index: 1000;
}

.order-total-line {
  font-size: 16px;
  font-weight: 600;
  text-align: right;
}
.order-total-line__total span {
  font-size: 30px;
  display: inline-block;
  margin: 0 6px;
}
.order-total-line-value {
  width: 170px;
}

.view-header .button.volver {
  font-size: 14px;
}

.ui-autocomplete {
  overflow-y: auto;
  max-height: 600px;
  width: 450px !important;
}

/* breadcrumbs */
.breadcrumb {
  background: none;
  border: none;
  margin: 0;
}
.breadcrumb li:before {
  content: " \5C ";
}

.breadcrumb a {
  color: #003b67;
  font-size: 14px;
}

/* slick */
.slick-dots li button:before {
  font-size: 20px;
}

/* ajax throbber */
.ajax-progress-fullscreen {
  width: 50px;
  height: 50px;
  background-size: cover;
}

/* responsive menu */
@media (max-width: 1199px) {
  #horizontal-menu li {
    margin-right: 20px;
  }
}

@media (max-width: 991px) {
  #horizontal-menu {
    display: none;
  }
  #block-responsivemenumobileicon {
    display: block;
  }
}

.product-actions-text {
  font-size: 15px;
}

.views-field-cartalternativo .product-recommended .product-actions-text {
  top: 38px;
  left: 16px;
}

/* TABLA OFERTAS COMBINADAS */ 

article .ofertas-disponibles th {
  font-size: 12px;
}
.view-id-tarifas_de_articulos.view-display-id-embed_1 td,
.ofertas-disponibles td {
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  color: #003b67;
}

/* ICONO OFERTAS COMBINADAS */

.product-lista__promo-comb img {
  height: 30px;
}

/* POPUP */
.popup-overlay {
  position: absolute;
  left: 50%;
  top: 300px;
  display: none;
}
.popup {
  position: relative;
  left: -50%;
  background-color: #a2bd30;
  height: 50px;
  width: 420px;
  text-align: center;
  font-weight: 600;
  font-size: 20px;
  line-height: 50px;
  border-radius: 10px;
}

.region-cart {
  margin-top: 5px;
  margin-bottom: 5px;
}

.header-huellas h2 {
  font-size: 25px;
  height: 45px;
  line-height: 25px;
}

@media (max-width: 767px) {
  .header-huellas h2 {
    height: auto;
    padding: 3px 0 0;
    overflow-x: hidden;
  }
}

.header-huellas .content {
  margin-top: 70px
}

#footer h2 {
  color: white;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}
#footer h2:after {
  content: none;
}
#footer img {
  width: 300px;
  margin-top: 20px;
}
#page {
  padding-top: 0;
}

@media (max-width: 575px) {
  .lateral-azul > .col-md-10 {
    padding: 0;
  }
}

.highlighted {
  font-size: 2.2em;
  color: #003b67
}


/* buscador ofertas */
.ofertas-disponibles{
  font-size: 16px;
}
.ofertas-disponibles td{
  vertical-align: middle !important;
}

.ofertas-disponibles th{
  font-size: 18px;    
}

#ofertas .prod-td-imagen{
  padding: 0px;
}

#ofertas .prod-imagen{
  display: block;
  height: 100px;
  max-width: unset;
  margin-left: auto;
  margin-right: auto;
  padding: 5px;
}


#ofertas .botoncombinada img:hover{
  display:block;
  margin-left: auto;
  margin-right: auto;
  transform:scale(1.1);
  -ms-transform:scale(1.1); 
  -moz-transform:scale(1.1); 
  -webkit-transform:scale(1.1); 
  -o-transform:scale(1.1);
  -webkit-transition: all 500ms ease-in-out; 
  -moz-transition: all 500ms ease-in-out; 
  -ms-transition: all 500ms ease-in-out; 
  -o-transition: all 500ms ease-in-out; 

}





#ofertas-comb{
  margin-right: 10%;
  margin-left: 10%;
}

@media only screen and (max-width: 1390px) {
  #ofertas-comb{    
    margin-right:0px;
    margin-left: 0px;
  }
}

#ofertas-comb #blockimg{
  text-align: center;
}

#ofertas-comb #blockimg a{
  display: inline-block;
}


#ofertas-comb .oferta-fila {
  border: solid 3px #dbdbdb;
  background-color: white;
  color: #003b67;   
  margin-bottom: 10px;
}

/*#ofertas-comb .oferta-fila:hover {*/
#ofertas-comb .oferta-fila {
  border: solid 3px #003b67;    
}

#ofertas-comb .oferta-fila:hover {
  /*transform: translateX(10px);*/
  box-shadow: 0 2px 8px 0 rgb(59 57 55 / 20%);
  /*transition: all 0.2s ease-in-out;*/
}

#ofertas-comb .descripcion{
  font-size: 20px;
  padding: 20px 10px;
  line-height: 30px;
}

#ofertas-comb .boton-selecionar{
  position:absolute;
  right: 0px;
  bottom: 0px;
}

#ofertas-comb .boton-selecionar{
  background: none;
  text-transform: none;
  background-image: url(/themes/custom/proyma/images/boton_articulo.png);
  background-size: contain;
  background-repeat: no-repeat;
  width: 250px;
  height: 50px;
  text-align: left;    
  font-size: 18px;
  color: #fff;
  padding: 15px 24px;
  margin-bottom: 10px;
}

#ofertas-comb .boton-selecionar a{
  text-align: left;    
  font-size: 18px;
  color: #fff !important;
}

#ofertas-comb .fechadesde{
  /*margin-left: 10px;*/
  font-size: 16px;
}

#ofertas-comb .fechahasta{
  margin-left: 30px;
  font-size: 16px;
}


#ofertas-comb #promohastacant,
#ofertas-comb #promodesdecant{
  text-align: center;
  background-color: #fff;
}


/*CONFIGURADOR OFERTAS COMBINADAS*/

#ofertas-comb #addproducto{
  float: right;
  margin: 0px 10px 10px;
  background: none;
  text-transform: none;
  background-image: url(/themes/custom/proyma/images/boton_articulo.png);
  background-size: contain;
  background-repeat: no-repeat;
  color: #fff !important;
  width: 120px;
  text-align: left;
  height: 25px;
  padding: 3px 20px;
}
/*
#ofertas-comb #addproducto a,
#ofertas-comb #addproducto a:hover{
    text-decoration: none;
    border: none;
}*/


/*#ofertas-comb #condicion-y{
    background-color: #b7e0b7;
}*/

#ofertas-comb .desplegar{
  cursor: pointer;   
}

#ofertas-comb .grupodesc{
  font-size: 14px;
  margin-bottom: 15px;
}

#ofertas-comb #totalpromo{
  /*float: right;*/
  font-size: 30px;
  color: #a2bd30;
  /*position: absolute;
  bottom: 5px;
  right: 30px;*/
  width: 260px;
}

#ofertas-comb #totalpromo label{
  color: #003b67;
}

#ofertas-comb .noinputtotal{
  border: none;
  background: none;
  width: 120px;
  text-align: right;
}

#ofertas-comb #totalpromo #msgdtooferta{
  font-size: 11px;
  color: #000;
  display: block;
  margin-top: -20px;
}
#ofertas-comb #totalpromo #msgdtoweb{
  font-size: 11px;
  color: #000;
  display: block;

  margin-top: -0px;
}

#ofertas-comb #ofertatachado{
  font-size: 12px;
  text-align: right;
  display: block;
  margin-top: -10px;
}

#ofertas-comb #ofertatachado input{

  text-decoration: line-through;
  text-decoration-color: #003b67;
  font-size: 14px;
}

/*CANTIDAD APLICAR OFERTAS COMBINADAS*/

#ofertas-comb .comb-cant{
  color: #003b67 !important;
}

#ofertas-comb #promo-cant-text{
  font-size: 20px;
  margin-top: 15px;
  margin-bottom: 10px;
}

#ofertas-comb #promo-cant-mas,
#ofertas-comb #promo-cant-menos{
  font-size: 30px;
  padding: 5px 20px;
  cursor: pointer;         
}

#ofertas-comb #ofertacombcant{
  height: 50px;
  width: 50px;
  font-size: 30px;
  text-align: center;
  cursor: not-allowed;
}
#ofertas-comb #verificado,
#ofertas-comb #verificadoreg{
  color: #003b67 !important;
  font-size: 26px;
  display: inline;
  margin-right: 20px;
}


#ofertas-comb table {
  margin-bottom: 10px;
}


#ofertas-comb .thcondicion-cond{        
  vertical-align: middle;    
  min-width: 260px;
}


#ofertas-comb .thcondicion{
  width: 90px;
  min-width: 90px;
  text-align: center;
  vertical-align: middle;    
}

#ofertas-comb .thcondicion-peq{
  width: 60px;
  min-width: 60px;
  text-align: center;
  vertical-align: middle;    
}

#ofertas-comb .thcondicion-extra,
#ofertas-comb .tdproducto-extra{
  border-left: 5px solid #9fc54d  !important; 
}

#ofertas-comb .tdblanco{
  background-color: #fff;
}

[id^="pnetoweb"] {
  font-weight: bold;
}



#ofertas-comb .tdproducto{
  width: 100px;
}
#ofertas-comb .oferta-fila{
  min-height: 150px;
}

#ofertas-comb .tablegrupo{
  margin-top: 5px;
  margin-bottom: 5px;
  text-align: center;

}

#ofertas-comb .tablegrupo th,
#ofertas-comb .tablegrupo td{
  vertical-align: middle;
  padding:5px;
}


#ofertas-comb .condproductos{
  width: 95%;
  float: right;
}


#ofertas-comb .condproductos th {
  /*background: #9e7716; dorado*/ 
}

#ofertas-comb .deleteprodcond{
  border-radius: 10px;
  height: 25px;
  width: 100%;
  margin: auto;
  padding: 5px;
  display: block;
  text-transform: none;
  max-width: 105px;
  background-color: #a2bd30;
  color: white;
  text-align: center;
  cursor:pointer;

}

#ofertas-comb .productofijo{
  width: 40px;
  text-align: center;
}




#ofertas-comb .cant-mas,
#ofertas-comb .cant-menos{
  font-size: 12px;
  padding: 0px 3px;
  cursor:pointer;

}


#ofertas-comb .noinput{
  border: none;
  background: none;
  width: 50px;
  text-align: right;
}
/* noinput pequeño*/
#ofertas-comb .campo-peq{
  width: 28px;
  padding-right: 0px;
  padding-left: 0px;
}
#ofertas-comb .condgrupo,
#ofertas-comb .condlin{
  background-color: rgb(144 141 141 / 45%);
}


#ofertas-comb .proddesplegable{
  width: 40px;
  text-align: center;
}

#ofertas-comb .lineaseleccion{
  background-color: #003b67;
  color: #fff;
  padding-right: 20px;
  padding-left: 20px;
}

#ofertas-comb .lineaseleccion span{
  float:right;
  color: #fff;
}


#ofertas-comb .productofijo:read-only {
  background: #bfea8d;
  cursor:not-allowed;
}


#ofertas-comb .nav li a{
  border: 3px solid #003b67;
  border-bottom: none;
}
#ofertas-comb .nav li a h3{
  margin:    0px;
}

/* boton visualizar*/
#ofertas-comb .preview{
  background-color: #a2bd30 !important;
  border-radius: 10px;
  border: none !important;
  width: 110px;
  color: #fff;
  cursor: pointer;
  text-align: center;
}

/* modal visualizar */

.previewmodal #drupal-modal{
  padding-bottom: 15px;    
}

.previewmodal .ui-dialog-buttonpane{
  display: none;       
}

.previewmodal .ui-dialog-titlebar-close{
  background-color: #dc3545;
  color: #fff !important;
  width: 50px !important;
  border-radius: 5px !important;
}

.previewmodal .ui-dialog-titlebar-close:before {
  content: "Cerrar";
}



/* */
.product-barcode div {
  display: inline-block;
}

.product-barcode svg {
  font-size: 20px;
  vertical-align: bottom;
}

.view-articulos-alternativos .product-title a {
  display: inline-block;
}

.view-articulos-alternativos .product-actions a {
  display: inline-block;
  margin: 2px 10px;
}

.tabla-precios td {
  border-bottom: 2px solid #003b67;
}

.tabla-precios .product-price div {
  margin: 5px 0;
}













/*
lightbox imagenes
*/

html.with-featherlight {
  /* disable global scrolling when featherlights are visible */
  overflow: hidden;
}

.featherlight {
  display: none;

  /* dimensions: spanning the background from edge to edge */
  position:fixed;
  top: 0; right: 0; bottom: 0; left: 0;
  z-index: 2147483647; /* z-index needs to be >= elements on the site. */

  /* position: centering content */
  text-align: center;

  /* insures that the ::before pseudo element doesn't force wrap with fixed width content; */
  white-space: nowrap;

  /* styling */
  cursor: pointer;
  background: #333;
  /* IE8 "hack" for nested featherlights */
  background: rgba(0, 0, 0, 0);
}

/* support for nested featherlights. Does not work in IE8 (use JS to fix) */
.featherlight:last-of-type {
  background: rgba(0, 0, 0, 0.8);
}

.featherlight:before {
  /* position: trick to center content vertically */
  content: '';
  display: inline-block;
  height: 100%;
  vertical-align: middle;
}

.featherlight .featherlight-content {
  /* make content container for positioned elements (close button) */
  position: relative;

  /* position: centering vertical and horizontal */
  text-align: left;
  vertical-align: middle;
  display: inline-block;

  /* dimensions: cut off images */
  overflow: auto;
  padding: 25px 25px 0;
  border-bottom: 25px solid transparent;

  /* dimensions: handling large content */
  margin-left: 5%;
  margin-right: 5%;
  max-height: 95%;

  /* styling */
  background: #fff;
  cursor: auto;

  /* reset white-space wrapping */
  white-space: normal;
}

/* contains the content */
.featherlight .featherlight-inner {
  /* make sure its visible */
  display: block;
}

/* don't show these though */
.featherlight script.featherlight-inner,
.featherlight link.featherlight-inner,
.featherlight style.featherlight-inner {
  display: none;
}

.featherlight .featherlight-close-icon {
  /* position: centering vertical and horizontal */
  position: absolute;
  z-index: 9999;
  top: 0;
  right: 0;

  /* dimensions: 25px x 25px */
  line-height: 25px;
  width: 25px;

  /* styling */
  cursor: pointer;
  text-align: center;
  font-family: Arial, sans-serif;
  background: #fff; /* Set the background in case it overlaps the content */
  background: rgba(255, 255, 255, 0.3);
  color: #000;
  border: none;
  padding: 0;
}

/* See http://stackoverflow.com/questions/16077341/how-to-reset-all-default-styles-of-the-html5-button-element */
.featherlight .featherlight-close-icon::-moz-focus-inner {
  border: 0;
  padding: 0;
}

.featherlight .featherlight-image {
  /* styling */
  width: 100%;
}


.featherlight-iframe .featherlight-content {
  /* removed the border for image croping since iframe is edge to edge */
  border-bottom: 0;
  padding: 0;
  -webkit-overflow-scrolling: touch;
}

.featherlight iframe {
  /* styling */
  border: none;
}

.featherlight * { /* See https://github.com/noelboss/featherlight/issues/42 */
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

/* handling phones and small screens */
@media only screen and (max-width: 1024px) {
  .featherlight .featherlight-content {
    /* dimensions: maximize lightbox with for small screens */
    margin-left: 0;
    margin-right: 0;
    max-height: 98%;

    padding: 10px 10px 0;
    border-bottom: 10px solid transparent;
  }
}

/* hide non featherlight items when printing */
@media print {
  html.with-featherlight > * > :not(.featherlight) {
    display: none;
  }
}

/** BOTON IMPRIMIR **/
.view-id-lineas_pedido.view-display-id-page_1 .view-footer button {
  background-color: #003b67;
  font-size: 18px;
  border: none;
  box-shadow: none;
  color: #fff;
  padding: 12px 60px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 10px;
  margin: 0px;
}

.view-id-lineas_pedido.view-display-id-page_1 .view-footer button svg {
  margin-left: -10px;
  margin-right: 10px;
}

/** BOTON PENDIENTE DE SERVIR **/
.views-field-boton-anular-pendiente a:hover {
  background-color: #003b67;
}

.view-pendientes-de-servir.view-display-id-page_2 .form-actions input {
  background-color: #003b67;
  border-radius: 10px;
  padding: 4px 10px;
  margin-bottom: 10px;
}

/** FILTROS EXPUESTOS TIENDA **/
#views-exposed-form-tienda-page-1 .form-item-contenido-texto, 
#views-exposed-form-tienda-page-1 .form-item-principio-activo, 
#views-exposed-form-tienda-page-1 .form-item-indicacion-terapeutica,
#views-exposed-form-tienda-page-2 .form-item-contenido-texto, 
#views-exposed-form-tienda-page-2 .form-item-principio-activo, 
#views-exposed-form-tienda-page-2 .form-item-indicacion-terapeutica {
  display: none;
}
#views-exposed-form-tienda-page-1 > div, 
#views-exposed-form-tienda-page-2 > div {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  flex-direction: column;
}
#views-exposed-form-tienda-page-1 > div input[type="submit"], #views-exposed-form-tienda-page-2 > div input[type="submit"] {
  clear: none;
  background: none;
  color: white;
  width: 100%;
  background-color: #003b67;
  border-radius: 7px;
  font-size: 14px;
  text-transform: uppercase;
  border: solid white 3px;
  padding: 5px;
  margin: 5px auto;
}
#views-exposed-form-tienda-page-1 > div label,
#views-exposed-form-tienda-page-2 > div label {
  display: inline-block;
  margin: 2px auto;
  width: 100%;
  text-transform: uppercase;
  font-weight: 600;
}
#views-exposed-form-tienda-page-1 > div select, 
#views-exposed-form-tienda-page-2 > div select {
  padding: 0px;
  min-height: auto;
  width: 100%;
}

/* NOTIFICACIONES MENSAJES WEB */
.usuario-autenticado-icono {
  display: inline;
}
.usuario-autenticado-notifmsjweb svg {
  color: red;
}

/* TABLA OFERTAS DISPONIBLES */
.ofertas-disponibles .product-price {
  font-size: 20px;
  font-weight: 700;
  color: #a2bd30;
  white-space: nowrap;
}
.ofertas-disponibles tr:hover .product-price {
  color: #003b67;
}
.ofertas-disponibles tr:hover .button-tarifas {
  background-color: #003b67;
}

/* TABLA BASES IMPONIBLES */
.base-desglose tr:last-of-type {
  font-size: 16px;
}

/* AVISO PEDIDO PREVIO */
.block-pedido-previo {
  padding: 0;
}

.aviso-pedido-previo {
  margin-left: -15px;
  margin-right: -15px;
  background: #af1023;
  text-align: center;
  padding: 3px 0;
}

.aviso-pedido-previo a {
  color: white;
  font-size: 1.5rem;
}

/* CESTA PEDIDO PREVIO */
.product-pedido-previo {
  height: 100px;
}

.view-pedido-previo .button {
  height: auto;
}

.block-pedido-previo {
  padding: 0;
}

.aviso-pedido-previo {
  margin-left: -15px;
  margin-right: -15px;
  background: #af1023;
  text-align: center;
}

.aviso-pedido-previo a {
  color: white;
}

/* arregla descuadre modales revslider */
.ui-dialog .ui-dialog-content {
  overflow: unset !important;
}

/* eu cookie compliance */
.eu-cookie-compliance-banner {
  width: 500px !important;
}

.eu-cookie-compliance-content .eu-cookie-compliance-category label, .eu-cookie-compliance-category .eu-cookie-compliance-category-description {
  color: #000 !important;
}

@media screen and (max-width: 687px) {
  .eu-cookie-compliance-banner {
    position: relative; 
    top: auto; 
    left: auto;
    margin: 0; 
    width: auto !important; 
    display: flex;
    margin: 10px; 
    padding: 20px; 
    height: auto !important; 
  }

  .eu-cookie-compliance-categories-buttons {
    float: none;
    margin-left: auto;
    margin-right: auto;
  }
}


.popup-content {
  margin-top: 12px;
  max-width: 400px;
}

.popup-content.eu-cookie-compliance-content #popup-buttons {
  margin: 0 !important;
}

.eu-cookie-compliance-content button.eu-cookie-compliance-save-preferences-button {
  background: white;
  width: 100%;
  height: 45px;
  margin-top: 14px;
  font-family: 'poppins';
}

#aviso-viernes{
    display:none;
    font-size: 25px;
    margin-top: 20px;
    color: #c31515;
    line-height: 1.2;
}

.view-id-commerce_cart_form {
  border-bottom: 10px solid #a2bd30;
}


#boton_volver{
  color: #fff !important;
  font-size: 14px; 
  border-radius: 10px;
  height: 25px;
  width: 144px;
  padding: 1px 10px;
  display: block;
  text-transform: none;    
  background-color: #003b65;
}

#boton_volver span{
  color: #fff !important;
}  

/*CESTAS */
#cestas{
  background-color: #a2bd30;
  padding: 5px 10px;
  border-radius: 5px;
}

#cestapesada{
  height: 30px;
  display: inline;
  margin-top: -5px;
}

.texto_sin_stock{
  display: none;
}

.views-form form > table  ~ .texto_sin_stock{
  display: block; 
}


.texto_frio{
  display: none;
}

.views-form form > table  ~ .texto_frio{
  display: block; 
}

.texto_pesado{
  display: none;
}

.views-form form > table  ~ .texto_pesado{
  display: block; 
}

.view-cart-form-catalogo .texto_sin_stock img,
.view-cart-form-catalogo .texto_frio img,
.view-cart-form-catalogo .texto_pesado img ,
.view-cart-form-catalogo-pesado .texto_sin_stock img,
.view-cart-form-catalogo-pesado .texto_frio img,
.view-cart-form-catalogo-pesado .texto_pesado img {
  display: inline;
  margin-right: 5px;
}


.view-cart-form-catalogo .order-time,
.view-cart-form-catalogo-pesado .order-time {
  text-align: center;
}

.view-cart-form-catalogo .texto_frio,
.view-cart-form-catalogo-pesado .texto_frio {
  text-align: center;
}

.view-cart-form-catalogo .texto_sin_stock,
.view-cart-form-catalogo-pesado .texto_sin_stock  {
  text-align: center;
}

.view-cart-form-catalogo .order-free-shipping-remaining,
.view-cart-form-catalogo-pesado .order-free-shipping-remaining {
  text-align: center;
  margin: 10px auto;
}
.view-cart-form-catalogo .free-shipping-value,
.view-cart-form-catalogo-pesado .free-shipping-value  {
  font-weight: 600;
  color: #003b67;
  background-color: #a2bd30;
  padding: 5px;
  border-radius: 7px;
}


.cesta_urgente {
  font-size: 20px;
  text-align: center;
  margin-bottom: 15px;
}

.cesta_urgente span{
  color: #fff; 
  /* border: 1px solid #af1023; */
  padding: 10px;
  border-radius: 10px;
  background-color: #af1023;
}

/*ocultar bloque carrito sino tiene tabla*/
#block-bloquecarrito:not(#block-bloquecarrito:has(table)),
#block-bloquecarritopesado:not(#block-bloquecarritopesado:has(table)){
  display: none;
}

.borde-caducidad{
    border: solid 3px #9fc54d;
    border-radius: 10px; 
}

.product-stock-cadmin-label{
    background: none;
}
.product-stock-cadmin-value{
    background: none;
}


#block-bloquerestantesportesgratis .texto_sin_stock img,
#block-bloquerestantesportesgratis  .texto_frio img,
#block-bloquerestantesportesgratis  .texto_pesado img ,
#block-bloquerestantesportesgratis  .texto_sin_stock img,
#block-bloquerestantesportesgratis  .texto_frio img,
#block-bloquerestantesportesgratis  .texto_pesado img {
  display: inline;
  margin-right: 5px;
}


#block-bloquerestantesportesgratis  .order-time,
#block-bloquerestantesportesgratis  .order-time {
  text-align: center;
}

#block-bloquerestantesportesgratis  .texto_frio,
#block-bloquerestantesportesgratis  .texto_frio {
  text-align: center;
  display: block;
}

#block-bloquerestantesportesgratis  .texto_sin_stock,
#block-bloquerestantesportesgratis  .texto_sin_stock  {
  text-align: center;
}

#block-bloquerestantesportesgratis  .order-free-shipping-remaining,
#block-bloquerestantesportesgratis  .order-free-shipping-remaining {
  text-align: center;
  margin: 10px auto;
}
#block-bloquerestantesportesgratis  .free-shipping-value,
#block-bloquerestantesportesgratis  .free-shipping-value  {
  font-weight: 600;
  color: #003b67;
  background-color: #a2bd30;
  padding: 5px;
  border-radius: 7px;
}