.tap{
    cursor: pointer;
}

.tap-wrap{
    position: relative;
    border: 1px solid #d8d8d8;
    border-radius: 4px;
    width: 100%;
    min-height: 58px;
    font-size: 0;
    cursor: pointer;
    padding: 8px 27px 8px 16px;
    background-image: url('/resources/images/selector-xs-arrow.svg'), linear-gradient(to bottom, #ffffff, #fdfdfd, #fbfbfb, #f9f9f9, #f7f7f7);
    background-repeat: no-repeat;
    background-position: 96% center;
    line-height: normal;
    opacity: .5;
}

.tap-wrap:before{
    line-height: 42px;
    content: '';
}

.tap-wrap.active,
.tap-wrap.done{
    opacity: 1;
}

.tap-wrap div{
    font-size: 16px;
}

.step-fade{
    display: none;
    content: '';
    position: fixed;
    background-color: black;
    opacity: .5;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 51;
}

.step-fade.active{
    display: block;
}

.step-wrap{
    display: none;
    text-align: center;
    position: fixed;
    background-color: transparent;
    opacity: 0;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 0;
}

.step-wrap.active{
    display: block;
    opacity: 1;
    z-index: 51;
}

.step-wrap .title{
    font-size: 32px;
}

.step-wrap .title2{
    text-transform: uppercase;
    font-size: 12px;
    font-weight: normal;
    margin: 12px 0 8px 0;
}

.step-container{
    display: inline-block;
    vertical-align: middle;
    background: white;
    max-height: 90%;
    height: auto;
    font-size: 16px;
    text-align: left;
    border-radius: 5px;
    position: relative; left: 0; top: 0;
    overflow: hidden;
    padding: 0;
}

.step-container.continer{
    padding: 0;
}

.step-header{
    font-size: 32px;
    font-weight: bold;
    position: relative; left: 0;
    padding: 19px 30px 19px 30px;
}

.step-header > .back{
    position: absolute; right: 15px; top: 15px;
    cursor: pointer;
    background: url('/resources/images/icons/close.svg') no-repeat center center;
    width: 32px; height: 32px;
}

.step-wrap .description{
    font-size: 14px;
    font-weight: normal;
    text-align: left;
}

.step-content{
    position: relative; left: 0; top: 0;
    overflow-x: hidden;
    overflow-y: auto;
    width: 100%;
    padding: 0 30px 15px 30px;
}

.step-footer{
    display: none;
}

@media (max-width: 767px){

    .step-wrap .title{
        font-size: 22px;
    }

    .step-container{
        display: block;
        height: 100%;
        max-height: 100%;
        border-radius: 0;
        padding: 0 0 15px 0;
    }

    .step-header{
        padding: 11px 10px 10px 10px;
        line-height: normal;
        font-size: 0;
        font-weight: bold;
        text-align: center;
        background-color: #fbfbfb;
        border-bottom: 2px solid #cfcfcf;
    }

    .step-header > div.back{
        left: 0; right: auto; top: 15px;
        width: 50px;
        background: url('/resources/images/icons/back3.png') no-repeat 10px center;
        height: 16px;
        color: #0096ff;
    }

    .step-header > div.back:before{
        font-size: 12px;
        font-weight: normal;
        content: "Back";
        position: absolute; left: 33px; top: 1px;
    }

    .step-wrap .description{
        font-size: 12px;
        margin-top: 10px;
    }

    .step-content{
        padding: 15px 15px;
    }

    .step-footer{
        width: 100%;
        display: block;
        position: fixed;
        left: 0; bottom: 0; top: auto;
        background-color: #fbfbfb;
        border-top: 2px solid #cfcfcf;
        padding: 10px 0;
        font-size: 0;
    }

    .step-footer div{
        display: inline-block;
        padding: 0 10px;
    }

    .step-footer div:first-child{
        font-size: 14px;
        width: calc( 100% - 155px );
        line-height: normal;
    }

    .step-footer div:last-child{
        text-align: right;
        font-size: 16px;
        font-weight: bold;
        width: 155px;
        padding-left: 20px;
        line-height: 26px;
        background: url('/resources/images/icons/phone.svg') no-repeat left;
    }
}

@media (max-width: 424px){
    .step-wrap .title{
        font-size: 20px;
    }
}

@media (max-width: 374px){

    .step-content{
        padding: 10px 10px;
    }
}

@media (max-width: 319px){
}

