﻿:root{
    /* border-radius pour le champs text*/
    --border-radius-champ : 0.6rem 0 0 0.6rem;

    /*border radius pour le button de recherche*/
    --border-radius-button : 0 0.6rem 0.6rem 0;
}

* {
    box-sizing: border-box;
}

span.pertinence {
    background-color: #704b48;
    color: white;
    border-radius: 0.4rem;
    padding: 2px 10px;
    font-weight: 400;
    margin-bottom: 10px;
    display: inline-block;
}

 #type-document span {
     text-align : center;
 }

.id-document {
    position: absolute;
    left: 2rem;
    top: 0;
    background-color: rgba(84, 32, 7, 0.8);
    color: white;
    /*display: inline-block;*/
    padding: 0.3rem 0.8rem;
    border-radius: 0 0 0.475rem 0.475rem;
    /*margin-top: 10px;
    margin-bottom: 10px;
    /*min-width: 130px;*/
    text-align: center;
}

#logo {
    text-align : center;
}



#btnRechercher {
    border-radius : var(--border-radius-button);
  padding-left: 8px;
	padding-right: 8px;

}

#txtMotsCles{
    border-radius : var(--border-radius-champ);
    color : black;

}


#txtMotsCles:focus {
    box-shadow : none;
    border : 1px solid #ca890edb;
    color: black;
}

.hide-type-document {
    display: none;
}

.show-type-document {
    display: flex;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 11;
}

    .show-type-document span {
        background-color: #612323;
        color: white;
        padding: 4px 10px 10px 10px;
        border-radius: 0 0 0.5rem 0.5rem;
        flex: 0.15;
        box-shadow: 1px 1px 5px black;
        display: flex;
        justify-content: center;
        align-items: flex-start;
        border: 2px white solid;
        border-top: none;
    }

div.progression-recherche {
    background-color: rgba(255, 255, 255, 0.8);
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99;
}

.zone-recherche {
    display: flex;
    justify-content: center;
    padding: 5px 5px;
}

#zone-recherche-champ {
    width: 100%;
}


div#onglets {
    display: flex;
    flex-wrap: wrap;
    padding-top: 5px;
    justify-content: flex-start;
}

    div#onglets input.btn-onglet {
        margin-right: 5px;
        margin-top: 5px;
        box-shadow: 1px 1px 3px 0px black;
    }




.btn-onglet {
    /*background: linear-gradient(90deg, #4b0101, #6123239c);*/
	background: linear-gradient(45deg, olive 65%, #000000ba);
    outline: none;
    border: none;
    border-radius: 0.8rem;
    padding: 0.375rem 0.75rem;
    color: white;
}

button.btn-onglet:focus {
    outline: none;
}

.active-onglet {
    background: black;
}

p.para-resume {
    display: none;
}

.show-hide-resume {
    border-radius: 0.4rem;
    padding: 5px 10px 5px 10px;
    cursor: pointer;
    color: white;
    display: inline-block;
    background-color: #c2412a;
    box-shadow: 1px 1px 3px 0px black;
}

html {
}

#form1 {
    position: relative;
}

#popWindow {
    padding: 10px 12px 0px 15px;
    background-color: #8080805e;
    position: fixed;
    top: 0;
    color: white;
    width: 100%;
    height: 100%;
    z-index: 10;
    display: none;
    justify-content : center;
    align-items : center;
}

#popWindow #popWindowMsg {
   /* box-shadow : 0px 4px 10px rgba(0, 0, 0, 0.5);
    border-radius :2rem; 
    padding : 20px 20px;
    background-color : #5C4033;
    color : white;
    font-size : 1rem;
    font-weight : 500;
    position : relative;
    max-width : 800px;
    border : 5px solid #e3b731; */
	 box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.5);
    border-radius: 0.75rem;
    padding: 20px 20px;
    background-color: #453b47;
    color: white;
    font-size: 1rem;
    font-weight: 500;
    position: relative;
    max-width: 800px;
}

#popWindowMsg h3{
   
   /* text-align: center;
    margin-bottom: 15px;
    background-color: #b88b02;
    border-radius: 0.7rem;
    padding: 10px 0;
    font-size : 1.3rem; */
	text-align: center;
    margin-bottom: 15px;
    background-color: #b88b02;
    border-radius: 0.75rem;
    padding: 10px 0;
    font-size: 1.3rem;
    font-weight: 700;

}


#hidePopWindow {
     border-radius: 1rem;
 padding: 5px 25px;
 margin-bottom: 0px;
 background-color: #b88b02;
 /*position: absolute;
 top: -15px;
 right: -8px;*/
 cursor: pointer;

}

a.pdfMemoire {
    /* background-color: #CE5108;*/
    margin-right: 5px;
}

    a.pdfMemoire svg {
        transition: all 0.5s ease;
    }

        a.pdfMemoire svg:hover {
            transform: scale(1.15);
            transition: all 0.5s ease;
            cursor: pointer;
        }


.container-pdfMemoire {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}



a:hover {
    text-decoration: none;
}

a.pdfMemoire[href=""] {
    display: none;
}

.row {
    margin-bottom: 0;
    margin-top: 0;
}

div.entete-document {
    margin-top: 1.15em;
}

body {
    position: relative;
    padding-top : 5px;
}

header {
    background: linear-gradient(180deg,rgb(255 165 0 / 80%) 0% ,rgb(240 230 140 / 80%) 50% );
    padding-top: 20px;
    padding-bottom: 30px;
    margin-bottom: 0px;
    z-index: 1;
}

#nom-ecole {

    color: #5f0000; 
    padding: 5px 5px;
}

.textbox {
    padding-left: 7px;
    padding-right: 7px;
    margin-bottom: 5px;
    margin-top: 10px;
}

#validationTexteRecherche {
    padding-left: 10px;
}

#cboDocuments {
    width: auto;
    color: indigo;
}

.btn {
    box-shadow: 1px 1px 3px 0px black;
    color: white;
}

    .btn:hover {
        color: white;
    }

    .btn:focus {
        box-shadow: 1px 1px 3px 0px black;
    }

button.ToggleDetails {
    background: linear-gradient(45deg, #036743 60%, transparent);
    padding: 2px 20px;
    border-radius: 0.4rem;

}

    button.ToggleDetails:hover {
       
    }


.centrer {
    text-align: center;
}

.jumbotron {
    padding-top: 15px;
    padding-bottom: 15px;
    background-color: rgb(240 230 140 / 65%);
    margin-bottom: 1.2em;
}

main h4 {
    color: indigo;
    margin-bottom: 2px;
    font-weight: 700;
}

main p {
    margin-bottom: 10px;
}

div.detail {
    display: none;
}

.versionNumerique {
    overflow: auto;
}

#lblNombreDocuments {
    display: block;
    padding: 2px 5px;
}

#lblResultat {
    padding: 7px 20px 7px 20px;
    background-color: rgb(240 230 140 / 65%);
    margin: 10px 0 10px 0;
    color: indigo;
    font-style: italic;
    display: none;
}

.applyShadow {
   /* box-shadow: 0px 0px 8px 0px black;*/
	box-shadow: 0px 3px 7px rgb(0 0 0 / 70%);
    border-radius: 0.4rem;
}

.afficherKeyWords {
    position: relative;
}

#listKeyWords {
    position: absolute;
    display: none;
    background-color: white;
    overflow: auto;
    margin-top: 1px;
    z-index: 3;
    padding: 5px 5px 5px 5px;
}

    #listKeyWords span {
        display: block;
        margin-bottom: 8px;
        color: indigo;
        cursor: pointer;
        padding-left: 10px;
        padding-right: 5px;
        border-radius: 5px;
        font-weight: 700;

    }

#enteteMotsCles {
  	color: #fff;
    margin-bottom: 2px;
    background-color: #bf0f0f;
    border-radius: 0.3rem;
    text-align: center;
    font-weight: 700;
	font-style: italic;
}

#motsCles {
    display: none;
}

.sticky-container {
    background: linear-gradient(0deg,rgb(255 165 0 / 80%) 0%,rgb(240 230 140 / 80%) 50%);
    padding: 1px 0 5px 0;
    margin-top: 5px;
    /*box-shadow: 0px 0px 8px 0px black;
    border-radius: 0.5rem;*/
}

.image-depart {
    margin-top: 40px;
    border-radius: 16px;
    max-width: 10%;
    opacity: 0;
}

#imageDepartContainer {
    text-align: center;
}

#GoUp {
    background-color: #612323;
    text-align: center;
    position: fixed;
    bottom: 10px;
    right: 10px;
    display: none;
    padding: 15px;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    box-shadow: 1px 1px 5px black;
}

footer {
    text-align: center;
    color: darkgray;
    margin-top: 8px;
    padding-top: 0px;
    padding-bottom: 5px;
    padding-right: 0px;
    padding-left: 0px;
    opacity: 1;
}

    footer p {
    }

.document {
    position: relative;
    border-left: 7px solid #c2412a;
}

    .document p {
        text-transform: lowercase;
        color: #000000;
		text-align: left;
    }

        .document p::first-letter {
            text-transform: uppercase;
        }

div.auteur-annee-label {
    color: white;
    text-align: left;
    overflow: auto;
    padding: 5px;
    display: flex;
    flex-wrap: wrap;
}

    div.auteur-annee-label span {
        margin-right: 2px;
        background-color: #c2412a;
        padding: 5px 12px;
        border-radius: 1rem;
        margin-top: 3px;
    }

#zone-recherche-btn {
    display: flex;
}

/*style appliqué au span element pour mettre en surbrillance les mots cles*/
div.document p span {
    background-color: rgb(83, 112, 72); /*rgba(214, 50, 50, 0.9); /*rgba(214, 50, 50, 0.8) rgba(19, 6, 6, 0.8)*/
    color: white;
    padding: 1px 4px;
    border-radius: 5px;
    font-weight : 400;
}

/*le style appliqué à la fentere de message*/


@media (min-width: 992px) {


    #zone-recherche-champ {
        width: 70%;
    }
}

@media (max-width : 576px) {
    .id-document {
        left: 1rem;
    }



}

@media (min-width : 768px){
    #logo img{
        width : 70%;
     }
}

@media (min-width: 1024px) {

    #popWindow #popWindowMsg {
        font-size : 1.2rem;
    }

    #popWindowMsg h3 {
        font-size : 1.6rem;
    }
    
}
