
@font-face {
    font-family: "Icons";
    src: url('../fonts/OverviewPanel-Icons.woff');
}

/* open-sans-latin-wght-normal */
@font-face {
    font-family: 'Open Sans Variable';
    font-style: normal;
    font-weight: 300 800;
    src: url('../../../lib/opensans/fonts/open-sans-latin-wght-normal.woff2') format('woff2-variations');
}

/* roboto-slab-latin-wght-normal */
@font-face {
    font-family: 'Roboto Slab Variable';
    font-style: normal;
    font-weight: 100 900;
    src: url('../../../lib/roboto-slab/fonts/roboto-slab-latin-wght-normal.woff2') format('woff2-variations');
}

.fl-overviewPanel-container {
    /*
     * APPLY this class on the container enclosing the overviewPanel component.
     * Customize these values to change the positioning.
     *
     * Note: If you change the position, you may have to change the position of
     * .fl-overviewPanel-hidden styles so that the transition goes in the desired
     * direction.
     */

    font-family: "Open Sans Variable", "Helvetica Neue", "Helvetica", Arial, sans-serif;
    font-size: 1em;
    height: 100%;
    left: 0;
    min-height: 28em;
    position: fixed;
    top: 0;

    /* Transition used to control hide/show of this container */
    transition: all 0.2s linear;
    width: 24em;
    z-index: 9999;
}

.fl-overviewPanel-container * {
    font-family: inherit;
}

.fl-overviewPanel .fl-overviewPanel-title {
    background-color: #333;
    color: #ccc;
    font-family: 'Roboto Slab Variable', serif;
    height: 5.5em;
    left: 0;
    line-height: 2em;
    padding: 0.5em 0.5em 0.5em 3em;
    position: absolute;
    top: 0;
    width: calc(100% - 3.5em);
}

.fl-overviewPanel .fl-overviewPanel-title * {
    font-family: inherit;
}

.fl-overviewPanel .fl-overviewPanel-contents {
    bottom: 18.5em; /* Change this if needed - offset the height of fl-overviewPanel-footer. */
    overflow: auto;
    padding: 1.5em;
    position: absolute;

    /*
     * If changing the height of title or footer, make sure the top and bottom
     * positions of fl-overviewPanel-contents are adjusted.
     */
    top: 6.5em;     /* Change this if needed - offset the height of fl-overviewPanel-title + 1em (for line-height compensation).  */
}

.fl-overviewPanel .fl-overviewPanel-footer {
    bottom: 0;
    height: 18.5em;
    left: 0;
    line-height: 1em;
    overflow: auto;
    position: absolute;
    width: 100%;
}

/* General styles */

.fl-overviewPanel {
    color: #fff;
    height: inherit;
    left: 0;
    position: relative;
}

.fl-overviewPanel h1 {
    font-size: 1.4em;
    margin: 0;
}

.fl-overviewPanel h2 {
    font-size: 1em;
    margin: 0;
}

.fl-overviewPanel .fl-overviewPanel-icon-fluidStar a:focus,
.fl-overviewPanel a:active,
.fl-overviewPanel a:focus {
    outline: 0.3em solid #27a9e1;
}

.fl-overviewPanel-group::after { /* clearfix (aka. group) */
    clear: both;
    content: "";
    display: table;
}

/* The Star icon that acts as a toggle button */

.fl-overviewPanel .fl-overviewPanel-icon-fluidStar {
    font-size: 1.5em;
    left: 0.2em;
    position: fixed;
    top: 0.2em;
    z-index: 1; /* Z-index and position relative is defined so it appears properly relative to the panel's title. */
}

.fl-overviewPanel .fl-overviewPanel-icon-fluidStar a {
    background-color: #333; /* IE8 */
    background-color: rgba(51, 51, 51, 0.96);
    color: #fc0;
    float: left;

    /* FLUID-5321: use important to keep learner prefs from changing it. */
    font-family: "Icons" !important;  /* stylelint-disable-line font-family-no-missing-generic-family-keyword */
    font-weight: normal !important; /* Keep UIO from changing the weight of icons. Bold icons look poor. */
    letter-spacing: normal; /* to prevent override from letter spacing adjuster */
    line-height: 1.8em;
    outline: 0.2em solid #333;
    outline: 0.2em solid rgba(51, 51, 51, 0.96);
    padding: 0.7em 0.3em;
    position: relative;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.fl-overviewPanel .fl-overviewPanel-icon-fluidStar a:hover {
    background-color: #444;
}

.fl-overviewPanel .fl-overviewPanel-icon-fluidStar a::before {
    content: "\e604";
}

/* The Demo Menu itself */
.fl-overviewPanel .fl-overviewPanel-body {
    background-color: #444; /* IE8 */
    background-color: rgba(51, 51, 51, 0.96);
    height: 100%;

    /* Fade out the overviewPanel contents. Otherwise it just disappears. */
    transition: visibility 0.1s linear;
    visibility: visible;
}

/* Demo Menu Visibility */

.fl-overviewPanel-hidden .fl-overviewPanel .fl-overviewPanel-body {
    transition: visibility 0.1s linear;
    visibility: hidden;
}

.fl-overviewPanel-container.fl-overviewPanel-hidden {
    height: 0.01em;
    transition: all 0.2s linear; /* This transition creates the desired sliding effect. */

    /* Make this container essentially hidden. Some dimensions need to be given to avoid a problem with rendering on Safari. */
    width: 0.01em;
}

/* Header area with title */

.fl-overviewPanel .fl-overviewPanel-title h1 {
    display: inline-block;
    margin-left: 0.2em;
    padding: 0.5em;
}

.fl-overviewPanel .fl-overviewPanel-title a {
    color: #fff;
    text-decoration: none;
    transition: color 0.2s ease;
}

.fl-overviewPanel .fl-overviewPanel-title a:hover {
    color: #fc0;
}

/* Content area of the component */

.fl-overviewPanel .fl-overviewPanel-componentName {
    display: block;
    font-weight: bold;
    margin: 0.6em 0;
}

.fl-overviewPanel .fl-overviewPanel-componentVersion {
    font-style: italic;
}

.fl-overviewPanel .fl-overviewPanel-instructions {
    border: 0.2em solid #fc0;
    margin-top: 2em;
    padding: 1em;
}

.fl-overviewPanel .fl-overviewPanel-instructions h2 {
    font-weight: normal;
    text-transform: uppercase;
}

/* Icon links to code, API, and designs. */
.fl-overviewPanel .fl-overviewPanel-links {
    padding-top: 0.5em;
}

.fl-overviewPanel .fl-overviewPanel-links ul {
    padding-left: 0;
    width: 80%;
}

.fl-overviewPanel .fl-overviewPanel-links ul li {
    display: inline-block;
    list-style: none outside none;
    margin-bottom: 1.5em;
    width: 49%;
}

.fl-overviewPanel .fl-overviewPanel-links ul li a {
    color: #fff;
    display: inline-block;
    text-align: center;
    text-decoration: none;
    transition: color 0.2s ease;
    width: 100%;
}

.fl-overviewPanel .fl-overviewPanel-links ul li a:focus .fl-overviewPanel-iconContainer,
.fl-overviewPanel .fl-overviewPanel-links ul li a:focus .fl-overviewPanel-demoCodeLinkText,
.fl-overviewPanel .fl-overviewPanel-links ul li a:focus .fl-overviewPanel-apiLinkText,
.fl-overviewPanel .fl-overviewPanel-links ul li a:focus .fl-overviewPanel-designLinkText,
.fl-overviewPanel .fl-overviewPanel-links ul li a:focus .fl-overviewPanel-infusionCodeLinkText {
    background: #444;
}

.fl-overviewPanel .fl-overviewPanel-links ul li a:hover {
    color: #fc0;
}

.fl-overviewPanel .fl-overviewPanel-links ul li a:hover .fl-overviewPanel-iconContainer,
.fl-overviewPanel .fl-overviewPanel-links ul li a:hover .fl-overviewPanel-demoCodeLinkText,
.fl-overviewPanel .fl-overviewPanel-links ul li a:hover .fl-overviewPanel-apiLinkText,
.fl-overviewPanel .fl-overviewPanel-links ul li a:hover .fl-overviewPanel-designLinkText,
.fl-overviewPanel .fl-overviewPanel-links ul li a:hover .fl-overviewPanel-infusionCodeLinkText {
    background: #444;
}

.fl-overviewPanel .fl-overviewPanel-footer .fl-overviewPanel-links .fl-overviewPanel-links-icon {
    background-color: #fff;
    border-radius: 50em;
    color: #333;
    display: inline-block;

    /* FLUID-5321: use important to keep learner prefs from changing it. */
    font-family: icons !important;  /* stylelint-disable-line font-family-no-missing-generic-family-keyword */
    font-weight: normal !important; /* Keep UIO from changing the weight of icons. Bold icons look poor. */
    height: 2.5em;
    letter-spacing: normal; /* to prevent override from letter spacing adjuster */
    line-height: 1em;
    text-align: center;
    transition: background-color 0.2s ease;
    width: 2.5em;
}

.fl-overviewPanel .fl-overviewPanel-footer .fl-overviewPanel-links .fl-overviewPanel-links-icon::before {
    font-size: 1.2em;
    position: relative;
    top: 0.6em;
}

.fl-overviewPanel .fl-overviewPanel-links ul li a:hover .fl-overviewPanel-links-icon {
    background-color: #fc0;
}

.fl-overviewPanel .fl-overviewPanel-links-icon-api::before {
    content: "\e602";
}

.fl-overviewPanel .fl-overviewPanel-links-icon-github::before {
    content: "\e601";
}

.fl-overviewPanel .fl-overviewPanel-links-icon-code::before {
    content: "\e600";

    /* Adjust centering of icon */
    margin-left: -0.2em;
}

.fl-overviewPanel .fl-overviewPanel-links-icon-design::before {
    content: "\e603";
}

.fl-overviewPanel-demoCodeLinkText,
.fl-overviewPanel-apiLinkText,
.fl-overviewPanel-designLinkText,
.fl-overviewPanel-infusionCodeLinkText {
    display: block;
}

.fl-overviewPanel .fl-overviewPanel-feedback-link {
    margin-top: 1em;
    text-align: center;
}

.fl-overviewPanel .fl-overviewPanel-feedbackText {
    display: block;
}

.fl-overviewPanel .fl-overviewPanel-feedback-link a {
    color: #fc0;
}

/* Footer / Close button */

.fl-overviewPanel .fl-overviewPanel-footer .fl-overviewPanel-closeControl {
    background-color: #fff;
    border-radius: 0.3em;
    color: #333;
    display: inline-block;
    float: right;
    margin: 1em 1em 0 0;
    padding: 0.3em 1em;
    text-decoration: none;
    text-transform: lowercase;
}

/* Theming */

.fl-theme-bw .fl-overviewPanel,
.fl-theme-wb .fl-overviewPanel,
.fl-theme-yb .fl-overviewPanel,
.fl-theme-by .fl-overviewPanel,
.fl-theme-lgdg .fl-overviewPanel,
.fl-theme-gd .fl-overviewPanel,
.fl-theme-gw .fl-overviewPanel,
.fl-theme-bbr .fl-overviewPanel {
    border-right: 0.2em solid;
}

.fl-theme-bw .fl-overviewPanel a,
.fl-theme-wb .fl-overviewPanel a,
.fl-theme-yb .fl-overviewPanel a,
.fl-theme-by .fl-overviewPanel a,
.fl-theme-lgdg .fl-overviewPanel a,
.fl-theme-gd .fl-overviewPanel a,
.fl-theme-gw .fl-overviewPanel a,
.fl-theme-bbr .fl-overviewPanel a {
    text-decoration: underline;
}

.fl-theme-bw .fl-overviewPanel .fl-overviewPanel-icon-fluidStar a,
.fl-theme-wb .fl-overviewPanel .fl-overviewPanel-icon-fluidStar a,
.fl-theme-yb .fl-overviewPanel .fl-overviewPanel-icon-fluidStar a,
.fl-theme-by .fl-overviewPanel .fl-overviewPanel-icon-fluidStar a,
.fl-theme-lgdg .fl-overviewPanel .fl-overviewPanel-icon-fluidStar a,
.fl-theme-gd .fl-overviewPanel .fl-overviewPanel-icon-fluidStar a,
.fl-theme-gw .fl-overviewPanel .fl-overviewPanel-icon-fluidStar a,
.fl-theme-bbr .fl-overviewPanel .fl-overviewPanel-icon-fluidStar a {
    outline: none;
}

.fl-theme-bw .fl-overviewPanel-hidden .fl-overviewPanel,
.fl-theme-wb .fl-overviewPanel-hidden .fl-overviewPanel,
.fl-theme-yb .fl-overviewPanel-hidden .fl-overviewPanel,
.fl-theme-by .fl-overviewPanel-hidden .fl-overviewPanel,
.fl-theme-lgdg .fl-overviewPanel-hidden .fl-overviewPanel,
.fl-theme-gd .fl-overviewPanel-hidden .fl-overviewPanel,
.fl-theme-gw .fl-overviewPanel-hidden .fl-overviewPanel,
.fl-theme-bbr .fl-overviewPanel-hidden .fl-overviewPanel {
    /* on all themes, hide the right border when "hidden". */
    border-right: 0;
}
