* {
    box-sizing: border-box;
}

body {
    background: #0B1A29;
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    margin: 0;
}

pre {
    margin: 0;
}

h3 {
    font-weight: 600;
    font-size: 36px;
    line-height: 44px;
    padding: 40px 0;
    margin: 0;
    text-align: center;
}

.content {
    padding: 0 18px;
    margin: 0 auto;
    width: 1250px;
}

.top {
    background: url('../img/top_bg.png') 50% 0 no-repeat;
    display: flex;
    height: 800px;
}

.top .content {
    flex-direction: column;
    justify-content: space-between;
    display: flex;
    padding: 40px 0;
}

.top-info {
    margin: 0 auto;
    width: 922px; /* was 722 */
}

.top-title {
    font-weight: 600;
    font-size: 36px;
    line-height: 44px;
    text-align: center;
    text-transform: uppercase;
    color: #EDD6AC;
}

.top-links {
    justify-content: space-between;
    display: flex;
    margin-top: 60px;
}

.top-links a {
    align-items: center;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 10px;
    color: #ffffff;
    flex-direction: column;
    font-weight: bold;
    font-size: 18px;
    line-height: 22px;
    justify-content: center;
    height: 130px;
    display: flex;
    text-decoration: none;
    width: 214px;

    margin-left: 10px;
    margin-right: 10px;
}

.light {
    background: #182B3E;
}

.features {
    display: flex;
    justify-content: space-between;
}

.features-item {
    background: url('../img/icon_001.png') 0 10px no-repeat;
    font-size: 24px;
    line-height: 29px;
    color: #EDD6AC;
    padding-left: 85px;
    margin: 40px 0;
    min-height: 55px;
    width: 585px;
}

.features-item:first-child {
    margin-top: 0;
}

footer {
    align-items: center;
    background: url('../img/footer_bg.png') 50% 0 no-repeat;
    display: flex;
    justify-content: center;
    height: 300px;
}

.icon-title {
    padding-top: 40px;
    text-align: center;
}

.line {
    border: #364656 1px solid;
}

.platformWrap {
    display: flex;
    margin-bottom: 40px;
}

.small {
    margin: auto;
    padding-bottom: 40px;
    width: 900px;
}

.platformItem,
.benefitItem {
    flex: 1;
    text-align: center;
}

.platformIcon {
    margin: 35px 0;
}

.platformTitle,
.benefitTitle {
    font-size: 24px;
    line-height: 29px;
    color: #EDD6AC;
    padding: 0 30px;
}

.platformDesc,
.benefitDesc {
    font-size: 14px;
    line-height: 17px;
    color: #FFFFFF;
    margin-top: 20px;
}

.benefits {
    padding: 80px 0;
    display: flex;
}

.benefitIcon {
    margin-bottom: 35px;
}

.start-list-item {
    background-repeat: no-repeat;
    padding-left: 60px;
    padding-bottom: 20px;
    font-size: 24px;
    line-height: 29px;
    color: #FFFFFF;
    min-height: 40px;
}

.start-list-item:nth-of-type(1) {
    background-image: url('../img/icon_014.png');
}

.start-list-item:nth-of-type(2) {
    background-image: url('../img/icon_015.png');
}

.start-list-item:nth-of-type(3) {
    background-image: url('../img/icon_016.png');
}

.orange {
    color: #D05021;
}

.toggleBlock {
    padding: 100px 0 20px;
}

.toggleBlock .toggleItem {
    background: #0B1A29;
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
}

.toggleBlock .toggleParentName {
    background: url("../img/example_icon_001.png") 0 50% no-repeat;
    min-height: 40px;
    padding-left: 54px;
    font-weight: 600;
    font-size: 24px;
    line-height: 29px;
    display: flex;
    align-items: center;
    color: #EDD6AC;
    cursor: pointer;
}

.toggleBlock .toggleParentName.active {
    background-image: url("../img/example_icon_002.png");
    color: #FFFFFF;
}

.toggleBlock .toggleChildren {
    display: none;
    padding-left: 54px;
}

/* example */


.example {
    background: #182B3E;
}

.example .content {
    padding: 0 40px;
    margin: 0 auto;
    width: 100%;
}

.exampleTop .content {
    align-items: center;
    display: flex;
    justify-content: space-between;
    min-height: 135px;
}

.exampleTop .top-links {
    margin-top: 0;
}

.exampleTop .top-info {
    margin: 0;
    width: auto;
}

.exampleTop .top-links a {
    flex-direction: row;
    height: auto;
    padding: 5px 16px;
    margin: 0 15px;
    width: auto;
}

.exampleTop .top-links a:last-child {
    margin-right: 0;
}

.exampleTop .top-links a img {
    margin-right: 16px;
    width: 40px;
}

.exampleWrap {
    margin-bottom: 40px;
}

.exampleWrap .content {
    display: flex;
}

#exampleMenu {
    width: 400px;
}

#exampleMenu .menuItem {
    background: #0B1A29;
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
}

#exampleMenu .menuParentName {
    background: url("../img/example_icon_001.png") 0 50% no-repeat;
    min-height: 40px;
    padding-left: 54px;
    font-weight: 600;
    font-size: 24px;
    line-height: 29px;
    display: flex;
    align-items: center;
    color: #EDD6AC;
    cursor: pointer;
}

#exampleMenu .menuParentName.active {
    background-image: url("../img/example_icon_002.png");
    color: #FFFFFF;
}

#exampleMenu .menuChildren {
    display: flex;
    flex-direction: column;
    padding-left: 54px;
}

#exampleMenu .menuChildren a {
    background: url("../img/example_icon_003.png") 0 50% no-repeat;
    font-weight: 600;
    font-size: 20px;
    line-height: 24px;
    display: flex;
    align-items: center;
    padding-left: 54px;
    color: #EDD6AC;
    text-decoration: none;
    margin: 25px;
}

#exampleMenu .menuChildren a.active {
    background-image: url("../img/example_icon_004.png");
    color: #FFFFFF;
}

#exampleContent {
    flex: 1;
    margin-left: 40px;
    max-width: calc(100% - 440px);
}

#exampleIframe,
#exampleDesc {
    border: 2px solid #364656;
    border-radius: 10px;
    padding: 40px;
}

#exampleIframe {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
}

#exampleIframe iframe {
    border: 0;
    position: absolute;
    top: 40px;
    left: 40px;
    width: calc(100% - 80px);
    height: calc(100% - 80px);
}

#exampleTitle {
    font-weight: 600;
    font-size: 36px;
    line-height: 44px;
    color: #FFFFFF;
    margin: 0 0 40px 40px;
}

.exampleSubtitle {
    font-weight: 600;
    font-size: 24px;
    line-height: 29px;
    color: #EDD6AC;
    margin: 40px 40px 20px;
}

.codeWrap {
    display: flex;
}

.codeBlockWrap {
    flex: 1;
    max-width: calc(100% - 440px);
}

#tree {
    margin-right: 40px;
    width: 400px;
}

#codeBlock {
    background: #0B1A29;
    border-radius: 10px;
    height: 800px;
    display: block;
}

#codeBlock.hljs {
    background: #0B1A29;
    border-radius: 10px;
    color: #FFFFFF;
    height: 800px;
    padding: 30px;
    max-width: 100%;
}

#codeBlock .hljs-section,
#codeBlock .hljs-title {
    color: #EA5324;
}

#codeBlock .hljs-deletion,
#codeBlock .hljs-number,
#codeBlock .hljs-quote,
#codeBlock .hljs-selector-class,
#codeBlock .hljs-selector-id,
#codeBlock .hljs-string,
#codeBlock .hljs-template-tag,
#codeBlock .hljs-type {
    color: #EDD6AC;
}

#tree ul.fancytree-container {
    white-space: nowrap;
    padding: 20px;
    background-color: #0B1A29;
    border-radius: 10px;
    border-width: 0;
    height: 800px;
    overflow-y: auto;
}

#tree span.fancytree-title {
    color: #ffffff;
    font-size: 18px;
    line-height: 22px;
}

#tree .fancytree-plain span.fancytree-node:hover span.fancytree-title {
    background-color: transparent;
    border-color: #70c0e7;
}

#tree .fancytree-plain span.fancytree-active span.fancytree-title,
#tree .fancytree-plain span.fancytree-selected span.fancytree-title {
    background-color: transparent;
}

#tree span.fancytree-icon {
    background-image: url('../img/example_icon_005.png');
}

#tree span.fancytree-icon:hover {
    background-position: 0 0;
}

#tree span.fancytree-node {
    min-height: 26px;
}

#tree span.fancytree-icon {
    width: 24px;
    height: 24px;
}

#tree .fancytree-has-children.fancytree-ico-cf span.fancytree-icon {
    background: url('../img/example_icon_006.png') 0 0;
}

#tree .fancytree-ico-ef span.fancytree-icon {
    background: url('../img/example_icon_007.png') 0 0;
}

#tree .fancytree-exp-c span.fancytree-expander,
#tree .fancytree-exp-n span.fancytree-expander,
#tree .fancytree-exp-nl span.fancytree-expander,
#tree .fancytree-exp-e span.fancytree-expander,
#tree .fancytree-exp-ed span.fancytree-expander {
    display: none;
}


/*
   fix child folder arrow
 */
.fancytree-expander {
    background: none !important;
    width: 0px !important;
    height: 0px !important;
}


@media (max-width: 1000px) {
    .content {
        width: 100%;
    }

    .top-info {
        margin: 0 auto;
        width: 100%;
    }

    .top-links {
        align-items: center;
        flex-direction: column;
    }

    .top-links a {
        margin: 10px 0;
    }

    .features {
        flex-direction: column;
    }

    .features-item {
        width: 100%;
    }

    .platformWrap {
        flex-direction: column;
    }

    .small {
        width: 100%;
    }

    .benefits {
        flex-direction: column;
    }

    .platformItem, .benefitItem {
        margin-bottom: 40px;
    }

    .logo {
        display: inline-block;
        padding: 0 20px;
    }

    .logo img {
        max-width: 100%;
    }

    .toggleBlock .toggleChildren {
        word-break: break-word;
    }

    .toggleBlock .toggleChildren pre {
        white-space: pre-wrap;
    }


    .exampleTop .content {
        flex-direction: column;
        padding: 0 20px;
    }

    .exampleTop .top-info {
        width: 100%;
    }

    .exampleTop .top-links a {
        margin: 10px 15px;
        width: 100%;
    }

    .exampleTop .top-links a:last-child {
        margin-right: 15px;
    }

    .exampleWrap .content {
        flex-direction: column;
        padding: 0 20px;
    }

    #exampleMenu {
        width: 100%;
    }

    #exampleMenu .menuChildren {
        padding-left: 24px;
    }

    #exampleContent {
        margin-left: 0;
        max-width: 100%;
    }

    .codeWrap {
        flex-direction: column;
    }

    #tree {
        margin-right: 0;
        width: 100%;
    }

    .codeBlockWrap {
        max-width: 100%;
    }
}
