body,
html {
    margin: 0;
    padding: 0;
    background: #BADEFF; /* #90bade*/
    color: #ccc;
}

body {
    min-width: 250px;
    /*width: 1000px;*/
    height: 100%;
    /*overflow: hidden;*/
}

#back {
	font-size: 12px;
	color: #000;	
	border: 1px solid #010182;
	margin: 2px; 
	width: 194px;
}

#back a {
	text-decoration: none;

}

form select {
	font-size: 9px;
	float: right;
}

form fieldset {
	border: 1px solid  #010182;
	padding: 2px 2px;
	width: 190px;
}

form legend {
	color: #FFF;
	background: #CCC;
	border: 1px solid  #010182;
	padding: 2px 2px;
}

form label {
	float: left;	
	color: #010182;
	font-size:12px;
	margin-left: 2px;
}

.left {
    text-align: left;
    float: left;
}

.right {
    text-align: right;
    float: right;
}

.loading {
	background: url('../images/ajax-loader.gif') no-repeat center center;
}

#wrapper {
    margin: 0 auto;
    width: 100%;
    height: 100%;
}

#header {
    background: #BADEFF;
    height: 30px;    
    width: 100%;    
    margin:0 auto;
}

#header h1 {
    color: #010182;
    font-weight: bold;
    margin: 0px;
    text-align: center;

}

#header img {
    height: 25px;
}

#main, #main2 {
    position: fixed;
    left: 220px;
    width: 850px;;
    right: 0;
    top: 0px;
    margin: 0 0 0 0px; 
    bottom: 0px;
    /*overflow: auto;*/
    float: left;
}

#main2 {
	top: 65px;
	overflow: auto;
}
	

#leftbar {
    position: fixed;
    top: 0px;
    left: 0;
    width: 220px;
    background-color: #BADEFF;
    /*font-size: 9px;*/
    margin: 0px;
    bottom: 0px;
    overflow: auto;
    float: left;
}

#leftbar ul {
        list-style: none;
        margin: 10px 0 0 0;
        padding: 0;
        border: none;
	width: 200px;
}
        
#leftbar li {
        border-bottom: 1px solid #010182;
        margin: 0;
}

#leftbar li a, li a:visited {
        display: block;
        padding: 5px 5px 5px 0.5em;
        border-left: 5px solid #1958b7;
        border-right: 5px solid #508fc4;
        background-color: #2175bc;
        color: #fff;
        text-decoration: none;
        width: 100%;
	font-size: 12px;
}

#leftbar li a.selected {
        background-color: #010182;
}

html>body #leftbar li a { /* uso del child selector per inganare IE*/
        width: auto;
}

#leftbar li a:hover {
        border-left: 5px solid #010182;
        border-right: 5px solid #010182;
        background-color: #2586d7;
        color: #fff;
}

#stepDisplay {
	position:absolute;
	margin:0px;
	padding:0px 0 0 0px; 
	width:815px;
	list-style-type: none; 
}

#stepDisplay ul {
	margin:0px;
	margin-right: 200px;
	padding: 0;
}

#stepDisplay li {
	float:left;
	margin:0;
	padding: 0;
	list-style-type:none;
}

#stepDisplay li.loading{
	float:left;
	width:31px;
        height:20px;
	border:1px solid #444;
	background-color: #ccc;
}

#stepDisplay li a {
	font-size:12px;
	float:left;
	text-decoration:none;
	list-style-type:none;
	color:#000;
	background:#ccc;
	text-align:center;
	width:32px;
	height:20px;
	padding:0px;
	padding-bottom: 2px;
	line-height:20px;
	border:1px solid #444;
	margin:1px;
	font-family: Verdana, Arial, Helvetica, sans-serif;
}

#stepDisplay li a.active {
	background:#2586d7;
	color: #fff;
}

#pn {
	position:relative;
	margin:0px;
	padding: 0px;
	/*padding-right: 138px;*/
	padding-right: 90px;
	float: right;
}

#pn ul {
	margin:0px;
	padding:0px;
}
#pn li {
        float:left;
        margin:0px;
        padding: 0px;
        list-style-type:none;
}

#pn li a {
	float:left;
	text-decoration:none;
	list-style-type:none;
	width:28px;
	height:25px;
	padding:0px;
	margin:0px;
	border:0px;
	/*background:#2586d7;
	font-size:12px;
	color:#fff;
	text-align:center;
	padding-bottom:2px;
	line-height:20px;
	border:1px solid #444;
	margin:1px;
	font-family: Verdana, Arial, Helvetica, sans-serif;
*/
}

#pn img {
	border:0;
	background:#BADEFF;
	width:28px;
	height:25px;
	padding-bottom:0px;
}

/*
#pn .tb {
	background: #ccc url('../images/tab.png') repeat-x;
	float: right;
}
*/

#imgDisplay {
   position: relative;
   /*padding: 30px 0 0 10px;*/
   padding: 0;
   margin-left: 1px;
   /* z-index:-1; */
   overflow: auto;
   display: block;
   margin-left: auto;
   margin-right: auto;
}

#tabDisplay {
   position: absolute;
   /*padding: 30px 0 0 10px;*/
   padding: 0;
   margin-left: 1px;
   /* z-index:-1; */
   overflow: auto;
   margin-left: auto;
   margin-right: auto;

}

#imgDisplay img {
	border: 1px solid #000;
	padding: 10px;
	background-color: #FFF;
   display: block;
   margin-left: auto;
   margin-right: auto;

}

.tabled img {
	width: 200px;
	height: 200px;
}

img#first-arrow {
	border: 0;
	background: transparent;
	position: fixed;
	left: 220px;
	top: 44px;
}
