:root {
    --demos-bar-ff: "Helvetica Neue", Helvetica, Arial, sans-serif;
    --demos-bar-bg-active: #e9ecef;
    --demos-bar-bg-active: #fff;
    --demos-bar-bg-inactive: #343a40;
    --ease: ease-out;
    --easeOutExpo: cubic-bezier(0.19, 1, 0.22, 1)
}

body.--active-demo-panel {
    overflow: hidden
}

.rey-demoPanel-wrapper {
    position: fixed;
    width: 100%;
    top: 100%;
    left: 0;
    z-index: 10000;
    font-size: 14px;
    opacity: 1;
    visibility: visible;
    -webkit-transition: 0.3s var(--easeOutExpo);
    transition: 0.3s var(--easeOutExpo);
    -webkit-transition-property: opacity, visibility;
    transition-property: opacity, visibility;
    display: none
}

@media (min-width: 1025px) {
    .rey-demoPanel-wrapper {
        display: block
    }
}

.rey-demoPanel-wrapper, .rey-demoPanel-wrapper a, .rey-demoPanel-wrapper h4 {
    font-family: var(--demos-bar-ff)
}

    .rey-demoPanel-wrapper svg {
        font-size: 1rem;
        display: inline-block;
        fill: currentColor;
        height: 1em;
        position: relative;
        vertical-align: middle;
        width: 1em
    }

    .rey-demoPanel-wrapper.--loading {
        opacity: 0;
        visibility: hidden
    }

.rey-demoPanel-panelWrapper {
    padding-top: 4.38em;
    opacity: .7;
    -webkit-transition: 0.25s var(--easeOutExpo);
    transition: 0.25s var(--easeOutExpo);
    -webkit-transition-property: opacity, -webkit-transform;
    transition-property: opacity, -webkit-transform;
    transition-property: opacity, transform;
    transition-property: opacity, transform, -webkit-transform;
    -webkit-transform: translateY(0);
    transform: translateY(0)
}

.--show-dp .rey-demoPanel-panelWrapper {
    -webkit-transform: translateY(-5.2em);
    transform: translateY(-5.2em)
}

.rey-demoPanel-wrapper.--loading .rey-demoPanel-panelWrapper {
    -webkit-transform: translateY(0);
    transform: translateY(0)
}

.rey-demoPanel-wrapper.--active .rey-demoPanel-panelWrapper, .rey-demoPanel-panelWrapper:hover {
    opacity: 1
}

.rey-demoPanel-overlay {
    position: fixed;
    left: -100vw;
    top: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(29,40,45,0.8);
    opacity: 0;
    visibility: hidden;
    -webkit-transition: 0.6s var(--easeOutExpo);
    transition: 0.6s var(--easeOutExpo);
    -webkit-transition-property: opacity, visibility;
    transition-property: opacity, visibility
}

.rey-demoPanel-wrapper.--active .rey-demoPanel-overlay {
    opacity: 1;
    visibility: visible;
    left: 0
}

.rey-demoPanel-buttonsWrapper {
    position: absolute;
    right: 0;
    top: 0;
    padding: 1em 1.4em 0 1em;
    z-index: 1;
    overflow: hidden;
    -webkit-transition: 0.6s var(--easeOutExpo);
    transition: 0.6s var(--easeOutExpo);
    -webkit-transition-property: opacity, -webkit-transform;
    transition-property: opacity, -webkit-transform;
    transition-property: opacity, transform;
    transition-property: opacity, transform, -webkit-transform
}

.rey-demoPanel-wrapper.--active .rey-demoPanel-buttonsWrapper {
    z-index: 0;
    -webkit-transform: translateY(100%);
    transform: translateY(100%);
    opacity: 0
}

.rey-demoPanel-buttons {
    background-color: var(--demos-bar-bg-inactive);
    border-radius: 4px 4px 0 0;
    padding: 0 1.2em;
    -webkit-box-shadow: 0 0 10px rgba(0,0,0,0.4);
    box-shadow: 0 0 10px rgba(0,0,0,0.4);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center
}

    .rey-demoPanel-buttons .rey-demoPanel-btn {
        color: #fff;
        font-weight: 500;
        display: inline-block;
        padding: 1em 1em .8em
    }

        .rey-demoPanel-buttons .rey-demoPanel-btn + .rey-demoPanel-btn {
            margin-left: 2em;
            position: relative
        }

            .rey-demoPanel-buttons .rey-demoPanel-btn + .rey-demoPanel-btn:before {
                content: '';
                position: absolute;
                left: -1em;
                top: calc(50% - .5em);
                width: 1px;
                height: 1em;
                background-color: #fff;
                opacity: .5
            }

    .rey-demoPanel-buttons .rey-demoPanel-remove svg {
        font-size: 12px;
        display: block
    }

.rey-demoPanel {
    background-color: var(--demos-bar-bg-inactive);
    border-radius: 4px 0 4px 4px;
    position: relative;
    -webkit-box-shadow: 0 0 10px rgba(0,0,0,0.4);
    box-shadow: 0 0 10px rgba(0,0,0,0.4);
    width: calc(100% - 2.8em);
    top: 0;
    left: 1.4em;
    z-index: 0;
    padding: 0 2em;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-transition: 0.6s var(--easeOutExpo);
    transition: 0.6s var(--easeOutExpo);
    -webkit-transition-property: background-color, height, -webkit-transform;
    transition-property: background-color, height, -webkit-transform;
    transition-property: transform, background-color, height;
    transition-property: transform, background-color, height, -webkit-transform;
    color: #343a40
}

    .rey-demoPanel a {
        -webkit-transition: color 0.3s var(--easeOutExpo);
        transition: color 0.3s var(--easeOutExpo);
        color: #343a40
    }

    .rey-demoPanel[data-size="1"] {
        height: 50vh
    }

        .rey-demoPanel[data-size="1"] .demoPanel-sizeControls-dots span:nth-child(3) {
            background-color: #495057
        }

        .rey-demoPanel[data-size="1"] .demoPanel-sizeControls[data-sizing="-1"] {
            opacity: .5;
            pointer-events: none
        }

    .rey-demoPanel[data-size="2"] {
        height: 70vh
    }

        .rey-demoPanel[data-size="2"] .demoPanel-sizeControls-dots span:nth-child(2), .rey-demoPanel[data-size="2"] .demoPanel-sizeControls-dots span:nth-child(3) {
            background-color: #495057
        }

    .rey-demoPanel[data-size="3"] {
        height: 95vh
    }

        .rey-demoPanel[data-size="3"] .demoPanel-sizeControls-dots span:nth-child(1), .rey-demoPanel[data-size="3"] .demoPanel-sizeControls-dots span:nth-child(2), .rey-demoPanel[data-size="3"] .demoPanel-sizeControls-dots span:nth-child(3) {
            background-color: #495057
        }

        .rey-demoPanel[data-size="3"] .demoPanel-sizeControls[data-sizing="1"] {
            opacity: .5;
            pointer-events: none
        }

.rey-demoPanel-wrapper.--active .rey-demoPanel {
    background-color: var(--demos-bar-bg-active);
    border-radius: 4px
}

    .rey-demoPanel-wrapper.--active .rey-demoPanel[data-size="1"] {
        -webkit-transform: translateY(-50vh);
        transform: translateY(-50vh)
    }

    .rey-demoPanel-wrapper.--active .rey-demoPanel[data-size="2"] {
        -webkit-transform: translateY(-70vh);
        transform: translateY(-70vh)
    }

    .rey-demoPanel-wrapper.--active .rey-demoPanel[data-size="3"] {
        -webkit-transform: translateY(-95vh);
        transform: translateY(-95vh)
    }

.rey-demoPanel ul {
    margin: 0;
    padding: 0;
    list-style: none
}

.rey-demoPanel .rey-demoPanel-header {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-flex: 0;
    -ms-flex: 0 1 auto;
    flex: 0 1 auto;
    border-bottom: 1px solid #ced4da;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center
}

.rey-demoPanel .rey-demoPanel-tabs {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    margin-right: auto
}

    .rey-demoPanel .rey-demoPanel-tabs a {
        display: block;
        padding: 0;
        line-height: 4.5em;
        min-width: 10em;
        text-align: center;
        font-weight: 600
    }

@media (max-width: 1500px) {
    .rey-demoPanel .rey-demoPanel-tabs a {
        min-width: 7em
    }
}

.rey-demoPanel .rey-demoPanel-tabs a.--active {
    position: relative
}

    .rey-demoPanel .rey-demoPanel-tabs a.--active:after {
        content: '';
        position: absolute;
        width: 100%;
        height: .4em;
        left: 0;
        bottom: 0;
        background-color: #ced4da
    }

.rey-demoPanel .rey-demoPanel-tabs a.--disabled {
    pointer-events: none;
    opacity: .5
}

.rey-demoPanel .rey-demoPanel-links {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    margin-left: auto
}

    .rey-demoPanel .rey-demoPanel-links a {
        display: inline-block;
        padding-right: 1.5em;
        font-weight: 600
    }

    .rey-demoPanel .rey-demoPanel-links svg {
        font-size: 1.5em;
        margin-right: 10px;
        color: #ced4da
    }

    .rey-demoPanel .rey-demoPanel-links span {
        vertical-align: middle
    }

@media (max-width: 1500px) {
    .rey-demoPanel .rey-demoPanel-links .rey-demoPanel-links--askQuestion {
        display: none
    }
}

.rey-demoPanel .rey-demoPanel-links .rey-dpSocialLink a {
    padding-right: .8em
}

    .rey-demoPanel .rey-demoPanel-links .rey-dpSocialLink a svg {
        margin: 0;
        color: #495057
    }

.rey-demoPanel .rey-demoPanel-links .rey-dpSocialLink:nth-child(2) {
    margin-right: 3em
}

.rey-demoPanel .rey-demoPanel-search {
    position: relative;
    display: none
}

@media (min-width: 1440px) {
    .rey-demoPanel .rey-demoPanel-search.--active {
        display: block
    }
}

.rey-demoPanel .rey-demoPanel-search svg {
    position: absolute;
    left: 1rem;
    top: calc(50% - .5rem);
    opacity: 0.4
}

.rey-demoPanel .rey-demoPanel-search input[type="search"] {
    padding-left: 50px;
    height: 2.4rem;
    border-radius: 60px
}

.rey-demoPanel .rey-demoPanel-controls {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    margin-left: 3em;
    color: #6c757d
}

@media (max-width: 1500px) {
    .rey-demoPanel .rey-demoPanel-controls {
        margin-left: 1em
    }
}

.rey-demoPanel .rey-demoPanel-controls a {
    position: relative;
    color: #6c757d
}

    .rey-demoPanel .rey-demoPanel-controls a::before {
        content: '';
        position: absolute;
        top: calc(50% - 1.5em);
        left: calc(50% - 1.5em);
        width: 3em;
        height: 3em;
        background-color: rgba(0,0,0,0.05);
        border-radius: 50%;
        -webkit-transition: opacity .3s ease-out;
        transition: opacity .3s ease-out;
        opacity: 0
    }

    .rey-demoPanel .rey-demoPanel-controls a:hover {
        color: #343a40
    }

        .rey-demoPanel .rey-demoPanel-controls a:hover:before {
            opacity: 1
        }

.rey-demoPanel .rey-demoPanel-controls ul {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex
}

    .rey-demoPanel .rey-demoPanel-controls ul a {
        padding: 0 1.3em;
        line-height: 4.5em;
        display: block
    }

.rey-demoPanel .rey-demoPanel-controls .demoPanel-sizeControls a svg {
    height: 0.6em
}

.rey-demoPanel .rey-demoPanel-controls .demoPanel-sizeControls-dots {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    padding: 0 .5em
}

    .rey-demoPanel .rey-demoPanel-controls .demoPanel-sizeControls-dots span {
        display: block;
        width: 4px;
        height: 4px;
        border-radius: 50%;
        margin-top: 5px;
        background-color: #ced4da
    }

        .rey-demoPanel .rey-demoPanel-controls .demoPanel-sizeControls-dots span:first-child {
            margin-top: 0
        }

.rey-demoPanel .rey-demoPanel-controls .--flip-vertical {
    -webkit-transform: scaleY(-1);
    transform: scaleY(-1)
}

.rey-demoPanel .rey-demoPanel-close {
    line-height: 4.5em;
    padding-left: 3em;
    padding-right: 2em;
    margin-right: -2em
}

    .rey-demoPanel .rey-demoPanel-close svg {
        font-size: 13px
    }

    .rey-demoPanel .rey-demoPanel-close:before {
        margin-left: 0.47em
    }

.rey-demoPanel .rey-demoPanel-contentWrapper {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    position: relative
}

.rey-demoPanel .rey-demoPanel-content {
    overflow: auto;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    margin-left: -.75rem;
    margin-right: -.75rem
}

.rey-demoPanel .rey-demoPanel-contentTab {
    display: none
}

    .rey-demoPanel .rey-demoPanel-contentTab.--active {
        display: block
    }

.rey-demoPanel .rey-demoPanel-contentItems {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    padding: 1.5rem .75rem 0 .75rem
}

    .rey-demoPanel .rey-demoPanel-contentItems::after {
        display: block;
        clear: both;
        content: ""
    }

.rey-demoPanel .rey-demoPanel-item {
    width: calc((100% / 4) - .75rem);
    padding-right: .75rem;
    padding-left: .75rem;
    float: left;
    margin-bottom: 2.5rem;
    position: relative
}

@media (min-width: 1440px) {
    .rey-demoPanel .rey-demoPanel-item {
        width: calc((100% / 5) - .75rem)
    }
}

.rey-demoPanel .rey-demoPanel-item.--hidden {
    display: none
}

.rey-demoPanel .rey-demoPanel-contentTab[data-per-row="7"] .rey-demoPanel-item {
    width: calc((100% / 4) - .75rem)
}

@media (min-width: 1440px) {
    .rey-demoPanel .rey-demoPanel-contentTab[data-per-row="7"] .rey-demoPanel-item {
        width: calc((100% / 6) - .75rem)
    }
}

.rey-demoPanel .rey-demoPanel-itemContent {
    -webkit-transition: 0.6s var(--easeOutExpo);
    transition: 0.6s var(--easeOutExpo);
    -webkit-transition-property: opacity;
    transition-property: opacity;
    opacity: 0;
    position: absolute
}

.rey-demoPanel .rey-demoPanel-itemThumbnail {
    display: block;
    margin-bottom: .8rem;
    border-radius: 7px;
    border: 2px solid #e9ecef;
    -webkit-transition: border-color 0.25s var(--easeOutExpo);
    transition: border-color 0.25s var(--easeOutExpo);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden
}

    .rey-demoPanel .rey-demoPanel-itemThumbnail:hover {
        border-color: #ced4da
    }

    .rey-demoPanel .rey-demoPanel-itemThumbnail img {
        max-width: 100%;
        height: auto;
        border-radius: 5px;
        -webkit-box-shadow: 0 0 18px 4px rgba(0,0,0,0.15);
        box-shadow: 0 0 18px 4px rgba(0,0,0,0.15);
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden
    }

.rey-demoPanel .rey-demoPanel-itemName {
    font-size: 16px;
    font-weight: 400;
    margin: 0
}

.rey-demoPanel .rey-demoPanel-loader:before, .rey-demoPanel .rey-demoPanel-loader:after {
    content: '';
    display: block;
    background-color: #dee2e6;
    -webkit-animation: animateLoader 0.5s infinite alternate;
    animation: animateLoader 0.5s infinite alternate
}

@-webkit-keyframes animateLoader {
    to {
        opacity: .4
    }
}

@keyframes animateLoader {
    to {
        opacity: .4
    }
}

.rey-demoPanel .rey-demoPanel-loader:before {
    min-height: 170px;
    border-radius: 5px;
    margin-bottom: .8rem
}

.rey-demoPanel .rey-demoPanel-loader:after {
    min-height: 20px;
    width: 80px
}

.rey-demoPanel .rey-demoPanel-item.--visible .rey-demoPanel-itemContent {
    opacity: 1;
    position: static
}

.rey-demoPanel .rey-demoPanel-item.--visible .rey-demoPanel-loader {
    display: none
}

.rey-demoPanel .rey-demoPanel-handler {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 10px;
    cursor: n-resize;
    z-index: 1;
    display: none
}

.rey-demoPanel-wrapper.--active .rey-demoPanel .rey-demoPanel-handler {
    display: block
}

.rey-demoPanel[data-size="3"] .rey-demoPanel-handler {
    cursor: s-resize
}

.rey-demoPanel .rey-demoPanel-ctg {
    margin: 1.3rem 0 0 2rem
}

    .rey-demoPanel .rey-demoPanel-ctg span {
        font-weight: 500;
        margin-left: 1rem;
        font-size: 11px;
        cursor: pointer
    }

        .rey-demoPanel .rey-demoPanel-ctg span.--active, .rey-demoPanel .rey-demoPanel-ctg span:hover {
            text-decoration: underline
        }

        .rey-demoPanel .rey-demoPanel-ctg span:first-child {
            margin-left: 0
        }

.rey-demos-tooltip {
    position: absolute;
    background-color: rgba(33,37,41,0.9);
    color: #fff;
    display: inline-block;
    z-index: 99999;
    padding: 0.5em 0.8em;
    border-radius: 3px;
    font-size: 11px;
    font-family: var(--demos-bar-ff);
    max-width: 200px;
    font-weight: 500;
    letter-spacing: 0
}
