html, body {
    height: 100%;
    background-color: #222;
}
#wrap {
    background-color: #fff;
    min-height: 100%;
    height: auto;
    margin: 0 auto -90px;
    padding: 61px 0 90px;
}
.buffer-top {
    margin-top: 15px;
}
footer {
    background-color: #222;
    font-size: 90%;
    height: 60px;
    padding-top: 15px;
    margin-top: 30px;
}
footer p {
    color: #666666;
}
footer a {
    color: #999;
}
footer a:hover {
    color: #efefef;
}
footer a:focus {
    color: #fff;
}
.navbar-brand {
    padding: 15px;
}
.navbar-inverse .navbar-nav > li > a:hover, .navbar-inverse .navbar-nav > li > a:focus {
    background-color: #093854;
    transition: background-color 1s;
}
.panel-ed {
    border: none;
}
.panel-ed > .panel-heading {
    color: #fff;
    background-color: #4ECDC4;
    border-radius: 0;
    text-transform: uppercase;
    text-align: center;
    font-size: 120%;
    font-family: "Century Gothic", "Apple Gothic", "URW Gothic L", sans-serif;
}
.panel-ed > .notes-heading {
    background-color: #4DBE94;
}
.panel-ed > .panel-body, .panel-ed > .list-group {
    background-color: #F8F8F8;
    border-radius: 0;
    border-bottom: 2px solid #eeeeec;
}
.panel-ed .list-group-item {
    background-color: transparent;
}
.jumbotron-ed {
    color: #666;
    padding: 2em 0;
    margin-bottom: 1.5em;
    background: rgb(78,205,196);
    background: linear-gradient(180deg, rgba(78,209,194,1) 0%, rgba(160,226,219,1) 5%, rgba(230,255,252,1) 97%, rgba(200,251,245,1) 100%);
}
.jumbotron-ed h1 {
    font-size: 300%;
    color: #2A4D6E;
}
.jumbotron-ed h1 small {
    color: #2A4D6E;
}
.form-control {
    border: 1px solid #4ECDC4;
}
.btn-search {
    border-color: #4ECDC4;
    color: #fff;
    background-color: #4ECDC4;
}
.btn-search:hover {
    background-color: #4DBEB6;
    color: #fff;
}
.btn-letter {
    border-color: #4ECDC4;
    background-color: #fff;
    opacity: 0.6;
}
.btn-letter:hover {
    opacity: 1;
}
.btn-cap-letter {
    border-radius: 0;
    border: 2px solid #4ECDC4;
    color: #4ECDC4;
    background-color: #fff;
    margin: 2px;
    width: 3em;
    text-align: center;
    font-weight: bold;
}
.btn-cap-letter:hover {
    background-color: #fff;
    color: #4ECDC4;
}
h1, h2, h3, h4 {
    font-family: "Century Gothic", "Apple Gothic", "URW Gothic L", Constantia, Palatino, serif;
}
.nav .nav a {
    font-size: 95%;
    padding: 5px 15px 5px 40px;
}
.toc-list li.active > a {
    font-weight: bold;
}
.toc-list li.active {
    border-radius: 5px 5px 5px 5px;
    background-color: #f3f3f3;
    padding: 5px;
}
.definitions {
    padding-top: 1em;
}
ol.definitions {
    padding-left: 1em;
}
.def {
    margin-bottom: 25px;
}
.def h2:before {
    content: '♦ ';
    color: #ccc;
}
.def a {
    color: #333;
    text-decoration: none;
    padding-bottom: 1px;
    border-bottom: 1px solid #999;
}
.def a:hover {
    text-decoration: none;
    border-bottom: 1px solid #4ECDC4;
}
.def > ol {
    padding-left: 20px;
}
.pronun {
    letter-spacing:2px;
}
.def ul{
    font-style:italic;
    margin-bottom: 25px;
    color: #666;
    list-style-type: circle;
}
.rule-example {
    font-style: italic;
}
.list-group .wrong {
    text-decoration: line-through;
}
.word-list li {
    padding: .3em 0;
}
.example {
    font-style: italic;
}
p.example {
    margin-bottom: 2em;
}
.section h2, .section h3{
    padding-top: 100px;
    margin-top: -60px;
}
ol.example:before, p.example:before, ul.example:before, div.example:before {content: "Meselem";background:#99cc66; border-radius: 3px;color:#fff;padding:1px 4px;font-style: normal;margin-right: .5em;}
.section ol.example, .section ul.example {list-style-position: inside;}
.section ul.example{padding-left: 0.2em;}
.section p.exceptions:before, p.note:before {content: "Bellik";background:#993939; border-radius: 3px;color:#fff;padding:1px 4px;font-style: normal;margin-right: .5em;}
.section .example em {text-decoration: underline;}
.section ul.example {padding-left: 0;}
.section .table td {border-top-color: #fff;}
.section .table th {border-bottom: 1px solid #fff; border-top:none;}
.section thead {background-color: #75507b; color:#fff;}
.section tbody {background-color: #F8EFF7; }
.section table.example thead {background-color: #99cc66;}
.section table.example tbody, .section table.short-example tbody {background-color: #F3F8EF;}
.section caption {text-align: left; font-style: italic;}
.section .colspan {text-align: center; background-color: #ddd;}
.section table.short-example {width: auto;}
span.spelling-mistake {
    border-bottom: 2px solid #D66285;
    padding-bottom: 1px;
    cursor: pointer;
}
span.spelling-corrected {
    border-bottom: 2px solid #9CBFDC;
    padding-bottom: 1px;
}
ul.spelling-suggestions {
    list-style-type: none;
    padding: 0;
    margin: 0;
}
.tippy-content ul li a {
    display: block;
    padding: .2em 1em;
}
form[name="spellchecker"] textarea {
    height: 20em;
}
#result-text {
    padding: 1em;
    border: 1px solid #ececec;
    background-color: #F8F8F8;
    margin-bottom: 1em;
}
@media only screen and (max-height: 600px) {
    form[name="spellchecker"] textarea {
        height: 5em;
    }
}

@media only screen and (min-height: 800px) {
    form[name="spellchecker"] textarea {
        height: 30em;
    }
}
.navbar-inverse .navbar-toggle:hover, .navbar-inverse .navbar-toggle:focus {
    background-color: #44bd76;
}
.navbar-default .navbar-toggle .icon-bar {
    background-color: #fff;
}
.navbar-form input, .navbar-form button {
    border-color: #273747;
}
.subsections {
    background-color: #fff;
}
.anchored {
    padding-left: .5em;
    font-size: 70%;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s, opacity 0.5s linear;
    color: #c43b4b;
}
h1.word-header:hover .word-text {
    display: none;
}
h1.word-header:hover .word-syllables {
    display: inline;
}
h1.word-header .word-syllables {
    display: inline;
}
h1.word-header .word-syllables {
    display: none;
}
h1:hover .anchored, h2:hover .anchored, h3:hover .anchored {
    visibility: visible;
    opacity: 1;
}
.list-inline > li {
    padding-left: 0;
    padding-right: 0;
}
.modal-header, .modal-footer {
    background: #eee;
}
.ga {
    margin: 1em 0;
}
p.recently-viewed {
    line-height: 2;
}
.recently-viewed a {
    padding: 4px;
    border-radius: 5px;
    border: 1px solid #0b486b;
}
.recently-viewed a:hover {
    text-decoration: none;
}
/* Question game */
.question .sentence {
    font-size: 120%;
    text-align: center;
}
.question .sentence > span.answer {
    background-color: #fff;
    padding: 5px;
    font-weight: bold;
    color: #0b486b;
}
.fadeIn {
    transition: opacity 400ms;
}
.fadeOut {
    opacity: 0;
}

#game-container span.wrong {
    color: red;
}
#game-container span.correct {
    color: green;
}

#game-container .result span.wrong {
    text-decoration: line-through;
}

#game-container .choices {
    font-size: 120%;
    text-align: center;
}
#game-container .choices button {
    margin: .5em;
    font-weight: bold;
}
#game-container .certificate {
    font-size: 400%;
    text-align: center;
    color: #0b486b;
}
#game-container .grade {
    font-size: 200%;
    font-weight: bold;
    text-align: center;
}
#game-container .breakdown {
    font-size: 120%;
    font-weight: bold;
    text-align: center;
}
#game-container h1 {
    text-align: center;
}
.btn-choice {
    color: #0b486b;
    background-color: #fff;
    border: 1px solid #eee;
}
.btn-choice:focus, .btn-choice:hover {
    background-color: #ffb240;
    border-color: #e5a139;
}

@media only screen and (max-device-width: 480px) {
    p.choices .btn {
        display: block;
        width: 95%;
    }
}

.badge-success {
    background-color: #00cc99;
    border: 3px solid #009973;
    color: #fff;
}

.question-header {
    border-bottom: none;
    border-top: 1px solid #ccc;
    margin-bottom: 0;
    font-size: 100%;
}
.question-header>span {
    background-color: #66cc99;
    padding: 2px 12px;
    color: #fff;
}

/* CSS for typeahead. Copied from hyspace/typeahead.js-bootstrap3.less */
.has-warning .twitter-typeahead .tt-input,
.has-warning .twitter-typeahead .tt-hint {
    border-color: #8a6d3b;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
}
.has-warning .twitter-typeahead .tt-input:focus,
.has-warning .twitter-typeahead .tt-hint:focus {
    border-color: #66512c;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #c0a16b;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #c0a16b;
}
.has-error .twitter-typeahead .tt-input,
.has-error .twitter-typeahead .tt-hint {
    border-color: #a94442;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
}
.has-error .twitter-typeahead .tt-input:focus,
.has-error .twitter-typeahead .tt-hint:focus {
    border-color: #843534;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #ce8483;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #ce8483;
}
.has-success .twitter-typeahead .tt-input,
.has-success .twitter-typeahead .tt-hint {
    border-color: #3c763d;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
}
.has-success .twitter-typeahead .tt-input:focus,
.has-success .twitter-typeahead .tt-hint:focus {
    border-color: #2b542c;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #67b168;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #67b168;
}
.input-group .twitter-typeahead:first-child .tt-input,
.input-group .twitter-typeahead:first-child .tt-hint {
    border-bottom-left-radius: 4px;
    border-top-left-radius: 4px;
    width: 100%;
}
.input-group .twitter-typeahead:last-child .tt-input,
.input-group .twitter-typeahead:last-child .tt-hint {
    border-bottom-right-radius: 4px;
    border-top-right-radius: 4px;
    width: 100%;
}
.input-group.input-group-sm .twitter-typeahead .tt-input,
.input-group.input-group-sm .twitter-typeahead .tt-hint {
    height: 30px;
    padding: 5px 10px;
    font-size: 12px;
    line-height: 1.5;
    border-radius: 3px;
}
.input-group.input-group-sm .twitter-typeahead:not(:first-child):not(:last-child) .tt-input,
.input-group.input-group-sm .twitter-typeahead:not(:first-child):not(:last-child) .tt-hint {
    border-radius: 0;
}
.input-group.input-group-sm .twitter-typeahead:first-child .tt-input,
.input-group.input-group-sm .twitter-typeahead:first-child .tt-hint {
    border-bottom-left-radius: 3px;
    border-top-left-radius: 3px;
    border-bottom-right-radius: 0;
    border-top-right-radius: 0;
}
.input-group.input-group-sm .twitter-typeahead:last-child .tt-input,
.input-group.input-group-sm .twitter-typeahead:last-child .tt-hint {
    border-bottom-left-radius: 0;
    border-top-left-radius: 0;
    border-bottom-right-radius: 3px;
    border-top-right-radius: 3px;
}
.input-group.input-group-lg .twitter-typeahead .tt-input,
.input-group.input-group-lg .twitter-typeahead .tt-hint {
    height: 46px;
    padding: 10px 16px;
    font-size: 18px;
    line-height: 1.33;
    border-radius: 6px;
}
.input-group.input-group-lg .twitter-typeahead:not(:first-child):not(:last-child) .tt-input,
.input-group.input-group-lg .twitter-typeahead:not(:first-child):not(:last-child) .tt-hint {
    border-radius: 0;
}
.input-group.input-group-lg .twitter-typeahead:first-child .tt-input,
.input-group.input-group-lg .twitter-typeahead:first-child .tt-hint {
    border-bottom-left-radius: 6px;
    border-top-left-radius: 6px;
    border-bottom-right-radius: 0;
    border-top-right-radius: 0;
}
.input-group.input-group-lg .twitter-typeahead:last-child .tt-input,
.input-group.input-group-lg .twitter-typeahead:last-child .tt-hint {
    border-bottom-left-radius: 0;
    border-top-left-radius: 0;
    border-bottom-right-radius: 6px;
    border-top-right-radius: 6px;
}
.twitter-typeahead {
    width: 100%;
    float: left;
}
.input-group .twitter-typeahead {
    display: table-cell !important;
}
.twitter-typeahead .tt-hint {
    color: #999999;
}
.twitter-typeahead .tt-input {
    z-index: 2;
}
.tt-dropdown-menu,
.tt-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    min-width: 160px;
    width: 100%;
    padding: 5px 0;
    margin: 2px 0 0;
    list-style: none;
    font-size: 14px;
    background-color: #ffffff;
    border: 1px solid #cccccc;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 4px;
    -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
    background-clip: padding-box;
    *border-right-width: 2px;
    *border-bottom-width: 2px;
}
.tt-dropdown-menu .tt-suggestion,
.tt-menu .tt-suggestion {
    display: block;
    padding: 3px 20px;
    clear: both;
    font-weight: normal;
    line-height: 1.42857143;
    color: #333333;
}
.tt-dropdown-menu .tt-suggestion.tt-cursor,
.tt-menu .tt-suggestion.tt-cursor,
.tt-dropdown-menu .tt-suggestion:hover,
.tt-menu .tt-suggestion:hover {
    cursor: pointer;
    text-decoration: none;
    outline: 0;
    background-color: #f5f5f5;
    color: #262626;
}
.tt-dropdown-menu .tt-suggestion.tt-cursor a,
.tt-menu .tt-suggestion.tt-cursor a,
.tt-dropdown-menu .tt-suggestion:hover a,
.tt-menu .tt-suggestion:hover a {
    color: #262626;
}
.tt-dropdown-menu .tt-suggestion p,
.tt-menu .tt-suggestion p {
    margin: 0;
}
.tippy-box[data-theme~='speller'] {
    background-color: #D6E2ED;
    color: #444;
}
.tippy-box[data-theme~='speller'][data-placement^='top'] > .tippy-arrow::before {
  border-top-color: #D6E2ED;
}
.tippy-box[data-theme~='speller'][data-placement^='bottom'] > .tippy-arrow::before {
  border-bottom-color: #D6E2ED;
}