#header .badge {
    margin-left: 5px;
    padding-top: 4px;
    padding-bottom: 4px;
}

#header .badge span {
    font-weight: 400;
}

.hmenu {
    width: 100%;
    color: white;
}

.hmenu>ul {
    display: flex;
    list-style: none;
    padding-left: 0px;
    margin-bottom: 0px !important;
}

.hmenu>ul>li.dropdown {
    position: inherit;
}

.hmenu>ul>li.dropdown>div {
    display: none;
    position: absolute;
    padding: 20px;
    width: 100%;
    z-index: 1000;
    left: 0;
    transform: translateY(1px);
    background-color: white;
}

.hmenu>ul>li.dropdown>div img {
    width: 35px;
    height: 35px;
    -o-object-fit: cover;
    object-fit: cover;
    border-radius: 10px;
}

.hmenu>ul>li.dropdown>div.active {
    display: block;
}

.hmenu>ul>li.dropdown>a {
    position: relative;
    padding-right: 20px;
}

.hmenu>ul>li.dropdown>a::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 0px;
    transform: translateY(-40%) scale(0.5);
    border-width: 8px 8px 0;
    border-color: #e6e6e6 transparent transparent transparent;
    border-style: solid;
}

.hmenu>ul>li {
    position: relative;
}

.hmenu>ul>li>a {
    display: flex;
    gap: 6px;
    cursor: pointer;
    align-items: center;
    color: white;
    white-space: nowrap;
    font-size: 15px;
    padding: 8px 12px 8px 12px;
}

.hmenu>ul>li>a:hover {
    background-color: #2c3e50;
}

.hmenu>ul>li>a i {
    font-size: 13px;
    margin-top: -1px;
}

.catmenu {
    padding: 5px;
    border-radius: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.catmenu:hover {
    background-color: #374d64;
}

.catmenu>a span {
    margin-left: 5px;
}

#headbar {
    background: #2c3e50;
}

#headbar ul {
    list-style: none;
    margin-bottom: 0;
    justify-content: space-between;
    padding-left: 0;
}

#headbar ul .discord>a {
    display: flex;
    align-items: center;
    filter: hue-rotate(320deg);
    color: white;
    justify-content: center;
    gap: 5px;
    padding: 7px 10px 7px 10px;
    background: linear-gradient(0deg, #304eb6 0%, transparent 100%);
    border-bottom: 1px solid #080b0e;
}

#headbar ul .news {
    display: none;
    flex: 1;
}

#headbar ul .news p {
    margin-bottom: 0;
    color: #cccccc;
    font-size: 13px;
    font-weight: 400;
}

#headbar ul .btns>ul {
    display: flex;
    color: #cccccc;
    font-size: 14px;
}

#headbar ul .btns>ul>li:first-child {
    display: none;
}

#headbar ul .btns>ul>li>a {
    display: block;
    padding: 5px 8px 5px 8px;
}

.hmenu::before {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 40px;
    background-color: #354b60;
}

#header {
    padding-bottom: 0 !important;
}

.dcontent {
    background-color: #3e5871 !important;
}

.dcontent .categories {
    display: grid;
    gap: 5px;

    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}

.dcontent .categories .ctitle {
    margin-left: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.catsearch {
    position: relative;
    margin-bottom: 15px;
}

.catsearch label {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
}

.catsearch .catsearchinput {
    padding-right: 37px;
    background-color: transparent;
    border: none;
    background-color: #2c3e50;
    color: white;
}

.catsearch .catsearchinput::-moz-placeholder {
    color: #d9d9d9;
}

.catsearch .catsearchinput::placeholder {
    color: #d9d9d9;
}


.more-menu-cnt.hidden {
    display: none !important;
}

.more-menu-cnt:not(.hidden) {
    display: block !important;
    flex: 1;
    display: flex;
    margin-right: -20px;
    align-items: center;

    justify-content: flex-end;
}

.more-menu-cnt .more-menu-btn {
    background-color: transparent;
    border: none;
    color: white;
    float: right;
    font-size: 18px;
    background-color: #1c2732;
    border-radius: 6px;
    padding: 2px 8px;
    margin-top: 4px;
    margin-left: 8px;
    margin-right: 8px;
}

.more-menu-list {
    position: absolute;
    z-index: 1000;
    right: 5px;
    top: 40px;
    list-style: none;
    padding: 5px 0px;
    background-color: #2c3e50;
    white-space: nowrap;
    border-radius: 8px;
}

.more-menu-list.hidden {
    display: none;
}

.more-menu-list>li>a {
    display: block;
    padding: 4px 18px;
    font-size: 14px;
}

.more-menu-list>li>a:hover {
    background-color: #354b60;
}

.more-menu-list .dropdown,
.more-menu-list .more-menu-cnt {
    display: none;
}


.dropdown.open .dropdown-menu {
    display: flex;
    flex-direction: column;
    position: absolute;
    z-index: 1044;
    color: white;
    background: #2c3e50;
    right: 0;
}

.dropdown.open .dropdown-menu>li>a {
    font-size: 14px;
    font-weight: 300;
    padding: 5px 15px;
    display: block;
}

.dropdown.open .dropdown-menu>li>a:hover {
    background-color: #1e2b37;
}
