/*!
 * Start Bootstrap - Business Frontpage HTML Template (http://startbootstrap.com)
 * Code licensed under the Apache License v2.0.
 * For details, see http://www.apache.org/licenses/LICENSE-2.0.
 */

body {
    padding-top: 50px;
    font-weight: bold;
    /* Required padding for .navbar-fixed-top. Remove if using .navbar-static-top. Change if height of navigation changes. */
    background-color: #B0DCB0;
    font-family: "Comic Sans MS", Verdana, Arial, Serif;
}

/* Header Image Background - Change the URL below to your image path (example: ../images/background.jpg) */

#logo_lotv {
    width: 150px;
    height: 50px;
}

#title_header {
    background-color: rgba(0, 0, 0, 0.49)
}

#mainnav_bar {
    background-color: #B0DCB0;
    border-bottom: 5px solid rgba(0, 0, 0, 0.5);
    padding: 1px;
    margin: 10px 0;
}

#avatar {
    float: right;
}

.navbar-fixed-top {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    /* Ensures the navbar is on top of other elements */
    border: none;
    padding: 10px 0;
}

/* Padding to prevent content from hiding under the navbar */
body {
    padding-top: 60px;
    /* Adjust based on the navbar height */
}

/* Additional styling for links in the navbar */
.navbar-nav>li>a {
    padding: 15px 20px;
    /* Padding around the links */
    text-decoration: none;
}



/* General Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.navj.collapse.navbar-collapse {
    display: flex;
    /* Use Flexbox layout */
    justify-content: center;
    /* Center content horizontally */
    align-items: center;
    /* Center content vertically */
}

/* Optional reset for margins and padding in ul */
.navbar-nav {
    margin: 0;
    /* Remove default margins */
    padding: 0;
    /* Remove default padding */
}

.nav>li {
    margin: 0px 5px;
}

.navbar-nav>li>a {
    color: #374694;
    /* Primary green color for links */
    padding: 10px 15px;
    margin-bottom: 5px;
    font-weight: bold;
    text-decoration: none;
    background-color: transparent;
    /* Ensures no background initially */
    transition: all 0.3s ease;
    /* Smooth transition for hover effects */
}

#main_container {
    display: flex;
    flex-wrap: wrap;
    padding: 10px;
    /* Optional: for spacing */
}



.navbar-nav>li>a:hover,
.navbar-nav>li>a:focus {
    color: #374694;
    /* White text on hover */
    background-color: #bfb;
    /* Darker green background on hover */
    border-radius: 5px;
    /* Rounded corners */
    transform: scale(1.05);
    /* Slightly enlarge the element on hover */
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3);
    /* Add shadow effect */
}

/* Optional: Active link styling */
.navbar-nav>li.active>a {
    color: #374694;
    background-color: #bfb;
    border-radius: 5px;
    transform: scale(1.05);
    box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.3);
}


/* Navbar container adjustments if needed */
.navbar {
    background-color: #B0DCB0;
    /* Matches the navbar background */
    margin-bottom: 0px;
    border: none;
    border-radius: 0;
    /* Removes default Bootstrap border-radius */
}


/* Menu Styles */
#menu_left {
    flex: 0 0 20%;
    background-color: #c5e59e;
    /* Background color */
    position: sticky;
    /* Sticky position */
    top: 280px;
    /* Distance from the top of the viewport */
    align-self: flex-start;
    /* Ensure it aligns at the start of the container */
    padding: 15px;
}

#menu_left ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

#menu_left ul li {
    margin: 0px 0 10px 0;
}

#menu_left ul li:last-child {
    margin: 0;
}

address {
    margin-top:20px;
}

#menu_left ul li a {
    text-decoration: none;
    /* Remove underline */
    padding: 10px 15px;
    display: block;
    border-radius: 5px;
    /* Rounded corners */
}

#menu_left {
    border-radius: 10px;
    background-color: #c5e59e;
    /* Dark background color */
    padding: 5px;
    width: 100%;
    /* Full width for responsiveness */
}

#menug {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

#menug li {
    margin: 10px 0;
}

#menug li a {
    color: #696;
    box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.3);
    /* Font color */
    background-color: #bfb;
    /* Button color */
    text-decoration: none;
    /* Remove underline */
    padding: 10px 15px;
    display: block;
    border-radius: 5px;
    /* Rounded corners */
    transition: all 0.3s ease;
    /* Smooth transition for hover effects */
    font-weight: bold;
    /* Make text bold */
}

#menug li a:hover {
    background-color: #a6d89b;
    /* Slightly darker green on hover */
    color: #585;
    /* Change text color to white on hover */
    transform: scale(1.05);
    /* Slightly enlarge the element on hover */
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3);
    /* Add shadow effect */
}

#menug li#courant a:hover {
    background-color: #a6d89b;
    /* Slightly darker green on hover */
    color: #585;
    /* Change text color to white on hover */
    transform: none;
}

/* Main Body Styles */
#main_body {
    flex: 1;
    /* Remaining width */
    padding: 8px 30px;
}

#menug {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Style for the burger menu */
.burger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 10px;
}

/* Bars inside the burger menu */
.burger-bar {
    width: 25px;
    height: 3px;
    margin: 3px 0;
    background-color: #5f7c66;
}

/* Show the burger menu on smaller screens */


#embededv {
    border: 5px solid #5f7c66;
    display: inline-block;
    border-radius: 5px;
    margin: 5px;
    padding: 5px;
}

#main_body p {
    line-height: 1.6;
}

#intro {
    margin-top: 5px;
    padding: 0px 15px;
}

#menu_left ul li#courant {
    width: 90%;
    margin-left: 10px;
}

#menu_left ul li#courant a {
    background-color: #a6d89b;
    color: #585;
}


.danger {
    font-style: italic;
    color: #b92323;
    font-weight: bold;
}

h4 {
    font-weight: normal;
    margin-left: 50px;
    color: #654;
    border-bottom: 1px dotted #654;
    font-family: Verdana, serif;
    font-size: 1.05em;
}

hr {
    border-top: 1px #595 solid;
    border-bottom: 1px #8b8 solid;
    border-right: 1px #696 solid;
    clear: both;
}

.center {
    text-align: center;
    text-indent: 0;
}

.formules {
    text-align: center;
    color: #d3271b;
}

.red {
    color: #d3271b;
    font-weight: bold;
    font-style: normal;
}

.sur {
    text-decoration: overline;
}

.danger img {
    float: left;
    margin: 10px;
    margin-top: 0;
}

dt a {
    color: #a44;
    border-bottom: 1px dotted #500;
}

dt a:hover {
    color: #f44;
}

p {
    text-indent: 20px;
}

p.noindent {
    text-indent: 0px;
}

p#suivant {
    width: 190px;
    height: 28;
    margin: 0 auto;
}

p#suivant a {
    display: block;
    width: 70px;
    height: 28px;
    border: none;
}

p#suivant a#floatl {
    float: left;
    background: url("../images/precedent.png");
    margin-right: 20px;
}

p#suivant a#floatr {
    float: right;
    background: url("../images/suivant.png");
    margin-left: 20px;
}

p#suivant a#floatl:hover {
    background: url("../images/precedent2.png");
}

p#suivant a#floatr:hover {
    background: url("../images/suivant2.png");
}

p>em {
    font-size: 16px;
}


h2 {
    text-align: center;
    color: #b44;
    padding-bottom: 5px;
    border-bottom: 3px ridge #f50;
    border-top: 3px ridge #f50;
    font-family: "Comic Sans MS", Verdana, Arial, Serif;
    margin: 0;
    font-size: 2.2em;
    font-weight: bold;
    padding: 10px 0px;
}

h3 {
    color: #828;
    font-size: 25px;
    border-bottom: 2px ridge #f4a;
    text-indent: 5px;
    font-family: "Comic Sans MS", Serif;
    width: 95%;
    font-weight: bold;
    padding-bottom: 5px;
}

#main_container {
    background-color: #86af86;
    border: 5px solid #5f7c66;
    border-radius: 10px;
}

#principes_coaching {
    background: #f9f9f9;
    border-left: 10px solid #ccc;
    margin: 1.5em 10px;
    padding: 0.5em 10px;
    font-size: 13px;
    font-style: italic;
}

#head {
    height: 166px;
    background: url('../images/header.png') center center no-repeat scroll;
}

/* Customize the text color and shadow color and to optimize text legibility. */

.img_index {
    max-width: 180px !important;
}

.alinea {
    margin-left: 30px;

}

.not-active {
    pointer-events: none;
    cursor: default;
    color: #4C4C4C !important;
}

.tagline {
    text-shadow: 0 0 10px #000;
    color: #fff;
}

.img-center {
    margin: 0 auto;
}

.portfolio-item {
    margin-bottom: 25px;
}

.navbar-brand {
    padding: 0px;
}

footer {
    margin: 10px 0;
}

.navbar-toggle {
    border: none;
    background: transparent !important;
}

.navbar-toggle .icon-bar {
    background-color: #333;
}

.display_on_mobile {
    display:none;
}

iframe {
    aspect-ratio: 16 / 9;
    width: 100% !important;
}

.picto_extern {
    width: 12px;
    margin-left: 5px;
    margin-bottom: 8px;
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        display: flex;
        flex-wrap: wrap;
    }



    .display_on_mobile {
        display:inline-block;
    }

    #menu_left {
        flex: 0 0 100%;
        /* Full width on small screens */
    }

    .navbar-nav {
        flex-direction: column; /* Stack items vertically on smaller screens */
    }

    #main_body {
        flex: 0 0 100%;
        padding-top: 55px;
    }

    #mainnav_bar {
        border: 5px solid #5f7c66;
        border-radius: 10px;
        z-index: 1000000;
        height:145px;
    }

    #menu_left {
        position: absolute;
        align-items: center; /* Vertically center items */
        padding: 10px; /* Add some padding for spacing */
        top:auto;
        z-index: 1000;
        width:auto;
    }
    
    .burger-menu {
        justify-content: center;
        cursor: pointer;
        margin-right: 10px; /* Space between burger and text */
        padding: 0px;
        margin-top: 0px;
        margin-left: 7px;
    }
    
    .burger-bar {
        width: 25px;
        height: 3px;
        background-color: #333; /* Adjust color as needed */
        margin: 4px 0; /* Space between bars */
    }
    
    .display_on_mobile {
        align-items: center; /* Vertically center the text */
    }
    
    .display_on_mobile span {
        margin: 0; /* Remove default margin */
        color: #333; /* Adjust text color as needed */
        font-size: 18px;
    }



    .nav>li {
        position: relative;
        display: inline-block;
    }

    #head {
        height: 85px;
        background: url(../images/header.png) center center no-repeat scroll;
        background-size: contain;
    }

    #main_container {
        padding: 0px;
        overflow: auto;
        max-height: calc(100vh - 245px);
    }

    .navbar-header .navbar-toggle {
        display: block;
        margin: 10px;
        background-color: #eaf5dd !important;
    }

    .burger-menu {
        display: inline-block;
        width:18px;
        margin-bottom: -6px;
    }

    #menug {
        max-height: 0; /* Start with max-height 0 to hide the content */
        overflow: hidden; /* Hide any content that overflows the max-height */
        opacity: 0; /* Start with opacity 0 for invisibility */
        transition: max-height 0.5s ease-out, opacity 0.5s ease-out; /
    }

    #menug.active {
        max-height: 500px;
        opacity: 1;
        /* Show the menu when active */
    }

    .navbar-collapse.in {
        display: block !important; /* Display the menu items when the navbar is expanded */
    }

    .navbar-nav>li>a {
        padding: 10px 5px;
    }

    .navbar-nav>li.active>a {
        box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.3);
    }

    footer {
        width: 100%;
        height:70px;
    }

}