/*!
 * Copyright (c) 2019, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
 *
 * WSO2 Inc. licenses this file to you under the Apache License,
 * Version 2.0 (the "License"); you may not use this file except
 * in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing,
 * software distributed under the License is distributed on an
 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 * KIND, either express or implied. See the License for the
 * specific language governing permissions and limitations
 * under the License.
 */

.md-main > .md-main__inner > .md-content {
    -webkit-transition: margin 0.2s linear;
    -khtml-transition: margin 0.2s linear;
    -moz-transition: margin 0.2s linear;
    -ms-transition: margin 0.2s linear;
    transition: margin 0.2s linear;
}

.md-main .md-sidebar.md-sidebar--secondary {
    -webkit-transition: width 0.2s linear;
    -khtml-transition: width 0.2s linear;
    -moz-transition: width 0.2s linear;
    -ms-transition: width 0.2s linear;
    transition: width 0.2s linear;
}

.md-sidebar[data-md-state=lock] {
    top: 5.9rem;
}

.md-main.hide-toc .md-content {
    margin-right: 0;
}

.md-main.hide-toc .md-sidebar.md-sidebar--secondary {
    width: 0;
}

.md-header {
    height: 2.6rem;
}

.md-header-nav__topic {
    top: 0;
    margin-top: .2rem;
    font-weight: bold;
    color: darkslategray;
}

/*White header*/
[data-md-color-primary=teal] .md-header {
    background-color: #ffffff;
    color: #212121;
    border-top: 4px solid #009688;
}

.md-header-nav__button.md-logo > img {
    width: 60px;
}

.md-header__version-select {
    width: 4.4rem;
}

.md-header__version-select .md-tabs__link.md-tabs__dropdown-link {
    display: inline-block;
    padding: .45rem;
    margin-top: .3rem;
    border-radius: .1rem;
}

.md-header__version-select .md-tabs__link.md-tabs__dropdown-link:hover,
.md-header__version-select .mb-tabs__dropdown.open .md-tabs__link.md-tabs__dropdown-link {
    background: #e2e2e2;
    opacity: 1;
}

.md-header__version-select .mb-tabs__dropdown .mb-tabs__dropdown-content {
    top: .8rem;
}

@media only screen and (min-width: 76.25em) {
    [data-md-color-primary=deep-orange] .md-tabs {
        background-color: #404040;
    }

    .md-main__inner {
        padding-top: 3.5rem;
    }

    .md-source {
        padding-right: 0;
        text-align: right;
        opacity: 0.7;
    }

    .terminalOutput {
        height: 298px;
    }

    .terminalOutput > img {
        margin-top: 5%;
        margin-bottom: 5%;
    }
}

.fa-external-link-alt {
    font-size: x-small;
}

.terminalLink {
    color: #e5eaea !important;
    font-size: 12px;
    font-family: Nunito, sans-serif;
    font-feature-settings: 'kern', 'liga';
    font-weight: bolder;
    float: right;
    padding-right: 15px;
}

html .md-typeset .superfences-tabs > label:hover {
    color: #009688;
}

.md-typeset h1[id]:target:before {
    margin-top: -6.9rem;
    padding-top: 6.9rem;
}

.md-typeset h2[id]:target:before {
    margin-top: -6.8rem;
    padding-top: 6.8rem;
}

.md-typeset h3[id]:target:before {
    margin-top: -6.8rem;
    padding-top: 6.8rem;
}

.md-typeset h4[id]:target:before {
    margin-top: -6.8rem;
    padding-top: 6.8rem;
}

.md-typeset h5[id]:target:before {
    margin-top: -7.1rem;
    padding-top: 7.1rem;
}

.md-typeset h6[id]:target:before {
    margin-top: -7.1rem;
    padding-top: 7.1rem;
}

.md-search__input {
    background-color: #dedede;
}

.md-search__input::placeholder {
    color: #404040;
}

.md-nav-link-wrapper {
    display: block;
    margin-top: .625em;
    transition: color .125s;
    text-overflow: ellipsis;
    cursor: pointer;
    overflow: hidden
}

.md-nav__item--nested > .md-nav-link-wrapper > .md-nav__link {
    display: inline;
}

.md-nav__item--nested > .md-nav-link-wrapper > .md-nav__link:after {
    content: "\E313";
    display: inline-block;
    vertical-align: middle;
}

.md-nav__item--nested .md-nav__toggle:checked ~ .md-nav-link-wrapper > .md-nav__link:after {
    -webkit-transform: rotateX(180deg);
    transform: rotateX(180deg)
}

[data-md-color-primary=deep-orange] .md-nav-link-wrapper a:focus,
[data-md-color-primary=deep-orange] .md-nav-link-wrapper a:hover {
    color: #009688;
}

.md-version-select {
    width: 100%;
    height: 2.5rem;
    padding-left: .5rem;
    transition: background-color .25s cubic-bezier(.1, .7, .1, 1), color .25s cubic-bezier(.1, .7, .1, 1);
    background-color: rgba(0, 0, 0, .26);
    color: inherit;
    margin-bottom: 2rem;
    border-radius: .2rem;
}

.md-tabs {
    overflow: visible;
}

.mb-tabs__dropdown {
    position: relative;
}

.md-tabs__dropdown-link:after {
    font-family: Material Icons;
    font-style: normal;
    font-variant: normal;
    font-weight: 400;
    line-height: 1;
    text-transform: none;
    white-space: nowrap;
    speak: none;
    word-wrap: normal;
    direction: ltr;
    content: "\E313";
    display: inline-block;
    vertical-align: middle;
    margin-left: .2rem;
}

.mb-tabs__dropdown.group-select {
    background-color: #737373;
}

.md-header__version-select {
    overflow: visible;
}

.mb-tabs__dropdown .mb-tabs__dropdown-content {
    position: absolute;
    left: 0;
    top: 3.5em;
    -webkit-transition: all .2s cubic-bezier(.680, 0, .265, 1);
    transition: all .2s;
    -webkit-transform: scale(0);
    transform: scale(0);
    -webkit-transform-origin: 0 0;
    transform-origin: top left;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, .16), 0 2px 8px 0 rgba(0, 0, 0, .12);
    background: #fff;
    font-size: 1.4rem;
    color: #242424;
    padding: 0;
    z-index: 1;
}

.mb-tabs__dropdown .mb-tabs__dropdown-content .md-tabs__item {
    padding: 0;
}

.mb-tabs__dropdown .mb-tabs__dropdown-content li {
    display: block;
    width: 100%;
    opacity: 0;
    transform: translate(-20px, 0);
}

.mb-tabs__dropdown.open .mb-tabs__dropdown-content li {
    display: block;
    transition: all .4s;
    opacity: 1;
    transform: translate(0, 0);
    height: auto;
}

.mb-tabs__dropdown ul li a {
    width: 100%;
    padding: .5rem;
    white-space: pre;
    box-sizing: border-box;
    display: block;
    font-size: .7rem;
}

.mb-tabs__dropdown ul li a:hover {
    background: #ebebeb;
}

.mb-tabs__dropdown.open .mb-tabs__dropdown-content {
    -webkit-transform: scale(1);
    transform: scale(1);
    transition-timing-function: cubic-bezier(.680, 0, .265, 1);
}

.hljs-title,
.hljs-section {
    color: #009688;
    font-weight: normal;
}

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

.home_icon {
    height: 45px;
    margin-right: -12px;
    vertical-align: middle;
}

.home_icon a {
    margin-top: 4px;
}

.home_icon a i {
    font-size: 25px;
}

.md-nav__link[data-md-state=blur] {
    color: rgba(0, 0, 0, .54);
}

.quick_links {
    float: right;
}

.md-tabs__list {
    display: inline-block;
}

.nav_link {
    color: #fff;
    font-size: 22px;
    -webkit-transition: right 0.2s linear;
    -khtml-transition: right 0.2s linear;
    -moz-transition: right 0.2s linear;
    -ms-transition: right 0.2s linear;
    transition: right 0.2s linear, color .25s, opacity .1s;
    z-index: 2;
    padding-left: 20px;
    opacity: 0;
    display: none;
}

.nav_link.active:hover {
    opacity: 1;
}

.edit_link.active {
    display: block;
    opacity: 0.7;
    margin-top: 18px;
}

.md-header-nav {
    padding-right: 0;
}

@media only screen and (min-width: 76.25em) {
    .md-search__inner {
        margin-right: 0;
    }
}

@media only screen and (min-width: 60em) {
    .md-search {
        padding-right: 0;
    }
}

@media only screen and (max-width: 76.1875em) {
    html .md-nav--primary .md-nav__title--site .md-nav__button {
        font-size: 1.9rem;
        padding: 0 0 0 .4rem;
        height: 2.2rem;
    }

    html .md-nav--primary .md-nav__title {
        padding: 2.5rem .8rem .2rem;
        line-height: .9rem;
        white-space: unset;
        background-color: rgba(0, 0, 0, .01);
        border-top: 3px solid #009688;
        box-shadow: 0 0 0.2rem rgba(0, 0, 0, .1), 0 0.2rem 0.4rem rgba(0, 0, 0, .2);
    }

    html [data-md-color-primary=teal] .md-nav--primary .md-nav__title--site {
        background-color: #fff;
        border-top: 3px solid #009688;
        box-shadow: 0 0 0.2rem rgba(0, 0, 0, .1), 0 0.2rem 0.4rem rgba(0, 0, 0, .2);
        color: transparent;
    }

    .md-header-nav__source {
        display: block;
    }

    .md-source__icon + .md-source__repository {
        display: none;
    }

}

.feedbackBtn {
    transition: all 450ms cubic-bezier(0.23, 1, 0.32, 1) 0ms;
    background: rgb(38, 50, 56);;
    color: #fff;
    font-size: .7rem;
    position: fixed;
    right: 0;
    top: 50%;
    border-radius: 6px 0px 0px 6px;
    writing-mode: vertical-lr;
    padding: 15px 2px;
    line-height: 30px;
    box-shadow: 0 1px 0 rgba(153, 153, 153, 0.25) inset, 0 -1px 0 rgba(0, 0, 0, 0.25) inset;
}

.feedbackBtn:hover {
    background-color: #3c464c;
}

.md-footer-nav {
    background-color: rgba(0, 0, 0, 0.67);
}

.md-footer-nav__link {
    padding-top: .1rem;
    padding-bottom: 0;
}

.md-footer-nav__inner {
    height: 3rem;
    overflow: hidden;
}

.md-footer-nav__direction {
    font-size: .5rem;
    top: 3px;
}

.md-footer-nav__title {
    font-size: .7rem;
}

.md-footer-nav .md-flex__cell {
    vertical-align: baseline;
}

.md-footer-copyright__highlight {
    padding-right: 10px;
    border-right: 1px solid #575757;
    margin-right: 10px;
    display: inline-block;
}

.text--replace {
    overflow: hidden;
    color: transparent;
    text-indent: 100%;
    white-space: nowrap
}

.cd-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: inline-block;
    height: 40px;
    width: 40px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
    background: url(/asset?u=https%3A%2F%2Fsiddhi.io%2Fassets%2Flib%2Fbacktotop%2Fimg%2Fcd-top-arrow.svg) no-repeat center 50%;
    background-color: hsla(174, 100%, 29%, 0.8);
}

.js .cd-top {
    visibility: hidden;
    opacity: 0;
    transition: opacity .3s, visibility .3s, background-color .3s
}

.js .cd-top--is-visible {
    visibility: visible;
    opacity: 1
}

.js .cd-top--fade-out {
    opacity: .5
}

.js .cd-top:hover {
    background-color: hsl(174, 100%, 29%);
    opacity: 1
}

.md-tabs .md-tabs__link {
    opacity: 0.7 !important;
    -webkit-transform: translateY(50%);
    transform: translateY(50%);
    transition: color .25s, opacity .1s, -webkit-transform 0s .4s;
    transition: color .25s, transform 0s .4s, opacity .1s;
    transition: color .25s, transform 0s .4s, opacity .1s, -webkit-transform 0s .4s;
}

.md-tabs .md-tabs__link.md-tabs__link--active,
.md-tabs .md-tabs__link.md-tabs__link:hover {
    opacity: 1 !important;
}

.md-tabs {
    position: fixed !important;
    z-index: 1;
}

.md-tabs__link {
    margin-top: .4rem
}

.md-tabs[data-md-state=hidden] {
    pointer-events: all;
}

.md-nav__source {
    display: none;
}

@media only screen and (max-width: 1220px) {
    .nav_link {
        display: none;
    }
}

.md-nav--secondary ul > li.md-nav__item {
    border-left: 4px solid transparent;
    transition: border 500ms;
    margin-left: -3px;
}

.md-sidebar--secondary .md-nav--secondary > ul {
    border-left: 2px solid #ccc;
    margin-left: 3px;
}

.md-nav--secondary > ul li.md-nav__item.active {
    border-color: #242424 !important;
}

.md-sidebar--secondary .md-nav--secondary > ul ul {
    margin-left: -15px;
}

.md-sidebar--secondary .md-nav--secondary > ul ul > li {
    padding-left: 30px;
}

.md-sidebar--secondary .md-nav--secondary > ul ul ul {
    margin-left: -31px;
}

.md-sidebar--secondary .md-nav--secondary > ul ul ul > li {
    padding-left: 45px;
}

.md-sidebar--secondary .md-nav--secondary > ul ul ul ul {
    margin-left: -46px;
}

.md-sidebar--secondary .md-nav--secondary > ul ul ul ul > li {
    padding-left: 60px;
}

.md-sidebar--secondary .md-nav--secondary > ul ul ul ul ul {
    margin-left: -61px;
}

.md-sidebar--secondary .md-nav--secondary > ul ul ul ul ul > li {
    padding-left: 75px;
}

.md-sidebar {
    position: fixed;
}

@media screen and (min-width: 1220px) and (max-width: 1599px) {
    .nav_link {
        top: 62px;
    }
}

.md-header-nav__button.md-logo {

}

.md-header-nav__button.md-logo img {
    width: 100px;
    margin-right: 0;
}

.md-content__icon,
.md-footer-nav__button,
.md-header-nav__button,
.md-nav__button,
.md-nav__title::before,
.md-search-result__article--document::before {
    margin: 0.3rem;
}

.md-source__icon {
    float: right;
    text-align: right;
    width: 1.8rem;
}

@media (min-width: 60em) {
    .md-header-nav__source {
        padding-right: 0;
    }
}

.md-source {
    opacity: 0.7;
}

.md-source:hover {
    opacity: 1;
}

@media only screen and (min-width: 45em) {
    .md-footer-social {
        padding: 2px 0;
    }
}

.md-nav__button img {
    width: 150%;
}

.slackInvite {
    background-color: #83949661;
    padding: 40px;
}

.cInfo {
    float: right;
    font-size: .8rem;
    margin: .55rem .5rem .5rem 0rem;
    border: 1px solid #20b6b0;
    padding: 12px;
    background-color: lightgrey;
}

.cLatestInfo {
    float: right;
    font-size: .8rem;
    margin: .55rem .5rem .5rem 0rem;
    padding: 12px;
}

@media only screen and (min-width: 780px) {
    .cInfo {
        min-width: 350px;
    }
    .cLatestInfo {
        min-width: 350px;
    }
}

.iconsForList {
    width: 30px;
}

.cInfo a {
    color: #009688;
}

.cLatestInfo a {
    color: #009688;
}

.tagLine {
    padding-bottom: 1rem;
    position: relative;
    min-height: 1px;
    padding-right: 30px;
    padding-left: 30px;
    margin-bottom: 1rem;
}

.tagLine h2 {
    font-weight: 200;
    margin: 0;
}

.landing-container {
    padding-top: 1rem;
}
