.dropdown-menu,
.nav-list {
    list-style: none;
    padding: 0
}

.custom-mega-menu,
.header-bg,
header.sticky {
    background-color: #fff
}

.contain,
.mainn {
    max-width: 1420px
}

.dropdown-item,
.menu-btn a,
.nav-list a {
    text-decoration: none
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    line-height: 1.5;
    font-size: .875rem;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
    font-display: swap
}

:root {
    --site-color:#003135;
    --link-color:#3f0000;
    --error-alert-box:#850505;
    --success-alert-box:#0ff942;
    --info-alert-box:#0000ff;
    --warning-alert-box:#a0a005;
    --lgawn-alert-box:#a0a005;
    --related-posts-color:#2f3c7e;
    --related-posts-hover-color:#aa1111;
    --quote-color:#aa1111;
    --question-color:#aa1111;
    --sub-shadow:#fbc638;
    --blog-detail-h1:#720069;
    --blog-detail-h2:#720069;
    --blog-detail-h3:#a52a2a;
    --blog-detail-h4:#995f6a;
    --blog-detail-h5:#ff0000;
    --blog-detail-h6:#5e5e5e;
}

*,
::after,
::before {
    box-sizing: border-box
}

.shadow-padding {
    box-shadow: var(--site-color) 1px 2px 7px;
    padding: 7px 40px
}

.custom-mega-menu,
.dropdown-menu {
    box-shadow: 0 4px 10px rgba(0, 0, 0, .1)
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center
}

.logo-img {
    margin-right: 30px;
    width: 200px;
    height: 40px;
    vertical-align: middle
}

.button-group,
.icon-wrapper,
.nav-bar {
    display: flex;
    align-items: center
}

.nav-list {
    display: flex;
    margin: 0 20px 0 0
}

.nav-list .nav-item,
.nav-list li {
    position: relative
}

.nav-list a {
    color: inherit;
    font-weight: 500;
    padding: 10px 0;
    margin: 0 10px
}

.menu-btn,
.menu-btn a {
    color: #fff;
    transition: .3s ease-in-out
}

.dropdown-menu {
    border-radius: 10px;
    border: none;
    min-width: 180px;
    transition: .3s ease-in-out
}

.custom-mega-menu {
    border-radius: 8px;
    padding: 20px;
    width: max-content;
    position: absolute;
    left: 0
}

.custom-mega-menu::before {
    content: "";
    position: absolute;
    top: -5px;
    left: 0;
    transform: translateX(-50%)
}

.custom-mega-menu .dropdown-item {
    font-size: 12px;
    color: #333;
    padding: 13px 15px;
    display: flex !important;
    align-items: center;
    transition: .3s ease-in-out;
    border-radius: 5px;
    position: relative;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
}

.custom-mega-menu .dropdown-item:first-child {
    background-color: #e6f2ff
}

.custom-mega-menu .dropdown-item:nth-child(2) {
    background-color: #f0f8ff
}

.custom-mega-menu .dropdown-item:nth-child(3) {
    background-color: #fef5e6
}

.custom-mega-menu .dropdown-item:nth-child(4) {
    background-color: #fbe0ff
}

.custom-mega-menu .dropdown-item:nth-child(5) {
    background-color: #ffd8d8
}

.custom-mega-menu .dropdown-item:nth-child(12),
.custom-mega-menu .dropdown-item:nth-child(15),
.custom-mega-menu .dropdown-item:nth-child(6),
.custom-mega-menu .dropdown-item:nth-child(9) {
    background-color: #f0fff4
}

.custom-mega-menu .dropdown-item:nth-child(10),
.custom-mega-menu .dropdown-item:nth-child(13),
.custom-mega-menu .dropdown-item:nth-child(7) {
    background-color: #fff8e1
}

.custom-mega-menu .dropdown-item:nth-child(11),
.custom-mega-menu .dropdown-item:nth-child(14),
.custom-mega-menu .dropdown-item:nth-child(8) {
    background-color: #f0f4ff
}

.custom-mega-menu .dropdown-item img {
    margin-right: 20px;
    width: 20px;
    height: 20px
}

.custom-mega-menu .dropdown-item::after {
    content: " ";
    font-weight: 700;
    color: #999;
    position: absolute;
    left: 46px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 32px;
    line-height: 1;
    display: inline-block;
    width: 20px;
    height: 50px;
    text-align: center;
    border-left: 2px dashed #fff;
    padding-left: 5px
}

.dropdown-menu,
.nav-item .nav-link::before {
    left: 50%;
    transform: translateX(-50%);
    position: absolute
}

@media (min-width:768px) {

    .nav-item.dropdown:focus-within .dropdown-menu,
    .nav-item.dropdown:hover .dropdown-menu {
        display: block;
        animation: .3s ease-in-out fadeIn;
        overflow: auto;
        border-radius: 0;
        z-index: 22;
        transition: .3s ease-in-out
    }
}

.dropdown-menu.show {
    display: block;
    animation: .3s ease-in-out fadeIn
}

.nav-bar .nav-item .nav-link:hover::before,
.nav-bar .nav-item.dropdown:hover .nav-link.active::before,
.nav-bar .nav-item .nav-link.active::before,
.nav-bar .nav-item.dropdown:hover .nav-link::before {
    width: 75%;
}

.dropdown-menu {
    list-style: none;
    top: 30px;
    background: #fff;
    display: none;
    box-shadow: 0 2px 5px rgba(0, 0, 0, .1)
}

.menu-btn {
    margin: 0 2px;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    word-wrap: nowrap;
    word-break: nobreak;
    white-space: nowrap
}

.menu-btn a {
    display: block;
    width: 100%;
    height: 100%;
    padding: 10px;
    text-align: center;
    border-radius: 3px
}

.buy-now {
    background-color: #004f0ccc
}

.buy-now:hover {
    background-color: #003135
}

.login-btn {
    background-color: #c90034
}

.login-btn:hover {
    background-color: #a8002b
}

.register-btn:hover {
    background-color: #005f8c
}

.register-btn {
    background-color: #014ca7
}

.nav-item .nav-link::before {
    content: "";
    bottom: -6px;
    width: 0;
    height: 2px;
    background: var(--site-color);
    transition: .3s ease-in-out
}

.fa-caret-down {
    font-size: .8rem;
    margin-left: 4px;
    transition: transform .3s ease-in-out;
    transform: rotate(0);
    color: #c90034
}

header.sticky {
    position: fixed;
    top: -100px;
    width: 100%;
    z-index: 100000;
    animation: .3s forwards slideDown
}

@keyframes slideDown {
    to {
        top: 0
    }
}

.contain {
    margin: auto
}

@media (max-width:992px) {
    .shadow-padding {
        padding: 7px 20px
    }

    #search-tools1 {
        display: none
    }

    #search-tools2 {
        display: block !important
    }
}

#search-tools2,
.nav-toggle {
    display: none
}

.nav-bar.active {
    display: block;
    flex-direction: column;
    position: absolute;
    top: 50px;
    right: 40px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, .1);
    background-color: #e9e9e9;
    z-index: 2;
    animation: .3s ease-in-out slideInFromSide;
    padding: 10px 20px;
    border-radius: 5px
}

@keyframes slideInFromSide {
    from {
        opacity: 0;
        transform: translateX(100%)
    }

    to {
        opacity: 1;
        transform: translateX(0)
    }
}

@keyframes slideOutToSide {
    from {
        opacity: 1;
        transform: translateX(0)
    }

    to {
        opacity: 0;
        transform: translateX(100%)
    }
}

.containe {
    padding: 40px
}

@media (max-width:768px) {
    .containe {
        padding: 20px
    }
}

.mainn {
    margin: auto !important
}

.my-dropdown,
.my-dropdown2 {
    list-style:none;
    display: grid;
    gap: 10px;
    max-width: 100%;
    margin-bottom:0px;
}

@media (max-width:992px) {
    .nav-bar {
        display: none
    }

    .nav-list {
        flex-direction: column;
        margin: 0;
        padding: 0;
        width: 100%;
        text-align: center
    }

    .nav-item {
        width: 100%;
        padding: 6px 10px;
        border-bottom: 1px solid #ccc
    }

    .button-group {
        flex-direction: row;
        margin-top: 10px
    }

    .nav-toggle {
        display: block !important;
        background: 0 0;
        border: none;
        font-size: 1.5rem;
        cursor: pointer;
        color: #333
    }

    .nav-bar.active .dropdown-menu {
        right: 100%;
        top: 32px;
        transform: translateX(-80%);
        z-index: 22
    }

    .nav-item .nav-link::before {
        bottom: -1px
    }
}

.my-dropdown {
    grid-template-columns: repeat(3, 1fr)
}

.my-dropdown2 {
    grid-template-columns: repeat(1, 1fr)
}

.dropdown-item {
    display: flex;
    align-items: center;
    padding: 10px;
    background: #f5f5f5;
    border-radius: 5px;
    margin: 0 !important;
    color: #333;
    border: .5px solid #d3d3d3;
    transition: background .3s
}

.dropdown-item:hover {
    border: 1px solid gray
}

.dropdown-item img {
    width: 24px;
    height: 24px;
    margin-right: 10px
}

@media (max-width:767px) {
    .my-dropdown {
        grid-template-columns: repeat(2, 1fr)
    }
}

@media (max-width:576px) {
    .containe {
        padding: 0
    }

    .my-dropdown {
        grid-template-columns: 1fr
    }

    .nav-bar.active .dropdown-menu {
        top: 30px;
        left: 50%;
        transform: translateX(-50%);
        max-height: 300px;
        overflow-y: auto;
        z-index: 22
    }
}

.related-row .nav-link::before {
    width: 0 !important;
}
