/*
 * == Summary
 *
 * == Global main styles
 * == Forms elements
 * == Header
 * == Main menu
 * == Footer
 * == Main Galette styles
 * == Public pages
 * == Install page
 * == Mobile devices
 */

/*
 * == Global main styles
 */
a {
	text-decoration: none;
	color: #0000FF;
}

a:hover {
	color: #eea423;
}

.ui-button:hover{
    color:inherit;
}

form,
body {
	margin: 0;
    padding: 0;
}

body {
	font-family: "Cantarell", Verdana, Arial, sans-serif;
	font-size:0.85em;
	background-color:white;
	color:black;
}

img{
	border:none;
}

label, input[type="button"], input[type="submit"], input[type="reset"], button {
    cursor: pointer;
}

/* == Forms elements */
input, button, select {
    font-size:100%;
}

input {
    border: 1px solid #555555;
    padding: 4px;
}

input:required {
    border:1px red solid;
    border-left-width: 8px;
}
input:required:valid {
    border-color:green;
}

pre, code, kbd, samp {
    font-family: monospace, monospace;
}

pre {
	margin: 0px;
}

img, table, td, blockquote, code, pre, textarea, input {
    max-width: 100%;
}

code, pre, samp, textarea {
    word-wrap: break-word;
    white-space: pre-wrap;
}

abbr[title] {
    border-bottom: 1px dotted #555;
    cursor: help;
}

th, cation {
    text-align: left;
}

p#required {
    font-size: .8em;
    float:left;
    margin:0;
}
/* =/ Global main styles */

/*
 * == Header
 */
 nav {
     margin: .3em 0 .5em;
     text-align: center;
}

nav a{
     display: inline-block!important;
}
/* =/ Header */

/*
 * == Main menu
 */
#menu {
	float: left;
	background-color: #DDDDFF;
	margin:0 0 0.5em 0.4em;
	padding:0 .2em;
 	width:16em;
	text-align: center;
	-moz-border-radius: 10px 10px 10px 10px;
	-webkit-border-radius: 10px 10px 10px 10px;
	border-radius: 10px 10px 10px 10px;
}

#menu h1 {
	font-size:1em;
	cursor:pointer;
	text-align:left;
	margin:0;
	padding:0;
}
/* .nojs class will be removed at runtime by a js script */
#menu h1.nojs{
	background: #FFB619 url(jquery-ui/images/ui-bg_glass_65_ffb619_1x400.png) repeat-x scroll 50% 50%;
}
#menu ul.nojs{
	margin:0 0 .5em 0;
}

#menu ul {
	list-style-type: none;
	padding: 0px;
	text-align:left;
	overflow:hidden; /*a:active under firefox makes a overflow*/
}

#menu li {
	background-color: #fff;
	border-bottom:1px #DDDDFF solid;
}

#menu li:last-child{
	border-bottom:none;
}

#menu li a{
	padding: .1em .3em;
	display:block;
	color: #212121;
}
#menu li a:hover{
	background-color: #DDDDFF;
	text-decoration:underline;
}
#menu li.selected a{
	background-color: #DDDDFF;
}

#langs{
	list-style-type:none;
	margin:1em 1em 0;
	padding:0;
	display:inline-block;
}
#langs li{
	padding:0;
	margin:0;
	display:inline;
	background-color:transparent;
}
#langs li a{
	display:inline;
}
/* =/ Main menu */

/*
 * == Footer
 */
footer {
	text-align: center;
	padding-top: 10px;
	margin-bottom: 10px;
}

footer h4{
    font-size: 1em;
    margin: 0em 0 .2em;
    display:inline-block;
}

footer ul{
    margin:0;
}

footer li {
    display:inline-block;
    padding: .1em .2em;
    margin:0 .2em;
}

#copyright {
	color: #CCCCCC;
	font-style: italic;
}

#copyright:hover {
	color: #FF0000;
}
/* =/ Footer */

/* == Main Galette styles */
#listfilter {
	text-align: center;
	background-color: #DDDDFF;
	padding: 10px;
	margin:0 1em 1em 1em;
	-moz-border-radius: 10px 10px 10px 10px;
	-webkit-border-radius: 10px 10px 10px 10px;
	border-radius: 10px 10px 10px 10px;
}

#listfilter input[type="text"]{
    padding:0;
}

.selection_menu{
	margin:0;
	padding:0;
}
.selection_menu li{
	margin:0.2em 0;
    display: inline-block;
}
.selection_menu input.submit{
	margin:0;
	background:none;
	display:inline;
	cursor:pointer;
	border:none;
	font-weight:normal;
	padding-left:20px;
	text-align:left;
}

.selection_menu .exemple {
    font-weight: normal;
    font-size:0.9em;
}

.hasPicker{
    display: inline;
}

/* loading animation */
#loading {
    position:absolute;
    top:0;
    bottom:0;
    left: 0;
    right: 0;
    margin: 0;
    text-align: center;
    background-color:rgba(0, 0, 0, 0.5);
    z-index: 100000;
}
#loading p {
    position: absolute;
    top:40%;
    width: 20%;
    margin-left: 40%;
    background-color: rgba(255,255,255,.8);
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    border-radius: 10px;
    padding: 1em 0;
    -moz-box-shadow: 1px 1px 12px rgba(255, 255, 255, 0.4);
    -webkitbox-shadow: 1px 1px 12px rgba(255, 255, 255, 0.4);
    box-shadow: 1px 1px 12px rgba(255, 255, 255, 0.4);
}

/* == Buttons */
#delete, #sendmail, #btnsave, #btnadd, #btncancel, #btnsend, #btnpreview, #btnusers, .button {
    padding-left: 2em!important;
    background-position: 10px 50%, 50% 50%!important;
    background-repeat: no-repeat, repeat!important;
}
.button.notext {
    width: .5em;
    height: 2em;
}
.button.notext span {
    display: none;
}

#sendmail{
    background-image:url(images/icon-mail.png), url("jquery-ui/images/ui-bg_glass_75_e6e6e6_1x400.png");
}
#sendmail.ui-state-hover {
    background-image:url(images/icon-mail.png), url("jquery-ui/images/ui-bg_glass_75_ffb619_1x400.png");
}

h1 #sendmail {
    display: inline-block;
    height: 25px;
    width: 35px;
    position: absolute;
    top:.1em;
    right: .5em;
    overflow: hidden;
    text-indent: 50px;
    padding:0!important;
}

h1 #sendmail .ui-button-text {
    display: none;
}

#delete{
    background-image: url(images/icon-trash.png), url("jquery-ui/images/ui-bg_glass_75_e6e6e6_1x400.png");
}
#delete.ui-state-hover {
    background-image:url(images/icon-trash.png), url("jquery-ui/images/ui-bg_glass_75_ffb619_1x400.png");
}

#subscribe {
	background-image:url(images/subscribe.png), url("jquery-ui/images/ui-bg_glass_75_e6e6e6_1x400.png");
}
#subscribe.ui-state-hover {
    background-image:url(images/subscribe.png), url("jquery-ui/images/ui-bg_glass_75_ffb619_1x400.png");
}

#lostpassword {
	background-image:url(images/lost_pass.png), url("jquery-ui/images/ui-bg_glass_75_e6e6e6_1x400.png");
}
#lostpassword.ui-state-hover {
    background-image:url(images/lost_pass.png), url("jquery-ui/images/ui-bg_glass_75_ffb619_1x400.png");
}

#memberslist {
	background-image:url(images/members-list.png), url("jquery-ui/images/ui-bg_glass_75_e6e6e6_1x400.png");
}
#memberslist.ui-state-hover {
    background-image:url(images/members-list.png), url("jquery-ui/images/ui-bg_glass_75_ffb619_1x400.png");
}

#trombino {
	background-image:url(images/trombino.png), url("jquery-ui/images/ui-bg_glass_75_e6e6e6_1x400.png");
}
#trombino.ui-state-hover {
    background-image:url(images/trombino.png), url("jquery-ui/images/ui-bg_glass_75_ffb619_1x400.png");
}

#backhome {
	background:url(images/home.png), url("jquery-ui/images/ui-bg_glass_75_e6e6e6_1x400.png");
}
#backhome.ui-state-hover {
    background-image:url(images/home.png), url("jquery-ui/images/ui-bg_glass_75_ffb619_1x400.png");
}

#logout {
	background-image:url(images/icon-quit.png), url("jquery-ui/images/ui-bg_glass_75_e6e6e6_1x400.png");
}
#logout.ui-state-hover {
    background-image:url(images/icon-quit.png), url("jquery-ui/images/ui-bg_glass_75_ffb619_1x400.png");
}

#btnadd {
	background-image:url(images/icon-add.png), url("jquery-ui/images/ui-bg_glass_75_e6e6e6_1x400.png");
}
#btnadd.ui-state-hover {
    background-image:url(images/icon-add.png), url("jquery-ui/images/ui-bg_glass_75_ffb619_1x400.png");
}

#btncancel {
	background-image:url(images/icon-cancel.png), url("jquery-ui/images/ui-bg_glass_75_e6e6e6_1x400.png");
}
#btncancel.ui-state-hover {
    background-image:url(images/icon-cancel.png), url("jquery-ui/images/ui-bg_glass_75_ffb619_1x400.png");
}

#btnsave {
	background-image:url(images/icon-save.png), url("jquery-ui/images/ui-bg_glass_75_e6e6e6_1x400.png");
}
#btnsave.ui-state-hover {
    background-image:url(images/icon-save.png), url("jquery-ui/images/ui-bg_glass_75_ffb619_1x400.png");
}

#btnback {
	background-image:url(images/prev.png), url("jquery-ui/images/ui-bg_glass_75_e6e6e6_1x400.png");
}
#btnback.ui-state-hover {
    background-image:url(images/prev.png), url("jquery-ui/images/ui-bg_glass_75_ffb619_1x400.png");
}

#btnpreview {
	background-image:url(images/icon-preview.png), url("jquery-ui/images/ui-bg_glass_75_e6e6e6_1x400.png");
}
#btnpreview.ui-state-hover {
    background-image:url(images/icon-preview.png), url("jquery-ui/images/ui-bg_glass_75_ffb619_1x400.png");
}

#btnsend {
	background-image:url(images/icon-mail-send.png), url("jquery-ui/images/ui-bg_glass_75_e6e6e6_1x400.png");
}
#btnsend.ui-state-hover {
    background-image:url(images/icon-mail-send.png), url("jquery-ui/images/ui-bg_glass_75_ffb619_1x400.png");
}

#btnusers {
	background-image:url(images/icon-user.png), url("jquery-ui/images/ui-bg_glass_75_e6e6e6_1x400.png");
}
#btnusers.ui-state-hover {
    background-image:url(images/icon-user.png), url("jquery-ui/images/ui-bg_glass_75_ffb619_1x400.png");
}

#histreset {
	background-image:url(images/delete.png), url("jquery-ui/images/ui-bg_glass_75_e6e6e6_1x400.png");
}
#histreset.ui-state-hover {
    background-image:url(images/delete.png), url("jquery-ui/images/ui-bg_glass_75_ffb619_1x400.png");
}

#next, #installpage input[type="submit"] {
	background-image:url(images/next.png), url("jquery-ui/images/ui-bg_glass_75_e6e6e6_1x400.png");
    padding-left: 0.4em!important;
    padding-right: 2em!important;
    background-position: 95% 50%, 50% 50%!important;
    background-repeat: no-repeat, repeat!important;
}
#next.ui-state-hover, #installpage input[type="submit"]:hover {
    background-image:url(images/next.png), url("jquery-ui/images/ui-bg_glass_75_ffb619_1x400.png");
}

#prev {
	background-image:url(images/prev.png), url("jquery-ui/images/ui-bg_glass_75_e6e6e6_1x400.png");
}
#prev.ui-state-hover {
    background-image:url(images/prev.png), url("jquery-ui/images/ui-bg_glass_75_ffb619_1x400.png");
}

#btnlabels {
    background-image:url(images/printer.png), url("jquery-ui/images/ui-bg_glass_75_e6e6e6_1x400.png");
}
#btnlabels.ui-state-hover {
    background-image:url(images/printer.png), url("jquery-ui/images/ui-bg_glass_75_ffb619_1x400.png");
}

#btn_membercard, #btn_edit, #btn_contrib, #btn_addcontrib {
    padding-top:30px!important;
    padding-left: 0!important;
    display: block;
    background-position: 50% 5px, 50% 50%!important;
    background-repeat: no-repeat, repeat!important;
}
#btn_membercard {
	background-image:url(images/member_card.png), url("jquery-ui/images/ui-bg_glass_75_e6e6e6_1x400.png");
}
#btn_membercard.ui-state-hover {
	background-image: url(images/member_card.png), url("jquery-ui/images/ui-bg_glass_75_ffb619_1x400.png");
}

#btn_edit {
	background-image:url(images/edit.png), url("jquery-ui/images/ui-bg_glass_75_e6e6e6_1x400.png");
}
#btn_edit.ui-state-hover {
	background-image: url(images/edit.png), url("jquery-ui/images/ui-bg_glass_75_ffb619_1x400.png");
}

#btn_contrib {
	background-image:url(images/contribution.png), url("jquery-ui/images/ui-bg_glass_75_e6e6e6_1x400.png");
}
#btn_contrib.ui-state-hover {
	background-image: url(images/contribution.png), url("jquery-ui/images/ui-bg_glass_75_ffb619_1x400.png");
}

#btn_addcontrib {
	background-image:url(images/add_contribution.png), url("jquery-ui/images/ui-bg_glass_75_e6e6e6_1x400.png");
}
#btn_addcontrib.ui-state-hover {
	background-image: url(images/add_contribution.png), url("jquery-ui/images/ui-bg_glass_75_ffb619_1x400.png");
}

.left {
	text-align: left!important;
}

.right {
	text-align: right!important;
}

.center {
	text-align: center;
}

.center_table {
    margin:0 auto;
}

.cotis-ok {
	background-color: #DDFFDD!important;
	vertical-align: top;
}

.cotis-never {
	background-color: #EEEEEE!important;
	vertical-align: top;
}

.cotis-exempt {
	background-color: #DDFFDD!important;
	vertical-align: top;
}

.cotis-soon {
	background-color: #FFE9AB!important;
	vertical-align: top;
}

.cotis-late, .transaction-uncomplete {
	background-color: #FFDDDD!important;
	vertical-align: top;
}

.cotis-lastday {
	background-color: #FFDDDD!important;
	vertical-align: top;
}

.cotis-normal, .transaction-normal {
	background-color: #DDFFDD!important;
	vertical-align: top;
}

.cotis-give {
	background-color: #FFDDDD!important;
	vertical-align: top;
}

#input-table tr:hover {
    background-color: #EEEEEE;
}

#transaction_detail {
    margin-bottom: 1em;
}

#transaction_detail caption {
    font-weight: bold;
    padding:.2em;
}
#clearfilter {
    background: url(images/clearfilter.png) 0 50% no-repeat;
    display:inline-block;
    width:16px;
    overflow: hidden;
    text-indent: 20px;
    vertical-align: bottom;
}

.debuginfos span{
    display: block;
    font-family: monospace;
    font-size:1.1em;
}
/* =/ Main Galette styles */

/*
 * == Public pages
 */
 .public_page footer{
	clear:both;
}

.public_page header {
     text-align: center;
     margin-top:1em;
}

.public_page #listing {
    margin: 0 auto;
    width: 95%;
}

.public_page #langs {
    display: block;
    margin:0;
}

.public_page section {
    text-align: center;
}

.public_page table {
    margin:1em auto;
}

.public_page form {
    text-align: center;
}

.public_page .exemple {
    margin-top:0;
}

.public_page #user {
    position: absolute;
    top:0;
    right:0;
    display:inline-block;
    border-bottom:1px solid #DDDDFF;
    border-left:1px solid #DDDDFF;
	-moz-border-bottom-left-radius: 10px;
	-webkit-border-bottom-left-radius: 10px;
	border-bottom-left-radius: 10px;

}
.public_page #userlink {
    color: #666666;
    background: url(images/icon-user.png) 7px 50% no-repeat;
    padding: .2em .2em .2em 25px;
    display: inline-block;
}

.public_page #user a:hover {
    color: #eea423;
}

.public_page #logout {
    background-repeat: no-repeat;
    text-indent: 25px;
    width:16px;
    margin: 0 .5em;
    overflow: hidden;
    display: inline-block;
    vertical-align: bottom;
}
/* =/ Public pages */

/*
 * == End
 */

/** OLD STYLES */
input.submit
{
	display:block;
	background-color: #FBFBFB;
	font-weight: bold;
	color: #666666;
	border: 1px solid #BBBBBB;
	margin: 0.5em auto 0 auto;
}

input.submit:hover
{
	color: #FF0000;
}

.pagelink {
	font-weight: bold;
}

#titre{
	font-size:1.3em;
	line-height:1.7em;
	background-color:#DDDDFF;
	margin:0 1em 1em 1em;
	color: #666;
	text-align:center;
    position:relative;
	-moz-border-radius: 10px 10px 10px 10px;
	-webkit-border-radius: 10px 10px 10px 10px;
	border-radius: 10px 10px 10px 10px;
}
.self_subscribe{
	margin-top:0.5em!important;
}

.titre {
	font-size:1.3em;
	text-align: center;
	font-weight: bold;
	border-style: solid;
	border-width: 1px;
	background-color: #FBFBFB;
	border-color: #BBBBBB;
	margin-top: 0.5em;
	margin-bottom: 1em;
	color: #000000;
	width: 100%;
}

.soustitre {
	font-size:1.2em;
	text-align: left;
	font-weight: bold;
	border-style: solid;
	border-width: 1px;
	background-color: #FBFBFB;
	border-color: #BBBBBB;
	margin-top: 1em;
	margin-bottom: 0.5em;
	color: #000000;
	width: 100%;
}

th.listing, li.listing {
	background: #FFB619 url(jquery-ui/images/ui-bg_glass_65_ffb619_1x400.png) repeat-x scroll 50% 50%;
	color: #212121;
	white-space: nowrap;
	font-weight: normal;
}
.id_row,
th.small_head{
	width:1%;
}
.username_row{
	width:25%;
}
.actions_row{
	width:1%;
    white-space: nowrap;
}

.date_row{
	width:6em;
}

a.listing {
	color: #212121;
	font-weight: normal;
	vertical-align: middle;

}

td.listing {
	vertical-align: middle;
}

a.listing:hover {
	color: #666;
}

.emptylist {
	background-color: #EEEEEE;
	text-align: center;
	font-style: italic;
}

.actif {
}

.inactif, .inactive {
	color: #777777;
	font-style: italic;
}

.acronyme {
	color: #AAAAAA;
	font-style: italic;
}

.note {
    margin:0;
}

.exemple {
	color: #999999;
}

#logo {
	text-align: center;
	font-weight: bold;
	margin: 0.5em 0;
}

#main_logo{
    text-align: center;
    margin-top:0.5em;
}

.nav1 {
	width: 13em;
	margin-left:0.3em;
	border-color: #7777FF;
	border-width: 1px;
	border-style: solid;
	margin-bottom: 0.5em;
	padding:0;
}

.nav1 h1 {
	margin: 2px;
	font-size:1em;
	background-color: #CDCDFF;
	padding-left: 0.2em;
}

.nav1 ul {
	list-style-type: none;
	margin: 2px;
	padding: 0px;
	border: none;
}

.nav1 li {
	background-color: #EEEEEE;
	margin-bottom: 2px;
	padding-left: 2px;
}

#logout {
	text-align: center;
	margin:0 0 .7em;
}

#legende {
	border: 1px #7777FF solid;
	width:40%;
	margin-left:0.3em;
	margin-bottom:0.7em;
}

#legende table {
	width: 100%;
}

#legende h1 {
	margin: 2px;
	font-size:1em;
	background-color: #CDCDFF;
	padding-left: 0.2em;
	text-align: left;
}

#legende th{
	text-align:center;
	width:1%;
}
#legende td, #legende th {
	padding-left: 2px;
	background-color: #EEEEEE;
}

.ui-dialog > #legende {
	border:none;
	margin:0;
}

.color-sample {
	border-color: #AAAAAA;
	border-width: 1px;
	border-style: solid;
}

#content {
	margin-left:17em;
	margin-top: 10px;
	padding: 0.5em;
}

#full_content {
	padding:0 0.5em;
}

#listing{
    width: 100%;
}

#listfilter form {
	margin-bottom: 0px;
}

.infoline{
    vertical-align: top;
    width: 100%;
}

.infoline td {
        vertical-align: bottom;
	width: 33%;
}

.infoline ul {
	margin: 0px;
	list-style-type: none;
}

.infoline2 {
	margin-top: 2px;
}

.mailing {
    width: 60%;
    margin:0 auto;
    min-width: 50em;
    background-image: url(images/mailing_bg.jpg);
    background-repeat: no-repeat;
    background-position: center 1.5em;
    padding-bottom: .3em;
	-moz-border-radius: 10px 10px 0px 0px;
	-webkit-border-radius: 10px 10px 0px 0px;
	border-radius: 10px 10px 10px 10px;
    -moz-box-shadow: 1px 1px 12px #555;
    -webkitbox-shadow: 1px 1px 12px #555;
    box-shadow: 1px 1px 12px #555;
}

.mailing header {
    padding: .2em 0;
    text-align: center;
    font-weight: bold;
    border: 0;
}

.mailing section {
    padding-top:1em;
}
.mailing section:first-child {
    padding-top:0em;
}

.mailing_write div,
.mailing_preview{
    margin:.5em 1em;
}

.mailing_infos header{
	-moz-border-radius: 10px 10px 0px 0px;
	-webkit-border-radius: 10px 10px 0px 0px;
	border-radius: 10px 10px 0px 0px;
}

.mailing_infos p{
    width: 50%;
    display: table-cell;
    padding: .5em;
    vertical-align: middle;
    text-align: right;
}

.mailing_infos p:nth-child(2){
    text-align: left;
}

#mailing_objet, #mailing_corps{
	width:99%;
}

.ajax_mailing_preview header {
    padding:.2em 0;
    font-weight: bold!important;
    text-align: center;
}

#mailing_header dt,
#mailing_header dd {
    display: inline-block;
    padding:0;
    margin:0;
}
#mailing_header dt {
    font-weight: bold;
    width: 18%;
}
#mailing_header dd {
    width: 80%;
}

#errorbox {
	text-align:center;
	color:black;
	border : 2px solid #c00;
	padding : 0.5em 0.5em 0.5em 40px;
	background : white url(images/error.png) no-repeat 5px 50%;
	width: 80%;
	margin:0 auto 0.8em auto;
}

#errorbox h1 {
	font-size:1em;
	font-weight: bold;
	margin: 0;
}

#errorbox ul {
	list-style-type: none;
	margin: 2px;
	padding: 0px;
	border: none;
}

#warningbox {
	text-align:center;
	color:black;
	padding : 0.5em 0.5em 0.5em 40px;
	background : white url(images/warning.png) no-repeat 5px 50%;
	width: 80%;
	margin:0 auto 0.8em auto;
	display:block;
	border:2px solid #FFB619;
}

#warningbox h1 {
	background-color: #FFB619;
	text-align: center;
	font-size: 10px;
	font-weight: bold;
	margin-top: 0px;
	margin-bottom: 0px;
}

#warningbox ul {
	list-style-type: none;
	margin: 2px;
	padding: 0px;
	border: none;
}

#infobox {
	text-align:center;
	color:black;
	border : 2px solid #04CC65;
	padding : 0.5em 0.5em 0.5em 40px;
	background : white url(images/ok.png) no-repeat 5px 50%;
	width: 80%;
	margin:0 auto 0.8em auto;
}

#infobox h1 {
	font-size:1em;
	font-weight: bold;
	margin: 0;
}

#infobox ul {
	list-style-type: none;
	margin: 2px;
	padding: 0px;
	border: none;
}

#input-table{
	margin:0.5em 1em;
	background-color:white;
}

#input-table .libelle {
	font-size: 11px;
	text-align: left;
	background-color: #DDDDFF;
	font-weight: normal;
}

#input-table .header {
	text-align: left;
	font-weight: bold;
}

#tables_list{
	width:25em;
	margin-left:auto;
	margin-right:auto;
}

#listing td {
	vertical-align: middle;
}

#listing input {
	vertical-align: middle;
}

#listing img {
        vertical-align: middle;
}

.sql_log {
    border:1px dashed;
    display:block;
    margin:.2em .5em .5em;
    padding:.2em .3em;
    font-family: monospace;
    font-size:1.2em;
    background-color: rgba(221,221,255,0.5);
}

.mail_preview {
	height: 230px;
	vertical-align: top;
	padding: 5px;
}

.mailing_write p {
    display:block!important;
}

#mail_preview div:nth-child(2) {
    max-height: 20em;
    overflow: auto;
}

.button-container
{
	text-align: center;
}

.flag
{
	border: 1px solid black;
}

.bigtable
{
	text-align: center;
}
.bigtable table
{
	margin-left: auto;
	margin-right: auto;
	border: 1px solid #BBBBBB;
}
.bigtable th
{
	font-weight: normal;
	text-align: left;
	vertical-align: top;
	background-color: #DDDDFF;
	padding: 0px 5px 0px 5px;
}
.bigtable td
{
	background-color: #EEEEEE;
	padding: 0px 5px 0px 5px;
	text-align: left;
}
.bigtable .separator
{
    padding:.3em 0 .1em;
	background-color: #FFFFFF;
	font-weight: bold;
    text-align: center;
}
.bigtable .subtitle
{
	color:#0C0CC0;
	padding: 1em 5px 0.5em 5px;
	font-weight:bold;
	border-top:1px solid;
}

.required{
	color:#FF0000;
	font-weight:bold;
}

/** Accessibility **/
fieldset{
	border: 1px solid #BBBBBB;
	margin:0 1em 1em;
	text-align:left;
    position:relative;
    padding:.5em;
}
fieldset.large{
	margin:0 1% 1em 1%;
	clear:right;
}
fieldset ul{
	list-style-type:none;
	margin:0;
	padding:0;
}
fieldset li{
	margin:0.1em 0;
	clear:left;
}

legend {
	border: 1px solid #BBBBBB;
	font-weight:bold;
	padding:0.3em;
    width:97%;
    margin-left:1%;
    margin-bottom: 1em;
	background-color:white;
}

.cssform{ background-color:white; }
.cssform ul{
	margin-left:1em;
	padding:0;
}
.cssform li{
	clear:none;
}
.cssform p, .cssform div.p{
	clear: left;
	margin: 0;
	padding: 5px 0;
	padding-left: 22em; /*width of left column containing the label elements plus 1*/
	border-top: 1px dashed gray;
	height: 1%;
}

/* no border on the first 'p' child */
.cssform p:nth-child(2)/*, .cssform div.p:nth-child(2), .cssform div p:nth-child(1)*/{
    border-top:none;
}
/* If there is a div, the preceding rules does not apply to the correct element :( */
.cssform div p:nth-child(2) {
    border-top:1px dashed gray;
}
/* But w do not whant border on the first element thought :) */
.cssform div p:nth-child(1) {
    border-top:none;
}

.cssform p.notform{
	padding-left:0;
	border:none;
	height:auto;
}

.bline{
	font-weight: bold;
	background-color: #DDDDFF;
	padding:0.1em 0.3em;
	margin-bottom:1em;
	display:block;
    vertical-align:top;
    padding:5px;
}

th.bline, td.bline{
	font-weight: bold;
	background-color: #DDDDFF;
	padding:0.1em 0.3em;
	margin-bottom:0;
	display:block;
	text-align:left;
}

.cssform .bline{
	display: inline-block;
	margin: 0 0 0 -22em;
	width: 21em;
}

.cssform textarea{
	width:90%;
	height: 150px;
}

.logo{
	margin:0.3em 0;
}

.menu{
	margin:0.7em 0 0 0;
	padding:0;
	text-align:right;
	font-weight:bold;
}
.menu li{
	margin:0.5em 0;
	list-style-type:none;
}
.menu a{
	color: #666666;
	padding:0.3em 20px 0.3em 0;
}

.inline{ display:inline!important; }

.nowrap{ white-space:nowrap; }

.m_subscribe{
	position:absolute;
	right:.5em;
	top:.5em;
    margin:0;
}

.fleft{float:left;}
.fright{float:right;}

input.large{
	width:90%;
}

.picker{
	padding:0 1em;
}

/*** Voir adhérent ***/
.details{
	width:85%;
	margin-bottom:1em;
    border-top: none!important;
}

.details caption{
	font-weight:bold;
	font-size:1.1em;
    padding:.3em;
}
.details th{
	width:15em;
	font-weight:bold;
	vertical-align:middle;
	padding:0.2em 0.1em;
}
.details td.photo{
	width:1%;
}
td.photo img{
	border: 1px solid black;
	margin-top: 5px;
	margin-bottom: 5px;
}

#details_menu{
	padding:0;
	text-align:center;
    float: right;
    list-style-type: none;
    width: 10em;
}
#details_menu li {
    margin-bottom:.5em;
}

.wrmenu {
    margin-right: 10em;
}
/*** /Voir adhérent ***/

/*** Onglets ***/
#tabs, #tabs li{
	list-style-type: none;
	margin:0;
	padding:0;
}

ul#tabs{
	width: 100%;
}

ul#tabs li{
	float:right;
	display:inline;
	background-color:#eea423;
	margin:0 0 0 0.2em;
	line-height:2em;
	-moz-border-radius: 10px 10px 0px 0px;
	-webkit-border-radius: 10px 10px 0px 0px;
	border-radius: 10px 10px 0px 0px;
}

#tabs a{
	text-decoration: none;
	color: #000;
	padding:0 1em;
	display:block;
	z-index:10;
}

#tabs a:hover, .tabselected a {
	text-decoration:underline;
}
.tabbed{
	background-color:#DDDDFF;
	clear:right;
	padding-top:.5em;
	padding-bottom:.5em;
    margin-bottom: .5em;
	-moz-border-radius: 10px 0 10px 10px;
	-webkit-border-radius: 10px 0 10px 10px;
	border-radius: 10px 0 10px 10px;
}
.tabbed table#listing{
	width: 98%;
	margin:.5em 1%;
}
.current_tab{
	background-color:#DDDDFF!important;
    font-weight: bold;
}
/*** /Onglets ***/

/*** Tooltips ***/
#tooltip {
	position: absolute;
	z-index: 3000;
	border: 1px solid #111;
	background-color: #eee;
	padding: 5px;
	opacity: 0.95;
}
#tooltip h3, #tooltip div { margin: 0; }

.tt{
	width:20em;
}

.tooltip{
	background-image:url(images/info.png);
	background-position:right 50%;
	background-repeat:no-repeat;
}
/*** /Tooltips ***/

/*** Installation pages ***/
#installpage{
	text-align:center;
	margin:.5em 1em;
	position:relative;
}

#installpage h2{
	margin: 0;
	font-size:1.2em;
}

#installpage #submit_btn{
	text-align: right;
	margin:0;
}

#installpage ul.list{
	margin:0 auto;
	width:40em;
	text-align:left;
	list-style-type:none;
}
ul#paths{
	width:15em!important;
}

#installpage #retry_btn {
	text-align: center;
}

#submitbutton3 {
	position:absolute;
	right:0;
	bottom:0;
	text-align: right;
	margin:0;
}

#installpage #warningbox{
	text-align:center;
	color:black;
	padding : 0.5em 0.5em 0.5em 40px;
	background : white url(images/warning.png) no-repeat 5px 50%;
	width: 80%;
	margin:0 auto 0.8em auto;
	display:block;
}

.titreinstall {
	font-size:1.3em;
	text-align: center;
	font-weight: bold;
	border-style: solid;
	border-width: 1px;
	background-color: #FBFBFB;
	border-color: #BBBBBB;
	color: #000000;
	left: 0px;
	right: 0px;
	padding: 10px 0px 10px 0px;
	margin: 0px;
}

#footerinstall{
	margin:0 1em;
	background-color:#DDDDFF;
	text-align:right;
	font-size: 0.85em;
	-moz-border-radius: 10px 10px 10px 10px;
	-webkit-border-radius: 10px 10px 10px 10px;
	border-radius: 10px 10px 10px 10px;
	padding: .1em .5em;
}
#footerinstall p{
	margin:0.5em 0.5em 0 0.5em;
	font-weight:bold;
}
#footerinstall ol{
	color:#999;
	padding:0;
	margin:0 0.5em 0.5em 0.5em;
	list-style-type:none;
}
#footerinstall li{
	line-height:1.7em;
	display:inline;
}
#footerinstall .current{
	color:black;
	font-weight:bold;
}

.footerinstall {
	text-align: right;
	padding-right: 20px;
	border:1px solid #BBBBBB;
	background-color: #FBFBFB;
	color: #000000;
	margin: 0;
}

.install-ok {
	list-style-image: url("../../install/yes.png");
	list-style-position:inside;
}

.install-bad {
	list-style-image: url("../../install/no.png");
	background-color:#FF8A8A;
	list-style-position:inside;
}

/*** /Installation pages ***/

.trombino{
	margin:.5em 0 0 .5em;
	background-color: #DDDDFF;
	padding-bottom:.2em;
	float:left;
	text-align:center;
	width:240px;
	height:240px;
	-moz-border-radius: 10px 10px 10px 10px;
	-webkit-border-radius: 10px 10px 10px 10px;
	border-radius: 10px 10px 10px 10px;
}

.trombino img{
	margin:.5em .5em 0 .5em;
}

.tbl_line_even {
	background-color: #EEEEEE!important;
	vertical-align: top;
}

.tbl_line_odd {
	background-color: #E2E5EE!important;
	vertical-align: top;
}

.fields_list li{
	height:1.5em;
	margin-top:.5em;
	clear:left;
	padding-top:.2em;
}
.fields_list li.listing{
	font-weight:bold;
}
.fields_list span.label{
	display:block;
	width:21em;
	float:left;
}
.fields_list span.yesno{
	margin-right:.2em;
	width:15em;
	display:block;
	float:left;
	text-align:center;
}
.fields_list span.yesnoadmin{
	margin-right:.2em;
	width:25em;
	display:block;
	float:left;
	text-align:center;
}

#add_category{
	float:right;
}

#expand, #collapse{
	padding: 0.4em 1em;
	position:relative;
}

#expand span.ui-icon, #collapse span.ui-icon{
	float:left;
	margin-right: .2em;
}

.collapsible{
	float:left;
}

.ui-datepicker-trigger{
	cursor:pointer;
}

/** PAGINATION */
.pages .current a{
	color:#FFB619;
	font-weight:bold;
}
.pages{
	text-align:center;
	margin:.2em 0 0 0;
	padding:0;
}
.pages a{
	padding:0 3px;
}
.pages a:hover{
	background-color:#EEEEEE;
	color:black;
}
.pages li{
	display:inline;
	padding:0;
	margin:0;
}
/** /PAGINATION*/

/** Mobile devices */
@media (max-width: 640px) {

    /* Un message personnalisé */
    body:before {
        content: "BETA - Galette Version mobile - BETA";
        display: block;
        color: #777;
        text-align: center;
        font-style: italic;
    }

    /* passer tous les éléments de largeur fixe en largeur automatique */
    body {
        width: auto !important;
        margin: auto !important;
        padding: auto !important;
    }

    /* fixer une largeur maximale  de 100 % aux éléments potentiellement problématiques */
    img, table, td, blockquote, code, pre, textarea, input, object, embed, video {
        max-width: 100% !important;
    }

    /* gestion des mots longs */
    textarea, table, td, th, code, pre, samp {
        word-wrap: break-word; /* césure forcée */
        white-space: pre-line; /* passage à la ligne spécifique pour les éléments à châsse fixe */
    }

    .menu {
      text-align:center;
    }

    #main_logo {
        position:relative;
        top:0;
        right:0;
    }
}
@media screen and (max-width:640px) and (orientation: landscape) {
    body {
        -webkit-text-size-adjust: 70%;
    }
}

