/*
Theme Name: Babaomby Illdy
Theme URI: https://www.babaomby.com
Description: Child theme of Illdy carrying every customisation of babaomby.com (front-page sections, header layout, fonts, colours, spacing), so the Illdy parent stays stock and can be updated safely.
Author: Infinitic / P-ZeN
Template: illdy
Version: 1.0.1
Requires at least: 5.8
Requires PHP: 7.4
Text Domain: babaomby-illdy
*/

/*
 * This file is enqueued by the parent (get_stylesheet_uri()) after its own
 * main.css and custom.css, so plain same-specificity rules override.
 * Section numbers follow the parent's main.css so a rule is easy to trace.
 */

/* 00. Site font: everything the parent sets in Lato or Poppins.
 * (Selector list generated from the parent's main.css; the two Contact Form 7
 * inputs were deliberately left on Lato by the original customisation.) */
body,
h1, h2, h3, h4, h5, h6,
ul, ol,
.front-page-section .section-header .section-description,
#header .top-header .header-navigation ul li,
#header .top-header .header-navigation ul li.menu-item-has-children .sub-menu li a,
#header .bottom-header h1,
#header .bottom-header .section-description,
#header .bottom-header .header-button-one,
#header .bottom-header .header-button-two,
#about .skill .skill-top .skill-progress-bar .ui-progressbar-value .ui-progressbar-value-top,
#about .skill .skill-bottom span,
#testimonials .section-content .testimonials-carousel .carousel-testimonial .testimonial-content blockquote,
#testimonials .section-content .testimonials-carousel .carousel-testimonial .testimonial-meta,
#services .section-content .service .service-entry,
#latest-news .section-content .post .post-button,
#latest-news .latest-news-button, a.button,
#counter .counter-number,
#counter .counter-description,
#contact-us .section-content .contact-us-box .box-left,
#contact-us .section-content .contact-us-box .box-right span,
#contact-us .section-content .wpcf7-form p .wpcf7-submit,
.wpcf7 label,
#footer .widget .widget-title h3,
.widget table caption,
.widget ul li a.rsswidget,
span.rss-date, .post-date,
input[type="text"], input[type="email"], input[type="number"], input[type="search"], textarea,
#comments #respond .comment-form #input-submit, input[type=submit] {
	font-family: "Yanone Kaffeesatz", sans-serif;
}

/* 01. General */
a {
	color: #4444CC;
	font-size: 20px;
}

.front-page-section .section-header {
	margin-bottom: 50px;
}

/* 02. Header: the menu is centred and full width, the logo sits under it. */
#header .top-header .header-navigation {
	float: none;
	margin-left: auto;
}

#header .top-header .header-navigation ul {
	margin: 0 auto 10px auto;
	padding: 0 0 0 40px;
}

#header .top-header .header-navigation ul li.menu-item-has-children .sub-menu {
	width: 250px;
}

#header .top-header .header-navigation ul li a {
	font-size: 23px;
}

#header .bottom-header {
	padding-top: 0;
	padding-bottom: 0;
}

#header .bottom-header.blog {
	padding: 0;
}

/* Keep the parent's mobile paddings for the blog header (they used to apply
 * because the desktop rule had simply been removed). */
@media screen and (max-width: 768px) {
	body #header .bottom-header.blog {
		padding-top: 70px;
		padding-bottom: 70px;
	}
}

@media screen and (max-width: 500px) {
	body #header .bottom-header.blog {
		padding-bottom: 50px;
	}
}

/* 03. About / static pages */
#about,
#static-page-content {
	padding: 0;
}

/* 04. Projects */
#projects {
	padding: 0;
}

/* 05. Testimonials */
#testimonials {
	padding: 0;
}

/* 06. Services */
#services {
	padding: 0;
}

#services .section-content .service .service-title {
	color: #FFF;
	margin-top: 30px;
	margin-bottom: 0;
}

/* 07. Latest News */
#latest-news {
	background-color: #2a2a2a;
	padding: 0 0 30px 0;
}

#latest-news .section-header h3 {
	color: inherit;
}

#latest-news .section-content .post {
	padding-bottom: 20px;
	min-height: 482px;
}

#latest-news .illdy-blog-post {
	min-height: 500px;
}

/* 09. Team */
#team {
	padding: 0;
}

/* 11. Footer */
#footer a {
	color: #8c9597;
	font-size: 20px;
}

/* 12. Blog / page content */
.markup-format h1,
.markup-format h2,
.markup-format h3,
.markup-format h4,
.markup-format h5,
.markup-format h6 {
	margin: 10px 0;
}

.markup-format p {
	margin: 15px 0;
}

.markup-format a {
	color: #2a2a2a;
}

.markup-format table {
	margin-bottom: 20px;
}

.markup-format table tbody {
	color: #000;
	font-size: 16px;
}

/* 15. Forms */
input[type=submit] {
	background-color: #777777;
}

/* 18. Gallery */
.gallery-item {
	margin-bottom: 5px;
}

/* 19. Decor: the SVG triangle separators between front-page sections. */
[class*="decor-"] {
	position: absolute;
	width: 100%;
	height: 60px;
	left: 0;
}

[class*="decor-"] svg {
	height: 101%;
}

.decor-top {
	bottom: 100%;
}

.decor-bottom {
	top: 100%;
}

.decor {
	display: block;
	position: relative;
	margin: 0 auto;
}

.decor_interne {
	display: block;
	position: relative;
	margin-top: -120px;
}

/* 20. GTranslate switcher */
.switcher {
	border: none;
}

/* 21. Responsive: hide the About section's side images on small screens. */
@media screen and (max-width: 800px) {
	#backContainer1,
	#backContainer2 {
		display: none;
	}
}
