/* general stuff */
@import url(/static/xstatic/themes/smoothness/jquery-ui.min.css);

html, body { margin: 0; font-family: sans-serif; }
a { text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { margin-top: 0; }
h1, h2, h3, h4 { color: #2a2a2a; }
ul { list-style: circle; }

a {
	-webkit-transition: color 200ms ease-out;
}

/* layout */

body {
	background: #1499cb url(ciel-haut.png) top left repeat-x;
}

div#top {
	background: url(mairie-nuage.png) top left no-repeat;
	height: 180px;
	width: 900px;
	margin: 0 auto;
}

div#top h1 {
	width: 10em;
	text-align: center;
	padding-top: 3em;
	padding-left: 2em;
	font-size: 120%;
	font-weight: bold;
}

div#top h1 a {
	color: white;
	text-shadow: #6374AB 0px 0px 3px;
}

div#main-content-wrapper {
	margin: 0 20px;
}

div#main-content {
	margin: 0 auto;
	background: white url(motif.png);
	-webkit-border-radius: 15px 15px 0 0;
	-moz-border-radius: 15px 15px 0 0;
	min-height: 400px;
	max-width: 110em;
}

div#breadcrumb {
	background: white;
	position: relative;
	margin: 0 auto;
	padding: 2px 5px;
	top: -1ex;
	max-width: 880px;
	border: 1px solid #888;
	-webkit-box-shadow:0 0 1em hsla(0, 0%, 0%, 1.0);
	-moz-box-shadow:0 0 1em hsla(0, 0%, 0%, 1.0);
	color: #5f5f5f;
}

div#breadcrumb a {
	color: #5f5f5f;
	font-weight: bold;
}

div#content {
	margin: 2ex 1.5% 0 1.5%;
}

div#sidebox h3 {
	margin: 0 0 1em 0;
}

div#member,
div#new_member,
div#accessibility,
div#contact,
div#info,
div#help,
div#rub_annonce,
div#rub_agenda,
div#rub_consultation,
div#profile,
div#services-2nd,
div#consultations,
div#gauche, div#centre, div#myspace, div#announces, div#rub_service {
	margin: 0 0.6% 10px 0.6%;
	background: white;
	border: 1px solid #888;
	-webkit-box-shadow:0 0 1em hsla(0, 0%, 0%, 1.0);
	-moz-box-shadow:0 0 1em hsla(0, 0%, 0%, 1.0);
	padding: 5px 5px 15px 5px;
}

div#gauche {
	width: 20%;
	float: left;
}

div#centre {
	width: 50%;
	float: left;
}

div#droite {
	width: 25%;
	float: left;
}

div#member,
div#new_member,
div#accessibility,
div#contact,
div#info,
div#help,
div#rub_agenda,
div#rub_annonce,
div#profile,
div#rub_consultation,
div#rub_service {
	float: right;
	width: 74%;
}

hr.clear {
	clear: both;
	padding-bottom: 2em;
	border: none;
}

div#footer {
	margin: 0 0 0 0;
	background: url(footer-shade.png) top left repeat-x;
	text-align: center;
	color: white;
	padding-top: 25px;
	padding-bottom: 5px;
	margin-top: -30px;
}

p#bottom-links a {
	color: white;
	font-weight: bold;
	font-size: 110%;
	padding: 0 20px;
	text-decoration: none;
}

p#legal {
	margin-top: 30px;
	font-size: small;
}

/* content styling */

div#rub_consultation h2,
div#rub_service h2,
div#rub_annonce h2,
div#rub_agenda h2,
div#profile h2,
div#services-2nd h3,
div#member h2,
div#help h2, div#info h2, div#accessibility h2, div#contact h2,
div#gauche h3,
div#centre h3 {
	background: url(motif.png);
	border-left: 10px solid #00cbfe;
	padding: 1px 0 1px 6px;
}

div#rub_consultation h2,
div#rub_service h2,
div#rub_annonce h2,
div#rub_agenda h2,
div#help h2, div#info h2, div#accessibility h2, div#contact h2,
div#centre h3 {
	font-size: 150%;
}

div#services-2nd ul,
div#centre ul {
	padding: 0;
	list-style: none;
}

div#services-2nd ul strong,
div#centre ul strong {
	border-bottom: 1px solid #00cbfe;
	margin-left: 18px;
	padding: 1px 0 1px 0;
}

div#services-2nd ul strong a,
div#centre ul strong a {
	color: black;
}

div#services-2nd ul strong a:hover,
div#centre ul strong a:hover {
	text-decoration: none;
	border-color: #0ac1fc;
}

div#services-2nd ul ul,
div#centre ul ul {
	padding-left: 26px;
	margin-bottom: 20px;
}

div#services-2nd ul p,
div#centre ul p {
	margin-left: 18px;
}

div#myspace h3 {
	background: url(motif.png);
	border-left: 10px solid #ff0084;
	padding: 1px 0 1px 6px;
}

div#consultations h3 {
	background: url(motif.png);
	border-left: 10px solid #fa0510;
	padding: 1px 0 1px 6px;
}

div#consultations ul {
	margin: 0;
	padding: 0 0 0 10px;
}

ul.catforms li,
div#consultations li {
	list-style: none;
	padding-left: 12px;
	background: url(puce.gif) left center no-repeat;
}

div#announces h3 {
	background: url(motif.png);
	border-left: 10px solid #a2ff00;
	padding: 1px 0 1px 6px;
}

div#announces h4 {
	border-bottom: 1px solid #a2ff00;
}

div#announces h4, p {
	margin-left: 7px;
	margin-right: 7px;
}

div#announces p {
	text-align: justify;
}

ul#announces-links {
	background: #a2ff00;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	padding: 2px 5px;
	list-style: none;
	font-weight: bold;
}

ul#announces-links li {
	background: url(puce.gif) 10px center no-repeat;
	padding-left: 22px;
	margin: 0.5ex 0;
}

div#content ul#announces-links a:hover {
	color: black;
}

div#rub_consultation h2,
div#rub_service h2 {
	padding: 1px 0 1px 6px;
}

/* Form Elements */

div.buttons {
	margin-top: 1em;
	text-align: center;
}

div.buttons div {
	display: inline;
}

div.buttons br {
	display: none;
}

p.command,
a.edit-custom-text,
#page div.back-home-button a,
div.buttons input {
	background: #00cbfe;
	color: white;
	font-size: 120%;
	font-weight: bold;
	border: none;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	padding: 5px 15px;
	cursor: pointer;
	display: inline;
	border: 1px solid transparent;
}

p.command {
	line-height: 300%;
}

p.command a:focus,
#page div.back-home-button a:focus,
div.buttons input:focus {
	border: 1px solid black;
}

#page div.back-home-button a:hover {
	color: white;
	text-decoration: none;
}

#content p.command a {
	color: white;
	cursor: pointer;
}

#content p.command a:hover {
	color: white;
	text-decoration: none;
}

form.quixote h3 {
	padding-top: 1em;
	border-bottom: 1px solid #00cbfe;
}

form.quixote h4 {
	color: #616161;
}

div.widget div.title {
	color: #2f2f2f;
	font-weight: bold;
}

div.widget div.content {
	margin-left: 1em;
}

div.widget div.content ul {
	padding-left: 0;
}

div.DateWidget input,
div.EmailWidget input,
div.StringWidget input,
div.PasswordWidget input,
div.WcsExtraStringWidget input,
div.TextWidget textarea, 
div.SingleSelectHintWidget select {
	border: 1px solid #5fdefe;
	background: #b5e0f0;
	padding: 1px;
	-moz-border-radius: 2px;
	-webkit-border-radius: 2px;
	color: black;
	-webkit-transition: background 200ms ease-out;
}

div.DateWidget input:focus,
div.EmailWidget input:focus,
div.StringWidget input:focus,
div.PasswordWidget input:focus,
div.WcsExtraStringWidget input:focus,
div.TextWidget textarea:focus, 
div.SingleSelectHintWidget select:focus {
	border: 1px solid #5fdefe;
	background: white;
}

div.widget {
	margin-bottom: 1ex;
}

div.hint {
	font-size: 80%;
}

span.required {
	background: transparent url(/qo/css/required.png) 0px 0.5ex no-repeat;
	padding: 0 0 0 24px;
	margin-left: 1ex;
	overflow: hidden;
	color: white;
}

form ul {
	list-style: none;
}

div.errornotice {
	background: #fd6;
	border: 1px solid #ffae15;
	margin: 1em 1em 1em 1em;
	padding: 5px;
}

div.infonotice {
	background: #7b95a6;
	border: 1px solid #153eaf;
	margin: 0em 1em 1em 1em;
	padding: 5px;
}

div.error {
	color: black;
	font-weight: bold;
	background: transparent url(/qo/css/warning.png) top left no-repeat;
	padding-left: 20px;
}



/* steps */

div#steps h2 {
	background: url(motif.png);
	border-left: 10px solid #00cbfe;
	padding: 1px 0 1px 6px;
}

div#steps ol {
	list-style: none;
	margin: 0;
	padding: 0;
	text-align: right;
}

div#steps span.marker {
	float:left;
	font-size:150%;
	font-weight:bold;
	color:#fff;
	margin:-5px 0 0 ;
}

div#steps ol li {
	margin: 1ex 0;
	color: #fff;
	letter-spacing:1px;
	padding: 1ex;
	font-weight: bold;
	background: #646f72;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
}

div#steps ol li.current {
	background: #00cbfe;
	color:#fff;
}

div#steps ol ul {
	background: white;
	margin: 0 -1ex;
	padding: 0px;
}

div#steps ol li.current ul li.current {
	font-weight: bold;
}

div#steps li ul li.current {
	background: white;
}

div#steps li ul li {
	background: white;
	font-weight: normal;
	font-size:80%;
	display:block;
	color: #666;
}

div#steps li.current ul li {
	color: #000;
}

/* other stuff */

div#gauche ul,
div#myspace ul {
	padding: 0 0 0 1ex;
	margin: 2ex 0;
}

div#gauche li,
div#myspace li {
	list-style: none;
	padding: 0;
	margin: 1ex 0;
}

li a#logout,
li a#login {
	background: url(key.gif) left center no-repeat;
	padding-left: 20px;
}

li a#member,
li a#inscr {
	background: url(member.gif) left center no-repeat;
	padding-left: 20px;
}

div#gauche li a {
	background: url(puce.gif) left center no-repeat;
	padding-left: 15px;
}

div#gauche li a:hover {
	background-image: url(puce-hover.gif);
}

div#services-2nd ul ul,
div#centre ul ul {
	margin-top: 0.5ex;
}

div#services-2nd ul ul li a,
div#centre ul ul li a {
	background: url(puce.gif) left center no-repeat;
	padding-left: 12px;
}

div#services-2nd ul ul li a:hover,
div#centre ul ul li a:hover {
	background-image: url(puce-hover.gif);
}

div#content a {
	color: #222;
}

div#content a:hover {
	color: #0ac1fc;
}

li.all-forms {
	margin-top: 1ex;
}

div#new_member div.buttons,
div#member div.buttons {
	text-align: left;
}
ul#announce-modes {
	list-style:none;
	margin:1em 0 0 2em;
}

ul#announce-modes li {
	margin:0 0 0.5em 0;
}

li #par_mail{
	background: url(mail.gif) left center no-repeat;
	padding: 5px 0 5px 20px;
}

li #par_sms {
	background: url(tel.gif) left center no-repeat;
	padding: 5px 0 5px 20px;
}

li a#par_rss {
	background: url(rss.gif) left center no-repeat;
	padding: 5px 0 5px 20px;
}

li a#par_ical {
	background: url(ical.gif) left center no-repeat;
	padding: 5px 0 5px 20px;
}

div.address {
	margin-left: 2em;
}

ul#month-links {
	float: right;
	padding: 1em;
	text-align: right;
	list-style: none;
}

ul#month-links li a {
	color: #379cdb;
}

ul#month-links li a:hover {
	text-decoration: underline;
}

div#page a.edit-custom-text {
	float: right;
	font-size: 50%;
	margin: 0 0 1ex 1ex;
}

div#page a.edit-custom-text:hover {
	color: black;
}

p#receiver {
	margin-left: 2em;
}

#page div.back-home-button {
	margin: 2em auto 1em auto;
	text-align: center;
}

div#profile h3 {
	margin-top: 2em;
}

div.dataview div.field {
	margin: 1em 0;
}

div.dataview .value {
	display: block;
	margin-left: 1em;
	margin-bottom: 1ex;
}

form div.page,
div.dataview div.page {
	border: 1px solid #aaa;
	padding: 1ex;
	margin-bottom: 1em;
}

form div.page p,
div.dataview div.page p {
	margin-top: 0;
}

form div.page h3,
div.dataview div.page h3 {
	margin: 0;
	margin-bottom: 1ex;
}

table#strongbox-items tr.expired td.expiration {
	color: #800;
}

table#strongbox-items td {
	padding: 2px 1ex;
}

table#strongbox-items tr.even {
	background: #ddd;
}

table#strongbox-items tr.odd {
	background: #eee;
}

p.use-file-from-strongbox span {
	cursor: pointer;
}
