.awafpgrid {
    font-family:Verdana;
    clear:both;
    overflow:hidden;
}
.awafpgrid.afp-border {
    padding: 10px;
}
.awafpgrid a,.awafpgrid a .label {
    color:#000;
}
.awafpgrid ul {
    clear:both;
    list-style: none !important;
}
.awafpgrid.afp-border ul:last-child li {
    margin-bottom: 0;
}
.awafpgrid ul li {
    float:left;
    margin:0 0.4% 10px;
}
.awafpgrid .awafpprice,
.awafpgrid .awafpbutton,
.awafpgrid .awafptitle {
    font-size:12px; color:#000;
}
.awafpgrid .awafptitle a {
    font-weight:700;
    font-size:12px;
    color:#000;
}
.awafpgrid .price-box .price {
    font-weight:400;
    color:#000;
    font-size:12px;
}
.awafpgrid .afp-addtocart button {
    font-size:12px;
    border:0;
    background:none;
    padding: 0;
    cursor:pointer;
}
.awafpgrid .afp-addtocart button div {
    width:91px;
    background-image:url(https://www.mifarma.pt/skin/frontend/base/default/aw_featured/images/addtocart.png);
    height:21px;
    line-height:21px;
}
.afp-thumbnail .onsale-category-container-list {
    float:none!important;
    margin: 0 auto;
}
.awafpgrid .afp-details,
.awafpgrid .awafptitle,
.awafpgrid .afp-thumbnail,
.awafpgrid .price-box,
.awafpgrid .afp-addtocart {
    text-align:center;
}
.awafpgrid .afp-thumbnail img {
    max-width: 100%;
    height: auto;
}

.awafpslider {
    font-family: Verdana;
    position: relative;
}
.awfpslider-horizontal .afp-slides-container {
    margin-bottom: 5px;
}

.afp-thumbnail img {
    margin: 0 auto;
}

div.afp-slider-item {
    width: 100% !important;
}

/* Switch effect fade/appear */
.afp-effect-fade-appear div.afp-slider-item {
    position: absolute;
}
.awafpslider .afp-slider-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 99;
    margin-bottom: 10px;
    width: 100%;
}
.awfpslider-horizontal div.afp-slider-item div.afp-thumbnail {
    float: left;
    height: 200px;
    width: 200px;
    padding-right: 10px;
}
.awfpslider-horizontal.afp-border div.afp-slider-item div.afp-thumbnail {
    padding-top: 10px;
    padding-left: 10px;
}
.sidebar .awfpslider-horizontal div.afp-slider-item div.afp-thumbnail {
    float: none;
    margin-bottom: 5px;
    padding: 0;
    width: auto;
}
.sidebar .awfpslider-horizontal.afp-border div.afp-slider-item div.afp-thumbnail {
    padding: 10px 10px 0;
}
.sidebar .awfpslider-horizontal div.afp-slider-item div.afp-thumbnail img {
    max-width: 100%;
}

.awfpslider-vertical div.afp-slider-item div.afp-thumbnail {
    height: 190px;
    text-align: center;
    padding: 10px 10px 0;
}
.sidebar .awfpslider-vertical div.afp-slider-item div.afp-thumbnail img {
    max-width: 100%;
}
.awfpslider-horizontal div.afp-slider-item div.afp-product-info {
    overflow: hidden;
    margin: 0;
    padding: 0 10px;
}
.sidebar .awfpslider-horizontal div.afp-slider-item div.afp-product-info {
    overflow: visible;
    padding: 0 3px;
}
.awfpslider-horizontal.afp-border div.afp-slider-item div.afp-product-info {
    margin-left: 10px;
    margin-right: 10px;
}
.awfpslider-vertical .afp-thumbnail .onsale-category-container-list {
    float:none!important;
    margin: 0 auto;
}
.awafpslider div.afp-slider-item div.afp-product-info .awafptitle a {
    color: #000;
    font-size: 20px;
    text-decoration: none;
}
.awafpslider div.afp-slider-item div.afp-product-info .awafptitle a:hover {
    text-decoration: underline;
}
.awafpslider div.afp-slider-item div.afp-product-info .afp-details {
    color: #666;
    font-size: 12px;
}
.awfpslider-vertical div.afp-slider-item div.afp-product-info .afp-details {
    text-align: center;
}

.awafpslider .afp-slider-controls .afp-left,
.awafpslider .afp-slider-controls .afp-right {
    width: 31px;
    height: 31px;
}
.awafpslider .afp-slider-controls .afp-left {
    float: left;
    padding-left: 20px;
}
.awafpslider .afp-slider-controls .afp-right {
    float: right;
    padding-right: 20px;
}
.awafpslider .afp-slider-controls .afp-left .button,
.awafpslider .afp-slider-controls .afp-right .button {
    position: relative;
    width: 31px;
    height: 31px;
    border: 0;
    background: url("https://www.mifarma.pt/skin/frontend/base/default/aw_featured/representations/slider/images/sprite.png") no-repeat;
    cursor: pointer;
}
.awafpslider .afp-slider-controls .afp-left .button {
    background-position: 0 0;
}
.awafpslider .afp-slider-controls .afp-right .button {
    background-position: -45px 0;
}

.awafpslider .afp-slider-controls .afp-center {
    margin: 0 51px;
    padding: 6px;
    text-align: center;
    cursor: default;
}
.awafpslider .afp-slider-controls .afp-center .button {
    margin: 0 -2px;
    width: 19px;
    height: 19px;
    background: url("https://www.mifarma.pt/skin/frontend/base/default/aw_featured/representations/slider/images/sprite.png") -40px -40px no-repeat;
}
.awafpslider .afp-slider-controls .afp-center .afp-s-current {
    background-position: 0 -45px;
}

.awfpslider-horizontal .price-box {
    float: left;
    margin: 7px 0;
    padding: 0;
    text-align: center;
    width: 150px;
}

.awfpslider-vertical .price-box {
    text-align: center;
    width: 100%;
}

.awafpslider .price-box .price {
    color: #000;
    font-size: 16px;
    font-weight: normal;
}

.awafpslider .price-box span, .awafpslider .price-box a {
    color: #000;
}

.awfpslider-horizontal .afp-addtocart {
    margin: 7px 0;
    text-align: left;
}

.awfpslider-vertical .afp-addtocart {
    margin: 7px 0;
    text-align: center;
}

.awafpslider .afp-addtocart button {
    padding: 0 16px;
    height: 26px;
    border: 2px solid #fff;
    border-radius: 5px;
    background-color: #ff8400;
    -webkit-box-shadow: 0 1px 2px 1px rgba(14, 16, 18, .2);
            box-shadow: 0 1px 2px 1px rgba(14, 16, 18, .2);
    color: #fff;
    text-shadow: 0 1px 0 rgba(14, 16, 18, .25);
    font-weight: bold;
    font-size: 14px;
    cursor: pointer;
}

.awfpslider-vertical div.afp-slider-item .awafptitle {
    text-align: center;
}
.awfpslider-vertical div.afp-slider-item .awafptitle a {
    color: #000;
    font-family: Verdana;
    font-size: 16px;
    margin: 7px 0;
    text-decoration: none;
}
.awfpslider-vertical div.afp-slider-item .awafptitle a:hover {
    text-decoration: underline;
}

.afp-effect-simple-slider {
    overflow: hidden;
    position: relative;
}
.afp-effect-simple-slider div.afp-slider-item {
    float: left;
}

.afp-effect-blind-up-down div.afp-slider-item {
    position: absolute;
}

.afp-effect-slide-up-down div.afp-slider-item {
    position: absolute;
}

.awfpslider-horizontal div.afp-slider-item div.afp-thumbnail {
    width: auto;
    height: auto;
}

.awafpslider .afp-slider-controls .afp-right {
    margin-right: 20px;
}
.ambanners{
	display: flex;
	flex-wrap: wrap;
}

.ambanners>div{
	flex: auto;
	width: 200px;
}

.ambanners .block,
.ambanners img{
	width: 100%;
	height: auto;
}

.ambanners ul.products{
	display: flex;
	flex-wrap: wrap;
}

.ambanners ul.products li {
	list-style: none;
	width: 130px;
	padding: 10px;
	margin: 3px;
}
.ambanners ul.products li p.product-name {
	min-height: 60px;
}
.ambanners-injected img{
	width: 100%;
}

.ambanners-injected-sub-container.products-grid{
	background: none;
}

.ambanners-injected-sub-container.products-grid li.item {
	padding-top: 20px;
	padding-bottom: 20px;
}

.ambanners-injected-sub-container .ambanners-injected-banner {
	margin-left: -10px;
}

.ambanner-7,
.ambanner-8 {
	margin-bottom: 20px;
}

/* Overlay */
#ampromo-items-add
{
    border: 1px solid #ededed;
    padding: 7px;
    text-align: center;
    margin-bottom: 12px;
}

#ampromo-items-add a
{
    text-decoration: none;
    border-bottom: 1px dashed;
}

.amscheckout #ampromo-items-add
{
    margin: 7px 10px;
}

#ampromo-overlay
{
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,.8);
    top: 0;
    left: 0;
    z-index: 10000;
    text-align: center;
    direction: ltr;
    overflow: scroll;
}

#ampromo-overlay .close
{
    position: absolute;
    top: 7px;
    right: 7px;
    background: url(https://www.mifarma.pt/skin/frontend/base/default/images/amasty/ampromo/close_icon.png) no-repeat;
    width: 16px;
    height: 16px;
    z-index: 1;
    margin: 0;
    padding: 0;
    font-size: 0;
    display: block;

    opacity: .8;
}

#ampromo-overlay .close:hover
{
    opacity: 1;
    transition: opacity 0.2s ease;
}

.ampromo-item .giftcard-send-form{
    padding: 0;
    margin: 0;
}

@media only screen and (max-width: 820px) and (min-width: 420px) {
    body #ampromo-items.amcarousel {
        width: 400px;
    }
    body .amcarousel #ampromo-carousel-wrapper {
        width: 250px;
    }
}

@media only screen and (max-width: 420px) {
    body #ampromo-items.amcarousel {
        width: 100%;
    }

    body .amcarousel #ampromo-carousel-wrapper {
        width: 250px;
    }

    body .ampromo-carousel-control.prev
    {
        left: 0px;
    }

    body .ampromo-carousel-control.next
    {
        right: 0px;
    }

    body .ampromo-carousel-control {
        z-index: 10001;
    }
}

@media only screen and (max-width: 340px) {
    body #ampromo-items .ampromo-item {
        border: none;
    }
}

@media only screen and (max-height: 500px) {
    body #ampromo-items.amcarousel {
        top: 0 !important;
        height: 100%;
    }

    body #ampromo-items {
        padding-top: 0;
    }

    body #ampromo-items>h4 {
        display: none;
    }
}

/* Items */

#ampromo-items
{
    border: 1px solid #ededed;
    background-color: white;
    position: relative;
    margin: 0 auto;
    padding: 24px;
    display: inline-block;
    box-sizing: border-box;
}

#ampromo-items.amcarousel
{
    display: block;
    width: 685px;
}


#ampromo-items .ampromo-item
{
    box-sizing: border-box;

    margin-bottom: 7px;
    padding: 20px;
    width: 250px;

    border: 1px solid #ededed;
    position: relative;
    margin-right: 12px;
}

#ampromo-items .ampromo-item-options
{
    margin-bottom: 12px;
    text-align: left;
}

#ampromo-items .ampromo-item-image
{
    display: block;
    margin: 0 auto;
    width: 160px;
    height: 160px
}

/* Carousel */

.amcarousel #ampromo-carousel-wrapper
{
    width: 520px;
}

#ampromo-carousel-wrapper
{
    overflow: hidden;
    margin: 0 auto;
}

.amcarousel #ampromo-carousel-content
{
    width: 4500px;
    height: 1px;
}

#ampromo-carousel-content .ampromo-slide
{
    float: left;
}

.amcarousel .ampromo-carousel-control
{
    display: block;
}

.ampromo-carousel-control
{
    position: absolute;
    top: 260px;
    background: url(https://www.mifarma.pt/skin/frontend/base/default/images/amasty/ampromo/buttons_next_prev.png) no-repeat;
    width: 48px;
    height: 45px;
    font-size: 0;
    display: none;
}

.ampromo-carousel-control.carousel-disabled.prev
{
    background-position: 0 0 !important;
}

.ampromo-carousel-control.amcarousel-disabled.next
{
    background-position: -46px 0 !important;
}

.ampromo-carousel-control.prev
{
    background-position: 0 -45px;
    left: 20px;
}

.ampromo-carousel-control.next
{
    background-position: -46px -45px;
    right: 20px;
}

.ampromo-carousel-control.prev:hover
{
    background-position: 0 -91px;
}

.ampromo-carousel-control.next:hover
{
    background-position: -46px -91px;
}

.ampromo-item .qty-holder
{
    display: none;
}

.ampromo-item-options select,
.ampromo-item-options input
{
    max-width: 210px;
}

.ampromo-notification
{
    padding: 7px;
    text-align: center;
    margin-bottom: 12px;

    border: 1px solid #f16048;
    color: #df280a;
    background: #faebe7;
}

.ampromo_items_form h4 {
    line-height: 50px;
}

.ampromo_items_form h4 a {
    display: inline-block;
    vertical-align: middle;
    line-height: 14px;
}

.ampromo-label{
    float: right; 
    position: absolute; 
    z-index: 500;
}

.ampromo-gift .product-image{
    float: left;
}

.ampromo-gift li{
    margin: 10px 10px;
    float: left;
}
.ampromo-tooltip {
   padding:2px 5px;
   background:#FEC;
   border:1px solid #FAA819;
   color:#1F5070;
   text-align:left;
   width:300px;
   position:absolute;
   z-index: 10001;
}

.ampromo-product-name{
    font-weight: bold;
}

.ampromo-short-description{
    
}

.ampromo-img img{
    /*width: 100%;*/
}
div.amshopby-column {
    float: left;
    width: 49%;
    overflow: hidden;
}

select.amshopby-select {
    width:170px;
}

.amshopby-logo{
padding: 0pt 10px 10px 0pt; float: left;
}

.amshopby-featured {
    padding: 5px 5px 5px 5px; 
}

.amshopby-link{
    float:left;
    padding-left:5px; 
    padding-top:5px;
}

.amshopby-clearer {
	display:block; 
	clear:both; 
	overflow: hidden;
}
div.block-layered-nav dd a {padding:0px 5px 0px 0px; display:block; float: left;}  
div.block-layered-nav dd a.amshopby-attr, div.block-layered-nav dd a.amshopby-attr:hover {padding-left:15px; background-image:url(https://www.mifarma.pt/skin/frontend/base/default/images/amshopby-cb1.gif); background-repeat: no-repeat; background-position: left center;}
div.block-layered-nav dd a.amshopby-attr::before, div.block-layered-nav dd a.amshopby-attr-selected::before {border-style: none !important;}
div.block-layered-nav dd a.amshopby-attr-selected {font-weight: bold; padding-left:15px; background-image:url(https://www.mifarma.pt/skin/frontend/base/default/images/amshopby-cb2.gif); background-repeat: no-repeat; background-position: left center;}
div.block-layered-nav dd a.amshopby-attr-inactive {pointer-events: none; color: #666666}
div.block-layered-nav dd a img {/* padding: 0px 4px 5px;*/ float:left;}

div.block-layered-nav dd .single-choice a.amshopby-attr,
div.block-layered-nav dd .single-choice a.amshopby-attr:hover
{background-image: url(https://www.mifarma.pt/skin/frontend/base/default/images/amshopby-rb1.gif);}

div.block-layered-nav dd .single-choice a.amshopby-attr-selected
{background-image: url(https://www.mifarma.pt/skin/frontend/base/default/images/amshopby-rb2.gif);}

div.block-layered-nav dd li.amshopby-cat-level-2 {padding-left:10px;}
div.block-layered-nav dd li.amshopby-cat-level-3 {padding-left:20px;}

div.block-layered-nav dd a.amshopby-cat-selected {font-weight: bold;
color:black; text-decoration: none; cursor:text;}

div.block-layered-nav li.amshopby-cat-multi a {
    padding-left:15px;
    background-image:url(https://www.mifarma.pt/skin/frontend/base/default/images/amshopby-cb1.gif); background-repeat: no-repeat; background-position: left center;
}

div.block-layered-nav li.amshopby-cat-multiselected a {
    font-weight: bold;
    background-image:url(https://www.mifarma.pt/skin/frontend/base/default/images/amshopby-cb2.gif); background-repeat: no-repeat; background-position: left center;
}

div.block-layered-nav dd li span.amshopby-plusminus {float:left;
display:block; width:15px; height:15px; cursor:pointer;
background:transparent url(https://www.mifarma.pt/skin/frontend/base/default/images/amshopby-plus.gif)  no-repeat;}
div.block-layered-nav dd li span.minus {background:transparent
url(https://www.mifarma.pt/skin/frontend/base/default/images/amshopby-minus.gif) no-repeat;}
div.block-layered-nav dd li:after {display:block; content:".";
clear:both; font-size:0; line-height:0; height:0; overflow:hidden; }



div.block-layered-nav.amshopby-collapse-enabled dl dt {
     cursor:pointer;
     padding-left:15px;
     background:url(https://www.mifarma.pt/skin/frontend/base/default/images/amshopby-expanded.gif) center left no-repeat;
}
div.block-layered-nav.amshopby-collapse-enabled dl dt::after {
    border-style: none !important;
}
div.block-layered-nav.amshopby-collapse-enabled dl dt.amshopby-collapsed {background:url(https://www.mifarma.pt/skin/frontend/base/default/images/amshopby-collapsed.gif) center left no-repeat;}
.main .col-left div.block-layered-nav.amshopby-collapse-enabled dl dt{background:url(https://www.mifarma.pt/skin/frontend/base/default/images/amshopby-expanded.gif) center left no-repeat;}
.main .col-left div.block-layered-nav.amshopby-collapse-enabled dl dt.amshopby-collapsed{background:url(https://www.mifarma.pt/skin/frontend/base/default/images/amshopby-collapsed.gif) center left no-repeat;}

.main .col-main div.block-layered-nav.amshopby-collapse-enabled .toggle-content dl dd .no-display {
    display: block!important;
}

div.block-layered-nav div.amshopby-slider {
	 position:relative; margin:10px 4px 5px 4px; z-index:9; height:18px;  background: url(https://www.mifarma.pt/skin/frontend/base/default/images/amshopby-slider-bg.gif) repeat-x 0 50%; cursor:pointer;
}
div.block-layered-nav div.amshopby-slider div.handle {margin-left:-4px; width:8px; top:3px; height:14px; background: transparent url(https://www.mifarma.pt/skin/frontend/base/default/images/amshopby-hadle.png) no-repeat; position: absolute; cursor:move; z-index: 2;}

/*
 * Slider labels
 */
.amshopby-slider-price {
	color: #798794;
}
.amshopby-slider-price-from {
	float: left;
    
}
.amshopby-slider-price-to {
	float: right;
}

.amshopby-slider-handle-right {
	position: absolute;
	top: 14px;
	right: 0px;
}

.amshopby-slider-handle-left {
	position: absolute;
	top: 14px;
	left: 0px;
}

.amshopby-tooltip {
    padding:2px 5px;
    background:#FEC;
    border:1px solid #FAA819;
    color:#1F5070;
    text-align:left;
    width:200px;
    position:absolute;
}

.amshopby-slider-price-range 
{
	text-align: center;
	font-size: 0.9em;
}

.amshopby-tooltip-img {
    cursor:help;
    display: inline;
}

div.block-layered-nav, div.amshopby-page-container, div.amshopby-filters-top {
    position: relative;
}
div.amshopby-overlay {
    background-color: #FFFFFF;
    height: 100%;
    left: 0;
    opacity: 0.5;
    filter: alpha(opacity = 50);
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 555;
}
div.amshopby-overlay img {
    top: 100px;
    left: 45%;
    display: block;
    position: absolute;
}

div.amshopby-overlay div {
    margin: 0 auto;
    display: block;
	width: 300px;
	height: 200px;
	background:  url('https://www.mifarma.pt/skin/frontend/base/default/images/amshopby-overlay.gif') 50% 50% no-repeat;
}

/*
 * Advanced Categories
 */
.amshopby-advanced li {
	clear: both;
}
.amshopby-advanced li.level1 {
	padding-left: 20px;
}
.amshopby-advanced li.level2 {
	padding-left: 30px;
}
.amshopby-advanced li.level3 {
	padding-left: 40px;
}
.amshopby-advanced li.level4 {
	padding-left: 50px;
}


.amshopby-advanced li.active > a {
	font-weight: bold;
}
.amshopby-cat-toggle.amshopby-cat-toggle-hidden {
    display: none;
}

/*
 * Slider Bar
 */
.amshopby-slider-bar {
	position:absolute; 
	background: #999; 
	height: 6px; 
	top: 6px; 
	z-index: 1;  
}

/*
 * Subcategories block
 */
.amshopby-subcategory-image {
	overflow: auto; 
}

.btn-remove-inline { background-image: url('https://www.mifarma.pt/skin/frontend/base/default/images/am_btn_remove.gif'); background-repeat: no-repeat; width:13px; height:12px; margin-left: 4px; }
.btn-remove-inline:hover { /* background-position: center bottom; */ }
.amshopby-hightlighted { background: yellow;}

.btn-remove-inline img {display: inline;}

div.block-layered-nav div.amshopby-slider div.handle.active { z-index: 3; }

.amshopby-slider-ui { background: url(https://www.mifarma.pt/skin/frontend/base/default/images/amshopby-slider-bg.gif) repeat-x 0 50%; margin: 10px .4em; }
.amshopby-slider-ui .ui-slider-handle { background-color: #f18200; border: 1px solid #de5400; box-sizing: border-box; outline: none; }
.amshopby-slider-ui .ui-slider-range { background-color: #999999; }

.ui-widget-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; }
.ui-slider { cursor: pointer; position: relative; text-align: left; }
.ui-slider .ui-slider-handle { position: absolute; z-index: 2; width: 0.8em; height: 1.2em; cursor: pointer; -ms-touch-action: none; touch-action: none; }
.ui-slider .ui-slider-range { position: absolute; z-index: 1; font-size: .7em; display: block; border: 0; background-position: 0 0; }

/* support: IE8 - See #6727 */
.ui-slider.ui-state-disabled .ui-slider-handle,
.ui-slider.ui-state-disabled .ui-slider-range { filter: inherit; }

.ui-slider-horizontal { height: .8em; }
.ui-slider-horizontal .ui-slider-handle { top: -.2em; margin-left: -.4em; }
.ui-slider-horizontal .ui-slider-range { top: 0.2em; height: 8px; }
.ui-slider-horizontal .ui-slider-range-min { left: 0; }
.ui-slider-horizontal .ui-slider-range-max { right: 0; }

.ui-slider-vertical { width: .8em; height: 100px; }
.ui-slider-vertical .ui-slider-handle { left: -.3em; margin-left: 0; margin-bottom: -.6em; }
.ui-slider-vertical .ui-slider-range { left: 0; width: 100%; }
.ui-slider-vertical .ui-slider-range-min { bottom: 0; }
.ui-slider-vertical .ui-slider-range-max { top: 0; }

.amshopby-narrow-by-list table td { vertical-align: top; }

input[name^="amshopby"][id$="from"].input-text, input[name^="amshopby"][id$="to"].input-text{
    width: auto;
}

.amshopby-item-top{
    max-width: 225px;
    min-width: 180px;
    display: inline-block;
    vertical-align: top;
    height: 100%;
}

.amshopby-filters-top .block-content ol{
    max-width: 250px;
}

.amshopby-item-top div.amshopby-column {
    width: auto;
}

.no-display-current, .no-display{
    display: none;
}

.current .no-display-current, dd.current td.no-display{
    display: block;
}

@media only screen and (max-width: 770px) {
    dl#narrow-by-list,
    dl#narrow-by-list2 {
        padding: 0px;
    }
    .main .col-main div.block-layered-nav.amshopby-collapse-enabled .toggle-content dl dt{background:url(https://www.mifarma.pt/skin/frontend/base/default/images/amshopby-collapsed.gif) center left no-repeat;}
    .main .col-main div.block-layered-nav.amshopby-collapse-enabled .toggle-content.accordion-open dl dt.current{background:url(https://www.mifarma.pt/skin/frontend/base/default/images/amshopby-expanded.gif) center left no-repeat;}
}

div.block-layered-nav ol:not(.single-choice) select option[selected] { color:white; background-color: rgba(171, 171, 171, 1); }

.amshopby-apply-button {width: 180px; height: 40px; margin-top: 1em;}

/**
 * All Brands page
 */
.content .ambrands-list {
    min-width: 180px;
}
.mostViewed { margin-bottom:30px; }
.mostViewed ul, .mostViewed ul ul, .mostViewed ol, .mostViewed ul.products-grid, .mostViewed ul.products-list { list-style:none; margin:0; padding:0; }
.mostViewed ul li, .mostViewed .pager .pages ol li { margin-left:0; }

.mostViewed .pager { float:none; border-bottom:1px dotted #ddd; border-top:1px dotted #ddd; padding:10px 10px 5px; margin-bottom:20px; }

.mostViewed .title h2 { font-weight:600; margin:10px 0; }

.mostViewed .products-grid .price-box p { margin-bottom:0; }
.mostViewed ul.products-list.rwd .price-box p { display:inline-block; margin:0 0 0 15px; }
.mostViewed ul.products-list.default .price-box p { margin:0 0 3px; }

.default ul ul.add-to-links { margin-top:5px; }
#cryozonic-stripe-accepted-cards img {
	-moz-transition: opacity .3s ease-in-out;
	-webkit-transition: opacity .3s ease-in-out;
	transition: opacity .3s ease-in-out;
	display: inline-block;
}
#cryozonic-stripe-accepted-cards.cryozonic-stripe-detected img {
	opacity: 0.3;
}
#cryozonic-stripe-accepted-cards.cryozonic-stripe-detected img.active {
	opacity: 1;
}

input#cryozonic_stripe_cc_number {
    background-repeat: no-repeat;
    background-position: right center;
    background-size: contain;
    background-position-x: 80%;
    -moz-transition: background-position-x 0.25s ease-in-out;
    -webkit-transition: background-position-x 0.25s ease-in-out;
    transition: background-position-x 0.25s ease-in-out;
}

input#cryozonic_stripe_cc_number.cctype-detected {
    background-position-x: 99%;
}

.adminhtml-sales-order-create-index #payment_form_cryozonic_stripe input[type="text"]
{
	width: 200px;
}

.dialog_content {
    background-color: #fff;
}
.img-preload {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
    z-index: -1;
}
/* Customer Account */
.saved-cards label {
    display: inline;
}
.saved-cards {
    font-size: 1.15em;
}
.saved-cards li {
    margin: 4px 0;
}
#new-card .form-list select {
    width: auto;
}
#new-card .form-list label {
    float: none;
}
#cryozonic_stripe_cc_cid {
    width: 40px;
}

/* Checkout */
#mandates.saved-cards label {
    font-weight: normal;
    margin-left: 4px;
}
ul#payment_form_cryozonic_stripe {
    padding-left: 20px;
    padding-top: 15px;
}
.adminhtml-sales-order-create-index ul#payment_form_cryozonic_stripe {
    padding: 5px 0 10px;
}
ul#payment_form_cryozonic_stripe li {
    display: block;
}
ul#payment_form_cryozonic_stripe li.stripe-new {
    display: none;
}
ul#payment_form_cryozonic_stripe.stripe-new li.stripe-new {
    display: block;
    margin-left: 20px;
}
/* Idev OSC 3-column fixes */
.onestepcheckout-column-middle ul#payment_form_cryozonic_stripe.stripe-new li.stripe-new {
    margin-left: 0;
}
.onestepcheckout-column-middle ul#payment_form_cryozonic_stripe {
    margin: 10px 0;
    padding-left: 0px;
}
/* ~Idev OSC */
.sp-methods .saved-cards li label {
    float: none;
}
/* Customer Account */
.saved-cards label {
    display: inline;
}
.saved-cards {
    font-size: 1.15em;
}
.saved-cards li {
    margin: 4px 0;
}
#new-card .form-list select {
    width: auto;
}
#new-card .form-list label {
    float: none;
}
#cryozonic_stripe_cc_cid {
    width: 40px;
}

/* Checkout */
#mandates.saved-cards label {
    font-weight: normal;
    margin-left: 4px;
}
ul#payment_form_cryozonic_stripe {
    padding-left: 20px;
    padding-top: 15px;
}
.adminhtml-sales-order-create-index ul#payment_form_cryozonic_stripe {
    padding: 5px 0 10px;
}
ul#payment_form_cryozonic_stripe li {
    display: block;
}
ul#payment_form_cryozonic_stripe li.stripe-new {
    display: none;
}
ul#payment_form_cryozonic_stripe.stripe-new li.stripe-new {
    display: block;
    margin-left: 20px;
}
/* Idev OSC 3-column fixes */
.onestepcheckout-column-middle ul#payment_form_cryozonic_stripe.stripe-new li.stripe-new {
    margin-left: 0;
}
.onestepcheckout-column-middle ul#payment_form_cryozonic_stripe {
    margin: 10px 0;
    padding-left: 0px;
}
/* ~Idev OSC */
.sp-methods .saved-cards li label {
    float: none;
}
.saved-cards {
    margin-top: 14px;
}
.saved-cards input.select {
    position: relative;
    top: -1px;
}
.saved-cards span {
    display: inline-block;
}
.saved-cards span.type {
    font-weight: bold;
    margin-left: 3px;
}
.saved-cards span.exp {
    float: right;
}
.saved-cards label {
    display: inline;
}
.saved-cards span.cryozonic-stripe-fade {
    color: #aaa;
    font-weight: normal;
}
.form-list .saved-cards label {
    float: none;
}
#cryozonic-stripe-card-errors {
    border: 0;
    border-radius: 3px;
    height: 0;
    margin: 0 auto;
    transition: height 1s, margin 1s, border 1s, padding 1s;
    display: inline-block;
    padding: 0 1em;
}
#cryozonic-stripe-card-errors.populated {
    border: 1px hsla(0,100%,50%,0.5) dashed;
    padding: 5px 1em;
    color: #D20;
    height: auto;
    margin: 0.5em auto 1em;
}

/* Card Icons */
#payment_form_cryozonic_stripe span.type.Visa { background: url(https://www.mifarma.pt/skin/frontend/base/default/cryozonic_stripe/img/visa.png) no-repeat; }
#payment_form_cryozonic_stripe span.type.American.Express { background: url(https://www.mifarma.pt/skin/frontend/base/default/cryozonic_stripe/img/amex.png) no-repeat; }
#payment_form_cryozonic_stripe span.type.MasterCard { background: url(https://www.mifarma.pt/skin/frontend/base/default/cryozonic_stripe/img/mastercard.png) no-repeat; }
#payment_form_cryozonic_stripe span.type.Discover { background: url(https://www.mifarma.pt/skin/frontend/base/default/cryozonic_stripe/img/discover.png) no-repeat; }
#payment_form_cryozonic_stripe span.type.Diners { background: url(https://www.mifarma.pt/skin/frontend/base/default/cryozonic_stripe/img/diners.png) no-repeat; }
#payment_form_cryozonic_stripe span.type.JCB { background: url(https://www.mifarma.pt/skin/frontend/base/default/cryozonic_stripe/img/jcb.png) no-repeat; }

#payment_form_cryozonic_stripe span.type.Visa,
#payment_form_cryozonic_stripe span.type.American.Express,
#payment_form_cryozonic_stripe span.type.MasterCard,
#payment_form_cryozonic_stripe span.type.Discover,
#payment_form_cryozonic_stripe span.type.Diners,
#payment_form_cryozonic_stripe span.type.JCB {
    padding-left: 30px;
    background-position-y: -3px;
    background-size: 24px;
}

/* Apple Pay */
ul#payment_form_cryozonic_stripe li#apple-pay-section #apple-pay-button {
    background-color: black;
    background-image: -webkit-named-image(apple-pay-logo-white);
    background-size: 100% 24px;
    background-origin: content-box;
    background-repeat: no-repeat;
    width: 100%;
    min-height: 44px;
    padding: 10px 0;
    border-radius: 10px;
}
ul#payment_form_cryozonic_stripe li#apple-pay-section {
    display: none;
    text-align: center;
    margin-top: 20px;
}
ul#payment_form_cryozonic_stripe.apple-pay-supported li#apple-pay-section,
ul#payment_form_cryozonic_stripe.payment-request-api-supported li#apple-pay-section {
    display: block;
}
ul#payment_form_cryozonic_stripe.apple-pay-supported li#apple-pay-section #payment-request-button {
    display: none;
}
ul#payment_form_cryozonic_stripe.payment-request-api-supported li#apple-pay-section #apple-pay-button {
    display: none;
}
ul#payment_form_cryozonic_stripe li#apple-pay-section label {
    font-weight: bold;
    margin: 10px 0;
    float: none;
    display: block;
}

/* Authorized Apple Pay Result */
.form-list #apple-pay-result label {
    display: inline-block;
    float: none;
}
ul#payment_form_cryozonic_stripe li#apple-pay-result {
    text-align: center;
    font-size: 1.1em;
    display: none;
}
#apple-pay-result > div {
    display: block;
    margin: 5px 0;
}
ul#payment_form_cryozonic_stripe.apple-pay-success li#apple-pay-result {
    display: block;
}
ul#payment_form_cryozonic_stripe.apple-pay-supported.apple-pay-success li#apple-pay-section,
ul#payment_form_cryozonic_stripe.payment-request-api-supported.apple-pay-success li#apple-pay-section {
    display: none;
}
ul#payment_form_cryozonic_stripe.apple-pay-supported.apple-pay-success.stripe-new li.stripe-new,
ul#payment_form_cryozonic_stripe.payment-request-api-supported.apple-pay-success.stripe-new li.stripe-new {
    display: none;
}
ul#payment_form_cryozonic_stripe.apple-pay-supported.apple-pay-success.stripe-new li#cryozonic_stripe_cc_save_div.stripe-new,
ul#payment_form_cryozonic_stripe.payment-request-api-supported.apple-pay-success.stripe-new li#cryozonic_stripe_cc_save_div.stripe-new {
    display: block;
}
ul#payment_form_cryozonic_stripe.apple-pay-success ul#saved-cards {
    display: none;
}

/* Stripe Elements */
#card-details-label {
    display: block;
}
#cryozonic-stripe-card-number {
    width: 225px;
    display: inline-block;
}
.cryozonic-stripe-brand {
    opacity: 0.5;
    height: 24px;
    width: 32px;
    display: inline-block;
    font-size: 20px;
    margin-left: -49px;
    position: relative;
    top: -9px;
}
#cryozonic-stripe-card-expiry {
    width: 93px;
    display: inline-block;
}
#cryozonic-stripe-card-cvc {
    width: 68px;
    display: inline-block;
}
.stripe-elements-field {
    display: inline-block;
    margin: 5px 0 0 0;
    padding: 4px 14px;
    border-style: none;
    background-color: #fefefe;
    box-shadow: 0 6px 9px rgba(50, 50, 93, 0.06), 0 2px 5px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 #fefefe;
    border-radius: 4px;
}
li.cryozonic-stripe-elements.no-wrap {
    white-space: nowrap;
}
.pci-dss-info-block {
    margin: 10px 15px -16px 25px;
    width: 240px;
}
#pci-svg {
    position: relative;
    left: -25px;
    top: 5px;
    opacity: 0.5;
    fill: green;
}
.pci-dss-info-text {
    display: inline-block;
    position: relative;
    top: -20px;
}    margin-top: 14px;
}
.saved-cards input.select {
    position: relative;
    top: -1px;
}
.saved-cards span {
    display: inline-block;
}
.saved-cards span.type {
    font-weight: bold;
    margin-left: 3px;
}
.saved-cards span.exp {
    float: right;
}
.saved-cards label {
    display: inline;
}
.saved-cards span.cryozonic-stripe-fade {
    color: #aaa;
    font-weight: normal;
}
.form-list .saved-cards label {
    float: none;
}
#cryozonic-stripe-card-errors {
    border: 0;
    border-radius: 3px;
    height: 0;
    margin: 0 auto;
    transition: height 1s, margin 1s, border 1s, padding 1s;
    display: inline-block;
    padding: 0 1em;
}
#cryozonic-stripe-card-errors.populated {
    border: 1px hsla(0,100%,50%,0.5) dashed;
    padding: 5px 1em;
    color: #D20;
    height: auto;
    margin: 0.5em auto 1em;
}

/* Card Icons */
#payment_form_cryozonic_stripe span.type.Visa { background: url(https://www.mifarma.pt/skin/frontend/base/default/cryozonic_stripe/img/visa.png) no-repeat; }
#payment_form_cryozonic_stripe span.type.American.Express { background: url(https://www.mifarma.pt/skin/frontend/base/default/cryozonic_stripe/img/amex.png) no-repeat; }
#payment_form_cryozonic_stripe span.type.MasterCard { background: url(https://www.mifarma.pt/skin/frontend/base/default/cryozonic_stripe/img/mastercard.png) no-repeat; }
#payment_form_cryozonic_stripe span.type.Discover { background: url(https://www.mifarma.pt/skin/frontend/base/default/cryozonic_stripe/img/discover.png) no-repeat; }
#payment_form_cryozonic_stripe span.type.Diners { background: url(https://www.mifarma.pt/skin/frontend/base/default/cryozonic_stripe/img/diners.png) no-repeat; }
#payment_form_cryozonic_stripe span.type.JCB { background: url(https://www.mifarma.pt/skin/frontend/base/default/cryozonic_stripe/img/jcb.png) no-repeat; }

#payment_form_cryozonic_stripe span.type.Visa,
#payment_form_cryozonic_stripe span.type.American.Express,
#payment_form_cryozonic_stripe span.type.MasterCard,
#payment_form_cryozonic_stripe span.type.Discover,
#payment_form_cryozonic_stripe span.type.Diners,
#payment_form_cryozonic_stripe span.type.JCB {
    padding-left: 30px;
    background-position-y: -3px;
    background-size: 24px;
}

/* Apple Pay */
ul#payment_form_cryozonic_stripe li#apple-pay-section #apple-pay-button {
    background-color: black;
    background-image: -webkit-named-image(apple-pay-logo-white);
    background-size: 100% 24px;
    background-origin: content-box;
    background-repeat: no-repeat;
    width: 100%;
    min-height: 44px;
    padding: 10px 0;
    border-radius: 10px;
}
ul#payment_form_cryozonic_stripe li#apple-pay-section {
    display: none;
    text-align: center;
    margin-top: 20px;
}
ul#payment_form_cryozonic_stripe.apple-pay-supported li#apple-pay-section,
ul#payment_form_cryozonic_stripe.payment-request-api-supported li#apple-pay-section {
    display: block;
}
ul#payment_form_cryozonic_stripe.apple-pay-supported li#apple-pay-section #payment-request-button {
    display: none;
}
ul#payment_form_cryozonic_stripe.payment-request-api-supported li#apple-pay-section #apple-pay-button {
    display: none;
}
ul#payment_form_cryozonic_stripe li#apple-pay-section label {
    font-weight: bold;
    margin: 10px 0;
    float: none;
    display: block;
}

/* Authorized Apple Pay Result */
.form-list #apple-pay-result label {
    display: inline-block;
    float: none;
}
ul#payment_form_cryozonic_stripe li#apple-pay-result {
    text-align: center;
    font-size: 1.1em;
    display: none;
}
#apple-pay-result > div {
    display: block;
    margin: 5px 0;
}
ul#payment_form_cryozonic_stripe.apple-pay-success li#apple-pay-result {
    display: block;
}
ul#payment_form_cryozonic_stripe.apple-pay-supported.apple-pay-success li#apple-pay-section,
ul#payment_form_cryozonic_stripe.payment-request-api-supported.apple-pay-success li#apple-pay-section {
    display: none;
}
ul#payment_form_cryozonic_stripe.apple-pay-supported.apple-pay-success.stripe-new li.stripe-new,
ul#payment_form_cryozonic_stripe.payment-request-api-supported.apple-pay-success.stripe-new li.stripe-new {
    display: none;
}
ul#payment_form_cryozonic_stripe.apple-pay-supported.apple-pay-success.stripe-new li#cryozonic_stripe_cc_save_div.stripe-new,
ul#payment_form_cryozonic_stripe.payment-request-api-supported.apple-pay-success.stripe-new li#cryozonic_stripe_cc_save_div.stripe-new {
    display: block;
}
ul#payment_form_cryozonic_stripe.apple-pay-success ul#saved-cards {
    display: none;
}

/* Stripe Elements */
#card-details-label {
    display: block;
}
#cryozonic-stripe-card-number {
    width: 225px;
    display: inline-block;
}
.cryozonic-stripe-brand {
    opacity: 0.5;
    height: 24px;
    width: 32px;
    display: inline-block;
    font-size: 20px;
    margin-left: -49px;
    position: relative;
    top: -9px;
}
#cryozonic-stripe-card-expiry {
    width: 93px;
    display: inline-block;
}
#cryozonic-stripe-card-cvc {
    width: 68px;
    display: inline-block;
}
.stripe-elements-field {
    display: inline-block;
    margin: 5px 0 0 0;
    padding: 4px 14px;
    border-style: none;
    background-color: #fefefe;
    box-shadow: 0 6px 9px rgba(50, 50, 93, 0.06), 0 2px 5px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 #fefefe;
    border-radius: 4px;
}
li.cryozonic-stripe-elements.no-wrap {
    white-space: nowrap;
}
.pci-dss-info-block {
    margin: 10px 15px -16px 25px;
    width: 240px;
}
#pci-svg {
    position: relative;
    left: -25px;
    top: 5px;
    opacity: 0.5;
    fill: green;
}
.pci-dss-info-text {
    display: inline-block;
    position: relative;
    top: -20px;
}
/**
 * Magento
 *
 * NOTICE OF LICENSE
 *
 * This source file is subject to the Academic Free License (AFL 3.0)
 * that is bundled with this package in the file LICENSE_AFL.txt.
 * It is also available through the world-wide-web at this URL:
 * http://opensource.org/licenses/afl-3.0.php
 * If you did not receive a copy of the license and are unable to
 * obtain it through the world-wide-web, please send an email
 * to license@magento.com so we can send you a copy immediately.
 *
 * DISCLAIMER
 *
 * Do not edit or add to this file if you wish to upgrade Magento to newer
 * versions in the future. If you wish to customize Magento for your
 * needs please refer to http://www.magento.com for more information.
 *
 * @category    design
 * @package     base_default
 * @copyright   Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
 * @license     http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
 */
.dialog { border:1px solid #555; }
.dialog .bot { display:none !important; }
.overlay_magento { background-color:#000; filter:alpha(opacity=60); -moz-opacity:.6; opacity:.6; -webkit-opacity:.6; }
.top.table_window { border-bottom:1px solid #e6e6e6; background:#6a838b url(https://www.mifarma.pt/skin/frontend/base/default/lib/prototype/windows/themes/magento/top_bg.gif) 0 100% repeat-x; }

.magento_nw { width:6px; height:28px; }
.magento_n { height:28px; }
.magento_ne { width:6px; height:28px; }

.magento_w { width:6px; }
.magento_e { width:6px; }
.magento_w,
.magento_e,
.magento_content { background: #fafafa url(https://www.mifarma.pt/skin/frontend/base/default/lib/prototype/windows/themes/magento/content_bg.gif) 0 0 repeat-x; }

.magento_sw { background:#deebf0; width:5px; height:3px; }
.magento_s { background:#deebf0; height:3px; }
.magento_se,

.magento_sizer { background:#deebf0; width:5px; height:3px; }
.magento_sizer { cursor:se-resize; }

.magento_close { width:16px; height:16px; background:url(https://www.mifarma.pt/skin/frontend/base/default/lib/prototype/windows/themes/magento/window_close.png) no-repeat 0 0; position:absolute; top:5px; right:7px; cursor:pointer; z-index:1000; }
.magento_minimize { width:16px; height:16px; background:url(https://www.mifarma.pt/skin/frontend/base/default/lib/prototype/windows/themes/magento/window_minimize.png) 0 0 no-repeat; position:absolute; top:5px; right:28px; cursor:pointer; z-index:1000; }
.magento_maximize { width:16px; height:16px; background:url(https://www.mifarma.pt/skin/frontend/base/default/lib/prototype/windows/themes/magento/window_maximize.png)0 0 no-repeat; position:absolute; top:5px; right:49px; cursor:pointer; z-index:1000; }

.magento_title { float:left; width:100%; font:bold 12px/28px Arial, Helvetica, sans-serif; color:#fff; text-align:left; }

.magento_content { overflow:auto; font-size:12px; }
.magento_content,
.magento_content label { color:#333; font-family:Arial, sans-serif; }

.magento_buttons { padding:10px; text-align:right; }
.magento_buttons input.button { border-width:1px; border-style:solid; border-color:#ed6502 #a04300 #a04300 #ed6502;  background:#ffac47 url(https://www.mifarma.pt/skin/frontend/base/default/lib/prototype/windows/themes/magento/btn_bg.gif) 0 100% repeat-x; padding:0 7px 1px 7px; font:bold 12px/18px Arial, Helvetica, sans-serif; color:#fff; cursor:pointer; text-align:center; white-space:nowrap; }
.magento_buttons button.button span span span { display:inline; background:none; padding:0; height:auto; }

/* FOR IE */
* html .magento_close { background-image:none; filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src="../themes/magento/window_maximize.png", sizingMethod="crop"); }
* html .magento_minimize { background-image:none; filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src="../themes/magento/window_close.png", sizingMethod="crop");}
* html .magento_maximize { background-image:none; filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src="../themes/magento/window_minimize.png", sizingMethod="crop"); }

/**
 * GoMage Social Connector Extension
 *
 * @category     Extension
 * @copyright    Copyright (c) 2013 GoMage (http://www.gomage.com)
 * @author       GoMage
 * @license      http://www.gomage.com/license-agreement/  Single domain license
 * @terms of use http://www.gomage.com/terms-of-use
 * @version      Release: 1.4.0
 * @since        Class available since Release 1.0.0
 */ 
 
/* Header Fast Links
-------------------------------------------------- */
.header .links li{
  float: none;
  display: inline-block;
  vertical-align: middle;
  }
.header .gs-list{
  padding: 0 !important;
  }
  
/* Fixed height for Google + */
.gs-login [id^="___signin"]{
  height: 20px !important;
  vertical-align: middle !important;
  }
.header .gs-list.last,
.header .gs-list .last{
  background: none !important;
  padding-right: 0 !important;
  }
  
/* Lightcheckout
-------------------------------------------------- */
html .glc-login-and-paypal #gcheckout-login-link,
html .glc-login-and-paypal .gs-login-checkout,
html .glc-rtl.glc-login-and-paypal #gcheckout-login-link,
html .glc-rtl.glc-login-and-paypal .gs-login-checkout{
  float: none;
  display: inline-block;
  vertical-align: middle;
  }
  html .glc-login-and-paypal .gs-login-checkout *{
    vertical-align: middle;
    }
.glc-login-and-paypal .gs-login-ee.gs-login-checkout{
  padding: 0;
  text-align: left;
  }
 
/* Login Page
-------------------------------------------------- */
.gs-login-login,
.gs-login-checkout{
  text-align: right;
  padding: 5px 0;
  }
  .gs-login-login li{
    padding: 0 2px;
    }
  .gs-login li{
    display: inline-block;
    vertical-align: middle;
    }
  .gs-login img{
    vertical-align: middle;
  }
  .gs-login-fast_links li{
    display: block;
    text-align: center;
    }
  .gs-login-fast_links img{
    display: inline-block;
    }
  
/* EE
-------------------------------------------------- */
.gs-login-ee.gs-login-login{
  text-align: left;
  clear: both;
  }
.gs-login-ee.gs-login-checkout{
  padding: 5px 20px;
  text-align: left;
  }
.gs-popup-content {

    position: absolute;
    margin-left: 60%;
    margin-top: 10%;
    background: #ffffff;

    text-align: center;
    z-index: 999;

}
#gsc_message{
    color: red;
}

#gomage-social-overlay,
.overlay_gomage_cp{
    background:#000;
    z-index:2000 !important;
    filter:alpha(opacity=60);
    -webkit-opacity:.6;
    -moz-opacity:.6;
    opacity:.6;
}

/* Popup
-------------------------------------------------- */
#gs-validate-detail{
  padding: 10px 6px 0;
  }
  #gs-validate-detail .form-list label{
    width: auto;
    padding: 0;
    float: left;
    position: relative;
    }
    #gs-validate-detail .form-list label em{
      position: absolute;
      right: -8px;
      margin: 0;
      }
  #gs-validate-detail .input-box,
  #gs-validate-detail .form-list input.input-text{
    width: 100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing   : border-box;
    box-sizing        : border-box;
    }
  #gs-validate-detail .actions{
    overflow: hidden;
    }
    #gs-validate-detail .actions button.button{
      float: right;
      }
  #gs-please-wait{
    float: left;
    position: static;
    margin: 0;
    background: none;
    border: 0;
    padding: 0;
    }
#gs-message{
  color: red;
  clear: both;
  margin: 5px 0;
  }
.dialog-gs .magento_w,
.dialog-gs .magento_e{
  width: 0;
  }
.dialog-gs.dialog,
.dialog-gs.magento_content{
  height: auto !important;
  }
.bannertopmf {
    background: #fd6466;
    color: #FFF;
    display: flex;
    padding: 10px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23);
}

.contenedor-bannertop {
    width: 100%;
    max-width: 1196px;
    margin: 0 auto;
    display: flex;
}

.texto-bannertop {
    font-size: 16px;
    width: 100%;
    display: flex;
}

.texto-bannertop .texto-bannertopizq{
    width: 100%;
    text-align: right;
    padding-right: 10px;
}

.texto-bannertop .texto-bannertopder{
    width: inherit;
    min-width: 438px;
    padding-right: 12px;
}

.texto-bannertop a, .texto-bannertop a:hover, .texto-bannertop a:focus{
    color: #FFF;
    text-align: center;
    width: 100%;
}

.cerrar-bannertop {
    cursor: pointer;
    background: #fff;
    color: #fd6466;
    height: auto;
    text-align: center;
    font-weight: bold;
    margin-top: -2px;
    width: 100%;
    max-width: 100px;
    font-size: 14px;
    line-height: 24px;
    border-radius: 4px;
}

.condiciones-bannertop {
    margin-right: 20px;
    margin-top: 6px;
}

.form-registro-popup input[type=text]{
    max-width: 180px;
    height: 26px;
    border: 0;
    border-radius: 4px;
    background: #ffd1d1;
    color: #333;
}

#btn-registro-popup {
    padding: 2px 8px 6px;
    border-radius: 4px;
    background: #636363;
    cursor: pointer;
}

/* Pantallas pequeñas (<770px) */
@media only screen and (max-width: 770px) {
    .texto-bannertop {
        width: 100%;
        display: block;
    }

    .texto-bannertop .texto-bannertopizq {
        width: 100%;
        text-align: center;
        padding-right: 0px;
    }

    .texto-bannertop .texto-bannertopder{
        min-width: 0px;
        padding-right: 0px;
    }


    .form-registro-popup input[type=text] {
        max-width: 100%;
        width: 100%;
        margin-bottom: 4px;
    }

    #btn-registro-popup {
        float: right;
    }
}
img.lazyload{
    overflow:hidden;
    max-width:100%;
    position:relative;
    display:inline-block;
}

img.lazyloaded.lazyblur{
    -webkit-filter: blur(0px)!important;
    filter: blur(0px)!important;
}

img.lazyloaded {
    image-rendering: initial!important;
}

/* reset cms page std styles */
.std .block-highlight ul,
.std .block-highlight ol { margin: 0; padding: 0; list-style: none; }
.std .block-highlight .add-to-links { margin: 5px 0 0; }
.std .block-highlight .add-to-links li { margin: 0; }
.std .block-highlight .price-box p { margin: 0; }

.block-highlight .block-title { color: #0A263C; font-size: 14px; font-weight: bold; }
.col-main .block-highlight { margin: 0 0 0.7em; }
.block-highlight img { max-width: 100%; height: auto; }
.block-highlight .products-grid { position: static; background: none; }
.block-highlight .products-grid .actions { position: static; }

/* Reviews list mode */
.highlight-review .products-list .author { font-weight: bold; }

/* multicolumns mode */
.block-highlight .products-grid li.item{
    padding: 7px 1%;
    margin: 0 1% 7px;
    clear: none;
    box-sizing: border-box;
}
.block-highlight .products-grid.cols-1 li.item { width: 100%; }
.block-highlight .products-grid.cols-2 li.item { width: 48%; }
.block-highlight .products-grid.cols-3 li.item { width: 31.3%; }
.block-highlight .products-grid.cols-4 li.item { width: 23%; }
.block-highlight .products-grid.cols-5 li.item { width: 18%; }
.block-highlight .products-grid.cols-6 li.item { width: 14.6%; }
.block-highlight .products-grid li.item:last-child { margin: 0 1% 7px; } /* rwd fix */

/* Wide grid for product reviews */
.block-highlight .grid-wide { background: none; border: none; margin: 10px auto; }
.block-highlight .products-grid.grid-wide li.item {
    padding: 12px 1%;
    margin: 0 1% 7px;
    border: 1px solid #eaeaea;
    border-radius: 7px;
    min-height: 100px;
    background: #f8f8f8;
    position: relative;
    text-align: left;
    box-sizing: border-box;
}
.block-highlight .grid-wide li.item:last-child { margin: 0 1% 7px; } /* rwd fix */
.block-highlight .grid-wide li.item .actions { text-align: left; }

.block-highlight .grid-wide.cols-1 li.item { width: 100%; min-height: 80px; margin: 0; }
.block-highlight .grid-wide.cols-2 li.item { width: 48%; }
.block-highlight .grid-wide.cols-3 li.item { width: 31.3%; }
.block-highlight .grid-wide.cols-4 li.item { width: 23%; }
.block-highlight .grid-wide.cols-3 .product-image { width: 90px; }
.block-highlight .grid-wide.cols-3 .product-shop { margin-left: 95px; }
.block-highlight .grid-wide.cols-4 .product-image { width: 80px; }
.block-highlight .grid-wide.cols-4 .product-shop { margin-left: 85px; }

.block-highlight .grid-wide li.last { margin: 0; }
.block-highlight .grid-wide .product-name { font-size: 1em; }
.block-highlight .grid-wide .desc { font-size: 0.9em; }
.block-highlight .grid-wide .link-learn {
    font-size: 11px;
    position: absolute;
    right: 0;
    bottom: 0;
    padding: 1px 8px;
    background: #e3e3e3;
    border-radius: 7px 0 7px 0;
    text-decoration: none;
    color: #777;
}
.block-highlight .grid-wide .link-learn:hover { background: #dadada; }

.block-highlight .products-list .product-image,
.block-highlight .grid-wide .product-image { float: left; width: 33%; height: auto; }
.block-highlight .products-list .product-image img { width: auto; }
.block-highlight .products-list .product-shop,
.block-highlight .grid-wide .product-shop { margin: 0 0 0 33%; padding: 0 0 0 7px; box-sizing: border-box; }

/* Prolabels fix */
.block-highlight .products-list .prolabel-wrapper { float: left; width: 33%; height: auto; }
.block-highlight .products-list .prolabel-wrapper .product-image { float: none; width: auto; height: auto; }

/* Sidebar styles */
.side-col .block-highlight .products-grid,
.sidebar .block-highlight .products-grid { background: none; width: 100%; }
.side-col .block-highlight .products-grid .product-image,
.sidebar .block-highlight .products-grid .product-image { width: auto; height: auto; margin: 0; }

/* Highlight page */
.highlight-index-index .toolbar .sort-by { display: none; }

.block-highlight .clearer { clear: both; }
.block-highlight .page-link { padding: 7px; }

.block-highlight .block-content { zoom: 1; }
.block-highlight .block-content:after { content: '.'; display: block; clear: both; visibility: hidden; height: 0; font-size: 0; }

@media (max-width: 767px) {
    .block-highlight .grid-wide.cols-3 .product-image { width: 70px; }
    .block-highlight .grid-wide.cols-3 .product-shop { margin-left: 75px; }

    /* two columns instead of four for wide grid */
    .block-highlight .grid-wide.cols-4 li.item { width: 48%; padding-left: 2%; padding-right: 2%; }
    .block-highlight .grid-wide.cols-4 li.item:nth-of-type(2n+1) { clear: left; }

    /* Three columns instead of six */
    .block-highlight .products-grid.cols-6 li.item { width: 31.3%; }
    .block-highlight .products-grid.cols-6 li.item:nth-of-type(4n) { clear: left; }
}

@media (max-width: 480px) {
    .block-highlight .products-grid.cols-6 li.item:nth-of-type(4n) { clear: none; }
    /* Two columns for small screen */
    .block-highlight .products-grid li.item { width: 48% !important; padding-left: 2%; padding-right: 2%; }
    .block-highlight .products-grid.cols-1 li.item,
    .block-highlight .grid-wide li.item { width: 100% !important; margin-left: 0; margin-right: 0; }
    .block-highlight .grid-wide li.item:last-child { margin-left: 0; margin-right: 0; }
    /* clear: left for every third li */
    .block-highlight .products-grid.cols-2 li.item:nth-of-type(2n+1),
    .block-highlight .products-grid.cols-4 li.item:nth-of-type(2n+1),
    .block-highlight .products-grid.cols-6 li.item:nth-of-type(2n+1),
    /* clear: left for every third li inside every third .easycatalog-grid */
    .block-highlight .products-grid.cols-3:nth-of-type(2n+1) li.item:nth-of-type(2n+1),
    .block-highlight .products-grid.cols-5:nth-of-type(2n+1) li.item:nth-of-type(2n+1),
    /* clear: left for every second li inside every second .easycatalog-grid */
    .block-highlight .products-grid.cols-3:nth-of-type(2n) li.item:nth-of-type(2n),
    .block-highlight .products-grid.cols-5:nth-of-type(2n) li.item:nth-of-type(2n) { clear: left; }
    .block-highlight .products-grid.cols-3:after,
    .block-highlight .products-grid.cols-5:after { content: ''; clear: none; }
}

.soldtogether-block h2 { }
.soldtogether-block .select-all { float: right; font-size: 12px; font-weight: normal; }
.soldtogether-block .subtitle { color: #555; padding: 0; font-size: 12px; margin-top: -6px; }
.soldtogether-block .products-grid { width:100%; }

.addtocart-checkboxes .product-image-wrapper { position: relative; }
.addtocart-checkboxes .product-image-wrapper .checkbox { position: absolute; right: 0; bottom: 0; }

.soldtogether-block .amazonstyle-images { margin: 10px 0; }
.soldtogether-block .amazonstyle-images li { display: inline;
    background: url(https://www.mifarma.pt/skin/frontend/mifarma/mifarmav2/images/tm/soldtogether/plus.png) no-repeat left center;
    box-sizing: content-box; float: left; padding-left: 20px; padding-right: 5px; }
.soldtogether-block .amazonstyle-images .first { background: none; padding-left: 0; }
.soldtogether-block .amazonstyle-images .last { padding-right: 0; }
.soldtogether-block .amazonstyle-checkboxes { clear: both; }
.soldtogether-block .amazonstyle-checkboxes .price-box { display: inline; margin: 10px 0; }
.soldtogether-block .amazonstyle-checkboxes .price-box .minimal-price-link,
.soldtogether-block .amazonstyle-checkboxes .price-box p { display: inline; }
.soldtogether-block .amazonstyle-checkboxes .minimal-price .price-label { font-weight: normal; }
.soldtogether-block .amazonstyle-checkboxes li { margin: 0; padding: 2px 5px; }
.soldtogether-block .totalprice { font-weight: bold; }
.soldtogether-block .totalprice h5 { display: inline; margin: 5px; }
.soldtogether-block .button-cart { margin: 5px; }

.soldtogether-block .amazonstyle-images { zoom: 1; }
.soldtogether-block .amazonstyle-images:after { content: '.'; display: block; visibility: hidden; clear: both; font-size: 0; height: 0; }
ul.amazonstyle-images>li>a>img { box-shadow: 0 2px 4px rgba(0,0,0,0.2); }

/* retina screen styles */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .soldtogether-block .amazonstyle-images li {
        width: 80px;
        background-size: 8px;
        padding-left: 10px;
        padding-right: 5px;
    }
}

/* RWD theme workaround */
.soldtogether-block .products-grid li.item { padding-bottom: 95px; }
.soldtogether-block .products-grid li.item .actions { min-height: auto; }
.amazonstyle-checkboxes .product-name .map-info > span { float: none; }
.totalprice .price-box .special-price .price-label { display: inline-block; }
.product-view .soldtogether-block .add-to-links { float: none; margin: 0; text-align: center; }
.product-view .soldtogether-block .add-to-links li { float: none; }
.product-view .soldtogether-block .add-to-links li a { border: none; }

/* Checkout Success integration */
.checkout-onepage-success .soldtogether-block .h2 {
    text-transform: uppercase;
    font-size:  20px;
    font-weight: normal;
    border: none;
    padding: 0;
    line-height: 30px;
    background: none;
    color: #000;
}
.checkout-onepage-success .soldtogether-block .select-all,
.checkout-onepage-success .soldtogether-block .product-name input {
    display: none;
}
.checkout-onepage-success .soldtogether-block.addtocart-checkboxes .actions .btn-cart,
.checkout-onepage-success .soldtogether-block.addtocart-checkboxes .actions p.availability {
    display: block;
}

/* RTL styles */
.rtl .soldtogether-block .amazonstyle-images li {
    background-position: right center;
    float: right;
    padding-left: 5px;
    padding-right: 20px;
}
.rtl .soldtogether-block .amazonstyle-images .first { background: none; padding-right: 0; }
.rtl .soldtogether-block .amazonstyle-images .last { padding-left: 0; }
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .rtl .soldtogether-block .amazonstyle-images li {
        padding-left: 5px;
        padding-right: 10px;
    }
}

/**
 * Copyright 2016 The Valdecode Cookie Law Compliance Authors. All rights reserved.
 * Use of this source code is governed by a MIT-style
 * license that can be found in the LICENSE.txt file.
 */
#v-cookielaw { overflow: hidden; background: #fff; color: #444; z-index: 9999; font-size: 13px; }
#v-cookielaw .v-message { padding: 5px 10px; text-align: left; }
#v-cookielaw .v-actions { }
#v-cookielaw .v-button { color: #222; display: inline-block; background-color: #ececec; background-image: linear-gradient(#f4f4f4, #ececec); border: 1px solid #d4d4d4; padding: 4px 10px; text-decoration: none; text-shadow: 1px 1px 0 #fff; border-radius: 2px; }
#v-cookielaw .v-button.v-accept:before { content: "\2714"; }
#v-cookielaw .v-button:hover,
#v-cookielaw .v-button:focus { color: #fff; text-shadow: -1px -1px 0 rgba(0,0,0,0.3); border-color: #3072b3; border-bottom-color: #2a65a0; background-color: #2a65a0; background-image: linear-gradient(#599bdc, #3072b3); }
#v-cookielaw .v-button:active {  border-color: #2a65a0; border-bottom-color: #3884cd; background-color: #3072b3; background-image: linear-gradient(#3072b3, #599bdc); }

#v-cookielaw.v-bar { display: table; width: 100%; padding: 5px 0; }
#v-cookielaw.v-bar .v-message { display: table-cell; }
#v-cookielaw.v-bar .v-actions { display: table-cell; vertical-align: middle; width: 250px; padding-right: 10px; text-align: right; }
#v-cookielaw.v-bar.v-top { position: relative; border-bottom: 1px solid #000; }
#v-cookielaw.v-bar.v-bottom { position: fixed; bottom: 0; border-top: 1px solid #000; }

#v-cookielaw.v-box { position: fixed; max-width: 300px; border: 1px solid #000; border-radius: 3px; margin: 10px; }
#v-cookielaw.v-box .v-actions { float: left; margin: 5px 10px; }
#v-cookielaw.v-box.v-top-left { top: 0; left: 0; }
#v-cookielaw.v-box.v-top-right { top: 0; right: 0; }
#v-cookielaw.v-box.v-bottom-left { bottom: 0; left: 0; }
#v-cookielaw.v-box.v-bottom-right { bottom: 0; right: 0; }

/* RWD */
@media (max-width: 480px) {
    #v-cookielaw.v-box { display: table; width: 100% !important; padding: 5px 0 0; position: fixed; bottom: 0 !important; top: auto !important; border-top: 1px solid #000; max-width: 100%; margin: 0; border-radius: 0; border-right: 0; border-left: 0; border-bottom: 0; }
    #v-cookielaw.v-box .v-message { display: table-cell; }
    #v-cookielaw.v-box .v-actions { display: table-cell; vertical-align: middle; width: 250px; padding-right: 10px; text-align: left; }

    #v-cookielaw .v-message { float: left; }
    #v-cookielaw .v-actions { float: left; margin: 5px 10px; }
    #v-cookielaw.v-bar .v-actions { width: auto; }
}

/* Skin - Yellow Alert */
#v-cookielaw.v-yellow-alert { background: #fffbcd; border-color: #e2cd7b !important; }

/* Skin - Dark Clean */
#v-cookielaw.v-dark-clean { color: #fff; background: #2c2c2c; border-color: #55575f !important; }
#v-cookielaw.v-dark-clean .v-button { color: #fff; text-shadow: -1px -1px 0 rgba(0,0,0,0.3); border-color: #3072b3; border-bottom-color: #2a65a0; background-color: #2a65a0; background-image: linear-gradient(#599bdc, #3072b3); }
#v-cookielaw.v-dark-clean .v-button:hover,
#v-cookielaw.v-dark-clean .v-button:focus { background-color: #3678a0; background-image: linear-gradient(#68abdc, #387cb3); }

/* Skin - Minimalist */
#v-cookielaw.v-minimalist { color: #2c2c2c; background: #f0f0f0; border-color: #e0e0e0 !important; font-size: 11px; font-family: Verdana; }
#v-cookielaw.v-bar.v-minimalist { padding: 2px 0; }
#v-cookielaw.v-box.v-minimalist { width: 260px; }
#v-cookielaw.v-box.v-minimalist .v-actions { margin: 5px; }
#v-cookielaw.v-box.v-minimalist .v-message { padding: 5px; }
#v-cookielaw.v-minimalist .v-button { padding: 3px 6px; }

.wc-overlay{position:absolute;display:none;opacity:0.9;z-index:99999;background:white url('https://www.mifarma.pt/skin/frontend/base/default/webcooking/images/ajax-loader.gif') center 5% no-repeat;}





/* Menú sólo para pantallas pequeñas */
@media only screen and (max-width: 770px) {
    .main {
        margin-top: 1rem;
    }
    .checkout-cart-index .cart .page-title h1 {
        float: none;
        border-bottom: none;
        margin-right: 0;
        margin-bottom: -15px;
        padding: 10px;
        text-align: center;
        color: #787878;
    }
    .cart-totals .checkout-types {
        float: none;
        position: fixed;
        bottom: 0;
        background: white;
        width: 100%;
        left: 0;
        padding: 10px 10px 0;
        -webkit-box-shadow: 0px -2px 6px 0px rgba(110,110,110,1);
        -moz-box-shadow: 0px -2px 6px 0px rgba(110,110,110,1);
        box-shadow: 0px -2px 6px 0px rgba(110,110,110,1);
        z-index: 9;
    }
    .btn-proceed-checkout {
        padding: 10px 20px;
        box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    }
    .checkout-cart-index .cart-table .product-cart-actions .btn-update {
        background: rgba(255, 255, 255, 0.7);
        margin: 0 auto;
        font-weight: bold;
        text-transform: uppercase;
        font-size: 12px;
        color: #636363;
        border-radius: 4px;
        box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
        border: 1px solid;
    }
    .checkout-cart-index .botones-top {
        display: none;
    }
    .checkout-cart-index .cart-table .product-cart-actions .qty {
        margin-right: 1rem;
        width: 82px;
    }
    .checkout-cart-index .btn-remove2 {
        color: rgba(99, 99, 99, 0.5);
    }
    .checkout-cart-index h2.product-name a{
        text-decoration: none;
    }
    .checkout-cart-index .no-busqueda{
        display: none;
    }
}
/* SEARCH BOX */
.ais-search-box--powered-by {
  font-size: .8em;
  text-align: right;
  margin-top: 2px;
}

input::-ms-clear {
  display: none;
}

/* PAGINATION */
#instant-search-pagination-container {
  width: 100%;
  text-align: center;
}
.ais-pagination {
  background-color: transparent;
  border: none;
  box-shadow: none;
  margin: 20px auto;
}
.ais-pagination li {
  display: inline-block;
}
.ais-pagination--item a {
  padding: 5px 10px;
  margin: 0 5px;
  line-height: 25px;
  background-color: white;
  color: #727272;
}

.ais-pagination li.ais-pagination--item__disabled {
  display: none;
}

.ais-pagination--item__active a {
  font-weight: bolder;
  color: #606060;
  text-decoration: underline;
}

.ais-pagination--item.ais-pagination--item__next a,
.ais-pagination--item.ais-pagination--item__previous a {
  font-weight: bold;
  color: #606060;
}

/* REFINEMENT LIST */

.ais-menu--link,
.ais-hierarchical-menu--link,
.ais-price-ranges--link,
.ais-refinement-list--label {
  padding: 4px 10px;
  cursor: pointer;
  color: #636363;
  text-decoration: none;
  display: block;
  font-family: inherit;
  font-weight: inherit;
  font-size: inherit;
}

.ais-hierarchical-menu--item__active > div > .ais-hierearchical-link-wrapper > .ais-hierarchical-menu--link,
.ais-refinement-list--item__active > div > .ais-hierarchical-list--link,
.ais-refinement-list--item__active > div > .ais-refinement-list--label,
.ais-price-ranges--item__active > .ais-price-ranges--link{
  font-weight: bold;
  box-shadow: inset 3px 0 0 #3399cc;
}

.ais-hierearchical-link-wrapper, .ais-refinement-list--item {
  padding: 7px 0px;
}

.ais-refinement-list--label, .ais-hierarchical-menu--link {
  line-height: 1.0em;
  padding: 0px 10px;
}

.ais-refinement-list--label img {
  display: inline;
}

.ais-hierarchical-menu--item__active .ais-hierearchical-link-wrapper .cross-circle,
.ais-refinement-list--item__active .cross-circle {
  display: inline-block;
  width: 12px;
  height: 12px;
  background: url("https://www.mifarma.pt/skin/frontend/mifarma/mifarmav2/algoliasearch/cross-circle.svg") no-repeat center center / contain;
  opacity: 0;
}

.ais-hierarchical-menu--item__active .ais-hierearchical-link-wrapper:hover .cross-circle,
.ais-refinement-list--item__active:hover .cross-circle {
  text-decoration: underline;
  vertical-align: bottom;
  margin-left: 6px;
  opacity: 1;
}

.ais-refinement-list--item:hover {
  text-decoration: underline;
}

.ais-price-ranges--input
{
  width: 70px !important;
}

.ais-price-ranges--label
{
  margin: 5px;
}

.ais-refinement-list--checkbox
{
  margin-right: 10px;
}

#algolia_instant_selector .current-refinements
{
  position: relative;
}

.ais-current-refined-values--link
{
  cursor: pointer;
  color: #636363;
  border-radius: 2px;
  border: solid 1px #DDDDDD;
  background-color: #f4f4f4;
  display: inline-block;
  max-width: 100%;
  white-space: nowrap;
  padding: 0 8px 0 0;
  height: 28px;
  overflow: hidden;
}

.ais-current-refined-values--clear-all
{
  position: absolute;
  right: 6px;
  top: 3px;
  color: #666666;
  font-weight: 500;
}

a.ais-current-refined-values--link:hover
{
  text-decoration: none;
}

.ais-current-refined-values--item {
  margin-top: 8px;
}

.ais-current-refined-values--item:after {
  clear: both;
  content: "";
  display: block;
}

.ais-current-refined-values--item .current-refinement-label {
  font-weight: bold;
}

.ais-current-refined-values--item .cross-wrapper {
  font-weight: bold;
  background-color: #DDDDDD;
  border-radius: 1px 0 0 1px;
  float: left;
  width: 26px;
  height: 26px;
  text-align: center;
  line-height: 26px;
}

.ais-current-refined-values--link:hover .cross-wrapper {
  text-decoration: none;
}

.ais-current-refined-values--link .cross-wrapper img {
  display: inline;
  margin-top: 6px;
}


.ais-current-refined-values--item .current-refinement-wrapper {
  float: left;
  width: calc(100% - 26px);
  height: 26px;
  padding-left: 8px;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 26px;
}

.ais-current-refined-values--link:hover .current-refinement-wrapper {
  text-decoration: line-through;
}

.ais-menu--link:hover,
.ais-price-ranges--link:hover,
.ais-hierarchical-menu--link:hover {
  color: #636363;
}
.ais-menu--count, .ais-hierarchical-menu--count, .ais-refinement-list--count {
  float: right;
  color: #666;
}

/* RANGE SLIDER */

.ais-range-slider--target {
  position: relative;
  direction: ltr;
  background: #F3F4F7;
  height: 6px;
  margin-top: 3em;
  margin-bottom: 4em;
  width: 88%;
  margin-left: 6%;
}

.ais-range-slider--base {
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 1;
  border-top: 1px solid #DDD;
  border-bottom: 1px solid #DDD;
  border-left: 2px solid #DDD;
  border-right: 2px solid #DDD;
}

.ais-range-slider--origin {
  position: absolute;
  right: 0;
  top: 0;
  left: 0;
  bottom: 0;
}

.ais-range-slider--connect {
  background: #b5b6b9;
}

.ais-range-slider--background {
  background: #F3F4F7;
}

.ais-range-slider--handle {
  width: 20px;
  height: 20px;
  position: relative;
  z-index: 1;
  background: #FFFFFF;
  border: 1px solid #c8c8c8;
  border-radius: 50%;
  cursor: pointer;
}

.ais-range-slider--handle-lower {
  left: -10px;
  bottom: 7px;
}

.ais-range-slider--handle-upper {
  right: 10px;
  bottom: 7px;
}

.ais-range-slider--tooltip {
  position: absolute;
  background: #FFFFFF;
  top: -2em;
  min-width: 20px;
  text-align: center;
  font-size: .8em;
}

.ais-range-slider--pips {
  box-sizing: border-box;
  position: absolute;
  height: 3em;
  top: 100%;
  left: 0;
  width: 100%;
}

.ais-range-slider--value {
  width: 40px;
  position: absolute;
  text-align: center;
  margin-left: -20px;
  padding-top: 15px;
  font-size: .8em;
}

.ais-range-slider--value-sub {
  font-size: .8em;
  padding-top: 15px;
}

.ais-range-slider--marker {
  position: absolute;
  margin-left: -1px;
  width: 1px;
  height: 5px;
}

.ais-range-slider--marker-large {
  background: #DDD;
  width: 2px;
  margin-left: -2px;
  height: 12px;
}

.ais-range-slider--marker-large:first-child {
  margin-left: 0;
}

.ais-root__collapsed .ais-body, .ais-root__collapsed .ais-footer {
	display: none;
}

/******************
**
** Auto-completion menu
**
******************/

#algolia-autocomplete-container .aa-dropdown-menu .before_special {
  color: #aaaaaa;
  text-decoration: line-through;
  font-size: 12px;
}

#algolia-autocomplete-container .aa-dropdown-menu .info-without-thumb .category-tag {
    color: #3284b6;
}

#algolia-autocomplete-container .aa-dropdown-menu .info-without-thumb .details {
  font-size: 10px;
  color: #666;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

#algolia-autocomplete-container .aa-dropdown-menu .info-without-thumb .details em {
  color: #222222;
}

#algolia-autocomplete-tt.algolia-autocomplete {
  width: 100%;
  display: inline-block !important;
}

#algolia-autocomplete-container .aa-dropdown-menu {
  position: absolute;
  right: 0px;
  width: 100%;
  z-index: 1000 !important;
  border: 1px solid #e6e6e6;
  border-top: none;
  background: white;
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
  box-shadow: 0 2px 2px rgba(0,0,0,0.12), 0 2px 2px rgba(0,0,0,0.24);
}

@media (min-width: 992px) {
  #algolia-autocomplete-container .aa-dropdown-menu {
    width: 71.1%;
    min-width: 800px;
  }
}

#algolia-autocomplete-container .aa-dropdown-menu .col-2 {
  position: relative;
}

#algolia-autocomplete-container .aa-dropdown-menu .col-2 .col-left {
  width: 67%;
}

#algolia-autocomplete-container .aa-dropdown-menu .col-2 .col-right {
  width: 33%;
}

.result-wrapper .ratings {
  text-align: center;
  width: 100%;
}

.result-wrapper .ratings-wrapper {
  margin: 0 auto;
}

#algolia-autocomplete-container .aa-dropdown-menu .aa-no-results-products {
  padding: 40px 40px;
  min-height: 250px;
}

#algolia-autocomplete-container .aa-dropdown-menu .aa-no-results-products .title {
  font-weight: bold;
  margin-bottom: 30px;
  font-size: 16px;
}

#algolia-autocomplete-container .aa-dropdown-menu .aa-no-results-products .suggestions {
  margin-bottom: 30px;
}

#algolia-autocomplete-container .aa-dropdown-menu .aa-no-results-products .see-all a {
  color: #636363;
  font-weight: bold;
}

#algolia-autocomplete-container .aa-dropdown-menu .aa-no-results {
  padding: 10px;
  font-style: italic;
}

#algolia-autocomplete-container .aa-dropdown-menu .category {
  padding: 4px;
  color: rgb(166, 166, 166);
  text-align: left;
  font-size: 0.8em;
  text-transform: uppercase;
  font-weight: bold;
}

#algolia-autocomplete-container .aa-dropdown-menu .category-suggestions {
  padding: 4px;
  color: #54A5CD;
  text-align: left;
  font-size: 0.7em;
  text-transform: uppercase;
}

#algolia-autocomplete-container .aa-dropdown-menu .algoliasearch-autocomplete-hit {
  display: block;
  position: relative;
  padding: 5px 10px;
  color: #000;
  text-align: left;
  text-decoration: none;
}

#algolia-autocomplete-container .aa-dropdown-menu .other-sections .aa-dataset-suggestions .algoliasearch-autocomplete-hit {
  padding-left: 30px;
}

#algolia-autocomplete-container .aa-dropdown-menu.aa-without-products .col9 {
  background-color: #F9F9F9;
}

#algolia-autocomplete-container .aa-dropdown-menu.aa-without-products #autocomplete-products-footer {
  display: none;
}

#algolia-autocomplete-container .aa-dropdown-menu .aa-dataset-products .aa-suggestion {
  display: inline-block;
  width: 100%;
}

@media (min-width: 768px) {
  #algolia-autocomplete-container .aa-dropdown-menu .aa-dataset-products .aa-suggestion {
    display: inline-block;
    width: 100%;
  }
}


#algolia-autocomplete-container .aa-dropdown-menu .aa-dataset-products .algoliasearch-autocomplete-hit {
  padding: 5px;
}

.autocomplete-wrapper {
  width: 100%;
}

.autocomplete-wrapper:after {
  clear: both;
  content: '';
}

#algolia-autocomplete-container .col9 {
  float: right;
  width: 100%;
}

#algolia-autocomplete-container .col3 {
  float: right;
  width: 100%;
}

#algolia-autocomplete-container.reverse .col3 {
  float: left;
  width: 100%;
}

#algolia-autocomplete-container.reverse .col9 {
  float: left;
  width: 100%;
}

@media (min-width: 768px) {
  #algolia-autocomplete-container .col9 {
    border-left: solid 1px #eeeeee;
    float: right;
    width: 70%;
  }

  #algolia-autocomplete-container .col3 {
    float: right;
    width: 30%;
  }

  #algolia-autocomplete-container.reverse .col3 {
    float: left;
    width: 30%;
  }

  #algolia-autocomplete-container.reverse .col9 {
    border-right: solid 1px #eeeeee;
    float: left;
    width: 70%;
  }
}

#algolia-autocomplete-container .other-sections {
  margin: 20px 10px;
  margin-bottom: 70px;
}


.aa-dataset-products .aa-suggestions {
  margin: 10px auto 10px auto;
}

.aa-dataset-suggestions {
  display: none;
}

@media (min-width: 768px) {
  .aa-dataset-suggestions {
    display: block;
  }
}


@media (min-width: 768px) {
  .aa-dataset-products .aa-suggestions {
    margin: 10px auto 50px auto;
  }
}


.aa-dataset-products .aa-suggestions:after {
  content:'';
  display:block;
  clear: both;
}

#algolia-autocomplete-container .aa-dropdown-menu .other-sections .algoliasearch-autocomplete-hit {
  padding-left: 10px;
}

#algolia-autocomplete-container .aa-dropdown-menu .other-sections .aa-suggestions {
  margin-bottom: 20px;
}

#algolia-autocomplete-container .aa-dropdown-menu .aa-cursor .algoliasearch-autocomplete-hit {
    background-color: #f2f2f2;
}

#algolia-autocomplete-container .aa-dropdown-menu .algoliasearch-autocomplete-hit em {
  font-weight: bold;
  font-style: normal;
}

#algolia-autocomplete-container .aa-dropdown-menu .algoliasearch-autocomplete-price {
  font-size: 1.1em;
  color: #ff6e1d;
  height: 22px;
}

#algolia-autocomplete-container .aa-dropdown-menu .algoliasearch-autocomplete-hit .thumb {
  float: left;
  margin-right: 10px;
}

#algolia-autocomplete-container .aa-dropdown-menu .algoliasearch-autocomplete-hit .thumb img {
  width: 50px;
  max-width: 100%;
}

#algolia-autocomplete-container .aa-dropdown-menu .algoliasearch-autocomplete-hit .info {
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

#autocomplete-products-footer {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 70%;
  background-color: #F9F9F9;
  padding: 15px;
  text-align: center;
  display: none;
}

#algolia-autocomplete-container.reverse #autocomplete-products-footer {
  right: auto;
  left: 0;
}

#algolia-searchbox .algolia-search-input:focus:not([value=""]) {
  box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
}

.aa-dataset-1 .aa-suggestions, .aa-dataset-2 .aa-suggestions {
  margin-top: 15px;
  border-top: 2px solid #e6e6e6;
}

.aa-dataset-0 .aa-suggestion, .aa-dataset-2 .aa-suggestion {
  width: 100%;
}

.aa-suggestion {
  display: inline-grid;
  width: 50%;
}

@media (min-width: 768px) {
  #autocomplete-products-footer {
    display: block;
  }
}

#autocomplete-products-footer span {
  color: #15769c;
  font-weight: 600;
}

#algolia-autocomplete-container .aa-dropdown-menu .algoliasearch-autocomplete-hit .info .algoliasearch-autocomplete-category {
  font-size: 0.8em;
  color: #666;
  white-space: nowrap;
  overflow: hidden;
  max-width: 100%;
  text-overflow: ellipsis;
}

#algolia-autocomplete-container .aa-dropdown-menu .algoliasearch-autocomplete-hit .info .algoliasearch-autocomplete-category em {
  color: #222;
}

#algolia-autocomplete-container .aa-dropdown-menu .footer_algolia {
  position: absolute;
  width: 100%;
  padding: 10px;
  text-align: center;
  bottom: 7px;
  left: 4px;
  font-size: 13px;
}

#algolia-autocomplete-container.reverse .aa-dropdown-menu .footer_algolia {
  left: auto;
  right: 4px;
}

@media (min-width: 768px) {
  #algolia-autocomplete-container .aa-dropdown-menu .footer_algolia {
    width: 30%;
  }
}

#algolia-autocomplete-container .aa-dropdown-menu .footer_algolia span {
  color: #B8B8B8;
  font-size: 10px;
}

#algolia-autocomplete-container .aa-dropdown-menu .footer_algolia img {
  display: inline;
  height: 1.5em;
  vertical-align: bottom;
  max-width: 130px;
}

/**
 * Search Box
*/
#algolia-searchbox{
  margin: 20px 0;
  position: relative;
}

.clear-cross {
  position: absolute;
  display: none;
  background: url("https://www.mifarma.pt/skin/frontend/mifarma/mifarmav2/algoliasearch/clear-cross.svg") no-repeat center center / contain;
  cursor: pointer;
  width: 16px;
  height: 16px;
}

#algolia-searchbox .clear-query-autocomplete {
  top: 13px;
  right: 12px;
}

#algolia_instant_selector .clear-query-instant {
  right: 12px;
  top: 10px;
}

.cross-wrapper .clear-refinement {
  display: block;
  position: relative;
  top: 5px;
  left: 5px;
 }

#algolia-autocomplete-container .aa-suggestions svg.algolia-glass-suggestion.magnifying-glass {
	position: absolute;
	right: auto;
	left: 5px;
	top: 7px;
	fill: #A6A6A6;
	stroke: #A6A6A6;
}

#algolia-searchbox .magnifying-glass {
  position: absolute;
  right: 10px;
  width: 20px;
  height: 20px;
  display: block;
  top: 10px;
  background: url("https://www.mifarma.pt/skin/frontend/mifarma/mifarmav2/algoliasearch/magnifying-glass.svg") no-repeat center right / 20px;
}

#algolia-searchbox .algolia-search-input {
  width: 300px;
  float: right;
}

#algolia-searchbox .algolia-search-input:focus {
  outline: 0;
  box-shadow: none;
  border: solid 1px #54A5CD;
}

/**
 * Instant Search
 */

#algolia_instant_selector {
  margin: 10px;
}

#algolia_instant_selector a,
#algolia_instant_selector a:hover,
#algolia_instant_selector a:focus {
  outline: 0;
}

#algolia_instant_selector:after {
  content: "";
  clear: both;
  display: block;
}

#algolia_instant_selector .category {
}

#algolia_instant_selector .title {
}

#algolia_instant_selector .title img {
  width: 200px;
}

#algolia_instant_selector .text-ellipsis
{
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

#algolia_instant_selector #instant-search-bar {
  float: left;
  width: calc(100% - 140px);
  height: 40px;
  font-family: "Raleway", "Helvetica Neue", Verdana, Arial, sans-serif;
  border: solid 2px #9bbc4e;
  border-left: none;
  padding-left: 6px;
  padding-top: 2px;
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
}

#algolia_instant_selector.with-facets #algolia-right-container {
}

#algolia_instant_selector.with-facets #algolia-left-container {
  min-height: 1px;
}

#algolia_instant_selector .hits .infos {
  margin: 0 15px;
  padding: 6px 10px;
  color: #aaa;
  text-align: center;
  background: #F4F4F4;
  font-size: 12px;
  clear: both;
}
#algolia_instant_selector .hits .infos strong {
  color: #555;
}

#algolia_instant_selector .hits .sort-by-label {
  margin-right: 8px;
}

#algolia_instant_selector .hits .no-results {
  margin: 40px 25px;
  color: #636363;
  font-size: 16px;
}

#algolia_instant_selector a:hover {
  color: #666666;
}

#algolia_instant_selector .hits .no-results strong {
  color: #555;
}

#algolia_instant_selector .hits .no-results .clear-button {
  cursor: pointer;
}

#algolia_instant_selector .hits .no-results .popular-searches {
  text-align: left;
  margin-top: 20px;
  margin-bottom: 30px;
}

/**
 * Facets
 */

#algolia_instant_selector .infos .algolia-logo {
  font-size: 10px;
}

#algolia_instant_selector .facets {
  padding-top: 50px;
}

@media (max-width: 992px) {
  #algolia_instant_selector .facets {
    padding-top: 10px;
  }
}

#algolia_instant_selector .ais-current-refined-values.facet .ais-current-refined-values--body {
  padding-left: 8px;
}

#algolia_instant_selector .facet {
  margin-bottom: 15px;
  padding-bottom: 6px;
  background-color: white;
  border: solid 1px #efefef;
}

#algolia_instant_selector .facet:not(:first-child) {
  margin-top: 10px;
}

#algolia_instant_selector .ais-header {
  margin-bottom: 7px;
}

#algolia_instant_selector .ais-header.ais-current-refined-values--header {
  margin-bottom: 13px;
}

#algolia_instant_selector .facet .name {
  padding: 4px 8px;
  font-weight: 500;
  background-color: #f4f4f4;
  color: #757575;
  text-align: left;
  text-transform: uppercase;
}

.ais-current-refined-values.facet {
  position: relative;
}

#algolia_instant_selector .as-range-slider--base
{
    margin-top: 45px;
}

#algolia_instant_selector .hierarchical .ais-hierarchical-menu--list
{
  padding-left: 10px;
}

#algolia_instant_selector .hierarchical .ais-hierarchical-menu--list.ais-hierarchical-menu--list__lvl0
{
  padding-left: 0px;
}

#algolia_instant_selector .facet .sub_facet:not(:last-child) {
  border-bottom: 1px dotted #e0e0e0;
}

#algolia_instant_selector .text-center {
  text-align: center;
}

#algolia_instant_selector em {
  background-color: #CFEAFA;
  font-style: normal;
}

#algolia_instant_selector h1 {
  margin: 0;
}

#algolia_instant_selector .result {
  display: block;
  margin: 10px 0;
  padding: 10px;
  border: solid 1px #E6E6E6;
  min-height: 344px;
  position: relative;
}

#algolia_instant_selector .price-wrapper {
  height: 25px;
}

#algolia_instant_selector .result:hover {
  border-color: #b9b9b9;
  text-decoration: none;
}

#algolia_instant_selector .result .result-thumbnail {
  text-align: center;
}

#algolia_instant_selector .result .result-thumbnail img {
  display: inline;
  height: auto;
  width: 100%;
  max-width: 120px;
}

#algolia_instant_selector .result .result-thumbnail .no-image {
  display: block;
  height: 148px;
  background: #FAFAFA;
}

#algolia_instant_selector .result .ratings .rating-box {
  margin: 0 auto 10px;
  float: inherit;
}

#algolia_instant_selector h3
{
  margin-bottom: 0;
}

#algolia_instant_selector .result .price {
  text-align: center;
  font-size: 1.2em;
  color: #ff6e1d;
}

#algolia_instant_selector .result .result-title {
  font-size: 13px;
  text-align: center;
  color: #636363;
  margin-bottom: 10px;
}

#algolia_instant_selector .ui-widget-header {
  background-color: #bcbcbc;
}

#algolia_instant_selector .result-thumbnail img {
  width: 100%;
}


/** INSTANT SEARCH BAR **/

#algolia_instant_selector #instant-search-bar-container {
  padding-top: 0px;
  margin-bottom: 15px;
  width: 100%;
  position: relative;
}

#algolia_instant_selector #instant-search-bar-container:after {
  clear: both;
  content: "";
  display: block;
}

#algolia_instant_selector .as-search-box--input {
  width: 100%;
  height: 40px;
  font-family: "Raleway", "Helvetica Neue", Verdana, Arial, sans-serif;
}

#algolia_instant_selector #instant-search-bar:focus {
    outline: 0;
    box-shadow: none;
}

#algolia_instant_selector #instant-search-box label {
  display: none;
}

#algolia_instant_selector .instant-search-bar-label {
  background-color: #9bbc4e;
  height: 40px;
  line-height: 24px;
  padding: 8px 12px;
  color: white;
  float: left;
  width: 140px;
  text-align: right;
  position: relative;
}

#algolia_instant_selector #instant-search-box .icon {
  display: block;
  position: absolute;
  top: 50%;
  left: 8px;
  width: 16px;
  height: 16px;
  transform: translateY(-50%);
  background: url("https://www.mifarma.pt/skin/frontend/mifarma/mifarmav2/algoliasearch/is-icon.svg") no-repeat center center / contain;
}
#algolia_instant_selector #instant-search-box .clear-query-instant {
  top: 50%;
  transform: translateY(-50%);
}

#algolia_instant_selector .before_special {
  color: #aaaaaa;
  text-decoration: line-through;
  font-size: 12px;
}

#algolia_instant_selector button:hover {
  background: #2E8AB8 none repeat scroll 0% 0%;
  cursor: pointer;
}

.ais-price-ranges--button {
  background: #39C none repeat scroll 0% 0%;
  padding: 5px 15px;
  margin-left: 10px;
  border: 0px none;
  color: #FFF;
  font-size: 13px;
  font-weight: normal;
  font-family: "Raleway","Helvetica Neue",Verdana,Arial,sans-serif;
  line-height: 19px;
  text-align: center;
  text-transform: uppercase;
  vertical-align: middle;
}

#algolia_instant_selector button:not(.ais-price-ranges--button) {
  background: #ff6e1d none repeat scroll 0% 0%;
  display: block;
  margin: auto;
  margin-top: 0px;
  padding: 7px 15px;
  border: 0px none;
  color: #ffffff;
  font-size: 13px;
  font-weight: normal;
  font-family: "Raleway","Helvetica Neue",Verdana,Arial,sans-serif;
  line-height: 19px;
  text-align: center;
  text-transform: uppercase;
  vertical-align: middle;
  white-space: nowrap;
  box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);

}

button.sbx-sffv__submit, button.sbx-sffv__reset {
  display: none !important;
}

#algolia_instant_selector button:not(.ais-price-ranges--button):hover {
  background: rgba(255, 110, 29, 0.86) none repeat scroll 0% 0%;
  color: white;
}

#algolia_instant_selector .pull-left {
  float: left;
}

#algolia_instant_selector .pull-right {
  float: right;
}

#algolia_instant_selector #refine-toggle
{
  font-family: "Raleway", "Helvetica Neue", Verdana, Arial, sans-serif;
  text-align: center;
  height: 40px;
  line-height: 40px;
  border: solid 1px #EDEDED;
  margin: 10px 0 20px 0;
  font-weight: bold;
  cursor: pointer;
}

#algolia-static-content
{
  margin-bottom: 20px;
}

/**
** GRID
*/

#algolia_instant_selector, #algolia_instant_selector *,
#search_mini_form, #search_mini_form * {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
#algolia_instant_selector:before, #algolia_instant_selector:after,
#algolia_instant_selector *:before, #algolia_instant_selector *:after,
#search_mini_form:before, #search_mini_form:after,
#search_mini_form *:before, #search_mini_form *:after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  #algolia_instant_selector .col-sm-6 {
    width: 50%;
    float: left;
  }
}

#algolia_instant_selector .col-md-3, #algolia_instant_selector .col-md-4, #algolia_instant_selector .col-md-9, #algolia_instant_selector .col-md-12 {
	position: relative;
	min-height: 1px;
	padding-left: 15px;
	padding-right: 15px;
}

@media (min-width: 992px) {
  #algolia_instant_selector .col-md-3, #algolia_instant_selector .col-md-4, #algolia_instant_selector .col-md-9, #algolia_instant_selector .col-md-12 {
    float: left;
  }
  #algolia_instant_selector .col-md-12 {
    width: 100%;
  }
  #algolia_instant_selector .col-md-9 {
    width: 75%;
  }
  #algolia_instant_selector .col-md-4 {
    width: 33.33333333%;
  }
  #algolia_instant_selector .col-md-3 {
    width: 25%;
  }
}

#algolia_instant_selector .row {
	margin-left: -15px;
	margin-right: -15px;
}

#algolia_instant_selector .row:before, #algolia_instant_selector .row:after {
  content: " ";
  display: table;
}

#algolia_instant_selector .row:after {
  clear: both;
}

#algolia_instant_selector .visible-xs, #algolia_instant_selector .visible-sm {
  display: none !important
}

#algolia_instant_selector .hidden-xs, #algolia_instant_selector .hidden-sm {
  display: block !important
}

@media (max-width: 767px) {
  #algolia_instant_selector .visible-xs {
    display: block !important
  }

  #algolia_instant_selector .hidden-xs {
    display: none!important
  }
}

@media (max-width: 992px) {
  #algolia_instant_selector .visible-sm {
    display: block !important
  }

  #algolia_instant_selector .hidden-sm {
    display: none!important
  }
}

#algolia-autocomplete-container:after, .autocomplete-wrapper:after {
  clear: both;
  content: '';
}

#algolia-right-container .infos.hidden {
	display: none;
}

.algolia-clearfix:after {
	content:"";
	display:block;
	clear:both;
}

.ais-infinite-hits--showmore > button:disabled {
  display:none !important;
}

@media only screen and (max-width: 770px){
  #algolia-autocomplete-container .aa-dropdown-menu .aa-dataset-products .algoliasearch-autocomplete-hit {
    margin: 5px;
  }
  #algolia-autocomplete-container .aa-dropdown-menu {
    border: none;
    margin-top: 10px;
    z-index: 9999 !important;
    top: 81px !important;
    right: 0 !important;
    background: #F4F4F4;
    height: calc(100vh - 80px);
    overflow: scroll;
    position: fixed !important;
    left: 0 !important;
  }
  #search_mini_form {
    position: absolute;
    width: 100%;
    top: 40px;
    left: 0;
    -webkit-box-shadow: 0px 2px 6px 0px rgba(110,110,110,1);
    -moz-box-shadow: 0px 2px 6px 0px rgba(110,110,110,1);
    box-shadow: 0px 2px 6px 0px rgba(110,110,110,1);
    background: #F4F4F4;
    padding: 5px 5px 0;
  }

  #algolia_instant_selector .instant-search-bar-label{
    background: #9bbc4e;
  }

  #algolia-searchbox{
    z-index: 5;
    display: flex;
  }

  .btn-buscar-algolia{
    margin: 0 0 5px 0;
    border: 0;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
    background: #9bbc4e;
    padding: 0 10px;
    color: #FFF;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    height: 40px;
  }

  .no-busqueda{
    position: absolute;
    top: 8px;
    left: 5px;
    z-index: 6;
    width: 30px;
  }

  .algolia-autocomplete input{
    border: none !important;
    width: 100%;
    background: #FFF;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
  }

  .algolia-autocomplete input:focus, .algolia-autocomplete input:active{
    background: #FFF;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
  }
}

