/* Chrome */
input[name="phone"]::-webkit-outer-spin-button,
input[name="phone"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[name="phone"] {
    -moz-appearance: textfield;
}

input[name="phone"]:hover,
input[name="phone"]:focus {
    -moz-appearance: number-input;
}

/* Other */
input[name="phone"]::-webkit-inner-spin-button,
input[name="phone"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.w-feedback {
    position: fixed;
    bottom: 20px;
    right: 20px;
    max-width: 290px;
    transition: height 1s ease;
    z-index: 1001;
}

.w-feedback.unread::after {
    content: '1';
    display: block;
    position: absolute;
    top: 0;
    right: 8px;
    color: #fff;
    background-color: #e63917;
    font-size: 11px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    padding: 8px 0 0 4.8px;
    line-height: 0
}

.w-close {
    width: 20px;
    height: 20px;
    position: absolute;
    right: 10px;
    top: 10px;
    cursor: pointer;
    z-index: 99;
    background: url('/assets/images/w/closed.png') no-repeat top center;
    transition: .2s all ease;
    background-size: contain;
}

.w-content {
    position: relative;
    display: none;
    background-color: #ffffff;
    padding-top: 50px;
    border: 1px solid #dddfe0;
    box-shadow: 0px 5px 10px 0px rgba(221, 223, 224, 0.7);
}

.w-specialist {
    padding: 20px;
    border-bottom: 1px solid #dddfe0;
}

.w-specialist__photo {
    display: block;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 2px solid #0687b8;
    cursor: pointer;
    box-shadow: 0px 5px 10px 0px rgba(221, 223, 224, 0.7);
    animation: wPulse 4s ease-out infinite 3s;
}

.w-specialist__name {
    font-size: 18px;
    line-height: 1.2;
    font-weight: 700;
    text-align: center;
    margin-bottom: 10px;
}

.w-specialist__desc {
    font-size: 14px;
    text-align: center;
}

.w-contacts {
    padding: 20px 20px 30px;
}

.w-social {
    display: flex;
    flex-flow: row wrap;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.w-social__link {
    background-color: #dddfe0;    
    background-size: cover;
    background-position: center;
    display: block;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    margin: 0 5px;
}

.w-social__telegram {
    background-image: url('/assets/images/w/telegram.svg');
}

.w-social__whatsapp {
    background-image: url('/assets/images/w/whatsapp.svg');
}


.w-phones {
    display: flex;
    flex-flow: column wrap;
    align-items: center;
}

.w-phones a {
    display: block;
    color: #222222;
    font-size: 20px;
    line-height: 1.2;
    font-weight: 700;
    text-decoration: none;
    transition: color .3s ease; 
}

.w-phones a:hover {
    color: #fc7f56;
}

.w-phones a + a {
    margin-top: 5px;
}

.w-feedback.is-active .w-content {
    display: block;
    position: relative;
}
.w-feedback.is-active.unread::after {
    display: none;
}
.w-feedback.is-active .w-specialist__photo {
    position: absolute;
    top: -50px;
    left: 50%;
    border: 1px solid #dddfe0;
    box-shadow: none;
    transform: translateX(-50%);
    z-index: 1;
    cursor: default;
    animation: none;
}

.w-feedback.is-active {
    animation: wShow 1s  ease-in-out;
}

@keyframes wShow {
    0% {
        transform: scale(0);
    }

    50% {
        transform: scale(1.05)
    }

    80% {
        transform: scale(.95)
    }

    to {
        transform: scale(1);
    }
}

@keyframes wPulse {
    0%{
        box-shadow: 0 0 0 0 rgba(201,8,95,0.8), 0 0 0 0 rgba(201,8,95,0.5)
    }
    40%{
        box-shadow: 0 0 0 70px rgba(201,8,95,0), 0 0 0 30px rgba(201,8,95,0)
    }
    80%{
        box-shadow: 0 0 0 70px rgba(201,8,95,0), 0 0 0 30px rgba(201,8,95,0)
    }
    100%{
        box-shadow: 0 0 0 0 rgba(201,8,95,0), 0 0 0 40px rgba(201,8,95,0)
    }
}

.block-expert{
    /*padding-left: 4.375rem;*/
    position: relative;
    background: #f2f6f7;
}
.block-expert-top{
    display: flex;
    justify-content: flex-start;
}
.block-expert-body{
    display: flex;
    flex-direction: column;
}
.block-expert-body{
    margin-left: 30px;
}
.block-expert-avatar img{
    border-radius: 50px;
    max-width: 100px;

}
.block-expert-name {
    color: #5c848c;
    margin-bottom:  5px;
}
.block-expert-description {
    color: #9a9e9f;
}
.block-expert-bottom{
    margin-top: 10px;
}

.block-plus{
    /*padding-left: 4.375rem;*/
    position: relative;
    background-color: #f4f1f8;
}
.block-plus-title{
    margin-bottom: 0.8em;
    font-weight: 700;
    font-size: 1.3em;
    color: #5c0a93;
}
.block-plus-content{
    display: flex;
    justify-content: flex-start;
}
.block-plus-left{
    width: 50%;
}
.block-plus-right{
    margin-left: 40px;
    width: 50%;
}
.block-plus-item{
    margin-bottom: 15px;
}
.block-plus-item::before{
    content:"";
    background-image: url("../img/icons/plus.png");
    background-size: cover;
    height: 20px;
    width: 20px;
    /*border-radius: 50%;*/
    margin-right: 10px;
    display: inline-block;
    vertical-align: middle;
}
.block-plus-right .block-plus-item::before{
    content:"";
    background-image: url("../img/icons/minus.png");
}

@media screen and (max-width: 767px) {
    .block-plus-content{
        flex-direction: column;
    }
    .block-plus-left{
        width: 100%;
    }
    .block-plus-right{
        margin-left: 0px;
        width: 100%;
    }
}

