@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700;900&display=swap');

body {
  padding: 0;
  margin: 0;
  height: 100vh;
  overflow: hidden !important;
  height: calc(var(--vh, 1vh) * 100);
  max-width: 100%;
  background-color: #36393F;
  /*
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;  
  */
}

*{
  padding: 0;
  margin: 0;
  font-family: 'Roboto', sans-serif;
  box-sizing: border-box;
}

::-webkit-scrollbar {
  width: .125rem;
  height: .125rem;
}

::-webkit-scrollbar-thumb {
  background: #a3a3a3;
  border-radius: 1rem;
}

.dn {
	display: none;
}

.user_anon {
	z-index: 999999999;
	position: fixed;
	height: 100%;
	width: 100%;
	top: 0;
	background-color: rgba(0, 0, 0, 0.75);
	display: flex;
	align-items: center;
	justify-content: center;
}

.wrap_anon {
	height: 340px;
	width: 400px;
	/*margin: 0 5px;*/
	margin-top: -100px;
	background-color: #36393F;
	border-radius: 5px;
	padding: 15px 10px;
	position: relative;
}

.wrap_anon button{
	background-color: #43B581;
}

.wrap_anon button:hover{
	background-color: #59B58C;
}

.img_src{
	height: 120px;
	width: 120px;
	position: absolute;
	top: -60px;
	border-radius: 5px;
	background-color: #36393F;
	overflow: hidden;
	left: 50%;
	transform: translateX(-50%);
}

.avatar-changer{
	height: 100%;
	display: none;
	cursor: pointer;
	position: absolute;	
	text-align: center;
	color: #fff;
	top: 0;
	width: 100%;
	background-color: rgba(0, 0, 0, 0.5);
}

.img_src:hover .avatar-changer{
	display: block;
	display: flex;
	justify-content: center;
	align-items: center;
}

.show-film{
	cursor: pointer;
	position: absolute;
	bottom: 30px;
	left: 50%;
	transform: translateX(-50%);
}

.img_src img{
	height: 100%;
}

.wrap_anon span{
	color: #8E9297;
}

.wrap_anon a:hover{
	color: #fff;
}
.input-group{
	margin: 10px 0;
}

.form-control{
	background-color: #40444B !important;
	color: #9aa2ab !important;
}

.form-control:focus{
	color: #fff !important;
}

.input-group-append button{
	border-radius: 0 5px 5px 0;
	width: 50px;
	cursor: pointer;
}

.input-group-append button span{
	color: #fff !important;
}
/*LOADER*/
.preloader {
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  background: #36393F;
  z-index: 1001;
}

.loader {
  position: absolute;
  top: calc(50% - 32px);
  left: calc(50% - 32px);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  perspective: 800px;
}

.inner {
  position: absolute;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  border-radius: 50%;  
}

.inner.one {
  left: 0%;
  top: 0%;
  animation: rotate-one 1s linear infinite;
  border-bottom: 3px solid #EFEFFA;
}

.inner.two {
  right: 0%;
  top: 0%;
  animation: rotate-two 1s linear infinite;
  border-right: 3px solid #EFEFFA;
}

.inner.three {
  right: 0%;
  bottom: 0%;
  animation: rotate-three 1s linear infinite;
  border-top: 3px solid #EFEFFA;
}

.loading-text{
	font-family: sans-serif;
	font-style: italic;
	color: #fff;
	position: absolute;
	left: 50%;
	top: 50%;
	margin-top: 60px;
	text-align: center;
	width: auto;
	transform: translate(-50%, -50%);
}

@keyframes rotate-one {
  0% {
    transform: rotateX(35deg) rotateY(-45deg) rotateZ(0deg);
  }
  100% {
    transform: rotateX(35deg) rotateY(-45deg) rotateZ(360deg);
  }
}

@keyframes rotate-two {
  0% {
    transform: rotateX(50deg) rotateY(10deg) rotateZ(0deg);
  }
  100% {
    transform: rotateX(50deg) rotateY(10deg) rotateZ(360deg);
  }
}

@keyframes rotate-three {
  0% {
    transform: rotateX(35deg) rotateY(55deg) rotateZ(0deg);
  }
  100% {
    transform: rotateX(35deg) rotateY(55deg) rotateZ(360deg);
  }
}

.loaded_hiding .preloader {
  transition: 0.3s opacity;
  opacity: 0;
}

.loaded .preloader {
  display: none;
}
/*LOADER*/

/*POPPER*/
popover-body{
	display: none !important;
}
.popover-header {
    background: #000;
    color: white;
    padding: 6px 10px;
    font-size: 12px;
    border-radius: 4px;
    border: none;
}

.popover{
	background: #000;
}

.popover-body{
	padding: 0 !important;
}

.arrow,
.arrow::before,
.arrow::after {
 	border-top-color: #000 !important;
}
/*POPPER*/


.none{
	display: none !important;
}

.block{
	display: block;
}

.vip{
	color: #E20D86 !important;
}

.main{
  display: flex;
  flex-direction: row;
  padding: 0 !important;
  height: 100%;
  width: 100%;
}

.player{
  flex: 1;
  height: 100vh;
  background-color: #000;
}

.player-text{
  /*position: fixed;*/
  display: flex;
  font-size: 20px;
  /*left: 20px;*/
  /*top: 2px;*/
  height: 42px;
}

.player-text a img{
  height: 100%;
}

.player-text a{
  /*display: flex;*/
  align-items: center;
  height: 100%;
  color: #fff;
}

.player-text a:hover{
  color: #fff;
}

.chat{
	width: 300px;
	display: flex;
	flex-direction: column;
	background-color: #36393F;
}

.top-side{
	background-color: #2F3136;
	padding-bottom: 6px;
}

.buttons{
	padding: 10px;
	display: flex;
	justify-content: space-between;
}

.btn-darky{
	background-color: #202225;
	color: #72767D;
	padding: 5px 7px;
	border-radius: 5px;
	font-size: 13px;
}

.btn-darky:hover{
	text-decoration: none;
	color: #9EA4AD;
}

.poligon{
	padding: 7px 10px;
	cursor: pointer;
	text-transform: uppercase;
	font-size: 12px;
	color: #8E9297;
	font-weight: 400;
}

.poligon:hover{
	color: #DCDDDE;
}

.user-list{
	padding: 0 6px;
}

.current-user{
	height: 38px;
	border-radius: 5px;
	display: flex;
	margin-bottom: 5px;
	align-items: center;
	padding: 6px 5px;
}

.avatar{
	height: 32px;
	width: 32px;
	background-color: #202225;
	background-position: center center;
	background-repeat: no-repeat;
	-webkit-background-size: cover;
	background-size: cover;
	border-radius: 100%;
	cursor: pointer;
}

.nick{
	margin-left: 10px;
	font-size: 15px;
	height: 100%;
	display: flex;
	align-items: center;
	color: #8E9297;
}

.nick i{
	font-size: 11px;
	margin-left: 4px;
	padding-bottom: 1px;
	color: #FAA61A !important;
}

.timer{
	margin-left: auto;
	font-size: 13px;
	color: #8E9297;
}

.link-to-user{
	color: #8E9297;
}

.current-user:hover{
	text-decoration: none;
	color: #DCDDDE;
	background-color: #34373C;
}

.current-user:hover .link-to-user,
.current-user:hover .timer{
	color: #DCDDDE;
}

.bottom-side{
	position: relative;
	display: flex;
	flex-direction: column;
	flex: 1;
	overflow: auto;
}

.chat-hider{
	display: flex;
	flex-shrink: 0;
	align-self: end;
	width: 300px;
	height: 60px !important;
}

.input{
	position: fixed;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 10px;
	bottom: 0;
	right: 0;
	width: 300px;
	height: 60px;
	background-color: #36393F;
}

.input form{
	width: 100%;
	display: flex;
}

/*emoji.css 91 => delete border*/
/*EMOJIPICKER*/
.emoji-wysiwyg-editor,
input{
	cursor: text;
	background-color: #40444B;
	border-radius: none !important;
	color: #dcddde !important;
	line-height: 25px;
	padding: 5px 38px 5px 10px;
	border-radius: 8px;
	outline: none;
	border: none;
	font-size: 15px;
	flex: 1;
	overflow: hidden !important;
}

.emoji-wysiwyg-editor.parent-has-scroll{
	line-height: 18px;
}

.emoji-picker-icon.parent-has-scroll {
    right: 65px;
}

.emoji-picker-icon{
	position: absolute;
	right: 65px;
	height: 20px;
	top: 20px;
	color: #B9BBBE;
}

.emoji-items-wrap1{
	background-color: #2F3136;
	padding: 0;
}

.emoji-menu{
	position: absolute;
	border: 1px solid #2F3136;
	bottom: 60px;
	right: 10px;
}

.emoji-menu-tab{
	cursor: pointer;
}

.emoji-menu-tabs{
	background-color: #202225;
	margin-top: 0 !important;
	height: 37px;
}

.emoji-items-wrap{
	margin-left: 9px;
}

.emoji-menu .emoji-items a:hover{
	background-color: #4F545C;
}
/*EMOJIPICKER*/

.send{
	margin-left: 10px;
	outline: none !important;
	height: 35px;
	width: 35px !important;
	background-color: #4491FA;
	color: #fff;
	border-radius: 100%;
	border: none;
}

.chat-wrapper{
	overflow-y: scroll;
	padding: 0 6px 6px 6px;
	justify-content: flex-end !important;
}

.message{
	margin-top: 5px;
	word-break: break-all;
	padding: 3px 5px;
	border-radius: 5px;
	display: flex;
}

.current-msg{
	margin-left: 10px;
	flex: 1;
	font-weight: 400;
	font-size: 15px;
}

/*.username-msg{
	text-transform: capitalize;
}
*/
.username-msg small{
	color: #72767d;
}

.username-msg a{
	color: #fff;
	text-shadow: 1px 1px 0 black;
}

.username-msg a:hover{
	color: #fff;
}

.msg{
	color: #C9CBCC;
	font-size: 14px;
}

.message:hover{
	background-color: #32353B;
}


/*USERSETTINGS*/
.p-user-settings{
	width: 200px;
	height: auto;
	background-color: #18191C;
	padding: 7px;
	margin-bottom: 0 !important;

}

.p-user-settings li{
	list-style-type: none;
	color: #B9BBBE;
	margin: 0 auto;
	padding: 5px 10px;
	border-radius: 3px;
	cursor: pointer;
	margin-top: 2px;
	font-size: 13px;
	font-weight: 400;
	transition: .1s;
}

.p-user-settings li .custom-control{
	float: right;
	margin-right: -10px;
	margin-top: -2px;
	cursor: pointer;
}

.p-user-settings li:hover{
	background-color: #4491FA;
	text-decoration: none;
	color: #fff;

}

.bs-popover-bottom .arrow:after,
.bs-popover-bottom .arrow:before{
	border-bottom-color: #18191C;
}

.dg-user-menu{
	color: #f04747 !important;
}

.dg-user-menu:hover{
	color: #fff !important;
	background-color: #f04747 !important;
}

/*USERSETTINGS*/
.alert-head{
	height: 34px;
	width: 34px;
	display: flex;
	justify-content: center;
	align-items: center;
	margin-right: 10px;
}

.alert-head i{
	font-size: 22px;
	color: #43B581;
}

.user-c{
	display: flex;
	font-size: 15px;
	align-items: center;
	color: #fff;
}

.user-c:hover{
	color: #fff;
}

.message span{
	/*text-transform: lowercase;*/
	/*display: flex;*/
	align-items: center;
	color: #8E9297;
	font-size: 14px;
	margin: 0 7px;
}

.fa-stop,
.fa-arrow-left,
.fa-ban,
.fa-microphone-slash{
	color: #f04747;
}

#recording,
.somebody-is-texting{
	z-index: 99;
	background-color: #36393F;
	display: flex;
	flex-direction: column;
	position: absolute;
	bottom: 45px;
	right: 0;
	width: 300px;
	color: #fff;
}

#recording,
.somebody-is-texting span{
	padding: 1px 5px 1px 15px;
	font-size: 10px;
}

.somebody-is-texting span:after{
	content: 'печатает...';
	position: absolute;
	margin-left: 6px;
	color: #8E9297;
}

@media screen and (max-width: 767.98px) {
	.main{
		flex-direction: column;
	}
	.player{
		flex: 0;
		height: calc(var(--vh, 1vh) * 50);
	}
	.chat{
		width: 100% !important;
		flex: 1;
		overflow-y: scroll;
	}
	.buttons{
		justify-content: flex-start;
	}
	.btn-darky{
		margin-right: 10px;
	}
	.input,
	.somebody-is-texting{
		width: 100% !important;
	}
	.player-text {
		font-size: 16px;
		height: 32px;
	}
}

/*
@media screen and (max-width: 800px) {
  .player-text{
    display: none;
  }
  .player{
    height: calc(var(--vh, 1vh) * 37);
  }
}
*/

@media screen and (max-width: 600px) {
  .player{
    height: calc(var(--vh, 1vh) * 32);
  }
}

@media screen and (max-width: 450px) {
  .player,
  iframe{
    min-height: 200px !important;
  }
}

#connecting-ws {
  animation: blinker 1s linear infinite;
}

@keyframes blinker {
  50% {
    opacity: 0;
  }
}

.toast-wrapper{
	display: flex;
	position: fixed;
	flex-direction: column;
	top: 70px;
	right: 10px;
	z-index: 999;
}

#playlist {
	margin-top:  3px;
}

#playlist-block{
  display: flex;
  flex-direction: row;
  padding: 0 !important;
}

.next-film {
	width: 100%;
	text-align: center;
	background-color: black;
	opacity: 0.8;
	padding: 10px;
	border-radius: 15px;
	margin-top: 10px;
}

.next-film p {
	margin-top: 5px;
	color: white;
}
.next-film img {
	max-width: 180px;
}
