/*

 Theme Name:   Camp Climat
 Theme URI:    http://campclimat.eu
 Description:  Theme for Camp Climat 2019
 Author:       Valentin LE BESCOND
 Author URI:   http://example.com
 Template:     twentyseventeen
 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:  campclimat

*/

:root {
    --campclimat-vert-fonce: #0b6064;
    --campclimat-vert-clair: #87c48d;
    --campclimat-jaune: #f4e841;
    --campclimat-rouge: #eb5b5d;
}


@font-face {
    font-family: 'edoregular';  
    src: url('fonts/edo.ttf') format('truetype'), 
         url('fonts/edo-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

/** Ajout 14/04/205 - Adrien MARIE **/
/* @font-face {
    font-family: 'luciole';  
    src: url('fonts/Luciole-Bold.ttf') format('truetype'), 
    font-weight: bold;
    font-style: normal;
}
*/

@font-face {
    font-family: 'luciole';  
    src: url('fonts/Luciole-Regular.ttf') format('truetype'), 
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'londrina-solid';  
    src: url('fonts/LondrinaSolid-Light.ttf') format('truetype'), 
    font-weight: thin;
    font-style: normal;
}

@font-face {
    font-family: 'londrina-solid';  
    src: url('fonts/LondrinaSolid-Regular.ttf') format('truetype'), 
    font-weight: normal;
    font-style: normal;
}
/** Fin d'ajout **/


body,
button,
input,
select,
textarea {
    /* font-family: "Helvetica Neue", helvetica, arial, sans-serif !important; */
	font-family: 'luciole';
}

p {
    text-align: justify;
}

p strong:not(.custom-block-button-text) {
	color: var(--campclimat-vert-clair);
}

li strong {
	color: var(--campclimat-vert-clair);
}

.entry-title:not(a) {
    /* background-image: url('https://campclimat.eu/wp-content/themes/campclimat/assets/images/brush-stroke.png'); */
    background-repeat: no-repeat;
    background-position: left;
    background-position-x: 30px;
    background-position-y: 10px;
    padding: 10px;
    font-family: 'londrina-solid';
    padding-bottom: 30px;
    font-size: 28px !important;
    color: var(--campclimat-vert-fonce, #284c4c) !important;
    /* padding-left: 85px;  */
}

h1:not(.site-title):not(.site-description):not(a) {
    /* background-image: url('https://campclimat.eu/wp-content/themes/campclimat/assets/images/brush-stroke.png'); */
    background-repeat: no-repeat;
    background-position: left;
    background-position-x: 10px;
    background-position-y: 10px;
    font-family: 'londrina-solid';
    padding: 00px;
    padding-bottom: 0px;
    font-size: 28px !important;
    color: var(--campclimat-vert-fonce, #284c4c) !important;
    margin-top: 1em;
}

h2:not(.site-title):not(.site-description) {
    font-size: 28px !important;
    color: var(--campclimat-rouge, #A63352) !important;
    font-family: 'londrina-solid';
}

h3:not(.site-title):not(.site-description) {
    font-size: 23px !important;
    color: var(--campclimat-vert-fonce, #A63352) !important;
    font-family: 'londrina-solid';
}

.main-navigation a {
    padding-left: 12px;
    padding-right: 12px;
    font-family: 'londrina-solid';
}

@media (max-width: 801px)  {
    .main-navigation a {
        font-size: 16px;
    }
}

@media (max-width: 830px) and (min-width: 801px) {
    .main-navigation a {
        font-size: 17px;
    }
}

@media (max-width: 918px) and (min-width: 830px) {
    .main-navigation a {
        font-size: 18px;
    }
}

@media (max-width: 1000px) and (min-width: 918px) {
    .main-navigation a {
        font-size: 20px;
    }
}

@media (min-width: 1000px) {
    .main-navigation a {
        font-size: 22px;
    }
}

.main-navigation a:hover {
    color: var(--campclimat-jaune, #284c4c);
}

.navigation-top .current-menu-item > a,
.navigation-top .current_page_item > a {
    color: var(--campclimat-jaune, #284c4c);
}

.site-branding {
    font-family: 'londrina-solid';
}

.site-title {
    font-size: 6em;
}

.site-description {
    opacity: 1.0 !important;
    font-size: 1.75em;
}

@media (max-width: 1200px) {
    .site-title {
        font-size: 5em;
    }

    .site-description {
        font-size: 1.5em;
    }
}

@media (max-width: 965px) {
    .site-title {
        font-size: 4em;
    }

    .site-description {
        font-size: 1.3em;
    }
}

@media (max-width: 750px) {
    .site-title {
        font-size: 3em;
    }

    .site-description {
        font-size: 1em;
    }

}

/* .has-header-image .custom-header-media img {
    position: absolute;
    max-width: 1000%;
    min-height: 100%;
    min-width: 100vw;
    width: 100%;
} */

.homebutton {
    /* background-image: url('http://sonomkr.fr/campclimat2019/wp-content/uploads/2019/04/logo-85x49.png');
    background-repeat: no-repeat;
    background-position: left;
    padding-left: 85px; */
    /* display: block; */
    float: left;
    /* padding: 0 !important; */
    vertical-align: auto;
    padding: 2px !important;
    /* margin: auto; */
    margin-right: 20px;
    /* position: relative; */
    /* left: 0; */
}

.navigation-top {
    background: #7dbb92;
    border-bottom: 1px solid #6ea380;
    border-top: 1px solid #6ea380;
    /* font-size: 1em !important; */
}

.navigation-top a {
    color: #fff;
    word-wrap: normal;
    text-transform: uppercase;
}

.navigation-top .expandable a {
    color: #000 ;
}

.has-header-image.twentyseventeen-front-page .custom-header,
.custom-header {
    display: table;
    height: 200px;
    height: 40vh;
    width: 100%;
}

.twentyseventeen-front-page.has-header-image .custom-header-media,
.twentyseventeen-front-page.has-header-video .custom-header-media,
.home.blog.has-header-image .custom-header-media,
.home.blog.has-header-video .custom-header-media {
    height: 1200px;
    height: 50vh;
    max-height: 100%;
    overflow: hidden;
}

.twentyseventeen-front-page.has-header-image .custom-header-media:before,
.twentyseventeen-front-page.has-header-video .custom-header-media:before,
.home.blog.has-header-image .custom-header-media:before,
.home.blog.has-header-video .custom-header-media:before {
    height: 72vh;
    /*height: 100%;*/
}

.admin-bar.twentyseventeen-front-page.has-header-image .custom-header-media,
.admin-bar.twentyseventeen-front-page.has-header-video .custom-header-media,
.admin-bar.home.blog.has-header-image .custom-header-media,
.admin-bar.home.blog.has-header-video .custom-header-media {
    height: 72vh;
    /*height: calc(50vh - 32px);*/
}

.fa {
    padding: 20px;
    font-size: 30px;
    /* width: 30px; */
    width: 67px;
    text-align: center;
    text-decoration: none;
    margin: 5px 2px;
    border-radius: 50%;
}

.fa:hover {
    opacity: 0.7;
}

.fa-facebook {
    background: #3B5998;
    color: white;
}

.fa-twitter { 
    background: #55ACEE;
    color: white;
}

.fa-google {
    background: #dd4b39;
    color: white;
}

.fa-linkedin {
    background: #007bb5;
    color: white;
}

.fa-youtube {
    background: #bb0000;
    color: white;
}

.fa-instagram {
    background: #125688;
    color: white;
}

.pt-cv-readmore {
    color: #ffffff !important;
    background-color: #a63352 !important;
    border: none !important;
}

#logo-menu {
    vertical-align: middle;
}

/**
 * 2025-03-31 Vincent https://framagit.org/alternatiba/websites/campclimat-eu/-/issues/5
 */
#menu-item-2475 a {
    border: 3px solid transparent;
}
@media screen and (min-width: 48em) {
    .js .main-navigation {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        &>* {
            align-self: center;
        }
    }
}

/**
 * 2025-04-31 Vincent https://framagit.org/alternatiba/websites/campclimat-eu/-/issues/2
 * 2025-03-31 Vincent https://framagit.org/alternatiba/websites/campclimat-eu/-/issues/2
 */
@media screen and (min-width: 30em) {
    .panel-content .wrap {
        padding-top: 2em;
        padding-bottom: 2em;
    }
    .page.page-one-column .entry-header {
        margin-bottom: 1em;
    }
    h2 {
        padding-top: 0.5em;
    }
    .site-content {
        padding-top: 1em;
    }
    .site-footer {
        margin-top: 0;
    }
    .page:not(.home) #content {
        padding-bottom: 1em;
    }
}
@media screen and (min-width: 48em) {
    .panel-content .wrap {
        padding-top: 2em;
        padding-bottom: 2em;
    }
    .page.page-one-column .entry-header {
        margin-bottom: 1em;
    }
    h2 {
        padding-top: 0.5em;
    }
    .site-content {
        padding-top: 1em;
    }
    .site-footer {
        margin-top: 0;
    }
    .page:not(.home) #content {
        padding-bottom: 1em;
    }
}
.wp-block-button .wp-block-button__link {
    margin-top: 0 !important;
}
.post-navigation {
    margin: 1em 0;
}
.entry-footer {
    margin-top:0;
    padding: 1em 0;
}

/**
 * 2025-04-05 Vincent https://framagit.org/alternatiba/websites/campclimat-eu/-/issues/4
 * Menu pied de page
 */
.menu-pied-de-page-container {
    padding: 2% 0;
    border-bottom: thin solid white;
}
.menu-pieddepage {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 0;
    list-style: none;
    .menu-item {
        a {
            color: white;
            text-transform: uppercase;
            &:hover {
                text-decoration: underline;
            }
        }
    }
    .menu-item+.menu-item::before {
        content: '';
        color: white;
        padding: 0 .25em;
    }
}
@media screen and (min-width: 48em) {
    .menu-pieddepage {
        flex-direction: row;
        justify-content: center;
        .menu-item+.menu-item::before {
            content: '-';
        }
    }
}
div.menu-social-container {
    display: block !important;
}
.social-links-menu {
    display: flex;
    flex-direction: row;
    justify-content: center;
}
.social-navigation a,
.social-navigation a:focus,
.social-navigation a:hover {
    background-color: inherit; 
    margin: 0 .25em;
    border-radius: unset;
    display: block;
    width: unset;
    height: unset;
}
.social-navigation .icon {
  height: 1.2em;
  top: unset;
  width: 1.2em;
  vertical-align: middle;
} 

.entry-content .bouton-rouge .wp-block-button__link {
    &, &:hover, &:focus {
        color: #fff;
        background-color: #a63352;
    }
}
#post-3049 {
    .wp-block-group+.wp-block-group {
        margin-top: 2em;
    }
    .wp-block-group.is-layout-flex {
        gap: 1em;
    }
}
