* {
  margin: 0;
  padding: 0;
  font-family: "Trebuchet MS", Trebuchet, Verdana, Arial, sans-serif;
}

body {
  color: #333;
  font-size: small;
  overflow: hidden;
}

img {
  border: none;
}

/* base layout */
#header {
  position: absolute;
  top: 50px;
  width: 100%;
  height: 50px;
}

#contents {
  display: block;
  position: absolute;
  top: 108px;
  text-align: center;
  width: 100%;
}

#contents-header {
}

#footer {
  position: absolute;
  bottom: 0;
  z-index: 10;
  width: 100%;
  font-size: x-small;
  text-align: center;
  background-color: #FFF;
}

/* header layout */
#logo {
  background: url(images/atws_bannersearch_logo.gif) no-repeat top;
}

#logo a {
  display: block;
  text-indent: -9999em;
  width: 415px;
  height: 45px;
  margin: 0 auto;
}

/* contents layout */
#banners {
  width: 800px;
  margin: 0 auto;
}

#result, #pager {
  display: none;
  text-align: center;
  padding: 0 0 0.5em 0;
}

#result {
  width: 100%;
  overflow: auto;
  padding: 0;
}

#page-form {
  border: 1px solid #333;
  padding: 1px 2px;
  ime-mode: disabled;
}

#info {
  margin: 0 0 1em 0;
  text-align: center;
}

#info div {
  margin: 0 auto;
}

#info h2 {
  color: #333;
  font-size: large;
}

#info div div div div {
  padding: 0 0 0 1em;
  text-align: left;
}

#info div div div div a,
#info div div div div a:visited {
  text-decoration: none;
  color: #00E;
}

#info div div div div a:hover {
  background-color: #EEE;
}

.detail {
  line-height: 1.5em;
}

/* search form layout */
#search-form {
  text-align: center;
}

#select-form {
  margin: 0 0 0.5em 0;
}

#HTML_AJAX_LOADING {
  height: 0;
}

/* result layout */
#banners ul {
  display: block;
  width: 100%;
}

#banners li {
  display: block;
  float: left;
  position: relative;
  width: 800px;
  margin: 0.1em auto;
}

/* round box */
.roundbox {
  background: url(images/roundbox_back.gif) repeat;
}

.roundbox-top {
  background: url(images/roundbox_t.gif) bottom repeat-x;
}

.roundbox-top div {
  background: url(images/roundbox_tl.gif) no-repeat bottom left;
}

.roundbox-top div div {
  background: url(images/roundbox_tr.gif) no-repeat bottom right;
}

.roundbox-left {
  background: url(images/roundbox_l.gif) repeat-y left;
}

.roundbox-right {
  background: url(images/roundbox_r.gif) repeat-y right;
}

.roundbox-bottom {
  background: url(images/roundbox_b.gif) repeat-x top;
}

.roundbox-bottom div {
  background: url(images/roundbox_bl.gif) no-repeat top left;
}

.roundbox-bottom div div {
  background: url(images/roundbox_br.gif) no-repeat top right;
}

.roundbox-top,
.roundbox-top div,
.roundbox-bottom,
.roundbox-bottom div {
  width: 100%;
  height: 7px;
}

/* footer layout */
#copyright {
  border: 1px solid #CCC;
  background-color: #F9F9F9;
  width: 90%;
  margin: 0.8em auto;
}

/* explanation layout  */
.explanation {
  display: none;
  width: 100%;
  overflow: auto;
}

.explanation #setting-complete{
  overflow: hidden;
}

.explanation div {
  text-align: left;
  width: 580px;
  margin: auto;
}

.explanation h3 {
  border-left: 12px solid #CCC;
  margin: 0.5em 0;
  padding: 0 0 0 0.5em;
}

.explanation p {
  padding: 0 0 0 1em;
  line-height: 1.2em;
  text-align: left;
}

.explanation-image,
.explanation-button {
  text-align: center !important;
}

.explanation-image img {
  border: 1px solid #CCC;
  margin: 1em auto;
}

.setting {
  padding: 1em 0 0 0;
  width: 620px;
  text-align: left;
}

.setting-id {
  color: #1841CE;
  font-weight: bold;
}

#error {
  width: 330px;
  border: 1px solid #993333;
  background-color: #FECECE;
  color: #333;
  padding: 1em 2em;
  margin: 1em auto;
  text-align: left;
}

/* banner */
.banner {
  padding: 1em 0;
}

.banner-programname {
  font-size: 1em;
  font-weight: bold;
  margin: 0 auto 0.5em;
}

.banner-detail {
  width: 12em;
  margin: 0 auto 0.5em;
  border-collapse: collapse;
}

.banner-detail th {
  font-weight: normal;
  text-align: right;
  width: 7em;
}

.banner-detail td {
  text-align: left;
}

.banner-code {
  padding: 1em 0;
}

/* tabs layout */
#tabs {
  top: 0;
  position: absolute;
  width:100%;
  background:#FAFAFA;
  font: bold 1em Verdana;
  line-height:normal;
  border-bottom:1px solid #999;
  text-align: center;
  padding: 0 auto;
}
#tabs ul {
  margin:0 auto;
  padding:10px 0 0 0;
  list-style:none;
  width: 650px;
}
#tabs li {
  display:inline;
}
#tabs a {
  float:left;
  background:url("images/tableftF.gif") no-repeat left top;
  margin:0;
  padding:0 0 0 4px;
  text-decoration:none;
}
#tabs a span {
  float:left;
  display:block;
  background:url("images/tabrightF.gif") no-repeat right top;
  padding:5px 15px 4px 6px;
  color:#666;
}
/* Commented Backslash Hack hides rule from IE5-Mac \*/
#tabs a span {float:none;}
/* End IE5-Mac hack */
#tabs a:hover span {
  color:#FFF;
}
#tabs a:hover {
  background-position:0% -42px;
}
#tabs a:hover span {
  background-position:100% -42px;
}

#tabs #current a {
  background-position:0% -42px;
}
#tabs #current a span {
  background-position:100% -42px;
}

#tabs .status {
  top: 0;
  right: 0;
  position: absolute;
  text-align: right;
  font-weight: normal;
  font-family: "Trebuchet MS", Trebuchet, Verdana, Arial, sans-serif;
  font-size: 0.8em;
  margin: 0.4em 1em;
}

#tabs .status p {
  white-space: nowrap;
}

#tabs .status a {
  float:none;
  background: none;
  text-decoration: underline;
}

body {
  overflow: hidden;
}

