.redesign-header__user {
    position: relative;
    width: 30px;
    height: 30px;
}

.puzzle_va_middle {
    display: inline-block;
    vertical-align: middle;
}

.redesign-header__user-menu-top-pic {
    width: 58px;
    height: 58px;
    overflow: hidden;
    border-radius: 50%;
}

.redesign-header__user-menu-top-pic img {
    width: 100%;
    height: 100%;
}

.puzzle-icon img {
    width: 100%;
    height: 100%;
    display: inline-block;
    vertical-align: top;
}

.preload-ico svg {
    opacity: 0;
    height: 0;
    width: 0;
}

.puzzle-header__popup {
    border-radius: 10px;
    position: absolute;
    z-index: 100;
    color: #333;
    right: 0;
    top: 110%;
    width: 430px;
    text-align: left;
    box-shadow: 0 7px 20px 0 rgba(0, 0, 0, 0.15);
}

.puzzle-header__popup_rtl {
    border-radius: 10px;
    position: absolute;
    z-index: 100;
    color: #333;
    left: 0;
    right: auto;
    top: 110%;
    width: 430px;
    text-align: right;
    box-shadow: 0 7px 20px 0 rgba(0, 0, 0, 0.15);
}

.puzzle-header__popup::after {
    content: '';;
    position: absolute;
    right: 0;
    top: -33px;
    height: 33px;
    width: 70px;
    display: none;
}

.puzzle-header__popup {
    display: none !important;
}

.puzzle-header__popup.is-hover {
    display: block !important;
}

.puzzle-header__popup.is-hover::after {
    display: block;
}

.puzzle-footer__bottom .puzzle-header__popup {
    top: 0;
    -webkit-transform: translate(0, -100%);
    -ms-transform: translate(0, -100%);
    -o-transform: translate(0, -100%);
    transform: translate(0, -100%);
}

.puzzle-footer__welcome-text {
    color: #2f4051;
    padding: 46px 0 50px;
    background-color: #ffffff;
}

.puzzle-footer__welcome-text-title {
    text-align: center;
    font-size: 32px;
    font-weight: 500;
    margin-bottom: 5px;
    color: #2f4051;
}

.puzzle-footer__welcome-text-subtitle {
    text-align: center;
    font-size: 24px;
    margin-bottom: 30px;
}

.puzzle-footer__welcome-text-blocks {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    -webkit-flex-flow: row wrap;
    -moz-flex-flow: row wrap;
    -ms-flex-flow: row wrap;
    -o-flex-flow: row wrap;
    flex-flow: row wrap;
    justify-content: space-between;
}

.puzzle-footer__welcome-text-blocks-item {
    width: 30%;
}

.puzzle-footer__welcome-text-blocks-item-title {
    font-size: 16px;
    font-weight: bold;
    line-height: 1.64;
    margin-bottom: 8px;
}

.puzzle-footer__welcome-text-blocks-item-content {
    margin-bottom: 25px;
    font-size: 12px;
    line-height: 1.75;
}

.puzzle-header__popup-content {
    background-color: #f7f7f7;
    padding: 13px 20px;
    border-radius: 10px 10px 0 0;
}

.puzzle-header__popup-username {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 10px;
}

.puzzle-header__popup-userpic img {
    width: 100%;
    height: 100%;
}

.puzzle-header__popup-username-text {
    vertical-align: middle;
}

.puzzle-header__popup-plan {
    color: #333;
    text-decoration: none;
}

.puzzle-header__popup-plan-num {
    font-size: 16px;
    color: #333;
    font-weight: bold;
}

.puzzle-header__popup-username .logOut {
    vertical-align: middle;
}

.puzzle-header__popup-username .logOut:not(:hover) svg path {
    fill: #b6b6b6;
}

.puzzle-header__popup-userinfo {
    width: 260px;
}

.puzzle-header__popup-product-icon {
    width: 22px;
    text-align: center;
    margin-right: 5px;
}

.puzzle-header__popup-product-icon_rtl {
    margin-right: 0px;
    margin-left: 5px;
}

.puzzle-header__popup-product-name {
    margin-top: 2px;
    margin-right: 2px;
}

.puzzle-header__popup-product-sale {
    line-height: 1.2;
    max-width:  calc(100% - 35px);
}

.puzzle-header__popup-product-name,
.puzzle-header__popup-product-sale {
    font-size: 12px;
}

.puzzle-header__popup-product-days {
    font-size: 11px;
    color: #afafaf;
    margin-top: 3px;
}

.puzzle-header__popup-product-step.square-num {
    border-color: #cdcdcd;
    color: #cdcdcd;
    margin-right: 0;
}

.puzzle-header__popup-product-step.square-num_active {
    border-color: #1da5de;
    color: #1da5de;
    text-decoration: none;
    text-align: center;
}

.puzzle-header__popup-product-step.square-num_size_xs {
    font-size: 10px;
}


.puzzle-header__popup-footer {
    border-top: 2px solid #eaeaea;
    padding: 20px 23px;
    border-radius: 0 0 10px 10px;
    background-color: #fff;
}

.puzzle-header__popup-menu-item {
    display: inline-block;
    width: 49%;
    margin-bottom: 20px;
    text-decoration: none;
}

.puzzle-header__popup-menu svg path {
    fill: #555;
}

.puzzle-header__popup-menu-item:last-child {
    margin-bottom: 0;
}

.puzzle-header__popup-menu-item:hover {
    cursor: pointer;
}

.puzzle-header__popup-menu-title {
    font-size: 16px;
    color: #555;
}

.puzzle-header__popup-menu-item:hover .puzzle-header__popup-menu-title {
    color: #0a96d1;
}

.puzzle-header__popup-menu-icon {
    width: 22px;
    text-align: center;
    display: inline-block;
    vertical-align: middle;
    margin-right: 5px;
}

.puzzle-header__popup-menu-icon_rtl {
    margin-right: 0px;
    margin-left: 5px;
}

.puzzle-header__popup-userpic {
    position: relative;
    width: 64px !important;
    height: 64px !important;
}

.puzzle-header__popup-userpic:hover .puzzle-header__popup-userpic-change {
    opacity: 1;
}

.puzzle-header__popup-userpic-change {
    opacity: 0;
    cursor: pointer;
    background-color: rgba(0, 0, 0, .5);
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    -webkit-transition: all .2s;
    -o-transition: all .2s;
    transition: all .2s;
    text-decoration: none;
}

.puzzle-header__popup-userpic-change span {
    position: absolute;
    font-size: 10px;
    line-height: 1;
    color: rgba(255, 255, 255, 0.8) !important;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.puzzle-header__popup-menu {
    background-color: #fff;
    padding: 20px 20px 0;
}

.puzzle-header__popup-product {
    display: inline-block;
    vertical-align: middle;
    width: 49%;
}

.puzzle-header__popup-product_premium {
    width: 100%;
}

.puzzle-header__popup-footer-subtitle {
    font-size: 14px;
    padding-bottom: 15px;
}

.puzzle-link, .puzzle-link:link, .puzzle-link_bb, .puzzle-link_style_none, .puzzle-link_style_td_none, .puzzle-link_type_border {
    cursor: pointer;
    text-decoration: none!important;
    color: #0a7bd1!important;
}

.puzzle-text_fz_14 {
    font-size: 14px!important;
}

@media only screen and (max-width : 375px) {
    .puzzle-header__popup-product-name, .puzzle-header__popup-product-sale {
        font-size: 14px;
    }

    .puzzle-header__popup-menu-title {
        font-size: 12px;
    }

    .puzzle-header__popup-footer {
        padding: 15px;
    }

    .puzzle-header__popup-userrole {
        text-align: left;
    }

    .puzzle-header__menu {
        margin-right: 0;
    }
}

@media only screen and (max-width : 767px) {
    .puzzle-header__popup {
        width: 320px;
    }

    .puzzle-header__popup-product-days {
        margin-top: 2px;
    }

    .puzzle-header__popup-content {
        text-align: center;
    }
}

@media only screen and (max-width: 320px) {
    .puzzle-header__popup {
        width: 300px;
    }
}

@media only screen and (min-width: 768px) and (max-width: 992px) {

    .puzzle-header__popup-product-days {
        margin-top: 2px;
    }

    .puzzle-header__popup {
        z-index: 2;
    }
}
