/* Apply some default styles */
.tright {
    text-align: right;
}

#aff blockquote,#aff ul,#aff ol,#aff dl {
	/* Giving blockquotes and lists room to breath. */
	margin: 1em;
}

#aff ol,#aff ul,#aff dl {
	/* Bringing lists on to the page with breathing room. */
	margin-left: 2em;
}

#aff ol {
	/* Giving OL's LIs generated numbers. */
	list-style: decimal outside;
}

#aff ul, #aff li {
	/* Giving UL's LIs generated disc markers. */
	list-style: disc outside;
}

#aff dl dd {
	/* Giving DD default indent. */
	margin-left: 1em;
}

#aff p,
#aff fieldset,
#aff table,
#aff pre {
	/* So things don't run into each other. */
	margin-bottom: 1em;
}

/* Custom */
#aff label.terms {
    width: auto;
}

#summary {
    background-color: #fff;
    border:  1px solid #bbb;
    padding: 10px;
    margin-left: 20px;
    border-radius: 6px;
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
}

#summary table {
    width: 100%;
}

#aff table.bordered {
	border-width: 1px;
	border-spacing: 1px;
	border-style: outset;
	border-color: gray;
	border-collapse: collapse;
	background-color: white;
}
#aff table.bordered th {
	border-width: 1px;
	padding: 3px;
	border-style: inset;
	border-color: gray;
	background-color: white;
}
#aff table.bordered td {
	border-width: 1px;
	padding: 3px;
	border-style: inset;
	border-color: gray;
	background-color: white;
}

#aff div.banners img {
    margin-bottom: 15px;
    cursor: pointer;
}


/* menu */
.dropmenu {
    margin-bottom: 1em;
    border-bottom: 1px solid #999;
}
.dropmenu ul {
    margin-left: 1em;
}
.dropmenu ul, .dropmenu ul li{
display:inline;
margin:0;
padding:0;
list-style:none}

.dropmenu ul li{position:relative}

.dropmenu ul li a{
display:inline-block;
width:120px;
font-size:14px;
color:#000;
text-align:center;
text-decoration:none;
background:#ddd;
margin:-3px 0 -1px 0;
border:#999 1px solid;
padding:3px 7px 3px 7px}

.dropmenu ul li a:hover{
display:inline-block;
width:120px;
font-size:14px;
color:#666;
text-align:center;
text-decoration:none;
background:#eee;
margin:-3px 0 -1px 0;

padding:3px 7px 3px 7px}

.dropmenu li ul{
display:none;
position:absolute;
top:23px;
left:0}

.dropmenu ul li:hover ul{
    display:inline-block;
}

.dropmenu ul ul, .dropmenu ul li:hover ul ul, .dropmenu ul ul li:hover ul ul{display:none}

.dropmenu ul li:hover ul,
.dropmenu ul ul li:hover ul,
.dropmenu ul ul ul li:hover ul {
    display:block;
}