/* andreas02
 * an open source xhtml/css website layout by Andreas Viklund - http://andreasviklund.com .
 * Free to use for any purpose as long as the proper credits are given to the original author.
 *
 * (Jul 08, 2006)
 * Version: 1.4
 *
 * Modified by Fabio G. Strozzi
 */

body {
  padding: 0;
  margin: 0;
  font: 11pt Georgia,Verdana,Arial,serif;
  background: #ebebeb url("images/header.jpg") top center no-repeat;
  height: 40px;
}

#container {
  margin: 40px auto 0 auto;
  background: #ebebeb url(images/bg.jpg) top center repeat-y;
}

/*-------------------------- commons --------------------------*/

a {
  text-decoration: none;
  color: #286ea0;
}

a:hover {
  text-decoration: underline;
}

span.dropcap {
  float: left;
  font-size: 3.6em;
  line-height: 80%;
  padding-right: 10px;
}

a img {
  border: 0;
}

.photo {
  padding: 5px;
  display: block;
  margin: 5px auto 5px auto;
  background-color: #f0f0f0;
}

.captcha {
  vertical-align: middle;
  margin: 0 3px 2px 3px;
}

.photo:hover {
  background-color: #e0e0e0;
}

.left {
 float: left;
 margin-right: 1.5em;
}

.right {
  float: right;
  margin-left: 1.5em;
}

.hide {
  display: none;
}

h1 span {
  display: none;
}

h2 span {
  display: none;
}

h3 span {
  display: none;
}

h4 span {
  display: none;
}

h5 span {
  display: none;
}

h1 {
  margin: 20px 0 0 0;
  font-size: 2.1em;
  font-weight: normal;
}

h2 {
  margin: 20px 0 0 0;
  font-size: 1.6em;
  font-weight: normal;
  color: #286ea0;
}

h3 {
  margin: 10px 0 0 0;
  font-size: 1.3em;
  font-weight: normal;
}

h4 {
  margin: 0;
  padding: 0;
}

tt {
  font-size: 10pt;
}

/*--------------------------- header --------------------------*/

#logo {
  clear: both;
  width: 650px;
  margin: 0 auto 0 auto;
}

#logo h1 {
  background: #ebebeb url("images/logo.jpg") top center no-repeat;
  width: 350px;
  height: 100px;
  position: relative;
  left: 145px;
}

#navitabs {
  width: 650px;
  margin: 35px auto 0 auto;
  clear: both;
  text-align: right;
  padding: 0 0 5px 0;
  border-bottom: 2px solid #505050;
}

.navitab {
  padding: 4px 8px 5px 8px;
  margin: 0 0 0 0;
  text-decoration: none;
  letter-spacing: 1px;
  background: #e0e0e0 url(images/corner.gif) top right no-repeat;
  border-bottom: 0px solid #ffffff;
  border-left: 1px solid #ffffff;
}

.navitab:hover {
  text-decoration: none;
  background: #d0d0d0 url(images/corner.gif) top right no-repeat;
}

.activenavitab {
  padding: 4px 8px 5px 8px;
  color: #ffffff;
  margin: 0 0 0 0;
  text-decoration: none;
  letter-spacing: 1px;
  background: #505050 url(images/corner.gif) top right no-repeat;
}

.activenavitab:hover {
  text-decoration:none;
}

/*--------------------------- content -------------------------*/

#main {
  width: 600px;
  padding: 10px 10px 10px 20px;
  margin: 20px auto 5px auto;
}

#main h2 {
  margin-top: 40px;
}

#main p {
  margin: 20px auto 0 auto;
  line-height: 1.5em;
  text-align: justify;
}

#main p.block {
  background: #f0f0f0;
  padding: 15px;
  margin: 15px;
}

#main p.code {
  border: 1px dashed #898989;
  color: #4b4b4b;
  background: #d0f8d8;
  font-family: fixed;
  padding: 10px;
  margin: 15px;
}

#main p.changes {
  margin-top: 40px;
  font-style: italic;
  text-align: right;
}

/*-------------------------- projects -------------------------*/

div.project {
  width: 550px;
  margin: 20px auto 5px auto;
  padding: 20px;
  border: 1px dashed #898989;
  background-color: #f1f6f8;
}

div.project h3 {
  color: #26456e;
  margin: 0;
  margin-bottom: 0.8em;
  padding: 0;
}

div.project h3 a {
  color: #26456e;
}

div.project p.description {
  font-size: 10pt;
  font-family: Sans-Serif;
  margin: .5em auto .5em auto;
}

div.project ul.description {
  margin-top: 0;
  padding-left: 1em;
  font-size: 10pt;
  font-family: Sans-Serif;
  list-style: square inside url("images/arrow.gif");
  line-height: 1.5em;
}

div.project h4.download {
  background: #0a0 url("images/down_bg.png") bottom left repeat-x;
  margin: 10px 0 0 0;
  padding-top: 3px;
  padding-left: 5px;
  position: relative;
  left: 20em;
  width: 17em;
  height: 22px;
  clear: both;
}

div.project h4.download a {
  color: #ffffff;
}

div.project h4.download small {
  background: #0a0 url("images/down_arr.png") bottom left no-repeat;
  width: 40px;
  height: 22px;
  color: #fff;
  position: absolute;
  right: 0;
  bottom: 0;
}


/*--------------------------- banners -------------------------*/

#banners {
  clear: both;
  margin: 10px auto;
  width: 650px;
}

#banners p {
  margin-top: 30px;
  text-align: center;
}

#banners img {
  margin-left: 5px;
  margin-right: 5px;
}

/* ------------------------- copyright ------------------------*/

#copyright {
  clear: both;
  padding: 10px 20px 10px 20px;
  margin: 10px auto -10px auto;
  width: 650px;
}

#copyright p {
  font-size: 0.9em;
  background: #fafafa;
  color: #808080;
  margin: 0;
  padding: 8px 0 8px 0;
  border-top: 1px solid #d0d0d0;
  border-bottom: 1px solid #d0d0d0;
  text-align: center;
}

#copyright p a {
  color: #808080;
}


/*----------------------iraq body count -----------------------*/

#ibc {
  width: 300px;
  height: 38px;
  padding: 0px;
  display: block;
  margin: 10px auto 10px auto;
}

#ibc img {
  border: 0;
  padding: 0;
  position: relative;
  left: 0;
  top: 0;
}

#ibc img.counter {
  position: relative;
  left: 105px;
  top: -25px;
}

/*--------------------------- footer --------------------------*/

#footer {
  padding: 0;
  margin: 0;
  background: #ebebeb url("images/footer.jpg") bottom center no-repeat;
  height: 40px;
}

