﻿#grammarbox {
    text-align: justify;
    padding: 2px
}

#grammarbox p {
    margin-bottom: 24px
}

#grammarbox .legend1 p {
    margin: 5px
}

#grammarbox h1, #grammarbox h2 {
    text-transform: uppercase;
    margin-bottom: 30px;
    font-weight: bold;
}

#grammarbox h3 {
    text-transform: initial;
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: bold;
}

.legend1 {
    background: #fafbfc url('/images/exampleBackground.png') repeat scroll center top;
    border-left: 5px solid #558abb;
    color: #4d4e53;
    direction: ltr;
    font-family: Consolas,Monaco,"Andale Mono",monospace;
    padding: 7px
}

.tips4 {
    background-color: #fff4cc;
    border-left: 5px solid #ffe070;
    color: #4d4e53;
    direction: ltr;
    font-family: Consolas,Monaco,"Andale Mono",monospace;
    padding: 10px
}

.entry h4 {
    color: #cc4747 !important
}

ul.bullet4 {
    list-style-image: url(/images/li_bullet.png)
}

.tipsy {
    padding: 5px;
    font-size: 10px;
    position: absolute;
    z-index: 100000
}

.tipsy-inner {
    padding: 5px 8px 4px;
    background-color: #000;
    color: #fff;
    max-width: 200px;
    text-align: center;
    border-radius: 3px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px
}

.tipsy-arrow {
    position: absolute;
    background: url(/images/tipsy.gif) no-repeat top left;
    width: 9px;
    height: 5px
}

.tipsy-n .tipsy-arrow {
    top: 0;
    left: 50%;
    margin-left: -4px
}

.tipsy-nw .tipsy-arrow {
    top: 0;
    left: 10px
}

.tipsy-ne .tipsy-arrow {
    top: 0;
    right: 10px
}

.tipsy-s .tipsy-arrow {
    bottom: 0;
    left: 50%;
    margin-left: -4px;
    background-position: bottom left
}

.tipsy-sw .tipsy-arrow {
    bottom: 0;
    left: 10px;
    background-position: bottom left
}

.tipsy-se .tipsy-arrow {
    bottom: 0;
    right: 10px;
    background-position: bottom left
}

.tipsy-e .tipsy-arrow {
    top: 50%;
    margin-top: -4px;
    right: 0;
    width: 5px;
    height: 9px;
    background-position: top right
}

.tipsy-w .tipsy-arrow {
    top: 50%;
    margin-top: -4px;
    left: 0;
    width: 5px;
    height: 9px
}

#messageTimeLeft {
    font-style: italic
}

#grammarbox img {
    max-width: 100%;
    display: block;
    height: auto;
    max-width: 340px;
    padding: 5px;
}

#grammarbox {
    text-align: justify;
    padding: 2px
}

    #grammarbox p {
        margin-bottom: 24px
    }

    #grammarbox .legend1 p {
        margin: 5px
    }

    #grammarbox h1, #grammarbox h2 {
        text-transform: uppercase
    }

    #grammarbox h3 {
        text-transform: initial
    }

div.legend1, div.legend5, div.legend6 {
    background: #fafbfc url(/images/exampleBackground.png) repeat scroll center top;
    border-left: 5px solid #558abb;
    color: #4d4e53;
    direction: ltr;
    font-family: Consolas,Monaco,"Andale Mono",monospace;
    padding: 7px
}

p.tips4 {
    background-color: #fff4cc;
    border-left: 5px solid #ffe070;
    color: #4d4e53;
    direction: ltr;
    font-family: Consolas,Monaco,"Andale Mono",monospace;
    padding: 10px
}

div.legend1 span {
    color: #000;
    font-weight: 700
}

div.legend1 h4, div.legend2 h4, div.legend3 h4, div.legend4 h4, div.legend5 h4, div.legend6 h4 {
    float: left;
    font-size: 1.17em;
    font-weight: 400;
    left: 11px;
    margin: 0 0 -9px !important;
    padding: 0 1px;
    position: relative;
    top: -5px;
    width: auto;
    color: #cc4747 !important
}

.entry h4 {
    color: #cc4747 !important
}

ul.bullet4 {
    list-style-image: url(/images/li_bullet.png)
}

.tipsy {
    padding: 5px;
    font-size: 10px;
    position: absolute;
    z-index: 100000
}

.tipsy-inner {
    padding: 5px 8px 4px;
    background-color: #000;
    color: #fff;
    max-width: 200px;
    text-align: center;
    border-radius: 3px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px
}

.tipsy-arrow {
    position: absolute;
    background: url(/images/tipsy.gif) no-repeat top left;
    width: 9px;
    height: 5px
}

.tipsy-n .tipsy-arrow {
    top: 0;
    left: 50%;
    margin-left: -4px
}

.tipsy-nw .tipsy-arrow {
    top: 0;
    left: 10px
}

.tipsy-ne .tipsy-arrow {
    top: 0;
    right: 10px
}

.tipsy-s .tipsy-arrow {
    bottom: 0;
    left: 50%;
    margin-left: -4px;
    background-position: bottom left
}

.tipsy-sw .tipsy-arrow {
    bottom: 0;
    left: 10px;
    background-position: bottom left
}

.tipsy-se .tipsy-arrow {
    bottom: 0;
    right: 10px;
    background-position: bottom left
}

.tipsy-e .tipsy-arrow {
    top: 50%;
    margin-top: -4px;
    right: 0;
    width: 5px;
    height: 9px;
    background-position: top right
}

.tipsy-w .tipsy-arrow {
    top: 50%;
    margin-top: -4px;
    left: 0;
    width: 5px;
    height: 9px
}

#messageTimeLeft {
    font-style: italic
}

#grammarbox img {
    max-width: 100%;
    display: block;
    height: auto;
    max-width: 340px
}

.translateMobileBtn {
    font-size: 1.5em;
    color: #39c;
    margin-left: 10px
}

@media(max-width: 992px) {
    .borderMobile {
        display: none
    }
}

