.page-likes {
    position : fixed;
    width    : 100%;
    left     : 0;
    bottom   : 0;
    z-index  : 999;
}

body.is-touch-device .page-likes {
    display : none;
}

.pl-wrapper {
    margin   : 0 auto;
    width    : 1240px;
    position : relative;
}

.pl-block {
    background         : rgba(0, 0, 0, 0.85);
    position           : fixed;
    bottom             : 0;
    left               : 0;
    width              : 100%;
    height             : 94px;
    color              : #ffffff;
    opacity            : 0;
    visibility         : hidden;
    -webkit-transform  : translateY(94px);
    -moz-transform     : translateY(94px);
    -ms-transform      : translateY(94px);
    transform          : translateY(94px);
    -webkit-transition : visibility 0.3s, border-radius 0.3s, -webkit-transform 0.2s, opacity 0.3s;
    -moz-transition    : visibility 0.3s, border-radius 0.3s, -moz-transform 0.2s, opacity 0.3s;
    transition         : visibility 0.3s, border-radius 0.3s, transform 0.2s, opacity 0.3s;
}

.page-likes._active .pl-block {
    opacity           : 1;
    visibility        : visible;
    -webkit-transform : translateY(0);
    -moz-transform    : translateY(0);
    -ms-transform     : translateY(0);
    transform         : translateY(0);
}

.pl-block .pl-wr {
    margin   : 0 auto;
    width    : 1240px;
    padding  : 21px 250px;
    position : relative;
    z-index  : 20;
}
.pl-block .pl-wr > DIV {
    display        : inline-block;
    vertical-align : middle;
    margin-right   : 20px;
}
.pl-block .pl-wr > DIV:last-child {
    margin-right : 0;
}

.pl-block .pl-text {
    font-size   : 16px;
    font-family : 'Myriad Pro Regular', Arial;
}

.pl-block .pl-text SPAN {
    position     : relative;
    padding-left : 30px;
}
.pl-block .pl-text SPAN:before {
    content    : '';
    position   : absolute;
    background : url('/file/staff/likes_script/heart.svg');
    display    : inline-block;
    width      : 18px;
    height     : 18px;
    left       : 0;
    top        : -2px;
}

.pl-block .pl-soc > DIV {
    display        : inline-block;
    vertical-align : middle;
    margin-right   : 20px;
}

.pl-block .pl-soc > DIV:last-child {
    margin-right : 0;
}

.pl-links {
    display     : block !important;
    width       : 583px;
    padding-top : 5px;
    margin-top  : 3px;
    /*text-align  : right;*/
}

.pl-links a {
    color           : #fbfbfb;
    /*font-weight     : bold;
    border          : 1px solid #eaeaea;
    padding         : 2px 5px;
    border-radius   : 3px;*/
    font-size       : 14px;
    /*text-decoration : none;*/
}

.pl-links a:hover {
    color: #e21e26;
}

.pl-links a.advert{
    color: #e21e26;
    font-weight: bold;
}
.pl-links a.advert:hover{
    color: #ffffff;
}

.pl-links a + a {
    margin-left: 15px;
}

.pl-btn-close {
    background         : #ea1d2a;
    z-index            : 30;
    width              : 60px;
    height             : 60px;
    position           : absolute;
    bottom             : 15px;
    right              : 237px;
    cursor             : pointer;
    text-align         : center;
    line-height        : 60px;
    opacity            : 0;
    visibility         : hidden;
    -webkit-transition : visibility 0.3s, border-radius 0.3s, -webkit-transform 0.2s, opacity 0.3s;
    -moz-transition    : visibility 0.3s, border-radius 0.3s, -moz-transform 0.2s, opacity 0.3s;
    transition         : visibility 0.3s, border-radius 0.3s, transform 0.2s, opacity 0.3s;
}

.page-likes._active .pl-btn-close {
    opacity    : 1;
    visibility : visible;
}

.pl-btn-close SPAN {
    position : relative;
    display  : block;
    width    : 16px;
    height   : 16px;
}

.pl-btn-close SPAN:before,
.pl-btn-close SPAN:after {
    content            : '';
    position           : absolute;
    width              : 100%;
    height             : 100%;
    left               : 21px;
    top                : 22px;
    -webkit-transition : opacity 0.3s;
    -moz-transition    : opacity 0.3s;
    transition         : opacity 0.3s;
}

.pl-btn-close SPAN:before {
    background : url('/file/staff/likes_script/close.svg');
    opacity    : 1;
}


.pl-btn-open {
    background         : #ea1d2a;
    z-index            : 30;
    width              : 60px;
    height             : 60px;
    border-radius      : 100%;
    box-shadow         : 2px 2px 3px 0px rgba(0, 0, 0, 0.65);
    position           : absolute;
    bottom             : 15px;
    right              : 237px;
    cursor             : pointer;
    text-align         : center;
    line-height        : 60px;
    opacity            : 1;
    visibility         : visible;
    -webkit-transition : visibility 0.3s, border-radius 0.3s, -webkit-transform 0.2s, opacity 0.3s;
    -moz-transition    : visibility 0.3s, border-radius 0.3s, -moz-transform 0.2s, opacity 0.3s;
    transition         : visibility 0.3s, border-radius 0.3s, transform 0.2s, opacity 0.3s;
}

.page-likes._active .pl-btn-open {
    opacity    : 0;
    visibility : hidden;
}


.pl-btn-open:after {
    content            : '';
    position           : absolute;
    pointer-events     : none;
    width              : 100%;
    height             : 100%;
    border-radius      : 50%;
    top                : -2px;
    left               : -2px;
    padding            : 2px;
    z-index            : -1;
    background         : #ffffff;
    background         : #ea1d2a;
    -webkit-box-sizing : content-box;
    -moz-box-sizing    : content-box;
    box-sizing         : content-box;
    -webkit-transform  : scale(1);
    -moz-transform     : scale(1);
    -ms-transform      : scale(1);
    transform          : scale(1);
    opacity            : 1;
    -webkit-transition : -webkit-transform 0.2s linear, opacity 0.3s ease;
    -moz-transition    : -moz-transform 0.2s linear, opacity 0.3s ease;
    transition         : transform 0.2s linear, opacity 0.3s ease;
}

.pl-btn-open SPAN {
    position : relative;
    display  : block;
    width    : 35px;
    height   : 41px;
}

.pl-btn-open SPAN:before,
.pl-btn-open SPAN:after {
    content            : '';
    position           : absolute;
    width              : 100%;
    height             : 100%;
    left               : 12px;
    top                : 8px;
    -webkit-transition : opacity 0.3s;
    -moz-transition    : opacity 0.3s;
    transition         : opacity 0.3s;
}

.pl-btn-open SPAN:before {
    background : url('/file/staff/likes_script/hand.svg');
    opacity    : 1;
}

.pl-btn-open:hover:after {
    -webkit-transform : scale(1.3);
    -moz-transform    : scale(1.3);
    -ms-transform     : scale(1.3);
    transform         : scale(1.3);
    opacity           : 0;
}


@media all and (max-width: 1024px) {
    .pl-wrapper {
        width : 100%;
    }

    .pl-block .pl-wr {
        padding : 39px 30px;
    }

    .pl-btn-close,
    .pl-btn-open {
        bottom : 15px;
        right  : 20px;
    }
}

@media all and (max-width: 769px) {
    HTML.touch .page-likes {
        display : none;
    }

    .pl-wrapper {
        margin : 0;
        width  : 100%;
    }

    .pl-block {
        bottom                  : inherit;
        top                     : 0;
        left                    : 0;
        width                   : 100%;
        height                  : 100%;
        display                 : -webkit-box;
        display                 : -webkit-flex;
        display                 : -ms-flexbox;
        display                 : flex;
        -webkit-box-pack        : center;
        -webkit-justify-content : center;
        -ms-flex-pack           : center;
        justify-content         : center;
        -webkit-box-align       : center;
        -webkit-align-items     : center;
        -ms-flex-align          : center;
        align-items             : center;
        text-align              : center;
        -webkit-transform       : translateY(0);
        -moz-transform          : translateY(0);
        -ms-transform           : translateY(0);
        transform               : translateY(0);
    }

    .pl-block .pl-wr {
        margin  : 0 auto;
        width   : 65%;
        padding : 100px 0;
    }

    .pl-block .pl-wr > DIV {
        display : block;
        margin  : 0 0 20px 0;
    }
    .pl-block .pl-wr > DIV:last-child {
        margin  : 0;
        padding : 0 0 0 30px;
    }

    .pl-block .pl-text {
        font-size   : 16px;
        font-family : 'Myriad Pro Regular', Arial;
    }

    .pl-block .pl-text SPAN {
        position     : relative;
        padding-left : 30px;
    }
    .pl-block .pl-text SPAN:before {
        content    : '';
        position   : absolute;
        background : url('/file/staff/likes_script/heart.svg');
        display    : inline-block;
        width      : 18px;
        height     : 18px;
        left       : 0;
        top        : -2px;
    }

    .pl-block .pl-soc > DIV {
        display : block;
        margin  : 0 0 20px 0;
    }

    .pl-block .pl-soc > DIV:last-child {
        margin : 0;
    }

    .pl-btn-close {
        bottom : 15px;
        right  : inherit;
        left   : 50%;
        margin : 0 0 0 -30px;
    }

    .pl-btn-open {
        bottom : 15px;
        right  : 20px;
    }
}