@charset "UTF-8";
/*!
Theme Name: digitool
Theme URI: https://www.velvet-cocoon.com
Author: vachon_steph
Author URI: https://wordpress.org
Description: A starter theme for velvet
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: digitool
Tags: translation-ready
*/
/*--------------------------------------------------------------
# Reset
--------------------------------------------------------------*/
/* Box sizing rules */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Remove default margin */
body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
ul[role=list],
ol[role=list] {
  list-style: none;
}

/* Set core root defaults */
html:focus-within {
  scroll-behavior: smooth;
}

/* Set core body defaults */
body {
  min-height: 100vh;
  text-rendering: optimizeSpeed;
  line-height: 1.2;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
  -webkit-text-decoration-skip: ink;
          text-decoration-skip-ink: auto;
}

/* Make images easier to work with */
img,
picture {
  max-width: 100%;
  display: block;
}

/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
  font: inherit;
}

/* Remove all animations, transitions and smooth scroll for people that prefer not to see them */
@media (prefers-reduced-motion: reduce) {
  html:focus-within {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
/** Misc
  * --------------------------------------------- */
::-moz-selection {
  background: #00968c;
  color: #FFF;
  text-shadow: none;
}
::selection {
  background: #00968c;
  color: #FFF;
  text-shadow: none;
}
::-webkit-selection {
  background: #00968c;
  color: #FFF;
  text-shadow: none;
}
::-moz-selection {
  background: #00968c;
  color: #FFF;
  text-shadow: none;
}
meta, .fullGrid > span[itemprop="author publisher"], .tableGrid > span[itemprop="author publisher"] {
  width: 0 !important;
  height: 0 !important;
  overflow: hidden;
}

/*------------------------------------*\
    RESPONSIVE
\*------------------------------------*/
@-o-viewport {
  width: device-width;
}
@viewport {
  width: device-width;
}

/*--------------------------------------------------------------
# Globals
--------------------------------------------------------------*/
body {
  background: #FFF;
  color: #000;
}

/*
 * Global Styles
 * ----------------------------------------------------------------------------*/
.widget-area, .pagination, .comments-pagination, .post-navigation, .site-footer, .alignwide, .wide-max-width, .nav-breadcrumbs {
  max-width: var(--wp--style--global--wide-size);
  margin: 0 auto;
}
.site-header, .site-main, .widget-area, .site-footer {
  margin: 0 auto;
}
a {
  color: #000;
}
.entry-header {
  margin: 0 auto;
  max-width: 610px;
}
.entry-title {
  text-align: left;
}
*{
  word-break: break-word;
}
.entry-content > .wp-block-group {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
/* Visible state */
.entry-content > .wp-block-group.visible {
  opacity: 1;
  transform: translateY(0);
}
/*--------------------------------------------------------------
# Accessibility
--------------------------------------------------------------*/
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  -webkit-clip-path: inset(50%);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
  word-break: normal;
}
.skip-link:focus {
  background-color: #fff;
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  -webkit-clip-path: none;
  clip-path: none;
  color: #00968c;
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}
.site a:focus:not(.wp-block-button__link):not(.wp-block-file__button) {
  outline: 2px solid transparent;
  -webkit-text-decoration: underline 1px dotted currentColor;
          text-decoration: underline 1px dotted currentColor;
  -webkit-text-decoration-skip-ink: none;
          text-decoration-skip-ink: none;
  /*background: rgba(255, 255, 255, 0.9);*/
}
/* Do not show the outline on the skip link target. */
#content[tabindex="-1"]:focus {
  outline: 0;
}

@media (prefers-reduced-motion) {
  * {
    transition-delay: 0s !important;
    transition-duration: 0s !important;
  }
}

/* Sections ---------------------------------- */
section {
  width: 100%;
}

/*--------------------------------------------------------------
# Print style
--------------------------------------------------------------*/
@media print {
  * {
    background: transparent !important;
    color: #000 !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }
  a,
  a:visited {
    text-decoration: underline;
  }
  a[href]:after {
    content: " (" attr(href) ")";
  }
  abbr[title]:after {
    content: " (" attr(title) ")";
  }
  .ir a:after,
  a[href^="javascript:"]:after,
  a[href^="#"]:after {
    content: "";
  }
  pre, blockquote {
    border: 1px solid #F6F6F6;
    page-break-inside: avoid;
  }
  thead {
    display: table-header-group;
  }
  tr, img {
    page-break-inside: avoid;
  }
  img {
    max-width: 100% !important;
  }
  @page {
    margin: 0.5cm;
  }
  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }
  h2,
  h3 {
    page-break-after: avoid;
  }
}
/*--------------------------------------------------------------
# Fonts
--------------------------------------------------------------*/
/*
Exemple d'ajout d'une typo locale

@font-face {
	font-family:'fonticon';
	src:url('../fonts/fonticon.eot');
	src:url('../fonts/fonticon.eot?#iefix') format('embedded-opentype'),
		url('../fonts/fonticon.woff') format('woff'),
		url('../fonts/fonticon.ttf') format('truetype'),
		url('../fonts/fonticon.svg#fonticon') format('svg');
    font-weight:normal;
    font-style:normal;
}
*/
* {
  -webkit-font-smoothing: antialiased;
  font-smoothing: antialiased;
}

#header *:before, #site-main *:before, #footer *:before, #adminbar *:before,
#header *:after, #site-main *:after, #footer *:after, #adminbar *:after {
  font-family: "fonticon", sans-serif;
  text-rendering: optimizeLegibility;
  speak: none;
}

/*--------------------------------------------------------------
# header
--------------------------------------------------------------*/
.site-header {
  z-index: 2;
  background: transparent;
}
.header-inner {
  align-items: center;
  display: flex;
  justify-content: space-between;
  z-index: 100;
  padding: 1.5rem 0;
  margin: 0 auto;
  max-width: 90%;
  width: 100%;
}
.header-titles-wrapper {
  margin-right: 4rem;
  max-width: 50%;
  padding: 0;
  text-align: left;
}
.header-titles {
  align-items: baseline;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  margin: -1rem 0 0 -2.4rem;
}
.header-titles .site-title,
.header-titles .site-logo,
.header-titles .site-description {
  margin: 1rem 0 0 2.4rem;
}
.wp-custom-logo .header-titles {
  align-items: center;
}
.site-header {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  row-gap: 30px;
}

/* Header Titles ----------------------------- */
.header-titles-wrapper {
  align-items: center;
  display: flex;
  justify-content: center;
  padding: 0 4rem;
  text-align: center;
}
body:not(.enable-search-modal) .header-titles-wrapper {
  justify-content: flex-start;
  padding-left: 0;
  text-align: left;
}
.site-title,
.site-logo,
.site-description {
  margin: 0;
}
.site-title {
  font-size: 2.1rem;
  font-weight: 600;
  line-height: 1;
}
.site-title a {
  color: inherit;
  display: block;
  text-decoration: none;
}
.site-title a:hover,
.site-title a:focus {
  text-decoration: underline;
}
.site-description {
  margin-top: 1rem;
  color: #F6F6F6;
  font-size: 1.8rem;
  font-weight: 500;
  display: none;
  letter-spacing: -0.0311em;
  transition: all 0.15s linear;
}
.site-logo a,
.site-logo img {
  display: block;
}
.header-titles .site-logo .site-logo {
  margin: 0;
}
.site-logo img {
  max-height: 6rem;
  margin: 0 auto;
  width: auto;
}
body:not(.enable-search-modal) .site-logo img {
  margin: 0;
}

/* Overlay Header ---------------------------- */
.overlay-header #site-header {
  background: transparent;
  margin: 0;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  z-index: 2;
}
.overlay-header .header-inner {
  color: #fff;
}
.overlay-header .site-description,
.overlay-header .toggle {
  color: inherit;
}
.overlay-header .header-inner .toggle-wrapper::before {
  background-color: currentColor;
  opacity: 0.25;
}
.admin-bar.overlay-header #site-header {
  top: 32px;
}

/* Header Navigation ------------------------- */
.header-navigation-wrapper {
  display: none;
}

/* Header Toggles ---------------------------- */
.header-toggles {
  display: none;
}
.header-inner .toggle {
  align-items: center;
  display: flex;
  overflow: visible;
  padding: 0 2rem;
}
.header-inner .toggle svg {
  display: block;
  position: relative;
  z-index: 1;
}
.header-inner .toggle path {
  fill: currentColor;
}
.toggle-inner {
  display: flex;
  justify-content: center;
  height: 2.3rem;
  position: relative;
}
.toggle-icon {
  display: block;
  overflow: hidden;
}
.toggle-inner .toggle-text {
  color: #F6F6F6;
  font-size: 1rem;
  font-weight: 600;
  position: absolute;
  top: calc(100% + 0.5rem);
  width: auto;
  white-space: nowrap;
  word-break: break-all;
}
.overlay-header .toggle-text {
  color: inherit;
}
.header-inner .toggle:focus .toggle-text,
.header-inner .toggle:hover .toggle-text {
  text-decoration: underline;
}
/*--------------------------------------------------------------
# Footer 
--------------------------------------------------------------*/
footer > .wp-block-group:last-child .wp-block-site-logo{
  background: #fff;
  border-radius: 10px;
}
/*--------------------------------------------------------------
# Grids 
--------------------------------------------------------------*/
/** Définition du conteneur de grilles
* --------------------------------------------- */
.innerWide {
  max-width: 90vw;
}
.flexGrid {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: center;
}
.flexGrid > * {
  flex: 100%;
}
.stdGrid {
  display: grid;
  grid-gap: 20px;
}

/*--------------------------------------------------------------
# Fil d'ariane
--------------------------------------------------------------*/
#nav-breadcrumbs {
  margin: 0 auto;
}

#breadcrumbs {
  display: inline-block;
  margin: 10px 0;
  padding: 0;
}
#breadcrumbs > * {
  display: inline;
  margin: 5px 6px 5px 0;
  padding: 0;
  color: #000;
}
#breadcrumbs > *:last-child:after {
  display: none;
}
#breadcrumbs > * > a {
  padding: 0;
  color: #000;
  cursor: pointer;
}
#breadcrumbs > * > a:hover, #breadcrumbs > * > a:focus {
  color: #000;
}
#breadcrumbs > * > span {
  padding: 10px 10px 0 0;
  color: #000;
}

/*--------------------------------------------------------------
# Buttons
--------------------------------------------------------------*/
.wp-block-button__link {
  padding: 10px 20px;
  display: flex;
  justify-content: center;
  flex-flow: column;
  transition: all .3s!important;
}
main .wp-block-button__link {
	border-radius: 15px;
	font-size: 14px;
	padding: 14px 25px;
}
main .wp-block-button__link.has-background:hover,
main .wp-block-button__link.has-secondary-background-color:hover{
  background-color: var(--wp--preset--color--base)!important;
  border-color: var(--wp--preset--color--secondary)!important;
  color: var(--wp--preset--color--secondary)!important;
}
.wp-block-button__link.has-base-background-color:hover{
  background-color: var(--wp--preset--color--secondary)!important;
  color: #fff!important;
}
.wp-block-button.is-style-outline .wp-block-button__link:hover{
  background-color: var(--wp--preset--color--primary);
  border-color: var(--wp--preset--color--primary);
  color: #fff;
}
/*--------------------------------------------------------------
# pagination
--------------------------------------------------------------*/
#listPagination {
  text-align: center;
  padding-top: 40px;
  padding-bottom: 40px;
}
#listPagination .page-numbers {
  display: inline-block;
  vertical-align: top;
  width: 40px;
  height: 40px;
  line-height: 38px;
  color: #FFF;
  background: #00968c;
  border: 2px solid #00968c;
  overflow: hidden;
  text-decoration: none;
}
#listPagination .page-numbers:hover, #listPagination .page-numbers:focus {
  text-decoration: none;
  background-color: #00968c;
  color: #FFF;
}
#listPagination .page-numbers.current {
  color: #00968c;
  border-color: #00968c;
  background: #FFF;
}
#listPagination .page-numbers.next {
  text-indent: -F6F6F6px;
}
#listPagination .page-numbers.next:before {
  content: ">";
  display: block;
  text-indent: 0;
  font-size: 1.4rem;
  position: relative;
  top: -1px;
  left: 1px;
}
#listPagination .page-numbers.prev:before {
  content: "<";
  display: block;
  text-indent: 0;
  font-size: 1.4rem;
  position: relative;
  top: -1px;
  right: 1px;
}

/* Navigation entre posts
-----------------------------------------------------------------*/
.nav-links {
  grid-template-columns: initial;
  display: block;
  max-width: 610px;
  padding: 0 2.2rem;
  margin: 0 auto;
}
.nav-links .nav-previous {
  grid-area: 1/1;
}
.nav-links .nav-next {
  grid-area: 1/3;
}
.nav-links a {
  text-decoration: none;
}
.nav-links a .wp-block-button__link {
  padding: 1.3em 0.333em;
}

/*--------------------------------------------------------------
# page 404
--------------------------------------------------------------*/
.error404 #primary {
  padding: 120px 0;
}

/*--------------------------------------------------------------
# template de page archive
--------------------------------------------------------------*/
.categories-list {
  display: flex;
  border-top: 1px solid #F6F6F6;
  border-bottom: 1px solid #F6F6F6;
  padding: 15px 2.2rem;
}
.categories-list span {
  margin-right: 10px;
}
.categories-list ul {
  display: flex;
}
.categories-list .cat-item {
  margin: 0 15px;
}
.categories-list .current-cat {
  font-weight: bold;
}
.display-img {
  margin: 1rem 0;
  padding: 0 2.2rem;
}
.display-img .toggle {
  position: relative;
  width: 38px;
  height: 18px;
  border-radius: 9px;
  transition: background 0.2s ease;
  border: 1px solid #00968c;
  margin-left: 12px;
  display: inline-block;
  top: 5px;
  cursor: pointer;
}
.display-img .toggle:after {
  content: "";
  display: block;
  position: absolute;
  top: 2px;
  left: 3px;
  height: 12px;
  width: 12px;
  border-radius: 50%;
  background: #f8f8f4;
  transition: all 0.2s ease;
  border: 1px solid #00968c;
}
.display-img .toggle.active {
  background: #00968c;
}
.display-img .toggle.active:after {
  transform: translateX(19px);
}
.articles-list {
  padding: 3rem 0 4.5rem 0;
}
.articles-list article {
  background: #cdcdcd;
}
.articles-list.show-images article img.wp-post-image {
  display: block;
}
.more-link {
  color: #000;
}
.readMore {
  display: block;
}

/*--------------------------------------------------------------
# template de page cpt
--------------------------------------------------------------*/
.global-style ul li {
  position: relative;
  padding-left: 15px;
  margin-left: 10px;
}
.global-style ul li:before {
  content: ">";
  color: #00968c;
  position: absolute;
  top: 0;
  left: 0;
}
/*--------------------------------------------------------------
# Réseau sociaux
--------------------------------------------------------------*/
.wp-block-social-link a{
  aspect-ratio: 1/1;
}
/*--------------------------------------------------------------
# template de post
--------------------------------------------------------------*/
.categorie-post {
  display: block;
  margin-bottom: 15px;
}
article .contentBlock {
  padding: 2.2rem;
}
article .wp-post-image {
  display: block;
  width: 100%;
  height: 300px;
  -o-object-fit: cover;
     object-fit: cover;
}
/*--------------------------------------------------------------
# Accueil
--------------------------------------------------------------*/
.wp-block-separator{
  border-top-width: 6px;
  max-width: 40px!important;
  margin-left: 0!important;
  width: 100%;
}
.wp-block-separator.aligncenter{
  max-width: 40px!important;
}
.wp-block-list{
  padding-left: .5rem;
}
.wp-block-list li{
  margin: .75rem 0;
}
.newsletter figure {
	top: -120px;
	position: relative;
	margin-bottom: -120px;
}
/*--------------------------------------------------------------
# Responsive
--------------------------------------------------------------*/
@media only screen and (max-width: 1500px) {
  .is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)),
  .is-layout-constrained > .alignwide,
  .alignwide{
    max-width: 90vw!important;
  }
}
@media only screen and (min-width: 1130px) {
  body {
    font-size: 1rem;
  }
}
@media only screen and (max-width: 1082px) {
  .lock-scrolling .site {
    position: fixed;
    max-width: 100%;
    width: 100%;
  }
  
  .wp-block-columns{
    flex-direction: column;
  }
  .wp-block-columns.column-reverse{
    flex-direction: column-reverse;
  }
  .entry-content > .wp-block-group{
    margin: 1rem auto!important;
    padding: 2rem 1rem!important;
  }
  .entry-content > .wp-block-group.has-background{
    padding: 4rem 1rem!important;
  }
  .entry-content > .wp-block-group.has-gradient-tertiary-gradient-background{
    margin-top: -1rem!important;
  }
  figure.alignright{
    float: none !important;
    margin: 0!important;
  }
  .entry-content > .wp-block-group.newsletter{
    margin-top: 7rem!important;
  }
  .wp-block-separator.aligncenter{
    max-width: 40px!important;
  }
}
@media (max-width: 782px) {
  .admin-bar.overlay-header #site-header {
    top: 46px;
  }
}
@media only screen and (min-width: 768px) {
  /* GLOBAL */
  section {
    padding: 3rem 0 4.5rem 0;
    width: 100%;
  }
  .col-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .flexGrid {
    flex-wrap: nowrap;
  }
  .flexGrid > * {
    flex: 50%;
    max-width: 50%;
  }
  .revGrid {
    flex-direction: row-reverse;
  }
  /** Définition des grilles
    * --------------------------------------------- */
  .grid20 {
    flex: 20%;
    max-width: 20%;
  }
  .grid25 {
    flex: 25%;
    max-width: 25%;
  }
  .grid30 {
    flex: 30%;
    max-width: 30%;
  }
  .grid33 {
    flex: 33.3333333333%;
    max-width: 33.3333333333%;
  }
  .grid40 {
    flex: 40%;
    max-width: 40%;
  }
  .grid60 {
    flex: 60%;
    max-width: 60%;
  }
  .grid66 {
    flex: 66.6666666667%;
    max-width: 66.6666666667%;
  }
  .grid75 {
    flex: 75%;
    max-width: 75%;
  }
  .grid80 {
    flex: 80%;
    max-width: 80%;
  }
  .grid100 {
    flex: 100%;
    max-width: 100%;
  }
  /** NAV **/
  .nav-links {
    grid-template-columns: repeat(3, 1fr);
    display: grid;
    max-width: 610px;
    margin: 0 auto;
    padding: 0;
  }
  /** template archive **/
  .categories-list {
    padding: 15px 0;
  }
  .display-img {
    padding: 0;
  }

  /** Derniers articles **/
  .derniers-articles .stdGrid {
    grid-gap: 20px;
  }
  .derniers-articles h2 {
    padding: 0;
  }
  .home section:first-child {
    margin-top: 0;
  }
  .home section {
    padding-bottom: 0;
  }
}
@media only screen and (max-width:600px) {
  .wp-block-media-text__media img{
    max-width: 50%;
    margin: 0 auto 1rem auto;
  }
}