<?php

	session_start();

	//header("Content-type: text/css");
	header ('Content-Type: text/css; charset=utf-8');
	//@CHARSET "UTF-8";

	if(!isset($_SESSION['template_mode']) )
	{		
		if($_SESSION['template_mode'] == "forum")
		{   $coco = 0;
		}
		if($_SESSION['template_mode'] == "topic")
		{
			$largeur = "600px";
			$hauteur = "450px";
			$input_longueur = "220px"; /* 220px" */
		}
		if($_SESSION['template_mode'] == "categorie")
		{  
			$largeur = "600px";
			$hauteur = "250px";
			$input_longueur = "220px"; /* 220px" */
		}
	}

echo '

h1{
	font-weight: 700;
	font-size: 18px;
	line-height: 1.2em;
	border-bottom: 1px dotted #6b9ef1;
	color: #5f95ef;
	margin-bottom: 1em;
}

#form    {
background: -webkit-gradient(linear, bottom, left 175px, from(#CCCCCC), to(#EEEEEE));
background: -moz-linear-gradient(bottom, #CCCCCC, #EEEEEE 175px);
margin:auto;
position:relative;
width: 580px;
height: $hauteur;
font-family: Tahoma, Geneva, sans-serif;
font-size: 14px;
font-style: italic;
line-height: 24px;
font-weight: bold;
color: #09C;
text-decoration: none;
-webkit-border-radius: 10px;
-moz-border-radius: 10px;
border-radius: 10px;
padding:10px;
border: 1px solid #999;
border: inset 1px solid #333;
-webkit-box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.3);
-moz-box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.3);
box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.3);
}

#form label{
	display: block;
	color: #797979;
	font-weight: 700;
	line-height: 1.4em;
}
#form input{
	width: $input_longueur; 
	padding: 6px;
	color: #949494;
	font-family: Arial,  Verdana, Helvetica, sans-serif;
	font-size: 11px;
	border: 1px solid #cecece;
}
#form  input.error{
	background: #f8dbdb;
	border-color: #e77776;
}
#form textarea{
	width: 500px;
	height: 80px;
	padding: 6px;
	color: #adaeae;
	font-family: Arial,  Verdana, Helvetica, sans-serif;
	font-style: italic;
	font-size: 12px;
	border: 1px solid #cecece;
    resize: none;
}
#form textarea.error{
	background: #f8dbdb;
	border-color: #e77776;
}
#form div{
	margin-bottom: 15px;
}
#form div span{
	margin-left: 10px;
	color: #b1b1b1;
	font-size: 11px;
	font-style: italic;
}
#form div span.error{
	color: #e46c6e;
}
#form #send{
	background: #6f9ff1;
	color: #fff;
	font-weight: 700;
	font-style: normal;
	border: 0;
	cursor: pointer;
}
#form #send:hover{
	background: #79a7f1;
}
#error{
	margin-bottom: 20px;
	border: 1px solid #efefef;
}
#error ul{
	list-style: square;
	padding: 5px;
	font-size: 11px;
}
#error ul li{
	list-style-position: inside;
	line-height: 1.6em;
}
#error ul li strong{
	color: #e46c6d;
}
#error.valid ul li strong{
	color: #93d72e;
}
';

?>