body {
    background-color: #5581b5;
    color: #34495E;
    margin: .7em 2.4em;
    padding: 0;
    font-family: helvetica, arial;
    font-size: 15px;
    line-height: 135%;
}
@media only screen and (min-width: 800px) and (min-height: 600px) {
    body {
        font-size: 17px;
    }
}
@media only screen and (min-width: 1000px) and (min-height: 800px) {
    body {
        font-size: 18px;
    }
}
#home {
    position: absolute;
    margin-top: -1.2em;
    margin-left: 1.4em;
    font-size: 120%;
}
#home a {
    color: white;
    font-weight: bold;
    text-decoration: none;
}
h1 {
    font-size: 130%;
    margin: 1.3em 0 .9em 0;
    color: #eb9316;
}
h2 {
    font-size: 100%;
    margin-bottom: 1.3em 0 .9em 0;
    color: white;
    background-color:#5581b5;
-webkit-box-shadow: inset 10px 10px 6px -10px rgba(52,73,94,1);
-moz-box-shadow: inset 10px 10px 6px -10px rgba(52,73,94,1);
box-shadow: inset 10px 10px 6px -10px rgba(52,73,94,1);
border-radius: 1px 1px 1px 1px;
-moz-border-radius: 1px 1px 1px 1px;
-webkit-border-radius: 5px 5px 5px 5px;
border: 0px solid #000000;
}
p.important {
    color: #d9e021;
    background-color:#34495E;
border-radius: 5px 5px 5px 5px;
-moz-border-radius: 5px 5px 5px 5px;
-webkit-border-radius: 5px 5px 5px 5px;
border: 0px none #000000;
}
p.descripton {
    color: #34495E;
}
p.output {
    color: white;
    text-align: left;
    background-color:white;
    text-align: center;
border-radius: 5px 5px 5px 5px;
-moz-border-radius: 5px 5px 5px 5px;
-webkit-border-radius: 5px 5px 5px 5px;
border: 0px solid #000000;
}
p.input {
    color: white;
    text-align: left;
    background-color:#5581b5;
    text-align: center;
border-radius: 5px 5px 5px 5px;
-moz-border-radius: 5px 5px 5px 5px;
-webkit-border-radius: 5px 5px 5px 5px;
border: 0px solid #000000;
}
.scrollup { width: 70px; height: 50px; position: fixed; bottom: 0px; right: 0px; display: none; color: #ffffff;
}
.buttons {
    font-size:13px;
    background-color:#34495E;
    color:#ffffff;
    border:1px solid white;
    padding:0 15px;
    line-height:1.45;
    width:auto;
    cursor:pointer;  
    box-shadow:0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);  
}
.buttons:hover {
    background-color:#ffffff;
    color:#eb9316;
}
.buttons:active {
    background-color:#f1f1f1;
}
#main {
    background: white;
    border-radius: 0 0 2em 2em;
    z-index: 0;
    padding: .7em 2em;
    text-align: center;
}
#main a {
    color: #eb9316;
}
#main a:hover, #main a:active {
    color: #333;
}
#handle-wrapper {
    width: 40%;
    margin-left: 30%;
}
#handle {
    border: 2em white;
    border-style: solid solid none;
    border-radius: 2em 2em 0 0;
    height: 2em;
}
#lid {
    min-height: 2em;
    background: white;
    margin-bottom: .5em;
    border: 2em white;
    border-radius: 2em 2em 0 0;
    border-style: solid solid none;
}
#lock {
    background-color: #5581b5;
    position: absolute;
    left: 50%;
    width: 20%;
    margin-top: -1.5em;
    margin-left: -10%;
    height: 2.5em;
    border: 2em #eb9316;
    border-radius: 2em;
    z-index: 10;
}

#menubar {
    margin: -1.3em -1.5em 0;
    padding: 0 0 .8em;
    text-align: center;
}
#menubar li {
    display: inline;
    line-height: 1.7em;
}
#menubar a {
    color: inherit;
    text-decoration: none;
}
#menubar a:hover, #menubar a:active {
    color: #eb9316;
}

#banner {
    margin: 2em 0 1.5em;
}
#footer {
    text-align: center;
    color: white;
}
#footer a {
    color: white;
}
table.horizontal {
    margin-left: auto;
    margin-right: auto;
}
table.horizontal th {
    text-align: right;
    padding-right: .5em;
    font-weight: normal;
}
table.horizontal td {
    text-align: left;
}

textarea {
    width: 100%;
}

.disabled {
    color: GrayText;
}

/* jQuery */
.ui-wrapper {
        border: 1px solid black;
}
.ui-wrapper input, .ui-wrapper textarea {
        border: 0;
}
@media only screen and (max-width: 360px) {
    body {
        margin: 2em 1em;
    }
    #handle, #lock {
        display: none;
    }
    table.horizontal th, table.horizontal td {
        display: block;
        text-align: left;
    }
    table.horizontal input[type="text"],
    table.horizontal input[type="number"] {
        width: 100%;
    }
    ul {
        padding-left: 1em;
    }

}