
.b-widget {
    position: absolute;
    top: 50%;
    left: 0;
    height: 650px;
    transform: translate(0, -50%);
}

.b-widget__open {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translate(0, -50%);
    border-radius: 0 5px 5px 0;
    background-color: #1AB14C;
    color: #fff !important;
    text-decoration: none !important;
    cursor: pointer;
    padding: 12px 15px;
    white-space: nowrap;
}

.b-widget__content {
    width: 400px;
    position: absolute;
    left: -400px;
    height: 100%;
}

.b-widget__close {
    position: absolute;
    right: 15px;
    top: -15px;
    width: 30px;
    height: 30px;
    border-radius: 30px;
    background-color: #1AB14C;
    color: #fff !important;
    cursor: pointer;
    text-decoration: none !important;
}

.b-widget__close:before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 24px;
    height: 24px;
    background: url(../img/icons/icon-close-w.png) no-repeat;
    background-size: contain;
}

.b-widget__frame {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: #efefef;
    border-radius: 0 5px 5px 0;
    box-shadow: 0 2px 8px 5px rgba(0,0,0, 0.2);
}

.b-widget_opened .b-widget__content {
    left: 0;
}

.b-widget_opened .b-widget__open {
    display: none;
}
