body{
    margin: 0;
    padding: 0;
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    background-color: #FFF;
}
#header_title{
    background-image: url('/ressources/pix/home/home.jpg');
    background-position: center; /* Center the image */
    background-repeat: no-repeat; /* Do not repeat the image */
    background-size: cover;
    height: 140px;
    color: #FFF;
    font-size:50px;
    text-transform: uppercase;
    line-height: 2.5em;

}
#header_content{
    margin-top: -21px
}
a:hover {    
    text-decoration: none;    
}

::placeholder {
  color: #CCC;
  font-size: 12px;
}
#home_text{    
    line-height: 2em;
}
#home_img img{
    width: 100%;
}
#hamburger, #after_mail_sent{
    display: none;
}
.names:hover, .name_list:hover,.login_tab:hover, #navbar_back:hover,#hamburger,.far,.musique_title{
    cursor: pointer;
}
ul.no-bullets {
    list-style-type: none;
    margin: 0;
    padding: 0;
}
.new {
    color: red;
    font-weight: bold;
}
figcaption {
  display: none;
}
.fancybox-caption__body{
    margin-top: -8vh
}
.fancybox-bg {
    opacity: 0.7 !important;
    background-color:#000;
}
.fancybox-slide--iframe .fancybox-content {
    max-height : 90%;
    margin: 0;
}
.fancybox-content{
    border: 1px solid #CCC;
    box-shadow: 10px 15px 21px 0px rgba(0,0,0,0.39);
}
.name_portrait{
    max-width: 400px;
}

#dialog  {
    padding-right: 10px;
    padding-bottom: 10px;
    padding-left: 10px;
    background-color: white;
    position:absolute;
    max-height: 400px;
    overflow: auto;
    z-index:50;
    display: none;
}
#list_family{
    font-weight: bold;
    font-size: 20px;
    text-transform: uppercase;
}
#close{    
    position:absolute;
    right: 20px;
    padding: 4px;
    margin-top: -25px;
    cursor: pointer !important;
}
#close:hover{ 
    color: red;
}
#result{
    display: none;
    margin-top:-42px
}
#list_musiques{    
    display: none;
}
#ul_liste_noms li, #navbar_ul li,.fiche_person,#back_to_list,.name_galery,.histoires_titre,.events_name{
    cursor: pointer;
}
.fiche_person:hover,.events_name:hover,.histoires_titre:hover,.name_galery:hover,.musique_title{
    color: #087FFF;
}
.name_fs_img{
    width: 80px;
    cursor: pointer;
}
.name_fs_img_small{
    width: 50px;
    cursor: pointer;
}
.name_name_string{
    font-size: 10px;
}
.name_name_string_small{
    font-size: 9px;
}
#navbar_ul{    
    font-size: 12px;
}
#navbar_back{
    font-size: 14px !important;
}

#menu_resp{
    display: none;
    position: absolute;
    right: 20px;
    top: 110px;
    z-index: 100;
}
#menu_resp li{
    padding : 2px !important;
}
#fiche_main_name{
    font-size: 30px;
}
.fiche_titre_paragraphe{
    font-size: 20px;
    font-weight: bold;
    color: #3395FF;
}
.fiche_titre_sous_paragraphe{
    font-weight: bold;    
}
#fiche_sig{
    font-style: italic;
}
/*#fiche_portrait{
    position: absolute;
    right: 30px;
}*/
video,audio{
    width: 100%;
    max-width: 500px;
}
#photo_perso_titre, #histoires_main_name{
    font-weight: bold;
    font-size: 16px;
    text-transform: uppercase;
}

.name_galery{
    font-size: 12px;
    white-space: nowrap;
}

#back_to_list{    
    position: absolute;
    left: 10px;
    top: 5px;
    z-index: 100;
}
.histoires_inner_name{
    font-weight: bold;
}

.tooltip1, .tooltip2 {
    position: relative;
    display: inline-block;
    border: 1px dotted transparent;
}

.tooltip1 .tooltiptext1 {
    visibility: hidden;
    display: inline-block;
    width: 120px;
    background-color: #FFF;
    color: #000;
    text-align: center;
    padding: 10px;
    border-radius: 3px;
    border: solid thin #1384FF;
    position: absolute;
    z-index: 1;
    top: 120%;
    left: 50%;
    margin-left: -60px;
}
.tooltip2 .tooltiptext2 {
    visibility: hidden;
    display: inline-block;
    width: 120px;
    background-color: #FFF;
    color: #000;
    text-align: center;
    padding: 10px;
    border-radius: 3px;
    border: solid thin #1384FF;
    position: absolute;
    z-index: 1;
    top: 100%;
    left: 50%;
    margin-left: -60px;
}

.tooltip1 .tooltiptext1::after {
    content: "";
    position: absolute;
    bottom: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: transparent transparent #1384FF transparent;
}
.tooltip2 .tooltiptext2::after {
    content: "";
    position: absolute;
    bottom: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: transparent transparent #1384FF transparent;
}

.tooltip1:hover .tooltiptext1 {
    visibility: visible;
}
.tooltip2:hover .tooltiptext2 {
    visibility: visible;
}
#arbre{
    font-size: 10px;
}
#arbre {
    width: 100%;
    table-layout: fixed;
}
#arbre td{
    vertical-align: top;
    padding-top: 10px;
}
#arbre td .thumbnails{
    width: 100%;
    max-width: 100px;
    min-width: 20px;
}
#arbre_desc{
    position: absolute;
    font-size: 10px
}
#arbre_desc img{
    width: 80px;
}
#musique_table{
    width: 100%;
    font-size: 12px;
}
#musique_table td{
    min-width: 10px;
    width: 3.8%;
    text-align: center;
    border: 1px solid #666;
    cursor: pointer;
}
.jaune{
    background-color: fcef02;
}
.blanc{
    background-color: white;
}
.gris{
    background-color: #CCC;
}
.list_bday .thumbnail{
    width: 100%;
    max-width: 100px;
}

.ui-menu-item{
}
.ui-autocomplete {
    border-radius: 0.25rem;
    padding: 0 0.6rem;
}
.ui-menu-item {
    border: 1px solid #eceff1;
    border-radius: 0.25rem;
    font-size: 12px;
}
.ui-state-active,
.ui-widget-content .ui-state-active,
.ui-widget-header .ui-state-active,
a.ui-button:active,
.ui-button:active,
.ui-button.ui-state-active:hover,.ui-state-focus {
    background-color: #ccc;
    border-color: #eceff1;
    color: red;
}

.div_map{
    display: flex;
    position: absolute; 
    z-index: 2000;
}
.div_map div{
    white-space: nowrap;
    display: none; 
    align-self: flex-end;
    text-align: center;
    background-color: #CCC;
}
.photo_thumb {
    position: relative;
    display: inline-block;
}

.badge_update {
    position: absolute;
    top: 3px;
    right: 3px;
    font-size: 16px; /* le point doit être visible mais discret */
    color: red;
    pointer-events: none;
}