﻿/* ReSharper disable RedundantUnits */
/*--------------
            Sidebar
        ---------------*/
body.pushable {
    background-color: #fff !important;
}

.ui.vertical.footer.segment {
    background-color: #faad63;
}

.brand {
    height: 30px;
    width: auto !important;
}

.brand-sm {
    height: 20px !important;
}


#app .ui.sidebar.menu .item {
    will-change: transform;
}

#app .sidebar.menu .logo.image,
#app .sticky.menu .logo.image {
    width: 35px;
    margin-right: 1em;
}

#app #toc > * {
    will-change: transform;
}

#app #toc > :last-child {
    padding-bottom: 2em;
}

/* Hidden Items */
#app #toc .hide.item {
    display: none;
}

/* Sidebar Header */
#app #toc .inverted.header {
    font-size: 1em;
    font-weight: normal;
    color: #ffffff;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5em;
}

#app #toc a.inverted.header.active,
#app #toc a.inverted.header:hover {
    color: #ffffff;
    color: rgba(255, 255, 255, 1);
}

#app #toc .menu .active.item {
    color: #FFF;
}

/*--------------
        Page Headers
        ---------------*/

#app .masthead.segment {
    position: relative;
    z-index: 3;
    margin: 0;
    min-height: 185px;
    padding: 3em 0;
    background-color: #FFFFFF;
    border-bottom: 1px solid #DDDDDD;
    box-shadow: none;
}

#app .masthead .introduction {
    display: block;
}

    #app .masthead .introduction:after {
        content: ".";
        display: block;
        height: 0;
        clear: both;
        visibility: hidden;
    }

#app .masthead.segment h1 {
    margin: 0;
}

#app .masthead iframe {
    margin-left: 5px;
    width: 101px !important;
    float: right;
}

/* Align with buttons */
#app .masthead .main.menu {
    margin-top: -2px;
    min-height: 0;
}

    #app .masthead .main.menu > .item {
        padding-top: 0.785714em;
        padding-bottom: 0.785714em;
    }

/*******************************
                       Sidebar Layout
              *******************************/

#app > .pusher > .full.height {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    background-color: #FFFFFF;
}

#app > .pusher {
    background-color: #FFFFFF;
}

/* page layout */
#app .full.height > .toc {
    position: relative;
    z-index: 1;
    background-color: #1b1c1d;
    width: 250px;
    -webkit-box-flex: 0;
    -webkit-flex: 0 0 auto;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
}

    #app .full.height > .toc .ui.menu {
        border-radius: 0;
        border-width: 0 1px 0 0;
        box-shadow: none;
        margin: 0;
        width: inherit;
        overflow: hidden;
        will-change: transform;
    }

#app .article {
    -webkit-box-flex: 1;
    -webkit-flex: 1 1 auto;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    min-width: 0px;
}




/* Remove Fixed Sidebar /  Show Top Bar */
@media only screen and (max-width: 1144px) {
    /* Hide Fixed Sidebar */
    #app .full.height > .toc {
        display: none;
    }
    /* Hide Fixed Launch Button */
    #app .fixed.launch.button {
        display: none !important;
    }
    /* Additional Padding for Fixed Menu */
    #app .masthead.segment {
        padding-top: 5em;
    }
    /* Hide GitHub Stars in Intro */
    #app .masthead iframe {
        display: none;
    }
    /* Less Left Padding */
    #app .masthead > .container,
    #app .main.container,
    #app .fixed.menu > .container {
        margin-left: 2em !important;
    }
        /* Padding Above Rail */
        #app .main.container > .right.rail .sticky,
        #app .main.container > .tab > .examples > .right.rail .sticky,
        #app .main.container > .tab > .right.rail .sticky {
            padding-top: 2.5em;
        }
    /* 100% Menu Width */
    #app .fixed.menu > .container {
        margin-left: 0em !important;
        margin-right: 0em !important;
        width: 100% !important;
        max-width: none !important;
    }
    /* Remove Bug Reports */
    #app .main.menu .bug.item {
        display: none;
    }
    /* Hide Music *]/
        #app .main.menu .music.item {
          display: none;
        }

        /* Space For Header Over Examples */
    #app .fixed.column .sticky {
        padding-top: 2em;
    }
}

/* Remove Rail */
@media only screen and (max-width: 992px) {
    /* Remove Rail */
    #app .main.container > .right.rail,
    #app .main.container > .tab > .examples > .right.rail,
    #app .main.container > .tab > .right.rail {
        display: none;
    }
    /* Fluid Containers */
    #app .masthead > .container,
    #app .main.container,
    #app .fixed.menu > .container {
        margin-left: 1em !important;
        margin-right: 1em !important;
        max-width: none !important;
    }
    /* Still 100% Fixed Menu */
    #app .fixed.menu > .container {
        margin-left: 0em !important;
        margin-right: 0em !important;
        width: 100% !important;
        max-width: none !important;
    }
    /* Remove Padding on Ad */
    #app .masthead .advertisement {
        padding-right: 0em !important;
    }
}


@media only screen and (max-width: 820px) {
    /* Ad Takes Full Width */
    #app .masthead .introduction {
        display: block;
    }

    #app .masthead .advertisement {
        display: block;
        float: none;
        margin: 2em 0em 0em;
        padding-left: 0em;
        width: auto;
    }

        #app .masthead .advertisement #carbonads > span {
            position: relative;
            display: block;
            max-width: 300px;
        }
}

@media only screen and (max-width: 768px) {
    /* Hide Some Fixed Menu Content (Pagination, Search) */
    #app .fixed.menu > .container > .section.item {
        display: none;
    }

    #app .masthead.segment {
        padding-bottom: 0;
    }

    #app.button-page .example > .button,
    #app.button-page .example .html > .button {
        margin-bottom: 8px;
    }
    /* Add Sticky Footers */
    body.pushable > .pusher {
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;
    }

        body.pushable > .pusher > .full.height {
            -webkit-box-flex: 1;
            -webkit-flex: 1 0 auto;
            -ms-flex: 1 0 auto;
            flex: 1 0 auto;
        }
    /* Ad Label */
    #app .bsa-cpc ._default_ {
        padding-left: 1em;
        padding-right: 1em;
    }
    /* Let Buttons Vertically Stack */
    #app .masthead .button {
        margin-bottom: 0.75em;
    }

    #app .masthead .main.menu {
        display: none;
    }

        #app .masthead .main.menu + .main.menu {
            display: -webkit-box;
            display: -webkit-flex;
            display: -ms-flexbox;
            display: flex;
        }
}


/*******************************
        Homepage
*******************************/

#app.main .pusher > .page {
    background-color: #FFFFFF;
}

@media only screen and (max-width: 992px) {
    html {
        overflow-x: visible;
        -webkit-overflow-scrolling: auto;
    }
}

#app > .pusher {
    display: block;
    min-height: 0px;
    flex-direction: initial;
}

    #app > .pusher > .full.height {
        display: block;
        flex: none !important;
    }

/*--------------
            Masthead
        ---------------*/

#app.main .masthead.segment.zoomed h1 {
    text-shadow: 0px 0px 4px #000000;
    text-shadow: 0px 0px 4px rgba(0, 0, 0, 0);
    color: #ffffff;
    color: rgba(255, 255, 255, 1);
}

#app.main .masthead.zoomed:after {
    opacity: 0;
}

#app.main .masthead.zoomed {
    background-color: #25282A;
}

#app.main .masthead {
    position: relative;
    overflow: hidden;
    text-align: center;
    padding: 0em;
    color: #ffffff;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0px;
    border-bottom: none;
    background-color: #000000;
    background-position: 50% 50%;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}

    #app.main .masthead:after {
        position: absolute;
        top: 0px;
        left: 0px;
        z-index: -1;
        width: 100%;
        height: 100%;
        content: '';
        background-size: cover;
        opacity: 0.45;
    }


    #app.main .masthead.bg4:after {
        background-image: url("/Content/landing-background.jpg");
    }

    #app.main .masthead,
    #app.main .masthead:after {
        -ms-transition: background 6s cubic-bezier(0.680, -0.550, 0.265, 1.4) 0s, opacity 6s cubic-bezier(0.680, -0.550, 0.265, 1.4) 0s;
        -moz-transition: background 6s cubic-bezier(0.680, -0.550, 0.265, 1.4) 0s, opacity 6s cubic-bezier(0.680, -0.550, 0.265, 1.4) 0s;
        -webkit-transition: background 6s cubic-bezier(0.680, -0.550, 0.265, 1.4) 0s, opacity 6s cubic-bezier(0.680, -0.550, 0.265, 1.4) 0s;
        transition: background 6s cubic-bezier(0.680, -0.550, 0.265, 1.4) 0s, opacity 6s cubic-bezier(0.680, -0.550, 0.265, 1.4) 0s;
    }

        #app.main .masthead .container {
            height: 55vh;
            margin-left: auto !important;
            margin-right: auto !important;
            min-height: 600px;
            -webkit-box-align: center;
            -webkit-align-items: center;
            -ms-flex-align: center;
            align-items: center;
            display: -webkit-box;
            display: -webkit-flex;
            display: -ms-flexbox;
            display: flex;
            -webkit-box-pack: center;
            -webkit-justify-content: center;
            -ms-flex-pack: center;
            justify-content: center;
        }

#app .masthead .container {
    padding: 15rem 0em;
}


#app.main .following.bar .menu .view-ui-image.item {
    padding: 0;
    margin-right: 0;
}

#app.main .following.bar .menu .site-name.item {
    padding-left: 0;
    margin-left: 0;
    font-size: 1.3rem;
}

#app.main .following.bar iframe.github {
    margin-top: 0px;
}

#app.main .following.bar .menu .item {
    display: block;
}

#app.main.pushed .masthead,
#app.main.pushed .following.bar {
    -webkit-transform: translate3d(0, 0, 0);
    -moz-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}

#app.main > .pusher > .footer {
    padding-left: 0em;
}

#app.main .light.following.bar {
    padding: 0em 0em;
    background-color: #0B4228;
    box-shadow: 0px 1px 0 #000000;
    box-shadow: 0px 1px 0 rgba(0, 0, 0, 0.18);
}

#app.main .vertical.segment {
    box-shadow: none;
}

#app.main .masthead.segment h1 {
    font-size: 3em;
    color: #ffffff;
    color: rgba(255, 255, 255, 1);
    line-height: 1.2;
    margin: 0 0 0;
    padding-bottom: 0;
    -moz-perspective: 500px;
    -webkit-perspective: 500px;
    perspective: 500px;
    text-shadow: 0 1px 2px #000000;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
}

    #app.main .masthead.segment h1 .tagline {
        font-size: 0.75em;
    }

    #app.main .masthead.segment h1 > .site-name {
        display: block;
        font-size: 1.75em;
        font-weight: bold;
    }

    #app.main .masthead.segment h1 b {
        display: inline-block;
        font-weight: 500;
    }

    #app.main .masthead.segment h1 .text {
        display: inline-block;
        font-weight: 300;
        margin-left: -0.4em;
    }

#app.main .masthead h2 {
    font-weight: normal;
    margin: 0 0 16px 0;
    font-size: 1.75em;
    border-bottom: none;
    line-height: 1;
}

#app.main .masthead p {
    font-size: 1.5em;
    margin: 1em 0 1.5em;
    padding: 0;
}

#app.main .ui.header {
    font-weight: normal;
}

#app.main .introduction {
    position: relative;
    clear: both;
    display: block;
    text-align: center;
}

    #app.main .introduction .buttons {
        margin-top: 3em;
    }


#app.main .advertisement {
    display: none !important;
    padding-left: 0;
    position: absolute;
    left: auto;
    right: 6em;
    top: 50%;
    transform: translateY(-50%);
    vertical-align: top;
}

#app.main .fixed.launch.button {
    display: none;
    top: 100px;
}

#app.main .main.menu {
    top: 0px;
}

#app.main pre.console {
    height: 120px;
}

#app .intro.segment h1 + p {
    font-size: 22px;
}

#app .demo.row .example > .ui.label:not(.empty) {
    margin-bottom: 1em;
}

#app .demo.row .ui.progress {
    margin-bottom: 2.5em;
}

#app .demo.row h4 {
    font-weight: bold !important;
    margin: 0 0 1em !important;
}

#app .demo.row .example {
    clear: both;
    padding-top: 3em;
    margin-top: 3em;
}

#app .demo.row .ui.menu,
#app .demo.row .ui.card {
    width: 100%;
}

#app .demo.row .ui.card {
    width: 100%;
    max-width: 400px;
}

/*--------------
            Features
        ---------------*/

#app.main .hidden.code {
    visibility: hidden;
}

#app.main .demo.row .example {
    clear: both;
    padding-top: 1.5em;
    margin-top: 1.5em;
}

    #app.main .demo.row .example:first-child {
        margin-top: 0;
        padding-top: 0;
    }

    #app.main .demo.row .example:last-child {
        margin-bottom: 0;
    }

/*--------------
            Following
        ---------------*/

#app.main .following.bar {
    border-bottom: 1px solid transparent;
    box-shadow: 0 0 0 0 transparent;
    left: 0;
    padding: 2em 0;
    position: fixed;
    top: 0;
    transition: padding 0.5s ease, background 0.5s ease, box-shadow 0.5s ease, border 0.5s ease;
    width: 100%;
    z-index: 900;
}

    #app.main .following.bar > .menu .item {
        transition: all 0.5s ease;
    }

#app.main.pushed .following.bar .menu .item,
#app.main.pushed .following.bar {
    transition: none;
}

#app.main .following.bar span.additional.item {
    cursor: default;
    color: #000000;
    color: rgba(0, 0, 0, 0.2);
}

#app.main .following.bar .inverted span.additional.item {
    color: #ffffff;
    color: rgba(255, 255, 255, 0.2);
}

#app.main .following.bar .column > .menu {
    margin-top: 0px;
    height: 35px;
}

#app.main .following.bar .network.menu .item {
    font-weight: bold;
}

#app.main .following.bar .network.menu .view-ui {
    margin-right: 1em;
}

#app.main .following.bar .right.menu.inverted .login-item {
    color: rgba(255, 255, 255, 0.8) !important;
}

#app.main .following .logo {
    float: left;
    width: 35px;
    margin-right: 1em;
}

    #app.main .following .logo .side {
        width: 35px;
    }

#app .masthead .version.label:after {
    background-color: #000000 !important;
}

#app.main .following .version.label {
    margin: 0.25em 0 0 1em;
}


/*--------------
             Stripes
        ---------------*/

#app.main .stripe .grid .row {
    margin: 2rem 0rem;
}

#app.main .feature.stripe .grid .row {
    margin: 0rem;
}

#app.main .feature.stripe .column {
    display: flex;
    -ms-flex-direction: column;
    -webkit-flex-direction: column;
    flex-direction: column;
}

#app.main .feature.stripe p {
    -webkit-flex: 1 0 auto;
    -ms-flex: 1 0 auto;
    flex: 1 0 auto;
    margin: 0.5em 0em 2em;
}

#app .stripe .ui.vertical.divider {
    font-size: 1rem;
}

#app.main .feature.stripe .icon.header .icon.image {
    width: auto;
    height: 65px;
    margin-bottom: 20px;
}

#app.main .stripe .icon.header .icon.image {
    height: 65px;
    margin-bottom: 20px;
}

#app.main .community.stripe {
    box-shadow: 0 -1px 0 0 #000000;
    box-shadow: 0 -1px 0 0 rgba(0, 0, 0, 0.1);
    padding: 4em 0;
}

#app.main .stripe .icon.header i.icon {
    font-size: 2em;
}


/* Final */
#app.main .final.stripe {
    border-top: 1px solid #DDDDDD;
    background-color: #F8F8F8;
}

/* Alternate */
#app .alternate.stripe {
    background-color: #F2F3F5;
}

/* Inverted */
#app.main .inverted.stripe {
    background-color: #1B1C1D;
}

    #app.main .inverted.stripe p {
        color: #FFFFFF;
    }


/*--------------
            Legacy?
        ---------------*/

/* content */
#app .solid,
#app .stripe {
    background-color: #FFFFFF;
    padding: 10em 0px;
    border-radius: 0em;
    margin: 0em;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}

#app .theming.stripe {
    -webkit-transform: none;
    transform: none;
}

#app .stripe h1 {
    font-size: 40px;
}

#app .stripe h2 {
    font-size: 26px;
}

#app .stripe h3 {
    font-size: 20px;
}

#app .feature.stripe {
    padding: 3em 0em;
}

#app .theming.stripe .left.aligned.column {
    padding-top: 8em;
}

#app .theming.stripe .hljs.code {
    height: 483px;
    max-height: 483px;
}

#app .theming .source.grid {
    display: none !important;
    margin: 2rem 2rem -4rem;
}

    #app .theming .source.grid.visible {
        display: block;
        display: flex !important;
    }

#app .theming.stripe .buttons {
    vertical-align: top;
}

#app .theming.stripe .button {
    margin-bottom: 0.5em;
}

#app .stripe .column > p {
    font-size: 16px;
    line-height: 1.6;
    margin: 1em 0em;
}

#app .dark.stripe {
    background-color: #333333;
    background: url(/Content/dark-bg.png) repeat;
    color: #FFFFFF;
}

#app .stripe .column > .label {
    margin-bottom: 1em;
}

#app .solid {
    background-color: #FFFFFF;
    -webkit-box-shadow: 0px 0px 0px 0px #000000;
    -webkit-box-shadow: 0px 0px 0px 0px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0px 0px 0px 0px #000000;
    -moz-box-shadow: 0px 0px 0px 0px rgba(0, 0, 0, 0.1);
    box-shadow: 0px 0px 0px 0px #000000;
    box-shadow: 0px 0px 0px 0px rgba(0, 0, 0, 0.1);
}

    #app .solid .column {
        color: #555555;
    }

        #app .solid .column p b {
            color: #000000;
            color: rgba(0, 0, 0, 0.9);
        }

        #app .solid .column p {
            color: #000000;
            color: rgba(0, 0, 0, 0.5);
        }


.feature.ui.list .item {
    text-align: left;
}

/*--------------
            Promo
        ---------------*/

#app.main .promo.stripe {
    padding: 3em 0em;
}


@media only screen and (max-width : 400px) {
    #app.main .masthead.segment h1 {
        font-size: 1.75em !important;
    }

    #app.main .feature.stripe {
        padding: 1em;
    }
}



@media only screen and (max-width : 600px) {
    #app.main .solid,
    #app.main .stripe {
        padding: 4em 0em;
    }

    #app.main .masthead.segment h1 .text {
        margin-left: 0em;
    }

    #app.main .following.bar {
        display: none;
    }

    #app.main .masthead:before {
        display: none;
    }

    #app.main .following.bar .column {
        text-align: center;
    }

    #app.main .following .logo {
        float: none;
    }

    #app.main .codebase.stripe {
        display: none;
    }

    #app.main .following .version.label {
        vertical-align: top;
        margin-top: 0em;
    }

    #app .masthead .container {
        padding: 6rem 0rem;
    }

    #app.main .masthead.segment h1 {
        font-size: 2.25em;
    }

    #app.main .email.stripe .input {
        width: 100%;
    }

    #app.main .following .secondary.menu {
        display: none;
    }

    #app.main .email.stripe .submit.button {
        margin-top: 0.5em;
    }

    #app.main .stripe .icon.header .icon.image {
        height: 50px;
    }

    #app.main .stripe {
        padding: 2em 0em !important;
    }
}

@media only screen and (max-width : 650px) {
    #app.main .fixed.launch.button {
        display: none;
    }

    #app .stripe h1 {
        font-size: 32px;
    }
}

@media only screen and (min-width : 650px) {
    #app .theming .source.button {
        display: none;
    }

    #app.main .main.menu {
        display: none;
    }

    #app.main .fixed.launch.button {
        display: none;
    }
}

/* Homepage */
@media only screen and (max-width : 810px) {
    #app.main .masthead.segment h1 > .site-name {
        font-size: 1.75em;
    }

    #app.main .feature.stripe p {
        height: auto;
        min-height: 0px;
    }

    #app.main .container {
        margin-left: 0em;
        margin-right: 0em;
    }

    #app .solid, #app .stripe {
        padding: 6em 0em;
    }

    #app.main .masthead .container {
        margin-top: 50px;
    }

    #app.main .following.bar span.additional.item {
        display: none;
        visibility: hidden !important;
    }

    #app.main .following.bar .network.menu .view-ui {
        margin-right: 0.75em;
    }

    #app.main .masthead .container {
        min-height: 350px;
        height: auto;
    }
}

@media only screen and (max-width : 1040px) {
    #app.main .following.bar .network.menu .view-ui {
        margin-right: 0.5em;
    }
}

#app.main .following.bar.light .site-name.header.item a {
    color: #fff !important;
}

#app.main .following.bar.light.fixed .right.menu.inverted .ui.grey.basic.button.login-item {
    color: #fff !important;
}
