* {
    margin: 0;
    padding: 0;
    font-family: "Times New Roman",Georgia,Serif;
    font-size: 14px;
    font-weight: normal;
    font-style: normal;
    text-decoration: none;
    line-height: 1.4em;
    list-style: none;
}

#container {display: block; position: absolute; min-height: 100%;} 
#content {display: block; margin-bottom: 3em;} 
#footer {position: absolute; display: block; bottom: 0; height: 25px; width: 100%; }

html { height: 100%; }
body{
    background-image: url('/media/bg.jpg');
    background-repeat: no-repeat;
    background-position: bottom left;
    background-attachment: fixed;
/*    height: 100%;*/
}
/* LAYOUT ------------------------*/


#container{ 
    margin: 0 0 0 2em; 
    padding: 0em 0 0 0 ; 
}

#banner{ display: none; }

#nav{ 
    float: left;
    width: 12em;
    padding: 1em 1em;
    border-right: 5px dotted;
    background-image: url('/media/bg_alpha_pixel.png');
    min-height: 20em;
}

#content{
    padding: 1em 0em 0em 1em;
    margin: 0 1em 50px 14em;
/*    float:left;*/
    background-image: url('/media/bg_alpha_pixel.png');
    min-height: 500px;
}

#footer{
    clear: both;
    padding: 0.5em;
    text-align: right;
/*    border-top: 1px dotted;*/
}



/* COLORS --------------------------*/

#nav, .menu, #content img, #content h2, .gallery_mini_cnt, #gallery_cnt, #footer{ color: #a39d6f; }
.menu a, #content h1, .ident h1, #content{ color: #5a6571; }
.menu li:hover, .menu .current, a{ color: #ef7c00;}
.menu a:hover, a:hover{ border-bottom: 1px dotted #ef7c00; }
.nohover:hover img{ border: 2px solid #ef7c00;}
.gallery_mini_cnt, #gallery_cnt{ background-color: #5a6571;}


/* SIDEBAR --------------------------*/

.ident{
    cursor: pointer;
}
.ident h1, .ident h2{
    font-family: Courier new;
    line-height: 0.8em; 
}

.ident h1{
    font-size: 2.4em;
    letter-spacing: 0.16em;
}

.ident h2{
    font-size: 2.2em;
    letter-spacing: 0.01em;
}


.menu{ 
    margin-top: 1em;
}
.menu .menu{
    margin: 0.1em 0.5em;
    list-style: circle outside;
    border: none;
}

.menu a{ font-family:Arial; }
.menu li{ list-style: disc outside; margin-left: 1em;}

.menu .menu li{ list-style: circle outside; }

.menu h1{ font-size: 1.2em; }
.menu h2{ font-size: 1.1em; }


/* CONTENT --------------------------*/

#content h1{
    font-size: 3em;
    text-align: left;
}

#content h2{
    font-size: 1.3em;
    border-bottom: 1px solid;
    margin-bottom: 0.3em;
}


#content h3{
    font-size: 1em;
}

#content p{
    text-align: justify;
    margin-bottom: 0.5em;
}

#content .postimg{
    float: left;
    margin: 0.5em 1em 0.5em 0;
    border: 2px solid;
}

#content{
    max-width: 52em;
    font-size: 1.1em;
    padding-bottom: 0.5em;
}

#content li{
    list-style: square outside;
    margin-left: 2em;
}

#content .post{
    margin-top: 1em;

}

#content .references{
    border-top: 1px dotted;
    border-bottom: 1px dotted;
    margin-bottom: 1em;
    background-color: #F4F4F4;
    padding: 0.3em;
}

#content .references li{
    list-style-type: decimal; 
    margin-left: 1.2em;
    color: #7a8591;
    font-size: 12px;
    
}

#content .references li *{
    font-size: 12px;

}

.clearer{
    clear: both;
}

#footer img{
    border: 0;
}

/* PHOTO GALLERY -------------------------------*/

.photo-gallery{
    float: left;
    margin: 0.5em 0.8em 0 0 ;
    text-align: center;
}

.nohover:hover, #footer a:hover { border: 0}

/*.gallery_photo_cnt .panel img{    border-top: 1px solid; border-bottom: 1px solid;  }*/

#gallery_cnt{
    border: 1px solid;
    width:700px;
    height: 527px;
    background-image: url('/media/loader.gif');
    background-position: center center;
    background-repeat: no-repeat;
}

.gallery_photo{
    visibility: hidden;
}

#content .gallery_photo li{
    list-style: none;
    margin: 0;
}

#content .gallery h1{
    font-size: 1.5em;
    display: inline;
}

.gallery h1 a{
    margin-left: 1em;
    font-size: 0.5em;
}

/* IMAGE POST ---------------------------------*/

.gallery_mini_cnt{
    float:right; 
    margin-left: 1em; 
    margin-top: 0.5em;
    border: 1px solid;
    width:400px;
    height: 260px;
    background-image: url('/media/loader.gif');
    background-position: center center;
    background-repeat: no-repeat;
    
}

.gallery_mini{
    visibility: hidden;
}

#content .gallery_mini li{
    list-style: none;
    margin: 0;
}

/* GALLERYVIEW ----------------------------------*/
/*.loader { background: url('/media/loader.gif') center center no-repeat #ddd; }*/
.panel .panel-overlay, .panel .overlay-background { height: 25px; padding: 0 0.5em; }
.panel .overlay-background { background: #111; }
.panel .panel-overlay { 
    color: white; 
    font-family: "Arial"; 
    font-size: 0.8em;
}
.filmstrip { margin: 5px; }
.frame {}
.frame .img_wrap { border: 1px solid #000; }
.frame.current .img_wrap { border-color: #FFF; }
.frame img { border: none; }
.frame .caption { font-size: 11px; text-align: center; color: #888; }
.frame.current .caption { color: #000; }
.pointer { border-color: #FFF; }
*html .pointer { filter: chroma(color=pink);}

/* PUBLICATIONS ---------------------------*/
.publication h3{
    font-size: 1.1em;
    display: inline;
    margin-right: 1em;
}

.publication .abstract{
    font-size: 0.8em;
    margin: 0.5em 0;
}

.publication .ref{
    display: inline;
    font-size: 0.9em;
}

i{
    font-style: italic;
}

.bibtex{
    display: none;
    font-size: 0.8em;
    font-family: "Courier new";
    padding: 0.5em;
    width: 80%;
    margin: 1em auto;
    overflow: auto;
    border: 1px solid;
}

/* CV ----------------------*/

.cvyear{
    float: left;
    font-family: "Courier new";
}

.cvtext{
    margin-left: 9em;
    font-size: 0.9em;
}

b{
    font-weight: bold;
}

code{
    font-family: Courier;
}

