.clearfix {
    clear: both;
}

.breadcrumb {
    background: transparent;
    padding: 10px 0;
    margin-bottom: 0;
    font-weight: 400;
}

.panel,
.alert,
.white-box {
    border-radius: 5px;
    overflow: hidden;
}

.elevated {
    -webkit-box-shadow: 0 2px 6px rgba(0, 0, 0, 0.16);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.16);
    -webkit-transition: all .15ms;
    -o-transition: all .15ms;
    transition: all .15ms;
}

.elevated.elevated--hoverable:hover {
    -webkit-box-shadow: none;
    box-shadow: none;
}

/* Header Adaptivity */
.sidebar {
    -webkit-box-shadow: 0 11px 8px rgba(0,0,0,.7),0 10px 10px rgba(0,0,0,.22)!important;
    box-shadow: 0 11px 8px rgba(0,0,0,.7),0 10px 10px rgba(0,0,0,.22)!important;
}
.navbar-header {
    -webkit-box-shadow: 0 5px 8px rgba(0,0,0,.2), 0 1px 5px rgba(0,0,0,.22)!important;
    box-shadow: 0 5px 8px rgba(0,0,0,.2), 0 1px 5px rgba(0, 0, 0, 0.22) !important;
}
.navbar-header-mobile-line {
    float: right;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    width: calc(100% - 240px);
}

.navbar-header .navbar-header-tc {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
}

.navbar-top-links > li {
    min-width: 48px;
    text-align: center;
}

.navbar-top-links i.ti-menu {
    font-size: 22px;
    line-height: 52px;
}

.nav-title {
    color: #fff;
    font-size: 20px;
    display: inline-block;
    line-height: 60px;
    padding: 0 10px;
    white-space: nowrap;
    overflow: hidden;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
}

@media (max-width: 992px) {
    .navbar-header-mobile-line {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .side-bar-overlay {
        display: none;
        position: fixed;
        width: 100%;
        height: 100vh;
        top: 0;
        left: 0;
        background: rgba(0,0,0,0.5);
        z-index: 1000;
    }

    .show-sidebar .side-bar-overlay {
        display: block;
    }

    .nav-title {
        padding: 0;
        font-size: 14px;
    }
}

.dw-user-box {
    display: table;
    width: 100%;
}

.dw-user-box .u-img,
.dw-user-box .u-text {
    display: table-cell!important;
    vertical-align: middle!important;
}


/* +++++++++++++ Lessons +++++++++++++++ */
.tab-content img,
.white-box img {
    max-width: 100%;
}

.preview img {
    max-width: 100%;
}

/* +++++++++++++ File Uploader +++++++++++++++ */
.template-upload:nth-child(even),
.template-download:nth-child(even) {
    /*background: #EAEAEA;*/
}
.template-upload,
.template-download {
    margin-top: 10px;
    padding: 8px 0;
    border-bottom: 1px solid #EAEAEA;
    border-top: 1px solid #EAEAEA;
}
.template-upload:first-child,
.template-download:first-child {
    margin-top: 0;
}
.template-upload .preview,
.template-download .preview,
.template-upload .preview a,
.template-download .preview a {
    display: block;
}
/* Attachments gallery */
.message-attachments {
    margin-top: 10px;
}
.gallery-item,
.attachment-file-item {
    display: inline-block;
    width: 40px;
    margin-right: 10px;
    font-size: 38px;
    text-align: center;
}
.gallery-item img,
.attachment-file-item img {
    max-width: 100%;
}
.attachments-gallery {
    display: inline-block;
}


/* +++++++++++++ Units +++++++++++++++ */
.units-list {
    position: relative;
    padding-left: 10px;
}

.units-list:before {
    content: "";
    display: block;
    position: absolute;
    left: -6px;
    top: 0;
    width: 2px;
    height: 100%;
    background: #dbdbdb;
}

.unit-item {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    position: relative;
    border: 1px #dbdbdb solid;
    border-radius: 5px;
    margin-bottom: 15px;
    padding: 10px;
    text-decoration: none;
    color: initial;
}
.unit-item:hover,
.unit-item:focus,
.unit-item:active {
    text-decoration: none;
    color: initial;
}

.unit-item:before,
.unit-item:after {
    content: "";
    display: block;
    position: absolute;
    background: #dbdbdb;
}

.unit-item:before {
    left: -17px;
    top: calc(50% - 1px);
    width: 16px;
    height: 2px;
}

.unit-item:after {
    left: -23px;
    top: calc(50% - 7px);
    width: 14px;
    height: 14px;
    border-radius: 50%;
}

.unit-item:last-child {
    margin-bottom: 0;
}

.unit-status {
    margin-bottom: 10px;
}

/* .unit-item statuses */
.unit-item.active {
    background: #ff7676;
    border: 1px #ff7676 solid!important;
    -webkit-box-shadow: 0 0 4px 2px rgba(74, 128, 255, 0.7);
    box-shadow: 0 0 4px 2px rgba(74, 128, 255, 0.7);
}
.unit-item.success {
    background: #53e69d;
    border: 1px #53e69d solid!important;;
}
.unit-item.declined {
    background: #ffc36d;
    border: 1px #ffc36d solid!important;
}

.subunits-list {
    margin-left: 30px;
    margin-bottom: 20px;
}

.subunits-list .subunit .subunit-line {
    position: absolute;
    left: -16px;
    top: -16px;
    width: 2px;
    height: calc(100% + 17px);
    background: #dbdbdb;
}

.subunits-list .subunit:last-child .subunit-line {
    height: calc(50% + 17px);
}

.unit-item .real-time-widgets .css-bar-md+.data-text {
    top: 21px;
    width: 80px;
}

.unit-item .css-bar {
    margin-bottom: 0;
}

.unit-progress {
    width: 80px;
}

.unit-item-title h3 {
    line-height: 1;
    margin-top: 0;
}

.has-status .unit-item-title h3 {
    color: #fff;
    font-weight: normal;
}

.have-progress .unit-item-title {
    width: calc(100% - 80px);
}

.have-progress.unit-item {
    border: 1px #53e69d solid;
}

.have-progress.unit-item:before,
.have-progress.unit-item:after {
    background: #53e69d;
}

.course-titles {

}

.unit-task .panel-body {
    padding: 15px;
}

.unit-task .panel-group .panel-heading {
    padding: 15px 15px;
}

/* +++++++++++++ Units chunks +++++++++++++++ */
.test-with-inputs {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.test-with-inputs .test-item {
    margin-top: 15px;
    margin-bottom: 30px;
}

.test-item .sentence {
    /*font-size: 16px;*/
}

.test-item .sentence p+input.form-control-line {
    margin-bottom: 15px;
}

.test-item .sentence .word-placeholder {
    display: inline-block;
    border: 1px #519ae6 solid;
    border-radius: 3px;
    background: #f1f3ff;
    padding: 5px;
    min-width: 60px;
    min-height: 24px;
    margin-bottom: -5px;
    cursor: pointer;
}

.test-item .sentence .word-input {
    display: inline-block;
    border: 1px transparent solid;
    border-bottom: 1px #519ae6 solid;
    padding: 3px 5px;
    background: #f1f3ff;
    width: 110px;
    min-height: 18px;
    line-height: 1;
    font-weight: 500;
    text-align: center;
    -webkit-box-sizing: content-box;
    box-sizing: content-box;
    margin-bottom: 5px;
}

.test-item .sentence .word-input:active,
.test-item .sentence .word-input:focus {
    border-bottom: 2px #519ae6 solid;
}

.test-item .sentence .word-input.long {
    width: 180px;
    max-width: 100%;
}

.test-item-variants .variant-item {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: baseline;
    -ms-flex-align: baseline;
    align-items: baseline;
    position: relative;
    cursor: pointer;
    border: 1px #519ae6 solid;
    border-radius: 3px;
    background: #f1f3ff;
    padding: 0 10px;
    min-width: 60px;
    min-height: 24px;
    font-weight: bold;
    line-height: 2;
    margin-right: 5px;
    margin-bottom: 5px;
}

.test-item-variants {
    margin-top: 10px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.test-item-variants .variant-item:first-child {
    margin-left: 0;
}

.test-item-variants .variant-item-radio {
    height: 32px;
    padding: 0;
    cursor: pointer;
}

.test-item-variants .item-radio {
    height: 32px;
    cursor: pointer;
    padding: 8px 8px 8px 28px;
    border-radius: 4px;
}

.test-item-variants .variant-item-radio input[type=checkbox] {
    position: absolute;
    top: 4px;
    left: 10px;
}
.test-item-variants .variant-item-radio.right,
.test-item-variants .item-radio.right,
.test-item .sentence .word-input.right {
    background: #9cec98;
}

.test-item-variants .variant-item-radio.wrong,
.test-item-variants .item-radio.wrong,
.test-item .sentence .word-input.wrong {
    background: #ffaf99;
}

span.word-input {
    width: initial !important;
    display: inline !important;
}

.test-item-variants.vertical {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -ms-flex-line-pack: start;
    align-content: flex-start;
}

.test-item-variants .variant-item label {
    display: block;
    /*position: absolute;*/
    /*top: 0;*/
    /*left: 0;*/
    /*width: 100%;*/
    height: 100%;
    padding-left: 30px;
    padding-right: 5px;
    line-height: 32px;
    text-align: center;
    cursor: pointer;
}

.test-item-variants .variant-item input[type=radio] {
    display: block;
    position: absolute;
    top: 7px;
    left: 6px;
    width: 16px;
    height: 16px;
    margin: 0;
    cursor: pointer;
}

.test-item-variants.vertical .variant-item {
    margin-left: 0;
}

.listening-chunk {
    margin-bottom: 30px;
}

.task-translation__subtitle-item {
    display: none;
}

.task-translation__subtitle.has-translation .task-translation__subtitle-item {
    /*text-decoration-line: underline;*/
    /*text-decoration-style: dashed;*/
    /*cursor: pointer;*/
}

.task-translation__subtitle-icon {
    padding: 0 5px;
    /*text-decoration-line: underline;*/
    /*text-decoration-style: dashed;*/
    cursor: pointer;
}

.task-translation__subtitle-item.active {
    display: inline-block;
}

.task-translation__languages {
    display: inline-block;
    margin-left: 10px;
}

.task-translation__lang {
    display: inline-block;
}

.task-translation__lang.current {
    display: none;
}


/* +++++++++++++ Messenger page ++++++++++++++++ */
#messenger_ps {

}

#messenger_ps .panel-body {
    padding: 20px 10px 10px 10px;
}

#messenger_ps .panel-footer {
    padding: 10px 10px 5px 10px;
}

#messenger_ps .chat-list {
    padding: 0;
}


/* +++++++++++++ Achievements page ++++++++++++++++ */
.ps-custom.timeline .timeline-panel {
    padding: 15px;
}

.ps-custom.timeline > li > .timeline-badge {
    top: 8px;
}

.ps-custom.timeline .next-achievement .timeline-panel {
    opacity: 0.5;
    -webkit-transition: 0.2s;
    -o-transition: 0.2s;
    transition: 0.2s;
}

.ps-custom.timeline .next-achievement .timeline-panel:hover {
    opacity: 1;
    cursor: initial;
}

.achievement-calendar .week {
    margin-bottom: 5px;
}

.achievement-calendar .bg-default {
    background: #ccc;
}

.achievements-medals {
    margin-top: 30px;
}

.achievements-medals .medal {
    display: block;
    float: left;
    width: 50px;
    height: 50px;
    margin-right: 30px;
    background: #535353;
    color: #fff;
    text-align: center;
    line-height: 50px;
    font-weight: normal;
    font-size: 22px;
    border-radius: 50%;
    text-shadow: 1px 1px 2px #888484, 0 0 1em #9b9b9b;
    border: 1px solid #bdbdbd;
    opacity: .2;
    position: relative;
}
.achievements-medals .medal:after {
    content: "";
    position: absolute;
    top: 24px;
    right: -30px;
    width: 30px;
    height: 2px;
    background: #969696;
}

.achievements-medals .medal:last-child:after {
    display: none;
}

.achievements-medals .medal.active {
    opacity: 1;
}

.achievements-medals .medal:hover {
    opacity: 1;
    -webkit-transition: .2s;
    -o-transition: .2s;
    transition: .2s;
    cursor: pointer;
}

.medal.medal-gold {
    background: #eae815;
}

.medal.medal-silver {
    background: #dbdbdb;
}

.medal.medal-bronze {
    background: #d2a316;
}


/* Progress bars */
.ps-progress {
    width: 100%;
    position: relative;
}

.ps-progress-indicator {
    position: absolute;
    top: -20px;
    left: 0;
    display: block;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: #f63418;
    z-index: 99;
}
.ps-progress-indicator-arrow {
    position: relative;
    width: 100%;
}
.ps-progress-indicator-arrow:before {
    content: "";
    position: absolute;
    top: 0;
    left: 6px;
    display: block;
    width: 2px;
    height: 42px;
    background: #f63418;
}

.ps-progress-part {
    position: relative;
    display: inline-block;
    float: left;
    text-align: center;
}

.ps-progress-part.part50 {
    width: 50%;
}

.ps-progress-part.part33 {
    width: calc(100% / 3);
}

.ps-progress-part.part25 {
    width: 25%;
}

.ps-progress-part.part6 {
    width: calc(100% / 6);
}

.ps-progress-part:before, .ps-progress-part:after {
    content: "";
    position: absolute;
    width: 2px;
    height: 24px;
    top: -2px;
    left: -1px;
    background: #f63418;
}

.ps-progress-part:after {
    right: -1px;
    left: initial;
}

.course-info .panel {
    margin-bottom: 10px;
}

/* New courses list */
.courses-list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    /*justify-content: space-between;*/
}

.courses-list-item {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.widget-user-header {

}
.widget-user-header a {
    display: block;
}

.widget-user-image-wrapper {
    width: 100%;
    position: relative;
}

.widget-user-image {
    width: 100%;
    position: relative;
    padding-bottom: calc((100% / 5) * 4);
    overflow: hidden;
    background: #dcdcdc;
}

.widget-user-image img {
    display: block;
    width: 100%;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
}

.widget-user-content {
    padding: 5px 15px 15px 15px;
}

.courses-list-item .box-footer {
    padding: 0 15px 15px 15px;
}

.course-lessons-counter .number {
    font-size: 20px;
    line-height: 1.2;
    margin-bottom: 5px;
}

.course-lessons-counter .text {
    font-size: 15px;
    line-height: 1.2;
}

.course-item__modules {
    margin: 5px 0;
}

.course-item__modules-text {
    font-size: 1.4rem;
    line-height: 1.5;
    font-weight: 400;
}

.course-item__modules-count {
    font-size: 1.4rem;
    line-height: 1.5;
    font-weight: 400;
}

.course-item__modules-item {
    float: left;
    display: inline-block;
    height: 10px;
    background: #bebebe;
    margin-left: 2px;
}

.course-item__modules-item:first-child {
    margin-left: 0;
    border-radius: 4px 0 0 4px;
}
.course-item__modules-item:last-child {
    border-radius: 0 4px 4px 0;
}

.course-item__modules-item.done {
    background: #49d690;
}

.course-item__modules-item.current {
    background: #f9b34f;
}

.course-item__modules-item.failed {
    background: #F63418;
}

/*.courses-list-item {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    position: relative;
    width: calc((100% - 20px) / 2);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.16);
    transition: all .15ms;
    margin-bottom: 20px;
    cursor: pointer;
}

.courses-list-item a {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: initial;
}

.courses-list-item a:hover {
    text-decoration: none;
    color: initial;
}

.courses-list-item .white-box {
    margin-bottom: 0;
    height: 100%;
}

.courses-list-item:hover {
    text-decoration: none;
    color: initial;
    box-shadow: none;
}

.courses-list__item-content {

}

.courses-list-item_progress {
    position: absolute;
    right: 0;
    top: 0;
    padding: 3px 7px;
    background: #bebebe;
    color: #fff;
    border-radius: 0 0 0 6px;
    font-size: 12px;
    line-height: 1;
    font-weight: 400;
}

.courses-list-item_progress.not-finalized {
    background: #F63418;
}
.courses-list-item_progress.new-lesson {
    background: #f9b34f;
}


.courses-list-item .white-box {
    padding: 0;
}

.courses-list__item-image {
    padding-bottom: 100%;
    position: relative;
}

.courses-list__item-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

.courses-list__item-content {
    font-size: 16px;
}*/

.courses-list .white-box {
    padding: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    width: 100%;
}

.courses-list-item .price {
    font-size: 2.5rem;
    font-weight: bold;
}

.courses-list-item .price .old {
    font-size: 2rem;
    font-weight: normal;
    color: #aeaeae;
    text-decoration: line-through;
}


/* course-lessons */
.course-lessons {

}

.course-lessons-stat {
    margin-bottom: 35px;
}

.course-dashboard-box {
    padding: 10px;
}

.lessons-list {
    margin-bottom: 35px;
}

.lessons-list .lesson-item {
    padding: 10px;
    margin-bottom: 15px;
    -webkit-transition: .2s;
    -o-transition: .2s;
    transition: .2s;
}

.lessons-list .lesson-item.available:hover,
.lessons-list .lesson-item.available:active,
.lessons-list .lesson-item.available:focus {
    cursor: pointer;
    background: #d7d7d7;
}

.lessons-list .lesson-item.inactive {
    background: #d7d7d7;
}

.lesson-title {
    margin: 0 0 10px 0;
}

.lesson-chunks-info {
    margin-top: 10px;
    word-wrap: break-word   ;
}

.lesson-chunks-info .chunk-progress {
    margin-right: 10px;
}

.lessons-list__alert {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    -webkit-box-align: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

.lessons-list__alert-text {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    width: 100%;
}

.lessons-list__alert-button {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.course-user-list-item {
    margin-bottom: 15px;
}

.course-user-list-item:last-child {
    margin-bottom: 0;
}

.user-image {
    display: inline-block;
    text-align: center;
    width: 50px;
}

.user-image .user-image-content {
    position: relative;
    width: 100%;
    padding-bottom: 100%;
    overflow: hidden;
    border-radius: 50%;
    background: #ccc;
}

.user-image .user-image-content img {
    border-radius: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.user-list-item-content {
    width: calc(100% - 50px);
    padding-left: 15px;
}

.records-wall .user-list-item-content .progress {
    margin-bottom: 5px;
}


/* tasksAccordion */
#tasksAccordion .panel {
    margin-bottom: 10px;
}
@media (max-width: 480px) {
    #tasksAccordion.panel-group {
        margin-left: -15px;
        margin-right: -15px;
    }
    #tasksAccordion .panel .panel-body {
        padding: 15px 10px;
    }
}

/* Custom select */
.s-hidden {
    visibility:hidden;
    padding-right:10px;
}
.select-custom {
    cursor:pointer;
    display:inline-block;
    position:relative;
    color:black;
    border:1px solid #ccc;
    font:normal 12px/22px Arial, Sans-Serif;
    border-radius: 14px;
}
.styledSelect {
    position:absolute;
    top:0;
    right:0;
    bottom:0;
    left:0;
    background-color:white;
    padding:0 10px;
    font-weight:bold;
    border-radius: 14px;
}
.styledSelect:after {
    content:"";
    width:0;
    height:0;
    border:5px solid transparent;
    border-color:black transparent transparent transparent;
    position:absolute;
    top:9px;
    right:6px;
}
.styledSelect:active, .styledSelect.active {
    background-color:#eee;
}
.styledSelect.right {
    background: #9cec98;
}
.styledSelect.wrong {
    background: #ffaf99;
}
.options {
    display:none;
    position:absolute;
    top:100%;
    right:0;
    left:0;
    z-index:999;
    margin:0 0;
    padding:0 0;
    list-style:none;
    border:1px solid #ccc;
    background-color:white;
    -webkit-box-shadow:0 1px 2px rgba(0, 0, 0, 0.2);
    box-shadow:0 1px 2px rgba(0, 0, 0, 0.2);
}
.select-custom .options li {
    margin:0 0;
    padding:0 10px;
}
.select-custom .options li.selected {
    font-weight: bold;
}
.select-custom .options li:hover {
    background-color:#39f;
    color:white;
}
.select-custom .options li.disabled {
    color: #aaa;
}
.select-custom .options li.disabled:hover {
    background-color: #fff;
    color: #aaa;
}
.select-custom .options li.right,
.select-custom .options li.right:hover {
    background-color: #9cec98;
    color: #000;
}


.panel-body img {
    max-width: 100%;
}

/* panel image width fix */
@media (max-width: 480px) {
    .panel-body img {
        max-width: 100%;
        width: initial !important;
        height: auto !important;
    }
}

/* Embed video */
video {
    width: 100%    !important;
    height: auto   !important;
}

.embed-container {
    position: relative;
    /*padding-bottom: 56.25%; !* 16:9 *!
    padding-top: 25px;
    height: 0;*/
}
.embed-container iframe {
    /*position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;*/
}

/* Snow effects overlay */
canvas#snow_overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background: transparent;
}

/* iframe width fix */
@media (max-width: 480px) {
    iframe {
        max-width: 100%;
    }
    .embed-container iframe {
        max-width: 100%;
        height: initial;
    }
}

/* panel-dropdown */
.btn-open-group .fa {
    font-size: 23px;
}

.collapsed .btn-open-group .fa {
    -webkit-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    transform: rotate(180deg);
}

.panel-dropdown {
    padding: 10px!important;
}
.panel-dropdown-title {
    margin-bottom: 20px;
    -webkit-transition: all .5s;
    -o-transition: all .5s;
    transition: all .5s;
}
.panel-dropdown-content {
    height: auto;
    overflow: hidden;
    max-height: 900px;
    -webkit-transition: max-height .5s ease-in;
    -o-transition: max-height .5s ease-in;
    transition: max-height .5s ease-in;
}

@media (max-width: 992px) {

    .collapsed .panel-dropdown-title {
        margin-bottom: 0;
    }

    .collapsed .panel-dropdown-content {
        max-height: 0;
        -webkit-transition: max-height .5s ease-out;
        -o-transition: max-height .5s ease-out;
        transition: max-height .5s ease-out;
    }
}

/* white-box */
#tasksAccordion .panel .panel-body {
    padding: 15px;
}

.panel .panel-heading a i {
    font-size: 19px;
    margin-left: 0;
}

.task-icon {
    font-size: 19px;
    margin-left: 0;
}

.task-icon--done {
    color: #00a500;
}

.smartphoto {
    z-index: 9999!important;
}

.btn-with-image {
    padding-left: 38px;
    position: relative;
}

img.image-btn {
    position: absolute;
    top: 0;
    left: 0;
    width: 32px;
    height: 32px;
    border: 1px #2cabe3 solid;
}

/* fields errors */
.help-block-error {
    color: #F63418;
}

/* fix paddings */
.courses-list .empty {
    padding: 25px 15px;
}

.matching-task {
    font-size: 13px;
}

.matching-task__answers {
    margin-bottom: 25px;
}

.matching-task_pair-item {
    margin-bottom: 15px;
    cursor: pointer;
    border: 2px #c4ccff solid;
    border-radius: 5px;
}

.matching-task_pair-img {
    width: 100%;
    margin: 0 auto;
    padding-bottom: 100%;
    position: relative;
    background: transparent;
    border-radius: 4px;
}
.matching-task_pair-img img {
    position: absolute;
    display: inline-block;
    top: 0;
    left: 0;
    width: 100%!important;
    height: 100%!important;
    -o-object-fit: contain;
    object-fit: contain;
    -webkit-transition: .2s;
    -o-transition: .2s;
    transition: .2s;
}

@media (min-width: 600px) {
    .matching-task_pair-img {
        width: 50%;
        padding-bottom: 50%;
    }
}

@media (min-width: 992px) {
    .matching-task_pair-img {
        width: 50%;
        padding-bottom: 50%;
    }
}

@media (min-width: 1200px) {
    .matching-task_pair-img {
        width: 50%;
        padding-bottom: 50%;
    }
}

/*.matching-task_pair-img:hover {
    background: #ffee90;
}

.matching-task_pair-img:hover img {
    object-fit: contain;
}*/


.pair-item_content {
    padding: 5px 10px;
    /*background: #d9d9d9;*/
    border-radius: 4px;
    display: inline-block;
    font-size: 14px;
    font-weight: 400;
}

.matching-task_pair-item:hover /*.pair-item_content*/ {
    background: #ffee90;
}
.matching-task_pair-item.checked /*.pair-item_content*/ {
    background: #eac500;
}

.matching-task_pair .matching-task_pair-item {
    background: #f8a032;
}

.matching-task_pair-item:hover .matching-task_pair-img {
    background: #ffee90;
}
.matching-task_pair-item.checked .matching-task_pair-img {
    background: #eac500;
}
.matching-task_pair .matching-task_pair-item .matching-task_pair-img {
    background: #f8a032;
}

.matching-task_pair-item img {
    max-width: 100%;
}

.matching-task_pair {
    position: relative;
    margin-bottom: 15px;
    padding: 5px 0;
    border: 1px #ccc solid;
    border-radius: 4px;
}

.matching-task_pair .close-btn {
    position: absolute;
    left: 0;
    top: 0;
    font-size: 20px;
    width: 24px;
    height: 24px;
    line-height: 27px;
    text-align: center;
    cursor: pointer;
}

.matching-task_pair .matching-task_pair-item {
    margin-left: 25px;
    width: calc((100% - 50px) / 2);
    float: left;
    margin-bottom: 0;
    cursor: default;
}


.matching-task_pair .matching-task_pair-item:last-child {
    width: calc((100% - 60px) / 2);
}

.matching-task_pair:after {
    content: "";
    display: block;
    clear: both;
}

.matching-task_pair .pair-item_content {
    background: transparent;
}

.matching-task_pair .matching-task_pair-img {
    background: transparent;
}

.matching-task__data {

}

.matching-task__data-questions {

}

.matching-task__data-variants {

}

.matching-task__data-questions:after {

}

.matching-task__data:after {
    content: "";
    display: block;
    clear: both;
}

.matching-task__data-questions,
.matching-task__data-variants {
    margin-left: 25px;
    width: calc((100% - 25px) / 2);
    float: left;
    margin-bottom: 0;
    cursor: default;
}

.matching-task__data-questions {
    margin-left: 0;
}

.matching-task__data-questions .matching-task_pair-item:last-child,
.matching-task__data-variants .matching-task_pair-item:last-child {
    margin-bottom: 0;
}

/* .matching-task_pair  right */
.matching-task_pair.show-right .matching-task_pair-item {
    background-color: #9cec98;
    color: #000;
}

.matching-task_pair.show-wrong .matching-task_pair-item {
    background-color: #ffaf99;
    color: #000;
}

.matching-task_pair.show-right .matching-task_pair-item .matching-task_pair-img {
    background-color: #9cec98;
    color: #000;
}
.matching-task_pair.show-wrong .matching-task_pair-item .matching-task_pair-img {
    background-color: #ffaf99;
    color: #000;
}

#tasksAccordion .panel {
    overflow: initial;
}

#tasksAccordion .bootstrap-select:not([class*=col-]):not([class*=form-control]):not(.input-group-btn) {
    width: 110px;
}

.bootstrap-select button {
    border-radius: 18px;
    height: 32px;
}

.bootstrap-select .dropdown-menu > li > a {
    padding: 5px 7px;
}

/* Course modules */
.course-modules {
    margin: 0;
}

.course-modules__item {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    padding: 0;
    margin: 15px 0;
    text-decoration: none;
    color: initial;
    -webkit-box-shadow: 0 2px 6px rgba(0, 0, 0, 0.16);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.16);
    -webkit-transition: all .15ms;
    -o-transition: all .15ms;
    transition: all .15ms;
    cursor: pointer;
}

.course-modules__item:hover {
    text-decoration: none;
    color: initial;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.course-modules__item.available {

}

.course-modules__item-image {
    width: 20%;
    max-width: 150px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.course-modules__item-image img {
    width: 100%;
    height: auto;
}

.course-modules__content {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    padding: 15px;
    position: relative;
}

.course-modules__item-title {
    margin: 0;
}

.course-modules__item-description {
    margin: 0;

}

.course-modules__item-lesson-text {
    font-size: 1.4rem;
    line-height: 1.5;
    font-weight: 400;
}

.course-modules__item-lesson-count {
    font-size: 1.4rem;
    line-height: 1.5;
    font-weight: 400;
}

.course-modules__item-state {
    position: absolute;
    right: 0;
    top: 0;
    padding: 3px 7px;
    background: #bebebe;
    color: #fff;
    border-radius: 0 0 0 6px;
    font-size: 12px;
    line-height: 1.5;
    font-weight: 400;
}
.course-modules__item-state.current {
    background: #f9b34f;
}
.course-modules__item-state.done {
    background: #49d690;
}

/* Switch */
input.apple-switch {
    position: relative;
    -webkit-appearance: none;
    outline: none;
    width: 50px;
    height: 26px;
    background-color: #fff;
    border: 1px solid #D9DADC;
    border-radius: 50px;
    -webkit-box-shadow: inset -20px 0 0 0 #fff;
    box-shadow: inset -20px 0 0 0 #fff;
    -webkit-transition: .2s;
    -o-transition: .2s;
    transition: .2s;
    margin-top: 0;
    cursor: pointer;
}

input.apple-switch:after {
    content: "";
    position: absolute;
    top: 1px;
    left: 1px;
    background: transparent;
    width: 23px;
    height: 23px;
    border-radius: 50%;
    -webkit-box-shadow: 2px 4px 6px rgba(0,0,0,0.2);
    box-shadow: 2px 4px 6px rgba(0,0,0,0.2);
    -webkit-transition: .2s;
    -o-transition: .2s;
    transition: .2s;
}

input.apple-switch:checked {
    -webkit-box-shadow: inset 23px 0 0 0 #49d690;
    box-shadow: inset 23px 0 0 0 #49d690;
    border-color: #49d690;
    -webkit-transition: .2s;
    -o-transition: .2s;
    transition: .2s;
}

input.apple-switch:checked:after {
    left: 24px;
    -webkit-box-shadow: -2px 4px 3px rgba(0,0,0,0.05);
    box-shadow: -2px 4px 3px rgba(0,0,0,0.05);
    -webkit-transition: .2s;
    -o-transition: .2s;
    transition: .2s;
}

input.apple-switch:checked:disabled {
    -webkit-box-shadow: inset 23px 0 0 0 #a0debf;
    box-shadow: inset 23px 0 0 0 #a0debf;
    border-color: #a0debf;
}

/* Hero */
.hero-widget {
    width: 100%;
    position: relative;
    padding-bottom: 100%;
}
.hero-widget__canvas,
.hero-widget__layer {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}
.hero-widget__layer {
    background-repeat: no-repeat!important;
}