.tap {
    cursor: pointer;
}

.tap-wrap {
    display: flex;
    align-items: center;
    position: relative;
    border: 1px solid #B8BCC6;
    border-radius: 4px;
    width: 100%;
    min-height: 56px;
    padding: 0 25px 0 15px;
    font-size: 16px;
    cursor: pointer;
    background-image: linear-gradient(180deg, #FFFFFF 0%, #F7F9FC 100%);
    line-height: normal;
    opacity: .5;
}

.tap-wrap:before {
    content: '';
    display: block;
    position: absolute;
    left: 0; top: 0;
    width: 100%;
    height: 100%;
    background-image: url('/resources/images/selector/arrow-right.svg');
    background-repeat: no-repeat;
    background-position: right 20px center;
}

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

.tap-wrap:before.loading {
    background-image: url('/resources/images/ajax-loader-grey.gif');
}

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

.tap-wrap span.details {
    position: relative;
}

.step-wrap {
    visibility: hidden;
    opacity: 0;
    text-align: center;
    position: fixed;
    background-color: transparent;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 0;
    transition: 0.25s;
}

.step-wrap.active {
    visibility: visible;
    opacity: 1;
    z-index: 51;
    transition: 0.25s;
}

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

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

.step-container {
    display: block;
    vertical-align: middle;
    background: #f7f9fc;
    max-height: 100%;
    height: 100%;
    font-size: 16px;
    text-align: left;
    position: relative;
    left: 0;
    top: 0;
    padding: 0;
}

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

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

.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: 12px;
    margin-top: 10px;
}

.step-content {
    overflow: auto;
    width: 100%;
    padding: 15px 0;
    z-index: 40;
}

.step-footer {
    display: none;
}

.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;
}

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

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

@media (min-width: 992px) {

    .tap-wrap.drop {
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
        border: 2px solid #4396F7;
        padding: 0 24px 0 14px;
    }

    .tap-wrap:before {
        background-image: url('/resources/images/selector/arrow-down.svg');
    }

    .tap-wrap.drop:before {
        transform: rotate(180deg);
        background-position: left 19px center;
    }

    .tap-wrap:hover {
        border: 2px solid #777C89;
        padding: 0 24px 0 14px;
        background-position: right 19px center;
    }

    .tap-wrap:hover:before {
        background-position: right 19px center;
    }

    .tap-wrap.drop:hover {
        border: 2px solid #4396F7;
    }

    .tap-wrap.drop:hover:before {
        background-position: left 19px center;
    }


    .step-wrap {
        position: absolute;
        background-color: transparent;
        opacity: 0;
        top: auto;
        right: auto;
        bottom: auto;
        left: auto;
        z-index: 0;
        width: calc(100% - 30px);
        box-shadow: 0 0.9px 2px #00000054;
        border-bottom-left-radius: 4px;
        border-bottom-right-radius: 4px;
    }

    .step-header,
    .step-footer {
        display: none;
    }

    .step-container {
        max-height: 326px;
        border-bottom-left-radius: 4px;
        border-bottom-right-radius: 4px;
    }

    .step-content {
        padding: 0;
        border: 2px solid #4396F7;
        border-top: none;
        border-bottom-left-radius: 4px;
        border-bottom-right-radius: 4px;
    }
}