/** Eric meyer reset: begin */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-weight: inherit;
	font-style: inherit;
	font-size: 100%;
	font-family: inherit;
	vertical-align: baseline;
}
:focus {
	outline: 0;
}
body {
	line-height: 1;
	color: black;
	background: white;
}
ol, ul {
	list-style: none;
}
table {
	border-collapse: separate;
	border-spacing: 0;
}
caption, th, td {
	text-align: left;
	font-weight: normal;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: "";
}
blockquote, q {
	quotes: "" "";
}
/** Eric meyer reset: end */

body{
/*    background: white url('/images/sudoku-background.jpg') top left repeat-x;*/
	text-align: center;
}

ul.messages{
    padding: 5px;
    border-top: 1px solid #C2EF86;
    border-bottom: 1px solid #C2EF86;
    background: #EAFFCF;
}

.errors{
    padding: 5px 0;
}

ul.errors{
    padding: 5px;
    border-top: 1px solid red;
    border-bottom: 1px solid red;
	background-color: #FFC2C7;
	font-weight: bolder;
}

form {
	margin-top: 1.4em;
	text-align: left;
}

form label {
	padding: 3px 0;
}

form input {
	padding: 3px;
}

form textarea {
	padding: 3px;
}

form .field {
	margin-bottom: 1.4em;
	clear: both;
}

form .field label {
	display: block;
	font-weight: bolder;
}

form .field input {
}

form .field .help{
/*	float: right;
	width: 50%;*/
}

form input[type=submit] {
}


#member-upgrade{
    height: 96px;
    background: #f3f3f3;
}

#member-upgrade p{
    margin: 30px 10px;
}

#grid-info{
	padding-bottom: 5px;
}

#grid-info h2{
	float: left;
	width: 50%;
	text-align: left;
	display: inline; 
}

#zone-sudoku-logo{
/*	margin-top: 10px;*/
}

#zone-sudoku-logo a{
	text-decoration: none;
}

#zone-sudoku-logo a:hover{
    background: #666;
}

.label-input-field {
    width: 250px; 
}

dl#login{
	margin-top: 20px;
}

dl#login dt{
	width: 20%;
}

#signup-button{
	width: 390px;
}


#signup-button img{
	width: 390px;
}

#congratulations h3{
	margin-top: 20px;
}

#congratulations p{
	margin-bottom: 10px;
}

#congratulations .login-and-get-points{
	padding: 5px 5px;
}


#congratulations .login-and-get-points a:hover{
}

#log-in{
	padding-top: 20px;
	padding-bottom: 8px;
}

#log-in span{
	position: relative;
	top: -15px;
}

#log-in a{
	background: #f7fb79;
	margin-right: 10px;
}

#log-in a:hover{
	background: black;
}

#sudoku-grid-completed {
	border: 5px solid ;
	padding: 10px;
}

#sudoku-grid-completed h1 {
}

#sudoku-grid-completed #not-logged-notice{
    background: #eee;
    padding-top: 8px; 
    border-top: 2px solid silver; 
    border-bottom: 2px solid silver;
}

/* A RETIRER: TEMPORAIRE!! Pour diminuer la grosseur des chiffres de la grille. */
#sudoku td{
	cursor: pointer;
	cursor: hand;
	width: 40px;
	height: 40px;
}

#sudoku td img{
	width: 20px;
	height: 20px;
}

a{
    padding: 2px;
}


ul#secondary-navigation{
	padding: 5px;
	background: #ccc;
	display: block;
}

ul#secondary-navigation li{
	display: inline;
	margin-right: 20px;
	padding: 2px;
}

ul#secondary-navigation li.current{
}

.container{
	width: 800px;
	margin: 0 auto;
	text-align: left;
}

.form-actions{
    margin-left: 20%;
}

dl{
}

dt{
/*    float: left;
    clear: left;*/
/*    width: 30%;*/
}

dd{
/*	margin-bottom: 10px;*/
	margin-bottom: 1.4em;
}

dt span.validation-error{
	display: none;
}
	
dd span.validation-error{
	display: block;
	font-size: 14px;
}

#branding{
	background: #36393D;
	border-bottom: 5px solid #ADE85A;
}

#main-navigation{
	margin: 1em 0 0 0;
}

#main-navigation li{
	display: inline;
	padding: 0 0 0 5px;
}

#main-navigation li.current{
	background: #ADE85A;
	padding: 2px 5px;
}

/* Default play area */
#play-area{
	padding-top: 1.4em;
}

/* Default side bar */
#sudoku-sidebar{
	width: 390px;
	float: right;
}

body.content #sudoku-sidebar{
}

#sudoku-sidebar p{
	margin-bottom: 1.4em;
}

#user-info{
/*    margin: -100px 0 55px 0;*/
	position: relative;
	top: -50px;
	margin-top: -50px;
}

#sudoku-container{
    width: 394px;
    float: left;
}

#sudoku-container #validate-save-button{
    width: 394px;
    padding: 5px 0;
}

#sudoku{
	clear: both;
	border: 1px solid black;
	margin-bottom: 10px;
	width: 394px;
	height: 394px;
}

#sudoku td{
	border: solid silver;
	border-width: 1px 1px 0 0;
}

#sudoku .guesses{
    width: 100%;
    height: 28px;
    border: 0;
    margin: 0;
    padding: 0;
}

#sudoku .guesses td{
    border: 0;
    width: 8px;
    height: 7px;
    padding: 0;
    margin: 0;
}

#sudoku td.col-1{
    border-left: 0;
}

#sudoku td.col-9{
    border-right: 0;
}

#sudoku tr.row-1 td{
    border-top: 0;
}

#sudoku tr.row-9 td{
    border-bottom: 0;
}

#sudoku td.col-3{
	border-right: 3px solid silver;
}

#sudoku td.col-6{
	border-right: 3px solid silver;
}

#sudoku .row-3 td{
	border-bottom: 3px solid silver;
}

#sudoku .row-3 td table.guesses td{
	border: 0;
}

#sudoku .row-6 td{
	border-bottom: 3px solid silver;
}

#sudoku .row-6 td table.guesses td{
	border: 0;
}


#sudoku-chooser{
	position: absolute;
	top: 0px;
	left: 0px;
	border: 5px solid black;
}

#sudoku-chooser td{
	border: 1px solid silver;
	width: 30px;
	height: 30px;
	cursor: pointer;
	cursor: hand;
}

#sudoku-validation-result .errors{
	padding: 5px;
}

#sudoku-validation-result .success{
	padding: 5px;
}

#grid-controls{
	margin-bottom: 25px;
}

#grid-controls a{
	margin-top: 15px;
}

#footer{
	clear: both;
	position: relative;
	top: 50px;
	padding: 10px 10px 50px 10px;
	border-top: 2px solid black;
}

.clear {
	clear: both;
	visibility: hidden;
	height: 0;
}


@media print {
	
	* {
	   	float: none;
	  	background-color: white !important;
	  	background-image: none !important;
	  	padding: 0;
	  	margin: 0;
		font-family: "Trebuchet MS", Verdana, Tahoma;
	}
	
	#branding h1{
		color: black;
	}
	
	#branding h2{
		color: #555;
		border-bottom: 3px solid black;
		margin-bottom: 20px;
	}
	
	#grid-info{
		color: black;
	}
	
	#sudoku{
		border: 3px solid black;
	}
	
	#sudoku td{
		text-align: center;
		width: 40px;
		height: 40px;
		border-right: 1px solid silver;
		border-bottom: 1px solid silver;
	}
	
	#sudoku td.protected{
		background: #ddd;
	}
	
	#sudoku-sidebar{
		display: none;
	}
	
	#user-info{
		display: none;
	}
	
	#footer{
		display: none;
	}	
	
}

* {
	line-height: 1.7em;
}

body {
	font: 75% normal "Trebuchet MS", Verdana, Tahoma;
    text-align: center;
	color: black;
}

a{
	color: blue;
}

a:hover{
	background: blue;
	color: white;
}

h1 {
	font-size: 218%;
}

ul{
	list-style-type: square;
}

p{
}

ul#secondary-navigation{
	list-style-type: none;
}

ul#secondary-navigation li.current{
	font-weight: bolder;
	color: black;
}

ul#secondary-navigation li a{
	text-decoration: none;
}

ul#secondary-navigation li a:hover{
	text-decoration: underline;
}

ul.messages{
    list-style-type: none;
    font-weight: bolder;
}

.errors{
    color: red;
    list-style-type: none;
}

ul.errors{
    color: red;
    list-style-type: none;
}

form label {
	font-size: 14px;
}

form input {
	font-size: 14px;
}

/*label{
    font-weight: bolder;
}*/

dt{
    text-align: left;
    font-family: "Trebuchet MS", Verdana, Tahoma;
}

dd{
	text-align: left;
}

#branding{
	color: white;
}

#branding h1#tagline {
	font-size: 145%;
}

#branding p#tagline {
	font-size: 145%;
	color: white;
}

#branding a#homepage {
	color: white;
	font-size: 218%;
	text-decoration: none;
}

#branding a#homepage:hover {
	background-color: #444;
}

/*#branding h2{
	font-size: 218%;
}

#branding h3{
	font-weight: normal;
	font-size: 118%;
	color: #ccc;
}*/

#branding a{
	color: white;
}

#branding a:hover{
	color: white;
}

#branding h2{
	color: white;
}

#branding p{
	color: silver;
}

#main-navigation{
	list-style-type: none;
/*	font-size: 164%;*/
}

#main-navigation li{
	color: #fff;
}

#main-navigation li.current{
	color: black;
}

#main-navigation li a{
	font-weight: bolder;
	text-decoration: none;
	color: white;
}

#main-navigation li a:hover{
	color: white;
	background: #666;
}

#main-navigation li.current a{
	color: black;
}

#main-navigation li.current a:hover{
	color: black;
	background: #ADE85A;
}

#sudoku-sidebar h2{
	font-size: 118%;
/*	line-height: 1.8em;*/
/*	color: #6C6C6C;*/
}

#user-info{
	color: white;
    text-align: right;
}

#user-info a{
	color: white;
	font-weight: bolder;
}

#user-info a:hover{
	color: #444;
	background: white;
}

#sudoku-container{
    text-align: center;
}

#sudoku-container #grid-info{
	font-size: 118%;
	font-weight: normal;
	text-align: right;
}

#grid-info h1 {
	font-size: 118%;
}

#sudoku{
	font-weight: bolder;
	font-size: 2em;
}

#sudoku td{
	vertical-align: middle;
	text-align: center;
}

#sudoku td.cell-error{
    background: pink !important;
}

#sudoku .guesses{
    color: #888;
}

#sudoku .guesses td{
    font-size: 8px;
    vertical-align: middle;
    text-align: center;
}

#sudoku .guesses span{
    color: white;
}

#sudoku .guesses .selected span{
	color: black;
}

#sudoku td.protected{
    color: black;
    background: #e3e3e3;
}

#sudoku td.writable{
	color: black;
}

#sudoku td.error{
	background: red;
}

#sudoku-chooser{
	background: white;
}

#sudoku-chooser td{
	vertical-align: middle;
	text-align: center;
	font-weight: bolder;
	font-size: 1.25em;
}

#sudoku-chooser td.selected{
	font-weight: bolder;
	background: #ddd;
}

#sudoku-chooser td.clear-cell{
    font-weight: normal;
    font-size: 0.8em;
}

#sudoku-chooser td.cancel{
    font-weight: normal;
    font-size: 0.8em;
}

#sudoku-validation-result .errors{
	background: #ff0000;
	font-weight: bolder;
	color: white;
}

#sudoku-validation-result .success{
	background: green;
	font-weight: bolder;
	color: white;
}

#grid-controls{
	text-align: center;
}

#footer{
	background: #ddd;
}

#member-upgrade{
    color: black;
    font-size: small;
}

#member-upgrade p{
    vertical-align: middle;
    color: black;
}

#zone-sudoku-logo{
	color: white;
}

#zone-sudoku-logo a{
	text-decoration: none;
}

.label-input-field {
    text-align: right;
}

.ranking-userpos {
    font-weight: bolder;
}

.validation-error {
    color: red;
}

#congratulations h2{
	color: green;
	font-size: 32px;
}

#congratulations strong{
	color: black;
}

#congratulations .login-and-get-points{
	color: silver;
}

#congratulations .login-and-get-points a{
	color: white;
	background: black;
}

#congratulations .login-and-get-points a:hover{
	background: white;
	color: black;
}

#log-in{
	font-size: 125%;
	text-align: right;
}

#log-in a{
	font-weight: bolder;
	color: black;
}

#log-in a:hover{
	color: #f7fb79;
}

#sudoku-grid-completed {
	text-align: left;
	font-size: 12px; 
}

#sudoku-grid-completed h1 {
	font-size: 18px; 
}

#sudoku-grid-completed #greeting {
	color: green;
	font-size: 20px;    
	font-weight: bolder;
}

