/*
 * Stylesheet for the widget. Designed for finto.fi. Complements wiki CSS. *
 *   */
.concept-widget {
    border-top: 2px solid #394554;
}

.concept-widget > .panel, .concept-widget #wiki {
    border-radius: 0;
    border: 0;
    box-shadow: none;
}

.concept-widget > .panel > #headingWiki {
    background-color: #fff;
}

#collapseWiki > .panel-body > .btn:hover, #collapseWiki > .panel-body > .btn:active, #collapseWiki > .panel-body > .btn:focus {
    background-color: #fff;
}

#headingWiki {
    font-size: 16px;
    border-bottom: 1px solid #bbb;
}

#headingWiki > a > .glyphicon {
    color: #83CFC8;
    top: 3px;
}

#headingWiki > a + a {
    margin-left: 15px;
}

#headingWiki > a > .greyed-out {
    color: #BDBDBD;
}

#collapseWiki {
    max-height: 400px;
    /* overflow-y: scroll; */
}

#wiki p,
#wiki section > *:not(h2):not(h3),
#wiki ul > *,
#wiki ol > *,
#wiki td > a
{
    font-size: 14px; /* default to 14px */
}

#wiki p {
   font-size: inherit;
}

#wiki sup {
    vertical-align: super;
    top: 0;
}

#wiki sub {
    vertical-align: sub;
}

#wiki table.infobox td,
#wiki table.infobox th {
    padding: 2px 3px 2px 3px;
}

#wiki table.infobox td li,
#wiki table.infobox td > a,
#wiki table.infobox td > p
{
    font-size: 12px; */
}

/* // smaller references
#wiki .mw-ref {
    font-size: 75%;
}
*/

/* // default all font sizes
#wiki .infobox * {
    font-size:unset;
}
*/

#wiki a.new {
    /*override default with important (see issue #4) */
    color: #ba0000 !important;
}

#wiki sup.mw-ref:target, #wiki span.mw-ref:target {
    background-color: #eaf3ff;
}

#wiki .mbox-small {
    clear: right;
    float: right;
    margin: 4px 0 4px 1em;
    box-sizing: border-box;
    width: 238px;
    font-size: 88%;
    line-height: 1.25em;
}

#wiki .nobold {
    font-weight: normal;
}

#wiki .external {
    background-position: center right;
    background-repeat: no-repeat;
    background-image: linear-gradient(transparent,transparent),url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2212%22 height=%2212%22%3E %3Cpath fill=%22%23fff%22 stroke=%22%2336c%22 d=%22M1.5 4.518h5.982V10.5H1.5z%22/%3E %3Cpath fill=%22%2336c%22 d=%22M5.765 1H11v5.39L9.427 7.937l-1.31-1.31L5.393 9.35l-2.69-2.688 2.81-2.808L4.2 2.544z%22/%3E %3Cpath fill=%22%23fff%22 d=%22M9.995 2.004l.022 4.885L8.2 5.07 5.32 7.95 4.09 6.723l2.882-2.88-1.85-1.852z%22/%3E %3C/svg%3E");
    padding-right: 13px;
}

#wiki a[href$=".pdf"].external, #wiki a[href*=".pdf?"].external, #wiki a[href*=".pdf#"].external, #wiki a[href$=".PDF"].external, #wiki a[href*=".PDF?"].external, #wiki a[href*=".PDF#"].external {
    background: url(//upload.wikimedia.org/wikipedia/commons/2/23/Icons-mini-file_acrobat.gif) no-repeat right;
    background-size: 14px;
    padding-right: 18px;
}

#wiki figure[typeof*="mw:Image/Thumb"] > a::after,
#wiki figure[typeof*="mw:Video/Thumb"] > a::after,
#wiki figure[typeof*="mw:Audio/Thumb"] > a::after {
    float: right;
    background-image: url(//en.wikipedia.org/w/resources/src/mediawiki.skinning/images/magnify-clip-ltr.png?4f704);
    background-image: linear-gradient(transparent,transparent),url(//en.wikipedia.org/w/resources/src/mediawiki.skinning/images/magnify-clip-ltr.svg?7fa0a);
}

#wiki figure a:after {
    content: none;
}

#wiki .navbar {
    min-height: 15px;
    margin-bottom: 0px;
}

#wiki div.NavFrame div.NavHead {
    position: inherit; /* fix flags in div.NavFrame */
}

#wiki table {
    border-spacing: 1px;
    border-collapse: separate;
}

#wiki div.NavFrame div.NavContent td:nth-child(2),
#wiki div.NavFrame div.NavContent th:nth-child(2)
{
    padding: 3px 2px 1px 7px;
}

#wiki figure[typeof*="mw:Image"].mw-halign-left:not([id]),
#wiki figure[typeof*="mw:Video"].mw-halign-left:not([id]),
#wiki figure[typeof*="mw:Audio"].mw-halign-left:not([id])
{
    margin: 0 0.5em 0.5em 0;
}

#collapseWiki .wikipedia-disclaimer {
    padding: 15px;
    font-size: 14px;
}

#collapseWiki .wikipedia-credit {
    margin-top: 10px;
}

