/**
 * DOCUMENT INFORMATION
 * - Client: RTL
 * - Designer: jean@lumapps.com / mehdi@lumapps.com
 * - Version: 1.6.1
 * - Updated On: 28/04/2022
 *
 * - NGI version: vanessa.verriere@lumapps.com
 * - Updated On: February 7th, 2025
 */

/* *************************************** */
/* Font imports
/* *************************************** */

@font-face {
    font-family: 'rtl_united_textbold';
    font-style: normal;
    font-weight: 600;
    src: url('https://bilder-a.akamaihd.net/rtlunited/fonts/RTLUnitedText-Bold.woff2') format('woff2'),
    url('https://bilder-a.akamaihd.net/rtlunited/fonts/RTLUnitedText-Bold.woff') format('woff');
}

@font-face {
    font-family: 'rtl_united_textbold_italic';
    font-style: italic;
    font-weight: 600;
    src: url('https://bilder-a.akamaihd.net/rtlunited/fonts/RTLUnitedText-BoldItalic.woff2') format('woff2'),
    url('https://bilder-a.akamaihd.net/rtlunited/fonts/RTLUnitedText-BoldItalic.woff') format('woff');
}

@font-face {
    font-family: 'rtl_united_textregular';
    font-style: normal;
    font-weight: normal;
    src: url('https://bilder-a.akamaihd.net/rtlunited/fonts/RTLUnitedText-Regular.woff2') format('woff2'),
    url('https://bilder-a.akamaihd.net/rtlunited/fonts/RTLUnitedText-Regular.woff') format('woff');
}

@font-face {
    font-family: 'rtl_united_textregular_italic';
    font-style: italic;
    font-weight: normal;
    src: url('https://bilder-a.akamaihd.net/rtlunited/fonts/RTLUnitedText-RegularItalic.woff2') format('woff2'),
    url('https://bilder-a.akamaihd.net/rtlunited/fonts/RTLUnitedText-RegularItalic.woff') format('woff');
}

@font-face {
    font-family: 'rtl_united_textlight';
    font-style: normal;
    font-weight: 300;
    src: url('https://bilder-a.akamaihd.net/rtlunited/fonts/RTLUnitedText-Light.woff2') format('woff2'),
    url('https://bilder-a.akamaihd.net/rtlunited/fonts/RTLUnitedText-Light.woff') format('woff');
}

@font-face {
    font-family: 'rtl_united_textlight_italic';
    font-style: italic;
    font-weight: 300;
    src: url('https://bilder-a.akamaihd.net/rtlunited/fonts/RTLUnitedText-LightItalic.woff2') format('woff2'),
    url('https://bilder-a.akamaihd.net/rtlunited/fonts/RTLUnitedText-LightItalic.woff') format('woff');
}

/* *************************************** */
/* Theme material styles (replaced by CSS variables)
/* *************************************** */

/*--- BASE STYLES */

body.theme-material {
    font-family: 'rtl_united_textregular', sans-serif;
    background-color: #FFFFFF !important;
}

/* *************************************** */
/* Theme lumapps styles
/* *************************************** */

/*--- BASE STYLES */

:root {
    --lumx-app-background: #ffffff;
    --lumx-typography-font-family: 'rtl_united_textregular', sans-serif;
    /* title */
    --lumx-typography-custom-title1-font-family: 'rtl_united_textbold', sans-serif;
    --lumx-typography-custom-title1-font-size: 60px;
    --lumx-typography-custom-title2-font-family: 'rtl_united_textbold', sans-serif;
    --lumx-widget-title-theme-light-color: #020203;
    --lumx-border-radius: 0;
}
.theme-lumapps .widget {
    border-radius:0;
}
.theme-lumapps .widget-content-list {
    --lumx-typography-custom-title3-font-family: 'rtl_united_textbold', sans-serif;
    --lumx-typography-custom-title3-font-size: 24px;
    --lumx-typography-custom-title3-font-weight: 600;
    --lumx-typography-custom-title4-font-family: 'rtl_united_textbold', sans-serif;
    --lumx-typography-custom-title4-font-size: 24px;
    --lumx-typography-custom-title4-font-weight: 600;
}
.theme-lumapps .widget-html {
    --lumx-typography-custom-title1-font-family: 'rtl_united_textbold', sans-serif;
    --lumx-typography-custom-title1-font-size: 60px;
    --lumx-typography-custom-title1-font-weight: bold;
    --lumx-typography-custom-title2-font-family: 'rtl_united_textbold', sans-serif;
    --lumx-typography-custom-title2-font-size: 32px;
    --lumx-typography-custom-title2-font-weight: bold;
    --lumx-typography-custom-title3-font-family: 'rtl_united_textregular', sans-serif;
    --lumx-typography-custom-title3-font-size: 17px;
    --lumx-typography-custom-title3-font-weight: normal;
    --lumx-typography-custom-title4-font-family: 'rtl_united_textbold', sans-serif;
    --lumx-typography-custom-title4-font-size: 24px;
    --lumx-typography-custom-title4-font-weight: bold;
    --lumx-typography-custom-title5-font-family: 'rtl_united_textregular', sans-serif;
    --lumx-typography-custom-title5-font-size: 13px;
    --lumx-typography-custom-title5-font-weight: normal;
    --lumx-typography-custom-title6-font-family: 'rtl_united_textregular', sans-serif;
    --lumx-typography-custom-title6-font-size: 17px;
    --lumx-typography-custom-title6-font-weight: bold;
}

.theme-lumapps .widget--home-carousel {
    --lumx-typography-custom-title3-font-family: 'rtl_united_textbold', sans-serif;
    --lumx-typography-custom-title3-font-size: 32px;
    --lumx-typography-custom-title3-font-weight: 600;
}

.theme-lumapps .widget-content-list.widget--latest_news {
    --lumx-typography-custom-title3-font-size: 17px;
    --lumx-typography-custom-title3-line-height: 1.3;
    --lumx-typography-custom-title4-font-size: 17px;
    --lumx-typography-custom-title4-line-height: 1.3;
}
/*--- FIX */

.theme-lumapps .block-grid {
    --block-grid-item-min-width: 160px !important;
}

.widget--home-latest-news .block-page-preview__thumbnail-wrapper {
    --lumx-thumbnail-aspect-ratio: 16/9;
}

.lumx-thumbnail--aspect-ratio-horizontal:not(.lumx-thumbnail--fill-height) .lumx-thumbnail__image {
    --lumx-thumbnail-aspect-ratio: 16/9;
}

/* *************************************** */
/* Common styles (both themes) */
/* *************************************** */

/*--- NATIVE UI ELEMENTS OVERRIDES */

.content-block-title {
    line-height: 1.4;
}

h1.widget-title__title {
    line-height: 1.2;
}

.widget-html__content a,
.block-html a {
    text-decoration: underline;
}

.widget-html__content h1,
.block-html h1 {
    font-family: 'rtl_united_textbold', sans-serif;
    font-size: 60px;
    font-weight: bold;
    line-height: 69px;
    color: #020203;
}

.widget-html__content h2,
.block-html h2 {
    font-family: 'rtl_united_textbold', sans-serif;
    font-size: 32px;
    font-weight: bold;
    line-height: 1.4;
    color: #020203;
}

.widget-html__content h3,
.block-html h3 {
    font-family: 'rtl_united_textregular', sans-serif;
    font-size: 17px;
    font-weight: normal;
    color: #020203;
}

.widget-html__content h4,
.block-html h4 {
    font-family: 'rtl_united_textbold', sans-serif;
    font-size: 24px;
    font-weight: bold;
    line-height: 27.6px;
    color: #020203;
}

.widget-html__content h5,
.block-html h5 {
    font-family: 'rtl_united_textregular', sans-serif;
    font-size: 13px;
    font-weight: normal;
    color: #020203;
}

.widget-html__content h6,
.block-html h6 {
    font-family: 'rtl_united_textregular', sans-serif;
    font-size: 17px;
    font-weight: bold;
    color: #020203;
}

/*--- GLOBAL STYLES */

.widget--home-carousel .content-block-title {
    font-family: 'rtl_united_textbold', sans-serif;
    font-size: 32px !important;
}

.content-block-title {
    font-family: 'rtl_united_textbold', sans-serif;
    font-size: 24px !important;
    font-weight: 600 !important;
}

.widget-title__title {
    font-family: 'rtl_united_textbold', sans-serif;
    font-size: 60px;
}

.content-details {
    margin-bottom: 80px;
}

.user-directory__wrapper {
    box-shadow: none;
}

.widget-content-list__tab {
    text-transform: none;
}

.widget-contact__submit {
    font-size: 17px;
    text-transform: none !important;
    border-radius: 0 !important;
}

.widget--contact-filter .widget-content-filter__submit {
    font-size: 17px;
    text-transform: none !important;
    border-radius: 0;
}

.widget--community-list .community-block__title {
    font-family: 'rtl_united_textbold', sans-serif;
    font-size: 24px !important;
}

.widget--posts .lumx-link__content {
    font-family: 'rtl_united_textbold', sans-serif !important;
    font-size: 24px;
}

.widget--banner-CTA .widget-html__content.fr-element a,
.widget--banner-CTA .block-html a {
    font-size: 17px;
    color: #FFF;
    text-decoration: none;
}

.widget--community-title .widget-title__title {
    font-family: 'rtl_united_textbold', sans-serif;
    font-size: 60px;
}

.post-block--theme-light .post-block-header__community,
.post-block--theme-light .post-block-header__instance,
.post-block--theme-light .post-block-header__status,
.post-block--theme-light .post-block-header__tag {
    color: #000;
    text-decoration: underline;
}

.post-block--view-mode-variant-ungroup .post-block__wrapper {
    padding: 0 !important;
}

.post-block--theme-light .post-block-content__title {
    font-family: 'rtl_united_textbold', sans-serif;
    font-size: 24px !important;
    font-weight: 600 !important;
}

.follow-button--size-s.follow-button--view-mode-extended.follow-button--not-followed .follow-button__subscribe {
    height: auto;
    padding: 8px 16px;
    font-size: 17px;
    text-transform: none;
    border-radius: 0 !important;
}

.widget-content-filter__subheader {
    color: #020203 !important;
    text-transform: none !important;
}

.directory-entry-block__thumbnail,
.widget-links__thumbnail {
    border-radius: 0 !important;
}

.content-block--default-style:not(.content-block--view-mode-cover) .content-block-publication-date {
    font-size: .875rem !important;
    font-weight: 400 !important;
}

.widget-content {
    overflow: hidden;
}

a[ng-click="vm.synchronizeFeed(feed.id)"] {
    display: none;
}

.user-directory__title.module__title {
    font-size: 32px;
    font-weight: 700;
    color: rgb(2, 2, 3);
}

.user-directory__wrapper {
    padding: 0 !important;
}

/* *************************************** */
/* Header */
/* *************************************** */

.main-nav {
    border-top: solid 1px #E8E8E8 !important;
    border-bottom: solid 1px #E8E8E8 !important;
    box-shadow: none !important;
}

.contribution-button {
    display: none;
}

.main-nav-item:hover {
    box-shadow: inset 0 -2px 0 #020203 !important;
}

.main-nav-item--is-active {
    box-shadow: inset 0 -2px 0 #020203 !important;
}

.bookmark__link:hover {
    text-decoration: none !important;
    background-color: #FFF !important;
}

.instance-logo {
    height: 24px !important;
    padding: 0 !important;
}

/* *************************************** */
/* Social Bar */
/* *************************************** */

.social-bar {
  position: fixed;
  top: 160px;
  left: 0;
  z-index: 1;
  width: 40px;
}

.social-bar__item {
  height: 40px;
  margin-bottom: 2px !important;
}

.social-bar__item img {
  width: 40px !important;
  height: 40px !important;
}

/* *************************************** */
/* Footer */
/* *************************************** */

.footer {
    height: auto;
    padding-top: 24px;
    padding-bottom: 24px;
    margin: 0;
    background-color: #17181A;
}

.logo {
    display: flex;
    align-items: center;
}

.links {
    display: flex;
}

.contact {
    margin-right: 20px !important;
    margin-left: 20px !important;
}

.contact a {
    font-family: 'rtl_united_textregular', sans-serif;
    font-size: 17px;
    color: #FFF !important;
    text-decoration: none;
}

.termsOfUse {
    margin-right: 20px;
    margin-left: 20px;
}

.termsOfUse a {
    font-family: 'rtl_united_textregular', sans-serif;
    font-size: 17px;
    color: #FFF !important;
    text-decoration: none;
}

.help {
    margin-right: 20px;
    margin-left: 20px;
}

.help a {
    font-family: 'rtl_united_textregular', sans-serif;
    font-size: 17px;
    color: #FFF !important;
    text-decoration: none;
}

.dataProtection {
    margin-left: 20px;
}

.dataProtection a {
    font-family: 'rtl_united_textregular', sans-serif;
    font-size: 17px;
    color: #FFF !important;
    text-decoration: none;
}

.div-flex {
    display: flex;
    justify-content: space-around;
}

@media screen and (max-width: 640px) {
    .links {
        flex-direction: column;
        justify-content: center;
    }
}

/* Sticky contact on RTL AdAlliance - Our Teams */
.widget--sticky-contact {
  position: sticky !important;
  top: 120px;
}

/* News slider text link */
#widget-441fcf97-5cb1-58b5-89f5-f7a836bd2c30 .widget-footer {
    position: absolute;
    top: 18px;
    left: 240px;
    font-size: 17px;
}

#widget-dd661caa-aff5-55b2-a84e-658c530be746 .widget-footer {
    position: absolute;
    top: 18px;
    left: 240px;
    font-size: 17px;
}

/* bold welcome  */

.welcome-bold {
  font-weight: bold;
}

