@media (min-width: 1200px) {
    .container {
        max-width: 78rem;
    }
}

body {
    background-image: url(/img/pattern2.jpg);
    background-position: 0;
    background-attachment: fixed;
    background-repeat: repeat repeat;
}

img {
    max-width: 100%;
}

a {
    color: #008CBA;
    /* color: #222; */
}

a:hover,
a:focus {
    color: #0078a0;
}

.feedbackcenter{
	position: fixed;
	top: 50%;
	right: 0px;
	width: 65px;
	height: 0px;
	text-align:right;
	z-index:9999;
	margin-top:-15px;
  }
  
.feedbackcenter a{
	transform: rotate(-90deg);
	-webkit-transform: rotate(-90deg); 
	-moz-transform: rotate(-90deg); 
	-o-transform: rotate(-90deg); 
	display: block; 
	background: #06c; 
	text-align:center;
	height: 35px; 
	width: 120px;
	padding: 0 8px;
	color: #fff; 
	font-family: Arial, sans-serif; 
	font-size: 14px; 
	font-weight: 100;
	text-decoration: none; 
	border: 0;
    border-radius: 8px 8px 0 0;
    -webkit-box-shadow: -4px 0px 8px 0px rgba(66, 68, 90, 0.54);
    -moz-box-shadow: -4px 0px 8px 0px rgba(66, 68, 90, 0.54);
    box-shadow: -4px 0px 8px 0px rgba(66, 68, 90, 0.54);
}
  
.feedbackcenter a:hover { 
	background: red; 
}


.lh-1 {
    line-height: 1;
}

.lh-11 {
    line-height: 1.1;
}

.lh-12 {
    line-height: 1.2;
}

.lh-13 {
    line-height: 1.3;
}

.f48 {
    font-size: 3rem !important;
}

.f40 {
    font-size: 2.5rem !important;
}

.f32 {
    font-size: 2rem !important;
}

.f24 {
    font-size: 1.5rem !important;
}

.f23 {
    font-size: 1.4375rem !important;
}

.f22 {
    font-size: 1.375rem !important;
}

.f21 {
    font-size: 1.3125rem !important;
}

.f20 {
    font-size: 1.25rem !important;
}

.f19 {
    font-size: 1.1875rem !important;
}

.f18 {
    font-size: 1.125rem !important;
}

.f17 {
    font-size: 1.0625rem !important;
}

.f16 {
    font-size: 1rem !important;
}

.f15 {
    font-size: 0.9375rem !important;
}

.f14 {
    font-size: 0.875rem !important;
}

.f13 {
    font-size: 0.8125rem !important;
}

.f12 {
    font-size: 0.75rem !important;
}

.f11 {
    font-size: 0.6875rem !important;
}

.f10 {
    font-size: 0.625rem !important;
}

.fw500 {
    font-weight: 500;
}

.p-1px {
    padding: 1px !important;
}

.p-2px {
    padding: 2px !important;
}

.p-3px {
    padding: 3px !important;
}

.p-4px {
    padding: 4px !important;
}

.p-5px {
    padding: 5px !important;
}

.p-6px {
    padding: 6px !important;
}

.mr-1px {
    margin-right: 1px !important;
}

.mt-sub-5p {
    margin-top: -5%;
}

.mt-sub-10p {
    margin-top: -10%;
}

.mt-sub-15p {
    margin-top: -15%;
}

.mt-sub-20p {
    margin-top: -20%;
}

p {
    font-family: 'Lora', "Times New Roman", serif;
    font-size: 1rem;
    font-style: normal;
    font-weight: 400;
    letter-spacing: normal;
    line-height: 1.55;
    color: #222;
    margin-bottom: 1rem;
}

.f-roboto,
.f-sans-serif {
    font-family: 'Roboto', "Open Sans", Arial;
}

.f-open-sans {
    font-family: 'Open Sans', Arial;
}

.f-serif {
    font-family: 'Lora', "Times New Roman", serif;
}

.breadcrumb {
    background-color: transparent;
    text-transform: lowercase;
    font-family: 'Roboto', "Open Sans", Arial;
}

article li {
    font-size: 1.0625rem;
}

article a {
    border-bottom: 1px dashed #0000FF;
    color: #0000FF;
}

article a:hover {
    border-bottom: 1px solid #0000FF;
    color: #0000FF;
}

.par-translation {
    background: rgba(255, 255, 0, 0.1);
    border-left: 2px solid #C0C000;
}

.par-trans {
    padding: 0;
}

.article u {
    text-decoration: none;
    border-bottom: 1px dashed #BBB;
}

table {
    background: #FFFFFF;
    border: solid 1px #EEE;
    margin-bottom: 1rem;
    table-layout: auto;
}

table tr th,
table tr td {
    font-family: 'Roboto', "Open Sans", Arial;
    line-height: 1.4;
    font-weight: 300;
    padding: 0.5rem;
    text-align: left;
}

table tr.even,
table tr.alt,
table tr:nth-of-type(even) {
    background: #F9F9F9;
}

button,
.button {
    /*    background-color: #5B8737;*/
}

button:hover,
button:focus,
.button:hover,
.button:focus {
    /*    background-color: #699C40;*/
    text-decoration: underline;
}

button.disabled.alert,
button.alert[disabled],
.button.disabled.alert,
.button.alert[disabled] {
    background-color: #DADADA;
    border-color: #DADADA;
    color: #333;
}

.dist {
    color: #C00000;
    font-weight: 500;
}

.red {
    color: red !important;
}

.green {
    color: green !important;
}

.blue {
    color: blue !important;
}

.gray {
    color: gray !important;
}

.striked {
    text-decoration: line-through;
}

.strong {
    font-weight: bold;
}

.fw500 {
    font-weight: 500;
}

.tbg {
    background: #FEFEE4;
    border: 1px dotted #D1D2A0;
    padding: 0 4px;
    white-space: nowrap;
}

.btn-primary {
    color: #fff;
    background-color: #007095;
    border-color: #007095;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    color: #fff;
    background-color: #007095;
    border-color: #007095;
}

.btn-outline-primary {
    color: #008CBA;
    border-color: #008CBA;
}

.btn-outline-primary:hover {
    color: #fff;
    background-color: #007095;
    border-color: #007095;
}

.btn-outline-primary:not(:disabled):not(.disabled).active,
.btn-outline-primary:not(:disabled):not(.disabled):active,
.show>.btn-outline-primary.dropdown-toggle {
    color: #fff;
    background-color: #007095;
    border-color: #007095;
}

h1 {
    font-family: "Open Sans", Arial, sans-serif;
    font-size: 26px;
    line-height: 1.4;
    font-weight: 700;
    color: #222222;
    margin-bottom: 10px;
    text-rendering: optimizelegibility;
}

h2 {
    font-family: Roboto, Arial, serif;
    font-size: 1.6rem;
    font-weight: 500;
    line-height: 1.2;
    color: #222222;
    margin: 3rem 0 1rem 0;
}

h3 {
    font-family: Roboto, Arial, serif;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.4;
    color: #222222;
    margin: 1rem 0 1rem 0;
}

h4 {
    font-family: "Open Sans", 'Lora', "Times New Roman", serif;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
    color: #222222;
}

.navbar-light .navbar-nav .nav-link {
    color: #008CBA;
}

.navbar-light .navbar-nav .active>.nav-link,
.navbar-light .navbar-nav .nav-link.active,
.navbar-light .navbar-nav .nav-link.show,
.navbar-light .navbar-nav .show>.nav-link {
    color: #008CBA;
}

a.nav-link.active {
    padding-left: 0.5rem !important;
}


/* en lang related colors */
.navbar-light .navbar-nav .active>.nav-link.nav-en {
    border-bottom: 2px solid #699E2C;
    background-color: #F4FAEC;
}

a.nav-link.active.nav-en {
    border-left: 8px solid #699E2C;
    background-color: #F4FAEC;
}

.btn-primary.btn-lang-en {
    color: #fff;
    background-color: #5A8424;
    border-color: #5A8424;
}

.btn-primary.btn-lang-en:hover {
    background-color: #699C40 !important;
}

.btn-primary.btn-lang-en:focus,
.btn-primary.btn-lang-en:active {
    background-color: #5A8424 !important;
    border-color: #5a8424 !important;
    box-shadow: 0 0 0 0.2rem rgb(90 132 36 / 30%) !important;
}

/* de lang related colors */
.navbar-light .navbar-nav .active>.nav-link.nav-de {
    border-bottom: 2px solid #8C4242;
    background-color: #FDF7F7;
}

a.nav-link.active.nav-de {
    border-left: 8px solid #8C4242;
    background-color: #FDF7F7;
}

.btn-primary.btn-lang-de {
    color: #fff;
    background-color: #8C4242;
    border-color: #8C4242;
}

.btn-primary.btn-lang-de:hover {
    background-color: #A95B5B !important;
}

.btn-primary.btn-lang-de:focus,
.btn-primary.btn-lang-de:active {
    background-color: #8C4242 !important;
    border-color: #8c4242 !important;
    box-shadow: 0 0 0 0.2rem rgb(140 66 66 / 30%) !important;
}

/* es lang related colors */
.navbar-light .navbar-nav .active>.nav-link.nav-es {
    border-bottom: 2px solid #C66300;
    background-color: #FDFAF7;
}

a.nav-link.active.nav-es {
    border-left: 8px solid #C66300;
    background-color: #FDFAF7;
}

.btn-primary.btn-lang-es {
    color: #fff;
    background-color: #C66300;
    border-color: #C66300;
}

.btn-primary.btn-lang-es:hover {
    background-color: #E07206 !important;
}

.btn-primary.btn-lang-es:focus,
.btn-primary.btn-lang-es:active {
    background-color: #C66300 !important;
    border-color: #c66300 !important;
    box-shadow: 0 0 0 0.2rem rgb(198 99 0 / 30%) !important;
}

/* fr lang related colors */
.navbar-light .navbar-nav .active>.nav-link.nav-fr {
    border-bottom: 2px solid #6363D6;
    background-color: #F7F7FD;
}

a.nav-link.active.nav-fr {
    border-left: 8px solid #6363D6;
    background-color: #F7F7FD;
}

.btn-primary.btn-lang-fr {
    color: #fff;
    background-color: #6363D6;
    border-color: #6363D6;
}

.btn-primary.btn-lang-fr:hover {
    background-color: #8486DC !important;
}

.btn-primary.btn-lang-fr:focus,
.btn-primary.btn-lang-fr:active {
    background-color: #6363D6 !important;
    border-color: #6363d6 !important;
    box-shadow: 0 0 0 0.2rem rgb(99 99 214 / 30%) !important;
}

/* it lang related colors */
.navbar-light .navbar-nav .active>.nav-link.nav-it {
    border-bottom: 2px solid #A56BA5;
    background-color: #FAF6FA;
}

a.nav-link.active.nav-it {
    border-left: 8px solid #A56BA5;
    background-color: #FAF6FA;
}

.btn-primary.btn-lang-it {
    color: #fff;
    background-color: #A56BA5;
    border-color: #A56BA5;
}

.btn-primary.btn-lang-it:hover {
    background-color: #B285B3 !important;
}

.btn-primary.btn-lang-it:focus,
.btn-primary.btn-lang-it:active {
    background-color: #A56BA5 !important;
    border-color: #a56ba5 !important;
    box-shadow: 0 0 0 0.2rem rgb(165 107 165 / 30%) !important;
}

/* ru lang related colors */
.navbar-light .navbar-nav .active>.nav-link.nav-ru {
    border-bottom: 2px solid #3194F7;
    background-color: #F6FAFE;
}

a.nav-link.active.nav-ru {
    border-left: 8px solid #3194F7;
    background-color: #F6FAFE;
}

.btn-primary.btn-lang-ru {
    color: #fff;
    background-color: #3194F7;
    border-color: #3194F7;
}

.btn-primary.btn-lang-ru:hover {
    background-color: #55A7F3 !important;
}

.btn-primary.btn-lang-ru:focus,
.btn-primary.btn-lang-ru:active {
    background-color: #3194F7 !important;
    border-color: #3194f7 !important;
    box-shadow: 0 0 0 0.2rem rgb(49 148 247 / 30%) !important;
}



.progress-bar {
    background-color: #ddd;
}

.f-rob {
    font-family: Roboto, Arial;
}

.name a {
    color: white;
    font-size: 28px;
    font-family: 'Lora', "Times New Roman", serif;
    padding: 2px 30px;
}

.ang,
.niem,
.es,
.fr,
.it,
.ros {
    font-size: 1.125rem;
    line-height: 1.4;
}

.pol {
    font-size: 0.9375rem;
    margin-top: 1rem;
    line-height: 1.125rem;
    font-weight: 300;
}

.pol strong,
.ang strong {
    font-weight: 500;
}

.r1 {
    background: #F8F8F8;
}

.new {
    background: red;
    color: white;
    font-size: 12px;
    font-family: 'Roboto', Arial;
    margin-right: 4px;
    display: inline;
    padding: 1px 4px;
    vertical-align: bottom;
}

img.speaker {
    width: 23px;
    height: 23px;
}

.f-roboto {
    font-family: Roboto, 'Open Sans';
}

#main-content time {
    display: block;
    font-family: 'Roboto';
    font-size: 12px;
    color: #777;
    margin-bottom: 8px;
    text-align: right;
}

#main-content ol {
    list-style: none;
    counter-reset: in-article-counter;
    margin-left: 0;
}

#main-content ol li {
    counter-increment: in-article-counter;
    display: table;
    width: 100%;
}

#main-content ol li::before {
    content: counter(in-article-counter)".";
    display: table-cell;
    font-weight: 500;
    font-size: 1.5rem;
    width: 1%;
    padding-right: 0.5rem;
    font-family: Roboto, serif;
    line-height: 1;
}

.important {
    font-family: 'Roboto';
    font-size: 18px;
    border-left: 4px solid red;
    margin: 1rem 1rem 1rem 3rem;
    padding: 1rem;
    background: #F1F1F1;
}

.in-article-example {
    border-top: 2px solid #CCC;
    border-bottom: 2px solid #CCC;
    margin: 1rem 1rem 1rem 3rem;
    padding: 1rem;
    background: rgba(255, 255, 0, 0.1);
}

.in-article-example p {
    font-family: 'Open Sans';
    font-size: 14px;
    font-style: italic;
}

.vocab-in-article {
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    margin: 1rem 0;
}

.vocab-in-article .ditem {
    width: 300px;
    margin: 4px;
}

a.custom-card,
a.custom-card:hover {
    color: inherit;
    text-decoration: none;
}

.gears:before {
    content: url('/img/gears-icon.png');
    width: 12px;
    height: 12px;
    margin-right: 0px;
}

.admin-options .dropdown-toggle::after {
    display: none;
}

.admin-options a.dropdown-toggle {
    font-size: 16px;
    color: lightgray;
    text-decoration: none;
}

.post-author div {
    font-size: 12px;
    color: #999;
    border-top: 1px solid #D8D8D8;
    padding-top: 4px;
}

.showmore strong {
    font-weight: 500;
}

.post {
    font-family: 'Lora', "Times New Roman", serif;
    font-size: 1.0625rem;
    font-style: normal;
    font-weight: 400;
    letter-spacing: normal;
    line-height: 1.45;
    margin-bottom: 10px;
    padding: 0.2rem 0.5rem;
    color: #222;
}

.post a {
    font-size: 16px;
    border-bottom: 1px dashed lightgray;
}

.forum .quote_head {
    font-size: 14px;
    line-height: 1.15;
    color: #222;
    margin-top: 8px;
}

.forum .quote {
    font-style: italic;
    line-height: 1.25rem;
    font-size: 1rem;
    margin-left: 2em;
    color: #999;
}

li.logo {
    width: 200px;
    float: left;
    margin-right: 20px;
}

.logo a {
    padding: 0 !important;
}

.smenu {
    display: none;
}

select.dropdown {
    color: #800000;
    border: 0;
    font-size: 1em;
    font-weight: normal;
    padding: 2px 4px;
    display: inline;
    height: 2rem;
    /*text-align: center;*/
    width: 90px;
    font-family: 'Lora', "Open Sans", "Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif;
}

.hinttxt {
    background: #0091C6;
    color: white;
    padding: 5px 1rem;
    margin-right: 1rem;
    font-family: 'Roboto', "Open Sans", "Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif;
}

.label.success {
    background-color: #5B8737;
    color: #FFFFFF;
}

.label {
    font-family: 'Roboto', "Open Sans", "Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif;
}

.exercise_word_correct {
    color: #008000;
}

.exercise_word_incorrect {
    color: #D00000;
    text-decoration: line-through;
}

.exercise_word_no_answer {
    color: blue;
}

.linking_word {
    color: #777;
    font-size: 0.9rem;
    font-style: italic;
}

.border-bottom-0-lc:last-child {
    border-bottom: 0 !important;
}

a.sm2_button {
    margin-right: 10px;
    background-image: url('https://www.ang.pl/img/svg/speaker.svg');
    background-size: 15px 15px;
    background-position-x: 4px;
    height: 23px;
    width: 23px;
    border: 0;
}

a.sm2_button:hover {
    border: 0 !important;
}

.playmp3 {
    margin-right: 10px;
    background-color: #3399cc;
    background-repeat: no-repeat;
    background-position: 5px 50%;
    background-image: url('https://www.ang.pl/img/svg/speaker.svg');
    background-size: 15px 15px;
    background-position-x: 4px;
    height: 23px;
    width: 23px;
    border: 0;
    display: inline-block;
    cursor: pointer;
    transition: transform 0.3s ease-in-out, filter 0.3s ease-in-out;
    vertical-align: text-bottom;
}

.playmp3.playing {
    transform: rotate(90deg);
    background-color: #CB3438;
}

.markItUpEditor {
    font-family: 'Lora', "Times New Roman", serif;
    font-size: 1.0625rem;
    font-style: normal;
    font-weight: 400;
    letter-spacing: normal;
    line-height: 1.45;
    color: #222;
    padding: 5px 5px 5px 5px;
    border: 1px solid #bbb;
    background: none;
    clear: both;
    overflow: auto;
    width: 100%;
    height: 120px;
}


.markItUpContainer {
    background: none;
    border: 0;
}

.markItUp {
    border: 0;
    width: 100%;
}

.markItUpHeader ul {
    padding-bottom: 30px;
}

.note {
    background: #FFE7E7;
    border: 1px solid #C00000;
    padding: 10px;
    text-align: center;
    margin-bottom: 10px;
    font-weight: bold;
}

.row {
    max-width: 78rem;
}

.big {
    font-size: 1.25rem;
    margin-bottom: 0.4rem;
}

.nrm {
    font-size: 1rem;
    margin-bottom: 0.4rem;
}

.sml {
    font-size: 0.875rem;
    margin-bottom: 0.4rem;
}

.alignc {
    margin: 0 auto;
    width: 100%;
}

.alignr {
    text-align: right;
}

.mtop {
    margin-top: 0.5rem !important;
}

.mtop0 {
    margin-top: 0
}

.mtop1 {
    margin-top: 1rem !important;
}

.mtop2 {
    margin-top: 2rem !important;
}

.mbot {
    margin-bottom: 1rem !important;
}

.mbot0 {
    margin-bottom: 0;
}

.mbot1 {
    margin-bottom: 1rem !important;
}

.mbot2 {
    margin-bottom: 2rem !important;
}

.mainbox {
    min-height: 210px;
}

.numberCircle {
    color: white;
    padding: 2px 4px;
    font-family: 'Open Sans', Roboto, Arial;
    font-weight: bold;
    font-size: 16px;
    margin-left: 0.5rem;
    border-radius: 5px;
    background: orange;
}

.pagination-ang ul.pagination {
    margin-bottom: 0;
}

.pagination-ang ul.pagination li a {
    padding: 0.0625rem 0.375rem;
}

.conjugation {
    font-family: Roboto;
}

.conjugation-main table {
    margin: 2rem auto;
    border-collapse: collapse;
    border: 0;
}

.conjugation-main table td.person {
    font-weight: 100;
    font-family: 'Open Sans', Arial;
    font-size: 1.25rem;
    text-align: right;
    white-space: nowrap;
}

.conjugation-main table td.form {
    margin: 10px 0;
    font-weight: bold;
    font-family: 'Open Sans', Arial;
    font-size: 1.25rem;
    line-height: 1.25rem;
}

.conjugation-main table td.formpl {
    font-size: 1rem;
    font-style: italic;
}

.conjugation table {
    width: 100%;
    border-collapse: collapse;
    border: 0;
}

.conjugation table td {
    padding-top: 4px;
    padding-bottom: 4px;
}

.conjugation table td:nth-child(1) {
    width: 40%;
}

.conjugation table td:nth-child(2) {
    width: 60%;
}

.conjugation .tense {
    color: red;
    font-size: 18px;
    font-weight: 500;
    border-bottom: 1px solid #EEE;
    text-align: center;
    padding-bottom: 4px;
    margin-bottom: 4px;
}

.conjugation .person {
    color: gray;
    font-size: 13px;
    text-align: right;
    padding-right: 1rem;
}

.conjugation .form {
    color: #222;
    font-size: 16px;
    white-space: nowrap;
    text-align: left;
}

.en_flag:before {
    content: url('/img/flag/en.gif');
    margin-right: 5px;
}

.de_flag:before {
    content: url('/img/flag/de.gif');
    margin-right: 5px;
}

.es_flag:before {
    content: url('/img/flag/es.gif');
    margin-right: 5px;
}

.fr_flag:before {
    content: url('/img/flag/fr.gif');
    margin-right: 5px;
}

.it_flag:before {
    content: url('/img/flag/it.gif');
    margin-right: 5px;
}

.ru_flag:before {
    content: url('/img/flag/ru.gif');
    margin-right: 5px;
}

.pl_flag:before {
    content: url('/img/flag/pl.gif');
    margin-right: 5px;
}

.loader:before {
    content: url('/img/ajax-loader.gif');
    margin-right: 5px;
}

.required:after {
    content: '♦';
    margin-left: 5px;
    color: red;
}

.external {
    font-family: 'Roboto', "Open Sans", "Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif;
    font-size: 1rem;
}

.post_options {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    padding: 4px;
    position: relative;
}

.post_options .up {
    font-size: 0.8125rem;
    color: #2c9801;
    margin-right: 3px;
    font-weight: bold;
}

.post_options .down {
    font-size: 0.8125rem;
    color: #cb4700;
    margin-right: 8px;
    font-weight: bold;
}

.post_menu {
    max-width: 300px;
    top: 24px;
    right: 0;
    position: absolute;
    border: 1px solid #CCC;
    background: white;
    z-index: 1000;
    padding: 1rem;
    box-shadow: 4px 4px 5px 0px rgba(50, 50, 50, 0.25);
}

.post_menu ul {
    padding: 0;
    margin: 0 0 0 20px;
}

.post_menu ul li {
    font-size: 14px;
}

.post_menu ul li a {
    border-bottom: 0;
}

.sprite {
    background: url('/img/forum-sprites.png') no-repeat top left;
    width: 16px;
    height: 16px;
}

.sprite.thumbs-up {
    background-position: 0px 0px;
    display: inline-block;
    width: 16px;
    height: 16px;
    opacity: 0.2;
    filter: alpha(opacity=20);
    margin-right: 5px;
    cursor: pointer;
}

.sprite.thumbs-up:hover {
    opacity: 0.7;
    filter: alpha(opacity=70);
}

.sprite.thumbs-up-green {
    background-position: 0px -16px;
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-right: 5px;
    cursor: pointer;
}

.sprite.thumbs-down {
    background-position: 0px -32px;
    display: inline-block;
    width: 16px;
    height: 16px;
    opacity: 0.2;
    filter: alpha(opacity=20);
    margin-right: 5px;
    cursor: pointer;
}

.sprite.thumbs-down:hover {
    opacity: 0.7;
    filter: alpha(opacity=70);
}

.sprite.thumbs-down-red {
    background-position: 0px -48px;
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-right: 5px;
    cursor: pointer;
}

.sprite.down-icon {
    background-position: 0px -64px;
    display: inline-block;
    width: 16px;
    height: 16px;
    opacity: 0.2;
    filter: alpha(opacity=20);
    margin-right: 5px;
    cursor: pointer;
}

.sprite.down-icon:hover {
    opacity: 0.7;
    filter: alpha(opacity=70);
}

.keypad-key,
.keypad-special {
    border: 0;
    padding: 2px 6px !important;
    width: auto !important;
}

.keypad-key:hover,
.keypad-special:hover {
    color: white;
}

.keypad-special.keypad-shift {
    font-family: Roboto;
    font-size: 13px;
    font-weight: 100;
}

.choices.item {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 8px;
    background: white;
    border: 1px solid #EEE;
}

.choices.item.highlighted {
    cursor: pointer;
    background: orange;
}

.choices.item.correct-answer {
    background: green;
}

.choices.item.correct-answer .img {
    border-bottom-right-radius: 0px;
    border-bottom-left-radius: 0px;
}

.choices.item.wrong-answer {
    background: red;
}

.choices.item.wrong-answer .img {
    border-bottom-right-radius: 0px;
    border-bottom-left-radius: 0px;
}

.choices.item .text {
    display: flex;
    align-items: flex-start;
    background: white;
}

.choices.item .key-id {
    font-weight: 700;
    color: white;
    background: crimson;
    padding: 4px 10px;
    margin: 10px 4px;

}

.choices.item .word {
    font-family: Roboto;
    font-weight: 500;
    font-size: 20px;
    line-height: 1;
    margin: 10px 4px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.choices .item img {
    transition: all .2s;
    max-width: 100%;
}

.choices .img .tick {
    position: absolute;
    background: green;
    padding: 0;
    left: 16px;
    top: 16px;
    border: 2px solid white;
    border-radius: 8px;
}

.choices .img .tick.x {
    background: red;
}

.choices .img {
    border-radius: 8px;
    overflow: hidden;
}

a.card-link {
    text-decoration: none;
}

.card-hp .img {
    max-height: 120px;
    overflow: hidden
}

.card-hp .img img {
    transition: all .2s;
    width: 570px;
}

.card-hp .img img:hover {
    transform: scale(1.05) rotate(1deg);
}

.card-hp .additional {
    line-height: 1rem;
    font-size: 14px;
}

.card-hp .additional small {
    font-family: 'Open Sans';
    font-weight: 100;
    color: gray;
}

.card-hp .additional small:hover {
    text-decoration: none;
}

.card-hp .title {
    font-weight: 600;
    font-size: 22px;
    line-height: 1.5rem;
}

.card-hp .title:hover {
    text-decoration: underline;
}

.card-hp .lead {
    color: #222 !important;
    font-size: 0.9375rem;
    font-family: 'Roboto';
    line-height: 1.3rem;
}

.hp-header ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    color: gray;
    line-height: 1.1;
}

.hp-header ul li {
    margin-bottom: 4px;
}

.hp-header ul li a {
    font-size: 14px;
}





.dictionary {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-gap: 6px;
}

.ditem {
    display: flex;
    flex-direction: column;
    padding: 8px;
    background: white;
    border: 1px solid #EEE;
}

.ad {
    padding: 0;
}

.ad-wide {
    grid-column: 1 / span 3;
}

.ditem img {
    transition: all .2s;
    max-width: 100%;
}

.ditem .img img:hover {
    transform: scale(1.05);
}

.ditem .img {
    border-radius: 8px;
    overflow: hidden;
}

.ditem .word {
    font-family: Roboto;
    font-weight: 500;
    font-size: 20px;
    line-height: 1;
    margin: 10px 4px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.ditem .word span {
    flex: 2;
    text-align: right;
}

.ditem .tr {
    color: #555;
    font-family: Roboto;
    font-weight: 100;
    font-size: 14px;
    margin: 6px 4px;
}

.a1:after,
.a2:after,
.b1:after,
.b2:after,
.c1:after,
.c2:after,
.elementary:after,
.intermediate:after,
.advanced:after {
    color: white;
    padding: 2px 4px;
    font-family: Roboto, Arial;
    font-weight: 100;
    font-size: 0.8125rem;
    margin-left: 0.5rem;
}

.a1b:before,
.a2b:before,
.b1b:before,
.b2b:before,
.c1b:before,
.c2b:before,
.elementaryb:before,
.intermediateb:before,
.advancedb:before {
    color: white;
    padding: 2px 4px;
    font-family: Roboto, Arial;
    font-weight: 100;
    font-size: 0.8125rem;
    margin-right: 0.5rem;
}

.a1:after,
.a1b:before {
    content: "A1";
    background: #009000;
}

.a2:after,
.a2b:before {
    content: "A2";
    background: #C0C000;
}

.b1:after,
.b1b:before {
    content: "B1";
    background: #1E79C7;
}

.b2:after,
.b2b:before {
    content: "B2";
    background: #D200D4;
}

.c1:after,
.c1b:before {
    content: "C1";
    background: #F09A1C;
}

.c2:after,
.c2b:before {
    content: "C2";
    background: #FF0000;
}

.elementary:after,
.elementaryb:before {
    content: "elementary";
    background: #009000;
}

.intermediate:after,
.intermediateb:before {
    content: "intermediate";
    background: #1E79C7;
}

.advanced:after,
.advancedb:before {
    content: "advanced";
    background: #FF0000;
}

.levm0:before {
    margin-right: 0;
}

.level {
    color: white;
    padding: 2px 4px;
    font-family: Roboto, Arial;
    font-weight: 100;
    font-size: 0.8125rem;
}

.level-elementary {
    background: #009000;
}

.level-intermediate {
    background: #1E79C7;
}

.level-advanced {
    background: #FF0000;
}

.level-a1 {
    background: #009000;
}

.level-a2 {
    background: #C0C000;
}

.level-b1 {
    background: #1E79C7;
}

.level-b2 {
    background: #D200D4;
}

.level-c1 {
    background: #F09A1C;
}

.level-c2 {
    background: #FF0000;
}

.nowrap {
    white-space: nowrap;
}

#grammar_index ol {
    list-style-type: none;
    counter-reset: item;
    margin: 0;
    padding: 0;
}

#grammar_index ol>li {
    display: table;
    counter-increment: item;
    margin-bottom: 0.6em;
    font-size: 1rem;
}

#grammar_index ol>li a {
    border-bottom: 0;
    color: #008CBA;
}

#grammar_index ol>li a strong {
    font-weight: 500;
}

#grammar_index ol>li:before {
    content: counters(item, ".") ". ";
    display: table-cell;
    font-size: 15px;
    padding-right: 0.6em;
}

#grammar_index li ol>li {
    margin: 0;
    color: #BBB;
    font-size: 1.0625rem;
}

#grammar_index li ol>li:before {
    content: counters(item, ".") " ";
}

.exercise-card {
    position: relative;
    text-align: center;
    background: white;
    box-shadow: 0 1px 15px rgba(0, 0, 0, .05), 0 1px 6px rgba(0, 0, 0, .05);
    border-radius: 4px;
}

.exercise-card h5 {
    margin: 0;
    font-family: 'Open Sans';
    font-weight: 500;
}

.exercise-card>span {
    font-size: 11px;
    text-transform: uppercase;
    font-family: 'Open Sans';
    color: #777;
}

.exercise-card .inner-box {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    min-width: 85%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 8px 24px;
    text-align: center;
}

.exercise-card img {
    width: 100%;
    max-height: 165px;
}

.exercise-card .inner-box h2 {
    font-family: Roboto, Arial;
    font-size: 20px;
    line-height: 20px;
    font-weight: 500;
    text-align: center;
    color: #222;
}

.exercise-card .inner-box button {
    background: #656773;
    color: #fff;
    text-transform: uppercase;
    font-family: Roboto, Arial;
    font-weight: bold;
    font-size: 14px;
    border: none;
    padding: 8px 16px;
    margin: 0;
    margin-top: 8px;
}

.blog-card {
    display: flex;
    flex-direction: column;
    margin: 0.5rem auto;
    box-shadow: 0 3px 7px -1px rgba(0, 0, 0, 0.1);
    margin-bottom: 1.6%;
    background: #fff;
    line-height: 1.4;
    font-family: sans-serif;
    border-radius: 5px;
    overflow: hidden;
    z-index: 0;
}

.blog-card a {
    color: inherit;
}

.blog-card a:hover {
    color: #5ad67d;
}

.blog-card:hover .photo {
    transform: scale(1.3) rotate(3deg);
}

.blog-card .meta {
    position: relative;
    z-index: 0;
    height: 100px;
}

.blog-card .photo {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.2s;
}

.blog-card .description:before {
    transform: skewX(-3deg);
    content: "";
    background: #fff;
    width: 30px;
    position: absolute;
    left: -10px;
    top: 0;
    bottom: 0;
    z-index: -1;
}



.blog-card .description {
    padding: 1rem;
    background: #fff;
    position: relative;
    z-index: 1;
}

.blog-card .description h1,
.blog-card .description h4 {
    font-family: Poppins, sans-serif;
}

.blog-card .description h1 {
    line-height: 1;
    margin: 0;
    font-size: 1.2rem;
}

.blog-card .description h4 {
    font-size: 1rem;
    font-weight: 300;
    text-transform: uppercase;
    color: #a2a2a2;
    margin-top: 5px;
}

.blog-card .description .read-more {
    text-align: right;
}

.blog-card .description .read-more a {
    color: #5ad67d;
    display: inline-block;
    position: relative;
}

.blog-card .description .read-more a:after {
    content: "";
    font-family: FontAwesome;
    margin-left: -10px;
    opacity: 0;
    vertical-align: middle;
    transition: margin 0.3s, opacity 0.3s;
}

.blog-card .description .read-more a:hover:after {
    margin-left: 5px;
    opacity: 1;
}

.blog-card p {
    position: relative;
    margin: 1rem 0 0;
}

.blog-card p:first-of-type {
    margin-top: 1.25rem;
}

.blog-card p:first-of-type:before {
    content: "";
    position: absolute;
    height: 5px;
    background: #5ad67d;
    width: 35px;
    top: -0.75rem;
    border-radius: 3px;
}

.blog-card:hover .details {
    left: 0%;
}

@media (min-width: 576px) {
    .blog-card {
        flex-direction: row;
        max-width: 700px;
        margin: 0.875rem auto;
    }

    .blog-card .meta {
        flex-basis: 45%;
        height: auto;
        /* height: 200px; */
    }

    .blog-card .description {
        flex-basis: 75%;
    }

    .blog-card .description:before {
        transform: skewX(-3deg);
        content: "";
        background: #fff;
        width: 30px;
        position: absolute;
        left: -10px;
        top: 0;
        bottom: 0;
        z-index: -1;
    }

    .blog-card.alt {
        flex-direction: row-reverse;
    }

    .blog-card.alt .description:before {
        left: inherit;
        right: -10px;
        transform: skew(3deg);
    }

    .blog-card.alt .details {
        padding-left: 25px;
    }
}




.blog-card .meta50 {
    flex-basis: 50% !important;
}

.blog-card .description50 {
    flex-basis: 50% !important;
}

.blog-card .meta40 {
    flex-basis: 40% !important;
}

.blog-card .description60 {
    flex-basis: 60% !important;
}

.blog-card .meta30 {
    flex-basis: 30% !important;
}

.blog-card .description70 {
    flex-basis: 70% !important;
}

.blog-card .description100 {
    flex-basis: 100% !important;
}





.card-col-count {
    font-family: Lora;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 0px;
}

.card-col-item {
    font-family: 'Open Sans', Roboto, Arial;
    font-size: 11px;
    font-weight: 100;
}

.exercises-list h2 {
    padding-top: 8px;
}

.exercises-list h2:not(:first-child) {
    border-top: 1px dashed #BBB;
}

.exercises-list div {
    font-family: Roboto;
}

.wordbox {
    display: inline-block;
    background: white;
    border-radius: 5px;
    border: 1px solid #ccc;
    margin: 0 0.5rem 1rem 0;
    padding: 0.5rem;
}

.wordbox:hover {
    box-shadow: 5px 5px 15px #888888;
}

.wordbox-img {
    width: 270px;
    height: 180px;
    overflow: hidden;
    margin: 0 auto;
}

.wordbox-img img {
    left: 50%;
    margin-left: -100%;
    position: relative;
    width: auto !important;
}

.wordbox p {
    text-align: left;
    max-width: 270px;
}

.wordbox p.headword {
    margin: 10px 0;
    font-weight: bold;
    font-family: 'Open Sans', Helvetica, Arial;
    font-size: 1.25rem;
    line-height: 1.25rem;
}



#main-content .exercise-set-body ol,
.exercise-set-body ol {
    margin: 0 0 1.5em;
    padding: 0;
    counter-reset: item;
}


#main-content .exercise-set-body ol>li,
.exercise-set-body ol>li {
    margin: 0;
    padding: 0;
    list-style-type: none;
    counter-increment: item;
    display: table;
    table-layout: fixed;
    width: 100%;
}

#main-content .exercise-set-body ol>li:before,
.exercise-set-body ol>li:before {
    display: table-cell;
    width: 1.5em;
    padding-right: 0.5em;
    font-weight: bold;
    font-family: "Open Sans", Arial;
    font-size: 22px;
    text-align: right;
    content: counter(item) ".";
}

.li-counter-set {
    counter-reset: item 5 !important;
}

.li-counter-set1 {
    counter-reset: item 1 !important;
}

.li-counter-set2 {
    counter-reset: item 2 !important;
}

.li-counter-set3 {
    counter-reset: item 3 !important;
}

.li-counter-set4 {
    counter-reset: item 4 !important;
}

.li-counter-set5 {
    counter-reset: item 5 !important;
}

.li-counter-set6 {
    counter-reset: item 6 !important;
}

.li-counter-set7 {
    counter-reset: item 7 !important;
}

.li-counter-set8 {
    counter-reset: item 8 !important;
}

.li-counter-set9 {
    counter-reset: item 9 !important;
}


.answer_stat {
    float: right;
    margin-left: 10px;
}

.ranking ol {
    list-style: none;
    padding: 0;
    margin: 0;
    border-top: 1px solid #ccc;
}

.ranking .place {
    display: inline-block;
    background: #699e2c;
    color: white;
    width: 34px;
    height: 18px;
    border-radius: 2px;
    text-align: center;
    font-family: Roboto, Arial;
    line-height: 19px;
    font-size: 13px;
    margin: 3px;
}

.ranking .me {
    background: rgba(255, 255, 0, 0.4);
}

.ranking ol li span {
    float: right;
    font-family: 'Open Sans', Arial;
}

.rank th {
    padding: 4px;
    font-family: 'Open Sans', Arial;
}

.rank td {
    padding: 4px;
}

.quiz {
    color: #222;
}

.quiz-box {
    background-size: 130% !important;
    width: 400px;
    height: 200px;
    margin-top: 3rem;
    border-radius: 10px;
    margin: 10px auto;
    text-align: center;
    overflow: hidden;
    display: table-cell;
    vertical-align: middle;
}

.quiz-box-title1 {
    margin: 1rem 0;
    font-size: 2rem;
    color: black;
    text-shadow: 2px 2px #fff;
}

.quiz-box-title2 {
    margin: 1rem 0;
    font-size: 2rem;
    color: white;
    text-shadow: 2px 2px #000;
}

.quiz-title {
    font-size: 4rem;
    font-family: 'Open Sans';
    color: white;
    text-shadow: 2px 2px #000;
    padding-bottom: 2rem;
}

.quiz-questions-count {
    font-size: 1rem;
    font-family: 'Open Sans';
    color: white;
    text-shadow: 2px 2px #444;
}

.question_no {
    font-family: 'Open Sans', Arial;
    font-size: 1rem;
    font-weight: 100;
    color: #999;
    margin: 1rem 0;
}

.question {
    font-family: Lora, 'Open Sans', Arial;
    font-size: 2rem;
    font-weight: 600;
    line-height: 1.1;
}

.quiz label {
    font-family: Lora, 'Open Sans', Arial;
    font-size: 28px;
    font-style: normal;
    font-weight: 100;
}

.quiz input[type=radio] {
    display: none;
}

.quiz input[type=radio]+label {
    margin: 0;
    width: 100%;
}

.quiz input[type=radio]+label>span {
    display: inline-block;
    background: url('/img/quiz_radio.png') no-repeat;
    overflow: hidden;
    text-indent: -9999px;
    text-align: left;
    margin-right: 10px;
    vertical-align: inherit;
    background-position: 0px 0px;
    width: 18px;
    height: 18px;
}

.quiz input[type=radio]+label:hover>span {
    background-position: 0px -18px;
    width: 18px;
    height: 18px;
}

.quiz input[type=radio]:checked+label>span {
    background-position: 0px -36px;
    width: 18px;
    height: 18px;
}

.quiz ul {
    list-style-type: none;
    margin: 1.5rem 0 1.5rem 3rem;
    padding: 0;
}

.quiz li {
    padding-bottom: 0.5rem;
    color: #222;
}

.quiz_results ol>li {
    font-family: Lora, 'Open Sans', Arial;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.2;
    margin: 1rem 0;
    border-bottom: 1px dashed #ccc;
}

.quiz_results ul>li {
    font-family: Lora, 'Open Sans', Arial;
    font-size: 20px;
    font-weight: 100;
    margin: 2px 0 2px 2rem;
}

.quiz_results ul>li:last-child {
    margin-bottom: 1rem;
}

.progress-bar {
    width: 100px;
    text-align: left;
}

.progress-bar-themed {
    width: 90%;
    margin: 0 auto;
}

.progress-bar>div {
    background-color: #EEE;
    height: 20px;
    padding: 0;
    width: 100%;
    line-height: 20px;
    margin: 0;
    border-radius: 5px;
}

.progress-bar>div>span {
    display: inline-block;
    height: 100%;
    border-radius: 3px;
    box-shadow: 0 1px 0 rgba(255, 255, 255, .5) inset;
    transition: width .4s ease-in-out;
    white-space: nowrap;
    text-align: center;
    color: white;
}

.progress-bar>div>span em {
    font-style: normal;
    font-family: "Open Sans", Arial;
    font-size: 14px;
    font-weight: 400;
}


.bookcity {
    background: white;
}

.bookcity ul {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    list-style-type: none;
}

.bookcity ul li {
    text-align: center;
    max-width: 200px;
    padding: 10px;
}

.bookcity img {
    box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.4);
}

.bookcity a div {
    font-family: Roboto;
    font-size: 14px;
    line-height: 16px;
    margin-top: 10px;
}




table.exercise-results-table td {
    font-size: 13px;
}

table.exercise-results-table strong {
    font-weight: 500;
    font-size: 16px;
}

table.exercise-results-table tr.count-correct td {
    background: #5b8737;
    color: white;
}

table.exercise-results-table tr.count-wrong td {
    background: #f04124;
    color: white;
}

table.exercise-results-table tr.count-empty td {
    background: #008cba;
    color: white;
}

.exercise-set-body del {
    color: red;
}

.exercise-set-body del.nostrike {
    text-decoration: none;
}

.exercise-set-body del.minor {
    color: orange;
    background-color: rgba(255, 165, 0, 0.2);
    text-decoration: none;
}

.exercise-set-body ins {
    color: green;
    text-decoration: underline;
}

.exercise-set-body ins.mark {
    background-color: rgba(255, 0, 0, 0.1)
}

.exercise-set-body mark {
    color: green;
    background-color: transparent;
    text-decoration: none;
    padding-left: 0;
    padding-right: 0;
}

.exercise-set-body mark.empty {
    color: blue;
    background-color: transparent;
    text-decoration: none;
    padding-left: 0;
    padding-right: 0;
}

.exercise-set-body mark.grayed {
    color: #CCC;
    background-color: transparent;
    text-decoration: none;
    padding-left: 0;
    padding-right: 0;
}

.exercise-set-body mark.correct {
    color: chartreuse;
}

.exercise-set-body .answer {
    font-size: 14px;
}

.exercise-set-body label {
    cursor: pointer;
}

.answer.answer-wrong {
    color: #D00000;
    text-decoration: line-through;
}

.answer.answer-correct {
    color: #008000;
}

.answer.answer-empty2 {
    color: blue;
}

.answer.answer-empty {
    color: #CCC;
}

input.word {
    background-color: white;
    border-bottom: 1px dashed #222;
    color: #800000;
    font-size: 1rem;
    font-weight: normal;
    display: inline;
    height: 1.8rem;
    text-align: center;
    transition: width 0.5s;
    transition-timing-function: ease-out;
}

.exercise-set-body .hint {
    display: inline;
    font-size: 15px;
    font-weight: normal;
    font-family: 'Roboto', Arial, sans-serif;
    margin-left: 4px;
    padding: 2px 4px;
    height: 1.8rem;
    text-align: center;
    background-color: white;
    border: 1px solid #ccc;
    color: blue;
}

.exercise-set-body .mock-input {
    display: inline-block;
    width: 100px;
    text-align: center;
    border-bottom: 1px dashed #999;
}

.exercise-set-body .mock-input .preview {
    color: crimson;
    font-family: Roboto;
}

.pb_size0 span {
    background-color: #DDD;
    width: 100%;
}

.pb_size0 span em {}

.pb_size1 span em {
    color: red;
    padding-left: 40px;
}

.pb_size2 span em {
    color: #F27011;
    padding-left: 40px;
}

.pb_size1>span {
    background-color: #F63A0F;
}

.pb_size2>span {
    background-color: #F27011;
}

.pb_size3>span {
    background-color: #F2B01E;
}

.pb_size4>span {
    background-color: #F2D31B;
}

.pb_size5>span {
    background-color: #86E01E;
}

.stripes>span {
    background-size: 30px 30px;
    background-image: linear-gradient(135deg, rgba(255, 255, 255, .15) 25%, transparent 25%,
            transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%,
            transparent 75%, transparent);

    animation: animate-stripes 3s linear infinite;
}

@media (max-width: 768px) {

    p {
        font-size: 1.1rem;
    }

    .logo-img {
        width: 75% !important;
    }

    a.sm2_button {
        margin-right: 8px;
        background-size: 18px 18px;
        background-position-x: 5px;
        height: 28px;
        width: 28px;
    }

    .ang {
        font-size: 1.2rem;
    }

    .pol {
        font-size: 1m;
        line-height: 1.4;
    }

    .post-author div {
        border-top: 0;
        display: inline;
        float: right;
    }

    .ditem .word {
        font-size: 18px;
    }

    .hp-header ul {
        margin-bottom: 2rem;
    }

    .hp-header ul li {
        display: inline-block;
        margin-bottom: 8px;
    }

    .hp-header ul li a {
        font-size: 16px;
    }

    .hp-header ul li:after {
        content: '\a0\b7';
    }

    .hp-header ul li:last-child::after {
        content: '';
    }

    .choices.item .word {
        font-size: 16px;
    }

    .quiz-title {
        font-size: 2.5rem;
    }

    .quiz .question {
        font-size: 1.5rem;
    }

    .quiz label {
        font-size: 20px;
    }
}