* {
    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.3px;
    color: #666;
}
a:hover,
a.selected {
    color: #d40000;
}
a.selected {
    font-weight: bold;
}
h1 {
    font-size: 32px;
}
h2,
h2 a {
    font-size: 24px;
}
h3 ,
h3 a {
    color: #444;
    font-size: 14px;
}
h4 {
    position: relative;
    margin-top: 4px;
    height: 19px;
}
h4,
h4 a {
   font-size: 15px;
}
td {
    vertical-align: top;
    padding: 2px 2px 2px 0;
}
td.title {
    width: 100px;
}
td p {
    height: 18px;
}
form {
    margin-bottom: 10px;
}
input {
    height: 15px;
    width: 250px;
    padding: 2px;
    border: 1px solid #c6c5c5;
}
textarea {
    height: 150px;
    width: 250px;
    padding: 2px;
    overflow: hidden;
    border: 1px solid #c6c5c5;
}
input.submit {
    background: none;
    width: 15px;
    height: 11px;
}
form#search input.text {
    width: 173px;
}
button {
    margin-top: 10px;
    padding: 5px;
    font-weight: bold;
    border: 1px solid #c6c5c5;
    color: #d40000;
    background-color: #fff;
    cursor: pointer;
}
.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 {
    color: #d40000;
    padding-top: 3px;
}
.invisible {
    display: none;
}
.message {
    margin: 20px 0 20px 0;
}
.message span {
    color: #d40000;
    font-weight: bold;
    padding: 10px 0 10px 0;
}
td {
    border-spacing: 0px;
    border-collapse: collapse; 
}
th { vertical-align: middle; text-align: center; }
td { vertical-align: middle }
table   { border-collapse: collapse }


/* layout */
div#container {
   width: 815px;
   margin: auto;
}
div#header {
    width: 800px;
    margin-top: 10px;
    margin-bottom: 10px;
    position: relative;
}
div#footer {
    padding-top: 20px;
    height: 30px;
}
div#content {
    position: relative;
}

/* menu */
ul#menu li {
    display: inline;
    padding-right: 10px;
}
ul#languages {
    position: absolute;
    right: 0;
    top: 0;
}
ul#languages li {
    display: inline;
    padding-left: 5px;
}

/* popup description */
div#serie_description {
    padding: 10px;
    width: 500px;
    left: 140px;
    position: absolute;
    background: #fff;
    height: 300px;
    border: 1px solid #ececec;
    margin: auto;
    z-index: 200;
}
div#serie_description a {
    position: absolute;
    right: 12px;
    top: 5px;
}
#popup_mask {
    position: absolute;
    left: 0;
    top: 0;
    background: #fff;
    z-index: 199;
    filter: alpha(opacity=90);
   -moz-opacity: 0.90;
   opacity: 0.90;
}
div#serie_description h3 {
    height: 30px;
}
#popup {
    position: absolute;
    left: 210px;
    top: 5px;
}
.popup_content {
    width: 500px;
    height: 260px;
    overflow: hidden;
    line-height: 17px;
}


/* pager */
p.path {
    width: 800px;
    height: 35px;
    position: relative;
}
p.keyword {
   position: absolute;
   right: 15px;
   top: 0;
}
p.keyword a {
    background: url(../img/cross.png) no-repeat 0 3px;
    padding-left: 15px;
    color: #d40000;
}
p.pager {
   text-align: right;
   position: absolute;
   right: 0;
   top: 0;
}

/* contact */
div#contact h3 {
    margin-top: 20px;
    height: 30px;
}
form#contact_form fieldset {
    width: 360px;
}
form#contact_form .field {
    float: right;
    margin-bottom: 5px;
    position: relative;
    width: 250px;
}
form#contact_form label {
    width: 80px;
    height: 26px;
    padding: 0;
    margin: 0;
    float: left;
    text-align: right;
}
form#contact_form p {
    width: 250px;
    margin-left: 103px;
    text-align: center;
}
form#contact_form label.error {
    position: absolute;
    left: 270px;
    top: 3px;
    display: block;
    float: none;
    width: 250px;
    text-align: left;
}
div#contact_text {
    margin-top: 20px;
    
}
div#contact_text,
div#contact_text * {
    font-size: 11px;
}
/* select */
div.select {
    /*background: #222;*/
    border: 1px solid #ddd;
    margin-bottom: 15px;
    width: 200px;
    position: absolute;
    left: 0;
    top: 0;
}
div.select div {
    position: relative;
    height: 19px;
    width: 198px;
    background: url(../img/select.png) no-repeat 180px 6px;
    cursor: pointer;
    z-index: 150;
}
div.select div span {
    display: block;
    padding: 2px;
    padding-left: 4px;
    /*color: #d40000;*/
}
div.select ul {
    position: absolute;
    width: 200px;
    top: 19px;
    left: -1px;
    background: #fff;
    border-left: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    border-right: 1px solid #ddd;
}
div.select ul li a {
    display: block;
    height: 12px;
    padding: 4px;
}
div.select ul li a.selected {
    color: #d40000;
}
div.select ul a:hover {
    background: #f2f2f2;
}

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

/* tools */
div.tools {
   float: right;
   width: 200px;
}
p.xml {
    margin-top: 15px;
}

/* sounds */
#sounds {
    margin-top: 30px;
}
#sounds li {
    margin-bottom: 15px;
}
#sounds li .player {
    margin-top: 5px;
}

/* gallery */
ul#medias {
   width: 815px;
}
ul#medias li {
    float: left;
    width: 146px;
    height: 146px;
    margin-right: 15px;
    margin-bottom: 15px;
    border: 1px solid #ececec;
    text-align: center;
}
div#gallery ul li table {
    height: 146px;
    width: 146px;
}
div#media {
    position: relative;
}
div#media_details {
    text-align: left;
    margin-top: 15px;
    /*position: absolute;
    left: 250px;
    top: 0px;
    width: 290px;
    padding: 10px;
    background-color: #fff;
    border-bottom: 1px solid #ececec;
    border-right: 1px solid #ececec;*/
}
/*div#media_details h3 {
    color: #d40000;
}*/

/* gallery view */
div#gallery div.row {
    position: relative;
    width: 800px;
}
div#gallery div.media {
    text-align: center;
    overflow: hidden;
    margin: 10px 0 10px 0;
}
div#gallery div.row table {
    margin-top: 10px;
}
a#previous {
    position: absolute;
    left: 0;
    top: 0px;
    z-index: 100;
}
a#next {
    position: absolute;
    right: 0;
    top: 0px;
    z-index: 100;
}

 /* text */
 div#text {
    margin-top: 30px;
 }

/* 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;
}

/* meta bar */
div#meta_bar {
   height: 20px;
   padding: 5px 5px 0 5px;
   text-align: right;
}
div#meta_bar a {
   padding-right: 5px;
}
div#notice {
   position: absolute;
   top: 40px;
   left: 20px;
   font-weight: bold;
   display: none;
}
div#meta_user {
   float: left;
}
div#meta_admin {
   float: left;
}
div#meta_menu {
   position: relative;
   cursor: pointer;
   height: 20px;
}
div#meta_menu ul {
   top: 20px;
   position: absolute;
   width: 200px;
   background: #000;
}
div#meta_menu ul li a {
   display: block;
   text-align: left;
   padding: 5px;
}

/* tooltip */
#tooltip {
	position: absolute;
	z-index: 3000;
	width: auto;
    padding:5px;
    text-align: left;
    left: -500px;
    background-color: #fff; 
    border: 1px solid #ddd;
}
#tooltip h3, #tooltip div {
    margin: 0;
    font-family: Verdana, Helvetica, Arial, sans-serif; 
    font-size: 11px;
    font-weight: normal;
}
#tooltip h3 {
    color: #d40000;
    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;

}