/*   
Theme Name: m2wma
Theme URI: https://m2wma.ru/
Description: Шаблон для сайта
Author: m2 web marketing agency
Author URI: https://m2wma.ru/
*/
.navbar-nav .nav-item.active .nav-link {
    background-color: #e4f0f8;
}
.ajax-form,.chat{position: relative;}
.ajax-form::before,.chat:before{
    content: 'Пожалуйста, подождите...';
    position: absolute;
    display: none;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    font-size: 1.4rem;
    background-color: rgba(255, 255, 255, 0.7);
    z-index: 99;
}
.ajax-form.mini-form::before{font-size: 0.5rem;}
.ajax-form.sending::before, .chat.loading:before{
    display: flex;
}

.m2-editor .wp-editor-container{
    border-radius: 0.75rem;
    border-color: #dee2e6;
    overflow: hidden;
}
.m2-editor.error .wp-editor-container{border-color: #e53231;}
.m2-editor.error .invalid-feedback{display: block;}

.main-video-img{
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    background-image: url('img/video-main.jpg');
}

.chat-body.not-reverse{flex-direction: column;}

.cc-banner.cc-bottom[aria-label="cookieconsent"]{border-top: 1px solid #fff;}

.draft-btn .btn-info{background-color: #16a3c8;color: #fff;margin-right: 10px;}
.draft-btn .btn-info:hover{background-color: #107c99;}
.draft-btn .btn-info .icon svg{fill: #fff;}

.inline-block{display: inline-block;}

.album-card .album-card-title .year{
    float: right;
    position: relative;
    top: -31px;
}

@media (max-width: 370px) {
    .mob-hide{display: none;}
}