/*
Theme Name: Theme Enfant CHAUFFCLIM
Description: Theme enfant de twentytwenty
Author: Alexandre Chauvin - AC Développement
Author URI: https://www.alexandrechauvin.fr
Template: twentytwenty
Version: 0.1.0
*/

:root {
  --darkblue : #0d1a6e;
  --liblue : #167edf;
  --red : #d3091f;
  --grey : #F2F2F2;
}

@font-face {
	font-family: "Inter var";
	font-weight: regular bold; /* stylelint-disable-line font-weight-notation */
	font-style: italic;
	font-display: swap;
	src: url(./assets/fonts/caviar) format("ttf");
}

a, .footer-widgets a {
	color: var(--red);
	text-decoration: underline;
}

a:hover,
a:focus {
	text-decoration: none;
}

h1, h2, h3, h5, h6 {
  font-family: "Caviar Dreams", arial, sans-serif;
  font-weight: normal;
  color: var(--darkblue);
}
h1::first-letter, h2::first-letter, h3::first-letter, h5::first-letter, h6::first-letter {
  font-family: "Caviar Dreams", arial, sans-serif;
  font-weight: normal;
  color: var(--red);
}
body {
	box-sizing: border-box;
	color: #706F6F;
	font-family: -apple-system, Arial, sans-serif;
	font-size: 1rem;
	text-align: left;
}
.text-custom-block h1, .text-custom-block h2, .text-custom-block h3, .text-custom-block h4, .text-custom-block h5, .text-custom-block h6 {
  font-family: serif;
  font-weight: 200;
}
.text-custom-block1 h1, .text-custom-block1 h2, .text-custom-block1 h3, .text-custom-block1 h4, .text-custom-block1 h5, .text-custom-block1 h6 {
  font-weight: 300!important;
}
.form-submit input {
  font-family: "Roboto", sans-serif;
  font-weight: 500;
  color: #fff!important;
  background-color: var(--darkblue)!important;
  font-size: 1.2rem;
  padding: 15px 30px;
  margin: 0 auto;
  text-transform: none;
  transition: 0.5s;
}
.form-submit input:hover {
  font-size: 1.4rem;
}

/*===== mise en forme et animation du preloader =====*/
@keyframes horaire {
  0% {
    transform: rotate(0deg)
  }

  100% {
    transform: rotate(360deg)
  }
}
@keyframes anti-horaire {
    0% {
      transform: rotate(360deg)
    }

    100% {
      transform: rotate(0deg)
    }
  }
.preloader-container {
  height: 100%;
  width: 100%;
  background-color: #FFF;
  position: fixed;
  z-index: 1000000;
}
.container {
  position: absolute;
  left: 50%;
  height: 100%;
  background-color: #fff;
}
.C1 {
  position: absolute;
  top: calc(50% - 20px);
  left: calc(50% - 20px);
  animation: horaire 0.5s infinite;
  width: 30px;
  height: 40px;
  border: solid var(--red) 4px;
  border-right: 0px;
  border-top-left-radius: 80px;
  border-bottom-left-radius: 80px;
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
  z-index: 10;
}
.C2 {
  position: absolute;
  top: calc(50% - 10px);
  left: calc(50% - 10px);
  animation: anti-horaire 0.5s infinite;
  width: 15px;
  height: 20px;
  border: solid var(--darkblue) 4px;
  border-left: 0px;
  border-top-right-radius: 80px;
  border-bottom-right-radius: 80px;
  border-top-left-radius: 20px;
  border-bottom-left-radius: 20px;
  z-index: 11;
  margin: 0 5px;
}

/*====== Home page and nav/footer CSS ======*/
.cc-header-inner {
  max-width: 1200px;
  padding: 0;
  display: block;
}
.header-navigation-wrapper {
}
.cc-menu {
  display: flex;
  font-size: 2rem;
  font-family: inherit;
  height: 100%;
}
.cc-menu-wrapper {
  height: 100%;
  margin: 5px auto 0;
  border-top: solid 1px var(--grey);
}
.cc-menu > li {
  padding: 7px 5px;
  height: 100%;
  text-align: center;
}
.cc-menu > li:first-child > a {
  color: var(--red);
}
.cc-menu > li > a {
  text-decoration: none;
  color: var(--darkblue);
  padding: 30px 7px;
  word-break: keep-all;
}
.cc-menu > li:hover, .current-menu-item {
  background-color: var(--grey);
}
.cc-menu .sub-menu {
  display: none;
  position: absolute;
  background-color: #fefefe;
  min-width: 160px;
  margin-top: 20px;
  z-index: 1;
  margin-top: 15px;
  color: #000;
}
.cc-menu .sub-menu li {
  text-decoration: none;
  padding: 5px 15px;
}
.cc-menu .sub-menu li:hover {
  background-color: rgb(221, 221, 221);
}
.sub-menu a {
  text-decoration: none;
  color: #000;
}
.menu-item-has-children:hover .sub-menu {
  display: block;
}
#scroll-resize {
  max-width: 180px;
  transition: 0.5s;
  margin: 0 auto;
}
.custom-toggle-icon {
  width: 25px;
}
.nav-toggle .toggle-icon, .nav-toggle svg {
    width: 4rem;
    height: 3rem;
    margin: 0 auto;
}
.toggle-text {
  display: block;
  text-align: center;
}
.widget_text p, .widget_text ol, .widget_text ul, .widget_text dl, .widget_text dt, .widget-content .rssSummary {
    font-family: inherit;
    letter-spacing: normal;
}
.footer-nav-widgets-wrapper, #site-footer {
  background-color: var(--grey)!important;
}
.footer-nav-widgets-wrapper a {
  color: var(--darkblue)!important;
}
.footer-inner {
  margin: 2rem auto 0;
  padding-bottom: 20px;
}
.footer-nav-widgets-wrapper {
  margin-top: 3rem;
}
.footer-inner p {
  font-size: 1.5rem;
}
.footer-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

/*===== tpl modification "Full Width Template" =====*/
body.template-full-width .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.is-style-wide), body.template-full-width [class*="__inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.is-style-wide) {
    max-width: 100%;
}
.entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.is-style-wide) {
    max-width: 100%;
    width: 100%;
}
.post-inner {
  padding: 0;
}
.entry-content p, .entry-content ol, .entry-content ul, .entry-content dl, .entry-content dt {
  font-family: inherit;
  font-size: 1.5rem;
}
.home-contact-section p {
  font-size: 2rem;
}
#site-header {
  position: fixed;
  width: 100%;
  z-index: 10;
}
#site-footer {
    font-size: inherit;
}
.footer-top, .footer-widgets-outer-wrapper, #site-footer {
    padding: 1rem 0;
}
.footer-top-visible .footer-nav-widgets-wrapper, .footer-top-hidden #site-footer {
    margin-top: 0rem;
}
.footer1-creprom p {
  font-family: Roboto, sans-serif;
  font-size: 1.6rem;
}
.footer1-creprom {
  margin-bottom: 2rem;
  text-align: justify;
}
.footer-copyright {
  padding: 5px 0;
}

/*====== Framacarte plugin CSS ======*/
#f-- {
  overflow: hidden;
}

/*====== Formcraft plugin CSS ======*/
.formcraft-css input[type=checkbox]:checked:before, .formcraft-css input[type=radio]:checked:before {
    display: none;
}

/*====== Cookies plugin CSS ======*/
#cookie-notice {
  width: 40%;
  min-width: 500px;
  background-color: #fff!important;
}
.cookie-notice-container {
  padding: 60px 20px;
  box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.27);
}
#cn-notice-text {
  font-size: 1.7rem;
  line-height: 1.5;
  color: #2D2D2D;
}
#cn-notice-buttons {
  display: block;
  margin-top: 20px;
}

/*====== contact page CSS ======*/
html .formcraft-css .fc-form.align-left {
  margin: 0 auto;
}
.powered-by {
  display: none;
}
.comment-footer-meta {
  display: none;
}
.comment-author {
  font-size: 1.5rem;
}
.comment-meta .avatar {
  width: 4rem;
  height: 4rem;
}
.comment {
  border-width: 1px 0 0;
  border-style: solid;
  border-color: #f2f2f2;
  padding: 0!important;
  margin: 20px 0;
}
.comment:last-child {
  border-width: 1px 0;
}
.page-id-259 {
  background-image: url(/wp-content/uploads/2020/03/background1.png);
  background-color: #f2f2f2 !important;
}
.page-id-259 .comments-wrapper{
  background-color: #fff;
  box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.5);
  padding: 20px;
  margin: 0 auto 20px auto;
  z-index: 2;
  width: 100%;
}
.comments-pagination a {
  font-size: 1.5rem;
  color: var(--darkblue);
}

/*====== page 404 CSS ======*/
.error404-content {
  margin-top: 200px;
}
.error-homebtn {
  margin: 20px auto;
  padding: 10px 20px;
  background-color: var(--darkblue) !important;
}


/*===== RESPONSIVE =====*/
@media (min-width: 700px) {
  body.template-full-width .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.is-style-wide) {
      width: 100%;
  }
  .post-inner {
      padding-top: 0;
  }
  .entry-content {
    font-size: 1rem;
  }
  #site-footer {
    font-size: 13px;
    padding: 0;
  }
  .footer-widgets-outer-wrapper {
    padding: 0;
  }
  .footer-top {
    padding: 1rem;
  }
  .footer-top-visible .footer-nav-widgets-wrapper, .footer-top-hidden #site-footer {
    margin-top: 0rem;
  }
  .plus-info-mobile {
    -webkit-box-pack: end;
    justify-content: flex-end;
  }
}
/*=====  Espace commentaire  ======*/
.custom-reply-title {
  text-align: center;
  font-weight: 100;
}
.comment-form-url {
  display: none;
}
.comment-form-cookies-consent {
  display: block;
}
#commentform {
  margin-top: 40px;
}
.comments-wrapper {
  margin-top: 2rem;
}

/*=====  RESPONSIVE  ======*/
@media screen and (max-width: 1000px) and (min-width: 700px) {

}
@media (max-width: 1000px) {
  #site-header {
    height: 80px;
  }
  .header-titles-wrapper {
    width: 100% !important;
  }
  .header-titles {
    margin: 12px 0;
  }
  .mobile-menu li a {
    color: #000 ;
  }
  .mobile-menu > ul > li:first-child {
    background-color: var(--orange);
  }
  .mobile-menu > ul > li:nth-child(2) {
    background-color: var(--blue1);
  }
  .mobile-menu > ul > li:nth-child(3) {
    background-color: var(--blue2);
  }
  .mobile-menu > ul > li:nth-child(4) {
    background-color: var(--blue3);
  }
  .mobile-menu > ul > li:nth-child(5) {
    background-color: var(--blu4);
  }
  .mobile-menu > ul > li:nth-child(6) {
    background-color: var(--blue5);
  }
  .mobile-menu > ul > li:last-child {
    background-color: var(--blue6);
  }
  .preloader-container {
    display: none;
  }
}
@media (max-width: 700px) {
  #cookie-notice {
    width: 100%;
    min-width: 100%;
  }
  .footer-container {
    grid-template-columns: 1fr;
  }
  .site-logo img {
    margin: 10px auto!important;
  }
}
