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,
font,
img,
ins,
kbd,
q,
samp,
small,
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: none;
	font-weight: inherit;
	font-style: inherit;
	font-size: 100%;
	font-family: inherit;
	vertical-align: baseline;
}

.fright {
	float: right;
}

.content {
	width: 990px;
	text-align: left;
	margin: 0 auto;
}

.sep {
	width: 100%;
	height: 1px;
	clear: both;
}

html,
body,
#wrap {
	height: 100%;
}

body>#wrap {
	height: auto;
	min-height: 100%;
}

body {
	background: white url('../img/bg_body.png') repeat-x top left;
	color: #646464;
	text-align: center;
}

#content {
	padding-bottom: 50px;
}

body,
h1,
h2,
h3,
h4,
input,
textarea,
select,
p,
ul,
li {
	color: #4f4f4f;
	font: 12px arial;
}

a img {
	border: 0;
}

h2 {
	font-size: 22px;
	color: black;
}

h2 b {
	color: #cc0000;
}

a {
	color: #646464;
}

a:hover {
	color: #cc0000;
}

#header {
	background: url('../img/bg_header.png') no-repeat 200px 70px;
	height: 280px;
}

#header h1 {
	background: url('../img/h1.png') no-repeat top left;
	width: 311px;
	height: 91px;
	margin-top: 35px;
	position: absolute;
	overflow: hidden;
}

/* English logo override */
html[lang="en"] #header h1 {
	background-image: url('../img/h1-en.png');
}

#header h1 b {
	display: block;
	padding: 120px 0 0 0;
}

#header h2 {
	padding: 40px 0 0 600px;
}

#header p {
	color: #808080;
	padding: 10px 0 0 600px;
}

#header ul {
	list-style: none;
	padding: 0 0 0 311px;
	height: 70px;
}

#header ul li {
	display: block;
	float: left;
	width: 132px;
}

#header ul li a {
	display: block;
	text-align: center;
	padding: 15px 0 10px 0;
	font-size: 11px;
	color: white;
	font-weight: bold;
	text-decoration: none;
}

#header ul li a:hover {
	color: #cc0000;
}

#header ul li a.active {
	color: #cc0000;
}

#content .cadre {
	background: url('../img/bg_content_top.png') no-repeat top center;
	padding-top: 18px;
	margin-bottom: 5px;
}

#content .cadre .bot {
	background: url('../img/bg_content_bot.png') no-repeat bottom center;
	padding-bottom: 18px;
}

#content .cadre .mid {
	background: url('../img/bg_content_mid.png') repeat-y top center;
	padding: 0 15px;
}


#content .cadres {
	padding-top: 18px;
	width: 330px;
	float: left;
	margin-bottom: 30px;
}

#content .cadres p {
	margin: 0 5px;
	text-align: justify;
}

#content .cadres h2 {
	padding: 0 0 10px 15px;
}

#content .cadres .top {
	background: url('../img/bg_content_tops.png') no-repeat top center;
	padding-top: 18px;
}

#content .cadres .bot {
	background: url('../img/bg_content_bots.png') no-repeat bottom center;
	padding-bottom: 18px;
}

#content .cadres .mid {
	background: url('../img/bg_content_mids.png') repeat-y top center;
	padding: 0 15px;
}

#content .cadres .btn {
	margin: 0 0 0 0;
}

#content .cadres .btn a {
	background: url('../img/bg_btn.png') no-repeat top right;
	display: block;
	text-align: center;
	width: 120px;
	color: white;
	text-decoration: none;
	text-align: center;
	float: right;
	font-weight: bold;
	font-size: 11px;
	padding: 8px 0 10px 0;
}

#content .txt {
	float: left;
	width: 652px;
}

#content .cr {
	float: right;
}

#content .cl {
	float: left;
}

#content small {
	font-size: 11px
}

#content .txt h3 {
	font-size: 22px;
	color: black;
	margin: 2px 0 1px 5px;
}

#content .txt h3 input {
	font-size: 22px;
	color: black;
	width: 50px;
	text-align: center;
}

#content .txt p.r {
	float: right;
	padding: 5px 0 0 0;
	margin: 0 10px 0 0;
	text-align: justify;
	width: 260px;
}

#content .txt p.f {
	float: left;
	width: 350px;
}

#content .txt p input {
	width: 80px;
	text-align: center;
	vertical-align: center;
	border: 1px solid #808080;
}

#content .txt p select {
	width: 70px;
	text-align: center;
	vertical-align: center;
	border: 1px solid #808080;
}

#content .txt label {
	float: left;
	width: 140px;
	padding: 5px 0 0 50px;
}

#content .txt .sm label {
	width: 120px;
	padding: 4px 0 0 0;
}

#content .txt .sm input {
	width: 50px;
}

#content .txt .sm {
	padding-bottom: 8px;
}

#content .txt .bg {
	background: #F0F0F0;
	margin: 1px 10px 0 5px;
}

#content .txt .margin {
	margin-bottom: 8px !important;
}

#content .txt .bl {
	background: url('../img/corner_bottom_left.png') no-repeat bottom left;
}

#content .txt .br {
	padding-bottom: 2px;
	background: url('../img/corner_bottom_right.png') no-repeat bottom right;
}

/* Modern Rounded Corners Override for Resale Section */
#content .txt .resale-bg {
	border-bottom-left-radius: 10px;
	border-bottom-right-radius: 10px;
}

#content .txt .resale-bg .bl,
#content .txt .resale-bg .br {
	background: none !important;
}

#content .txt .resale-bg .br {
	padding-bottom: 2px;
	/* Maintain padding but remove image */
}

#content .txt .dtls2 {
	float: right;
	text-align: left;
	width: 210px;
	padding-top: 0px;
}

#content .txt .dtls2 .btn2 {
	margin: 0 0;
}

#content .txt .dtls2 .btn2 a {
	background: url('../img/bg_btnbig.png') no-repeat top left;
	display: block;
	text-align: center;
	color: white;
	text-decoration: none;
	text-align: center;
	font-size: 18px;
	padding: 7px 10px 25px 0;
}

/* Generic dtls2 btn2 styling (for use outside .txt) */
.dtls2 .btn2 {
	margin: 5px 0;
	text-align: center;
	display: flex;
	justify-content: center;
}

.dtls2 .btn2 a,
.dtls2 .btn2 button {
	background: url('../img/bg_btnbig.png') no-repeat top center;
	display: block;
	text-align: center;
	color: white;
	text-decoration: none;
	font-size: 14px;
	padding: 10px 15px 22px 5px;
	line-height: 1.2;
	border: none;
	cursor: pointer;
	width: 210px;
	/* Standardize width to match bg_btnbig.png */
	box-sizing: border-box;
}

#qr-ui-container {
	flex: 1;
	padding: 0px 5px;
	background: #f5f5f5;
	border: 1px solid #ddd;
	border-radius: 10px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	box-sizing: border-box;
	box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05);
}

#qr-ui-container p {
	font-size: 12px;
	color: #666;
	margin-bottom: 5px;
	/* Reduced from 15px */
	text-align: center;
	font-weight: bold;
}

#qr-ui-container .dtls2 {
	margin-top: 0px;
	width: 100%;
}

#qr-code-display {
	background: white;
	padding: 0px;
	border: 1px solid #ccc;
	border-radius: 5px;
	display: flex;
	justify-content: center;
	align-items: center;
	margin: 0 auto;
}

#qr-ui-container .dtls2 a,
#qr-ui-container .dtls2 button {
	margin-top: 0;
	/* Reset since parent has margin */
}


#content .txt .pages p {
	margin: 5px;
	text-align: justify;
}

#content .txt p.sendd {
	float: none !important;
}

#content .txt p.sendd label {
	font-weight: bold;
	width: 300px;
	padding: 5px 0 0 0 !important;
}

#content .txt p.sendd input {
	width: 150px;
	float: right;
}

#content .txt p.sendd textarea {
	vertical-align: center;
	border: 1px solid #808080;
	width: 500px;
	height: 73px;
}

#content .txt p.sendd input.ok {
	border: 1px solid #cc0000;
	background: #cc0000;
	color: white;
	font-weight: bold;
	vertical-align: bottom;
	width: 80px;
	margin-left: 5px !important;
}

#content .txt p.sendd input.ok:hover {
	border: 1px solid black;
	background: black;
}


#content #graphique,
#content .commentaire {
	background: white;
	clear: both;
	margin: 10px 5px 0 5px;
}

#content #graphique h3,
#content .commentaire h3 {
	font-size: 22px;
	color: black;
	margin: 2px 0 1px 5px;
}

#content #graphique h3 a,
#content .commentaire h3 a {
	float: right;
	font-size: 11px;
	color: black;
}

#content #graphique h3 a:hover,
#content .commentaire h3 a:hover {
	color: #cc0000;
}

#content #graphique p,
#content .commentaire p {
	margin: 5px;
	text-align: justify;
}

#content #graphique .bl,
#content .commentaire .bl {
	background: url('../img/wcorner_bottom_left.png') no-repeat bottom left;
}

#content #graphique .br,
#content .commentaire .br {
	background: url('../img/wcorner_bottom_right.png') no-repeat bottom right;
	padding: 10px;
}

#content .commentaire label {
	display: block;
	float: left;
	font-weight: bold;
	width: 120px;
	padding-top: 3px;
}

#content .commentaire textarea {
	width: 410px;
	height: 75px;
	margin: 0;
}

#content .commentaire p.right {
	float: right;
	margin: 0 0 0 0;
}

#content .commentaire p.links {
	text-align: right;
}

#content .commentaire p.links a {
	text-decoration: none;
	background: #F0F0F0;
	font-weight: bold;
}

#content .commentaire p.links a.active {
	background: none;
	color: black;
	font-weight: bold;
}

#content .moreoptions {
	border-top: 2px solid #F0F0F0;
	padding: 10px 0 0 0;
	margin: 0 0 0 0;
}

#content .moreoptions p {
	margin: 5px 0 0 0 !important;
	padding: 0;
	float: left;
	width: 200px;
}

#content .moreoptions p.big {
	width: 330px;
}

#content .moreoptions p label {
	padding-top: 5px;
	float: left;
	width: 130px;
	text-indent: 10px;
	text-align: left;
}

#content .moreoptions p.big label {
	width: 250px;
	text-indent: 30px;
}

#content .moreoptions p input {
	width: 30px;
	text-align: center;
}

#content .moreoptions p select {
	width: 60px;
	text-align: right !important;
}

#content .moreoptions p select * {
	text-align: right !important;
}

#content .moreoptions .btn2 {
	float: right;
	margin: 0 0 0 0;
	padding-top: 10px;
}

#content .moreoptions .btn2 a {
	background: url('../img/bg_btnbig.png') no-repeat top left;
	display: block;
	text-align: center;
	color: white;
	text-decoration: none;
	text-align: center;
	font-size: 18px;
	padding: 7px 10px 25px 0;
}

#content #infosdetails {
	display: none;
	clear: both;
	border-top: 2px solid #F0F0F0;
	padding-top: 10px;
	margin: 10px 0 0 0;
}

#content #sendfrien {
	clear: both;
	border-top: 2px solid #F0F0F0;
	padding-top: 10px;
	margin: 10px 0 0 0;
}

#content #sendfrien input {
	border: 1px solid #F0F0F0;
	vertical-align: center;
	border: 1px solid #808080;
	width: 200px;
}

#content #sendfrien textarea {}

#content #sendfrien label {
	float: left;
	width: 100px;
	text-align: right;
	padding: 5px 10px 0 0;
}

#content #amortissement {
	display: none;
	clear: both;
	border-top: 2px solid #F0F0F0;
	padding-top: 10px;
	margin: 10px 0 0 0;
}

#content #amortissement table {
	width: 100%;
	margin: 10px 0 0 0;
	padding: 0
}

#content #amortissement table tr td {
	text-align: right;
}

#content #amortissement table tr.top {
	background: #F0F0F0;
	font-weight: bold;
}

#content #amortissement table tr.bg {
	background: #F0F0F0;
}

#content .dtls {
	float: right;
	text-align: left;
	width: 310px;
	padding-top: 5px;
}

#content .dtls .btn {
	margin: 0 0;
}

#content .dtls .btn a {
	background: url('../img/bg_btnbig.png') no-repeat top left;
	display: block;
	text-align: center;
	color: white;
	text-decoration: none;
	text-align: center;
	font-size: 18px;
	padding: 7px 10px 20px 0;
	margin-left: 50px
}

#content .publish {
	padding: 20px 0 0 0;
	margin: 0px 7px 0px 6px;
}

#content .publish p {
	padding: 15px 0 0 5px !important;
	margin: 0 !important;
}

#content .publish img {
	vertical-align: middle;
	margin: 0 10px 0 0;
	padding: 0px 0px 0px 10px;
}

#content .publish a {
	text-decoration: none;
	color: #4f4f4f;
}

#content .publish a:hover {
	color: #cc0000;
}



#content .adds {
	float: left;
	width: 300px;
	height: 250px;
}

#content .adds_336_280 {
	float: left;
	width: 336px;
	height: 280px;
}

#content .adds_728 {
	float: center;
	width: 728px;
	height: 90px;
}

#content .cadres .adds {
	float: none;
	margin: 0;
	padding: 20px 0 0 0;
	clear: both;
}

#footer {
	background: black;
	position: relative;
	margin-top: -30px !important;
	height: 30px;
	overflow: hidden;
	clear: both;
}

#footer p {
	width: 980px;
	text-align: left;
	margin: 0 auto;
	padding: 8px 0 0 0;
	font-size: 11px;
}

#footer p a {
	color: #646464;
	text-decoration: none;
}

#footer p a:hover {
	color: white;
}

/* Fix for centered articles to avoid legacy white line backgrounds */
.article-page #content .cadre,
.article-page #content .cadre .bot,
.article-page #content .cadre .mid {
	background: none !important;
}

.article-page .article-content {
	background: #F0F0F0;
	border-radius: 12px;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
	/* Subtle shadow for depth */
}