/* Bắt đầu css head */

#header {
    background: #282c33;
    display: flex;
    align-content: stretch;
    justify-content: flex-start;
    align-items: center;
}

#header .logo {
    /*    position:relative;
    background: #282c33;*/
}

#header .logo h1 {
    display: inline !important;
}


#header:hover .logo a {
    color: #fff !important;
}

/* Bắt đầu css logo Sử dụng Logo hình ảnh */

#header .logo {
    float: left;
    padding: 0 0 0 0px;
    line-height: 44px;
    height: 44px;
    display: flex;
    align-items: center;
}


#header .logo img {
    height: 20px;
    max-width: 100%;
    vertical-align: middle;
    border: 0;
    position: relative;
    font-size: 12px;
}

/* Kết thúc css logo Sử dụng Logo hình ảnh */

/* Bắt đầu css logo Sử dụng Tên miền văn bản */
#header .logo a {
    padding: 10px;
    color: #ffb000;
    font-weight: bold;
}

#header .logo .brand-text {
    font-size: 18px;
    font-weight: bold;
    display: inline-flex;
    align-items: baseline;
    gap: 2px;
}

#header .logo .brand-name {
    font-size: 120%;
}

#header .logo .brand-tld {
    font-size: 60%;
}

/* Kết thúc css logo Sử dụng Tên miền văn bản */

/* Bắt đầu css ô tìm kiếm ở head */

#header .header-search-box {
    border-radius: 10px;
    padding: 10px;
    flex-grow: 1;
    margin-left: auto;
    position: relative;
    min-width: 100px;
    max-width: 340px;
}

#header .header-search-box .search-form {
    border: 2px solid #ffb000;
    border-radius: 10px;
    width: 100%;
    height: 28px;
    position: relative;
    display: flex;
}

#header .header-search-box .search-form input::-moz-placeholder {
    color: #ffb000;
    /* Màu cho placeholder Firefox */
    font-style: italic;
}

#header .header-search-box .search-form input::-webkit-input-placeholder {
    color: #ffb000;
    /* Màu cho placeholder Chrome, Safari, Opera */
    font-style: italic;
}

#header .header-search-box .search-input {
    font-size: 100%;
    border-radius: 10px 0px 0px 10px;
    background: transparent;
    color: #ffb000;
    caret-color: #ffb000;
    width: 100%;
    border: none;
    padding: 3px 3px 3px 5px;
    margin-right: 5px;
}


#header .header-search-box .search-button {
    justify-content: center;
    align-items: center;
    display: flex;
    border-radius: 0px 6px 6px 0px;
    fill: #ffb000;
    color: #ffb000;
    white-space: nowrap;
    background: transparent;
    border: none;
    cursor: pointer;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    padding: 10px 4px 10px 2px;
}

#header .search-button .title-search-button {
    font-size: 100%;
    font-weight: bold;
    padding-left: 3px;
}

#header .header-search-box .search-form:hover {
    border: 2px solid #fff;
}

#header .header-search-box .search-form:hover input {
    fill: #fff;
    color: #fff;
}

#header .header-search-box .search-form:hover .clear-search-button {
    fill: #fff;
    background-color: transparent;
}

#header .header-search-box .search-form:hover input::-moz-placeholder {
    color: #fff;
    /* Màu cho placeholder Firefox */
    font-style: italic;
}

#header .header-search-box .search-form:hover input::-webkit-input-placeholder {
    color: #fff;
    /* Màu cho placeholder Chrome, Safari, Opera */
    font-style: italic;
}

#header .header-search-box .search-form:hover .search-button {
    background-color: #fff;
    fill: #282c33;
    color: #282c33;
}

#header .header-search-box .search-form:hover .clear-search-button {
    fill: #fff;
    color: #fff;
}

#header .header-search-box .clear-search-button {
    color: #ffb000;
    fill: #ffb000;
    cursor: pointer;
    background-color: transparent;
    padding: 6px 6px 6px 2px;
}

#header .header-search-box .search-form .clear-search-button:hover {
    fill: #fd7222;
    color: #fd7222;
}

/* Kết thúc css ô tìm kiếm ở head */

/* Bắt đầu css hộp gợi ý tìm kiếm ở head */
#header .header-search-box .suggestions-box {
    display: none;
    /* Ẩn bảng gợi ý mặc định */
    position: absolute;
    background-color: white;
    border-radius: 10px;
    margin-top: 6px;
    width: 95%;
    max-height: 400px;
    overflow-y: auto;
    z-index: 1000;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.70);
    border-radius: 15px;
}

#header .header-search-box .suggestions-box ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

#header .header-search-box .suggestions-box li {
    padding: 4px 8px;
    cursor: pointer;
    border-bottom: 1px solid #f3f3f3;
}

#header .header-search-box .suggestions-box li:first-child {
    border-top: 0;
}

#header .header-search-box .suggestions-box li:last-child {
    border-bottom: 0;
}

#header .header-search-box .suggestions-box li.item a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

#header .header-search-box .suggestions-box .sugg-text {
    flex-grow: 0;
    flex-basis: 100%;
}

#header .header-search-box .suggestions-box .icon-svg {
    fill: #054fcb;
    color: #054fcb;
    flex-grow: 0;
    flex-basis: 20px;
}

#header .header-search-box .suggestions-box li:hover a {
    color: #ffffff;
    background-color: #282c33;
}

#header .header-search-box .suggestions-box li:hover {
    background-color: #282c33;
}

#header .header-search-box .suggestions-box li:hover .icon-svg {
    fill: #fff;
    color: #fff;
}

#header .header-search-box .suggestions-box .item-close {
    font-weight: normal !important;
    font-size: 95%;
    text-align: center;
    border-bottom: 1px solid #f3f3f3;
}

#header .header-search-box .suggestions-box .item-close a {
    display: block;
    padding: 4px 0px 4px 0px;
}

#header .header-search-box .suggestions-box .item-close a:hover .icon-svg {
    fill: #fff;
    color: #fff;
}

/* Kết thúc css hộp gợi ý tìm kiếm ở head */

/* Bắt đầu css icon menu 3 gạch ngang */
#header .header-menu {
    margin-left: auto;
    display: flex;
    align-items: center;
    position: relative;
    border-radius: 3px;
    list-style-type: none;
    text-align: left;
    z-index: 1000;
}

#header .header-menu .header-menu-icon {
    background: #3a4244;
    width: 37px;
    height: 34px;
    margin: 0px 16px 0px 16px;
    padding: 4px 1px 1px 3px;
    border: 0;
    border-radius: 6px;
}

#header .header-menu a .header-menu-icon {
    color: #ffb000;
}

#header .header-menu a:hover .header-menu-icon {
    color: #fff;
}

#header .header-menu .header-menu-icon:active {
    transform: translateY(0.5px);
    box-shadow: 1px 1.2px 3px rgb(0 0 0 / 60%);
}


/* Kết thúc css icon menu 3 gạch ngang */

/* Bắt đầu css menu header */

#header .header-menu .wrap-menu {
    display: none;
    transform: translateX(-234px);
    width: 300px;
    background-color: #fff;
    position: absolute;
    z-index: 1000;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.70);
    border-radius: 15px;
    top: 50px;
}

#header .header-menu .wrap-menu ul,
#header .header-menu .wrap-menu li {
    list-style: none;
}

#header .header-menu .active {
    display: block !important;
}

#header .header-menu .wrap-menu:after {
    content: '';
    position: absolute;
    top: -10px;
    left: 90%;
    transform: translateX(-50%);
    border: solid transparent;
    border-width: 0 10px 10px 10px;
    border-color: transparent transparent #fff transparent;
}

/* Mũi tên hướng xuống menu */


#header .header-menu .wrap-menu a {
    color: #282c33;
    text-decoration: none;
    display: block;
}

#header .header-menu .wrap-menu .menu {
    overflow-y: auto;
    background-color: #fff;
    border-radius: 15px;
}

#header .header-menu .wrap-menu .menu li a {
    margin: 0;
    padding: 6px;
}

#header .header-menu .wrap-menu .menu li:hover a {
    color: #ffffff;
    background-color: #282c33;
}

#header .header-menu .wrap-menu .menu .menu-item {
    border-bottom: 1px solid #f3f3f3;
}

#header .header-menu .wrap-menu .menu .register {
    font-size: 95%;
    font-weight: bold;
    text-align: center;
}

#header .header-menu .wrap-menu .menu .menu-item-close {
    font-weight: bold;
    font-size: 95%;
    text-align: center;
}

#header .header-menu .wrap-menu .menu .menu-item-close a {
    padding: 10px 0px 10px 0px;
}

#header .header-menu .wrap-menu .menu .menu-item-close .icon-svg {
    fill: #282c33;
    color: #282c33;
    vertical-align: sub;
    display: inline-block;
}

#header .header-menu .wrap-menu .menu .menu-item-close a:hover .icon-svg {
    fill: #fff;
    color: #fff;
}

/* Kết thúc css menu header */

/* Kết thúc css head */
