/*
Theme Name: Challenge Child Theme
Theme URI: https://challenge.themerex.net/
Description: Challenge is a Premium WordPress theme that has built-in support for popular Page Builders, slider with swipe gestures, and is SEO- and Retina-ready. The unique system of inheritance and override options allows setting up individual parameters for different sections of your site and supported plugins.
Author: ThemeREX
Author URI: https://themerex.net/
Version: 1.5.0
Tested up to: 6.8
Requires at least: 5.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: blog, e-commerce, portfolio, grid-layout, one-column, two-columns, three-columns, four-columns, left-sidebar, right-sidebar, custom-background, custom-colors, custom-header, custom-logo, custom-menu, editor-style, featured-image-header, featured-images, flexible-header, footer-widgets, full-width-template, microformats, post-formats, sticky-post, theme-options, threaded-comments, translation-ready, block-styles, wide-blocks
Text Domain: challenge
Template: challenge
*/


/* =Child-Theme customization starts here
------------------------------------------------------------ */

div.am-lite-footer > a {
	 display: none !important;
}
 .mptt-shortcode-wrapper {
	 max-width: 1000px;
	 margin: 0 auto;
}

 .mptt-shortcode-wrapper .mptt-menu.mptt-navigation-select {
	 display: none !important;
}
 .mptt-shortcode-table {
	 table-layout: fixed !important;
	 width: 100% !important;
	 border-collapse: collapse !important;
}
 .mptt-shortcode-table thead th {
	 background-color: #1d1d1b !important;
	 color: #fff !important;
	 padding: 10px 5px !important;
	 text-transform: uppercase;
	 font-size: 14px;
	 border: 1px solid #fff !important;
	 letter-spacing: 1px;
}
 .mptt-shortcode-table .mptt-shortcode-hours {
	 background-color: #EE7F3B !important;
	 color: #fff !important;
	 font-weight: bold;
	 text-align: center;
	 vertical-align: middle !important;
	 width: 80px !important;
	 font-size: 13px;
}
 .mptt-shortcode-table td {
	 padding: 0 !important;
	 border: 1px solid #fff !important;
	 vertical-align: stretch !important;
	 background: #f5f5f5;
}
 .mptt-shortcode-table td.mptt-shortcode-event {
	 height: 80px !important;
}
 .mptt-event-container {
	 height: 100% !important;
	 max-height: 100% !important;
	 display: flex !important;
	 flex-direction: column;
	 justify-content: center;
	 align-items: center;
	 margin: 0 !important;
	 border-radius: 0 !important;
	 padding: 5px !important;
	 box-sizing: border-box;
	 overflow: hidden;
}
 .mptt-event-container a.event-title {
	 font-weight: 800 !important;
	 text-transform: uppercase;
	 text-decoration: none;
	 font-size: 12px;
	 line-height: 1.2;
	 margin-bottom: 4px;
}
 .mptt-event-container .timeslot {
	 font-size: 10px;
	 color: #333;
	 font-weight: bold;
}
 .mptt-event-container[data-event-id="104"] a.event-title {
	 font-size: 14px !important;
	 font-weight: 300;
}
 .custom-modal {
	 display: none;
	 position: fixed;
	 z-index: 99999;
	 left: 0;
	 top: 0;
	 width: 100%;
	 height: 100%;
	 background-color: rgba(0,0,0,0.85);
	 align-items: center;
	 justify-content: center;
}
 .custom-modal #slot_course, .custom-modal #slot_day, .custom-modal #slot_time {
	 display: none !important;
}
 .custom-modal.active {
	 display: flex;
}
 .custom-modal .modal-content {
	 background: #fff;
	 padding: 30px;
	 width: 95%;
	 max-width: 450px;
	 border-radius: 4px;
	 position: relative;
	 text-align: center;
}
 .custom-modal .modal-content h2 {
	 color: #EE7F3B;
	 margin: 0 0 10px;
	 text-transform: uppercase;
	 font-family: inherit;
	 font-weight: 800;
}
 .custom-modal .modal-content #modal-subtitle {
	 font-weight: bold;
	 margin-bottom: 20px;
	 color: #333;
	 font-size: 14px;
	 text-transform: uppercase;
}
 .custom-modal .modal-content .wpcf7-form-control-wrap {
	 margin-bottom: 15px;
	 display: block;
}
 .custom-modal .modal-content input[type="text"], .custom-modal .modal-content input[type="email"], .custom-modal .modal-content input[type="tel"] {
	 width: 100%;
	 padding: 10px;
	 border: 1px solid #ccc;
	 box-sizing: border-box;
}
 .custom-modal .modal-content input[type="submit"] {
	 background: #EE7F3B;
	 color: #fff;
	 border: none;
	 padding: 12px 25px;
	 font-weight: bold;
	 text-transform: uppercase;
	 cursor: pointer;
	 width: 100%;
}
 .custom-modal .modal-content input[type="submit"]:hover {
	 background: #d14a1d;
}
 .custom-modal .close-modal {
	 position: absolute;
	 right: 15px;
	 top: 10px;
	 font-size: 30px;
	 cursor: pointer;
	 line-height: 1;
	 color: #000;
}
 .custom-modal .close-modal:hover {
	 color: #EE7F3B;
}


@media (max-width: 767px) {

	.mptt-shortcode-wrapper {
		 overflow-x: scroll;
	}

	.mptt-shortcode-wrapper.mptt-table-responsive table[id="#all"] {
		 display: inline-table !important;
		 width: 700px !important;
	}
	 
	.mptt-shortcode-wrapper.mptt-table-responsive .mptt-shortcode-list  {
	        display: none!important;
	    }
	}
}



/** Intégration du formulaire **/

.wpcf7 {
	 margin: 0 auto;
	 background: white;
	 padding: 40px;
}
 .wpcf7 p {
	 margin-bottom: 0 !important;
}
 .wpcf7 br {
	 display: none !important;
}
 .wpcf7 label {
	 display: block;
	 font-family: 'Montserrat', sans-serif;
	 font-weight: 700;
	 text-transform: uppercase;
	 font-size: 13px;
	 color: #1d1d1b;
	 margin: 20px 0 8px 0;
}
 .wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 input[type="tel"], .wpcf7 input[type="date"], .wpcf7 select, .wpcf7 textarea {
	 width: 100% !important;
	 height: 50px;
	 padding: 0 15px !important;
	 background: #ffffff !important;
	 border: 1px solid #d1d1d1 !important;
	 border-radius: 4px !important;
	 color: #1d1d1b !important;
	 font-size: 15px !important;
	 box-sizing: border-box !important;
	 transition: all 0.2s ease;
}
 .wpcf7 input[type="text"]:focus, .wpcf7 input[type="email"]:focus, .wpcf7 input[type="tel"]:focus, .wpcf7 input[type="date"]:focus, .wpcf7 select:focus, .wpcf7 textarea:focus {
	 outline: none !important;
	 border-color: #EE7F3B !important;
	 box-shadow: 0 0 5px rgba(241,90,36,0.2) !important;
}
 .wpcf7 textarea {
	 height: 120px !important;
	 padding: 15px !important;
}
 .wpcf7 input[type="submit"] {
	 width: auto;
	 min-width: 200px;
	 height: 60px;
	 background: #EE7F3B !important;
	 color: #fff !important;
	 border: none !important;
	 border-radius: 4px !important;
	 font-weight: 500 !important;
	 text-transform: uppercase !important;
	 font-size: 16px !important;
	 letter-spacing: 1px !important;
	 cursor: pointer;
	 margin-top: 25px !important;
	 padding: 0 30px !important;
}
 .wpcf7 input[type="submit"]:hover {
	 background: #1d1d1b !important;
}
 .wpcf7 .wpcf7-not-valid-tip {
	 color: #e13e06 !important;
	 font-size: 12px !important;
	 font-weight: 500 !important;
	 margin-bottom: 5px !important;
}
 .wpcf7 .wpcf7-response-output {
	 border-radius: 4px !important;
	 margin: 20px 0 0 0 !important;
	 font-size: 14px !important;
}
 .wpcf7 [data-name] {
	 margin-top: 10px;
	 display: flex;
	 flex-direction: column;
}
 
@media (max-width: 767px) {
	 .mptt-shortcode-wrapper.mptt-table-responsive table[id="#all"] {
		 display: inline-table !important;
		 width: 700px !important;
	}
}
 .mptt-shortcode-wrapper table.mptt-shortcode-table td.mptt-shortcode-event {
	 height: auto !important;
	 vertical-align: top !important;
	 position: relative !important;
	 background: #F7F9F1 !important;
}
 .mptt-shortcode-wrapper .mptt-event-container {
	 position: relative !important;
	 min-height: 100px !important;
}
 .mptt-shortcode-wrapper td.mptt-shortcode-hours {
	 height: 100px !important;
	 min-height: 100px !important;
}
 .separator-line td {
	 border-top: 20px solid #F7F9F1 !important;
	 border-bottom: 20px solid #F7F9F1 !important;
}
 .separator-line td:first-child {
	 background-color: #e35205 !important;
	 color: #fff !important;
	 font-weight: bold !important;
	 text-align: center;
}
.timeslot {
    display: none;
}

.e-n-accordion-item-title-icon {
    background: #EE7F3B;
    padding: 14px 15px;
    border-radius: 50%;
}

.elementor-widget-n-accordion .e-n-accordion-item {
	flex-direction: column-reverse!important;
} 