/*********************************************************************** Main */

/**
 * We have to define the background color for both the html and the body tag
 * in XHTML. We also don't want any margins or paddings here.
 */
html, body {
    height: 100%;

    padding: 0;
    margin: 0;

    background-color: #ffffff;
}

/**
 * We don't want to take care of the font family or the default size everyhwere,
 * so we define it global.
 */
* {
    font-family: Verdana, Helvetica, sans-serif;
    font-size: 13px;
}

/**
 * No borders for linked images, please.
 */
a img {
    border: none;
}

/**
 * Let's define a default link style
 */
a:active,
a:link,
a:visited,
a:hover {
    text-decoration: underline;
    color: #000000;
}



/************************************************************************ GUI */

/**
 * Page height
 */
#page {
    position: relative;
    width: 100%;
    min-height: 100%;
}

/**
 * Center class for multiple elements
 */
.center {
    position: relative;

    width: 720px;

    margin: 0 auto;
}

#upgrade {
    z-index: 150;

    position: absolute;
    left: 0;
    top: 0;

    width: 100%;
    padding: 2px 0;

    background-color: #ffef94;
    border-bottom: 1px solid #9e8d2c;

    text-align: center;
    font-weight: bold;
}

#header {
    z-index: 100;

    position: absolute;
    left: 0;
    top: 0;

    width: 100%;
    height: 163px;

    overflow: hidden;

    background: url(../images/gui/header_bg.png) repeat-x;
}

h1 {
    position: absolute;
    top: 20px;
    left: 0;

    margin: 0;
    padding: 0;

    width: 367px;
    height: 112px;

    overflow: hidden;

    background: url(../images/gui/logo.png) no-repeat;
}

h1 a {
    display: block;

    padding-top: 112px;

    width: 367px;
    height: 0;

    overflow: hidden;
}

#header ul {
    position: absolute;
    left: 503px;
    top: 40px;

    margin: 0;
    padding: 0;

    border-left: 1px solid #54aafc;
}

#header ul li {
    margin: 0 0 0 13px;
    padding: 3px 0 0 0;

    list-style-type: none;
    border-top: 1px dotted #303233;
}

#header ul li:first-child {
    border-top: none;
}

#header ul li a:active,
#header ul li a:link,
#header ul li a:visited,
#header ul li a:hover {
    text-decoration: none;
}

#header ul li a#flag_english {
    float: left;

    width: 16px;
    height: 0;

    padding-top: 11px;
    margin: 2px 5px 2px 0;

    overflow: hidden;

    background: url(../images/gui/en_EN.gif) no-repeat;
}

#header ul li a#flag_german {
    float: left;

    width: 16px;
    height: 0;

    padding-top: 11px;
    margin: 2px 5px 2px 0;

    overflow: hidden;

    background: url(../images/gui/de_DE.gif) no-repeat;
}

#content {
    z-index: 50;

    padding-top: 180px;
    padding-bottom: 80px;
}

#footer {
    z-index: 99;

    position: absolute;
    left: 0;
    bottom: 0;

    width: 100%;
    height: 87px;

    overflow: hidden;

    background: url(../images/gui/footer_bg.png) left bottom repeat-x;
}

#footer > .center {
    height: 37px;

    padding-top: 50px;

    background: url(../images/gui/id_card.png) right top no-repeat;

    text-align: center;
}

#footer > .center > #delicious {
    position: absolute;
    left: 0;
    top: 42px;
}



/******************************************************************** Content */

#left_block {
    float: left;

    width: 480px;
}

#search {
}

#more {
    clear: left;
}

#moreButton {
    float: left;
    margin-top: 10px;
    margin-bottom: 10px;
}

#moreForm {
    clear: left;
    display: none;
}

p {
}

h2 {
    margin: 0;
    padding: 0;

    font-size: 20px;
}

#search form
#more form {
    margin: 0;
    padding: 0;

    border: none;
}

#search fieldset,
#more fieldset {
    position: relative;

    margin: 0;
    padding: 0;

    border: none;
}

#search input[type='text'] {
    width: 445px;

    padding: 1px 23px 1px 3px;
    margin: 15px 9px 15px 0;

    font-size: 20px;

    border: 1px solid #4ca6fc;
}

#add_to_favorites {
    position: absolute;
    top: 22px;
    left: 453px;

    display: block;

    width: 16px;
    height: 0;

    padding-top: 16px;

    overflow: hidden;

    background: url(../images/gui/star.png) no-repeat;
}

#more fieldset > div {
    float: left;
    width: 80px;
    margin-bottom: 5px;
}

#search input[type='checkbox'],
#more input[type='checkbox'],
#contentBox input[type='radio'],
#contentBox input[type='checkbox'] {
    margin: 0;
    padding: 0;

    vertical-align: middle;
}

#search input[type='checkbox'] + label,
#more input[type='checkbox'] + label,
#contentBox input[type='radio'] + label,
#contentBox input[type='checkbox'] + label {
    display: inline;
    margin-left: 5px;

    vertical-align: middle;
}


#search label + input[type='checkbox'],
#more label + input[type='checkbox'] {
    margin-left: 10px;
}



/******************************************************************** Results */

#whois {
    z-index: 1500;

    display: none;
    position: absolute;
    left: 100px;
    top: 180px;

    width: 550px;
    height: 380px;

    padding: 10px;

    overflow: auto;

    background-color: #ffffff;
    border: 1px solid #000000;
}

#whois #loading {
    position: absolute;
    left: 50%;
    top: 50%;

    margin-left: -50px;
    margin-top: -50px;
}

#results {
    width: 480px;
    margin-top: 30px;
}

#results > div {
    float: left;

    width: 110px;

    margin-right: 10px;
    margin-bottom: 10px;
}

#results > div > h2 {
    float: left;

    width: 100%;
    height: 32px;

    margin: 0;
    padding: 0;

    background: url(../images/gui/box_head_left.png) no-repeat #ece7e2;
}

#results > div > h2 > span {
    display: block;

    width: 100%;
    height: 32px;

    background: url(../images/gui/box_head_right.png) top right no-repeat;
}

#results > div > h2 > span > span {
    display: block;

    height: 29px;

    padding-top: 3px;
    margin: 0 10px;

    background: url(../images/gui/box_head_center.png) repeat-x;

    text-align: center;
    font-size: 20px;
    font-weight: bold;
    color: #4a4842;
}

#results > div > div {
    float: left;

    width: 100%;

    margin: 0;

    background: url(../images/gui/box_border.png) top left repeat-y #ece7e2;
}

#results > div > div > div {
    background: url(../images/gui/box_border.png) top right repeat-y;
}

#results > div > div > div > div {
    background: url(../images/gui/box_border.png) bottom left repeat-x;
}

#results > div > div > div > div > div {
    background: url(../images/gui/box_foot_left.png) bottom left no-repeat;
}

#results > div > div > div > div > div > div {
    background: url(../images/gui/box_foot_right.png) bottom right no-repeat;
}

#results > div > div > div > div > div > div > p {
    margin: 0;
    padding: 10px;

    text-align: center;
}



/***************************************************************** Favourites */

#favorites {
    float: left;

    width: 215px;

    margin: 0 0 10px 20px;
}

#favorites > h2 {
    float: left;

    width: 100%;
    height: 32px;

    margin: 0;
    padding: 0;

    background: url(../images/gui/box_head_left.png) no-repeat #4ca6fd;
}

#favorites > h2 > span {
    display: block;

    width: 100%;
    height: 32px;

    background: url(../images/gui/box_head_right.png) top right no-repeat;
}

#favorites > h2 > span > span {
    display: block;

    height: 32px;
    margin: 0 10px;

    background: url(../images/gui/box_head_center.png) repeat-x;
}

#favorites > h2 > span > span > span {
    display: block;

    height: 28px;

    padding-top: 4px;
    padding-left: 25px;

    background: url(../images/gui/head.png) 0 4px no-repeat;

    font-size: 20px;
    font-weight: bold;
    color: #4a4842;
}

#favorites > div {
    float: left;

    width: 100%;

    margin: 0;

    background: url(../images/gui/box_border.png) top left repeat-y #deefff;
}

#favorites > div > div {
    background: url(../images/gui/box_border.png) top right repeat-y;
}

#favorites > div > div > div {
    background: url(../images/gui/box_border.png) bottom left repeat-x;
}

#favorites > div > div > div > div {
    background: url(../images/gui/box_foot_left.png) bottom left no-repeat;
}

#favorites > div > div > div > div > div {
    background: url(../images/gui/box_foot_right.png) bottom right no-repeat;
}

#favorites > div > div > div > div > div > p {
    margin: 0;
    padding: 10px;

    min-height: 250px;
}

ul#favoritesList {
    margin: 0;
    padding: 0;
}

ul#favoritesList li {
    list-style-type: none;

    margin: 0 0 5px 0;
    padding: 0;
}

ul#favoritesList a:active,
ul#favoritesList a:link,
ul#favoritesList a:visited,
ul#favoritesList a:hover {
    text-decoration: none;
}

ul#favoritesList .delete {
    margin-right: 5px;
    margin-bottom: -1px;
}



/**************************************************************** Content box */

#contentBox {
    float: left;

    width: 505px;

    margin: 0 0 10px 0;
}

#contentBox > h2 {
    float: left;

    width: 100%;
    height: 32px;

    margin: 0;
    padding: 0;

    background: url(../images/gui/box_head_left.png) no-repeat #4ca6fd;
}

#contentBox > h2 > span {
    display: block;

    width: 100%;
    height: 32px;

    background: url(../images/gui/box_head_right.png) top right no-repeat;
}

#contentBox > h2 > span > span {
    display: block;

    height: 32px;
    margin: 0 10px;

    background: url(../images/gui/box_head_center.png) repeat-x;
}

#contentBox > h2 > span > span > span {
    display: block;

    height: 28px;

    padding-top: 4px;
    padding-left: 25px;

    background: url(../images/gui/head.png) 0 4px no-repeat;

    font-size: 20px;
    font-weight: bold;
    color: #4a4842;
}

#contentBox > div {
    float: left;

    width: 100%;

    margin: 0;

    background: url(../images/gui/box_border.png) top left repeat-y #ffffff;
}

#contentBox > div > div {
    background: url(../images/gui/box_border.png) top right repeat-y;
}

#contentBox > div > div > div {
    background: url(../images/gui/box_border.png) bottom left repeat-x;
}

#contentBox > div > div > div > div {
    background: url(../images/gui/box_foot_left.png) bottom left no-repeat;
}

#contentBox > div > div > div > div > div {
    background: url(../images/gui/box_foot_right.png) bottom right no-repeat;
}

#contentBox > div > div > div > div > div > p {
    margin: 0;
    padding: 10px 10px 10px 35px;

    text-align: left;
}



/******************************************************************* Feedback */
#contentBox form {
    margin: 0;
    padding: 10px 10px 10px 35px;

    border: none;
}

#contentBox fieldset {
    margin: 0;
    padding: 0;

    border: none;
}

#contentBox label {
    display: block;
}

#contentBox div.error label {
    color: #dd0821;
}

#contentBox input[type='text'] {
    width: 200px;

    padding: 1px 3px;
    margin: 5px 0 5px 0;

    border: 1px solid #4ca6fc;
}

#contentBox textarea {
    width: 410px;

    padding: 1px 3px;
    margin: 5px 0 5px 0;

    border: 1px solid #4ca6fc;
}

#contentBox input[type='submit'] {
    padding: 1px 3px;
    margin: 10px 0 0 0;

    border: 1px solid #4ca6fc;
    background-color: #deefff;
}



/********************************************************************* Widget */

#example {
    display: block;
    height: 300px;
    width: 400px;
    overflow: hidden;
}

object {
    margin: 20px 0 20px 0;
}

#widget_source {
    display: block;

    width: 430px;

    padding: 1px 3px;

    overflow: auto;

    font-family: Courier, monospace;
    font-size: 11px;
    color: #000000;
    border: 1px solid #4ca6fc;
}