/*
Theme Name: Aybar by papyAlfred
Author: Valérie Brossault
Author URI: 
Theme URI: 
Tags: full-site-editing, block-patterns
Text Domain: papyalfred
Requires at least: 6.4
Requires PHP: 7.4
Tested up to: 6.4
Version: 100.0

License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

/* Styles intended only for the front.*/

/* General
--------------------------------------------- */

body{
	font-size: 16px;
}

@keyframes backFadeIn{
	from {opacity: 0%;}
	to {opacity: 100%;}
}
@keyframes fadeInUp {
  0% { opacity: 0; padding-top: 1em;}
  100% { opacity: 1; padding-top: 0;}
}

.hide-mobile,
.hide-mobile-tablet,
.hide-space-menu{
	display: none;
}

/* Site Containers */

.site-header,
.entry-content {
	z-index: 0;
}
.entry-content {
	background-color: #fff;
	margin-bottom: 380px;
}
div.is-content-justification-center{
	background-color: #fff;
}
.site-footer {
	position: fixed;
	border-top: #7452B4 100px solid;
	padding-top: 2em;
	width: 100vw;
	z-index: -500;
	left: 0;
	bottom: 0;
}
.alignfull {
	width:  100vw;
	max-width:  100vw;
	margin-left:  calc(50% - 50vw);
}

/* Typographical elements */

p,ol,ul,
.wp-block-cover,
h1, h2, h3, h4, h5, h6
{
	animation: fadeInUp 1.5s;
}
h1 {
	background: url('https://cabinetaybar.live-website.com/wp-content/uploads/h1-underline.gif') 5px bottom no-repeat;
	background-size: 100px;
	color: #00B3B4;
	padding: 2px;
	padding-bottom : 20px;
}
h2 {
	background: url('https://cabinetaybar.live-website.com/wp-content/uploads/h2-bullet.gif') left no-repeat;
	background-size: 15px;
	color: #C0B4F1;
	margin-top: 2em;
	padding: 2px;
	padding-left: 20px;
}
h3 {
	margin-top:0px;
}

/* Objects */

li{
	margin-bottom: 0.5em;
}
form p label span.wpcf7-form-control-wrap input,
form p label span.wpcf7-form-control-wrap textarea{
	background: transparent;
	border: #7452B4 1px solid;
	min-height: 2em;
	min-width: 90%;
}
.wp-block-button a.wp-element-button,
form p input.wpcf7-submit{
	color: #00b3b4;
	text-transform: uppercase;
	border: 1px solid;
	border-radius: 50px;
	background: url('https://cabinetaybar.live-website.com/wp-content/uploads/button-back.gif') right no-repeat;
	background-size: 40px;
	padding: 15px;
	padding-right: 50px;
	transition: all 0.5s ease-out;
}
form p input.wpcf7-submit{
	font-size: 0.8em;
}
.wp-block-button a.wp-element-button:hover,
form p input.wpcf7-submit:hover{
	font-size: 1.05em;
	padding-right: 60px;
}
blockquote.wp-block-quote{
	background: url('https://cabinetaybar.live-website.com/wp-content/uploads/citation-guillemet.gif') top left no-repeat;
	background-size: 50px;
	padding-left: 10px;
	padding-top: 2px;
}
blockquote.quoteblanc{
	background: url('https://cabinetaybar.live-website.com/wp-content/uploads/citation-guillemetblanc.gif') top left no-repeat;
	background-size: 50px;
	padding-left: 10px;
	padding-top: 2px;
}
details {
	background: #fff;
	padding: 5px;
	margin-bottom: 10px;
	border-bottom: 1px solid #7452b4;
}
details summary{
	color: #7452b4;
	font-weight: 400;
	font-size: 1.2em;
}
.call-to-action{
	position: relative;
	z-index: 100;
	padding: 20px 5px;
}
.call-to-action a{
	display: block;
	position: relative;
	color: #fff;
	text-decoration: none;
	text-transform: uppercase;
	background: url('https://cabinetaybar.live-website.com/wp-content/uploads/button-backblanc.gif') top right no-repeat;
	background-size: 20px;
	padding-right: 30px;
	line-height: 20px;
	transition: all 0.5s ease-out;
}
.call-to-action a:hover{
	padding-right: 60px;
}
.up {
	z-index: 500;
}

/* Navigation */

.site-header nav button.wp-block-navigation__responsive-container-open,
.site-header nav button.wp-block-navigation__responsive-container-close{
	position: fixed;
	top: 10px;
	right: 25px;
}
nav li{
		margin-bottom: 50px;
	}
nav li.rdv a span{
	color: #00B3B4;
}
nav li.rdv a:hover{
	font-size: 1.05em;
	padding-right: 60px;
}

/* Footer */

.site-footer figure,
.site-footer .info{
	width: 100%;
}
.credits {
	border-top: 1px solid #C0B4F1;
}

/* Media Queries
-------------------------------------------- */

@media screen and (min-width: 780px) {
	body{
		font-size: 18px;
	}
	.hide-tablet{
		display: none;
	}
	.hide-mobile{
		display: block;
	}
	.entry-content {
		margin-bottom: 200px;
	}
	nav li{
		margin-bottom: 0;
	}
	nav li.rdv a{
	border: 1px solid #00B3B4;
	border-radius: 50px;
	background: url('https://cabinetaybar.live-website.com/wp-content/uploads/button-back.gif') right no-repeat;
	background-size: 40px;
	padding: 10px;
	padding-right: 50px;
	transition: all 0.5s ease-out;
}
	.site-footer .info{
		width: auto;
	
	}
}
@media screen and (min-width: 980px) {
	.call-to-action img{
		min-width: 45px;
		min-height: 45px;
	}
	.call-to-action a{
		background: url('https://cabinetaybar.live-website.com/wp-content/uploads/button-backblanc.gif') top right no-repeat;
		background-size: 30px;
		padding-right: 40px;
		line-height: 30px;
	}
}

@media screen and (min-width: 1160px) {
	body{
		font-size: 20px;
	}
	.hide-tablet{
		display: block;
	}
	.hide-mobile-tablet{
		display: block;
	}
	.entry-content {
		margin-bottom: 180px;
	}
	.site-footer figure{
		width: auto;
	}
	/* Home */
	.home h1{
	font-size : 5em;
	}
}

@media screen and (min-width: 1620px) {
	.hide-space-menu{
		display: block;
	}
}