/**
 * Theme Name:     Twenty Twenty-Three Child
 * Author:         Sofi
 * Template:       twentytwentythree
 * Text Domain:	   twenty-twenty-three-child
 * Description:    Twenty Twenty-Three revisited
 */

@import url('https://fonts.googleapis.com/css2?family=Crimson+Pro:ital,wght@0,200..900;1,200..900&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');


.wp-block-post-content {margin-block-start: 0px !important;}

.wp-block-cover {
overflow: visible !important;
}

:root {
    background-color: #FFFEF5 !important;   
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    line-height: 1.4em !important;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Crimson Pro", serif;
  font-weight: 600;
  font-style: normal;
  color: #BC9647;
  line-height: 1.1em !important;
}
 /* h1 {
  margin-bottom: 20px !important;
  line-height: 1em !important;
  font-size: 35px !important;
  font-weight: 400;
  text-transform: uppercase; */
}
h1.archive { text-transform: initial !important;}
h1.mont {font-family: "Montserrat", sans-serif; text-transform: uppercase !important; font-size: 22px !important; margin-top: 70px; font-weight: 600;}
h1.wp-block-post-title {margin-bottom: 0px;}
h2.sous_intro { font-family: "Montserrat", sans-serif; text-transform: uppercase !important; font-size: 24px !important; margin-top: 70px;}
h2 {font-size: 28px !important; line-height: 1em !important; font-family: "Crimson Pro", serif;  font-weight: 600 !important;}
h3 {font-size: 28px !important; margin-top: 30px !important; margin-bottom: 10px !important}
.wp-element-caption {font-size: 14px !important; font-style: italic !important; display: block; color:#BC9647;}
.has-small-font-size {font-size: 12px !important;}
.has-small-font-size a {font-weight: 400 !important; text-decoration: none !important;}
.txtpluspetit {font-size: 14px !important;}
a, a:visited {color:#1b5491 !important; font-weight: 600;  transition: 0.25s; text-decoration: none;} 
a.wp-block-post-excerpt__more-link {text-decoration: underline;}
a:hover {color: #6F5E53 !important; text-decoration: underline;}
p {margin-top: 15px !important;}
ul { box-sizing: unset;}
ul.wp-block-categories-list {margin-left: 0px !important; padding-left: 0px !important;}
ul.wp-block-categories-list {list-style: none;}
ul.wp-block-categories-list li {line-height: 1.2rem; margin-top: 15px;font-size: 16px;}
ul.wp-block-categories-list li li {line-height: 1.2rem; margin-top: 5px;font-size: 14px;}
::marker {
  font-size: 14px !important;
  color: #6F5E53 !important;
}
ul.sansretrait li {margin-left: -20px !important; margin-bottom: 10px !important; line-height: 1.35em !important;}
.wp-block-navigation ul { width: 400px !important;}
.wp-block-navigation:not(.has-background) .wp-block-navigation__submenu-container {
  border: none;
  text-transform: inherit;
  background-color: #1b5491;
  padding-top: 7px;
  padding-bottom: 7px;
  width: 200px !important;
}
.wp-block-navigation.items-justified-right .wp-block-navigation__container .has-child .wp-block-navigation__submenu-container, .wp-block-navigation.items-justified-right .wp-block-page-list > .has-child .wp-block-navigation__submenu-container, .wp-block-navigation.items-justified-space-between .wp-block-page-list > .has-child:last-child .wp-block-navigation__submenu-container, .wp-block-navigation.items-justified-space-between > .wp-block-navigation__container > .has-child:last-child .wp-block-navigation__submenu-container {
right: auto !important;
}
.wp-block-navigation:not(.has-background) .wp-block-navigation__submenu-container li a {
  text-transform: inherit !important;
  font-size: 14px;
  color: #FFFFFF !important;
}
.bouton a, .bouton a:visited {color:#FFFFFF !important; text-transform: uppercase !important; background-color: #1b5491 !important; letter-spacing: 1px !important; font-size: 14px !important;}
.sonav a, .sonav a:visited, .sonav_accueil a, .sonav_accueil a:visited  {font-size: 18px; letter-spacing: 0.02rem; line-height: 1.3em; color: #FFFEF5 !important; text-transform: uppercase;}
.sonav a:hover {color: #6F5E53 !important;}
.sonav_accueil a:hover{color:#BC9647 !important;}
.post-navigation-link-previous a, .post-navigation-link-next a, .post-navigation-link-previous a:visited, .post-navigation-link-next a:visited {text-transform: uppercase !important; font-size: 14px !important; color: #BC9647 !important;}
.post-navigation-link-previous a:before {content:"\2039   "}
.post-navigation-link-next a:after {content:"    \203A";}
footer a, footer a:visited, footer { color: #BC9647 !important;}
.contenu { margin-top: 40px;}

.intro {
    letter-spacing: 0.25px;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.2rem;
}
.intro li {margin-top: 10px !important;}
.intro ::marker {
  font-size: 14px !important;
  color: #FFFFFF !important;
}
.derniersarticles { margin-top: 20px !important;}
.derniersarticles li, .wp-block-latest-posts li { margin-top: 30px !important; display: inline-block !important;}

.wp-block-post-title {font-size: 50px !important; line-height: 1em !important; font-family: "Crimson Pro", serif;  font-weight: 600 !important; text-transform: inherit;}
.wp-block-latest-posts__post-title {font-size: 36px !important; line-height: 1em !important; font-family: "Crimson Pro", serif;  font-weight: 600 !important; text-transform: inherit;}
li .wp-block-post-title {font-size: 26px !important; line-height: 1em !important; font-family: "Crimson Pro", serif;  font-weight: 600 !important; text-transform: inherit;}


/* CONTACT */




/* CONTACT FORM 7 */
#formulaire-responsive {
	max-width:600px /*-- à modifier en fonction de la largeur désirée --*/;
	margin:0 auto;
  width:100%;
}
.rang-form {
	width: 100%;
  padding-top: 20px;
}
.demi-colonne, .colonne {
	float: left;
	position: relative;
  padding: 0.8rem;
  padding-bottom: 0px;
  padding-top: 0px;
	width:100%;
	-webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box
}
.clearfix:after {
	content: "";
	display: table;
	clear: both;
}

/* STYLE CONTACT FORM */
.wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 textarea {
	width: 95%;
	padding: 8px;	
}

.message {height: 150px;}
span.wpcf7-not-valid-tip{
	font-size: 12px;text-transform: initial; 
}
div.wpcf7-mail-sent-ok{
	text-align: center;
	text-shadow: none;
	padding: 5px;
	font-size: 12px;
	background: #59a80f;
	border-color: #59a80f;
	color: #fff;
	margin: 0;
}
#formulaire-responsive p {  color: #BC9647 !important;  text-transform: uppercase; font-size: 12px !important; font-weight: 600; margin-top: 0 !important;}
.wpcf7-form-control {
  color: #BC9647 !important;
  font-family: "Montserrat", sans-serif;
  border: 1px solid #BC9647;
  line-height: 18px;
  padding: 15px;
  width: 280px;

}
.wpcf7-acceptance {border: 0 !important; font-size: 12px; margin: 0 !important; padding: 0;}
.wpcf7-acceptance .wpcf7-list-item {margin: 0;}
.wpcf7-submit { 
  color: #FFFFFF !important; 
  background-color: #1b5491 !important;
  text-transform: uppercase;
  width: 150px !important;
  font-size: 16px !important;
  font-weight: 600;
  border: none;
  line-height: 15px;
}

.wpcf7-submit:hover { 
  background-color: #BC9647 !important;
  color: #6F5E53 !important;
}
.wpcf7-spinner {
display: block !important;
}



/**---------------- Media query ----------------**/
@media only screen and (min-width: 48em) { 
	.demi-colonne {
		width: 50%;
	}
}

@media screen and (max-width: 550px) {

  .intro {
  letter-spacing: 0px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2rem;
}


.wp-block-latest-posts__post-title {
  font-size: 22px !important;
  line-height: 1.1em !important;
}

.derniersarticles .wp-post-image {width: 150px !important;}

.wp-block-latest-posts__post-excerpt {
     font-size: 14px !important;
}


}
/* CHNAGEMENT DU BREAKPOINT POUR HAMBURGER */

@media screen and (max-width: 1030px) {
  /* hamburger button */
  .wp-block-navigation__responsive-container-open  {
    display: block !important;
  }
  .wp-block-navigation__responsive-container-open .wp-block-columns {flex-wrap: nowrap !important;
  }
  /* full menu */
  .wp-block-navigation__responsive-container:not(.is-menu-open.has-modal-open) {
    display: none !important;
  }

  .sonav a, .sonav a:visited, .sonav_accueil a, .sonav_accueil a:visited {
color: #1b5491 !important;
    line-height: 50px !important;
    margin-top: 10px !important;
    margin-left: 20px !important;
    font-size: 30px !important;
    text-align: left;
  }

.wp-block-navigation.items-justified-right {
  --navigation-layout-justification-setting: flex-start;
  --navigation-layout-justify: flex-start;
}

.wp-block-navigation:not(.has-background) .wp-block-navigation__submenu-container li a  {
  border: none;
  text-transform: inherit !important;
  color: #1b5491 !important;
line-height: 1.4rem !important;
margin-bottom: 10px !important;
font-size: 18px !important;
z-index: 10;
}

.wp-block-navigation__responsive-container-close {
color: #1b5491 !important;
margin-right: 20px !important;
  }

}