/* Common stylesheet - Used in every templates */ 
html {
    /* margin de -0.1 pour eviter le decalage de background de firefox de 1px */
    margin-left: -0.1px; 
}

body {
    margin: 0;
    padding: 0;
    background: #1c376c url(/statics/resources/images/skin/background.png) repeat-y center !important;
}

img {
	border: none;
}

a {
	color: #0a83d4;
	text-decoration: none;
}

a:hover {
	color: #29427a;
	text-decoration: none;
}

fieldset {
	border: none;
}

p { 
    text-align: justify; 
}

ul { 
    text-align: justify; 
    padding-left: 16px;
}

ol { 
    text-align: justify; 
    padding-left: 16px;
}

#body {
    margin: 0 auto;
    text-align: center; /* pas de centrage en mode auto a cause de IE */
    width: 950px;
    font-size:10pt;
    font-family: Helvetica, Arial, Lucida Sans, Trebuchet MS, Verdana, sans-serif;
}

/* global structure */
#global {
    margin: 0;
    padding: 0;
    width: 948px;
    border-left: #0b2941 solid 1px;
    border-right: #0b2941 solid 1px;
    text-align: left;
    position: relative;
    overflow: hidden; 
    background: #fff url(/statics/resources/images/skin/global_background.png) 0 0 repeat-y;
}

#global .globe {
    width: 948px;
    padding-bottom: 8px;
    text-align: left;
    position: relative;
    overflow: hidden; 
    background: url(/statics/resources/images/skin/fond_globe.png) 0 100% no-repeat;
}

/* Main block */
#main {
    margin-top: 16px;
    margin-bottom: 16px;
    margin-left: 32px;
    margin-right: 0;
    padding: 0;
    width: 662px;
    float: left;
    display: inline; /* pour eviter le bug des doubles marges de IE6 */
}
#main.full {
    margin-top: 16px;
    margin-bottom: 16px;
    margin-left: 32px;
    margin-right: 32px;
    padding: 0;
    width: auto;
    float: none;
    display: block;
}
#main.no-news {
    margin-top: 16px;
    margin-bottom: 16px;
    margin-left: 32px;
    margin-right: 32px;
    padding: 0;
    width: 662px;
    display: block;
}

#main .embed {
    text-align: center;
}

#main table {
    border-spacing: 2px;
    margin: 0;
}

#main table td {
    padding-left: 4px;
    padding-right: 4px;
}

#main table td.spaced {
    padding-top: 4px;
    padding-bottom: 4px;
}

#main table td.label {
    vertical-align: top;
    line-height: 22px;
}

#main table td.label label {
    white-space: nowrap;
}

#main table.profile {
    width: 100%;
}
#main table.profile td {
    vertical-align: top;
}
#main table.profile td input  {
    width: 100%;
}
#main table.profile td.checkbox input  {
    width: auto;
}
#main table.profile textarea  {
    width: 100%;
    height: 100px;
}

#main ul.error {
    margin-top: 6px;
    margin-bottom: 0;
    margin-left: 2px;
    margin-right: 0;
    padding: 0;
}

#main ul.error li {
    margin: 0;
    padding: 0;
    list-style-image: url(/statics/resources/images/skin/left_arrow.png);
    color: red;
}

#main form {
    margin-top: 16px;
    margin-bottom: 16px;
}

#main h1 {
    padding-left: 16px;
    padding-right: 0;
    padding-top: 0;
    padding-bottom: 2px;
    margin-top: 0;
    margin-bottom: 6px;
    text-transform:uppercase;
    font-weight: bold;
    font-size: 22px;
    line-height: 36px;
    color: #fff;
    height: 36px;
    background: url(/statics/resources/images/skin/title_h1.png) 0 0 no-repeat;
}
#main.full h1 {
    background: url(/statics/resources/images/skin/title_h1_full.png) 0 0 no-repeat;
}
#main.no-news h1 {
    background: url(/statics/resources/images/skin/title_h1.png) 0 0 no-repeat;
}

#main h2 {
    margin-top: 10px;
    margin-bottom: 5px;
    padding-left: 10px;
    padding-top: 0;
    text-transform:uppercase;
    font-weight: bold;
    font-size: 15px;
    line-height: 32px;
    color: #000;
    height: 32px;
    background: url(/statics/resources/images/skin/title_h2_short.png) 0 0 no-repeat;
}

#main p.askfor-ok {
    margin-top: 24px;
    margin-bottom: 8px;
    margin-left: 8px;
    margin-right: 8px;
    padding-top: 8px;
    padding-bottom: 8px;
    padding-left: 8px;
    padding-right: 8px;
    font-size: 18px;
    line-height: normal;
    height: auto;
    text-transform: none;
    text-align: center;
    color: #0a83d4;
    border: #0a83d4 solid 2px;
    background: none;
}

#main p.askfor-no {
    margin-top: 24px;
    margin-bottom: 8px;
    margin-left: 8px;
    margin-right: 8px;
    padding-top: 8px;
    padding-bottom: 8px;
    padding-left: 8px;
    padding-right: 8px;
    font-size: 18px;
    line-height: normal;
    height: auto;
    text-transform: none;
    text-align: center;
    color: #ff2222;
    border: #ff2222 solid 2px;
    background: none;
}

#main h3 {
    margin-top: 10px;
    margin-bottom: 5px;
    padding-left: 10px;
    padding-top: 0px;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 14px;
    line-height: 24px;
    color: #000;
    height: 24px;
    background: url(/statics/resources/images/skin/title_h3.png) 0 0 no-repeat;
}

#main .newsblock h3 {
    margin-top: 10px;
    margin-bottom: 5px;
    padding-left: 0;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 10pt;
    color: #000;
    height: auto;
    background-image: none;
}

#main p {
    margin-top: 4px;
    margin-bottom: 4px;
}

#main ul {
    /*list-style-image: url(/statics/resources/images/skin/ubicast_bullet.png);*/
    list-style-position:inside;
    margin-bottom: 0px;
    margin-left:0px;
}

#main ol {
    list-style-position: inside;
    text-align: left;
    margin-bottom: 0px;
    margin-left: 0px;
}

#main li {
    margin-top: 6px;
}

#main .section {
    width: 100%;
    margin-top:2px;
}

#main .subsection {
    width: 100%;
    margin-bottom: 10px;
}

#main .section p {
    padding-left: 10px;
}

#main .section .introductionblock h2 {
    margin-top: 32px;
}

#main .section h2 a {
    color: #000;
}

#main .section h2 a:hover {
    color: #0a70c8;
}

#main .section a.disabled {
    color:#333;
}

/* Picture flow background */
#main table.pictureflow {
    margin: 0;
    padding: 0;
    border-spacing: 0;
    width: 100%;
    text-align: center;
}
#main table.pictureflow td {
    margin: 0;
    padding: 0;
    border: none;
}
#main table.pictureflow td.pictureflow-window { background-color: #fff; }
#main table.pictureflow td.pictureflow-window object { vertical-align: top; }
#main table.pictureflow td.pictureflow-window .pictureflow-place { text-align: center; }
#main table.pictureflow td.pictureflow-top-left { width: 10px; height: 10px; background: transparent url(/statics/resources/images/skin/pictureflow-top-left.png) 0 0 repeat;}
#main table.pictureflow td.pictureflow-top { height: 10px; background: transparent url(/statics/resources/images/skin/pictureflow-top.png) 0 0 repeat;}
#main table.pictureflow td.pictureflow-top-right { width: 10px; height: 10px; background: transparent url(/statics/resources/images/skin/pictureflow-top-right.png) 0 0 repeat;}
#main table.pictureflow td.pictureflow-left { width: 10px; background: transparent url(/statics/resources/images/skin/pictureflow-left.png) 0 0 repeat;}
#main table.pictureflow td.pictureflow-right { width: 10px; background: transparent url(/statics/resources/images/skin/pictureflow-right.png) 0 0 repeat;}
#main table.pictureflow td.pictureflow-bottom-left { width: 10px; height: 10px; background: transparent url(/statics/resources/images/skin/pictureflow-bottom-left.png) 0 0 repeat;}
#main table.pictureflow td.pictureflow-bottom { height: 10px; background: transparent url(/statics/resources/images/skin/pictureflow-bottom.png) 0 0 repeat;}
#main table.pictureflow td.pictureflow-bottom-right { width: 10px; height: 10px; background: transparent url(/statics/resources/images/skin/pictureflow-bottom-right.png) 0 0 repeat;}


#main .pictureflow-back {
    margin: 0;
    padding: 0;
    border: none;
}

#main .paragraphimg-left {
    margin-top: 8px;
    margin-right: 16px;
    margin-bottom: 8px;
    float:left;
}

#main .paragraphimg-right {
    margin-top: 8px;
    margin-left: 16px;
    margin-bottom: 8px;
    float:right;
}

#main .paragraphblock {
    float: left;
    width: 100%;
    padding-top: 5px;
    padding-bottom:15px;
}

#main .news-nav {
    float: left;
    width: 100%;
    text-align:center;
}

/* linkedicon table */
#main table.linkedicon {
    border-spacing: 0;
    width: 100%;
    margin: 0;
    padding: 0;
}
#main table.linkedicon img {
    margin: 0;
    padding: 0;
    vertical-align: middle;
}
#main table.linkedicon td {
    padding-left: 4px;
    padding-right: 4px;
    padding-top: 4px;
    padding-bottom: 4px;
    vertical-align: middle;
    text-align: center;
}
#main table.linkedicon a.linkedicon-link {
    margin: 0;
    padding: 4px;
    display: block;
    border: 1px solid transparent;
    background: transparent;
    -moz-border-radius: 8px;
}
#main table.linkedicon a.linkedicon-link:hover {
    border-color: #aaf;
    background: #ccf;
}

/* Footer block */
#footer {
    padding: 10px 0 0 0;
    margin: 0 auto;
    margin-bottom: 30px;
    text-align: center;
    width: 950px;
    height: 127px;
    border: none;
    position: relative;
    background: #fff url(/statics/resources/images/skin/footer.png) 0 0 no-repeat;
}
#footer p.copyright {
    padding: 0;
    margin: 0;
    position:absolute;
    left: 0px;
    top: 118px;
    width: 950px;
    height: 24px;
    color: #708080;
    font-size: 13px;
    text-align: center;
}
#footer p.footer-menu {
    padding: 0;
    margin: 0;
    position:absolute;
    left: 0px;
    top: 85px;
    width: 950px;
    height: 24px;
    color: #8dace2;
    font-size: 12px;
    text-align: center;
}
#footer a {
    color: #8dace2;
}
#footer a:hover {
    color: #fff;
}
#footer p.copyright a {
    color: #708080;
}
#footer p.copyright a:hover {
    color: #ddd;
}


