body{
    font-family: Calibri, sans-serif;
    margin: 0;
    /*overflow-x: hidden;*/
}
a{
    color: unset;
    text-decoration: unset;
    border-bottom: thin dotted;
}
p{
    text-align: justify;
}
blockquote{
	font-style: italic;
}
.bleu{
    color: rgb( 14, 98, 121 );
}
.rouge{
    color: rgb( 172, 0, 0 );
}
a.fancybox{
    border: none;
}
.no_link{
    cursor: default;
}


#bibliotheque{
    position: relative;
    top:0;
    left:0;
    right:0;
    height: 165px;
    background: url( '/img/bibliotheque-nm.jpg' );
}
header{
    position: absolute;
    top:0;
    left:0;
    right:0;
}
#logo img{
    position: absolute;
    top: 0;
    left: 0;
    width: auto;
    max-height: 142px;
    background-color: grey;
}
#slogan{
    position: absolute;
    bottom: -90px;
    left: 142px;
    right: 0;
    color: white;
    font-weight: bold;
    font-style: oblique;
    font-size: 36px;
    text-align: center;
    font-family: serif;
    text-shadow: 0 0 4px black;
    font-family: 'Market Deco', sans-serif;
}
nav{
    position: absolute;
    bottom: 8px;
    left: 154px;
    right: 0;
}
nav ol{
    list-style-type: none;
    margin: unset;
    padding: unset;
    display: flex;
    justify-content: space-between;
}
nav li{
    position: relative;
    flex-grow: 1;
    padding: 18px;
    margin-right: 8px;
    text-align: center;
    background-color: rgb( 56, 135, 189 );
    color: white;
    font-weight: bold;
    border-color: rgb( 56, 135, 189 );
    border-width: 2px;
    border-style: outset;
    overflow: hidden;
}
nav li a{
    position: absolute;
    padding: 8px;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    border: none;
}
#menu-livre-button{
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    opacity: 0;
}
#menu-livre{
    display: none;
}
#menu-livre-menu{
    font-family: inherit;
    font-size: inherit;
}
#menu-livre-menu li:first-child{
    display:none;
}
#slider{
    background-color: black;
    color: white;
}
#slider .bjqs_wrapper{
    margin: auto;
    padding: 8px;
}
#slider .bjqs_wrapper .bjqs div{
    margin: 8px;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
}
#slider .bjqs_wrapper .bjqs img{
    flex-grow: 0;
    flex-shrink: 1;
    width: unset !important;
    max-height: 150px;
}
#wrapper{
    width: 80%;
    margin: auto;
}



#livres{
    margin: 8px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 8px;
}
#livres>h2{
    color: rgb( 14, 98, 121 );
    text-align: center;
    margin: 8px;
}
#livres .livre{
    background-color: rgb( 243, 243, 243 );
    padding: 8px;
    position: relative;
    padding-bottom: 46px;
}
#livres .livre img{
    float: left;
    max-width: 50px;
    margin: 8px;
    mix-blend-mode: multiply;
}
#livres .livre h2{
    margin: 0;
    font-size: 125%;
}
#livres .livre p{
    margin: 4px;
}
#livres .livre .auteur{
    text-align: left;
}
#livres .livre .tags{
    font-weight: bold;
}
#livres .livre .isbn_annee{
    font-size: 75%;
}
#livres .livre ol.boutons{
    position: absolute;
    left: 8px;
    bottom: 8px;
    right: 8px;
    list-style-type: none;
    margin: unset;
    padding: unset;
    display: flex;
    justify-content: space-between;
}
#livres .livre ol.boutons li{
    position: relative;
}
#livres .livre .bouton{
    background-color: rgb( 56, 135, 189 );
    color: white;
    border-color: rgb( 56, 135, 189 );
    border-width: 2px;
    border-style: outset;
    
    flex-grow: 1;
    padding: 18px;
    margin-right: 8px;
    text-align: center;
    font-weight: bold;
}
#livres .livre .bouton a, 
#livres .livre .bouton form{
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 8px;
    cursor: pointer;
    border: none;
}
#livres .livre .prix{
    font-size: 125%;
    margin-top: 4px;
    font-weight: bold;
}



#libraires .blocs {
    display: flex;
    justify-content: center;
    margin: auto;
}
#libraires .blocs h2{
    text-align: center;
    margin: 0;
    margin-bottom: 8px;
}
#libraires .bloc {
    padding: 10px;
    margin: 8px;
    background: rgb( 243, 243, 243 );
}
#libraires .bloc img{
    max-width: 335px;
    height: auto;
}



#livre{
    margin: 8px;
}
#livre.ui-tabs,
#livre .ui-widget-nav,
#livre .ui-widget-header{
    background: none;
    border: none;
    padding: 0;
}
#livre .ui-tabs-nav a{
    border: none;
}
#livre .ui-tabs-panel{
    border-style: solid;
    border-width: 1px;
}

#livre h2{
    color: rgb( 14, 98, 121 );
    text-align: center;
}
#livre .livre .couverture{
    width: 15em;
}
#livre .livre img{
    margin-left: 1em;
    margin-right: 1em;
    float: left;
}
#livre .livre div {
    display: inline-block;
    vertical-align: top;}
#livre .livre .auteur{
    margin-top: -1em;
    text-align: center;
    font-style: italic;
}
#livre .pancarte{
    position: relative;
    top: fit-content;
    width: 475px;
    height: 1.2em;
    border-width: 0.1em;
    border-style: solid;
    border-color: #0E6279;
    color: #000;
    background-color: rgba(100, 100, 100, 0.3);
    font-weight: 600;
    font-size: 2.3em;
    text-align: center;
    -ms-transform: rotate(-10deg); /* IE 9 */
    -webkit-transform: rotate(-10deg); /* Safari */
    transform: rotate(-10deg);
}
#livre #tabs-evt th{
    vertical-align: top;
    text-align: right;
}
#livre #tabs-evt td p:first-child {
    margin-top: 0;
}



#nous .blocs {
    display: flex;
    justify-content: center;
    margin: auto;
}
#nous .bloc {
    min-width: 15%;
    padding: 10px;
    margin: 8px;
    background: rgb( 243, 243, 243 );
}
#nous .bloc p:first-of-type{
    margin-top: 0;
}
#nous .bloc p:last-of-type{
    margin-bottom: 0;
}
#nous .bloc ul{
    padding-left: 12px;
}
#nous #editeurs{
    display: flex;
}
#nous #editeurs img{
    width: 180px;
    min-width: 180px;
    height: 180px;
    margin: 8px;
}
#nous #ref p{
    text-align: left;
}
#nous #anniversaire img {
    height: 180px;
    margin: 8px;
}


#contact{
    padding: 8px;
    margin: auto;
    display: flex;
    flex-direction: column;
    max-width: 600px;
}
#contact input,
#contact textarea,
#contact #submit{
    font-size: inherit;
    font-family: inherit;
    margin: 4px;
}
#contact textarea{
    height: 10em;
    resize: vertical;
}
#contact #submit{
    display: flex;
    flex-direction: row;
    justify-content: right;
}
#contact #submit input{
    margin: 0;
}
#contact p{
    text-align: center;
}


footer{
}
footer ol{
    list-style-type: none;
    margin: unset;
    padding: unset;
    display: flex;
    justify-content: space-between;
    padding-left: 8px;
}
footer li{
    position: relative;
    flex-grow: 1;
    padding: 18px;
    margin-right: 8px;
    text-align: center;
    background-color: rgb( 166, 166, 166 );
    color: white;
    font-weight: bold;
    border-color: rgb( 166, 166, 166 );
    border-width: 2px;
    border-style: outset;
}
footer li a{
    position: absolute;
    padding: 8px;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    border: none;
}
