.main-bg {
    background-color: var(--main-color);
}


.header-site {
    position: relative;
}

.header-site .bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 680px;
    z-index: -1;
}

.header-site .bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: -webkit-gradient(linear, left top, left bottom, color-stop(66%, transparent), to(#0e0f11));
    background: linear-gradient(transparent 66%, #0e0f11);
}

.header-site .bg img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .12;
}

.btn-hover-sub {
    position: relative;
    z-index: 1;
}

.btn-box-sub {
    position: absolute;
    top: 100%;
    right: 0;
    width: max-content;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.4s ease-in-out;
}

.btn-box-sub>div {
    padding: 20px;
    border-radius: 15px;
    background: var(--bg-color);
    margin-top: 10px;
}

.btn-hover-sub:hover .btn-box-sub {
    opacity: 1;
    visibility: visible;
    pointer-events: unset;
}

.w-160 {
    width: 160px;
}

.btn-click-sub {
    position: relative;
    z-index: 1;
}

.btn-click-sub.active .btn-box-sub {
    opacity: 1;
    visibility: visible;
    pointer-events: unset;
}

.btn-box-sub .box-wrap {
    position: relative;
    width: 650px;
}

.btn-box-sub .box-left {
    position: absolute;
    width: 40%;
    padding: 20px;
    padding-right: 0;
    top: 0;
    left: 0;
    height: 100%;
    -ms-overflow-style: none;
    scrollbar-width: none;
    overflow-y: scroll;
}

.btn-box-sub .box-right {
    margin-left: 40%;
    width: 60%;
    padding: 20px;
}

.navbar {
    z-index: 9999;
}

.navbar .logo img {
    height: 28px;
    width: auto;
}

/* .nav-item {
    position: relative;
    z-index: 1;
} */

.nav-item.has-submenu .sub-menu {
    position: absolute;
    top: 100%;
    right: 0;
    width: max-content;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.4s ease-in-out;
    left: 0;
    width: 100%;
    top: -30px;
    padding-top: 100px;
    z-index: 1;
    font-size: 16px;
}

.navbar .navbar-nav .sub-menu::after {
    z-index: -1;
    background-color: #0e0f11;
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    margin-top: 90px;
}

.nav-item.has-submenu:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: unset;
}

.show-submenu .navbar {
    background-color: #0e0f11;
}

.nav-item.has-submenu .sub-menu>div {}

.item-cat {
    background-color: #181818;
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    /* aspect-ratio: 1/1; */
    overflow: hidden;
    height: 100%;
    position: relative;
}

.item-cat>svg {
    position: relative;
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    will-change: filter;
    -webkit-filter: grayscale(0.9);
    filter: grayscale(0.9);
    -webkit-transition: -webkit-filter .4s;
    transition: -webkit-filter .4s;
    transition: filter .4s;
    transition: filter .4s, -webkit-filter .4s;
}

.item-cat .label {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 4px 8px;
    font-size: 13px;
    font-weight: 450;
    line-height: 14px;
    color: #2D68FF;
    background: rgba(45, 104, 255, 0.15);
    border-radius: 11px;
    opacity: 0;
    -webkit-transition: opacity .4s;
    transition: opacity .4s;
    z-index: 1;
}

.item-cat img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.item-cat:hover {
    background-color: #0e0f11;

}

.item-cat:hover svg {
    -webkit-filter: grayscale(0);
    filter: grayscale(0);
}

.item-cat:hover .label {
    opacity: 1;
}

.sub-menu .box {
    display: grid;
    grid-template-columns: 1fr 480px;
    grid-template-rows: 1fr 160px;
    grid-column-gap: 16px;
    grid-row-gap: 16px;
}

.sub-menu .box-1 {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(2, 1fr);
    grid-column-gap: 16px;
    grid-row-gap: 16px;
    grid-area: 1 / 1 / 3 / 2;
}


.sub-menu .box-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-column-gap: 16px;
    grid-area: 1 / 2 / 2 / 3;
}

.sub-menu .box-3 {
    grid-area: 2 / 2 / 3 / 3;
    border: 1px solid #262626;
    border-radius: 16px;
}

.sub-menu .box-1 .item-cat {
    aspect-ratio: 1;
}

.sub-menu .box-3 .item-cat {
    text-align: left;
    align-items: flex-start;
}

/* --------------- Works --------------- */
.work-card .card-item {
    margin-bottom: 30px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    background: var(--bg-color);
}

.work-card .card-item .cont {
    height: 100%;
    padding: 40px 80px 40px 40px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

.work-card .card-item .cont .tag {
    font-size: 12px;
    line-height: 1;
    padding: 7px 12px;
    margin-right: 2px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
}

.work-card .card-item .cont p {
    font-size: 14px;
    line-height: 20px;
}

.work-card .card-item .img {
    padding: 20px;
}

.work-card .card-item .img img {
    border-radius: 16px;
}


/* --------------- Clients --------------- */
.clients-dm {
    position: relative;
}

.clients-dm:before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: -15px;
    width: 200px;
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
    z-index: 3;
}

.clients-dm:after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    right: -15px;
    width: 200px;
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
}

.clients-dm .item {
    margin: 0 80px;
    padding: 0 30px;
}

.clients-dm .item img {
    width: 140px;
}

.btn-icon {
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.btn-icon:hover {
    border-color: #8ad504;
}

.img-wrap {
    position: relative;
    width: 100%;
    padding-top: 70%;
    overflow: hidden;
    border-radius: 16px;
}

.img-wrap img {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.get-box {
    padding: 20px;
    border-radius: 50px;
    background-color: #1d1d1d;
}


/* --------------- Contact --------------- */
.contact-sa .box {
    padding: 120px 60px;
    background-image: url(../../assets/imgs/gr-back.png);
    background-size: cover;
    background-position: center center;
    border-radius: 30px;
    overflow: hidden;
}

.contact-sa .info {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    height: 100%;
}

.contact-sa .contact-form label {
    font-size: 14px;
    margin-bottom: 5px;
}

.contact-sa .contact-form label .star {
    color: red;
    padding-left: 5px;
}

.contact-sa .contact-form .form-group select,
.contact-sa .contact-form .form-group input,
.contact-sa .contact-form .form-group textarea {
    color: #f1f1f1;
    background: transparent;
    width: 100%;
    padding: 0 0 10px;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 18px;
}

/*
.contact-sa .contact-form button {
    background: transparent;
    color: #f1f1f1;
} */

.item-purchases img {
    width: 180px;
    min-width: 180px;
    height: 125px;
    border-radius: 16px;
    object-fit: cover;
}

.item-purchases .cont>div {
    display: flex;
    height: 100%;
    flex-direction: column;
    justify-content: space-between;
}

.sidebar .widget.catogry li.active {
    background: rgba(255, 255, 255, 0.25);
}

.rounded-base {
    border-radius: 16px;
}

.svg-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
}

.c3-grid line {
    opacity: 0.3;
}

.c3-axis {
    fill: #7d7d7d;
    opacity: 0.5;
}

.c3 line,
.c3 path {
    stroke: #7d7d7d;
}

.c3-legend-item {
    fill: #7d7d7d;
}

.c3-tooltip td {
    color: #000;
}

.item-table-product {
    display: flex;
    gap: 10px;
}

.item-table-product img {
    width: 120px;
    min-width: 100px;
    height: 100px;
    border-radius: 8px;
    overflow: hidden;
    object-fit: cover;
}

table.dataTable>tbody>tr>th,
table.dataTable>tbody>tr>td {
    padding-top: 16px;
    padding-bottom: 16px;
}

.file-upload {
    cursor: pointer;
}

.file-upload img {
    pointer-events: none;
}

.file-upload input {
    left: 0;
    top: 0;
    opacity: 0;
}



.drop {
    width: 100%;
    min-height: 280px;
    border-radius: 16px;
    overflow: hidden;
    text-align: center;
    background: #262626;
    border: 2px dashed #4D4D4D;
    -webkit-transition: all 0.5s ease-out;
    -moz-transition: all 0.5s ease-out;
    transition: all 0.5s ease-out;
    margin: auto;
    position: relative;
}

.drop:hover {
    border-color: #ADB7BE;
}

.drop .cont {
    width: 100%;
    height: 100%;
    -webkit-transition: all 0.5s ease-out;
    -moz-transition: all 0.5s ease-out;
    transition: all 0.5s ease-out;
    margin: auto;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.upload__icon {
    position: relative;
    display: -webkit-box;
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin: 0 auto 24px;
    background: #2D68FF;
    border-radius: 12px;
}

.upload__icon svg {
    width: 24px;
    height: 24px;
    fill: white;
}

.drop input {
    width: 100%;
    height: 100%;
    cursor: pointer;
    background: red;
    opacity: 0;
    z-index: 1;
    margin: auto;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}

.drop.error .desc {
    color: red;
}

.drop .list {
    width: 100%;
    height: 100%;
    text-align: left;
    position: absolute;
    left: 0;
    top: 0;
    display: grid;
    gap: 10px;
}

.drop .list>span {
    width: 100%;
    height: 100%;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    background-color: #373737;
}

.drop .list .thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.drop .list .name {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    text-align: center;
    transform: translateY(-50%);
}

.drop.imgs-multi .list {
    padding: 10px;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
}

.drop.imgs-multi .list>span {
    border: 1px solid #323a44;
    height: 0;
    padding-top: 100%;
}

.custom-tab {
    gap: 30px;
    border-bottom: 0;
}

.custom-tab .nav-link {
    color: #f1f1f1;
}

.featured-label {
    position: relative;
    display: inline-flex;
}

.featured-label>div {
    position: absolute;
    right: 100%;
    white-space: nowrap;
    width: max-content;
    padding-right: 6px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
}

.featured-label:hover>div {
    opacity: 1;
    visibility: visible;
}

.smallx2 {
    font-size: 0.75em;
}

.modal {
    z-index: 9999;
}

.sidebar {
    padding: 20px;
    border-radius: 15px;
    background: var(--bg-color);
}

/*
.show-submenu .navbar {
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
} */

@media (min-width: 992px) {

    .author-dashboard-layout main {
        padding-left: 360px;
    }

    .author-dashboard-layout .navbar {
        position: fixed;
        top: 0;
        transform: unset;
        background: none;
        left: 0;
        padding: 40px 15px;
        width: 320px;
        box-shadow: 1px 0 0 0 #1D1C1E;
        overflow: auto;
        height: 100%;
        flex-direction: column;
        justify-content: space-between;
    }

    .author-dashboard-layout .navbar>div {
        display: block;
    }

    /* .author-dashboard-layout .navbar .logo {
        position: absolute;
        left: 30px;
        top: 40px;
    }

    .author-dashboard-layout .navbar .navbar-collapse {
        left: 30px;
        position: absolute;
        top: 100px;
    } */
    .author-dashboard-layout .navbar .navbar-collapse {
        padding-top: 30px;
    }

    .author-dashboard-layout .navbar .navbar-nav {
        display: block;
        border: 0;
        margin-left: 0;
        width: 100%;
    }

    .author-dashboard-layout .navbar .navbar-nav .nav-item {
        margin-bottom: 5px;
    }

    .author-dashboard-layout .navbar .navbar-nav .nav-link {
        display: flex;
        -webkit-box-align: center;
        align-items: center;
        height: 52px;
        padding: 0 16px;
        border: 1px solid transparent;
        border-radius: 16px;
        color: rgba(255, 255, 255, 0.5);
        -webkit-transition: background .2s, border-color .2s, color .2s;
        transition: background .2s, border-color .2s, color .2s;
    }


    .author-dashboard-layout .navbar .navbar-nav .nav-link svg {
        width: 24px;
        height: 24px;
        margin-right: 12px;
        fill: rgba(255, 255, 255, 0.5);
        -webkit-transition: fill .2s;
        transition: fill .2s;
    }

    .author-dashboard-layout .navbar .navbar-nav .nav-link:hover {
        background: #1D1C1E;
        border-color: #2D68FF;
        color: #f1f1f1;
    }

    .author-dashboard-layout .navbar .navbar-nav .nav-link:hover svg {
        fill: white;
    }

    .author-dashboard-layout .navbar .navbar-nav .nav-link.active {
        background: #1D1C1E;
        border-color: rgba(0, 0, 0, 0.5);
        color: #f1f1f1;
    }

    .author-dashboard-layout .navbar .navbar-nav .nav-link.active svg {
        fill: #f1f1f1;
    }
}


@media (min-width: 1600px) {

    .container,
    .container-lg {
        max-width: 1520px;
    }
}

@media (min-width: 1920px) {

    .container,
    .container-lg {
        max-width: 1740px;
    }

    .header .caption h1 {
        font-size: 180px;
    }
}

@media (max-width: 1919.98px) {}

@media (max-width: 1599.98px) {}

@media (max-width: 1399.98px) {}

@media (max-width: 991.98px) {
    .btn-box-sub {
        left: 0;
        right: unset;
    }
}

@media (max-width: 767.98px) {
    .navbar .logo img {
        height: 22px;
        width: auto;
    }

    .header .caption h1 span {
        display: none;
    }

    .header .caption h1 {
        letter-spacing: -3px;
    }

    .sec-head .sub-head {
        display: none;
    }
}