﻿/* Fontes */
@font-face {
  font-family: "icoLIM";
  src: url("fonts/icoLIM.eot");
  src: url("fonts/icoLIM.eot?#iefix") format("embedded-opentype"),
       url("fonts/icoLIM.woff") format("woff"),
       url("fonts/icoLIM.ttf") format("truetype"),
       url("fonts/icoLIM.svg#icoLIM") format("svg");
  font-weight: normal;
  font-style: normal;
}

@media screen and (-webkit-min-device-pixel-ratio:0) {
  @font-face {
    font-family: "icoLIM";
    src: url("fonts/icoLIM.svg#icoLIM") format("svg");
  }
}

/* Bougies, Etoiles & co */
.etoile:before { content: "\f100"; }
.mail:before { content: "\f102"; }
.suivant:before { content: "\f104"; }
.precedent:before { content: "\f105"; }
.bougie:before { content: "\f106"; }
.checked:before { content: "\f107"; } 
.facebook:before { content: "\f109"; }
.partager:before { content: "\f10b"; }
.twitter:before { content: "\f10d"; }
.update:before { content: "\f10f"; }

/* GANO modules & components */
.GANO_component, .GANO_module { line-height: 16px; font-size: 13px; }

.GANO_component { margin-bottom: 40px; }
    .GANO_component h1 { text-align: center; text-transform: uppercase; }
        .GANO_component h1 small { display: block; }
.GANO_module { margin-bottom: 20px !important; }
    .GANO_module .titre, .GANO_module .tous { vertical-align: middle; border-top: 2px solid #dfe6e9; border-bottom: 2px solid #dfe6e9; font-weight: 700; text-transform: uppercase; color: #2ca9e7; }
    .GANO_module .titre { line-height: 17px; font-size: 15px; margin-bottom: 5px; background: url(../images/logo_libra_memoria2.jpg) no-repeat 0 0; background-size: contain; padding: 8px 0 8px 135px; text-align: center; }
        .GANO_module .titre.bis { background-color: #f2f2f2; background-image: none; color: #000; padding: 8px 0; }
    .GANO_module a { text-decoration: none; }
    .GANO_module ul { margin-bottom: 0; }
        .GANO_module ul li { list-style: none; }
            .GANO_module ul li + li { border-top: 2px solid #dfe6e9; }
        .GANO_module li a { display: block; min-height: 35px; padding: 5px; font-size: 14px; font-weight: 700; }
            .GANO_module li a .nombre { float: right; margin-top: -4px; padding: 2px; background-color: #f1f4f6; letter-spacing: -1px; color: #000; }
    .GANO_module .tous { display: block; padding: 7px 10px 7px 15px; line-height: 20px; font-size: 12px; color: #000; letter-spacing: 0.03em; }
        .GANO_module .tous:after { content: "\2192"; float: right; line-height: 17px; font-size: 12px; font-weight: 700; color: #008cd3; }

    .GANO_decesDuJour ul li a { color: #757777; text-transform: uppercase; }
    .GANO_decesDuJour ul li a:before { content: " "; float: left; display: inline-block; width: 30px; height: 30px; margin-right: 15px; background: url("../images/condoleance_lim.jpg") no-repeat; border-radius: 10px; transition: filter 0.5s; filter: grayscale(100%); }
    .ie .GANO_decesDuJour ul li a:before { background-image: url("../images/condoleance_lim_nb.jpg"); }
        .GANO_decesDuJour ul li a { line-height: 30px; min-height: 40px; text-transform: none; color: #000; vertical-align: middle; }
            .GANO_module.GANO_decesDuJour ul li a:hover:before { filter: grayscale(0%); }
            .ie .GANO_module.GANO_decesDuJour ul li a:hover:before { background-image: url("../images/condoleance_lim.jpg"); }

    .GANO_obsequesDuJour a.obseque, .GANO_decesCelebres ul a { position :relative; padding-left: 45px; }
    .GANO_obsequesDuJour a.obseque:before, .GANO_decesCelebres ul a:before { content: " "; position: absolute; top: 50%; left: 5px; display: block; width: 30px; height: 30px; margin-top: -15px; margin-right: 10px; background: url("../images/condoleance_lim.jpg") no-repeat; border-radius: 10px; filter: grayscale(100%); transition: filter 0.5s; }
    .ie .GANO_obsequesDuJour a.obseque:before, .ie .GANO_decesCelebres ul a:before { background-image: url("../images/condoleance_lim_nb.jpg"); }
    .GANO_obsequesDuJour a.obseque:hover:before, .GANO_decesCelebres ul a:hover:before { filter: grayscale(0); }
    .ie .GANO_obsequesDuJour a.obseque:hover:before, .ie .GANO_decesCelebres ul a:hover:before { background-image: url("../images/condoleance_lim.jpg") !important; }


/*.GANO_module.GANO_obsequesDuJour ul { max-height: 270px; overflow-y: auto; }*/
    .GANO_module.GANO_obsequesDuJour ul li a { text-transform: none; color: #000; }
        .GANO_module.GANO_obsequesDuJour .griffe { font-weight: 400; }

    .GANO_component h2 { margin: 5px 0 10px 0; line-height: 19px; font-size: 16px; font-weight: 400; color: #000; }
    .GANO_component .tableau_liste { display: table; table-layout: fixed; width: 100%; line-height: 19px; font-size: 16px; color: #283c78; }
        .GANO_component .tableau_liste a { color: #283c78; text-decoration: none; }
        .GANO_component .tableau_liste .titre { display: table-caption; margin: 0 10px -10px 10px; padding: 5px 10px; background-color: #354880; font-weight: 700; color: #fff; text-align: center; }
        .GANO_component .tableau_liste.secondaire .titre { background-color: #6d6d6d; }
        .GANO_component .tableau_liste .ligne { display: table-row; border-right: 1px solid #babcc2; }
            .GANO_component .tableau_liste .ligne + .ligne .cellule{ font-size: 1.4rem; border-top: 1px solid #babcc2; }
            .GANO_component .tableau_liste .ligne:nth-of-type(even) { background-color: #dfe2eb; }
            .GANO_component .tableau_liste .ligne:nth-of-type(odd) { background-color: #fff; }
            .GANO_component .tableau_liste .ligne.entete { background-color: #999; font-weight: 700; font-style: italic; color: #fff; }
                .GANO_component .tableau_liste .ligne.entete .cellule:nth-of-type(3) { width: 75px; }
            .GANO_component .tableau_liste.secondaire .ligne.entete { background-color: #283c78; }
                .GANO_component .tableau_liste .ligne .cellule { display: table-cell; padding: 5px 10px; vertical-align: middle; }
                    .GANO_component .tableau_liste .ligne .cellule.age { width: 65px; }
                    .GANO_component .tableau_liste .ligne .cellule.ville { width: 151px; }
                    .GANO_component .tableau_liste .ligne .cellule.nom { width: 160px; border-left: 1px solid #babcc2; font-weight: 700; }
                    .GANO_component .tableau_liste .ligne .cellule.stats { width: 130px; border-right: 1px solid #babcc2; font-weight: 700; }
                    .GANO_component .tableau_liste .ligne:last-child .cellule { border-bottom: 1px solid #babcc2; }

                    .GANO_component .tableau_liste .ligne .cellule.liste_virgule a + a:before { content: ", "; }
                    .GANO_component .tableau_liste .ligne .cellule .bougie:not(:empty):after, 
                    .GANO_component .tableau_liste .ligne .cellule .etoile:not(:empty):after, 
                    .GANO_component .tableau_liste .ligne .cellule .message:not(:empty):after { margin-right: 5px; margin-left: 5px; font-family: "icoLIM"; font-size: 1.2rem; }
                    .GANO_component .tableau_liste .ligne .cellule .bougie:not(:empty):before { content: none; }
                    .GANO_component .tableau_liste .ligne .cellule .etoile:not(:empty):before { content: none; }
                    .GANO_component .tableau_liste .ligne .cellule .message:not(:empty):before { content: none; }
                    .GANO_component .tableau_liste .ligne .cellule .bougie:not(:empty):after { content: "\f106"; }
                    .GANO_component .tableau_liste .ligne .cellule .etoile:not(:empty):after { content: "\f10a"; }
                    .GANO_component .tableau_liste .ligne .cellule .message:not(:empty):after { content: "\f108"; }

    .GANO_recueillement li a .nombre { float: none; background-color: transparent; letter-spacing: normal; text-transform: none; }

    .GANO_decesCelebres .titre { margin-bottom: 0; }
    .GANO_decesCelebres ul { padding: 10px 0 1px 0; background-color: #f3f3f3; }
        .GANO_decesCelebres ul li { background-color: #fff; }
            .GANO_decesCelebres ul li + li { margin: 10px 0; border: none; }
        .GANO_decesCelebres figure, .GANO_decesCelebres p { display: table-cell; }
        .GANO_decesCelebres figure { width: 65px; height: 65px; }
        .GANO_decesCelebres figure:empty { position: relative; 
              /*background-color: #283c78;*/ 
              /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#1e5592+0,0299db+50,1e5592+100 */
              background-color: #1e5592; /* Old browsers */
              background: -moz-linear-gradient(left,  #1e5592 0%, #0299db 50%, #1e5592 100%); /* FF3.6-15 */
              background: -webkit-linear-gradient(left,  #1e5592 0%,#0299db 50%,#1e5592 100%); /* Chrome10-25,Safari5.1-6 */
              background: linear-gradient(to right,  #1e5592 0%,#0299db 50%,#1e5592 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
              filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#1e5592', endColorstr='#1e5592',GradientType=1 ); /* IE6-9 */
              /*background-image: url("../images/logo_libra_memoria.png"); 
              background-position: 50% 50%; 
              background-repeat: no-repeat; 
              background-size: 85%;*/ }
            .GANO_decesCelebres figure:empty:after { content: " "; position: absolute; top: 0; left: 0; display: inline-block; width: 100%; height: 100%; background-image: url("../images/logo_libra_memoria.png"); background-position: 50% 50%; background-repeat: no-repeat; background-size: 85%; }
        /*.GANO_decesCelebres a:hover p:before { filter: grayscale(100%); }
        .ie .GANO_decesCelebres a:hover p:before { background-image: url("../images/condoleance_lim_nb.jpg") !important; }
            .GANO_decesCelebres p { min-height: 30px; text-transform: none; color: #000; vertical-align: middle; }
                .GANO_decesCelebres p:before { content: " "; float: left; display: inline-block; width: 30px; height: 30px; margin-right: 10px; background: url("../images/condoleance_lim.jpg") no-repeat; border-radius: 10px; transition: filter 0.5s; }*/

@media screen and (max-width: 768px) {
    .GANO_component .tableau_liste { display: block; width: 100%; }
        .GANO_component .tableau_liste .titre { display: block; margin: 0; line-height: 1.7rem; font-size: 1.3rem; }
        .GANO_component .tableau_liste .ligne { display: block; padding: 5px; border-left: 1px solid #babcc2; }
            .GANO_component .tableau_liste .ligne + .ligne { border-top: 1px solid #babcc2; }
            .GANO_component .tableau_liste .ligne.entete { display: none; }
            .GANO_component .tableau_liste .ligne .cellule { display: inline-block; width: 100%; padding-left: 0; padding-bottom: 0; }
                .GANO_component .tableau_liste .ligne .cellule.nom,
                .GANO_component .tableau_liste .ligne .cellule.age,
                .GANO_component .tableau_liste .ligne .cellule.ville,
                .GANO_component .tableau_liste .ligne .cellule.titre_journal { width: 65%; line-height: 1.3rem; font-size: 1.1rem; }
                .GANO_component .tableau_liste .ligne .cellule.nom { padding-right: 0; font-size: 1.4rem; }
                    .GANO_component .tableau_liste .ligne .cellule.nom .age { font-weight: 400; font-size: 1.2rem; font-style: italic; }
                .GANO_component .tableau_liste .ligne .cellule.ville { position: static; }
                .GANO_component .tableau_liste .ligne .cellule.age:before { content: "("; }
                .GANO_component .tableau_liste .ligne .cellule.age:after { content: ")"; }
                .GANO_component .tableau_liste .ligne .cellule.stats { float: right; width: calc(35% - 5px); margin-top: -20px; padding: 0; vertical-align: top; text-align: right; }
            .GANO_component .tableau_liste .ligne:last-child .cellule, .tableau_liste .ligne + .ligne .cellule { border: none !important; }
            .GANO_component .tableau_liste .ligne:last-child { border-bottom: 1px solid #babcc2; }
}


/* ------ CSS Application Mobile ------ */

.layout_inApp .GANO_component,
.layout_inApp .GANO_module,
.layout_inApp.DecesDuJourComponent,
.layout_inApp.ObsequesDuJourComponent{
    --background-color: rgba(250, 250, 250, 1);
    --background-color-full: rgba(255, 255, 255, 1);
    --background-color-blue: rgba(68, 136, 230, 0.14);

    --primary-color: rgba(46, 103, 181, 1);
    --secondary-color: rgba(14, 60, 125, 1);
    --text-color: rgba(25, 16, 16, 0.87);
    --border-color: rgba(25, 16, 16, 0.12);

    font-family: 'Merriweather Sans', sans-serif;
}

@media (prefers-color-scheme: dark) {
    .layout_inApp .GANO_component,
    .layout_inApp .GANO_module,
    .layout_inApp.DecesDuJourComponent,
    .layout_inApp.ObsequesDuJourComponent {
        --background-color: rgba(33, 33, 33, 1);
        --background-color-full: rgba(20, 20, 20, 1);
        --background-color-blue: rgba(71, 139, 235, 0.20);

        --primary-color: rgba(145, 184, 243, 1);
        --secondary-color: rgba(200, 220, 249, 1);
        --text-color: rgba(254, 248, 248, 0.92);
        --border-color: rgba(254, 248, 248, 0.12);
    }
}

.layout_inApp.DecesDuJourComponent,
.layout_inApp.ObsequesDuJourComponent{
    background-color: var(--background-color)
}

.layout_inApp.DecesDuJourComponent #wrapper .constrain,
.layout_inApp.ObsequesDuJourComponent #wrapper .constrain{
    padding: 16px;
    background-color: var(--background-color);
}

.layout_inApp.DecesDuJourComponent.pubHabillage #wrapper .fixedWallPaper, .layout_inApp.ObsequesDuJourComponent.pubHabillage #wrapper .fixedWallPaper {
    background-image: none !important;
    background-color: transparent !important;
    padding-top: initial !important;
}

.layout_inApp .GANO_component h1 {
    text-align: left;
    text-transform: none;
    font-size: 18px;
    line-height: 28px;
    color: var(--primary-color);
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 12px;
    padding-bottom: 16px;
}

.layout_inApp .GANO_component h1 small {
    font-size: 14px;
    line-height: 24px;
}

.layout_inApp .GANO_component h1::before,
.layout_inApp .GANO_module h1::before{background: var(--primary-color);}

.layout_inApp .GANO_component{
    margin-bottom: 36px;
}

.layout_inApp .GANO_component p,
.layout_inApp .GANO_module p,
.layout_inApp .GANO_component h2 {
    color: var(--text-color);
    font-size: 14px;
    line-height: 24px;
}

.layout_inApp .GANO_component p strong,
.layout_inApp .GANO_module p strong,
.layout_inApp .GANO_component h2 strong{
    font-family: 'Merriweather Sans Bold', sans-serif;
}

.layout_inApp .GANO_module .titre{
    background:url(../images/logo_libra_memoria3.png) no-repeat 0 0;
    border: none;
    padding: 3px 0 2px 128px;
    text-align: left;
    color: var(--primary-color);
    text-transform: uppercase;
    font-size: 13px;
    line-height: 24px;
    background-color: var(--background-color-full);
    font-weight: normal;
    margin-bottom: 0;
}

.layout_inApp .GANO_module .titre.bis {
    background-image: none;
    margin-top: 0;
    text-transform: none;
    color: var(--text-color);
    line-height: 20px;
    padding: 10px;
    text-align: center;
}

.layout_inApp .GANO_component .tableau_liste {
    margin-bottom: 32px;
}

.layout_inApp .GANO_component .tableau_liste .ligne:nth-of-type(odd) {
    background-color: var(--background-color);
}

.layout_inApp .GANO_component .tableau_liste .ligne:nth-of-type(even) {
    background-color: var(--background-color-blue);
}

.layout_inApp .GANO_component .tableau_liste .ligne {
    border-color: var(--border-color) !important;
    padding: 8px;
    position:relative;
}

.layout_inApp .GANO_component .tableau_liste a {
    color: var(--secondary-color);
}

.layout_inApp .GANO_component .tableau_liste .ligne .cellule:not(.nom) {
    padding: 0;
    font-size: 12px;
    line-height: 18px;
}

.layout_inApp .GANO_component .tableau_liste .ligne .cellule.nom {
    padding: 0;
    margin-bottom: 6px;
    font-family: 'Merriweather Sans Bold', sans-serif;
    position: relative;
    width: 100%;
}

.layout_inApp .GANO_component .tableau_liste .ligne .cellule.stats{
    float: none;
    width: calc(35% - 5px);
    position: absolute;
    margin-top: 0;
    padding: 0;
    vertical-align: unset;
    text-align: right;
    top: 50%;
    transform: translateY(-50%);
    font-weight: normal;
}

.layout_inApp .GANO_module li a .nombre {
    float: none;
    display: inline;
    background-color: transparent;
    color: var(--text-color);
    font-weight: normal;
    letter-spacing: 0.5px;
}

.layout_inApp .GANO_obsequesDuJour ul li p{
    font-weight:normal;
}

.layout_inApp .GANO_obsequesDuJour a:before,
.layout_inApp .GANO_decesCelebres ul a:before,
.layout_inApp .GANO_decesDuJour ul li a:before{
    background: url(../images/condoleance_lim2.png) no-repeat;
    width: 26px;
    height: 26px;
    margin-top: 0;
    margin-right: 0;
    transform: translateY(-50%);
    left: 10px;
    border-radius: 0;
    float: none;
    position: absolute;
    top: 50%;
}

.layout_inApp .GANO_decesDuJour ul a,
.layout_inApp .GANO_obsequesDuJour ul a {
    position: relative;
    color: var(--text-color);
    font-weight: normal;
    padding-left: 45px;
}

.layout_inApp .GANO_decesCelebres ul,
.layout_inApp .GANO_obsequesDuJour ul {
    background-color: transparent;
    padding:0;
}

.layout_inApp .GANO_decesCelebres ul li,
.layout_inApp .GANO_decesDuJour ul li,
.layout_inApp .GANO_obsequesDuJour ul li{
    background-color: var(--background-color-full);
    margin: 6px 0;
    border: none;
}

.layout_inApp .GANO_decesCelebres p,
.layout_inApp .GANO_decesDuJour p{
    font-weight:normal;
    line-height: 20px;
}

.layout_inApp .GANO_module .tous {
    background-color: var(--background-color-full);
    color: var(--text-color);
    font-weight: normal;
    text-transform: none;
    font-size: 12px;
    line-height: 24px;
    border: none;
    padding: 4px 10px;
}

.layout_inApp .GANO_module .tous:after {
    line-height: 20px;
    font-size: 18px;
    color: var(--primary-color);
}

.layout_inApp .GANO_obsequesDuJour a,
.layout_inApp .GANO_decesCelebres ul a,
.layout_inApp .GANO_decesDuJour ul a{
    display: flex;
    align-items: center;
    justify-content: space-between;
    letter-spacing: 0.5px;
}

@media screen and (min-width:769px){
    .layout_inApp .GANO_component .tableau_liste .ligne+.ligne .cellule {
        border-color: var(--border-color) !important;
        padding: 12px 8px 14px 8px !important;
    }

    .layout_inApp .GANO_component .tableau_liste .ligne.entete {
        font-weight: 100;
        color: var(--text-color)
    }

    .layout_inApp .GANO_component .tableau_liste .ligne.entete .cellule {
        padding: 8px 8px 10px 8px !important;
    }

    .layout_inApp .GANO_component .tableau_liste .ligne .cellule.stats {
        width: auto;
        position: inherit;
        transform: none;
        vertical-align: middle;
    }

    .layout_inApp .GANO_component .tableau_liste .ligne.entete .cellule:nth-of-type(3) {
        width: 90px;
    }

    .layout_inApp .GANO_component .tableau_liste .ligne.entete .cellule:nth-of-type(5) {
        width: 150px;
    }

    .layout_inApp .GANO_module.GANO_decesDuJour .titre.bis,
    .layout_inApp .GANO_module.GANO_obsequesDuJour .titre.bis {
        margin-left: -3px;
        padding: 5px 10px 4px 10px;
        text-align: right;
    }

    .layout_inApp .GANO_module.GANO_obsequesDuJour .titre.bis br {
        display: none !important;
    }

    .layout_inApp .GANO_module.GANO_decesDuJour .titre,
    .layout_inApp .GANO_module.GANO_obsequesDuJour .titre {
        width: 50%;
        display: inline-block;
    }

    .layout_inApp .GANO_module .tous {
        text-align: center;
    }
}