
body {
    font-family: 'Open Sans', Helvetica, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.42857143;
    color: #333;
    background-color: #fff;
}

a.internal {
    text-decoration: none;
    border-bottom:1px dotted;
}

.form-group.required .control-label:after {
    content: "*";
    margin-left: 5px;
    color: red;
}

.select2-results__options--nested {
    padding-left:10px !important;
}

.well {
    border-radius: 0;
}

.alert {
    margin-bottom: 0;
    text-align: center;
}

.ng {
    padding: 0;
    margin: 0;
}

.nm-top {
    padding-top: 0;
    margin-top: 0;
}

.dropdown-menu > .active > a,
.dropdown-menu > .active > a:hover,
.dropdown-menu > .active > a:focus {
    background-color: #aaa;
}

.label-important {
    background-color: #c6594d;
}

.label-primary {
    background-color: #e9b353;
}

.text-important {
    color: #c6594d !important;
}

.text-warning {
    color: #e9b353 !important;
}

.green,
.text-success {
    color: #638a86 !important;
}

.list-num li.active a {
    color: #000;
    font-weight: bold;
}

.modal-content {
    border-radius: 0;
}

.quote blockquote {
    border: none;
}

.quote blockquote footer {
    color: #e9b353;
}

.quote blockquote cite {
    font-style: normal;
}

.section-important .quote blockquote footer {
    color: #fff;
}

.svg-sprite svg {
    display: none;
}

.svg svg {
    display: inline-block;
    width: 100%;
    height: 100%;
    fill: currentColor;
}

p.big,
.big li {
    font-size: 16px;
}

.triangle {
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 30px 35px 0 35px;
    border-color: #ffffff transparent transparent transparent;
    margin: 0 auto;
    -webkit-transform: rotate(360deg);
}

.section-white .triangle {
    border-color: #ccc transparent transparent transparent;
}

.margin-top-sm {
    margin-top: 20px;
}

.margin-bottom-sm {
    margin-bottom: 20px;
}

.margin-top-md {
    margin-top: 40px;
}

.margin-bottom-md {
    margin-bottom: 40px;
}

/* BUTTONS */
.input-group-addon {
    border-radius: 0 !important;
}

.opt-list label {
    display: inline-block;
    margin-bottom: 0;
    font-weight: normal;
    text-align: center;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    background-image: none;
    border: 1px solid transparent;
    white-space: nowrap;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.opt-list label:focus,
.opt-list label:active:focus,
.opt-list label.active:focus,
.opt-list label.focus,
.opt-list label:active.focus,
.opt-list label.active.focus {
    outline: thin dotted;
    outline: 5px auto -webkit-focus-ring-color;
    outline-offset: -2px;
}

.opt-item label {
    display: block;
    width: 100%;
}

.btn, .btn-sm {
    border-radius: 0;
}

.btn-primary,
.opt-item input:checked + label {
    color: #fff;
    border: 1px solid transparent;
    background-color: #ff7364;
}
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary.active,
.btn-primary:active:hover,
.btn-primary.active:hover,
.btn-primary:active:focus,
.btn-primary.active:focus,
.btn-primary:active.focus,
.btn-primary.active.focus {
    border: 1px solid #ff523e;
    background-color: #fff;
    color: #ff523e !important;
    text-decoration: none;
}

.btn-primary.disabled:hover,
.btn-primary[disabled]:hover {
    color: #fff !important;
    border: 1px solid transparent;
    background-color: #ff7364;
}

.btn-success {
    color: #fff;
    border: 1px solid transparent;
    background-color: #638a86;
}

.btn-success:hover,
.btn-success:focus,
.btn-success:active,
.btn-success.active,
.btn-success:active:hover,
.btn-success.active:hover,
.btn-success:active:focus,
.btn-success.active:focus,
.btn-success:active.focus,
.btn-success.active.focus,
.btn-success.disabled:hover {
    border: 1px solid #638a86;
    background-color: #fff;
    color: #ff523e !important;
    text-decoration: none;
}

.btn-default,
.opt-list label {
    background-color: #578aad;
    color: #fff;
}
.exercise .opt-list label {
    background-color: #578aad;
}
.lesson-done .opt-item input:checked + label {
    background-color: #78a7a2;
    color: #fff;
}
.lesson-done .exercise-item-error .opt-item input:checked + label {
    color: #fff;
    background-color: #ff7364;
}
.exercise-show-answer.btn-sm {
    padding:2px 5px;
}
.btn-default:hover,
.btn-default:focus {
    background-color: #fff;
    color: #578aad;
}

.btn-white {
    border: 1px solid #fff;
    background-color: transparent;
    color: #fff;
}

.btn-white:hover,
.btn-white:focus {
    background-color: #fff !important;
    color: #000;
}

.opt-item input {
    display: none;
}

/* STRUCTURE */

.breadcrumbs-section {
    background-color: #f5f5f5;
}

.breadcrumb {
    margin-bottom: 0;
}

#language_list .nav a small {
    color: #000;
    vertical-align: super;
}

#language_list .nav .tr-up a small {
    color: #638a86;
    vertical-align: super;
}

#language_list .nav .tr-pr a small {
    color: #e9b353;
    vertical-align: super;
}

#language_list .nav .tr-out a small {
    color: #ff7364;
    vertical-align: super;
}

.list-num span:first-child {
    display: inline-block;
    color: #000;
    width: 40px;
    white-space: nowrap;
    text-align: right;
    margin-right: 10px;
}

.list-items {
    margin-top: -7px;
    margin-bottom: -7px;
}

.list-items > li {
    margin-top: 7px;
    margin-bottom: 7px;
}

.section-intro {
    padding: 0;
    background: transparent;
    position: relative;
}

.section-intro-content {
    background-color: rgb(49, 128, 121);
}

.frame {
    padding-top: 50px;
    padding-bottom: 70px;
}

.section-md .frame {
    padding-top: 30px;
    padding-bottom: 40px;
}

.section-sm .frame {
    padding-top: 25px;
    padding-bottom: 25px;
}

.section-intro .frame {
    color: #fff;
    padding-top: 120px;
    position: relative;
}

@media screen and (min-width: 992px) {
    .frame {
        padding-top: 80px;
        padding-bottom: 90px;
    }

    .section-md .frame {
        padding-top: 60px;
        padding-bottom: 70px;
    }

    .section-sm .frame {
        padding-top: 30px;
        padding-bottom: 30px;
    }
}

.box {
    margin: 0 auto;
}

@media screen and (min-width: 768px) and (max-width: 991px) {
    .box {
        width: 600px;
    }
}

@media screen and (min-width: 992px) and (max-width: 1199px) {
    .box {
        width: 600px;
    }
}

@media screen and (min-width: 1200px) {
    .box {
        width: 700px;
    }
}

h1 {
    font-size: 70px;
    line-height: 80px;
    margin-top: 0;
    font-weight: bold;
    color: #e9b353;
}

.section-intro h1 {
    font-size: 32px;
    line-height: 36px;
    margin-top: 0;
    font-weight: bold;
    color: #fff;
}

h2 {
    font-size: 55px;
    line-height: 63px;
    color: #e9b353;
    font-weight: bold;
}

h5 {
    font-weight: bold;
}

#footer {
    background-color: #4c4c4c;
    color: #fff;
}

.section-important {
    background-color: #ff7163;
}

.well.well-warning {
  background-color: #f5f5d4;
  border: 1px solid #e3e3e3;
  border-radius: 4px;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
}

.section-inverse {
    background-color: #bbb;
    color: #fff;
}

.section-yellow {
    background-color: #fdf1d7;
}

.section-content {
    border-top: 1px solid #bbb;
    border-bottom: 1px solid #bbb;
}

.section-content a {
    display: block;
    width: 100%;
    height: 100%;
    color: #000;
    padding: 80px 50px;
}

.section-content a:hover {
    text-decoration: none;
    -webkit-box-shadow: 0px 4px 10px 0px rgba(50, 50, 50, 0.75);
    -moz-box-shadow: 0px 4px 10px 0px rgba(50, 50, 50, 0.75);
    box-shadow: 0px 4px 10px 0px rgba(50, 50, 50, 0.75);
}

.section-content .icon {
    color: #fff;
}

.section-content .content-block-1 {
    background-color: #a56068;
}

.section-content .content-block-2 {
    background-color: #e9b353;
}

.section-content .content-block-3 {
    background-color: #3c988d;
}

.section-content .content-block-4 {
    background-color: #578aad;
}

.section-content .content-block-5 {
    background-color: #cab48a;
}

.section-content .content-block-6 {
    background-color: #dd7486;
}

.section-inverse h2,
.section-important h2,
.section-important h3,
.section-important p,
.section-important li,
.section-important a {
    color: #fff;
}
.section-important .text-justify a {
    text-decoration: underline;
    color: #fdf1d7;
}
.section-important .text-justify a:hover {
    text-decoration: none;
}
.section-yellow h2 {
    color: #c6594d;
}

.btn-play {
    display: block;
    background: url(../images/layout/sprite.png) no-repeat;
    width: 98px;
    height: 98px;
    background-position: 0 -142px;
    margin: 150px 0 0 50px;
}

.btn-play:hover {
    background-position: 0 -240px;
}

.btn-play.svg {
    background: none;
}

.btn-play.svg svg {
    color: #fff;
    fill: #000;
    opacity: 0.8;
}

.btn-play:hover svg {
    color: #000;
    fill: #fff;
}

.videoGallery a {
    display:block;
    max-width:100%;
    float: left;
    position: relative;
}

.videoGallery .btn-play {
    position: absolute;
    margin: 0;
    left: 50%;
    top: 50%;
    margin-left: -49px;
    margin-top: -49px;
}

#header {
    background-color: rgb(49, 128, 121);
    width: 100%;
    z-index: 100;
}

.main #header {
    position: absolute;
    background-color: transparent;
}

.navbar {
    background-color: transparent;
    border: none;
    border-radius: 0;
}

#header .navbar {
    padding: 14px 0 21px 0;
    margin: 0;
}

#header .navbar-collapse {
    -webkit-box-shadow: none;
    background-color: rgb(49, 128, 121);
}

.menu.navbar-default .navbar-nav > li > a {
    color: #fff;
}

.menu.navbar-default .navbar-nav > li.active > a {
    color: #555;
}

#header .navbar-default .navbar-nav > li > a {
    font-size: 16px;
    padding-top: 10px;
    padding-bottom: 10px
}

#header .navbar-default .navbar-collapse {
    border: none;
}

#header .navbar-default .navbar-toggle {
    border-radius: 0;
}

#header .navbar-default .navbar-toggle:hover,
#header .navbar-default .navbar-toggle:focus {
    background-color: #fff;
}

#header .navbar-default .navbar-toggle:hover .icon-bar,
#header .navbar-default .navbar-toggle:focus .icon-bar {
    background-color: rgb(49, 128, 121);
}

#header .navbar-brand {
    height: 70px;
    padding-top: 0;
}

.toolbar {
    width: 100%;
    background-color: #fff;
    z-index: 999;
}

.toolbar ul.nav {
    float: left;
    margin: 0;
}

.toolbar ul.nav > li {
    float: left;
}
.toolbar ul.nav > li > a {
    padding: 5px 12px;
    line-height: 30px;
    color: #777777;
}

.toolbar ul.nav > li > a:hover,
.toolbar ul.nav > li > a:focus {
    color: #333333;
    background-color: transparent;
}

.toolbar .badge {
    background-color: #ff7364;
    position: relative;
    top: -3px;
}

.toolbar ul.nav > li > a > .glyphicon {
    font-size: 20px;
    top: 3px;
}
.toolbar ul.nav > li > a img {
    position:relative;
    top:-3px;
}
.icon.keyboard {
    width: 31px;
    height: 17px;
    line-height: 17px;
    background-position: -300px -251px;
}
.icon.keyboard.active {
    background-position: -300px -270px;
}
.icon.keyboard.active svg{
    color: #82bd7a;
    fill: #000;
}

@media (min-width: 992px) {
    .toolbar ul.nav > li > a {
        padding: 5px 15px;
    }
}

#footer .navbar {
    padding-bottom: 20px;
    border-bottom: 1px solid #fff;
}

.icon {
    display: inline-block;
    width: 125px;
    height: 70px;
    line-height: 70px;
    background: url(../images/layout/sprite.png) no-repeat;
    background-position: -603px 0;
    text-indent: -9999px;
    overflow: hidden;
}

.big-icon {
    font-size: 50px;
    color: #fff;
}

.logo {
    display: inline-block;
    width: 125px;
    height: 70px;
    line-height: 70px;
    background: url(../images/layout/sprite.png) no-repeat;
    background-position: -603px 0;
    text-indent: -9999px;
    overflow: hidden;
}

.internal .logo {
    width: 90px;
    height: 50px;
    line-height: 50px;
    background-position: -603px -80px;
}

.internal #header .navbar-brand {
    height: 50px;
}

.icon.svg {
    background: none;
    text-indent: 0;
    overflow: hidden;
}

.logo.svg svg {
    color: #fff;
}

.example,
.sl {
    color: #a37f38;
}

.sound,
.sl {
    padding-left: 2px;
    padding-right: 2px;
    position: relative;
    cursor: pointer;
}

.sl:before {
    position: relative;
    top: 2px;
    /*display: inline-block;*/
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    content: "\e037";
}

.sl:hover,
.sound.example:hover,
.sound:hover .example {
    color: #ce576b !important;
}

.cards .card {
    padding: 10px;
}

.cards .card a {
    display: block;
    position: relative;
    width: 100%;
    height: 100%;
    color: #000;
    padding: 5px;
}

.cards .card a:hover {
    text-decoration: none;
}

.cards .card img {
    margin: 0 auto 20px auto;
}

.cards .card.sb:not([data-sound=""]) {
    cursor: pointer;
    position: relative;
}

.cards .card.sb:not([data-sound=""]):before {
    position: absolute;
    top: 5px;
    left: 5px;
    display:block;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    content: "\e037";
    color: #ccc;
}
.cards .card.sb.sb-wi:not([data-sound=""]):before {
    display:none;
}
.cards .card.sb:hover:not([data-sound=""]),
.cards .card:hover:not([data-sound=""]) {
    background-color: #fdf1d7;
}
.cards .card-title,
.cards .card-label,
.cards .card-caption,
.cards .card-text {
    display: block;
}
.cards .card-label {
    float:right;
    font-weight: bold;
    font-size:17px;
}
.cards .card-title {
    font-size: 40px;
}
.cards .card-caption {
    font-size: 14px;
}
@media screen and (min-width: 992px) {
    .cards .card-caption {
        font-size: 16px;
    }
}
@media screen and (min-width: 1200px) {
    .cards .card-title {
        font-size: 70px;
    }
}
@media screen and (min-width: 992px) and (max-width: 1199px) {
    .cards .card-title {
        font-size: 50px;
    }
}
.cards .card-info {
    position: relative;
}

.cards .card.lesson-item {
    border: 1px dashed #ccc;
    position: relative;
}

.cards .lesson-done {
    background-color: #f8fdf3;
}

.cards .lesson-results span {
    color: #ff7364;
}

.cards .lesson-progress {
    position: absolute;
    background-color: #f8fdf3;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -2;
    border-right: 1px solid #eff4ea;
}

.cards .lesson-status {
    position: absolute;
    display: block;
    width: 100px;
    height: 100px;
    line-height: 100px;
    top: 40px;
    left: 50%;
    border-radius: 100px;
    margin-left: -50px;
    background-color: rgba(255, 255, 255, .8);
}

.cards .lesson-status span {
    color: rgb(49, 128, 121);
    text-align: center;
    font-size: 50px;
    line-height: 90px;
}

.cards .lesson-disabled .lesson-results span {
    color: #000;
}

.cards .card.lesson-disabled a {
    pointer-events: none;
    cursor: default;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=40)";
    filter: alpha(opacity=40);
    -moz-opacity: 0.4;
    -khtml-opacity: 0.4;
    opacity: 0.4;
}

.cards .card.lesson-disabled:hover {
    background-color: transparent;
    color: #000;
    pointer-events: none;
    cursor: default;
}

.desaturate {
  -webkit-filter: grayscale(100%);
  -webkit-filter: grayscale(1);
  filter: grayscale(100%);
  filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'1 0 0 0 0, 0 1 0 0 0, 0 0 1 0 0, 0 0 0 1 0\'/></filter></svg>#grayscale");
  filter: gray;
}

.content-item {
    margin-top: 30px;
    margin-bottom: 50px;
}

.content-item:first-child {
    margin-top: 0;
}

.content-item h3 {
    padding-top: 20px;
    padding-bottom: 10px;
}

.line-text {
    overflow: hidden;
    text-align: center;
}

.line-text:before,
.line-text:after {
    background-color: #ccc;
    content: "";
    display: inline-block;
    height: 1px;
    position: relative;
    vertical-align: middle;
    width: 50%;
}

.line-text:before {
    right: 0.5em;
    margin-left: -50%;
}

.line-text:after {
    left: 0.5em;
    margin-right: -50%;
}

.section-content .courses .icon {
    width: 150px;
    height: 108px;
    line-height: 108px;
    background-position: -180px -140px;
}

.section-content .grammar .icon {
    width: 120px;
    height: 107px;
    line-height: 107px;
    background-position: -330px -140px;
}

.section-content .library .icon {
    width: 110px;
    height: 107px;
    line-height: 107px;
    background-position: -451px -140px;
}

.section-content .forum .icon {
    width: 157px;
    height: 97px;
    line-height: 97px;
    background-position: -561px -140px;
}

.section-list {
    position: relative;
    counter-reset: section;
    padding-left: 40px;
}

.section-list > p,
.section-list > .section-table,
.section-list > ul:not(.cards),
.section-list > .grammar-examples,
.section-list > dl {
    position: relative !important;
}

.section-list > p:before,
.section-list > .section-table:before,
.section-list > ul:not(.cards):before,
.section-list > .grammar-examples:before,
.section-list > dl:before {
    counter-increment: section;
    content: "" counter(section) "";
    background-color: #ccc;
    border-radius: 3px;
    padding: 0 5px;
    line-height: 13px;
    font-size: 9px;
    margin: 0 3px 0 0;
    color: #fff;
    position: absolute;
    top: 3px;
    left: -30px;
    opacity: .6;
    overflow: visible;
}

#header .navbar-default .navbar-toggle {
    border: none;
}

#header .navbar-default .navbar-toggle .icon-bar {
    background-color: #fff;
}

.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus {
    background-color: #fff;
    color: #555;
}

.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > .active > a:focus {
    color: #555;
    background-color: #e7e7e7;
}

.social .icon {
    width: 35px;
    height: 35px;
    line-height: 35px;
    color: #fff;
}

.social .facebook {
    background-position: -180px -250px;
}

.social .twitter {
    background-position: -215px -250px;
}

.social .google {
    background-position: -250px -250px;
}

/* TIMELINE */
.timeline {
    list-style: none;
    padding: 20px 0 20px;
    position: relative;
}

.timeline:before {
    top: 0;
    bottom: 0;
    position: absolute;
    content: " ";
    width: 3px;
    background-color: #eee;
    left: 50%;
    margin-left: -1.5px;
}

.tldate {
    display: block;
    width: 280px;
    background: #c85265;
    border: 3px solid #fff;
    color: #fff;
    margin: 0 auto;
    padding: 10px;
    font-weight: bold;
    text-align: center;
}

.tldate h3 {
    font-size: 20px;
    line-height: 25px;
    margin: 10px;
    padding: 0;
}

.tldate p {
    font-weight: normal;
}

.timeline li {
    margin-bottom: 25px;
    position: relative;
}

.timeline li:before, .timeline li:after {
    content: " ";
    display: table;
}

.timeline li:after {
    clear: both;
}

.timeline li:before, .timeline li:after {
    content: " ";
    display: table;
}

/** timeline panels **/
.timeline li .timeline-panel {
    width: 46%;
    float: left;
    background: #fff;
    border: 1px solid #d4d4d4;
    padding: 20px;
    position: relative;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
}

.timeline li.tl-empty {
    visible: none;
    height: 100px;
}

/** panel arrows **/
.timeline li .timeline-panel:before {
    position: absolute;
    top: 26px;
    right: -15px;
    display: inline-block;
    border-top: 15px solid transparent;
    border-left: 15px solid #ccc;
    border-right: 0 solid #ccc;
    border-bottom: 15px solid transparent;
    content: " ";
}

.timeline li .timeline-panel:after {
    position: absolute;
    top: 27px;
    right: -14px;
    display: inline-block;
    border-top: 14px solid transparent;
    border-left: 14px solid #fff;
    border-right: 0 solid #fff;
    border-bottom: 14px solid transparent;
    content: " ";
}

.timeline li .timeline-panel.noarrow:before, .timeline li .timeline-panel.noarrow:after {
    top: 0;
    right: 0;
    display: none;
    border: 0;
}

.timeline .thumbnail {
    border: none;
}

.timeline .thumbnail > img {
    margin: 0;
}

.timeline li .tl-image {
    font-size: 80%;
    margin: 10px auto;
}

.timeline li.timeline-inverted .timeline-panel {
    float: right;
}

.timeline li.timeline-inverted .timeline-panel:before {
    border-left-width: 0;
    border-right-width: 15px;
    left: -15px;
    right: auto;
}

.timeline li.timeline-inverted .timeline-panel:after {
    border-left-width: 0;
    border-right-width: 14px;
    left: -14px;
    right: auto;
}

/** timeline circle icons **/
.timeline li .tl-circ {
    position: absolute;
    top: 23px;
    left: 50%;
    text-align: center;
    background: #759fd2;
    color: #fff;
    width: 35px;
    height: 35px;
    line-height: 35px;
    margin-left: -16px;
    border: 3px solid #fff;
    border-top-right-radius: 50%;
    border-top-left-radius: 50%;
    border-bottom-right-radius: 50%;
    border-bottom-left-radius: 50%;
    /*z-index: 2;*/
}

/** timeline content **/
.timeline h3 {
    margin: 5px;
    color: #c6594d;
}

/* END OF TIMELINE */

/* LESSON PROGRESS LINE */
#lesson-content.lesson-done {
    background-color: #f8fdf3;
}

#lesson-content.lesson-done.lesson-error-1 {
    background-color: #ffecea;
}

#lesson-content.lesson-done.lesson-error-2 {
    background-color: #fffae1;
}

#lesson-content .lesson-done-visible {
    display: none;
}

#lesson-content.lesson-done .lesson-done-hidden {
    display: none;
}

#lesson-content.lesson-done .lesson-done-visible {
    display: inline;
}

#lesson-content.lesson-done .btn.lesson-done-visible {
    display: inline-block;
}

#lesson-content .lesson-results {
    padding: 15px;
    border-top: 1px solid #ccc;
}
#lesson-content h2 {
    font-size:30px;
    line-height:45px;
}
#lesson-content .lesson-title {
    margin-bottom:15px;
}
#lesson-content .dialog {
    margin-left: 20px;
}
#lesson-content .dialog p{
    margin-bottom:0;
}
#lesson-content .dialog p:last-child{
    margin-bottom:15px;
}
#lesson-content img {
    margin-top:20px;
    margin-bottom:20px;
}
#lesson-content .audio {
    float:right;
}
#lesson-content .exercise .audio {
    float:none;
    margin: 20px auto;
}
.lesson-progress-indicators {
    text-align: center;
    margin: 25px auto;
}

.lesson-progress-indicators ol {
    list-style: none;
    text-align: center;
    padding: 0;
}

.lesson-progress-indicators ol li {
    display: inline-block;
    position: relative;
    padding: 0;
    width: 12px;
    height: 12px;
    border-radius: 12px;
    margin: 3px;
    border: 1px solid #ccc;
    background-color: #fff7d8;
}

.lesson-progress-indicators ol li.disabled {
    border: 1px solid #dddddd;
    background-color: #fff;
}

.lesson-progress-indicators ol li a {
    display: block;
    text-indent: -9999px;
    overflow: hidden;
    width: 100%;
    height: 100%;

}

.lesson-progress-indicators ol li.disabled a {
    cursor: default;
}

.lesson-progress-indicators ol li.done {
    background-color: #edf6ea;
    border-color: #bde9d1;
}

.lesson-progress-indicators ol li.active {
    background-color: #ff7364;
    border-color: #ff7364;
}
/* GRAMMAR */
.grammar-examples {
    border: 1px dotted #ccc;
    padding: 20px;
    margin-bottom: 15px;
}

li.grammar-example {
    margin-bottom: 15px;
}

li.grammar-example p {
    margin-bottom: 5px;
}

.grammar-info {
    color: #999;
}

.toolbar.affix {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999;
    border-bottom:1px solid #ccc;
}
.st {
    color: #e97a7a;
    text-decoration: line-through;
}

dl dd {
    margin-bottom: 5px;
}

.dl-horizontal.dl-sm dt {
    width: 60px;
}

.dl-horizontal.dl-sm dd {
    margin-left: 80px;
}

.dl-horizontal.dl-md dt {
    width: 100px;
}

.dl-horizontal.dl-md dd {
    margin-left: 120px;
}

/* /GRAMMAR */

/* SOUNDS */
.audio, .audio * {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 0;
    line-height: 0
}

.audio {
    position: relative;
    text-align: left;
    min-width: 50px;
    max-width: 200px;
    width: 100%;
    height: 40px;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    color: #fff;
    margin: 0 auto;
    margin-bottom: 10px;
}
/*.audio.affix {*/
    /*position: fixed;*/
    /*bottom: 0;*/
    /*right: 0;*/
    /*z-index: 999;*/
    /*float:none;*/
/*}*/
@media screen and (max-width: 767px) {
    .audio {
        max-width: 100px;
    }
    /*.audio.affix {*/
        /*width: 100%;*/
        /*max-width: 100%;*/
        /*position: fixed;*/
        /*bottom: 0;*/
        /*left: 0;*/
        /*z-index: 999;*/
    /*}*/
}

.control {
    position: absolute;
    top: 0;
    width: 40px;
    height: 100%;
    background-color: #467aa8;
}

.play-control {
    left: 0;
}

.button {
    display: block;
    text-decoration: none;
    width: 40px;
    height: 100%;
    font-size: 15px;
    line-height: 40px;
    text-align: center;
    background: 0 0;
    cursor: pointer;
    color: #fff;
}

.button:focus {
    color: #5ea4d7;
}

.button:before {
    display: block;
    font-style: normal;
    font-weight: 400;
    text-decoration: none;
    font-variant: normal;
    text-transform: none;
    speak: none;
    width: 40px;
    line-height: 40px;
    text-align: center;
    opacity: 1;
}

.audio.jp-state-playing .play:before {
    content: "\e073";
}

.play:before {
    content: "\e072";
}

.bar {
    position: absolute;
    top: 0;
    left: 40px;
    right: 0;
    height: 100%;
    background-color: #c9c9c9;
}

.seek-bar.seek-bar-display {
    min-width: 0;
    background-color: #c9c9c9;
}

.seek-bar {
    position: absolute;
    top: 0;
    left: 0;
    min-width: 100%;
    height: 100%;
    cursor: pointer;
}

.play-bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: #aeaeae;
}

.details, .timing {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    padding: 0 12px;
    font-size: 12px;
    line-height: 40px;
}

.timing {
    text-align: right;
}

.title, .duration {
    font-size: 12px;
    line-height: 40px;
}
.no-solution {
    position: absolute;
    top: 0;
    left: 30px;
    right: 0;
    height: 48px;
    padding: 8px 0;
    line-height: 24px;
    font-size: 16px;
    text-align: center;
    display: none;
    color: #000;
}

.sound {
    cursor: pointer;
    white-space: nowrap;
}

.sound:hover {
    opacity: .8;
}

.ipa {
    font-size: 90%;
    color: #666666;
}

.tr-only {
    color: #5f5f5f;
}

/* /SOUNDS */
.origin .tr-only {
    display: none;
}

.orig {
    color: #a77006 !important;
}

/* PROFILE */
#fineUploader .qq-upload-button {
    display: none;
}

#fineUploader .qq-upload-list {
    margin: 0;
    padding: 0;
}

#fineUploader .qq-upload-list li {
    background: none repeat scroll 0 0 transparent;
    font-size: inherit;
    line-height: inherit;
    padding: 0;
}

#fineUploader .qq-upload-list li.qq-upload-success {
    color: #5DA30C;
}

#fineUploader .qq-upload-list li.qq-upload-fail {
    color: #D60000;
}

.remove-pic .remove-activated {
    display: block;
}

.remove-pic .remove-deactivated {
    display: none;
}

.remove-pic.disabled .remove-deactivated {
    display: block;
}

.remove-pic.disabled .remove-activated {
    display: none;
}

.user-profile-photo img {
    margin-bottom: 10px;
}

.user-photo {
    border: 1px solid #ccc;
    padding: 2px;
}

#users-search-form .checkbox {
    margin: 0;
}

/* /PROFILE */

/* MEDIA & FORUM */
#forum {
    margin-bottom: 50px;
}

.forum-item {
    padding: 20px 0;
    border-top: 1px solid #ddd;
    position: relative;
}

#forum h2.forum-title {
    font-size: 24px;
    line-height: 28px;
    margin-top: 0;
    margin-bottom: 5px;
}

.forum-item.forum-icon-read,
.forum-item.forum-icon-unread {
    padding-left: 40px;
}

.forum-icon-read:before,
.forum-icon-unread:before {
    position: absolute;
    left: 0;
    content: "";
    background: url(../images/layout/forum.png) no-repeat;
    background-position: 0 0;
    width: 32px;
    height: 32px;
}

.forum-icon-read:before {
    background-position: 0 0;
}

.forum-icon-unread:before {
    background-position: -35px 0;
}

.forum-last-message-details {
    margin-left: 75px;
}

@media (max-width: 776px) {
    #forum h2.forum-title {
        font-size: 1.3em;
    }

    #forum .forum-stat li {
        display: inline;
        margin-right: 10px;
    }

    .right-to-center {
        text-align: center;
    }
}
.bbcode {
  overflow-x: auto;
  min-height: 0.01%;
}

.bbcode blockquote {
    padding: 0.5em 1em;
    margin: 1em;
    font-size: 0.9em;
    border-left: solid #e5c586 1px;
    background-color: #fbfbd8;
}

.bbcode blockquote blockquote {
    font-size: 1em;
}

.bbcode blockquote .blockquote-title {
    font-weight: bold;
    color: #555;
}
.bbcode a {
  overflow-wrap: break-word;
  word-wrap: break-word;
  -ms-word-break: break-all;
  word-break: break-all;
  word-break: break-word;
  -ms-hyphens: auto;
  -moz-hyphens: auto;
  -webkit-hyphens: auto;
  hyphens: auto;
}
.bbcode img {
    max-width: 100%;
	height: auto;
}
.media-list-title h1 {
    font-size: 26px;
    line-height: 30px;
    font-weight: normal;
    margin: 0;
}
#mediathek-content #contentList {
    margin-bottom:15px;
}
.media-list-title h2 {
    font-size: 18px;
    line-height: 22px;
    font-weight: normal;
    margin: 0;
}

.media-subitem-title {
    margin-top: 0;
    font-size: 30px;
    line-height: 40px;
}

.media-subitem-title sentence,
.media-subitem-title .sentence {
    color: #c6594d !important;
}

.media-list-title .meta-info {
    white-space: nowrap;
    padding-left: 1em;
    font-size: 80%;
    /*color: #777;*/
}

.media-list p.desc {
    color: #777;
}

.media-list-stat {
    width: 5%;
}

.media-list-lastpost {
    width: 10%;
}

.media-text-icon,
.media-audio-icon,
.media-video-icon {
    padding-left: 35px;
    position: relative;
}

.media-text-icon:before,
.media-audio-icon:before,
.media-video-icon:before {
    position: absolute;
    left: 0;
    content: "";
    background: url(../images/layout/mediathek.png) no-repeat;
    width: 22px;
    height: 28px;
}

.media-audio-icon:before {
    background-position: 0 0;
}

.media-audio-icon.media-progress:before {
    background-position: 0 -32px;
}

.media-audio-icon.media-done:before {
    background-position: 0 -61px;
}

.media-text-icon:before {
    background-position: -30px 0;
}

.media-text-icon.media-progress:before {
    background-position: -30px -32px;
}

.media-text-icon.media-done:before {
    background-position: -30px -61px;
}

.media-video-icon:before {
    background-position: -58px 0;
}

.media-video-icon.media-progress:before {
    background-position: -58px -32px;
}

.media-video-icon.media-done:before {
    background-position: -58px -61px;
}

.media-level {
    display: inline-block;
    width: 21px;
    height: 23px;
    line-height: 21px;
    background: url(../images/layout/mediathek.png) no-repeat;
    background-position: -20px -90px;
    text-indent: -9999px;
    overflow: hidden;
}

.media-level.media-level-l1 {
    background-position: -42px -90px;
}

.media-level.media-level-l2 {
    background-position: -63px -90px;
}

.media-text .sentence,
.media-text sentence {
    background: none;
}

.media-text .sentence:hover,
.media-text sentence:hover {
    background: none;
    cursor: inherit;
}

/* /MEDIA */
.embedWrapper {
    margin-bottom: 20px;
}

.embed {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    padding-top: 25px;
    height: 0;
}

.embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.sentence, sentence {
    display: inline;
    font-style: normal;
    /*background-color: #fff7e8;*/
    color: #543903;
}

.sentence:hover,
sentence:hover {
    background-color: #fffac8;
    cursor: pointer;
}

var {
    display: inline;
    font-style: normal;
}

var:hover,
var:hover {
    background-color: #dad6a5;
    cursor: pointer;
}

/* PAGINATION */
.pagination {
    display: inline-block;
    padding-left: 0;
    margin: 20px 0;
    border-radius: 4px;
}
.pagination ul {
    padding:0;
}
.pagination li {
    display: inline;
}

.pagination li > a,
.pagination li > span {
    position: relative;
    float: left;
    padding: 6px 12px;
    margin: 0 2px;
    line-height: 1.42857143;
    color: #337ab7;
    text-decoration: none;
    background-color: #fff;
    border: 1px solid #ddd;
}

.pagination li:first-child > a,
.pagination li:first-child > span {
    margin-left: 0;
}

.pagination li:last-child > a,
.pagination li:last-child > span {
}

.pagination li > a:hover,
.pagination li > span:hover,
.pagination li > a:focus,
.pagination li > span:focus {
    color: #23527c;
    background-color: #eee;
    border-color: #ddd;
}

.pagination .active > a,
.pagination .active > span,
.pagination .active > a:hover,
.pagination .active > span:hover,
.pagination .active > a:focus,
.pagination .active > span:focus {
    z-index: 2;
    color: #fff;
    cursor: default;
    background-color: #c6594d;
    border: none;
}

.pagination .disabled > span,
.pagination .disabled > span:hover,
.pagination .disabled > span:focus,
.pagination .disabled > a,
.pagination .disabled > a:hover,
.pagination .disabled > a:focus {
    color: #ddd;
    cursor: not-allowed;
    background-color: #fff;
    border-color: #ddd;
}

/* /PAGINATION */
.thumbnail.borderless {
    border: none;
}

.thumbnail.img-left a > img, .thumbnail.img-left > img {
    margin-left: 0;
}

.thumbnails-small .thumbnail img {
    max-height: 200px;
}

.img-left {
    float: left;
    margin-right: 10px;
}

.img-right {
    float: right;
    margin-left: 10px;
}

.fluid-thumbnails {
    margin: -20px 0 0 -20px;
    *zoom: 1;
}

.fluid-thumbnails:before,
.fluid-thumbnails:after {
    display: table;
    line-height: 0;
    content: "";
}

.fluid-thumbnails:after {
    clear: both;
}

.fluid-thumbnails > li {
    text-decoration: none;
    background: none;
    display: -moz-inline-box;
    display: inline-block;
    vertical-align: top;
    text-align: left;
    margin: 20px 0 0 20px;
}

.fluid-thumbnails .fluid-thumbnail {
    width: 180px;
    float: left;
}

.fluid-thumbnail > img,
.fluid-thumbnail a > img {
    display: block;
    height: auto;
    max-width: 100%;
    margin-right: auto;
    margin-left: auto;
}

.fluid-thumbnail .caption {
    color: #555555;
    text-align: center;
    padding: 2px;
}

.fluid-thumbnail .caption h3 {
    font-size: 1em;
    font-weight: normal;
    line-height: 1.5em;
    margin: 0;
    color: #555555;
}

.fluid-thumbnail .caption p {
    line-height: 1.2em;
}

.full {
    width: 100%;
    *width: 99.94680851063829%;
}

#profile-list {
    margin-bottom: 50px;
}

.ias_loader, .ias_trigger {
    text-align: center;
    margin: 30px 0 40px;
    display: block;
    clear: both;
}

.ias_trigger a:link,
.ias_trigger a:visited {
    padding: 4px 50px;
    background-color: #f9f9f9;
    border: solid 1px #ddd;
    border-radius: 2px;
    font: bold 12px Arial, sans-serif;
    color: #555;
    text-decoration: none;
}

.ias_trigger a:hover,
.ias_trigger a:active {
    border-color: #ccc;
}

.ui-slider {
    position: relative;
    height: 5px;
    background-color: #eee;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.5), 0px 1px 2px rgba(0, 0, 0, 0.4) inset;
    border-radius: 5px;
    margin: 15px 5px 5px;
}

.ui-slider .ui-slider-range {
    top: 0;
    position: absolute;
    height: 100%;
    display: block;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.5), 0px 1px 2px rgba(0, 0, 0, 0.4) inset;
    background-color: #aaa;
    margin: 0 2px;
}

.ui-slider .ui-slider-handle {
    display: block;
    background-color: #eee;
    border: 1px solid #aaa;
    width: 14px;
    height: 14px;
    position: absolute;
    border-radius: 5px;
    top: -5px;
    text-decoration: none;
}

.ui-slider .ui-slider-handle:last-child {
    margin-left: -14px;
}

/* EXERCISES */

.exercise-item {
    padding: 3px 5px;
    margin-bottom: 10px;
}
.exercise .drag-items {
    vertical-align: middle;
    min-height: 38px;
    line-height: 38px;
    border: 1px dashed #ccc;
    text-align: center !important;
    background-color: #fff;
    border: 1px dashed #ccc;
}
.exercise .drag-item {
    color: #fff;
    background-color: #aaa;
    border-color: #cccccc;
    margin:0 1px;
    white-space: nowrap;
}
.exercise .drag-items .ui-state-highlight {
    border: 1px dotted #9f9f9f;
    padding: 2px 10px;
    width:50px;
    background:none;
    border:1px dotted #9f9f9f;
    opacity: 0.5;
    filter: alpha(opacity=50);
    color:transparent;
}

.single-mode .drag-item {
    white-space: normal;
}

.single-mode .drop-area .drag-item {
    display: block;
}
.input-mode {
    border:none;
    border-bottom: 1px solid #ccc !important;
    border-radius:0;
    padding:2px 6px;
    -webkit-box-shadow: none;
    box-shadow: none;
    line-height:20px;
    height:25px;
}
.input-mode:focus {
    border-color: #66afe9;
    background-color: #fff9d8;
    -webkit-box-shadow:none;
    box-shadow:none;
}
.input-inline {
    display: inline;
    margin: 0 5px;
    width: 150px;
}
.input-answer {
    display:inline-block;
    text-decoration:underline;
    /*padding:0 5px;*/
    min-width: 150px;
    cursor: help;
}
.w {
    margin-right:5px;
    white-space: nowrap;
}
.exercise-item-error .input-answer.text-important {
    text-decoration:none;
    border-bottom: 1px solid #d66157;
}
.exercise-item select {
    margin: 1px;
}

.input-size-1[type=text],
.input-size-0[type=text]{
    width: 16px;
    /*padding: 1px;*/
}

select.input-size-1 {
    width: 50px;
}

.input-size-2 {
    width: 40px;
}

select.input-size-2 {
    width: 60px;
}

.input-size-3 {
    width: 70px;
}

.input-size-4 {
    width: 50px;
}

select.input-size-4 {
    width: 120px;
}

.input-size-5 {
    width: 90px;
}

select.input-size-5 {
    width: 150px;
}
.lesson-done .exercise-item-error .drag-items {
    background-color: #fcd8d8 !important;
}
.lesson-done .exercise-element-error.drag-item {
    background-color: #d66157;
}
.lesson-done select.item-error {
    border-color: #d66157;
    color:#d66157;
}
/* /EXERCISES */

.bs-callout {
    text-align: left;
    padding: 20px;
    margin: 20px 0;
    border: 1px solid #eee;
    border-left-width: 5px;
    border-radius: 3px;
}
.bs-callout h4 {
    margin-top: 0;
    margin-bottom: 5px;
}
.bs-callout p:last-child {
    margin-bottom: 0;
}
.bs-callout code {
    border-radius: 3px;
}
.bs-callout+.bs-callout {
    margin-top: -5px;
}
.bs-callout-default {
    border-left-color: #777;
}
.bs-callout-default h4 {
    color: #777;
}
.bs-callout-primary {
    border-left-color: #428bca;
}
.bs-callout-primary h4 {
    color: #428bca;
}
.bs-callout-success {
    border-left-color: #5cb85c;
}
.bs-callout-success h4 {
    color: #5cb85c;
}
.bs-callout-danger {
    border-left-color: #d9534f;
}
.bs-callout-danger h4 {
    color: #d9534f;
}
.bs-callout-warning {
    border-left-color: #f0ad4e;
}
.bs-callout-warning h4 {
    color: #f0ad4e;
}
.bs-callout-info {
    border-left-color: #5bc0de;
}
.bs-callout-info h4 {
    color: #5bc0de;
}

/* DICTIONARY */
.dictionary-items li {
    margin-bottom:10px;
}
.dictionary-items li ul {
    margin-left:10px;
}
.dictionary-items .dictionary-structure {
    color: #666666;
}
/* /DICTIONARY */

@media screen and (max-width: 767px) {
    ul.timeline:before {
        left: 40px;
    }

    .tldate {
        width: 140px;
    }

    ul.timeline li .timeline-panel {
        width: calc(100% - 90px);
        width: -moz-calc(100% - 90px);
        width: -webkit-calc(100% - 90px);
    }

    ul.timeline li .tl-circ {
        top: 22px;
        left: 22px;
        margin-left: 0;

    }

    ul.timeline > li > .tldate {
        margin: 0;
    }

    ul.timeline > li > .timeline-panel {
        float: right;
    }

    ul.timeline > li > .timeline-panel:before {
        border-left-width: 0;
        border-right-width: 15px;
        left: -15px;
        right: auto;
    }

    ul.timeline > li > .timeline-panel:after {
        border-left-width: 0;
        border-right-width: 14px;
        left: -14px;
        right: auto;
    }

    h1 {
        font-size: 40px;
        line-height: 44px;
    }

    .section-intro h1 {
        font-size: 32px;
        line-height: 36px;
    }

    h2 {
        font-size: 29px;
        line-height: 33px;
        color: #e9b353;
        font-weight: bold;
    }

    .navbar-default .navbar-nav .open .dropdown-menu > li > a {
        color: #fff;
    }

    .navbar-default .navbar-nav .open .dropdown-menu > li > a:hover,
    .navbar-default .navbar-nav .open .dropdown-menu > li > a:focus {
        color: #ff7364;
        background-color: transparent;
    }
}

@media screen and (min-width: 768px) and (max-width: 991px) {
    h1 {
        font-size: 52px;
        line-height: 62px;
    }

    .section-intro h1 {
        font-size: 46px;
        line-height: 56px;
    }

    h2 {
        font-size: 37px;
        line-height: 47px;
        color: #e9b353;
        font-weight: bold;
    }
}

@media screen and (max-width: 992px) {
    .timeline li .timeline-panel {
        width: 44%;
    }

    .nav .btn,
    .nav .btn-sm {
        border: none;
    }

    .btn-play {
        display: block;
        background: url(../images/layout/sprite.png) no-repeat;
        width: 74px;
        height: 74px;
        background-position: -101px -142px;
        margin: 100px 0 0 50px;
    }

    .btn-play:hover {
        background-position: -102px -216px;
    }

    .videoGallery .btn-play {
        margin-left: -37px;
        margin-top: -37px;
    }
}

@media screen and (min-width: 992px) {
    .section-intro {
        background-image: url(../images/layout/intro.jpg);
        background-repeat: no-repeat;
        background-size: cover;
        background-repeat: no-repeat;
        background-position: bottom center;
    }

    #header .nav > li > a.btn-sm {
        margin-right: 15px;
        margin-left: 15px;
    }

    #header .navbar-collapse {
        background-color: transparent;
    }

    #footer .dropup {
        margin-top: 5px;
    }

    .section-intro-content {
        background-color: rgba(49, 128, 121, .9);
    }

    p.big,
    .big li {
        font-size: 19px;
    }
}

@media screen and (min-width: 992px) and (max-width: 1199px) {
    h1 {
        font-size: 60px;
        line-height: 70px;
    }

    .section-intro h1 {
        font-size: 64px;
        line-height: 76px;
    }

    h2 {
        font-size: 40px;
        line-height: 50px;
        color: #e9b353;
        font-weight: bold;
    }

    .section-intro .frame {
        padding-top: 150px;
        padding-bottom: 150px;
    }

    #header .navbar-brand {
        height: 84px;
    }

    .logo {
        width: 150px;
        height: 84px;
        line-height: 84px;
        background-position: -451px 0;
    }

    .modal-lg {
        width: 970px;
    }
}

@media screen and (min-width: 1200px) {
    .main #header .navbar-brand {
        height: 112px;
    }

    .main #header .navbar-default .navbar-nav > li > a {
        font-size: 18px;
    }

    .main #header .nav {
        margin-top: 30px;
    }

    .main .logo {
        width: 200px;
        height: 112px;
        line-height: 112px;
        background-position: -250px 0;
    }

    .section-intro .frame {
        padding-top: 170px;
        padding-bottom: 150px;
    }

    h1 {
        font-size: 70px;
        line-height: 84px;
    }

    h2 {
        font-size: 50px;
        line-height: 64px;
        color: #e9b353;
        font-weight: bold;
    }

    .modal-lg {
        width: 1150px;
    }
}

@media screen and (min-width: 1200px) and (max-width: 1680px) {
    .section-intro h1 {
        font-size: 72px;
        line-height: 82px;
    }
}

@media screen and (min-width: 1680px) {
    .section-intro h1 {
        font-size: 80px;
        line-height: 94px;
    }
}
