.invite-friend-wrap {
    position: relative;
}

.invite-friend-wrap::after {
    position: absolute;
    z-index: 1;
    width: 6px;
    height: 6px;
    background-color: #db0000;
    top: -2px;
    right: 5px;
    content: " ";
    border-radius: 3px;
}

.header-notifications {
    float: right;
    padding: 20px 10px 0 0;
}

.header-notifications__icon {
    opacity: .6;
    -webkit-transition: opacity 200ms linear;
    -moz-transition: opacity 200ms linear;
    -ms-transition: opacity 200ms linear;
    -o-transition: opacity 200ms linear;
    transition: opacity 200ms linear;
}

.header-notifications__link {
    position: relative;
    display: block;
}

.header-notifications__icon:hover,
.header-notifications__link_active .header-notifications__icon {
    opacity: 1;
}

.header-notifications__link_active .header-notifications__icon {
    -webkit-animation: ring 4s .7s ease-in-out infinite;
    -webkit-transform-origin: 50% 2px;
    -moz-animation: ring 4s .7s ease-in-out infinite;
    -moz-transform-origin: 50% 2px;
    animation: ring 4s .7s ease-in-out infinite;
    transform-origin: 50% 2px;
}

.header-notifications__link_active::after {
    position: absolute;
    z-index: 1;
    width: 7px;
    height: 7px;
    background-color: #2ed573;
    top: 2px;
    right: -1px;
    content: " ";
    border-radius: 3px;
    border: 1px solid #252838;
}

.notification-list-item {
    height: 210px;
    display: block;
    overflow: hidden;
    margin-bottom: 30px;
}

.notification-list-item__image {
    height: 210px;
    width: 269px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    float: left;
    background-color: #8f9db9;
}

.notification-list-item__body {
    margin-left: 269px;
    padding: 20px 20px 20px 30px;
    position: relative;
    height: 210px;
}

.notification-list-item__title {
    font-weight: bold;
    font-size: 21px;
    color: #252838;
    padding: 0;
    margin-bottom: 5px;
}

.notification-list-item__description {
    font-weight: 500;
    font-size: 15px;
    color: #252838;
    max-height: 70px;
    overflow: hidden;
}

.notification-list-item__bottom {
    position: absolute;
    bottom: 20px;
    width: 459px;
    padding: 0 !important;
}

.notification-list-item__date {
    color: #252838;
    padding-top: 10px;
    font-size: 13px;
    font-weight: bold;
}

.notification-list-item__action {
    float: right;
}

.notification-card {
    overflow: hidden;
}

.notification-card__header {
    overflow: hidden;
    min-height: 250px;
    max-height: 320px;
    width: 100%;
    position: relative;
}

.notification-card__header::after {
    position: absolute;
    background-color: #000;
    opacity: .5;
    top: 0;
    left: 0;
    content: ' ';
    height: 100%;
    width: 100%;
    z-index: 8;
}

.notification-card__image {
    object-fit: contain;
    width: 100%;
    object-position: center center;
}

.notification-card__body {
    padding: 30px 100px;
}

.notification-card__text {
    font-size: 16px;
    font-weight: normal;
    line-height: 1.44;
    color: #252838;
}

.notification-card__text li {
    margin-bottom: 5px;
}

.notification-card__date {
    margin-bottom: 20px;
}

.notification-card__title {
    position: absolute;
    bottom: 0;
    font-size: 28px;
    font-weight: bold;
    color: #ffffff;
    z-index: 9;
    padding: 50px 100px;
    width: 100%;
}

.notification-card__action {
    margin-top: 40px;
    text-align: center;
}

/* Ringing bell animation */
@-webkit-keyframes ring {
    0% {
        -webkit-transform: rotate(0)
    }
    1% {
        -webkit-transform: rotate(20deg)
    }
    3% {
        -webkit-transform: rotate(-18deg)
    }
    5% {
        -webkit-transform: rotate(24deg)
    }
    7% {
        -webkit-transform: rotate(-22deg)
    }
    9% {
        -webkit-transform: rotate(20deg)
    }
    11% {
        -webkit-transform: rotate(-18deg)
    }
    13% {
        -webkit-transform: rotate(16deg)
    }
    15% {
        -webkit-transform: rotate(-14deg)
    }
    17% {
        -webkit-transform: rotate(12deg)
    }
    19% {
        -webkit-transform: rotate(-10deg)
    }
    21% {
        -webkit-transform: rotate(8deg)
    }
    23% {
        -webkit-transform: rotate(-6deg)
    }
    25% {
        -webkit-transform: rotate(4deg)
    }
    27% {
        -webkit-transform: rotate(-2deg)
    }
    29% {
        -webkit-transform: rotate(1deg)
    }
    31% {
        -webkit-transform: rotate(-1deg)
    }
    33% {
        -webkit-transform: rotate(0)
    }
    43% {
        -webkit-transform: rotate(0)
    }
    100% {
        -webkit-transform: rotate(0)
    }
}

@-moz-keyframes ring {
    0% {
        -moz-transform: rotate(0)
    }
    1% {
        -moz-transform: rotate(20deg)
    }
    3% {
        -moz-transform: rotate(-18deg)
    }
    5% {
        -moz-transform: rotate(24deg)
    }
    7% {
        -moz-transform: rotate(-22deg)
    }
    9% {
        -moz-transform: rotate(20deg)
    }
    11% {
        -moz-transform: rotate(-18deg)
    }
    13% {
        -moz-transform: rotate(16deg)
    }
    15% {
        -moz-transform: rotate(-14deg)
    }
    17% {
        -moz-transform: rotate(12deg)
    }
    19% {
        -moz-transform: rotate(-10deg)
    }
    21% {
        -moz-transform: rotate(8deg)
    }
    23% {
        -moz-transform: rotate(-6deg)
    }
    25% {
        -moz-transform: rotate(4deg)
    }
    27% {
        -moz-transform: rotate(-2deg)
    }
    29% {
        -moz-transform: rotate(1deg)
    }
    31% {
        -moz-transform: rotate(-1deg)
    }
    33% {
        -moz-transform: rotate(0)
    }
    43% {
        -moz-transform: rotate(0)
    }
    100% {
        -moz-transform: rotate(0)
    }
}

@keyframes ring {
    0% {
        transform: rotate(0)
    }
    1% {
        transform: rotate(20deg)
    }
    3% {
        transform: rotate(-18deg)
    }
    5% {
        transform: rotate(24deg)
    }
    7% {
        transform: rotate(-22deg)
    }
    9% {
        transform: rotate(20deg)
    }
    11% {
        transform: rotate(-18deg)
    }
    13% {
        transform: rotate(16deg)
    }
    15% {
        transform: rotate(-14deg)
    }
    17% {
        transform: rotate(12deg)
    }
    19% {
        transform: rotate(-10deg)
    }
    21% {
        transform: rotate(8deg)
    }
    23% {
        transform: rotate(-6deg)
    }
    25% {
        transform: rotate(4deg)
    }
    27% {
        transform: rotate(-2deg)
    }
    29% {
        transform: rotate(1deg)
    }
    31% {
        transform: rotate(-1deg)
    }
    33% {
        transform: rotate(0)
    }
    43% {
        transform: rotate(0)
    }
    100% {
        transform: rotate(0)
    }
}

/* Training styles */
.training-items__item_blocked {
    opacity: .5;
}

.access-forbidden-block {
    padding: 100px 60px;
}

.access-forbidden-block__image {
    text-align: center;
    margin-bottom: 40px;
}

.access-forbidden-block__image img {
    width: 100px;
}

.access-forbidden-block__title {
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    color: #252838;
    margin-bottom: 10px;
}

.access-forbidden-block__description {
    font-size: 16px;
    line-height: 1.47;
    text-align: center;
    color: #8f9db9;
}

.access-forbidden-block__action {
    margin-top: 30px;
    text-align: center;
}

.training-items .gratitude i {
    background-image: url(../img/gratitude.svg);
    background-position: center center;
    background-size: 50%;
}

.training-items .emotional_pain i {
    background-image: url(../img/emotional_pain.svg);
    background-position: center center;
    background-size: 50%;
}

.web .chat-button {
    position: fixed;
    left: 30px;
    bottom: 0;
    background-image: linear-gradient(95deg, rgb(224, 224, 224) 20%, rgb(224, 224, 224) 80%);
    background-position: initial initial;
    background-repeat: initial initial;
    height: 40px;
    width: 300px;
    box-shadow: 0 12px 14px 8px rgba(0,0,0,.17);
    border-top-left-radius: 8px!important;
    border-top-right-radius: 34px!important;
    cursor: pointer;
    display: none;
    z-index: 999;
}

.ios .chat-button {
    position: fixed;
    width: 65px;
    height: 65px;
    display: none;
    border-radius: 65px!important;
    right: 20px;
    bottom: 20px;
    text-align: center;
    box-shadow: 0 19px 38px 0 rgba(34,36,43,.3);
    transform: scale(1);
    background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2230%22%20height%3D%2231%22%20viewBox%3D%220%200%2030%2031%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill%3D%22%23fff%22%20d%3D%22M2.967%2022.226l-.025.008s7.698%2013.9%2026.975%205.546c0%200-1.495-1.752-4.384-3.52a14.067%2014.067%200%200%200%202.588-14.047c-2.655-7.297-10.7-11.07-17.964-8.425C2.89%204.433-.847%2012.492%201.81%2019.79c.313.863.703%201.677%201.157%202.436z%22%20fill-rule%3D%22evenodd%22%2F%3E%3C%2Fsvg%3E%0A");
    background-color: rgb(68, 187, 110);
    background-position: center;
    background-repeat: no-repeat;
    z-index: 999;
}

.chat-button__label {
    font-size: 14px;
    font-family: Arial;
    font-style: normal;
    color: rgb(34, 34, 34);
    margin: 10px 33px 0 16px;
}

.ios .chat-button__label,
.ios .chat-button__leaf,
.ios .chat-button__leaf-image {
    display: none;
}

.chat-button__leaf {
    right: 0;
    top: 0;
    width: 33px;
    border-radius: 0 24px 0 0!important;
    position: absolute;
    height: 33px;
    z-index: 1;
    overflow: hidden;
}

.chat-button__leaf-image {
    background-image: url('data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2232%22%20height%3D%2240%22%20viewBox%3D%220%200%2032%2040%22%3E%0A%20%20%20%20%3Cg%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%0A%20%20%20%20%20%20%20%20%3Cpath%20fill%3D%22%23E0E0E0%22%20d%3D%22M0%200h9.02L32%2033.196V40H0z%22%2F%3E%0A%20%20%20%20%20%20%20%20%3Cpath%20fill%3D%22%2318C139%22%20d%3D%22M9%200c3.581.05%2023%205.426%2023%2033.08v.03C18.922%2030.751%209%2019.311%209%205.554V0z%22%2F%3E%0A%20%20%20%20%3C%2Fg%3E%0A%3C%2Fsvg%3E%0A');
    width: 32px!important;
    height: 34px!important;
    position: absolute;
    overflow: visible;
    right: 0;
    top: 0;
}

.level-video-description-text_hidden {
    height: 55px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.level-video-description-show-all {
    display: inline-block;
    border-bottom: dashed 1px;
    font-weight: bold;
    font-size: 15px;
    margin-top: 10px;
}

#business-day-2020-link {
    white-space: nowrap;
}

#business-day-2020-link.online {
    color: #2f379e;
}

#business-day-2020-link.online::after {
    position: absolute;
    z-index: 1;
    width: 8px;
    height: 8px;
    background-color: #db0000;
    top: 25px;
    right: 11px;
    content: " ";
    border-radius: 4px;
    animation: blinker 1.5s cubic-bezier(.5, 0, 1, 1) infinite alternate;
}

@keyframes blinker {
    from { opacity: 1; }
    to { opacity: 0; }
}

.bd2020-video-placeholder {
    background-color: #000;
    text-align: center;
    color: #fff;
    padding-top: 130px;
    padding-left: 50px;
    padding-right: 50px;
    font-size: 18px;
}

.help-block-error {
    color: #E53B35 !important;
}

footer {
    background-color: #252838 !important;
}