#header {
    background-color: #FFFFFF;
    width: 100%;
}

#header-content {
    margin: 5px 0;
}

.form-search:nth-child(1){
    margin: 0 0 0 10%;
    position: relative;
    z-index: 101;
}

.search-detail {
    position: relative;
    top: 1px;
}


.search-name {
    border: 1px solid #7c7c7b;
    box-sizing: border-box;
    color: #7c7c7b;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    height: 39px;
    letter-spacing: .05em;
    line-height: 39px;
    padding-left: 10px;
    padding-right: 39px;
    width: 100%;
}

.search-name:first-letter{
    text-transform: uppercase;
}


.form-search datalist {
    position: absolute;
    background-color: white;
    border-top: none;
    border-left: 1px solid #7c7c7b;
    border-right: 1px solid #7c7c7b;
    font-family: sans-serif;
    width: 100%;
    padding: 5px;
    max-height: 10rem;
    overflow-y: auto;
    top: 38px;
    z-index: 2;

}

.suggest-goods {
    position: absolute;
    background: white;
    z-index: 101;
    width: 100%;
    max-height: 200px;
    overflow-x: hidden;
    overflow-y: scroll;
    transition: 1s;
}

.suggest-goods a {
    color: #727272;

}

.suggest-goods-item {
    padding: 10px;
}

.suggest-goods-item:hover {
    background: #f6f6f6;
}

.suggest-goods-item:hover a{
    text-decoration: none;
}

.search-icon-background {
    transition: .5s;
    height: 39px;
    width: 39px;
    position: relative;
    float: right;
    top: -39px;
    background: #004884;
    margin-bottom: -16px;
}

.form-search datalist::-webkit-scrollbar {
    width: 0.5em;
}

.form-search option {
    background-color: white;
    padding: 6px;
    color: gray;
    margin-bottom: 1px;
    font-size: 14px;
    cursor: pointer;
    text-transform: lowercase;
}

.form-search option:first-letter{
    text-transform: uppercase;
}

.form-search option:hover, .form-search .active{
    background-color: #f1f1f1;
}
.shadow-block {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: 100;
    background-color: rgba(0, 0, 0, 0.5);
}

#header #logo {
    padding: 10px 20px;
}

#header #logo a img {
    max-width: 100%;
    object-fit: contain;
    cursor: pointer;
    position: relative;
    display: block;
}

#header #search {
    min-width: 150px;
    position: relative;
    width: 100%;
}

#header #search .search-name {
    border: 1px solid #7c7c7b;
    box-sizing: border-box;
    color: #7c7c7b;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    margin: 5px 0px;
    height: 39px;
    letter-spacing: .05em;
    line-height: 39px;
    padding-left: 10px;
    padding-right: 39px;
    width: 100%;
}

/*#header #search .search-icon {
    position: absolute;
    display: block;
    top: 50%;
    right: 10px;
    transform: translate(0,-50%);
    cursor: pointer;
}*/

#header #search .search-icon {
    background: url("/media/img/search-icon.png");
    background-repeat: no-repeat;
    background-position: 0px 0px;
    box-sizing: border-box;
    border: none;
    cursor: pointer;
    display: block;
    height: 39px;
    position: absolute;
    text-indent:-9999px;
    right: 0;
    top: 50%;
    transform: translate(0,-50%);
    width: 39px;
}

/*search-extra*/
#header #search-extra {
    position: relative;
    padding-top: 5px;
    color: #0b4b7d;
    font-size: 13px;
}

#header #search-extra label {
    margin: 0;
}

#header #search-extra .search-detail {
    position: relative;
    top: 1px;
}

/*header-info*/
#header #header-info {
    position: relative;
    width: 100%;
}

#header #header-info .info-list {
    margin: 0 0 0 auto;
    padding: 0;
    display: flex;
    -webkit-box-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    align-items: center;
}

#header #header-info .info-list-item {
    list-style: none;
    position: relative;
    text-align: center;
}

#header #header-info .info-list-item a {
    text-decoration: none;
}

#header #header-info .phone-number {
    display: flex;
    justify-content: center;
    color: #0b4b7d;
    font-weight: bold;
    font-size: 18px;
    text-align: center;
    margin-top: 1%;
}

#header #header-info .phone-number-hot {
    margin-top: -19px;
}

#header #header-info .phone-number-hot img {
    margin-top: 19px;
}

#header #header-info .phone-number img {
    margin-right: 10px;
    height: 30px;
}

#header #header-info .phone-number div a {
    color: #0b4b7d;
    text-decoration: none;
}

#header #header-info .phone-number div a:hover {
    color: #ff2f00;
    text-decoration: underline;
}

#header #header-info .phone-number .phone-number-text {
    margin: 0;
    font-size: 15px;
}

#header #header-info .call-me {
    color: #0b4b7d;
    font-size: 15px;
    text-decoration: underline;
    text-align: center;
    align-items: center;
    justify-content: center;
}

#header #header-info .info-list-item .b2b-style {
    color: #f8ab5f;
}

#header #header-info .info-list .info-list-title {
    font-size: 11px;
    color: #0b4b7d;
    position: relative;
    top: -7px;
    text-align: center;
}

#header .header-cart-basket-count, #link-nav768 .header-cart-basket-count {
    line-height: 1.7;
    display: none;
    text-align: center;
    color: #fff;
    position: absolute;
    top: 6px;
    right: -6px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #f8ab5f;
    font-size: 13px;
}

#header .header-cart-basket-count.show, #link-nav768 .header-cart-basket-count.show {
    display: block;
}

#header .header-favoritelist-count, #link-nav768 .header-favoritelist-count {
    line-height: 1.7;
    display: none;
    text-align: center;
    color: #fff;
    position: absolute;
    top: 6px;
    right: -6px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #f8ab5f;
    font-size: 13px;
}

#header .header-favoritelist-count.show, #link-nav768 .header-favoritelist-count.show {
    display: block;
}

#header .account-info .account-info-icon {
    width: 50px;
}

#header .account-info .account-info-underline {
    font-size: 11px;
    color: #0b4b7d;
    text-align: center;
    top: -8px;
    
}

@media (max-width: 768px) {
    .form-search:nth-child(1) {
        transition: all 0.3s ease;
    }

    .form-search:nth-child(1).fixed {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 101;
        background: #0b4b7d;;
        padding: 2px 10px;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        height: min-content;
        margin: 0;
    }

    .form-search:nth-child(1).fixed .suggest-goods {
        position: static;
    }

    #header-content {
        height: 49px;
    }
}

/*-----------------------------------------------#link-nav768 ----------------------------------------------------*/

#link-nav768 {
    display: none;
    padding: 10px 0 10px 0;
}

#link-nav768 #header-info {
    position: relative;
    width: 100%;
}

#link-nav768 #header-info .info-list {
    margin: 0 0 0 auto;
    padding: 0;
    display: flex;
    -webkit-box-pack: justify;
    justify-content: flex-end;
    -webkit-box-align: center;
    align-items: center;
}

#link-nav768 #header-info .info-list-item {
    list-style: none;
    position: relative;
    text-align: center;
}

#link-nav768 #logo a img {
    max-width:100%;
    object-fit: contain;
    cursor: pointer;
    position: relative;
    display: block;
    padding: 0;
    height: 50px;
}

#link-nav768 .logo-menu {
    background-image: url("/media/img/menu_mobile.png");
    background-repeat: no-repeat;
    background-size: 31px 22px;
    background-position: left center;
    color: #FFFFFF;
    height: 59px;
    display: block;
    position: relative;
    padding: 0;
}

@media (max-width: 1235px) {
    #header #header-info .phone-number .phone-number-text {
        font-size: 15px;
        margin-left: 0px !important;
    }
    #header #header-info .phone-number div a {
        font-size: 15px;
    }
    #header #header-info .phone-number img {
        display: none;
    }
}

@media (max-width: 1060px) {
    #header #header-info .phone-number .phone-number-text {
        font-size: 13px;
    }
    #header #header-info .phone-number .phone-number-hottext {
        margin-left: 8px !important;
    }
    #header #header-info .phone-number div a {
        font-size: 14px;
    }
}

@media (max-width: 991px) {
    #link-nav768 {
        display: block;
    }
    .header-logo-md {
        display: none;
    }

    #header {
        background-color: #0b4b7d;
    }

    #header #search-extra {
        color: #FFFFFF;
    }
}

.menu-lang-items {
    padding: 0;
    display: flex;
    -webkit-box-pack: justify;
    justify-content: flex-end;
    -webkit-box-align: center;
    align-items: center;
    min-height: 20px;
}

.menu-lang-item {
    display: flex;
    padding-right: 10px;
    padding-left: 10px;
}

.menu-lang-item a.current-item {
   font-weight: bold;
    color: #0072bc;
}

.max-height {
    max-height: 25px;
}

/*----------------------------------------------- Mobile bottom bar ----------------------------------------------------*/
.fixed-bottom .header-cart-basket-count {
    line-height: 1.4;
    display: none;
    text-align: center;
    color: #fff;
    position: absolute;
    top: 0;
    left: 34px;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    background-color: #f8ab5f;
    font-size: 13px;
}

.fixed-bottom .header-cart-basket-count.show {
    display: block;
}

#mob_bot_nav {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

#mob_bot_nav.hidden {
    transform: translateY(100%);
    opacity: 0;
    visibility: hidden;
}