
body {
    margin: 0;
    padding: 0;
    background-color: #555;
    font-family: sans-serif;
    font-size: 14px;
}
a, 
a:visited {
    color: orange;
    text-decoration: none;
}
a:hover {
    color: yellow;
}
img {
    margin: 0;
    padding: 0;
    border: 0;
}

.site-header {
    background-color: #555;
    border-bottom: solid 30px #bbb;
    height: 85px;
    padding-top: 20px;
}
.site-header .edgynet-logo {
    height: 50px;   
}
.site-header .edgynet-logo h1 {
    margin: 0;
}
.site-header .edgynet-logo h1 a {
    width: 133px;
    display: block;
    height: 60px;               /* Also see skinny-header below */
    font-size: 0;
    text-indent: -5000px;
    background-image: url(/images/edgynet-logo.png);
    background-repeat: no-repeat;
}
.site-header .site-menu ul {
    margin: 0;
    padding: 0;
    float: right;
    list-style-type: none;
    height: 30px;
}
.site-header .site-menu ul li {
    float: left;
    text-align: center;
}
.site-header .site-menu ul li a {
    display: block;
    width: 155px;
    height: 30px;
    line-height: 30px;
    text-decoration: none;
    color: white;
    font-weight: bold;
    font-size: 14px;
    text-transform: uppercase;
    margin-left: 5px;
    background-image: url(/images/menu-button.jpg);
    background-repeat: no-repeat;
}
.site-header .site-menu ul li a:hover {
    background-position: 0 -30px;
    color: black;
}

.foundation {
    position: relative;
    width: 800px;
    margin-left: auto;
    margin-right: auto;
}
.crux { 
    /* Gecko bug - when you put something inside this, make sure there is
       some padding or gecko will add about 10px of margin to the top. */
    position: relative;
    background-color: #eee;
    min-height: 350px;
    width: 100%;
}

.site-footer {
    position: relative;
    height: 110px;
    border-top: solid 30px #bbb;
    background-color: #555;
    padding-top: 10px;
}
.site-footer .foundation {
    position: relative;
    color: white;
    text-align: center;
}
.site-footer .foundation a, 
.site-footer .foundation a:visited {
    color: white;
    font-weight: bold;
    font-style: italic;
    word-spacing: 2px;
    text-decoration: none;
}
.site-footer .foundation a:hover {
    color: yellow;
    text-decoration: underline;
}

.page-title {
    color: white;
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    margin: 0 0 20px 0;
    min-height: 30px;
}


/*******************************************************
 * Skinny Page Profile
 *******************************************************/

.skinny-header {
    background-color: #555;
    padding: 10px 0;
    border-bottom: solid 5px #bbb;
    margin: 0;
}
.skinny-header .skinny-logo {
    height: 60px;
    margin: 0;
    font-size: 0;
    text-indent: -5000px;
    background-image: url(/images/edgynet-logo.png);
    background-repeat: no-repeat;
}
.skinny-footer {
    border-top: solid 4px #bbb;
    height: 80px;
}

/*******************************************************
 * Form Profile
 *******************************************************/

.nv-field {
    position: relative;
    margin-top: 30px;
}
.nv-field label {
    display: block;
    float: left;
    width: 200px;
    text-align: right;
    margin-right: 30px;
}
.nv-field input {
    width: 330px;
}

form .textblock {
    width: 550px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 30px;
}
form .textblock label {
    display: block;
    margin-bottom: 5px;
}
form .textblock textarea {
    width: 540px;
}

form .form-instruction {
    display: block;
    font-weight: bold;
    text-align: right;
    width: 95%;
}

input[type="text"] {
    padding: 2px 5px;
}
textarea {
    padding: 5px;
}
.submit-box {
    margin: 20px 0 10px 0;
    text-align: center;
}
input.submit {
    background-image: url(/images/button-bg.gif);
    background-repeat: repeat-x;
    background-color: #ff6600;
    color: white;
    font-weight: bold;
    padding: 0 20px;
    height: 30px;
}
input.submit:hover {
    background-position: 0 -31px;
    color: black;
}

#flash-notice,
#flash-now {
    margin: 20px;
    padding: 0 5px;
    background-color: #c7ecfc;
    color: brown;
    border: 2px solid maroon;
    font-weight: bold;
    text-align: center;
}

.has-mistake {
    border: solid 2px #35c44f;
}

.form-error-report {
    margin: 20px 20px 0 20px;
    clear: both;
    padding: 4px 10px;
    border: 1px solid black;
    font-style: oblique;
    background-color: #c7ecfc;
}

/*******************************************************
 * Homepage Stuff
 *******************************************************/

#homepage {
    padding: 10px 0;
}
#homepage .headline {
    height: 240px;
    width: 800px;
    font-size: 0;
    text-indent: -5000px;
    background-image: url(/images/homepage-headline.jpg);
    background-repeat: no-repeat;
    padding: 0;
    margin: 0;
    margin-bottom: 10px;
}
#homepage ul.plugs {
    position: relative;
    list-style: none;
    padding: 0;
    margin: 0;
}
#homepage ul.plugs li {
    margin: 0;
    padding: 0;
}
#homepage ul.plugs li a {
    height: 120px;
    width: 395px;
    display: block;
    font-size: 0;
    text-indent: -5000px;
}
#homepage ul.plugs li a:hover {
    background-position: 0 -120px;
}
#homepage ul.plugs li a.demo-plug {
    background-image: url(/images/goto-demo.jpg);
    background-repeat: no-repeat;
}
#homepage ul.plugs li a.screencast-plug {
    position: absolute;
    top: 0;
    left: 404px;
    background-image: url(/images/goto-screencasts.jpg);
    background-repeat: no-repeat;
}

/*******************************************************
 * Screencast Page Stuff
 *******************************************************/

#screencast-page {
    background-color: #555;
    padding: 20px;
    text-align: center;
}
#screencast-page h2 {
    font-size: 115%;
    padding: 0;
    margin-top: 20px;
    margin-bottom: 20px;
}

#screencast-page .screencast {
    color: white;
    margin-bottom: 30px;
    padding-bottom: 20px;   /* coz IE7 doesn't ack bottom margin on download tab */
    border: solid 2px white;
    background-color: black;
}
#screencast-page .download-tab {
    margin: 20px auto 0 auto;
}
#screencast-page .download-tab th,
#screencast-page .download-tab td {
    text-align: left;
    border: solid 1px #9cf;
    padding: 5px 10px;
}

/*******************************************************
 * Feedback Page Stuff
 *******************************************************/

#feedback-page {
    background-color: #555;
    padding: 20px;
}

.thanks {
    margin: 0 20px 20px 20px;
    min-height: 30px;
    padding: 20px 20px 20px 75px;
    background-image: url(/images/feedback-thanks.jpg);
    background-repeat: no-repeat;
    background-position: 10px 10px;
    color: white;
    background-color: black;
    font-size: 110%;
    border: solid 2px;
}

#feedback-form {
    background-color: #ddd;
    padding: 10px;
    border: solid 2px maroon;
}
#feedback-form label {
    font-weight: bold;
}

/*******************************************************
 * Help Page Stuff
 *******************************************************/

#help-page {
    padding: 10px;
    background-color: white;
}

#help-page a, 
#help-page a:visited {
    color: #00e;
    text-decoration: none;
}
#help-page a:hover {
    text-decoration: underline;
}

#help-title {
    color: white;
    background-color: #555;
    border: double 4px;
    font-size: 20px;
    padding: 2px;
    text-align: center;
    font-weight: normal;
    letter-spacing: 1px;
    margin: 0;
}

#help-page .help-menu {
    padding-bottom: 20px;
}
#help-page .help-menu li {
    margin-bottom: 5px;
}

#help-page .help-section {
    padding: 0 30px;
}

#help-page h2 {
    border: solid 4px olive;
    text-align: center;
    font-size: 18px;
    padding: 5px 0;
    margin: 40px 15px 20px 15px;
}
#help-page .help-section code {
    font-weight: bold;
}

#help-page table {
    margin: 15px auto;
}
#help-page table th {
    padding: 5px 15px;
    background-color: #333;
    color: white;
    text-align: left;
}
#help-page table td {
    padding: 2px 15px;
    text-align: right;
}
#help-page table td.label {
    text-align: left;
    padding-right: 40px;
}

#help-page img {
    display: block;
    margin: 15px 50px;
}

#help-page .aside {
    margin: 20px 50px;
    padding: 10px 20px;
    background-color: #dfd;
    border: solid 2px black;
}
#help-page .aside h4 {
    padding: 0;
    margin: 5px 0;
}

#help-page .trademark-note {
    border-top: solid 3px;
    padding-top: 10px;
    text-align: center;
}

/*******************************************************
 * Demo Stuff
 *******************************************************/

#demo {
    position: relative;
    background-color: #555;
    padding: 20px;
}

#demo-feedback {
    position: absolute;
    top: 7px;
    right: 7px;
    height: 55px;
    width: 99px;
    font-size: 0;
    text-indent: -5000px;
    background-image: url(/images/feedback.png);
    background-repeat: no-repeat;
}
#demo-feedback:hover {
    background-position: 0 -55px;
}

#demo #intro-msgs {
    position: relative;
    margin-bottom: 20px;
}
#demo .msg-box {
    background-color: black;
    color: white;
    margin: 0 10px;
    padding: 10px 20px;
    width: 310px;
    min-height: 90px;
    border: solid 2px;
}
#demo .msg-box p,
#demo .msg-box ul {
    margin-left: 90px;
}
#demo .msg-box h6 {
    margin: 0 0 0 90px;
    text-align: center;
    font-weight: bold;
    font-size: 110%;
}
#demo .msg-box code {
    color: #9cf;
}
#the-challenge {
    background-image: url(/images/challenge.jpg);
    background-repeat: no-repeat;
}
#first-footsteps {
    position: absolute;
    top: 0;
    left: 50%;
    background-image: url(/images/lightbulb.jpg);
    background-repeat: no-repeat;
}

#config {
    position: absolute;
    top: 0;
    left: 30px;
    padding-top: 4px;
}
#config-button,
#config-button:visited {
    position: relative;     /* for IE */
    color: white;
    background-color: #055; 
    border: solid #bbb;
    border-width: 0 2px 2px 2px;
    padding: 4px 10px;
    font-weight: bold;
}
#config-button:hover {
    color: black;
    background-color: #ff0;
}
#config-panel {
    position: relative;
    margin-top: 10px;
    padding: 10px;
    background-color: #bcb;
    display: none;
    border: solid 2px white;
}
#config-panel legend {
    font-weight: bold;
    color: black;       /* for IE */
}
#config-panel label {
    display: block;
}
#config-panel a,
#config-panel a:visited {
    color: blue;
    text-decoration: underline;
}
#config-panel a:hover {
    color: red;
}
#config-panel ul.option-notes {
    margin-top: 5px;
    margin-bottom: 0;
}
#config-panel .save-config {
    margin-top: 10px;
    text-align: right;
}

#netmap {
    position: relative;
    width: 750px;
    height: 300px;
    background-color: black;
    /* background-image: url(/images/netmap-bg.jpg); */
    background-image: url(/images/demo-splash.png);
    background-repeat: no-repeat;
    margin: 0 auto 20px auto;
}
#netmap .mapnode {
    position: absolute;
    border: 0;
    cursor: move;
}
#netmap #load-status,
#netmap #fail-result {
    padding: 20px 20px 0 20px;
    color: white;
    font-weight: bold;
    font-size: 110%;
}

#tty-rack {
    position: relative;
    background-color: #eee;
    background-image: url(/images/noc.jpg);
    background-repeat: no-repeat;
    width: 750px;
    min-height: 300px;
    margin: 0 auto;
    padding: 0;
    list-style: none;
}
#tty-rack li {
    margin: 0;
    padding: 0;
}

.tty {
    border-bottom: solid 5px #555;
}
.tty .outbox {
    width: 728px;
    height: 254px;
    background-color: #222;
    color: #9cf;
    margin-left: auto;
    margin-right: auto;
    padding: 10px;
    overflow: auto;
    /* TODO - Circumvent FF3 horizontal scrollbar bug (Linux only) */
    /* overflow-x: hidden; */
    border-top: solid 2px #222;
    border-left: solid 1px #bbb;
    border-right: solid 1px #bbb;
    border-bottom: solid 4px #777;
}
.tty .tbar {
    position: relative;
    cursor: move;
    background-color: #9cf; 
    margin: 0;
    font-size: 16px;
    height: 22px;
    padding: 2px;
    text-align: center;
}
.tty .tbar .xbox {
    position: absolute;
    display: block;
    right: 0px;
    top: 0px;
    border-left: solid 1px;
    padding: 3px 5px;
    font-size: 17px;
}
.tty .tbar .xbox:hover {
    background-color: yellow;
    cursor: default;
}
.tty-inactive .outbox {
    background-color: #333;
}
.tty-inactive .tbar {
    background-color: #bbb;
}
.cursor {
    background-color: #9cf;
}
pre {
    display: inline;
    font-size: 14px !important;
}


