.fancybox-content{
	cursor: auto !important;
	min-width: 1000px;
	max-width: 80%;
	border-radius: 10px;
}
body{
	background-image: url('/images/squama.jpeg');
}
.client-item{
	display: flex;
	border: 1px solid lightgray;
	padding: 10px;
	margin: 5px;
}
a{
	outline: none;
}
.btn-xs{
	font-size: 10px;
	padding: 5px;
}
.info .item{
	background: #fff;
	border-radius: 10px;
	padding: 10px;
	font-size: 12px;

	box-shadow: 0px 2px 10px 0px rgb(0 0 0 / 10%);
}
main{
	min-height: 100%;
}
main > .container{
	box-shadow: 0px 0px 10px 0px rgb(0 0 0 / 15%);
	background: #f3f3f4;
	padding-bottom: 15px;
	min-height: 100%;
	padding-top: 15px;
}
.user-info .user-firstname{
	color: gray;
}
.user-online{
	width: 8px;
	height: 8px;
	border-radius: 50%;
}
.user-online.on{
	background: #00c9a6;
}
.user-online.off{
	background: #e46882;
}
.user-ip{
	font-weight: bold;
	cursor: pointer;
}
.select2-container{
	z-index: 10000;
}
.checkbox-group i{
	font-style: normal;
}
.checkbox-group{
	display: block;
	position: relative;
	padding-left: 17px;
	margin-bottom: 0;
	cursor: pointer;
	font-size: 14px;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}
.checkbox-group input {
	position: absolute;
	opacity: 0;
	cursor: pointer;
	height: 0;
	width: 0;
}
.checkbox-group span {
	border-radius: 50%;
	position: absolute;
	top: 0;
	bottom: 0;
	margin: auto;
	left: 0;
	height: 14px;
	width: 14px;
	background-color: #ccc;
}
.checkbox-group:hover input ~ span {
	background-color: #ccc;
}
.checkbox-group input:checked ~ span {
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: #007bff;
	overflow: hidden;
}
.checkbox-group:after {
	content: "";
	position: absolute;
	display: none;
}
.checkbox-group input:checked ~ span:after {
	position: relative;
	content: "";
	font-size: 16px;
	display: block;
	color: #007bff;
	background: #fff;
	content:"\f058";
	font-family: 'FontAwesome';
}
.checkbox-group span:after {
/*	left: 9px;
	top: 5px;
	width: 5px;
	height: 10px;
	border: solid white;
	border-width: 0 3px 3px 0;
	-webkit-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	transform: rotate(45deg);*/
}
.base-box{
	position: relative;
	background: #fff;
	padding: 15px;
	height: 100%;
	display: flex;
	flex-direction: column;
	box-shadow: 0px 2px 10px 0px rgb(0 0 0 / 10%);
	border-radius: 10px;
}
.navbar{
	box-shadow: 0px 2px 10px 0px rgb(0 0 0 / 10%);
	border-radius: 10px;
	padding: 15px;
	background: #fff;
}
legend{
	padding-left: 5px;
}
.navbar-nav{
	margin-left: -15px;
}
.base-box > *{
	position: relative;
	z-index: 2;
}
.base-box .heading{
	position: relative;
	padding: 15px;
	box-shadow: 0px 2px 10px 0px rgb(0 0 0 / 10%);
	margin: -15px;
	margin-bottom: 15px;
}
.checkbox-group.negativity span{
	background: #28a745 !important;
}
.checkbox-group.negativity span::after{
	display: none !important;
}
.checkbox-group.negativity input:checked ~ span{
	background: #e46882 !important;
}
.cr__client{
	font-size: 12px;
	border: 1px solid #e46882;
	border-radius: 5px;
	color: red;
	padding: 10px;
	line-height: 1.2;
	display: flex;
	flex-direction: column;
	height: 100%;
	align-items: center;
	justify-content: center;
}
.created-requests .item{
	margin-bottom: 30px;
}
.cr__subitem{
	align-self: flex-start;
}
.cr__subitem.active-on,
.cr__subitem.active-off{
	border-radius: 5px;
}
.cr__subitem.active-off > .d-flex:first-child{
	background: rgb(255 0 0 / 10%);
}
.cr__subitem.active-on > .d-flex:first-child{
	background: rgb(0 128 0 / 10%);
}
.cr__subitem .checkbox-group,
.cr__subitem,
.cr__filters{
	font-size: 13px;
}
.cr__subitem .checkbox-group{
	padding-left: 20px;
}
.cr__filters .btn-primary{
	padding: 2px 3px;
}
.cr__subitem > .d-flex{
	border: 1px solid #ccc;
	padding: 2px;
	border-radius: 5px;
}
.filters select,
.cr__filters select,
.cr__subitem select{
	border: 0;
	outline: none;
	/*font-weight: bold;
	color: #e46882;*/
	-webkit-appearance:none;
	background: url(/images/chevd.svg);
	background-repeat: no-repeat;
	background-position: right center;
	padding-right: 13px;
	background-size: 16px 16px;
}
.cr__subitem .i{
	padding: 0 6px;
}
.cr__subitem{
	position: relative;
	margin: 0 10px;
	margin-bottom: 20px;
	width: calc(20% - 20px);
}
.j-remove-subitem{
	position: absolute;
	font-size: 18px;
	top: -15px;
	right: -7px;
	z-index: 5;
}
.cr__subitem .i:nth-child(2){
	border-left: 1px solid #ccc;
	border-right: 1px solid #ccc;
}
.cr__subitem-wrap{
	margin: 0 -10px;
	margin-bottom: -20px;
}
.cr__subitem-site{
	display: inline-block;
	max-width: 100px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.j-loader{
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background: rgba(0,0,0,.3);
	z-index: 111111;
}
.j-add-subitem{
	position: absolute;
	top: -7px;
	right: -8px;
	font-size: 18px;
	line-height: 1;
	z-index: 5;
}
.j-add-subitem > i{
	background: #fff;
	border-radius: 100%;
}
.remove-item{
	position: absolute;
	top: -7px;
	background: #fff;
	line-height: 1;
	border-radius: 100%;
	left: 10px;
	font-size: 18px;
}
.j-wait-requests .data{
	margin: 0 -15px;
	margin-bottom: -20px;
}
.wr__item{
	border-radius: 5px;
	font-size: 13px;
	line-height: 1;
	padding: 5px 10px;
	padding-right: 3px;
	align-self:center;
	margin: 0 15px;
	margin-bottom: 20px;
}
.wr__item.success{
	background: #f2fdf9;
	color: #12caa9;
}
.wr__item.danger{
	background: #ffecef;
	color: #fd526c;
}
.wr__opts{
	margin-left: .5rem;
}
.wr__opts > *{
	border-right: 1px solid #fd526c;
	margin-top: -5px;
	margin-bottom: -5px;
	padding: 5px;
	width: 28px;
	height: 26px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	vertical-align: middle;
}
.wr__item.success .wr__opts > *{
	border-color: #12caa9;
}
.wr__opts > *:first-child{
	border-left: 1px solid #fd526c;
}
.wr__opts > *:last-child{
	border-right: 0;
}
.j-filter-data{
	margin-bottom: -30px;
}
.wr__item-return{
	position: absolute;
	top: -6px;
	left: -8px;
}
.tooltip{
	font-size: 12px;
}
.or__item-client{
	display: flex;
	position: relative;
	background: #fdf6f6;
	padding: 10px;
	border-radius: 5px;
	font-size: 18px;
	color: #dc3545 !important;
	border: 1px solid #ef7b86 !important;
	margin: 10px 10px 10px 0;
	min-width: 150px;
	justify-content: space-between;
}
.user-requests .labels,
.or__item-client .labels{
	display: flex;
	margin-top: -10px;
	margin-bottom: -10px;
	margin-right: -10px;
	margin-left: 15px;
}
.user-requests .label,
.or__item-client .label{
	width: 10px;
	display: block;
}
.user-requests .label.danger,
.or__item-client .danger{
	background-color: #ef7b86;
}
.user-requests .label.success,
.or__item-client .success{
	background: #00c9a6;
}
.or__item-site {
	border: 1px solid;
	border-radius: 5px;
	font-size: 12px;
	line-height: 1;
	padding: 4px 10px;
	margin: 3px;

	min-width: 120px;
	width: 200px;
	display: flex;
	justify-content: space-between;
}
.or__item-site.danger{
	color: #fd526c;
	border-color: #fd526c;
}
.or__item-site.danger.active{
	background: #fd526c;
	color: #fff;
}
.or__item-site.active .notes a{
	color: #fff !important;
	opacity: 1 !important;
}
.or__item-site.success{
	color: #12caa9;
	border-color: #12caa9;
}
.or__item-site.success.active{
	background: #12caa9;
	color: #fff;
}
.or__item-client + div{
	margin-top: 7px;
}
.or__item {
	border-bottom: 1px solid #737373;
	padding-bottom: 10px;
	margin-bottom: 5px;
	margin-left: -13px;
	padding-left: 13px;
	margin-right: -13px;
	padding-right: 13px;
}
.or__item-site span:not(.or__item-site span.or__item-sitename){
	border-left: 1px solid;
	padding-left: 7px;
	margin-left: 8px;
	text-align: center;
	display: flex;
	align-items: center;
}
.or__item-labels{
	top: -10px;
	right: 0;
}
.or__item-labels > span{
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	background: #fff;
	font-size: 14px;
}
.wr__item-delete,
.wr__item-sites-count{
	width: 16px;
	height: 16px;
	display: flex;
	border-radius: 50%;
	align-items: center;
	justify-content: center;
	font-size: 10px;
	line-height: 1.5;
	position: absolute;
	left: 10px;
	top: -12px;
	font-weight: bold;
}
.wr__item-delete{
	text-decoration: none !important;
	right: -10px;
	left: auto;
}
*[onclick^="fbGoTo"]{
	cursor: pointer;
}
fieldset{
	display: block;
	margin-inline-start: 2px;
	margin-inline-end: 2px;
	padding-block-start: 0.35em;
	padding-inline-start: 0.75em;
	padding-inline-end: 0.75em;
	padding-block-end: 0.625em;
	border-width: 2px;
	border-style: groove;
	border-image: initial;
	border: 1px solid lightgray;
}
.confirm-mod{
	opacity: .5;
}
.confirm-mod:hover{
	opacity: 1;
}
.mod-error-opts{
	display: none;
	position: absolute;
	text-transform: uppercase;
	font-size: 8px;
	align-items: center;
	top: 0;
	bottom: 0;
	text-align: center;
	background: #fff;
	left: 0;
	right: 0;
	justify-content: space-between;
	border-radius: 5px;
	font-weight: 500;
}
.or__item-site:hover .mod-error-opts{
	display: flex;
}
.mod-error-opts a{
	line-height: 1;
	text-decoration: none !important;
	color: #000;
	padding: 0 5px;
	height: 100%;
	display: flex;
	align-items: center;
	width: 50%;
	justify-content: center;
}
.mod-error-opts a:hover{
	background: #fd526c !important;
	color: #fff !important;
}
.cashout-action{
	background: #eafbf8 !important;
	color: #55c4aa !important;
	font-weight: bold;
	font-size: 11px;
	align-self: center;
}
.cashout-action:hover{
	background: #55c4aa !important;
	color: #eafbf8 !important;
}
.bonus-progressbar{
	position: relative;
	height: 4px;
	background: #eaebed;
	margin-top: 5px;
}
.bonus-progressbar .active{
	height: 100%;
	background: #00c9a6;
}
.user-requests .data{
	margin-right: -15px;
}
.tree{
	margin-left: 0px !important;
	border-left: 1px solid #cfb0ab;
	margin-top: 5px !important;
	display: inline-flex;
	flex-direction: column;
	margin-right: 15px !important;
	min-height: 28px;
	margin-bottom: 10px !important;
}
.tree, .tree ul{
	list-style: none;
	margin: 0;
	padding: 0;
	margin-left: 15px;
}
.tree ul{
	display: none;
}
.tree ul.expanded{
	display: block;
}
.tree > li:first-child{
	margin-left: -1px;
}
.tree > li a.client-name{
	font-weight: bold;
	color: #bf4f41;
	border: 1px solid #d0aeae;
	border-radius: 5px;
	background: #fff4f1;
	padding: 5px 10px;
	display: inline-block;
	margin-top: -5px;
	margin-bottom: -5px;
}
.tree > li a.client-name.positive{
	color: #55c4aa !important;
	border-color: #55c4aa !important;
	background-color: #eafbf8;
}
.text-success{
	color: #55c4aa !important;
}
.tree li ul{
	margin-top: 20px;
}
.tree li ul li{
	position: relative;
	margin-bottom: 10px;
}
.tree li ul li::before{
	content:"";
	position: absolute;
	height: 1px;
	width: 15px;
	background: #cfb0ab;
	top: 0;
	bottom: 0;
	margin: auto;
	left: -15px;
}
.tree li > ul > li:last-child::after {
	content: "";
	position: absolute;
	left: -15px;
	width: 15px;
	height: 24px;
	background: #fff;
	bottom: -10px;
}
.tree li ul li .site-name{
	text-decoration: none;
	font-weight: 500;
	color: #e56d88;
	border: 1px dashed #e56d88;
	border-radius: 5px;
	padding: 3px 5px;
	display: inline-flex;
	font-size: 90%;
	align-items: center;
	justify-content: space-between;
	line-height: 1;
	min-height: 30px;
}
.tree li ul li.positive .site-name{
	border-color:#00c9a6;
	color: #00c9a6;
}
.user-requests .client-name{
	position: relative;
	display: flex !important;
	justify-content: space-between;
}
.user-requests .labels{
	margin: -5px -10px -5px 15px;
}
.o5{
	opacity: .5;
}
.user-requests .site-name .opts{
	margin-left: 5px;
}
.user-requests .site-name .opts span{
	border-left: 1px solid #00c9a6;
	display: inline-block;
	padding: 0 5px;
}
.user-requests .negative .site-name .opts span{
	border-left-color: #ef7b86;
	border-left-style: dashed;
}
.user-requests .tree > li > ul > li{
	display: flex;
	align-items: center;
}
.user-requests .tree > li > ul > li .callback-messages{
	position: relative;
	padding-left: 10px;
	white-space: nowrap !important;
}
.success-sticker,
.warning-sticker,
.error-sticker{
	display: inline-flex;
	background: #fedfe4;
	padding: 5px;
	color: #dc5270 !important;
	border-radius: 5px;
	text-decoration: none !important;
}
.success-sticker{
	background: #eafbf8 !important;
	color: #55c4aa !important;
}
.warning-sticker{
	background: #fdf2d9;
	color: #e3c779 !important;
	width: 26px;
	height: 26px;
	line-height: 1;
}
.error-sticker > .fa-times{
	line-height: 1;
	width: 16px;
	height: 16px;
	text-align: center;
}
.overlay{
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 9;
}
.overlay.white{
	background: rgba(255,255,255,.5);
}
.toasts{
	position: fixed;
	z-index: 99999;
	right: 10px;
	top: 10px;
}
.toast{
	width: 300px;
	opacity: 1;
}
.btn-success{
	background-color: #00c9a6;
	border-color: #00c9a6;
}
.site-name.btn-success{
	border-style: solid;
	z-index: 1;
}
.news-list li{
	line-height: 1;
}
a[disabled]{
	cursor: not-allowed !important;
}
.tree li ul li .site-name.bg-danger{
	background-color: #e56d88 !important;
	color: #fff;
}
.tree li ul li .site-name.bg-success{
	background-color: #00c9a6 !important;
	color: #fff;
}
.notices{
	max-width: 600px;
}
.pagination li{
	margin-bottom: 10px;
}
.pagination li a,
.pagination li span {
	border: 1px solid #007bff;
	border-radius: 2px;
	padding: 3px;
	width: 32px;
	display: block;
	text-align: center;
	justify-content: center;
	margin: 0 5px;
	text-decoration: none;
	color: #007bff;
	background-color: #fff;
}
.pagination li.disabled{
	display: none;
}
.pagination li.active a{
	color: #fff;
	background-color: #007bff;
}
.pagination{
	margin-top: 25px;
	justify-content: end;
	flex-wrap: wrap;
	margin-bottom: -10px;
}
.or__item-client > span{
	word-break: break-all;
}
#pjax_users .expand-btn{
	text-align: center;
	font-size: 12px;
	width: 100px;
	margin: 0 auto;
	display: block;
	background: #fff;
	border-radius: 5px;
	box-shadow: 0px 2px 10px 0px rgb(0 0 0 / 10%);
	margin-top: 5px;
	position: absolute;
	left: 0;
	right: 0;
	z-index: 2;
}
#pjax_users .expand-btn::after{
	content: "Развернуть";
}
#pjax_users.active .item{
	max-height: none !important;
}
#pjax_users.active .expand-btn::after{
	content:'Свернуть';
}
#pjax_users .item > .user-info:last-child{
	margin-bottom: 0 !important;
}
.j-mod-site-filter{
	font-size: 14px;
	display: inline-block;
	width: 200px;
}
.grayscale{
	/*filter: grayscale(1);*/
}
.grayscale .or__item-site{
	color: gray;
	border-color: gray;
}
.grayscale .checkbox-group input:checked ~ span:after{
	color: gray;
}
.search-engine-sticker{
	width:25px; 
	border-radius: 5px;
	top:-1px;
	position: relative;
	display: inline-block;
}
img{
	max-width: 100%;
}
.refresh-balance-btn{
	padding:0 3px;
	position: absolute;
	right:20px;
	top:5px;
}
.notices time{
	width: 125px;
	display: inline-block;
	font-size: 12px;
}
.notices{
	max-height: 90%;
	overflow-y: scroll;
}
.notice-item {
	padding: 10px 0;
	border-bottom: 1px solid #e9e9e9;
	opacity: .5;
}
.notice-item.active{
	opacity: 1;
}
.notice-item span:last-child{
	display: block;
}
.profit-submit{
	height: 30px;
	border: 1px solid #767676;
}
.uniq-result-list{
	top: -6px;
	right: 0;
	background: #fff;
	line-height: 1;
	font-weight: bold;
	font-size: 10px;
}
.uniq-result-list .uniq-result{
	font-weight: bold;
}
.uniq-result-list .divider{
	padding-left: 4px;
	margin-left: 5px;
}
.card + .card {
	margin-top: 30px;
}
@media (max-width: 991px){
	.navbar{
		justify-content: flex-end;
	}
	.quick-nav{
		position: absolute;
		top: 15px;
		right: 100px;
	}
	.navbar-collapse{
		margin-top: 10px;
	}
	.fancybox-content{
		min-width: 0 !important;
		max-width: 90%;
	}
	.card-footer{
		flex-direction: column;
	}
	.card-footer > div{
		margin-bottom: 15px;
	}
	.navbar-nav{
		margin-left: 0;
	}
}
@media (max-width: 767px){
	.or__item > .d-flex{
		flex-direction: column;
		align-items: flex-start !important;
	}
	/*.or__item-client + div{
		margin-top: 0;
		}*/
		.or__item-client + div > hr:first-child{
			display: none !important;
		}
		.j-site-wrap{
			margin-bottom: 20px !important;
			margin-top: 20px !important;
		}
		.mod-error-opts{
			display: flex !important;
			top: -25px;
			bottom: auto;
		}

		.info .item{
			box-shadow: none;
			border-radius: 0;
		}
		.info{
			box-shadow: 0px 2px 10px 0px rgb(0 0 0 / 10%);
			border-radius: 10px;
			background: #fff;
			overflow: hidden;
		}
		.info .btn-primary{
			float: right;
			border-top-left-radius: 10px;
		}
		#pjax_balance_bonus{
			background: rgb(255 193 6 / 11%);
			border-radius: 10px;
			margin: 0 10px;
		}
		.refresh-balance-btn{
			right: 30px;
		}
	}
	@media (max-width: 567px){
		.fancybox-content{
			padding: 20px !important;
		}
		legend{
			font-size: 1rem;
			font-weight: bold;
		}
		.form-group.d-flex{
			flex-direction: column;
			justify-content: flex-start;
			align-items: flex-start !important;
			width: 100%;
		}
		.form-group.d-flex label{
			width: 100%;
			margin-bottom: 10px !important;
			display: block;
		}
		.form-group.d-flex label + *:not(#enable_bonus){
			width: 100% !important;
		}
	}
	@media (max-width: 380px){
		.tree li ul li .site-name{
			font-size: 70%;
		}
		.success-sticker, .warning-sticker, .error-sticker{
			padding: 2px;
		}
		.warning-sticker{
			width: 20px;
			height: 20px;
		}
		.search-engine-sticker{
			width: 20px;
			height: 20px;
		}
		.info h3{
			font-size: 1.25rem;
		}
	}