/*
0.HEADER :: Fix Nav
1.HEADER :: PreHeader
2.HEADER :: Icons
3.HEADER :: Dropdown PreHeader
4.HEADER :: Menu
5.HEADER :: DropDown SHOP
6.HEADER :: Área Médica
*/

/*------------------------------------
0.HEADER :: Fix Nav
------------------------------------*/
.navbar-fixed {
    top: 0;
    z-index: 999;
    position: fixed;
    width: 100%;
}

.navbar-fixed .navbar-brand img {
    width: 100px !important;
    height: auto;
}

.navbar-fixed .nav-item {
    padding: 10px 0px !important;
    transition: padding .75s;
}

header.navbar-fixed nav.navbar.main-menu .navbar-shop .nav-item {
    padding: 6px 0px 6px 6px !important;
    transition: padding .75s;
}

.am-logo-header {
    text-align: center;
    width: 100%;
}

/*------------------------------------
1.HEADER :: PreHeader
------------------------------------*/
header div.preHeader {
    border-top: 5px solid #243749;
    background-color: #00b9ea;
}

header div.preHeader .navbar {
    padding: 0;
}

header div.preHeader .navbar ul {
    padding: 0;
    margin: 0;
}

header div.preHeader .navbar ul li {
    margin-right: 25px;
    padding: 8px 0 !important;
}

header div.preHeader .navbar ul li:last-child {
    margin-right: 0;
}

header div.preHeader .navbar ul li a {
    font-size: 14px;
    color: #ffffff;
    line-height: 1em;
    font-weight: 400;
    letter-spacing: 0.25px;
    cursor: pointer;
}

header div.preHeader .navbar ul li.dark a {
    color: #243749;
    font-weight: 700;
}

header div.preHeader .navbar ul li a:hover {
    opacity: 0.75;
}

header div.preHeader .navbar ul li span {
    font-size: 12px;
    color: #ffffff;
    line-height: 1em;
    font-weight: 400;
    letter-spacing: 0.25px;
    padding-left: 3px;
}


/*------------------------------------
2.HEADER :: Icons
------------------------------------*/
header i.fas {
    color: #ffffff;
    font-size: 12px;
    margin-right: 5px;
}

@-moz-document url-prefix() {
    header i.fas {
        margin-top: -13px;
    }
}


header .dark i.fas {
    color: #243749;
    font-size: 14px;
}

header i.fas.fa-phone {
    -moz-transform: scaleX(-1);
    -o-transform: scaleX(-1);
    -webkit-transform: scaleX(-1);
    transform: scaleX(-1);
}

header i.fas.fa-user {
    position: relative;
    top: -1px;
    font-size: 11px;
}

header div.preHeader .dropdown-toggle::after {
    top: 3px;
    position: relative;
}


/*------------------------------------
3.HEADER :: Dropdown
------------------------------------*/
header div.preHeader .dropdown-menu {
    background: #00b9ea;
    border: none;
    border-radius: 1px;
    padding: 0;
    margin-left: -15px;
    width: 200px;
    z-index: 9999;
}

header div.preHeader .dropdown-menu a {
    padding: 10px 15px;
    border-bottom: 1px solid #47c9ec;
}

header div.preHeader .dropdown-menu a:last-child {
    border-bottom: none;
}

header div.preHeader .dropdown-menu a:hover {
    background: transparent;
}

header div.preHeader .dropdown-menu.language {
    width: 50px;
    max-width: none;
    min-width: 0;
    margin-top: 0;
}


/*------------------------------------
4.HEADER :: Menu
------------------------------------*/
header nav .dropdown.over:hover .dropdown-menu {
    display: block;
    margin-top: 0;
}

header nav.navbar.main-menu {
    border-bottom: 1px solid #eceff2;
    background: #ffffff !important;
    padding: 3px 0 0;
}

header nav.navbar.main-menu.intern {
    border-bottom: 1px solid #eceff2;
    background: #00B5E2 !important;
    padding: 23px 0;
}

header nav.navbar.main-menu .container {
    padding: 0;
}

header nav.navbar.main-menu .row {
    width: 100%;
    display: block;
    position: relative;
    margin: 0;
}

header nav.navbar.main-menu .navbar-brand img {
    transition: width .25s;
    width: 135px;
}

header nav.navbar.main-menu .navbar-collapse .nav-item {
    position: relative;
    padding: 17.5px 0;
}

header nav.navbar.main-menu .navbar-collapse .nav-item a {
    color: #243749;
    font-weight: 400;
    font-size: 16px;
    letter-spacing: .25px;
    padding: 4px 16px;
    border-right: 1px solid #b4bec5;
}

html[lang="fi"] header nav.navbar.main-menu .navbar-collapse .nav-item a {
    padding-left: 14px;
    padding-right: 14px;
}

header nav.navbar.main-menu .navbar-collapse .nav-item.active:after {
    content: "active";
    position: absolute;
    width: 100%;
    height: 4px;
    background: #00b9ea;
    overflow: hidden;
    text-indent: -999em;
    font-size: 0;
    bottom: -2px;
}

header nav.navbar.main-menu .navbar-collapse .nav-item .dropdown-toggle::after {
    top: 3px;
    position: relative;
}

header nav.navbar.main-menu .nav-item .nav-link:hover {
    opacity: 0.75;
}

header nav.navbar.main-menu .navbar-collapse .nav-item .dropdown-menu {
    border-radius: 1px;
    padding: 0;
    margin-left: 0;
    margin-top: 0px;
    border: 1px solid #eceff2;
    z-index: 9999;
}

header nav.navbar.main-menu .navbar-collapse .nav-item .dropdown-menu a {
    padding: 8px 15px;
    border-bottom: 1px solid #eceff2;
    border-right: none;
}

header nav.navbar.main-menu .navbar-collapse .nav-item .dropdown-menu a:last-child {
    border-bottom: none;
}

header nav.navbar.main-menu .navbar-collapse .nav-item .dropdown-menu a:hover {
    background: #00b9ea;
    color: #ffffff;
}

header nav.navbar.main-menu .navbar-shop {
    margin: 0;
    padding: 0;
}

header nav.navbar.main-menu .navbar-shop .nav-item {
    padding: 13.5px 0 13.5px 6px;
}



/*------------------------------------
5.HEADER :: DropDown SHOP
------------------------------------*/
#shopDropdown {
    position: relative;
    padding-right: 20px;
}

.nav-item.shop .dropdown-shop.showing {
    display: block;
}

#shopDropdown i {
    font-size: 23px;
    color: #243749;
}

#shopDropdown.dropdown-toggle::after {
    display: none !important;
}

#shopDropdown .quantity {
    position: absolute;
    line-height: 1em;
    background: #00b9ea;
    border-radius: 3px;
    color: #ffffff;
    font-size: 9px;
    font-weight: 400;
    padding: 4px 6px;
    top: 12px;
    right: 0;
}

#shopDropdown .quantity:after {
    content: "Productos listos para comprar";
    position: absolute;
    left: -4px;
    top: 3px;
    bottom: 0;
    font-size: 0;
    text-indent: -999em;
    background: url('../images/icons/arrow.png') center center no-repeat transparent;
    width: 5px;
    height: 12px;
    display: block;
}

.nav-item.dropdown.shop .dropdown-menu {
    right: -5px;
    left: auto;
    border: 1px solid #eceff2;
    border-top: none;
    padding: 0;
    border-radius: 1px;
    width: 300px;
    margin-top: 0;
}

.nav-item.dropdown.shop .dropdown-menu h6 {
    padding: 12px 15px !important;
    font-size: 16px;
    font-weight: 700;
    list-style: none;
    padding: 8px 12px;
    border-bottom: 1px solid #243749;
}

.nav-item.dropdown.shop .dropdown-menu h6 .close-shopping {
    padding: 0 !important;
    margin: 0;
    display: block;
    background: transparent !important;
}

.nav-item.dropdown.shop .dropdown-menu h6 .close-shopping:hover {
    opacity: 0.75;
}

.nav-item.dropdown.shop .dropdown-menu h6 .close-shopping i {
    color: #243749;
    margin: 0;
    position: relative;
    top: 5px;
    right: 1px
}

.nav-item.dropdown.shop ul.shopping {
    margin: 0 0 12px;
    padding: 0;
}

.nav-item.dropdown.shop ul.shopping li.shop-item {
    list-style: none;
    padding: 8px 12px;
    border-bottom: 1px solid #eceff2;
    display: block;
    position: relative;
}

.nav-item.dropdown.shop ul.shopping li.shop-item img {
    max-width: 65px;
    height: auto;
    margin-right: 0;
    position: relative;
    left: -8px;
}

.nav-item.dropdown.shop ul.shopping li.shop-item div {
    vertical-align: top;
    max-width: 145px;
    margin: 0;
}

.nav-item.dropdown.shop ul.shopping li.shop-item div p {
    font-size: 15px;
    line-height: 1.2em;
    margin-top: 2px;
    height: 38px;
}

.nav-item.dropdown.shop ul.shopping li.shop-item div .cantidad {
    margin-top: 5px;
    margin-bottom: 5px;
    max-width: 80px;
}

.nav-item.dropdown.shop ul.shopping li.shop-item div.fr {
    width: 50px;
    margin: 0;
    text-align: right;
}

.nav-item.dropdown.shop ul.shopping li.shop-item div.fr a.delete {
    right: 5px;
    cursor: pointer;
    display: block;
    width: 12px;
    height: 12px;
    margin: 7px 2px 0 0;
    border: none;
    padding: 0;
    text-align: right;
    float: right;
    background: transparent !important;
}


.nav-item.dropdown.shop ul.shopping li.shop-item div.fr i {
    color: #eceff2;
    opacity: 1;
    margin: 0;
    position: relative;
    display: block;
    top: 0;
}

.nav-item.dropdown.shop ul.shopping li.shop-item div.fr i:hover {
    color: red;
    opacity: 1;
}

.nav-item.dropdown.shop ul.shopping li.shop-item div.fr span {
    position: absolute;
    bottom: 10px;
    right: 16px;
}

.nav-item.dropdown.shop .dropdown-menu .shop-discount {
    margin: 5px;
    padding: 10px 15px 11px;
    background: #f2f2f2;
    border-radius: 5px;
}

.nav-item.dropdown.shop .dropdown-menu .shop-discount p {
    line-height: 1.3em;
    color: #243749;
    font-weight: 400;
    font-size: 16px;
}

.rsc-basket p {
    font-size: 17px !important;
}

.rsc-basket p span {
    font-weight: 900;
    color: #00b9ea;
}

.nav-item.dropdown.shop .dropdown-menu .shop-total {
    margin: 5px;
    padding: 10px 15px 11px;
    background: #e8f7ff;
    border-radius: 5px;
}

.nav-item.dropdown.shop .dropdown-menu .shop-total p {
    color: #0065bd;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3em;
}

.nav-item.dropdown.shop .dropdown-menu .shop-btn {
    margin: 5px;
}


/*------------------------------------
6.HEADER :: Área médica
------------------------------------*/

.am-dropmenu-ico {
    margin-top: -6%;
}

.am-interesante-icon {
    position: relative;
    top: 0px;
    margin-right: 5px;
    display: inline-block;
    width: 11px;
    height: 12px;
    background: url('../images/icons/am/interesante.svg') center center no-repeat transparent;
}

.am-patologias-icon {
    position: relative;
    top: 0px;
    margin-right: 3px;
    display: inline-block;
    width: 17px;
    height: 19px;
    background: url('../images/icons/am/bacteria_w.svg') center center no-repeat transparent;
}

.am-eclinicos-icon {
    position: relative;
    top: 0px;
    margin-right: 3px;
    display: inline-block;
    width: 14px;
    height: 15px;
    background: url('../images/icons/am/estudios_clinicos_w.svg') center center no-repeat transparent;
}

.am-recomend-header-icon {
    position: relative;
    top: 0px;
    margin-right: 3px;
    display: inline-block;
    width: 14px;
    height: 15px;
    background: url('../images/icons/am/recomend_doctor_w.svg') center center no-repeat transparent;
}

.am-bell-notify {
    position: relative;
    top: -2px;
    margin-right: 3px;
    display: inline-block;
    width: 17px;
    height: 18px;
    background: url('../images/icons/am/bell-solid.svg') center center no-repeat transparent;
    background-size: cover;
}

.am-bell-notify.new-not-color {
    background: url('../images/icons/am/bell-not.svg') center center no-repeat transparent;
    width: 17px;
    height: 18px;
    background-size: cover;
}

.am-contador-notify {
    font-size: 10px !important;
    color: #00b9ea !important;
    font-style: normal !important;
    font-weight: 900 !important;
    line-height: 17px;
}

.new-not-color .am-contador-notify {
    color: #243749 !important;
}

.am-cta-header {
    border-radius: 5px;
    padding: 5px 13px;
    text-decoration: none;
    font-size: 12px;
    letter-spacing: 0.02em;
    font-weight: bold;
    background-color: #83DF84;
    color: #fff;
}

.am-cta-header:hover {
    background-color: #56C658;
    color: #fff;
    transition: all 0.18s;
}