.az-ac-widget,
.az-ac-widget * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.az-ac-widget {
    width: 100%;
    padding: 40px 44px;
    background-color: #2c2c2c;
    scroll-behavior: smooth;
    overflow: hidden;
}

.az-ac-widget .parent {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 0;
    min-width: 0;
}

.az-ac-widget .az-ac-rail {
    width: 300px;
    height: auto;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.az-ac-widget .az-ac-mobile-nav {
    display: none;
}

.az-ac-widget .az-ac-roler-viewport {
    width: 100%;
    height: 500px;
    overflow: hidden;
    position: relative;
}

.az-ac-widget .roler {
    height: max-content;
    min-height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    overflow: visible;
    transition: transform 0.5s ease;
    align-items: stretch;
    justify-content: flex-start;
    will-change: transform;
}

.az-ac-widget img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.az-ac-widget .img-content {
    display: block;
    height: 500px;
}

.az-ac-widget .content {
    flex: 1;
    height: auto;
    width: 100%;
    position: relative;
    min-width: 0;
}

.az-ac-widget .box {
    position: absolute;
    top: 40px;
    left: -8%;
    z-index: 50;
    background-color: black;
    width: 400px;
    max-width: calc(100% - 20px);
    padding: 50px;
}

.az-ac-widget .h5 {
    font-size: xx-large;
    padding-bottom: 10px;
    color: aliceblue;
}

.az-ac-widget .content-2 {
    font-size: medium;
    padding-top: 10px;
    color: rgb(211, 205, 205);
}

.az-ac-widget .h5,
.az-ac-widget .content-2,
.az-ac-widget .img-content {
    transition: opacity .7s ease-in-out;
}

.az-ac-widget .fade-out {
    opacity: .3;
}

.az-ac-widget .fade-in {
    opacity: 1;
}

.az-ac-widget .item {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    position: relative;
    height: 100%;
    width: 100%;
    min-width: 100%;
    column-gap: 0;
    background: transparent;
    border: 0;
    cursor: pointer;
    text-align: inherit;
    appearance: none;
    -webkit-appearance: none;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
    overflow: visible;
}

.az-ac-widget .item > p {
    width: 40%;
    color: aliceblue;
    font-size: 50px;
    height: auto;
    font-weight: 700;
    text-align: center;
}

.az-ac-widget .item > img {
    height: 151px;
    width: 20px;
    display: block;
    rotate: 0deg;
}

.az-ac-widget .item.active::before {
    content: "";
    position: absolute;
    bottom: 50%;
    right: 0;
    height: 1px;
    width: 150px;
    background: brown;
}

.az-ac-widget .item.active > img {
    z-index: 40;
}

.az-ac-widget .az-ac-nav-btn {
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
}

.az-ac-widget .az-ac-nav-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

@media (max-width: 1050px) {
    .az-ac-widget .az-ac-rail {
        width: 200px;
    }

    .az-ac-widget .item.active::before {
        width: 100px;
    }
}

@media (max-width: 890px) {
    .az-ac-widget {
        padding: 24px 0;
        overflow: hidden;
    }

    .az-ac-widget .parent {
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        height: auto;
    }

    .az-ac-widget .az-ac-rail {
        width: 100%;
        height: auto;
        padding: 0 16px;
        margin-top: 16px;
        gap: 12px;
    }

    .az-ac-widget .az-ac-mobile-nav {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 10px;
    }

    .az-ac-widget .az-ac-roler-viewport {
        width: 100%;
        height: 200px;
        overflow: hidden;
    }

    .az-ac-widget .roler {
        flex-direction: row;
        height: 100%;
        width: max-content;
        min-width: 100%;
        justify-content: flex-start;
        align-items: flex-start;
        height: 110px
    }

    .az-ac-widget .content {
        height: auto;
    }

    .az-ac-widget .item.active::before {
        top: 0;
        left: 3px;
        width: 1px;
        height: 50px;
        display: none;
    }

    .az-ac-widget .item {
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        width: 150px;
        min-width: 150px;
        max-width: 150px;
        height: 100%;
        row-gap: 0;
        flex: 0 0 150px;
    }

    .az-ac-widget .item > img {
        rotate: 270deg;
        width: 20px;
        height: 151px;
        max-width: none;
        flex: 0 0 auto;
        display: block;
        position: absolute;
    }

    .az-ac-widget .item > p {
        width: 150px;
        min-width: 150px;
        color: aliceblue;
        font-size: 50px;
        font-weight: 700;
        text-align: center;
        line-height: 1;
    }

    .az-ac-widget .box {
        position: static;
        width: 100%;
        max-width: 100%;
        padding-top: 20px;
        padding-bottom: 20px;
        left: auto;
        top: auto;
    }

    .az-ac-widget .content,
    .az-ac-widget .img-content {
        width: 100%;
    }

    .az-ac-widget .img-content {
        height: 320px;
    }
}
