html {
    font-family: sans-serif;
    font-size: 100%;
    -webkit-font-smoothing: antialiased;
}

html, body {
    margin: 0;
    padding: 0;
    outline: 0;
    border: 0;
    width: 100%;
    height: 100%;
}

body {
    line-height: 1;
    font-size: 100%;
    vertical-align: baseline;
    color: #4B4B4B;
}

.lang-dropdown {
    color: #EDEDED;
    cursor: default;
    position: relative;
}

.lang-dropdown a {
    cursor: pointer;
}

.lang-dropdown .globe {
    display: inline-block;
    width: 16px;
    height: 16px;
    margin: -2px 5px 0 0;
    vertical-align: top;
    background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAQAAAC1+jfqAAABFklEQVQoz13RMUgbUBSF4duCg4MmQQK6FbQ4d3Ps6uQQBRdp0U5uxdCAiF1aLBQLLQjilEWcAkJALbWtg1tBKAh2ERxiwQSFDm6az8EXk+Zs79yf+945LyJJ1rJvaq4c+OxZ/C8DJqwqWnIIbnzR3w2VVLxwCa6dGe4GMkYU/ARHZj3pBvpUNdyCdTPWTHkUnnsaIWvIjrYWDHtpw9uwoiznr0bHuOxxe/F3bHnll1PNBJQ6b/6RzB098jZBzaR5g/fAxwQsRkTo99pJcubugel0/KM37awkp9qq+DwZexERRlNVfG29YjwZxxERfj9kudbXQj6Bf3Led4TdlWlnKahjzEUaNr3r6CIiQt4bH+yr21Zsf/cd+nQr23neGI8AAAAASUVORK5CYII=) no-repeat;
}

.lang-dropdown ul {
    position: absolute;
    right: 0;
    top: 0;
    list-style: none;
    width: 140px;
    font: bold 12px sans-serif;
    overflow: hidden;
    max-height: 0px;
    -webkit-transition: max-height 0.4s linear;
    -moz-transition: max-height 0.4s linear;
    transition: max-height 0.4s linear;
}
.lang-dropdown:hover ul {
    max-height: 200px;
}
.lang-dropdown ul.up {
    top: auto;
    bottom: 20px;
}

.lang-dropdown li {
    background-color: #313131;
    position: relative;
    line-height: 24px;
    vertical-align: middle;
}
.lang-dropdown li:hover {
    background-color:#444;
}
.lang-dropdown li:first-child {
    border-radius: 3px 3px 0 0;
    margin-top: 20px;
}
.lang-dropdown li:first-child:before {
    content:'';
    position: absolute;
    width: 1px;
    height: 1px;
    border: 5px solid transparent;
    border-bottom-color: #313131;
    left: 50%;
    top: -11px;
    margin-left: -5px;
}
.lang-dropdown li:last-child {
    border-radius: 0 0 3px 3px;
}
.lang-dropdown .up li:first-child {
    margin-top: 0px;
}
.lang-dropdown .up li:last-child {
    margin-bottom: 15px;
}
.lang-dropdown .up li:last-child:after {
    content:'';
    position: absolute;
    width: 1px;
    height: 1px;
    border: 5px solid transparent;
    border-top-color: #313131;
    left: 50%;
    bottom: -11px;
    margin-left: -5px;
}

.lang-dropdown li > a,
.lang-dropdown li > span {
    padding: 12px;
    color: #fff !important;
    text-decoration: none !important;
    display: block;
}

.lang-dropdown span.shorthand {
    background: #282828;
    width: 24px;
    height: 24px;
    display: inline-block;
    line-height: 24px;
    text-align: center;
    margin: 0 6px;
}

article > *,
.container {
    position: relative;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 50px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 1.5rem;
    margin-bottom: 0;
    line-height: 1.5rem;
    color: #363636;
}
h1 {
    font-size: 2rem;
    line-height: 3.5rem;
    margin-top: 2.5rem;
}
h2 {
    font-size: 1.7rem;
    line-height: 3rem;
    margin-top: 2rem;
}
h3 {
    font-size: 1.3rem;
}
h4 {
    font-size: 0.707rem;
}
h5 {
    font-size: 0.4713333333333333rem;
}
h6 {
    font-size: 0.3535rem;
}
h2 + h3 {
    margin-top: 0.3rem;
}

main {
    background: #FFF;
    width: 100%;
    position: relative;
    padding: 50px 0;
}

p, ul, ol {
    line-height: 1.5rem;
    margin-top: 0.5rem;
    margin-bottom: 0;
}
ul li,
ol li {
    margin-left: 25px;
    line-height: 1.5rem;
}
ul ul,
ol ul,
ul ol,
ol ol {
    margin-top: 0;
    margin-bottom: 0;
}

hr {
    border: 0;
    height: 1px;
    background: #363636;
    margin: 15px 0;
}

blockquote {
    line-height: 1.5rem;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

table {
    margin-top: 1.5rem;
    border-spacing: 0px;
    border-collapse: collapse;
}
table td,
table th {
    padding: 0;
    line-height: 33px;
}

code {
    vertical-align: bottom;
}

a {
    color: #3273dc;
    cursor: pointer;
    text-decoration: none;
}

a:hover, a:active {
    text-decoration: underline;
}

footer {
    background: #363636;
    position: relative;
}

footer .editPage {
    float: left;
    padding: 15px;
    margin-right: -100px;
}

footer .editPage a {
    background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAANlBMVEUAAADv7+/v7+/v7+/v7+/s7Ozs7Ozt7e3t7e3t7e3s7Ozs7Ozs7Ozs7Ozt7e3t7e3t7e3t7e3ECRl9AAAAEXRSTlMAECAwQFBgkJ+gr7C/wNDv8A/g33EAAABLSURBVHjarchBAoAgDAPBUCqISjX//6xyMnh2bztIGw+DtJMNSWB8OfML/XlSxMZPki5+JP8p4R0qsaCZigNeIdJXR0CzGiyYK+0GziYE48hUzCUAAAAASUVORK5CYII=) no-repeat;
    padding-left: 20px;
}

footer a {
    color: #EDEDED;
}

footer .container {
    padding: 15px;
    text-align: center;
}

footer .lang-dropdown {
    position: absolute;
    right: 20px;
    bottom: 14px;
}