/*basket.css by tangll 2016-9-28*/
.basket-flow .message__text a{
    text-decoration: underline;
}
.table--basket{

    .block__header-rider{
        position: relative;
        top: 5px;
    }
}
.table-basket{
    $root: &;

    border: solid $color-silver-grey;
    border-width: 1px 1px 0;

    &__headers{
        font-weight: 700;

        @include until($bp-medium) {
            display:none;
        }
    }

    &__row{
        width: 100%;
        display: table;
        table-layout: fixed;
        position: relative;
        border-bottom: $border;
        padding: $base-spacing-unit 0;

        &--content{
            display: table;
            width: 100%;
            table-layout: fixed;
        }

        @include until($bp-medium) {
            display:block;
            padding:$large-spacing-unit $med-spacing-unit $base-spacing-unit;

            &.total-row{
                padding:$med-spacing-unit;
            }
        }
    }

    &__headers &__row{
        padding: 6px 0;
    }

    &__cell{
        display: table-cell;
        padding: 0 $med-spacing-unit;
        vertical-align: top;

        .product-discount{
            position: absolute;
            top: 0;
            right: 0;

        }

        .tooltip__trigger.icon-questionmark:before {
            margin-top: 5px;
        }

        img{
            display: block;
            margin: 0 auto;
            max-width: 80px;
            height: auto;
        }

        @include until($bp-medium) {
            float:left;
        }

        &.item{
            width: 14%;
            position: relative;

            @include until($bp-medium) {
                max-width: 120px;
                width: auto;
            }

            span{
                left: 0px;
                top: -8px;
                position: absolute;
                transform: scale(0.5,0.5);
                color: $color-white;
            }
        }

        &.total{
            width: 64%;
            line-height: 25px;

            .icon-questionmark{
                float: right;
            }

            .result-row &{
                line-height: 28px;
            }

            .subtotal-table &{
                line-height: 18px!important;
            }

            .price-disccont &{
                line-height: 32px!important;
            }

            @include until($bp-medium) {
                padding-left: 0;
            }
        }

        &.details{
            width: 35%;

            .product{
                @include text-sizes(13);
            }

            .product-link{
                text-decoration: none;
                color: $color-telenor-blue;
                cursor: pointer;

                &:hover{
                    text-decoration: underline;
                }
            }

            @include until($bp-medium){
                width: auto;
                float: none;
                display: block;
                overflow: hidden;
            }
        }

        &.qty{
            width:15%;

            .icon-remove{
                @include until($bp-medium){
                    position: absolute;
                    right: 10px;
                    top: 6px;
                    font-size: 20px;
                }


                &:before{
                    color:$color-silver-grey;
                    vertical-align: top;
                }

                span{
                    margin-left: 8px;
                    color: $color-stone-grey;

                    @include until($bp-medium){
                        display: none;
                    }
                }
            }
        }

        &.due,&.period{
            width: 18%;
            vertical-align: bottom;
            text-align: right;
            border: $border;
            border-width: 0 0 0 1px;

            @include until($bp-medium){
                width: 100%;
                margin: $base-spacing-unit 0 0;
                border-width: 1px 0 0;
                padding: $base-spacing-unit 0 0;
            }
        }

        .total-row &.due,.total-row &.period{
            width: 18%;
            margin: 0;
            padding: 0 $med-spacing-unit;

        }

        @include until($bp-medium){
            .total-row &.due{
                padding-right: 0;
                border: 0;
                width: 36%;
            }
        }
    }

    &__headers &__cell{
        padding: 0;
        text-align: left;

        &.due,&.period{
            border-left:none;
        }
    }

    &__price{
        display: block;

        @include until($bp-medium){
            float:right;
        }
    }

    &__description,&__saving{
        float: left;
        margin: 7px 0 0;
        display: none;

        @include until($bp-medium){
            display: block;
        }
    }
}


.flex{
    $root: &;

    &--subscription-container {
        list-style: none;
        width: 100%;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        overflow: auto;


        .flex-item{
            text-align: center;
            min-width: 204px;

            @include until($bp-medium){
                -webkit-flex: inherit;
                -ms-flex: inherit;
                flex: inherit;
                border-top: $border;

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

        @include until($bp-medium){
            display: block;
        }
    }
}

.infografic{
    $root: &;

    &-wrapper{

        .header{
            cursor: pointer;

            .icon{
                line-height: 1;
                margin-right: $small-spacing-unit;
                cursor: pointer;
            }
        }

        .icon-list-expand:before{
            font-weight:700;
            top: 2px;
            position: relative;
        }
    }

    .text-price{
        @include text-sizes(54);
        font-weight: 700;

        @include until($bp-medium){
            @include text-sizes(30);
        }
    }

    &__list{

        @include until($bp-medium){
            padding-bottom: $small-spacing-unit;
        }

        .flex--subscription-container{
            margin-top: 155px;
            overflow: visible;

            @include until($bp-medium){
                margin-top:20px;

                .empty-item{
                    .row {
                        .blue-price{
                            width: auto;

                            li{
                                margin: 0;
                                padding: 0;
                                width: 2px;
                                height: 30px;
                                background: $color-silver-grey;
                            }
                        }
                    }
                }
            }

            .flex-item{
                margin-right: 8px;
                position: relative;
                border-top: none;
                min-width: 0;

                @include until($bp-medium){
                    margin-right: 0;
                    margin-bottom: $small-spacing-unit;

                    .row{
                        overflow: hidden;

                        .text-item{
                            float: left;
                            width: 30%;
                            padding-top: $small-spacing-unit;
                            text-align: right;
                        }

                        .blue-price{
                            float: left;
                            width: 70%;
                            background: 0 0;
                            padding-right: 0;

                            li{
                                float: left;
                                width: 49%;
                                border: none;
                                padding: 7px 0;
                                background: $gradient-blueblue-promo;

                                &:first-child{
                                    margin-right: 2px;
                                }

                                &:last-child{
                                    border-radius: 0 2px 2px 0;
                                }
                            }
                        }
                    }
                }
            }
        }

        ul{
            list-style: none;
            background: $gradient-blueblue-promo;
            position: absolute;
            bottom: 30px;
            width: 100%;
            border-radius: 3px 3px 0 0;
            padding: 0 $small-spacing-unit;

            @include until($bp-medium){
                position: inherit;
                bottom: inherit;
            }

            li{
                @include text-sizes(13);
                color: $color-white !important;
                padding: 18px 0;
                border-top: 1px dotted $color-telenor-blue-light;

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

        .empty-item{
            ul{
                li{
                    padding: 1px 0;
                }
            }

            @include until($bp-medium){
                .row {
                    .without_price{
                        float: left;
                        position: inherit;
                        width: auto;
                        bottom: 0;
                        margin: 2px 0 0 10px;
                    }
                }
            }
        }

        .without_price{
            @include text-sizes(19);
            position: absolute;
            bottom: 40px;
            text-align: center;
            width: 100%;
        }
    }
}

.inline-link{
    $root: &;

    color: $color-telenor-blue;
    text-decoration: none;

    &:hover{
        text-decoration: underline;
    }
}

.message.is-hidden {
    transition: all 2000ms ease;
    opacity: 0;
    -webkit-transform: translate3d(0,250px,0);
    transform: translate3d(0,250px,0);
    overflow: hidden!important;
    margin: 0;
}

.button__spinner .spinner-holder .spinner-container em{
    display: block;
}


.offer-details{
    $root: &;

    &--numbers{
        color: $color-white;
        font-family: 'telenorbold';
        position: relative;
        box-sizing: border-box;
        width: 20px;
        height: 20px;
        display: inline-block;
        background: $color-telenor-green;
        margin-right: -10px;
        left: -20px;
        text-align: center;
        border-radius: 50%;
    }

    &--items{
        position: absolute;
        top: 0;
        left: 40px;
    }
}

.order-help{
    $root: &;

    position: absolute;
    bottom: 20px;
    right: 60px;

    span{
        display: inline-block;
        width: 50px;
        height: 50px;
        border-radius: 25px;
        border: $border;
        background: url(../img/Bitmap.png) -63px 2px no-repeat $color-white;
        position: absolute;
        right: -60px;
        bottom: -10px;
    }

}

.available-stores .form-radio{margin-left: -30px}



