/* Skip Links Menu */
.skip-link,
.skip-link ul {
  margin: 0;
  padding: 0 !important;
}

.skip-link li {
  list-style-type: none;
}

nav .skip-link-child {
  position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1;
	overflow: hidden;
	clip: rect(0,0,0,0);
	white-space: nowrap;
	border: 0;
}

nav .skip-link-child:active,
nav .skip-link-child:focus {
	position: static;
	width: auto;
	height: auto;
	overflow: visible;
	clip: auto;
	white-space: normal;
  padding-left: 23px;
}

/* -------------------------------------------- */

/* Link */
a:focus, button:focus {
  outline: 2px solid #233c7f !important;
  outline-offset: 2px !important;
}

/* -------------------------------------------- */

/* Astra - Liens menu */
.main-header-menu li:hover > a,
.main-header-menu li:hover > .ast-menu-toggle,
.main-header-menu .ast-masthead-custom-menu-items a:hover,
.main-header-menu li.focus > a,
.main-header-menu li.focus > .ast-menu-toggle,
.main-header-menu .current-menu-item > a,
.main-header-menu .current-menu-ancestor > a,
.main-header-menu .current_page_item > a,
.main-header-menu .current-menu-item > .ast-menu-toggle,
.main-header-menu .current-menu-ancestor > .ast-menu-toggle,
.main-header-menu .current_page_item > .ast-menu-toggle {
 text-decoration: underline;
}

.ast-search-icon .astra-search-icon {
    font-size: 1.5rem;
}

.ast-search-menu-icon.ast-dropdown-active .search-field {
  width: 235px !important;
}

/* Maj Builder */
.main-header-bar {
  z-index: 0;
}

/* Maj Builder */
/* Astra - Pied de page */
#colophon .footer-widget-area-inner {
  text-align: left !important;
}

/* -------------------------------------------- */

/* Bloc Gutenberg - Article mis en avant */
ul.wp-block-post-template li {
  margin-bottom: 15px !important;
}

/* -------------------------------------------- */

/* Plugin CC Child Pages styles file cc-child-pages/includes/css/style.css */
.ccchildpages {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  margin: 0 !important;
  padding: 0 !important;
  clear: both;
  display: block;
  width: 100%;
}
.cc-meta-info {
	font-size: 70%;
}
/* a.ccpage_title_link {
  text-decoration: inherit !important;
  color: inherit !important;
} */
a.ccpage_linked_thumb img {
  border: inherit;
}
.ccchildpage {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  margin: 1em 1%;
  padding: 0.75em 2%;
  display: block;
  float: left;
}
/* .ccpages_excerpt,
.ccpages_more {
  font-size: 85%;
} */
.ccpages_excerpt {
  display: block;
  margin: 0;
  padding: 0;
}
.ccfirst {
  clear: both;
}
.cclast {
  margin: 1em 1% 1em 0;
  float: right;
}
.onecol .ccchildpage {
  width: 98%;
}
.twocol .ccchildpage {
  width: 48%;
}
.threecol .ccchildpage {
  width: 31.333%;
}
.fourcol .ccchildpage {
  width: 23%;
}

/*
 * Sub-pages ...
 */
.ccsubpages {
	margin-top: 1em;
}
.ccsubpages ul {
	list-style: none;
}

/*
 * Navigation links
 */
.ccpages_nav {
	display: block;
	clear: both;
	text-align: center;
}
/*
 * End of Navigation links
 */

/*
 * Thumbnails ...
 */
.cc-child-pages-thumb {
  width: 100%;
  height: 25vh;
  object-fit: cover;
  display: block;
  margin: 10px auto;
  clear: both;
  transition-property: transform, filter, -webkit-filter;
  transition-duration: .3s, .3s, .3s;
  transition-delay: 0s, 0s, 0s;
}

.cc-child-pages-thumb:hover,
.cc-child-pages-thumb:focus {
  -webkit-transform: scale(1.1);
  -moz-transform: scale(1.1);
  -ms-transform: scale(1.1);
  -o-transform: scale(1.1);
  transform: scale(1.1);
}

/*
 * End of Thumbnails
 */
/*
 * Rules for nested lists ..
 */
.twocol ul.ccchildpages_list li ul,
.threecol ul.ccchildpages_list li ul,
.fourcol ul.ccchildpages_list li ul {
  margin-left: 0.5em;
  padding-left: 0.5em;
}
.twocol ul.ccchildpages_list li ul li,
.threecol ul.ccchildpages_list li ul li,
.fourcol ul.ccchildpages_list li ul li {
  display: list-item;
  width: 100%;
  float: none;
}
/*
 * Media Queries
 */
@media screen and (min-width: 861px) {
  /*
	 * List items
	 */
  .twocol ul.ccchildpages_list li,
  .threecol ul.ccchildpages_list li,
  .fourcol ul.ccchildpages_list li {
    margin-left: 0;
    margin-right: 2%;
    vertical-align: top;
  }
  .twocol ul.ccchildpages_list li {
    width: 48%;
    float: left;
  }
  .twocol ul.ccchildpages_list li:nth-child(2n+3),
  .threecol ul.ccchildpages_list li:nth-child(3n+4),
  .fourcol ul.ccchildpages_list li:nth-child(4n+5) {
    clear: both;
  }
  .threecol ul.ccchildpages_list li {
    width: 31.333%;
    float: left;
  }
  .fourcol ul.ccchildpages_list li {
    width: 23%;
    float: left;
  }
}
@media screen and (min-width: 601px) and (max-width: 860px) {
  /* Undo rules we are not interested in for lower resolutions */
  .fourcol .cclast {
    margin: 1em 1%;
    float: left;
  }
  .fourcol .ccfirst {
    clear: none;
  }
  /* Add new rules for lower resolutions */
  .fourcol .ccchildpage {
    width: 31.333%;
  }
  .fourcol .ccchildpage:nth-child(3n) {
    margin: 1em 1% 1em 0;
    float: right;
  }
  .fourcol .ccchildpage:nth-child(3n+1) {
    clear: both;
  }
  /*
	 * List items
	 */
  .twocol ul.ccchildpages_list li,
  .threecol ul.ccchildpages_list li,
  .fourcol ul.ccchildpages_list li {
    margin-left: 0;
    margin-right: 5%;
    vertical-align: top;
  }
  .twocol ul.ccchildpages_list li {
    width: 45%;
    float: left;
  }
  .twocol ul.ccchildpages_list li:nth-child(2n+3),
  .threecol ul.ccchildpages_list li:nth-child(3n+4),
  .fourcol ul.ccchildpages_list li:nth-child(3n+4) {
    clear: both;
  }
  .threecol ul.ccchildpages_list li,
  .fourcol ul.ccchildpages_list li {
    width: 28.333%;
    float: left;
  }
}
@media screen and (min-width: 441px) and (max-width: 600px) {
  /* Undo rules we are not interested in for lower resolutions */
  .threecol .cclast,
  .fourcol .cclast {
    margin: 1em 1%;
    float: left;
  }
  .threecol .ccfirst,
  .fourcol .ccfirst {
    clear: none;
  }
  /* Add new rules for lower resolutions */
  .threecol .ccchildpage,
  .fourcol .ccchildpage {
    width: 48%;
  }
  .threecol .ccchildpage:nth-child(2n),
  .fourcol .ccchildpage:nth-child(2n) {
    margin: 1em 1% 1em 0;
    float: right;
  }
  .threecol .ccchildpage:nth-child(2n+1),
  .fourcol .ccchildpage:nth-child(2n+1) {
    clear: both;
  }
  /*
	 * List items
	 */
  .twocol ul.ccchildpages_list li,
  .threecol ul.ccchildpages_list li,
  .fourcol ul.ccchildpages_list li {
    margin-left: 0;
    margin-right: 7%;
    vertical-align: top;
  }
  .twocol ul.ccchildpages_list li,
  .threecol ul.ccchildpages_list li,
  .fourcol ul.ccchildpages_list li {
    width: 43%;
    float: left;
  }
  .twocol ul.ccchildpages_list li:nth-child(2n+3),
  .threecol ul.ccchildpages_list li:nth-child(2n+3),
  .fourcol ul.ccchildpages_list li:nth-child(2n+3) {
    clear: both;
  }
}
@media screen and (max-width: 440px) {
  /* Undo rules we are not interested in for lower resolutions */
  .twocol .cclast,
  .threecol .cclast,
  .fourcol .cclast {
    margin: 1em 1%;
    float: left;
  }
  .twocol .ccfirst,
  .threecol .ccfirst,
  .fourcol .ccfirst {
    clear: none;
  }
  /* Add new rules for lower resolutions */
  .twocol .ccchildpage,
  .threecol .ccchildpage,
  .fourcol .ccchildpage {
    width: 98%;
    float: none;
  }
}
/*
 * Clearfix hack ... ccclearfix, to avoid upsetting other plugins and themes
 */
.ccclearfix:after {
  visibility: hidden;
  display: block;
  font-size: 0;
  content: " ";
  clear: both;
  height: 0;
}
.ccclearfix {
  display: inline-block;
}
/* start commented backslash hack \*/
* html .ccclearfix {
  height: 1%;
}
.ccclearfix {
  display: block;
}
/* close commented backslash hack */

/* -------------------------------------------- */

/* Plugin SiteOrigin */
.so-widget-sow-button {
  margin: 1rem 0;
}
.so-widget-sow-post-carousel .sow-carousel-wrapper .sow-carousel-items .sow-carousel-item .sow-carousel-thumbnail a:focus {
    background-size: 272px 182px;
}
.so-widget-sow-post-carousel .sow-carousel-wrapper .sow-carousel-items .sow-carousel-item .sow-carousel-thumbnail a:focus span {
    opacity: .5;
}

/* -------------------------------------------- */

/* Template Flèche up */
.astra-arrow-up {
  position: fixed;
  right: 30px;
  bottom: 30px;
  z-index: 10;
  cursor: pointer;
  transition: 0.6s ease;
  border-radius: 3px;
  color: white;
  background-color: rgba(0,0,0,0.5);
  border: 1px solid rgba(242,242,242,0.8);
  line-height: 1.85714285714286;
}

.astra-arrow-up:hover,
.astra-arrow-up:focus {
  background-color: rgba(242,242,242,0.8);
  color: rgba(0,0,0,0.8);
  border: 1px solid rgba(0,0,0,0.5);
}

.astra-arrow-up .dashicons {
  margin: 10px;
}

.astra-arrow-up .dashicons::before {
  font-size: 30px;
  position: relative;
  top: -4px;
  right: 4px;
}

.astra-arrow-up-hide {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

html {
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* -------------------------------------------- */

/* Lien agrandit */
.enlarge-link li {
  position:relative;
}
.enlarge-link li a {
  outline-width:0 !important;
}
.enlarge-link li a:before {
  bottom:0;
  content:"";
  display:block;
  height:100%;
  left:0;
  outline-color:inherit;
  outline-offset:2px;
  outline-style:inherit;
  outline-width:2px;
  position:absolute;
  right:0;
  top:0;
  width:100%;
  z-index:1
}

/* -------------------------------------------- */

/* Christelle Plessis - Agence Qokoon v1.0 - Modifications 28/09/2020 */
body {
  line-height: 1.5;
}
.padding-5 {
  padding: 1rem 5%;
}
.site .padding-5 h2 {
  margin-top: 0.5rem;
}

/******* HEADER *******/
header .site-title, header .site-title a, header .site-title a:visited, header .site-title a:focus, header .site-title a:hover {
  text-transform: initial;
}
.site-header .site-description {
  font-family: Oswald, sans-serif;
  font-weight: bold;
}

/***** Menu principal *****/
.main-header-menu > .menu-item .menu-link {
  font-family: Oswald, sans-serif;
  font-weight: 700;
  color: #423e56;
  font-size: 16px;
}
.main-header-menu > .menu-item > .menu-link {
  text-transform: uppercase;
}
.main-header-menu .menu-item.current-menu-item > .menu-link, .main-header-menu > .menu-item.current-menu-ancestor > .menu-link, .main-header-menu > .menu-item > .menu-link a:hover, .main-header-menu > .menu-item > .menu-link:focus, .main-header-menu .menu-item.current-menu-item > .menu-link {
  color: #0896bc;
  text-decoration: none;
}
.main-header-menu > .menu-item > .menu-link a:hover, .main-header-menu > .menu-item > .menu-link:focus {
  text-decoration: underline;
}

/***** ACCUEIL ******/
.display-posts-listing a.title {
  font-family: Oswald, sans-serif;
  font-size: 30px !important;
  color: #0896bc;
}
.read-more a {
  font-family: Oswald, sans-serif;
  font-size: 15px;
  color: #0896bc;
  text-transform: uppercase;
  font-weight: 700;
}

/*** Carrousel articles ***/
.sow-carousel-wrapper .sow-carousel-items .sow-carousel-item h3 a {
  font-family: Oswald, sans-serif;
  font-size: 17px;
  color: #0896bc !important;
  text-transform: initial;
}

#twitter-widget-0 {
  max-height: 400px;
}

/***** CONTENU PRINCIPAL - PAGE *****/
.ast-separate-container #primary, .ast-separate-container.ast-left-sidebar #primary, .ast-separate-container.ast-right-sidebar #primary {
  margin-top: 2rem;
}
.ast-separate-container .ast-article-post, .ast-separate-container .ast-article-single {
  padding: 0 2rem 0 0;
}

/*** Titres ***/
.ast-separate-container #primary h1 {
  color: #086cca;
  font-weight: 700;
  font-size: 38px;
}
.entry-content h1, .entry-content h2, .entry-content h3, .entry-content h4, .entry-content h5, .entry-content h6 {
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

/****** Sidebar ******/
.ast-separate-container.ast-two-container.ast-right-sidebar #secondary {
  border-left: 5px solid #efefef;
}
.ast-separate-container.ast-two-container #secondary .widget {
  padding: 0;
}
.ast-separate-container.ast-two-container #secondary .widget h2 {
  color: #423e56;
  font-size: 20px;
  text-transform: uppercase;
  font-weight: 700;
}
.ast-separate-container.ast-two-container #secondary .widget h2:after/*, .ast-separate-container.ast-two-container #secondary .widget h3:after */ {
  display: block;
  content: '';
  background-color: #08398A;
  width: 20%;
  height: 5px;
  margin-top: 0rem;
  margin-bottom: 1rem;
}
.ast-separate-container.ast-two-container #secondary .widget h3/*** h4 -> h3 ***/ {
  margin-top: 0;
}
.ast-separate-container.ast-two-container #secondary .widget p {
  line-height: 1.2;
  font-size: 15px;
}
.so-widget-sow-features .sow-features-list .sow-features-feature {
  margin-bottom: 1rem;
}
.telechargement_widget_body h3 {
  font-size: 20px !important;
}
