/*
 Theme Name:   Twenty Twenty Child
 Theme URI:    http://example.com/twenty-twenty-child/
 Description:  Twenty Twenty Child Theme
 Author:       Jakub Trojanowski
 Author URI:   http://trojanowski.net
 Template:     twentytwenty
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
 Text Domain:  twentytwentychild
*/

@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;900&family=Oswald:wght@700&display=swap');

body {
    background-color: #a8b4bf;
    background-image: url("https://rdv.bmpm13.fr/wp-content/uploads/2021/12/2021_MBMP_288_A_001_005.jpg");
    background-position: center top;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

#site-header {
    /*background-color: #fff;*/
    background: rgba(168, 180, 191, 0.95);
    background: linear-gradient(90deg, rgb(255, 255, 255) 25%, rgba(168, 180, 191, 0.95) 100%);
    padding-top: 0.5rem;
    position: fixed;
    width: 100%;
    z-index: 1001;
    overflow: hidden;
    font-family: 'Lato', sans-serif !important;
    font-weight: 400 !important;
    box-shadow: 5px 4px 10px rgba(0, 0, 0, 0.15);
    height: 120px;
}

.header-navigation-wrapper {
    background: linear-gradient(90deg, rgb(255, 255, 255) 0%, rgba(168, 180, 191, 0.15) 25%);
    border-radius: .3rem;
    padding-left: 1.5rem;
    padding-right: 2.5rem;
    padding-bottom: .2rem;
    -webkit-box-shadow: 5px 2px 15px 2px rgba(0,0,0,0.17);
    box-shadow: 5px 2px 15px 2px rgba(0,0,0,0.17);
    /*margin-bottom: .5rem;*/
    position: fixed;
    right: 5%;
}
.toggle-text {
    margin-top: 1.5rem;
}

.site-description {
    font-family: 'Lato', sans-serif !important;
    font-weight: 900 !important;
    color: rgba(65, 65, 65, 0.9) !important;
}

.primary-menu-wrapper {
    display: block;
    width: 100%;
    padding: .5rem;
}

main #site-content {
    background-color: #a8b4bf;
}

.singular .entry-header, .singular .featured-media::before, .wp-block-pullquote::before, .footer-nav-widgets-wrapper, #site-footer {
    background-color: #a8b4bf;
}

.header-inner {
    align-items: center;
    display: flex;
    justify-content: space-between;
    padding: 2.8rem 0;
}

#site-content {
    padding-top: 119px;
    font-family: 'Oswald', sans-serif !important;
}

.reduced-spacing.missing-post-thumbnail .post-inner {
    padding-top: 0;
    background-color: transparent;
}

.entry-content {
    font-size: 2.1rem;
    color: #000000;
    padding: 1rem;
}

p, form, .wp-block-column > ul:nth-child(3), label {
    font-family: 'Lato', sans-serif !important;
    font-weight: 300 !important;
    color: black !important;
}

.fond_article {
    background: rgba(218, 218, 218, 0.80);
    width: 90%;
    margin-left: 5%;
    margin-right: 5%;
    padding-bottom: 10rem;
}

.footer-top-visible .footer-nav-widgets-wrapper, .footer-top-hidden #site-footer {
    margin-top: 0;
}

.footer-top-visible .footer-nav-widgets-wrapper, .footer-top-hidden #site-footer {
    margin-top: 0;
}

cite, figcaption, .wp-caption-text, .post-meta, .entry-content .wp-block-archives li, .entry-content .wp-block-categories li, .entry-content .wp-block-latest-posts li, .wp-block-latest-comments__comment-date, .wp-block-latest-posts__post-date, .wp-block-embed figcaption, .wp-block-image figcaption, .wp-block-pullquote cite, .comment-metadata, .comment-respond .comment-notes, .comment-respond .logged-in-as, .pagination .dots, .entry-content hr:not(.has-background), hr.styled-separator, :root .has-secondary-color {
    color: #fff !important;
}

.textwidget > p:nth-child(1) > a:nth-child(3), .textwidget > p:nth-child(3) > a:nth-child(1) {
    text-decoration: none;
    font-size: large;
}

ul.primary-menu.reset-list-style {
    font-family: 'Oswald'!important;
    font-style: normal !important;
    font-weight: 700 !important;
    text-transform: uppercase;
}
.primary-menu a:hover, .primary-menu a:focus, .primary-menu .current_page_ancestor {
    text-decoration: none !important;
    color: #1c94c4 !important;
}

.carousel {
    background: transparent;
}

.carousel img {
    display: block;
    height: 200px;
}

@media screen and ( min-width: 768px ) {
    .carousel img {
        height: 600px;
    }
}

#cmplz-manage-consent .cmplz-manage-consent {

    border-top-left-radius: .5rem !important;
    border-top-right-radius: .5rem !important;
    text-decoration: none !important;
}

.container-unique {
    margin-bottom: 3rem;
}

.grid-item {
    background-color: rgba(255, 255, 255, 0.19);
    padding: .25rem;
    box-sizing: border-box;
}

#lieudetest, #datedutestinitial {
    white-space: nowrap;
    width: calc(50% -4rem);
    overflow: hidden;
    text-overflow: ellipsis;
}

.entry-content > :not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.is-style-wide) {
  max-width: 58rem;
  width: calc(100% - 1.25rem);
}


