@font-face {
	font-family: 'Stempel-Garamond-W01-Roman';
	font-style: normal;
	font-weight: normal;
	src: url('/bookassets/fonts/Stempel-Garamond-W01-Roman.woff') format('woff');
}

body{
	margin:0;
	padding:0;
	overflow:visible;
}


h1, h2, h3, h4, h5, h6 {
	margin-top: 0;
	padding-top: 0;
	margin-bottom: 0;
	padding-bottom: 0;
}

table.border tr td, table.border tr th {
	border: 1px solid black;
}

table.normal {
	color: #000;
	border: 0 solid #ccc;
	border-collapse: collapse;
	padding: 0.5em;
	margin: 1em;
	background-color: #fafafa;
	box-shadow: #D0D0D0 1px 3px 2px;
	vertical-align:middle;
	font-family:'Roboto Slab', serif;
}

table.normal tr td {
	padding: 0.15em;
}

table tr th {
	font-weight: bolder;
}

table.left tr td {
	text-align: left;
}

table.centered tr td {
	text-align: center;
}


/*
#canvas{
	width: 800px;
	height: 900px;
	margin: auto;
}
*/

#canvas {
	width: 768px;
	height: 1000px;
	margin: auto;
	overflow: initial;
}

.sample-docs .page {
	/*
	width:800px;
	height:600px;
	width: 768px;
	height: 500px;
	 */

}

#book-zoom{
	-webkit-transition: -webkit-transform 1s;
	-moz-transition: -moz-transform 1s;
	-ms-transition: -ms-transform 1s;
	-o-transition: -o-transform 1s;
	transition: transform 1s;

	margin-top:0px;
	margin-bottom:22px;
	background-color: #e8e8e8;
}

.animated{
	-webkit-transition:margin-left 0.2s ease-in-out;
	-moz-transition:margin-left 0.2s ease-in-out;
	-o-transition:margin-left 0.2s ease-in-out;
	-ms-transition:margin-left 0.2s ease-in-out;
	transition:margin-left 0.2s ease-in-out;
}


.sample-docs {
	margin-top:22px;
	/*
	width:700px;
	height:900px;
	background:#e8e8e8;
	 */
	/*font:20px arial;*/
	font-family: "Stempel-Garamond-W01-Roman";
	/*font-size: 24px;*/
	font-size: 1.3em;
}

.sample-docs .shadow {
	box-shadow: 0 4px 10px #666666;
}


.sample-docs .page{
	/*
	width:800px;
	height:600px;
	width:768px;
	height:1024px;
	 */


	background:#faf5f0; /* important pour le verso */



	-webkit-box-shadow:0 0 20px rgba(0,0,0,0.2);
	-moz-box-shadow:0 0 20px rgba(0,0,0,0.2);
	-ms-box-shadow:0 0 20px rgba(0,0,0,0.2);
	-o-box-shadow:0 0 20px rgba(0,0,0,0.2);
	box-shadow:0 0 20px rgba(0,0,0,0.2);
}

.sample-docs .hard {
	background-image:url(/bookassets/ibridge/paper.gif);
}

img.couvimage {
	float:left;
	width: 300px;
	height:300px;
	margin: 200px 50px 50px 50px;
	display: inline-block;
}

.couvtitle {
	float:left;
	width: 300px;
	height:300px;
	margin-top: 250px;
	font-size: 70px;
}

.couvsubtitle {
	margin-left: 50px;
	text-align: center;
	width: 500px;
	font-size: 40px;
	border-bottom: 1px solid black;
}

.sample-docs .hard .front {
}

.sample-docs .p1{
	/*background-position:-471px 0;*/
	background-position:0 0;
}

div.page-wrapper div div { background: #faf5f0; }

/*
.sample-docs .p28{
	background:-webkit-gradient(linear, left top, right top, color-stop(0.95, #fff), color-stop(1, #dadada));
	background-image:-webkit-linear-gradient(left, #fff 95%, #dadada 100%);
	background-image:-moz-linear-gradient(left, #fff 95%, #dadada 100%);
	background-image:-ms-linear-gradient(left, #fff 95%, #dadada 100%);
	background-image:-o-linear-gradient(left, #fff 95%, #dadada 100%);
	background-image:linear-gradient(left, #fff 95%, #dadada 100%);
}
 */

.sample-docs .p30{
/*background-position:-1413px 0;*/
	background-position:0 0;
}

/*
.sample-docs .even .gradient{
position:absolute;
top:0;
left:0;
width:100%;
height:100%;
background-image:url(/bookassets/pics/right-border.png);
background-position:right top;
background-repeat: repeat-y;
}

.sample-docs .odd .gradient{
position:absolute;
top:0;
left:0;
width:100%;
height:100%;
background-image:url(/bookassets/pics/left-border.png);
background-position:left top;
background-repeat: repeat-y;
}
 */


.sample-docs .gradient{
	position:absolute;
	top:0;
	left:0;
	width:100%;
	height:100%;
	background-image:url(/bookassets/pics/right-border.png);
	background-position:left top;
	background-repeat: repeat-y;
}


.sample-docs .page-wrapper{
	-webkit-perspective:2000px;
	-moz-perspective: 2000px;
	-ms-perspective: 2000px;
	perspective: 2000px;
}


.sample-docs .loader{
	background-image:url(/bookassets/pics/loader.gif);
	width:22px;
	height:22px;
	position:absolute;
	top:280px;
	left:219px;
}

.sample-docs .shadow{
	-webkit-transition: -webkit-box-shadow 0.5s;
	-moz-transition: -moz-box-shadow 0.5s;
	-o-transition: -webkit-box-shadow 0.5s;
	-ms-transition: -ms-box-shadow 0.5s;

	-webkit-box-shadow:0 0 20px #ccc;
	-moz-box-shadow:0 0 20px #ccc;
	-o-box-shadow:0 0 20px #ccc;
	-ms-box-shadow:0 0 20px #ccc;
	box-shadow:0 0 20px #ccc;
}


/* ----- l'effet de profondeur------- */

.sample-docs .depth{
	/*background-image:url(/bookassets/pics/pages-depth.png);*/
	/*background-color : red;*/
	position:absolute;
	top:7px;
	width:16px;
	height:590px;
}

.sample-docs .depth{
	right:4px;
	background-position:right 0;
}


/* ----- les tabulations ------- */

#booktabs {
	width:700px;
	height:22px;
	z-index:1;
}

#booktabs > div{
	height:22px;
	float:left;
	margin:0;
	padding:0;
}

#booktabs div {
	text-align:left;
	margin:0 10px 0 0;
}

#booktabs div a {
	color:black;
	/*-webkit-border-image: url(/bookassets/pics/tab-off.png) 5 20 5 20 repeat stretch;*/
	border-width: 5px 10px 5px 10px;
	display:inline-block;
	font:bold 18px arial;
	text-shadow:1px 1px 0 #ddd;
	color:#333;
	line-height:12px;
	text-decoration:none;
	margin-left: 2px;
	margin-top: 15px;
	width:100px;
}

#booktabs div a.admin {
	width: 140px;
}

#booktabs div a.tab-arrow, #booktabs div a.tab-arrow-grayed {
	margin-top:5px;
}

.tab-arrow span, .tab-arrow-grayed span{
	font-size:1.5em;
}

.tab-arrow-grayed * {
	color: #acacac;
}


/*
.sample-docs .tabs .on,
.sample-docs .tabs .on:hover{
-webkit-border-image: url(/bookassets/pics/tab-on.png) 5 20 5 20 repeat stretch;
cursor:default;
}

.sample-docs .tabs a:hover{
color:black;
text-decoration: none;
cursor:pointer;
-webkit-border-image: url(/bookassets/pics/tab-hover.png) 5 20 5 20 repeat stretch;
}
*/

/* ---- Le footer  ------ */
.book-footer {
	border-top:1px solid gray;
	position: fixed;
	left: 0;
	bottom: 0;
	width: 100%;
	background-color: red;
	color: gray;
	text-align: center;
	font-size: 16px;
}

/* ---- ajustement du contenu ----- */

div.book-content {
	width:90%;
	height:100%;
	padding: 20px;
	color: #1e1e1e;
}


/* ----- le sommaire -------- */
div .bloc_sommaire, div .bloc_sommaire_chap {
	display: flex;
	justify-content: space-between;
	align-items: center;

	width : 90%;
	/*height: 30px;*/
	margin-left: 30px;
	margin-bottom: 7px;
	border-bottom: 1px dotted lightgray;
	color: black;
	font-size: 0.9em;

	text-decoration: none;
}

div .bloc_sommaire_chap {
	margin-top: 20px;
	font-weight: bolder;
	/*border: 1px dotted lightgray;*/
	/*color: #0C8B92;*/
}
a { text-decoration: none; }

div .booktext { }
div .booknum { }
/*
div .booktext {	float: left;	display: inline-block}
div .booknum {	float: right;	display: inline-block; padding-left: 5px; padding-right: 5px;}
 */





/* ----- mise en page du contenu ----- */
.sample-docs strong {
	font-weight: bolder;
	color: black;
}
.sample-docs ul li {
	margin-bottom: 10px;
}

.spade { color: black; }
.heart{	color: #AA0000 ; }
.diamond { color: #CC5500; }
.club {	color: #000099; }
.spade, .heart, .diamond, .club {
	font-weight: bolder;
	font-size: 1.1em;
}

/* ----- mise en page des exemples ----- */
div .exemple_book {
	border: 1px solid gray;
	margin: 5px;
	padding: 2px 5px;
	/*font-size: 0.75em;*/
	font-size: 0.9em;
}


div .illustration {
	margin: 5px;
	padding: 5px;
	font-size: 0.75em;
	padding-left: 120px;
}

div .illustration2 {
	margin: 5px;
	padding: 5px;
	font-size: 0.75em;
}

p.exemple_header {

}

div.exemple_dessin {
	text-align: center;
}

div.exemple_question {

}


div.exemple_reponse {

}

div.exemple_comment {
	text-align: center;
}

div.exemple_auto {
	text-align: center;
	font-size:1.2em;
	margin-bottom:2px;
}




/* cartes */
.coeur,
.pique,
.carreau,
.trefle {
	width:26px;
	height:36px;
	background-color:#FFF;
	border: thin  #D8D8D8 solid;
	border-radius:5px;
	box-shadow:-2px 1px 2px #CCC;
	font-size:1.2em; /* 1.2em */
	text-align:center;
	margin-bottom:5px;
	line-height:12px;
	padding:4px;
	color: #000;
	display:inline-block;
	margin-right:-3px;
	font-weight:500;
}
.coeur:after {
	content:"";
	background-size:65%;
	background-image: url(/images/coeur.png);
	background-repeat:no-repeat;
	display: block;
	width:20px;
	height:25px;
	float: left;
	margin: 1px 0px 0px 8px;
	text-transform:uppercase;
}


.pique:after {
	content:"";
	background-size:65%;
	background-image: url(/images/pique.png);
	background-repeat:no-repeat;
	display: block;
	width:20px;
	height:25px;
	float: left;
	margin: 1px 0px 0px 8px;
	font-weight:700;
}

.trefle:after {
	content:"";
	background-size:65%;
	background-image: url(/images/trefle.png);
	background-repeat:no-repeat;
	display: block;
	width:20px;
	height:25px;
	float: left;
	margin: 1px 0px 0px 8px;
}

.carreau:after {
	content:"";
	background-size:65%;
	background-image: url(/images/carreau.png);
	background-repeat:no-repeat;
	display: block;
	width:20px;
	height:25px;
	float: left;
	margin: 1px 0px 0px 8px;

}

div .coeur,
div .pique,
div .carreau,
div .trefle {
	background-color: #fff  !important;
}


/* cartes  Ouest et Est type Q */

.coeur-OE,
.pique-OE,
.carreau-OE,
.trefle-OE {
	width:26px;
	height:36px;
	background-color:#FFF;
	border: thin  #D8D8D8 solid;
	border-radius:5px;
	box-shadow:0px -1px 3px #CCC;
	font-size:1em; /* 1.2em */
	text-align:center;
	line-height:16px;
	padding:2px 4px 0 4px;
	color: #000;
	font-weight:500;
	position: static;
	margin-top:-14px;

}


.coeur-OE:after {
	content:"";
	background-size:65%;
	background-image: url(/images/coeur.png);
	background-repeat:no-repeat;
	display: block;
	width:20px;
	height:25px;
	float: left;
	margin: 0px 0px 0px 3px;
	text-transform:uppercase;
	position: absolute;
}


.pique-OE:after {
	content:"";
	background-size:65%;
	background-image: url(/images/pique.png);
	background-repeat:no-repeat;
	display: block;
	width:20px;
	height:25px;
	float: left;
	margin: 0px 0px 0px 3px;
	font-weight:700;
	position: absolute;
}

.trefle-OE:after {
	content:"";
	background-size:65%;
	background-image: url(/images/trefle.png);
	background-repeat:no-repeat;
	display: block;
	width:20px;
	height:25px;
	float: left;
	margin: 0px 0px 0px 3px;
	position: absolute;
}

.carreau-OE:after {
	content:"";
	background-size:65%;
	background-image: url(/images/carreau.png);
	background-repeat:no-repeat;
	display: block;
	width:20px;
	height:25px;
	float: left;
	margin: 0px 0px 0px 3px;
	position: absolute;
}

/* Main */


.mainseule_S,
.mainseule_N {
	display:block;
	text-align: center;
}

.main_S,
.main_N {
	display:block;
	text-align: left;
	margin-left: 9%;
}

.main_O,
.main_E {
	display:block;
	text-align: left;
}


/* Table des encheres */
div .encheres_ajustees {
	margin: 1em 2em;
	margin-left: 33%;
}


table.encheres {
	color: #000;
	border: 0 solid #ccc;
	border-collapse: collapse;
	margin: 0 0 0 1em;
	width: 230px;
	/*margin-left: 25%;*/
	table-layout: auto;
	background-color: #FFF;
	border-radius:5px;
	box-shadow: #D0D0D0 1px 3px 2px;
	vertical-align:middle;
	/*font-family:'Roboto Slab', serif;*/
	font-family: Roboto, serif;
}


table.encheres th {
	background-image:url(/images/title-sone.png);
	color:#efe3cd;
	font-size: 1.05em;
	letter-spacing: .02em;
	text-transform: uppercase;
	font-weight: 200;
	height:25px;
}

table.encheres tr {
	border-top: solid 0px   #005D28;
	background-color:#97b36e;
}

table.encheres .color {
	background-color:#7da25e;
}

table.encheres th,
table.encheres td {
	text-align:center;
}

table.encheres th, table.encheres td {
	width: 25%;
	border-left: 1px solid #99aa99;
}


/* cartons encheres */
table.encheres .carton-C,
table.encheres .carton-P,
table.encheres .carton-K,
table.encheres .carton-T,
table.encheres .carton-SA,
table.encheres .carton- {
	width:40px;
	height:20px;
	background-color:#FFF;
	border: thin  #D8D8D8 solid;
	border-radius:5px;
	box-shadow:0px 2px 5px  #1F461F;
	font-size:1.2em; /* 1.2em */
	text-align:center;
	padding:0px 4px 10px 4px;
	color: #000;
	display:inline-block;
	margin-top:5px;
	margin-bottom:5px;
	font-weight:500;

	vertical-align: middle;
}

table.encheres .carton-SA {
	font-size: 1.2em;
	padding-top: 5px;
	padding-bottom: 5px;
}
table.encheres .carton- {
	font-size: 1.6em;
}

table.encheres .carton-P,
table.encheres .carton-K,
table.encheres .carton-C,
table.encheres .carton-T {
	padding-top: 5px;
	padding-bottom: 5px;
	font-size: 1.4em;
}


table.encheres .carton-C:after
{
	content:"";
	background-size:65%;
	background-image: url(/images/coeur.png);
	background-repeat:no-repeat;
	display: block;
	width:20px;
	height:25px;
	float: right;
	margin: 0px -2px 5px 0px;
	text-transform:uppercase;
}


table.encheres .carton-P:after {
	content:"";
	background-size:65%;
	background-image: url(/images/pique.png);
	background-repeat:no-repeat;
	display: block;
	width:20px;
	height:25px;
	float: right;
	margin:0px -2px 4px 0px;
	font-weight:700;
}

table.encheres .carton-T:after {
	content:"";
	background-size:65%;
	background-image: url(/images/trefle.png);
	background-repeat:no-repeat;
	display: block;
	width:20px;
	height:25px;
	float: right;
	margin: 0px -5px 5px 0px;
}

table.encheres .carton-K:after {
	content:"";
	background-size:65%;
	background-image: url(/images/carreau.png);
	background-repeat:no-repeat;
	display: block;
	width:20px;
	height:25px;
	float:right;
	margin: 0px -5px 5px 0px;
}

table.encheres .carton-SA:after,
table.encheres .carton-:after
{
	content:"";
	display: block;
	float: right;
	margin: 0;
}

/*  exemple-typeQ */

table.exemple-typeQ  {
	text-align: center;
	padding:0;
	border-collapse: separate;
	table-layout: auto;
	width: 100%;
}

table.exemple-typeQ td {
	padding:0;
}


/*  tapis */


table.tapis  {
	background-color: #FFF;
	text-align: center;
	border: 2px solid #4CB357;
	border-collapse: collapse; /*separate;*/
	margin: 5% auto 5%;
	padding:8px 5px 5px 2px;
	width: 150px;
	height:150px;
	table-layout: auto;
}

table.tapis tr td { border: none;}


table.tapis  .C,
table.tapis  .P,
table.tapis  .K,
table.tapis  .T,
table.tapis  .SA  {
	width:45px;
	height:30px;
	background-color:#FFF;
	border: thin  #D8D8D8 solid;
	border-radius:5px;
	box-shadow:0px 2px 5px  #1F461F;
	font-size:1.2em;
	text-align:center;
	padding:0px 4px 10px 4px;
	color: #000;
	display:inline-block;
	font-weight:500;
	vertical-align:middle;

}
table.tapis .C:after
{
	content:"";
	background-size:65%;
	background-image: url(/images/coeur.png);
	background-repeat:no-repeat;
	display: block;
	width:20px;
	height:25px;
	float: right;
	margin: 5px -2px 0px 0px;
	text-transform:uppercase;
}


table.tapis .P:after {
	content:"";
	background-size:65%;
	background-image: url(/images/pique.png);
	background-repeat:no-repeat;
	display: block;
	width:20px;
	height:25px;
	float: right;
	margin:4px -2px 0 0;
	font-weight:700;

}

table.tapis .T:after {
	content:"";
	background-size:65%;
	background-image: url(/images/trefle.png);
	background-repeat:no-repeat;
	display: block;
	width:20px;
	height:25px;
	float: left;
	margin: 4px -2px 0px 0px;
}

table.tapis .K:after {
	content:"";
	background-size:65%;
	background-image: url(/images/carreau.png);
	background-repeat:no-repeat;
	display: block;
	width:20px;
	height:20px;
	float: left;
	margin: 4px -2px 0px 0px;
}

table.tapis .SA:after {
	content:"SA";
	color: #0030FF;
	display: block;
	float: right;
	margin: 0px 0px 0px 0px;
}

/* cartes */

table.tapis .coeur,
table.tapis .pique,
table.tapis .carreau,
table.tapis .trefle {
	width:30px;
	height:42px;
	background-color:#FFF;
	border: thin  #D8D8D8 solid;
	border-radius:5px;
	box-shadow:-2px 1px 2px #CCC;
	font-size:1.2em;
	text-align:center;
	margin-bottom:5px;
	line-height:16px;
	padding:4px;
	color: #000;
	display:inline-block;
	margin-right:-5px;
	font-weight:500;
}

table.tapis .coeur:after {
	content:"";
	background-size:65%;
	background-image: url(/images/coeur.png);
	background-repeat:no-repeat;
	display: block;
	width:20px;
	height:25px;
	float: left;
	margin: 1px 0px 0px 8px;
	text-transform:uppercase;
}


table.tapis .pique:after {
	content:"";
	background-size:65%;
	background-image: url(/images/pique.png);
	background-repeat:no-repeat;
	display: block;
	width:20px;
	height:25px;
	float: left;
	margin: 1px 0px 0px 8px;
	font-weight:700;
}

table.tapis .trefle:after {
	content:"";
	background-size:65%;
	background-image: url(/images/trefle.png);
	background-repeat:no-repeat;
	display: block;
	width:20px;
	height:25px;
	float: left;
	margin: 1px 0px 0px 8px;
}

table.tapis .carreau:after {
	content:"";
	background-size:65%;
	background-image: url(/images/carreau.png);
	background-repeat:no-repeat;
	display: block;
	width:20px;
	height:25px;
	float: left;
	margin: 1px 0px 0px 8px;
}

table.encheres .vulnerable {
	background-image: url(/images/title-sone-vuln.png);
	z-index:1;
}


.carton-passe {
	color:#060;
	font-size:0.6em;
	padding-bottom: 0.3em;
}

.carton-x, .carton-xx {
	color: #900;
	vertical-align: middle;
	padding-top: 5px;
}


div.numex {
	float:right;
	font-size:10px;
}


.book_link_ok {
	color: #0e6040;
}

.book_link_locked {
	color: #5d1717;
}

/* ----- */
div .colordir_S, div .colordir_O, div .colordir_W, div .colordir_N, div .colordir_E {
	margin:5px;
	padding: 5px;
	width: 470px;
	text-align: center;
}

div.page-wrapper div div .colordir_S { background-color: #FBB; }
div.page-wrapper div div .colordir_O, div .colordir_W { background-color: #BFB; }
div.page-wrapper div div .colordir_N { background-color: #BBF; }
div.page-wrapper div div .colordir_E { background-color: #FFB; }

p.text, p.bleu {
	line-height: 0.9em;
	margin: 0;
	padding: 2px;
}

span.border, p.border {
	border: 1px solid black;
}

span.text, p.text {
	background-color: #DEF;
}

span.bleu, p.bleu {
	color: #116;
}

table.table_centree tr td, table.table_centree tr th  {
	text-align: center;
}

/* Correctif taille cartons */

table .encheres *{
	font-size: 17px;
}

div .exemple_book * table {
	  font-size: 17px;
}

/* Ajouts tableau large */
table.full_width {
	width: 100%;
	/*border: 1px solid black;*/
}

#booktabs div.bookmark_on a {
	color: green;
}

#booktabs div.bookmark_off a {
	color: blue;
}

#booktabs div.bookmark_disabled a {
	color: gray;
}