/* Default */

body {
	color:#444444;
	font-size:13px;
	line-height:18px;
	font-family:'Arial', sans-serif;
	padding:0;
	margin:0;
	background:#ffffff;
	overflow-y:scroll;
	height: 100%;
}
p {
	text-indent:0;
	padding:0;
	margin:0 0 18px;
}
table {
	margin:0 0 18px;
	border-collapse:collapse;
}
table td {
	padding:0;
}
:focus {
	outline:none;
}
img {
	padding:0;
	margin:0;
	border:0;
}
a {
	color:#016989;
	text-decoration:none;
}
a:hover {
	text-decoration:underline;
}
form {
	margin:0;
}
ul {
	margin:0 0 10px 16px;
	padding:0;
}
ul li {
	padding:0;
	list-style:none;
}
ol {
	margin:0 0 10px 18px;
	padding:0;
}
* +html ol {
	padding:0 0 0 5px;
}
ol li {
	padding:0 0 0 16px;
}
input, select, textarea {
	color:#444444;
	font-size:13px;
        font-family:'Arial', sans-serif;
	padding:0;
	margin:0;
	background:none;
	border:0;
}
textarea {
	overflow:auto;
}
button {
    font-family:'Arial', sans-serif;
	margin:0;
	border:0;
	box-sizing:border-box;
}
button::-moz-focus-inner {
	padding:0;
	border:0;
}
.newclient input::-webkit-input-placeholder {
	color:DarkGrey;
}
::-webkit-input-placeholder { /* Chrome/Opera/Safari */
	color:#444444;
}
:-moz-placeholder { /* Firefox 18- */
	color:#444444;
}
::-moz-placeholder { /* Firefox 19+ */
	color:#444444;
}
:-ms-input-placeholder { /* IE 10+ */
	color:#444444;
}
::-ms-placeholder {
	color:#444444;
}
::placeholder {
	color:#444444;
}
input::-webkit-input-placeholder {
	color:#444444;
}
input:-moz-placeholder {
	color:#444444;
}
.wrapper {
	min-width:540px;
}

/* Top */

.top {
	border-bottom:1px solid #ececec;
}
.top > div {
	position:relative;
	width:960px;
	height:66px;
	margin:0 auto;
}
.top .logo {
	position:absolute;
	left:0;
	top:22px;
}
.search {
	position:absolute;
	left:247px;
	top:18px;
	width:294px;
	height:28px;
	background:#f9f9f9;
	border:2px solid #dddddd;
	-webkit-border-radius:15px;
	-moz-border-radius:15px;
	border-radius:15px;
	behavior:url('./pie.htc');
}
.search p {
	float:left;
	margin:0;
}
.search p input {
	width:252px;
	padding:6px 0 6px 12px; border:0; background:none;
}

.search button {
	position:absolute;
	right:0;
	top:0;
	width:30px;
	height:28px;
	cursor:pointer;
	background:url('./images/search_icon.png') no-repeat 4px 5px;
}
.search button:hover {
	opacity:0.75;
}
.top .user {
	position:absolute;
	right:0;
	top:25px;
	margin:0;
}
.top .user li {
	float:left;
	font-size:11px;
	line-height:15px;
	margin:0 0 0 16px;
}
.top .user li:first-child {
	margin-left:0;
}
.top .user .name {
	width:300px;
	font-weight:bold;
	padding:1px 0 1px 22px;
	margin:-1px -40px 0 0;
	background:url('./images/user_name_icon.png') no-repeat left top;
}
.panel {
	background:#f9f9f9; min-height: 80px;
}
.panel > div {
	position:relative;
	clear:both;
	width:960px;
	padding:16px 0 20px;
	margin:0 auto;
}
.panel h1 {
	font-size:21px;
	line-height:26px;
	font-weight:normal;
	padding:0;
	margin:0 0 13px;
}
.panel p {
	margin:0 0 5px;
}
.panel .menu {
	clear:both;
	overflow:hidden;
	margin:20px 0 -20px;
}
.panel .menu li {
	float:left;
	margin:0 0 0 1px;
}
.panel .menu li:first-child {
	margin-left:0;
}
.panel .menu li a {
	display:block;
	color:#ffffff;
	font-weight:bold;
	padding:9px 15px 12px;
	background:#9f9f9f;
}
.panel .menu li a span {
	color:#d5d5d5;
	font-weight:normal;
}
.panel .menu li a:hover, .panel .menu li.active a {
	color:#444444;
	text-decoration:none;
	background:#ffffff;
}
.panel .menu li a:hover span, .panel .menu li.active a span {
	color:#9f9f9f;
}
.panel .edit {
	position:absolute;
	right:0;
	top:23px;
	font-size:13px;
	line-height:16px;
	padding:0 0 0 23px;
	background:url('./images/edit_icon.png') no-repeat left 1px;
}
.panel .edit_fin_state {
	position:absolute;
	right:0;
	top:56px;
	font-size:13px;
	line-height:16px;
	padding:0 0 0 23px;
	background:url('./images/blocked_icon.png') no-repeat left 1px;
}
.panel .display_agent {
	position:absolute;
	right:0;
	top:79px;
	font-size:13px;
	line-height:16px;
	padding:0 0 0 23px;
}
.display_agent_list {
	position:absolute;
	right:545px;
	/*bottom:62px;*/
	font-size:11px;
	line-height:16px;/*14*/
}
.panel .personal {
	position:absolute;
	right:-1px;
	bottom:23px;
	width:344px;
	margin:0 0 0 -40px;
}
.panel .personal p {
	float:left;
	width:140px;
	line-height:22px;
	font-weight:bold;
	white-space:nowrap;
	margin:0 0 0 32px;
}
.panel .personal p span {
	float:left;
	display:block;
	font-weight:normal;
	width:40px;
	margin:0 8px 0 0;
}
.panel .personal p em {
	color:#ec1c24;
	font-style:normal;
}
.panel .clients {
	clear:both;
	width: 100%; display: inline-block;
	margin:8px 0 -12px;
}
.panel .clients h5 {
	float:left;
	font-size:13px;
	line-height:18px;
	padding:0;
	margin:0;
}
.panel .clients h5 span {
	float:left;
	display:block;
	padding:0 0 0 22px;
	margin:0 0 0 30px;
	background:url('./images/new_card_icon.png') no-repeat left 2px;
}
.panel .clients h5 span:first-child {
	margin-left:0;
}
.panel .clients .nav {
	float:right;
	width:360px;
}
.panel .clients .nav li {
	float:left;
	height:16px;
	width:140px;
	font-size:13px;
	line-height:16px;
	white-space:nowrap;
	margin:0 40px 6px 0;
}
.panel .clients .nav li span {
	float:left;
	display:block;
	white-space:nowrap;
	padding:0 14px 0 0;
	background:url('./images/clients_nav_li.png') no-repeat right 7px;
}
.panel .clients .view {
	float:right;
	margin:0 0 0 72px;
}
.panel .clients .view li {
	font-size:13px;
	line-height:16px;
	padding:0 0 0 24px;
	margin:0 0 6px;
}
.panel .clients .view li.favorite {
	background:url('./images/favorite_icon.png') no-repeat left 2px;
}
.panel .clients .view li.blocked {
	background:url('./images/blocked_icon.png') no-repeat left 1px;
}
.panel .clients .view li span {
	color:#9f9f9f;
	padding:0 0 0 6px;
}

/* Content */

.content {
	clear:both;
	width:960px;
	margin: 0 auto;
    padding: 25px 0 11px;
}
.lb {
	float:left;
	width:244px;
	margin:6px 0 0;
}
.lb h3 {
	font-size:13px;
	line-height:18px;
	margin:0 0 14px 5px;
}
.lb .new {
	font-size:13px;
	line-height:18px;
	padding:0 0 0 22px;
	margin:0 0 29px 5px;
	background:url('./images/new_card_icon.png') no-repeat left 2px;
}
.a_new_contract {
	font-size:13px;
	line-height:18px;
	padding:0 0 0 22px;
	margin:0 0 29px 5px;
	background:url('./images/new_card_icon.png') no-repeat left 2px;
}
.content .lb .holder .selectbox {
	width:100%;
	font-size:13px;
}
.content .tabs_block .tabs_content .tab_content form p .spanfix {
	font-weight: bold;
	float: left;
	padding-top: 5px;
	width: 105px;
}
.content .tabs_block .tabs_content .tab_content form p .selectbox {
	width:75%;
	font-size:13px;
}
.content .tabs_block .tabs_content .tab_content form .coupon_expire .selectbox {
	width:25%;
	font-size:13px;
}
.content .tabs_block .tabs_content .tab_content form .azimut_pos_group .selectbox {
	width:30%;
	font-size:13px;
}
.content .tabs_block .tabs_content .tab_content form .azimut_pos_group .selectbox .select .text {
	padding-left: 2px;
}
.content .lb .holder .selectbox .select,
.content .tabs_block .tabs_content .tab_content form p .selectbox .select {
	width:85%;
	font-size:13px;
}
.content .lb .holder .selectbox .dropdown {
	width:99%;
}
.content .tabs_block .tabs_content .tab_content form p .selectbox .dropdown {
	width:93%;
}
.content .tabs_block .tabs_content .tab_content form .azimut_pos_group .selectbox .dropdown {
	width:105%;
}
.lb .cards, .lb .holders_stats, .lb .coupons_stats {
	margin:0 0 20px;
}
.lb .cards li, .lb .holders_stats li, .lb .coupons_stats li {
	clear:both;
	overflow:hidden;
	color:#9f9f9f;
	text-align:right;
	padding:4px 7px 5px 5px;
	margin:0 0 3px;
}
.lb .cards li.active, .lb .holders_stats li.active, .lb .coupons_stats li.active {
	background:#f9f9f9; font-weight:bold;
}
.lb .cards li a, .lb .holders_stats li a, .lb .coupons_stats li a {
	float:left;
	display:block;
}
.rb {
	float:right;
	width:680px;
}
.filter {
	height:31px;
	margin:0 0 9px;
}
.filter .onpage {
	float:left;
	margin:6px 0 7px;
}
.filter .sort {
	float:right;
}
.filter .sort p {
	float:left;
	margin:6px 12px 7px 0;
}
.list {
	margin:0 0 29px;
}
.list > div {
	border-top:1px solid #dddddd;
}
.list .preview {
	clear:both;
	overflow:hidden;
	padding:14px 0 15px;
}
.edit_holder, .edit_coupon {
	padding:0 9px 0;
	background:url('./images/edit_icon.png') no-repeat left 1px;
}
.edit_coupons_expdate {
	padding:0 26px 0;
	background:url('./images/edit_icon.png') no-repeat left 1px;
}
.list .card_block h2, .list .holder_block h2, .list .coupon_block h2 {
    cursor:pointer;
}
.list .active, .list > div:hover {
	background:#f9f9f9;
}
.list .about {
	float:left;
	width:155px;
	padding:0 22px 0 36px;
}
.list .plus .about {
	background:url('./images/plus_icon.png') no-repeat 16px 2px;
}
.list .minus .about {
	background:url('./images/minus_icon.png') no-repeat 16px 2px;
}
.list .about h2 {
	color:#444444;
	font-size:15px;
	line-height:18px;
	padding:0;
	margin:0 0 4px;
}
.list .about p {
	line-height:16px;
	/*text-transform:uppercase;*/
	margin:0;
}
.list .card_block .full_block .preview .about p {
	width: 395px;
}
.list h6 {
	color:#9f9f9f;
	font-size:13px;
	line-height:16px;
	font-weight:normal;
	padding:0;
	margin:0;
}
.list .operation {
	float:left;
	width:230px;
	padding:1px 12px 0 0;
}
.list .active .operation {
	display:none;
}
.list .operation h6 {
	margin:0 0 5px;
}
.list .operation p {
	line-height:16px;
	margin:0;
}
.list .operation p span {
	color:#9f9f9f;
}
.list .edit {
	float:left;
	width:230px;
	padding:1px 12px 0 0;
}
.list .edit h3 {
	font-size:13px;
	line-height:16px;
	padding:0 0 0 22px;
	margin:0 0 35px;
    height: 16px; display: inline-block;
}
.couponsls .edit h3 {
	margin:0 0 0px;
}
.list .edit h3:not(:empty){
    background:url('./images/edit_icon.png') no-repeat left top;
}
.list .edit p {
	display: block;
	height:auto;
	width:210px;
	color:#9f9f9f;
	line-height:18px;
	padding:0 4px 0 8px;
	margin:0 0 9px;
	position: relative;
}
.card_left, .holder_left{
    position: absolute; top:0px; left:-120px; display: block;
}
.card_right{
    position: absolute; top:0px; right:-189px;display: block;
}
.list .edit p span {
}
.list .edit p span > em {
	display:block;
	font-style:normal;
}
.list .edit p > em {
	position:relative;
	float:right;
	display:block;
	font-style:normal;
	font-weight:bold;
}
.list .edit div {
	position:relative;
	left: -90px;
	width:290px;
	padding:1px 6px 3px 10px;
	margin:12px 0 9px;
	border:1px solid #d2d2d2;
}
.couponsls .edit div {
	position:relative;
	left: -10px;
	width:200px;
	padding:1px 6px 3px 10px;
	margin:12px 0 9px;
	border:0;
}
.list .edit div p {
	width:auto;
	padding:0;
	margin:0;
}
.list .edit div > p > em {

}
.list .status {
	float:left;
	width:210px;
	padding:1px 0 0;
}
.list .status p {
	line-height:16px;
	margin:0;
}
.list .status p .block {
	display:inline-block;
	color:#ffffff;
	font-size:13px;
	line-height:16px;
	vertical-align:top;
	cursor:pointer;
	padding:5px 10px 6px;
	margin:-5px 0 0 9px;
	background:#069e1f;
}
.list .status p .card_active .block, .list .status p .holder_active .block, .list .status p .coupon_active .block{
    background:#ec1c24;
}
/*
.list .status div {
	width:150px;
	margin:17px 0 9px;
}
.list .status div p {
	clear:both;
	overflow:hidden;
	color:#9f9f9f !important;
	font-size:13px;
	line-height:18px;
	margin:0;
}
.list .status div p span {
	float:left;
	display:block;
}
.list .status div p em {
	float:right;
	display:block;
	font-style:normal;
}*/
.list .plus .status p {
	color:#069e1f;
}
.list .minus .status p {
	color:#ec1c24;
}
.list .report {
	clear:both;
	overflow:hidden;
	padding:20px 0 10px;
	border-top:1px solid #dddddd;
}
.list .report .period {
	clear:both;
	overflow:hidden;
	padding:0 0 0 36px;
}
.list .report .period p {
	float:left;
	width:230px;
	font-size:13px;
	line-height:17px;
	font-weight:bold;
	margin:0 12px 0 0;
}
.list .report .period ul {
	float:left;
	width:402px;
	margin:0;
}
.list .report .period ul li {
	position:relative;
	float:left;
	width:78px;
	height:34px;
	font-size:13px;
	line-height:17px;
	padding:0 0 0 21px;
	margin:0 12px 24px 0;
}
.list .report .period ul li p {
	font-weight:normal;
	margin:0;
}
.list .report .period ul li button {
	position:absolute;
	left:0;
	top:3px;
	width:14px;
	height:11px;
	cursor:pointer;
	background:url('./images/xsl_icon.png') no-repeat left top;
}
.list .report .more {
	clear:both;
	overflow:hidden;
	padding:0 0 0 18px;
	margin:0;
}
.list .report .more li {
	float:left;
	width:200px;
	height:54px;
	margin:0 0 32px 18px;
}
.list .report .more li p {
	font-size:13px;
	line-height:16px;
	margin:0;
}
.list .report .more li p span {
	color:#9f9f9f;
}
.list .report .more li h6 {
	color:#9f9f9f;
	font-size:13px;
	line-height:16px;
	font-weight:normal;
	padding:0;
	margin:0 0 6px;
}
.pagination {
	margin:0 0 19px 5px;
}
.pagination ul {
	clear:both;
	overflow:hidden;
	margin:0 0 15px;
}
.pagination ul li {
	float:left;
	font-size:13px;
	line-height:16px;
	margin:0 0 0 4px;
}
.pagination ul.prevnext li {
	margin:0 0 0 16px;
}
.pagination ul.nums li {
	margin:0 0 0 8px;
}
.pagination ul li:first-child {
	margin:0 !important;
}
.pagination ul li a {
	text-decoration:underline;
}
.pagination ul li a:hover {
	text-decoration:none;
}
.copyright {
	font-size: 11px;
	color: gray;
}
.copyright_enter {
	font-size: 11px;
	color: gray;
	position: fixed;
	bottom: 0px;
        width:960px;
        margin: 0 auto;
        padding: 25px 0 11px;
}

.account {
	margin:14px 0 19px;
}
.account .balance {
	/*clear:both;*/
	overflow:hidden;
	margin:0 0 34px;
}
.account .balance p {
	font-size:13px;
	line-height:16px;
	font-weight:bold;
	margin:0 0 2px;
}
.account .balance > p {
	float:right;
}
.account .balance > div {
	float:left;
}
.account .balance > div h3 {
	font-size:30px;
	line-height:34px;
	font-weight:normal;
	padding:0;
	margin:0 0 2px;
}
.account .report {
	margin:0 0 20px;
}
.account .report p {
	font-size:13px;
	line-height:16px;
	font-weight:bold;
	margin:0 0 17px;
}
.account .report > div {
	clear:both;
	overflow:hidden;
}
.account .report .graph {
	float:left;
	width:113px;
	margin:2px 34px 0 0;
}
.account .report .near {
	float:left;
	margin:0 30px 0 0;
}
.account .report .near th, .account .report .near td {
	font-size:13px;
	line-height:16px;
	text-align:left;
	padding:0 24px 6px 0;
}
.account .report .near th:last-child, .account .report .near td:last-child {
	text-align:right;
}
.account .report .period {
	float:left;
	margin:0;
}
.account .report .period li {
	position:relative;
	float:left;
	font-size:13px;
	line-height:16px;
	padding:0 0 0 21px;
	margin:0 12px 0 0;
}
.account .report .period li p {
	font-weight:normal;
	margin:0 0 6px;
}
.account .report .period li p span {
	color:#848484;
	font-weight:normal;
	padding:0 0 0 11px;
}
.account .report .period li p:last-child {
	margin:0;
}
.account .report .period li button {
	position:absolute;
	left:0;
	top:3px;
	width:14px;
	height:11px;
	cursor:pointer;
	background:url('./images/xsl_icon.png') no-repeat left top;
}
.account .report .period .all {
	padding:0 0 0 30px;
	margin:0;
	border-left:1px solid #dddddd;
}
.account .report .period .all button {
	left:10px;
}
.account .details {
	margin:0 0 20px;
}
.account .details p {
	font-size:13px;
	line-height:16px;
	font-weight:bold;
	margin:0 0 17px;
}
.account .details > div {
	padding:0 18px;
	background:#f9f9f9;
}
.account .details > div .user {
	padding:18px 0 11px;
	border-bottom:1px solid #ececec;
}
.account .details > div .user p {
	height:31px;
	margin:0 0 19px;
}
.account .details > div .user p > span {
	float:left;
	width:90px;
	font-weight:bold;
	padding:7px 7px 8px 0;
}
.account .details > div .user p span.range {
	width:auto;
	color:#d9d9d9;
	font-weight:normal;
	padding:7px 3px 8px;
}
p span.range {
	width:auto;
	color:#d9d9d9;
	font-weight:normal;
	padding:7px 3px 8px;
}
.account .details > div .user p em {
	position:relative;
	float:left;
	width:119px;
}
.account .details > div .user p em input {
	width:80px;
	color:#444444;
	font-size:13px;
	padding:6px 28px 7px 9px;
	background:#ffffff;
	border:1px solid #d9d9d9;
}
.account .details > div .user p em .calendar {
	position:absolute;
	right:11px;
	top:8px;
	width:13px;
	height:13px;
	cursor:pointer;
	background:url('./images/calendar_icon.png') no-repeat left top;
}
.account .details > div .user p.number .selectbox {
	font-weight:normal;
	padding:0;
}
.account .details > div .user p.number .selectbox .select {
	width:151px;
	font-size:15px;
}
.account .details > div .user p.number .selectbox .dropdown {
	width:185px;
	font-size:15px;
}
.account .details > div .user p.name .selectbox {
	font-weight:normal;
	padding:0;
}
.account .details > div .user p.name .selectbox .select {
	width:151px;
	font-size:15px;
}
.account .details > div .user p.name .selectbox .dropdown {
	width:185px;
	font-size:15px;
}
.account .details > div .issuers {
	padding:23px 0 5px;
	border-bottom:1px solid #ececec;
}
.account .details > div .issuers .checker {
	float:left !important;
	margin:0 10px 0 0 !important;
}
.account .details > div .issuers p {
	font-size:13px;
	line-height:16px;
	font-weight:normal;
	margin:0 0 21px;
}
.account .details > div .issuers ul {
	clear:both;
	overflow:hidden;
	margin:0 0 4px 98px;
}
.account .details > div .issuers ul li {
	float:left;
	min-width:132px;
	font-size:13px;
	line-height:16px;
	white-space:nowrap;
	margin:0 11px 10px 0;
}
.account .details > div .issuers h5 {
	font-size:13px;
	line-height:16px;
	padding:0;
	margin:0 0 11px 98px;
}
.account .details > div .service {
	padding:20px 0 20px;
	border-bottom:1px solid #ececec;
}
.account .details > div .service > div {
	height:59px;
	margin:0 0 8px;
}
.account .details > div .service > div > p {
	float:left;
	width:86px;
	font-size:13px;
	line-height:16px;
	font-weight:bold;
	margin:-2px 11px 0 0;
}
.account .details > div .service > div > div {
	float:left;
	height:31px;
	padding:13px 75px 13px 12px;
	margin:0 9px 0 0;
	background:#ffffff;
	border:1px solid #d9d9d9;
}
.account .details > div .service > div > div .selectbox {
	float:left;
	margin:0 52px 0 0;
}
.account .details > div .service > div > div .selectbox .select {
	width:111px;
}
.account .details > div .service > div > div .selectbox .dropdown {
	width:145px;
}
.account .details > div .service > div > div p {
	float:left;
	font-size:13px;
	line-height:16px;
	font-weight:normal;
	margin:0 11px 0 0;
}
.account .details > div .service > div > div p span {
	float:left;
	display:block;
	padding:7px 10px 8px 10px;
}
.account .details > div .service > div > div p input {
	float:left;
	display:block;
	width:47px;
	text-align:right;
	padding:5px 7px 7px 8px;
	background:#ffffff;
	border:1px solid #dddddd;
}
.account .details > div .service > div .remove {
	float:left;
	width:15px;
	height:15px;
	cursor:pointer;
	margin:5px 0 0;
	background:url('./images/remove_icon.png') no-repeat left top;
}
.account .details > div .service .add {
	font-size:13px;
	line-height:18px;
	padding:0 0 0 22px;
	margin:0 0 8px 97px;
	background:url('./images/new_card_icon.png') no-repeat left 2px;
}
.account .details > div .finish {
	clear:both;
	overflow:hidden;
	padding:20px 0 21px 4px;
}
.account .details > div .finish button {
    float:left;
    color:#ffffff;
    font-size:13px;
    line-height:16px;
    font-weight:bold;
    cursor:pointer;
    padding:8px 11px 9px;
    margin:0 20px 0 0;
    background:#069e1f;
}

.btn_report {
    float:left;
    color:#ffffff;
    font-size:13px;
    line-height:16px;
    font-weight:bold;
    cursor:pointer;
    padding:8px 11px 9px;
    margin:0 20px 0 0;
    background:#069e1f;
}

.account .details > div .finish p {
	float:left;
	font-weight:normal;
	padding:8px 0 9px;
	margin:0;
}
.profile {
	position:relative;
	margin:8px 0 19px 0;
}
.profile p.edit {
	position:absolute;
	right:0;
	top:6px;
	font-size:13px;
	line-height:16px;
	font-weight:bold;
	padding:0 0 0 23px;
	background:url('./images/edit_icon.png') no-repeat left 1px;
}
.profile h2 {
	font-size:21px;
	line-height:24px;
	font-weight:normal;
	padding:0;
	margin:0 150px 8px 0;
}
.profile > p {
	font-size:15px;
	line-height:18px;
	margin:0 0 8px;
}
.profile > .information {
	clear:both;
	overflow:hidden;
	margin:29px 0 0;
}
.profile > .information p, .profile > .information h5 {
	font-size:13px;
	line-height:22px;
	padding:0;
	margin:0 1px;
}
.profile .data {
	float:left;
	width:600px;
}
.profile .data .contacts {
	clear:both;
	overflow:hidden;
	margin:0 0 27px;
}
.profile .data .contacts .phones {
	float:left;
	width:355px;
	margin:0 13px 0 0;
}
.profile .data .contacts .email {
	float:left;
	width:215px;
	margin:0 13px 0 0;
}
.profile .data .address div {
	margin:0 0 27px;
}
.profile .about {
	float:right;
	width:320px;
}
.profile .about .personal {
	clear:both;
	overflow:hidden;
	width:380px;
	margin:0 0 19px -40px;
}
.profile .about .personal p {
	float:left;
	width:150px;
	white-space:nowrap;
	margin:0 0 9px 40px;
}
.profile .about .personal p span {
	float:left;
	display:block;
	width:40px;
	font-weight:bold;
	margin:0 8px 0 0;
}
.profile .about .personal p em {
	color:#ec1c24;
	font-style:italic;
}
.profile .about .comment p em {
	color:#ec1c24;
	font-style:italic;
}
.data .contacts .phones em {
	color:#ec1c24;
	font-style:italic;
}
.data .contacts .email em {
	color:#ec1c24;
	font-style:italic;
}
.data .address em {
	color:#ec1c24;
	font-style:italic;
}
.settings {
	position:relative;
	margin:14px 0 19px 250px;
}
.settings .general {
	position:relative;
	margin:0 0 40px 0;
}
.settings .contacts_list{
    position: absolute; left:-250px; top:0; margin: 0; width: 250px;
}
.settings .general > div {
	margin:0 0 23px;
}
.settings .general p.edit {
	position:absolute;
	right:0;
	top:0;
	font-size:13px;
	line-height:16px;
	font-weight:bold;
	padding:0 0 0 23px;
	background:url('./images/edit_icon.png') no-repeat left 1px;
}
.settings .general h2 {
	font-size:19px;
	line-height:22px;
	font-weight:normal;
	padding:0;
	margin:0 0 7px;
}
.settings .general p {
	font-size:13px;
	line-height:16px;
	font-weight:bold;
	margin:0 0 7px;
}
.settings .threshold {
	margin:0 0 23px;
}
.settings .threshold p {
	font-size:13px;
	line-height:16px;
	font-weight:bold;
	margin:0 0 10px;
}
.settings .threshold ul {
	clear:both;
	overflow:hidden;
	margin:0;
}
.settings .threshold ul li {
	float:left;
	width:185px;
	margin:0 0 0 73px;
}
.settings .threshold ul li:first-child {
	margin-left:0;
}
.settings .threshold ul li h3 {
	font-size:19px;
	line-height:22px;
	padding:0;
	margin:0 0 6px;
}
.settings .threshold ul li p {
	clear:both;
	overflow:hidden;
	line-height:22px;
	font-weight:normal;
	text-align:right;
	margin:0;
}
.settings .threshold ul li p span {
	float:left;
	display:block;
	color:#7f7f7f;
}
.settings .threshold table {
	border-collapse: separate;
	border-spacing:10px 0px;
	text-align:left;
}
.settings .threshold table .float {
	text-align:right;
}
.settings .threshold .btn_report {
	padding:5px 10px 6px;
}
.newcontract,
.couponsrest {
	margin:-5px 0 19px;
}
.newcontract h2,
.couponsrest h2 {
	font-size:19px;
	line-height:22px;
	font-weight:normal;
	padding:0;
}
.newcontract > div,
.couponsrest > div {
	padding:0 18px;
	background:#f9f9f9;
}
.newcontract .number,
.couponsrest .number {
	padding:18px 0 17px;
	border-bottom:1px solid #ececec;
}
.couponsrest .number p input:not(.edit) {
	pointer-events: none;
}
.couponsrest .number p:nth-child(n) input:not(.edit) {
	background: #9f9f9f;
}
.newcontract .number p,
.couponsrest .number p {
	height:31px;
	font-size:13px;
	line-height:16px;
	margin:0;
}
.newcontract .number p strong,
.couponsrest .number p strong {
	float:left;
	display:block;
	width:64px;
	padding:7px 0 8px;
	margin:0 8px 0 0;
}
.newcontract .number p span:not(.calendar) {
	float:left;
	display:block;
	padding:7px 12px 8px;
}
.couponsrest .number p .label {
	float:left;
	display:block;
	padding:7px 12px 8px;
}
.couponsrest .number p .checkbox_online {
	padding-left: 100px;
}
.newcontract .number p input,
.couponsrest .number p input {
	float:left;
	width:178px;
	color:#444444;
	font-size:13px;
	padding:6px 28px 7px 9px;
	background:#ffffff;
	border:1px solid #d9d9d9;
}
.newcontract .number p em, .expiration p em,
.couponsrest .number p em, .expiration p em {
	position:relative;
	float:left;
	width:119px;
}
.newcontract .number p em input, .expiration p em input,
.couponsrest .number p em input, .expiration p em input {
	width:80px;
	color:#444444;
	font-size:13px;
	padding:6px 28px 7px 9px;
	background:#ffffff;
	border:1px solid #d9d9d9;
}
.calendar {
	position:absolute;
	right:11px;
	top:8px;
	width:13px;
	height:13px;
	cursor:pointer;
	background:url('./images/calendar_icon.png') no-repeat left top; padding: 0;
}
.newcontract .tariff {
	padding:18px 0 17px;
	border-bottom:1px solid #ececec;
}
.newcontract .tariff p {
	height:31px;
	font-size:13px;
	line-height:16px;
	margin:0;
}
.newcontract .tariff p strong {
	float:left;
	display:block;
	width:64px;
	padding:7px 0 8px;
	margin:0 8px 0 0;
}

.make_bill p {
	width:300px;
}
.div_edit_fin_state p {
	width:400px;
}
.make_bill p span,
.div_edit_fin_state p strong {
	float:left;
	display:block;
	text-align:right;
	margin:0 9px 0 0;
	width:100px;
}
.div_edit_fin_state p span {
	margin:0 9px 0 0;
}
.div_edit_fin_state .fin_state p {
	height:31px;
	font-size:13px;
	line-height:16px;
	margin:0 0 18px;
}
.div_edit_fin_state .fin_state p strong {
	float:left;
	display:block;
	width:100px;
	padding:7px 0 8px;
	margin:0 8px 0 0;
}
.div_edit_fin_state .fin_state p .selectbox .select {
	width:200px;
}
.div_edit_fin_state .fin_state p .selectbox .dropdown {
	width:234px;
}
.div_edit_fin_state > p.area {
	clear:both;
	overflow:hidden;
	width:550px;
	height:200px;
}
.div_edit_fin_state > p textarea {
	float:left;
	display:block;
	width:350px;
	font-size:15px;
	padding:5px 7px 7px 8px;
	background:#ffffff;
	border:1px solid #dddddd;
	min-height:75px;
	height:175px;
	resize:vertical;
}
.checkbox_online{
    display: inline-block; margin-top: 6px;
}
.newcontract .tariff p .selectbox {
	float:left; margin: 0 30px 0 0;
}
.newcontract .tariff p .selectbox .select {
	font-size:15px;
	width:503px;
}
.newcontract .tariff p .selectbox  .dropdown {
	width:850px;
}
.newcontract .limits {
	padding:22px 0 5px;
	border-bottom:1px solid #ececec;
}
.newcontract .limits p {
	clear:both;
	overflow:hidden;
	padding:0 0 1px;
	margin:0 0 19px;
}
.newcontract .limits p strong {
	float:left;
	display:block;
	width:64px;
	margin:0 8px 0 0;
}
.newcontract .limits p > span {
	float:left;
}
.newcontract .limits p > span .checker {
	float:left !important;
	margin:0 10px 0 0 !important;
}
.newcontract .limits ul {
	clear:both;
	overflow:hidden;
	margin:0 0 3px 72px;
}
.newcontract .limits ul li {
	float:left;
	width:260px;
	font-size:13px;
	line-height:16px;
	white-space:nowrap;
	margin:0 11px 10px 0;
    overflow: hidden;
}
.newcontract .limits h5 {
	font-size:13px;
	line-height:16px;
	padding:0;
	margin:0 0 11px 0;
}
.newcontract .restriction,
.couponsrest .restriction {
	padding:18px 0 7px;
	border-bottom:1px solid #ececec;
    display: inline-block;
	width:900px;
}
.newcontract .restriction > p,
.couponsrest .restriction > p {
	font-size:13px;
	line-height:16px;
	font-weight:bold;
	margin:0 0 10px;
}
.newcontract .restriction > p span,
.couponsrest .restriction > p span {
	color:#8b8a8a;
	font-weight:normal;
}
.newcontract .restriction .block,
.couponsrest .restriction .block {
	height:31px;
	margin:0 0 27px 72px;
}
.newcontract .restriction .block p,
.couponsrest .restriction .block p {
	float:left;
	margin:0 0 0 40px;
}
.newcontract .restriction .block p:first-child,
.couponsrest .restriction .block p:first-child {
	margin-left:0;
}
.newcontract .restriction .block p > span,
.couponsrest .restriction .block p > span {
	float:left;
	display:block;
	padding:7px 0 8px;
	margin:0 23px 0 0;
}
.newcontract .restriction .block p span .checker,
.couponsrest .number             p span .checker,
.couponsrest .restriction .block p span .checker {
	float:left !important;
	margin:0 10px 0 0 !important;
}
.newcontract .restriction .block p input,
.couponsrest .restriction .block p input {
	float:left;
	width:85px;
	color:#444444;
	font-size:15px;
	text-align:right;
	padding:6px 9px 7px 9px;
	margin:0 8px 0 0;
	background:#ffffff;
	border:1px solid #d9d9d9;
}
.newcontract .restriction .block p input.fine,
.couponsrest .restriction .block p input.fine {
	width:19px;
	text-align:center;
}
.newcontract .restriction h5,
.couponsrest .restriction h5,
.tariff h5 {
	clear:both;
	overflow:hidden;
	font-size:13px;
	line-height:18px;
	margin:0 0 11px 72px;
}
.tariff h5 {
    padding-top: 10px;
}
.newcontract .restriction h5 span,
.tariff h5 span {
	float:left;
	display:block;
	padding:0 0 0 22px;
	margin:0 20px 0 0;
	background:url('./images/new_card_icon.png') no-repeat left 2px;
}
.newcontract .notification {
	clear:both;
	overflow:hidden;
	margin:0 0 8px 72px;
}
.newcontract .notification > div {
	float:left;
	padding:11px 0 13px 16px;
	margin:0 8px 0 0;
	background:#ffffff;
	border:1px solid #d9d9d9;
}
.newcontract .notification > div  > p {
	float:left;
	font-size:13px;
	line-height:16px;
	margin:0 20px 0 0;
}
.newcontract .notification > div  > p span {
	float:left;
	display:block;
	padding:7px 0 8px;
	margin:0 12px 0 0;
}
.newcontract .notification > div  > p input {
	float:left;
	width:66px;
	color:#444444;
	font-size:15px;
	text-align:right;
	padding:6px 9px 7px 9px;
	margin:0 8px 0 0;
	background:#ffffff;
	border:1px solid #d9d9d9;
}
.newcontract .notification > div  > div {
	float:left;
	margin:6px 55px 0 0;
}
.newcontract .gasoline .notification > div  > div {
    margin-right:40px;
}
.newcontract .notification > div  > div p {
	font-size:13px;
	line-height:16px;
	font-weight:bold;
	margin:0 0 9px;
}
.newcontract .notification > div  > div ul {
	clear:both;
	overflow:hidden;
	margin:0 0 4px;
}
.newcontract .notification > div  > div ul li {
	float:left;
	padding:0 0 1px;
	margin:0 18px 0 0;
}
.newcontract .notification > div  > div ul li .checker {
	float:left !important;
	margin:0 10px 0 0 !important;
}
.newcontract .remove,
.couponsrest .remove {
	float:left;
	width:15px;
	height:15px;
	cursor:pointer;
	margin:5px 0 0;
	background:url('./images/remove_icon.png') no-repeat left top;
}
.newcontract .finish,
.couponsrest .finish {
	clear:both;
	overflow:hidden;
	padding:20px 0 21px 4px;
}
.newcontract .finish button,
.couponsrest .finish button {
	float:left;
	color:#ffffff;
	font-size:13px;
	line-height:16px;
	font-weight:bold;
	cursor:pointer;
	padding:8px 11px 9px;
	margin:0 20px 0 0;
	background:#069e1f;
}
.newcontract .finish p,
.couponsrest .finish p {
	float:left;
	font-weight:normal;
	padding:8px 0 9px;
	margin:0;
    display: none;
}
.newcontract .restriction .gasoline h5,
.couponsrest .restriction .gasoline h5{
    margin-left: 0;
}
.newcontract .gasoline .notification{
    margin-left:0;
    margin-top:10px;
    display: inline-block;
}
.newcontract .gasoline,
.couponsrest .gasoline {
	margin:0 0 5px 72px; display: inline-block;
}
.newcontract .gasoline > div,
.couponsrest .gasoline > div {
	float:left;
	padding:13px 8px 0px 15px;
	margin:0 8px -1px 0;
	background:#ffffff;
	border:1px solid #dadada;
    width: 760px;
}
.couponsrest .gasoline > div {
	padding:13px 8px 13px 15px;
}
.newcontract .gasoline > div .selectbox,
.couponsrest .gasoline > div .selectbox {
	float:left;
	margin:0 24px 0 0;
}
.newcontract .gasoline > div .selectbox .select,
.couponsrest .gasoline > div .selectbox .select {
	font-size:15px;
	width:200px;
}
.newcontract .gasoline > div .selectbox .dropdown,
.couponsrest .gasoline > div .selectbox .dropdown {
	width:234px;
}
.newcontract .gasoline p,
.couponsrest .gasoline p {
	float:left;
	font-size:18px;
	line-height:16px;
	margin:0 20px 0 0;
}
.newcontract .gasoline p span,
.couponsrest .gasoline p span {
	float:left;
	display:block;
	padding:0 0 8px;
}
.newcontract .gasoline p input,
.couponsrest .gasoline p input {
	float:left;
	width:36px;
	color:#444444;
	font-size:13px;
	text-align:right;
	padding:6px 9px 7px 9px;
	margin:0 8px 0 0;
	background:#ffffff;
	border:1px solid #d9d9d9;
}
.newcontract .gasoline p .plus,
.couponsrest .gasoline p .plus {
	float:left;
	width:18px;
	height:18px;
	cursor:pointer;
	margin:6px 11px 0 0;
	background:url('./images/add_plus_icon.png') no-repeat left top;
}
.newcontract .gasoline ul,
.couponsrest .gasoline ul {
	float:left;
	margin:0 14px 0 0;
}
.newcontract .gasoline > div > div > ul li,
.couponsrest .gasoline > div > div > ul li {
	float:left;
	font-size:13px;
	line-height:16px;
	font-weight:bold;
	margin:0 10px 0 0;
}
.newcontract .gasoline > div > div > ul li span,
.couponsrest .gasoline > div > div > ul li span {
	position:relative;
	display:block;
	color:#016989;
	cursor:pointer;
	padding:6px 12px 7px;
	border:1px solid #d9d9d9;
	border-radius:15px;
	behavior:url('./pie.htc');
}
.newcontract .gasoline > div > div > ul li.active span,
.couponsrest .gasoline > div > div > ul li.active span {
	background:#f9f9f9;
}
.fade {
	display:none;
	position:fixed;
	left:0;
	top:0;
	z-index:10000;
	width:100%;
	height:100%;
	background:url('./images/fade_bg.png') repeat;
}
.addcard, .addclientholder, .addcoupon, .couponsexpdate {
	background:#ffffff;
}
.addcard         h2, 
.addclientholder h2, 
.addcoupon       h2 {
	font-size:21px;
	line-height:24px;
	font-weight:normal;
	padding:19px 20px 20px;
	margin:0;
}
.addcard         .inside, 
.addclientholder .inside, 
.addcoupon       .inside,
.couponsexpdate  .inside {
	padding:0 20px;
	background:#f9f9f9;
}
.addcard         .inside .card, 
.addclientholder .inside .holder, 
.addcoupon       .inside .coupon,
.couponsexpdate  .inside .coupon {
	padding:18px 0 17px;
	border-bottom:1px solid #ececec;
}
.addcard        .inside .card   .information, 
.addcoupon      .inside .coupon .information,
.couponsexpdate .inside .coupon .information {
	height:48px;
}
.addclientholder .inside .holder .information {
	height:38px;
}
.addcard         .inside .card   p, 
.addclientholder .inside .holder p, 
.addcoupon       .inside .coupon p,
.couponsexpdate  .inside .coupon p {
	height:31px;
	font-size:13px;
	line-height:16px;
	margin:0;
}
.addcard   .inside .card   .information .number {
	float:left;
	width:320px;
}
.addcoupon .inside .coupon .information .number {
	float:left;
	width:200px;
        margin:0 22px 0 0;
}
.addcard         .inside .card   .information p span, 
.addclientholder .inside .holder              p span, 
.addcoupon       .inside .coupon .information p span,
.couponsexpdate  .inside .coupon .information p span {
	float:left;
	display:block;
	font-weight:bold;
	padding:7px 5px 8px 0;
}
.couponsexpdate  .inside .coupon .information p span {
	width:160px;
}
.addclientholder .inside .holder p span {
	width:90px;
}
.addcard        .inside .card   .information p .selectbox, 
.addcoupon      .inside .coupon .information p .selectbox,
.couponsexpdate .inside .coupon .information p .selectbox {
	float:right;
	font-weight:normal;
	padding:0;
}
.addcard        .inside .card   .information p .selectbox .select, 
.addcoupon      .inside .coupon .information p .selectbox .select,
.couponsexpdate .inside .coupon .information p .selectbox .select {
	width:151px;
	font-size:15px;
}
.addcard        .inside .card   .information p .selectbox .dropdown, 
.addcoupon      .inside .coupon .information p .selectbox .dropdown,
.couponsexpdate .inside .coupon .information p .selectbox .dropdown {
	width:185px;
	font-size:15px;
}
.addcard         .inside .card   .information .name {
	float:right;
	width:554px;
}
.addclientholder .inside .holder .information .name {
	float:left;
	width:460px;
}
.addcoupon       .inside .coupon .information .name {
	float:left;
	width:200px;
}
.addcoupon       .inside .coupon .information .holder {
	float:right;
	width:430px;
}
.couponsexpdate  .inside .coupon .information .holder {
	float:left;
	width:630px;
}
.addcard   .inside .card   .information .name h6,
.addcoupon .inside .coupon .information .name h6 {
	color:#b1b1b1;
	font-size:11px;
	line-height:14px;
	font-weight:normal;
	margin:3px 0 0 84px;
}
.addcard         .inside .card   .information p input, 
.addclientholder .inside .holder .information p input, 
.addcoupon       .inside .coupon .information p input,
.couponsexpdate  .inside .coupon .information p input {
	float:right;
	width:73%;
	color:#444444;
	font-size:15px;
	padding:5px 9px 7px 9px;
	margin:0 8px 0 0;
	background:#ffffff;
	border:1px solid #d9d9d9;
}
.addcoupon       .inside .coupon .information p input,
.couponsexpdate  .inside .coupon .information p input {
	float:left;
	width:50%;
}
.addcoupon       .inside .coupon .information .number p input,
.couponsexpdate  .inside .coupon .information .number p input {
	width:25%;
}
.addclientholder .inside .holder .data p input {
	width:50px;
	color:#444444;
	font-size:15px;
	padding:5px 9px 7px 9px;
	margin:0 8px 0 0;
	background:#ffffff;
	border:1px solid #d9d9d9;
}
.addcoupon      .inside .coupon .information .holder p .selectbox {
	float:right;
	font-weight:normal;
	padding:0;
}
.couponsexpdate .inside .coupon .information .holder p .selectbox {
	float:left;
	font-weight:normal;
	padding:0;
}
.addcoupon      .inside .coupon .information .holder p .selectbox .select,
.couponsexpdate .inside .coupon .information .holder p .selectbox .select {
	width:301px;
	font-size:15px;
}
.addcoupon      .inside .coupon .information .holder p .selectbox .dropdown,
.couponsexpdate .inside .coupon .information .holder p .selectbox .dropdown {
	width:335px;
}
.addcard         .inside .card   .information p input::-webkit-input-placeholder, 
.addclientholder .inside .holder .information p input::-webkit-input-placeholder, 
.addcoupon       .inside .coupon .information p input::-webkit-input-placeholder,
.couponsexpdate  .inside .coupon .information p input::-webkit-input-placeholder {
	color:#b4b4b4;
}
.addcard         .inside .card   .information p input:-moz-placeholder, 
.addclientholder .inside .holder .information p input:-moz-placeholder, 
.addcoupon       .inside .coupon .information p input:-moz-placeholder,
.couponsexpdate  .inside .coupon .information p input:-moz-placeholder {
	color:#b4b4b4;
}
.addcard         .inside .card   .information p input::-moz-placeholder, 
.addclientholder .inside .holder .information p input::-moz-placeholder, 
.addcoupon       .inside .coupon .information p input::-moz-placeholder,
.couponsexpdate  .inside .coupon .information p input::-moz-placeholder {
	color:#b4b4b4;
}
.addcard         .inside .card   .information p input:-ms-input-placeholder, 
.addclientholder .inside .holder .information p input:-ms-input-placeholder, 
.addcoupon       .inside .coupon .information p input:-ms-input-placeholder,
.couponsexpdate  .inside .coupon .information p input:-ms-input-placeholder {
	color:#b4b4b4;
}
.addcard         .inside .expiration, 
.addclientholder .inside .data, 
.addcoupon       .inside .expiration,
.couponsexpdate  .inside .expiration {
	height:31px;
	margin:18px 0 0;
}
.addcard         .inside .expiration p, 
.addclientholder .inside .data       p, 
.addcoupon       .inside .expiration p,
.couponsexpdate  .inside .expiration p {
	float:left;
	font-size:13px;
	line-height:16px;
	font-weight:bold;
	margin:0 13px 0 0;
}
.addcoupon       .inside .expiration .pincode {
	width:200px;
	margin: 0 0 0 50px;
}
.addcard         .inside .expiration p > span, 
.addclientholder .inside .data       p > span {
	float:left;
	display:block;
	font-weight:bold;
	padding:7px 5px 8px ;
}
.addclientholder .inside .data       p > .holderpin {
	padding:0px 7px 0px 0px;
}
.addcoupon       .inside .expiration p > span,
.couponsexpdate  .inside .expiration p > span {
	float:left;
	display:block;
	font-weight:bold;
	padding:7px 5px 8px 0;
}
.couponsexpdate  .inside .expiration p > span {
	width:160px;
}
.addcoupon       .inside .expiration p > input,
.couponsexpdate  .inside .expiration p > input {
	width:20%;
}
.addcard        .inside .expiration .month, 
.addcoupon      .inside .expiration .month,
.couponsexpdate .inside .expiration .month {
	float:left;
	margin:0 6px 0 0;
}
.addcard        .inside .expiration .month .selectbox, 
.addcoupon      .inside .expiration .month .selectbox,
.couponsexpdate .inside .expiration .month .selectbox {
	float:left;
}
.addcard        .inside .expiration .month .selectbox .select, 
.addcoupon      .inside .expiration .month .selectbox .select,
.couponsexpdate .inside .expiration .month .selectbox .select {
	width:19px;
}
.addcard        .inside .expiration .month .selectbox .dropdown, 
.addcoupon      .inside .expiration .month .selectbox .dropdown,
.couponsexpdate .inside .expiration .month .selectbox .dropdown {
	width:53px;
}
.addcard        .inside .expiration .year, 
.addcoupon      .inside .expiration .year,
.couponsexpdate .inside .expiration .year {
	float:left;
	margin:0 6px 0 0;
}
.addcard        .inside .expiration .year .selectbox, 
.addcoupon      .inside .expiration .year .selectbox,
.couponsexpdate .inside .expiration .year .selectbox {
	float:left;
}
.addcard        .inside .expiration .year .selectbox .select, 
.addcoupon      .inside .expiration .year .selectbox .select,
.couponsexpdate .inside .expiration .year .selectbox .select {
	width:36px;
}
.addcard        .inside .expiration .year .selectbox .dropdown, 
.addcoupon      .inside .expiration .year .selectbox .dropdown,
.couponsexpdate .inside .expiration .year .selectbox .dropdown {
	width:70px;
}
.addcard   .inside .expiration ul {
	float:left;
	margin:0 0 0 19px;
}
.addclientholder                     ul,
.addcoupon       .inside .expiration ul,
.couponsexpdate  .inside .expiration ul {
	float:right;
	margin:0 0 0 19px;
}
.addcard         .inside .expiration ul li, 
.addclientholder                     ul li, 
.addcoupon       .inside .expiration ul li,
.couponsexpdate  .inside .expiration ul li {
	float:left;
	font-size:13px;
	line-height:16px;
	padding:7px 13px 8px 9px;
	margin:0 0 0 8px;
}
.addclientholder ul li {
	width:103px;
}
.addcard         .inside .expiration ul li.type1, 
.addclientholder                     ul li.type1, 
.addcoupon       .inside .expiration ul li.type1,
.couponsexpdate  .inside .expiration ul li.type1 {
	background:#bae5c1;
}
.addcard         .inside .expiration ul li.type2, 
.addclientholder                     ul li.type2, 
.addcoupon       .inside .expiration ul li.type2,
.couponsexpdate  .inside .expiration ul li.type2 {
	background:#bad9e5;
}
.addcard         .inside .expiration ul li.type3, 
.addclientholder                     ul li.type3, 
.addcoupon       .inside .expiration ul li.type3,
.couponsexpdate  .inside .expiration ul li.type3 {
	background:#cabae5;
}
.addcard         .inside .expiration ul li.type4, 
.addclientholder                     ul li.type4, 
.addcoupon       .inside .expiration ul li.type4,
.couponsexpdate  .inside .expiration ul li.type4 {
	background:#e5bac4;
}
.addcard   .inside .expiration ul li .checker, 
.addcoupon .inside .expiration ul li .checker {
	float:left !important;
	margin:0 10px -1px 0 !important;
}
.addclientholder .pin {
	width:100px;
	float: left;
	margin-top: 5px;
}
.addclientholder .checker {
//	float:left !important;
	margin:0 10px -1px 0 !important;
}
.addclientholder .block_state {
	float: right;
}
.addcard        .inside .limits,
.addcoupon      .inside .limits,
.couponsexpdate .inside .limits {
	padding:23px 0 20px;
}
.addcard   .inside .limits > p {
	font-size:13px;
	line-height:16px;
	font-weight:bold;
	margin:0 0 17px;
}
.addcoupon      .inside .limits > p,
.couponsexpdate .inside .limits > p {
	font-size:13px;
	line-height:16px;
	font-weight:bold;
	margin:0;
}
.addcard   .inside .limits > p span {
	color:#8b8a8a;
	font-weight:normal;
}
.addcoupon      .inside .limits .label,
.couponsexpdate .inside .limits .label {
	float:left;
	display:block;
	font-weight:bold;
	padding:7px 5px 8px 0;
}
.addcard        .inside .limits > .double,
.addcoupon      .inside .limits > .double,
.couponsexpdate .inside .limits > .double {
	height:100px;
	margin:0 0 9px 72px;
}
.addcard   .inside .limits > .single {
	min-height:59px;
	margin:0 0 9px 72px;
	display:inline-block;
}
.addcoupon      .inside .limits > .single,
.couponsexpdate .inside .limits > .single {
	min-height:59px;
	display:inline-block;
}
.addcard        .inside .limits > div > div,
.addcoupon      .inside .limits > div > div,
.couponsexpdate .inside .limits > div > div {
	float:left;
	padding:13px 4px 13px 12px;
	margin:0 9px 0 0;
	background:#ffffff;
	border:1px solid #dadada;
}
.addcard        .inside .limits > div > div > div,
.addcoupon      .inside .limits > div > div > div,
.couponsexpdate .inside .limits > div > div > div {
	float:left;
	margin:0 21px -13px 0;
}
.addcard        .inside .limits > div > div > div p, 
.addcoupon      .inside .limits > div > div > div p,
.couponsexpdate .inside .limits > div > div > div p {
	margin:0 0 13px;
}
.addcard        .inside .limits > div > div > div p .selectbox, 
.addcoupon      .inside .limits > div > div > div p .selectbox,
.couponsexpdate .inside .limits > div > div > div p .selectbox {
	float:left;
	margin:0 14px 13px 0;
}
.addcard        .inside .limits > div > div > div p .selectbox .select, 
.addcoupon      .inside .limits > div > div > div p .selectbox .select,
.couponsexpdate .inside .limits > div > div > div p .selectbox .select {
	width:200px;
}
.addcard        .inside .limits > div > div > div p .selectbox .dropdown, 
.addcoupon      .inside .limits > div > div > div p .selectbox .dropdown,
.couponsexpdate .inside .limits > div > div > div p .selectbox .dropdown {
	width:234px;
}
.addcard        .inside .limits > div > div > div p em,
.addcoupon      .inside .limits > div > div > div p em,
.couponsexpdate .inside .limits > div > div > div p em {
	float:left;
	display:block;
	width:30px;
	font-style:normal;
	padding:6px 0 7px;
}
.addcard        .inside .limits > div > div > div p em .plus,
.addcoupon      .inside .limits > div > div > div p em .plus,
.couponsexpdate .inside .limits > div > div > div p em .plus {
	float:left;
	width:18px;
	height:18px;
	cursor:pointer;
	margin:0;
	background:url('./images/add_plus_icon.png') no-repeat left top;
}
.addcard        .inside .limits > div > div > p,
.addcoupon      .inside .limits > div > div > p,
.couponsexpdate .inside .limits > div > div > p {
	float:left;
	margin:0;
}
.addcard   .inside .limits > .double > div > p {
	margin-top:21px;
}
.addcard        .inside .limits > div > div > p input,
.addcoupon      .inside .limits > div > div > p input,
.couponsexpdate .inside .limits > div > div > p input {
	float:left;
	width:61px;
	color:#444444;
	font-size:13px;
	text-align:right;
	padding:6px 9px 7px 9px;
	margin:0 9px 0 0;
	background:#ffffff;
	border:1px solid #d9d9d9;
}
.addcoupon      .inside .limits > div > div > p input,
.couponsexpdate .inside .limits > div > div > p input {
	width:30px;
}
.addcard .inside .limits > div > div > p .cash {
	float:left;
	display:block;
	margin:0 9px 0 0;
}
.addcard .inside .limits > div > div > p .cash .selectbox {
	float:left;
}
.addcard .inside .limits > div > div > p .cash .selectbox .select {
	width:59px;
}
.addcard .inside .limits > div > div > p .cash .selectbox .dropdown {
	width:93px;
}
.addcard .inside .limits > div > div > p .period {
	float:left;
	display:block;
	margin:0 9px 0 0;
}
.addcard .inside .limits > div  .remove {
	float:left;
	width:15px;
	height:15px;
	cursor:pointer;
	margin:5px 0 0;
	background:url('./images/remove_icon.png') no-repeat left top;
}
.addcard .inside .limits h5 {
	font-size:13px;
	line-height:18px;
	padding:0 0 0 22px;
	margin:7px 0 9px 72px;
	background:url('./images/new_card_icon.png') no-repeat left 2px;
}

.addcoupon      .nominal ul,
.couponsexpdate .nominal ul {
	float:left;
	margin:0 14px 0 0;
}
.addcoupon      .nominal ul li,
.couponsexpdate .nominal ul li {
	float:left;
	font-size:13px;
	line-height:16px;
	font-weight:bold;
	margin:0 10px 0 0;
}
.addcoupon      .nominal ul li span,
.couponsexpdate .nominal ul li span {
	position:relative;
	display:block;
	color:#016989;
	cursor:pointer;
	padding:6px 12px 7px;
	border:1px solid #d9d9d9;
	border-radius:15px;
	behavior:url('./pie.htc');
}

.addcard         .finish, 
.addclientholder .finish, 
.addcoupon       .finish,
.couponsexpdate  .finish {
	clear:both;
	overflow:hidden;
	padding:20px 0 20px 20px;
}
.addcard         .finish button, 
.addclientholder .finish button, 
.addcoupon       .finish button,
.couponsexpdate  .finish button {
	float:left;
	color:#ffffff;
	font-size:13px;
	line-height:16px;
	font-weight:bold;
	cursor:pointer;
	padding:8px 11px 9px;
	margin:0 20px 0 0;
	background:#069e1f;
}
.addcard         .finish p, 
.addclientholder .finish p, 
.addcoupon       .finish p,
.couponsexpdate  .finish p {
	float:left;
	font-weight:normal;
	padding:8px 0 9px;
	margin:0;
}
.newclient {

}
.div_edit_fin_state {

}
.newclient h2,
.div_edit_fin_state h2,
.popup_window h2 {
	font-size:21px;
	line-height:24px;
	font-weight:normal;
	padding:0;
	margin:2px 0 14px;
}
.newclient > div {
	width:96%;
	padding:18px 17px 5px;
	background:#f9f9f9;
}
.popup_window > div {
	width:647px;
	padding:18px 17px 5px;
	background:#f9f9f9;
}
.make_bill > div {
	width:400px;
}
.newclient > div p ,
.popup_window > div p {
	height:31px;
	font-size:13px;
	line-height:16px;
	font-weight:bold;
	margin:0 0 18px;
}
.newclient > div p.checkbox ,
.popup_window > div p.checkbox {
	margin:-4px 0 12px;
}
.newclient > div p.area ,
.popup_window > div p.area {
	clear:both;
	overflow:hidden;
	height:auto;
}
.newclient > div p > span ,
.popup_window > div p > span {
	float:left;
	display:block;
	text-align:right;
	margin:0 9px 0 0;
	padding:7px 0 8px;
}
.newclient > div p > span:first-child ,
.popup_window > div p > span:first-child {
	width:142px;
}
.newclient > div p input, .newclient > div p textarea ,
.popup_window > div p input, .popup_window > div p textarea {
	float:left;
	display:block;
	width:478px;
	font-size:15px;
	padding:5px 7px 7px 8px;
	background:#ffffff;
	border:1px solid #dddddd;
}
.newclient > div p textarea ,
.popup_window > div p textarea {
	min-height:75px;
	resize:vertical;
}
.newclient > div p input.organization {
	width:369px;
}
.newclient > div p input.phone {
	width:310px;
}
.newclient > div p input.inn {
	width:103px;
	margin:0 40px 0 0;
}
.newclient > div p input.orgn {
	width:103px;
	margin:0 30px 0 0;
}
.newclient > div p span.view_tin {
	width: 103px;
	margin: 0 40px 0 0;
	border: 1px solid #d2d2d2;
	font-size: 15px;
	font-weight: normal;
	background-color: gray;
	text-align: left;
	padding: 5px 7px 7px 8px;
}
.newclient > div p span.view_psrn {
	margin: 0 30px 0 0;
}
.newclient > div p input.number {
	width:77px;
}
.newclient > div p input.index {
	width:50px;
	margin:0 14px 0 0;
}
.newclient > div p .country {
	float:left;
	padding:0;
	margin:0 14px 0 0;
}
.newclient > div p .country .selectbox {
	float:left;
	font-weight:normal;
}
.newclient > div p .country .selectbox .select ,
.newclient > div p .country input {
	width:93px;
}
.newclient > div p .country .selectbox .dropdown {
	width:127px;
}
.newclient > div p .city {
	float:left;
	padding:0;
	margin:0;
}
.newclient > div p .city .selectbox {
	float:left;
	font-weight:normal;
}
.newclient > div p .city .selectbox .select ,
.newclient > div p .city input{
	width:114px;
}
.newclient > div p .city .selectbox .dropdown {
	width:148px;
}
.newclient > div p .type {
	float:left;
	width:auto;
	padding:0;
	margin:0 8px 0 0;
}
.newclient > div p .type .selectbox {
	float:left;
	font-weight:normal;
}
.newclient > div p .type .selectbox .select {
	width:65px;
}
.newclient > div p .type .selectbox .dropdown {
	width:99px;
}
.newclient > div p .tip {
	width:auto;
	font-weight:normal;
	margin:0 0 0 10px;
}
.newclient > div p span.check ,
.popup_window > div p span.check {
	float:left;
	width:auto;
	font-weight:normal;
	text-align:left;
}
.newclient > div p span.check .checker ,
.popup_window > div p span.check .checker {
	float:left !important;
	margin:0 10px 0 0 !important;
}
.newclient .finish ,
.div_edit_fin_state .finish ,
#show_agent_balance .finish ,
.popup_window .finish {
	clear:both;
	overflow:hidden;
	padding:13px 0 0 4px;
}
.newclient .finish button ,
.div_edit_fin_state .finish button ,
#show_agent_balance .finish button ,
.popup_window .finish button {
	float:left;
	color:#ffffff;
	font-size:13px;
	line-height:16px;
	font-weight:bold;
	cursor:pointer;
	padding:8px 11px 9px;
	margin:0 20px 0 0;
	background:#069e1f;
}
.newclient .finish p ,
.div_edit_fin_state .finish p,
.popup_window .finish p {
	float:left;
	font-weight:normal;
    padding:8px 0 9px;
	margin:0;
    display: none;
}
.make_bill .finish p {
	width:100px;
}
.tariffsel {
	display:none;
	position:fixed;
	left:50%;
	top:50%;
	z-index:10100;
	width:960px;
	margin:-258px 0 0 -480px;
	background:#ffffff;
}
.tariffsel h2 {
	font-size:21px;
	line-height:24px;
	font-weight:normal;
	padding:19px 20px 20px;
	margin:0;
}
.tariffsel .inside {
	clear:both;
	overflow:hidden;
	padding:20px 20px 21px;
	background:#f9f9f9;
}
.tariffsel .inside .preview {
	float:left;
	width:210px;
	margin:7px 0 0;
}
.tariffsel .inside .preview {
	margin:0 0 12px;
}
.tariffsel .inside .preview li {
	font-size:13px;
	line-height:16px;
	margin:0 0 10px;
}
.tariffsel .inside .preview li span {
	color:#adadad;
}
.tariffsel .inside .preview li .checker {
	float:left !important;
	margin:0 10px 0 0 !important;
}
.tariffsel .inside .view {
	float:right;
	width:629px;
}
.tariffsel .inside .view .parameters {
	position:relative;
	overflow:hidden;
	height:28px;
	margin:0 0 10px;
	background:#ffffff url('./images/tariffsel_parameters.png') no-repeat 7px 6px;
	border:2px solid #dbdbdb;
}
.tariffsel .inside .view .parameters input {
	width:561px;
	font-size:13px;
	padding:5px 32px 5px 32px;
}
.tariffsel .inside .view .parameters input::-webkit-input-placeholder {
	color:#adadad;
}
.tariffsel .inside .view .parameters input:-moz-placeholder {
	color:#adadad;
}
.tariffsel .inside .view .parameters input::-moz-placeholder {
	color:#adadad;
}
.tariffsel .inside .view .parameters input:-ms-input-placeholder {
	color:#adadad;
}
.tariffsel .inside .view .parameters .clear {
	position:absolute;
	right:8px;
	top:6px;
	width:15px;
	height:15px;
	cursor:pointer;
	background:url('./images/clear_icon.png') no-repeat left top;
}
.tariffsel .inside .view > p {
	font-size:13px;
	line-height:16px;
	margin:0 18px;
}
.tariffsel .inside .view .popular {
	padding:14px 17px 7px;
	margin:0 0 14px;
	background:#ffffff;
	border:1px solid #dadada;
}
.tariffsel .inside .view .popular h3 {
	color:#050505;
	font-size:13px;
	line-height:16px;
	margin:18px 0 8px;
}
.tariffsel .inside .view .popular h3:first-child {
	margin-top:0;
}
.tariffsel .inside .view .popular p {
	font-size:13px;
	line-height:16px;
	margin:0 0 8px;
}
.tariffsel .finish {
	clear:both;
	overflow:hidden;
	padding:20px 0 20px 20px;
}
.tariffsel .finish button {
	float:left;
	color:#ffffff;
	font-size:13px;
	line-height:16px;
	font-weight:bold;
	cursor:pointer;
	padding:8px 11px 9px;
	margin:0 20px 0 0;
	background:#069e1f;
}
.tariffsel .finish p {
	float:left;
	font-weight:normal;
	padding:8px 0 9px;
	margin:0;
}
.tariffs {
	margin:11px 0 19px;
}
.tariffs h2 {
	font-size:21px;
	line-height:24px;
	font-weight:normal;
	padding:0;
	margin:0 0 13px;
}
.tariffs .view {
	margin:0 0 22px;
	background:#f9f9f9;
}
.tariffs .view .filter {
	clear:both;
	overflow:hidden;
	font-size:13px;
	line-height:16px;
	font-weight:bold;
	padding:18px 16px 17px 20px;
}
.tariffs .view .filter span {
	float:left;
	display:block;
	padding:7px 0 8px;
}
.tariffs .view .filter input {
	float:right;
	width:764px;
	color:#444444;
	font-size:13px;
	padding:6px 9px 7px 9px;
	margin:0 8px 0 0;
	background:#ffffff;
	border:1px solid #d9d9d9;
}
.tariffs .view .once {
	height:31px;
	padding:14px 18px 14px 13px;
	background:#f0f0f0;
	margin:0 0 2px;
}
.tariffs .view .once .system {
	float:left;
	margin:0 4px 0 0;
}
.tariffs .view .once .system .selectbox .select {
	width:92px;
	font-size:15px;
}
.tariffs .view .once .system .selectbox .dropdown {
	width:126px;
	font-size:15px;
}
.tariffs .view .once .type {
	float:left;
	margin:0 4px 0 0;
}
.tariffs .view .once .type .selectbox .select {
	width:131px;
	font-size:15px;
}
.tariffs .view .once .type .selectbox .dropdown {
	width:165px;
	font-size:15px;
}
.tariffs .view .once .percent {
	float:left;
	margin:0 4px 0 0;
}
.tariffs .view .once .percent .selectbox .select {
	width:23px;
	font-size:15px;
}
.tariffs .view .once .percent .selectbox .dropdown {
	width:57px;
	font-size:15px;
}
.tariffs .view .once p {
	float:left;
	font-size:15px;
	line-height:18px;
	margin:0;
}
.tariffs .view .once p input {
	float:left;
	width:30px;
	color:#444444;
	font-size:15px;
	text-align:right;
	padding:5px 4px 7px 4px;
	margin:0 8px 0 0;
	background:#ffffff;
	border:1px solid #d9d9d9;
	margin:0 4px 0 0;
}
.tariffs .view .once p span {
	float:left;
	display:block;
	padding:6px 0 5px;
}
.tariffs .view .once .remove {
	float:right;
	width:15px;
	height:15px;
	cursor:pointer;
	margin:6px 0 0;
	background:url('./images/remove_icon.png') no-repeat left top;
}
.tariffs .view .once .range {
	position:relative;
	float:left;
	width:442px;
	height:31px;
	margin:0 16px 0 15px;
	background:url('./images/range_bg.png') no-repeat center 15px;
}
.tariffs .view .once .range ul {
	position:absolute;
	left:-22px;
	top:0;
	width:484px;
	margin:0;
}
.tariffs .view .once .range ul li {
	float:left;
	width:44px;
	font-size:11px;
	line-height:14px;
	font-weight:bold;
	text-align:center;
}
.tariffs .view .once .range span {
	position:absolute;
	top:13px;
	display:block;
	width:11px;
	height:16px;
	cursor:pointer;
	background:url('./images/range_arrow.png') no-repeat left top;
}
.tariffs .view .finish {
	clear:both;
	overflow:hidden;
	padding:19px 20px 22px 20px;
}
.tariffs .view .finish button {
	float:left;
	color:#ffffff;
	font-size:13px;
	line-height:16px;
	font-weight:bold;
	cursor:pointer;
	padding:8px 11px 9px;
	margin:0 20px 0 0;
	background:#069e1f;
}
.tariffs .view .finish p {
	float:left;
	font-weight:normal;
	padding:8px 0 9px;
	margin:0;
}
.tariffs .same > p {
	font-size:13px;
	line-height:16px;
	font-weight:bold;
	margin:0 0 27px;
}
.tariffs .same > div p {
	clear:both;
	overflow:hidden;
	color:#9e9e9e;
	font-size:17px;
	line-height:20px;
	margin:0 0 10px;
}
.tariffs .same > div p span {
	float:left;
	display:block;
	width:548px;
	color:#444444;
	margin:0 10px 0 0; 
}
.companies {
	margin:2px 0 27px;
}
.companies > div {
	position:relative;
	clear:both;
	overflow:hidden;
	padding:0 0 14px;
	margin:0 0 26px;
	border-bottom:1px solid #ececec;
}
.companies .name {
	float:left;
	width:450px;
	min-height:66px;
	padding:0 0 29px;
	margin:0 16px 0 0;
}
.companies .name h2 {
	width:450px;
	font-size:21px;
	line-height:25px;
	font-weight:normal;
	padding:0;
	margin:0 0 1px;
}
.companies .name p {
	color:#9f9f9f;
	font-size:13px;
	line-height:16px;
	margin:0 1px 1px;
}
.companies ul {
	position:absolute;
	left:0;
	bottom:14px;
	clear:both;
	overflow:hidden;
	margin:0;
}
.companies ul li {
	float:left;
	color:#9f9f9f;
	font-size:13px;
	line-height:16px;
	margin:0 0 0 14px;
}
.companies ul li:first-child {
	margin-left:0;
}
.companies .graph {
	float:left;
	width:140px;
	margin:8px 12px 0 0;
}
.companies table {
	margin:0;
}
.companies table th, .companies table td {
	text-align:left;
	font-size:13px;
	line-height:16px;
	vertical-align:top;
	padding:6px 0 0 20px;
}
.companies table th:first-child, .companies table td:first-child {
	padding-left:0;
}
.companies table th:last-child, .companies table td:last-child {
	text-align:right;
}
.companies table.days {
	float:left;
}
.companies table.months {
	float:right;
	width:168px;
}

/* Selectbox */

.selectbox {
	vertical-align:middle;
	cursor:pointer;
}
.selectbox .select {
	position:relative;
	float:left;
	width:140px;
	color:#444444;
	font-size:13px;
	line-height:18px;
	text-align:left;
	padding:5px 25px 6px 9px;
	background:#ffffff;
	border:1px solid #d9d9d9;
}
.selectbox .select .text {
	display:block;
	width:100%;
	white-space:nowrap;
	text-overflow:ellipsis;
	overflow:hidden;
}
.selectbox .trigger {
	position: absolute;
	top:0;
	right:0;
	width:25px;
	height:100%;
}
.selectbox .trigger .arrow {
	position:absolute;
	top:13px;
	right:10px;
	border-left:5px solid transparent;
	border-right:5px solid transparent;
	border-top:5px solid #9f9f9f;
	width:0;
	height:0;
	overflow:hidden;
}
.selectbox .dropdown {
	top:30px;
	width:174px;
	margin:0;
	background:#ffffff;
	border:1px solid #d9d9d9;
	color:#444444;
	font-size:13px;
	line-height:18px;
	text-align:left;
}
.selectbox .dropdown ul {
	margin:0;
}
.selectbox li {
	padding:5px 9px 6px !important;
}
.selectbox li.selected {
	background:#e2e2e2;
	color:#444444;
}
.selectbox li:hover {
	background:#e9e9e9;
	color:#444444;
}
.f_address, .p_address{
    display: none;
}
.ui-datepicker{
    z-index: 100002!important;
}
.block_limits{
    display: none;
}
.not_num{
    display: none;
}
.sprava{
    float: right!important;
}
.gas_type_name{
    font-size: 18px;
}
.select_type{
display: inline-block; float: left; margin:0 0 10px 72px;
}
.select_type + h5{
    float:left; clear:none!important; margin-left:10px!important; margin-top: 6px!important;
}
.restriction .selectbox{width:300px;}
.restriction .select{width:264px;}
.restriction .dropdown{width:298px;}
.popup .newcontract {margin-bottom: 0px;}
.popup .couponsrest {margin-bottom: 0px;}
.popup .finish p  {display: inline-block;}
.full_block{
    display:none;
    position: relative;
    min-height: 145px;
}

.fancybox-overlay{
   z-index: 10001!important;
   /*z-index: 9999 !important;*/
      
}

.fancybox-wrap{
	z-index:99999 !important;
}

input, textarea, button.form_submit {
    color:#444444;
    font-size:15px;
    padding:5px 9px 7px 9px;
    background:#ffffff;
    border:1px solid #d9d9d9;
}

.big_select .select{
    width: 200px;
}
.n_sort{
    width:40px;
}
.newcontract .tariff .notification > div {
    padding-right: 15px;
}
.newcontract .tariff .notification > div > div{
    margin-top: 0;
}
.newcontract .tariff .notification .select{
    width: 500px;
}
.newcontract .tariff .notification{
    overflow: visible;
}
.tariff .dropdown{
    width: 500px;
}
.newcontract .tariff .notification > div > div ul li{
    margin: 0; float: none;
}
.firm_toggle{
    display: inline-block;
    color: #ffffff;
    font-size: 13px;
    line-height: 16px;
    vertical-align: top;
    cursor: pointer;
    padding: 5px 10px 6px;
    margin: -5px 0 0 9px;
    background: #069e1f;
}
.firm_toggle[act="0"]{
    background: #ec1c24;
}
tr.deleted td{
    background: lightsalmon;
}

.tabs_block{
    position: relative;
    padding: 0 0 0 400px;
    /*max-*/height: 260px;
}
.tabs{
    position: absolute;
    top: 0;
    left: 0;
    width: 270px;
    /*max-*/height: 260px;
    overflow-y: scroll;
}
.tab_clients{
    position: absolute; top:0; left:275px; width:120px; height: 110px; overflow-y: auto; overflow-x: hidden;
}
.tabs_block .tab{
    border-radius: 5px 0 0 5px; margin: 0 0 3px 0; background: #eee; padding: 5px 10px; cursor: pointer;
}
.tabs_block .tab_content{
    display: none;
}
.tabs_block .tab.act, .tabs_block .tab:hover{
    font-weight: bold; background: #ddd;
}
.tabs_block .tab_content.act{
    display: block;
}
.elem{
    padding: 5px 10px;
}
.elem.act{
    background:#f9f9f9; font-weight:bold;
}
.online{
    display: inline-block; padding: 5px 10px; background: #069e1f; color: #fff;
}
.card_search_block, .holder_search_block, .coupon_search_block{
    display: inline-block; margin: 0 10px; border-radius: 10px; border: 2px solid #ccc; width: 200px;
}
.card_search_block input, .holder_search_block input, .coupon_search_block input{
    border: 0; border-radius: 10px; padding:6px 0 6px 12px; float:left; width: 155px;
}
.card_search_block button, .holder_search_block button, .coupon_search_block button{
    background:url('./images/search_icon.png') no-repeat 4px 5px; border: none; width: 30px; height: 28px; margin: 0;cursor:pointer;top:0;right:0;
}
.client_state{
    display: inline-block; border-radius: 50%; width:13px; height:13px; background: #069e1f;
}
.client_state.is_blocked{
    background: #ec1c24;
}
.with_calendar{
    position: relative; display: inline-block;
}
.with_calendar input{
    width: 100px;
}
.del_item, .del_bill, .btn_close_contract{
    color:#ffffff;
    font-size:13px;
    line-height:16px;
    font-weight:bold;
    cursor:pointer;
    padding:3px 10px;
    background:#EC1C24;
    margin: 2px 2px 2px 0px;
}
.edit_item{
    color:#ffffff;
    font-size:13px;
    line-height:16px;
    font-weight:bold;
    cursor:pointer;
    padding:3px 5px;
    background:#069e1f;
    margin: 2px 2px 2px 0px;
}
.firm_delete{
    float: right;
}
.comments_list{
    top:50px; right:0;
}
.comments{
    height: 300px; overflow-y: auto;
}
.card_history, .holder_history, .coupon_history{
    position: absolute; 
    top:50px; 
    left: 460px; 
    height: 94px; 
    width: 200px;
    font-size: 12px; 
    overflow-y: scroll; 
    padding:0 1px;
}

.comment{
    resize: none;
    width: 97%;
    height: 150px;
    overflow: auto;
}
.fr{
	float: right;
}
.footer{
	text-align: center; padding: 12px 0 0 0; border-top:1px solid #ececec; clear:both;
}
.make_bill > div p input {
	width:100px;
}
.supplier .selectbox {
	margin: 0 10px 0 0;
}
.supplier .selectbox .select {
	width:295px;
}
.supplier .selectbox .dropdown {
	width:330px;
}
.content .tabs_block .tabs_content .act .ul li {
	float:left;
	padding:3px 7px 4px 5px;
}

.lk-cookies {
   position: fixed;
   bottom: 0;
   left: 0;
   width: 100%;
   background: #FFFFFF;
   border-top: 1px solid #ddd;
   padding-top: 30px;
   padding-bottom: 30px;
   transition: transform 200ms ease;
 }

 .lk-cookies--hidden {
   transform: translateY(100%);
 }

 .lk-cookies__text-area {
   width: 70%;
   padding-left: 20px;
 }

 .lk-cookies__button-area {
   width: 30%;
   text-align: right;
   padding-right: 20px;
 }
 
 .lk-cookies__button {
        background-color: #fff;
        border-color: #aaaaaa;
        padding: 12px 18px;
        cursor: pointer;
 }