/* 
    Document   : layout
    Created on : 15 août 2012, 13:38:09
    Author     : Matthieu
    Description:
        Purpose of the stylesheet follows.
*/

root { 
    display: block;
}

body {
    font-family: 'Trebuchet MS',Verdana,Tahoma,sans-serif;
    font-size: 0.8em;
    margin: 0;
	padding: 0;
    min-height: 600px;
    width: 100%;

    background-color: #3780B7;
    background-image: url("../images/content_light.png");
    background-position: top;
}

input {
    border-radius: 30px;
    padding-top: 8px;
    padding-bottom: 8px;
}

/*input:hover,
input:focus,
input:active {
    box-shadow:1px 1px 1px 1px #4F92BF inset;
}*/

#user {
    background-image: url("../images/user.png");
    background-repeat: no-repeat;
    background-position: 10px 5px;
    padding-left: 40px;
    padding-right: 40px;
    margin-bottom: 10px;
    width: 230px;
}

#pass {
    background-image: url("../images/lock.png");
    background-repeat: no-repeat;
    background-position: 10px 5px;
    padding-left: 40px;
    padding-right: 40px;
    margin-bottom: 10px;
    width: 230px;
}

#identificationBody {
    background-image: url("../images/1.jpg");
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: top;
    text-shadow:0px 0px 7px #FFFFFF;
}

#identification {
    margin-top: 20%;
    padding-top: 20px;
    padding-bottom: 10px;
    width: 100%;
    background-image: url("../images/content_light.png");   
}

#identificationForm {
    margin-left: 37%;
}

#identificationForm .submit {
    border: none;
    display: inline-block;
    margin-left: -40px;
    cursor: pointer;
    width: 30px;
    height: 30px;
    background: url("../images/arrow.png") no-repeat 0px 6px;
}

#identificationForm .submit:hover,
#identificationForm .submit:focus,
#identificationForm .submit:active {
    background-position: 0px -18px;
}

#identification cite {
    font-syle: italic;
    color: white;
    font-size: 1.5em;
    display: block;
    margin-bottom: 20px;
    text-align: center;
}

#mainHeader {
    margin: 0;
    padding: 0;
    margin-top: -20px;
    height: 100px;
    text-align: center;
    background-color: #3780B7;
    background-image: url("../images/content_light.png");
    background-position: top;
    /*text-shadow:0px 0px 7px #FFFFFF;*/
    color: white;
}

#mainHeader h1 {
    padding-top: 0px;
    padding-bottom: 0px;
    font-family: Harrington,Georgia,Serif;
    font-size: 3em;
}

#mainHeader h1 img {
    width: 75px;
    float: left;
    padding-top: 20px;
    padding-left: 30px;
    padding-top: -30px;
}

#mainHeader h3 {
    font-style: italic;
}

nav {
    background-color: #3780B7;
    border-bottom: 1px solid white;
    border-top: 1px solid white;
    box-shadow: 1px 1px 50px #FFFFFF;
    color: white;
    font-size: 1.1em;
    height: 25px;
    padding: 0;
    text-align: center;
    width: 100%;
}

nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

nav ul li ,
.submenu li{
    float: left;
    margin: 0;
    width: 130px;
    background-color: #3780B7;
}

.submenu li {
    margin-left: -1px;
    border: 1px solid white;
    border-right: 0;
}

nav ul li a,
.submenu li a {
    border-right: 1px solid white;
    color: white;
    display: block;
    height: 25px;
    line-height: 25px;
    text-decoration: none;
}

nav ul li:hover,
nav ul li:active,
nav ul li:focus,
.submenu li:hover,
.submenu li:focus,
.submenu li:active
{
    background-image: url("../images/content_light.png");
}

nav ul li:hover > .submenu {
    display: block;
    margin:0px;
    padding:0px;
}

.submenu {
    border: 0 none;
    display: none;
    list-style-type: none;
    margin: 0 0 0 -65px;
    padding: 0;
    position: absolute;
    z-index: 10;
}

.events {
    margin: 0;
    margin: auto;
	text-align: center;
    border: 1px solid gray;
    border-radius: 10px;
    background-color: white;
    margin-top: 40px;
    width: 90%;
}

.events .message {
	min-height: 300px;
}

.events p {
	margin: 0;
    height: 20px;
    text-align: left;
    padding: 10px;
    padding-left: 50px;
    font-size: 1.3em;
    border-bottom: 1px dotted gray;
    background-image: url("../images/event_32.png");
    background-repeat: no-repeat;
    background-position: 5px 5px;
}

.events .button_event {
	border: 1px solid #3780B7;
	border-radius: 10px;
	margin: 20px;
	/*width: 200px;*/
	height: 257px;
	float: left;
}

.events .button_event img {
	/*width: 200px;*/
	height: 257px;
}

.events .event_title {
	display: block;
	font-size: 1.2em;
	font-style: italic;
	color: #3780B7;
}

.rubrique {
    margin: 0;
    margin-left: 5%;
    text-align: center;
    border: 1px solid gray;
    border-radius: 10px;
    background-color: white;
    margin-top: 40px;
    width: 70%;
}

.rubrique .title {
    height: 20px;
    text-align: left;
    padding: 10px;
    padding-left: 50px;
    font-size: 1.3em;
    border-bottom: 1px dotted gray;
    background-image: url("../images/news.png");
    background-repeat: no-repeat;
    background-position: 5px 5px;
}

.rubrique .title a {
    text-decoration: none;
    color: #3780B7;
}

.rubrique .title a:hover {
    text-decoration: underline;
    color: #3780B7;
}

.rubrique .message {
    text-align: justify;
    padding: 20px;
    padding-left: 30px;
    padding-right: 30px;
    min-height: 150px;
}

.rubrique .message a {
    color: #3780B7;
}

.rubrique .message a:hover {
    text-decoration: none;
}

.rubrique .message monthDate {
    color: white;
    position: absolute;
    left: -20px;
}

.rubrique .message dayDate {
    color: gray;
    position: absolute;
    left: -20px;
    top: -5px;
}

.rubrique .write {
    height: 10px;
    text-align: right;
    font-style: italic;
    margin: auto;
    padding: 10px;
    font-size: 0.9em;
    border-top: 1px dotted gray;
}

#menu_aside {
    border-radius: 10px;
    float: right;
    width: 20%;
    background-color: white;
    font-size: 1.1em;
    padding: 0;
    text-align: center;
    margin-top: 40px;
    margin-right: 3%;
    min-height: 100px;
}

#menu_aside p {
    height: 20px;
    text-align: left;
    margin: auto;
    padding: 10px;
    padding-left: 50px;
    font-size: 1.3em;
    background-image: url("../images/recent_news.png");
    background-repeat: no-repeat;
    background-position: 5px 5px;
    color: #3780B7;
    font-style: bold;
}

#menu_aside ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

#menu_aside ul li {
    border-top: 1px dotted gray;
    margin: 0;
    text-align: left;
    padding: 10px;
}

#menu_aside ul li a,
#menu_aside p a {
    display: block;
    height: 25px;
    line-height: 25px;
    text-decoration: underline;
    color: #3780B7;
}

#menu_aside ul li a:hover,
#menu_aside p a:hover {
    text-decoration: none;
    color: #3780B7;
}

form #contact,
form #createUser,
form #updateUser,
form #comment {
    width: 70%;
    background: white;
    border: 1px solid #AAAAAA;
    border-radius: 10px;
    margin: 0;
    margin: 40px auto 0;
	margin-left: 5%;
	/*text-align: center;*/
    /*padding: 20px;*/
}

form #contact .title,
form #createUser .title ,
form #updateUser .title {
    height: 20px;
    text-align: left;
    margin: 0;
    padding: 10px;
    padding-left: 50px;
    font-size: 1.3em;
    border-bottom: 1px dotted gray;
    background-repeat: no-repeat;
    background-position: 5px 5px;
}

form #contact .title {
	background-image: url("../images/contact_32.png");
}

form #createUser .title {
	background-image: url("../images/createUser_32.png");
}

form #updateUser .title {
	background-image: url("../images/updateUser_32.png");
}

form #comment .title {
    height: 20px;
    text-align: left;
    margin: 0;
    padding: 10px;
    padding-left: 50px;
    font-size: 1.3em;
    border-bottom: 1px dotted gray;
    background-image: url("../images/comment_32.png");
    background-repeat: no-repeat;
    background-position: 5px 5px;
}

form #contact p label,
form #createUser p label,
form #updateUser p label,
form #comment p label {
    cursor: pointer;
    display: block;
    float: left;
    font-size: 13px;
    font-weight: bold;
    line-height: 28px;
    margin-bottom: 5px;
    padding-left: 50px;
    width: 120px;
}

form #contact p:hover label:after,
form #createUser p:hover label:after,
form #updateUser p:hover label:after,
form #comment p:hover label:after {
    content: " >>";
}

form #contact p:hover label,
form #createUser p:hover label,
form #updateUser p:hover label,
form #comment p:hover label {
    color: #0459B7;
}

form #contact input[type="text"],
form #contact input[type="email"],
form #contact input[type="password"],
#contact select,
form #createUser input[type="text"],
form #createUser input[type="email"],
form #createUser input[type="password"],
#createUser select,
form #updateUser input[type="text"],
form #updateUser input[type="email"],
form #updateUser input[type="password"],
form #updateUser select {
    background: -moz-linear-gradient(90deg, #FFFFFF, #EEEEEE) repeat scroll 0 0 transparent;
    background: -ms-linear-gradient(#ffffff, #EEEEEE);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #ffffff), color-stop(100%, #EEEEEE));
    background: -webkit-linear-gradient(#ffffff, #EEEEEE);
    background: -o-linear-gradient(#ffffff, #EEEEEE);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#EEEEEE');
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#EEEEEE')";
    background: linear-gradient(#ffffff, #EEEEEE);
    border: 1px solid #AAAAAA;
    padding: 5px;
    width: 50%;
}

form #contact textarea,
form #createUser textarea,
form #updateUser textarea,
form #comment textarea {
    background: -moz-linear-gradient(90deg, #FFFFFF, #EEEEEE) repeat scroll 0 0 transparent;
    background: -moz-linear-gradient(90deg, #FFFFFF, #EEEEEE) repeat scroll 0 0 transparent;
    background: -ms-linear-gradient(#ffffff, #EEEEEE);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #ffffff), color-stop(100%, #EEEEEE));
    background: -webkit-linear-gradient(#ffffff, #EEEEEE);
    background: -o-linear-gradient(#ffffff, #EEEEEE);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#EEEEEE');
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#EEEEEE')";
    background: linear-gradient(#ffffff, #EEEEEE);
    border: 1px solid #AAAAAA;
    height: 100px;
    padding: 5px;
    width: 90%;
    display: block;
    margin: 0;
    margin: auto;
}

form #contact input[type="submit"],
form #createUser input[type="submit"],
form #updateUser input[type="submit"],
form #comment input[type="submit"] {
    border: none;
    display: inline-block;
    margin: 0;
    margin: auto;
    text-align: center;
    cursor: pointer;
    width: 30px;
    height: 30px;
    background: url("../images/arrow.png") no-repeat 0px 6px;
}

form #contact input[type="submit"]:hover,
form #contact input[type="submit"]:focus,
form #createUser input[type="submit"]:hover,
form #createUser input[type="submit"]:focus,
form #updateUser input[type="submit"]:hover,
form #updateUser input[type="submit"]:focus,
form input[type="submit"]:active,
form #comment input[type="submit"]:hover,
form #comment input[type="submit"]:focus {
    background-position: 0px -18px;
}

.contact {
    margin: 0;
    margin-left: 5%;
    text-align: center;
    border: 1px solid gray;
    border-radius: 10px;
    background-color: white;
    margin-top: 40px;
    width: 90%;
}

.contact .title {
    height: 20px;
    text-align: left;
    padding: 10px;
    padding-left: 50px;
    font-size: 1.3em;
    border-bottom: 1px dotted gray;
    background-image: url("../images/contact_32.png");
    background-repeat: no-repeat;
    background-position: 5px 5px;
}

.contact .message {
    text-align: justify;
    padding: 20px;
    padding-left: 30px;
    padding-right: 30px;
    min-height: 100px;
}

.success,
.error {
    margin: 0;
    margin-left: 5%;
    text-align: center;
    border: 1px solid gray;
    border-radius: 10px;
    background-color: white;
    margin-top: 20px;
	width: 70%;
}

.success .title,
.error .title {
    height: 20px;
    text-align: left;
    padding: 10px;
    padding-left: 50px;
    font-size: 1.3em;
    border-bottom: 1px dotted gray;
    background-repeat: no-repeat;
    background-position: 5px 5px;
}

.success .title {
	background-image: url("../images/success_32.png");
	color: green;
}

.error .title {
	background-image: url("../images/error_32.png");
	color: red;
}

.success .message,
.error .message {
    text-align: justify;
    padding: 20px;
    padding-left: 30px;
    padding-right: 30px;
    min-height: 100px;
}

.success .message {
	color: green;
}

.error .message {
	color: red;
}

#mainFooter {
    margin-top: 40px;
    text-align: center;
    height: 30px;
    background-color: #3780B7;
    font-style: italic;
    color: white;
    border-bottom: 1px solid white;
    border-top: 1px solid white;
}

#mainFooter p {
    padding: 0;
    margin: 0;
    line-height: 30px;
}