﻿/************************************************/
/***       REFERENCE GUIDE STYLE SHEET        ***/
/************************************************/
/*
 * This document contains the styles to support the Reference Guide pages in iMIS 
 */
   
.RefExample
{
    border: 1px solid #ccc;
    padding: 2.3em 1.5em 1.5em;
    position: relative;
    margin: 15px 0;
}

.RefExample:before
{
    content: "Example";
    background-color: #EAEAEA;
    border: 1px solid #ccc;
    position: absolute;
    left: -1px;
    top: -1px;
    padding: 0.15em 0.385em 0.307em;
}

.RefCode
{
    position: relative;
    margin: 0 0 15px 0;
    padding: 1.5em;
    font-size: 13px;
}

.RefExample + .RefCode
{
    margin-top: -16px;
}

pre.prettyprint{
    width: auto;
    overflow: auto;
    background-color: #3f3f3f !important;
}

code
{
    background-color: #EAEAEA;
    padding: 0 2px !important;
    white-space: nowrap;
}

.RefTOC
{
    float: left;
    width: 15em;
    border: 1px solid #ccc;
    background-color: #F7F7F7;
    margin-top: 0.4em;
}

.RefTOC ul li
{
    list-style-type: none;
    padding: 0.8em;
}

.RefTOC ul
{
    margin: 0;
    padding: 0;
}

.RefTOC + .RefContent
{
    margin-left: 16.5em;
}

.RefContent h2, 
.RefContent h3 {
    margin-top: 1em;
}

/* Apply the 'linenums' class to a pre tag to display line numbers. 
   The following style overrides the default 'linenums' behavior and displays all line numbers  */
li.L0,
li.L1,
li.L2,
li.L3,
li.L5,
li.L6,
li.L7,
li.L8
{
    list-style-type: decimal !important;
}


