.date-slider1{padding-top:250px;}
/* chat */

.profile-table td{
display: block;
}
body #souz-main .messages .your_message {
    width:auto;
}
.chat{
font-family: PT Sans;font-size: 16px;
border:1px solid #DADADA;
width:100%;
height:50vh;
min-height:580px;
border-radius: 1px;
position: relative;

}
#souz-main .date-slider1 .slick-prev, #souz-main .date-slider1 .slick-next {
    border: none;
    top: 80px;
}
.date-slider1 .slick-dots{padding:10px 40px;    width: calc(100% - 80px);}
.date-slider1 .slick-dots li button {
    font-size: 20;color:#ACACAC;font-family: IBM Plex Sans;
    font-style: normal;
    font-weight: bold;
    line-height: 20px;}
    #souz-main .date-slider1 .slick-dots  button:before {
   display:none;
}
#souz-main .date-slider1  .slick-dots li {
   padding: 10px 9px;
    width: 40px;
}
#souz-main .company-page-right  .date-slider1   li.slick-active button,#souz-main .company-page-right  .date-slider1   li:hover button {color: #0B3340;border-bottom: 2px solid #921629;
    width: auto;
    height: 32px;}
.red_border-link{

}
#souz-main .allchats .messagedate {
    width: 100%;
}
#souz-main  .company-page-right {
    width: calc(100% - 330px);
}
#souz-main .container-padding {
    display: flex;
    justify-content: space-between;
}
.chat_send{padding-top:5px;}
#souz-main .company-page .chat img {
    margin-top: 0px;
}
.messages.allchats .your_message:hover {
    cursor:hand;
    background: #f2f2f2;
}
.date-slider1 .slick-dots{position:absolute;top:0px;max-height: 180px;overflow: overlay;width: calc(100% - 150px);}

.date-slider1 ul::-webkit-scrollbar {
    width: 7px;
    background-color: #921629;
}
.date-slider1 ul::-webkit-scrollbar-track {
   
    background-color: #f9f9fd;
}
.date-slider1 .slick-dots li button {

    width: 58px;height:30px;}
.date-slider1 ul::-webkit-scrollbar-thumb {
  background-color: #921629;   /* цвет плашки */
  border-radius: 20px;       /* закругления плашки */
  border: 3px solid #921629;  /* padding вокруг плашки */
}
.messages{overflow-x:hidden;width:100%;height:calc(100% - 100px);-ms-overflow-style: none; overflow: -moz-scrollbars-none;}
.messages::-webkit-scrollbar { width: 0; }

.chat_header{box-shadow: 0px 1px 4px 0px #0B33401F;position:absolute;top:0px;height:72px;width:100%;background:#fff;padding:18px;box-sizing:border-box;line-height: 36px;
font-family: IBM Plex Sans;font-weight: bold;}
.chat_footer{box-shadow: 0px -1px 4px 0px #0B33401F;position:absolute;bottom:0px;height:72px;width:100%;background:#fff;padding:18px;box-sizing:border-box;line-height: 36px;}
.chat_footer input{border-width:0px;width:calc(100% - 100px);padding: 10px;}
.chat_header a{float:left; margin-right:10px;}
.chat_footer a{float:right; margin-left:10px;}
.mymessage{padding:18px;text-align:right;position: relative;float: right;}
.your_message{padding:18px;position: relative;}
.your_message .messagetext{background: #F5F5F5;position: relative;padding:18px;    margin-left: 80px;}
.mymessage .messagetext{background: #274A55;position: relative;padding:18px;color:#FFFFFF;width:60%;float:right;}
.mymessage .messagetext:after{
	position:absolute;right:-20px;bottom:0px;
content:'';
width: 0;
	height: 0;
	border-bottom: 20px solid #274A55;; 
	border-right: 20px solid transparent;	
	}
.your_message .messagetext:after{
	position:absolute;left:-20px;bottom:0px;
content:'';
width: 0;
	height: 0;
	border-bottom: 20px solid  #F5F5F5; 
	border-left: 20px solid transparent;	
	
}
.messagedate{color:#82989F;font-family: IBM Plex Sans;font-weight: bold;padding-top:10px;}
.messagename{font-weight: bold;color:#ACACAC;font-family: IBM Plex Sans;padding-bottom:5px;}
.your_message img{border-radius:50%;position:absolute;left:20px;bottom:20px;}
.your_message .messagedate{color:#ACACAC;}
.your_message .messagename{    margin-left: 80px;}
@media all and (max-width: 780px){
	#souz-main  .container-padding.ch{padding:0px;}
	.chat{font-size:12px;}
	
}

/* allchats  */
.allchats .your_message .messagetext:after{display:none;}

.allchats .messagedate{float:right;padding-top:0px;}
.allchats .your_message .messagename{ color: #0B3340;

font-size: 20px;
font-style: normal;
font-weight: 700;
line-height: 20px;
letter-spacing: 0em;
text-align: left;}
.allchats .your_message img {
   bottom:auto;
    top: 50px;
}
/* rassilka */
#souz-main a.red_border-link{color:#921629;margin-top:20px;
	padding:15px 30px;display: block;
	width: 270px;
border: 1px solid #921629;
box-sizing: border-box;
border-radius: 1px;font-family: IBM Plex Sans;
font-style: normal;
font-weight: bold;
font-size: 14px;
text-align: center;
float:left;
margin-right:20px;
}
#souz-main a.red_border-link:hover, #souz-main a.red_border-link.dark{background:#921629;color:#fff;}
#souz-main a.red_border-link.dark:hover{background:#fff;color:#921629;}
/* documents  */
.docs .doc div{float:right;}
.chat.doki{border: 0px solid #DADADA;}
.docs .doc{padding:10px 15px;line-height:35px;border: 1px solid #DADADA;margin:10px 0px;}
#souz-main .company-page .chat .doc img{padding-top: 0px;margin-top:0px;display: block;padding-right:10px;
    float: left;}
	.doc a{display: block;float: right;padding-left: 10px;padding-top: 9px;}
	
	.chat.doki{height:auto;}
@media all and (max-width: 780px){
	.docs .doc div{position:absolute;right:10px;bottom:10px;}
	#souz-main .company-page .chat .doc img{position:absolute;left:10px;bottom:10px;}
	#souz-main .company-page .chat .doc div img{position:relative;left:auto;bottom:auto;}
	.docs .doc{padding-bottom:50px;position:relative;font-size:14px;}
	#souz-main .container-padding.ch.doki1{padding:10px;}
	#souz-main .ch h2{margin: 20px 0;}
	#souz-main  .container-padding.ch{padding:0px;}
	.chat{font-size:12px;}
	
}

.changepass{font-family: PT Sans;
font-size: 14px;
font-style: normal;
font-weight: 400;
line-height: 16px;
letter-spacing: 0em;
text-align: left;
}
.changepass input[type="submit"]{
margin-Top: 20px;
padding: 1px 30px;
display: block;
width: 270px;
border: 1px solid #921629;
box-Sizing: border-box;
border-radius: 1px;
font-Family: IBM Plex Sans;
font-Style: normal;
font-Weight: bold;
font-Size: 14px;
text-Align: center;
float: left;
margin-right: 20px;
background: #921629;
color: #fff;
text-transform: uppercase;
}
.changepass input[type="submit"]:hover{
color: #921629;
background: #fff;
}
.changepass input{width: 542px;margin: 10px 0px;
max-width:100%;display: block;
height: 56px;line-height:56px;padding:10px;
border: 1px solid #DADADA;
box-sizing: border-box;
border-radius: 1px;
float: left;
}
.pers input[name="EMAIL"]{
width: 270px;
margin: 10px 0px;
display: block;
height: 56px;
line-height: 56px;
padding: 10px;
border: 1px solid #DADADA;
box-sizing: border-box;
border-radius: 1px;
}
.changepass input .pers{width: 542px;margin: 10px 0px;
width:50%;display: block;
height: 56px;line-height:56px;padding:10px;
border: 1px solid #DADADA;
box-sizing: border-box;
border-radius: 1px;
float: left;
}
body .profile-table td {
width: 50%;
}
tr.personal{
float: right;
width: 50%;
}
.bx-auth-reg input[type="text"]{
width: 770px;margin: 10px 0px;
max-width:100%;display: block;
height: 56px;line-height:56px;padding:10px;
border: 1px solid #DADADA;
box-sizing: border-box;
border-radius: 1px;
float: left;
}
.bx-auth-reg input[type="password"]{
width: 370px;margin: 10px 0px;
max-width:100%;display: block;
height: 56px;line-height:56px;padding:10px;
border: 1px solid #DADADA;
box-sizing: border-box;
border-radius: 1px;
float: left;
margin-right: 20px;
}
.bx-auth-reg input[type="submit"]{
margin-Top: 20px;
padding: 16px 30px;
display: block;
width: 270px;
border: 1px solid #ACACAC;
box-Sizing: border-box;
border-radius: 1px;
font-Family: IBM Plex Sans;
font-Style: normal;
font-Weight: bold;
font-Size: 14px;
text-Align: center;
float: left;
margin-right: 20px;
background: #ACACAC;
color: #fff;
text-transform: uppercase;
}
.bx-auth-reg #text{
font-family: PT Sans;
font-size: 14px;
font-style: normal;
font-weight: 400;
line-height: 16px;
letter-spacing: 0em;
text-align: left;
color: #434D4F;
}
.password:nth-child(3),.password:nth-child(4){
width: 50%;
float: left;
display: block;
}
input[name="sf_EMAIL"]{
width: 270px;
margin-top: 32px;
max-width: 100%;
display: block;
height: 40px;
line-height: 56px;
padding: 10px;
border: 1px solid #DADADA;
box-sizing: border-box;
border-radius: 1px;
}
input[name="OK"]{
margin-top: 20px; padding: 15px 30px;
background: #FEFEFE;
width: 270px;
border: 1px solid #921629;
box-sizing: border-box;
border-radius: 1px;
font-family: IBM Plex Sans;
font-style: normal;
font-weight: bold;
font-size: 14px;
text-align: center;
float: left;
margin-right: 20px;
color: #921629;
}
input[name="OK"]:hover{
background: #921629;
color: #fff;
}