/*!
Theme Name: ckcg
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: ckcg
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

ckcg is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

.pp_expand {
    display: none !important;
}

#navbar>ul>li>a.active {
    border-bottom: 3px solid red;
}
#navbar>ul>li>a:hover {
    border-bottom: 3px solid red;
}
#navbar>ul>li>a {
    margin-bottom:4px;
    border-bottom: 3px solid white;
}
#header-desktop {
    transition: opacity 0.4s ease-in-out, transform 0.4s ease-in-out;
}
#header-desktop.scroll {
    position:fixed;
    height:71px;
    transform: translateY(-15px);
    padding-top:15px;
    margin-bottom:100px;
}
#header-desktop.scroll h1 {
    display:none;
}
#header-desktop.scroll img {
    margin-top:8px;
    height : 40px;
    max-width: 40px;
}

form {
    max-width: 500px; /* Limite la largeur du formulaire */
    padding: 20px;
    padding-top: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

form label {
    font-size: 14px;
    font-weight: bold;
    color: #333;
}

form input, form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

form input:focus, form textarea:focus {
    border-color: red;
    outline: none;
}

form button {
    padding: 12px;
    background-color: red;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s ease;
}

form button:hover {
    background-color: darkred;
}

.leaflet-map {
    position:relative;
    z-index: 0;
}
.partenaire img { 
    width: 100%;
    max-width: 200px;
    height: auto;
    object-fit: contain;
    border-radius: calc(infinity * 1px);
    box-shadow: 10px 10px 20px 0px rgba(0, 0, 0, 0.3);
    border: 2px solid white;
}
.partenaire figure {
    max-width: 200px;
    margin-right: 20px;
    margin-top: 20px;
    margin-bottom: 20px;
} 
.partenaire>div>h2 {
    font-weight: bold;
    font-size: 16px;
    text-transform: uppercase;
    color: brown;
    display: block;
    width: 100%;
    text-align: center;
}
.wp-block-embed-youtube {
    display: flex;
    justify-content: center;
    margin: 25px 0;
}

.entry-content {
    font-size: 1rem;
    line-height: 1.75;
    color: #1f2937; /* text-gray-800 */
}

.entry-content>p, .entry-content li {
    text-align: justify;
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
    font-weight: 600;
    color: #111827; /* text-gray-900 */
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.entry-content h1 { font-size: 2.25rem; }  /* text-4xl */
.entry-content h2 { font-size: 1.875rem; } /* text-3xl */
.entry-content h3 { font-size: 1.5rem; }   /* text-2xl */
.entry-content h4 { font-size: 1.25rem; }  /* text-xl */
.entry-content h5 { font-size: 1.125rem; } /* text-lg */
.entry-content h6 { font-size: 1rem; }     /* text-base */

.entry-content p {
    margin-bottom: 1rem;
}

.entry-content a {
    color: #2563eb; /* text-blue-600 */
    text-decoration: underline;
}

.entry-content ul {
    list-style-type: square;
    padding-left: 2rem;
    margin-bottom: 1rem;
}

.entry-content ol {
    list-style-type: decimal;
    padding-left: 2rem;
    margin-bottom: 0.5rem;
}

.entry-content li {
    margin: 0.1rem 0;
}

.entry-content blockquote {
    border-left: 4px solid #d1d5db; /* border-gray-300 */
    padding-left: 1rem;
    font-style: italic;
    color: #4b5563; /* text-gray-600 */
    margin-bottom: 1rem;
}

.entry-content img {
    margin: 1rem 0;
    max-width: 100%;
    height: auto;
}

.entry-content figure {
    margin: 1.5rem 0;
}

.entry-content figcaption {
    font-size: 0.875rem;
    text-align: center;
    color: #6b7280; /* text-gray-500 */
    margin-top: 0.5rem;
}

.entry-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
}

.entry-content th {
    border: 1px solid #d1d5db;
    padding: 0.5rem 1rem;
    text-align: left;
    font-weight: 600;
    background-color: #f3f4f6; /* bg-gray-100 */
}

.entry-content td {
    border: 1px solid #d1d5db;
    padding: 0.5rem 1rem;
}

.entry-content hr {
    margin: 40px auto;
    width: 80%;
    border: 1px solid rgb(167, 167, 167);
}

.entry-content pre {
    background-color: #f3f4f6; /* bg-gray-100 */
    font-size: 0.875rem;
    padding: 1rem;
    border-radius: 0.5rem;
    overflow-x: auto;
    margin: 1rem 0;
}

.entry-content code {
    background-color: #f3f4f6;
    padding: 0.125rem 0.25rem;
    border-radius: 0.25rem;
    font-size: 0.875rem;
    font-family: monospace;
}

.entry-content iframe {
    margin: 1rem 0;
}
.entry-content .size-full {
    width: auto !important;
    height: auto !important;
}
