/*
Theme Name: Twenty Twenty-Three ABBOT
Theme URI: https://wordpress.org/themes/twentytwentythree
Author: Knbmedia
Author URI: https://knbmedia.com
Template: twentytwentythree
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

.wp-block-image img {
  max-width: inherit;
}

nav.menu-ih > ul {
  list-style-type: none;
  padding: 0;
}

nav.menu-ih > ul > li {
  display: inline-block;
}

nav.menu-ih > ul > li > a {
  background-color: var(--wp--preset--color--tertiary);
  padding: 10px 20px;
  border-radius: 5px;
  margin: 0 10px;
  color: var(--wp--preset--color--contrast);
}
nav.menu-ih > ul > li > a.on {
  background-color: var(--wp--preset--color--primary);
  color: var(--wp--preset--color--base);
}

nav.menu-ih > ul > li > a,
nav.menu-ih > ul > li.wp-block-pages-list__item > a:hover {
  text-decoration: none;
}

header > .wp-block-group .wp-block-columns {
  width: 20%;
}
header > .wp-block-group .wp-block-columns.administration {
  width: 100%;
}

header > .wp-block-group .wp-block-columns .wp-block-column {
  position: relative;
}
header > .wp-block-group .wp-block-columns .wp-block-column > figure {
  position: absolute;
  margin: 0;
  top: 5px;
  right: 0;
}
header
  > .wp-block-group
  .wp-block-columns.administration
  .wp-block-column
  > figure {
  position: inherit;
  top: 0;
}
header .blue {
  color: var(--wp--preset--color--primary);
}
header .center {
  text-align: center;
}

p.has-text-align-center {
  text-align: center;
  font-size: 1.1rem;
  line-height: 1.4rem;
  margin-top: 0;
  color: var(--wp--preset--color--primary);
  margin-bottom: 3rem;
}
p.scoreFinal {
  text-align: center;
  font-size: 2.5rem;
  line-height: 2.5rem;
  font-weight: 600;
  color: var(--wp--preset--color--primary);
  margin-bottom: 1.2rem;
}
p.has-text-align-center .small {
  font-size: 0.9rem;
  line-height: 1.2rem;
}

.knb-block-questionnaire {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.knb-block-button {
  display: flex;
  justify-content: center;
}
.knb-block-button a {
  padding: 20px 30px 30px;
  border-radius: 15px;
  background-color: var(--wp--preset--color--primary);
  text-align: center;
  cursor: pointer;
}
.knb-block-button .icone {
  margin: auto;
}
.knb-block-button .icone svg {
  width: 40%;
  height: 40%;
}
.knb-block-button .titre {
  margin-bottom: 15px;
}
.knb-block-button .legende {
  font-size: 1.8rem;
  font-weight: 600;
  line-height: 1.5rem;
}
.bloc-right {
  width: 70%;
  float: right;
}
.bloc-left {
  width: 70%;
  float: left;
}

@media only screen and (max-width: 992px) {
  .knb-block-button a {
    padding: 15px 15px 20px;
  }
  .knb-block-button .titre {
    font-size: 1rem;
    line-height: 1.2rem;
    margin-bottom: 10px;
  }
  .knb-block-button .legende {
    font-size: 1.4rem;
    line-height: 1.7rem;
  }
  .bloc-right {
    width: 70%;
    float: none;
    margin: auto;
  }
  .bloc-left {
    width: 70%;
    float: none;
    margin: auto;
  }
}

footer a,
footer a:hover {
  text-decoration: underline;
}
footer a:hover {
  color: var(--wp--preset--color--primary);
}

