/* Titre général */

header {
	user-select: none;
	/* Navigateurs */
	-moz-user-select: none;
	-webkit-user-select: none;
}
h1 {
	font-size: 2.2em;
	margin-bottom: 1em;
}
h1:before {
	content: "\\_o<";
	color: #FF6600;
	font-weight: normal;
	font-family: monospace;
	text-align: center;
	font-size: 1.25em;
	display: block;
	float: left;
	width: 25%;
}

h1:hover:before {
	content: "\\_x<";
}
h1:hover:after {
	position: absolute;
	text-align: center;
	z-index: -1;
	right: 15%;
	left: 25%;
}

h1 a, h1:after {
	color: #0086A9;
	font-weight: bold;
}

/* Barre de navigation */

.side-nav {
    background-color: #FAFAFA;
    padding:5px;
}


/*
nav#sidebox {
	position: fixed;
	z-index: 1;
}

h3#nav {
	background-color: #E8E8FF;
	border: 1px solid #E0E0E0;
	border-bottom-color: #0086A9;
	padding-bottom: 0.25em;
	text-indent: 0.25em;
	margin-top: 0.25em;
	padding-top: 0.1em;
	margin-bottom: 0;
	color: #FF6600;
}*/
/*
.side-nav {
	padding: 0;
	padding-top: 0.75em;
	background-color: #E8E8FF;
	border: 1px solid #E0E0E0;
	border-top: 0 none transparent;
	margin-top: 0;
}

.side-nav a {
	padding: 0 0.5em 0.2em 0.5em;
}

.side-nav a:hover,
.side-nav li.active a,
.side-nav li ul li a:hover {
	background-color: #0086A9;
	color: #FFFFFF !important;
	border-radius: 5px;
}

.side-nav li ul {
	list-style-type: disc;
	padding-top: 0.25em;
}

.side-nav li ul li a:hover {
	margin-right: 1em;
}

.side-nav li ul li a {
	padding-left: 0.25em;
	margin-left: -0.25em;
}

.side-nav li.active li a {
	background-color: transparent;
	color: #0086A9 !important;
}
*/
/* Titre section principale */

h2:before {
	/*content: url(../img/coinitem.png);*/
	margin-right: 0.25em;
}

h2 {
	color: #FF6600;
	/*border-bottom: 2px solid #0086A9;*/
}

/* Tables */
table.full-width {
    width:100%;
}

/* Footer */
#footer {
    opacity: 0.18;
    margin-top: 20px;
}
#footer .line {
    widht:100%;
    border-bottom: 1px solid black;
}
#footer .duck {
    background-image: url('../img/coin.svg');
    background-size: 20%;
    background-repeat: no-repeat;
    background-position: center top;
    height:50px;
}


/* Invoices */
#invoice_details .period {
    color:#999;
}

table.invoice-table tr.total>td {
    font-weight:bold;
    border-top:2px solid #DDD;
}

table.invoice-table td.total {
    width:100px;
}

#member_invoices td.unpaid {
    color:red;
}
#member_invoices tr.total>td.right {
    text-align:right;
}

#payment_howto p {
    font-size:0.7rem;
}

/* Modifs pour les infos */
td.center {
    text-align: center;
}
span.italic {
    font-style: italic;
}
/*.button {
    border-radius: 2px;
    padding: 0.2em 0.5em 0.4em 0.5em;
    margin-bottom: auto;
    font-size: 0.9em;
}*/
.boolviewer input {
    display: none;
}
.boolviewer input:checked+span:before {
    color: #008800;
    content: "✔ ";
}
.boolviewer input:not(:checked)+span:before {
    color: #FF0000;
    content: "✗ ";
}
.pass {
    font-weight: bold;
}
.warning {
    background-color: #FF7777;
    border-radius: 5px;
    font-style: italic;
}
.warning:before {
    content: "⚠ ";
    font-weight: bold;
}

#graph h3 select {
	display: inline;
	background-color: transparent;
	border: 0 none transparent;
	font-family: inherit;
	box-shadow: none;
	font-size: 0.9em;
	width: auto;
	margin: 0;
	padding: 0;
}
#graph h3 select option {
	font-size: 0.6em;
}

a.cfglink {
	white-space: nowrap;
}

tr.inactive {
    opacity: 0.3;
}

/* Champs éditables */

.flatform:before {
   content: "Les champs marqués d'un ✎ sont éditables.";
}
.flatform .legend {
	clear: both;
}

.flatfield label {
	background-color: #0086A9;
	color: #F0F0F0;
	font-size: 0.9em;
	padding: 0.2em 0.5em;
	white-space: nowrap;
}
.flatfield label:before {
	content: "✎ ";
	color: #E9E9E9;
}

.flatfield input {
	margin-bottom: 0;
	border: 1px solid #E9E9E9;
	background-color: transparent;
	text-overflow: ellipsis;
	padding-left: 1em;
	box-shadow: none;
	font-size: 1.1em;
	color: #222222;
	width: 90%;
}
.flatfield input::-moz-placeholder {
	font-style: italic;
}
.flatfield input:-ms-input-placeholder {
	font-style: italic;
}
.flatfield input::-webkit-input-placeholder {
	font-style: italic;
}
.flatfield input:focus {
	background-color: #FFFFFF;
	border: 2px solid #C0C0C0;
}

/* Feeds */
.feed {
    font-size:80%;
}
.feed .entry {
    margin-bottom:1em;
}
.feed .entry .date {
    color:gray;
    font-size:80%;
}

.legend .button, .formcontrol .button {
	padding: 0.25em 0.5em;
	border-radius:5px;
	font-size: 0.9em;
}

.nogap ul {
	margin-bottom: 0;
}
.nogap ul li {
	list-style-type: none;
}
.errored input {
	border-color: #FF0000;
	box-shadow: #FF7777 0 0 5px;
}
.formcontrol {
	text-align: right;
	margin-right: 1em;
}

.message.success {
	padding: 0.5em;
	color: #FFFFFF;
	text-align: center;
	background-color: #20BA44;
	/*background-color: #00A986;*/
	border: 1px solid #E0E0E0;
	margin: -1.5em 1em 1em 1em;
}
.message.success:before {
    content: "✔ ";
}
