﻿html,
body {
    margin: 0;
    padding: 0;
    height: 100%;
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

#wrapper {   
    margin: 0 auto;
}


/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    max-width: 900px; /*Dr Georges*/
}

/* Dr Georges*/
.slider {
    width:407px ;
    height: 200px;
    border: solid 1px #555;
    padding: 0;
    position:relative;
    margin: auto;
    overflow: hidden;
    float:left;
}

@keyframes slide {
    0% {
        left: 0px;
    }

    10% {
        left: 0px;
    }

    35% {
        left: -100%;
    }

    45% {
        left: -100%;
    }

    75% {
        left: -200%;
    }

    85% {
        left: -200%;
    }

    90% {
        left: 0px;
    }
}
#bandeau {
    height:50px;
    background-color: #DFEAEC;
    margin-top:0px;  
}
#slider-list {
    list-style-type: none;
    display: flex;
    margin: 0;
    position: absolute;
    left: 0;
    top: 0;
    padding: 0;
    animation: slide 15s linear infinite;
}

#slider-list img {
   width: 400px;
   height: 200px;
   margin: 0;
}

#portailContainer {    
    width: 100%;
    height: auto;
    margin:0 auto;
    padding:0;
}
#bActualites {
    float:left;
    position: absolute;
    width: 72%;
    height: auto;
    /*background-color: red;*/
    /*margin-right:-2px;*/
    /*border: 2px solid;*/
    padding: 5px;
    left: 15px;
    
}

#bPresse {
    position: absolute;
    width: 72%;
    height: auto; 
    padding: 5px;    
    left: 439px;    
}

#bInfos {
    float:right;
    position: absolute;
    width: 28%;
    height: auto;
    padding: 5px;    
    left: 900px;
}
#bActualites-box-title {
    background-color:dodgerblue;
    color:white;
    text-align:center;
    width:auto;
    height:30px;
}
.bBox-title {
    background-color: #81BEF9;
    color:ghostwhite;
    text-align: center;
    font-style:normal;
    font-weight:bold;
    width: auto;
    height: 30px;
    padding: 2px
}
#bPresse-box-title {
    background-color: dodgerblue;
    color: white;
    text-align: center;
    width: auto;
    height: 30px;
}
#bInfos-box-title {
    background-color: dodgerblue;
    color: white;
    text-align: center;
    width: auto;
    height: 30px;
}

.separ_horiz_box {
    width:auto;
    height:10px;
    background-color:darkslateblue;
}
.conteneur_liens {
    display: flex;
    flex-flow: row; /* Affichage horizontal du contenu */
    justify-content: space-between; /* Espace entre chaque photo */
    align-items: center; /* Centrer verticalement dans le conteneur */
    min-height: auto; /* Ajustement automatique de la hauteur du conteneur */
    border-radius: 10px;
    padding: 20px;
    box-sizing: border-box;
    margin-bottom: 30px;
    background-color: antiquewhite;
}

.myCombo {
    width: 350px;
    height:34px;
    max-width:600px;
}

.myCombo2 {
    width: 75px;
    height: 25px;
    max-width: 80px;
}

.marquee {
    height: 60px;
    white-space: nowrap;
    overflow: hidden;
    /*background-color:steelblue;*/
    margin-left: 10px;
    margin-right: 10px;
    /*vertical-align: central;*/
    line-height: 50px;
    color: Black;
    box-sizing: border-box;
    text-align: center;
}
.marquee p {
    display: inline-block;
    padding-left: 100%;
    animation: marquee 10s linear alternate infinite;        
}

@keyframes marquee {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(-100%, 0);
    }
}
aside {
    float: right;
    width: 20%;
    background-color:transparent;
}
article {  
    width:79%;
    background-color:whitesmoke;
}

.carousel-page {
    width: 100%;
    height: 326px;
    background-color: aliceblue;
    color: darkblue;
}
.carousel-inner {

}
.carousel .item {
    height: 326px;
}
.item img {
    position: absolute;
    object-fit: contain;
    top: 0;
    left: 0;
    min-height: 326px;
    margin:auto;
}


a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

/* Provide sufficient contrast against white background */
a {
    color: #0366d6;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}
html {
    font-size: 100%;
}

h1 {
    font-size: 3em;
}

.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}

html {
    position: relative;
    min-height: 100%;
}
.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    height:2.5rem;
    /*white-space: nowrap;
    line-height: 60px; Vertically center the text there */
}

@media (max-width: 360px) {
    * {
        /*box-sizing: border-box;*/
    }

    /* passer body (et tous les éléments de largeur fixe) en largeur automatique */

    body {
        width: auto;
        margin: 0;
        padding: 0;
    }

    /* fixer une largeur maximale de 100% aux éléments potentiellement problématiques */

    img,
    table,
    td,
    blockquote,
    code,
    pre,
    textarea,
    input,
    iframe,
    object,
    embed,
    video {
        max-width: 100%;
    }

    /* conserver le ratio des images */

    img {
        height: auto;
    }

    /* gestion des mots longs */

    textarea,
    table,
    td,
    th,
    code,
    pre,
    samp {
        -webkit-hyphens: auto; /* césure propre */
        -moz-hyphens: auto;
        hyphens: auto;
        word-wrap: break-word; /* passage à la ligne forcé */
    }

    code,
    pre,
    samp {
        white-space: pre-wrap; /* passage à la ligne spécifique pour les éléments à châsse fixe */
    }

    /* Passer à une seule colonne (à appliquer aux éléments multi-colonnes) */

    .element1,
    .element2 {
        float: none;
        width: auto;
    }

    /* masquer/afficher les éléments  */

    .u-mobile {
        display: block;
        display: revert !important; /* affichage des éléments */
    }

    .u-no-mobile {
        display: none !important; /* masquage des éléments */
    }

    h1 {
        font-size: 1.5em;
    }
    /* Un message personnalisé */

    body:before {
        content: "Version mobile du site";
        display: block;
        text-align: center;
        font-style: italic;
        color: #777;
    }
}
@media (max-device-width:768px) and (orientation: landscape) {
    html {
        -webkit-text-size-adjust: 100%;
        -ms-text-size-adjust: 100%;
    }
    h1 {
        font-size: 2em;
    }
}
@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
    h1 {
        font-size: 2.5em;
    }
}
@media print {
    * {
        display: none;
    }

    #printableTable {
        display: block;
    }
}
