* {
    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: #535353;
}
a {
    color: #535353;
}
a:hover,
a.selected {
    font-weight: normal;
    color: #dc1329;
}
h1 {
    font-size: 32px;
}
h2 {
    font-size: 24px;
}
h3 ,
h3 a {
    font-size: 14px;
}
h4 {
    position: relative;
    margin-top: 4px;
    height: 19px;
}
h4,
h4 a {
   font-size: 15px;
}
td {
    border-spacing: 0px;
    border-collapse: collapse; 
}
th { vertical-align: middle }
td { vertical-align: middle }
table   { border-collapse: collapse }
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: #dc1329;
    background-color: #fff;
}
.text,
.text * {
    line-height: 22px;
    font-size: 15px;
    font-family: Palatino Linotype,Book Antiqua, Palatino, serif;
    font-style: italic;
}
.text p {
    padding-bottom: 15px;
}
.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: normal;
    padding-top: 3px;
    color: #dc1329;
}
.invisible {
    display: none;
}
.message {
    margin: 20px 0 20px 0;
}
.message span {
    background-color: #fff;
    color: #dc1329;
    font-weight: bold;
}

/* layout */
div#container {
   width: 950px;
   margin: auto;
   padding: 15px;
}
div#header {
   margin-bottom: 15px;
   position: relative;
}
div#content {
    width: 625px;
    margin: auto;
}

/* menu */
ul#menu li {
    float: left;
    padding-right: 5px;
}
ul#menu li.separator {
    border-right: 1px solid #e54d5e;
    margin-right: 5px;
}
ul#menu {
    margin-top: 25px;
}


/* image */
div#photo {
    width: 615px;
    height: 410px;
    padding: 5px;
    background: #000;
}
div#photo_description {
    width: 625px;
    text-align: right;
    padding-top: 3px;
}
div#background {
    position: absolute;
    z-index: 10;
}
div#foreground {
    position: absolute;
    z-index: 30;
}
div#keyword {
    position: absolute;
    z-index: 20;
}

/* years */
p#years {
    margin-bottom: 5px;
}

/* letters */
p#letters {
    margin-top: 15px;
}

/* list backgrounds */
ul#backgrounds li {
    float: left;
    width: 180px;
    height: 140px;
}
ul#backgrounds li h3 {
    font-size: 12px;
    font-weight: normal;
    color: #666;
}

ul#keywords li a {
    font-size: 16px;
    font-weight: normal;
    color: #666;
    line-height: 25px;
}

/* popup */
div#popup_mask {
    position: absolute;
    z-index: 99;
    top: 0;
    left: 0;
    background: #fff;
    filter: alpha(opacity=80);
    -moz-opacity: 0.8;
    opacity: 0.80;
}
div#popup {
    position: absolute;
    z-index: 100;
    width: 540px;
    height: 400px;
    padding: 20px 0 20px 20px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #cbcbcb;
    filter: alpha(opacity=90);
    -moz-opacity: 0.9;
    opacity: 0.90;
}
div#popup h3 {
    font-size: 50px;
    margin-bottom: 10px;
}

/* tooltip */
#tooltip {
	position: absolute;
	z-index: 3000;
	width: auto;
    padding:5px;
    text-align: left;
    left: -500px;
}
#tooltip h3, #tooltip div {
    margin: 0;
    font-family: Verdana, Helvetica, Arial, sans-serif; 
    font-size:9px;
    font-weight: normal;
}

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

}
