html,body {margin:0; padding:0;}
body {font-family:tahoma,arial,helvetica,sans-serif;font-size:80%;color:#C4D5E5; background-color: #345574;}

table { border-collapse: collapse; }
table td { padding: 0; }
table#page { width: 100%; }
table#header { width: 100%; background: url(images/bg_top.gif) repeat-x bottom; }
table#menu { margin: 5px 15px 0 0; width: 107px; background: url(images/nav_bg.gif) repeat-y top; display: block;}
table#headspc { width: 100%; background: #345574 url(images/headspc.gif) repeat-x top; display: block; height: 12px; }
table#main { width:100%}
table#main td.center { padding: 3px; text-align: left; }
table#main td.left { width: 160px; padding: 3px; border: dashed 1px #90b8c8; border-top: 0; border-left: 0; border-bottom: 0; }
table#main td.right { width: 160px; padding: 3px; border: dashed 1px #90b8c8; border-top: 0; border-right: 0; border-bottom: 0;}
table#footspc {width: 100%; background: url(images/footspc.gif) repeat-x bottom; height: 9px;}
table#footer { width: 100%; background: white url(images/bg_bottom.gif) repeat-x top; height: 50px; }
table#footer td { padding: 3px; }

textarea, input, select {font-family:tahoma,arial,helvetica,sans-serif;font-size:1em;color:#C4D5E5; margin: 0 0 2px 0; padding: 3px; border: solid 1px #C4D5E5; background-color: #345574;}
hr {height:1px;border-bottom-color:#6F9CD0;border-top:0;}
table { font-size: 1em; }
img, input.image, .input { background-color: transparent; border:0;}
.alert {color: #E10000 !important; font-variant: small-caps; font-weight: bold;}
.chk, table.chk input,  span.chk input { background-color: Transparent; border: 0; margin-right: 4px;}
.bold { font-weight: bold; }
.mini { font-size: 90%; color: Yellow; }
h1 { text-align: center; color: #ffd700; font-size: 200%; margin: 0; padding: 4px; border-bottom: 1px dashed #C4D5E5; }
h2 { font-size: 125%; background: url(images/backheader.gif) no-repeat; padding-left: 25px; color: #C4D5E5; line-height: 27px; position: relative; }
*html h2 { height: 27px; border: }
a { color: Orange; }

table.page { width: 98%; text-align: center;  }
.login { color: #878787; font-size: 90%; padding: 0 5px 0 1em;}
.login .title { text-align: center; font-size: 1em; font-weight: bold; color: #E9EFF5; padding: 3px; text-transform: uppercase; }
.login input.image { vertical-align: -4px; }
.login a { color: #E9EFF5 }

table.tabimage { border:0;  }
table.tabimage td { margin:0!important;padding:0!important; background: #90B8C8; }

ul#mainmenu { margin: 10px 2px 0 20px; padding: 2px 2px 2px 2px; border: solid 1px #90B8C8; }
ul#mainmenu li { list-style: none; list-style-image: url(images/bull_menu.gif); line-height: 17px; }
ul#mainmenu li a { color: white; font-weight: bold; text-decoration: none; }
ul#mainmenu li a:hover { text-decoration: underline; }

ul.linknav { margin: 3px 0 2px 10px; padding: 3px; text-align: left;}
ul.linknav li { list-style: circle; padding-bottom: 3px; }

ul.links { list-style: none; padding: 0; margin: 0; text-align: left; }
ul.links li a { display: block; padding: 0 1em; }
ul.links li { display: block; }

div.logged a { color: Yellow; font-weight: bold; }

.lastblogs .title { color: yellow; text-align: center; font-weight: bold; }
ul.lastblogs { margin: 3px 10px 0 18px; padding: 2px; text-align: left; }
ul.lastblogs li { list-style: none outside url(images/bull_ul.gif); margin:0; padding: 1px; }
ul.lastblogs li a { vertical-align: 4px; }
*html ul.lastblogs li a { vertical-align: 8px; }
div.lastblogs a { color: #C4D5E5;  }
div.lastblogs a:hover { background: #4F81B0; }

div.lastimg { width: 130px; float: left; margin-right: 5px;}

div.boxone { background: #90B8C8 }
div.boxone div.head, div.foot { height: 10px;  }
div.boxone div.head div.hd_left, div.ft_left { float: left; }
div.boxone div.head div.hd_right, div.ft_right { float: right; }
div.boxone div.content { padding: 5px; }

div.tabmain { width:200px; background: #90B8C8; }
div.tabmain div.hdtab { display: block; height:10px; }
div.tabmain div.fttab { clear: both; display: block; height:10px; }
div.tabmain div.title { padding: 0 10px 5px 10px; display: block; text-align: center; font-weight: bold; background: #7FADC0; }
div.tabmain div.content { padding: 0 10px 0 10px; display: block; }
div.tabmain div.hdtab div.imgupleft { float: left; width: 10px; }
div.tabmain div.hdtab div.imgupright { float: right; width: 10px; }
div.tabmain div.fttab div.imgdwleft { float: left; width: 10px; }
div.tabmain div.fttab div.imgdwright { float: right; width: 10px; }

table.datagrid {margin-left:auto!important;margin-right:auto!important;margin:5px;width:98%; border: 1px solid #C4D5E5;}
table.datagrid td {padding:3px;}
table.datagrid tr.row td {border-bottom: 1px solid #C4D5E5;}
table.datagrid tr.headerrow td {border-bottom: 1px solid #C4D5E5;background: #C4D5E5; color: #1c3550; }
table.datagrid tr.headerrow img {margin-left:4px;}
table.datagrid tr.selectedrow td {border-bottom: 1px solid #C4D5E5; color: #345574; background: #FAFAD2;}
table.datagrid tr.pagerrow td {background: #C4D5E5; color: #1c3550;}

div#search div.content { text-align: center; }
div.clr { clear: both; }

table.tab { font-size: 1em; }

.form { /*border: 1px solid #90b8c8;*/ margin: 5px; margin-left: auto; margin-right: auto; display: inline-block; }
.form:after {content: ".";  display:block; height:0; overflow:hidden; clear:both; visibility:hidden;}
.spad { padding: 5px; position: relative; }
.row {  padding-top: 7px;}
.label{ width: 110px; margin-top:7px; text-align:right; vertical-align: top; float:left; }
*html .label { margin-top: 6px; }
.field{ text-align:left; padding-left:2px; width: 280px; float:right; }
.center{text-align: center; /*clear: both; */}
.separator { border-top: 1px dotted #416B93; margin: 10px 0 10px 0; }

.box { margin-left: auto; margin-right: auto; /*margin: 3em;*/ padding: 0; text-align: left; background-color: transparent; position: relative; }
.box .content	{	padding:.8em; }
* html .box .content	{	padding:.5em; }
.box .tlc, .box .trc, .box .blc, .box .brc { background-color: transparent; background-repeat: no-repeat;	}
.box .tlc {	background-image:url(images/tabone_tlc.gif); background-position: 0% 0%; }
.box .trc { background-image:url(images/tabone_trc.gif); background-position: 100% 0%; }
.box .blc { background-image:url(images/tabone_blc.gif); background-position: 0% 100%; }
.box .brc { background-image:url(images/tabone_brc.gif); background-position: 100% 100%; }
.box .tb, .box .bb { background-color: transparent; background-repeat: repeat-x; }
.box .tb { background-image:url(images/tabone_tb.gif); background-position: 0% 0%; }
.box .bb { background-image:url(images/tabone_bb.gif); background-position: 50% 100%; }
.box .rb { background-image:url(images/tabone_r.gif); background-position: 100% 0%; background-repeat: repeat-y; }
.box .lb { background-color: transparent;	background-image:url(images/tabone_l.gif); background-position: 0% 100%; background-repeat: repeat-y;	}
.box .center { padding-bottom: 8px; }

.photobox { padding: 1px; text-align: center; background-color: transparent; display: inline;}
.photobox .content	{	padding:10px; }
.photobox .tlc, .photobox .trc, .photobox .blc, .photobox .brc { background-color: transparent; background-repeat: no-repeat;	}
.photobox .tlc {	background-image:url(images/tabtwo_tlc.gif); background-position: 0% 0%; }
.photobox .trc { background-image:url(images/tabtwo_trc.gif); background-position: 100% 0%; }
.photobox .blc { background-image:url(images/tabtwo_blc.gif); background-position: 0% 100%; }
.photobox .brc { background-image:url(images/tabtwo_brc.gif); background-position: 100% 100%; }
.photobox .tb, .photobox .bb { background-color: transparent; background-repeat: repeat-x; }
.photobox .tb { background-image:url(images/tabtwo_tb.gif); background-position: 0% 0%; }
.photobox .bb { background-image:url(images/tabtwo_bb.gif); background-position: 50% 100%; }
.photobox .rb { background-image:url(images/tabtwo_r.gif); background-position: 100% 0%; background-repeat: repeat-y; }
.photobox .lb { background-color: transparent;	background-image:url(images/tabtwo_l.gif); background-position: 0% 100%; background-repeat: repeat-y;	}

div.headCalendar {display:block;}
div.headCalendar img { vertical-align: -4px; margin-right: 4px;}
div.divCalendar{ border: 1px solid #90b8c8; background: #2E4C67; }
table.calendar {	font-size: 1em }
table.calendar td {	padding:2px; }
table.calendar td.dayheader {background-color:white;color: #345574;}
table.calendar td.day a {color:#87CEEB !important;}
table.calendar td.nextprev a {color:#345574!important;}
table.calendar td.othermonth a {color: #6495ED !important;}
table.calendar td.title {background-color: #FFA800; }
table.calendar td.title td {color:#345574; font-weight:bold;}
table.calendar td.todayday {border: 1px solid #FFD700;}

.photoframe { background: trasparent; text-align: center;  }
.photoframe img { padding: 5px; margin: 5px; border: 1px solid #c4d5e5!important; }
.photowork { float: left; border: 1px solid #000; padding: 3px!important; background: white; }
.titolo { font-weight: bold; display: block; color: Orange; font-size: 120%; padding-bottom: 5px;}

.blog { text-align: left; background: #273648 url(images/blog.gif) repeat; padding: 6px; margin: 6px; }
.data { color: #ffd700; font-style: italic; }

.commento { background: url(images/commento.gif) repeat; padding: 10px 2px 10px 2px; }

div.album { padding: 0; margin: 0; width: 99%; max-width: none; text-align: left; }
div.photoborder { float: left; width: 120px; margin-right: 5px; background: #345574}
div.photo { text-align: center; margin: 5px 0px 5px 0px; }
div.photo img { border: solid 5px white;  }
div.photo img:hover { border: solid 5px #cacaca;  }
div.text { margin-left: 130px; }
h3.title { margin: 15px 0 10px 0; padding: 10px; color: #260; border-bottom: 1px dashed #CCC;}
div.lines { margin-bottom: 5px; }
.suggest { color:  #6495ED}

div.imgborder img { margin: 10px; border: solid 5px #c4d5e5!important; }
div.imgborder img:hover { border: solid 5px white!important; }

img.floatleft { float: left; margin: 0 5px 5px 0; }
img.floatright { float: right; margin: 0 0 5px 5px;}

