@font-face {
     font-family: MyDejavuLight;
     src: url('/static/fonts/DejavuSansLight.ttf');
}

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

html {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: "Lucida grande", "MyDejavuLight", "Dejavu Sans Light", "Droid Sans", Helvetica, Arial, sans-serif;
    font-weight: normal;
    font-size: 95%;
}

input, button, textarea, select {
    font-family: "Lucida grande", "MyDejavuLight", "Dejavu Sans Light", "Droid Sans", Helvetica, Arial, sans-serif;
    font-weight: normal;
    font-size: 95%;
    color: black;
}

input[type=text],
input[type=password],
input[type=email],
input[type=file],
input[type=number],
input[type=checkbox],
select,
textarea {
    border: 1px solid #0B1211;
    border-radius: 2px;
    padding: 0.3rem;
}

/* colors
 * blue #246DBD
 * gray #AAAAAA
 * dark-gray #0B1211
 */

body {
    height: 100%;
    margin: 0;
    padding: 0;
    background: #F9F9F9; /* Old browsers */
    background: -moz-radial-gradient(center, ellipse cover, rgba(255,255,255,1) 0%, rgba(240,240,240,1) 91%); /* FF3.6+ */
    background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(0%,rgba(255,255,255,1)), color-stop(91%,rgba(240,240,240,1))); /* Chrome,Safari4+ */
    background: -webkit-radial-gradient(center, ellipse cover, rgba(255,255,255,1) 0%,rgba(240,240,240,1) 91%); /* Chrome10+,Safari5.1+ */
    background: -o-radial-gradient(center, ellipse cover, rgba(255,255,255,1) 0%,rgba(240,240,240,1) 91%); /* Opera 12+ */
    background: -ms-radial-gradient(center, ellipse cover, rgba(255,255,255,1) 0%,rgba(240,240,240,1) 91%); /* IE10+ */
    background: radial-gradient(ellipse at center, rgba(255,255,255,1) 0%,rgba(240,240,240,1) 91%); /* W3C */
}

h1 {
    font-size: 165%;
    font-weight: 900;
    margin-top: 0.8rem;
    margin-bottom: 1.2rem;
}

h2 {
    font-size: 130%;
    font-weight: 700;
    margin-top: 1.5rem;
    margin-bottom: 1.0rem;
}

h3 {
    font-size: 120%;
    font-weight: 700;
}

a {
    text-decoration: underline;
    color: #246DBD;
}

a:hover {
    text-decoration: none;
}

table {
    border-collapse: collapse;
}

.center {
    text-align: center;
}

#header {
    width: 100%;
    margin-top: -6rem;
    text-align: center;
    border-bottom: 3px solid #246DBD;
}

#header-top {
    width: 100%;
    height: 5.5rem;
    padding: 0;
    background: #0B1211 url('/static/images/header_carbon.png') no-repeat center center;
    text-align: center;
}

#header-center {
    width: 950px;
    height: 100%;
    margin: 0 auto;
    color: white;
    text-align: left;
    padding: 0 2rem;
    position: relative;
    overflow: hidden;
}

#logo-bundle {
    position: absolute;
    top: 50%;
    margin-top: -2.5rem;
}

#header-top img {
    height: 35px;
    margin-top: 0.8rem;
}

#header-top p {
    font-size: 70%;
    font-weight: 900;
    margin: 0;
    padding: 0;
    text-align: center;
}

#main-menu {
    position: absolute;
    bottom: 0;
    right: 0;
    height: 1.8rem;
    margin: 0 1.5rem 0 0;
    padding: 0 1rem;
    box-sizing: content-box;
}
#main-menu ul {
    clear: left;
    float: left;
    left: 50%;
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
    text-align: center;
    color: white;
}

#main-menu li {
    display: block;
    float: left;
    height: 1.8rem;
    position: relative;
    right: 50%;
    margin: 0 0.15rem;
    border: 1px solid silver;
    border-bottom: inherit;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
}

#main-menu .active a {
    color: #66CEF5;
}

#main-menu li a {
    display: inline-block;
    width: 100%;
    height: 100%;
    line-height: 1.8rem;
    color: white;
    font-weight: bold;
    text-decoration: none;
    background: #0B1211;
    padding: 0 1rem;
    border-right: 1px solid black;
}

#main-menu li a:hover {
    background-color: #4D78AC;
}

#main-menu .active a:hover {
    color: #0B1211;
}

#logout {
    position: absolute;
    height: 2rem;
    right: 0;
    top: 50%;
    margin-top: -2rem;
    margin-right: 1.5rem;
}

#logout a {
    color: white;
    font-size: 80%;
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
    vertical-align: center;
    background-color: #AF0000;
    border-radius: 4px;
    padding: 0.3rem 0.45rem;
}

#outer-wrapper {
    width: 100%;
    min-height: 100%;
    margin: 0;
}

#wrapper {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    padding-top: 6rem;
    padding-bottom: 3.5rem;
}

#column {
    height: 100%;
    text-align: center;
    position: relative;
}

#page-wrapper {
    width: 950px;
    margin: 0 auto;
    min-height: 100%;
    border-left: 1px solid #AAAAAA;
    border-right: 1px solid #AAAAAA;
    border-bottom: 1px solid #AAAAAA;
    background-color: white;
}

#page {
    padding: 1rem 0;
    text-align: left;
    position: relative;
}

#side-offset {
    padding: 0 2rem;
    position: relative;
}

#footer {
    display: table;
    text-align: right;
    width: 100%;
    margin-bottom: -3.5rem;
    height: 3.5rem;
}

#footer-center {
    width: 950px;
    margin: 0 auto;
    display: table;
}

#footer-left {
    display: table-cell;
    width: 50%;
}

#footer-right {
    display: table-cell;
    width: 50%;
}

#footer-center p {
    padding-top: 1rem;
    margin: 0 2rem 0 auto;
    font-size: 80%;
}

.ui-tooltip-content p {
    padding: 0;
    margin: 0.1rem 0 0.5rem 0;
}