body {
    font-family: 'Calibri', 'Verdana', 'Tahoma', sans-serif;
    background-color: #bbb;
    color: #000;
    line-height: 150%;
    margin: 25px 30px;
}

a {
    color: #06f;
    text-decoration: none;
}

img {
    border: 0px;
}

nav {
    float: right;
}

nav #menu-button {
    float: right;
    cursor: pointer;
}

nav #menu-button div {
    width: 24px;
    height: 4px;
    background-color: #fff;
    border: 1px solid #000;
    margin: 2px 0px;
}

nav ul {
    display: none;
    list-style: none;
    border: 1px solid #000;
    margin: 26px 0px 0px 0px;
    position: absolute;
    background-color: #fff;
    padding: 10px;
    right: 30px;
    z-index: 1;
}

nav a {
    display: block;
}

h1, h2 {
    font-size: 150%;
}

header {
    color: #fff;
}

header h1,
header p,
.portal-box p {
    padding: 0px;
    margin: 0px;
}

.portal-box,
.setup-box {
    background-color: #fff;
    margin-top: 13px;
    border: solid 1px #000;
    padding: 10px;
}

.portal-box {
    position: relative;
    margin-right: 13px;
    width: 365px;
    float: left;
    height: 175px;
}

.portal-box h2 {
    margin: 0px;
    font-weight: normal;
}

.portal-box h2 a {
    color: inherit;
}

.portal-box h2 img {
    float: right;
    margin-left: 10px;
    margin-bottom:10px;
    width: 100px;
    height: 100px;
}

.portal-box ul {
    margin: 0px;
    padding-left: 30px;
}

.portal-box:last-child:after {
    clear: both;
}

.portal-box-double-width {
    width: 765px;
}

.ico {
    margin-right: 5px;
    width: 20px;
    height: 20px;
    vertical-align: top;
}

.setup-box h2 {
    margin-top: 0px;
}

.setup-box input[type="text"],
.setup-box input[type="password"],
.setup-box input[type="submit"],
.setup-box input[type="button"],
.setup-box input[type="file"],
.setup-box select {
    box-sizing: border-box;
    width: 180px;
}

.setup-box table {
    border-collapse: collapse;
}

.setup-box thead {
    font-weight: bold;
}

.setup-box td {
    padding: 1px 10px;
    vertical-align: top;
}

.setup-box td:first-child {
    white-space: nowrap;
}

.setup-box .remark {
    color: #999;
    font-size: 80%;
    font-style: italic;
    line-height: 125%;
    padding-top: 5px;
    margin-top: 0px;
}

.setup-box #ssh-keys {
    min-height: 100px;
    width: 99%;
}

.setup-box #vpn-peers {
    min-height: 180px;
    width: 100%;
}

.setup-box #vpn-lip {
    width: 40px;
}

.setup-box #vpn-pubkey {
    width: 360px;
    font-family: monospace;
}

#app-manager {
    table-layout: fixed;
}

.center {
    text-align: center;
}

.error {
    color: #c00;
    font-weight: bold;
}

.info {
    color: #090;
    font-weight: bold;
}

.loader-wrap {
    display: none;
}

.loader-wrap span:after {
    clear: both;
    content: '';
    display: table;
}

.loader {
    float: left;
    width: 14px;
    height: 14px;
    border: 5px solid #eee;
    border-top: 5px solid #fa3;
    border-radius: 50%;
    margin-right: 5px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
