/*  
Theme Name:   astra-sous-theme
Theme URI:    https://guide-reglementation.syndicat-simples.org
Description:  Thème enfant de modification  
Author:       William Anstett
Template:     astra
Version:      0.1.0 */



/* * * MISE EN PAGE GENERALE * * */
@media (min-width: 1200px){
.ast-plain-container.ast-no-sidebar #primary {
    margin-top: 15px!important;
    margin-bottom: 60px;
	}}

/* * * BREADCRUMP * * */
.breadcrumb-trail {
	color:var(--ast-global-color-3);
	font-size: small;
	text-transform: uppercase;
}
nav.breadcrumb-trail.breadcrumbs { margin: 0px 0px 25px 0px; }



/* * * Effacer les meta par css à defaut de faire mieux * * */
.entry-meta {
    display: none;
}



/* * * MISE EN FORME GENERALE * * */
h2 {background-color:#b84e03; color:white!important; padding:4px 11px; border-radius: 5px;}
:not(.wp-block-group) >h3 {background-color:#72944c; color:white!important; padding:4px 11px; display:inline-block; border-radius: 5px;}




/* * * HEADER - RECHERCHE * * */
.ast-header-search .slide-search .search-form,
.ast-search-menu-icon .search-form 
{
	border:none;
	border-bottom:2px solid white;
	font-size: 16px;
    font-style: italic;
	border-radius:0;
}
.ast-header-search .ast-search-menu-icon.ast-dropdown-active .search-form  {
	transition: all 1s;  
	border-bottom:2px solid var(--ast-global-color-0);
}




/* * * HEADER - MENU * * */
nav#primary-site-navigation-desktop  {
    font-variant: petite-caps;
}

nav#primary-site-navigation-desktop ul li a {
    font-size:1.5em;	
}

.ast-builder-menu-1 .main-header-menu > .menu-item > .sub-menu, 
.ast-builder-menu-1 .main-header-menu > .menu-item > .astra-full-megamenu-wrapper {
    width: 300px;
}


ul .sub-menu .menu-item a {
    margin: 0;
    padding: 3px 15px!important;
}




/* * * PAGE RECHERCHE + 404 * * */
#page_recherche h3 {margin-bottom:15px;}
#page_recherche {margin-bottom:30px;}
#page_recherche .search-form .search-field,
#page_404 .search-form .search-field{
    padding: 5px 10px;
}
#page_recherche button.search-submit.ast-search-submit,
#page_404  button.search-submit.ast-search-submit {
    padding: 10px;
    line-height: 0em;
    vertical-align: sub;
}
#page_recherche input.search-field,
#page_404  input.search-field{
    border: NONE;
    border-bottom: 2px solid var(--ast-global-color-0);
	font-style:italic;
}

#page_404 h3 {margin-bottom:40px;}

.WPBlockSearch {
    margin-top: 25px;
    border-left: 4px solid #c9c9c9;
    padding-left: 11px;
}
p.WPtitleSearch {
    font-size: 1.2em;
	margin-bottom:8px;
}
p.WPSecondSearch {
    display: none;
}





/* * GLOSSARY * */
.glossary-tooltip a, .glossary-underline {
    background: rgb(237 237 237)!important;
    padding: 0 6px!important;
    text-decoration: none!important;
    border-radius: 7px;
    font-weight: normal!important;
}
.glossary-tooltip-content {
    border-bottom: 2px solid var(--ast-global-color-0);
    background: rgb(237 237 237)!important;
}
.glossary-tooltip-text {
    font-size: 15px;
    line-height: 22px;
    padding: 5px 10px!important;
    color: #464646!important;
}
.glossary-tooltip-text a:last-child{
	display:none;
}
.glossary-tooltip-content::after {
    border-top-color: var(--ast-global-color-0)!important;
}

/* BLOC SPECIAUX */


.bloc_renvois {
    width: 60%;
    padding: 10px !important;
}

/* Commun bloc spéciaux */
.biblio, .texte_loi, .attention, .renvoi, .zoom, .syndicat, ol.wp-block-footnotes {
    border-radius: 3px;
	border-right: 0px;
	border-left : 3px;
	border-top: 0;
    border-bottom: 0;
	border-style: solid;
	width: 95%;
	padding: 8px 20px 8px 50px!important;
	margin:20px!important;
    font-size: 0.9em;
    line-height: 1.7em;
	border-color: #76737385;
}

/* bloc SYNDICAT */
.syndicat { 
	background: #fff7f7 url(/wp-content/uploads/2024/02/noise.png) no-repeat 12px 11px;
    border-color: #ed6262;
    background-size: 35px;
}
/* bloc ZOOM */
.zoom {
    background: #f7f7f7 url(/wp-content/uploads/2024/02/zoom.png) no-repeat 12px 11px;
    background-size: 32px;
}
/* bloc ATTENTION */
.attention {
    background: #fdeced url(/wp-content/uploads/2024/02/warning.png) no-repeat 8px 8px; 
	border-color:#eb6a6a;
    background-size: 30px;
}
/* bloc TEXTE DE LOI */
.texte_loi {  
	background: aliceblue url(/wp-content/uploads/2024/02/loi.png) no-repeat 8px 8px;	
	border-color: #06064c;
}
/* bloc BIBLIO */
.biblio { 
	background: #f9ffdb url(/wp-content/uploads/2024/02/biblio.png) no-repeat 8px 8px; 
	border-color: var(--ast-global-color-0);
}

/* note de bas de page */
ol.wp-block-footnotes {
    padding: 12px 50px;
    font-size: 13px;
    background: #f9ffdb;
}


/* Signature */
.signature {
	display: block;
	font-size: 1em;
    line-height: 2em;
    width: 25%;
    border-bottom: 2px solid #b3b3b3;
    font-style: italic;
    color: #6a6a6a;
    margin: 4%!important;
}


/* * PAGES - Affichage de la date * */
div.date_article {
    font-size: 0.8em;
    text-transform: uppercase;
    padding: 0px;
    padding: 2px 10px;
    width: 95%;
    margin: 20px;
    color: #6a6a6a;
}
.publication_date_label, .update_date_label{
	width: 90px;
    display: inline-block;
    font-weight: 600;
    text-align: end;
    padding: 0 6px 0 0;
}
.publication_date, .update_date {}
div.date_article .publication_section,
div.date_article .update_section  {
    margin: 0;
}



/* Table des matières spectra */
.wp-block-uagb-table-of-contents {
    margin-bottom: 30px;
}
.uagb-toc__wrap {
    border: 0px!IMPORTANT;
    background: #efefef!IMPORTANT;
    padding: 10px!IMPORTANT;
    font-size: 0.9em!IMPORTANT;
}
.uagb-toc__title{ font-size:17px!important; }
.wp-block-uagb-table-of-contents li.uagb-toc__list { padding-top: 5px!important;  }



/* Bouton imprimer */
.pdfprnt-buttons {
    margin: 0px 0px 17px 0px;
    background: #efefef;
    padding: 0px;
    font-size: 0.9em;
    display: inline-block;
    border-radius: 5px;
}
.pdfprnt-buttons:hover{	background: #f3f1f1; }

.pdfprnt-buttons a { color: black; }

/* feuille de style d'impression */
body.pdfprnt_print.ltr {
    font-family: arial;
}





/* Spécifiques pages */

/* page accueil */
article#post-61 .pdfprnt-buttons, article#post-61 header, article#post-61 .date_article,
article#post-368 .pdfprnt-buttons, article#post-368 .date_article
{ display:none;} 

/* Pages "règlementation par" */
.tile_button {
    background: #f3f3f3;
    border-radius: 6px;
    padding: 9px 0px 0px 0px;
}