@import url(reset.css);

/*
COLORS
###########################
Green (dark to light)
1. 792b27
2. 983132
3. E9C2B9
4. EFD4CD

Purple (dark to light)
1. F07500
###########################
*/

	
/* Structure
-------------------------------------------------------------------------------------------*/
body {
	font:75% 'Helvetica Neue', Helvetica, Arial, sans-serif;
	color:#333;
	background:#E6E6E6;
}

#welcome {
	font-size:.9em;
	float:right;
	padding:10px 0 0 22px;
	background:url(../../img/key.png) no-repeat 0 9px;
	line-height:16px;
}

#top {
	width:790px;
	height:75px;
	margin:0 auto;
	background:url(img/logo.gif) no-repeat;
}

.login #top,.login #content,.login #footer {
	width:240px;
}

#content {
	width:790px;
	margin:0 auto 20px;
	padding:20px;
	border:1px solid #CCC;
	background:#fff;
	-moz-border-radius:5px;
	-webkit-border-radius:5px;
}

#footer {
	width:790px;
	margin:0 auto;
	padding:0 0 20px;
	font-size:.8em;
	clear:both;
}

#loginBox {
	float:left;
	width:245px;
	margin:0 25px 0 0;
}

#askForAccessBox {
	float:left;
	width:245px;
	margin:0 25px 0 0;
}

#passLostBox {
	float:left;
	width:245px;
	margin:0 25px 0 0;
}


	
/* Boxes
-------------------------------------------------------------------------------------------*/
#boxes {
	float:left;
}

#reservBox {
	margin:0 0 20px;
	padding:10px;
	background:#983132 url(../../img/overlayMini.png) repeat-x top;
	color:#fff;
	text-shadow:0 1px 1px #792b27;
	text-align:center;
	-moz-border-radius:5px;
	-webkit-border-radius:5px;
}

.boxTitle {
	margin:5px 0 10px;
}

.courtBox {
	float:left;
	width:240px;
	margin:0 20px 20px 0;
	padding:5px;
	background:#666;
	-moz-border-radius:5px;
	-webkit-border-radius:5px;
}

.box {
	float:left;
	width:510px;
	margin:0 20px 0 0;
	padding:5px;
	background:#666;
	-moz-border-radius:5px;
	-webkit-border-radius:5px;
}

.boxContent {
	padding:5px;
	background:#fff;
	-moz-border-radius:3px;
	-webkit-border-radius:3px;
	text-shadow:0 1px 1px #fff;
}

#boxAdd,#boxManage {
	display:block;
	float:right;
	text-align:right;
	color:#fff;
}

.boxContent li {
	padding:5px;
}

.boxContent li.alt,td.alt,tr.alt td,tr.alt th {
	background-color:#F2F2F2;
}

.boxContent li:hover {
	background-color:#E6E6E6;
}

.boxContent li.busy {
	background:#EFD4CD url(../../img/bgStripes.png);
}

.boxContent li.busy.alt {
	background:#E9C2B9 url(../../img/bgStripes.png);
}

.col160 {
	float:left;
	width:140px;
	padding:10px;
	margin-right:10px;
	text-align:center;
}

.deleteOption {
	width:16px;
	height:16px;
	float:right;
	padding:8px 5px 0 0;
}

#sidebar {
	width:250px;
	float:right;
}

#sidebar #navigation,#sidebar #administration,#sidebar #sponsors {
	margin:25px 0 0;
}

#homeMessage {
	line-height:1.5em;
	margin:0 0 25px;
	border:2px solid #F6DE09;
	background:#FDF6B5;
	-moz-border-radius:3px;
	-webkit-border-radius:3px;
}

#homeMessageContent {
	margin:5px;
}

#sidebar ul {
	border-bottom:1px solid #CCC;
}

#sidebar li {
	border-top:1px solid #CCC;
	padding:5px 2px;
}

#sidebar li:hover {
	padding-left:5px;
	border-left:3px solid #F07500;
}

#top #loader {
	float:left;
	width:220px;
	height:19px;
	margin:30px 0 0 285px;
	background:url(../../img/loadingBar.gif) no-repeat;
}

#loader {
	position:relative;
	height:16px;
	width:16px;
	padding:0 0 9px;
	background:url(../../img/loading.gif) no-repeat;
}

.right {
	float:right;
	display:inline-table;
}

.left {
	float:left;
}


	
/* Text
-------------------------------------------------------------------------------------------*/
h1 {
	font:1.5em "Helvetica Neue", Helvetica, Arial;
	font-weight:normal;
	color:#fff;
	line-height:.8em;
	text-shadow:0 1px 1px #222;
}

#sidebar h1 {
	color:#983132;
	margin:0 0 10px;
	text-shadow: none;
}

.boxTitle h1 {
	float:left;
}

h2 {
	font-size:1.3em;
	font-weight:bold;
	margin:0 0 5px;
	color:#983132;
}

h3 {
	font-size:1.3em;
	font-weight:bold;
	margin:25px 0 5px;
	color:#983132;
}

h3.first {
	margin:0 0 5px;
}

.login h3 {
	cursor:pointer;
}

.boxContent h3 {
	margin-left:145px;
}

p {
	margin:0 0 10px;
}

ul {
	list-style:none;
}

#error {
	display:none;
	margin:0 0 10px;
	padding:5px;
	background-color:#F07500;
	color:#fff;
	font-weight:bold;
	text-shadow: none;
	-moz-border-radius:3px;
	-webkit-border-radius:3px;
}

.error {
	border:1px solid #F07500;
}

.noMargin {
	margin:0;
}

.mini {
	font-size:.8em;
	font-weight:normal;
}

.colored {
	margin-top:5px;
	margin-bottom:5px;
	font-size:1.2em;
	background:#983132 url(../../img/overlayMini.png) repeat-x;
	color:#fff;
	text-shadow:0 1px 1px #792b27;
	-moz-border-radius:3px;
	-webkit-border-radius:3px;
}

.colored span {
	font-size:3em;
	font-weight:bold;
}


	
/* Links
-------------------------------------------------------------------------------------------*/
a,a:link,a:active,a:visited,#calendar td.itemSelectedItem a {
	color:#983132;
	text-decoration:none;
	cursor:pointer;
}

a:hover,#sidebar ul li a:hover {
	color:#F07500;
	text-decoration:none;
}

#boxAdd a,#boxManage a {
	color:#fff;
}

#sidebar ul a:link,#sidebar ul a:active,#sidebar ul a:visited {
	color:#333;
	text-decoration:none;
}

#calendar a:link,#calendar a:active,#calendar a:visited {
	color:#fff;
	text-decoration:none;
}

#calendar a:hover {
	border-bottom:1px dotted #fff;
}

#homeMessage a,#homeMessage a:link,#homeMessage a:active,#homeMessage a:visited {
	color:#333;
	background:#FAEC6B;
	padding:2px 4px;
	border-bottom:1px solid #F8E53A;
}

#homeMessage a:hover {
	background:#F8E53A;
	border-bottom:1px solid #F6DE09;
}

.boxTitle .right a:link,.boxTitle .right a:active,.boxTitle .right a:visited {
	color:#fff;
	text-shadow:0 1px 1px #792b27;
	background:#983132 url(../../img/overlayMicro.png) repeat-x;
	padding:5px;
	font-weight:bold;
	-moz-border-radius:5px;
	-webkit-border-radius:5px;
}

.boxTitle .right a:hover {
	background-color:#F07500;
	text-shadow:none;
}


	
/* Forms
-------------------------------------------------------------------------------------------*/
.boxTitle form {
	margin-top:-5px;
	margin-bottom:-5px;
}

input,textarea,select {
	width:100%;
	padding:5px;
	background:#E6E6E6;
	border:0;
	font:1em 'Helvetica Neue', Helvetica, Arial, sans-serif;
	color:#333;
	text-shadow:0 1px 1px #fff;
	-moz-border-radius:5px;
	-webkit-border-radius:5px;
}

input:focus,textarea:focus,select:focus {
	background-color:#F07500;
	color:#fff;
	text-shadow:none;
	font-weight: bold;
	padding-bottom: 4px;
}

input[type=checkbox] {
	width:auto;
	padding:0;
	background:none;
	border:0;
}

input.date {
	background:#E6E6E6 url(../../img/calendar.png) 290px 5px no-repeat;
}

.bgDark {
	padding:5px;
	background:#E6E6E6;
	-moz-border-radius:5px;
	-webkit-border-radius:5px;
}

.boxContent input,.boxContent textarea {
	width:300px;
}

.boxContent select {
	width:310px;
}

.boxTitle select {
	margin-top:-5px;
}

.login input {
	width:230px;
}

label {
	font-weight:bold;
	cursor:pointer;
	line-height:2.5em;
}

option.disabled {
	text-decoration:line-through;
}

.submit {
	width:auto!important;
	border:0;
	background:#983132 url(../../img/overlayMicro.png) repeat-x top;
	color:#fff;
	font-weight:bold;
	cursor:pointer;
	text-shadow:0 1px 1px #792b27;
}

.submit:hover,.submit:focus,#reservBox .submit:hover,#reservBox .submit:focus {
	background-color:#F07500;
	color:#fff;
	text-shadow:none;
}

#reservBox .submit,#reservBox select {
	padding:2px;
	background:#fff url(../../img/overlayMicro.png) repeat-x top;
	color:#983132;
	font-weight:bold;
	text-shadow:none;
}

#reservBox .submit {
	padding:2px 4px;
}

#thumbnails {
	margin: 0 0 10px 0;
	display: none;
}

#sponsorsContent {
	width: 250px;
}
	
/* Calendar
-------------------------------------------------------------------------------------------*/
#calendar {
	background:#983132 url(../../img/overlay.png) repeat-x top;
	color:#fff;
	text-shadow:0 1px 1px #792b27;
	padding:5px;
	-moz-border-radius:5px;
	-webkit-border-radius:5px;
}

#calendar #nav {
	width:230px;
	margin:0 auto;
}

#calendar #navPrev {
	float:left;
	width:20px;
	margin:5px 0;
}

#calendar #navMonth {
	float:left;
	width:190px!important;
	width:180px;
}

#calendar #navNext {
	float:right;
	width:20px;
	margin:5px 0;
}

#calendar h1 {
	color:#fff;
	text-align:center;
	padding:5px 0;
	text-shadow:0 1px 1px #792b27;
}

#calendar table {
	width:240px;
}

tr#libelle td {
	border-bottom:1px dotted #fff;
	font-weight:bold;
}

#calendar table tr td {
	padding:5px;
	text-align:center;
}

td.itemSelectedItem {
	background:#E9C2B9 url(../../img/bgStripes.png);
	color:#983132;
	text-shadow:0 1px 1px #fff;
	font-weight:bold;
	-moz-border-radius:5px;
	-webkit-border-radius:5px;
}

td.itemCurrentItem {
	background:#792b27;
	color:#fff;
	font-weight:bold;
	-moz-border-radius:5px;
	-webkit-border-radius:5px;
}


	
/* Table
-------------------------------------------------------------------------------------------*/
table {
	width:100%;
	border:0;
}

table.profil td.title {
	width:135px;
	padding:0 10px 0 0;
	text-align:right;
	font-weight:bold;
	border:0;
}

table td {
	padding:5px 0;
	vertical-align:middle;
}

table th {
	text-align:left;
	vertical-align:middle;
}

table .title {
	border-bottom:1px solid #666;
	padding:0 0 5px;
}

tr.title td {
	font-weight:bold;
	border-bottom:1px solid #666;
	padding:5px 0;
}

.red {
	color:#F07500;
}


	
/* Uploadify
-------------------------------------------------------------------------------------------*/
#fileQueue {
	width:310px;
	overflow:auto;
}

.uploadifyQueueItem {
	margin-bottom:5px;
	padding:10px;
	width:286px;
}

.uploadifyError {
	border:2px solid #FBCBBC!important;
	background-color:#FDE5DD!important;
}

.uploadifyQueueItem .cancel {
	float:right;
}

.uploadifyProgress {
	background-color:#ccc;
	margin-top:10px;
	width:100%;
}

.uploadifyProgressBar {
	background-color:#333;
	width:1px;
	height:3px;
}


	
/* Clearer
-------------------------------------------------------------------------------------------*/
.clear {
	margin-right:0!important;
}

.clear:after,#content:after,#calendar #nav:after,.boxTitle:after {
	content:'-';
	clear:both;
	display:block;
	visibility:hidden;
	height:0;
}