hr {
    position: absolute;
    left: 0;
    border: 0;
    border-top: 1px solid #c9c9c9;
    width: 100%;
    margin: 0;
}

.button {
    padding: 17px 36px;
    font-size: 14px;
    font-weight: 900;
    border: 0;
    text-transform: uppercase;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    position: relative;
    @include border-radius(5px);
    @include link(#fff);
    @include box-sizing(border-box);

    &.white {
        border: 1px solid #fff;
    }

    &.blue {
        @include link(#00b9b9);
        border: 1px solid #00b9b9;

        .arrow-left {
            background-image: url("asset/img/button-blue-arrow-left.png");
            height: 10px;
            width: 7px;
            position: absolute;
            left: 22px;
            margin: auto;
            top: 0;
            bottom: 0;
        }
    }

    &.pink {
        background-color: #fe7c7c;
        border-bottom: 2px solid #f15656;

        .arrow-right {
            background-image: url("asset/img/button-arrow-right.png");
            height: 10px;
            width: 6px;
            position: absolute;
            right: 22px;
            margin: auto;
            top: 0;
            bottom: 0;
        }
    }

    @include keyframes(spin) {
        0% {
            @include transform(rotate(0deg));
        }
        100% {
            @include transform(rotate(360deg));
        }
    }
}

#hint-popup {
    display: none;

    .inner {
        position: absolute;
        background-color: #fff;
        max-width: 340px;
        border: 1px solid #eee;
        line-height: 26px;
        font-size: 12px;
        z-index: 2001;
        @include box-shadow(0 0 4px rgba(0, 0, 0, 0.1));

        @include breakpoint($mobile) {
            max-width: 340px;
        }

        .text {
            padding: 25px;

            strong,
            b {
                text-transform: uppercase;
                font-weight: 700;
            }
        }

        .arrow {
            background-image: url("asset/img/hint-popup-arrow-left.png");
            width: 14px;
            height: 26px;
            position: absolute;
            left: -14px;
            top: 0;
            bottom: 0;
            margin: auto;

            @include breakpoint($mobile) {
                background-image: url("asset/img/hint-popup-arrow-down.png");
                width: 26px;
                height: 14px;
                left: 0;
                right: 0;
                top: auto;
                bottom: -14px;
            }
        }

        @include breakpoint($mobile) {
            .close {
                height: 18px;
                width: 18px;
                background-image: url("asset/img/hint-close.png");
                position: absolute;
                top: 6px;
                right: 6px;
                opacity: .4;
            }
        }
    }
}

#message-popup {
    display: none;

    .inner {
        position: fixed;
        margin: 0 auto;
        top: 50%;
        left: 0;
        right: 0;
        background-color: #fff;
        max-width: 340px;
        border: 1px solid #eee;
        line-height: 26px;
        font-size: 12px;
        z-index: 2011;

        @include breakpoint($mobile) {
            max-width: 280px;
        }

        .text {
            padding: 25px;

            strong,
            b {
                text-transform: uppercase;
                font-weight: 700;
            }
        }
    }

    .overlay {
        cursor: pointer;
        position: fixed;
        top: 0;
        left: 0;
        height: 100%;
        width: 100%;
        background-color: rgba(0, 0, 0, .85);
        z-index: 2010;
    }
}

.subpage {
    > .subpage-top {
        $top-height: 370px;
        $mobile-top-height: 270px;

        height: $top-height;

        @include breakpoint($mobile) {
            height: $mobile-top-height;
        }

        > .inner {
            display: none;
            position: absolute;
            left: 0;

            .bg {
                position: absolute;
                left: 0;
                background: url("asset/img/subpage-top-bg.jpg") no-repeat center center;
                height: $top-height;
                width: 100%;
                @include background-size(cover);

                @include breakpoint($mobile) {
                    height: $mobile-top-height;
                }
            }

            .top-slider {
                width: 100%;
                position: relative;

                .arrows {
                    width: 1140px;
                    margin: 0 auto;
                    position: relative;

                    @include breakpoint($tablet) {
                        width: 100%;
                    }

                    .prev-arrow,
                    .next-arrow {
                        position: absolute;
                        width: 32px;
                        height: 70px;
                        display: inline-block;
                        cursor: pointer;
                        z-index: 1;
                        top: ($top-height - 70px) / 2;

                        @include breakpoint($tablet) {
                            top: ($mobile-top-height - 70px) / 2;
                        }

                        @include breakpoint($phone) {
                            display: none !important;
                        }
                    }

                    .prev-arrow {
                        left: 15px;
                        background-image: url("asset/img/home-slider-arrow-left.png");
                    }

                    .next-arrow {
                        right: 15px;
                        background-image: url("asset/img/home-slider-arrow-right.png");
                    }
                }

                ul {
                    width: 1140px - 70px - 70px;
                    margin: 0 auto;

                    @include breakpoint($tablet) {
                        width: 100%;
                        padding: 0 70px;
                    }

                    @include breakpoint($phone) {
                        width: 100%;
                    }

                    li {
                        display: table;
                        height: $top-height;
                        color: #fff;
                        position: relative;
                        @include background-size(cover);

                        @include breakpoint($mobile) {
                            height: $mobile-top-height;
                        }

                        img {
                            position: absolute;
                            right: 0;
                            float: right;
                            z-index: -1;
                        }

                        .inner {
                            display: table-cell;
                            vertical-align: middle;
                            width: 1140px;
                            margin: 0 auto;

                            @include breakpoint($mobile) {
                                width: 100%;
                            }
                        }

                        .text {
                            @include breakpoint($phone) {
                                margin-left: 20px;
                                margin-right: 20px;
                            }

                            h3 {
                                margin: 0;
                                font-size: 18px;
                                font-weight: 900;
                                line-height: 25px;
                                text-transform: uppercase;

                                @include breakpoint($phone) {
                                    font-size: 16px;
                                }
                            }

                            .inner-text {
                                margin: 5px 0 0;
                                line-height: 23px;
                                font-size: 14px;

                                @include breakpoint($phone) {
                                    width: 100%;
                                }
                            }

                            .button {
                                margin-top: 15px;
                                display: inline-block;
                            }
                        }
                    }
                }
            }
        }
    }

    #subpage-calculator {
        .inner {
            padding: 38px 0;
            text-transform: uppercase;
            position: relative;

            @include breakpoint($phone) {
                display: none;
            }

            @include breakpoint($tablet) {
                width: 768px - 36px;
                margin: 0 auto;
            }

            h3 {
                font-size: 16px;
                margin: 0 0 25px;
            }

            .form-group {
                float: left;
                margin-left: 20px;
                font-size: 12px;

                &:first-child {
                    margin: 0;
                }

                &.loading,
                &.unloading {
                    width: 253px;

                    @include breakpoint($tablet) {
                        width: 208px;
                    }
                }

                label {
                    font-weight: 500;

                    a {
                        color: inherit;
                        text-decoration: none;

                        &[data-hint] {
                            padding: 5px;
                        }
                    }
                }

                select {
                    display: none;
                }

                .chosen-container {
                    margin-top: 10px;
                }

                .chosen-single, input {
                    @include background(#fff);
                    border: 1px solid #44cccc;
                    font-size: 12px;
                    @include box-sizing(border-box);
                    @include border-radius(5px);
                    @include box-shadow(none);
                    color: #7f8384;
                    font-weight: 500;
                }

                &.error {
                    .chosen-single, input, .chosen-drop {
                        border-color: #f15656;
                    }

                    &.weight {
                        .select {
                            .chosen-results {
                                li {
                                    &:last-child {
                                        border-color: #f15656;
                                    }
                                }
                            }
                        }
                    }
                }

                .chosen-single {
                    padding: 25px 25px;
                    position: relative;
                    height: 52px;

                    span {
                        margin-top: -12px;
                    }

                    div {
                        top: 23px;
                        right: 29px;

                        &, b {
                            width: 11px;
                            height: 6px;
                        }

                        b {
                            background: url("asset/img/select-arrow-down.png") !important;
                        }

                        @include breakpoint($mobile) {
                            &:after {
                                content: ' ';
                                display: block;
                                height: 30px;
                                width: 36px;
                                position: relative;
                                top: -18px;
                                right: 13px;
                                z-index: 1015;
                            }
                        }
                    }
                }

                .chosen-with-drop {
                    .chosen-single {
                        div {
                            z-index: 1011;

                            b {
                                background: url("asset/img/select-arrow-up.png") !important;
                            }
                        }
                    }
                }

                .chosen-drop {
                    top: 0;
                    margin-top: 0;
                    font-size: 12px;
                    border: 1px solid #44cccc;
                    @include border-radius(5px);
                    @include box-shadow(none);
                    background-clip: border-box;
                    font-weight: 500;

                    .chosen-results {
                        padding: 0;
                        margin: 0;
                        max-height: 250px;

                        li {
                            display: block;
                            padding: 0 0 10px 26px;
                            color: #9f9f9f;
                            margin-bottom: 7px;
                            width: 100%;

                            &.highlighted {
                                @include background(none);
                            }
                        }

                        .group-result {
                            padding: 18px 0 18px 26px;
                            color: #00b9b9;
                            border-top: 1px solid #e8e8e8;
                            margin-bottom: 0;

                            &:first-child {
                                border-top: 0;
                            }

                            .export {
                                float: right;
                                margin-right: 69px;
                                color: #fe7c7c;
                            }
                        }

                        // scroller style
                        .mCSB_inside > .mCSB_container {
                            margin-right: 0;
                        }

                        .mCSB_scrollTools {
                            width: 8px;

                            .mCSB_dragger_bar {
                                background-color: #44cccc;
                                width: 8px;
                                @include border-radius(5px);
                            }

                            .mCSB_draggerRail {
                                background-color: #fff;
                                width: 8px;
                                @include border-radius(5px);
                                border: 1px solid #44cccc;
                                border-right: 0;
                            }
                        }
                    }
                }

                input, select {
                    margin-top: 10px;
                    display: block;
                    width: 100%;
                    padding: 18px 26px;
                    line-height: 14px;
                    height: 52px;

                    @include placeholder {
                        opacity: 1;
                        color: #7f8384;
                    }

                    &:focus {
                        @include placeholder {
                            color: transparent;
                        }
                    }
                }

                span.small {
                    font-size: 11px;
                    text-transform: none;
                }

                &.volume {
                    width: 118px;
                    position: relative;

                    .cubic {
                        display: inline-block;
                        float: right;
                    }

                    .small-popup {
                        display: none;
                        position: absolute;
                        background-color: #fff;
                        border: 1px solid #44cccc;
                        margin-top: -220px;
                        width: 219px;
                        padding: 5px 9px 15px;
                        @include border-radius(5px);

                        .arrow-down {
                            background-image: url("asset/img/small-popup-arrow-down.png");
                            height: 12px;
                            width: 27px;
                            position: absolute;
                            bottom: -12px;
                            left: 85px;
                        }

                        .form-group {
                            margin-left: 0;
                            margin-top: 10px;
                            float: left;
                            display: inline-block;
                            width: 105px;

                            &.ml {
                                margin-left: 9px;
                            }

                            input {
                                padding: 13px 26px;
                                text-align: center;
                                border-color: #44cccc;
                            }

                            &.submit {
                                margin-top: 33px;

                                button {
                                    padding: 12px 0 11px;
                                    width: 100%;
                                }
                            }
                        }
                    }

                    > input {
                        padding-right: 40px;
                    }

                    .unit {
                        position: absolute;
                        top: 43px;
                        right: 16px;
                        color: #00b9b9;
                        font-weight: 500;
                    }
                }

                &.weight {
                    width: 138px;

                    input {
                        float: left;
                        width: 70px;
                        border-right: 0;
                        padding-right: 0;
                        @include border-radius(5px 0 0 5px);
                    }

                    .select {
                        float: left;
                        width: 68px;

                        .chosen-single {
                            border-left: 0;
                            @include border-radius(0 5px 5px 0);
                            padding: 25px 10px 25px 9px;
                            color: #00b9b9;

                            div {
                                right: 16px;
                            }
                        }

                        .chosen-drop {
                            border-left: 0;
                            @include border-radius(0 5px 5px 5px);
                        }

                        .chosen-results {
                            li {
                                padding: 18px 0 17px 9px;
                                margin-bottom: 0;
                                color: #00b9b9;

                                &:last-child {
                                    border-left: 1px solid;
                                    @include border-radius(0 0 0 5px);
                                }
                            }
                        }
                    }
                }

                &.sum {
                    margin-top: 35px;
                    margin-left: 40px;
                    font-weight: 500;

                    strong {
                        font-weight: 900;
                        font-size: 14px;
                        display: block;
                    }

                    @include breakpoint($tablet) {
                        position: absolute;
                        right: 158px;
                    }
                }

                &.buttons {
                    float: right;

                    .button {
                        margin-top: 24px;
                        width: 100%;
                        padding: 17px 41px 17px 31px;

                        > .move {
                            display: block;
                            line-height: 16px;
                        }

                        > .kontenery {
                            display: none;
                        }
                    }
                }

                &.info {
                    display: none;
                }
            }

            .sending .buttons .button {
                opacity: .7;
                cursor: default;
                padding-top: 13px !important;
                padding-bottom: 10px !important;
                min-width: 118px;

                .move {
                    display: none;
                }

                &:after {
                    content: ' ';
                    display: inline-block;
                    border: 2px solid #fff;
                    border-right-color: transparent;
                    height: 20px;
                    width: 20px;
                    @include border-radius(50%);
                    @include animation(spin .6s linear infinite);
                }
            }

            @include breakpoint($tablet) {
                .clear-or-not-to-clear {
                    clear: both;
                }
            }
        }

        &.subpage .info-kontenery {
            visibility: hidden;
            opacity: 0;
            display: inline-block;
            position: absolute;
            bottom: 11px;
            left: 0;
            right: 0;
            margin: 0 auto;
            font-size: 12px;
            color: #ff8901;
            text-align: center;
            font-weight: 500;
            text-transform: none;
            @include transition(opacity .4s);

            a {
                color: #B05F00;
            }

            @include breakpoint($tablet) {
                bottom: 59px;
                right: auto;
            }
        }

        &.subpage.kontenery {
            .info-kontenery {
                visibility: visible;
                opacity: 1;
            }
        }

        /*
        &.kontenery {
            .inner .form-group {
                &.sum {
                    margin-left: 30px;

                    @include breakpoint($tablet) {
                        right: 258px;
                    }
                }

                &.loading,
                &.unloading {
                    width: 223px;

                    @include breakpoint($tablet) {
                        width: 208px;
                    }
                }

                &.buttons .button {
                    padding-right: 31px;
                    padding-left: 15px !important;
                    text-align: left;
                    background-color: #ff8900;
                    border-bottom-color: #b05f00;
                    padding-top: 8px !important;
                    padding-bottom: 8px !important;

                    .move {
                        display: none;
                    }

                    > .kontenery {
                        display: block;
                        font-size: 11px;
                        text-transform: none;
                        font-weight: 400;
                        width: 185px;
                        line-height: 17px;

                        @include breakpoint($phone) {
                            width: 120px;
                        }
                    }
                }
            }
        }
        */

        .goto {
            display: none;
            line-height: 90px;
            font-size: 16px;
            font-weight: 900;
            text-transform: uppercase;
            text-align: center;

            @include breakpoint($phone) {
                display: block;
            }

            a {
                @include link(#263437);
                text-decoration: none;
                line-height: 16px;
            }
        }
    }

    > .content {
        padding: 0 125px;

        @include breakpoint($tablet) {
            padding: 0 25px;
        }

        @include breakpoint($phone) {
            padding: 0 15px;
        }
    }
}

#cookies {
    display: none;
    background-color: #032b4e;
    height: 71px;
    color: #fff;
    width: 100%;
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 1000;

    .inner {
        width: 1140px;
        padding: 0 10px;
        margin: 0 auto;
        @include box-sizing(border-box);

        @include breakpoint($tablet) {
            width: 100%;
            margin: 0;
        }

        @include breakpoint($phone) {
            width: 100%;
        }

        .text {
            width: 885px;
            line-height: 19px;
            padding: 7px 0;
            float: left;
            font-size: 12px;

            @include breakpoint($tablet) {
                width: 650px;
                line-height: 17px;
                padding: 2px 0;
                font-size: 11px;
            }

            @include breakpoint($phone) {
                width: 230px;
                font-size: 11px;
            }

            a {
                color: inherit;
            }

            .more-phone {
                display: none;
            }

            @include breakpoint($phone) {
                .more {
                    display: none;
                }

                .more-phone {
                    display: inline;
                }
            }
        }

        .close {
            float: right;
            font-weight: 500;
            margin-top: 10px;

            text-decoration: none;
            @include link(#fff);
            
            @include breakpoint($phone) {
                margin-top: 30px;
            }
        }

        &:after {
            display: block;
            clear: both;
            content: ' ';
        }
    }
}