* {
   padding: 0;
   margin:  0;
}
img {
   border: none
}
html, body {
   font-family: 'Times New Roman', Times, serif;
   font-size: 12px;
   height: 100%;
}
body {
   color: #dddddd;
   background-color: #1a1a1a;
   /* background-color: #334455; */
   background-image: url(/img/bg0.png);
   background-position: center top;
   text-align: center;
}
body.p {
   color: #e1c7b0;
   background-color: #768e9a;
   background-image: url(/img/bg_p_1600.png);
   background-repeat: repeat-y;
}
body.p_g {
   color: #e2dbbf;
   background-color: #768e9a;
   background-image: url(/img/bg_p_g_1600.png);
   background-repeat: repeat-y;
}

a:link, a:visited { text-decoration: none;      border: none; }
a:hover, a:active { text-decoration: underline; border: none; }

h1 {
   font-size: 40px;
   font-weight: bold;
   margin: 10px;
   color: #5588ff;
}
h2 {
   font-size: 20px;
   font-weight: bold;
   margin: 10px;
   color: #aaaaaa;
}
h3 {
   font-size: 16px;
   font-weight: bold;
   margin: 10px;
   color: #aaaaaa;
}
h4 {
   font-size: 16px;
   font-weight: bold;
   margin: 10px;
   color: #aaaaaa;
}
h5 {
   font-size: 16px;
   font-weight: bold;
   margin: 10px;
   color: #aaaaaa;
}
h6 {
   font-size: 16px;
   font-weight: bold;
   margin: 10px;
   color: #aaaaaa;
}
h1 a {
   color: inherit;
}

#scrivimi {
   margin-top: -10px;
}
#scrivimi a {
   font-size: 15px;
   font-weight: bold;
   color: #5588ff;
}

#hp_wrap {
   width: 400px;
   position: relative;
   margin-left: auto;
   margin-right: auto;
}
#cv_wrap {
   width: 980px;
   position: relative;
   margin-left: auto;
   margin-right: auto;
}
#wrap {
   width: 980px;
   position: relative;
   margin-left: auto;
   margin-right: auto;
}
#head {
   position: relative;
   text-align: center;
   margin-bottom: 20px;
   /* height: 150px; */
}
#hp_main {
   position: relative;
   width: 400px;
}
#main {
   position: relative;
   width: 980px;
   font-size: 20px;
}
#cv_main {
   position: relative;
   width: 980px;
   font-size: 20px;
   text-align: left;
}
#main.lowered {
   padding-top: 50px;
}
#main img {
   /* margin: 10px 5px; */
   margin: 10px 10px;
}
a.arrow:link, a.arrow:visited { text-decoration: none; border: none; }
a.arrow:hover, a.arrow:active { text-decoration: none; border: none; }

#main div.left {
   position: absolute;
   left: 0;
   width: 490px;
   text-align: center;
}
#main div.right {
   position: absolute;
   left: 490px;
   width: 490px;
   text-align: center;
}
#main div.right a {
   color: inherit;
}
#main div.right img {
   margin-top: 40px;
   margin-bottom: 14px;
}
#main.lowered div.right img {
   margin-top: 14px;
}
#main div.big {
   position: absolute;
   left: 0px;
   width: 980px;
   margin-top: 780px;
   padding-bottom: 20px;
   text-align: center;
}
div.first_in_main {
   margin-top: 14px;
}
#thmbrow_ctr { /* to be removed */
   text-align: center;
}
#thmbrow_ctr img { /* to be removed */
   margin: 10px 15px;
}
.thmbrow_ctr {
   text-align: center;
}
.thmbrow_ctr img {
   margin: 10px 15px;
}
#hp_side {
   position: absolute;
   top: 126px;
   left: 4px;
   width: 180px;
   font-size: 14px;
}
#hp_menu {
   list-style: none;
   margin: 0 0 0 19px;
   border: none;
   text-align: left;
}
#hp_menu li {
   line-height: 24px;
}
#hp_menu a {
   color: #cccccc;
   font-weight: bold;
}
#foot {
   text-align: right;
}
#workinprog {
   font-size: 80%;
   color: #777777;
   font-weight: bold;
}
div.credits {
   margin-top: 20px;
   font-size: 75%;
   text-align: left;
}
.hor_ctr {
   margin-left:  auto;
   margin-right: auto;
}
.txt_btw_img {
   margin-top:    18px;
   margin-bottom: 24px;
}

