
/* Smartphones ----------- */
@media only screen and (max-width: 760px) {
    #detect-mobile-div { display: none; }
}

@font-face {
    font-family: 'myriad';
    src: url('font/mentone-semibol-webfont.eot');
    src: local('font/MYRIADPROREGULAR'),
         url('font/MYRIADPROREGULAR.woff') format('woff'),
         url('font/MYRIADPROREGULAR.otf') format('OpenType'),
         url('font/MYRIADPROREGULAR.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

body {
    font-family:myriad ;
    height: 100%;
    font-size: 14px;
}

/* Bootstrap 5 reset - remove default link underlines where needed */
a {
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.btn, .nav-link, .dropdown-item {
    text-decoration: none !important;
}

h1 {
    color: #616161;
    font-size: 2em;
}

.base_comment_herbier_container {
    text-align: justify;
}
.bandeau-pre-footer{
    background: url("../img/headersite.png");
    background-size: cover;
    height: 80px;
    background-position: 50% 50%;
    margin-top: 0px;
}


#content {
    min-height: calc(100% - 337px);
    height: auto;
    /* Negative indent footer by its height */
    margin: 0 auto 0;
    /* Pad bottom by footer height */
    padding: 0 0 0;
}

.comment_container{
    border-top: 1px solid #ddd;
}


@media only screen and (max-width: 990px) {
    #content {
        min-height: calc(100% - 10px);
        margin: 0 auto -30px;
    }
}

.commentaire{
    margin-top: 10px;
}
.comment_base_herbier_container {
    font-size: 14px;
    text-align: justify;
}

.comments_div_container
{
    margin-top: 20px;

}

.copyright_part{
    font-style: italic;
    font-size: 12px;
    margin-left: calc(-.5 * var(--bs-gutter-x));
}

#comment_form { display: none; }
#loan_form { display: none; }

.error {
    color: #a94442;
}
#fondH{
    background: url("../img/headersite.png");
    background-size: cover;
    height: 80px;
    background-position: 50% 50%;
}

#footer, .footer_row{
    height: 90px;

}
#footer_logos_container
{
    max-width: 560px;
    width: 100%;
    margin: auto;
}

.head-bar {
    height: 80px;
}

.herbier_fiche_list label {
    width: 170px;
}

.global_content_container{
    padding: 20px 15px 40px 15px;
}

@media (min-width: 768px) {
    .global_content_container {
        padding: 30px 20px 40px 20px;
    }
}

.img_zoomed {
    max-height:400px;
    min-height: 300px;
}
.image_part {
    min-height: 500px;
}

.logos_footer li{
    display: block;
    float: left;
}

.logo_herbier {
    position: absolute;
    margin-left: calc(50% - 64px); /* l'image fait 128Px donc 50% - (128/2 )*/
}

.menu_lang {
    float: right;
    display: block;
    margin-right: 10px;
    margin-top: 20px;
    background-color: #12063b;
}

.menu_lang .btn {
    transition: all 0.2s ease-in-out;
    border-radius: 4px;
}

.menu_lang .btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.menu_lang .dropdown-menu {
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border: none;
    min-width: 140px;
}

.menu_lang .dropdown-item {
    transition: background-color 0.15s ease;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    margin: 2px 4px;
}

.menu_lang .dropdown-item:hover {
    background-color: rgba(87, 6, 85, 0.1);
}

.menu_lang .dropdown-item.active {
    background-color: rgb(87, 6, 85);
    color: white;
}

.menu_lang .bi-globe2 {
    font-size: 1rem;
}



.other_pictures_container{
    margin-top: 20px;
    margin-bottom: 20px;
}


.secondary_pics{
    min-height: 120px;
}


#wrapper {
  /*  max-width: 900px;*/
    margin: auto;
    /*padding: 0px 20px 20px 20px;*/
}

.form-control::-moz-placeholder {
  color: #999;
  font-style: italic;
  font-size: 0.9em;
}
.form-control:-ms-input-placeholder {
  color: #999;
  font-style: italic;
  font-size: 0.9em;
}
.form-control::-webkit-input-placeholder {
  color: #999;
  font-size: 0.9em;
}

textarea.form-control {
    padding: .375rem .75rem !important;
}

/* ===== Accessibility: Reduced motion (WCAG 2.3.3) ===== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ===== Accessibility: Focus indicators (WCAG 2.4.7) ===== */
:focus-visible {
    outline: 2px solid #570655;
    outline-offset: 2px;
}
:focus:not(:focus-visible) {
    outline: none;
}
