/*
Theme Name: TwentyTwentyFive-Child
Template: twentytwentyfive
*/

/*
Global
*/

body .is-layout-constrained > * + *.alignfull {
	margin-block-start: 0;
}

/*
Header
*/

header li.wp-block-navigation-item a, header li.wp-block-navigation-item a:hover {
	text-decoration: none;
}

header li.wp-block-navigation-item a {
	font-size: 20px;
	padding-left: 0px;
	padding-right: 0px;
	position: relative;
	color: inherit;
}
header .current-wp-block-navigation-item > a {
	color: inherit;
}

header li.wp-block-navigation-item > a::before {
	content: "";
	top: 0px;
	position: absolute;
	left: 0px;
	right: 0px;
	opacity: 0;
	transition: 0.5s;
	height: 3px;
	background: var(--wp--preset--color--secondary);
}
header li.wp-block-navigation-item > a:hover::before, header li.current-menu-item > a::before {
	opacity: 1;
}

/*
Footer
*/

footer.wp-block-template-part {
	margin-block-start: 0;
	font-size: var(--wp--preset--font-size--small);
}

footer.wp-block-template-part ul {
	list-style-type: none;
	padding: 0;
}

footer.wp-block-template-part a {
	color: black;
}

/*
Text selection
*/

::-moz-selection { /* Code for Firefox */
  background: #c4c0c0;
}
::selection {
  background: #c4c0c0;
}

/* 
Banners
*/
div.wp-block-cover h2 {
	font-size: 3em;
	color: #5b5a5a;
}
@media only screen and (max-width: 480px) {
	div.wp-block-cover h2 {
		font-size: 3em;
	}
}

/*
Cartouches
*/
.cartouche {
	border: solid black 3px;
	margin: 20px 40px;
	padding: 20px;
	color: black;
}
.cartouche h3, .cartouche p {
	text-align: center;
}
.cartouche div.wp-block-button {
	margin: auto !important;
}
.cartouche hr {
	background: black;
	margin-top: 0;
}

/*
Workshop Shortcuts
*/
.workshop-shortcuts div.wp-block-column {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
}
.workshop-shortcuts div.wp-block-column:first-child {
	align-items: center;
}
.workshop-shortcuts figcaption {
	width: 12rem;
	text-align: center;
	margin: auto;
	color: var(--wp--preset--color--base);
}
.workshop-shortcuts figure {
	margin: 1rem;
	flex-basis: 30%;
}
.workshop-shortcuts img {
	margin: auto;
	display: block;
	width: 300px;
	height: 300px;
	object-fit: cover;
	border-radius: 999px !important;
}
.workshop-shortcuts img.wp-block-cover__image-background {
	border-radius: 0px !important;
}

/*
Certifications bloc
*/
div.bloc-certif {
	padding: 1em;
}
div.bloc-certif > div {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}
div.bloc-certif img {
	width: 80%;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

/*
Professional xp bloc
*/
div.bloc-xp-pro {
	padding: 3em 5em;
}
div.bloc-xp-pro div.wp-block-columns {
	margin: 0;
	display: flex;
	justify-content: space-evenly
}
div.bloc-xp-pro figure {
	width: 300px;
	max-width: 100%;
	line-height:150px;
	text-align:center;
	margin: 0 auto;
}
div.bloc-xp-pro img {
  vertical-align: middle;
}

/* 
Specialités
*/
.div-specialites {
	text-align: center;
}
.div-specialites ul {
	display: inline-block;
	text-align: left;
}

/* 
Contact form - One choice per line
*/
span.wpcf7-list-item {
	display: block;
}
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7-select,
.wpcf7 textarea {
    padding: 10px;
    width: 100%;
}
.wpcf7 input[type="submit"] {
    background-color: var(--wp--preset--color--contrast);
    color: #fff;
    border: none;
    padding: 12px 30px;
    font-size: 1em;
    cursor: pointer;
    transition: background 0.2s;
}
