/*!
Theme Name: Via Campesina
Theme URI: https://viacampesina.org
Template: kadence
Author: Le Maillon
Author URI: https://lemaillondigital.com
Description: A child theme for the Kadence Theme.
Version: 1.0.0
License: GNU General Public License v3.0 (or later)
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Text Domain: via-campesina
*/

/* Theme customization starts here
-------------------------------------------------------------- */

:root {
	--monJaune: #fcf38f;
	--monVert: #73bd4b;
	--monNoirClair: #202020;
}

.nomargin, .single-content p.nomargin {
	margin:0 !important;
}
.wp-block-ultimate-post-advanced-list .ultp-list-wrapper:has(> .wp-block-ultimate-post-list) {
	width: 100%;
	max-width: 100%;
}
.entry-content .wp-block-separator.has-background:not(.is-style-dots):not(.is-style-wide) {
	height: 1px;
}
.home .single-content hr {
	margin-bottom:0;
}
.tourne {
	transform: rotate(-90deg);
}
.site h2 {
	line-height: 1.2;
}
p > a:hover, .ultp-block-items-wrap .ultp-block-item h2.ultp-block-title > a:hover, .ultp-block-items-wrap .ultp-block-item h3.ultp-block-title > a:hover, .ultp-block-items-wrap .ultp-block-item h4.ultp-block-title > a:hover, .ultp-block-items-wrap .ultp-block-item h5.ultp-block-title > a:hover, .ultp-block-items-wrap .ultp-block-item h6.ultp-block-title > a:hover {
	text-decoration: underline !important;
}
.wp-block-kadence-column .wp-block-cover, .wp-block-kadence-column .wp-block-cover-image {
	min-height: 320px;
}
.lijaune a::after {
	content: "";
	width: 40px;
	height: 3px;
	background: var(--monJaune);
	display: block;
	margin-left: auto;
	margin-right: auto;
}
.nomargin, .single-content p.nomargin {
	margin:0 !important;
}
.wp-block-ultimate-post-advanced-list .ultp-list-wrapper:has(> .wp-block-ultimate-post-list) {
	width: 100%;
	max-width: 100%;
}
.entry-content .wp-block-separator.has-background:not(.is-style-dots):not(.is-style-wide) {
	height: 1px;
}
.home .single-content hr {
	margin-bottom:0;
}
p a, div p > a:hover {
	text-decoration: none;
}
.ultp-block-image.ultp-block-image-opacity {
	margin-right: 0;
}
#secondary {
	position: sticky;
	top: 20px;
	height: 90vh;
}
.entry-content .wp-block-pullquote {
	font-size: 1em;
	line-height: 1.6;
}

/* Menu */
#main-header {
	margin-bottom: 20px;
}
.site-top-header-wrap .site-header-row {
	grid-template-columns: auto 70%;
}
.site-branding.branding-layout-standard.site-brand-logo-only {
	margin-top: -50px;
}
.site-header-top-section-left.site-header-section.site-header-section-left {
	justify-content: end;
}
.suplang {
	list-style: none;
	margin: 0;
}
.suplang li {
	display: inline-block;
	margin-right: .5rem;
}
.suplang li a:not(.button) {
	text-decoration: none;
}
.site-top-header-inner-wrap .site-header-section-right {
	justify-content: space-between;
}
.site-header-top-section-left.site-header-section.site-header-section-left {
	justify-content: end;
}
.site-header-main-section-right.site-header-section.site-header-section-right .site-header-item.site-header-focus-item.site-header-item-main-navigation.header-navigation-layout-stretch-false.header-navigation-layout-fill-stretch-false {
	margin-right: 15%;
}
.site-header-main-section-right.site-header-section.site-header-section-right {
	border-top: 1px solid #000;
	justify-content: space-between;
}

/* Accueil */
.home .entry-content-wrap {
	padding-top: 0;
}
.home #main-header {
	margin-bottom: 0;
}

/* Recherche */
.searchandfilter label {
	display: block;
}
.search-filter-results .attachment-small.size-small.wp-post-image, .search-archive .page.type-page {
	display: none;
}
.masidebar form ul {
	padding-left: 0;
	margin-left: 0;
}
.contresults {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-column-gap: 30px;
	grid-row-gap: 50px;
	margin-top: 50px;
} 
.contresults h2 {
	font-size: 1.4em;
}
.ll-skin-melon.searchandfilter-date-picker .ui-widget {
	background: var(--monNoirClair);
}
.ll-skin-melon.searchandfilter-date-picker td .ui-state-default {
	color: var(--monNoirClair);
}
.searchandfilter select.sf-input-select {
	max-width: 100%;
}

/* Featered articles */
.ultp-category-in a:not(:first-child) {
	display: none;
}
.home .ultp-block-items-wrap.ultp-block-post-module1.ultp-block-content-middle.ultp-block-content-false.ultp-layout1 {
	display: flex;
	flex-direction: column;
}
.home .ultp-block-a32146 .ultp-block-post-module1 .ultp-big-post-module1, .home .ultp-block-a32146 .ultp-block-post-module1 .ultp-small-post-module1 {
	padding: 0 15px;
}
.home .wp-block-ultimate-post-post-module-1 .ultp-block-post-module1 .ultp-big-post-module1, .home .wp-block-ultimate-post-post-module-1 .ultp-block-post-module1 .ultp-small-post-module1 {
	width: 100%;
}
.home .ultp-big-post-module1 .ultp-block-content-wrap, .home .ultp-small-post-module1 {
	display: flex;
	flex-direction: row;
}
.zoomisavant .ultp-block-image.ultp-block-image-opacity {
	margin-right: 35px;
}
.ultp-small-post-module1 .ultp-block-item {
	width: 40%;
	margin-right: 5em;
}
.ultp-small-post-module1 {
	margin-top: 50px;
	border-top: 1px solid rgba(0, 0, 0, .3);
	padding-top: 50px !important;
}
.ultp-block-image.ultp-block-image-opacity {
	margin-right: 50px;
}
.home .ultp-block-cdfcb3 .ultp-big-post-module1 .ultp-block-content-wrap .ultp-block-image img {
	height: 295px;
}
.yarpp-related .yarpp-thumbnails-horizontal .yarpp-thumbnail {
	border: none;
}

/* Section news */
.sectionews {
	margin-top: -100px;
	z-index: 1000;
	position: relative;
}
.bloc30years {
	position: relative;
	z-index: 1200 !important;
}

/* Section newsletter */
.sectionewsletters .ultp-block-entry-content, .sectinternational .ultp-block-entry-content {
	display: flex;
	flex-direction: column-reverse;
}

/* Section citation */
.entry-content .wp-block-pullquote blockquote::before {
	font-size: 250px;
	left: -20px;
	top: 95px;
}
.sectcitation p, .sectcitation cite {
	padding-left: 50px;
}
.myhomecitation {
	padding-top: 20px;
}
.sectcitation .myhomecitation p, .sectcitation .myhomecitation cite {
	padding-left: 60px;
}

/* Section événements */
.sectevents .tribe-events-widget-events-list__header-title.tribe-common-h6.tribe-common-h--alt, .sectevents .tribe-events-widget-events-list__view-more.tribe-common-b1.tribe-common-b2--min-medium, .home .tribe-events-widget-events-list__event-datetime-wrapper.tribe-common-b2.tribe-common-b3--min-medium, .tribe-events-widget .tribe-events-widget-events-list__event-row--featured .tribe-events-widget-events-list__event-date-tag-datetime::after {
	display: none;
}
.sectevents .tribe-common-g-row.tribe-events-widget-events-list__event-row.tribe-events-widget-events-list__event-row--featured {
	background: #2D2D2D;
	width: 50%;
	margin-bottom: 50px;
}
.sectevents .tribe-common--breakpoint-medium.tribe-events-widget .tribe-events-widget-events-list__event-date-tag {
	width: 120px;
	margin-right: 30px;
}
.sectevents .tribe-events-widget-events-list__event-date-tag.tribe-common-g-col {
	padding: 25px;
	background: #73bd4b;
}
.sectevents .tribe-common--breakpoint-medium.tribe-common .tribe-common-h4--min-medium {
	font-size: 40px;
}
.sectevents .tribe-events-widget .tribe-events-widget-events-list__event-date-tag-month, .sectevents .tribe-common .tribe-common-h2, .sectevents .tribe-common a, .tribe-compatibility-container .tribe-common a, .tribe-compatibility-container .tribe-common a:active, .tribe-compatibility-container .tribe-common a:focus, .tribe-compatibility-container .tribe-common a:hover, .tribe-compatibility-container .tribe-common a:visited, .sectevents .tribe-common a:not(.tribe-common-anchor--unstyle), .sectevents .tribe-common a:not(.tribe-common-anchor--unstyle):hover {
	color: #fff;
}
.sectevents .tribe-common--breakpoint-medium.tribe-events-widget .tribe-events-widget-events-list__event-title {
	font-size: 18px;
}
.tribe-events-widget-events-list__event-wrapper.tribe-common-g-col {
	display: flex;
	align-items: center;
	padding-right: 30px;
}
.tribe-compatibility-container .tribe-common .tribe-common-anchor-thin:active, .tribe-compatibility-container .tribe-common .tribe-common-anchor-thin:focus, .tribe-compatibility-container .tribe-common .tribe-common-anchor-thin:hover {
	border-bottom: 1px solid #fff;
}


/* Membres */
.page-id-10544 .single-content hr {
	margin-bottom: 0;
}


.mobilequicklinks {
	display: none;
}


/* Version mobile */

@media only screen and (max-width:480px) {
	
.site-header-item .site-branding.branding-layout-standard.site-brand-logo-only {
	margin-top: -25px !important;
}
header .site-top-header-wrap .site-header-row {
	grid-template-columns: auto auto;
}
header .site-header-top-section-left.site-header-section.site-header-section-left {
	justify-content: start;
}
header .site-top-header-inner-wrap .site-header-section-right {
	justify-content: right;
}
.home .ultp-big-post-module1 .ultp-block-content-wrap, .home .ultp-small-post-module1 {
	display: block !important;
}
.home .ultp-small-post-module1 .ultp-block-item {
	width: 100%;
}	
.tourne {
	transform: inherit;
}	
.home .sectevents .tribe-common-g-row.tribe-events-widget-events-list__event-row.tribe-events-widget-events-list__event-row--featured {
	width: 100%;
}	
.home .sectevents .tribe-events-widget-events-list__event-date-tag.tribe-common-g-col {
	padding: 15px;
	margin-right: 10px;
}
.home .howmobile {
	font-size: 15px !important;
}
.desktopquikminks, .wp-block-kadence-column.kadence-column10033_7e98e4-c4 {
	display: none;
}
.mobilequicklinks {
	display: block;
}
.mobilehat {
	margin-top: 30px !important;
}
.home .tourne {
	transform: inherit;
}
.citationp p, blockquote p {
	font-size: 15px !important;
	padding-left: 30px !important;
}
.home .ultp-block-meta span.ultp-post-read {
	padding-left: 0;
}
.page-id-10374 .kb-row-layout-id10374_48cd4b-5a .kt-row-column-wrap.kt-has-2-columns.kt-row-layout-left-golden.kt-tab-layout-inherit.kt-mobile-layout-row.kt-row-valign-top, .page-id-17849 .kb-row-layout-id17849_e3d521-a8 .kt-row-column-wrap.kt-has-2-columns.kt-row-layout-left-golden.kt-tab-layout-inherit.kt-mobile-layout-row.kt-row-valign-top, .page-id-15670 .kb-row-layout-id15670_5adf18-e5 .kt-row-column-wrap.kt-has-2-columns.kt-row-layout-left-golden.kt-tab-layout-inherit.kt-mobile-layout-row.kt-row-valign-top {
	display: flex;
	flex-direction: column-reverse;
}
.contresults {
	display: block;
}
}





