/* AURIXXA additions to the Techix theme. */

/* Slim scrollbar: the page's accent colour on a dark track. */
html {
    scrollbar-width: thin;
    scrollbar-color: var(--theme-color3) var(--theme-color2);
}

::-webkit-scrollbar {
    width: 9px;
    height: 9px;
}

::-webkit-scrollbar-track {
    background: var(--theme-color2);
}

::-webkit-scrollbar-thumb {
    border: 2px solid var(--theme-color2);
    border-radius: 999px;
    background: var(--theme-color3);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--theme-color1);
}

::-webkit-scrollbar-corner {
    background: var(--theme-color2);
}

::-webkit-scrollbar-button {
    display: none;
    width: 0;
    height: 0;
}

/* Formatted text written in the dashboard editor (service, project and team pages). */
.site-richtext > *:last-child {
    margin-bottom: 0;
}

.site-richtext p,
.site-richtext ul,
.site-richtext ol,
.site-richtext blockquote {
    margin-bottom: 1rem;
}

.site-richtext h2,
.site-richtext h3,
.site-richtext h4 {
    margin: 1.5rem 0 .75rem;
}

.site-richtext a {
    color: var(--theme-color1);
    text-decoration: underline;
}

.site-richtext .ql-align-center {
    text-align: center;
}

.site-richtext .ql-align-right {
    text-align: right;
}

.site-richtext .ql-align-justify {
    text-align: justify;
}

/* News: play mark on video cards, pagination, comments and search. */
.news-one__single-card .image {
    position: relative;
}

.site-news-play {
    position: absolute;
    inset: 50% auto auto 50%;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--theme-color1);
    color: #fff;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 0 10px rgba(var(--theme-color1-rgb), .25);
}

.site-news-play:hover {
    color: #fff;
}

.site-pagination ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .5rem;
    margin: 3rem 0 0;
    padding: 0;
    list-style: none;
}

.site-pagination a,
.site-pagination span {
    display: grid;
    place-items: center;
    min-width: 46px;
    height: 46px;
    padding: 0 .75rem;
    border: 1px solid rgba(var(--theme-color2-rgb), .12);
    border-radius: 50px;
    color: var(--theme-color2);
    font-weight: 600;
}

.site-pagination a:hover,
.site-pagination .is-active {
    border-color: var(--theme-color1);
    background: var(--theme-color1);
    color: #fff;
}

.site-pagination .is-disabled {
    opacity: .4;
}

[dir="rtl"] .site-pagination .fa-long-arrow-left,
[dir="rtl"] .site-pagination .fa-long-arrow-right {
    transform: scaleX(-1);
}

.site-hp {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.site-comment-avatar {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--theme-color1);
    color: #fff;
    font-size: 1.6rem;
    font-weight: 700;
}

.site-comment-reply {
    margin-inline-start: 60px;
}

.site-search-form {
    display: flex;
    gap: .75rem;
    max-width: 720px;
    margin-inline: auto;
}

.site-search-form input {
    flex: 1;
    padding: .9rem 1.25rem;
    border: 1px solid rgba(var(--theme-color2-rgb), .15);
    border-radius: 50px;
}

.site-search-list li {
    padding: 1rem 0;
    border-bottom: 1px solid rgba(var(--theme-color2-rgb), .08);
}

.site-search-list a {
    color: var(--theme-color2);
    font-size: 1.1rem;
    font-weight: 600;
}

/* Footer newsletter: the submit button looks like the template's arrow link. */
.newsletter-form .site-newsletter-btn {
    flex-shrink: 0;
    border: 0;
    cursor: pointer;
}

.site-newsletter-note {
    color: var(--theme-color1);
    font-size: .9rem;
}

.site-newsletter-note.is-error {
    color: #ff6b6b;
}

/* The language switch in the header (both languages), kept clear of the search button. */
.site-lang-switch {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    min-width: 44px;
    margin-inline-end: 14px;
    font-weight: 700;
    text-decoration: none;
}

/* Header menu: no gap after the last item, and a little less between items in
   Arabic (its labels are wider), so the menu stays on one line. */
.header-1.header-style-two .main-menu .navigation > li:last-child {
    margin-left: 0;
    margin-right: 0;
}
.main-menu .navigation > li > a {
    white-space: nowrap;
}
[dir="rtl"] .header-1.header-style-two .main-menu .navigation > li:not(:last-child) {
    margin-left: 30px;
}
@media (max-width: 1399.98px) {
    [dir="rtl"] .header-1.header-style-two .main-menu .navigation > li:not(:last-child) {
        margin-left: 22px;
    }
}

/* The header call-to-action stays on one line in both languages. */
.nav-right .header-btn {
    white-space: nowrap;
}
