/* head */
.cssbutton {
    background-color: #04AA6D;
    color: var(--color-white);
    outline: none;
    border: transparent;
    padding: 8px;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
}

.cssbutton1 {
    background-color: #04AA6D;
    color: var(--color-white);
    outline: none;
    border: transparent;
    padding: 6px;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
}

.header {
    width: 100%;
    height: auto;
    /*padding: 10px;*/

    background-color: var(--color-white);
}

.header-bar {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 0 5px;
}

.header-item {
    display: flex;
    align-items: center;

}

.menu-bar {
    padding-right: 15px;
}

.head-logo {
    /*height: 100px;*/
    max-height: 100%;
}

.img-logo {
    height: 100%;
}

/* ------------------------------ Notification --------------------------- */
.head-icon {
    position: relative;
   /* height: 30px;*/
    max-height: 100%;
    /*padding-right: 15px;*/
}

.bell-icon {
    height: 100%;
    filter: invert(56%) sepia(25%) saturate(0%) hue-rotate(265deg) brightness(94%) contrast(92%);
} 

.head-icon-box {
    position: absolute;
    top: 52px;
    right: 0;
    width: auto;
    white-space: nowrap;
    background-color: #97daf7;
    box-sizing: border-box;
    padding: 8px;
    border-radius: 4px;
    animation: fadeIn ease .4s;
    z-index: 7;

    display: none;
}

.head-icon-box::before {
    content: "";
    position: absolute;
    top: -16px;
    right: 17px;
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-bottom: 20px solid #97daf7;
}

.head-icon:hover .head-icon-box {
    /* display: block !important; */
}

.icon-box_list {
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    background-color: var(--color-white);
    padding: 5px;

    display: none;
}


.icon-box_item{
    padding: 5px 4px;
}

.icon-box_list-icon {
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    background-color: var(--color-white);
    padding: 5px;

    display: none;
}

.icon-box_image { 
    width: 50px;
    max-width: 100%;
}

.box_image {
    width: 100%;
}


/* --------------------------- X X X -------------------------------- */

/* ------------------------------- AVATAR -------------------------------- */
.head-username {
    position: relative;
    height: 40px;
    width: 40px;
    max-height: 100%;
    max-width: 100%;
}

.img-avatar {
    height: 100%;
    object-fit: cover;
    border-radius: 50%;  
}

.head-username-box {
    position: absolute;
    top: 60px;
    right: 0;
    width: auto;
    white-space: nowrap;
    min-height: 50px;
    background-color: #97daf7;
    border-radius: 5px;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    box-sizing: border-box;
    padding: 8px;
    animation: fadeIn ease .4s;
    z-index: 7;

    display: none;
}

.username-box_list {
    padding: 10px 0px;
    width: 100%;
    height: 100%;
    background-color: var(--color-white);
    box-sizing: border-box;
}

.username-box_item {
    display: flex;
    flex-direction: column;
}

.username-box_link {
    text-decoration: none;
    padding: 4px 20px;
    color: #087daf;
    font-weight: 600;
}

.head-username:hover .head-username-box{
    display: block !important;
}

.head-username-box::before {
    content: "";
    position: absolute;
    top: -16px;
    right: 6px;
	width: 0;
	height: 0;
	border-left: 15px solid transparent;
	border-right: 15px solid transparent;
	border-bottom: 20px solid #97daf7;
}

.username-box_decor {
    position: absolute;
    width: 40px;
    bottom: -4px;
    right: -7px;
}

/* --------------------------- X X X -------------------------------- */


.header-search {
    margin-top: 20px;
}

.search {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 40px;
    background-color: #EFEDED;
    border-radius: 5px;
    box-sizing: border-box;
    padding: 5px 5px;
}

.search-icon {
    display: flex;
    align-items: center;
    padding: 0px 5px;
}

.search-icon img {
    filter: invert(56%) sepia(25%) saturate(0%) hue-rotate(265deg) brightness(94%) contrast(92%);
}

.search-input {
    display: flex;
    align-items: center;
    width: 100%;
}

.input-search {
    width: 100%;
    height: 30px;
    font-size: 16px;
    padding-right: 5px;
    border: transparent;
    background: transparent;
    color: #8b8b8b;

    outline: none;
}

.input-search::placeholder {
     color: #acacac;
}

/* Container */
.container {
  /*  min-height: 100vh;*/
    background-color: white;
}


.scroller-container {
    position: relative;
    overflow: hidden;
    
    padding: 0 10px 10px 10px;
    background-color: var(--color-white);
    z-index: 1;
}

.scroller {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none; /* hide scrollbar */
    -webkit-overflow-scrolling: touch;

}

.items {
    display: flex;
    scroll-snap-align: start;
    justify-content: flex-start;
    height: 160px;
    max-height: 100%;
}

.items .img-element {
    display: block;
    margin-right: 10px;
    scroll-snap-align: start;
    flex-shrink: 0;
    cursor: grab;
    user-select: none; /* prevent text selection */
    border-radius: 5px;
    height: 100%;
    width: 250px;
    max-width: 100%;
    /* object-fit: cover; */
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}

.items .img-element:last-child {
    margin-right: 0px;
}

.items 
  img:active {
    cursor: grabbing;
}

.topic-container {
    padding: 0 5px;
    margin-top: 20px;
}

.topic {
    display: flex;
    flex-wrap: wrap;
    width: 100%;

}

.topic-items {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    /*width: 20%;*/
    text-align: center;
    box-sizing: border-box;
    padding: 10px;
}

.topic-icon {
    height: 50px;
    width: 50px;
    max-width: 100%;
    max-height: 100%;

    background-color: var(--color-white);
    padding: 4px;
    border-radius: 5px;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}

.topic-icon .icons {
    height: 100%;
}

.topic-name {
    margin-top: 3px;
    box-sizing: border-box;
}

/*  */
.ratings-container {
   /* margin-top: 20px;*/
}

.top-topic {

}

.top-title {
    display: flex;
    justify-content: space-between;
    padding: 0 12px;
}

.link-more {
    text-decoration: none;
    color: #2e2e2e;
    display: none;
}

.top-list {
    display: flex;
    flex-wrap: wrap;
    margin-top: 10px;
    box-sizing: border-box;
    padding: 0 7px 5px 7px;
}

.top-list-items {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
   /* min-height: 200px;*/
    box-sizing: border-box;
    padding: 5px 5px 10px 5px;

}

.bg-top {
    width: 100%;
    height: 100%;
    background-color: var(--color-white);
    text-decoration: none;
    display: flex;
    padding: 5px;
    box-sizing: border-box;
    border-radius: 5px;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;


}

.image-topic-list {
  /*  width: 250px;*/
    height: 100%;
    max-width: 100%;
}

.top-list_image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.description-topic-list {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-sizing: border-box;
    padding: 0 10px;
    width:100%;
}

.top-list_name h4{
    color: black;
}

.top-list_desc {
    box-sizing: border-box;
    padding-top: 2px;
}

.top-list_desc p{
    color: #2e2e2e;
}

.top-list_button {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    /*padding: 5px;*/
}

.top-list_view {
    display: flex;
}

.top-list_icon {
    width: 20px;
    max-width: 20px;
}

.top-list_image-product {
    width: 100%;
    filter: invert(55%) sepia(3%) saturate(9%) hue-rotate(314deg) brightness(101%) contrast(79%);
}

.top-list_number-view {
    box-sizing: border-box;
    padding-left: 2px;
}

.top-list_number-view span{
    font-size: 14px;
    color: #8b8b8b;
}

.top-list_btn button {
    background-color: rgba(253,58,13,1);
    color: var(--color-white);
    outline: none;
    border: transparent;
    padding: 8px;
    border-radius: 4px;
    font-size: 16px;
    cursor:pointer;
}


/* -----------------------------------Navbar Menu ----------------------------- */

/* Show menu */
.header-navbar-section {
    position: fixed;
    width: 480px;
    max-width: 100%;
    min-height: 100vh;
    margin: 0 auto;
    background-color: transparent;
    top: 0;
    left: -100%;
    transition: all 0.6s;
    z-index: 5;

}

.header-navbar-menu {
    position: absolute;
    width: 280px;
    height: 100%;
    background-color: var(--color-white);
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    z-index: 4;
}

.navbar-menu_container {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
    padding: 30px 20px;

}

.navbar-menu_logo {
    width: 200px;
    max-width: 100%;
    padding-bottom: 20px;
}

.logo-navbar {
    width: 100%;
}

.navbar-menu_list {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.navbar-menu_item {
    padding: 20px 0px;
}

.navbar-menu_item span {
    font-size: 20px;
    font-weight: 600;
    color: #087daf;
    
}

.navbar-menu_link {
    text-decoration: none;
}

/* Opacity */
.header-background {
    position: fixed;
    width: 480px;
    max-width: 100%;
    min-height: 100vh;
    margin: 0 auto;
    background-color: #8b8b8b6e;
    top: 0;
    left: 0;
    z-index: 4;
    display: none;
}



/* ----------------------------x x x --------------------------------------- */
.show-navbar {
    display: block;
}

.transition {
    left: 0;
    transition: all 0.6s;
}