﻿/* ******* Pour que Header reste en haut et Footer reste en bas */
html, body, div#container
{
    min-height: 100%; /*Sets the min height to the height of the viewport.*/
    width: 100%;
    height: 100%; /*Effectively, this is min height for IE5+/Win, since IE wrongly expands an element to enclose its content. This mis-behavior screws up modern browsers*/
    margin: 0;
    padding: 0;
}

html > body div#container
{
    height: auto; /*this undoes the IE hack, hiding it from IE6 using the child selector*/
}

div#container
{
    position: absolute;
    top: 0;
    left: 0;
}
div#site
{
    height: auto;
    padding-bottom: 3em; /*Keeps content above footer. Originally used margin, but a bug in Opera7 seemed to add spurious margin, pushing the footer beyond the viewport even with short content. */
    margin: auto;
    text-align: left;
    width: 1130px;
}

/* ******************************************************** */

body
{
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 11px;
    color: #333333;
    background: #FFFFFF url(Design/background-header.jpg) repeat-x top;
}

/* ------------------------------------ */

div#header
{
    background: url(Design/header.jpg) no-repeat center;
    height: 171px;
    margin: auto;
    padding: 0;
    width: 100%;
}

div#sous-header
{
    height: 34px;
    margin: 0;
    padding: 0;
}

/* ------------------------------------ */

div#corps
{
    background: url(Design/corps.jpg) repeat-y;
    clear: both;
}


div#left
{
    float: left;
    width: 280px;
    margin: 0px;
    padding: 0px;
    background: url(Design/left-background.jpg) repeat-y;
}

div.contenu-left
{
    background: url(Design/left-top.jpg) no-repeat;
    padding-top: 20px;
    padding-bottom: 20px;
    padding-left: 63px;
    padding-right: 25px;
}

div.title
{
    background: url(Design/title.jpg) no-repeat;
    height: 26px;
    width: 180px;
    margin-bottom: 10px;
    padding-top: 5px;
    padding-left: 10px;
    font-size: 13px;
    color: #246F49;
    font-weight: bold;
}

div.contenu-menu
{
    padding-bottom: 0px;
    padding-left: 10px;
    padding-bottom: 18px;
}

div#right
{
    width: 800px;
    float: left;
    padding-top: 20px;
    padding-bottom: 70px;
}
div.contenu-right
{
    float: left;
    width: 700px;
}
div.contenu-right2
{
    float: right;
    width: auto;
}

div.leftColumn
{
    display: table-cell;
    float: left;
    width: 50%;
    padding-right:5px;
}

div.rightColumn
{
    display: table-cell;
    padding-left:5px;
    margin-left: 50%;
    width: 50%;
}

p.ColumnHeader
{
    padding: 4px;
    font-weight: bold;
    font-size: 12px;
    width: 100%;
    background-color: #B9FFB9;
    border-bottom-style: solid;
    border-bottom-width: 1px;
}

/* ------------------------------------ */

div#bottom
{
    clear: both;
    bottom: 0;
    position: absolute;
    width: 100%;
    padding-top: 1em;
}

div#footer
{
    text-align: center;
    color: #ffffff;
    background: url(Design/background-footer.jpg) repeat-x bottom;
    height: 25px;
    float: left;
    width: 100%;
}

div#footer p
{
    padding-top: 2px;
    margin: auto;
}

/* ------------------------------------ */

img
{
    border: 0;
}

a
{
    color: #000;
    font-weight: bold;
    font-family: verdana;
    text-decoration: none;
}

a:hover, a:active, a:focus
{
    color: #C0C0C0;
    font-weight: bold;
    text-decoration: none;
}

tr.noWrapRow
{
    white-space: nowrap;
}

table
{
    border-spacing: 0px;
    border-collapse: collapse;
}

table.CenteredTable
{
    margin: auto;
}
table.LargeTable
{
    width: 100%;
}

thead
{
    color: #494949;
    background-color: #CCCCCC;
    text-align: center;
    font-weight: bold;
    font-size: 1.2em;
}

thead tr
{
    text-align: center;
}

/** Phrappes non-téléchargées | Mes Phrappes passées **/
.GreenStyle
{
    background-color: #AAFFAA;
}
/** Phrappes non-téléchargées | Mes Phrappes à venir **/
.BlueStyle
{
    background-color: #93C9FF;
}
/** Phrappes éditées depuis téléchargement **/
.YellowStyle
{
    background-color: #FFE88C;
}
/** Phrappes en retard > 8 jours **/
.OrangeStyle
{
    background-color: #FFB871;
    color: #000;
}
/** Phrappes en retard > 8 jours | Phrappeurs non activés **/
.RedStyle
{
    background-color: #FF4242;
    color: #000;
}


/***** */
p.ParagraphHeader
{
    padding: 5px;
    font-weight: bold;
    font-size: 12px;
    width: 100%;
    background-color: #00B33A;
    color: #FFFFFF;
}

/* -------------- Menu Déroulant ------------------*/

/* The magic */

/**************** Divers styles ****************/
.field-validation-error
{
    color: #ff0000;
}

.input-validation-error
{
    border: 1px solid #ff0000;
    background-color: #ffeeee;
}

span.validation-summary-errors
{
    font-weight: bold;
    color: #ff0000;
}
ul.validation-summary-errors
{
    font-weight: bold;
    color: Blue;
}


/***********************
	FORM : Yoann
***********************/
form p, .infos
{
    background: #F1F1F1;
}

form p, .infos p
{
    margin: 2px 0;
    padding: 4px 4px 4px 5px;
}

form p label, .infos p label
{
    float: left;
    width: 29%;
    font-size: 1.1em;
    font-weight: bold;
}

form p label.nofloat, .infos p label.nofloat
{
    float: none;
    width: 100%;
}

.infos p
{
    clear: left;
}

form p label:hover
{
    text-decoration: underline;
}

form p input, form p textarea
{
    width: 68%;
    white-space: nowrap;
    border: solid 1px #ddd;
    padding: 2px;
}

form p input[type='checkbox']
{
    width: auto;
}

form p input:focus, form p textarea:focus
{
    border: solid 1px #bbb;
}

form .footer
{
    text-align: center;
}

form .footer input, input.flatButton
{
    width: auto;
    background: #fff;
    border: solid 1px #ddd;
}
form .footer input
{
    padding: 2px;
}
input.smallFlatButton
{
    font-size: 10px;
}
form .footer input:hover, input.flatButton:hover
{
    border: 1px solid #666666;
}
/***********************
	INFORMATIONS BLOCKS : Yoann
***********************/

.note, .warning, .success, .error
{
    min-height: 41px;
    margin: 5px 0;
    padding: 10px;
}

.note a, .warning a, .success a, .error a
{
    text-decoration: underline;
}

.note a
{
    color: #444;
}
.warning a
{
    color: #cf6e0c;
}
.success a
{
    color: #096100;
}
.error a
{
    color: #940000;
}

.note p
{
    background: #ebebeb !important;
}
.warning p
{
    background: #f6e4ac !important;
}
.success p
{
    background: #e5f4cd !important;
}
.error p
{
    background: #e9c9c9 !important;
}

.note p, .warning p, .success p, .error p
{
    margin: 5px 0;
    padding: 0;
}

.note li, .warning li, .success li, .error li
{
    margin: 0 0 0 10px;
}

.note
{
    color: #444;
    background: #ebebeb url('Design/info.png') no-repeat 10px 10px;
    padding-left: 73px;
}

.adcategory, .eventcategory
{
    color: #444;
    margin: auto;
    width: 300px;
    line-height: 70px;
    padding-left: 70px;
    background: #ebebeb no-repeat 10px center;
}

.adcategory p, .eventcategory p
{
    vertical-align: middle;
    font-size: 13px;
}

.warning
{
    color: #cf6e0c;
    background: #f6e4ac url('Design/warning.png') no-repeat 10px 10px;
    padding-left: 75px;
}

.success
{
    color: #096100;
    background: #e5f4cd url('Design/success.gif') no-repeat 10px 10px;
    padding-left: 84px;
}

.error
{
    color: #940000;
    background: #e9c9c9 url('Design/error.png') no-repeat 10px 10px;
    padding-left: 74px;
}

/***********************
	GALLERY
***********************/

div.gallery
{
}

div.galleryRow, div.clear
{
    clear: both;
}

div.thumbnail
{
    margin: 2px;
    height: auto;
    width: auto;
    float: left;
    text-align: center;
}

div.thumbnail img
{
    display: inline;
    margin: 3px;
    border: 1px solid #CCCCCC;
}

div.thumbnail a:hover img
{
    border: 1px solid #666666;
}

div.link
{
    text-align: center;
    font-weight: normal;
}

/***********************
	ad
***********************/
.ad
{
    background: #F1F1F1;
}
/***********************
	News
***********************/
.newsEntry
{
}
.alternateNewsEntry
{
    text-align:left;
    background: #F1F1F1;
}
.alternateNewsEntry .newsHeader
{
    text-align:right;
}