.event-box{
    text-decoration: none;
}

.article-content ol, .article-content ul {
    padding-left: 2rem !important;
}

.article-footer .article-sources{
    margin-top: 20px;
}

.first-event{
    min-width: 200px;
}

.accordion-item-header:after{
    display: none;
}

.input-date{
    background: none;
    padding-right: 16px;
}

.box-title{
    word-break: break-word;
}

.parsley-errors-list li{
    font-size: 12px;
    color: var(--red-deep) !important;
    margin-top: 2px;
}

.parsley-error{
    border-color: var(--red-deep);
}

.rating-item input.checked + span {
    background-color: var(--green-mid);
    color: var(--white);
}

.select2-container{
    width: 100% !important;
}

.select2-selection{
    font-size: 16px;
    color: var(--black);
    max-width: 100%;
    width: 100%;
    min-height: 44px !important;
    padding: 0 16px;
    
    border: 1px solid var(--gray-low) !important;
    border-radius: 8px !important;
    box-sizing: border-box;
    outline: none;
}

.events-date-input{
    position: relative;
    padding-left: 28px;
}
.events-date-input:before{
    position: absolute;
    width: 30px;
    height: 100%;
    left: 0;
    top: 0;
    line-height: 41px;
    text-align: center;
    display: block;
}

.events-date-input[name="date_from"]:before{
    content: 'c';
}

.events-date-input[name="date_to"]:before{
    content: 'до';
}

.home-neuro-request{
    height: 53px;
    max-height: unset;
    padding-right: 120px !important;
}

.box-link{
    text-decoration: none;
}

.input-password-toggle{
    display: flex;
}

header.header{
    padding-bottom: 0 !important;
}

.filter-toggle-item span{
    height: auto;
    padding-top: 5px;
    padding-bottom: 5px;   
}

.filter-toggle{
    display: flex;
    flex-wrap: wrap;
}

.error-message{
    padding-top: 3px;
    color: var(--red-deep);
}

.favorited:before{
    content: '';
    display: block;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: url('/assets/medinternet/img/favorited.svg') center center no-repeat #fff;
    position: absolute;
    top: 18px;
}

.min-box.favorited:before{
    right: 18px;
}

.line.favorited:before{
    left: 18px;
}

.event-box.favorited:before{
    left: unset;
    right: 18px;
}

.filter-toggle-item span, .filter-item a{
    min-height: 35px;
}

.accordion-item-header{
    cursor: auto;
}

.header-user{
    top: 0;
    position: static;
    display: flex;
    align-content: center;
}

.added-register-button{
    margin-bottom: 5px;
}

.home-banners .box-article-desc{
    max-width: 100%;
}

.first-event-image{
    margin-left: auto;
    margin-right: auto;
    max-width: 416px;
}

.event-box .box-title{
    padding-right: 36px;
}

.input-password-toggle{
    top: 23px;
    text-align: left;
}

.video-js{
    color: var(--green-mid);
}

.video-js .vjs-volume-level, .video-js .vjs-play-progress, .video-js .vjs-slider-bar{
    background: var(--green-mid);
}

.unmute-video{
    background: rgba(0, 170, 176, 0.6);
}

.unmute-video:hover{
    background: var(--green-mid);
}

.video-js .vjs-load-progress div{
    background: rgba(0, 170, 176, 0.1);
}

form span.error-message{
    font-size: 12px !important;
    color: var(--red-deep) !important;
    margin-top: 2px;
    text-align: left !important;
}

form span.error-message:before{
    content: "•";
    color: var(--red-deep) !important;
    margin-right: 12px;
}

.p-article{
    background: #fff;
}

.p-article .article-content{
    max-width: unset;
}

.home-banners{
    word-break: break-word;
}

.result-search p, .result-search ul, .result-search table{
    margin-top: 20px;
    margin-bottom: 20px;
}

.app-chat-item .answer-text{
    max-width: 742px;
}

.app-chat-item-rating{
    max-width: unset;
}

.app-chat-item{
    max-width: unset;
}

.app-chat-item-rating .rating{
    width: 100% !important;
}

.app-chat .neuro img{
    object-fit: contain;
    height: 100%;
}

.app-chat-neuro.loading{
    display: flex;
    align-items: flex-end;
    width: 136px;
    height: 136px;

    top: calc(100% - 136px) !important;
    right: calc(50% - 68px);

    border-radius: unset;
}
.app-chat-neuro .neuro-image{
    background: url('/assets/medinternet/img/green-ball.png') center center no-repeat;
    background-size: cover;
    border-radius: 100%;
    width: 68px;
    height: 68px;
}

.app-chat-neuro.loading .neuro-image{
    width: 136px;
    height: 136px;
}

.app-chat-neuro.loading img{
    width: 100%;
    object-fit: contain;
}

.app-loading-text{
    display: none;
    height: 54px;
    position: absolute;
    top: calc(100% - 50px);
    left: calc(50% + 68px);
}

.app-chat.loading{
    padding-bottom: 150px;
}

.neuro-question-form .home-neuro-request{
    padding-right: 49px !important;
}

.article-slider .swiper-slide{
    padding: 0px !important;
    text-align: center;
}

.main-steps-decor{
    z-index: -1;
}

.notifications-list-item{
    padding-right: 91px;
}

.notifications-list-item .card-score{
    left: unset;
    right: 12px;
}

.footer-nav a{
    text-decoration: underline;
}

.main-section.main-news{
    overflow: hidden;
}

.profile-form-top{
    gap: 40px;
}

.otp-login-link{
    margin-top: 5px;
}

.parsley-errors-list{
    padding-left: 0px !important;
}

.parsley-errors-list.filled{
    padding-left: 16px !important;
}

#modalLogin .col-md-8 .button{
    padding-left: 20px;
    padding-right: 20px;
    width: 100%;
}

@media (max-width: 767px){
    .app-loading-text{
        left: calc(50% - 68px);
        top: calc(100% + 1px);
    }

    .header-nav .header-user{
        flex-direction: row-reverse;
        justify-content: flex-end;
        margin-top: 50px;
    }

    .header-nav .header-user-photo{
        margin: unset;
    }

    .header-nav .header-user-info{
        text-align: left;
    }

    .p-article .container{
        padding-left: 15px;
        padding-right: 15px;
    }

    .profile-form-top{
        gap: 20px;
    }
}


@media (max-width: 576px){
    .footer-nav:nth-child(3){
        order: -2 !important;
    }
    .footer-nav:nth-child(2){
        order: -3 !important;
    }

    .home-banners .button{
        width: 100%;
    }

    .first-event-button{
        width: 100%;
    }

    #profilModal .input-file{
        flex-direction: column;
    }
}


@media (max-width: 375px){
    .bottom-question .home-neuro-request{
        min-height: 97px !important;
    }

    .profile-form-top{
        flex-direction: column-reverse;
        text-align: right;
    }
}