/*
 * CSS personnalisé TRM24
 * Déplacé depuis Customizer > Apparence > CSS additionnel le 2026-06-08.
 * Chargé par wp-content/mu-plugins/trm24-custom-css.php (après le style.css du thème).
 * >> Éditer CE fichier, plus le Customizer. <<
 */

/* Éric MARTIN */

/* WooCommerce Prix Page Produit */
.woocommerce div.product p.price, .woocommerce div.product span.price {
	color: #FE770A;
  font-size: 1.75em;
}

/* WooCommerce Quantité Page Produit */
.woocommerce .quantity .qty {
	width: 5em;
}
.woocommerce .input-text.qty.text {
	color:#5AB2BA;
	font-weight: 900;
}

/* WooCommerce Bouton */
.single-product .product .single_add_to_cart_button.button,
.woocommerce a.button.alt,
.woocommerce button.button {
	background-color:#5AB2BA;
	padding: 17px 30px;
}
.single-product .product .single_add_to_cart_button.button:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button:hover {
	background-color:#FE770A;
}

/* WooCommerce Catégorie Page Produit */
.woocommerce .product_meta {
	display:none;
}
/* Zoom dans l'image */
.woocommerce div.product div.images .woocommerce-product-gallery__trigger {
       display: none;
   }

/* WooCommerce Image dans la description */
.woocommerce img, .woocommerce-page img {
    height: auto;
    max-width: 100%;
    margin-right: 20px;
    margin-top: 0;
	border:1px solid rgba(0,0,0,.2);
    box-shadow: 8px 8px 8px #eee;
}
.woocommerce div.product .woocommerce-tabs .panel p+h2,
.woocommerce div.product .woocommerce-tabs .panel h2 {
	font-size:1.5rem;
}
.woocommerce div.product .woocommerce-tabs .panel p+h3,
.woocommerce div.product .woocommerce-tabs .panel h3 {
	font-size:1.2rem;
}

/* WooCommerce Produit lies */
div.product .products.up-sells,
div.product .products.upsells {
  padding-top:12% !important;
}
.products.up-sells h2,
.products.upsells h2 {
	font-size:1.5rem;
}

/* iFrame Video Centrer */
.single-post iframe {
    display: inline-block !important;
}
body .woocommerce a.button.alt {
  color: #fff;
}

/* Correction Encart Auteur */
.post-author-bio {
	display:none;
}
/* Correction de catégorie */
.archive.category.group-blog .post-list__item-content .post-thumbnail .post-thumbnail__link+.post__cats {
    display: none;
}
/* Correction Menu */
nav#site-navigation.main-navigation,
.site-header.default .main-navigation {
	z-index:255 !important;
}

/* Css Initial */
@media (min-width: 768px){
    .site{
        padding: 0 80px;
        zoom: 0.95;
    }
}

.has-thumb .post-thumbnail {
    display: flex;
    justify-content: center;
}

.tm_fpblock__item .tm_fpblock__item__preview::before{
	top:40%;
}

.tm_fpblock__item__title{
	text-shadow: 0 2px 0 rgba(0,0,0,0.5);
    color: white !important;
}

#menu-toggle{
    display:none;
}

.post-author__holder{
    display:flex;
    align-items: center;
}

.post-author__avatar .avatar{
	width:70px !important;
}

.post-author__title{
	font-size:24px !important;
    margin: 0 !important;
} 

header a.header-center{
    margin-left: 10px;
    text-align: left;
}

#email-subscribers-2{
    padding: 20px;
	background-color: #efefef;
}

#email-subscribers-2 .widget-title{
	margin-bottom: 10px;
}

#email-subscribers-2 .widget-title:after{
	background-color: transparent;
}

#es_txt_email{
	background-color: white;
}

#es_txt_button{
	background-color: #fe770a;
    color: white;
}

.top-panel__register{
	display: none;
}

.site-logo__link img{
	width: 200px;
}

.home  #main{
	display: none;	
}

.top-panel .search-form .search-form__field{
	width: 154px;
}

.top-panel .search-form{
	border-right: none;
    margin-right: 0;
    padding-right: 0;
}

.top-panel .search-form .search-form__submit{
	width: 20px;
}

.tm_fpblock__item .tm_fpblock__item__category, .post__cats a, .sticky__label{
	background-color: #319fa9 !important;
    color: white !important;
}

.widget-new-smart-inner-big-before-content figure figcaption .post__cats{
	display: none;
}

.widget_calendar .calendar_wrap caption{
	text-transform: capitalize;
}

.subscribe-block__submit btn btn-secondary, .btn, .comment-form .submit, .post-password-form label + input{
	color: white !important;
}

button i{
	color: #343434 !important;
}

#social-list-2 li:nth-child(4){
	display: none;
}

#after-loop-area .widget_media_video{
	display: inline-block;
    width: calc(33.33% - 8px);
    margin-bottom: 15px;
}

#after-loop-area .widget_media_video:not(:nth-child(3n+1)){
	margin-right: 10px;
}

.widget-about-author{
    margin-top: -15px;
    display: inline-block;
	width: calc(50% - 20px);
    vertical-align: top;
}

.widget-about-author:nth-child(5){
	margin-left: 40px;
}

.widget-about-author .about-author_avatar{
	float: left;
    margin: 0 20px 5px 0;
    margin-bottom: 100px;
}

.widget-about-author  .about-author_name{
	padding: 20px 0 10px;
}

.widget-about-author  .about-author_content{
	overflow: visible;
}

.widget-about-author .about-author_description{
	text-align: justify;
}

/*.about-author_btn_box{
	display:none;
}*/

.category-tribunes .post-author, .category-salle-de-presse .post-author, .post-author{
	display:none;
}

@media (min-width: 992px){
    .entry-title{font-size:30px;}
}

.title-line:after, .news-smart-box__navigation .current-term span:after, .widget-area:not(.footer-area) .widget:not(.widget-subscribe) .widget-title:after, .comment-reply-title:after {
    height: 1.1px !important;
}

.news-smart-box__instance .news-smart-box__navigation {
	display: none;
}

.custom-html-widget .news-smart-box__navigation {
	margin-bottom: 20px;
    margin-top: 50px;
}

body {
	font-family: 'Open Sans', sans-serif !important;
}

p strong {
	font-size: 18px;
}

.bauhaus {
	background-color: black !important;
    padding-bottom: 0 !important;
}

.post-page-head-area.bauhaus .post-page-thumbnail {
    min-width: 100% !important;
    min-height: 100% !important;
    width: 100% !important;
    height: 100% !important;
    opacity: 0.8 !important;
    top: 0 !important;
    left: 0 !important;
    position: relative !important;
    -webkit-transform: translateX(0%) translateY(0%);
    transform: translateX(0%) translateY(0%);
    margin-top: -160px;
}

.post-page-head-area.bauhaus .post-page-thumbnail img {
	margin: 0 !important;
}

.es_subscription_form_submit.es_submit_button.es_textbox_button {
	background-color: #fe770a;
    color: white;
}

.yarpp-thumbnail {
    width: 32% !important;
    height: 220px !important;
}

.yarpp-thumbnail > img, .yarpp-thumbnail-default {
    margin: 10px 0 0 10px !important;
}

.yarpp-thumbnail-title {
    margin: 0 !important;
    padding: 10px !important;
    width: 100% !important;
    max-height: 4.8em !important;
}

#menu-pem li {
	width: initial;
    font-size: 16px;
    font-weight: 700;
}

#menu-pem li:first-child {
	margin-left: 0px;
}

.yarpp-thumbnails-horizontal .yarpp-thumbnail > img, .yarpp-thumbnails-horizontal .yarpp-thumbnail-default {
    display: block !important;
}


body.single-post .entry-content h2 {
    font-style: normal;
    font-weight: bold;
    font-size: 24px;
    font-family: Noto Sans;
}

body.single-post .entry-content h3 {
    font-style: normal;
    font-weight: bold;
    font-size: 20px;
}

#sidebar-primary .widget_text .text-replacement {
	display: none;
}

body.single-post #sidebar-primary .widget_text .text-replacement {
	display: block;
}

body.single-post #sidebar-primary .widget_text .text-replacement + img {
	display: none;
}

body.single-post #sidebar-primary .widget_text {
	margin-bottom: 0;
}

body.single-post #sidebar-primary .widget_recent_comments {
	margin-top: 25px;
}

@media (max-width: 767px) {
	body.home #sidebar-primary .widget_text .text-replacement {
        display: block;
    }
    
    body.home #sidebar-primary .widget_text .text-replacement + img {
        display: none;
    }
    
    body.home #sidebar-primary .widget_text {
        margin-bottom: 0;
    }
    
    body.home #sidebar-primary .widget_recent_comments {
        margin-top: 25px;
    }
    
    body.home #after-loop-area {
    	display: none;
    }
}


.top-panel__wrap .site-description {
    display: inline-block;
    margin-top: 7px;
    padding-left: 15px;
    padding-top: 0;
	font-size: 12px;
    color: #999;
    font-weight: normal;
}

@media (max-width: 767px) {
    .top-panel__wrap .site-description {
        margin-top: 0;
        padding-left: 0;
    }
}

.news-smart-box__navigation .current-term span a {
	color: #319fa9;
}

@media (max-width: 500px) {
    .archive .posts-list--minimal .post-list__item-content .post-thumbnail, .archive .posts-list--default .post-list__item-content .post-thumbnail {
        padding-right: 10px;
        max-width: 20%;
        float: left;
        margin-bottom: 0;
    }
    
     .archive .posts-list--minimal .post-list__item-content .entry-meta-sharing .entry-meta .post__comments {
    	display: none;
    }
}

#custom_html-20, #custom_html-22 {
margin-bottom: 0px;
}

#custom_html-30 .textwidget{
	display:flex;
    justify-content: center;
}
/* Titres Articles Relatifs */
.relpost-block-container .relpost_card_title {
    font-size: 1rem !important;
    line-height: inherit;
    font-weight: 500 !important;
	text-decoration: none !important;
}
/* Woo - Champs Code Promo */
@media (min-width: 1024px) {
.woocommerce #content table.cart td.actions .input-text, .woocommerce table.cart td.actions .input-text, .woocommerce-page #content table.cart td.actions .input-text, .woocommerce-page table.cart td.actions .input-text {
    width: 40%;
	}
}


/* 2026-02-10
 * Correction Date du post */
.entry-meta .post-date__link {
	display: inline-block;
	margin-right:10px;
}

.entry-meta i.material-icons,
.widget-new-smart__post__date i.material-icons {
	vertical-align:middle;
	margin-right: 5px;
}
.widget-image-grid__link {
    color: #000;
}
.widget-new-smart__post__date {
    color: #fff;
}

/* 2026-03-30
 * Encart Newsletter - Fond */
body #newsletterwidget-2.widget_newsletterwidget {
	background-color: #fff;
	padding:10px;
	border: 0px solid #eee;
	box-shadow: 0px 5px 15px #ddd;
	transition: all .5s ease-out;
}

/* 2026-03-30
 * Encart Newsletter - Typo */
body #newsletterwidget-2 .widget-title {
	color: #319fa9;
	font-size: clamp(18px, 2.5vw, 30px);
	text-align: center;
	font-weight: bold;
	line-height: 1.2em;
	hyphens: none;
}

/* 2026-06-08 Complianz */
/* All buttons */
.cmplz-buttons .cmplz-btn{
  font-size:12px !important;
}
/* Ancre encart abonnement : compense le menu sticky */
#encart_abonnement { scroll-margin-top: 100px; }
