/**
 * 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
/* *************************************** */

#quicklinks {
  border-bottom: 1px solid #E8E8E8;
}

/* *************************************** */
/* Frontpage Hero Area */
/* *************************************** */

#frontpage_news_column {
  background-color: #F4F4F4;
}

#frontpage_news_column .widget-footer {
  display: flex;
  position: absolute;
  right: 12px;
  top: 6px;
}

#frontpage_news_column .widget-footer a {
  text-decoration: none;
  border: none;
}

#frontpage_news_column hr {
  display: none;
}

#frontpage_news_column .content-link {
  font-size: 18px !important;
  line-height: 1.2;
}

#frontpage_news_column .block-list {
  gap: 16px;
}

#frontpage_news_column .block-list__item {
  position: relative;
  padding-left: 1rem;
}

#frontpage_news_column .block-list__item::before {
  width: 6px;
    height: 6px;
    margin-top: -3px;
    border-color: black;
    border-style: solid;
    border-width: 2px 2px 0 0;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
  position: absolute;
    top: 50%;
    left: 0;
    display: block;
    content: "";
    transition: left 0.1s;
}

#frontpage_news_column .block-list__item .lumx-link__content {
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;   /* max. 2 Zeilen */
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
}


/* Slider */
#frontpage_news_slider .widget--hero_slider {
  margin: 0 !important;
}

#frontpage_news_slider .widget-content--block-slideshow {
  height: auto !important;
  aspect-ratio: 16/9;
}

@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;
}

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

/*--- BASE STYLES */

:root {
    --lumx-app-background: #ffffff;
    --lumx-typography-font-family: 'rtl_united_textregular', sans-serif;
    --lumx-typography-custom-title1-font-family: 'rtl_united_textbold', sans-serif;
    --lumx-typography-custom-title1-font-size: 60px;
    --lumx-border-radius: 0;
}
.theme-lumapps .widget {
    border-radius:0;
}
/*--- GLOBAL STYLES */

.theme-lumapps .widget-content-list:not(.widget--home-carousel) {
    --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: 20px;
    --lumx-typography-custom-title4-font-weight: 600;
}

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

.theme-lumapps .widget-content-list.widget--latest_news,
.theme-lumapps .widget-content-list.widget--latest_news_group {
    --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;
}

.theme-lumapps .widget--community_home {
    --lumx-typography-custom-title4-font-size: 17px;
    --lumx-typography-custom-title4-font-weight: 500;
    --lumx-typography-custom-title4-line-height: 1.3;
}

/*--- FIX */

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

.theme-lumapps .widget--link_list {
    --lumx-typography-custom-title5-font-family: 'rtl_united_textregular', sans-serif;
    --lumx-typography-custom-title5-font-size: 14px;
    --lumx-typography-custom-title5-font-weight: 500;
    --lumx-typography-custom-title5-line-height: 1rem;
}

.theme-lumapps .widget--link_list .lumx-divider {
    display: none;
}

.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 */
.widget--latest_news .block-page-preview__thumbnail-wrapper,
.widget--latest_news_group .block-page-preview__thumbnail-wrapper {
    --lumx-thumbnail-aspect-ratio: 16/9;
}

.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: 36.8px;
    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 */

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

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

.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;
}

.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;
}

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

.widget-html__content h2,
.block-html h2,
.content-block-title {
    line-height: 1.4;
}

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

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

.widget--services .widget-html__content,
.widget--services .block-html {
    display: flex;
    flex-wrap: wrap;
}

.component-cell--list_container .component-widget {
    margin-bottom: 0 !important;
}

.component-cell--list_container .block-list {
  --block-list-gap: 10px !important;
}

.widget--link_list .widget-content,
.theme-lumapps .widget--link_list .widget-content--v2:not(.widget-content--block-variant-ungrouped):not(.widget-content--block-variant-side):not(.widget-content--block-variant-cover) {
    padding: 0;
}

.widget--link_list li{
    margin-bottom: 0;
}
.widget--link_list .block-list {
    --block-list-gap: 16px;
}
.widget--link_list li:after {
    height: 0;
}

.widget--link_list li:last-child,
.widget--link_list .block-list__item:last-child {
    padding-top: 12px;
    border-top: 1px solid rgba(0, 0, 0, .12);
}

.widget--link_list li .widget-links__wrapper,
.widget--link_list .generic-entity-block__detail {
    position: relative;
    padding-left: 15px;
}

.widget--link_list li .widget-links__wrapper .widget-links__title {
    font-size: 14px;
}


.widget--link_list li .widget-links__wrapper::before,
.widget--link_list .generic-entity-block__detail::before {
    position: absolute;
    top: 50%;
    left: 0;
    display: block;
    content: "";
    transition: left 0.1s;
}

.widget--link_list li .widget-links__wrapper::before,
.widget--link_list .generic-entity-block__detail::before {
    width: 6px;
    height: 6px;
    margin-top: -6px;
    border-color: black;
    border-style: solid;
    border-width: 2px 2px 0 0;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}

.widget--latest_news .widget-footer__link,
.widget--latest_news_group .widget-footer__link,
.widget--latest_news .widget-footer__label,
.widget--latest_news_group .widget-footer__label {
    position: absolute;
    top: 28px;
    left: 240px;
    font-size: 17px;

}

.widget--latest_news .content-block-title,
.widget--latest_news_group .content-block-title {
    font-size: 17px !important;
    line-height: 1.3 !important;
}

.widget--latest_news .content-block__thumbnail,
.widget--latest_news_group .content-block__thumbnail {
    margin-bottom: 8px !important;
}

.widget--latest_news .widget-slideshow__controls,
.widget--latest_news_group .widget-slideshow__controls {
    margin-top: 12px;
}

.widget--latest_news .widget-footer__link,
.widget--latest_news .widget-footer__label {
    top: 28px;
    left: 240px;
}

.widget--latest_news_group .widget-footer__link,
.widget--latest_news_group .widget-footer__label {
    top: 28px;
    left: 272px;
}

.widget--latest_news .widget-slideshow__nav--prev,
.widget--latest_news .widget-slideshow__nav--next {
    position: absolute;
}

.widget--latest_news .widget-slideshow__nav--prev,
.widget--latest_news_group .widget-slideshow__pager-bullet {
    top: 24px;
    right: 40px;
}

.widget--latest_news .widget-slideshow__nav--next,
.widget--latest_news_group .widget-slideshow__pager-bullet {
    top: 24px;
    right: 0;
}

.widget--hero_slider .widget-slideshow__pager-bullet,
.widget--latest_news .widget-slideshow__pager-bullet,
.widget--latest_news_group .widget-slideshow__pager-bullet {
    position: relative;
    width: 72px;
    height: 2px;
    margin: 0 8px;
    border-radius: 0;
}

.widget-slideshow--theme-light .widget-slideshow__nav button i {
    width: 24px;
    height: 24px;
    font-size: 24px;
    line-height: 24px;
    pointer-events: none;
}

.widget-slideshow--theme-dark .widget-slideshow__nav button {
	color: #000000;
}

.widget-slideshow--theme-light .widget-slideshow__pager-bullet {
    background-color: #D8DADD;
}

.widget-slideshow--theme-light .widget-slideshow__pager-bullet--is-active {
    background-color: #000000;
}

.widget-slideshow--theme-dark .widget-slideshow__nav button {
  background-color: #ffffff;
}

.widget-slideshow--theme-dark .widget-slideshow__nav button:hover {
  background-color: rgba(255, 255, 255, 0.8);
}

.widget--latest_news .content-block__fields,
.widget--latest_news_group .content-block__fields {
    display: flex;
    flex-direction: column;
}

.widget--latest_news .content-block__field--publication-date,
.widget--latest_news_group .content-block__field--publication-date {
    order: 2;
    margin-bottom: 4px;
}

.widget--latest_news .content-block__field--title,
.widget--latest_news_group .content-block__field--title {
    order: 1;
}

.widget--latest_news .content-block__field--social,
.widget--latest_news_group .content-block__field--social {
    order: 3;
}

.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;
}

.widget--community_home .post-block.post-block--view-mode-variant-ungroup {
    overflow: hidden;
    background-color: #fff;
    border-radius: 0;
    box-shadow: none;
}

.widget--community_home .block-post-title,
.widget--community_home .community-block__title {
    font-size: 17px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    letter-spacing: .03rem;
}

.component-row--service-row .component-row__grid {
    align-items: center;
}

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

.grid-view--view-mode-variant-ungroup .grid-view_item {
	box-shadow: none;
}

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

.contribution-button {
    display: none;
}

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

.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__list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.social-bar__item {
    height: 40px;
}

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

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

.footer {
    padding: 32px 0;
    margin: 0;
    background-color: #17181A;
}

.footer__nav {
    display: flex;
    justify-content: space-between;
    max-width: 1128px;
    margin: 0 auto;
}

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

.footer__link-list {
    display: flex;
    gap: 40px;
}

.footer 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) {
    .footer__link-list {
        flex-direction: column;
        justify-content: center;
    }
}

.app-content--is-homepage .bg-image {
  position: absolute; 
  top: 0; 
  right: 0; 
  left: 0; 
  z-index: -1; 
  height: 100vh; 
  background-color: #f1f1f1;
}

