/*
Theme Name: SUITE pour Chaton
Theme URI:
Author: Suite ⟡ Solutions digitales
Author URI:
Description:
Requires at least: 6.9
Tested up to: 6.9
Requires PHP: 5.7
Version:
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Template: twentytwentyfive
Text Domain: suite-pour-chaton
Tags:
*/

html body:not(.wp-admin) {
    -webkit-animation: fadeInAnimation ease 2s;
            animation: fadeInAnimation ease 2s;
    -webkit-animation-iteration-count: 1;
            animation-iteration-count: 1;
    -webkit-animation-fill-mode: forwards;
            animation-fill-mode: forwards;
}
@-webkit-keyframes fadeInAnimation {
    0% {
        opacity: 0;
        -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
    }
    100% {
        opacity: 1;
        -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
    }
}
@keyframes fadeInAnimation {
    0% {
        opacity: 0;
        -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
    }
    100% {
        opacity: 1;
        -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
    }
}

.lien-sans-soulignement a,
.lien-sans-soulignement {
  text-decoration: none;
}
.lien-sans-soulignement a:hover,
.lien-sans-soulignement:hover {
  text-decoration: underline;
}

.wp-child-theme-suite-pour-chaton summary {
	font-family: 'Roboto Serif',Verdana,serif;
	font-size: 120%;
	font-weight: 400;
  line-height: 1.75rem;
}

#accueil-banner-h2 {
	word-spacing: 4px;
}

#scrollToTop {
    /* Positioning */
    position: fixed;
    bottom: 40px;
    right: 20px;
    z-index: 99;

    /* Look & Feel */
    border: none;
    outline: none;
    background-color: #a2a2a287;
    color: #fcb900;
    cursor: pointer;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;

    /* The Fade Effect */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease, background-color 0.3s;
}
/* This class will be toggled by JS */
#scrollToTop.show {
    opacity: 1;
    visibility: visible;
}

#scrollToTop:hover {
    background-color: #555;
}

/*** Contact ***/
#formulaire-de-contact div.wpforms-container-full .wpforms-confirmation-container-full,
#formulaire-de-contact div[submit-success]>.wpforms-confirmation-container-full:not(.wpforms-redirection-message) {
  background: #656670;
  border: none;
  padding: 15px 30px;
}
#formulaire-de-contact div.wpforms-container-full .wpforms-confirmation-container-full,
#formulaire-de-contact div[submit-success]>.wpforms-confirmation-container-full:not(.wpforms-redirection-message),
#formulaire-de-contact div.wpforms-container-full .wpforms-confirmation-container-full p,
#formulaire-de-contact div[submit-success]>.wpforms-confirmation-container-full:not(.wpforms-redirection-message) p {
  color: #ffffff;
}

/* Secure phone shortcode CSS */
#numero-de-telephone {
	text-align: center;
}

/* Container styling */
.phone-wrapper {
  margin: 15px 0;
  display: inline-block;
}

/* Base link styling */
.phone-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: inherit;
  text-decoration: none;
  color: #fcb900;
  transition: all 0.2s ease-in-out;
}

/* Styling BEFORE click: Looks like an interactive button */
.phone-link.static-state {
  color: #fcb900;
  padding: 8px 16px;
  border-radius: 6px;
  border: 1px dashed #fcb900;
}
.phone-link.static-state:hover {
  cursor: pointer;
  text-decoration: underline;
}
#reveal-phone-btn .text {
	line-height: 1.2em;
  padding-left: 10px;
}

/* Styling AFTER click: Transitions smoothly into standard text */
.phone-link.revealed-state {
  background-color: transparent;
  padding: 0;
  border: none;
}
.phone-link.revealed-state:hover {
  color: #ffffff;
  text-decoration: underline;
}
#reveal-phone-btn img.emoji,
#infos-pratiques img.emoji {
	filter: brightness(0) invert(1);
}


/*************************************************************/
/****************** Responsive versions **********************/
/*************************************************************/

@media (min-width: 993px) {

}

@media (min-width: 1200px and max-height: 800px) {

}

@media (max-width: 599px) {

    body {
    	font-size: 1.3rem;
    }
    h3,
    h4 {
    	font-size: 130%;
    }
    h5,
    h6 {
    	font-size: 90%;
    }
    .wp-block-column p {
    	hyphens: auto;
    }

    .wp-child-theme-suite-pour-chaton .wpforms-container .wpforms-field .wpforms-field-row .wpforms-one-half,
    .wp-child-theme-suite-pour-chaton .wpforms-container .wpforms-field .wpforms-field-row .wpforms-three-sixths,
    .wp-child-theme-suite-pour-chaton .wpforms-container .wpforms-field .wpforms-field-row .wpforms-two-fourths,
    .wp-child-theme-suite-pour-chaton .wpforms-container .wpforms-one-half,
    .wp-child-theme-suite-pour-chaton .wpforms-container .wpforms-three-sixths,
    .wp-child-theme-suite-pour-chaton .wpforms-container .wpforms-two-fourths {
      width: 100%;
      padding: 0;
      margin: 0;
    }
    .wpforms-container .wpforms-field.wpforms-five-sixths, .wpforms-container .wpforms-field.wpforms-four-sixths, .wpforms-container .wpforms-field.wpforms-four-fifths, .wpforms-container .wpforms-field.wpforms-one-fifth, .wpforms-container .wpforms-field.wpforms-one-fourth, .wpforms-container .wpforms-field.wpforms-one-half, .wpforms-container .wpforms-field.wpforms-one-sixth, .wpforms-container .wpforms-field.wpforms-one-third, .wpforms-container .wpforms-field.wpforms-three-fourths, .wpforms-container .wpforms-field.wpforms-three-fifths, .wpforms-container .wpforms-field.wpforms-three-sixths, .wpforms-container .wpforms-field.wpforms-two-fourths, .wpforms-container .wpforms-field.wpforms-two-fifths, .wpforms-container .wpforms-field.wpforms-two-sixths, .wpforms-container .wpforms-field.wpforms-two-thirds {
    	float: none;
    	margin-bottom: 10px;
    }
    #scrollToTop {
    	bottom: 20px;
    }
    #accueil-a-propos-ados {
      padding: 0 !important;
    }
    .wp-block-cover__inner-container {
      padding: 0;
    }
    .wp-child-theme-suite-pour-chaton .wp-block-columns {
      gap: 10px;
      text-align: center;
    }
    .wp-block-list {
    	padding-left: 10px;
    }
    #formulaire-de-contact .wpforms-container .wpforms-form .wpforms-field-label {
      margin: 0 0 3px;
    }

}

@media (max-width: 768px) {

    .three-services-block .wp-block-group.is-vertical {
        flex-basis: 100%;
        flex-direction: row;
        gap: 5px;
        justify-content: center;
    }
    .three-services-block > .wp-block-group.wp-block-group-is-layout-flex {
        flex-wrap: wrap;
    }
    .three-services-block > .wp-block-group.wp-block-group-is-layout-flex h4 {
    	line-height: 1.5em !important;
    	font-size: 90%;
    }
    .wp-block-group.three-services-block.is-layout-flow.wp-block-group-is-layout-flow {
    	padding: 5% !important;
    }
    .wp-block-column.is-style-sticky {
    	position: initial;
    }
    .has-background div > .wp-block-group:not(#menu-pied-de-page) {
    	padding: 10px;
    }
    .has-background .wp-block-group .wp-block-columns {
    	padding: 15px 15px 30px !important;
    	gap: 1em;
    }
    .has-background .wp-block-group .wp-block-columns .wp-block-column {
    	padding: 0 !important;
    }
    .wp-block-columns {
      padding: 5px;
    }
    .wp-block-image.alignright {
    	float: none;
    	padding: 0;
    	margin: 0 25px 40px;
    }

}

@media screen and (max-width:992px) {

    .wp-child-theme-suite-pour-chaton figure.wp-block-gallery.has-nested-images {
    	gap: 20px;
    }
    .wp-block-navigation #modal-1-content li.wp-block-navigation-link {
      padding: 15px 0 0;
      font-size: 120%;
    }
    .wp-child-theme-suite-pour-chaton .wp-block-navigation .wp-block-navigation-submenu .wp-block-navigation-item:not(:last-child) {
    	margin-bottom: 20px;
    }

}

@media screen and (max-width:1199px) {

    .wp-child-theme-suite-pour-chaton .wp-block-media-text > .wp-block-media-text__content {
    	padding: 8%;
    }

}

@media screen and (max-width:1340px) {

}
