/*
Theme Name: Ecole LBS Baguida
Theme URI: https://ecolelbsbaguida.com/
Author: Theme Conversion
Author URI: https://ecolelbsbaguida.com/
Description: Thème WordPress basé sur le template KidsPro pour l'École LBS Baguida. Thème éducatif moderne et responsive.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ecole-lbs
Domain Path: /languages/
Tags: education, school, kindergarten, responsive, bootstrap-5, custom-menu, custom-logo, featured-images, threaded-comments, translation-ready
*/

/* --------------------------------------------------------------
    WordPress Theme Styles
-------------------------------------------------------------- */

/* Admin Bar Fix */
body.admin-bar .fixed-top {
    top: 32px;
}

@media screen and (max-width: 782px) {
    body.admin-bar .fixed-top {
        top: 46px;
    }
}

/* WordPress Alignments */
.alignleft {
    display: inline;
    float: left;
    margin-right: 1.5em;
}

.alignright {
    display: inline;
    float: right;
    margin-left: 1.5em;
}

.aligncenter {
    clear: both;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* WordPress Caption */
.wp-caption {
    margin-bottom: 1.5em;
    max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption .wp-caption-text {
    margin: 0.8075em 0;
}

.wp-caption-text {
    text-align: center;
}

/* Gallery */
.gallery {
    margin-bottom: 1.5em;
}

.gallery-item {
    display: inline-block;
    text-align: center;
    vertical-align: top;
    width: 100%;
}

.gallery-columns-2 .gallery-item {
    max-width: 50%;
}

.gallery-columns-3 .gallery-item {
    max-width: 33.33%;
}

.gallery-columns-4 .gallery-item {
    max-width: 25%;
}

.gallery-columns-5 .gallery-item {
    max-width: 20%;
}

.gallery-columns-6 .gallery-item {
    max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
    max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
    max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
    max-width: 11.11%;
}

.gallery-caption {
    display: block;
}

/* Bypostauthor */
.bypostauthor {
    display: block;
}

/* Screen Reader Text */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    clip-path: none;
    color: #21759b;
    display: block;
    font-size: 14px;
    font-size: 0.875rem;
    font-weight: bold;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

/* Comments */
.comment-content a {
    word-wrap: break-word;
}

/* Infinite Scroll */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
    display: none;
}

.infinity-end.neverending .site-footer {
    display: block;
}

/* Custom Widgets */
.widget select {
    max-width: 100%;
}

/* Navigation */
.main-navigation {
    clear: both;
    display: block;
    float: left;
    width: 100%;
}

.main-navigation ul {
    display: none;
    list-style: none;
    margin: 0;
    padding-left: 0;
}

.main-navigation ul ul {
    box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
    float: left;
    position: absolute;
    top: 100%;
    left: -999em;
    z-index: 99999;
}

.main-navigation ul ul ul {
    left: -999em;
    top: 0;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
    left: 100%;
}

.main-navigation ul ul a {
    width: 200px;
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
    left: auto;
}

.main-navigation li {
    float: left;
    position: relative;
}

.main-navigation a {
    display: block;
    text-decoration: none;
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
    display: block;
}

/* Theme Specific Adjustments */
body {
    font-family: 'Open Sans', sans-serif;
}

/* Custom Header Styles */
.header-top {
    background-color: #1a5f7a;
    color: #fff;
}

.header-nav {
    background-color: #fff;
}

/* Logo adjustments */
.site-brand img {
    max-height: 60px;
    width: auto;
}

/* Footer adjustments */
.site-footer {
    background-color: #1a5f7a;
    color: #fff;
}

/* Color scheme for Ecole LBS Baguida */
:root {
    --primary-color: #1a5f7a;
    --secondary-color: #e67e22;
    --accent-color: #27ae60;
    --text-color: #333;
    --light-bg: #f8f9fa;
}

.btn-theme-colored1 {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

.btn-theme-colored2 {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: #fff;
}

.line-bottom-theme-colored1::after {
    background-color: var(--primary-color);
}

.theme-color1 {
    color: var(--primary-color);
}

.theme-bg-color1 {
    background-color: var(--primary-color);
}

/* Custom responsive adjustments */
@media (max-width: 991.98px) {
    .header-top .contact-info {
        text-align: center;
    }
    .header-top .social-icons {
        text-align: center;
        margin-top: 10px;
    }
}

/* Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Scroll to top button */
.scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background-color: var(--secondary-color);
}
