@import url('https://fonts.googleapis.com/css?family=Fredoka+One|Montserrat:500,800|Sarabun|Pacifico&display=swap');

/****************************************************************************/

/* PERSONNALISATION DU BANDEAU  */

/* Méthode valable en novembre 2022 
 * 1) Supprimer l'image du bandeau de PONCIN (train)
 * 2) Téléverser le bandeau de la circo sur le blog (nommé impérativement bandeau.jpg)
 * 3) Modifier les 2 URL ci-dessous en remplaçant poncin par le nom de la circo
 * 
 * En cas de changement postérieur à novembre 2022, remplacer l'URL complète par celle du nouveau bandeau - changer uniquement l'adresse en rouge en conservant les ""
 *  */

.header.section.small-padding.bg-dark.bg-image.lazyloaded {
  background-image: url("https://villars-ain.circo.ac-lyon.fr/wordpress/wp-content/uploads/2022/11/logoAC_LYON.retaille.png"), url("https://villars-ain.circo.ac-lyon.fr/wordpress/wp-content/uploads/2023/03/cropped-20220227_165634-1-2.jpg") !important;
  background-size: auto, cover !important;
  background-position: 10%,center !important;
  height: 260px;
}

/****************************************************************************/

/* Police du texte */

body,
.post-author h4,
.form-submit #submit,
.widget-title,
.credits p {
  font-family: Sarabun, sans-serif;
}

/*Police des titres dans les articles*/

.post-content h1,
.post-content h2,
.post-content h3,
.post-content h4,
.post-content h5,
.post-content h6,
.comment-reply-title {
  font-family: Fredoka One;
}

/* Police du titre principal des articles */

.post-header .post-title a,
.post-header .post-title {
  font-family: Fredoka One;
  font-weight: lighter;
}

/* Police du menu */

.main-menu > li > a {
  font-family: Montserrat;
  font-weight: 500;
}

/* Page d'accueil marge avec menu et footer du bloc central */

.wrapper.section {
  padding: 2% 0;
}

/* Enlever le fond coloré du code */

code {
  background: transparent;
}

/* Modifier les boutons */

button {
  margin: 5px;
  padding: 10px;
  color: #fffaf0;
  background-color: #005E8B;
  border-radius: 5px;
}

/* Petite marge pour les boutons de respoinsivevoice */

#bb1 {
  margin-left: 20px;
}

/* Dans l'agenda */

.ai1ec-agenda-widget-view .ai1ec-event .ai1ec-event-time {
  color: #005E8B;
}

.ai1ec-agenda-widget-view .ai1ec-event .ai1ec-event-title {
  color: #333;
}

.timely .ai1ec-btn-default {
  color: #333;
}

.ai1ec-agenda-widget-view .ai1ec-date,
.ai1ec-agenda-view .ai1ec-date {
  background: #005E8B;
  border-top: none;
}

.sidebar .ai1ec-agenda-widget-view .ai1ec-date {
  background: none;
  border-top: none;
}

.ai1ec-agenda-widget-view .ai1ec-date-title,
.ai1ec-agenda-view .ai1ec-date-title {
  border: 1px solid whitesmoke;
}

.sidebar .ai1ec-agenda-widget-view .ai1ec-date-title {
  border: 1px solid #005E8B;
}

/*Couleurs header et footer */

.bg-dark {
  background-color: transparent;
}

/* Couleur en-tête et pied de page */

.bg-graphite {
  background-color: #005E8B;
}

.post-header .post-title a:hover {
  color: #005E8B;
}

.blog-title a:hover {
  color: #009cf8;
}

.header .blog-logo {
  text-align: left;
}

.header .cover {
  background: none;
}

/*Liens*/

body a {
  color: #005E8B;
  text-decoration: none;
}

body a:hover {
  color: #005E8B;
  text-decoration: none !important;
  font-weight: bold !important;
}

.post-excerpt .more-link:hover {
  color: #005E8B;
  text-decoration: none;
  font-weight: bold;
}

/*Modifications du menu principal */

.main-menu > li > a {
  color: #fffaf0;
  background-color: #005E8B;
  margin-top: 15px;
  margin-left: 5px;
  padding: 10px;
  border-radius: 5px;
  border-color: #005E8B;
  border-width: 2px;
  border-style: solid;
}

.mobile-menu {
  margin-top: -50px;
}

.mobile-menu > li > a {
  color: #efefef;
  background-color: #005E8B;
  margin-left: 20px;
  margin-right: 20px;
  padding: 10px;
  border-radius: 5px;
  border-color: #005E8B;
  border-width: 2px;
  border-style: solid;
}

.main-menu > li::before {
  content: none;
}

.main-menu > li > a:hover {
  color: #005E8B;
  background-color: #efefef;
  font-weight: 800;
}

.main-menu > .has-children > a::after,
.main-menu > .page_item_has_children > a::after,
.mobile-menu > .has-children > a::after,
.mobile-menu > .page_item_has_children > a::after {
  border-top-color: #efefef;
}

.main-menu > .has-children:hover > a::after,
.main-menu > .page_item_has_children:hover > a::after {
  border-top-color: #005E8B;
}

.mobile-menu > .has-children > a::after,
.mobile-menu > .page_item_has_children > a::after {
  content: "";
  display: block;
  border: 5px solid transparent;
  position: absolute;
  z-index: 1001;
  right: 29px;
  top: 50%;
  margin-top: -2px;
}

.mobile-menu > li:last-child {
  padding-bottom: 10px;
}

/*Modifications du menu secondaire */

.sub-menu > li > a {
  color: #005E8B;
  background-color: #efefef;
  padding: 10px;
  border-radius: 5px;
  border-color: #005E8B;
  border-width: 2px;
  border-style: solid;
}

.sub-menu > li > a {
  color: #efefef;
  background-color: #005E8B;
  border-color: #efefef;
  border-width: 4px;
}

.sub-menu > ul {
  background-color: #005E8B;
}

.main-menu > li > ul::before,
.mobile-menu > li > ul::before {
  border-bottom-color: #005E8B;
}

.main-menu ul li {
  background: transparent;
}

.mobile-menu .sub-menu li > a {
  border-radius: 5px;
  border-color: #005E8B;
  border-width: 2px;
  border-style: solid;
  margin-left: 40px;
  margin-right: 20px;
  text-transform: none;
}

/* Couleurs widgets titres pied de page
  */

.footer .widget-title {
  color: whitesmoke;
  letter-spacing: 1px;
  font-size: 0.9em;
}

/* Modification puce widget */

.widget-content ul li:before {
  color: whitesmoke;
  content: "▶";
  font-size: 0.8em;
}

.widget-content ul li {
  padding-left: 20px;
}

/*Modif couleur bleur agenda */

.ai1ec-agenda-view .ai1ec-event .ai1ec-event-title {
  color: #005E8B;
}

.ai1ec-agenda-widget-view .ai1ec-month,
.ai1ec-agenda-view .ai1ec-month {
  background: #005E8B;
}

.timely a {
  color: #005E8B;
}

.timely a:hover,
.timely a:focus {
  color: #fffaf0;
  background-color: #009cf8;
  z-index: 1010;
}

.timely .ai1ec-nav > li > a:hover,
.timely .ai1ec-nav > li > a:focus {
  background-color: #005E8B;
}

.ai1ec-dropdown-menu > div > a {
  text-decoration: none;
  color: #005E8B;
  background-color: #fffaf0;
}

.ai1ec-dropdown-menu > div > a:hover,
.ai1ec-dropdown-menu > div > a:focus {
  text-decoration: none;
  color: #fffaf0;
  background-color: #005E8B;
  font-weight: bold !important;
}

.ai1ec-agenda-widget-view .ai1ec-event:hover .ai1ec-event-title {
  color: whitesmoke;
}

.ai1ec-agenda-widget-view .ai1ec-event:hover .ai1ec-event-time {
  color: whitesmoke;
}

.ai1ec-agenda-widget-view .ai1ec-event:hover {
  color: whitesmoke;
  background-color: rgba(0,94,139,0.1);
  z-index: 1000;
}

/* Couleur widget recherche : PAS FINI */

.wrapper .searchform .s,
.footer .searchform .s,
.footer .widget_search .s {
  background: #005E8B;
  color: #fffaf0;
}

.wrapper .searchform .s:focus,
.footer .searchform .s:focus {
  background: #fffaf0;
  color: #005E8B;
  border-color: #005E8B;
  border-style: solid;
  border-width: 2px;
  border-radius: 5px;
}

/*Modif credits dans footer.php et ici*/

.credits a {
  color: #005E8B;
}

.credits a:hover {
  text-decoration: none;
  color: #fffaf0;
  background-color: #005E8B;
  font-weight: bold !important;
}

/* Couleur liens sous article */

.posts .post-meta a:hover {
  color: #005E8B;
}

/* Espace au-dessus du pied de page */

.footer.section {
  padding-top: 25px;
}

/* Cadre auteur et autres infos sous article*/

.single .post-meta-container {
  background: #005E8B;
}

.post-author p {
  color: white;
}

.single .post-meta p,
.single .post-meta > a,
.post-nav a,
.single .post-meta a {
  color: white;
}

.single .post-meta a:hover {
  color: #005E8B;
  background-color: #fffaf0;
}

.author-links a {
  background-color: #fffaf0;
}

.author-links a:hover {
  background-color: rgb(28,172,255);
  background-color: rgba(28,172,255,0.1);
}

.single .post-meta {
  background-color: rgb(28,172,255);
}

.author-links a.author-link-posts {
  background-image: url(http://blog.ac-lyon.fr/wp-content/themes/DANE_baskerville/images/icons/1x/archive-modele.png);
}

.author-links a.author-link-posts:hover {
  background-image: url(http://blog.ac-lyon.fr/wp-content/themes/baskerville/images/icons/1x/archive-w.png);
  border-color: #fffaf0;
  border-style: solid;
  border-width: 3px;
}

.author-links a.author-link-website {
  background-image: url(http://blog.ac-lyon.fr/wp-content/themes/DANE_baskerville/images/icons/1x/home-modele.png);
}

.author-links a.author-link-website:hover {
  background-image: url(http://blog.ac-lyon.fr/wp-content/themes/baskerville/images/icons/1x/home-w.png);
  border-color: #fffaf0;
  border-style: solid;
  border-width: 3px;
}

.single .post-meta p.post-date {
  background-image: url(http://blog.ac-lyon.fr/wp-content/themes/DANE_baskerville/images/icons/1x/clock-w.png);
}

.single .post-meta p.post-categories {
  background-image: url(http://blog.ac-lyon.fr/wp-content/themes/DANE_baskerville/images/icons/1x/folder-w.png);
}

a.post-nav-prev {
  background-image: url(http://blog.ac-lyon.fr/wp-content/themes/DANE_baskerville/images/icons/1x/prev-w.png);
}

a.post-nav-prev:hover {
  background-image: url(http://blog.ac-lyon.fr/wp-content/themes/DANE_baskerville/images/icons/1x/prev-modele.png);
}

a.post-nav-next {
  background-image: url(http://blog.ac-lyon.fr/wp-content/themes/DANE_baskerville/images/icons/1x/next-w.png);
}

a.post-nav-next:hover {
  background-image: url(http://blog.ac-lyon.fr/wp-content/themes/DANE_baskerville/images/icons/1x/next-modele.png);
}

.single a.post-edit-link {
  background-image: url(http://blog.ac-lyon.fr/wp-content/themes/baskerville/images/icons/1x/edit-w.png);
}

.single a.post-edit-link:hover {
  background-image: url(http://blog.ac-lyon.fr/wp-content/themes/DANE_baskerville/images/icons/1x/edit-modele.png);
}

.single .post-meta p.post-tags {
  background-image: url(http://blog.ac-lyon.fr/wp-content/themes/DANE_baskerville/images/icons/1x/tag-w.png);
}

.post-author::before {
  background: #fffaf0 url(http://blog.ac-lyon.fr/wp-content/themes/DANE_baskerville/images/icons/1x/author-modele.png) no-repeat center 29px;
}

.post-author::after {
  border-left-color: #fffaf0;
  border-right-color: #fffaf0;
}

/* Barres de recherche */

.wrapper .searchform .searchsubmit,
.footer .searchform .searchsubmit {
  background: url(http://blog.ac-lyon.fr/wp-content/themes/baskerville/images/icons/1x/spyglass-w.png) no-repeat center;
}

.search-toggle {
  background: url(http://blog.ac-lyon.fr/wp-content/themes/DANE_baskerville/images/icons/1x/spyglass-modele.png) no-repeat center;
  opacity: 1;
}

.header-search-block .s {
  background: #005E8B;
  border-radius: 5px;
  padding-left: 20px;
  font-size: 2em;
}

/* Bordures articles sur page blog ou autre */

.post .post-header::before,
.page .post-header::before {
  border-top-color: rgba(0,94,139,0.8);
}

.post-header {
  border-bottom: 1px solid rgba(0,94,139,0.8);
}

.hentry,
.post,
.sidebar {
  box-shadow: 0 1px 4px rgba(0,94,139,0.8);
}

/* Commentaires */

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form textarea {
  background-color: #EDF8FF;
  color: #333;
  font-family: 'Sarabun', sans-serif;
}

.comment-form input[type="text"]:focus,
.comment-form input[type="email"]:focus,
.comment-form textarea:focus {
  background-color: #005E8B;
  color: #fffaf0;
  font-family: 'Sarabun', sans-serif;
}

input#author {
  background-image: url(http://blog.ac-lyon.fr/wp-content/themes/DANE_baskerville/images/icons/1x/author-modele.png);
}

input#email {
  background-image: url(http://blog.ac-lyon.fr/wp-content/themes/DANE_baskerville/images/icons/1x/mail-modele.png);
}

input#url {
  background-image: url(http://blog.ac-lyon.fr/wp-content/themes/DANE_baskerville/images/icons/1x/home-modele.png);
}

/*Texte du footer */

.footer .widget-content {
  color: whitesmoke;
  font-size: 0.9em;
}

.ai1ec-no-results {
  color: whitesmoke;
}

.single .post-meta {
  background-color: #005E8B;
}

.footer a {
  color: whitesmoke;
}

.footer a:hover {
  color: whitesmoke;
  font-weight: bold;
}

.post-content .lwa table tbody > tr:nth-child(2n+1) > td {
  background: transparent;
}

/* The events calendar */

.single-tribe_events .tribe-events-single-event-title {
  font-size: 1.7em;
  line-height: 1;
  margin: 0;
  padding: 20px;
}

.tribe_events.hentry {
  padding-left: 20px;
}

.tribe-block__organizer__details::before {
  content: "Organisé par :";
  color: #005E8B;
}

.tribe-block__organizer__details h3,
.tribe-block__venue .tribe-block__venue__meta .tribe-block__venue__name h3 {
  padding-left: 40px;
  font-size: 1.1em;
  color: #000;
}

.tribe-block__organizer__details p,
.tribe-block__venue__address,
.tribe-block__venue__phone,
.tribe-block__venue__website {
  padding-left: 40px;
  font-size: 0.9em !important;
}

.tribe-block__venue__meta::before {
  content: "Lieu :";
  color: #005E8B;
}

.tribe-events-schedule {
  color: #005E8B;
}

.tribe-events-schedule::before {
  content: "Date :";
}

.tribe-common--breakpoint-medium.tribe-common .tribe-common-g-row--gutters {
  padding-bottom: 20px;
  padding-top: 10px;
}

.tribe-list-widget .tribe-event-title {
  font-size: 1em;
  margin-left: -10px;
}

.tribe-list-widget .tribe-event-duration {
  font-size: 0.9em;
}

.tribe-events-list-widget ol li {
  list-style: square !important;
  margin-left: 20px;
}

/* Bandeau */

.header .logo img {
  max-height: 150px;
}

/*.cover {
	border-bottom: 1px rgba(0,94,139,0.8) solid;
}*/

.blog-title a {
  color: #000000;
}

.blog-title {
  font-family: Marianne;
}

/****** CONFIG spécial Ain *******/

.sidebar .widget {
  padding: 1px;
}

.blog-description {
  font-size: 1.1em;
  line-height: 110%;
  font-weight: 400;
  color: #FFF;
}

.blog-title a {
  color: #fff;
  font-size: 1.1em;
}

.main-menu > li > a {
  font-size: 1em;
  color: #fff;
}

.main-menu li:hover > a {
  cursor: pointer;
  color: #928aee;
}

.main-menu ul a {
  font-size: 1em;
  color: #fff;
}

.main-menu ul a:hover {
  color: #928aee;
}

.wp-block-image .aligncenter {
  display: block;
}

.cover {
  position: relative;
}

.post-header {
  position: relative;
  padding: 2% 10%;
}

.single .post-content {
  padding: 4%;
}

.wrapper.section {
  padding: 2% 0;
}

/*.footer .row {
  display: none;}*/

.medium-padding {
  padding: 10px 0;
}

.sidebar .widget-content {
  font-size: 0.85em;
  color: #767676;
  text-align: center;
}

/*bloc principal responsive écrans grande largeur*/

.section-inner {
  width: auto;
}

h2 {
  font-size: 1.75em;
  font-family: 'Roboto Slab', sans-serif;
  text-align: center;
  color: #111;
}

/****************************************************************************/

/* Ajouts VF pour gestion bandeau/logo/titre */

/*********************************************/

/* Logo au-dessus de l'image d'en-tête avec 2 couches de background
 * cf au début du fichier : PERSONNALISATION ...  */

/* Cadre gris transparent derrière titre et description blog */

.header-inner.section-inner {
  width: max-content;
  background-color: transparent;
  padding: 10px;
  position: absolute;
  right: 70px;
  bottom: 70px;
}

/*Titre en gras */

.blog-title a {
  font-weight: bold;
}

/*Modifs pour écrans < 940px */

@media only screen and (max-width:940px) {
  .header.section.small-padding.bg-dark.bg-image.lazyloaded {
    background-size: auto,cover !important;
    background-position: 5%,center !important;
  }

  .header-inner.section-inner {
    right: 10px;
    width: auto;
  }
}

/*Modifs pour écrans < 830px */

@media only screen and (max-width:830px) {
  .header.section.small-padding.bg-dark.bg-image.lazyloaded {
    background-position: 0%,center !important;
  }
}

/*Modifs pour écrans < 800px */

@media only screen and (max-width:800px) {
  .header.section.small-padding.bg-dark.bg-image.lazyloaded {
    background-size: 20%, cover !important;
    background-position: 0% 0%,center !important;
  }

  .header-inner.section-inner {
    bottom: 10px;
  }
}

img {
  width: -6px;
}