/* multicolumn and positioned floats */
.multicolumn
{
    column-count: 2;
    column-gap: 35px;
    -ms-hyphens: auto;
    text-align: justify;
    padding-left: 5px;
}

#PositionedFloat
{
    float: -ms-positioned;
    position: absolute;
    padding: 5px;
    height: 150px;
    width: auto;
    border-width: 5px;
    border-style: solid;
    border-color: rgba(0, 0, 0, 0);
    left: 435px;
    top: 277px;
    background: rgb(0, 0, 0, 0);
    z-index: 500;
}

#Positioned
{
    padding: 5px;
    height: 150px;
    width: auto;
    border-width: 5px;
    border-style: solid;
    border-color: rgba(0, 0, 0, 0);
    left: 438px;
    top: 269px;
    background: rgb(0, 0, 0, 0);
    z-index: 500;
}

/* create a grid within the article container and create regions */
#articleContainer.grid
{
    display: -ms-grid;
    -ms-grid-rows: auto 420px auto;
    -ms-grid-columns: 860px;
    padding-left: 10px;
}

#articleSource
{
    -ms-flow-into: content;
}

#articleTitle
{
    -ms-grid-row: 1;
    -ms-grid-column: 1;
    -ms-grid-row-align: start;
}

#articleText1
{
    -ms-grid-row: 2;
    -ms-grid-column: 1;
}


#articleText1.regions
{
    -ms-flow-from: content;
    -ms-grid-row: 2;
    -ms-grid-column: 1;
    opacity: 1;
}

#articleText2
{
    -ms-grid-row: 2;
    -ms-grid-column: 1;
}

#articleText2.regions
{
    -ms-flow-from: content;
    -ms-grid-row: 2;
    -ms-grid-column: 1;
    opacity: 0;
}

#selectPage
{
    -ms-grid-column: 1;
    -ms-grid-row: 3;
    -ms-grid-column-align: end;
    visibility: hidden;
    margin-right: 30px;
}

#selectPage.regions
{
    -ms-grid-column: 1;
    -ms-grid-row: 3;
    -ms-grid-column-align: end;
    visibility: visible;
}

#previous
{
    padding-right: 10px;
}

body
{
    font: 12pt 'Segoe UI' , Georgia;
    color: #404041;
    margin: 0;
    padding-top: 8px;
    background-color: rgba(0,0,0,0);
}

/* Type */
h1
{
    font: 32pt 'Segoe UI Light';
    color: #58595b;
    margin: 0 0 20px 0;
}

h2
{
    font: 20pt 'Segoe UI Light';
    color: #58595b;
}

h3
{
    margin-top: 5px;
    font: 16pt 'Segoe UI Light';
    color: #58595b;
}

a
{
    text-decoration: none;
    font: 12pt 'Segoe UI';
    color: #0086ff;
}

a img
{
    border: none;
}

/* Main Grid */
body.grid
{
    display: -ms-grid;
    -ms-grid-columns: auto 870px auto;
    -ms-grid-rows: 100px auto 535px;
}

#header
{
    -ms-grid-row: 1;
    -ms-grid-column: 2;
    -ms-grid-column-span: 1;
    -ms-grid-row-align: center;
    padding-left: 10px;
}

#logo
{
    -ms-grid-row: 1;
    -ms-grid-column: 3;
    margin: 10px;
}

#menu.top
{
    border-top: 2px solid lightgray;
    white-space: nowrap;
    -ms-grid-row: 2;
    -ms-grid-column: 2;
    -ms-grid-column-span: 2;
}

#menu.left
{
    border-top: 2px solid lightgray;
    border-bottom: 2px solid lightgray;
    border-right: 2px solid lightgray;
    padding-left: 10px;
    padding-right: 10px;
    white-space: nowrap;
    -ms-grid-row: 3;
    -ms-grid-column: 1;
    -ms-grid-column-span: 1;
}

#articleContainer
{
    -ms-grid-layer: -1;
    -ms-grid-row: 3;
    -ms-grid-column: 2;
    -ms-grid-column-span: 1;
    padding-left: 10px;
    border-top: 2px solid lightgray;
}

#rightSidebar
{
    -ms-grid-row: 3;
    -ms-grid-column: 3;
    -ms-grid-row-align: stretch;
    -ms-grid-column-align: stretch;
    padding: 5px;
    margin-right: 20px;
    padding-top: 50px;
    border-top: 2px solid lightgray;
}

/* create a grid within the menu */
#menu.grid
{
    display: -ms-grid;
    -ms-grid-rows: auto;
    -ms-grid-columns: 1fr 1fr 1fr 1fr;
}
#menu1
{
    -ms-grid-row: 1;
    -ms-grid-column: 1;
}
#menu2
{
    -ms-grid-row: 1;
    -ms-grid-column: 2;
}
#menu3
{
    -ms-grid-row: 1;
    -ms-grid-column: 3;
}
#menu4
{
    -ms-grid-row: 1;
    -ms-grid-column: 4;
}

/* right sidebar */
#share
{
    border: 2px solid LightGray;
    padding-left: 1px;
}

#survey
{
    border: 2px solid LightGray;
    margin-top: 50px;
    padding-left: 1px;
}

/* menu */

.menuItem:hover
{
    color: #0086ff;
    text-decoration: unnderline;
    cursor: pointer;
}

/* grid lines for body grid with menu on top */
#vertical1.gridBodyTop
{
    position: fixed;
    width: 2px;
    background-color: Red;
    height: 768px;
    left: 0px;
    top: 0px;
}

#vertical2.gridBodyTop
{
    position: fixed;
    width: 2px;
    background-color: Red;
    height: 768px;
    left: 871px;
    top: 0px;
}

#horizontal1.gridBodyTop
{
    position: fixed;
    width: 1280px;
    background-color: Red;
    height: 2px;
    top: 108px;
    left: 0px;
}

#horizontal2.gridBodyTop
{
    position: fixed;
    width: 1280px;
    background-color: Red;
    height: 2px;
    top: 130px;
    left: 0px;
}

#horizontal3.gridBodyTop
{
    position: fixed;
    width: 1280px;
    background-color: Red;
    height: 2px;
    top: 656px;
    left: 0px;
}

/* grid lines for body grid with menu on top */
#vertical1.gridBodyLeft
{
    position: fixed;
    width: 2px;
    background-color: Red;
    height: 768px;
    left: 90px;
    top: 0px;
}

#vertical2.gridBodyLeft
{
    position: fixed;
    width: 2px;
    background-color: Red;
    height: 768px;
    left: 953px;
    top: 0px;
}

#horizontal1.gridBodyLeft
{
    position: fixed;
    width: 1280px;
    background-color: Red;
    height: 2px;
    top: 108px;
    left: 0px;
}

#horizontal2.gridBodyLeft
{
    position: fixed;
    width: 1280px;
    background-color: Red;
    height: 2px;
    top: 130px;
    left: 0px;
    display: none;
}

#horizontal3.gridBodyLeft
{
    position: fixed;
    width: 1280px;
    background-color: Red;
    height: 2px;
    top: 642px;
    left: 0px;
}

/* code display */
code
{
    font-family: Consolas, Courier New;
}
.codeSampleHide
{
    display: none;
}
.codeSampleShow
{
    display: block;
    position: fixed;
    left: 150px;
    top: 80px;
    background-color: #4f514b;
    color: White;
    font-family: Consolas;
    padding-right: 20px;
    padding-left: 20px;
    z-index: 700;
    height: 600px;
    width: 770px;
    -ms-flow-wrap: none;
    column-count: 2;
    column-gap: 35px;
}
.new
{
    border: thin solid red;
}
.replace
{
    text-decoration: line-through;
}
#FeatureDetectMsg
{
    position: absolute;
    left: 150px;
    top: 100px;
    width: 400px;
    height: 293px;
    color: Black;
    background-color: silver;
    border: thin solid black;
    padding: 5px 5px 5px 10px;
    z-index: 1000;
    font-size: 14pt;
}

#closeBtn
{
    position:absolute;
    left: 324px;
    top: 173px;
    z-index:1000;
}

