﻿html
{
    height: 100%;
}

body
{
    font-family: rbFont;
    font-size: 1em;
    height: 90%;
    margin-left: 0px;
    margin-right: 0px;
    background-color: #007DDE;
}

.grid-product-cell
{
    margin-top: 48px;
}

.grid-product-title
{
    background-color: white !important;
    color: #007dde !important;
}

.mdc-grid-tile {
    --mdc-grid-list-tile-width: 300px;
  }

.grid-product-image
{
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.pageHeader
{
    display: flex;
    position: fixed;
    width: 100%;
    top: 0px;
    left: 0px;
    background-color: white;
    box-shadow: 0px 0px 10px black;
    height: 4em;
    z-index: 3000;
}

.pageHeader > .menuIcon
{
    display: none;
}

.menuIconClick
{
    animation-name: menuAni;
    animation-duration: 1.5s;
    animation-fill-mode: forwards;
}

.menuIconUnClick
{
    animation-name: menuAniRev;
    animation-duration: 1.5s;
    animation-fill-mode: forwards;
}

.pgHeadLogo
{
    flex: 1;
    -webkit-flex: 1;
    -ms-flex: 1;

    height: 5em;
    margin-left: 1em;
}

.pgHeadLogo > img
{
    height: 5em;
    font-size: 0.8em;
}

.pageHeader > nav
{
    display: flex;
    -webkit-flex: 19;
    -ms-flex: 19;
    flex: 19;
    margin-left: 5px;
    margin-right: 5px;

}

.pageHeader > nav > a:hover
{
    color: #989898;
    background-color: lavender;
}

.pageHeader > nav > a
{
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1;
    line-height: 4em;
    text-align: center;
    min-width: 5em;
}

.pageHeader > nav > .navCurr
{
    font-weight: bold;
}

.headerPad
{
    height: 5em;
    background-color: white;
}

.articleBody
{
    padding-bottom: 1em;
    padding-left: 1em;
    padding-right: 1em;
    background-color: white;
}

.articleBody > header, .appBody > header, .subArticleBody > header
{
    font-size: 1.3em;
    font-weight: bold;
    color: #007DDE;
    margin-bottom: 5px;
}

.articleBody > section
{
    margin-left: 1em;
}

.articleBody > section > header
{
    font-weight: bold;
    color: #007DDE;

}

.articleBody > section > p
{
    margin-top: 0.2em;
}

.articleBody > section > figure > img
{
    display: block;
    width: 100%;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.articleBody > section > figure > .hrz
{
    display: block;
    width: 100%;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
}

.articleBody > section > aside > iframe
{
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 90%;
    height: 250px;
    margin-bottom: 1em;
}

.articleBody > section > p > .tip
{
    font-weight: bold;
    color: #D00000;
}

.articleBody > aside > figure > a
{
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 129px;
}

.subArticleBody
{
    margin-left: 1em;

}

.subArticleBody > header
{
    padding-top: 0.8em;
    padding-bottom: 0.2em;
}

.appBody > header
{
    margin-left: 1em;
}

.appBody > header > .sectionIcon
{
    float: left;
    width: 3.5em;
    height: 3.5em;
}

.appBody > header > a
{
    float: left;
    margin-left: 1em;
    line-height: 3.5em;
    font-weight: bold;
}

.appBody > header > .sectionIcon > a > img
{
    width: 3.5em;
    height: 3.5em;
}

.appBody > section
{
    clear: both;
    margin-left: 1em;
    padding-top: 0.3em;
}

.appBody > section > p
{
    margin-top: 0px;
}

.subArticleBody > section > p
{
    margin-top: 0.3em;
}

.subArticleBody > section > p > .pPadding
{

}

.subArticleBody > section > .articleDate
{
    font-size: 0.9em;
    color: gray;
}

.articleBody > .gAdd
{
    margin-bottom: 1em;
}

.pageFooter
{
    border-top: 1px solid gray;
    background-color: #007DDE;
    display: flex;
    flex-direction: column;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    font-size: 0.8em;
}

.pageFooter > p
{
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1;
    text-align: center;
    margin: 0px;
    padding: 0.6em;
    border-bottom: 1px solid white;
}

.pageFooter > div
{
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1;
    text-align: center;
    margin: 0px;
    padding-top: 0.6em;
    padding-bottom: 2em;
    color: lightgrey;

}

.pageFooter > p > a, .pageFooter > div > a
{
    color: white;
}

.pageFooter > p:hover
{
    background-color: lavender;
    color: #989898;
}

.pageFooter > p > a:hover, .pageFooter > div > a:hover
{
    color: #989898;
}

@font-face
{
    font-family: rbFont;
    font-weight: normal;
    src: url(../Font/rbfnt.ttf);
}

@font-face
{
    font-family: rbFont;
    font-weight: bold;
    src: url(../Font/rbfntb.ttf);
}

@media screen and (min-width: 660px)
{
    .pageHeader > nav
    {
        max-width: 100%;
    }
}

@media screen and (max-width: 660px)
{
    .pageHeader > nav 
    {
        display: flex;
        flex-direction: column;
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
        -webkit-flex: 1;
        -ms-flex: 1;
        flex: 1;
        max-width: 0;
        margin-right: 0px;
    }

    .pageHeader > nav > a
    {
        background-color: white;
        border-left: 1px solid gray;
    }

    .pageHeader > nav > a:hover
    {
        background-color: lavender;
    }

    .pageHeader > nav > a:first-child
    {
        border-left: 0px solid gray;
    }

    .pageHeader > nav > a:last-child
    {
        
        border-bottom: 1px solid gray;
    }

    .pageHeader > .menuIcon
    {
        display:block;
        width: 3em;
        height: 5em;
        z-index: 3001;
        
    }

    .pageHeader > .menuIcon > img
    {
        width: 3em;
        margin-top: 1.5em;
        margin-right: 5px;
        font-size: 0.8em;
    }
}

@keyframes menuAni
{
    100% {max-width: 100%;}
}

@keyframes menuAniRev
{
    0% {max-width: 100%;}
    100% {max-width: 0;}
}