/* 
Theme Name:		 Cousinade
Description:	 Cousinade theme
Author:			 François Chaussin
Author URI:		 http://francoischaussin.com/
Template:		 twentytwentyfour
Version:		 1.0.0
Text Domain:	 cousinade
*/

html {
  scroll-behavior: smooth;
}
body *{
    box-sizing: border-box;
}
h1.wp-block-post-title {
    max-width: max-content;
}


div.responsive-table{
	overflow-x:auto;
	border-radius: 2rem;
}
.responsive-table table {
	border-collapse: collapse;
}
.responsive-table th,
.responsive-table td {
	padding: 8px;
	text-align: left;
	background: #eee;
	border: 1px solid #ddd;
	text-wrap: wrap;
}
.responsive-table tbody tr td:first-child {
	font-weight: 700;
	color: #fff;
	background: #c22e01;
}
.responsive-table tbody tr:hover {
	background-color: rgba(255 255 255 / 30%);
}
.responsive-table th {
	background-color: #c22e01;
	color: white;
}



.wpcf7 form label {
	color: #333;
    min-width: 20ch;
    display: inline-block;
} 
.wpcf7 form input, 
.wpcf7 form textarea{
    padding:.5em;
    max-width: 100%;
}
.wpcf7 form textarea{
    width: 100%;
}
.wpcf7 form input[type=number] {
    width: 15ch;
}
form.mailpoet_form .parsley-errors-list.filled > li,
.wpcf7 form span.wpcf7-not-valid-tip {
    background: #ffffffc9;
    padding: .5em;
    font-size: .8rem;
}
.wpcf7 form .wpcf7-response-output {
	color: #333;
    background: #fff;
    padding: 2em;
    display: block;
}
.wpcf7 form .wpcf7-field-group {
    background: rgb(255 255 255 / 25%);
    padding: 1em;
    margin-bottom: 1em;
}
.wpcf7 form .wpcf7-submit{
	padding: .9rem 2rem;
	float: right;
}

form.mailpoet_form.mailpoet_form_form.mailpoet_form_html {
    text-align: center;
}
form.mailpoet_form input.mailpoet_text {
    padding: .5em!important;
    border: 1px solid;
}
form.mailpoet_form input.mailpoet_submit {
    background: transparent;
    color:  inherit;
    font-size: inherit;
    font-weight: 700;
    padding: 0 !important;
    outline: none !important;
}
form.mailpoet_form .mailpoet_paragraph.wp-block-button__link.last:has(.mailpoet_submit) {
}
p.mailpoet_validate_success {
    padding: 2rem;
    background: #fff;
    border: 2px solid green;
}

@media screen and (max-width: 768px){
	.wp-block-kadence-countdown .kb-countdown-number {
		font-size: 1.5em !important;
	}
	.wp-block-kadence-countdown .kb-countdown-label {
		font-size: .6em !important;
	}
}