* {
  margin: 0;
  padding: 0;
}
html,
body {
  height: 100%;
}
a,
a:hover {
  text-decoration: none;
}
body {
  background-color: #ececec;
}
.center {
  max-width: 1024px;
  margin: 0 auto;
}
ul,
li,
a {
  list-style: none;
  margin: 0;
  padding: 0;
}
table thead {
  background-color: #ddd;
}
.overflow-auto {
  overflow: auto !important;
}
.bg-white {
  background-color: white;
}
.text-red {
  color: red;
}
.mb-3 {
  margin-bottom: 15px;
}
.mr-3 {
  margin-right: 15px;
}
.p-3 {
  padding: 15px;
}
.mt-3 {
  margin-top: 15px;
}
.mb-0 {
  margin-bottom: 0 !important;
}
.d-block {
  display: block !important;
}
.d-none {
  display: none !important;
}
.d-inline-block {
  display: inline-block;
}
.w-auto {
  width: auto !important;
}
.center-form {
  border: 1px solid #ddd;
  min-width: 550px;
  width: 50%;
  margin: 15px auto;
  padding: 5px;
}
.text-left {
  text-align: left !important;
}
.buttons {
  padding: 5px;
  font-weight: bold;
  color: #fff;
  background-color: #2c7fec;
  border-radius: 5px;
  border: 1px solid;
  min-width: 95px;
}
.buttons:hover {
  background-color: #4ba3da;
}
.btn-link {
  color: #337ab7 !important;
}
.btn-primary {
  background-color: #2c7fec !important;
}
.form-group {
  margin: 0 !important;
}
.font-bold {
  font-weight: bold;
}
label {
  color: #858585;
  font-family: Myriad Pro;
  text-transform: uppercase;
  font-size: 20px;
  line-height: 1.2em;
}
.table {
  border: 2px solid #999;
  border-radius: 5px;
  width: 100%;
  margin-bottom: 15px;
}
.table thead td {
  font-weight: bold;
  height: 20px;
  line-height: 20px;
  border-bottom: 1px solid #999;
}
.table td,
.table > thead:first-child > tr:first-child > th {
  padding: 3px 10px !important;
  line-height: 16px !important;
}
.table tbody tr:not(.filters):hover {
  cursor: pointer;
  background-color: #2c7fec;
  color: #fff;
}
.table tbody tr:hover input {
  color: black;
}
.invisible {
  display: none;
}
.form-control {
  height: 28px !important;
  padding: 3px 12px !important;
}
@keyframes bordercolor {
  from {
    border-width: 3px;
    border-color: #2c7fec;
  }
  50% {
    border-width: 3px;
    border-color: #999;
  }
  to {
    border-width: 3px;
    border-color: #2c7fec;
  }
}
.using {
  border: 3px solid #2c7fec;
  animation: bordercolor 2s infinite ease-in-out;
}
.wrap {
  height: auto;
  margin: 0 auto -60px;
  padding: 0 0 60px;
}
.wrap > .container {
  padding: 70px 15px 20px;
}
.custom-label label {
  border: 5px solid #000;
  padding: 20px 10px 20px 60px;
  line-height: 1;
  text-transform: uppercase;
  font-size: 20px;
  font-family: "Myriad Pro";
  font-weight: normal;
  color: #000;
  background-image: url(/images/backgrounds/download.png);
  background-repeat: no-repeat;
  background-position: -10px 50%;
  background-size: 80px auto;
}
.custom-label label:hover {
  cursor: pointer;
}
a.asc:after,
a.desc:after {
  position: relative;
  top: 1px;
  display: inline-block;
  font-family: 'Glyphicons Halflings';
  font-style: normal;
  font-weight: normal;
  line-height: 1;
  padding-left: 5px;
}
a.asc:after {
  content: "\e151";
}
a.desc:after {
  content: "\e152";
}
.sort-numerical a.asc:after {
  content: "\e153";
}
.sort-numerical a.desc:after {
  content: "\e154";
}
.sort-ordinal a.asc:after {
  content: "\e155";
}
.sort-ordinal a.desc:after {
  content: "\e156";
}
.grid-view th {
  white-space: nowrap;
}
.hint-block {
  display: block;
  margin-top: 5px;
  color: #999;
}
.error-summary {
  color: #a94442;
  background: #fdf7f7;
  border-left: 3px solid #eed3d7;
  padding: 10px 20px;
  margin: 0 0 15px 0;
}
.position-relative {
  position: relative;
}
.position-absolute {
  position: absolute;
}
.buttons.turnover {
  min-width: auto;
  width: 32px;
  height: 32px;
  line-height: 20px;
  border-radius: 16px;
  transform: rotate(-90deg);
  position: relative;
  top: -36px;
}
.buttons.turnover.opened {
  transform: rotate(90deg);
}
.divTurnover {
  display: none;
}
.divTurnover.opened {
  display: block;
}
.scrollArea {
  overflow-y: auto;
  max-height: 450px;
  margin-bottom: 15px;
  border: 1px solid #999;
}
.navbar {
  background-color: #fff;
  height: auto;
}
#current_firm {
  display: inline-block;
  color: #2c7fec;
  font-weight: bold;
  max-width: calc(100% - 330px);
  margin-left: 5px;
}
.marg-tb-20 {
  margin-top: 20px;
  margin-bottom: 20px;
}
.move_right {
  float: right;
  height: 70px;
  line-height: 70px;
  font-weight: bold;
}
#user_menu {
  background-color: #fff;
}
#left_menu {
  position: relative;
  float: left;
  width: 120px;
  height: calc(100% - 115px);
  background-color: #fff;
}
.lmenu_item {
  display: block;
  padding: 10px;
  padding-left: 15px;
  line-height: 20px;
  font-weight: bold;
  color: #2c7fec;
  border-bottom: 1px solid #ddd;
  position: relative;
}
.lmenu_item:hover {
  background-color: #2c7fec;
  color: #fff;
  cursor: pointer;
}
.selected,
.allow_selected,
.left_selected,
.firmlist_selected,
.contract_selected,
.card_selected,
.limit_selected,
.supply_selected,
.freecard_selected,
.grant_selected,
.schet_selected,
.user_selected,
.transact_selected,
.transactrecount_selected {
  background-color: #4ba3da !important;
  color: #fff;
}
#left_menu .logout {
  padding: 0;
  color: #2c7fec;
  font-weight: bold;
}
#left_menu > ul > li:last-child:hover .logout {
  color: #fff;
}
.submenu ul {
  display: none;
  position: absolute;
  left: 110px;
  top: 0;
  background-color: #fff;
  width: 200px;
  border: 1px solid #ddd;
  box-shadow: 0 0 4px #222;
  z-index: 2;
}
.submenu:hover ul {
  display: block;
}
.submenu ul {
  width: 444px;
}
.submenu ul>li {
  width: 218px;
  display: inline-block;
}
#btn_menu {
  display: none;
  background-image: url(/web/images/btn_menu.png);
  background-repeat: no-repeat;
  width: 32px;
  height: 32px;
  vertical-align: middle;
  top: 3px;
  position: relative;
  margin-left: 20px;
}
#btn_menu:hover {
  background-image: url(/web/images/btn_menu_hover.png);
  cursor: pointer;
}
#btn_menu:active {
  position: relative;
  top: 5px;
}
.wait {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10;
  background-color: rgba(0,0,0,0.4);
  width: 100%;
  text-align: center;
  height: 100%;
  font-weight: bold;
  padding: 5px 0;
}
.wait img {
  width: 128px;
  height: 100px;
  top: calc(50% - 50px);
  position: relative;
}
body .site-nav {
  margin-bottom: 0;
  border: none;
  border-bottom: 1px solid #ddd;
}
.site-nav-link {
  font-size: 20px;
  font-family: "Verdana";
  color: #000000;
}
.footer {
  position: fixed;
  bottom: 0;
  width: 100%;
  height: 45px;
  background-color: #f5f5f5;
  border-top: 1px solid #ddd;
  padding-top: 13px;
}
.hide_user {
  display: none;
}
.newsCount {
  width: 18px;
  height: 18px;
  line-height: 18px;
  border-radius: 14px;
  background-color: red;
  color: white;
  font-size: 11px;
  text-align: center;
  position: absolute;
  right: 14px;
  top: 11px;
  font-weight: bold;
}
.site-login {
  max-width: 676px;
  margin: 0 auto;
  font-family: "Verdana";
}
.container.login,
.container.register {
  background-image: url(/images/login-bg.png);
  background-repeat: no-repeat;
  background-position: 50% 50%;
  background-size: 100% auto;
}
.login-logo {
  max-width: 90px;
}
.login-site-link {
  text-transform: uppercase;
  color: #4ca2d9;
  font-size: 30px;
}
.login-site-link img {
  vertical-align: middle;
  margin-top: 60px;
}
.login-site-link span:last-child {
  color: #2c7fec;
}
.login-link-wrapper {
  margin-bottom: 40px;
}
.login-tagline {
  font-size: 30px;
  color: #000000;
  margin-bottom: 100px;
}
.site-login .form-horizontal {
  border: 2px solid #e7e7e7;
  background-color: #fafafa;
  border-radius: 5px;
  padding-left: 40px;
  padding-right: 40px;
  padding-bottom: 10px;
}
.site-login .btn-block {
  text-transform: uppercase;
}
.form-horizontal h2 {
  margin-top: 20px;
  margin-bottom: 40px;
  font-size: 44px;
}
.site-login .control-label {
  color: #7b7a7a;
  font-size: 18px;
  font-weight: normal;
  padding-top: 0;
  line-height: 34px;
}
.login-err-message {
  color: #a94442;
  margin-bottom: 15px;
}
@media (min-width: 768px) {
  .form-horizontal .control-label {
    text-align: left;
  }
}
a.login-site-link:hover {
  text-decoration: none;
}
#user_alert {
  margin-left: auto;
}
.alert_good,
.alert_error {
  background-color: palegreen;
  padding: 0 30px;
}
.alert_error {
  background-color: #fa9797;
}
.input-label {
  font-size: 24px;
  font-family: "Myriad Pro";
  font-weight: normal;
  color: #858585;
  text-transform: uppercase;
  line-height: 1.2;
  margin: 0;
  display: block;
}
.form-justify {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.form-justify .form-group {
  margin-bottom: 0;
}
#main {
  margin: 20px;
  margin-left: 140px;
}
#main > div::after {
  content: "";
  display: block;
  clear: both;
}
.divcompany {
  justify-content: space-around;
}
.divcompany h4 {
  margin-bottom: 25px;
}
.divadduser,
.divaddtransact,
.divaddtransactrecount,
.divrights,
.divprices,
.divaddprice,
.divadd_cardlimit,
.div_cardtofirm,
.divaddgrant,
.divaddmoney,
.divaddto,
#company_list,
#company_info {
  border: 1px solid #ddd;
  border-radius: 5px;
  background-color: #fff;
  min-height: 300px;
}
#div_freecards {
  max-height: 300px;
  overflow: auto;
  border: 1px solid #ddd;
  margin-bottom: 15px;
}
#div_freecards .table {
  margin-bottom: 0;
}
#company_list,
#company_info {
  min-width: 320px;
  padding: 10px;
  margin-bottom: 10px;
}
#company_search {
  width: 100%;
  margin-bottom: 10px;
}
#company_tbl {
  border: 2px solid #ddd;
  border-radius: 5px;
  width: 100%;
  margin-bottom: 15px;
}
#company_tbl thead {
  font-weight: bold;
  height: 20px;
  line-height: 20px;
  border-bottom: 1px solid #ddd;
}
#company_tbl td,
.company_infotable td {
  padding: 3px 10px;
  line-height: 16px;
}
#company_tbl tbody tr:nth-of-type(2n) {
  background-color: #eef;
}
#company_tbl td:nth-child(1) {
  width: 55px;
}
#company_tbl tbody tr:hover {
  cursor: pointer;
  background-color: #2c7fec;
  color: #fff;
}
.company_infotable {
  width: 100%;
}
.company_infotable .company_info_label {
  font-weight: bold;
  width: 115px;
}
.company_info_controls {
  display: none;
}
.company_info_label {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 14px;
  color: #000;
}
.company_infotable tr {
  line-height: 16px;
  height: 16px;
}
#btn_company_block,
#btn_company_unblock,
#btn_company_cancel,
#btn_company_save,
#btn_company_addinfo,
#btn_company_chg,
#btn_allow_del,
#btn_contract_edit,
#btn_contract_block,
#btn_cardlimit_add,
#btn_cardlimit_obsh_add,
#btn_cardlimit_edit,
#btn_cardlimit_obsh_edit,
#btn_cardtofirm,
#btn_card_block,
#btn_card_unblock,
#btn_card_destroy,
#btn_card_pin,
#btn_card_derjatel,
#btn_card_null,
#btn_freecard_pin,
#btn_cardgrant_add,
#btn_cardgrant_del,
#btn_supply_edit,
#btn_supply_del,
#btn_user_activate,
#btn_user_deactivate,
#btn_chg_password,
#btn_chg_role,
#download_xml_svodfirm,
#download_xls_svodfirm,
#download_xls_toclient,
#download_xml_svodfirmto,
#download_xls_svodfirmto,
#download_xls_sverkatobsl {
  display: none;
}
.company_info_actionAdd,
.company_info_actionChg {
  display: none;
  color: #2c7fec;
  font-weight: bold;
  line-height: 20px;
}
.contract label {
  font-size: 15px;
}
img.plus_minus {
  height: 16px;
  margin-right: 5px;
  vertical-align: -2px;
  cursor: pointer;
}
.divcontract {
  flex-wrap: wrap;
  justify-content: space-between;
}
.divcontract form {
  display: inline-block;
}
#contract_info {
  display: none;
}
#contract_price {
  display: table;
}
#contract_list {
  float: left;
  margin-right: 10px;
}
#contract_price::before {
  content: "";
  display: inline-block;
  clear: both;
}
.divcontract h4 {
  margin-bottom: 25px;
}
#contract_list,
#contract_info,
#account_add,
#contract_price,
#contract_params {
  border: 1px solid #ddd;
  border-radius: 5px;
  background-color: #fff;
  padding: 10px;
}
#contract_list,
.contract_rightblock {
  display: table;
  margin-bottom: 10px;
}
#contract_info {
  width: 100%;
}
#contract_price {
  margin-top: 15px;
  width: 100%;
  min-height: 150px;
}
#contract_params {
  margin-top: 15px;
  width: 100%;
}
#contract_search {
  width: 100%;
  margin-bottom: 10px;
}
#contract_tbl,
#contract_schet_tbl {
  border: 2px solid #ddd;
  border-radius: 5px;
  width: 100%;
  margin-bottom: 15px;
}
#contract_tbl thead,
#contract_schet_tbl thead {
  font-weight: bold;
  height: 20px;
  line-height: 20px;
  border-bottom: 1px solid #ddd;
}
#contract_tbl td,
#contract_schet_tbl td {
  padding: 3px 10px;
  line-height: 16px;
}
#contract_tbl td:nth-child(1) {
  width: 55px;
}
#contract_schet_tbl td:nth-child(3) {
  width: 100px;
}
#contract_tbl tbody tr:hover,
tr.contract_schet_row:hover {
  cursor: pointer;
  background-color: #2c7fec;
  color: #fff;
}
.contract_info_controls {
  display: none;
}
.contract_infotable tr {
  line-height: 16px;
  height: 16px;
}
#contract_schet_tbl td[data-name="dostupno"] {
  text-align: right;
}
#contract_caption {
  color: #2c7fec;
  font-weight: bold;
}
#contract_account_add {
  display: none;
  width: 100%;
  margin-top: 15px;
  border: 1px solid #2c7fec;
  text-align: center;
  padding: 10px;
}
#contract_account_add select,
.contract select {
  height: 32px;
  border-radius: 3px;
  min-width: 100px;
  margin-bottom: 10px;
}
.del_schet {
  color: blue;
}
.del_schet:hover {
  color: red;
  font-weight: bold;
}
.del_schet:active {
  color: #000;
}
#pricetree {
  margin-top: 10px;
}
#pricetree > ul {
  border: 1px solid #2c7fec;
  padding: 5px;
}
#pricetree li {
  margin-left: 20px;
  padding: 3px;
}
#pricetree li span {
  display: inline-block;
  background-color: #d5f0ff;
}
#pricetree li span:hover {
  cursor: pointer;
  background-color: #2c7fec;
  color: white;
}
.hasDatepicker {
  display: block;
  width: 100%;
  height: 32px;
  padding: 6px 12px;
  font-size: 14px;
  line-height: 1.42857143;
  color: #555;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
}
#addmoney_info {
  border: 1px solid #ddd;
  min-width: 280px;
  max-width: 600px;
  margin: 15px auto;
  padding: 5px;
}
.divcards {
  justify-content: space-around;
}
.divcards h4.mobilenum {
  color: #2c7fec;
  font-weight: bold;
}
#cards_list,
#cards_info {
  border: 1px solid #ddd;
  border-radius: 5px;
  background-color: #fff;
  padding: 10px;
  margin-bottom: 10px;
}
#cardid-selected {
  color: #2c7fec;
  font-weight: bold;
}
.card_limit_row .del_limit:hover {
  color: red;
}
.div_minicards {
  text-align: center;
  margin-bottom: 15px;
}
.minicard {
  display: inline-block;
  min-width: 120px;
  padding: 4px 20px;
  padding-right: 50px;
  border: 1px solid #2c7fec;
  border-radius: 7px;
  color: white;
  font-weight: bold;
  background-color: #4ba3da;
  box-sizing: border-box;
  position: relative;
}
.del_minicard {
  position: absolute;
  right: 10px;
  top: 4px;
}
.del_minicard:hover {
  color: red;
  cursor: pointer;
}
.divgroupopen {
  border: 1px solid #ddd;
  border-radius: 5px;
  background-color: #fff;
  min-height: 100px;
}
#supplies_toopen,
#cards_toopen {
  max-height: 650px;
  padding-top: 10px;
}
.divsupply {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.divsupply h4 {
  margin-bottom: 25px;
}
#supply_list,
#supply_points_list,
#supply_point_add,
#div_supply_add {
  border: 1px solid #ddd;
  border-radius: 5px;
  background-color: #fff;
  padding: 10px;
  margin-bottom: 10px;
}
.supply_point_row:hover .del_point {
  color: white;
}
.free_point_row:hover .add_point {
  color: white;
}
#supply_points_list {
  width: 100%;
}
#supply_search {
  width: 100%;
  margin-bottom: 10px;
}
#supply_tbl {
  margin-bottom: 0;
}
#supply_points_tbl {
  margin-bottom: 0;
}
input#filt_freepoint_kod {
  width: 65px;
}
input#filt_freepoint_name {
  width: 90%;
}
#free_point_tbl {
  margin-bottom: 0;
}
#free_point_tbl td {
  text-align: left;
}
#free_points_tbl tbody td:first-child {
  width: 80px;
}
#free_points_tbl tbody td:last-child {
  width: 100px;
  text-align: right;
}
#supply_caption {
  color: #2c7fec;
  font-weight: bold;
}
#sup_edit_caption span {
  color: #2c7fec;
  font-weight: bold;
}
#supply_point_add,
#div_supply_add {
  width: 100%;
  margin-top: 15px;
  border: 1px solid #2c7fec;
  padding: 10px;
}
#div_supply_add {
  display: none;
}
#supply_point_add select {
  height: 32px;
  border-radius: 3px;
  min-width: 100px;
}
#supply_point_add input,
#div_supply_add input {
  width: 100%;
  height: 32px;
  line-height: 16px;
  margin-bottom: 15px;
  padding: 0 5px;
}
.supply_point_row .del_point,
.free_point_row .add_point {
  color: #2c7fec;
  font-weight: bold;
}
.del_price {
  font-weight: bold;
  color: blue;
  margin-left: 5px;
}
.supply_point_row .del_point:hover {
  color: red;
}
.free_point_row .add_point:hover {
  color: red;
}
.del_price:hover {
  color: red;
  cursor: pointer;
}
.supply_point_row .del_point:active {
  color: #000;
}
.free_point_row .add_point:active {
  color: #000;
}
.del_price:active {
  color: red;
}
#addprice_info {
  border: 1px solid #ddd;
  min-width: 280px;
  max-width: 600px;
  margin: 15px auto;
  padding: 5px;
}
#addlimit_info {
  border: 1px solid #ddd;
  min-width: 280px;
  max-width: 600px;
  margin: 15px auto;
  padding: 5px;
}
#cardtofirm_info {
  border: 1px solid #ddd;
  min-width: 280px;
  width: 50%;
  margin: 15px auto;
  padding: 5px;
}
#addgrant_info {
  border: 1px solid #ddd;
  min-width: 280px;
  width: 50%;
  margin: 15px auto;
  padding: 5px;
}
#report_filter,
#report_main {
  border: 1px solid #ddd;
  border-radius: 5px;
  background-color: #fff;
  min-height: 100px;
  margin-bottom: 10px;
  padding: 10px;
}
#report_main {
  display: none;
}
#report_dtf,
#report_dtt {
  display: inline-block;
  width: 200px;
  margin-right: 5px;
}
.rep_card_id {
  text-align: center;
  font-weight: bold;
  color: white;
  background-color: #4ba3da;
  border: 1px solid black;
}
.rep_header_line {
  background-color: #ddd;
  font-weight: bold;
}
#tbl_report td:nth-child(n+4) {
  text-align: right;
}
.rep_footer_line td:nth-child(n+2) {
  text-align: right;
}
#tbl_report,
#tbl_report_totals {
  border-color: black;
}
.rep_footer_line {
  background-color: #e2ffe2;
  font-weight: bold;
  border-bottom: 2px solid black;
}
.rep_record {
  padding: 0 8px;
  font-size: 0.9em;
}
#download_pdf {
  display: none;
  cursor: pointer;
}
#download_pdf:hover {
  color: blue;
}
#tbl_report_totals .rep_totals td {
  border-right: 1px solid #ddd;
}
#tbl_report_totals .rep_totals td:last-of-type {
  border-right: 2px solid black;
}
#tbl_report_totals .rep_header_line td,
#tbl_report_totals .rep_record td {
  text-align: right;
}
.detailshort .emptyRow td {
  border-top: 1px solid #bbb;
  border-bottom: 1px solid #bbb;
  background-color: #efefef;
}
.div_cardgiveact {
  border: 1px solid #ddd;
  border-radius: 5px;
  background-color: #fff;
  min-height: 100px;
  margin-bottom: 10px;
  padding: 10px;
}
#type_act {
  margin-bottom: 10px;
  width: 250px;
}
#download_xls {
  display: none;
}
#tbl_svodfirm_1 tbody td:nth-child(n+2) {
  text-align: center;
}
#tbl_svodfirm_1 tbody td:nth-child(n+9) {
  text-align: right;
}
#tbl_svodfirm_2 tbody td:nth-child(n+2) {
  text-align: center;
}
#tbl_svodfirm_2 tbody td:nth-child(n+5) {
  text-align: right;
}
.svodfirm .div_report {
  min-width: 1160px;
}
.svodfirmto .div_report {
  min-width: 1190px;
}
td.firm_name {
  min-width: 200px;
}
#sel_sverka_tobsl {
  width: 200px;
  display: inline-block;
}
.div_sverka_report form {
  margin-top: 20px;
}
.div_sverka_report {
  overflow-y: auto;
}
.div_sverka_report form label {
  font-size: 14px;
}
.div_sverka_report form #chk_sverka_alltobsl,
.div_sverka_report form #chk_sverka_detailtobsl {
  width: 15px;
  height: 15px;
  display: inline-block;
  position: relative;
  top: 2px;
  margin-left: 5px;
}
.div_sverka_report .left,
.div_sverka_report .right {
  border: 1px solid #2c7fec;
  border-radius: 5px;
  float: left;
  margin-bottom: 12px;
  margin-right: 12px;
  padding: 12px;
  font-family: monospace;
  position: relative;
  height: 155px;
}
.div_sverka_report .right {
  text-align: right;
}
.div_sverka_report .left::before {
  content: " Период ";
  display: block;
  position: absolute;
  top: -10px;
  left: 20px;
  background-color: white;
}
.div_sverka_report .right::before {
  content: " Точки обслуживания ";
  background-color: white;
  display: block;
  position: absolute;
  top: -10px;
  left: 20px;
}
.div_sverka_report #report_filter::after {
  content: "";
  display: block;
  clear: both;
}
.div_sverka_report #report_filter .hasDatepicker {
  margin-right: 0;
}
.sverkatobsl .left #report_dtf {
  margin-bottom: 10px;
}
.sverkatobsl .right #sel_sverka_tobsl {
  margin-bottom: 10px;
}
#sel_detail_contract {
  width: 200px;
  display: inline-block;
}
.div_detaildog_report form {
  margin-top: 20px;
}
.div_detaildog_report {
  overflow-y: auto;
}
.div_sverka_report form label {
  font-size: 14px;
}
.div_detaildog_report .left,
.div_detaildog_report .right,
.filter_group {
  border: 1px solid #2c7fec;
  border-radius: 5px;
  float: left;
  margin-bottom: 12px;
  margin-right: 12px;
  padding: 12px;
  font-family: monospace;
  position: relative;
  height: 162px;
  max-width: 265px;
}
.div_detaildog_report .right {
  text-align: right;
}
.div_detaildog_report .left::before {
  content: " Период ";
  display: block;
  position: absolute;
  top: -10px;
  left: 20px;
  background-color: white;
}
.div_detaildog_report .right::before {
  content: " Договора ";
  background-color: white;
  display: block;
  position: absolute;
  top: -10px;
  left: 20px;
}
.div_detaildog_report #report_filter::after,
.div_checkreport_report #report_filter::after {
  content: "";
  display: block;
  clear: both;
}
.div_detaildog_report #report_filter .hasDatepicker {
  margin-right: 0;
}
.sverkatobsl .left #report_dtf {
  margin-bottom: 10px;
}
.sverkatobsl .right #sel_detail_contract {
  margin-bottom: 10px;
}
.payonperiod #report_filter #sel_kod_firm,
.payonperiod #report_filter #sel_kod_dog {
  max-width: 250px;
  display: inline-block;
}
.payonperiod #report_filter #sel_kod_dog {
  margin-bottom: 10px;
}
.payonperiod .left,
.payonperiod .right {
  border: 1px solid #2c7fec;
  border-radius: 5px;
  float: left;
  margin-bottom: 12px;
  margin-right: 12px;
  padding: 12px;
  font-family: monospace;
  position: relative;
  height: 155px;
}
.payonperiod .left::before {
  content: " Период ";
  display: block;
  position: absolute;
  top: -10px;
  left: 20px;
  background-color: white;
}
.payonperiod .right::before {
  content: " Дополнительно ";
  background-color: white;
  display: block;
  position: absolute;
  top: -10px;
  left: 20px;
}
.payonperiod .left #report_dtf {
  margin-bottom: 10px;
}
.payonperiod .right #sel_sverka_tobsl {
  margin-bottom: 10px;
}
.diveditusers {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.diveditusers h4 {
  margin-bottom: 25px;
}
#users_list,
#divuser_firms_list,
#supply_point_add,
#div_supply_add {
  border: 1px solid #ddd;
  border-radius: 5px;
  background-color: #fff;
  padding: 10px;
}
#users_list,
.editusers_rightblock {
  width: 49%;
  display: table;
}
.user_firm_row:hover .del_firm {
  color: white;
}
.user_freefirm_row:hover .add_firm {
  color: white;
}
.user_firm_row .del_firm,
.user_freefirm_row .add_firm {
  color: #2c7fec;
  font-weight: bold;
}
.user_firm_row .del_firm:hover {
  color: red;
}
.user_freefirm_row .add_firm:hover {
  color: red;
}
.diveditusers #users_list form label,
.transact label,
.transactrecount label {
  font-size: 13px;
}
.diveditusers #users_list form input#only_active_users,
.transact input#hide_closed,
.transactrecount input#hide_closed {
  width: 15px;
  height: 15px;
  display: inline-block;
  position: relative;
  top: 9px;
  left: 4px;
}
#adduser_info {
  border: 1px solid #ddd;
  min-width: 280px;
  width: 50%;
  margin: 15px auto;
  padding: 5px;
}
#adduser_info .passinput {
  position: relative;
}
#adduser_info button.generatepass {
  position: absolute;
  right: 12px;
  top: 8px;
  height: 26px;
  line-height: 15px;
}
#adduser_info input {
  font-family: monospace;
}
#transact_main {
  border: 1px solid #ddd;
  border-radius: 5px;
  background-color: #fff;
  min-height: 100px;
  margin-bottom: 10px;
  padding: 10px;
}
.tbl_transact,
.tbl_transactrecount {
  width: 100%;
  margin-bottom: 10px;
}
.tbl_transact tr td,
.tbl_transactrecount tr td {
  text-align: center;
  border: 1px solid #ddd;
}
#addtransact_info {
  border: 1px solid #ddd;
  min-width: 280px;
  width: 50%;
  margin: 15px auto;
  padding: 5px;
}
.divaddtransact .form-control[readonly] {
  background-color: #fff;
  cursor: pointer;
}
.divaddtransact .hidable {
  width: 96%;
  margin: 0 auto;
  margin-bottom: 15px;
  max-height: 300px;
  overflow-y: scroll;
  overflow-x: hidden;
  border: 1px solid #2c7fec;
}
.divaddtransact .hidable table {
  margin-bottom: 0;
}
.div_tbl_foundtransact span {
  display: block;
  margin: 10px;
  font-size: 18px;
  color: #999;
  font-weight: 600;
}
.divaddtransact .div_tbl_cards,
.divaddtransact .div_tbl_firms,
.divaddtransact .div_tbl_contract,
.divaddtransact .div_tbl_tobsl,
.divaddtransact .div_tbl_foundtransact {
  display: none;
  box-shadow: 0px 0px 8px #2c7fec;
}
.divaddtransact .field-addtransactform-card_id,
.divaddtransact .field-addtransactform-firm_id,
.divaddtransact .field-addtransactform-contract_id,
.divaddtransact .field-addtransactform-tobsl_id,
.divaddtransact .field-addtransactform-usluga_id,
.divaddtransact .field-addtransactform-price,
.divaddtransact .field-addtransactform-dt,
.divaddtransact .field-addtransactform-price,
.divaddtransact .field-addtransactform-kol,
.divaddtransact .field-addtransactform-foundtransact_id,
#btn_trans_delete,
#btn_transrecount_delete,
#btn_transrecount_approve,
#btn_trans_approve {
  display: none;
}
#addtransact_info #btn_findtransact {
  margin-bottom: 20px;
  margin-left: 10px;
}
#btn_addtransact_save {
  margin-left: 10px;
}
.div_card_search {
  border: 1px solid #ddd;
  border-radius: 5px;
  background-color: #fff;
  min-height: 100px;
  margin-bottom: 10px;
  padding: 10px;
}
#card_search {
  border: 1px solid #2c7fec;
  padding: 5px;
  margin: 0 auto;
  width: 100%;
}
#card_search input {
  display: inline-block;
}
#btn_search_card {
  width: 100px;
}
#card_search .result span {
  display: inline-block;
  margin: 10px;
  margin-left: 0;
}
.divaddtransactrecount .form-control[readonly] {
  background-color: #fff;
  cursor: pointer;
}
.divaddtransactrecount .hidable {
  width: 96%;
  margin: 0 auto;
  margin-bottom: 15px;
  max-height: 300px;
  overflow-y: scroll;
  overflow-x: hidden;
  border: 1px solid #2c7fec;
}
.divaddtransactrecount .hidable table {
  margin-bottom: 0;
}
.divaddtransactrecount .div_tbl_firms,
.divaddtransactrecount .div_tbl_contract {
  display: none;
  box-shadow: 0px 0px 8px #2c7fec;
}
.divaddtransactrecount .field-addrecountform-contract_id,
.divaddtransactrecount .field-addrecountform-dtf,
.divaddtransactrecount .field-addrecountform-dtt,
#btn_trans_delete,
#btn_transrecount_delete,
#btn_transrecount_approve,
#btn_trans_approve {
  display: none;
}
#addto_info {
  border: 1px solid #ddd;
  min-width: 280px;
  width: 50%;
  margin: 15px auto;
  padding: 5px;
}
.area {
  border: 1px solid #ddd;
  border-radius: 5px;
  background-color: #fff;
  min-height: 100px;
  margin-bottom: 10px;
  padding: 10px;
  overflow-x: auto;
}
.processing .delete {
  color: red;
  min-width: 40px;
  text-align: center;
}
.processing .apply {
  color: green;
  min-width: 40px;
  text-align: center;
}
.processing .area>form>div {
  max-height: 350px;
  overflow-y: auto;
}
.processing .area.info {
  font-size: 12px;
}
.emitgrantto form {
  display: inline;
}
.emitgrantto .topArea {
  padding: 0 10px;
  max-height: 300px;
  overflow-y: auto;
  margin-bottom: 10px;
}
.addtobsleeprice .frame50 {
  border: 1px solid #ddd;
  min-width: 280px;
  width: 50%;
  margin: 15px auto;
  padding: 5px;
}
.allow {
  background-color: #afa;
}
.disallow {
  background-color: #fcc;
}
.clear-both {
  content: "";
  display: block;
  clear: both;
}
.cashback_addrel .hidable {
  width: 96%;
  margin: 0 auto;
  margin-bottom: 15px;
  max-height: 300px;
  overflow-y: scroll;
  overflow-x: hidden;
  border: 1px solid #2c7fec;
}
.cashback_addrel .hidable table {
  margin-bottom: 0;
}
.cashbackRelDelete:hover,
.cashbackKbDelete:hover {
  color: red;
  font-weight: bold;
}
.oneCheck {
  border: 1px solid gray;
  padding: 2ch;
  float: left;
  font-family: monospace;
}
@media (max-width: 600px) {
  #contract_list,
  .contract_rightblock {
    float: none;
    display: block;
    margin-right: 0;
  }
}
@media (max-width: 1170px) {
  #btn_menu {
    display: inline-block;
  }
  #left_menu {
    display: none;
    position: absolute !important;
    right: 2px;
    height: auto !important;
    box-shadow: 0 0 4px;
    z-index: 2;
  }
  .submenu ul {
    right: 120px;
    left: initial;
  }
  .open {
    display: block !important;
  }
  nav .logout {
    display: none;
  }
  #main {
    margin: 20px;
  }
  .submenu ul {
    width: 220px;
  }
  .submenu ul>li .lmenu_item {
    font-size: 12px;
    padding: 5px;
    padding-left: 15px;
    line-height: 17px;
  }
}
