body {
    line-height: 1.2;
}
main {
    line-height: 1.4; min-height: 60vh;
}

.logo-container {
    position: relative;
}
.logo {
    position: absolute; top: -35px; left: 0; z-index: 1000; padding: 30px 25px 35px 15px;
    background-color: #fff; border-radius: 0 0 30px 30px; width: 303px; height: auto; text-align: center;
}
.logo img {
    width: 263px; height: 150px; margin: 0 auto;
}
.navtop a {
    color: #fff; font-size: 17px; text-decoration: none; display: inline-block; 
    padding: 5px 15px; text-align: center;
}
.navtop a:hover {
    color: #395988;
}

.wp-block-button__link {
    border: 1px solid #fff; padding: 5px 35px; border-radius: 10px;
}
.wp-block-button__link:hover, .wp-block-button__link.has-base-background-color:hover {
    background-color: #cfd4da !important; color: #395988 !important;
}

@media (max-width: 910px) {
    .navtop {
        visibility: hidden !important;
    }
    .boutons-top {
        display: none !important;
    }
    .header-spacing-logo {
        height: 130px !important;
    }
}



/* Page index des articles (articles et nouvelles) */
.wp-block-latest-posts__list .wp-block-latest-posts__featured-image, .wp-block-post-featured-image {
    position: relative; padding-bottom: calc(66%); overflow: hidden; margin-bottom: 15px;
}
.wp-block-latest-posts__list .wp-block-latest-posts__featured-image img,
.wp-block-post-featured-image img {
    transition: all 500ms ease-out; transform-origin: center center; height: 100%; width: 100%;
    left: 0; position: absolute; top: 0; object-fit: cover; object-position: center center;
}
.wp-block-latest-posts__post-title {
    text-decoration: none; line-height: 1.2 !important;
}
.wp-block-latest-posts__list .wp-block-latest-posts__post-date {
    margin-top: 5px;
}

.wp-block-categories-dropdown select {
    font-size: 16px; padding: 10px 15px;
}


/* Single post */
.single-post .wp-block-post-featured-image {
    padding-bottom: 0;
}
.single-post .wp-block-post-featured-image img {
    position: relative; top: auto; left: auto; aspect-ratio: 100 / 70 !important;
}



/* Utiles */
.text-decoration-none, .text-decoration-none a {
    text-decoration: none !important;
}
.min-width-200px {
    min-width: 200px;
}

/* Sharing Toolbar */
#sharing-toolbar {
    display: flex; flex-direction: row; align-items: center; justify-content: flex-start;
    flex-wrap: wrap;
}
#sharing-toolbar .sharing-toolbar-titre {
    font-size: 15px; padding:0 10px 5px 0;
}
#sharing-toolbar .a2a_kit {
    gap: 5px;  display: flex;  flex-wrap: wrap;
    flex-direction: row; align-content: center; justify-content: flex-start;
    /* position: fixed; top: 40vh; right:0; flex-direction: column; padding: 5px;
    align-content: center; justify-content: flex-start; background-color: #b7c6db; */
}
/*#sharing-toolbar .a2a_kit:hover {
    background-color: #9eb2ce;
}*/
#sharing-toolbar span {
    background-color: #395988 !important;
}
