﻿
/*******************************
             Global
*******************************/

 

/*--------------
     Page
---------------*/

ul.list {
    list-style-type: disc;
}

    ul.list li {
        list-style-position: outside;
    }

p {
    margin: 1em 0em;
}

    p:first-child {
        margin-top: 0em;
    }

    p:last-child {
        margin-bottom: 0em;
    }


/*----------------
      Footer
-----------------*/

.pusher > .footer {
    margin: 0em;
    border-radius: 0em;
    padding: 4em 0em 4em 0em;
}

/*--------------
     Code
---------------*/

/* Inline Code */
pre {
    white-space: pre-wrap;
    white-space: -moz-pre-wrap;
    white-space: -pre-wrap;
    white-space: -o-pre-wrap;
    word-wrap: break-word;
}

pre {
    background-color: #FFFFFF;
    text-align: left;
}


    /*rtl:ignore*/
    pre.console {
        background-color: transparent;
        line-height: 1.6;
        height: 300px;
        overflow: auto;
        direction: ltr;
    }

code {
    background-color: rgba(0, 0, 0, 0.08);
    border-radius: 3px;
    display: inline-block;
    font-size: 0.875em;
    font-weight: bold;
    padding: 1px 6px;
    vertical-align: baseline;
}

pre code {
    border: none;
    padding: 0px;
    font-size: 1em;
}

blockquote {
    border-left: 4px solid #777777;
    font-size: 16px;
    line-height: 1.5;
    padding: 0em 2em;
    margin: 1em 0em 2em;
}

    blockquote p {
        line-height: inherit;
    }

    blockquote .author {
        display: block;
        margin: 1em 0em 0em;
        font-weight: bold;
    }

/* Code Inside Message */
.ui.message > p > code,
.ui.message > code {
    background-color: rgba(0, 0, 0, 0.06);
    line-height: 1;
    padding: 3px 4px;
}


/*--------------
    Docs Icon
---------------*/


/* Replace Code Icon */

 i.code.icon:before {
    font-family: 'Docs Code';
    content: "\e600";
    vertical-align: top;
}


/*--------------
     Sidebar
---------------*/


.ui.sidebar.menu .item {
    will-change: transform;
}

.sidebar.menu .logo.image,
.ui.menu .logo.image {
    width: 35px;
    margin-right: 1em;
}

#toc > * {
    will-change: transform;
}

#toc > :last-child {
    padding-bottom: 2em;
}


#toc > .ui.menu {
    max-height: 100%;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

/* Incomplete Label */
#toc .item .circular.label {
    position: absolute;
    top: 0.75rem;
    right: 1em;
    opacity: 0.2;
    transition: background 0.3s ease;
}

#toc .item.active > .circular.label,
#toc .item:hover > .circular.label {
    opacity: 0.8;
}

/* Hidden Items */
#toc .hide.item {
    display: none;
}

/* Sidebar Header */
#toc .inverted.header {
    font-size: 1em;
    font-weight: normal;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5em;
}

#toc a.inverted.header.active,
#toc a.inverted.header:hover {
    color: rgba(255, 255, 255, 1);
}

#toc .menu .active.item {
    color: #FFF;
}

/*--------------
   Page Headers
---------------*/

.masthead.segment {
    position: relative;
    z-index: 3;
    margin: 0em;
    min-height: 185px;
    padding: 3em 0em;
    background-color: #FFFFFF;
    border-bottom: 1px solid #DDDDDD;
    box-shadow: none;
}

.masthead .introduction {
    display: block;
}

    .masthead .introduction:after {
        content: ".";
        display: block;
        height: 0;
        clear: both;
        visibility: hidden;
    }

.masthead.segment h1 {
    margin: 0em;
}

.masthead iframe.github {
    width: 101px !important;
}

.masthead iframe {
    margin-left: 5px;
    float: right;
}

/* Align with buttons */
.masthead .main.menu {
    margin-top: -2px;
    min-height: 0em;
}

    .masthead .main.menu > .item {
        padding-top: 0.785714em;
        padding-bottom: 0.785714em;
    }

/*--------------
    Languages
---------------*/

.language.dropdown.button {
    margin-top: 0.3em;
}

.language.dropdown > .text .description {
    color: rgba(255, 255, 255, 0.4);
}

.language.dropdown > .menu {
    width: 280px;
}

/*--------------
    Page Tabs
---------------*/

.tab.masthead.segment {
    display: block;
    padding-bottom: 0em;
    box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.1) inset;
}

    .tab.masthead.segment .vertical.menu {
        display: none;
        margin: 2rem 0em 1rem;
    }

    .tab.masthead.segment .tabular.menu {
        margin: 3rem 0px 0em;
        border-bottom: none;
    }

        .tab.masthead.segment .tabular.menu .active.item {
            background-color: #F7F7F7;
        }

/*--------------
    Ad Beg
---------------*/

.beg.segment {
    background-color: #F9F5F5;
    padding: 2em 3em;
}

    .beg.segment .delete.icon {
        position: absolute;
        top: 1.5em;
        right: 1.5em;
    }

    .beg.segment .ui.header {
        margin: 0 !important;
    }

/*--------------
    Download
---------------*/

/* Download Popup */
.masthead.segment .download.popup {
    width: 400px;
}

    .masthead.segment .download.popup .check.icon {
        margin-left: -1em;
    }

    .masthead.segment .download.popup .framework.grid,
    .masthead.segment .download.popup .standalone.grid,
    .masthead.segment .download.popup .integration.grid,
    .masthead.segment .download.popup .link.grid {
        display: none;
    }


/* lists */
.features {
    list-style-position: inside;
    margin: 10px 0px 0px;
    padding: 0px;
}

    .features li {
        list-style-type: disc;
        margin: 0px 0px 10px;
        font-weight: bold;
    }


.main.container a.anchor {
    height: 1px;
    position: absolute;
    right: 100%;
    top: -2.5em;
    width: 1px;
}


/*--------------
  Fixed Columns
---------------*/

.fixed.column {
    position: absolute;
    right: -0.5em;
    top: 0px;
    width: 250px;
    padding-top: 2em;
}

    .fixed.column + .examples {
        margin-right: 280px;
    }

.tab.masthead .item.menu {
    margin: 3rem 0rem 2rem;
}

.tab.masthead.segment .fixed .tabular.menu {
    position: fixed;
    top: 50px;
}

.fixed .launch {
    display: none;
}

.fixed.column .sticky {
    margin-top: 0em;
}

/*--------------
   Fixed Menu
---------------*/

.main.menu .title.item b {
    margin-right: 0.5em;
}

.fixed.main.menu .launch.item {
    display: block;
}

.fixed.main.menu .search .icon {
    opacity: 0.9;
}


/*--------------
  Sidebar Button
---------------*/

.fixed.launch.button {
    display: none;
    position: fixed;
    top: 2.5em;
    left: 0px;
    width: 55px;
    height: auto;
    white-space: nowrap;
    overflow: hidden;
    -webkit-transition: 0.3s width ease, 0.5s transform ease;
    -moz-transition: 0.3s width ease, 0.5s transform ease;
    -o-transition: 0.3s width ease, 0.5s transform ease;
    -ms-transition: 0.3s width ease, 0.5s transform ease;
    transition: 0.3s width ease, 0.5s transform ease;
}

.launch.button .icon {
    margin-left: 0px;
}


.fixed.launch.button .text {
    position: absolute;
    white-space: nowrap;
    top: auto;
    left: 54px;
    opacity: 0;
    -webkit-transition: 0.3s opacity 0.3s;
    -moz-transition: 0.3s opacity 0.3s;
    -o-transition: 0.3s opacity 0.3s;
    -ms-transition: 0.3s opacity 0.3s;
    transition: 0.3s opacity 0.3s;
}

.fixed.launch.button:hover {
    width: 130px;
}

    .fixed.launch.button:hover .text {
        opacity: 1;
    }

/* Position Change */
.pushable.left.overlay .fixed.launch.button {
    transform: translate3d(0, 0, 0);
}

.pushable.overlay.left.pushed .fixed.launch.button {
    transform: translate3d(260px, 0, 0);
}


/*******************************
        Alternate Layouts
*******************************/

/*----------------
   Wide Layout
-----------------*/

.wide .main.container {
    max-width: 1200px !important;
}

/*----------------
   Basic Layout
-----------------*/

.basic .fixed.menu > .container,
.basic .main.container,
.basic .masthead > .container {
    position: relative;
    width: 700px !important;
    left: 0px;
    margin-right: 4em !important;
}

    .basic .main.container > .rail,
    .basic .main.container > .tab > .rail {
        display: none !important;
    }

.main.container .introduction p,
.main.container .tab > p,
.main.container  > p,
.main.container > p {
    font-size: 16px;
    line-height: 1.5;
    color: rgba(0, 0, 0, 0.8);
}

    /* Link Styles */
    .main.container > p a,
    .main.container > .tab > p a,
    .main.container  > .ignored a,
    .main.container  > p a {
        display: inline-block;
        position: relative;
        overflow: hidden;
        vertical-align: top;
        z-index: 0;
        -webkit-transition: color 0.2s;
        transition: color 0.2s;
        outline: none;
    }

        .main.container > p a > code,
        .main.container > .tab > p a > code,
        .main.container  > .ignored a > code,
        .main.container  > p a > code {
            background-color: rgba(0, 50, 100, 0.08);
        }

        .main.container > p a:before,
        .main.container > .tab > p a:before,
        .main.container  > .ignored a:before,
        .main.container  > p a:before,
        .main.container .code .value a:before {
            position: absolute;
            top: auto;
            bottom: 1px;
            left: 0;
            width: 100%;
            height: 1px;
            background-color: #4183C4;
            content: '';
            -webkit-transition: all 0.2s;
            -webkit-backface-visibility: hidden;
            transition: all 0.2s;
            backface-visibility: hidden;
            -webkit-transform: scaleX(0);
            transform: scaleX(0);
        }

        /* Not on UI */
        .main.container  > .ignored a.ui:before {
            display: none;
        }

        /* Hover */
        .main.container > p a:hover > code,
        .main.container > .tab > p a:hover > code,
        .main.container  > .ignored a:hover > code,
        .main.container  > p a:hover > code {
            background-color: rgba(0, 50, 100, 0.12);
        }

        .main.container > p a:hover:before,
        .main.container > p a:focus:before,
        .main.container > .tab > p a:hover:before,
        .main.container > .tab > p a:focus:before,
        .main.container  > .ignored a:hover:before,
        .main.container  > .ignored a:focus:before,
        .main.container  > p a:hover:before,
        .main.container  > p a:focus:before,
        .main.container .code .value a:hover:before {
            background-color: #2C76BF;
            -webkit-transform: scaleX(1);
            transform: scaleX(1);
        }

.ui.ad {
    max-width: 100%;
}

/*----------------
   Minimal Layout
-----------------*/


/* Always Hidden Sidebar */
.minimal.basic > .launch.button {
    display: block;
}

.minimal.basic .full.height > .toc {
    display: none;
}

.minimal.basic .full.height > .article {
    margin-left: 0px;
}

.minimal.basic .fixed.menu > .container,
.minimal.basic .main.container,
.minimal.basic .masthead > .container,
.minimal.basic .footer > .container {
    position: relative;
    width: 700px !important;
    left: 0px;
    margin-left: auto !important;
    margin-right: auto !important;
}

.minimal > .pusher > .footer {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

@media only screen and (max-width: 820px) {

    .minimal.basic .fixed.menu > .container,
    .minimal.basic .main.container,
    .minimal.basic .masthead > .container,
    .minimal.basic .footer > .container {
        width: auto !important;
        margin-left: 1em !important;
        margin-right: 1em !important;
    }
}



/*----------------
  Settings Table
-----------------*/

.settings.table {
    margin-bottom: 20px;
}

    .settings.table td:first-child {
        font-weight: bold;
    }

    .settings.table td:nth-child(2n) {
        width: 100px;
    }

/*----------------
   Code Samples
-----------------*/

.segment pre {
    background-color: transparent;
    margin: 0em;
    padding: 0em;
}

    .segment pre .code {
        margin: 0em;
        padding: 0em;
        max-height: 610px;
        font-weight: normal;
        transform: rotateZ(0deg);
        -ms-transform: none !important;
        font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', 'Consolas', 'source-code-pro', monospace;
    }

table .instructive.segment {
    background-color: transparent;
    border: 0px;
    box-shadow: none;
    padding: 0em;
}

.ui.label + .instructive.segment {
    margin-top: 0em;
}

.instructive.segment:after {
    display: none;
}

.existing.segment em,
.instructive.segment em {
    font-style: normal;
    color: rgba(0, 0, 0, 0.4);
}

.existing.segment .title + em,
.instructive.segment .title + em {
    position: absolute;
    right: 1em;
}

.label + .code {
    margin-top: 1.5em;
}

/*----------------
     Examples
-----------------*/

 {
    margin: 2em 0em;
    padding: 2em 0em;
    position: relative;
    -webkit-tap-highlight-color: transparent;
}

     > .ignored.message,
     > .ignore.message,
     > p {
        max-width: 700px;
    }

    :last-child {
        margin-bottom: none;
    }

    /* Header */
     > h4:first-child {
        font-size: 18px;
        margin: 0em 0em 0em;
    }

    /* Wireframe Image */
     .wireframe.image {
        opacity: 0.5;
    }

     .accordion .content > .wireframe.image {
        opacity: 0.5 !important;
    }

     :not(.images) > .wireframe.image {
        margin-top: 1rem;
        margin-bottom: 1rem;
    }

         :not(.images) > .wireframe.image:first-child {
            margin-top: 0em;
        }

         :not(.images) > .wireframe.image:last-child {
            margin-bottom: 0em;
        }

    /* Description */
     .anchor + p {
        margin-top: 0;
        padding-bottom: 1em;
    }

.no .anchor + p {
    margin: 0em 0px 1em;
    padding-bottom: 0em;
}

 > p {
    color: rgba(0, 0, 0, 0.8);
}

/* Message */
 .anchor + p + .ignored.message:not(.attached),
 .anchor + p + .ignored.message + .ignored.message:not(.attached) {
    margin: 0em 0 2em;
}

.pushing .rail .sticky {
    margin: 2em 0em;
}

.inline > .segment > .sticky.fixed {
    background-color: #FFFFFF;
}

    .inline > .segment > .sticky.fixed + * {
        margin-top: 39px;
    }


/* Another */
.another {
    margin-top: 0em;
    padding-top: 2em;
}

/* Spaced */
.spaced .buttons,
.spaced .button {
    margin-bottom: 0.75em;
}

    .spaced .buttons .button {
        margin-bottom: 0em;
    }

 .toggle.button {
    min-width: 100px;
}

/* Examples Tab */
.tab[data-tab*="examples"]  > p,
.examples.tab  > p {
    margin: 1em 0em;
}

.tab[data-tab*="examples"]  .anchor + p,
.examples.tab  .anchor + p {
    padding: 0em;
}

/* Intro Tab */
.intro > h3.ui.header {
    margin-top: 4em;
}

.intro  .anchor + p {
    margin-top: 0.5em;
}

.intro  > p {
    color: rgba(0, 0, 0, 0.8);
}


.existing.segment:after,
.instructive.segment:after {
    display: none;
}

/*----------------
  Example Types
-----------------*/

/* No Example */
.no i.code {
    display: none;
}

.fixed iframe {
    border: none;
    width: 100%;
    height: 350px;
}
/* Stretched Example */

.stretched .column img {
    /* This is only necessary for IE which doesnt respect img intrinsic aspect ratios */
    max-height: 225px;
}

.clear.dropdown .dropdown {
    vertical-align: middle;
}


/* Requires Clear */
.clearing {
    overflow: hidden;
    clear: both;
    padding-left: 1px;
    padding-right: 1px;
    padding-bottom: 1px;
}

.piled {
    position: relative;
    z-index: 1;
}

.main.container:after {
    content: '';
    display: block;
    height: 0px;
    clear: both;
    visibility: hidden;
}

-group {
    position: relative;
}

.main.container > .tab {
    position: relative;
}

    .main.container .examples > h2,
    .main.container > h2,
    .main.container > .tab > h2 {
        position: relative;
        margin: 5rem 0rem 3rem;
    }

    .main.container .examples > h3,
    .main.container > h3,
    .main.container > .tab > h3 {
        position: relative;
        margin: 3rem 0rem 2rem;
    }

    .main.container .examples > .rail + h2,
    .main.container > .rail + h2,
    .main.container > .tab > .rail + h2,
    .main.container .examples > h2:first-child,
    .main.container > h2:first-child,
    .main.container > .tab > h2:first-child {
        margin-top: 0em;
    }

/* After Section Header */
:first-child,
h2 + ,
h3 + ,
h4 +  {
    margin-top: 0px;
}

    :first-child i.code,
    h2 +  i.code,
    h3 +  i.code,
    h4 +  i.code {
        top: 0.75em;
    }

.another i.code {
    top: -0.5em;
}

/* Spaced */
.spaced .buttons,
.spaced .button {
    margin-bottom: 0.75em;
}

    .spaced .buttons .button {
        margin-bottom: 0em;
    }

 .toggle.button {
    min-width: 200px;
}

/* Code Language */
 .language.label {
    margin: 1em 0em 0.75em;
}


/*--------------
   Code Button
---------------*/

 i.code {
    cursor: pointer;
    position: absolute;
    top: 2rem;
    right: 0rem;
    margin: 0;
    opacity: 0.5;
    font-size: 20px;
    color: #000000;
    -webkit-transition: opacity 0.3s ease-out;
    -moz-transition: opacity 0.3s ease-out;
    -o-transition: opacity 0.3s ease-out;
    -ms-transition: opacity 0.3s ease-out;
    transition: opacity 0.3s ease-out;
}

/*  i.code:before {*/
/*font-family: 'Docs';*/
/*content: "\e600";*/
/*}*/
:hover i.code {
    opacity: 0.85;
}

    :hover i.code:hover {
        opacity: 1;
    }

 .grid i.code {
    right: 25%;
}

.pointing.label + .existing.segment {
    margin-top: 0em;
}

.existing.code {
    display: none;
}

/* Code Annotation */
 .annotation {
    margin: 0em;
}

.annotation pre code {
    min-width: 500px;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}


.transition .ui.button {
    margin-bottom: 0.5em;
}

/* HTML Wrapper */
 > .html {
    padding: 0em;
    transition: box-shadow 0.2s ease, padding 0.2s ease;
    box-shadow: 0px 0px 0px 0px rgba(0, 0, 0, 0);
}

     > .html > .top.attached.label {
        -moz-user-select: none;
        -webkit-user-select: none;
        user-select: none;
        display: none;
        background-color: #F8F8F8;
        box-shadow: 0px 0px 0px 1px #DDDDDD;
    }

         > .html > .top.attached.label .copy {
            position: absolute;
            top: 9px;
            right: 8px;
            color: #AAAAAA;
        }

             > .html > .top.attached.label .copy:hover {
                color: #666666;
            }

 > .empty.html.segment {
    padding: 1.15em 1em 1em;
}

 > .html.segment:after {
    content: '';
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

 > .html.segment > .attached.label {
    display: block;
}

     > .html.segment > .attached.label .copy {
        float: right;
    }

 > .html.segment {
    padding: 3.5em 1em 1em;
}

 .instructive.segment {
    margin-top: -1px;
}

/* Fixes for UI */
.segment > .dimmer {
    z-index: 800;
}

.code .active.ui.modal {
    display: none !important;
}

 .circular.segment {
    width: 175px;
    height: 175px;
}

 .annotation.visible + .icon.buttons {
    margin-top: 1rem;
}


/*******************************
           UI Pages
*******************************/


/*----------------
  Getting Started
-----------------*/

.started .tab.segment > :first-child {
    margin-top: 0em;
    padding-top: 0em;
}

.started .tab.segment > :last-child {
    margin-bottom: 0em;
    padding-bottom: 0em;
}

/*----------------
     Theming
-----------------*/

.theming .main.container .button {
    margin-bottom: 0.4em;
}

.theming .variable.grid .segment {
    display: block;
    width: 100%;
    height: 500px;
    overflow: auto;
}

/*--------------
  Content Loader
---------------*/
.content .ignored.card {
    display: none;
}

.content .card .image + .content {
    min-height: 94px;
}

/*--------------
    Colored
---------------*/

.colored .label,
.colored .button,
.colored .menu {
    margin-bottom: 0.5em;
}

.colored .menu {
    margin-right: 0.5em;
}

.colored .attached.label {
    margin-bottom: 0em;
}

/*--------------
    Callback
---------------*/

.callback .console {
    height: 350px;
    overflow: auto;
}

/*--------------
    Fitted
---------------*/

.fitted .segment {
    line-height: 1;
}

/*--------------
      Grid
---------------*/

.highlighted .grid {
    position: relative;
}

    .highlighted .grid:before {
        position: absolute;
        top: 1rem;
        left: 1rem;
        background-color: #FAFAFA;
        content: '';
        width: calc(100% - 2rem);
        height: calc(100% - 2rem);
        box-shadow: 0px 0px 0px 1px #DDDDDD inset;
    }

.highlighted .relaxed.grid:before {
    width: calc(100% - 3rem);
    left: 1.5em;
}
/* Consecutive */
.highlighted > .grid + .grid {
    margin-top: 1rem;
}

.highlighted .grid .grid:before {
    background-color: #F0F0F0;
}

.highlighted .row {
    position: relative;
}

.highlighted .grid > .column {
    position: relative;
    z-index: 11;
}

.highlighted .grid .column:not(.row):not(.grid):after {
    background-color: rgba(86, 61, 124, .1);
    -webkit-box-shadow: 0px 0px 0px 1px rgba(86, 61, 124, 0.2) inset;
    box-shadow: 0px 0px 0px 1px rgba(86, 61, 124, 0.2) inset;
    content: "";
    display: block;
    min-height: 50px;
}

.highlighted .grid .column:not(.grid):first-child,
.ui.type.cards .image .grid .column:not(.grid):first-child {
    box-shadow: none;
}

.highlighted .grid .column:not(.grid),
.ui.type.cards .image .grid .column:not(.grid) {
    min-height: 50px;
}

.highlighted .grid .segment,
.ui.type.cards .image .grid .segment {
    border-radius: 0px;
    box-shadow: 0 0 0 1px #D4D4D4;
}

.negative > .button {
    position: relative;
    z-index: 100;
    margin: 0px 1px;
}

/* Nested Grid Example */
.highlighted.special .ui.grid > .column:first-child:after,
.highlighted.special .ui.grid > .column:last-child:after {
    display: none;
}

.highlighted.special .ui.grid .grid .column:not(.row):not(.grid):after {
    display: block;
    background-color: rgba(186, 61, 84, 0.1);
    -webkit-box-shadow: 0 0 0 1px rgba(186, 61, 84, 0.2) inset;
    box-shadow: 0 0 0 1px rgba(186, 61, 84, 0.2) inset;
}


.animated .negative > .grid {
    margin: -1rem !important;
    background-color: #FFEEEE;
}

.colored .column {
    padding-top: 2em;
    padding-bottom: 2em;
}

/* Animation */
.animated .highlighted .html > .grid,
.animated .animated .html > .grid,
.animated .highlighted > .grid,
.animated .animated > .grid {
    margin: -1rem auto;
    -webkit-animation: grid 7s ease infinite;
    -moz-animation: grid 7s ease infinite;
    animation: grid 7s ease infinite;
}

.animated .negative .html > .grid,
.animated .negative > .grid {
    -webkit-animation: none;
    -moz-animation: none;
    -ms-animation: none;
    animation: none;
}
/* Grid Inside Grid */
.animated .highlighted .grid .grid,
.animated .animated .grid .grid {
    -webkit-animation: none;
    -moz-animation: none;
    -ms-animation: none;
    animation: none;
}

.ui.table .help.icon {
    float: right;
}

.site .colors .column {
    padding: 50px 0px;
    text-align: center;
    color: #FFFFFF;
    font-weight: bold;
}

@-webkit-keyframes grid {
    0% {
        width: 100%;
    }

    45% {
        width: 90%;
    }

    55% {
        width: 90%;
    }

    100% {
        width: 100%;
    }
}

@-moz-keyframes grid {
    0% {
        width: 100%;
    }

    45% {
        width: 90%;
    }

    55% {
        width: 90%;
    }

    100% {
        width: 100%;
    }
}

@keyframes grid {
    0% {
        width: 100%;
    }

    45% {
        width: 90%;
    }

    55% {
        width: 90%;
    }

    100% {
        width: 100%;
    }
}

.layered {
    z-index: 1;
}

/*--------------
      Demo
---------------*/

.demo.container .button.demo > .buttons,
.demo.container .button.demo > .button,
.demo.container .button.demo > .segment > .button {
    margin-bottom: 0.5em;
}

.demo.container h4:first-child {
    font-weight: bold !important;
    margin: 0em 0em 1em !important;
    font-size: 18px;
}

.demo.container :first-child {
    margin-top: 0;
    padding-top: 0;
}

.demo.container .segment {
    z-index: 1;
}

.demo.container > .ui.label:not(.empty) {
    margin-bottom: 1em;
}

.demo.container .segment .ui.label {
    margin-bottom: 0em;
}

/*--------------
    New
---------------*/

.complex-popup #one {
    display: block;
    position: relative;
    padding: 50px 100px;
    background-color: #F0F0F0;
}

.complex-popup #two {
    display: block;
    background-color: #E2EAE4;
    position: relative;
    top: 10px;
    padding: 50px 8px;
}


/*--------------
   Visibility
---------------*/

/* static */
.visibility .overlay {
    padding: 0em;
    box-shadow: 0px 0px 0px rgba(0, 0, 0, 0);
    transition: padding 0.5s ease;
    background: transparent;
}

    .visibility .overlay.fixed + .placeholder {
        display: none;
    }
    /* fixed */
    .visibility .overlay.fixed {
        position: fixed;
        background-color: #FFFFFF;
        padding: 1em;
        box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.2);
        z-index: 10;
    }

        .visibility .overlay.fixed + .placeholder {
            display: block;
            height: 28px;
        }

/* Flash Animation */
.main.container .highlight {
    -moz-animation: highlight 2s ease-out;
    -moz-animation-iteration-count: 1;
    -webkit-animation: highlight 2s ease-out;
    -webkit-animation-iteration-count: 1;
    -ms-animation: highlight 2s ease-out;
    -ms-animation-iteration-count: 1;
    animation: highlight 2s ease-out;
    animation-iteration-count: 1;
}

@-webkit-keyframes highlight {
    0% {
        background-color: none;
    }

    30% {
        background-color: #ffff00;
    }

    100% {
        background-color: none;
    }
}

@-moz-keyframes highlight {
    0% {
        background-color: none;
    }

    30% {
        background-color: #ffff00;
    }

    100% {
        background-color: none;
    }
}

@-ms-keyframes highlight {
    0% {
        background-color: none;
    }

    30% {
        background-color: #ffff00;
    }

    100% {
        background-color: none;
    }
}


/*--------------
   Progress
---------------*/


body.progress.animated .ui.progress .bar {
    -webkit-animation: finish 10s ease-in-out infinite;
    -moz-animation: finish 10s ease-in-out infinite;
    -ms-animation: finish 10s ease-in-out infinite;
    animation: finish 10s ease-in-out infinite;
}

/*--------------
    Divider
---------------*/

.divider .ui.grid {
    position: relative;
}

/*--------------
      Header
---------------*/

.header .wireframe.image {
    max-width: 500px;
}

/*--------------
      Modal
---------------*/

.modal-page .main.container {
    z-index: auto;
}

/*--------------
      Popup
---------------*/

.popup .inline .popup {
    color: #FF0000;
}

.position .icon {
    position: absolute;
    margin: 0em;
    width: auto;
    font-size: 1.5em;
    height: auto;
    padding: 0.5em !important;
}

.position .segment:not(.instructive) {
    width: 250px;
    height: 250px;
}

.position .segment .icon:nth-of-type(1) {
    top: 0em;
    left: 0em;
}

.position .segment .icon:nth-of-type(2) {
    top: 0em;
    left: 50%;
    margin-left: -1em;
}

.position .segment .icon:nth-of-type(3) {
    top: 0em;
    right: 0em;
}

.position .segment .icon:nth-of-type(4) {
    top: 50%;
    margin-top: -1em;
    right: 0em;
}

.position .segment .icon:nth-of-type(5) {
    bottom: 0em;
    right: 0em;
}

.position .segment .icon:nth-of-type(6) {
    bottom: 0em;
    left: 50%;
    margin-left: -1em;
}

.position .segment .icon:nth-of-type(7) {
    bottom: 0em;
    left: 0em;
}

.position .segment .icon:nth-of-type(8) {
    top: 50%;
    margin-top: -1em;
    left: 0em;
}

.main.ui.grid {
    position: relative;
}

/*--------------
      Icon
---------------*/

iconSearch.ui.search {
    float: right;
    position: relative;
    z-index: 3;
}

iconSearch .result i.icon {
    font-size: 20px;
    float: right;
    margin-top: -5px;
    margin-left: 11px;
    color: #000000;
}


.icon .grid {
    text-align: left;
}

    .icon .grid .code {
        position: static;
    }

    .icon .grid > .column {
        opacity: 0.8;
        text-align: center;
        color: transparent;
        -moz-align-items: center;
        -ms-align-items: center;
        align-items: center;
        -webkit-transition: color 0.3s ease, opacity 0.3s ease;
        -moz-transition: color 0.3s ease, opacity 0.3s ease;
        -o-transition: color 0.3s ease, opacity 0.3s ease;
        -ms-transition: color 0.3s ease, opacity 0.3s ease;
        transition: color 0.3s ease, opacity 0.3s ease;
    }

.icon .attached.segment .grid > .row > .column {
    color: #555555;
}

.icon .column .icon {
    opacity: 1;
    height: 1em;
    color: #333333;
    display: block;
    margin: 0em auto 0.25em;
    font-size: 2em;
    -webkit-transition: color 0.6s ease, transform 0.2s ease;
    -moz-transition: color 0.6s ease, transform 0.2s ease;
    -o-transition: color 0.6s ease, transform 0.2s ease;
    -ms-transition: color 0.6s ease, transform 0.2s ease;
    transition: color 0.6s ease, transform 0.2s ease;
}

.icon .html.segment .grid .column,
.icon .grid:hover .column {
    color: #777777;
}

    .icon .grid:hover .column .icon {
        color: #333333;
    }

.icon .grid .column:hover .icon {
    color: #000000;
    -webkit-transform: scale(1.5);
    -moz-transform: scale(1.5);
    -o-transform: scale(1.5);
    -ms-transform: scale(1.5);
    transform: scale(1.5);
}

.icon .grid .column:hover {
    opacity: 1;
    color: #444444;
}

.another.icon {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.another i.code ~ .ignored.message {
    margin: 0em 0em 2em;
}

/*--------------
    List Page
---------------*/

.element.cards .image {
    overflow: hidden;
    min-height: 100px;
}

.collection.cards {
    min-height: 350px;
}

.ui.type.cards > .item {
    min-height: 255px;
}

    .ui.type.cards > .item > .image {
        padding: 1em;
        height: 165px;
        vertical-align: middle;
    }
/*--------------
      Header
---------------*/

.header .sizer {
    padding: 1rem 0em;
}

/*--------------
      Flag
---------------*/

.flag .basic.table tbody td:first-child {
    width: 20px;
}

/*--------------
      Feed
---------------*/

.feed  .segment {
    max-width: 800px;
}


/*--------------
      Search
---------------*/

.fixed.menu .right.searching.menu .borderless.item,
.fixed.menu .right.searching.menu .popup.item,
.fixed.menu .right.searching.menu .language.item {
    display: none;
}

#search input {
    color: white;
    width: 146px;
    text-align: right;
}

#search.hidden input {
    padding: 0 0.8em 0 0 !important;
    width: 0;
}

#search .results {
    margin-top: 1em;
    border-radius: 0px 0px 3px 3px;
}

#search.ui.input input::-webkit-input-placeholder {
    color: rgba(255, 255, 255, 0.75);
}

#search.ui.input input::-moz-placeholder {
    color: rgba(255, 255, 255, 0.75);
}

#shortcuts.ui.modal .actions {
    padding: 0;
    border: none;
    background: none;
}

/*******************************
         Code Samples
*******************************/


code.code {
    display: block;
    overflow-x: auto;
    padding: 0em;
    color: #666;
    background-color: transparent;
    -webkit-text-size-adjust: none;
}

    /*--------------
   Hover Only
---------------*/

    code.code,
    code.code span {
        -moz-transition: 0.5s color ease;
        -webkit-transition: 0.5s color ease;
        -ms-transition: 0.5s color ease;
        transition: 0.5s color ease;
    }

code.code {
    color: #333333;
}

    code.code.xml {
        color: #555555;
    }

        code.code.xml:hover {
            color: #333333;
        }

/* Class Name */
code .string,
code .tag .value,
code .phpdoc,
code .dartdoc,
code .tex .formula {
    color: #008C79;
}

code:hover .string,
code:hover .tag .value,
code:hover .phpdoc,
code:hover .dartdoc,
code:hover .tex .formula {
    color: #007b6b;
}

/* Comment */
code .comment,
code .template_comment,
code .diff .header,
code .javadoc {
    color: #AAAAAA;
    font-style: italic;
}


/* Properties */
code .tag,
code .rules .property,
code .django .tag .keyword {
    color: #858188;
    font-weight: normal;
}

code:hover .tag,
code:hover .rules .property,
code:hover .django .tag .keyword {
    color: #892A6F;
    font-weight: normal;
}

/* HTML Tag */
code .tag .title {
    color: #858188;
    font-weight: normal;
}

code:hover .tag .title {
    color: #892A6F;
}

/* Attribute */
code .attribute,
code .variable,
code .lisp .body {
    color: #8D8A8A;
    transition: color 0.3s;
}

code:hover .attribute,
code:hover .variable,
code:hover .lisp .body {
    color: #934E4E;
}

/* CSS ID */
code .title,
code .id,
code .scss .preprocessor {
    color: #9C989F;
    font-weight: bold;
}

/* CSS Attribute */
code .rule .attribute {
    color: #892A6F;
}

code:hover .rule .attribute {
    color: #892A6F;
}

/* CSS Value */
code .number,
code .hexcolor,
code .ruby .constant {
    color: #666666;
}

code:hover .number,
code:hover .hexcolor,
code:hover .ruby .constant {
    color: #333333;
}

/* LESS */
code.less .number,
code.less .hexcolor,
code.less .ruby .constant {
    color: #005FAA;
}

code.less:hover .number,
code.less:hover .hexcolor,
code.less:hover .ruby .constant {
    color: #005FAA;
}
/* LESS Variable */
code.less .attribute,
code.less .variable,
code.less .lisp .body {
    color: #333333;
    transition: color 0.3s;
}

code.less:hover .attribute,
code.less:hover .variable,
code.less:hover .lisp .body {
    color: #333333;
}

/* Emphasized Value */
code.code .class {
    color: #008C79;
}

    code.code .class b {
        font-weight: normal;
        background-color: rgba(90, 90, 90, 0);
        border-radius: 5px;
        line-height: 1;
        vertical-align: baseline;
        display: inline-block;
        -webkit-transition: all 0.3s ease;
        transition: all 0.3s ease;
        margin: 0px -4px;
        padding: 1px 4px;
    }

    code.code .class b {
        background-color: rgba(218, 189, 40, 0.15);
        color: #9E6C00;
    }

/*
code.code:hover .class.string b,
code.code:hover .class.value b {
  background-color: rgba(218, 189, 40, 0.1);
  color: inherit;
}
*/


/* Linked UI */
code .tag .value a {
    position: relative;
    border-radius: 5px;
    line-height: 1;
    color: inherit;
    margin: 0px -2px;
    padding: 1px 4px;
    background-color: rgba(150, 150, 150, 0.1);
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

    code .tag .value a b {
        border-radius: 0px;
    }

    code .tag .value a:hover {
        background-color: rgba(40, 150, 218, 0.2);
        color: #00689E;
    }

        code .tag .value a:hover b {
            background-color: transparent;
            color: inherit;
        }



/*--------------
      Normal
---------------*/

code .keyword,
code .css .rule .keyword,
code .winutils,
code .javascript .title,
code .nginx .title,
code .subst,
code .request,
code .status {
    color: #333;
    font-weight: bold;
}

code .javascript .title,
code .list .keyword,
code .subst {
    font-weight: normal;
}

code .class .title,
code .type,
code .vhdl .literal,
code .tex .command {
    color: #458;
    font-weight: bold;
}


code .regexp {
    color: #009926;
}

code .built_in {
    color: #0086b3;
}

code .preprocessor,
code .pragma,
code .pi,
code .doctype,
code .shebang,
code .cdata {
    color: #999;
    font-weight: bold;
}

code .deletion {
    background: #fdd;
}

code .addition {
    background: #dfd;
}

code .diff .change {
    background: #0086b3;
}

code .chunk {
    color: #aaa;
}


/*******************************
         Sidebar Layout
*******************************/

> .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;
}

:not(.site) > .pusher > .full.height {
    background-color: #FFFFFF;
}

/* page layout */
.full.height > .toc {
    position: fixed;
    z-index: 1;
    background-color: #1b1c1d;
    width: 250px;
    height: 100%;
    -webkit-box-flex: 0;
    -webkit-flex: 0 0 auto;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
}

    .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;
        max-height: 100vh;
        overflow: auto;
        -webkit-overflow-scrolling: touch;
    }

.article {
    -webkit-box-flex: 1;
    -webkit-flex: 1 1 auto;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    min-width: 0px;
    margin-left: 250px;
}

.full.height > .toc .ui.menu::-webkit-scrollbar {
    -webkit-appearance: none;
}

.full.height > .toc .ui.menu::-webkit-scrollbar-track {
    background-color: rgba(255, 255, 255, 0);
}

.full.height > .toc .ui.menu::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0);
}

.full.height > .toc .ui.menu:hover::-webkit-scrollbar-track {
    background-color: rgba(255, 255, 255, 0.1);
}

.full.height > .toc .ui.menu:hover::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.25);
}

> .pusher > .footer,
.article > .footer {
    border-top: 1px solid #DDDDDD;
    box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.08) inset;
    background-color: #FAFAFA;
    padding-top: 2em;
}

/*******************************
      Definition Container
*******************************/

> .pusher > .footer {
    clear: both;
}

.fixed.menu > .container,
.main.container,
.masthead > .container,
.footer > .container {
    position: relative;
}

.main.container {
    padding: 2em 0em 7em;
}

.wide.main.container {
    width: 80%;
    margin: 0 auto;
    max-width: 1140px;
}

.main.container > .right.rail .sticky,
.main.container > .tab > .examples > .right.rail .sticky,
.main.container > .tab > .right.rail .sticky {
    padding-bottom: 2em;
}

.following.menu .menu .active.item {
    font-weight: bold;
}

/*******************************
           Advert
*******************************/

/*----------------
  Style Overrides
-----------------*/

.masthead .advertisement {
    width: 285px;
    height: 130px;
}

    .masthead .advertisement #carbonads {
        width: 100%;
        height: 130px;
    }

.advertisement #carbonads {
    position: relative;
    display: block;
    margin: 0 auto;
    background-color: #F5F5F5;
    border: 1px solid #CCCCCC;
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.08) inset;
    padding: 1em;
    font-family: "Helvetica Neue", Arial, sans-serif;
    overflow: hidden;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
}

    .advertisement #carbonads:hover {
        background-color: #F0F8F9;
        border: 1px solid #87C7D0;
    }

.advertisement .carbon-wrap {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
}

.advertisement .carbon-img {
    width: 130px;
    margin-right: 0.75em;
    -webkit-box-flex: 1;
    -webkit-flex: 1 0 auto;
    -ms-flex: 1 0 auto;
    flex: 1 0 auto;
}

    .advertisement .carbon-img img {
        display: block;
        border: 1px solid #DDDDDD;
    }

.advertisement .carbon-text {
    font-size: 13px;
    line-height: 16px;
    padding-bottom: 1.5em;
    height: auto;
    min-width: 145px;
    color: rgba(20, 50, 50, 0.8);
}

    .advertisement .carbon-text:hover {
        color: rgba(0, 30, 30, 0.8);
    }

.carbon-poweredby {
    position: absolute;
    left: 130px;
    margin-left: 2em;
    bottom: 1em;
    color: #bbb;
    font-size: 11px;
    color: rgba(0, 0, 0, 0.3);
    text-align: left;
}


/*******************************
        Advertisements
*******************************/

/* Rail Ad */
.rail .advertisement {
    display: block;
    float: none;
    margin: 1em 0;
    padding-left: 0;
}

    .rail .advertisement #carbonads {
        display: block;
        margin: 0 -1.5em;
        width: auto;
    }

#semantic-sponsor {
    position: relative;
    z-index: 3;
    margin-top: -1px;
    min-height: 40px;
    border-top: solid 1px #dddddd;
    border-bottom: solid 1px #dddddd;
}

    #semantic-sponsor:hover {
        border-color: #87C7D0;
    }

.native-link {
    display: block;
    width: 100%;
    background-color: #F5F5F5;
    padding: 5px 3em;
    color: #415a5a;
}

    .native-link:hover {
        color: #000000;
        background-color: #F0F8F9;
    }

.native-link,
.native-ad {
    text-decoration: none;
}

.native-ad {
    position: absolute;
    right: 1rem;
}

.native-inline,
.native-link {
    display: flex;
    align-items: center;
}

.native-img {
    margin-right: 10px;
    display: block;
    padding: 5px;
    height: 30px;
    flex: 0 0 auto;
    width: 30px;
    border-radius: 50%;
}

.native-text {
    margin-right: 38px;
}

.native-ad {
    padding: 4px 7px 4px;
    line-height: 1;
    border-radius: 3px;
    background-color: #848484;
    color: #fff;
    font-size: 10px;
}

    .native-ad:hover {
        color: #fff;
    }


/*******************************
          Responsive
*******************************/

/* Defaults */
.masthead > .container,
.main.container,
.fixed.menu > .container {
    margin-left: 3em !important;
    margin-right: 3em !important;
    width: auto !important;
    max-width: 960px !important;
}

.masthead > .container {
    margin-right: 387px !important;
}

.main.container {
    margin-right: 387px !important;
}

    /* Rail Default */
    .main.container > .right.rail,
    .main.container > .tab > .examples > .right.rail,
    .main.container > .tab > .right.rail {
        margin-left: 3em;
        padding-top: 2em;
        width: 319px;
    }

.masthead .advertisement {
    margin-left: 3em;
    padding: 0em 1.25em;
    width: 342px;
}

/* Absolute Ad */
.masthead .introduction {
    display: block;
}

.masthead .advertisement {
    position: absolute;
    left: 100%;
    bottom: -2px;
}

/* Remove Overview from pages with Examples */
@media only screen and (max-width: 1500px) {

    .fixed.column {
        right: auto;
        left: 100%;
        margin-left: 4.5em;
        width: 300px;
    }

        .fixed.column + .examples {
            margin-right: 0px;
        }

            .fixed.column + .examples .right.rail {
                display: none;
            }
}


/* Table Ad */
@media only screen and (max-width: 1272px) {

    .masthead > .container:first-child {
        display: flex;
        flex-direction: row;
    }

    .masthead > .container {
        margin-right: 2em !important;
        max-width: none !important;
    }

    .masthead .introduction {
        vertical-align: top;
        flex: 1 0 auto;
    }

    .masthead .advertisement {
        position: static;
        float: none;
        flex: 0 1 auto;
        vertical-align: bottom;
        padding-left: 0em;
        margin-left: 2rem;
        margin-top: -0.5rem;
        padding-right: 0em;
    }

    .bsa-cpc ._default_ {
        margin-right: 0px;
    }
}

/* Squish Content (Just For Small Computers) */
@media only screen and (max-width: 1272px) {

    /* Resize TOC  */
    .full.height > .toc {
        width: 200px;
    }

    .article {
        margin-left: 200px;
    }

    .masthead > .container,
    .main.container,
    .fixed.menu > .container {
        margin-left: 2rem !important;
        margin-right: 2rem !important;
    }
    /* Resize Main Container */
    .main.container {
        margin-right: 318px !important;
    }

    .native-link {
        padding-left: 2rem;
        padding-right: 2rem;
    }

    .native-ad {
        right: 2rem;
    }

    /* Resize Rail */
    .main.container > .right.rail,
    .main.container > .tab > .examples > .right.rail,
    .main.container > .tab > .right.rail {
        padding-left: 1.5em;
        width: 260px;
    }

    .fixed.column {
        width: 250px;
        margin-left: 2.5em;
    }
}

/* Hide Top Bar */
@media only screen and (min-width: 1145px) {
    .fixed.main.menu {
        display: none;
    }
}

/* Remove Fixed Sidebar /  Show Top Bar */
@media only screen and (max-width: 1144px) {

    /* Hide Fixed Sidebar */
    .full.height > .toc {
        display: none;
    }

    .full.height > .article {
        margin-left: 0px;
    }

    /* Hide Fixed Launch Button */
    .fixed.launch.button {
        display: none !important;
    }

    /* Additional Padding for Fixed Menu */
    .masthead.segment {
        padding-top: 5em;
    }

    /* Hide GitHub Stars in Intro */
    .masthead iframe {
        display: none;
    }

    /* Less Left Padding */
    .masthead > .container,
    .main.container,
    .fixed.menu > .container {
        margin-left: 2em !important;
    }

        /* Padding Above Rail */
        .main.container > .right.rail .sticky,
        .main.container > .tab > .examples > .right.rail .sticky,
        .main.container > .tab > .right.rail .sticky {
            padding-top: 2.5em;
        }

    /* 100% Menu Width */
    .fixed.menu > .container {
        margin-left: 0em !important;
        margin-right: 0em !important;
        width: 100% !important;
        max-width: none !important;
    }

    /* Remove Bug Reports */
    .main.menu .bug.item {
        display: none;
    }

    /* Hide Music *]/
  .main.menu .music.item {
    display: none;
  }

  /* Space For Header Over Examples */
    .fixed.column .sticky {
        padding-top: 2em;
    }
}

/* Remove Rail */
@media only screen and (max-width: 992px) {

    /* Remove Rail */
    .main.container > .right.rail,
    .main.container > .tab > .examples > .right.rail,
    .main.container > .tab > .right.rail {
        display: none;
    }

    /* Fluid Containers */
    .masthead > .container,
    .main.container,
    .fixed.menu > .container {
        margin-left: 1em !important;
        margin-right: 1em !important;
        max-width: none !important;
    }

    /* Still 100% Fixed Menu */
    .fixed.menu > .container {
        margin-left: 0em !important;
        margin-right: 0em !important;
        width: 100% !important;
        max-width: none !important;
    }

    /* Remove Padding on Ad */
    .masthead .advertisement {
        padding-right: 0em !important;
    }
}


@media only screen and (max-width: 820px) {

    /* Ad Takes Full Width */
    .masthead .introduction {
        display: block;
    }

    .masthead .advertisement {
        display: block;
        float: none;
        margin: 2em 0em 0em;
        padding-left: 0em;
        width: auto;
    }

        .masthead .advertisement #carbonads > span {
            position: relative;
            display: block;
            max-width: 300px;
        }
}

@media only screen and (max-width: 768px) {

    .masthead > .container:first-child {
        flex-direction: column;
    }

    .masthead .advertisement #carbonads {
        height: auto;
    }

    .masthead .advertisement {
        height: auto;
        margin: 1rem 0rem;
    }
    /* Hide Some Fixed Menu Content (Pagination, Search) */
    .fixed.menu > .container > .section.item {
        display: none;
    }

    .masthead.segment {
        padding-bottom: 0em;
    }

    .button-page  > .button,
    .button-page  .html > .button {
        margin-bottom: 8px;
    }

    .stackable.grid .ui.vertical.divider {
        display: none;
    }

    /* 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 */
    .bsa-cpc ._default_ {
        padding-left: 1em;
        padding-right: 1em;
    }

    /* Let Buttons Vertically Stack */
    .masthead .button {
        margin-bottom: 0.75em;
    }

    .masthead .main.menu {
        display: none;
    }

        .masthead .main.menu + .main.menu {
            display: -webkit-box;
            display: -webkit-flex;
            display: -ms-flexbox;
            display: flex;
        }

    /* No Download Button */
    .masthead .download.button {
        display: none;
    }

    /* Hide Sitemap */
    .pusher > .footer .grid .three.column {
        display: none !important;
    }
}

/* Small Phone */
@media only screen and (max-width: 500px) {

    /* Stack Advert */
    .masthead .advertisement #carbonads > span {
        max-width: none;
    }

    .advertisement .carbon-wrap {
        -webkit-flex-direction: column-reverse;
        -ms-flex-direction: column-reverse;
        flex-direction: column-reverse;
        text-align: center;
        align-items: center;
    }

    .carbon-poweredby {
        display: none;
    }
}
