
html {
    font-size: 100%;
}

@media (min-width: 640px) { body {font-size:1rem;} }
@media (min-width:960px) { body {font-size:1.2rem;} }
@media (min-width:1100px) { body {font-size:1.2rem;} }

body {
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.06);
    color: #fff;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    line-height: 1.3;
    background-image: url("/static/bg3.png");
    background-repeat: no-repeat;
    background-position-x: 50%;
    background-position-y: 100px;
    background-color: #121212;
    padding: 10px;
}
	
h1 {
	margin-top: 0;
    border-bottom: 1px solid #bf0505;
    padding-bottom: 3px;
	font-size: 1.4em;
	color: #bf0505;
    text-align: center;
}
	
a {
    color: #bf0505;
    text-decoration: none;
}

a:hover {
	text-decoration: none;
}

#wrap {
	margin: auto;
	max-width: 950px;
}

#main {
    margin: auto;
    display: flex;
    background: #222222;
    border: 3px solid #bf0505;
    border-radius: 5px;
    width: 100%;
    box-sizing: content-box;
}

#header {
    margin-bottom: 5px;
    width: 100%;
}

#header img {
	border: 3px solid #bf0505;
    border-radius: 5px;
    width: 100%;
}

#footer {
	margin: auto;
	display: block;
	padding-top: 1.0em;
}

#navctr {
	border-right: 3px solid #bf0505;
	min-width: 110px;
	max-width: 135px;
    background-color: #181818;
    font-size:0.9rem;
}

.navitem {
	width: 100%;
	padding: 7px;
	margin: 0px;
	box-sizing: border-box;
	border-bottom:  3px solid #414141;
}

.navitem:hover {
	border-bottom: 3px solid #bf0505;
    transition-duration: 1s;
}

.navitem.active {
    border-bottom: 3px solid #F63B31;
    width: 100%;
    padding: 7px;
    font-weight: bold;
    margin: 0px;
    box-sizing: border-box;
}

.infobox {
	padding: 8px;
	background-color: #3b3b3b;
	border: 2px solid #fff;
	width: 100%;
	box-sizing: border-box;
}
	
#content {
	padding: 1em;
    overflow: hidden;
}

.ma-top-10 {
    margin-top: 10px;
}

.ma-center-hor {
    margin-left: auto;
    margin-right: auto;
}
	
.previewimg {
    border: 10px solid rgba(0, 0, 0, 0.12);
    max-width: 90%;
    height: auto;
}

.previewimg img {
    border-radius: 5px;
    width: 100%;
    height: auto;
}

.red-button {
    box-shadow:inset 0px 1px 0px 0px #cf866c;
    background:linear-gradient(to bottom, #BF0505 5%, #670000 100%);
    background-color:#BF0505;
    border-radius:3px;
    border:1px solid #670000;
    display: block;
    cursor:pointer;
    color:#ffffff;
    padding:10px 10px;
    text-decoration:none;
    text-shadow:0px 1px 0px #854629;
    width: 100%;
    box-sizing: border-box;
    transition-duration: 500ms;
    transition-property: background;
}
.red-button:hover {
    background:linear-gradient(to bottom, #F63131 5%, #670000 100%);
    background-color:#BF0505;
}
.red-button:active {
    position:relative;
    top:1px;
}

.margin-top {
    margin-top: 1rem;
}

select {
    width: 100%;
    padding: 10px;
    background-color: #121212;
    color: #fff;
    outline: 0;
    border: 2px solid #670000;
    font-size: 1em;
    margin-bottom: 1em;
}

#changelog {
    margin-top: 10px;
    font-family: 'Courier New', Courier, monospace;
    background-color: #1a1a1a;
    padding: 15px;
    font-size: 0.8em;
    border: 1px dotted #565656;
}
