﻿body{
    -webkit-text-size-adjust: 100%;
    color: #24292e;
    line-height: 1.5;
    font-family: -apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol;
    font-size: 16px;
    line-height: 1.5;
    word-wrap: break-word;
}

.container {
    --sidebar-width: 300px;
    --shared-max-width: 1300px;
}

.header__content {
    max-width: var(--shared-max-width);
    margin-left: auto;
    margin-right: auto;
}

.main {
    display: flex;
    max-width: var(--shared-max-width);
    margin-left: auto;
    margin-right: auto;
}

.sidebar {
    position: sticky;
    top: 40px;
    height: 100%;
    width: var(--sidebar-width);
    flex-grow: 0;
    flex-shrink: 0;
}

.content {
    margin-left: 50px;
    width: calc(var(--shared-max-width) - var(--sidebar-width) - 50px);
    flex-grow: 1;
    flex-shrink: 1;
}

.header{
    padding-bottom: 10px;
    padding-top: 10px;
    margin-bottom: 70px;
}

.header__content{
    position: relative;
}

.header a {
    text-transform: uppercase;
    -webkit-transition: 0.2s all;
    transition: 0.2s all;
}

.header a {
    font-family: 'Lato', sans-serif;
    font-weight: normal;
    color: #007bff;
    text-decoration: none;
    font-size: 15px;
}

.header .logo {
    width: 55px;
    background: url(../../Home/Desktop/img/logo.png);
    height: 40px;
    margin: 0;
    display: inline-block;
    background-size: contain;
}

.header .back-link{
    position: absolute;
    bottom: 0;
    right: 0;
}

.sidebar a{
    display: block;
    text-decoration: none;
    padding: 8px 0 8px 0;
    color: #0366d6;
}

.sidebar ul a.active{
    color: #24292e;
    border-left: 3px solid lightblue;
    margin-left: -20px;
    padding-left: 17px;
}

.sidebar a:hover{
    text-decoration: underline;
}

.sidebar ul{
    margin: 0;
    padding: 0;
}

.sidebar ul li{
    list-style: none;
}

.sidebar a.dropdown-btn{
    font-weight: bold;
    color: #24292e;
}

.sidebar a.dropdown-btn:hover
{
    text-decoration: none;
}

.back-to-index{
    margin-bottom: 30px;
    display: none;
}

.contact-us{
    margin-bottom: 30px;
    text-align: center;
}

.contact-us a.register{
    background-color: #56549F;
    border: 0;
    color: white;
    font-size: 16px;
    line-height: 20px;
    font-weight: 600;
    margin-bottom: 32px;
    text-align: center;
    border-radius: 24px;
    display: inline-block;
    text-decoration: none;
    padding: 11px 24px 13px;
}

.markdown-body{
    margin-bottom: 30px;
}

.back-to-index a{
    color: #0366d6;
    text-decoration: none;
}

.back-to-index a:hover{
    text-decoration: underline;
}

@media (max-width: 800px) {
    .sidebar{
        display: none;
    }
    .content {
        margin-left: 0;
        width: auto;
    }
    .back-to-index{
        display: block;
    }
}