.loginBlock{
	background: #0B2035;
	width: 100%;
	height: 70rem;
	font-size: 18rem;
	color: white;
	display: flex;
	flex-direction: row;
	/*padding: 10rem;*/
	box-sizing: border-box;
	margin-top: 40rem;
	position: relative;

	/*font-family: ANTQUA;*/
}

.loginBlock .caption{
	text-align: center;
	width: 100%;
	line-height: 70rem;
}


.loginBlock .user{
	position: absolute;
	height: 100%;
	line-height: 70rem;
	left: 40rem;
	vertical-align: top;

}


.loginBlock .user .photo{
	width: 38rem;
	height: 38rem;
	background-color: #dfdfdf;
	margin-top: 16rem;
	vertical-align: top;
	margin-right: 15rem;
	border: 1rem solid black;
}

.loginBlock .user .photo img{
	height: 34rem;
	width: 34rem;
	margin-top: 2rem;
	margin-left: 2rem;
	display: block;
}

.loginBlock .user .fio{
	margin-top: 14rem;
	vertical-align: top;
	font-size: 16rem;
	line-height: 20rem;
}

.loginBlock .user .fio span{
	border-bottom: 1rem solid white;
}


.loginBlock .login{
	position: absolute;
	height: 100%;
	line-height: 70rem;
	left: 40rem;
	vertical-align: top;

}


.loginBlock .login .photo{
	width: 38rem;
	height: 38rem;
	background-color: #dfdfdf;
	margin-top: 16rem;
	vertical-align: top;
	margin-right: 15rem;
	border: 1rem solid black;
}

.loginBlock .login .photo img{
	height: 34rem;
	width: 34rem;
	margin-top: 2rem;
	margin-left: 2rem;
	display: block;
}

.loginBlock .login .enter{
	margin-top: 24rem;
	vertical-align: top;
	font-size: 16rem;
	line-height: 20rem;
}

.loginBlock .login .enter span{
	border-bottom: 1rem solid white;
}




.loginBlock .logout{
	position: absolute;
	height: 16rem;
	line-height: 16rem;
	right: 85rem;
	font-size: 16rem;
	margin-top: 26rem;
	border-bottom: 1rem solid white;
	border-top: 1rem solid rgba(0,0,0,0);
	cursor: pointer;

}

.loginBlock .logout:before{
	content: '';
	/*width: 32px;
	height: 32px;
	background: url(/assets/img/exit.svg);
	*/
	width: 32rem;
	height: 32rem;
	background: url(/assets/img/exit.svg) no-repeat center;
	background-size: cover;

	position: absolute;
	right: -45rem;
	top:-7rem;
}




/*


.loginBlock{
	background: #0B2035;
	width: 100%;
	height: 120rem;
	font-size: 14rem;
	color: white;
	display: flex;
	flex-direction: row;
	padding: 10rem;
	box-sizing: border-box;
	margin-top: 40rem;
}

.loginBlock .regulations a{
	color: white;
}

.loginBlock>*{
	flex-grow: 1;
	width: 10rem;
}

.loginBlock .caption{
	text-align: center;
	font-size: 18rem;
}

.login{
	display: flex;
	flex-direction: column;
	display: none;
}

.login .row{
	display: flex;
	flex-direction: row;
	flex-grow: 1;
	width: 100%;
	height: 20rem;
}

.login .row>*{
	flex-grow: 1;
	width: 10rem;
	height: 20rem;
}


.login .row .registration{
	color: white;
}

.login .row .btn{
	text-align: center;
	line-height: 30rem;
	background: #1B7891;
	height: 30rem;
}




.loginBlock .pers{
	display: flex;
	flex-direction: row;
	display: none;
}

.loginBlock .pers>div{
	display: inline-block;
	margin-top: 10rem;
}


.loginBlock .pers .settings a{
	color: white;
}


.loginBlock .pers .logout{
	text-decoration: underline;
}


*/


.chat{
	display: flex;
	flex-direction: column;
}

.message{
	font-size: 14rem;
	display: block;
	width: 100%;
	/*position: relative;*/
}

.message>*{
	display: inline-block;
	vertical-align: top;
}

.message .time{
	margin-left: 110rem;
	/*width: 200rem;*/
}

.message .from{
	/*width: 400rem;*/
	color: #3E787F;
	font-weight: bold;
}

.message .to{
	font-weight: bold;
}

.message .time, .message .from, .message .to{
	margin-top: 40rem;
	margin-bottom: 10rem;
	margin-right:20rem;
}

.message .avatar{
	width: 90rem;
	height: 90rem;
	background: #CBC8C4;
	margin-right: 20rem;
}

.message .avatar img{
	margin: 6rem;
	width: 78rem;
	height: 78rem;
}

.message .text{
	width: calc(100% - 114rem);
	background: #DEDBD5;
	box-sizing: border-box;
	padding: 20rem;
	min-height: 90rem;
	overflow:hidden;
	text-overflow: ellipsis;
}

.chat-pages{
	width: 100%;
	height: 40rem;
	background: #0B2035;
	margin-top: 60rem;
	font-size: 18rem;
	color: white;
	text-align: center;
	line-height: 40rem;
}

.chat-pages>*{
	display: inline-block;
	padding: 0rem 10rem;
}

.chat-pages .page{
	display: inline-block;
	padding: 0rem 10rem;
	cursor: pointer;
}
.chat-pages .page.page__active{
	background-color: white;
	color: #172C41;
}
.chat-pages>.next,.chat-pages>.prew{
	cursor:pointer;
}

.unregistered{
	font-size: 18rem;
	text-align: center;
	margin-top: 40rem;
	display: block;
	display: none;
}

.unregistered a{
	color: #0B2035;
}


.replyForm{
	font-size: 18rem;
	display: flex;
	flex-direction: row;
	width: 1200rem;
	margin: auto;
	display: none;
	margin-top: 40rem;
}


.replyForm .replyFormUser{
	display: flex;
	flex-direction: column;
	width: 300rem;
	/*align-items: stretch;*/
	align-content: flex-start;
}

.replyForm .replyFormUser .replyFormUserAva{
	display: block;
	width: 100rem;
	height: 100rem;
	background: grey;
	margin: 20rem auto;
}

.replyForm .replyFormUser .replyFormUserFIO{
	text-align: center;
}

.replyForm .replyFormUser .replyFormUserFIO #replyFormUserFIO{
	margin-top:10rem;
	border-bottom: 1rem solid black;
}


.replyForm .replyFormMessage{
	display: flex;
	flex-direction: column;
	flex-grow: 1;
	background: #D9D6CC;
	padding: 20rem 30rem 30rem;
}

.replyForm .replyFormMessage .label{
	margin:10rem 0 5rem;

}


.replyForm .replyFormMessage textarea{
	min-height: 400rem;
}

.replyForm .replyFormMessage textarea,.replyForm .replyFormMessage input{
	padding:5rem;
}


.replyForm .replyFormMessage textarea,.replyForm .replyFormMessage input{
	background-color:white;
}



.replyForm .replyFormMessage .sendMessage{
	/*width: 220rem;*/
	padding: 0 20rem;
	text-align: center;
	color: white;
	background: #0B2035;
	margin: 20rem auto;
	margin-bottom: 0rem;
	height: 26rem;
	line-height: 24rem;
	cursor: pointer;
}
.replyForm .replyFormMessage .msgFile{
	background-color:transparent;
	margin-top:20rem;
}

.message_text_image{
	object-fit: contain;
	/*min-width:100px;*/
	/*min-height:100px;*/
	max-width:100px;
	max-height:100px;
	border:6px solid rgb(152, 150, 145);
	/*display: block;*/
	background-color: white;
	margin-top:15rem;
	margin-right:15rem;
	vertical-align: bottom;
}
.replyForm .message_text_image{
	max-width:none;
	max-height:none;
}
.message .text{
	position: relative;
}
.moderatorButtons{
	position: absolute;
	top:0;
	right:5rem;
	width:20rem;
}
.moderatorButton{
	width:20rem;
	height:20rem;
	/*background-color:black;*/
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	cursor:pointer;
}
.deleteButton{
	background-image: url(/assets/img/bin.svg);
	margin-top:10rem;
}
.banButton{
	margin-top:5rem;
	background-image: url(/assets/img/blocked.svg);
}


.loginBlock__mobile{
	display: none;
}
@media(max-width:1024px){

.loginBlock{
	margin-top:0;
	margin-left:-10rem;
	width:calc(100% + 20rem);
}
.loginBlock .login{
	width:98rem;
	left:10rem;
}
.loginBlock .user__hidden~.caption{
	font-size:14rem;
	padding-left:110rem;
}

.message{
	margin-top:30rem;
}
.message:first-child{
	margin-top:0;
}
.message .time, .message .from, .message .to{
	margin-top: 20rem;
	margin-bottom: 0rem;
	margin-right:0;
	display: block;
}

.message .time{
	margin-left:0;
	/*float:right;*/
}
.chat-pages .page{
	padding:0 5rem;
}

.chat-pages{
	font-size:14rem;
}



.loginBlock__mobile{
	display: block;
}
.loginBlock .user,.loginBlock .logout{
	display: none !important;
}

.loginBlock__mobile .user,.loginBlock__mobile .logout{
	display: flex !important;
}

.loginBlock .user{
	left:20rem;
}
.loginBlock .logout{
	right:55rem;
}

.loginBlock .user .photo{
	margin-right:10rem;
}

.replyForm{
	flex-flow:column;
	width:100%;
}

.replyForm .replyFormUser{
	width:100%;
}

.replyFormMessage{
	margin-top:40rem;
}



}


@media(max-width:720px){
.loginBlock .login .photo{
	margin-right:10rem;
}
.loginBlock .caption{
	font-size:14rem;
}

}
@media(max-width:359px){

.loginBlock .user__hidden~.caption{
	font-size:12rem;
	padding-left:110rem;
}

.loginBlock .login .enter{
	font-size:14rem;
}
.loginBlock .login{
	width:88rem;
}

.loginBlock .user .fio, .loginBlock .logout{
	font-size:14rem;
}

}

@media(max-width:335px){

.loginBlock .user .fio, .loginBlock .logout{
	font-size:12rem;
}

}