/*
*	Theme Name: Letribunaldunet
*	Description: Theme letribunaldunet
*	Version: 0.2.24
*	Author: Nicolas Coutable
*	Author URI: https://nc-webstudio.fr/
*/
/*
*	=================================================================
*	Sommaire
*	=================================================================
*/
/*
*	- Fonts
*	- Utilitaires
*	- Global
*	- WordPress
*	- Overrides & Ressources externes
*	- Header
*	- Footer
*	- Template parts
*/
/*
*	=================================================================
*	Fonts
*	=================================================================
*/
@font-face {
    font-family: "Roboto";
    src: url("fonts/Roboto-Regular.ttf");
    font-display: optional;
}
@font-face {
    font-family: "Roboto";
    src: url("fonts/Roboto-Bold.ttf");
    font-weight: bold;
    font-display: optional;
}
@font-face {
    font-family: "Roboto";
    src: url("fonts/Roboto-Italic.ttf");
    font-style: italic;
    font-display: optional;
}
/*
*	=================================================================
*	Utilitaires
*	=================================================================
*/
:root {
	--main-color: #3351D8;
	--main-color-dark: #004070;
	--main-color-light: #58A5F0;
	--secondary-color: #FA9F28;
	--secondary-color-dark: #f12711;
}
/* Backgrounds */
.bg-white {
	background-color: #fff;
}
/* Text */ 
.text-main-color {
	color: var(--main-color);
}
.text-secondary-color {
	color: var(--secondary-color);
}
.text-shadow {
	text-shadow: 2px 2px 2px #1a1a1a, 4px 4px 4px #333;
}
.text-black {
	color: #111111;
}
.text-grey {
	color: #555555;
}
.text-light-grey {
	color: #888888 !important;
}
.text-gradient,
.tdn-blue-title strong {
	padding: 8px 0;
	background: linear-gradient(-65deg, var(--main-color-light), var(--main-color));
	background-clip: text;
	text-fill-color: transparent;
	/* Support anciens navigateurs */
	background: -webkit-linear-gradient(-65deg, var(--main-color-light), var(--main-color));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	display: inline-block;
}
.text-secondary-gradient,
.tdn-orange-title strong {
	padding: 8px 0;
	background: linear-gradient(-65deg, var(--secondary-color), var(--secondary-color-dark));
	background-clip: text;
	text-fill-color: transparent;
	/* Support anciens navigateurs */
	background: -webkit-linear-gradient(-65deg, var(--secondary-color), var(--secondary-color-dark));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	display: inline-block;
}
.font-size-big-title {
	font-size: 56px;
	font-weight: 500;
}
.font-size-title-1 {
	font-size: 48px;
}
.font-size-title-2 {
	font-size: 30px;
}
.font-small {
	font-size: 0.95rem;
}
/* Shadow */
.box-shadow {
	box-shadow: rgba(0, 0, 0, 0.2) 0px 2px 1px -1px, rgba(0, 0, 0, 0.14) 0px 1px 1px 0px, rgba(0, 0, 0, 0.12) 0px 1px 3px 0px;
}
/* CTA */
.tdn-cta {
	padding: 12px 24px;
	font-weight: bold;
	font-size: 14px;
	border-radius: 48px;
	transition: .3s;
	border: solid 2px transparent;
	background-color: #fff;
	color: var(--main-color);
	text-decoration: none;
	border: solid 2px var(--main-color);
}
.tdn-cta:hover {
	background-color: var(--main-color);
	background: linear-gradient(45deg, var(--main-color-light), var(--main-color));
	color: #fff;
	text-decoration: none;
	border: solid 2px transparent;
	background-origin: border-box;
}
.tdn-orange-cta {
	padding: 12px 24px;
	font-weight: bold;
	font-size: 14px;
	border-radius: 48px;
	transition: .3s;
	border: solid 2px transparent;
	background-color: #fff;
	color: var(--secondary-color-dark);
	text-decoration: none;
	border: solid 2px var(--secondary-color-dark);
}
.tdn-orange-cta:hover {
	background-color: var(--main-color);
	background: linear-gradient(45deg, var(--secondary-color), var(--secondary-color-dark));
	color: #fff;
	text-decoration: none;
	border: solid 2px transparent;
	background-origin: border-box;
}
/* Autres */
.radius {
	border-top-right-radius: 18px;
	border-top-left-radius: 18px;
	border-bottom-left-radius: 18px;
	border-bottom-right-radius: 18px;
}
.radius-cta {
	border-radius: 48px;
}
.a-none, .a-none:hover {
	text-decoration: none !important;
}
/* Responsive */
@media screen and (max-width: 1200px) {
	.font-size-big-title {
		font-size: 36px;
	}
	.font-size-title-1 {
		font-size: 30px;
	}
	.font-size-title-2 {
		font-size: 26px;
	}
}
/*
*	=================================================================
*	Global
*	=================================================================
*/
body * {
	font-family: 'Roboto', sans-serif;
}
body p {
	color: #444444;
	line-height: 1.7em;
}
body {
	font-size: 1em !important;
	line-height: 1.5em;
	/*margin-top: 124px !important;*/
	margin-top: 110px !important;
	overflow-x: hidden !important;
}
h1, h2, h3, h4 {
	color: #333333;
}
@media screen and (min-width: 1024px) {
	body {
		font-size: 1.1em !important;
	}
}
@media screen and (min-width: 1366px) {
	body {
		font-size: 1.12em !important;
	}
}
@media screen and (min-width: 1920px) {
	body {
		font-size: 1.18em !important;
	}
}
html {
	scroll-behavior: smooth;
	overflow-x: hidden !important;
}
.container-fluid {
	overflow: hidden;
}
.container {
	background-color: #fff;
}
img {
	max-width: 100%;
	height: auto;
}
/*
*	=================================================================
*	WordPress
*	=================================================================
*/
blockquote:not(.tiktok-embed) {
	padding: 64px;
	background-color: #f7f7f7;
	border-radius: 18px;
	box-shadow: 2px 2px 4px #eee;
	position: relative;
}
blockquote:not(.tiktok-embed) p:last-of-type,
blockquote:not(.tiktok-embed) p:last-of-type * {
	color: var(--main-color);
	font-weight: bold;
}
blockquote:not(.tiktok-embed)::before {
	content: '';
	background: url('./img/citation-blue.svg') no-repeat;
	background-size: 36px 36px;
	width: 36px;
	height: 36px;
	position: absolute;
	top: 24px;
	left: 24px;
}
.pagination {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	box-shadow: 2px 2px 2px #eee;
	border: solid 1px #eee;
	padding: 8px 12px;
	border-radius: 8px !important;
	min-width: 300px;
	max-width: 100%;
}
.pagination a:last-of-type {
	background: var(--main-color);
	background: linear-gradient(45deg, var(--main-color-light), var(--main-color));
	padding: 18px;
	border-radius: 50%;
	width: 32px;
	height: 32px;
	display: flex;
	color: #fff;
	justify-content: center;
	align-items: center;
}
.nav-links {
	display: flex;
	justify-content: center;
	align-items: center;
}
.nav-links * {
	margin: 6px;
}
.nav-links .current {
	padding: 24px;
	width: 24px;
	height: 24px;
	display: flex;
	color: var(--main-color);
	justify-content: center;
	align-items: center;
	font-weight: bold;
	font-size: 120%;
	margin-top: -8px;
}
.nav-links .page-numbers {
	color: var(--main-color);
	font-weight: bold;
}
.post-page-numbers {
	background-color: var(--main-color-dark);
	background: linear-gradient(45deg, var(--main-color-light), var(--main-color));
	color: #fff;
	font-weight: bold;
	font-size: 30px;
	padding: 8px;
	border-radius: 8px;
	width: 40%;
	display: flex;
	justify-content: center;
	align-items: center;
	text-align: center;
	margin: 12px;
}
.post-page-numbers:hover {
	color: #fff;
	text-decoration: none;
}
.content-wrapper p img {
	display: block;
	margin: auto;
}
.tdn-source {
	font-size: 14px;
	font-weight: bold;
	color: #666;
}
@media screen and (max-width: 500px) {
	.post-page-numbers {
		font-size: 20px;
		width: 45%;
	}
}
/*
*	=================================================================
*	Overrides & Ressources externes
*	=================================================================
*/
body > div[id^="sas-relDiv"]:first-child {
	margin-top: -110px !important;
}
body > div[id^="sas-relDiv"]:first-child ~ .container {
	margin-top: 220px !important;
}
/*
*	Cmp bouton accepter
*/
#sd-cmp .sd-cmp-3zOvK:hover,
#sd-cmp .sd-cmp-16t61:hover {
	background-color: #3351d8 !important;
	color: #fff !important;
}
#sd-cmp .sd-cmp-2aK21:hover {
	background-color: #fff !important;
	color: #3351d8 !important;
}
#sd-cmp .sd-cmp-3ScGE {
	color: #acacac !important;
	text-decoration: none !important;
}

.sd-cmp-1pO44 {
	display: none !important;
}

/*
*	Hauteur de l'habillage à 0 si pas d'appel
*/
#sas_42933 {
	height: 0;
}
/*
*	Taboola
*/
@media screen and (min-width: 1200px) {
	#taboola-below-article-thumbnails,
	#taboola-just-below-article-thumbnails {
		width: 1140px !important;
		padding-right: 16px !important;
	}
}
/*
*	Override script social media
*/
.at-custom-sidebar {
	background-color: #fff !important;
}
/*
*	Daylimotion pop up bas
*/
.insider {
	max-width: 90vw !important;
}
/*
*	Mailpoet
*/
.mailpoet_text:focus {
	outline: none !important;
}
.mailpoet_submit {
	width: 100% !important;
	max-width: 100% !important;
	margin-top: -8px !important;
}
.mailpoet_paragraph input {
	width: 100% !important;
	max-width: 100% !important;
	padding: 5px 12px !important;
}
#mailpoet_form_9 {
	max-width: 750px;
	margin: auto;
	display: flex;
	justify-content: center;
}
@media screen and (max-width: 768px) {
	#mailpoet_form_9 {
		margin: 24px;
	}
	.mailpoet-form-singular-wrapper #mailpoet_form_9 {
		margin: 0; /* Pas de marges sur le formulaire mailpoet page articles */
	}
	.mailpoet-singular-title {
		font-size: 22px !important;
		text-align: center !important;
	}
}
/*
*	AMP
*/
.amp-wp-article h1 {
	color: var(--main-color-dark);
}
/*
*	Dailymotion
*/
#dailymotionPlayer {
	position: relative;
	z-index: 100 !important;
}
body #dailymotionPlayer .insider .alwaysDisplayed {
	display: none;
}
/*
*	=================================================================
*	Header
*	=================================================================
*/
header {
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	width: 100%;
	margin: 0;
	background-color: #fff;
	box-shadow: 0px 5px 5px -5px #ddd;
}
.mobile-menu {
	width: 100%;
	position: absolute;
	top: 100px;
	background-color: #fff;
	left: 0;
	right: 0;
	z-index: 9;
	opacity: 0;
	max-height: 0;
	overflow: hidden;
}
.mobile-menu-list {
	padding: 0;
}
.mobile-menu-list li {
	width: 90px;
}
@media screen and (max-width: 768px) {
	.mobile-menu-list li {
		width: 60px;
	}
}
.mobile-menu-animation {
	animation: mobile-menu-animation;
	animation-duration: 1.2s;
	animation-fill-mode: forwards;
}
@keyframes mobile-menu-animation {
	0% {
		opacity: 0.8;
		max-height: 0;
	} 100% {
		opacity: 1;
		max-height: 100vh;
	}
}
.mobile-menu-link a:hover {
	text-decoration: none !important;
}
.search-form {
	width: 100%;
	position: absolute;
	top: 100px;
	left: 0;
	right: 0;
	margin: auto;
	height: 100px;
	max-height: 0;
	opacity: 0;
	background-color: #fff;
	overflow: hidden;
	z-index: 8;
}
.search-form-animation {
	animation: search-form-animation;
	animation-duration: .3s;
	animation-fill-mode: forwards;
}
@keyframes search-form-animation {
	0% {
		opacity: 0.8;
		max-height: 0;
	} 100% {
		opacity: 1;
		max-height: 100px;
	}
}
.search-field {
	width: 500px;
	max-width: 80%;
	padding: 8px 24px;
	height: 48px;
	border: solid 1px #eee;
	border-bottom: solid 1px var(--main-color);
	outline: none;
	color: #666;
}
#hamburgerMenu,
#searchIcon {
	transition: .5s;
}
#hamburgerMenu:hover,
#searchIcon:hover {
	cursor: pointer;
	transform: scale(1.15);
}
@media screen and (max-width: 768px) {
	#headerLogo {
		max-width: 120px;
	}
}
@media screen and (max-width: 992px) {
	#placeholderTop {
		display: none !important;
	}
}
/*
*	=================================================================
*	Footer
*	=================================================================
*/
footer {
	box-shadow: 0px -5px 5px -5px #ddd
}
/*
*	=================================================================
*	Front page
*	=================================================================
*/
@media screen and (min-width: 500px) and (max-width: 1199px) {
	.hero-wrapper article:nth-child(5) {
		display: none !important;
	}
}
/*
*	=================================================================
*	Template parts
*	=================================================================
*/
.article-card {
	width: 360px;
	max-width: 100%;
	margin: 10px;
	transition: .5s;
}
.article-card:hover,
.hero-article-card:hover,
.queen-article-card:hover {
	transform: translateY(-8px);
}
.article-card:focus,
.hero-article-card:focus,
.queen-article-card:focus {
	outline: none !important;
}
.article-card .article-card-thumbnail {
	border-top-right-radius: 18px;
	border-top-left-radius: 18px;
	border-bottom-left-radius: 18px;
	border-bottom-right-radius: 18px;
	border-bottom: solid 3px var(--main-color-light);
	width: 100%;
	box-shadow: rgba(0, 0, 0, 0.2) 0px 2px 1px -1px, rgba(0, 0, 0, 0.14) 0px 1px 1px 0px, rgba(0, 0, 0, 0.12) 0px 1px 3px 0px;
}
.article-card-selection-redaction .article-card-thumbnail,
.tdn-orange-card .article-card-thumbnail {
	border-bottom: solid 3px var(--secondary-color);
}
.hero-article-card {
	width: 550px;
	height: 430px;
	margin: 10px;
	transition: .5s;
}
.queen-article-card {
	width: 360px;
	height: 430px;
	margin: 10px;
	transition: .5s;
}
.article-info {
	background-color: rgba(31, 31, 31, 0.4);
	position: absolute;
	bottom: 3px;
	right: 0;
	left: 0;
	width: 100%;
	padding: 8px;
	color: #fff;
	border-bottom-left-radius: 18px;
	border-bottom-right-radius: 18px;
}
.article-category-tag {
	position: absolute;
	top: 8px;
	left: 8px;
	background-color: var(--main-color);
	background: linear-gradient(45deg, var(--main-color-light), var(--main-color));
	color: #fff;
	padding: 4px 12px;
    border-radius: 24px;
    font-size: 14px;
}
@media screen and (max-width: 1199px) {
	.hero-article-card,
	.article-card {
		width: 313px !important;
	}
}
/* Tablette */
@media screen and (min-width: 501px) and (max-width: 992px) {
	.hero-article-card,
	.article-card {
		width: 360px !important;
		max-width: calc(50% - 20px);
	}
}
/* Mobile */
@media screen and (max-width: 500px) {
	.hero-article-card,
	.article-card {
		width: 360px !important;
	}
}
/*
*	=================================================================
*	Single / Singular
*	=================================================================
*/
.content-wrapper {
	/*border-left: solid 3px var(--main-color);*/
}
.content-wrapper .wp-caption-text {
	color: var(--main-color-dark);
}
.content-wrapper em,
.content-wrapper i {
	color: #666;
}
.content-wrapper p a {
	color: inherit;
	text-decoration: none;
	border-bottom: solid 3px var(--main-color-light);
	transition: 0.5s;
}
.content-wrapper p a:hover {
	color: inherit;
	text-decoration: none;
	border-bottom: solid 3px var(--main-color);
}
.content-wrapper > p:first-of-type {
	margin: 24px 0;
}
@media screen and (max-width: 500px) {
	.content-wrapper > p:first-of-type {
		margin: 12px 0;
	}
}
.content-wrapper h2 {
	margin-top: 36px;
	font-weight: bold;
	color: var(--main-color);
}
.content-wrapper h3 {
	font-weight: bold;
	color: var(--main-color);
}
.content-wrapper iframe,
.content-wrapper * {
	max-width: 100%;
}
aside li {
	list-style-type: none;
}
aside * {
	width: 100%;
}
.tdn-breadcrumb li a {
	transition: .25s;
}
.tdn-breadcrumb li a:hover {
	text-decoration: none !important;
	color: var(--main-color-light) !important;
}
#singularFixedSidebar {
	/*transition: .5s;*/
	/*right: calc(((100vw - 660px - 300px) / 2) - 20px) !important;*/
}
@media screen and (min-width: 1200px) {
	.content-wrapper {
		max-width: calc(100% - 330px) !important;
	}
}
/*
*	=================================================================
*	Archive
*	=================================================================
*/
.contenu-categorie-wrapper {
	box-shadow: 2px 2px 2px #eee; 
	border-radius: 8px; 
	border: solid 1px #eee; 
	border-bottom: solid 4px var(--main-color);
}
.contenu-categorie-wrapper h2 {
	padding: 8px 0;
	background: linear-gradient(-65deg, var(--main-color-light), var(--main-color));
	background-clip: text;
	text-fill-color: transparent;
	/* Support anciens navigateurs */
	background: -webkit-linear-gradient(-65deg, var(--main-color-light), var(--main-color));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	display: inline-block;
	font-weight: bold;
}