/*
Theme Name: MTaxi
Theme URI: 
Author: Keopz
Author URI: https://www.keopz.fr
Description: Based on Twenty Twenty-Five simplicity and adaptability. It offers flexible design options, supported by a variety of patterns for different page types, such as services and landing pages, making it ideal for building personal blogs, professional portfolios, online magazines, or business websites. Its templates cater to various blog styles, from text-focused to image-heavy layouts. Additionally, it supports international typography and diverse color palettes, ensuring accessibility and customization for users worldwide.
Requires at least: 6.7
Tested up to: 6.7
Requires PHP: 7.2
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mtaxi
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, sticky-post, threaded-comments, translation-ready, wide-blocks, block-styles, style-variations, accessibility-ready, blog, portfolio, news
*/

/*
 * Link styles
 * https://github.com/WordPress/gutenberg/issues/42319
 */
a {
	text-decoration-thickness: 1px !important;
	text-underline-offset: .1em;
}

/* Focus styles */
:where(.wp-site-blocks *:focus) {
	outline-width: 2px;
	outline-style: solid;
}

/* Increase the bottom margin on submenus, so that the outline is visible. */
.wp-block-navigation .wp-block-navigation-submenu .wp-block-navigation-item:not(:last-child) {
	margin-bottom: 3px;
}

/* Increase the outline offset on the parent menu items, so that the outline does not touch the text. */
.wp-block-navigation .wp-block-navigation-item .wp-block-navigation-item__content {
	outline-offset: 4px;
}

/* Remove outline offset from the submenus, otherwise the outline is visible outside the submenu container. */
.wp-block-navigation .wp-block-navigation-item ul.wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	outline-offset: 0;
}

/*
 * Progressive enhancement to reduce widows and orphans
 * https://github.com/WordPress/gutenberg/issues/55190
 */
h1, h2, h3, h4, h5, h6, blockquote, caption, figcaption, p {
	text-wrap: pretty;
}

/*
 * Change the position of the more block on the front, by making it a block level element.
 * https://github.com/WordPress/gutenberg/issues/65934
*/
.more-link {
	display: block;
}

h1 { color:#aa9c58; }

p { font-size:16px; }
ul { font-size:16px; }

.wp-element-button { background:#aa9c58; font-size:16px; font-weight:600; padding:10px 25px !important; transition:all 0.25s ease; border-radius:20px; }
.wp-element-button:hover { background:#FFF; color:#aa9c58; }

header { margin:0 !important; padding:20px 0; transition:all 0.5s ease; }
header .wp-block-image.size-large { width:100px; transition:all 0.5s ease; }
header .wp-block-group { padding:0 !important; }

header.sticky { position:fixed; z-index:100; top:0; left:0; width:100%; box-sizing:border-box; padding:10px 0; background:rgba(255,255,255,0.8); backdrop-filter:blur(4px); }
header.sticky .wp-block-image.size-large { width:60px; }
.has-modal-open header.sticky { height:100%; }

.header-top { background:#102830; color:#FFF; font-size:16px; padding:10px 0 !important; }
.header-top .wp-block-group { padding:0 !important; }
.header-top .wp-element-button { margin-left:20px; }

.header-image { height:350px; background-size:cover; background-position:center; margin:0 !important; }

ul.wp-block-navigation__container { gap:25px !important; }
.wp-block-navigation-item { font-size:16px; font-weight:400; }

a { text-decoration:none; transition:all 0.25s ease; }
a:hover { color:#aa9c58; text-decoration-color:#aa9c58; text-decoration-thickness:3px !important; }

.mtaxi-blue-bg { background:#102830; padding:40px; margin:40px 0; }
.mtaxi-blue-bg h1, .mtaxi-blue-bg h2, .mtaxi-blue-bg h3 { color:#aa9c58; }
.mtaxi-blue-bg h2 { margin-bottom:40px; }
.mtaxi-blue-bg p, .mtaxi-blue-bg ul li { color:#FFF; }
.wp-block-group .mtaxi-blue-bg:last-child { margin-bottom:-60px; }

.mtaxi-white-bg { padding:40px; }
.mtaxi-white-bg h1, .mtaxi-white-bg h2, .mtaxi-white-bg h3 { color:#aa9c58; }
.mtaxi-white-bg h2 { margin-bottom:40px; }
.wp-block-group .mtaxi-white-bg:last-child { padding-bottom:20px; }

.mtaxi-grey-bg { background:#f2f2f2; padding:40px; margin:40px 0; }
.mtaxi-grey-bg h1, .mtaxi-grey-bg h2, .mtaxi-grey-bg h3 { color:#aa9c58; }
.mtaxi-grey-bg h2 { margin-bottom:40px; }
.wp-block-group .mtaxi-grey-bg:last-child { padding-bottom:20px; }
.wp-block-group .mtaxi-grey-bg:first-child { margin-top:-4.5rem; }

form { text-align:center; }
form label { background:#102830; border:1px solid #102830; border-radius:20px; color:#FFF; padding:0 0 0 20px; margin-bottom:10px; display:block; min-height:34px; position:relative; text-align:left; }
form label input { background:#FFF; border:0; float:right; width:81%; border-radius:0 20px 20px 0; font-size:16px; padding:8px 20px; }
form label input[name=datereservation] { padding:6.5px 20px; }
form label font { padding-top:5px; padding-left:30px; display:inline-block; font-size:16px; }
form label i.fa { position:absolute; font-size:18px; margin-top:8px; }
.wpcf7-not-valid-tip { position:absolute; font-size:12px; background:#aa9c58; color:#FFF; padding:3px 15px; border-radius:20px; min-width:208px; z-index:100; }
.wpcf7-response-output { border:2px solid #aa9c58 !important; font-size:16px; border-radius:20px; text-align:center; }
.wpcf7-submit { margin-top:20px; margin-left:72px; }
.wpcf7-spinner { background-color:#aa9c58; }

form .mtaxi-columns { display:flex; flex-wrap: wrap; justify-content:space-between; }
form .mtaxi-column { flex: 0 0 47%; white-space: nowrap; }
form label.mtaxi-column input { width:60%; }

footer { background:#f2f2f2; padding:0 !important; margin-top:60px !important; }
footer .wp-block-image.size-large { width:100px; }
footer a { text-decoration-color:none !important; }
footer ul.wp-block-navigation__container { gap:10px !important; }
footer > .wp-block-group { padding:40px 0 !important; }
.footer-copyright { border-top:2px solid #aa9c58; padding-top:10px; }

:root { 

}

@media only screen and (max-width : 1000px) {
	.header-top { padding-right: clamp(30px, 5vw, 50px) !important; padding-left: clamp(30px, 5vw, 50px) !important; }
	.header-top .wp-element-button { font-size:14px; margin-left:0; padding:10px 15px; }
	.header-top > .wp-block-group > .wp-block-group:first-child { width:45%; }
	.header-top > .wp-block-group { gap:0; }
	header { padding-right: clamp(30px, 5vw, 50px) !important; padding-left: clamp(15px, 3vw, 25px) !important; }
	
	form .mtaxi-columns { display:block; }
	form label input { width:50% !important; }
	.wp-block-group .mtaxi-grey-bg:first-child { margin-top:-3rem; }
	
	.mtaxi-blue-bg, .mtaxi-grey-bg, .mtaxi-white-bg { padding:40px 0; }
	
	footer .wp-block-navigation__container { margin-top:20px; }
	
	footer .is-layout-flex, footer .wp-block-navigation__container, footer .wp-block-navigation .wp-block-navigation-item { display:block; text-align:center !important; }
	footer figure { display:inline-block; }
	footer nav { text-align:center; }
}