* {
    padding: 0;
    margin: 0;
    font-size: 12px;
    list-style-type: none;
    font-family: arial, verdana, sans-serif;
    text-decoration: none;
    outline: none;
    border: 0;
    letter-spacing: 0.4px;
    color: #b32a38;
}
html {
	overflow-y: scroll;
}
body {
    background: #fff;
}
a {
    color: #b32a38;
}
ul#menu li a.selected,
a.selected {
    font-weight: bold;
    color: #b32a38;
}
ul#menu li a:hover,
a:hover {
    color: #b32a38;
}
#content *,
#content * a,
#content h3,
#content * h3 a,
#content a {
	color: #aaa;
}
#content * a:hover,
#content a:hover {
	color: #b32a38;
}
h1,
h1 a {
    font-size: 22px;
}
h2,
h2 a {
    display: none;
    font-size: 24px;
}
h3 ,
h3 a {
    font-size: 14px;
}
h4 {
    position: relative;
    margin-top: 4px;
    height: 19px;
}
h4,
h4 a {
   font-size: 15px;
}
table,
td {
    border-spacing: 0;
    vertical-align: middle;
    border-collapse: collapse;
    text-align: center;
	width: 100%;
	height: 100%;
}
form {
    margin-bottom: 10px;
}
input {
    border: 1px solid #e2e2e2;;
    height: 15px;
    width: 250px;
    padding: 2px;
    background: #fff;
}
textarea {
    border: 0;
    height: 150px;
    width: 250px;
    padding: 2px;
    overflow: hidden;
    background: #222;
}
input.submit {
    background: none;
    width: 15px;
    height: 11px;
}
button {
    margin-top: 10px;
    padding: 5px;
    font-weight: bold;
    background: #000;
    color: #fff;
}
.text,
.text * {
    line-height: 17px;
    font-size: 13px;
}
.chapo {
    line-height: 17px;
    font-weight: bold;
}
.caption {
    text-align: right;
    font-size: 10px;
}
label {
    display: block;
    padding: 10px 0 3px 0;
}
label.error {
    font-weight: bold;
    padding-top: 3px;
}
.invisible {
    display: none;
}
.message {
    margin: 20px 0 20px 0;
}
.message span {
    background-color: #000;
    color: #fff;
    font-weight: bold;
    padding: 10px;
}
span.path a {
    color: #fff;
}


/* layout */
div#container {
}
div#header {
   	height: 125px;
   	margin-bottom: 10px;
   	position: relative;
   	border-bottom: 1px solid #e2e2e2;
}
#logo {
	position: absolute;
	top: 20px;
	left: 30px;
}
div#footer {
   padding-top: 20px;
   height: 30px;
}
div#content {
    position: relative;
	padding: 0 30px 0 30px;
}


/* menu */
ul#menu {
    position: absolute;
    right: 30px;
    top: 92px;
}
ul#menu li {
    display: inline;
    padding-left: 10px;
}
ul#languages {
    position: absolute;
    right: 0;
    top: 0;
}
ul#languages li {
    display: inline;
    padding-left: 5px;
}
ul#languages li a,
ul#menu li a {
    font-size: 12px;
	color: #aaa;
}

/* pager */
div.pager {
   position: relative;
   height: 25px;
   text-align: left;
}
div.path {
}

div.pages {
   position: absolute;
   right: 0px;
   top: 0;
}
#content div.pages strong {
    color: #b32a38;
}
div#filter_results div.pager {
}

/* présentation */
#html {
	width: 500px;
	margin-left: 430px;
	margin-top: 10px;
}
#html img {
	position: absolute;
	left: 30px;
	top: 18px;
}
#html * {
	line-height: 18px;
}
#html strong {
	font-size: 15px;
}


/* links */
ul.links li {
    height: 20px;
    padding-left: 10px;
}

/* sites */
ul#sites {
    padding-top: 20px;
}
ul#sites li h3 a {
    display: block;
    font-size: 11px;
    font-weight: normal;
    text-align: center;
    width: 215px;
    height: 20px;
    line-height: 20px;
    overflow: hidden;
}
ul#sites li {
    width: 220px;
    margin-bottom: 5px;
    float: left;
}

/* filters*/
/* dates */
div.filters ul li {
    padding: 5px 5px 0px 30px;
}
div.filters ul li.date {
    padding: 5px 5px 0px 0;
}
a.unfold {
    padding-left: 20px;
    background: url(../img/unfold.png) no-repeat;
}
a.fold {
    padding-left: 20px;
    background: url(../img/fold.png) no-repeat;
}

/* pages filters */
div#filter_results {
    position: relative;
}
div#filter_results h2 {
    font-size: 12px;
    color: #000;
    height: 25px;
}
div#filter_results h2 span,
div#filter_results h2 span a {
    font-size: 12px;
    color: #888;
    font-weight: normal;
}
div#filter_results h2 span a:hover {
    color: #000;
}
div#filter_results ul {
    margin-top: 10px;
}
div#filter_results ul li {
    float: left;
    width: 141px;
    height: 141px;
    margin: 0 20px 20px 0;
    text-align: center;
	background: url(../img/filter_bkg) no-repeat;
}
div#filter_results ul li img {
    /*max-width: 160px;
    max-height: 120px;*/
}
div#filter_results ul li p.name {
    text-align: left;
    padding-top: 5px;
}
div#filter_results ul li p.name a {
    font-size: 11px;
}
div#filter_results ul {
    padding-bottom: 10px;
}
div#filter_results div.filter_pager {
    position: absolute;
    right: 0;
    top: 0;
}
div#filter_results div.filter_pager strong {
    color: #000;
}
span.filters_title {
    color: #fff;
}


/* tools */
div.tools {
    height: 45px;
    position: relative;
}
form.search {
}
form.search .submit {
    position: relative;
    top: 3px;
    left: -3px;
}
form.search input.text {
    width: 173px;
}
div.xml {
    position: absolute;
    right: 15px;
    top: 3px;
}
div.select {
    position: absolute;
    right: 0px;
    top: 0;
    border: 1px solid #e2e2e2;
}
div.select div {
    position: relative;
    height: 19px;
    width: 198px;
    background: url(../img/select.png) no-repeat 180px 6px;
    cursor: pointer;
    z-index: 10;
}
div.select div span {
    display: block;
    padding: 2px;
    padding-left: 4px;
    color: #fff;
}
div.select ul {
    position: absolute;
    width: 198px;
    top: 19px;
    left: -1px;
    background: #fff;
    border-left: 1px solid #e2e2e2;
    border-bottom: 1px solid #e2e2e2;
    border-right: 1px solid #e2e2e2;
}
div.select ul li a {
    display: block;
    height: 12px;
    padding: 4px;
}
div.select ul li a.selected {
    color: #fff;
}
div.select ul a:hover {
    background: #fff;
}

/* gallery tools */
div#gallery div.display {
    position: absolute;
    left: 210px;
    top: 3px;
}
div#gallery div.display a.button_details {
    background: url(../img/details.png) no-repeat 3px;
    padding-left: 18px;
}
div#gallery div.display a.button_thumbnails {
    background: url(../img/thumbnails.png) no-repeat 3px;
    padding-left: 19px;
}

/* blog */
div#post_container,
div#posts_container {
    margin-left: 185px;
    background: #f8f8f8;
	padding: 15px 0 15px 0;
}
ul#posts {
    width: 820px;
    margin: auto;
	background: #fff;
}
div#post {
    background: #fff;
    width: 820px;
    margin: auto;
}

.article a:hover,
.post a:hover {
    color: #000;
}
.article *,
.post * {
    color: #444;
}
.article,
.post {
    margin-bottom: 15px;
    padding: 15px;
    position: relative;
    border-bottom: 1px dotted #999;
}
.article h3,
.post h3 {
    height: 40px;
}
.article h3 a,
.post h3 a {
    font-family: georgia, serif;
    font-size: 22px;
    color: #000;
    font-weight: normal
}
.article .details,
.post .details {
    height: 32px;
}
.article .text,
.article .preview,
.post .text {
    margin-bottom: 15px;
}

.article .text,
.article .text *,
.article .preview,
.article .preview *,
.post .text,
.post .text * {
    font-family: arial, sans-serif;
    font-size: 15px;
    line-height: 22px;
    color: #000;
}
.article p.file,
.post p.file {
    /*overflow: hidden;
    padding: 10px;
    text-align: center;
    border: 1px solid #aaa;
    background: #000;*/
    margin-bottom: 10px;
}
.article p.file img,
.post p.file img {
    max-width: 758px;
}
#text_thumbnail span,
.article p.file a,
.post p.file a {
    padding: 15px;
    border: 1px solid #aaa;
    float: left;
}


/* library */
div#text_container,
div#texts_container {
    margin-left: 185px;
	background: #f8f8f8;
	padding: 15px 0 15px 0;
}
ul#texts {
    background: #fff;
    width: 820px;
    margin: auto;
}
div#article {
    background: #fff;
    width: 820px;
    margin: auto;
}
#text_thumbnail {
    margin-bottom: 15px;
}


/* gallery */
div#gallery_medias {
    position: relative;
}
ul#medias {
    margin-left: 185px;
    padding-bottom: 10px;
}
ul#medias li {
    float: left;
    width: 141px;
    height: 141px;
    margin: 0 15px 15px 0;
    background: url(../img/thumbnail_bkg) no-repeat;
    text-align: center;
    position: relative;
}
ul#medias li img {
    /*max-width: 160px;
    max-height: 120px;*/
}
ul#medias li img.nothumbnail {
    margin-top: 9px;
}ul#medias li div.extension {
    position: absolute;
    top: 55px;
    text-align: center;
    width: 160px;
}


/* gallery view */
div#media_container {
    margin-left: 185px;
}
div#gallery div.media {
    text-align: center;
    overflow: hidden;
    padding: 15px;
    margin: 0 0 10px 0;
    border: 1px solid #e2e2e2;
    margin-right: 15px;
    float: left;
}
div#media_details {
    width: 300px;
    margin-right: 20px;
    float: left;
}
div#media_details h3 {
    line-height: 20px;
    margin-bottom: 5px;
}
div#media_details p.user_details {
    height: 20px;
}
div#media_details p.date_details {
    height: 25px;
}
div#media_details div.tags {
    margin-top: 10px;
}
div#media_details div.tags p {
    line-height: 17px;
}
div#media_description {
    width: 600px;
    float: left;
    margin-top: 22px;
}
div#media_description p.text,
div#media_description p.text * {
    color: #fff;
    line-height: 19px;
}


/* filters */
div.filters {
    top: 60px;
    left: 30px;
    position: absolute;
    z-index: 100;
}
div.filters a {
    font-size: 12px;
    font-weight: normal;
}


/* comments */
div#gallery_comments,
div#blog_comments {
    width: 500px;
}
ul.comments
{
    margin-top: 20px;
}
ul.comments h4 {
    height: 30px;
}
ul.comments li {
    margin-bottom: 10px;
}
ul.comments li p {
    padding: 3px 0 3px 0;
}
ul.comments li p.date {
    margin-top: 3px;
}
form#form_comments {
    margin-top: 15px;
}

/* contact */
#contact_form,
#signup form {
    width: 856px;
    background: #fff;
    padding: 10px;
    color: #333;
    margin: auto;
}
#contact_form label,
#signup form label {
    color: #333;
}
#contact_form input,
#contact_form textarea, 
#signup form textarea,
#signup form input {
    background: #fff;
    border: 1px solid #ccc;
    color: #000;
}


/* popup */
div#popup_image h4 {
    position: relative;
    padding: 10px 10px 5px 10px;
    font-size: 12px;
    font-weight: normal;
    margin: 0;
    height: auto;
    color: #fff;
}
div#popup_image h4 a {
    position: absolute;
    right: 10px;
}
div#popup_image_content {
    padding: 15px;
}
div#popup_mask {
    position: absolute;
    z-index: 200;
    top: 0;
    left: 0;
    filter: alpha(opacity=80);
    -moz-opacity: 0.80;
    opacity: 0.80;
    background-color: #101010;
}
div#popup_image {
    position: absolute;
    left: 15px;
    top: 15px;
    z-index: 201;
    width: auto;
    height: auto;
    overflow: hidden;
    background: #111;
}


/* tooltip */
#tooltip {
	position: absolute;
	z-index: 3000;
	width: auto;
    padding:20px;
    text-align: left;
    left: -500px;
    background-color:#b32a38; 
    color:#fff;
    border: 0;
}
#tooltip h3, #tooltip div {
    margin: 0;
    font-family: Verdana, Helvetica, Arial, sans-serif; 
    font-size: 11px;
    font-weight: normal;
    color:#fff;
}
#tooltip h3 {
    font-weight: bold;
}


/* clearfix */
.clearfix:after {
    content: "."; 
    display: block; 
    height: 0; 
    clear: both; 
    visibility: hidden;
}
.clearfix {
	display: inline-table;
}
* html .clearfix {
	height: 1%;
}
.clearfix {
	display: block;

}

