@import url(datepicker.css);

html, body {
	height: 100%;
  margin: 0;
	padding: 0;
}

body {
	color: #222;
  background-color: #fff;
  background-image: url(../gfx/main_bg.gif);
  background-position: top;
  background-repeat: repeat-y;
	text-align: center;
	min-height: 550px;
}

body, td, input, textarea {
	font-family: Trebuchet MS, Verdana, Arial, sans-serif;
	font-size: 9pt;
}

td {
	text-align: left;
}

a,
a:active,
a:visited {
  color: #358132;
}

a:hover {
  /*color: #66D042;*/
	color: #5B94EA;
}

img {
  border: 0;
  padding: 0;
  margin: 0;
}

h1 {
  font-size: 14pt;
  margin: 4px;
  padding: 0px;
}

h2 {
  font-size: 13pt;
  font-weight: bold;
  margin: 0;
	margin-bottom: 5px;
}

h3 {
  font-size: 11pt;
  font-weight: bold;
  margin: 0;
	margin-bottom: 5px;
}

h4 {
	color: #334467;
  font-size: 11pt;
  font-weight: bold;
  margin: 5px;
	margin-left: 0;
	margin-right: 0;
	border-bottom: 1px solid #e0e0e0;
}

form {
	display: inline;
}

div#main {
  position: relative;
  padding: 0 0px;
  margin: 0 auto;
  color: inherit;
  text-align: left;
  width: 740px;
 	min-height: 100%;
  /*background-color: #fff;
  background-image: url(../gfx/main_bg.gif);
  background-position: top left;
  background-repeat: repeat-y;*/
}

optgroup {
	font-weight: normal;
	color: #888;
	font-style:normal;
	padding: 0 3px;
}

option {
	color: #222;
}

/*****************************************
                header
*****************************************/

div#header {
  background-image: url(../gfx/bg_header.jpg);
  background-position: top left;
  background-repeat: no-repeat;
	position: relative;
  width: 740px;
  height: 106px;
  padding: 0;
  margin: 0;
  border: 0;
	border-top: 1px solid #494949;
}

div#contatti,
div#menu_area_riservata {
  position: relative;
	width: 700px;
	padding: 2px 20px;
	background: #fff;
	border-bottom: 1px solid #e9edf0;
	text-align: center;
	color: #888;
	font-size: 9pt;
  z-index: 100;
	line-height: 14px;
}

div#menu_area_riservata {
	/*background: transparent;*/
  background-image: url(../gfx/bg_res_area_menu.gif);
  background-position: bottom left;
  background-repeat: repeat-x;
	border-bottom: 1px solid #d4d4d4;
}

/*div#menu_area_riservata a,
div#menu_area_riservata a:hover,
div#menu_area_riservata a:visited,
div#menu_area_riservata a:active {
	color: #6A0000;
}

div#menu_area_riservata a:hover {
	color: #B80000;
}*/

div#user_info {
	position: absolute;
	right: 173px;
	top: 6px;
	color: #fff;
	
}

div#user_info a,
div#user_info a:hover,
div#user_info a:visited,
div#user_info a:active {
	color: #fff;
}

div#user_info a:hover {
	color: #FFEA00;
}

/*****************************************
                footer
*****************************************/

div#footer {
	background: #f1f1f1;
	color: #888;
	position: absolute;
	text-align: center;
	left: -1px;
	bottom: 0;
  width: 742px;
  height: 18px;
	line-height: 16px;
  padding: 0;
  margin: 0;
	border: 0;
	border-top: 1px solid #494949;
	
}

div#footer a,
div#footer a:active,
div#footer a:visited {
  color: #606060;
}

div#footer a:hover {
  color: #508849;
}


/*****************************************
                  menu
*****************************************/

div#menu {
  position: absolute;
  overflow: hidden;
	padding: 10px;
  right: 0;
  width: 140px;
	min-height: 300px;
  background: transparent;
	background-image: url(../gfx/bg_menu.jpg);
  background-position: top right;
  background-repeat: no-repeat;
  z-index: 200;
}

div#menu ul {
	display: block;
  width: 140px;
  padding: 0;
  padding-left: 10px;
  margin: 0;
  position: relative;
}

/*div#menu ul ul {
  padding: 0;
  padding-top: 1px;
  padding-left: 10px;
  margin: 0;
}*/

div#menu li {
	display: block;
	width: 130px;
  list-style: none;
  margin: 0;
	margin-top: 6px;
}

div#menu li li {
	width: auto;
	margin-top: 3px;
}

div#menu a,
div#menu a:hover,
div#menu a:visited,
div#menu a:active {
	font-size: 9pt;
	display: block;
	width: 130px;
	padding: 0;
	padding-right: 10px;
	padding-bottom: 1px;
  color: #444;
	font-weight: normal;
  text-decoration: none;
  background: transparent;
	border-bottom: 1px solid #F0DE9F;
}

div#menu a:hover {
  color: #CA5800;
	border-bottom: 1px solid #F3D368;
}

div#menu li li a,
div#menu li li a:hover,
div#menu li li a:visited,
div#menu li li a:active {
	font-size: 9pt;
	display: inline;
	color: #888;
	border: 0;
}

div#menu li li a:hover {
	color: #C00;
}
/*****************************************
                  Content
*****************************************/

div#content {
	text-align: justify;
  padding: 20px;
  padding-right: 180px;
	padding-bottom: 50px;
}

/*****************************************
                 Home page
*****************************************/

table#box_home {
	margin: auto;
	border-collapse: collapse;
}

table#box_home td.box {
	padding: 15px;
}

table#box_home td div {
	background:transparent;
  background-position: top left;
  background-repeat: no-repeat;
	position:relative;
	width: 217px;
	height: 101px;
	padding: 10px;
	text-align: center;
}

table#box_home p {
	margin: 4px auto;
	padding: 0;
}

table#box_home td div h2 {
	text-align: left;
}

table#box_home td div.box1 {
	background-image: url(../gfx/box_turni_farmacie.jpg);

}
table#box_home td div.box2 {
	background-image: url(../gfx/box_cerca_farmacie.jpg);

}
table#box_home td div.box3 {
	background-image: url(../gfx/box_farmaci_c.jpg);

}
table#box_home td div.box4 {
	background-image: url(../gfx/box_area_riservata.jpg);

}

table#box_home .text_field,
table#box_home textarea,
table#box_home select {
	margin: 0;
	color: #000;
	filter:alpha(opacity=70);
	-moz-opacity:.70;
	opacity:.70;

}

table.form {
	margin: auto;
	border-collapse: collapse;
}

table.form td {
	padding: 1px 2px;
	margin: 0;
}

table.form td.label {
	text-align: right;
}

p{
	text-align: inherit;
	line-height: 16px;
  margin-top:0;
  margin-bottom:10px;
  /*border-left: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  padding:0;
  padding-left: 10px;
  padding-bottom: 10px;*/
}

/********************************************
    Varie
********************************************/

div.scheda_farmacia,
div.scheda_iscritto,
div.scheda_new,
div.scheda {
	position: relative;
	text-align: left;
	padding: 10px;
	border-bottom: 1px solid #e0e0e0;
}

div.orario_turno {
	margin: 0;
	margin-top: 3px;
	padding: 0;
	font-weight: bold;
	color: #30508D;
}

p.hilight {
	color: #B80000;
}

table.content {
	border-collapse: collapse;
}

table.content td,
table.content th {
	padding: 1px 3px;
	border: 1px solid #fff;
}

table.content td.tdlist {
	background-color: #f0f0f0;
}
table.content td.tdlist2 {
	background-color: #c0c0c0;
}
table.content th {
	text-align: center;
	background-color: #49639A;
	color: #fff;
}

table.content td.centered {
	text-align: center;
}

div.alfabeto a,
div.alfabeto a:visited,
div.alfabeto a:active {
	font-size: 9pt;
	font-weight: bold;
	text-decoration: none;
}

div.nuovo_annuncio,
div.allegato_annuncio,
div.validazione {
	position:absolute;
	bottom: 5px;
	right: 0;
	
}


/********************************************
    Form
********************************************/

.input_border, .text_field, textarea {
  border: 1px solid #ddd;
	margin: 2px 0;
}

.dfield {
	border: 1px solid #ddd;
	margin: 2px 0;
	padding: 1px 3px;
	width: 20px;
}

.text_field, textarea {
  	width: 180px;
	padding: 1px 3px;
}

.short {
	width: 100px;
}

/*input {
  background: transparent;
}*/

textarea {
  height: 130px;
}

.align_left {
  text-align: left;
}

input.button {
  border: 1px solid #000;
  background-color: #b00;
  color: #fff;
  font-family: Verdana, Arial, Tahoma, sans-serif;
  font-size: 10pt;
  font-weight: bold;
}

.width_auto {
  width: auto;
}

div.form_row {
  margin-top: 15px;
}

td.odd {
  background-image: url(../gfx/td_odd_bg.png);
}

td.even {
  background-image: url(../gfx/td_even_bg.png);
}

td.selected {
  /*background-image: url(../gfx/td_selected_bg.png);*/
  background-color: #FFD000;
  /*color: #fff;*/
}

.bold {
  font-weight: bold;
}

.centered {
	text-align: center;
}

.grayed {
	color: #777;
	font-style: italic;
}

.error {
	color: #D50000;
}

.info {
	color: #008F00;
}

.underline {
	text-decoration: underline;
}

.thin {
	font-weight: normal;
}

.highlight {
  font-weight: bold;
	color: #084400;
	
}

.aggiornamento{
	vertical-align:middle;
	text-align:center;
	position:absolute;
	top:300px;
	left:200px;
}

/********************
	Password
********************/
.titoloPassword{
	font-size: 13pt;
  	font-weight: bold;
  	margin: 0;
	margin-bottom: 5px;
	text-align:center;
}

.labelPassword{
	font-size: 8pt;
  	margin: 0;
	margin-bottom: 5px;
	text-align:center;
}

.aggiornamentoPassword{
	vertical-align:middle;
	text-align:center;
}

.nuovaPassword{
	vertical-align:middle;
	text-align:center;
	font-size: 11pt;
  	font-weight: bold;
	color:red;
  	margin: 0;
	margin-bottom: 5px;
}