@font-face {
    font-family: "proxima nova";
    font-weight: 300;
    src: url(../fonts/ProximaNova-Regular.ttf);
}

@font-face {
    font-family: "proxima nova";
    font-weight: 500;
    src: url(../fonts/ProximaNova-Semibold.ttf);
}

* {
    margin: 0px;
    padding: 0px;
}

body {
    width: 100%;
    overflow-x: hidden;
}

.header {
    height: 10vh;
    background-color: #000;
    color: yellow;
    padding: 30px 0 10px 50px;
}

.main {
    max-width: 1100px;
    display: flex;
    margin: 0 auto;
    padding-top: 40px;
    position: relative;
}

.sidebar {
    width: 246px;
    max-height: 90vh;
}

.content {
    width: 75%;
    padding-left: 40px;
    position: relative;
}

.sidebar-link {
    color: #666; 
    font-size: 13px;
    font-weight: 300;
    font-family: proxima nova;
    text-decoration: none;
    line-height: 25px;
}

.menu {
    list-style-type: none;
    overflow: hidden;
}

.menu:hover {
    overflow-y: scroll;
}

.menu li {
    width: 246px;
    height: 25px;
    padding-left: 10px;
    margin-bottom: 5px;
    border: none;
    border-radius: 4px;
    transition: background 0.5s ease;
}

.menu li:hover {
    background-color: rgb(246, 248, 250);
}

.menu li:hover .sidebar-link {
    color: #242424;
}

.menu li.active {
    background-color: #000;
}

.menu li.active:hover .sidebar-link{
    color: white;
}

.menu li.active > a {
    color: #fff;
}

::-webkit-scrollbar-button {
    background-image:url('');
    background-repeat:no-repeat;
    width:5px;
    height:0px
    }
    
    ::-webkit-scrollbar-track {
    background-color:#EDECEC;
    border-radius: 5px;
    }
    
    ::-webkit-scrollbar-thumb {
    -webkit-border-radius: 0px;
    border-radius: 5px;
    background-color:#C4C4C4;
    }
    
    ::-webkit-resizer{
    background-image:url('');
    background-repeat:no-repeat;
    width:7px;
    height:0px
    }
    
    ::-webkit-scrollbar{
    width: 7px;
}

.mobile-menu {
    width: 200px;
    height: 30px;
    background-color: white;
    display: none;
}

/*code-block*/

.section-code-block {
    width: 100%;
    background-color: #f8f9fa;
    border: 1px solid #eaecf0;
}

.section-big-code-container > .section-code-block {
    display: none;
    margin-top:0;
} 

.big-code-container-header {
    background-color: #ebedef;
    width: calc(100% + 2px);
    height: 20px;
}

.big-code-container-button {
    width: 100px;
    height: 20px;
    border: 1px solid rgb(248, 182, 49);
    background-color: rgb(246, 248, 250);
    border-radius: 3px;
    color: #666; 
    font-size: 13px;
    font-weight: 300;
    font-family: proxima nova;
    cursor: pointer;
    outline: none !important;
}

/*article*/

.title-section-main {
    font-weight: 600;
    color: #384248;
    font-size: 30px;
    line-height: 30px;
    font-family: proxima nova;
}

.section-header {
    padding: 0 10px 30px 0;
    border-bottom: 1px solid #eee;
    margin-bottom: 30px;
}

.section-paragraph-title {
    font-weight: 300;
    color: rgb(76, 85, 90);
    font-size: 20px;
    line-height: 20px;
    font-family: proxima nova;
    margin-bottom: 15px;
}

.section-paragraph-subtitle {
    font-size: 18px;
    line-height: 18px;
    font-family: proxima nova;
    margin-bottom: 10px;
    color: rgb(76, 85, 90);
    font-weight: 300;
}

section {
    margin-bottom: 30px;
}

.section-paragraph-line {
    color: rgb(76, 85, 90);
    font-size: 16px;
    font-family: proxima nova;
    font-weight: 300;
}

.bold {
    font-weight: bold;
}

.section-paragraph-list {
    margin-left: 20px;
    margin-bottom: 20px;
    margin-top: 20px;
    list-style: none;
}

.section-paragraph-list li::before {
    content: url('/images/arrow-right.svg');
    width: 10px;
    height: 10px;
    margin-right: 5px;
}

.inner li {
    color: rgb(76, 85, 90);
    font-size: 16px;
    font-family: proxima nova;
    font-weight: 300;
}

.section-paragraph-link {
    color: #f8b631;
}

.section-paragraph-ab {
    color: rgb(76, 85, 90);
    font-size: 16px;
    font-family: "proxima nova";
    font-weight: 300;
    margin-bottom: 10px;
    margin-top: 20px;
}

ol {
    color: rgb(76, 85, 90);
    font-size: 16px;
    font-family: "proxima nova";
    font-weight: 300;
    margin-left: 30px;
    margin-bottom: 20px;
}

.section-paragraph-descr {
    color: rgb(76, 85, 90);
    font-size: 14px;
    font-family: "proxima nova";
    font-weight: 300;
    margin-bottom: 20px;
}

.section-paragraph-code-desc {
    color: black;
    font-family: "proxima nova";
    font-weight: bold;
    margin-bottom: 10px;
}

/*warning block*/

.warning {
    background-color: #f2dede;
    color: #a94442;
    border: 1px solid #ebccd1;
    padding: 20px 10px 10px 25px;
    font-size: 16px;
    font-family: proxima nova;
    font-weight: 300;
}

.warning li {
    color: #a94442;
    font-size: 16px;
    font-family: proxima nova;
    font-weight: 300;
}

/*article menu*/

.article-menu {
    width: 65%;
    background-color: f7f6f8;
    padding: 10px 0 10px 20px; 
}

.article-menu-title {
    color: black;
    font-family: "proxima nova";
    font-weight: bold;
    margin-bottom: 15px;
    font-size: 16px;
    cursor: pointer;
}

.article-menu-container {
    display: flex;
    flex-direction: column;
}

.article-menu-item {
    color: black;
    font-family: "proxima nova";
    font-weight: 300;
    margin-bottom: 5px;
    font-size: 14px;
    text-decoration-color: rgb(248, 182, 49);
}

.article-menu-arrow {
    margin-left: 20px;
    cursor: pointer;
}

/*preloader*/

.preloader {
    width: 40px;
    height: 40px;
    position: fixed;
    z-index: 100000;
    width: 100%;
    height: 100%;
    background-color: white;
}

.preloader img {
    width: 40px;
    height: 40px;
    opacity: 0.4;
}

.loaded_hiding .preloader {
    transition: 0.3s opacity;
    opacity: 0;
  }
  
.loaded .preloader {
    display: none;
}


.section-code-block-new{
    font-family: monospace;
    font-size: 14px;
    line-height: 1.4em;
    height: auto;
    width: 100%;
    overflow-x: hidden;
}

.section-code-block-new-body{
    position: relative;
    overflow: hidden;
}
.section-code-block-new-elem{
    position: relative;
    height: auto;
    /* height: 19px; */
    background: #fafafa;
    z-index: 1;
    -webkit-transition: height .3s ease-out;
    transition: height .3s ease-out;
}
.section-code-block-new-elem span:hover{
    color: #0056a6;
    text-decoration: underline;
    cursor: pointer;
}

.section-code-block-new-elem__tooltip{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-flow: column;
    flex-flow: column;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    position: absolute;
    left: 0;
    width: 100%;
    height: 68px;
    max-height: 68px;
    margin: 10px 0 0 0;
    padding: 0 10px;
    background-color: #dbeff7;
    /* background-color: #ebedef;; */
    z-index: 5;
}

.section-code-block-new-elem__tooltip-header{
    display: block;
    pointer-events: none;
}

.section-code-block-new-elem__tooltip-body{
    display: block;
    margin-top: 5px;
    pointer-events: none;
}

.section-isOpen-new{
    position: relative;
}


.col-offset-1{
    margin-left: 4.16666667%;
}
.col-offset-2{
    margin-left: 8.33333333%;
}
.col-offset-3{
    margin-left: 12.5%;
}
.col-offset-4{
    margin-left: 16.66666667%;
}
.col-offset-5{
    margin-left: 20.83333333%;
}
.col-offset-6{
    margin-left: 24.83333333%;
}
.col-offset-7{
    margin-left: 28.83333333%;
}
/*adaptive*/

@media screen and (max-width: 1200px) {
    .content {
        width: 65%;
    }
}

@media screen and (max-width: 1110px) {
    .content {
        padding-right: 20px;
        padding-left: 20px
    }
}

@media screen and (max-width: 850px) {
    .content {
        width: 60%;
    }
}

@media screen and (max-width: 768px) {
    .main {
        flex-direction: column;
    }

    .content {
        width: 90%;
    }

    .menu {
        display: none;
    }

    .mobile-menu {
        display: block;
    }

    .sidebar {
        position: absolute;
        right: 0;
        top: -75px;
    }

    .menu {
        background-color: white;
        width: 200px;
        position: relative;
        z-index: 2;
        height: 200px;
        overflow-y: scroll;
    }

    .menu-arrow {
        opacity: 0.3;
        position: absolute;
        right: 46px;
        top: 3px;
    }

    .mobile-menu-active {
        font-weight: 300;
        color: #384248;
        font-size: 14px;
        line-height: 30px;
        font-family: proxima nova;
        margin-bottom: 15px;
        padding-left: 5px;
    }
}

@media screen and (max-width: 555px) {
    .content {
        padding-right: 20px;
        padding-left: 10px;
    }
}

@media screen and (max-width: 450px) {
    .sidebar {
        right: -25px;
    }

    .header {
        padding: 30px 0 10px 25px;
    }

    .content {
        width: 85%;
    }
}

body section pre[class*="language-"] {
    padding: 0;
}