/*   countbox   */

.countbox:before {
    content: 'До конца акции осталось:';
    display: block;
    text-align: center;
    font-size: 14px;
    color: #fff;
    font-weight: 400;
    margin-bottom: 4px;
    text-transform: uppercase;
}

.countbox {
    width: 235px;
    margin: -55px auto 20px;
    padding-left: 0;
}

.countbox > div:last-child {
    margin: 0;
}

.countbox > div:first-child {
    margin-left: 0;
}

.countbox .countbox-num {
    position: relative;
    float: left;
    width: 63px;
    height: 63px;
    background: url("../img/timer-bg.png") 0 0 no-repeat;
    margin-right: 23px;
    border-radius: 10px;
}

.countbox .countbox-num:before {
    display: block;
    width: 23px;
    content: ':';
    font-size: 24px;
    font-weight: 400;
    line-height: 63px;
    color: #fff;
    position: absolute;
    top: 0;
    right: -23px;
    text-align: center;
}

.countbox .countbox-num:last-child:before {
    display: none;
}

.countbox-hours,
.countbox-mins,
.countbox-secs {
    color: #2894d7;
    font-size: 24px;
    text-align: center;
    font-weight: 700;
    line-height: 24px;
    margin-bottom: 0;
    padding-top: 15px;
}

.countbox-hours-text,
.countbox-mins-text,
.countbox-secs-text {
    font-size: 12px;
    line-height: 12px;
    color: #333;
    font-weight: 400;
    text-align: center;
    text-transform: uppercase;
}

/*   offer   */

.offer {
    background: url("../img/offer.jpg") 50% 0 no-repeat #1a3545;
    height: 626px;
    padding: 0;
}

.offer h1 {
    display: block;
    background: rgba(46, 54, 62, 0.8);
    color: #fff;
    font-size: 52px;
    line-height: normal;
    letter-spacing: 1.3px;
    text-align: center;
    text-transform: uppercase;
    padding: 8px 0;
    -webkit-border-radius: 0 0 6px 6px;
    -moz-border-radius: 0 0 6px 6px;
    border-radius: 0 0 6px 6px;
}

.offer h1 span {
    color: #ffc617;
}

.offer .sub_title {
    color: #fff;
    font-size: 39px;
    line-height: 39px;
    text-align: center;
    padding: 20px 0 0;
}

.offer .sale {
    position: absolute;
    top: 290px;
    left: 435px;
    display: inline-block;
    font-size: 20px;
    color: #fff;
    line-height: 27px;
    text-transform: uppercase;
    -moz-transform: rotate(-14deg);
    -o-transform: rotate(-14deg);
    -webkit-transform: rotate(-14deg);
    transform: rotate(-14deg);
}

.offer .sale b {
    display: block;
    font-size: 36px;
}

.offer .plus {
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.offer .plus li {
    position: absolute;
    width: 275px;
    height: 56px;
    background: rgba(51, 51, 51, 0.6);
    color: #fff;
    font-size: 18px;
    padding: 4px 0 0 66px;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
}

.offer .plus li b {
    display: block;
}

.offer .plus li:nth-child(1) {
    left: 30px;
    top: 165px;
}

.offer .plus li:nth-child(2) {
    left: 340px;
    top: 165px;
}

.offer .plus li:nth-child(3) {
    left: 30px;
    top: 530px;
}

.offer .plus li:before {
    position: absolute;
    left: 0;
    top: 0;
    display: block;
    width: 56px;
    height: 56px;
    content: '';
}

.offer .plus li:nth-child(1):before {
    background: url("../img/icon-1.png") 0 0 no-repeat;
}

.offer .plus li:nth-child(2):before {
    background: url("../img/icon-2.png") 0 0 no-repeat;
}

.offer .plus li:nth-child(3):before {
    background: url("../img/icon-3.png") 0 0 no-repeat;
}

.offer .order_form {
    position: absolute;
    bottom: 0;
    right: 10px;
    width: 320px;
    padding: 0 10px 25px 10px;
    background: rgba(46, 54, 62, 0.8);
    -webkit-border-radius: 8px 8px 0 0;
    -moz-border-radius: 8px 8px 0 0;
    border-radius: 8px 8px 0 0;
}

.offer .price {
    width: 300px;
    height: 64px;
    background: url("../img/price-bg.png") 0 0 no-repeat;
    margin: 0 auto 10px;
}

.offer .price .old_cost,
.offer .price .new_cost {
    float: left;
    width: 50%;
    height: 64px;
    text-align: center;
    line-height: 20px;
    padding-top: 11px;
}

.offer .price .old_cost > div,
.offer .price .new_cost > div {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.offer .price .new_cost {
    color: #fff;
}

.offer .price i {
    font-style: normal;
    font-size: 26px;
}

.offer .price span {
    font-size: 20px;
    text-transform: uppercase;
}

.offer .price .old_cost i {
    text-decoration: line-through;
}

.offer .price .new_cost i,
.offer .price .new_cost span {
    font-weight: 700;
}

.offer .stock {
    color: #fff;
    font-size: 14px;
    text-align: center;
    padding-top: 25px;
}

.offer .stock:before {
    position: relative;
    top: -1px;
    display: inline-block;
    width: 23px;
    height: 21px;
    background: url("../img/attention-icon.png") 0 0 no-repeat;
    content: '';
    vertical-align: middle;
    margin-right: 10px;
}

.offer .stock b {
    color: #2894d7;
}

.before_after {
    font-size: 0;
    text-align: center;
}

.before_after li {
    display: inline-block;
    vertical-align: top;
    width: 50%;
    margin-bottom: 20px;
}

.before_after img {
    display: block;
}

/*   description   */

.description {
    background: url("../img/bg-1.jpg") 50% 0 no-repeat #2b2930;
    height: 499px;
}

.description .text {
    max-width: 520px;
    min-height: 300px;
    color: #fff;
    font-size: 18px;
}

.description .text p {
    padding-bottom: 25px;
}

.description img {
    position: absolute;
    right: 0;
    top: 0;
}

/*   benefits   */

.benefits {
    padding: 70px 0 30px;
}

.benefits .box {
    padding-bottom: 20px;
}

.benefits .gif {
    float: left;
    width: 460px;
}

.benefits .gif img {
    display: block;
    width: 100%;
    border: 4px solid #dedede;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
}

.benefits .list_col {
    float: right;
    width: 445px;
    padding-top: 13px;
}

/*   steps   */

.steps {
    background: url("../img/bg-2.jpg") 50% 0 no-repeat #17161d;
    height: 636px;
    padding-bottom: 0;
}

.steps .top_text {
    color: #fff;
    font-size: 18px;
    text-align: center;
    padding: 20px 55px;
    margin-bottom: 20px;
    border: 2px dashed rgba(255, 255, 255, 0.2);
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
}

.steps_list {
    font-size: 0;
}

.steps_list .item {
    display: inline-block;
    vertical-align: top;
    width: 50%;
    padding: 20px 30px;
}

.steps_list .item .vertical {
    position: relative;
    display: table;
    width: 100%;
    min-height: 142px;
}

.steps_list .item img {
    height: 142px;
    position: absolute;
    left: 0;
    top: 50%;
    margin-top: -71px;
}

.steps_list .item .text {
    display: table-cell;
    vertical-align: middle;
    padding-left: 165px;
}

.steps_list .item h4 {
    color: #ffc617;
    font-size: 24px;
    font-weight: 700;
    padding-bottom: 5px;
}

.steps_list .item p {
    font-size: 16px;
    color: #fff;
    max-width: 235px;
}

/*   reviews   */

.reviews .item {
    padding: 0 60px;
}

.reviews .item img.ava {
    position: absolute;
    right: 0;
    top: 0;
    display: block;
    width: 220px;
    height: 220px;
    border: 6px solid #e2e2e5;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
}

.reviews .item .text {
    position: relative;
    padding-right: 265px;
    min-height: 220px;
}

.reviews .item p {
    font-size: 18px;
    line-height: 30px;
}

.reviews .author {
    font-size: 30px;
}

.reviews .author:after {
    display: block;
    width: 24px;
    height: 2px;
    background: #cbcbc5;
    margin: 17px 0 10px;
    content: '';
}

/*   order steps   */

.order_steps {
    background: #f0f0f0;
    background: -moz-linear-gradient(top, #f0f0f0 0%, #fff 23%, #f0f0f0 100%);
    background: -webkit-linear-gradient(top, #f0f0f0 0%, #fff 23%, #f0f0f0 100%);
    background: linear-gradient(to bottom, #f0f0f0 0%, #fff 23%, #f0f0f0 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f0f0f0', endColorstr='#f0f0f0', GradientType=0);
}

.order_steps .item {
    float: left;
    padding: 0 40px;
    width: 33.33%;
    text-align: center;
    position: relative;
}

.order_steps .item:nth-child(3) {
    padding: 0 30px;
}

.order_steps .item:after {
    position: absolute;
    top: 37px;
    right: -13px;
    display: block;
    width: 26px;
    height: 98px;
    background: url("../img/arrow-right2.png") 0 0 no-repeat;
    content: '';
}

.order_steps .item:nth-child(3):after {
    display: none;
}

.order_steps .item .pic {
    position: relative;
    margin: 0 auto 15px;
    width: 186px;
}

.order_steps .item img {
    display: block;
    border: 9px solid #e6e6e6;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
}

.order_steps .item .num {
    position: absolute;
    top: 0;
    right: 0;
    width: 50px;
    height: 50px;
    background: #ea0d0d;
    font-weight: 700;
    font-size: 36px;
    line-height: 50px;
    color: #fff;
    text-align: center;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
}

.order_steps .item p {
    font-size: 16px;
    line-height: 21px;
    padding: 0 20px;
}

/*   footer   */

.footer {
    text-align: center;
    padding: 40px 0 30px;
}

.footer a {
    font-size: 14px;
    color: #333;
}

@media screen and (max-width: 959px) {

    .offer {
        background: url("../img/offer-960.jpg") 50% 0 no-repeat #6a777c;
        height: 626px;
        overflow: hidden;
    }

    .offer h1 {
        position: relative;
        display: block;
        font-size: 34px;
        -webkit-border-radius: 0;
        -moz-border-radius: 0;
        border-radius: 0;
    }

    .offer h1:before,
    .offer h1:after {
        display: block;
        position: absolute;
        top: 0;
        width: 170px;
        height: 100%;
        background: rgba(46, 54, 62, 0.8);
        content: '';
    }

    .offer h1:before {
        left: -170px;
    }

    .offer h1:after {
        right: -170px;
    }

    .offer .sub_title {
        font-size: 26px;
        line-height: 26px;
        padding-top: 30px;
    }

    .offer .plus li:nth-child(1),
    .offer .plus li:nth-child(3) {
        display: none;
    }

    .offer .plus li:nth-child(2) {
        left: 10px;
        top: 547px;
    }

    .offer .sale {
        top: 406px;
        left: 182px;
    }

    section {
        padding: 35px 0;
    }

    h2.title {
        margin-bottom: 30px;
    }

    h2.title,
    h2.title span {
        font-size: 32px;
        line-height: 38px;
    }

    h2.title span {
        display: inline;
    }

    h2.title.border {
        line-height: 38px;
        border-left: 0;
        text-align: center;
    }

    h2.title.border span {
        display: block;
        font-size: 32px;
    }

    h2.title.yellow {
        font-size: 32px;
        margin-bottom: 25px;
    }

    h2.title.big {
        font-size: 32px;
    }

    .list_v1 {
        margin: -20px 0;
    }

    .list_v1 .item {
        width: 50%;
        padding: 20px 15px;
    }

    .list_v1 .item p {
        padding: 0;
    }

    .description {
        height: auto;
        -o-background-size: cover;
        -webkit-background-size: cover;
        -khtml-background-size: cover;
        -moz-background-size: cover;
        background-size: cover;
    }

    .description img {
        position: static;
        display: block;
        width: 200px;
        margin: 0 auto 15px;
    }

    .description .text p {
        text-align: center;
    }

    .description .text {
        max-width: 800px;
        min-height: 100px;
        padding-bottom: 10px;
    }

    .benefits {
        padding: 35px 0;
    }

    .benefits .gif {
        float: none;
        margin: 0 auto 25px;
    }

    .benefits .list_col {
        float: none;
        width: 460px;
        margin: 0 auto 10px;
        padding-top: 0;
    }

    .steps {
        padding-bottom: 15px;
        height: auto;
        -o-background-size: cover;
        -webkit-background-size: cover;
        -khtml-background-size: cover;
        -moz-background-size: cover;
        background-size: cover;
    }

    .steps .top_text {
        padding: 15px 10px;
    }

    .steps_list .item {
        text-align: center;
    }

    .steps_list .item .vertical {
        display: block;
    }

    .steps_list .item img {
        display: block;
        position: static;
        margin: 0 auto 20px;
    }

    .steps_list .item .text {
        display: block;
        padding-left: 0;
    }

    .steps_list .item p {
        max-width: 500px;
    }

    .reviews .item img.ava {
        position: static;
        margin: 0 auto 20px;
    }

    .reviews .item .text {
        padding-right: 0;
    }

    .reviews .author {
        font-size: 22px;
        text-align: center;
    }

    .reviews .item p {
        text-align: center;
    }

    .reviews .author:after {
        margin: 17px auto 10px;
    }

    .slider .slick-prev {
        left: 65px;
    }

    .slider .slick-next {
        right: 65px;
    }

    .reviews .item p {
        line-height: 28px;
    }

    .order_steps .item,
    .order_steps .item:nth-child(3) {
        padding: 0;
    }

    .order_steps .item:after {
        display: none;
    }

    .order_steps .item .pic {
        width: 170px;
    }

}

@media screen and (max-width: 639px) {

    .offer {
        background: url("../img/offer-640.jpg") 50% 0 no-repeat #2e363e;
        height: auto;
    }

    .offer h1 {
        font-size: 30px;
        line-height: 30px;
        padding: 12px 0;
    }

    .offer .sub_title,
    .offer .plus {
        display: none;
    }

    .offer .order_form {
        position: relative;
        bottom: auto;
        right: auto;
        width: 100%;
        padding: 0 0 25px 0;
        background: none;
        margin-top: 435px;
        -webkit-border-radius: 0;
        -moz-border-radius: 0;
        border-radius: 0;
    }

    .offer .sale {
        top: 375px;
        left: 192px;
    }

    .countbox {
        margin-top: 0;
    }

    h2.title,
    h2.title span,
    h2.title.yellow,
    h2.title.big {
        font-size: 26px;
        line-height: 30px;
    }

    h2.title.border {
        line-height: 30px;
    }

    h2.title.border span {
        display: inline;
        font-size: 26px;
    }

    .list_v1 .item {
        width: 100%;
        padding: 15px;
    }

    section {
        padding: 30px 0;
    }

    .description {
        padding-bottom: 35px;
    }

    .description img {
        width: 170px;
    }

    .description .text {
        padding-bottom: 5px;
    }

    .description .text p {
        font-size: 16px;
        line-height: 24px;
        padding-bottom: 20px;
    }

    .benefits {
        padding: 30px 0 20px;
    }

    .benefits h2.title {
        margin-bottom: 25px;
    }

    .benefits .gif,
    .benefits .list_col {
        width: 100%;
    }

    .list_v2 li {
        padding-left: 95px;
    }

    .steps {
        background: #161a23;
        background: -moz-linear-gradient(top, #161a23 0%, #3e223b 100%);
        background: -webkit-linear-gradient(top, #161a23 0%, #3e223b 100%);
        background: linear-gradient(to bottom, #161a23 0%, #3e223b 100%);
        filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#161a23', endColorstr='#3e223b', GradientType=0);
    }

    .steps .top_text {
        padding: 10px 15px;
        font-size: 16px;
    }

    .steps_list .item {
        width: 100%;
        padding: 15px;
    }
    .before_after li {
        width: 100%;
        margin-bottom: 20px;
    }
    .reviews .item {
        padding: 0;
    }

    .slider .slick-prev,
    .slider .slick-next {
        top: 36px;
    }

    .slider .slick-prev {
        left: 0;
    }

    .slider .slick-next {
        right: 0;
    }

    .reviews .item img.ava {
        width: 170px;
        height: 170px;
    }

    .reviews .author {
        font-size: 18px;
    }

    .reviews .item p {
        font-size: 16px;
        line-height: 24px;
        text-align: justify;
        -moz-text-align-last: center;
        text-align-last: center;
    }

    .order_steps .item {
        float: none;
        width: 100%;
        padding-bottom: 30px;
    }

    .order_steps .item .pic {
        width: 190px;
    }

    .order_steps .item p {
        padding: 0 40px;
    }

    .order_steps .item .num {
        font-size: 28px;
    }

    .footer img {
        display: block;
        margin: 0 auto 15px;
    }

}