@charset "UTF-8";
/*
Theme Name: Allegro-Furioso
Theme URI: https://www.gregoirenoyelle.com/
Author: Grégoire Noyelle
Author URI: https://www.gregoirenoyelle.com/
Description: Starter theme Treow.
Requires at least: 6.7
Tested up to: 6.8
Requires PHP: 5.7
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: allegrofurioso
Tags: 
*/

/**
* Base
*/

/* Smooth scroll */
html {
	scroll-behavior: smooth;
}

/* Class for accessibility */
.sr-only {
    border: 0 !important;
    clip: rect(1px, 1px, 1px, 1px) !important;
    -webkit-clip-path: inset(50%) !important;
    clip-path: inset(50%) !important;   
    height: 1px !important;
    overflow: hidden !important;
    margin: -1px !important;
    padding: 0 !important;
    position: absolute !important;
    width: 1px !important;
    white-space: nowrap !important;
}
.hidden {
    visibility: hidden;
    opacity: 0;
    width: 0;
    height: 0;    
}
.none {
    display: none !important;
}
.tw-phone {
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    overflow: visible !important;
    margin: auto;
    padding: 0;
    position: static !important;
}
.tw-computer {
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
    margin: 0;
    padding: 0;
    position: absolute !important;
}
/**
 * Content
 */

/* Links */
a,
input,
.wp-block-navigation-item {
    transition: var(--wp--custom--transition--link);
}
.no-underline {
    text-decoration: none;
}

/* Images */
.wp-block-post-featured-image a,
.tw-zoom-rotation a {
    display: block;
    overflow: hidden;
}
.wp-block-post-featured-image a img.wp-post-image,
.tw-zoom-rotation a img {
    transition: var(--wp--custom--transition--zoom);
}
.wp-block-post-featured-image a:hover img.wp-post-image,
.tw-zoom-rotation a:hover img {
    transform: var(--wp--custom--zoom--medium) rotate(2deg);
}

/* Background */
.back-repeat-x {
	background-repeat: repeat-x !important;
}

/* Effects */
.tw-zoom-simple {
    transition: var(--wp--custom--transition--zoom);
}
.tw-zoom-simple:hover {
    transform: var(--wp--custom--zoom--medium);
}

/* Single */
.tw-single-content {
    box-shadow: var(--wp--preset--shadow--petite);
}

/* Archives */
.tw-grid-article-archive .wp-block-post {
    background: var(--wp--preset--color--tw-light);
    box-shadow: var(--wp--preset--shadow--petite);
}

/* Icons */
.tw-icone-pseudo.icone-before > *::before,
.tw-icone-pseudo.icone-after > *::after {
    font-family: "Icones Font";
    display: inline-block;
    vertical-align: middle;
    line-height: 1;
}
.tw-icone-pseudo.icone-before > *::before {
    margin-right: 4px;
}
.tw-icone-pseudo.icone-before > *::after {
    margin-left: var(--wp--preset--spacing--tw-extra-small);
}
.tw-icone-pseudo.icone-before.categorie-article > a::before {
    content: "\ea24";
}
.tw-icone-pseudo.icone-before.date-publication > time::before {
    content: "\ea25";
}
/* Footer */
footer.wp-block-template-part {
    margin-block-start: 0;
}
.tw-footer-wrapper a {
    text-decoration: none;
}
.tw-footer-wrapper a:hover,
.tw-footer-wrapper .wp-block-navigation-item__content:hover {
    color: var(--wp--preset--color--tw-primary-2);
}
.tw-footer-wrapper .wp-block-button a:hover {
    color: inherit;
}
/* Search field */
.wp-block-search__inside-wrapper {
    flex-wrap: wrap;
    gap: 10px
}
.wp-block-search__button {
    flex-grow: 1;
    margin: 0;
}

/* Media Queries */
@media (min-width: 435px) {
    .wp-block-search__button {
        flex-grow: 0;
    }
}
@media (min-width: 769px) {
    .tw-phone {
        visibility: hidden !important;
        opacity: 0 !important;
        height: 0 !important;
        overflow: hidden !important;
        margin: 0;
        padding: 0;
        position: absolute !important;
    }
    .tw-computer {
        visibility: visible !important;
        opacity: 1 !important;
        height: auto !important;
        overflow: visible !important;
        margin: auto;
        padding: 0;
        position: static !important;
    }
}
