/*
Theme Name: FramaVirtue
Description: Theme enfant pour Virtue
Author: JosephK
Template: virtue
*/

:root {
  --f-g1: #ebf1f5;
  --f-g2: #ebf0f5;
  --f-g3: #e4e9f0;
  --f-g4: #cad3de;
  --f-g5: #9facbf;
  --f-g6: #67768f;
  --f-g7: #495366;
  --f-g8: #2d3647;
  --f-g9: #1a1f2b;
  --f-g10: #0b1c54;
  --f-f1: #fbf5ff;
  --f-f2: #edd8fd;
  --f-f3: #dcbcfa;
  --f-f4: #c194f4;
  --f-f5: #a87ede;
  --f-f6: #977ac2;
  --f-f7: #725794;
  --f-f8: #50386e;
  --f-f9: #3d2957;
  --f-f10: #400180;
  --f-b1: #edfeff;
  --f-b2: #b3e4e6;
  --f-b3: #8ccfd1;
  --f-b4: #6badb3;
  --f-b5: #55919e;
  --f-b6: #487982;
  --f-b7: #344c52;
  --f-b8: #273236;
  --f-b9: #112429;
  --f-b10: #003d52;
  --f-v1: #f2fff5;
  --f-v2: #8feba4;
  --f-v3: #6ad481;
  --f-v4: #4fb86b;
  --f-v5: #3ba161;
  --f-v6: #338650;
  --f-v7: #29573b;
  --f-v8: #213b2d;
  --f-v9: #0b2e19;
  --f-v10: #005727;
  --f-o1: #fff9f0;
  --f-o2: #fee7c8;
  --f-o3: #fbc98d;
  --f-o4: #f6a055;
  --f-o5: #fc8e3a;
  --f-o6: #dd6418;
  --f-o7: #cc4e13;
  --f-o8: #9c3c1c;
  --f-o9: #7b2f1a;
  --f-o10: #c43800;
  --f-r1: #fff6f5;
  --f-r2: #fedcd7;
  --f-r3: #febbb2;
  --f-r4: #fc8f81;
  --f-r5: #f57665;
  --f-r6: #e65740;
  --f-r7: #d93e25;
  --f-r8: #c42719;
  --f-r9: #9c221c;
  --f-r10: #c51802;
  --f-d1: #ffffff;
  --f-d2: #f1f1f1;
  --f-d3: #e7e7e7;
  --f-d4: #d3d3d3;
  --f-d5: #acacac;
  --f-d6: #767676;
  --f-d7: #545454;
  --f-d8: #363636;
  --f-d9: #1f1f1f;
  --f-d10: #482826;
}

html {
  font-size: initial;
  background: transparent !important;
}

body {
  background-color: transparent !important;
  color: var(--f-d9);
  font-family: -apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;
  height: auto;
  min-height: 100vh !important;
  position: relative;
}

body::before {
  background: var(--f-f8) url('https://framablog.org/wp-content/themes/framavirtue/img/bg-sky.jpg') no-repeat 50%;
  background-size: cover;
  display: block;
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

header #logo a.brand,
.logofont,
.kad_tagline,
.headerfont,
.tp-caption {
  font-family: 'DejaVu Sans',Verdana,Geneva,sans-serif !important;
}

a h4,
#menu-barre-du-haut a,
.home-iconmenu a,
.comment-meta a {
  text-decoration: none !important;
}

a {
  color: var(--f-f7);
}

a:hover, a:focus {
  color: var(--f-f6);
}

#content {
  font-size: 1rem;
  line-height: 25px;
}

.comment-meta,
.posttags, .posttags a,
.subhead, .subhead a {
  font-size: .75rem;
}

#commentform label {
  font-size: .875rem;
}

#content .entry-content li,
#content .entry-content p {
  margin : 0 0 1rem;
}

#content p > a:not([class]),
#content li:not([class]) > a:not([class]) {
  background-image: linear-gradient(var(--f-o5),var(--f-o5)),linear-gradient(var(--f-g5),var(--f-g5));
  background-position: center bottom, center bottom;
  background-repeat: no-repeat;
  background-size: 0 2px, 100% 2px;
  color: inherit;
  transition: background-size .25s ease-in-out;
}

#content p > a:not([class]):hover,
#content li:not([class]) > a:not([class]):hover,
#content p > a:not([class]):focus,
#content li:not([class]) > a:not([class]):focus {
  background-size: 100% 2px !important;
  color: inherit;
}

#commentform .row > .row { /* Fix bug Virtue */
  margin: 0;
}

#commentform .form-submit #submit { /* ~ .btn-primary */
  background-color: var(--f-f7);
  border-radius: .25rem;
  font-size: 1rem;
  line-height: 1.5;
  padding: .375rem .75rem;
}

#commentform .form-submit #submit:hover,
#commentform .form-submit #submit:focus {
  background-color: #5f497c;
  border-color: #594474;
}

.center {
  text-align: center;
}

.kad-btn-primary {
  background-color: var(--f-f7);
}

.home_blog {
  padding-top: 0;
  margin-top: -10px;
}

.error404 #content {
  padding-bottom: 30px;
}

@media (max-width: 991px) {
  .kad-header-right,
  .captiontext {
    display: none !important;
  }
}
@media (max-width: 767px) {
  .kad-desktop-slider {
    display: none !important;
  }

  .home_blog {
    margin-top: 10px;
  }
}

/* Fix */
.sidebar .widget_categories li a {
  padding: 5px 10px 5px 0px;
}

.postlist footer,
.widget_recent_entries .widget-inner li a::before,
#containerfooter {
  display: none;
}

a.page-numbers,
a.page-numbers:hover,
header > a,
header > a:hover,
.sidebar li a,
.sidebar a,
.home_blog_title a,
.home_blog_title a:hover {
  text-decoration: none;
}

.sidebar a:hover,
.sidebar li a:hover {
  text-decoration: underline;
}

.sidebar .widget_categories li a,
.sidebar .widget-inner li {
  border-color: rgba(0, 0, 0, 0.1);
}

.widget_archive select {
  margin-left: 20px;
}

.color_gray, #kadbreadcrumbs a, .subhead, .subhead a, .posttags, .posttags a, .product_meta a {
  color: var(--f-g6); /* a11y */
}

#topcontrol > div {
  display: none;
}
/* Commentaires */
.comment .avatar {
  border: none;
  margin-right: -36px;
  margin-top: 15px;
}

.comment .media-body {
  border: none;
  border-top: 1px solid rgba(0, 0, 0, 0.15);
  padding: 10px 3px;
  margin-top: 0;
}

#comments h5.media-heading {
  margin-left: 46px;
}

.comment .comment {
  padding-right: 0px;
  padding-bottom: 0px;
  margin-top: 0;
}
.comment {
  margin-top: 10px;
  padding: 10px 0;
}

/* Lisibilité */
@media (min-width: 992px) {
  .single-article .main > article {
    max-width: inherit;
    padding-left: 7rem;
    padding-right: 7rem;
  }

  #comments {
    padding-left: 7rem;
    padding-right: 7rem;
  }
}

h2, h3, h4, h5, h6 {
  font-family: 'Roboto';
  padding-top: 1.5rem;
  line-height: initial;
}

h2 {
  color: var(--f-f8);
  font-size: 2rem;
}

h3 {
  color: var(--f-f7);
  font-size: 1.125rem;
}

/* Import inline custom CSS ~~ 2019-09-12 JosephK */
.kad-btn-primary {
  background-color: var(--f-f7);
}

.kad-sidebar {
  background: none;
  border-top: 1px solid var(--f-f7);
}

@media (min-width: 992px) {
  .kad-sidebar {
    background: none;
    border-left: 1px solid var(--f-f7);
    border-top:none;
  }
}

.postlist article, .home_blog article {
  border-width: 2px;
}

.post {
  border-color: var(--f-g6);
}

body.single-post .tag-claviers-invites .entry-content > div > hr:first-of-type {
  height: min-content;
}

body.single-post .tag-claviers-invites .entry-content > div > hr:first-of-type::after {
  content: 'Les articles présentés ici sont ceux de personnes invitées à s’exprimer sur le Framablog. Ces auteurs et autrices ne font pas partie de l’association, mais leurs mots et leurs idées nous semblent avoir toute leur place ici.';
  color: var(--f-b8);
  background-color: var(--f-b2);
  border: 1px solid var(--f-b3);
  display:block;
  padding:15px;
  border-radius:5px;
  margin:30px auto 30px;
}

body.single-post .tag-claviers-invites .entry-content > div > hr + h2 strong {
  text-transform: uppercase;
  color: var(--f-g6);
}

body.single-post .tag-claviers-invites .entry-content > div > hr + h2 small {
  font-size: 24px;
  color: var(--f-g6);
}

/* Bio box */
.author-profile .author-follow a {
  float:right;
  background:transparent;
}

.social-sharing,
.googlepluslink,
.facebooklink,
.author-profile .author-follow .followtext {
  display:none;
}

.author-profile .author-follow .twitterlink a:hover {
  background: #6BA9CE; /*  Twitter color */
}

.nav-tabs > li > a,
.nav-tabs > li > a:focus,
.nav-tabs > li > a:hover {
  background: var(--f-g2) !important;
}

.author-box,
.nav-tabs > li.active > a,
.nav-tabs > li.active > a:focus,
.nav-tabs > li.active > a:hover {
  background: var(--f-g3) !important;
}

#authorTab {
  background: var(--f-g2);
}

.author-latestposts ul {
  margin-left: 80px;
}

.author-box a[href="#about"] {
  font-size: 0px;
}

.author-box a[href="#about"]:before {
  visibility: visible;
  content:'Qui a publié cet article ?'; 
  visibility: visible;
  display: block;
  font-size: 1rem;
}

#comments .media-body {
  max-width: 100%;
}

.comment.trollTopic > .media-body,
.comment.trollTopic > .avatar {
  display: none;
}

.comment-body.troll {
  background:
    url('data:image/png;base64,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')
    no-repeat
    calc(100% - 20px) calc(100% - 20px);
  opacity: 0.6;
}

.comment-body.troll .comment-reply-link {
  display: none;
}

@media (max-width: 768px) {
  .main, .main .post {
    padding-left: .25rem !important;
  	padding-right: .25rem !important;
  }

  #topbar .kad-topbar-left {
    flex-wrap: wrap;
  }

  #topbar .kad-topbar-right form {
    float: none !important;
  }

  .boxed #wrapper.container {
    margin: 0 !important;
  }
}

/* General */
.page-header {
  border-bottom: none;
  padding-left: 20px;
}

header a {
  text-decoration: none;
}

.home .main {
  width: 100%;
}

.home .entry-content {
  margin: 0;
  padding-top: 0;
}

.home .entry-content img {
  width: 100%;
}

.home .entry-content header a {
  text-decoration: none;
}

.home .entry-content header h4 {
  padding-left: 30px;
}

.home .entry-content p {
  margin-bottom: 0 !important;
}

/* Articles */
#postImage {
  background-color: var(--f-d1);
  background-position: center;
  background-size: cover;
  border-radius: 1.75rem 1.75rem 0 0;
  filter: brightness(90%);
  width: 100%;
  height: 400px;
}

#postImage[style*="undefined"] { /* Fallback sur l’image à la une importée en JS */
  background-image: url('https://framablog.org/wp-content/uploads/2018/03/flypenguin.jpg') !important;
}

.post h1 {
  color: var(--f-g10);
  padding: 1.5rem 1rem;
  text-align: center;
  font-size: 3rem;
  line-height: 48px;
  font-family: 'Tovari Sans';
  max-width: 700px;
  margin: auto;
  text-shadow: none;
}

.single-post .main {
  margin-top: -400px;
}

.main {
  float: none;
  margin-left: auto;
  margin-right: auto;
}

.paged .main {
  padding: 1.5rem;
}

@media (min-width: 992px) {
  .main.col-lg-9.col-md-8 {
    width: 83.33333333%;
  }
}

.entry-content {
  background: var(--f-d1);
  padding: 30px;
}

#wrapper .main p {
  /* margin-top: 2rem;
  margin-bottom: 2rem; */
  font-size: 1.125rem;
  line-height: 1.8;
}

#wrapper .main .post li {
  font-size: 1.125rem;
  line-height: 1.5;
}

#wrapper .main blockquote {
  background: var(--f-o1);
  border-left: 6px solid var(--f-o5);
  border-radius: .5rem;
  margin: 1.25rem 0;
  padding: 1.25rem 1.75rem;
}

#wrapper .main blockquote::before {
  background:
    url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" version="1.0" fill="%23fc8e3a" viewBox="0 0 60 45"><path d="M23.26 4.7c8.13 9.12 2.52 24.97-4.24 31.1-5.75 5.23-15.29 9.5-16.2 8-1.43-2.36 4.21-4.05 8.45-7.86 5.25-5.71 7.04-8.28-.27-11.5-7.82-3.53-7.97-7-8.24-11.4C2.12 1.97 15.35-3.21 23.26 4.7zm30.54.17c8.12 9.1 2.52 24.96-4.24 31.1-5.75 5.22-15.3 9.48-16.2 7.99-1.43-2.38 4.2-4.05 8.44-7.86 5.28-5.71 7.04-8.28-.25-11.51-7.84-3.54-8-7-8.25-11.4-.64-11.06 12.58-16.24 20.5-8.32z"/></svg>')
    no-repeat;
  content: ' ';
  float: right;
  margin-right: -2rem;
  margin-top: -2rem;
  opacity: 0.4;
  width: 60px;
  height: 45px;
}

#wrapper .main blockquote p {
  font-size: 1.125rem;
  font-weight: inherit;
  line-height: 1.8;
  margin-top: 0;
}

#wrapper .main blockquote p:last-of-type {
  margin-bottom: 0 !important;
}

#wrapper .entry-content p:first-of-type {
  margin-top: 0;
}

.single-article .main > article {
  padding-left: inherit;
  padding-right: inherit;
}

.subhead,
.wtr-time-wrap.before-content {
  display: none !important;
}

#postTime {
  color: var(--f-g10);
  margin: 0 !important;
  padding-bottom: 30px;
  padding-top: 10px;
  text-align: center;
}

#postTime * {
  background:transparent;
  color: var(--f-g10);
  display: inline;
  float: none;
  font-size: 1.125rem !important;
  font-weight: normal;
}

#postTime .fa,
#postTime .icon-user {
  font-style: normal;
}

#postTime a {
  text-decoration: underline;
}

.fa-clock-o::before {
  --icon: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M232 120C232 106.7 242.7 96 256 96C269.3 96 280 106.7 280 120V243.2L365.3 300C376.3 307.4 379.3 322.3 371.1 333.3C364.6 344.3 349.7 347.3 338.7 339.1L242.7 275.1C236 271.5 232 264 232 255.1L232 120zM256 0C397.4 0 512 114.6 512 256C512 397.4 397.4 512 256 512C114.6 512 0 397.4 0 256C0 114.6 114.6 0 256 0zM48 256C48 370.9 141.1 464 256 464C370.9 464 464 370.9 464 256C464 141.1 370.9 48 256 48C141.1 48 48 141.1 48 256z"/></svg>');
  --width: 1.000em;
  --square: 1.000em;
  background-color: currentColor;
  content: '';
  display: inline-block;
  line-height: 1;
  mask-image: var(--icon);
  mask-position: center center;
  mask-repeat: no-repeat;
  mask-size: contain;
  width: var(--width,1em);
  height: 1em;
  -webkit-mask-image: var(--icon);
  -webkit-mask-position: center center;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: contain;
}

header.banner.headerclass {
  background: none;
}

header .kad_tagline {
  display: none;
}

header .kad-header-left {
  margin: 0 auto;
  float: none;
  text-align: center;
}

#topbar {
  background: var(--f-d1);
}

#topbar a,
#topbar-search .search-icon {
  color: var(--f-g7);
}

#topbar-search input[type="text"] {
  background: var(--f-d1);
  color: var(--f-g7);
}

#topbar .fa {
  font-size: 1.125rem;
  padding: 0;
  vertical-align: middle;
}

#wrapper #aside-container {
  width: 100%;
  position: relative;
}

#wrapper #aside-container a[href="/"] {
  border: none;
  position: absolute;
  z-index: 6;
  left: 35px;
  top: 5px;
}

.home #wrapper #aside-container a[href="/"] {
  display: none;
}

#wrapper aside {
  background: var(--f-o1);
  border: none;
  border-radius: 1.75rem;
  float: none;
  margin-top: 1rem;
  position: absolute;
  width: auto;
  z-index: 4;
}

#wrapper aside div > section {
  float: left;
  margin: 10px 0;
  padding: 20px;
  width: 100%;
}

@media (min-width: 768px) {
  #wrapper aside div > section {
    width: 50%;
  }
}

@media (min-width: 992px) {
  #wrapper aside div > section {
    width: 33%;
  }
}

#wrapper #text-2 {
  display: none;
}

.posttags {
  color: var(--f-d1);
}

#wrapper .posttags a {
  border-radius: .25rem;
  background: var(--f-g7);
  color: var(--f-d1);
  display: inline-block;
  font-weight: 700;
  margin: 0.125rem 0;
  opacity: 0.8;
  padding: 0 0.5rem;
  text-decoration: none;
  text-transform: lowercase;
}

#wrapper .posttags a:hover {
  color: var(--f-d1);
  opacity: 1;
}

.postedintop {
  display:block;
  margin-top: 30px;
}

#wrapper .postedintop a {
  text-decoration: none;
}

.posttags .icon-tag,
.postedintop .icon-folder-open {
  display: none;
}

.kad-post-navigation {
  margin-bottom: 30px;
}

#actionButtons {
  width:60px;
  position:fixed;
  margin-left: 30px;
  margin-top: 20px;
  z-index: 1;
}

@media (max-width: 992px) {
  #actionButtons {
    display: none;
  }
}

#actionButtons a {
  margin: 3px;
  background: transparent !important;
}

#actionButtons a.btn {
  border: 0;
  border-radius: 0;
  color: var(--f-d1);
  font-size: 1px;
  margin: 4px 3px;
  width: 45px;
  height: 45px;
}

#actionButtons #btn-comments {
  color: var(--f-g6);
  display: inline-block;
  font-size: 0.875rem;
  line-height: 10px;
  padding: 0px;
  text-align: center;
  text-decoration: none;
  width: 45px;
  height: 45px;
}

#actionButtons #btn-comments:hover {
  background: var(--f-g1);
}

.postcommentscount {
  margin-left: 18px;
  display: flex;
  flex-direction: column;
}

#actionButtons a.btn .fa,
#actionButtons #btn-comments i {
  color: var(--f-g6);
  display: inline;
  font-size: 1.75rem;
  line-height: 2rem;
}

.author-box {
  margin-left: 1rem;
  margin-right: 1rem;
}

#wrapper #respond {
  padding-left: .5rem;
  padding-right: .5rem;
}

#wrapper #respond p {
  margin-top: 0;
}

#comments {
  padding-left: 1rem;
  padding-right: 1rem;
}

#comments .avatar {
  background: transparent;
	border-radius: 50%;
  margin-right: -78px;
  margin-left: 18px;
  margin-top: 20px;
  position: relative;
  vertical-align: top;
  width: 2.25rem;
  z-index: 1;
}

#comments > ol > li > .avatar {
  width: 4rem;
}

#comments .comment-body {
  border-bottom: 1px solid var(--f-g3);
  background: var(--f-g1);
  padding: 1.75rem;
  position: relative;
}

#comments .comment-body p {
  font-size: .875rem;
  margin-top: 2rem;
  margin-bottom: 1.5rem;
}

#comments .media-body {
  border: none;
  padding: 0;
}

#comments .comment-body h5 {
  margin: 0 2.5rem;
  padding-top: 0;
}

#comments > ol > li > .media-body > .comment-body h5 {
  margin: 0 3.5rem;
}

#comments .comment-content {
  margin: 0 0 0 2.5rem;
}

#comments > ol > li > .media-body > .comment-body .comment-content {
  margin: 0 0 0 3.5rem;
}

#comments .byuser > .media-body > .comment-body {
  background: linear-gradient(to bottom right, var(--f-o1), var(--f-o3));
}

.comment-reply-link {
  position: absolute;
  bottom: 20px;
  right: 20px;
}

.comment-reply-link {
  position: absolute;
  bottom: 20px;
  right: 20px;
}

.comment-edit-link {
  font-size: .875rem !important;
  margin-left: 4px;
}

.comment-meta {
  color: var(--f-d1);
  font-size: 0.1px;
}

.comment-meta time a {
  color: var(--f-g7);
  font-size: .875rem;
}

#respond p.small {
  font-size: .875rem;
}

#wrapper .btn-youtube {
  left: inherit;
  top: 30px;
  margin-left: 20px;
  margin-top: 0;
}

.kad-post-navigation .kad-next-link a,
.kad-post-navigation .kad-previous-link a {
  background-color: var(--f-g2);
  border-radius: .25rem;
  color: var(--f-d9);
  text-decoration: none;
}

.kad-post-navigation .kad-next-link a:hover,
.kad-post-navigation .kad-previous-link a:hover,
.kad-post-navigation .kad-next-link a:focus,
.kad-post-navigation .kad-previous-link a:focus{
  background-color: var(--f-g1);
  color: var(--f-d9);
}

.kad-post-navigation .kad-next-link a::after {
  font: FontAwesome;
  content: "\f054";
  margin-left: 10px;
  vertical-align: middle;
}

.kad-post-navigation .kad-previous-link a::before {
  font: FontAwesome;
  content: "\f053";
  vertical-align: middle;
  margin-right: 10px;
}

/* Grid home */
@media (min-width: 768px) {
  .home_blog .home-sidebar article img{
    min-height: 207px;
  }

  .home_blog .home-sidebar article p {
    min-height: 390px;
  }

  .home_blog .home-sidebar article h4 {
    min-height: 135px;
  }
}

@media (min-width: 992px) {
  .home_blog .home-sidebar article p {
    min-height: 260px;
  }

  .home_blog .home-sidebar article h4 {
    min-height: 105px;
  }

  .home_blog .home-sidebar article img{
    min-height: 280px;
  }
}
@media (min-width: 1200px) {
  .home_blog .home-sidebar article p {
    min-height: 200px;
  }
}

.thumbnail {
  border: 10px solid var(--f-o1);
}

figcaption {
  background: var(--f-o1);
  display: block !important;
  margin:0 !important;
  padding-top:10px;
}

/* Import inline custom CSS ~~ 2022-01-05 JosephK */
#topbar-search .fa::before {
  font-family: 'FontAwesome';
  font-size: 18px;
  padding: 4px;
  vertical-align: middle;
  font-style: normal;
}

#menuHamburger::before {
  --icon: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path d="M0 96C0 78.33 14.33 64 32 64H416C433.7 64 448 78.33 448 96C448 113.7 433.7 128 416 128H32C14.33 128 0 113.7 0 96zM0 256C0 238.3 14.33 224 32 224H416C433.7 224 448 238.3 448 256C448 273.7 433.7 288 416 288H32C14.33 288 0 273.7 0 256zM416 448H32C14.33 448 0 433.7 0 416C0 398.3 14.33 384 32 384H416C433.7 384 448 398.3 448 416C448 433.7 433.7 448 416 448z"/></svg>');
  --width: .875em;
  --square: 1.000em;
  background-color: currentColor;
  content: '';
  display: inline-block;
  line-height: 1;
  mask-image: var(--icon);
  mask-position: center center;
  mask-repeat: no-repeat;
  mask-size: contain;
  width: var(--width,1em);
  height: 1em;
  -webkit-mask-image: var(--icon);
  -webkit-mask-position: center center;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  vertical-align: bottom;
  margin-right: .25rem;
}

.kad-previous-link a::before,
.kad-next-link a::after { font-family: 'FontAwesome' !important; }

#topbar-search form {
  float: right !important;
}

.wrap.contentclass { background: transparent; }

#topbar-search .dropdown .btn {
  background: transparent !important;
}


/* Bootstrap Dropdown missing (CSS only) */
.dropdown {
  display: block;
  position: relative
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1000;
  display: none;
  float: left;
  min-width: 160px;
  padding: 5px 0;
  margin: 2px 0 0;
  font-size: 14px;
  text-align: left;
  list-style: none;
  background-color: var(--f-d1);
  -webkit-background-clip: padding-box;
  background-clip: padding-box;
  border: 1px solid #ccc;
  border: 1px solid rgba(0,0,0,.15);
  border-radius: 4px;
  -webkit-box-shadow: 0 6px 12px rgba(0,0,0,.175);
  box-shadow: 0 6px 12px rgba(0,0,0,.175)
}

.dropdown-menu > li > a {
  clear: both;
  color: #333;
  display: block;
  font-weight: 400;
  line-height: 1.42857143;
  padding: 3px 20px;
  white-space: nowrap
}

.dropdown-menu > li > a:focus,
.dropdown-menu > li > a:hover {
  background-color: #f5f5f5;
  color: #262626;
  text-decoration: none;
}

.dropdown:focus-within .dropdown-menu,
.dropdown:hover .dropdown-menu {
  display: block;
}

/* Bootstrap Embed missing */
.embed-responsive {
  position: relative;
  display: block;
  height: 0;
  padding: 0;
  overflow: hidden;
}

.embed-responsive .embed-responsive-item,
.embed-responsive embed,
.embed-responsive iframe,
.embed-responsive object,
.embed-responsive video {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.embed-responsive-16by9 {
  padding-bottom: 56.25%
}

.embed-responsive-4by3 {
  padding-bottom: 75%
}

/* Divers fix  */
.comment-body.troll.median {
  background: none;
  opacity: 0.8;
}

.comment-body.troll.median .comment-content[style*="display: none"] {
  display: block !important;
}

#comments .alert a {
  text-decoration: underline;
}

.entry-content span[title] {
  cursor: help;
  text-decoration: underline dotted;
}

.pdfprnt-buttons .btn {
  border: 0;
  font-size: 1px;
  color: var(--f-d1);
  width: 45px;
  height: 45px;
  border-radius: 0;
  margin-bottom: 10px;
}

/* Newtheme ~~ 2023-03-01 JosephK */
.btn-soutenir {
  color: var(--f-d1);
  background-color: var(--f-o7);
  border-color: var(--f-o7);
}

.btn-soutenir:hover,
.btn-soutenir:focus,
.btn-soutenir:active {
  color: var(--f-d1);
  background-color: #a94110;
  border-color: #a94110;
}

.btn-info {
  color: var(--f-d1);
  background-color: var(--f-b7);
  border-color: var(--f-b7);
}
.btn-info:hover,
.btn-info:focus,
.btn-info:active {
  color: var(--f-d1);
  background-color: #225365;
  border-color: #1f4b5c;
}

/* Header */
article .entry-content .btn {
  white-space: normal;
  margin: .25rem;
  font-size: inherit;
}

.single-article .post header {
  padding: 10px 0;
  background: var(--f-d1);
  margin-top: 260px;
  border-radius: .5rem .5rem 0 0;
  border-top: .75rem solid var(--f-o5);
}

body.single-post .category-claviers-invites .entry-content {
  margin-top: 30px;
}


.boxed #wrapper.container {
  padding-top: 30px;
  padding-bottom: 30px !important;
  background-color: transparent;
  box-shadow: none !important;
}

.main {
  background: var(--f-d1);
  background: var(--f-g2);
  border-radius: 2rem 2rem 1.75rem 1.75rem;
  padding: 0.5rem 1.5rem;
  position: relative;
  z-index: 1;
  height: 100%;
}

.main .entry-content {
  background: transparent;
  padding: 0;
}

.hometitle {
  margin: 0;
  line-height: 0;
  padding: .25rem;
}

.postlist article,
.home_blog article {
  border: none;
  padding: 1.5rem;
}
.postlist article:hover,
.home_blog article:hover {
  background: var(--f-g1);
  border-radius: 0.75rem;
}

.postlist article img,
.home_blog article img {
  box-shadow: none !important;
  margin-bottom: 1rem;
  border-radius: .25rem;
}

.postlist article .entry-content,
.home_blog article .entry-content {
  padding: 0;
  margin: 0;
  background: transparent;
  line-height: 1.5 !important;
  margin: 0 !important;
}

.postmeta {
  display: block;
  text-align: left;
  width: 100%;
}

.postdate {
  background: transparent !important;
  color: var(--f-g7);
  display: inline-flex;
  float: none !important;
  font-size: 12.8px !important;
  margin: 0;
  padding: 0;
  text-transform: lowercase;
}

.postdate span {
  padding: 0 3px;
  font-size: 12.8px !important;
}

.postdate::before {
  --icon: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path d="M96 32c0-17.67 14.3-32 32-32s32 14.33 32 32v32h128V32c0-17.67 14.3-32 32-32s32 14.33 32 32v32h48c26.5 0 48 21.49 48 48v48H0v-48c0-26.51 21.49-48 48-48h48V32zm352 432c0 26.5-21.5 48-48 48H48c-26.51 0-48-21.5-48-48V192h448v272z"/></svg>');
  --width: .875em;
  --square: 1.000em;
  background-color: currentColor;
  content: '';
  display: inline-block;
  line-height: 1;
  mask-image: var(--icon);
  mask-position: center center;
  mask-repeat: no-repeat;
  mask-size: contain;
  width: var(--width,1em);
  height: 1em;
  -webkit-mask-image: var(--icon);
  -webkit-mask-position: center center;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: contain;
}

.postlist article header,
.home_blog article header {
  margin: 0 !important;
}

.postlist article h4,
.home_blog article h4 {
  padding: 0 !important;
  color: var(--f-g9);
  font-size: 1.25rem;
  font-weight: 700;
  min-height: auto !important;
}
#wrapper .postlist article p,
#wrapper .home_blog article p {
  font-size: 1rem;
  line-height: 1.5 !important;
  min-height: min-content !important;
}

aside .btn-default, /* Retour à l’accueil */
#content .btn-default, /* Plus d’articles @home */
#wrapper .postlist article p a,
#wrapper .home_blog article p a {
  background: var(--f-d1);
  border: 1px solid transparent;
  float:right;
  margin-top: 1rem;
  font-weight: 400;
  color: var(--f-o7);
  text-align: center;
  vertical-align: middle;
  user-select: none;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  font-weight: bold;
  line-height: 1.5;
  border-radius: 0.25rem;
  transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

aside .btn-default:hover,
#content .btn-default:hover,
#wrapper .postlist article p a:hover,
#wrapper .home_blog article p a:hover,
aside .btn-default:focus,
#content .btn-default:focus,
#wrapper .postlist article p a:focus,
#wrapper .home_blog article p a:focus {
  background: var(--f-o7);
  color: var(--f-d1);
}

aside .btn-default:focus,
#content .btn-default:focus,
#wrapper .postlist article p a:focus,
#wrapper .home_blog article p a:focus {
  box-shadow: 0 0 0 0.2rem rgb(204 78 19 / 50%);
}

#content .home_blog .btn-default::after,
#wrapper .postlist article p a::after,
#wrapper .home_blog article p a:after {
  --icon: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 512"><path d="M96 480c-8.188 0-16.38-3.125-22.62-9.375-12.5-12.5-12.5-32.75 0-45.25L242.8 256 73.38 86.63c-12.5-12.5-12.5-32.75 0-45.25s32.75-12.5 45.25 0l192 192c12.5 12.5 12.5 32.75 0 45.25l-192 192C112.4 476.9 104.2 480 96 480z"/></svg>');
  --width: .875em;
  --square: 1.000em;
  background-color: currentColor;
  content: '';
  display: inline-block;
  line-height: 1;
  mask-image: var(--icon);
  mask-position: center center;
  mask-repeat: no-repeat;
  mask-size: contain;
  width: var(--width,1em);
  height: 1em;
  vertical-align: -0.125em;
  -webkit-mask-image: var(--icon);
  -webkit-mask-position: center center;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: contain;
}

#content .home_blog .btn-default {
  margin-right: 1rem;
  width: calc(100% - 2rem);
}

#content .btn-default.btn-xs {
  padding: 5px 10px;
  font-size: 12px;
  line-height: 1.5;
  border-radius: 3px;
}

header .kad-header-left {
  margin: 0 ;
  float: none;
  text-align: left;
}

#thelogo img {
  filter: brightness(200);
  margin-left: 1.25rem;
}

#topbar .row {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

#topbar .row::before,
#topbar .row::after {
  content: none;
}

.kad-topbar-left {
  display: inline-flex;
  width: auto;
}

.kad-topbar-right {
  width: auto;
  margin: 1rem auto 0;
  float: none;
}

@media (min-width: 992px) {
  .kad-topbar-right {    
    margin-right: 0;
  }	
}

.kad-topbar-left #menu-barre-du-haut a,
.kad-topbar-left button {
  color: var(--f-f1);
  font-weight: 700;
  font-size: 1.25rem;
  padding: .5rem 1rem;
  line-height: 1;
}

.kad-topbar-left #menu-barre-du-haut a:hover,
.kad-topbar-left #menu-barre-du-haut a:focus,
.kad-topbar-left button:hover,
.kad-topbar-left button:focus,
.kad-topbar-left button {
  background: none;
  color: var(--f-f1);
}

#topbar-search .form-search {
  height: 50px;
  border-radius: 0.25rem;
  background: var(--f-g4);
  padding: 8px 8px 8px 35px;
  margin-top: -8px;
  display: flex;
  flex-direction:row;
  flex-wrap: wrap;
  align-content: center;
  max-width: 250px;
}

#topbar-search .form-search .search-query {
  padding: 5px;
}

#topbar-search .form-search button {
  height: 100%;
}

.single #wrapper .wrap {
  background: var(--f-g2);
  border-radius: 2rem;
  padding: 0;
  position: relative;
  z-index: 1;
  height: 100%;
  margin-top: 1rem;
}

.single .main {
  background: transparent;
}

.single .main .entry-content {
  background: var(--f-d1);
  border-radius: 0 0 .5rem .5rem;
  padding: 1rem 1.5rem;
}

#pageheader {
  position: relative;
  color: var(--f-d1);
}

#pageheader .container {
  max-width: 800px;
  font-size: 1rem;
}

#pageheader .container h1 {
  background: var(--f-o6);
  border-radius: 0.5rem;
  color: var(--f-d1)!important;
  font-family: Tovari Sans,sans-serif;
  font-size: 2.4rem!important;
  font-style: normal;
  line-height: 2.5rem!important;
  padding: 1.25rem 1.75rem 0.5rem;
  text-align: center;
  text-transform: uppercase;
  transform: rotate(-2deg);
  width: fit-content;
  margin: 1rem auto 1.5rem!important;
}

[data-url$="?s"] #pageheader .container h1 {
  display: none;
}

/* Pagination */
.wp-pagenavi a, 
.wp-pagenavi span {
  border: none;
  border-radius: .25rem;
  font-size: 1rem;
}

.wp-pagenavi .current {
  background: var(--f-g3);
}

.wp-pagenavi a {
  background: transparent;
  color: var(--f-o7);
}

.wp-pagenavi a:hover,
.wp-pagenavi a:focus {
  background: var(--f-g1);
}

/*  Newsletter */
.single-article .category-newsletter.post header {
  margin-top: 380px;	
}

.single .category-newsletter .entry-content h1,
.single .category-newsletter .entry-content h2,
.single .category-newsletter .entry-content h3 {
  color: #4a5568;
  font-family: Roboto, sans-serif;
  margin: .5rem 0;
  padding: 0;
  text-align: left;
}

.single .category-newsletter .entry-content h1 {
  border-bottom: 5px solid var(--f-o5);
  color: var(--f-o6);
  font-size: 2.25rem;
  font-weight: bold;
  margin-top: 5rem;
  margin-bottom: 3rem;
  max-width: none;
  text-transform: uppercase;
}

.single .category-newsletter .entry-content h1 img {
  width: 100%;
}

.single .category-newsletter .entry-content h2 {
  color: var(--f-b5);
  font-size: 1.75rem;
  font-weight: bold;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.single .category-newsletter .entry-content h3 {
  font-size: 1.5rem;
  margin-top: 1.5rem;
  margin-bottom: .5rem;
}

.single .category-newsletter .entry-content p,
.single .category-newsletter .entry-content ul {
  line-height: 1.5;
  margin-top: 0;
  margin-bottom: 1rem;
}

.single .category-newsletter .entry-content code {
  background: #fcf7f7;
  color: #c42719;
  white-space: pre;
}

.single .category-newsletter .entry-content hr {
  background-color: #edf2f7;
  border: medium none;
  clear: both;
  height: 11px;
  margin: 15px 0;
}

.single .category-newsletter .entry-content em > strong > img {
  width: 95%;
}

.single .category-newsletter .entry-content em > img {
  border: .5rem solid #edf2f7;
  display: block;
  margin: .5rem auto 1.5rem;
  max-width: 480px;
}

.single .category-newsletter .entry-content h1 > img,
.single .category-newsletter .entry-content em > strong > img {
  width: 100%;
}
/* Table of Content */
.single #wrapper .category-newsletter .entry-content #toc_container {
  background: #fff9f0;
  border: none;
  border-radius: .25rem;
  margin: 2rem auto;
  padding: .75rem 1.25rem .75rem 0;
  width: 66%;
}

.single #wrapper .category-newsletter .entry-content #toc_container > .toc_list {
  list-style: none;
  padding-left: 2.5rem;
}

.single #wrapper .category-newsletter .entry-content #toc_container > .toc_list > li {
  font-size: 1rem;
  margin-bottom: .5rem;
}

.single #wrapper .category-newsletter .entry-content #toc_container > .toc_list ul li {
  font-size: 1rem;
  list-style-type: disc;
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .single #wrapper .category-newsletter .entry-content #toc_container {
    width: auto;
  }
}

.single #wrapper .category-newsletter .entry-content #toc_container > p {
  color: #1f1f1f;
  font-size: 1rem;
  font-weight: bold;
  line-height: 1;
  margin: .5rem 0 .5rem;
  padding: 0;
  text-align: center;
}

.single #wrapper .category-newsletter .entry-content #toc_container a {
  background: none;
  border: none;
}

.single #wrapper .category-newsletter .entry-content #toc_container a:hover {
  text-decoration: underline;
}

/* Fix footer */
.single .category-newsletter {
  margin-bottom: 3rem;	
}

.single.newsletter .single-footer,
.single.newsletter .author-box,
.single .category-newsletter .single-footer,
.single .category-newsletter + .author-box {
  display: none;
}