header[block] {
    color: var(--color);
    padding: 20px var(--_p);
    margin: 0 auto;
    position: sticky;
    top: 0;
    background: var(--head);
    z-index: 999;
    /*text-align: center;*/
    user-select: none;
    height: 80px;
}

header[block] > * {
    text-align: left;
}

header a:not([raw]) {
    text-decoration: none;
    color: var(--color);
    font-weight: 600;
    padding: 10px;
    transition: all .2s;
}

header a:not([raw]):hover {
    color: var(--accent);
}

header a {
    padding: 10px 12px;
    text-transform: uppercase;
}

#logo {
    margin-right: 40px;
}

header a:hover {
    color: #666;
}

.dot {
    height: 12px;
    width: 12px;
    display: inline-block;
    border-radius: 100%;
    vertical-align: -6px;
}

#lang {
    margin-left: 190px;
    display: inline-block;
    cursor: pointer;
    vertical-align: -2px;
}

.lang-holder {
    width: 30px;
    height: 30px;
    display: inline-block;
    border-radius: 100%;
    vertical-align: 4px;
    background-position: center;
}

header[highlighted*="/framework"] a[href*="/framework"] {
    color: var(--primary);
}


.styles-on #theme img {
    transform: rotate(180deg);
}

.selector {
    position: absolute;
    background: white;
    margin-left: -40px;
    margin-top: 25px;
    border-radius: 10px;
    overflow: hidden;
    transition: all .3s;
    max-height: 0px;
    opacity: 0;
}

.styles-on #theme_selector, .lang-on #lang_selector {
    margin-top: 35px;
    max-height: 400px;
    opacity: 1;
}

#lang_selector {
    margin-top: 52px;
    margin-left: -120px;

}

.lang-on #lang_selector {
    margin-top: 62px;
}

#lang_selector .lang-holder {
    vertical-align: -10px;
}

.selector .theme a {
    width: 145px;
    display: inline-block;
}

.selector .lang a {
    display: inline-block;
    width: 115px;
}

#theme_selector .theme, #lang_selector .lang {
    display: block;
    padding: 3px 30px 3px 15px;
    transition: all .2s;
}

#lang_selector .lang {
    padding: 10px 30px 10px 30px;

}

#theme_selector .theme:hover, #lang_selector .lang:hover {
    background: #ddd;
    color: black !important;
}

#theme_selector .theme a:hover, #lang_selector .lang a:hover {
    color: black;
}

#head_content {
    margin-left: 20px;
    float: right;
}

#header_langs, #menu_button {
    display: inline-block;
    text-transform: uppercase;
    margin: -20px 0 -20px 15px;
    padding: 28px 20px;
    background: var(--accent);
    vertical-align: 0px;
    font-weight: 500;
    transition: .2s;
}

#header_langs:hover, #menu_button:hover {
    background: var(--accent-dark);
    cursor: pointer;
}

#header_langs > img, #menu_button > img {
    margin-left: 8px;
    display: inline-block;
    vertical-align: 2px;
}

body.lang_on {

}

#header_langs > img, #menu_button > img {
    transition: all .2s;
}

body.lang_on #header_langs > img {
    transform: rotate(180deg);
}

#other_langs {
    position: absolute;
    width: 83px;
    top: 80px;
    margin-left: -20px;
    background: #841f0c /*88*/;
    max-height: 0;
    overflow: hidden;
    transition: .2s;
}

.lang {
    padding: 15px 10px;
}

.lang_on #other_langs {
    max-height: 140px;
    padding: 15px 0;
}

#other_langs .lang {
    color: #ddd; /*#cd4b31;*/
}

#other_langs .lang:hover {
    color: white; /*#cd4b31;*/
    background: var(--accent);
}

#head_links_inner a.on {
    transition: color 0s;
    color: var(--accent);
}
