/*
Theme Name: FFC
Template: twentytwentyone
Author: ED - BRIEF
Author URI: https://brief.fr/
Description: Theme enfant FFC
Version: 0.1.0.1611927442
Updated: 2021-01-29 14:37:22

*/

/*GENERAL*/

body.archive #national-sidebar-mots-cles {
	display: none;
}

#archive-cpt-container h1{
	color: black;
}

.archive #main > div:first-of-type {
	width: 100%;
	min-height: 350px;
	background: #f6f3f3;
	padding: 10px;
}

.post-type-archive-glossaire #main > div:first-of-type {
	min-height: inherit;
}

.archive #main > div:first-of-type > div,
.archive #main > div:last-of-type {
	width: 100%;
    max-width: 1200px;
    /*padding: 10px;*/
}

.archive #main > div:last-of-type{
	background: white;
	padding: 10!important;
}
.archive #main > div:first-of-type > div > h1 {
	font-family: 'Montserrat', sans-serif;
	width: -webkit-fit-content;
	width: -moz-fit-content;
	width: fit-content;
	max-width: 50%;
	font-size: 2.6rem;
	font-weight: 700;
	line-height: 125%;
    padding: 0 ;
    margin: 20px 0;
	/*border-bottom: 2px solid black;*/
	text-transform: uppercase;
	color: black;
}
.archive #main h1#titre-cpt,
#nos-actions > div:first-of-type > h1,
#les-maladies > div:first-of-type > h1,
#comment-reduire-les-risques > div:first-of-type > h1{
	color: #d02c4f!important;
	text-transform: inherit!important;
	border: none!important;
	max-width: 100%!important;
	padding: 0!important;
}
#s-informer-sur-les-legs > div:first-of-type > h1{
	color:#2d2e83!important;
	font-size: 2.6rem;
 	border: none!important;
	font-weight: 700;
	text-transform: inherit!important;
}
#nos-actions  #divider-titre-tax,
#les-maladies  #divider-titre-tax,
#comment-reduire-les-risques #divider-titre-tax,
#s-informer-sur-les-legs #divider-titre-tax,
.post-type-archive-publications #divider-titre-tax{
	display: none!important;
}


.archive #main #divider-titre-tax{
	width: 100%;
    max-width: 250px;
    border: 1px solid #000;
    margin: 10px 0 20px 0;
    background: #000;
 
}
.archive #main h2{
	font-size: 1.2rem;
	text-transform: uppercase;
	line-height: 150%;
	margin: 0;
}

.archive #main #content.tax a{
	text-decoration: none;
	color: #e52321!important;
	font-weight: 700;
}
.archive #main #content.tax .fa-plus{
	font-size: 0.7rem;
}
.archive #main p{
	margin: 15px 0;
	line-height: 125%;
	color: black;
}	
.archive #main p#breadcrumbs {
    margin: 25px 0;
}
.archive #main #content .divider-h2-liste {
	width: 100%;
    max-width: 100px;
	border: 1px solid #e52321;
	margin: 8px 0 15px 0;
	background: #e52321;
}
.archive #main #tax-description{
	width: 100%;
	max-width: calc(100% - 300px);
	font-size: 1rem;
	line-height: 150%;
	color: black;
}
.archive #main #cpt-description{
	width: 100%;
	max-width: 100%;
	font-size: 1rem;
	line-height: 150%;
}
.archive #main #content.tax {
    width: calc(100% - 350px);
}

.archive #main #content.cpt {
    width: 100%;
	margin-top: -70px;
}
.post-type-archive-publications #main #content.cpt{
	margin-top: 0!important;
}
.archive #main #sidebar {
	width: 300px;
	padding: 40px 10px;
}

/*CPT*/

#archive-cpt-container {
	
	background-color: rgba(0, 0, 0, 0.0)!important;
}

.post-type-archive-glossaire #archive-cpt-container,
#archive-cpt-container.brochures {
	margin-top: 0;
}

.archive #main #content.cpt ul {
	min-height: 50px;
	list-style: none;
	background: none;
	padding: 0;
	margin: 0;
}

.archive #main #content.cpt li.category {
	border: 4px solid #d1ca19;
	border-radius: 0 0 80px 0;
	margin: 0 0 50px 0;
}

.archive #main #content.cpt li.category .divider {
    width: 100%;
    max-width: 100px;
	border: 3px solid #d1ca19;
	margin-top: 8px;
}

.archive #main #content.cpt li.category > div:first-of-type {
	width: 50%;
	background: white;
	padding: 20px 45px 20px 25px;
}

.archive #main #content.cpt li.category > div:last-of-type,
#s-informer-sur-les-legs-bloc-2 ul > li > div:last-of-type {
	width: 50%;
	min-height: 300px;
	border-radius: 0 0 75px 0;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center center;
}
.archive #main #content.cpt li.category h2{
	text-transform: inherit;
}
.archive #main #content.cpt li.category h2 a {
	color: #d02c4f;
	font-size: 1.5rem;
}

.archive #main #content.cpt li.category li {
	margin: 0 0 5px 0;
}

.archive #main #content.cpt li.category a {
	text-decoration: none;
	font-weight: 700;
}

.archive #main #content.cpt li.category i {
	color: #d1ca19;
	margin: 0 10px 0 0;
}

.archive #main #content.cpt .voir-plus {
	width: -webkit-fit-content;
	width: -moz-fit-content;
	width: fit-content;
    min-width: 50%;
	border: 2px solid #d02c4f;
	border-radius: 50px;
    padding: 5px 10px;
	margin-top: 25px;
}
.archive #main #content.cpt .voir-plus a{
	color: #d02c4f;
}
.archive #main #content.cpt .fa-plus{
	font-size: 0.7rem;
}

/*GLOSSAIRE*/
.post-type-archive-glossaire #main > div:first-of-type > div > h1#titre-cpt{
	color: #e52321!important;
	padding: 0 0 10px 0;
    margin: 20px 0;
	border: unset!important;
	text-transform: uppercase!important;
}
#glossaire-lettres {
	list-style: none;
	padding: 0;
	margin: 0 0 10px 0;
}

#glossaire-lettres li {
	float: left;
	padding: 0;
	margin: 0 10px 0 0;
}

#glossaire-lettres li a {
	text-decoration: none;
	font-weight: 800;
}

#glossaire {
	list-style: none;
}

.archive #main #content.tax #glossaire .divider-h2-liste {
    width: 100%;
    max-width: 100px;
	min-height: inherit;
    border: 1px solid #e52321;
	background: #e52321;
	padding: 0;
    margin: 8px 0 15px 0;
}

/*TAX*/

.archive #main #content.tax ul {
	background: none;
	padding: 20px 10px;
	margin: 0;
}

.archive #main #content.tax li {
	margin: 14px 0;
	padding: 10px 0;
}

.archive #main #content.tax li > div:first-of-type {
	width: 100%;
	max-width: 250px;
	min-height: 175px;
	background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
	border-radius: 0 0 80px 0;
}

.archive #main #content.tax li > div:first-of-type a {
	width: 100%;
	max-width: 250px;
	min-height: 175px;
}

.archive #main #content.tax li > div:last-of-type {
	width: calc(100% - 300px);
   	padding: 0 20px 0 10px;
}

/*LEGS*/

.archive #main #s-informer-sur-les-legs {
	max-width: inherit;
	padding: 0 10px 100px 10px;
}

#s-informer-sur-les-legs > div > div > div:first-of-type {
	width: 60%;
	padding-right: 20px;
}

#s-informer-sur-les-legs > div > div > div:last-of-type {
	border: 4px solid #6fc6d1;
	color:#2d2e83;
	font-weight: 600;
	font-family: 'Montserrat', sans-serif;
	width: 40%;
	border-radius: 0 0  80px 0;
	background-color:#ffffff;
	margin-left: 30px;
	padding: 10px;
}
#s-informer-sur-les-legs > div > div > div:last-of-type .d-flex :nth-child(2) ::first-line{
	padding:0 0 10px 0;
	font-weight:800;
}

#s-informer-sur-les-legs > div > div > div:last-of-type :nth-child(3) a{
	text-decoration: none;
	color:#2d2e83;
	font-weight:800;
}
#s-informer-sur-les-legs > div > div > div:last-of-type p:last-of-type a#desktop-national-legs-demande-de-brochure{
	text-decoration: none;
	border: 2px solid #e52321;
	border-radius: 50px 50px;
	color:#e52321;
	padding:10px;
}

#s-informer-sur-les-legs > div > div > div:last-of-type .d-flex :nth-child(2) a{
	text-decoration: none;
	padding: 10px 0 0 0;
	color:#2d2e83;
	font-weight:800;
	font-size: 0.9rem;
}


#s-informer-sur-les-legs > div > div > div:last-of-type h3 {
	color:#2d2e83;
	font-size: 100%;
	padding:20px 0;
}

/*#s-informer-sur-les-legs > div > div > div:last-of-type .d-flex {
	padding: 0 0 0 20px;
}*/

#s-informer-sur-les-legs > div > div > div:last-of-type p {
	padding: 0!important ;
	margin-top: 0;
	font-size: 0.9rem;
	line-height : 150%;
}
#s-informer-sur-les-legs > div > div > div:last-of-type p span{
	font-size : 1.1rem;
}
#s-informer-sur-les-legs-bloc-2 {
	margin-top: -50px;
}

#s-informer-sur-les-legs-bloc-2 ul {
	list-style: none;
	padding: 0;
	margin: 0;
	min-height: 130px;
}

#s-informer-sur-les-legs-bloc-2 li {
	border: 4px solid #6fc6d1;
    border-radius: 0 0 80px 0;
       margin: 0 0 35px 0;
	/*padding: 10px;*/
}

.archive #main #s-informer-sur-les-legs-bloc-2 li > div {
	width: 50%;
	padding: 20px 45px 20px 25px;
}

.archive #main  #s-informer-sur-les-legs-bloc-2 h2 {
    font-size: 1.2rem;
	text-transform: inherit;
}

.archive #main #s-informer-sur-les-legs-bloc-2 h2 a{
	color:#2d2e83;
	font-family: 'Montserrat', sans-serif;
	font-weight: 700;
	padding-bottom: 10px;
	border-bottom: inherit;
	text-decoration: none;
	font-size: 1.5rem;
}
.archive #main #s-informer-sur-les-legs-bloc-2 .divider-leg {
    width: 100%;
    max-width: 100px;
	border: 3px solid #6fc6d1;
	margin: 8px 0 15px 0;
}
.archive #main #s-informer-sur-les-legs-bloc-2 .voir-plus{
	 width: -webkit-fit-content;
	 width: -moz-fit-content;
	 width: fit-content;
    min-width: 50%;
    border: 2px solid #2d2e83;
	text-align: center;
    border-radius: 50px;
    padding: 5px 10px;
    margin-top: 25px;
}
.archive #main #s-informer-sur-les-legs-bloc-2 .voir-plus a{
	color: #2d2e83;
	text-decoration: none;
	font-weight: 700;
}
.archive #main #s-informer-sur-les-legs-bloc-2 ul {
	min-height: 100px;
}

#s-informer-sur-les-legs-bloc-2 ul > li > div:last-of-type {
	border-radius: 0 0 75px 0;
	background-position: center;
	background-size: cover;
}

#s-informer-sur-les-legs-bloc-2 ul > li:nth-child(1) > div:last-of-type {
	background-image: url(/wp-content/uploads/2021/03/ffc-legs-1568x686.jpg);
}

#s-informer-sur-les-legs-bloc-2 ul > li:nth-child(2) > div:last-of-type {
	background-image: url(/wp-content/uploads/2021/03/ffc-donation-1568x686.jpg);
}

#s-informer-sur-les-legs-bloc-2 ul > li:nth-child(3) > div:last-of-type {
	background-image: url(/wp-content/uploads/2021/03/ffc-assurances-vie-1568x686.jpg);
}

#s-informer-sur-les-legs-bloc-2 ul > li:nth-child(4) > div:last-of-type {
	background-image: url(/wp-content/uploads/2021/03/ffc-notaires-et-autres-professionnels-du-droit-1568x686.jpg);
}


#s-informer-sur-les-legs-bloc-2 .d-flex :nth-child(1) :nth-child(4) :nth-child(1){
	text-decoration: none;
	border: 2px solid #2d2e83;
    border-radius: 50px 50px;
	padding:10px;		
	text-transform: inherit;
}
/*WP_navi*/

.wp-pagenavi a, .wp-pagenavi span{
	border: inherit!important;
}

/*BROCHURES*/

.form-check-container .form-check:last-of-type {
	display: none;
}

.post-type-archive-publications #main > section {
	width: 100%;
}

/*RESPONSIVE*/

@media screen and (max-width: 1080px) {
	
	#archive-cpt-container {
    	margin-top: 0;
	}
	#s-informer-sur-les-legs > div > div > div:last-of-type {
		padding: 0;
		margin: 0
	}
	#s-informer-sur-les-legs > div > div > div:last-of-type p {
		margin-top: 0;
	}
	#s-informer-sur-les-legs > div > div > div:last-of-type :nth-child(4) a{
		font-size: 0.9rem;
	}
}

@media screen and (max-width: 768px) {	
	.archive #main > div:first-of-type {
		padding: 20px;
	}
	#single-bloc-3 #content h1{
		font-size: 1.8rem!important;
	}	
	.archive #main #s-informer-sur-les-legs{
		padding: 10px;
	}
	.archive #main #s-informer-sur-les-legs > div > div > div:last-of-type{
		margin-left: 0;
		padding: 0;
	}
	.archive #main #s-informer-sur-les-legs > div > div > div:last-of-type h3{
		font-size: 1.3rem;
	}
	.archive #main #s-informer-sur-les-legs > div > div > div:last-of-type p {
		font-size: 0.9rem;
	}
	#s-informer-sur-les-legs > div > div > div:last-of-type .d-flex {
		margin-bottom: 20px;
	}
	#s-informer-sur-les-legs > div > div > div:last-of-type :nth-child(3) a {
		padding-top: 15px;
	}
	.archive #main #s-informer-sur-les-legs-bloc-2 li > div{
		width: 100%;
	}
	.archive #main #s-informer-sur-les-legs-bloc-2{
		margin-top: 0;
	}
	.archive #main #s-informer-sur-les-legs-bloc-2 ul {
		min-height: 0;
	}
	.archive #main #s-informer-sur-les-legs-bloc-2 li > div {
		width:100%;
		padding: 10px;
	}
	/****/
	#s-informer-sur-les-legs > div > div {
		-webkit-box-orient: vertical;
		-webkit-box-direction: normal;
		    -ms-flex-direction: column;
		        flex-direction: column;
	}	
	#s-informer-sur-les-legs > div > div > div:first-of-type,
	#s-informer-sur-les-legs-bloc-2 ul > li > div:last-of-type,
	#s-informer-sur-les-legs > div > div > div:last-of-type {
		width: 100%;
	}	
	
	#s-informer-sur-les-legs-bloc-2 li {
    	-webkit-box-orient: vertical;
    	-webkit-box-direction: reverse;
    	    -ms-flex-direction: column-reverse;
    	        flex-direction: column-reverse;
		border-radius: inherit;
		border: 0;
	}	
	#s-informer-sur-les-legs-bloc-2 li > div:last-of-type {
    	width: 100%;
    	border: 4px solid #6fc6d1;
    	border-radius: 0 0 80px 0;
	}	

	#s-informer-sur-les-legs-bloc-2 ul > li > div:last-of-type {
    border-radius: 0 0 75px 0;
    background-position: center;
    background-size: cover;
    height: 10rem;
	}	
	/******/
	.archive #main > div:first-of-type > div > h1{
		max-width: 100%;
		font-size: 2rem;
	}	

	.archive #main #content.cpt {
		margin-top: 0;
		padding: 0 10px;
	}
	.archive #main #tax-description, 
	.archive #main #cpt-description {
		max-width: inherit;
	}
	.archive #main #content.cpt li.category > div:first-of-type {
		padding: 10px;
	}
	.archive #main > div:first-of-type > div, 
	.archive #main > div:last-of-type,
	.post-type-archive-glossaire #archive-cpt-container >div:first-of-type{
		-webkit-box-orient: vertical;
		-webkit-box-direction: normal;
		    -ms-flex-direction: column;
		        flex-direction: column;
	}
	.archive #main > div:last-of-type {
		padding: 10px!important;
	}
	.archive #main #content.tax {
		width: 100%;
	}	
	.archive #main #content.tax li > div:first-of-type {
		display: none !important;
	}
	
	.archive #main #content.tax li > div:last-of-type {
		width: 100%;
		padding: 0;
	}
	
	#archive-cpt-title img {
		position: initial;
		margin: 0 10px 0 0;
	}
	
	.archive #main h1 {
		max-width: inherit;
	}
	
	#archive-cpt-container {
		margin-top: 0;
	}
	
	.archive #main #content.cpt li.category {
		-webkit-box-orient: vertical;
		-webkit-box-direction: reverse;
		    -ms-flex-direction: column-reverse;
		        flex-direction: column-reverse;
		border: 0;
		border-radius: inherit;
	}
	
	.archive #main #content.cpt li.category > div:first-of-type {
		width: 100%;
	}
	
	.archive #main #content.cpt li.category > div:last-of-type {
		width: 100%;
		border: 4px solid #d1ca19;
    	border-radius: 0 0 80px 0;
	}
	
	.archive #main #content.cpt ul,
	#s-informer-sur-les-legs-bloc-2 ul {
		min-height: inherit;
	}
	
	.archive #main #content.cpt .voir-plus,
	#s-informer-sur-les-legs-bloc-2 li .voir-plus {
		margin: 20px 0 30px 0;
	}
	
	.archive #main #sidebar {
		width: 100%;
	}
	
	.box-container{
		margin: 20px 10px;
	}
	
}



/*IIDI EDIT*/



.box-container{
	border: 3px solid;
	border-radius: 0 0 30px 0;
	padding: 20px;
	    margin-right: 20px;
	background-color: #fff;
}

.box-container.red-box{
	border-color: #cf2b4f;
}

.box-container.orange-box{
	border-color: #ea5b31;
}

.box-container.purple-box{
	border-color: #5e2377;
}

.box-container .red-font{
	color: #cf2b4f;
}

.box-container .orange-font{
	color: #ea5b31;
}

.box-container .purple-font{
	color: #5e2377;
}
.box-container .fa-plus{
	font-size: 0.9rem;
	}
.box-container h4{
	font-weight: 900;
	margin-bottom: 30px;
}

.box-container p{
	font-size: 16px;
}

.box-container a{
    float: right;
    font-size: 20px;
    font-weight: 900;
    text-decoration: none;
}
.publications-template-default .content-gallery {
	width: 50%!important;
}

.publications-template-default #publication-bloc-2 .publication-title{
	font-size: 0.6rem!important;
}
.publications-template-default #publication-bloc-2 .post-gallery-container > a:nth-child(1){
	width: 50%!important;
	border: 1px solid #ece5e4;
}
.btn.btn-default.js-gd-add-mylist, .btn.btn-default.js-gd-remove-mylist {
    padding: .375rem 0 .375rem 0rem;
}

