/**
 * @author  Pierre-Alexandre RACINE <pierre-alexandre.racine@ens-lyon.fr>
 * @author  Matthieu QUIGNARD
 * @copyright  CNRS (Centre National de la Recherche Scientifique www.cnrs.fr)
 * @license http://www.cecill.info/licences/Licence_CeCILL-C_V1-fr.html LICENCE DE LOGICIEL LIBRE CeCILL-C
 *
 * CSS de la partie publique du projet menhir.
 * @link https://github.com/racine-p-a/menhir
 */

/*
 *  TABLE DES MATIÈRES
 *
 *  GÉNÉRAL
 *      - OVERLAY
 *  EN-TÊTE
 *      - PARTIE GAUCHE DU BANDEAU
 *      - MENU DANS LE COIN DROIT
 *  PAGE D'ACCUEIL
 *      - TABLEAU DE RÉSULTATS DE LA PAGE D'ACCUEIL
 *      - MOSAÏQUE DE PAGE D'ACCUEIL
 *  PAGE DE PRÉSENTATION D'UN MENU
 *  OVERLAY
 *  PARTENAIRES
 *  ZONE CENTRALE
 *  PIED DE PAGE
 *  FORMULAIRE RECHERCHE AVANCEE
 */

/***********************************************************************************************************************
******************************************************* GÉNÉRAL*********************************************************
***********************************************************************************************************************/

@import url('https://fonts.googleapis.com/css?family=Raleway');
@import url('https://fonts.googleapis.com/css?family=Bad+Script');
a{
    text-decoration: none;
}
a:hover{
    text-decoration: underline;
}

body{
    margin: 20pt;
    padding: 0pt;
    background-color: #444549;
    background-image: url("../img/P0081-01-01.png");
    /*background-image: url("../img/fond-P0195-01-02.jpg");*/
    /*background-image: url("../img/fond.jpg");*/
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center top;

    font-family: "Raleway";
}

.todo {
    font-style:italic;
    color:red;
    background-color: yellow;
}


/*
                                    OVERLAY
 */

.highslide-caption
{
    width: 100%;
    text-align: center;
}

/* Remove the close button from the controls since we already have one in the corner of the image */
.highslide-close
{
    display: none !important;
}

/* Put the image number in front of the caption */
.highslide-number
{
    display: inline;
    padding-right: 1em;
    color: white;
}

/***********************************************************************************************************************
******************************************************* EN-TÊTE ********************************************************
***********************************************************************************************************************/

#bandeau{
    margin: 0px;
    padding: 10px;
    min-height: 360px;

    /*background-color: rgba(240, 240, 240, 0.8);*/
    color:#f2f2f0;

    font-family: "Bad Script";

    -moz-border-radius: 13px;
    -webkit-border-radius: 13px;
    border-radius: 13px;
}

#bandeau a {
    color:#f2f2f0;
}


#bandeau a:hover {
    text-decoration:none;
    color:#f5e79e;
}


/*
                                    PARTIE GAUCHE DU BANDEAU
 */
#title{
    float:left;
    vertical-align:top;
    text-align:center;
}

#titre{
    font-weight: 800;
    font-size: 24pt;
    margin: 0px;
}

#soustitre{
    font-weight: 300;
    font-size: 16pt;
    margin: 0px;
}

#bandeau nav {
    margin-top:10px;
    border-top: 1px solid #f2f2f0;
    padding:10px;
}

#bandeau nav a {
    display:inline-block;
    margin:3px;
    font-size: 13pt;
}



#bandeau nav a:hover {
    text-decoration:underline;
}

/*
                                    MENU DANS LE COIN DROIT
 */
#sidebar{
    float:right;
    text-align:center;

    margin: 0px;

    padding-top: 0px;
    padding-right: 5px;
    padding-left: 5px;
    padding-bottom: 16px;

    /*background-color: rgba(240, 240, 240, 0.8);*/
    font-family: "Raleway";
    line-height: 1.5;

    -moz-border-radius: 13px;
    -webkit-border-radius: 13px;
    border-radius: 13px;
}

#sidebar h2{
    font-family: "Bad Script";
    margin: 0px;
    padding-top: 10px;
    font-weight: 600;
    font-size: 12pt;
}

#sidebar ul{
    margin: 0;
    padding:0;
}

#sidebar li{
    list-style-type: none;
    font-size: 12px;
    margin:0;
}


/***********************************************************************************************************************
***************************************************** PAGE D'ACCUEIL ***************************************************
***********************************************************************************************************************/

/*
                                    TABLEAU DE RÉSULTATS DE LA PAGE D'ACCUEIL
 */

h3.resultatsRecherche {
    padding-top:10px;
    text-align: center;
}



table#resultatsRechercheAccueil
{
    /*border-collapse: collapse;*/
    border:none;
    margin-left:auto;
    margin-right:auto;
    margin-top:50px;
    margin-bottom:50px;
}

#resultatsRechercheAccueil tr
{
    border-top: 1px solid #2b669a;
    border-bottom: 1px solid #2b669a;
}

#resultatsRechercheAccueil th
{
    border:none;
    text-align: center;
    color:darkslategray;
    vertical-align: top;
}

#resultatsRechercheAccueil td
{
    /*border: 1px solid black;*/
    text-align: center;
    border:none;
    vertical-align:top;
}

table.sortable thead
{
    background-color:#eee;
    color:#666666;
    font-weight: bold;
    cursor: default;
}

.texteMisEnAvant
{
    color:purple;
    background-color: #f5e79e;
}

#boutonRecherche
{
    text-align: center;
}


/*
                                    MOSAÏQUE DE PAGE D'ACCUEIL
 */
#listeResultatsMenus
{
    margin-left:auto;
    margin-right:auto;
    margin-top:50px;
    margin-bottom:50px;
    text-align: center;
}

.miniatureMenu {
    display:inline-block;
    margin:5px;
    /*
    background-color: #e3e3e3;
    border: 1px solid #9d9d9d;
    */
}

.miniatureMosaique
{
    width:150px;
    height:150px;
    object-fit:scale-down;
    margin:auto;
}

/***********************************************************************************************************************
************************************************* PAGE DE PRÉSENTATION D'UN MENU ***************************************
***********************************************************************************************************************/

#presentationDocument
{
    width: 60%;
    padding-top:50px;
    padding-bottom:50px;
}

#presentationDocument h3,
#presentationDonneesTextuelles h3 {
    font-weight: 600;
}

#presentationDocument > h4 {
    font-family: "Bad Script";
    font-size: 14pt;
    padding-top:10pt;
    font-weight: 600;
    color: darkslategray;
}

#presentationDocument > table {
    margin-left:10pt;
}

#presentationDocument > table > tbody {
    font-family: "Raleway";
    font-size: 10pt;
}

#presentationDocument > table th {
    vertical-align: top;
    color:darkslategray;
}

#presentationDocument > table td {
    vertical-align: top;
}


#presentationDonneesTextuelles
{
    width: 60%;
}

#presentationDonneesImages
{
    width: 40%;
    float: right;
}

table, th, td {
    border: 1px solid black;
    border-collapse: collapse;
}
th, td {
    padding: 5px;
    text-align: left;
}

.miniature
{
    max-width:220px;
    margin:5px;
}

#barreDeNavigation .flottantGauche
{
    float: left;
    margin:0;
}

#barreDeNavigation .flottantDroit
{
    float:right;
    margin:0;
}

#barreDeNavigation form {
    clear: both;
    padding-top:5px;
    padding-bottom: 5px;
    width:100%;
}

#presentationDonneesTextuelles > h4 {
    font-family: "Bad Script";
    font-size: 14pt;
    padding-top:10pt;
    font-weight: 600;
    color: darkslategray;
}

#presentationDonneesTextuelles > table {
    margin-left:10pt;
}

#presentationDonneesTextuelles > table > tbody {
    font-family: "Raleway";
    font-size: 10pt;
}

#presentationDonneesTextuelles > table th {
    vertical-align: top;
    color:darkslategray;
}

#presentationDonneesTextuelles > table td {
    vertical-align: top;
}

.boutonPiece
{
    margin-left: 15px;
}

/***********************************************************************************************************************
***************************************************** PARTENAIRES ******************************************************
***********************************************************************************************************************/
.fondNoir
{
    background-color: #0f0f0f;
}

.logoPartenaire
{
    text-align: center;
}

.logoPartenaire a img
{
    max-width: 50%;
    margin-bottom: 15px;
}

#content ul.nonCentre
{
    text-align: left;
}


/***********************************************************************************************************************
******************************************************* ZONE CENTRALE***************************************************
***********************************************************************************************************************/

#page{
    clear: both;
    display: block;
    margin:0px;

    margin-left:25pt;
    margin-right:25pt;

    padding: 0px;
    border-collapse:separate;
    border-spacing:0px;

    min-height: 600px;
}

#content{
    display:inline-block;

    width:100%;
    min-height: 600px;

    /* background-color: #f2f2f0; */
    background-color: rgba(242, 242, 240, 0.9);
    margin: 0;
    padding: 20px;
    padding-bottom: 20px;
    -moz-border-radius: 13px;
    -webkit-border-radius: 13px;
    border-radius: 13px;
}


/***********************************************************************************************************************
******************************************************* PIED DE PAGE ***************************************************
***********************************************************************************************************************/

#pied{
    display: block;

    margin-top: 50px;
    height: 200px;

    padding: 10px;

    color: #484848;
    background-color: rgba(168, 168, 168, 0.7);
    text-align: center;

    -moz-border-radius: 13px;
    -webkit-border-radius: 13px;
    border-radius: 13px;
}

#pied a{
    color: #484848;
}

#content h1{
    margin:0px;
    padding-top: 40px;
    padding-bottom: 10px;
    font-family: "Bad Script";
    text-align: center;
}


#content h2{
    font-family: "Bad Script";
    text-align: center;
    margin:0px;
    padding-top: 30px;
    padding-bottom: 10px;
}


#content p {
    font-family: "Raleway";
    text-align: center;
    width: 60%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 10px;
    line-height: 1.5;
}

#content p.quote{
    text-align: center;
    border: 1px solid black;
    padding-top: 10px;
    padding-bottom: 10px;
}

#content ul, #content ol {
    font-family: "Raleway";
    text-align: center;
    width: 50%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 10px;
    line-height: 1.5;
}

#content li {
    margin-bottom:6px;
}

#search{
    margin-top: 40px;
    margin-bottom: 20px;

    text-align: center;
}

#search img{
    width: 50%;
}

#results{
    text-align: center;
}
#results img{
    width: 80%
}

/***********************************************************************************************************************
******************************************************* FORMULAIRE RECHERCHE AVANCEE ***********************************
***********************************************************************************************************************/

#listeFiltres
{
    margin: auto;
}

#listeFiltres tr th
{
    padding-left: 15px;
    padding-right: 15px;
}

.operateur
{
    width: 100px;
}

.filtreRecherche
{
    width: 300px;
}


/** formulaire = liste des filtres actifs avec le bouton valider à la fin **/
#formulaireDeRecherche {
    display:block;
    margin-top: 20px;
    margin-bottom: 20px;
    margin-right:auto;
    margin-left:auto;
    max-width: 800px;

    padding:20px;
    text-align: center;


    background-color: #f5f5f5;
    border: 1px solid lightgrey;
}

/** boutons "Supprimer le filtre" **/
#blocDesFiltresCrees button {
    color:red;

}

/** le bouton "Appliquer les filtres" **/
#formulaireDeRecherche > button {
    margin-top: 50px;
    color:darkgreen;

}