a {
    text-decoration: none;
    outline: none;
}

/*
 * Samples navigation
*/

.nd--cns-sample-navigation {
    display: none;
}

/*
 * Tabs
*/

.nd--tabs-app {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style-type: none;
}

.nd--tabs-app>li {
    float: left;
    margin-right: 0;
    border-radius: 0;
    padding: 5px 10px;
    font-weight: 700;
    font-size: 14px;
}

.nd--tabs-app>li:hover {
    cursor: pointer;
}


/*
 * Section
*/

.nd--cns-sample-section {
    overflow: hidden;
    display: flex;
    flex-direction: row;
    flex-grow: 1;
    flex-shrink: 1;
    flex-basis: auto;
    min-width: 1%;
    margin-bottom: 10px;
}


/*
 * Section - Chart wrapper
*/

.nd--cns-sample-chart-wrapper {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-grow: 1;
    flex-shrink: 1;
    flex-direction: column;
    flex-basis: auto;
    justify-content: center;
    width: 100%;
    /* height: 100%; */
    margin: 0;
    border-radius: 8px;
}


/* Copy to clipboard */

.copyToClipboard:before {
    width: unset !important;
}


/*
 * Section - Widgets wrapper
*/

.nd--cns-sample-widgets-wrapper {
    display: flex;
    overflow-y: auto;
    flex-direction: column;
    flex-grow: 0;
    flex-shrink: 0;
    flex-basis: 270px;
    min-height: 0;
}


/*
 * Chart section > Inner wrapper
 */

.nd--cns-sample-chart-inner-wrapper {
    display: flex;
}

.nd--cns-sample-chart-inner-wrapper>div {
    align-self: center;
}

.nd-nfsc.nd-nfsc-container {
    border: 0 !important;
    box-shadow: none !important;
}


/*
 * Chart Information bar/panel
 */

.nd--cns-sample-chart-information-bar {
    font-size: 11px;
    font-weight: bold;
}

.nd--cns-sample-chart-save-and-share {
    white-space: nowrap;
    font-size: 14px;
    line-height: 16px;
    margin: 5px 285px 5px auto;
    border: 0;
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
    filter: alpha(opacity=80);
    opacity: 0.8;
    transition: opacity 150ms ease-in;
}

.nd--cns-sample-chart-save-and-share:hover {
    opacity: 1;
}

.nd--cns-sample-chart-save-and-share>i {
    display: inline-block;
    margin-right: 10px;
    vertical-align: bottom;
    line-height: 18px;
}


/*
 * Widget
 */

.nd--cns-sample-widgets-wrapper {
    margin-left: 15px;
}

.nd--cns-sample-widgets-wrapper .nd--cns-sample-widgets-header {
    display: flex;
    flex: 0;
    margin-top: -8px;
    margin-bottom: 10px;
    padding: 0.5rem;
    line-height: 14px;
    font-weight: 700;
    font-size: 16px;
}

.nd--cns-sample-widgets-wrapper .nd--cns-sample-widgets-header h1 {
    margin: 0;
    font-weight: 700;
    font-size: 0.875rem;
}

.nd--cns-sample-widgets-wrapper .nd--cns-sample-widgets-container {
    overflow-x: hidden;
    overflow-y: auto;
    display: flex;
    flex: 1;
}


/*
 * Section - Widgets - News
*/

.nd-news-container-wrapper {
    width: 100%;
}

.nd-news-container .newsMonitorContainer,
.nd-notification-list-footer {
    border: 0;
}


/*
 * Tabs content
*/

.nd--tab-content.active {
    display: flex;
}

.nd--tab-content.hidden {
    display: none;
}


/*
 * Media Queries
*/
@media only screen and (max-width: 640px) {
    /*
    * Navigation
    */
    .nd--cns-sample-navigation {
        display: block;
    }
    /*
    * Section - Widgets wrapper
    */
    .nd--cns-sample-widgets-wrapper {
        display: none;
        margin-left: 0;
    }
    .nd--cns-sample-widgets-wrapper.active {
        flex-basis: 100%;
    }
}

@media only screen and (max-width: 1024px) {
    .nd--cns-sample-chart-save-and-share {
        margin-right: 0;
    }
}


/*
 * Helpers
*/


/*
 * Position relative
*/
.nd--pos-relative {
    position: relative;
}


/*!
 * Clearfix: contain floats - https://github.com/h5bp/html5-boilerplate MIT License
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.row[data-accordion]:before,
.clearfix:after,
.row[data-accordion]:after {
    content: " ";
    /* 1 */
    display: table;
    /* 2 */
}

.clearfix:after,
.row[data-accordion]:after {
    clear: both;
}

.clearfix-flex:before,
.clearfix-flex:after {
    content: " ";
    flex-basis: 0;
    order: 1;
}

.clearfix-flex:after {
    clear: both;
}
