@font-face {  
  font-family: amj-arabic;  
  src: url(fonts/arabtype.ttf) format("truetype");  
}

html {
  overflow-y: scroll;
}

body {
  background-color: #ffffff;
  font-family: Arabic Typesetting, amj-arabic, Times New Roman, Times;
  margin-top: 20px;
  margin-bottom: 20px;
  color: #555555;
}

#site-content {
  width: 800px;  
  padding-left: 50px;
  padding-right: 50px;
  text-align: left;
  background-color: #ffffff;
  border: 0px #000000 solid;  
}

#site-header {
  font-size: 44pt;
  text-align: left;
  color: #3D3D3D;
  margin-top: 20px;
  margin-bottom: -7px;
}

#site-header a:link, #site-header a:visited, #site-header a:active {
  color: #3D3D3D;
  text-decoration: none;
}

#site-header a:hover {
  color: #000000;
  text-decoration: none;
}

#site-header-navigation {
  margin-top: 46px;
  font-size: 19pt;
  text-align: right;
  color: #505050; 
  float: right;
  vertical-align: bottom;
}

#site-header-navigation a:link, #site-header-navigation a:visited, #site-header-navigation a:active {
  color: #505050;
  text-decoration: none;
}

#site-header-navigation a:hover {
  color: #000000;
  text-decoration: none;
}

#site-footer {
  font-family: Times New Roman, Times;
  font-size: 10pt;
  text-align: right;
  color: #727272;
  margin-bottom: 30px;
}

#page-caption {
  margin-top: 0px;
  margin-bottom: 8px;
}

#page-caption tr td.line {
  width: 50%;
}

#page-caption tr td.caption {
  font-size: 27pt;
  font-weight: normal;
  padding-top: 0.2em;
  padding-left: 20px;
  padding-right: 20px;
}


#page-subcaption {
  margin-top: 40px;
  margin-bottom: 8px;
}

#page-subcaption tr td.line {
  width: 50%;
}

#page-subcaption tr td.caption {
  font-size: 20pt;
  font-weight: normal;
  padding-top: 0.2em;
  padding-left: 20px;
  padding-right: 20px;
}


.page-content {
  padding-top: 20px;
  text-align: left;
  vertical-align: top;
}

.text-body {
  font-size: 18pt;
  line-height: 95%;
  text-indent: 0px;
  text-align: justify;
  word-break: hyphenate;
  margin-bottom: 1em;
}

.cv-section-caption {
  font-size: 20pt;
  font-weight: bold;
  margin-bottom: 10px;
}

.cv-sub-section {
  font-size: 17pt;
  font-weight: bold;
  margin-bottom: 5px;
}

.cv-body {
  font-size: 18pt;
  line-height: 95%;
  text-indent: 0px;
  text-align: left;
  margin-bottom: 0.7em;
}

.contact {
  font-size: 19pt;
  line-height: 90%;
  margin-bottom: 20px;
}

a.text:link, a.text:visited, a.text:active {
  color: #A0A030;
  text-decoration: none;
  display: inline-block;
}

a.text:hover {
  color: #000000;
  text-decoration: none;
}

a:link, a:visited, a:active {
  color: #505050;
  text-decoration: none;
}

a:hover {
  color: #000000;
  text-decoration: none;
}

.pic {
  text-align: center;
  width: 800px;
}


.photo-caption {
  font-family: Times New Roman, Times;
  color: #555555;
  text-align: left;
  padding-top: 13px;
  padding-bottom: 10px;
}

.photo-caption-left a:link, .photo-caption-left a:visited, .photo-caption-left a:active {
  color: #777777;
  text-decoration: none;
}

.photo-caption-left a:hover {
  color: #000000;
}

.photo-caption-right a:link, .photo-caption-right a:visited, .photo-caption-right a:active {
  color: #777777;
  text-decoration: none;
}

.photo-caption-right a:hover {
  color: #000000;
}

.photo-caption-left {
  font-family: Times New Roman, Times;
  font-size: 10pt;
  float: left;
  color: #777777;
  text-align: right;
  padding-top: 13px;
  padding-bottom: 10px;
}

.photo-caption-right {
  font-family: Times New Roman, Times;
  font-size: 10pt;
  float: right;
  color: #777777;
  text-align: right;
  padding-top: 13px;
  padding-bottom: 10px;
}

hr, #page-caption tr td.line hr {
  height: 1px;
  size: 1px;
  
  color: #575757;
  background-color: #575757;
  
  border-width: 1px 0px 0px 0px;
  border-color: #ffffff; 
  
  text-align: left;
  margin-left: 0px;
}

hr.divider {
  margin-top: 30px;
  margin-bottom: 30px;
}

hr.navigation-line {
  margin-top: 25px;
  margin-left: 3px;
  width: 99.5%
}

hr#site-footer-line {
  margin-top: 30px;
}


a.badge {
  min-height: 21px;

  font-size: 16pt;
  color: #727272; 
  line-height: 0.8em;
    
  padding-left: 27px;
  padding-right: 10px;
  padding-top: 8px;
  padding-bottom: 3px;
  
  background-position: 0 -35px;
  background-repeat: no-repeat;        
}

a:hover.badge { 
  color: #000000; 
  background-position: 0 7px;  
}

a.badge#pdf {
  background-image: url(images/pdf.gif);
}


div.pic#p1 { 
  display: block;
}

div.pic {
  display: none;
  position: relative;
  background-repeat: no-repeat;        
  background-image: url(images/loading.gif);  
  min-height: 640px;
}

div.pic-wrapper {
  width: 800px;
  text-align: center;
}

div.pic img {
  border: none;
  cursor: pointer;
  max-height: 640px;  
  max-width: 800px;
}

.pic-navigation {
  position: absolute;

  top: 0;
  left: 0;
  height: 640px;

  border: none;
}

.pic-navigation a img {
  position: absolute;
  top: 298;
  visibility: hidden;
}

.pic-navigation a:hover img {
  visibility: visible;
  opacity: 0.6;
}

.pic-navigation a {
  display: block; 
  height: 640px;
  width: 400px;  
}

a.prev {
  float: left;
}

a.next {
  float: right;
}

a.prev img {
  left: 10;
}

a.next img {
  right: 10;
}












#site-subheader {
  font-family: eurofurence light, Helvetica, Verdana, Arial;
  font-size: 14pt;
  text-align: center;
  text-transform: uppercase;
  color: #333366;
  word-spacing: 0.4em;	
  margin-bottom: 40px;  
}

#site-subheader-pub-title {
  font-family: eurofurence light italic;
  font-style: italic;  
}

#site-footer-navigation {
  margin-top: 20px;
  margin-bottom: 20px;
  font-family: eurofurence regular, Helvetica, Verdana, Arial;
  font-size: 12pt;
  text-align: center;
  text-transform: uppercase;
  color: #444444; 
}

.page-sidebar {
  padding-top: 35px;
  width: 160px;
  text-align: center;
  vertical-align: top;
}

.page-section {

}

.book-grid {
  padding-top: 5px;
  padding-left: 20px;
  padding-right: 20px;
  text-align: left;
  vertical-align: top;
}

.pub-title {
  font-family: eurofurence regular italic;
  font-style: italic;  
}

.headline {
  font-family: eurofurence regular, Helvetica, Verdana, Arial;
  font-size: 14pt;
  text-align: left;
  text-transform: uppercase;
  text-weight: bold;
  color: #404040;
  word-spacing: 0.1em;
  margin-top: 30px;
  margin-bottom: 6px; 
}

.paragraph {
  font-family: Garamond, Times New Roman;
  font-size: 12pt;
  text-align: left;
  color: #333366;
  margin-bottom: 14px; 
  line-height: 130%;
}

.paragraph-contact {
  font-family: Garamond, Times New Roman;
  font-size: 12pt;
  text-align: left;
  color: #333366;
  margin-bottom: 14px; 
  line-height: 110%;
}

.quote {
  font-family: eurofurence regular, Helvetica, Verdana, Arial;
  padding-left: 2em;
  text-transform: uppercase;
  color: #666666;  
  word-spacing: 0.1em;
}

.photo {
  font-family: eurofurence regular, Helvetica, Verdana, Arial;
  color: #666666;
  font-size: 10pt;
  margin-bottom: 15px;
}

.sidebar-paragraph {
  font-family: eurofurence regular, Helvetica, Verdana, Arial;
  text-transform: uppercase;
  font-size: 12pt;
  word-spacing: 0.1em;  
  text-align: center;
  
  color: #404040;
  margin-top: 20px;
  margin-bottom: 14px; 
  line-height: 130%;
}

.accent {
  color: #003366; 
}

a.btn {
  display: block;
  float: left;
  
  width: 32px;
  height: 32px;
  
  margin-left: 8px;
  margin-right: 12px;
  margin-top: 2px;
  
  background-repeat: no-repeat;      
}

a:hover.btn {
  background-position: 0 -64px;
}

a.btn#email {
  background-image: url(images/btn-email.gif);
}

a.btn#twitter {
  background-image: url(images/btn-twitter.gif);
}

a.btn#facebook {
  background-image: url(images/btn-facebook.gif);
}

a.btn#penguin {
  height: 50px;   
  background-image: url(images/btn-penguin.gif);
}

a:hover.btn#penguin {
  background-position: 0 -90px;
}




a.badge#twitter {
  background-image: url(images/btn-twitter.gif);
}

a.badge#facebook {
  background-image: url(images/btn-facebook.gif);
}

a.badge#email {
  background-image: url(images/btn-email.gif);
}

a.badge#penguin {
  height: 50px;   
  background-image: url(images/btn-penguin.gif);
}

a:hover.badge#penguin {
  background-position: 12 -85px;  
}

a.badge#globe {
  background-image: url(images/btn-globe.gif);
}

a.badge#bol {
  background-image: url(images/btn-bol.gif);
}

a.badge#empik {
  background-image: url(images/btn-empik.gif);
}

a.badge#elsevier {
  background-image: url(images/btn-elsevier.gif);
}

a.badge#bulhosa {
  background-image: url(images/btn-bulhosa.gif);
}

a.badge#libro {
  background-image: url(images/btn-libro.gif);
}

a.badge#books {
  background-image: url(images/btn-books.gif);
}


.section-footer {
  border: 1px solid transparent;
}

.section-footer-text {
  font-family: eurofurence regular, Helvetica, Verdana, Arial;
  float: right; 
  padding-left: 1em; 
  margin-top: 0px; 
  line-height: 100%;
  text-transform: uppercase;
  word-spacing: 0.1em;
  color: #333333;   
}

table {
  width: 100%;
}

div .postdate {
  text-align: right;
  margin-bottom: 10px;
}


a.portfolio-thumb {
  display: block;
  width: 300px;
  
  text-align: center;
  word-break: hyphenate;
  font-size: 25pt;
  line-height: 95%;
    
  background-position: 0 0px;
  background-repeat: no-repeat;  
  
  padding-top: 250px;      
  padding-bottom: 5px;
}

a:hover.portfolio-thumb {
  background-position: -300 0px;
}

a.portfolio-thumb#frogtown {
  background-image: url(images/frogtown-thumb.jpg);
}

a.portfolio-thumb#blood {
  background-image: url(images/blood-thumb.jpg);
}

a.portfolio-thumb#memento1 {
  background-image: url(images/memento1-thumb.jpg);
}

a.portfolio-thumb#memento2 {
  background-image: url(images/memento2-thumb.jpg);
}

a.portfolio-thumb#student {
  background-image: url(images/student-thumb.jpg);
}

a.portfolio-thumb#garden {
  background-image: url(images/garden-thumb.jpg);
}

a.portfolio-thumb#somekindofblue {
  background-image: url(images/some-kind-of-blue/thumb.jpg);
}

a.portfolio-thumb#homeland {
  background-image: url(images/home-land/thumb.jpg);
