/*  Theme Name:   oceanwp_enfant 
Theme URI:    https://monsite.com 
Description:  oceanwp adapté 
Author:       JMM  
Author URI:   https://wpmarmite.com 
Template:     oceanwp  
Version:      0.0.1 */


/* PERSONNALISATIONS PERSONNELLES */

/* Logo centré */
#site-logo {
    float: none !important;
    width: 100% !important;
    text-align: center !important;
    margin: 0 auto !important;
}

#site-logo-inner {
    display: flex !important;
    justify-content: center !important;
}

/* Menu centré sous le logo */
#site-navigation-wrap {
    float: none !important;
    width: 100% !important;
    text-align: center !important;
}

#site-navigation {
    display: flex !important;
    justify-content: center !important;
}

/* supprimer petite barre bleue a gauche du titre widget*/
h5.widget-title {
    border-left: none !important;
}

/* modifier apparence titre widget*/
.widget-title {
  border-color: #ffffff;
  display: block;
  line-height: 1;
  font-size: 13px;
  font-weight: 400;
  color: #333;
  
  letter-spacing: 1px;
  padding-left: 15px;
  margin: 0 0 20px;
  text-transform: capitalize;
}

/* titre des articles en gras */
h2.entry-title a{font-weight:bold;}

/* privilégier calendrier pour ordinateur */
.calendrier-mobile {
    display: none !important;
}

/* privilégier calendrier pour smartphone et tablette */
@media screen and (max-width: 782px) {
    .calendrier-pc {
        display: none !important;
    }

    .calendrier-mobile {
        display: block !important;
    }
}


/* Agrandir le popup du calendrier au survol (non actif actuellement) */
.ics-calendar .hover_block {
    width: 450px !important;
    min-width: 450px !important;
    max-width: 600px !important;
    padding: 20px !important;
    font-size: 16px !important;
    z-index: 99999 !important;
}

/* Agrandir la fenêtre popup au clic sur pc*/
.r34ics_lightbox_content {
    width: 650px !important;
    max-width: 90vw !important;
    max-height: 55vh !important;
    padding: 25px !important;
    overflow-y: auto !important;
    box-sizing: border-box !important;
    font-size: 17px !important;
    line-height: 1.6 !important;
}

	/* Titre de l'événement */
.r34ics_lightbox_content h2 {
    font-size: 24px !important;
}

	/* Adaptation smartphone */
@media (max-width: 767px) {
    .r34ics_lightbox_content {
        width: 94vw !important;
        max-width: 94vw !important;
        max-height: 55vh !important;
        padding: 15px !important;
    }
}

/* Lieu en rouge dans les fenêtres FranAgenda */
.location,
.event-location,
.tribe-events-location {
    color: #ff0000 !important;
    font-weight: bold !important;
}

/* Compatibilité mobile Android */
@media screen and (max-width: 768px) {
    .ics-calendar .r34ics_lightbox_content .descloc {
        color: #ff0000 !important;
    }
}

.page-header{border-top:1px solid grey;}