﻿/* ReSharper disable RedundantUnits */
body.pushable {
    background-color: #faad63 !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;
}

/* Incomplete Label */
#app #toc .item .circular.label {
    position: absolute;
    top: 0.75rem;
    right: 1em;
    opacity: 0.2;
    transition: background 0.3s ease;
}

#app #toc .item.active > .circular.label,
#app #toc .item:hover > .circular.label {
    opacity: 0.8;
}

/* Hidden Items */
#app #toc .hide.item {
    display: none;
}

/* Sidebar Header */
#app #toc .header {
    font-size: 1em;
    font-weight: normal;
    color: #222;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5em;
}

#app #toc a.header.active,
#app #toc a.header:hover {
    color: #fff;
    color: rgba(255, 255, 255, 1);
}

#app #toc .menu .active.item {
    color: #fff;
}

#app > .pusher > .footer {
    margin: 0em;
    border-radius: 0em;
    padding: 4em 0em 4em 0em;
}

/*******************************
    Sidebar Layout
*******************************/

#app > .pusher > .full.height {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    /*background-color: #fff;*/
}

#app > .pusher {
    /*background-color: #f9f9f9;*/
    background-color: #ededed;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4' viewBox='0 0 4 4'%3E%3Cpath fill='%23b5b5b5' fill-opacity='0.25' d='M1 3h1v1H1V3zm2-2h1v1H3V1z'%3E%3C/path%3E%3C/svg%3E");
}

/* 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;
    }

    /* Less Left Padding */
    #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;
        background-color: #de751f;
    }

    /* 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 .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;
    }
}

@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: -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: -ms-flexbox;
            display: flex;
        }
}

/*******************************
        Homepage
*******************************/

/*#app.main .pusher > .page {
    background-color: #fff;
}*/

/*#app .vue-app.page > .ui.container {
    background-color:#fff !important;
}*/

@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;
    }

#app.main .following.bar .menu .item {
    display: block;
}

/*#app.main .following.bar .menu .item {
    align-self:auto;
}*/


#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: #F6993F;
    border-bottom: 1px solid #000000;
    border-bottom: 1px solid rgba(0,0,0,.15);
    box-shadow: 0 1px 0px 0 #000000;
    box-shadow: 0 1px 0px 0 rgba(0,0,0,.15);
    border-top: none;
}

    #app.main .light.following.bar .small.logo {
        float: left;
        width: 35px;
        margin-right: 1em;
    }

        #app.main .light.following.bar .small.logo .side {
            width: 35px;
        }

/*#app > div.pusher > div > div.following.bar > div > div > div.view-ui-image.item,
#app > div.pusher > div > div.following.bar.light.fixed > div > div > div.view-ui-image.item {
    padding-right: 0;
    margin-right: 0;
}

#app > div.pusher > div > div.following.bar.light.fixed > div > div > div.site-name.header.item,
#app > div.pusher > div > div.following.bar > div > div > div.site-name.header.item {
    padding-left: 0;
    margin-left: 0;
    font-size: 1.3rem;
}*/


#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;
}

.white-text {
    color: #fff !important;
}


#app.main .vertical.segment {
    box-shadow: none;
}

/*--------------
    Following
---------------*/

#app.main .following.bar {
    left: 0;
    padding: 1em 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: 1900;
    background-color: #F6993F;
    border-bottom: 1px solid #222426;
    border-bottom: 1px solid rgba(34,36,38,.15);
    box-shadow: 0 1px 0 0 #000000;
    box-shadow: 0 1px 0 0 rgba(0, 0, 0, 0.1);
    border-top: 7px solid #000000;
    border-top: 7px solid rgba(0, 0, 0, 0.18);
}

    #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 .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 .login-item {
    color: #ffffff !important;
}

#app.main .following .logo {
    float: left;
    width: 45px;
    margin-right: 1em;
}

    #app.main .following .logo .side {
        width: 45px;
    }


/*--------------
    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 .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;
}

/*--------------
    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 .stripe h1 {
        font-size: 40px;
    }

    #app .stripe h2 {
        font-size: 26px;
    }

    #app .stripe h3 {
        font-size: 20px;
    }

#app .feature.stripe {
    padding: 3em 0em;
}

#app .stripe .column > p {
    font-size: 16px;
    line-height: 1.6;
    margin: 1em 0em;
}

#app .stripe .column > .label {
    margin-bottom: 1em;
}


/*--------------
        VuejS
---------------*/

.vue-app {
    margin-top: 105px;
}

.page {
    padding: 0 0 .5rem 0;
}

.vue-app.page {
    min-height: 350px;
}

.group-header.item {
    font-weight: 700 !important;
}

.group.item {
    border-top: solid 1px #000000 !important;
    border-top: solid 1px rgba(0,0,0,.15) !important;
    border-bottom: solid 1px #000000 !important;
    border-bottom: solid 1px rgba(0,0,0,.15) !important;
}

    .group.item .menu .item {
        font-size: 1rem !important;
        color: #222 !important;
    }

.ui.borderless.profile.vertical.menu {
    box-shadow: none !important;
    border: none !important;
}

.ui.menu .ui.dropdown .menu > .item {
    font-size: 1rem !important;
}

@media only screen and (max-width : 650px) {
    .vue-app {
        margin-top: 55px;
    }
}

@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;
    }

    .vue-app.page {
        min-height: 550px;
    }
}
/* 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;
    }
}
