.vipclub{
    padding: 20px;
    background: #fff;
    transition: all ease .5s;
}

.groups__descriptionInfo{
    display: none;
}
.groups__descriptionInfo--visible{
    display: block;
}
.vipclub h2{
    margin-top: 20px;
    margin-bottom: 10px;
}
.groups__description blockquote, .vipclub__welcomeBlock-annotation {
	background: #166eb7;
	padding: 20px;
	font-size: 20px;
	border-radius: 8px;
	color: #fff;
}
.groups__description blockquote a, .vipclub__welcomeBlock-annotation a {
	color: #fff;
}
.groups__description ul {
	list-style:none;
}
.groups__description li {
	margin-bottom:10px;
}
.groups__description li:before {
	content: '';
	display: inline-block;
	width: 16px;
	height: 16px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2L4 5v6.09c0 5.05 3.41 9.76 8 10.91 4.59-1.15 8-5.86 8-10.91V5l-8-3z' fill='%23166eb7'/%3E%3C/svg%3E");
	background-size: contain;
	background-repeat: no-repeat;
	margin-right: 8px;
	vertical-align: middle;
}



.vipclub__welcomeBlock-benefitsList{
    list-style: none;
    font-size: 16px;
    padding: 10px;
    background: #fff;
    border-radius: 5px;
    margin-bottom: 10px;
}
.vipclub__welcomeBlock-benefitsItem{
    margin-bottom: 10px;
/*    display: flex;
    align-items: baseline;*/


}
.vipclub__welcomeBlock-benefitsItem svg{
min-width: 15px;
min-height: 15px;

width: 15px;
height: 15px;
fill: #166eb7;
margin-right: 10px;
}

.vipclub__welcomeBlock-social{
    margin-top: 20px;
    margin-bottom: 20px;
}
.vipclub__welcomeBlock-socialTitle{
    margin-bottom: 10px;
}

.vipclub__welcomeBlock-UserRating{
    display: block;
    font-weight: bold;
    margin-left: 24px;
    margin-bottom: 10px;
}

@media (max-width:450px){

    .vipclub{
        padding: 5px;
    }

    .vipclub h2{
        margin-top: 10px;
        margin-bottom: 10px;
    }

    .vipclub__welcomeBlock-annotation{
        padding: 5px;
        border-radius: 5px 5px 0 0;
        font-size: 16px;
    }
    .vipclub__welcomeBlock-benefitsList{
        padding: 5px;
        font-size: 14px;
    }
}
.groups__descriptionBtn{
    margin:0 auto 10px auto;
	text-align: center;
}
.groups__block {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 15px;
    margin-bottom: 10px;
    flex-wrap: wrap;

}
.groups__groupName{
    margin-bottom: 5px;
    text-decoration: none;
}
.groups__groupName a{
    text-decoration: none;
}
.groups__groupType{
    font-size: 12px;
    color: #888888;
    margin-bottom: 10px;
}
.groups__groupType svg{
    height: 10px;
    min-height: 10px;
    width: 10px;
    min-width: 10px;
    fill: #888888;
    margin-right: 5px;
}

.groups__button{
    display: inline-flex;
    align-items: center;
    width: auto;
    padding: 5px 10px;
    margin: 0;
    cursor: pointer;
    text-align: center;
}

.groups__button--red{
    background: #e25a76;
}
.groups__button--yellow{
    background: #ffa101;
}

.groups__button svg{
    height: 12px;
    width: 12px;
    min-width: 12px;
    min-height: 12px;
    margin-right: 7px;
    fill: white;
}
.group__header {
    display: flex;
    padding: 15px;
}
.groups__header .groups__button{
    align-self: flex-start;
}

.group__infoData{
    display: flex;
    flex-direction: column;
    margin-bottom: 10px;
}

.groups__groupInfo-block {
    font-size: 14px;
    margin-right: 10px;
    color: #575757;
}
.group__infoData svg{
    width: 10px;
    min-width: 10px;
    height: 10px;
    min-height: 10px;
    margin-right: 5px;
    fill: #575757;
}


.groupsBlock{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 10px;
    flex-wrap: wrap;
}

.groups__nav-menu {
    display: flex;
    list-style: none;
	flex-wrap: wrap;
}
.groups__nav-item {
    justify-content: flex-start;
    margin-right: 5px;
    cursor: pointer;
    border-radius: 8px;
	text-decoration: none;

    user-select: none;
}
.groups__nav-item:hover{
    background: rgb(238, 238, 238);
    color: #202020;
    /* box-shadow: 1px 2px 1px rgba(0, 0, 0, 0.20); */
}
.groups__nav-item:hover > svg{
    fill: #353E4E;
}

.groups__nav-item:active{
    box-shadow: none;
}

.groups__nav-item svg{
    width: 14px;
    min-width: 14px;
    height: 14px;
    min-height: 14px;
    margin-right: 5px;
}
@media (max-width:450px) {
    .groups__nav-menu{
        flex-direction: column;
    }
    .groups__nav-item{
        flex:1;
        margin: 0;
        margin-bottom: 5px;
    }

}

.groupMember {
    display: flex;
    justify-content: start;
	align-items: center;
    border-bottom: 1px solid #acd0e4;
	padding: 10px 0;
}

.groupMember:last-child {
	border-bottom: none;
	padding-bottom: 0px;
}

.groupMember-photo {
    width: 80px;
    height: 80px;
    margin-right: 10px;
}
.groupMember-photo img{
    border-radius: 50%;
    background-size: cover;
}
.groupMember-info{
    display: flex;
    flex:1;
    flex-direction: column;
    justify-content: space-between;
}
.groupMember-infoBlock{
    display: flex;
    flex-direction: column;
}
.groupMember__info{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    color: #888888;
    font-size: 12px;
    margin-bottom: 5px;
}

.groupMember__info svg {
    height: 10px;
    width: 10px;
    min-width: 10px;
    min-height: 10px;
    margin-right: 5px;
    fill: #888888;
}
.groupMember__info--admin{
    background: rgb(236, 236, 236);
    padding: 2px 4px;
    width: max-content;
}
.groupMember__rating{
    display: flex;
    align-items: center;
}
.groupMember-type{
    margin-left: 5px;
}

.groupMember-name{
    color: #353E4E;
    text-decoration: none;
    font-size: 18px;
    margin-bottom: 0;
    font-weight: 500;
}

@media (max-width:400px){
    .groupMember-photo {
        width: 60px;
        min-width: 60px;
        height: 60px;
        min-height: 60px;
        margin-right: 10px;
    }

    .groupMember-name{
        font-size: 14px;
        margin-bottom: 0;
    }

    .groupMember__info{
        font-size: 12px;
    }

    .groupMember-infoBlock {
        margin-bottom: 5px;
    }

}

.groupChat__block{
    display: flex;
    align-items: flex-end;
    flex-direction: column;
    margin-bottom: 10px;
    padding: 10px;

}

.groupsChat__textArea{
	height: 85px;
	border: 0;
	width: 100%;
	font-size: 14px;
	padding: 10px;
	border-radius: 2px;
	margin-bottom: 10px;
    border-radius: 8px;
    border: 1px solid gainsboro;
}

.groupsChat__sendButton{
    display: inline-block;
    width: 100px;
    margin-left: auto;
    margin-right: 0;
    padding: 5px 10px;
    margin: 0;
    cursor: pointer;
    text-align: center;
    background-color: #346daf;
    border: 0;
    border-radius: 4px;
    color: white;
}

.groupsChat__sendButton:hover{
    background-color: #224b7b;
}

/* Стилизация чата */



.groupChat__messages{
}

.groupChat__chatMessage{
    display: flex;
    flex-direction: column;
    margin-bottom: 10px;
    padding: 15px;

}


.groupChat__messages-photo{
    margin-right: 10px;
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
}
.groupChat__messages-photo img{
    border-radius: 50%;
}

.groupChat__chatMessageInfo{
    display: flex;
    align-items: center;
    flex: 1;
    margin-bottom: 10px;
}

.groupChat__messages-userName {
    text-decoration: none;
    color:#2a5885
}
.groupChat__chatMessageTime{
    color: #888888;
    font-size: 12px;
}


.groupChat__messageText {
    margin-bottom: 10px;
	line-height: 20px;
}
.groupChat__chatMessageInfo-header{
    display: flex;
    flex-direction: column;
}
.groupsChat__message-controls-delete{
    display: flex;
    position: relative;
}
.groupsChat__message-controls-delete svg{
    width: 12px;
    height: 12px;
    cursor: pointer;
    fill: #195599;
}

.groupsChat__message-controls-delete svg:hover{
    fill: #e25a76;
}
.groupsChat__chatMesQuote {
	padding: 10px 20px 10px 10px;
	margin-bottom: 10px;
	border-left: 3px solid #9bd3eb;
	background: #fff;
	cursor: pointer;
	width: 100%;
	display: none;
}

.groupsChat__sendMesForm{
    display: flex;
    justify-content: center;
    align-items: center;
}
.groupsChat__sendMesForm svg{
    width: 20px;
    height: 20px;
    min-width: 20px;
    min-height: 20px;
    fill: #166eb7;
    transition: fill ease .2s;
}

.groupsChat__sendMesForm svg:hover{
    fill: #e91e63;
}
.groups_list {
	display: flex;
	flex-direction: row;
	justify-content: flex-start;
	padding: 10px;
	margin-bottom: 15px;
	align-items: flex-start;
}
.groups_list__logo img {
	height: 100px;
	width: 100px;
}
.groups_list__info {
	display: flex;
	flex-direction: column
}
.groups_list__info__item {
	padding: 0 10px 5px 10px;
}
.groups_list__info__item__title {
	font-size: 18px;
    font-weight: 400;
	text-decoration: none;
}
.groups_list__info__item__title {
	font-size: 18px;
    font-weight: 400;
	text-decoration: none;
	color: #222;
}
.groupList__header{
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 20px;
}
.groupList__header h1{
    color: rgb(37, 41, 53);
    margin-bottom: 0;
}

@media (max-width:440px){
    .groupList__header{
        flex-direction: column;
        margin-bottom: 20px;
    }
    .groupList__header h1{
        margin-bottom: 5px;
    }
}

.groupList__item{
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e7e8ec;
}
.groupList__item:last-child {
	border-bottom: none;
	margin-bottom: 0;
}
.groupList__controls{
    display: flex;
    flex-direction: column;
}
.groupList__controlsItem{
    width: auto;
}
.groupList__controlsItem + .groupList__controlsItem{
    margin-top: 5px;
}



.group__infoBlock{
    display: flex;
    flex-grow: 1;
    color: #999999;
}
.group__infoItem {
    display: flex;
    align-items: baseline;
}
.group__name{
    display: flex;
    text-decoration: none;
    font-size: 20px;
    margin-bottom: 5px;
    color: #2a5885;
    font-weight: bold;
}
.group__logo{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    max-width: 70px;
    height: 70px;
    max-height: 70px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 10px;
    object-fit: cover;
    flex-shrink: 0;

}
.group__logo img{
    object-fit: cover;
}
.group__info{
    flex-grow: 1;
}
.group__header .group__infoBlock{
    display: flex;
    flex-grow: 1;
}

@media(max-width:630px){
    .groupList__item{
        flex-direction: column;
        align-items: flex-start;
    }

    .group__name{
        font-size: 16px;
    }

    .group__logo{
        width: 50px;
        max-width: 50px;
        height: 50px;
        max-height: 50px;
        border-radius: 50%;
        overflow: hidden;
        margin-right: 10px;
        object-fit: cover;
        flex-shrink: 0;

    }
    .group__infoBlock{
        margin-bottom: 10px;
    }
    .group__action{
        align-self: flex-end;
    }
}

@media (max-width:380px){
    .group__infoItem{
        flex-direction: column;
    }
}
.group__header .group__info{
    display: flex;
    flex-direction: column;
    margin-bottom: 0;
    justify-content: center;
    flex-grow: 1;
}
.group__header .groups__groupInfo{
    margin-bottom: 0;
}
.group_rules p, .group_rules ul  {
	line-height:146%;
	margin-bottom: 10px;
}

.group_rules li {
	margin-left:20px;
}