/* header{
    border:1px solid red;
}
div{
    border:1px solid black;
} */
/* div {
    border-style: solid;
    border-color: #28a745;
    border-width: 1px;
} */

/* header {
    border-style: solid;
    border-color: red;
    border-width: 1px;
    min-height: 100vh;
} */
@font-face {
    font-family: "Dali";
    src: local("dali____"),
        url("../fonts/dali____.ttf") format("truetype");
}

body {
    background-color: #ededed;
}

div#bgintro {
    background-image: url("../uploads/peintures/img_4068.jpeg");
    /* background-image: url("https://www.mozilla.org/media/img/logos/firefox/logo-quantum.9c5e96634f92.png"); */
    width: 100vw;
    height: 100vh;
    background-position: center;
    background-size: cover;
    border: 25px solid lightgray;
    text-align: center;
    margin: 0 auto 0 auto;
}

#logointro,
#logointro2,
#logobouton {
    position: absolute;
    top: 50%;
    left: 50%;
    color: white;
}

#logointro {
    width: 50vmin;
    height: 20vmin;
    margin-left: -25vmin;
    margin-top: -25vmin;
    font-family: "Dali";
    font-size: 15vmin;
    color: white;
    text-shadow: 2px 2px 2px black;
    padding-top: 3vmin;
}

#logointro2 {
    width: 50vmin;
    height: 20vmin;
    margin-left: -15vmin;
    margin-top: -13vmin;
    font-size: 5.5vmin;
    color: white;
    text-shadow: 2px 2px 2px black;
    padding-top: 3vmin;
}

#logobouton {
    border: 0.5vmin solid white;
    width: 20vmin;
    height: 10vmin;
    margin-left: -10vmin;
    margin-top: 5vmin;
    font-size: 4vmin;
    color: white;
    padding-top: 1.3vmin;
    transition: color 170ms ease-in-out, background-color 170ms ease-in-out;
}

#logobouton:hover {
    background-color: white;
    color: black;
}

#morisbi {
    font-family: "Dali";
    font-size: 85px;
    /* font-weight: 300; */
    margin-top: 20px;
}

#peintures {
    margin-top: -50px;
}

#morisbi a,
#peintures a {
    text-decoration: none;
    color: black;
}

#peintures {
    /* font-family: "Dali"; */
    font-size: 30px;
    text-align: right;
    /* font-weight: 300; */
    color: black;
    text-decoration: none;
}

#logo2 {
    position: relative;
}

#logo2 #peintures {
    position: absolute;
    margin-left: 110px;
    /* top: 10%; */
}

#nav {
    position: fixed;
    top: 30vh;
}

.nav-link {
    color: rgb(107, 107, 107);
    font-size: larger;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}

.nav-link:hover,
.nav-link.active {
    color: rgb(177, 134, 18);

}

#colonne1 {
    position: relative;
    width: 300px;
    /* height: 95vh; */
}


#logo {
    /* margin-right: 10px; */
    position: fixed;
    left: 30px;
}

#info {
    position: fixed;
    bottom: 50px;
    padding: 1rem;
}

.titre-peinture {
    font-size: 18px;
    font-weight: bold;
    text-transform: uppercase;
    /* color: red; */
}

.annee-peinture {
    font-size: 18px;
    font-weight: 400;
    color: #6b6b6b;
}

.prix-peinture {
    font-size: 15px;
    /* font-weight: 400; */
    color: #b18612;
}

#foot {
    background-color: lightgray;
    padding: 0 25px 0 25px;
    /* position: absolute;
    bottom: 0px;
    width: 100%; */

}

.card {
    border: 0;
    border-radius: 0;
}

.card img {
    cursor: pointer;
    border-radius: 0;
    transition: opacity 170ms ease-in-out, transform 170ms ease-in-out;
    opacity: 1;
}


img.card-img-top:hover {
    /* opacity: 0.7; */
    transform: scale(1.03);
}

img.d-block {
    max-width: 80%;
    max-height: 80vmin;
    margin: auto;
    margin-top: 5vh;
    vertical-align: middle;
}

.carousel-control-next,
.carousel-control-prev {
    filter: invert(50%);
}

.carousel-item a:hover {
    cursor: url(../img/fa-fa-th-wh.png), auto;
}

#titre {
    font-weight: bold;
}


.custom-file-label::after {
    content: 'Parcourir';
}

.bord-red {
    border: 1px solid red;
}

.bord-blue {
    border: 1px solid blue;
}

.bord-green {
    border: 1px solid green;
}

.bord-black {
    border: 1px solid black;
}

.card-detail {
    position: absolute;
    bottom: 0px;
    left: 0;
    right: 0;
    padding: 0 1.25rem;
    background-color: rgba(255, 255, 255, 0.6);
    overflow: hidden;
    width: 100%;
    height: 0;
    transition: .5s ease;
}

.card:hover .card-detail {
    height: 65%;
    padding: 1.25rem;
}

.card-img-top {
    cursor: pointer;
}

.image-thumb {
    position: relative;
}

.suppression-image {
    opacity: 0;
    position: absolute;
    bottom: 14%;
    right: -30%;
}

.image-thumb:hover .suppression-image {
    opacity: 1;
}

.image-thumb:hover img {
    opacity: 0.8;
}

form {
    width: 100%;
}

/*
 Couleurs du bouton de maintenance
 */
#maintenance-on.active {
    background-color: #28a745;
}

#maintenance-off.active {
    background-color: #dc3545;
}

img.float {
    float: right;
}

.invis {
    opacity: 0;
}

/* couleur formulaire valide/invalide */
.form-control:invalid {
    border: 2px solid red;
}

.form-control:valid {
    border: 2px solid green;
}

.form-control {
    display: inline-block;
    width: auto;
    vertical-align: middle;

}

.container {
    text-align: left;
    /* Assure que le contenu est aligné à gauche */
}