/* *****************************************
- DOCUMENT INFORMATION
- NGI version: vanessa.verriere@lumapps.com
- Updated On: November 21st, 2022
****************************************** */

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

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

/*--- BASE STYLES */

body.theme-material {
    background-color: #F0F0F0;
}

/*--- NATIVE UI ELEMENTS OVERRIDES */

/*--- GLOBAL STYLES */

/* Flux RSS Twitter - legacy rss widget */
.theme-material #rss-4 .widget-content {
    padding: 0 !important;
}
.theme-material #rss-4 .widget-content ul.widget-rss__list {
    display: flex;
    padding: 0 30px;
}
.theme-material #rss-4 .widget-content li.widget-rss-feed {
    display: inline-block;
    flex: 1;
    flex-wrap: wrap;
    width: 25%;
    margin: 10px;
    background-color: #FFFFFF;
}
.theme-material #rss-4 .widget-content li.widget-rss-feed .widget-rss-feed__wrapper .widget-rss-feed__description img {
    width: 100%;
    height: 130px;
    padding-top: 10px;
    margin-top: 20px;
    margin-right: 0 !important;
}
.theme-material #rss-4 .widget-content li.widget-rss-feed .widget-rss-feed__wrapper {
    padding: 12px;
    background-color: #FFF;
}
.theme-material #rss-4 .widget-content li.widget-rss-feed .widget-rss-feed__wrapper .widget-rss-feed__link {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}
.theme-material #rss-4 .widget-content li.widget-rss-feed .widget-rss-feed__wrapper .widget-rss-feed__link span {
    display: none;
}
.theme-material #rss-4 .widget-content li.widget-rss-feed .widget-rss-feed__wrapper .widget-rss-feed__description {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 8;
    -webkit-box-orient: vertical;
}
.theme-material #rss-4 .widget-content li.widget-rss-feed .widget-rss-feed__wrapper .widget-rss-feed__description img {
    padding-top: 7px;
}
.theme-material #rss-4-link .widget-content {
    background-image: url('https://veolia.lumappsusercontent.com//serve/AMIfv95ZfJmOu6AXzhyIeTlaG_j8x93eWATAezw3BW50fb3WgeItLBcLHbh6FATKMoCuxhs-OjAtSpYQgwFji4IBsdeJRiMu6BDq3PcnpbtsYHbkFypoopJ6FqxF_BZ3G6ZBn8Nlq1ViT9_bDPzlmpBmXCxBmDBZUXne6qDvulxiG_P8UMqVTSe8GEAIoAV8X4MiVGj8phEx0CvlQbIFSy-gGap_gnxOIckfc-Bxjk_kAlrdmwJjB5aJPy_91SRp9Jh0csj1Ca8hKH2O5f7aLt_M3gn66XVGkALU3Tq7Y7qChk7sCs3iD00PxnOjibm6s_Ass0VBK3iuQKYySp6MJlGhVumjYO3JApI0atqeD_JxRIno8Goj10d1T0zlksfiNKAkMbfEogsgasFf2VHCy9KOTvlB0ec9iavTe6VlSs8AuY-idn66XOU/WAR-footerBG_x2.jpg');
}
.theme-material #rss-4-link .widget-html__content a {
    padding: 12px 80px;
    background-color: #FFFFFF;
    border-radius: 0 8px;
}
.theme-material #rss-4-link .widget-html__content a:hover {
    text-decoration: none;
}

/* stock exchange - legacy rss widget */
.theme-material .widget-stock-exchange__value {
    font-size: 40px;
}
.theme-material .widget-stock-exchange__fluctuation {
    font-size: 16px;
    color: #21C5DA !important;
}
.theme-material .widget-stock-exchange__label {
    display: none;
}

/*My news Veolia*/
#app-view #B2S-mynews .content-block {
    padding-bottom: 0;
    border-bottom: none !important;
}

/*Sites list*/
/* not work */
#app-view #B2S-siteslist .instance-block-name {
    font-size: 16px !important;
}
#app-view #B2S-siteslist .directory-entry-block-fields__paragraph {
    display: none !important;
}

/*Applications*/
/* description non visible en v2 pour le moment */
#app-view #B2S-Apps .directory-entry-block-fields__paragraph {
    display: none;
}
#app-view #B2S-Apps .directory-entry-block__actions {
    margin-top: 0;
}

/*Highlighted site + Latest tips*/
#app-view #B2S-highlightedcontent .content-block__fields {
    padding-top: 12px !important;
}
#app-view #B2S-highlightedcontent .content-block-social {
    margin-top: -6px !important;
}
#app-view #B2S-highlightedcontent .widget-slideshow__wrapper {
    padding-bottom: 12px !important;
}

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

/*--- BASE STYLES */
:root {
    /* logo */
    --lumx-app-header-logo-height: 60px;
    --lumx-app-background: #f0f0f0;
    /* metadata */
    --lumx-typography-custom-metadata-font-style: italic;
}

.theme-lumapps .widget {
    border-radius: 2px;
}

/*--- NATIVE UI ELEMENTS OVERRIDES */
.theme-lumapps .widget a {
    --lumx-color-primary-N: var(--lumx-color-secondary-N);
    text-decoration: none;
}

.theme-lumapps .widget a:hover {
    text-decoration: underline;
}

/*--- GLOBAL STYLES */
/*My news Veolia*/
#front-office-app #B2S-mynews .lumx-divider {
    display: none;
}

/*Highlighted site + Latest tips*/
.theme-lumapps #B2S-highlightedcontent .block-page-preview__field {
    padding-top: 12px;
}
.theme-lumapps #B2S-highlightedcontent .block-reactions {
    margin-top: -6px;
}
.theme-lumapps #B2S-highlightedcontent .widget-content-list .widget-content--block-grid {
    padding-bottom: 12px;
}

/*--- FIX */
.theme-lumapps .block-grid {
    --block-grid-item-min-width: 160px !important;
}
.theme-lumapps .widget-breadcrumb.widget--theme-light {
    background-color: transparent;
    box-shadow: none;
}
.theme-lumapps .widget {
    overflow: hidden;
}
.theme-lumapps #widget-a568e81e-d752-4e88-8cf7-91954c639de7 .widget-content,
.theme-lumapps #widget-e8cb1ba6-16e6-43d2-bd92-9c0406dbbb3c .widget-content,
.theme-lumapps #widget-eb9f2e84-a36d-443d-9a01-fe4e49703f9a .widget-content,
.theme-lumapps #widget-fc593976-dfb4-455c-b680-6ca8411093c8 .widget-content,
.theme-lumapps #widget-4d026e48-e11d-467a-a0e0-548642cb33d4 .widget-content {
    padding-top: 24px !important;
    padding-right: 12px !important;
    padding-bottom: 12px !important;
    padding-left: 12px !important;
}

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

/*--- BASE STYLES */

/*--- NATIVE UI ELEMENTS OVERRIDES */

/* Bug affichage titre de site */
.header-default__title {
    display: none;
}
.header-default__subtitle {
    display: none;
}

/*--- GLOBAL STYLES */

/* Flux RSS Twitter */
#rss-4 ul {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
#rss-4 li {
    width: 31%;
    padding: 12px;
    background-color: #ffffff;
}

#rss-4 li .lumx-list-item__content p {
    display: none;
}

#rss-4 hr {
    display: none;
}

#rss-4 .widget-footer .widget-wrapper {
    border-width: 0;
}

/* stock exchange */
.widget-remote .widget-header .widget-wrapper {
    border-bottom-width: 0;
}

.widget-remote .widget-wrapper div:not[data-id^="marketplace-extension-content"] .lumx-flex-box .lumx-flex-box:first-child,
.widget-remote .block-remote div:not[data-id^="marketplace-extension-content"] .lumx-flex-box .lumx-flex-box:first-child {
    display: none;
}

.widget-remote .remote-component div:not[data-id^="marketplace-extension-content"] .lumx-flex-box .lumx-flex-box:last-child > *,
.widget-remote .block-remote div:not[data-id^="marketplace-extension-content"] .lumx-flex-box .lumx-flex-box:last-child {
    margin: auto;
    text-align: center;
}

.widget-remote .remote-component div:not[data-id^="marketplace-extension-content"] .lumx-flex-box .lumx-flex-box:last-child>span,
.widget-remote .block-remote div:not[data-id^="marketplace-extension-content"] .lumx-flex-box .lumx-flex-box:last-child>span {
    margin: auto;
    font-family: "Roboto", sans-serif;
    font-size: 40px;
    font-weight: 200;
}

.widget-remote .block-remote div:not[data-id^="marketplace-extension-content"] {
    --lumx-typography-interface-display1-font-weight: 200;
}

.widget-remote div:not[data-id^="marketplace-extension-content"] .fluctuation-color-negative,
.widget-remote div:not[data-id^="marketplace-extension-content"] .fluctuation-color-positive {
    color: #21C5DA;
}

/*ENCOCHE BLEUE ligne*/
.component-row--bath--grey:before {
    position: absolute;
    top: -38px;
    left: 0;
    width: 100%;
    height: 38px;
    content: "";
    background-image: url(https://prod.cdn.lumapps.com/d3026ae92c/specifics/veolia/img/homesite/bath-grey.png?f7a60cb…=);
    background-repeat: repeat-x;
    background-position: top;
}

/* *************************************** */
/* Miscellaneous */
/* *************************************** */

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

/*LOGO header*/
.header-top__logo a {
    padding: 0 !important;
}

/*MAIN NAVIGATION*/
.main-nav {
    box-shadow: none !important;
}

.header-main-nav {
    box-shadow: none !important;
}

.main-nav__wrapper a {
    text-transform: uppercase;
}

li.main-nav__child:hover {
    background-color: #00838F !important;
}

li.main-nav__child--is-active {
    background-color: #00838F !important;
}

.lumx-button--color-light:not(.lumx-button--is-selected).lumx-button--emphasis-low {
    color: #757575;
}

.lumx-button--color-light:not(.lumx-button--is-selected).lumx-button--emphasis-low:hover {
    color: #757575;
}

/*MAIN NAVIGATION - Nouvelle top barre CSS - site parent*/
.main-nav-item__link {
    text-transform: uppercase;
}

.main-nav-item--primary:hover {
    background-color: #00838F !important;
}

.main-nav__root .main-nav-item--is-active {
    background-color: #00838F !important;
}

.main-nav-item__submenu span {
    font-size: 12px !important;
    font-weight: normal;
    text-transform: none !important;
}

/*BOOKMARK correction - seconde version*/
.bookmarked-apps__list .bookmarked-apps__groups .bookmarked-apps__thumbnail {
    background-image: url('https://lh3.googleusercontent.com/Y_1wnvUy1HCXAPJ3ygXY8hJNTXTJk9mWinY9fyjqi0ijUBsiu5bXBbcy69ilPeotuwTj94NU0tPEZc8PdoZKOJ55bHxwl-Zp_Il1VK4h');
    background-size: 92px 142px;
}

.bookmarked-apps__list .bookmarked-apps__groups .bookmarked-apps__thumbnail {
    background-position: -22px -15px;
}

.bookmarked-apps__list .bookmarked-apps__veolia-directory .bookmarked-apps__thumbnail {
    background-image: url('https://lh3.googleusercontent.com/tEbJ4au1eFai_dhz8I_AdmU4zGq3Wdv6tT0PGdjJ0iTma6HqMoJ6hhg6LvOnDnH49v7DV5xnH2MHdVZmF_U2xzSGel25Itp_wHPLZEk');
    background-size: 42px 42px;
}

.main-nav__children--lvl-root span {
    font-size: 12px !important;
    text-transform: none !important;
}

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

footer .footer {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    height: 80px;
    padding: 0 32px;
    background-color: rgba(0,0,0,0.87);
}

.footer-links {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0;
    margin: 0;
    list-style: none;
}

.footer-social {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0;
    margin: 0;
    list-style: none;
}

.footer-links li {
    display: flex;
    flex-direction: row;
    align-items: center;
    color: #fff;
    text-align: center;
    word-break: break-word;
}

.footer-links li:after {
    content: "|";
}

.footer-links li a, .footer-links li span {
    padding: 0 16px;
}

.footer-links li a, .footer-links li span {
    display: block;
    color: #fff;
    text-decoration: none;
    cursor: pointer;
}

.footer-social li a {
    display: block;
    margin: 0 16px;
    font-size: 2rem;
    color: #fff;
    cursor: pointer;
}

/* *************************************** */
/* Unavailable widget as of September 22th, 2022 */
/* *************************************** */

/*stock exchange*/
.widget-stock-exchange__value {
    font-size: 40px;
}
.widget-stock-exchange__fluctuation {
    font-size: 16px;
    color: #21C5DA !important;
}
/*.widget-stock-exchange__label {
    display: none;
}*/

/*Widget 4 columns TWITTER FEED*/
#rss-4 .widget-content {
    padding: 0 !important;
}
#rss-4 .widget-content ul.widget-rss__list {
    display: flex;
    padding: 0 30px;
}
#rss-4 .widget-content li.widget-rss-feed {
    display: inline-block;
    flex: 1;
    flex-wrap: wrap;
    width: 25%;
    margin: 10px;
    background-color: #FFFFFF;
}
#rss-4 .widget-content li.widget-rss-feed .widget-rss-feed__wrapper .widget-rss-feed__description img {
    width: 100%;
    height: 130px;
    padding-top: 10px;
    margin-top: 20px;
    margin-right: 0 !important;
}
#rss-4 .widget-content li.widget-rss-feed .widget-rss-feed__wrapper {
    padding: 12px;
    background-color: #FFF;
}
#rss-4 .widget-content li.widget-rss-feed .widget-rss-feed__wrapper .widget-rss-feed__link {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}
#rss-4 .widget-content li.widget-rss-feed .widget-rss-feed__wrapper .widget-rss-feed__link span {
    display: none;
}
#rss-4 .widget-content li.widget-rss-feed .widget-rss-feed__wrapper .widget-rss-feed__description {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 8;
    -webkit-box-orient: vertical;
}
#rss-4 .widget-content li.widget-rss-feed .widget-rss-feed__wrapper .widget-rss-feed__description img {
    padding-top: 7px;
}

/* *************************************** */
/* NOT FOUND */
/* *************************************** */

#rss-4-link .widget-content {
    background-image: url('https://veolia.lumappsusercontent.com//serve/AMIfv95ZfJmOu6AXzhyIeTlaG_j8x93eWATAezw3BW50fb3WgeItLBcLHbh6FATKMoCuxhs-OjAtSpYQgwFji4IBsdeJRiMu6BDq3PcnpbtsYHbkFypoopJ6FqxF_BZ3G6ZBn8Nlq1ViT9_bDPzlmpBmXCxBmDBZUXne6qDvulxiG_P8UMqVTSe8GEAIoAV8X4MiVGj8phEx0CvlQbIFSy-gGap_gnxOIckfc-Bxjk_kAlrdmwJjB5aJPy_91SRp9Jh0csj1Ca8hKH2O5f7aLt_M3gn66XVGkALU3Tq7Y7qChk7sCs3iD00PxnOjibm6s_Ass0VBK3iuQKYySp6MJlGhVumjYO3JApI0atqeD_JxRIno8Goj10d1T0zlksfiNKAkMbfEogsgasFf2VHCy9KOTvlB0ec9iavTe6VlSs8AuY-idn66XOU/WAR-footerBG_x2.jpg');
}
#rss-4-link .widget-html__content a {
    padding: 12px 80px;
    background-color: #FFFFFF;
    border-radius: 0 8px;
}
#rss-4-link .widget-html__content a:hover {
    text-decoration: none;
}

/* Widget Meta Duplicate Style */
.widget-meta__duplicate {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    padding: 0;
    margin: 0;
    margin-left: 8px;
    color: rgba(0, 0, 0, 0.87);
    text-decoration: none;
    vertical-align: top;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-color: transparent;
    border: none;
    border-radius: 2px;
    outline: none;
    transition-duration: 0.15s;
    transition-property: background-color, box-shadow, color;
}