* {
    box-sizing: border-box!important;
    margin: 0;
}

body {
    background: #e8e8e8!important;
    color: #333333;
    font-family: 'Noto Sans JP', sans-serif!important;
    font-size: 15px!important;
}
.container-custom {
    margin:auto;
    width: 80%;
}


main {
    width: 80%;
    margin:auto;
}
footer {
    margin: 20px auto;
    width: 80%;
    padding-left: 15px!important;
    padding-right: 15px!important;
}

#nav-icon {
    display: flex;
    justify-content: space-between;
    align-items: center;
    align-content: center;
    width: 30%;
}
.top-nav-small {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#nav-icon i {
    margin-bottom: 5px;
}

#search-top {
    width: 50%;
    height: 50%;
    padding: 10px;
    margin-right: 20px;
    border: 2px solid orange;
    border-radius: 2px;
}
#search-top:focus {
    border: 2px solid orange!important;
    outline: none!important;
}


#search-top-small {
    width: 85%;
    height: 50%;
    padding: 10px;
    margin-right: 20px;
    border-radius: 5px;
    border: 3px solid orange!important;
}

#search-top-small:focus {
    border: 3px solid orange!important;
    border-radius: 5px;
    outline: none!important;
}
.left-shift {
    color: orange;
    margin-left: -80px;
}
.li-nav{
    color: orange;
    display: flex;
    flex-direction: column;
    justify-content:center;
    align-items: center;
    padding: 5px;
}


.header-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
}


#top-row {
    display: flex;
    margin-top: 20px;
}
#top-row-right {
    width: 76%;
}

#top-row-left {
    width: 24%;
    margin-right: 10px;
}
#top-row-right img {
    width: 100%;
    height:auto;
}
#icon-row {
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
}
#icon-row p {
    text-align: center;
}

#block-1 {
    margin-top: 20px;
}
#tag-1 {
    background-color: orange;
    text-align: center;
    padding: 10px;
    text-transform: capitalize;
}
.tag-left {
    display: flex;
    justify-content: space-between;
    padding: 10px;
    align-items: center;
    text-transform: capitalize;
}

#top-row .tag-left:hover {
    background-color: rgb(217, 198, 117,0.5);
}
.brand-img {
    width: 15%;
}
.mem-img {
    width: 100%;
    height: auto;
    padding: 10px;
}
.top-img {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
}
.row-image {
    width: 24%;
}

.row-image-1 {
    width: 19%;
    padding: 5px;
    position: relative;
}

.row-image-1:hover {
    box-shadow:1px 1px 5px 1px pink;
}

.row-1 {
    display:flex;
    justify-content: space-evenly;
}
.mem-img-3 {
    width: 100%;
    height: auto;
}

.mem-img-4 {
    width: 20%;
    height: auto;
}

.mem-img-5 {
    width: 9%;
    height: 100px;
}
.mem-link {
    display: flex;
    padding: 10px;
    margin-top: 1rem;
    flex-direction: column;
    align-items: center;
    align-content: center;
}

.mem-img-1 {
    width: 60%;
    height: auto;
}

.mem-link p {
    color: #333333;
}


.title-area {
    background-color: rgb(217, 198, 117,0.3);
    padding: 10px;
    display: flex;
    align-items: center;
    height: 50px;
}

.title {
    color: black;
    font-weight: bold;
    text-transform: uppercase;
    width: 30%;
}

.mem-text {
    font-size: 14px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2; /* number of lines to show */
    
}

.list-modify a:hover {
    color: orange;
    border: 1px solid orange!important;
    border-radius: 5px!important;
}


.list-modify .active {
    color: orange!important;
    border-radius: 5px!important;
    font-weight: 600;
    background-color: white!important;
    border: 1px solid orange!important;

}
.list-modify a {
    padding: 5px!important;
    border: none;
    text-align: center;
    margin: 5px!important;
}
.list-modify {
    margin: 5px 5px 5px 20px!important;
    display: flex!important;
    justify-content: flex-start!important;
}

.xem-them {
    background-image: linear-gradient(to right, orange, red);
    width: 20%;
    height: 40px;
    border-radius: 20px;
    margin: 20px auto 0px!important;
    font-weight: 500;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:1px 2px 10px -1px pink;
}

.xem-them:hover {
    box-shadow: none;
}

.mem-info {
    font-size: 1.1rem;
    font-weight: bolder;
    color: orange;
}

.liked {
    color: yellow;
}
.mem-info-area {
    position: relative;
}
.discount {
    position: absolute;
    right: 5%;
    top: 5%;
    border-radius: 50%;
}

.mem-img-2 {
    height: 24px;
    width: 24px;
    margin-right: 10px;
}

.anh-ben-trai {
    width: 30%; 
    margin: 0 10px 0px 50px;
}
.anh-ben-phai {
    width: 70%;
}

.trai-phai {
    display: flex;
}

a:link {
    text-decoration: none;
  }
  
a:visited {
    text-decoration: none;
  }
  
a:hover {
    text-decoration: none!important;
  }

.chinh-p {
    margin: 0!important;
}

.fade-view {
    display: none;
    position: absolute;
    z-index: 200;
}

.li-nav:hover .fade-view {
    display: block;
}
#flag-language:hover .fade-view {
    display: block;
}

#flag {
    padding: 10px;
    width: 150px;
    height: 80px;
    top: 107px;
    right: 8%;
    border-radius: 10px;
    box-shadow:1px 1px 5px 1px pink;
}


#notification {
    padding: 20px;
    width: 300px;
    height: 300px;
    border-radius: 15px;
    top: 120px;
    right: 25%;
    box-shadow:1px 1px 5px 1px pink;
}
#cart {
    padding: 20px;
    width: 400px;
    height: 120px;
    border-radius: 15px;
    top: 120px;
    right: 18%;
    box-shadow:1px 1px 5px 1px pink;
}

.xem-them-1 {
    background-image: linear-gradient(to right, orange, red);
    width: 80%;
    height: 40px;
    border-radius: 20px;
    margin: 10px auto;
    font-weight: 500;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tag-left:hover .show-table {
    display: flex;
}
.bo-qua {
    width: 50%;
    height: 34px;
    border-radius: 17px;
    border: 1px solid orange;
    margin: 10px auto;
    font-weight: 500;
    color: orange;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-animation {
    animation-name: gra-display;
    animation-duration: 1s;
}

@keyframes gra-display {
    0% {box-shadow: 0px 0px 0px 0px red}
    100% {box-shadow: 0px 1px 0px 0px red;}
}

.hien-thi {
    display: none; 
    position: fixed; 
    z-index: 250; 
    left: 0;
    top: 0;
    width: 100%;
    height: 100%; 
    padding-top: 60px;
    color: #333333;
    background-color:rgb(47, 55, 56, 0.5);
}
.dep {
    background-color: #fefefe;
    margin: 5% auto 15% auto; 
    border: 1px solid #888;
    border-radius: 10px;
    width: 30%;
    padding: 20px;
}


#login-area button:hover{
    animation-name: phinh-to;
    animation-duration: 0.2s;
    animation-timing-function: cubic-bezier(0.165, 0.84, 0.44, 1);
    animation-fill-mode: forwards;
    
}

@keyframes phinh-to {
    0% {transform: scale(1);}
    100% {transform: scale(1.02);}
    
}

.show-table {
    display: none;
    justify-content: space-between;
    z-index: 200;
    position:absolute;
    flex-wrap: wrap;
    top: 200px;
    left: 29%;
    background-color: white;
    padding:10px;
    width: 70%;

}

.show-cell {
    width: 24%;
}

.ranking-cell {
    display: flex;
    justify-content: flex-start;
    margin: 0px!important;
}

.posi {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 5px 0 20px;
}

.posi p {
    font-weight: bold;
}
.rank-text {
    display: flex;
    flex-direction: column;
    margin-left: 20px;
}

.list-ranking .active {
    background-color: white!important;
    color: #333333!important;
}

.list-ranking a {
    border: none!important;
}

.ranking-cell:hover {
    box-shadow: 2px 0px 0px 0px red;
}

.ranking-cell-right {
    display: flex;
    justify-content: flex-start;
    line-height: 2rem!important;
}

.email-form {
    background-color: rgb(3, 97, 109);
    height: 90px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 -15px;

}

.email-button {
    width: 8%;
    background-color: orange;
    color: White;
    font-weight: 600;
    padding: 5px 10px;
    border: none;
    border-radius: 5px;
    margin-left: -105px;
    height: 45%;
    font-size: 15px;
}

[id ^='block-'] {
    margin-top: 20px;
    padding-bottom: 20px;

}

footer p {
    font-size: 14px;
}


[id^='xem-them-'] a {
    width: 20%!important;
}

#list-login .active {
    box-shadow: 0px 1px 0px 0px red!important;
    background-color: white!important;
    color: orange!important;
}

#list-login a {
    border: none;
    border-radius: 0px!important;
    text-align: center;
}

.show-cell p {
    font-size: 12px;
}

#block-3 [class^="carousel-control-"] {
    border: 1px solid gray;
    width: 40px!important;
    height: 40px;
    border-radius: 50%;
}

.carousel-my {
    display: flex;
    justify-content: flex-start;
    width: 50%;
    position: relative;
}


.carousel-my-1 {
    display: flex;
    justify-content: flex-start;
    align-items:center;
}

#block-3 .tab-content a {
    position: inherit!important;
}

.giam-gia {
    height: 200px!important;
    border-radius: 50%;
    color: white;
    background-color: orange;
}

.mem-img-6 {
    width: 50%;
    height: auto;
    margin: 6px;
}


#da-xem {
    position: fixed;
    top: 35%;
    background-color: #796d6d;
    color: white;
    padding: 10px;
    z-index:10;

}

#da-xem:hover {
    background-color: orange;
}

#sp-da-xem {
    display: none;
    position: fixed;
    right: 0;
    top: 0;
    background: white;
    height: 100%;
    width: 400px;
    padding: 20px;
    z-index: 10;
}

#xem-them-le {
    position: absolute;
    bottom: 20px;
    width: 100%
}


#xem-them-le:hover p{
    animation-name: phinh-to;
    animation-duration: 0.2s;
    animation-timing-function: cubic-bezier(0.165, 0.84, 0.44, 1);
    animation-fill-mode: forwards;
}


.list-group-item {
    color: #333333!important;
}

hr {
    margin: 5px!important;
}

.list-ranking{
    padding-right: 0px!important;
}

#ranking-table .list-group-item {
    margin-right: 0px!important;
    padding-right: 0px!important;
}

.mem-img-4-2 {
    width: 30%;
    height: auto;
}

 .row-image-1:before {
    content: '50%';
    background-color: orange;
    font-weight: bold;
    color: white;
position: absolute;
width: 40px;
height: 40px;
top: 10px;
right: 10px;
border-radius: 50%;
text-align:center;
display: flex;
justify-content: center;
align-items: center;
}


.carousel-my:before {
    content: '50%';
    background-color: orange;
    font-weight: bold;
    color: white;
position: absolute;
width: 40px;
height: 40px;
top: 0px;
right: 48%;
border-radius: 50%;
text-align:center;
display: flex;
justify-content: center;
align-items: center;
}

.xem-them:hover {
    color: white!important;
}

.row-image-1:after {
    content: '';
}
header .chinh-p {
    font-size: 14px;
}
.top-image {
    width: 100%;
    height: 60px;
}

.top-banner {
    display: flex;
    justify-content: center;
}
.mem-img-small {
    width: 130px;
    height: auto;
}


#small-nav {
    background-color: orange ;
    padding: 10px 20px;
    display: none;
}

#small-mover-father {
    position: fixed;
    background-color:rgb(47, 55, 56, 0.5);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    height: 100%;
    overflow: auto;
    z-index: 20;
    display: none;
}
.small-mover-effect {
    padding: 20px;
    position: fixed;
    width: 300px;
    top: 0;
    left: 0;
    height: 100%;
    overflow: auto;
    z-index: 20;
}

.small-mover-effect a {
    color: #333333;
    margin: 20px 0;
    font-size: 13px;
}

.fa-plus, .fa-minus {
    font-size: 12px;
}
.checked {
    color: yellowgreen!important;
}
.fa-star {
    font-size: 14px;
    color: rgb(220, 220, 220);
}
.small-mover-effect .fas {
    margin-left:60px;
}

.over-view {
    border-right: 1px solid gray; 
    padding-right: 1px!important;
    width: 42%;
}
[id^='detail-'] {
    width: 58%;
}
.row-2 {
    display: flex;
    justify-content: space-between;
}

header .chinh-p {
    font-size: 12px;
}
footer [type='email'] {
    width: 50%;
    height: 52%;
    border-radius: 5px; 
    font-size: 12px;
    border: none!important;
    padding-left: 20px;
}
@media (max-width: 1300px) {
    .brand-img {
        width: 20%;
        margin-left: -30px;
    }
    #search-top {
        margin-right: 0px;
        margin-left: 0px;
        width: 50%;
    }
    
    .nav-icon {
        width: 30%;
        margin: 0px;
    }
    
.header-nav {
    display: flex;
    align-items: center;
    padding: 10px;
}

}
@media (max-width: 1230px) {
    .container-custom, main, footer {
        width: 100%;
    }
    .show-table {
        left: 24%;
    }
    .brand-img {
        margin-left: 0px;
    }
    #search-top {
        margin-left: -30px;
    }
}

@media (max-width: 1024px) {
    #big-nav, .top-banner {
        display: none;
    }

    #small-nav {
        display: block;
    }
    .show-table {
        top: 150px;
    }
    #top-row-left {
        display: none;
    }
    #top-row-right {
        width: 100%;
    }
    .container-custom, main, footer {
        width: 85%;
    }
    .email-form {
        flex-direction: column;
    }
    .email-button {
        margin: 0px;
        width: 15%;
    }
    #icon-row {
        flex-wrap: wrap;
    }
    .mem-link {
        width: 17%;
    }
    
    .email-form input, button {
        display: block;
    }
    .email-form button {
        width: 100px;
    }
    #address {
        padding: 0px 10px;
        margin: 20px;
    }
    #info-company {
        margin: 20px;
    }
    [id^='detail-'] {
        display: none;
    }
    footer [type='email'] {
        margin: 10px 0px;
        height: 90%;
        width: 80%;
    }

    .email-form {
        height:150px;
        padding: 10px;
    }
}

@media (max-width: 769px) {
    .container-custom, main, footer {
        width: 100%;
    }
    .ben-le {
        display: none;
    }
    #search-top-small {
        width: 75%;
    }
}
@media (max-width: 505px) {
    .top-img {
        display: none;
    }
    .mem-link p {
        font-size: 10px;
    }
    .mem-img-1 {
        width: 100%;
    }
    .mem-link {
        width: 20%;
    }
    .list-group-horizontal {
        flex-direction: column!important;
    }
    [class^='anh-ben-'] {
        width: 100%;
    }
    .anh-ben-trai {
        margin: 10px;
    }
    .anh-ben-phai {
        width: 100%;
    }
    .trai-phai {
        flex-wrap: wrap;
    }
    #search-top-small {
        width: 60%;
    }

    #detail-1 {
        display: none;
    }
    .over-view {
        width: 100%!important;
        border: none;
    }
    .row-image-1 {
        display: inline-block;
        width: 45%;
    }
    .row-1 {
        display: block;
        overflow: auto;
        height: 500px;
        overflow: auto;
    }
    
}
