/*
styles.css
*/
/* 
    Created on : 22 juin 2020, 09:22:30
    Author     : Steph
*/


/* BANNIERE */
header {    
    height: 80px;
    font-family: 'Allura', cursive;
    background-color: #616B61;
    color: white;    
    font-size: 40px;
    text-align: center !important;
    line-height: 80px; /* hauteur de ligne (identique) */
    white-space: nowrap;    
}

/* FOOTER */
footer {
    font-family: 'Ubuntu', sans-serif;
    background-color: #616B61;     
    height: 50px;
    line-height: 50px;
    margin-bottom: 0;
    color: white;
    text-align: left;
    padding-left: 30px;
    font-size: 8px; 
}

#lien_footer {    
    color: white;
    float: right;
    margin-right: 30px;
    text-decoration: underline;
}
#lien_footer:hover {
    background-color: white;
    color: #616B61;
}


/* BARRE DE NAVIGATIOn */
nav, nav a {
    font-family: 'Ubuntu', sans-serif;    
    font-size: 20px;
    color: white;
    background-color: #616B61;
    text-decoration: none;    
    justify-content: center;
    
}
nav a {
    margin: 0 10px 0 10px;
    
}
nav li {
    display: inline-block;
}
nav a:hover {
    background-color: white;
    color: #616B61;
}

.navbar-toggler-icon {
    color: white;
    font-size: 30px;
}
a.dropdown-item {
    margin: 0;
}


a.dropdown-item:hover {
    background-color: rgb(97,107,97);
    color: white;
    margin: 0;
}

.dropdown-menu {
    border-radius: 5px;
}

/* CAROUSEL */
#myCarousel {
    display: none;
}

/* GENERAL */
.couleur_bleu_titre {
    color: #293C8F;
    text-transform: uppercase;
    margin-top: 30px;
}

section {
    background-color: white;
    font-family: 'Ubuntu', sans-serif;
    text-align: justify;
    font-weight: bold;
    padding-top: 20px ;
}
.img_centre {
    display: block;
    margin: 15px auto;
    min-width: 15%;
    height: auto;
}
h2 {
    text-align: center;
}
.souligne {
    text-decoration: underline;
}
.rouge {
    color: #d92127;
}
.vert-divider {
    width: 150px;
    height: 3px;
    background: #616B61;
    margin: 30px auto;
}

.button {
    color: white;
    text-decoration: none;
    border: 2px solid;
    box-shadow: 4px 4px 0px #616B61;
    background-color: #8C0D4C;
    padding: 10px;
    margin: 15px 0 15px 0;
    border-radius: 5px;
    white-space: normal;
}
.button:hover {
    color: #8C0D4C;
    background-color: white;
}
.button2 {
    color: white;
    box-shadow: 4px 4px 0px #616B61;
    background-color: #293C8F;
    padding: 10px;
    border-radius: 5px;
}
.button2:hover {
    color: #293C8F;
    background-color: white;
}

#contact-form input[type=submit] {
    margin: 10px auto 30px;
    display: block;
}

.fond_bleu {
    background-color: rgba(41,60,143,0.1);
}
.italique {
    font-style: italic;
}
.gras {
    font-weight: bold;
}


/* VIE PRATIQUE */
.row.extra ul {
    margin: 0;    
}


/* ETAT CIVIL */
.comments {
    color: red;
    font-style: italic;
}

/* CONTACT */

.thank-you {
    text-align: center;
    margin-top: 15px;
    font-weight: bold;
    font-size: 22px;
    color: #8C0D4C !important;
}

/* ESPACE MEMBRE */
.membres {
    background-color: rgba(97,107,97,0.1);
}


/* VIE DU VILLAGE */
.news {
    border: 5px solid #293C8F;
    border-radius: 5px;
    margin-top: 10px;
    width: 100%;
    padding: 15px;
    box-shadow: 4px 4px 0px #616B61;
}
.date_publication {
    float: right;
    margin-right: 20px;
    margin-top: 15px;
}
.news img{
    margin-bottom: 20px;
}
.img_news {
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 5px;
    width: 150px;
}
.img_news:hover {
    box-shadow: 0 0 2px 1px rgba(0, 140, 186, 0.5);
}
.petit {
    font-size: 10px;
    font-style: italic;
}

/* INSCRIPTION */
.inscription p{
    color: #8C0D4C;
}

/* DESINSCRIPTION */
form input[type=submit] {
    margin: 10px auto 30px;
    display: block;
}

/* MODIFIER NEWS */
.img_news_panneau {
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 5px;
    width: 10px;
}

/* Small devices (landscape phones, 544px and up) */

@media (min-width: 544px) {
    header {
        height: 100px;
        font-size: 50px;
        line-height: 100px;
    }     
}
 
/* Medium devices (tablets, 768px and up) The navbar toggle appears at this breakpoint */
@media (min-width: 768px) { 
    header {
        height: 200px;
        font-size: 100px;
        line-height: 200px;
    }
    footer {
        font-size: 16px;
    }
    #myCarousel {
        display: block;
    }
}
 
/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) { 
    header {
        height: 250px;
        font-size: 125px;
        line-height: 250px
    }
    footer {
        font-size: 16px;
    }
    #myCarousel {
        display: block;
    }
}