:root {
    --i2poffblack: #070425;
    --i2poffwhite: #f6f6fa;
    --i2ppurple: #222187;
    --i2pmidblue: #265ea7;
    --i2plightblue: #9dabd5;
    --i2pdarkblue: #2d4470;
    --i2plightgreen: #709fa6;
    --i2pctablue: #00ffff;
    --i2pgrey: #333333;
    --i2pbggrey: #9e9e9e;
    --i2pcharcoal: #4c4c4c
}

body {
    padding-top: 0.625em;
}

div#topbar {
    margin: 0.625em auto 0;
}

div#topbar #logo img:hover {
    filter: alpha(opacity=60);
    -moz-opacity: 0.6;
    opacity: 0.6;
}

div#topbar .title {
    /*position: absolute;*/
    top:0;
    right:0;
    line-height:41px;
    vertical-align:middle;
    /*max-width: 70%;*/
    text-align: right;
}

div#topbar .languages {
    display: none
}

div.navigation {
    position: relative
}

ul.languages {
    margin: 0 2px !important
}

ul.languages li {
    display: inline;
    margin: 0 -2px !important;
}

.langname {
    display: block;
    right: 0;
    text-align: center;
    top: 4em;
    z-index: 1;
    min-width: 4rem;
}

#cssmenu img {
    display: none;
}

/* Dropdown menu CSS */

menu ul,
#cssmenu li,
#cssmenu span,
#cssmenu div.menuitem {
    margin: 0;
    padding: 0;
    position: relative;
    display: block;
}
/*
#cssmenu span.donateitem {
    background-color: #60ab60;
    border-color: #60ab60;
    border-radius: 15%;
    padding-left: 10px;
    padding-right: 10px;
    border-style: ridge;
    border-width: 5px;
    display: inline;
}
*/
#cssmenu span.browseritem {
    font-weight: bold;
}

#cssmenu span.donateitem:hover {
    box-shadow: inset 0 0 500px 500px rgba(255, 255, 255, 0.5);
}

#cssmenu {
    height: 40px
}

#cssmenu:after,
#cssmenu ul:after {
    content: '';
    display: block;
    clear: both;
}

#cssmenu div.menuitem {
    color: var(--i2pcharcoal);
    display: inline-block;
    font-family: "URW Gothic L", "Century Gothic", sans-serif;
    font-size: 1.25em;
    font-weight: bold;
    text-shadow: 1px 1px 1px rgba(100,20,20,.2);
    line-height: 40px;
    padding: 0 10px;
    text-decoration: none;
}

#cssmenu ul {
    list-style: none;
}

#cssmenu > ul {
    float: left;
    padding: 0 10%;
}

#cssmenu > ul > li {
    float: left
}

#cssmenu > ul > li.right {
    position: absolute;
    right: 10%;
}

#cssmenu > ul > li:hover:after {
    content: '';
    display: block;
    width: 0;
    height: 0;
    position: absolute;
    left: 50%;
    bottom: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid var(--i2pcharcoal);
    margin-left: -10px;
}

/**#4456B7*/

#cssmenu > ul > li > div.menuitem {
    border-radius: 5px 5px 0 0;
    -moz-border-radius: 5px 5px 0 0;
    -webkit-border-radius: 5px 5px 0 0;
}

#cssmenu > ul > li.active > div.menuitem {
    box-shadow: inset 0 0 3px #000000;
    -moz-box-shadow: inset 0 0 3px #000000;
    -webkit-box-shadow: inset 0 0 3px #000000;
    background: #070707;
    background: -moz-linear-gradient(top, #26262c 0%, #070707 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #26262c), color-stop(100%, #070707));
    background: -webkit-linear-gradient(top, #26262c 0%, #070707 100%);
    background: -o-linear-gradient(top, #26262c 0%, #070707 100%);
    background: -ms-linear-gradient(top, #26262c 0%, #070707 100%);
    background: linear-gradient(to bottom, #26262c 0%, #070707 100%);
    filter: progid:DXImageTransform.Microsoft.Gradient(StartColorStr='#26262c', EndColorStr='#070707', GradientType=0);
}

#cssmenu .has-sub {
    z-index: 1
}

#cssmenu .has-sub:hover > ul, #cssmenu .has-sub:active > ul {
    display: block
}

#cssmenu .has-sub ul {
    display: none;
    position: absolute;
    width: 200px;
    top: 100%;
    left: 0;
}

#cssmenu .has-sub ul li {
    border-left: 1px #363A68;
}

#cssmenu .has-sub ul li.has-sub > div.menuitem:after {
    content: "►";
    color: rgba(255,255,255,.5);
    float: right;
    position: relative;
    bottom: 16px;
}

#cssmenu .has-sub ul li div.menuitem {
    background:#363A68;
    border-bottom: 1px solid #ECF3FF;
    color: #FFFAF0;
    font-size: 9pt;
    display: block;
    line-height: 120%;
    padding: 10px;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease 0s;
}

#cssmenu .has-sub ul li div.menuitem:hover .langname {
    display: block
}

#cssmenu .has-sub ul li:hover > div.menuitem,
#cssmenu .has-sub ul li:hover > a > div.menuitem {
    background: var(--i2pbggrey);
}

#cssmenu .has-sub .has-sub:hover > ul {
    display: block
}

#cssmenu .has-sub .has-sub ul {
    display: none;
    position: absolute;
    left: 100%;
    top: 0;
}

#cssmenu .has-sub .has-sub ul li:first-child {
    border-left: none
}

/* End of dropdown menu CSS */

/**
 * The .main class is for content wrapper on the home page (with the big banner)
 */

div#content .main {
    padding: 4em 10% 4em 50%;
}

.main img {
    position: absolute;
}

.main img.routerconsole {
    left: 10%;
    max-height: 70%;
    max-width: 35%;
    top: 10%;
}

.main img.android {
    left: 35%;
    max-height: 60%;
    max-width: 10%;
    top: 30%;
}

.main img.home_splash_image {
  left: 10%;
  max-height: 100%;
  max-width: 40%;
  top: 0%;
}

.main .get-i2p {
    margin-top: 1em;
    max-width: 50%;
}

.main .get-i2p:hover {
    box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.3), inset 0 -2.2em 2.2em rgba(255, 255, 255, 0.3), inset .2em .5em 1em 0em rgba(0,0,0,.3)
}

div#content .aside {
    width: 30.9%;
    margin-left: 3%;
    font-size: 0.875rem;
}

div#content .aside:first-child {
    margin-left: 0%
}

/**
 * The .inner class is for the content wrapper on inner pages (as opposed to the home page)
 */

.inner .fluid img {
    max-width: 80%;
    margin-left: 10% !important;
    margin-right: 10%;
    box-shadow: 2px 2px 5px #265ea7;
}

div#content .inner .fluid {
    background-repeat: repeat-y;
    border-left: 1px solid #4456B7;
    margin-left: 0.625rem;
}

div#content .inner .sidebar {
    border-right: 1px solid #4456B7;
    border-bottom: 1px solid #4456b7;
    float: left;
    width: 250px;
}

div#content .inner .sidebar, div#content .inner .sidebar > nav {
    border-radius: 0 0 10px 0;
}

div#content .content-inner {
    margin-left: 22%;
    padding-right: 4em;
}

div#content > .title {
    display: none
}

/* CSS for downloads list */

.package {
    overflow: hidden
}

.package .os {
    float: left;
    width: 20%;
}

.package .details {
    float: right;
    width: 78%;
}

.file {
    float: left;
    width: 100%;
}

.file .default {
    clear: left;
    border-radius: 5px;
    float: left;
    max-width: 67%;
    background-color: #60ab60;
    color: #FFFAF0;
}

.file .mirrors,
.file .sig {
    clear: right;
    float: right;
    width: 25%;
    background-color: #3C468A;
    color: #FFFAF0;
}

.file .mirrors {
    border-radius: 5px 5px 0 0;
}

.file .sig {
    border-radius: 0 0 5px 5px;
}

.file > a:hover {
    box-shadow: 1px 1px 1px 1px rgb(51, 51, 51) inset
}

.details > div,
.details > p,
.details > ol {
    clear: both
}

.filedownload {
    margin-left: 29%
}

/* End of downloads list CSS */

#global-footer .aside {
    width: 15%;
    margin-left: 1%;
}

#global-footer .aside.first {
    margin-left: 0
}

#global-footer .aside.third,
div##global-footer .aside.fifth {
    margin-left: 2.5%
}

#footermenu ul {
    list-style: none;
}

#footermenu div.footeritem {
    color: #FFFAF0;
    display: inline-block;
    font-family: "URW Gothic L", "Century Gothic", sans-serif;
    font-size: 1.25em;
    font-weight: bold;
    text-shadow: 1px 1px 1px rgba(100,20,20,.2);
    line-height: 40px;
    padding: 0 10px;
    text-decoration: none;
}
