
a {
	text-decoration:none;
}
a:link {
	color:#0080C0;
}
a:visited {
	color:#A030C0;
}
a:hover, a:active {
	color: red;
}

li {
	padding-left: 0px;
}

#content h1, h2, h3, h4 {
	font-weight: bold;
	clear: both;
	color: #262;
	margin-top: 5px;
	margin-right: 0;
	margin-bottom: 5px;
	margin-left: 0;
	line-height: 1.5em;
}

#content h1 {
	margin-top: 0;
	font-size: 24px;
	text-align: center;
}

#content h2 {
	font-size: 22px;
	text-align: left;
}

#content h3 {
	font-size: 18px;
	text-align:left;
	text-indent: 10px;
}

#content h4 {
	font-size: 16px;
	text-align:left;
	text-indent: 15px;
}


/* render html5 elements as block */
header, footer, section, aside, nav, article {
	display: block;
}

body {
	background: #40904A;
	font-family: Verdana, Arial, Helvetica, sans-serif;
}
	
/* div wrapper */
#wrapper {
	width: 90%;
	background: #FFF;
	margin-right: auto;
	margin-left: auto;
}

/* section main */
#main {
	width: 100%;
	margin: 0 auto;
	padding-top: 0px;
	overflow: hidden;
	text-align: justify;
}

/* section content */
#content {
	float: right;
	width: 75%;
	margin-top: 10px;
	margin-right: 0;
	margin-bottom: 10px;
	margin-left: 0px;
}

nav {
	width: 100%;
	height: 34px;
	background: #343;
	margin: 0 auto;
}

.menu ul ul, .menu ul {
	padding:0;
	margin:0;
	list-style:none;
	text-align:center;
	font-weight: bold;

}

.menu ul li {
	display:inline-block;
	position:relative;
}
.menu ul ul li {
	display:inherit;
	border-radius:0;
}

/*deroulement anime*/
.menu ul ul {
	position:absolute;
	max-height:0;
	width:100%;
	overflow:hidden;
	-moz-transition: .8s all .3s;
	-webkit-transition: .8s all .3s;
	transition: .8s all .3s;
}
/* limite la hauteur des sous menus (???) */
.menu ul li:hover ul {
	max-height:25em;
}

.menu ul ul li {
	background:#333333;
}

/* background des liens menus et sous menus au survol */

.menu ul li:hover {
	background-color:#A00
}

.menu ul a {
	text-decoration:none;
	display:block;
	padding:8px 32px;
	color:#fff;
	font-family:arial;
}
.menu ul a hover {
	text-decoration:none;
	display:block;
	padding:8px 32px;
	color:#000;
	font-family:arial;
}

.menu ul ul a {
	padding:8px 0;
}

#plain {
	width: 100%;
	margin: 5 auto;
	padding-top: 5px;
	overflow: hidden;
}

ul.plain {
	list-style:none;
}

article {
	border-radius:12px;
	box-shadow: 5px 5px 5px #884888;
	float: left;
	width: 95%;
	background-color: #E5F2E0;
	padding-top: 10px;
	padding-right: 10px;
	padding-bottom: 10px;
	padding-left: 10px;
	margin-top: 10px;
	margin-bottom: 10px;
}

article .rule {
	float: left;
	font-size: 16px;
	text-align: justify;
	background-color: #FFFFFF;
    clear: both;
	padding: 12px;
	border: 4px solid #D04040;
	border-radius: 12px;
}
article ul, ol, p {
	font-size: 16px;
    clear: both;
}

/* aside sidebar */
#sidebar {
	float: left;
	width: 20%;
	padding-top: 5px;
	padding-left: 10px;
	padding-right: 10px;
	text-align: left;
}
#sidemgr {
	float: left;
	width: 20%;
	padding-top: 5px;
	padding-left: 10px;
	padding-right: 10px;
	text-align: left;
	color: #FFF;
	background: #220;
}

#sidemgr h2 {
	font-size: 18px;
	font-weight: bold;
	color: #FFF;
}

#sidemgr ul {
	list-style-type: none;
	margin-top: 0px;
	margin-right: 0;
	margin-bottom: 15px;
	margin-left: -25px;
	color: #FFF;
}
#sidemgr ul li {
	font-size: 14px;
	margin-bottom: 5px;
	color: #FFF;
}
#sidemgr ul a, ahover {
	text-decoration: none;
	outline: none;
	color: #FFF;
}


#sidebar h2 {
	font-size: 16px;
	text-shadow: 0px 2px 3px #ddd;
}
#sidebar h3 {
	font-size: 14px;
	text-shadow: 0px 2px 3px #ddd;
}
#sidebar h4 {
	font-size: 12px;
	text-shadow: 0px 2px 3px #ddd;
}

#sidebar ul {
	border-top-style: none;
	border-right-style: none;
	border-bottom-style: none;
	border-left-style: none;
	list-style-type: none;
	margin-top: 0px;
	margin-right: 0;
	margin-bottom: 15px;
	margin-left: -25px;
}
#sidebar ul li {
	font-size: 12px;
	margin-bottom: 10px;
	box-shadow:2px 2px 5px gray; 
    -moz-box-shadow:2px 2px 5px gray;
    -webkit-box-shadow:2px 2px 5px gray;
}

#sidebar ul a, ahover {
	display: block;
	background: #F2F0FF;
	text-decoration: none;
	outline: none;
}

footer {
	width: 100%;
	margin: 0 auto;
	clear: both;
	background: #343;
	color: #FFF;
	padding: 10px 0;
	overflow: hidden;
}

.footer-segment {
	float: left;
	margin-right: 20px;
	margin-left: 20px;
	width: 20%
}

footer aside h4 {
	color: #faf0e6;
	font-size: 16px;
}

footer a:link, footer a:visited {
	color: #ccc;
}

footer p {
	margin-top: -15px;
	color: #faf0e6;
}
.rouge {
	color: #F00;
}
.vert {
	color: #090;
}
.bleu {
	color: #03C;
}
.center {
	text-align:center;
}
.team {
	font-size: 12px;
    background: #EEE;
}
.membre {
	color: #C00;
	font-weight: bold;
}
.connu {
	color: #00C;
	font-weight: bold;
}
.membre-los {
	color: #D00;
	font-weight: bold;
    background: #A0B0B8;
}
.connu-los {
	font-weight: bold;
    background: #A0B0B8;
}
.score-los {
    background: #A0B0B8;
}

.membre-win {
	color: #D00;
	font-weight: bold;
    background: #E0E8FF;
}
.connu-win {
	font-weight: bold;
    background: #E0E8FF;
}
.score-win {
    background: #E0E8FF;
	font-weight: bold;
}
.capitaine {
	font-weight: bold;
}
.categorie {
	color: #339;
	font-size: 18px;
	font-weight: bold;
}
.placetodo {
	color: #800;
	font-size: 14px;
}
.datetodo {
	color: #800;
	font-size: 12px;
}
.placedone {
	color: #060;
	font-size: 14px;
	font-weight: bold;
}
.datedone {
	color: #060;
	font-size: 12px;
	font-weight: bold;
}
.placenow {
	font-size: 14px;
	color: #DA4;
	font-weight: bold;
}
.datenow{
	color: #DA4;
	font-size: 14px;
	font-weight: bold;
}

/* mise en rouge des C et des K */
em {
	color: #F00;
	font-style:normal;
}

/* pour affichage des 4 jeux (voir jeu_nord) + us, them */
table.quatrejeux {
	font-size: 14px; 
	background-color: #459045;
	margin:0px;
	padding:10px;
	width:200px;
	border-radius: 5px;
	box-shadow: 5px 5px 5px #888888;
}
.us, .them {
	vertical-align: top;
	font-size: 14px; 
}
.us {
	font-weight:bold;
}
.them {
}
.us ul,.them ul {
	list-style-type:none;
	margin:0;
	padding-left:2px;
	padding-right:2px;
	padding-top: 2px;
	padding-bottom: 2px;
	border-radius: 10px;
}
.us ul {
	background-color: #F0F0F0;
}

.them ul {
	background-color: #C0C0C0;
}

/* pour affichage des 4 jeux (voir jeu_ouest) */
table.orientation {
	font-size: 16px; 
	font-weight:bold;
    text-align:center;
	color:white;
	width:100%;
}

/* description des 4 couleurs dans une main */
li.P, li.C, li.K, li.T {
	padding-left:20px;
	background-repeat:no-repeat;
	background-position:center left;
    min-width: 80px;
    padding-top:2px;
    padding-bottom:2px;
}
li.P {
	background-image:url(http://stegreve.bridge.free.fr/images/spade.gif);
}
li.C {
	background-image:url(http://stegreve.bridge.free.fr/images/heart.gif);
}
li.K { 
	background-image:url(http://stegreve.bridge.free.fr/images/diamond.gif);
}
li.T {
	background-image:url(http://stegreve.bridge.free.fr/images/club.gif);
}
li.H {
	background-repeat:no-repeat;
	background-position:center left;
	padding-left:20px;
    min-width: 80px;
    padding-top:8px;
    padding-bottom:8px;
}

/* pour les news, l'IMP, etc */
.floatim {
      margin-left:2px;
      margin-right:12px;
      margin-bottom:12px;
      height:auto;
      min-width:130px;
      float:left;
}

/* div pour description des mains dans les cours (voir jeu_unique) */
.hnd {
      margin-left:2px;
      margin-right:12px;
      margin-bottom:12px;
      height:auto;
      min-width:130px;
      float:left;
}

/* Presentation alternative pour les quizz et les donnes manuelles */
div.handbox {
	margin-left: 12px;
	margin-right: 12px;
	margin-top: 2px;
	margin-bottom: 20px;
	border: 3px solid #C0FFC0;
	border-radius: 10px;
	box-shadow: 5px 5px 5px #888888;
	height: auto;
	min-width: 160px;
	max-width: 200px;
	float: left;
	text-align: center;
	font-size: 14px; 
}

div.handbox ul {
	text-align: left;
	background-color: #E8F0E0;
	list-style-type:none;
	margin:0;
	padding-left:2px;
	padding-top: 2px;
	padding-bottom: 6px;
	font-weight: bold;
}
.hnd ul {
    background-color: #E8F0E0;
    list-style-type:none;
    margin:0;
    padding-left:2px;
    padding-top: 4px;
    padding-bottom: 4px;
    letter-spacing: 2px;
    border: 1px solid white;
}

/* nom des joueurs ou position */
.bborouge, .bbovert, .tithnd, .cnthnd {
    color: white;
	text-align: left;
    padding-left: 20px;
    padding-top: 4px;
    padding-bottom: 4px;
}
.bborouge {
	font-size: 16px;
	background-color:#C03818;
}
.bbovert {
	font-size: 16px;
	background-color:#408040;
}
.tithnd {
    font-style: bold;
    background: #208020;
}
.cnthnd {
	font-size: 14px;
    background: #208020;
}

/* dl liste de commentaires sur les encheres (cours) */
.desc {
      list-style-type:none;
}

/* sequence d'encheres (cours) */
div.sequ {
	float:left;
	margin-right:10px;
	margin-left:5px;
	margin-top:4px;
}

/* table basique (peu utilisee) */
table.basic {
    width: 80%;
    background-color: #F0F0F0;
    padding: 5px;
}

/* Tableaux encheres pour les cours */
table.choix {
	text-align: left; 
	background-color: #60B060;
	border-spacing: 1px;
	border-radius: 4px;
	box-shadow: 3px 3px 3px #908888;
	font-size: 14px; 
}
table.choix tr {
	background-color: #C0E0C0; 
}

table.choix th {
	font-size: 16px; 
	font-weight: normal;
	min-width:8em;
	padding:6px;
}
table.choix td {
	min-width:10em;
	padding:6px;
}

/* table simple utilisee pour les cours (alternative a choix ) */
table.simple {
      border-collapse:collapse;
      padding-left:20px;
}

table.simple td {
	  align: left; 
      padding-top: 6px;
      padding-bottom: 6px;
      padding-left: 8px;
      background-color:#E8F0E0;
      border: 1px solid white;
}

/* Equipe IMP */
table.team {
	margin-left: 2px;
	margin-right: 2px;
	margin-top: 2px;
	margin-bottom: 2px;
	border: 5px solid #A0C0A0;
	border-radius: 10px;
	height: 230px;
	width: 150px;
	float: left;
	text-align: left;
	font-size: 11px; 
	background-color:#FFFFFF;
}
table.team th {
	border:1px solid;
	border-radius: 10px;
	text-align:center;
	margin-left: 5px;
	margin-right: 5px;
	padding-top:5px;
	padding-bottom:4px;
	background-color:#408040;
	height: 30px;
	color:#ffffff;
	font-size: 14px; 
}

/* Sequence d'encheres (cours) */
table.bid {
	border-collapse:collapse;
    clear: right;
}
table.bid th {
	border:1px solid;
	text-align:center;
	padding-top:5px;
	padding-bottom:4px;
	background-color:#408040;
	color:#ffffff;
	width:45px;
}
table.bid th.R {
	background-color:#C03818;
}
table.bid td {
	width:45px;
	text-align:center;
	background-color: #E8F0E0;
	border:1px solid white;
    padding-top: 2px;
    padding-bottom: 2px;
}
table.bid td.bad {
	background-color:#F0C0C0;
}

table.feuille {
	background-color: #FAFFFA;
	border:1px;
	color: #000;
	width: 100%;
}

th.date {
	padding: 10px;
	color: #FFF;
	background-color: #508040;
	background: #508040;
	text-align:left;
}
th.names {
	padding: 10px;
	color: #FFF;
	background-color: #508040;
	background: #508040;
	text-align:left;
}
th.sect {
	background-color: #C0F0C0;
	text-align:left;
}
table.feuille th {
	padding: 5px;
	font-size: 12px;
}
table.feuille td {
	font-size: 12px;
}
td.txt1 {
	padding-left: 15px;
}

/* Table pour presentation des resultats, et autres usages */
table.verte, table.vertesmall {
	text-align: center;
	color: #000;
	background-color: #FFF;
	font-size: 14px;
}
table.verte {
	width: 90%;
}

/* meme chose, mais plus petite. */
table.vertesmall {
	width: 100%;
}
table.verte th, table.vertesmall th {
	color: #FFF;
	background-color: #486;
	font-weight: bold;
	padding: 5px;
}
table.verte td, table.vertesmall td {
	padding: 5px;
}
table.vertesmall td {
	font-size: 12px;
}

/* communs aux differentes tables */
td.em {
	font-weight: bold;
	background-color: #BEB;
	color: #040;
}
td.rf {
	background-color: #DEB;
	color: #040;
}
tr.impaire {
	background-color: #FAFDBA;
}
tr.paire {
	background-color: #CFC;
}
tr.neutre {
	background-color: #CEB;
}
th.title {
	font-size: 20px;
}

/* Bouton quizz */
#qref {
	background-color:#209020;
	color:#ffffff;
	font-size: 14px;
	width:18px;
	display: inline;
	border-radius: 10px;
	font-weight: bold;
}
#qref:hover {
	background-color:#902020;
}

input[type="submit"] {
 	cursor: pointer;
	font-weight: bold;
	color: #ffffff;
	background-color: #696;
	font-size: 14px;
}

#quest input[type="submit"] {
	padding: 40px;
}

a.verte {
	font-weight: bold;
	color: #ffffff;
	background-color: #6A6;
	font-size: 14px;
}
