@import url('https://fonts.googleapis.com/css?family=Open+Sans:300,400,700&subset=cyrillic');
html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, address, q, small, strong,b, dl, dt, dd, ol, ul, li, form, label, legend, article, aside, canvas, figure, footer, header, hgroup, menu, nav, section, audio, video{margin: 0; padding: 0; font-size: 100%; } article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section{display: block; position: relative; padding: 0; list-style: none; } audio, canvas, iframe, img, svg, video{vertical-align: middle;} textarea{resize: vertical;} *{outline: none; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; } a img{border: none;} img{max-width: 100%;height: auto;} strong, b{font-weight: bold;}
body {font-family: 'Open Sans', sans-serif; font-size:17px; line-height:1.4;}

fieldset {border:1px solid #cecece;}
fieldset::after {clear:both;}
legend {padding:5px; background:#ffffff;}

input {vertical-align: top; font-size:15px; padding:7px; border-radius:3px; width:auto; overflow:visible; font-family: 'Open Sans', sans-serif; border:1px solid #cecece;}
input[type="file"] {display:block; width:100%; margin-bottom:10px;}
button {font-size:15px; padding:7px; width:auto; overflow:visible; border-radius:3px; cursor: pointer; border: 1px solid #666666; background:#666666; color:#ffffff; font-family: 'Open Sans', sans-serif;}
textarea{resize:vertical;  border-radius:3px; padding:7px; font-size:15px; font-family: 'Open Sans', sans-serif; width:100%; height:50px;  border:1px solid #cecece;}
textarea.config{width:100%; min-height:70px;} 
textarea.config_big{width:100%; min-height:170px;} 

button:disabled, button[disabled]{background-color: #cccccc; color: #000000; cursor: default;}
select {cursor:pointer; font-size:15px; padding:7px; border-radius:3px; width:auto; border: 1px solid #cecece;  background:transparent; overflow:visible; font-family: 'Open Sans', sans-serif;}
	optgroup {font-weight:lighter; background:#cecece;}
	option {background:#ffffff;}
button.showaction {background:#666666;}
	
.hide	{display:none;}
.show	{display:show;}
.error {border:1px solid #ff0000;}
.clear {clear:both;}

form#auth {width:315px; margin:0 auto; padding:10px;}	
	form#auth input {width:300px; margin:8px 0 8px 0; }
	form#auth button {width:110px; padding:5px; float:right}
		form#auth button:disabled, button[disabled] {color: transparent; border:none; cursor: default; background:url('/k.it:crm/i/pic/loader.svg') no-repeat right #ffffff;}
	form#auth #auth_data {padding-top:5px; color:#ff0000; line-height:1.2; font-size:14px;} 
	
form#tech_auth {width:315px; margin:0 auto; padding:10px;}	
	form#tech_auth input {width:300px; margin-bottom:8px; padding:5px;}
	form#tech_auth button {width:110px; padding:5px; float:right}
		form#tech_auth button:disabled, button[disabled] {color: transparent; border:none; cursor: default; background:url('/k.it:crm/i/pic/loader.svg') no-repeat right #ffffff;}
	form#tech_auth #auth_data {padding-top:5px; color:#ff0000;}
	
main {width:80%; min-width:980px; margin:5px auto;}
header {width:80%; min-width:980px; margin:5px auto; text-align:center;}
#admin_panel {background:#eeeeee; width:100%;}
	#admin_panel #nav {float:left; min-width:200px;  padding:8px 5px 8px 5px;}
	#admin_panel #admin {float:right; min-width:250px; text-align:right;  padding:8px 5px 8px 5px;}
		#admin_panel #admin #exitadmin {margin-left:10px;}
	
	#menu {display:none; padding:5px; z-index:1000;}
		#menu ul {list-style-type:none;}
		#menu li {display:block; float:left; }
			#menu li a {color:#666666; display:block; margin:3px 6px 3px 0; padding:5px 10px 5px 10px; border:1px solid #cecece; border-radius:5px; text-decoration:none;}
			#menu li a.active {background:#eeeeee;}
			#menu li a:hover {background:#666666; color:#ffffff;  border:1px solid #666666;}

    #change_pass{display:none; padding:5px; z-index:1000;}
    #change_pass form{float:right;}

section#edit_content {min-height:300px; width:100%; min-width:980px; border-bottom:1px solid #eeeeee; padding-top:15px;}
	section#edit_content ul {list-style-type:none;}
	section#edit_content label {cursor:pointer;}
	section#edit_content h1 {font-weight:lighter; font-size:30px; border-bottom:1px solid #eeeeee; padding-bottom:10px;}
	section#edit_content h1 button {}
	section#edit_content h1 span {font-size:15px; font-weight:bolder; color:#999999;}
	section#edit_content h1 a {font-size:15px; padding:7px; width:auto; overflow:visible; border-radius:3px; cursor: pointer; background:#666666; color:#ffffff; text-decoration:none;}
	
	section#edit_content h2 {font-weight:lighter; font-size:25px;}
	
	section#edit_content table {border-collapse: collapse; font-size:15px; margin:10px 0 10px 0; width:100%; line-height:1.3;}
	section#edit_content table tr, table td, table th {padding: 5px; vertical-align: top; border:1px solid #333333;}
	section#edit_content table th { color: #000000; font-weight:normal; font-size:16px; text-align:left; font-weight:lighter;}
	section#edit_content table tr:hover td {background: #d2fcda;}
	section#edit_content table tr.nohover:hover td {background:none;}
			section#edit_content a {color:#336699;}
			
	section#edit_content table.stat_reg {border-collapse: collapse; font-size:13px; margin:10px 0 10px 0; width:750px; line-height:1.3;}
	section#edit_content table.stat_reg tr, table td, table th {padding: 5px; vertical-align: top; border:1px solid #333333;}
	section#edit_content table.stat_reg th { color: #000000; font-weight:normal; font-size:15px; text-align:center; font-weight:lighter;}
	section#edit_content table.stat_reg tr:hover td {background: #d2fcda;}
	section#edit_content table.stat_reg tr.nohover:hover td {background:none;}

	
	section#edit_content table tr.highlight {color: #ff0000;}

	section#edit_content table tr.pale {background: #eeeeee; opacity: .5;}
	section#edit_content table tr.pale td{background: #eeeeee; opacity: .5;}
	section#edit_content table tr.pale:hover  td{background: #cecece; opacity: .5;}
		section#edit_content table tr.pale td button {display:none;}
	
	section#edit_content table tr ul.export_config {}	
		section#edit_content table tr ul.export_config li{margin-bottom:3px; padding-bottom:3px; border-bottom:1px solid #e1e1e1;}	
	section#edit_content table.no_border {border:none; width:100%; font-weight:bolder;}
	section#edit_content table.no_border tr, table.no_border td, table.no_border th {border:none;}
	section#edit_content table td.name span {display:block; font-size:12px; font-weight:bolder;}
	
	form#work {margin-bottom:10px;}

	section#edit_content ul.pagination {margin:20px 0 10px 0;}
	section#edit_content ul.pagination li {display:inline-block;  margin-right:5px; min-width:40px; text-align:center;}
	section#edit_content ul.pagination li.active {background:#666666;}
		section#edit_content ul.pagination li.active span{font-weight:bolder;  display:block; color:#ffffff; padding:10px; min-width:40px;}
	section#edit_content ul.pagination li a {color:#000000; display:block; padding:10px; min-width:40px; background:#eeeeee; }
		section#edit_content ul.pagination li a:hover {background:#666666; color:#ffffff;}
	
	ul.change {}
		ul.change  span {display:block; padding:4px; background:#eeeeee; margin:10px 0 10px 0;}

	input[type="text"].config{width:100%;}
	input[type="text"].smallconfig{width:60%;}
	input[type="date"].config{width:210px; margin-right:10px;}
	input[type="email"].config{width:100%;} 
	select.config{width:100%;} 
	.action_panel {}
		.action_panel  span#action_result{text-align:right; color:#ff0000;}
		.action_panel  #action_button {text-align:right; }
		.action_panel  a {font-size:17px; padding:7px; width:auto; overflow:visible; border-radius:3px; cursor: pointer; background:#666666; color:#ffffff; text-decoration:none;}

#cms {margin:0 auto; width:80%; min-width:980px; font-size:12px; text-align:right; min-height:80px;}
	#cms a {color:#333333; text-decoration:none;}

sup {font-size:10px; font-weight:bolder;}
small {font-size:11px; line-height:0.7;}
small sup {color:#ff0000; }

a:hover{text-decoration:none;}

.hidden {display:none;}

#show_content_result {}
#show_content_result p{margin-bottom:10px;}
#show_content_result ul{margin:10px 0 10px 20px;}
#show_content_result h2, h3{margin:0 0 20px 0;}

#addListCategory {margin:20px 0 20px 0;}
form #action_result {color:#ff0000; font-size:15px; font-weight:lighter;}
#formAddCategory {}
#showListCategory {margin-top:10px; padding:5px 0 15px 0;}

tr.edit {display:none;}
h4 span {font-weight:lighter; color:#999999;}

.variant_form textarea {height:80px;}
.variant_form input {display:inline-block;  margin-bottom:10px;}

textarea.edit_filter {height:80px;}
input.edit_filter {display:inline-block;  margin-bottom:10px;}

.tdaction {text-align:right;}
.new_list {padding:10px; background:#eeeeee;}

a.filter_sort {display:inline-block; margin:2px; padding:1px; border:none; text-decoration:none; font-size:22px; cursor:pointer;}
a.filter_sort_no {display:inline-block; color:#cecece; margin:2px; padding:1px; border:none; text-decoration:none; font-size:22px; cursor:default;}
#config_save {margin-bottom:20px;}

.def_filter {margin:5px 0 10px 0; padding-bottom:5px; border-bottom:1px solid #cecece;}
.def_filter h4{font-size:15px;}
.def_filter ul{font-size:15px;}

form {margin-bottom:10px;}
h3 span {display:block; font-size:15px; font-weight:lighter;}
.show_filter_data {margin-bottom:10px; padding:5px; background:#f1f1f1;}
.show_filter_data p {margin-bottom:5px; padding-bottom:5px; border-bottom:1px solid #cecece;}
.show_filter_data p span {display:inline-block; padding:2px; background:#c1c1c1; }
.clear_radio {border-bottom:1px dotted #000000; display:inline-block; margin-left:30px; cursor:pointer; font-size:14px;}
.clear_radio:hover {border:none;}

.list_form {margin-bottom:10px; padding-bottom:10px; border-bottom:2px dashed #cecece;}
p span.category {padding:3px; background:#336699; font-size:12px; color:#ffffff; font-weight:lighter;}
b.parent_filter {color:#999999;}

#saveCardNum {margin-bottom:20px;}
#saveCardNum #partnerCard {width:300px; margin-bottom:10px;}
#saveCardNum #saveCardNumBtn{}
#pass_restore {font-size:14px; color:#000000; display:inline-block; padding-top:5px;}

.action_panel span#action_result {
    text-align: right;
    color: #ff0000;
}

.timeend {background:#FCD3D3}

#client_search {margin-top:10px;}
#search_blck input[type=text]{width:500px}

.smoke-dialog {
 width            : 500px;
 margin           : 0 auto;
 padding          : 20px;
 color            : #202020;
 border           : 1px solid #B6B6B6;
 border-radius    : 5px;
 background-color : #f3f3f3;
 font-size        : 18px;
 font-weight      : normal;
 text-align       : center;
 line-height: 24px;
}

.line {border-top:1px solid #eeeeee; margin-top:25px;}
.new_client {background:#2c853d;}
.clear_data {background:#ffffff; border:1px solid #cecece; color:#000000;}

#userHelp {margin-top:5px; margin-bottom:15px;}
	#userHelp li{border-bottom:1px dashed #cecece; margin-right:10px; display:inline-block; cursor:pointer;}
	#userHelp li:hover{border-bottom:1px dashed #ffffff;}
	
#showVideo {}
#showVideo iframe, .container object, .container embed {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}

.show_panel_pay {border-bottom:1px dashed #cecece; text-decoration:none;}
.padding {padding-top:10px;}

.button_filter {
	margin:10px 0 10px 0;
	padding:10px;
	border:1px solid #cecece;
	background:#eeeeee;
}

.button_filter button.active{
	background:#cecece;
	color:#000000;
	cursor:default;
}
.show_panel_comment {border-bottom:1px dashed #cecece; text-decoration:none;}
.list_coment {margin-top:10px;}

#filter {
	margin:20px 0 20px 0;
	padding:5px;
	background:#f1f1f1;
}

#filter .filter_block {
	float: left;
    margin-right: 5px;
}

#filter .filter_block .legend {
	display:inline-block;
	padding-top:8px;
}
#filter button {
	padding-bottom:9px;
}

.total-partner-money {
	text-align:right;
	font-weight:bolder;
}

.filter_block_select {
	margin-left:13px;
	margin-bottom:10px;
}

select.filter_partner {
	width:474px;
}
