@font-face {
    font-family: 'sans';
    src: url('../fonts/sans.eot');
    src: url('../fonts/sans.eot?#iefix') format('eot'), url('../fonts/sans.woff') format('woff'), url('../fonts/sans.ttf') format('truetype'), url('../fonts/sans.svg') format('svg');
    font-weight: normal;
    font-style: normal;
}

html,
body {
    height: 100%;
    background-color: #222;
    font-family: "sans", Corbel, "Liberation Sans", Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    text-align: right;
    direction: rtl;
}

* {
    outline: none;
}

@media (min-width: 1200px) {
    .navbar-header {
        float: right;
    }
    .navbar-nav>li {
        float: right;
    }
    .list-inline>li:first-child {
        padding-right: 0;
    }
}

@media (min-width: 768px) {
    .col-sm-1,
    .col-sm-2,
    .col-sm-3,
    .col-sm-4,
    .col-sm-5,
    .col-sm-6,
    .col-sm-7,
    .col-sm-8,
    .col-sm-9,
    .col-sm-10,
    .col-sm-11 {
        float: right;
    }
}

.navbar-inverse {
    background-color: #34495e;
    border-color: #2b3c4e;
}

.nav {
    padding-right: 0
}

.table>thead>tr>th,
.table>tbody>tr>th,
.table>tfoot>tr>th,
.table>thead>tr>td,
.table>tbody>tr>td,
.table>tfoot>tr>td {
    text-align: right
}

.navbar-brand {
    float: right;
}

.navbar-toggle {
    float: left;
    margin-left: 15px;
}

#wrap {
    background-color: #fff;
    min-height: 100%;
    height: auto;
    margin: 0 auto -60px;
    padding: 50px 0 60px;
}

.buffer-top {
    margin-top: 15px;
}

footer {
    background-color: #222;
    font-size: 90%;
    height: 60px;
    padding-top: 15px;
    margin-top: 40px;
}

footer p {
    color: #666666;
}

footer a {
    color: #999;
}

footer a:hover {
    color: #efefef;
}

footer a:focus {
    color: #fff;
}

#search-container {
    background-color: #21505e;
    box-shadow: inset 0 4px 2px -2px #1d4552;
}

.navbar-ed {
    background-color: #2a6678;
    border: none;
}

.navbar-brand {
    padding: 10px;
}

@media (min-width: 1200px) {
    .navbar-form {
        max-width: 300px;
    }
}

.latyn {
    display: block;
    margin-top: 20px;
    text-align: left;
    direction: ltr;
}

.search-result {
    border-bottom: 1px dotted #d3d3d3;
    padding: 5px 10px;
    margin-bottom: 10px;
}

.progress-bar {
    float: right;
}

.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: "sans", "Apple Gothic", "URW Gothic L", sans-serif;
}

.panel-ed>.notes-heading {
    background-color: #9bbf30;
}

.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;
}

.list-group .word-item {
    padding-top: 5px;
    padding-bottom: 5px;
    background-color: transparent;
}

.jumbotron-ed {
    color: #666;
    font-size: 100%;
    padding: 4em 0 1em;
    min-height: 200px;
    margin-bottom: 20px;
    background-color: #ececec;
    background-image: url(./penta.png);
    box-shadow: inset 0px 0px 8px rgba(0, 0, 0, 0.1);
}

.jumbotron-ed h1 {
    font-size: 280%;
    color: #2A4D6E;
    text-shadow: 3px 0 #fff;
}

h1,
h2,
h3,
h4 {
    font-family: "sans", "Apple Gothic", "URW Gothic L", Constantia, Palatino, serif;
}

.abook {
    background-color: #ececec;
    margin: 1em;
}

.nav .nav a {
    font-size: 95%;
    padding: 5px 40px 5px 15px;
}

.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;
}

.choices {
    padding-left: 3em;
    margin-bottom: 2em;
}

.choices .radio:first-child {
    margin-top: 0px;
}

.choices .correct {
    background: #DCF6DC;
}

.choices .wrong {
    background: #FEEBEB;
}

.toc>li>a {
    padding: 4px 15px;
}

#sharethis {
    background-color: #F8F8F8;
    padding: 15px;
    margin: 15px 0;
    line-height: 32px;
}

#sharethis span {
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
}

.word-list li a {
    border-radius: 5px 5px 5px 5px;
    display: block;
    padding: 3px 5px;
}

.word-list li a.active {
    background-color: #34495E;
    color: #fff;
}

.word-list li a.active:hover,
.word-list li a.active:focus {
    background-color: #34495E;
    color: #fff;
}

.word-list li a:hover,
.word-list li a:focus {
    background-color: #eeeeec;
    text-decoration: none;
}

.toc-list li.active>a {
    font-weight: bold;
}

.toc-list li.active {
    border-radius: 5px 5px 5px 5px;
    background-color: #f3f3f3;
    padding: 5px;
}

.def .def {
    margin-left: 10%;
}

.def {
    margin-bottom: 25px;
}

.def h2:before {
    content: '♦ ';
    color: #ccc;
}

.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;
}

.example {
    font-style: italic;
    position: relative;
}

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: "مثلم";
    background: #99cc66;
    border-radius: 3px;
    color: #fff;
    padding: 1px 4px;
    font-style: normal;
    margin-left: .5em;
}

.section ol.example,
.section ul.example {
    list-style-position: inside;
}

.section ul.example {
    padding-right: 0.2em;
}

.section p.exceptions:before,
p.note:before {
    content: " بللیک ";
    background: #993939;
    border-radius: 3px;
    color: #fff;
    padding: 1px 4px;
    font-style: normal;
    margin-left: .5em;
}

.section .example em {
    font-weight: bold;
}

.section ul.example {
    padding-right: 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;
}

.example li {
    padding: 5px 0;
}

.example em {
    border-bottom: 1px solid;
}

.section table.example tbody,
.section table.short-example tbody {
    background-color: #F3F8EF;
}

.section caption {
    text-align: right;
    font-style: italic;
}

.section .colspan {
    text-align: center;
    background-color: #ddd;
}

.section table.short-example {
    width: auto;
}

.navbar-search {
    padding: 6px 13px;
}

.navbar-toggle {
    background-color: #425d78;
    border: none;
    color: #fff;
}

.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;
}

.twitter-typeahead {
    width: 100%;
    position: relative;
}

.twitter-typeahead .tt-query,
.twitter-typeahead .tt-hint {
    margin-bottom: 0;
    width: 100%;
    height: 34px;
    position: absolute;
    top: 0;
    left: 0;
}

.twitter-typeahead .tt-hint {
    color: #a1a1a1;
    z-index: 1;
    padding: 6px 12px;
    border: 1px solid transparent;
}

.twitter-typeahead .tt-query {
    z-index: 2;
    border: 1px solid #255b6b;
}

.tt-dropdown-menu {
    min-width: 160px;
    padding: 5px 0;
    background-color: #fff;
    border: 1px solid #ccc;
    border: 1px solid rgba(0, 0, 0, .2);
    *border-right-width: 2px;
    *border-bottom-width: 2px;
    -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, .2);
    -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, .2);
    box-shadow: 0 5px 10px rgba(0, 0, 0, .2);
    -webkit-background-clip: padding-box;
    -moz-background-clip: padding;
    background-clip: padding-box;
}

.tt-suggestion {
    display: block;
    padding: 3px 20px;
}

.tt-suggestion.tt-is-under-cursor {
    color: #fff;
    background-color: #34495E;
}

.tt-suggestion.tt-is-under-cursor a {
    color: #fff;
}

.tt-suggestion p {
    margin: 0;
}

.responsive-canvas {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
}

span.correct {
    color: #99cc66;
}

span.wrong {
    color: #993939;
}

ol.conditions {
    margin: 5px 0 15px;
}

.profile {
    border: 1px solid #d3d3d3;
    border-radius: 3px;
    text-align: center;
}

.img-profile {
    margin-bottom: 5px;
}

.social-profile {
    margin-top: 10px;
    text-align: center;
    padding: 10px;
}

.social-profile a {
    display: inline-block;
    margin: 0 3px;
    transition: all 0.2s ease-in-out;
}

.social-profile a:hover {
    -ms-transform: translate(0px, -10px) rotate(360deg);
    ;
    /* IE 9 */
    -webkit-transform: translate(0px, -10px) rotate(360deg);
    ;
    /* Safari */
    transform: translate(0px, -10px) rotate(360deg);
    ;
}

.profile-name {
    border-bottom: 1px solid #d3d3d3;
    padding: 5px 0
}

.alphabet {
    width: 100%;
    text-align: center;
    font-size: 0.85rem;
}

.alphabet th {
    text-align: center;
    padding: 5px 3px;
    background-color: #8bc34a;
    font-size: 13px;
    font-weight: bold
}

.alphabet td {
    padding: 5px 0;
}

.alphabet tr:nth-child(2n) {
    background-color: #f6f6f6;
}

.alphabet tr td:nth-child(4n+1) {
    width: 4%;
    font-weight: bold;
}

.alphabet tr td:nth-child(4n+2) {
    width: 15%;
}

.alphabet tr td:nth-child(4n+3) {
    width: 12%;
}

.alphabet tr td:nth-child(4n+4) {
    width: auto
}