@charset "UTF-8";

/*!
 * Pikaday
 * Copyright © 2014 David Bushell | BSD & MIT license | https://dbushell.com/
 */

.pika-single {
    z-index: 9999;
    display: block;
    position: relative;
    color: #333;
    background: #fff;
    border: 1px solid #ccc;
    border-bottom-color: #bbb;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

/*
clear child float (pika-lendar), using the famous micro clearfix hack
http://nicolasgallagher.com/micro-clearfix-hack/
*/
.pika-single:before,
.pika-single:after {
    content: " ";
    display: table;
}
.pika-single:after { clear: both }

.pika-single.is-hidden {
    display: none;
}

.pika-single.is-bound {
    position: absolute;
    box-shadow: 0 5px 15px -5px rgba(0,0,0,.5);
}

.pika-lendar {
    float: left;
    width: 240px;
    margin: 8px;
}

.pika-title {
    position: relative;
    text-align: center;
}

.pika-label {
    display: inline-block;
    position: relative;
    z-index: 9999;
    overflow: hidden;
    margin: 0;
    padding: 5px 3px;
    font-size: 14px;
    line-height: 20px;
    font-weight: bold;
    background-color: #fff;
}
.pika-title select {
    cursor: pointer;
    position: absolute;
    z-index: 9998;
    margin: 0;
    left: 0;
    top: 5px;
    opacity: 0;
}

.pika-prev,
.pika-next {
    display: block;
    cursor: pointer;
    position: relative;
    outline: none;
    border: 0;
    padding: 0;
    width: 20px;
    height: 30px;
    /* hide text using text-indent trick, using width value (it's enough) */
    text-indent: 20px;
    white-space: nowrap;
    overflow: hidden;
    background-color: transparent;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 75% 75%;
    opacity: .5;
}

.pika-prev:hover,
.pika-next:hover {
    opacity: 1;
}

.pika-prev,
.is-rtl .pika-next {
    float: left;
    background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAeCAYAAAAsEj5rAAAAUklEQVR42u3VMQoAIBADQf8Pgj+OD9hG2CtONJB2ymQkKe0HbwAP0xucDiQWARITIDEBEnMgMQ8S8+AqBIl6kKgHiXqQqAeJepBo/z38J/U0uAHlaBkBl9I4GwAAAABJRU5ErkJggg==');
}

.pika-next,
.is-rtl .pika-prev {
    float: right;
    background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAeCAYAAAAsEj5rAAAAU0lEQVR42u3VOwoAMAgE0dwfAnNjU26bYkBCFGwfiL9VVWoO+BJ4Gf3gtsEKKoFBNTCoCAYVwaAiGNQGMUHMkjGbgjk2mIONuXo0nC8XnCf1JXgArVIZAQh5TKYAAAAASUVORK5CYII=');
}

.pika-prev.is-disabled,
.pika-next.is-disabled {
    cursor: default;
    opacity: .2;
}

.pika-quickbuttons {
    position: relative;
    text-align: center;
}
.pika-today,
.pika-yesterday,
.pika-tomorrow {
    display: inline-block;
    *display: inline;
    position: relative;
    z-index: 9999;
    overflow: hidden;
    margin: 0;
    padding: 5px 3px;
    font-size: 14px;
    line-height: 20px;
    font-weight: bold;
    background-color: #fff;

    cursor: pointer;
    outline: none;
    border: 0;
}

.pika-today:hover,
.pika-yesterday:hover,
.pika-tomorrow:hover {
    opacity: 1;
}

.pika-select {
    display: inline-block;
}

.pika-table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    border: 0;
}

.pika-table th,
.pika-table td {
    width: 14.285714285714286%;
    padding: 0;
}

.pika-table th {
    color: #999;
    font-size: 12px;
    line-height: 25px;
    font-weight: bold;
    text-align: center;
}

.pika-button {
    cursor: pointer;
    display: block;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    outline: none;
    border: 0;
    margin: 0;
    width: 100%;
    padding: 5px;
    color: #666;
    font-size: 12px;
    line-height: 15px;
    text-align: right;
    background: #f5f5f5;
}

.pika-week {
    font-size: 11px;
    color: #999;
}

.is-today .pika-button {
    color: #33aaff;
    font-weight: bold;
}

.is-selected .pika-button,
.has-event .pika-button {
    color: #fff;
    font-weight: bold;
    background: #33aaff;
    box-shadow: inset 0 1px 3px #178fe5;
    border-radius: 3px;
}

.has-event .pika-button {
    background: #005da9;
    box-shadow: inset 0 1px 3px #0076c9;
}

.is-disabled .pika-button,
.is-inrange .pika-button {
    background: #D5E9F7;
}

.is-startrange .pika-button {
    color: #fff;
    background: #6CB31D;
    box-shadow: none;
    border-radius: 3px;
}

.is-endrange .pika-button {
    color: #fff;
    background: #33aaff;
    box-shadow: none;
    border-radius: 3px;
}

.is-disabled .pika-button {
    pointer-events: none;
    cursor: default;
    color: #999;
    opacity: .3;
}

.is-outside-current-month .pika-button {
    color: #999;
    opacity: .3;
}

.is-selection-disabled {
    pointer-events: none;
    cursor: default;
}

.pika-button:hover,
.pika-row.pick-whole-week:hover .pika-button {
    color: #fff;
    background: #ff8000;
    box-shadow: none;
    border-radius: 3px;
}

/* styling for abbr */
.pika-table abbr {
    border-bottom: none;
    cursor: help;
}

/**
 * Featherlight - ultra slim jQuery lightbox
 * Version 1.7.14 - http://noelboss.github.io/featherlight/
 *
 * Copyright 2019, Noël Raoul Bossart (http://www.noelboss.com)
 * MIT Licensed.
**/
html.with-featherlight{overflow:hidden}.featherlight{display:none;position:fixed;top:0;right:0;bottom:0;left:0;z-index:2147483647;text-align:center;white-space:nowrap;cursor:pointer;background:#333;background:rgba(0,0,0,0)}.featherlight:last-of-type{background:rgba(0,0,0,.8)}.featherlight:before{content:'';display:inline-block;height:100%;vertical-align:middle}.featherlight .featherlight-content{position:relative;text-align:left;vertical-align:middle;display:inline-block;overflow:auto;padding:25px 25px 0;border-bottom:25px solid transparent;margin-left:5%;margin-right:5%;max-height:95%;background:#fff;cursor:auto;white-space:normal}.featherlight .featherlight-inner{display:block}.featherlight link.featherlight-inner,.featherlight script.featherlight-inner,.featherlight style.featherlight-inner{display:none}.featherlight .featherlight-close-icon{position:absolute;z-index:9999;top:0;right:0;line-height:25px;width:25px;cursor:pointer;text-align:center;font-family:Arial,sans-serif;background:#fff;background:rgba(255,255,255,.3);color:#000;border:0;padding:0}.featherlight .featherlight-close-icon::-moz-focus-inner{border:0;padding:0}.featherlight .featherlight-image{width:100%}.featherlight-iframe .featherlight-content{border-bottom:0;padding:0;-webkit-overflow-scrolling:touch}.featherlight iframe{border:0}.featherlight *{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}@media only screen and (max-width:1024px){.featherlight .featherlight-content{margin-left:0;margin-right:0;max-height:98%;padding:10px 10px 0;border-bottom:10px solid transparent}}@media print{html.with-featherlight>*>:not(.featherlight){display:none}}
.featherlight .featherlight-content {
	background: #edf4fc;
	border: 2px solid #bad7ff;
	border-radius: 7px;
	padding: 20px;
}

.featherlight .featherlight-inner {
	/* just in case */
}

.featherlight.popup_form .featherlight-inner {
	width: 300px;
	/* override new-form padding */
	padding: 0;
}

.featherlight .featherlight-close-icon {
	font-size: 20px;
	color: #777;
}
.featherlight .featherlight-close-icon:hover {
	color: #333;
}
.featherlight-hide {
	display: none;
}

/* featherlight-dialogs.css */

/* Internal content wrapper, structures header, body, and buttons */
.fd-content-wrapper {}

.fd-header {
    margin-bottom: 15px;
}

.fd-header h3 {
    margin: 0;
}

.fd-body {
    margin-bottom: 15px;
    line-height: 1.5; /* Good standard line height for readability */
}

.fd-body p {
    margin: 0;
}
.fd-body p:not(:last-child) {
    margin-bottom: 10px;
}

.fd-prompt-input {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    box-sizing: border-box;
    margin-top: 10px;
    /* Font styling will be inherited */
}

.fd-buttons {
    text-align: right;
    padding-top: 15px;
}

.fd-buttons:empty {
    display: none; /* Hide if no buttons are present */
}

/* Default button styling */
.fd-buttons button {
    padding: 8px 12px;
    margin-left: 8px;
    cursor: pointer;
    border: 1px solid #ccc;
    min-width: 70px; 
    background-color: #f1f1f1;
    color: #333; /* Required for contrast with light grey background */
    /* Other typographic properties (font-size, line-height, font-weight) removed to inherit from site defaults */
}

.fd-buttons button:first-child {
    margin-left: 0; /* No margin for the first button if right-aligned */
}

.fd-buttons button:hover {
    background-color: #e0e0e0;
    border-color: #bbb;
}

/* Primary action button */
.fd-buttons button.fd-btn-primary,
.fd-buttons button.fd-confirm-btn {
    background-color: #007bff;
    color: white; /* Required for contrast with blue background */
    border-color: #007bff;
}

.fd-buttons button.fd-btn-primary:hover,
.fd-buttons button.fd-confirm-btn:hover {
    background-color: #0069d9;
    border-color: #0062cc;
}

/* Secondary/Cancel button styling (inherits default button style) */
.fd-buttons button.fd-btn-secondary,
.fd-buttons button.fd-cancel-btn {}

.fd-buttons button.fd-btn-secondary:hover,
.fd-buttons button.fd-cancel-btn:hover {}

/* Fallback default button class (inherits default button style) */
.fd-buttons button.fd-btn-default {}

/* Featherlight's own close button (top right X) styling */
.featherlight.fd-variant .featherlight-close-icon {
     /* Color removed to inherit from parent */
}

.featherlight.fd-variant .featherlight-close-icon:hover {
    /* Hover color will also be inherited or should be set by user if specific behavior is needed */
} 
.noselect {
  -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
     -khtml-user-select: none; /* Konqueror HTML */
       -moz-user-select: none; /* Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
            user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome and Opera */
}

body {
	color: #202020;
}

/* overwrite chrome defaults */
input, textarea, select, button {
	font-size: 1em;
	font-family: Arial,Helvetica Neue,sans-serif;
}
/* fix firefox overflow */
input[type=file] {
	max-width: 100%;
}

input[type=text], input[type=password], textarea, select {
	box-sizing: border-box;
	min-height: 24px;
	padding: 1px 3px;
	border-radius: 4px;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	border: 1px solid #aaa;
}

/* align all checkbox vertically inline */
input[type=checkbox] {
	vertical-align: middle;
}

select, .forms input[type="text"], .formdiv div input[type="text"] {
	width: 100%;
}
.kvitantsiya input{width:80% !important;font-size:1em;}

.forms.borderless {
	border: 0;
}
.forms .date_nomer{width:35%;display:inline-block;}
.forms .nomer_and_date {
	display:inline-block;
}
.forms .nomer_and_date input[type="text"] {
	width: 150px;
	max-width: 100%;
	min-width: 110px;
}

.inline-block {
	display: inline-block;
}

.center #reclame {
	margin: 10px 0;
}
#center_bottom {
	margin: 10px 0;
}
#bottom_splitter {
	margin-top: 10px;
}

span.select_wrapper{display:inline-block;max-width:100%;}/* helps limiting select width */
.error{ color: red; }
.warning{ color: blue; }
.info{ color: green; }
.forms input[type="text"].datepicker { min-width: 110px; width: 150px; max-width: 100%; }
#widget_nds p { margin: 10px 0px 10px 0px; }
#widget_nds label { margin-right: 10px; }
#nds_link { font-size: 0.7em; color: #555555;}
#nds_link.highlight { background-color: black; color: white; }
#add_row_link.highlight { text-decoration: underline; text-decoration-color: red; }
.soglasie.highlight {opacity: 0.5;}
.select_container.highlight { outline: 2px solid orange; }
input[type="submit"].highlight { outline: 2px solid orange; }
.text_as_link:hover { text-decoration: underline; cursor: pointer;}
input.input_as_text {
	outline:none;
	border-width:0px;
	background-color: transparent;
	font-size: 1em;
	border:0 !important;
}
.jq-selectbox.auto_recording_blanc {
	width: 100%;
}
.crudcontainer label {
	display: block;
	padding: 1px;
	text-align: center;
	margin-right: 10px;
}
.crudcontainer table {
	border: 0;
	border-collapse: collapse;
	width: 100%;
}
.crudcontainer th {
	padding: 10px;
	text-align: left;
}
.crudcontainer td {
	padding: 5px 10px;
	text-align: left;
	border-bottom: 1px solid #f2f2f2;
}
.crudcontainer .date { min-width: 200px; }
.crudcontainer .name { min-width: 99%; }
.crudcontainer tr:nth-child(even) {background-color: #f2f2f2}

.crudcontainer th {
	background-color: #b7c8ec;
	color: white;
}
.crudcontainer div.buttons {
	background-color: #b7c8ec;
	padding: 5px 0 0 10px;
}

/* DataTable styles start */
.crudcontainer .dataTable-top {
	background-color: #b7c8ec;
	padding: 5px 10px 0 10px !important;
}
.crudcontainer select.dataTable-selector {
	width: 100px !important;
	padding: 6px !important;
}
.crudcontainer .dataTable-top label {
	padding: 0 !important;
}
.crudcontainer input.dataTable-input {
	width: 200px;
	max-width: 100%;
	padding: 8px 12px;
	margin-left: 2px;
	border: 2px solid orange;
	border-radius: 3px;
}
/* DataTable styles end */

.crudcontainer ul.controls {
	list-style-type: none;
	margin: 20px 5px 5px 5px;
	padding: 0;
}
.crudcontainer .controls li {
	display: inline;
	margin: 0 10px 0 0;
	padding: 0;
}
.crudcontainer ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #f1f1f1;
}
.crudcontainer li {
    float: left;
}
.crudcontainer li a {
    display: block;
    color: #000;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
}
.crudcontainer li a.active {
	background-color: #b7c8ec;
	color: white;
}
.crudcontainer li a:hover:not(.active) {
	background-color: #555;
	color: white;
}

.crudcontainer .active {
    background-color: #b7c8ec;
	font-weight: bold;
}

button.tinybutton {
    padding: 4px 24px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 13px;
    margin: 4px 2px;

    background-color: white;
    color: black;
    border: 1px solid #ccc;
    border-radius: 3px;
}
button.tinybutton:hover {background-color: #e7e7e7;}

.print_button {
	min-width: 130px;
}

.button_as_link {
	margin: 0;
	min-height: 1.1em !important;
	box-shadow: none !important;
	color: black !important;

	background:none !important;
	border:none !important;
	padding:0 !important;
	font: inherit;
	cursor: pointer;
}
.button_as_link:hover {
	text-decoration: underline !important;
}

#comments {
	margin: 5px;
}
#comments span.author {
	font-size:13px;
	color:#454545;
	float: left;
}

#comments img {
	float: left;
	margin: 0 10px 10px 0;
}
#comments hr {
	display: block;
	clear: both;
}

#formdiv input[type="submit"] {
	font-size: 1em;
	padding: 2px 25px 2px 25px;
	margin-bottom: 10px;
	white-space: normal; /* allow word-wrap */
}

/*******************************************/
span.table_action {
	cursor: pointer;
	display: inline-block;
	/* We need next two lines it to avoid
	a line break if the content wrapper becomes wider
	than the parent block */
	white-space: nowrap;
	overflow: hidden;
}
span.table_action:hover {
	text-decoration: underline;
}
/* Magic! source: https://medium.com/@SteelKiwiDev/vertical-centering-until-the-block-reaches-specified-height-ea2e985f461 */
span.table_action:after {
  content: "";
  width: 0;
  height: 32px; /* this is the height */
  display: inline-block;
  vertical-align: middle;
}
span.table_action span {
	white-space: normal; /* Allow line breaks inside the content wrapper */
	display: inline-block;
	vertical-align: middle;
	text-decoration: inherit;
}

/* tagsprinter.css overrides these urls: */
span.plus_icon {
	background-image: url(/forms/images/add2-min.png);
	background-position: left center;
	background-repeat: no-repeat;
	padding-left: 37px;
}
span.import_icon {
	background-image: url(/forms/images/import5-min.png);
	background-position: left center;
	background-repeat: no-repeat;
	padding-left: 37px;
}
/*******************************************/

.tinytip {
	background-color: #d6e7ff;
	border:#bad7ff solid 2px;
	border-radius:5px;
	-moz-border-radius:5px;
	-webkit-border-radius:5px;
	box-shadow: 5px 5px 5px #888888;
	padding: 15px;
}
span.tip_link {
	cursor:pointer;
	color: gray;
	font-size: 0.8em;
}
.tinytip li {
	padding: 4px 0;
}

span.reg_text, span.enter_text, span.sendpass_text {
	cursor:pointer;
	color:#03F;
}
span.reg_text:hover, span.enter_text:hover, span.sendpass_text:hover {
	text-decoration: underline;
}

/* fixes SO style conflicting with selectize.js */
#goods-selectized {
	font-size: 13px;
}

.pika-label:hover,.pika-today:hover,.pika-yesterday:hover,.pika-tomorrow:hover { text-decoration: underline; }

textarea.textarea_as_input {
	width: 100%;
	box-sizing: border-box;

    overflow: hidden;
	margin: 0; /* =input */
    outline: none;
    resize: none;
	vertical-align: top; /* fixes bottom space in chrome */
}
input.tovar_nds {
	min-width: 2em;
	padding-left: 1px; padding-right: 0;
}

/* limits input-autoresizer: */
input.tovar_kod,input.tovar_barcode,input.tovar_kvt,input.tovar_ntd,input.tovar_cena,input.tovar_kol,input.tovar_sum,input.tovar_ed,input.tovar_nds {
	max-width: 200px;
}

/* webkit performance tuning */
input:focus, textarea:focus {
	outline: 1px solid #4d90fe;
}

textarea.html_code {
	width: 70%;
	max-width: 600px;
	overflow: hidden;
	font-size: 12px;
}

#tab1 tbody td {
	vertical-align: top;
}

#tab1 img.delete,
.formdiv img.delete,
.formdiv img.delete1 {
	margin-top: 3px;
	margin-right: 3px;
	max-width: none;
	max-height: none;
	cursor: pointer;
	width: 16px;
	height: 16px;
}
#tab1 img.move {
	cursor: move;
	width: 16px;
	height: 16px;
	max-width: none;
	max-height: none;
}
#tab1 img.insert {
	margin-top: 3px;
	cursor: pointer;
	width: 16px;
	height: 16px;
	max-width: none;
	max-height: none;
}
/* show + (insert) on hover only */
.table_controls img.insert {
	display: none;
}
.table_controls:hover img.insert {
	position: absolute;
	display: initial;
	padding-left: 3px;
}

img.smartrow {
	margin-left: 3px;
	cursor: pointer;
	width: 16px;
	height: 16px;
	max-width: none;
	max-height: none;
	vertical-align: middle;
}

#tab1 tr.faded {
	opacity: 0.3;
}

.selectize-dropdown .active {
  background-color: #eef7fd !important;
}

.validator-invalid {
  background-color: yellow !important;
}

.simple-comment {
	font-size: 0.7em;
}

#widget_valyuta_type input {
	width: 100px;
}

.action_link {
	cursor: pointer;
	color: black !important;
}
.action_link:hover {
	text-decoration: underline;
}

.paragraph {
	margin-left: 10px;
}

input.changed {
	background: lightgreen;
}

.small_comment {
	font-size: 0.7em;
	color: gray;
}

.forms .left {
	vertical-align: top;
	padding-top: 4px; /* aligns vartically to input fields */
}

.forms .forminput.dolzhnost {
	width: 30%;
	min-width: 150px;
}
.forms .forminput.fio {
	width: 60%;
	min-width: 150px;
}

.forms_inner_margins {
	margin: 1%;
}

#selectors {
	clear: both; /* fixes overlaping selectize and adsense block */
}

.ad-center {
	display: inline-block;
	width: 100%;
	height: 150px;
}

.ad_top_mobile {
	height: 300px; /* fix CLS */
	max-height: 300px; /* fix CLS */
}
.ad_bottom {
	/*max-height: 300px; а зачем ограничивать ?*/
	overflow: hidden;
	min-height: 250px; /* fix CLS */
}
@media (min-width:800px){
	.ad_bottom {
		max-height: 300px;
	}
}
.ad_middle_square {
	float: right;
	display: inline-block;
	width: 120px;
	height: 200px;
	/*border:1px dotted #dddddd;*/
	margin: 0 0 10px 5px;
	overflow: hidden;
}
@media (min-width:500px){
	.ad_middle_square {
		width: 234px;
		height: 200px;
	}
}
@media (min-width:800px){
	.ad_middle_square {
		width: 340px;
		height: 200px;
	}
}
@media (min-width:1280px) {
	.ad_middle_square {
		width: 450px;
		height: 150px;
	}
}
@media (min-width:1599px) {
	.ad_middle_square {
		width: 600px;
		height: 150px;
	}
}

/* small screens smaller global font */
@media (max-width:600px){
	body {
		font-size: 14px;
	}
}

/* just fix mobile tables by showing scroll */
.scroller_x {
	display: block;
	overflow-x: auto;
}

@media (max-width:1024px){
	#tab1 input, #tab1 textarea {
		font-size: 14px;
		padding-left: 1px; padding-right: 0;
	}
}
@media (max-width:600px){
	#tab1 input, #tab1 textarea {
		/*font-size: 12px;*/
		padding-left: 1px; padding-right: 0;
	}
}
@media (max-width:400px){
	#tab1 input[type="text"], #tab1 textarea {
		/*font-size: 10px;*/
		padding-left: 1px; padding-right: 0;
	}
	#tab1 {
		border-spacing: 2px;
	}
}

/* make print buttons smaller */
@media (max-width:500px){
	.print_button {
		min-width: 50px;
	}
	#formdiv input[type="submit"] {
		padding-left: 10px;
		padding-right: 10px;
	}
	.save_and_print_buttons_table tr {
		text-align: center;
	}
	.save_and_print_buttons_table td {
		text-align: center;
		display: inline-block;
		width: auto;
	}
}

.important_section {
	display: inline-block;
	border: 2px solid red;
	border-radius: 10px;
	background-color: orange;
	width: 200px;
	height: 80px;
	font-size: 20px;
	padding: 10px;
}
.vhcenter {
    position: relative;
	float: left;
    top: 50%;
    left: 50%;
    -moz-transform: translateX(-50%) translateY(-50%);
    -webkit-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
}

.autoFilled {
	opacity: 0.3;
	background-color: #7ecc82;
}
.autoFilled.autoFilledSpecial{
	background-color: orange;
}

.extended_print_settings.disabled {
	opacity: 0.3;
	pointer-events: none;
}


.center_fullwidth {
	padding: 10px;
}

#print-settings {
	display: none;
	margin: 0;
	border: 2px solid #b9d6fe;
	background-color: #dddddd;
	border-radius: 4px;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
}
#print-settings input {
	width: 50px;
}

.cenniki_highlight {
	background-color: yellow;
}

#formdiv #zakr_button {
	width: 200px;
	max-width: 100%;
	box-sizing: border-box;
	border: 1px solid red;
	min-height: 32px;
	padding: 2px;
	font-size: 14px;
}

tr.dragging_row {
	background-color: orange !important;
}

td.table_controls {
	white-space: nowrap;
}
td.table_controls_3 {
	white-space: nowrap;
}
td.table_controls_3 img.delete {
	margin-right: 0;
	margin-left: 3px;
}
td.table_controls_3 img.insert {
	margin-left: 3px;
}

input.table_rows_filter {
	padding: 8px 12px;
	width: 100%;
}

input.table_rows_filter.nonempty {
	background-color: orange;
}

/***********/
/* spinner */
.is-showingSpinner {
	position: relative;
}
.is-showingSpinner:before, .is-showingSpinner:after{
    content:'';
    position:absolute;
    bottom: 0; left: 0; right: 0; top: 0;
    z-index:2;
    pointer-events:none;
}
.is-showingSpinner:before {
    width:100%; height:100%;
    background-color: rgba(211, 211, 211, .8);
}
.is-showingSpinner:after {
    margin:auto;
    width: 48px; height: 48px;
    border: 5px solid #4ea6ea;
    border-left-color: transparent;
    border-top-color: transparent;
    border-radius: 50%;
    -webkit-animation: spin 600ms infinite linear;
    animation: spin 600ms infinite linear;
}
@-webkit-keyframes spin {
    0%   { transform: rotate(0deg); }
    100% { transform: rotate(359deg); }
}
/* spinner */
/***********/

.popup-form {
	position: relative;
	width: auto;
	max-width: 250px;
	margin: 20px auto;
}
@media (min-width:1024px) {
	.popup-form {
		margin-top: 100px !important;
	}
}
 /* override magnidic-popup background color: */
 .mfp-bg {
	 background: #333;
 }

.data-importer-dialog {
	max-width: 400px;
}

#tab1 .skidka_table, .skidka_table {
	display: inline-table;
	margin: 0;
	border: 0;
	padding: 0;
	border-spacing: 0;
    width: auto;
	vertical-align: text-bottom;
}
#tab1 .skidka_table td, .skidka_table td {
	margin: 0;
	border: 0;
	padding: 0;
	vertical-align: middle;
}

.changes_warning {
	font-size: 0.7em;
	color: darkred;
}

.manual_highlight {
	color: red;
}

.hidemail:after {
  content: attr(data-first) "@" attr(data-second) "." attr(data-third);
}

#toTop {
	z-index: 10;
}

/* do not group these rules */
*::-webkit-input-placeholder {
    color: #aaa;
}
*:-moz-placeholder {
    /* FF 4-18 */
    color: #aaa;
    opacity: 1;
}
*::-moz-placeholder {
    /* FF 19+ */
    color: #aaa;
    opacity: 1;
}
*:-ms-input-placeholder {
    /* IE 10+ */
    color: #aaa;
}
*::-ms-input-placeholder {
    /* Microsoft Edge */
    color: #aaa;
}
*::placeholder {
    /* modern browser */
    color: #aaa;
}

/* pravoved links */
.pravo_container {
	width: 90%;
	margin: auto;
}
.pravo_container h2 {
	margin-left: 20px;
}
.pravo_items * {
	box-sizing: border-box;
}
.pravo_items {
	display: table;
	border-collapse: separate;
	border-spacing: 7px;
}
 
.pravo_item {
	width: 20%;
	display: table-cell;
	padding: 20px;
	border: 1px solid #dddddd;
	/*background: #f1f5f6;
	border: #bad7ff solid 2px;*/
	border-radius: 5px;
}
.pravo_item_icon {
	background-repeat:no-repeat;
    background-position: center center;
	background-color: #9adcb7;
	width: 60px;
	height: 60px;
	border-radius: 50%;
}
.pravo_item_icon.icon-trudovoe-pravo { background-image: url("/images/pravo/trudovoe-pravo.svg"); }
.pravo_item_icon.icon-grazhdanskoe-pravo { background-image: url("/images/pravo/grazhdanskoe-pravo.svg"); }
.pravo_item_icon.icon-zhilishnoe-pravo { background-image: url("/images/pravo/zhilishnoe-pravo.svg"); }
.pravo_item_icon.icon-zemelnoe-pravo { background-image: url("/images/pravo/zemelnoe-pravo.svg"); }
.pravo_item_icon.icon-semeinoe-pravo { background-image: url("/images/pravo/semeinoe-pravo.svg"); }

a.pravo_item_link {
	font-size: 20px;
	font-weight: bold;
	/*color: black;*/
	margin: 15px 0;
	display: block;
}


@media (max-width:900px){
	.pravo_container {
		width: 95%;
	}
	.pravo_items {
		display: block;
	}
	.pravo_item {
		vertical-align: top;
		margin: 3px;
		display: inline-block;
		width: 48%;
	}
}
@media (max-width:600px){
	.pravo_container {
		width: 95%;
	}
	.pravo_items {
		display: block;
	}
	.pravo_item {
		margin: 3px 0;
		display: inline-block;
		width: 100%;
	}
}

.top_search_field {
	margin-top: 5px;
	min-height: 46px; /* fixes CLS */
}
select.auto_recording_blanc,
select.organizations_stub,
select#buyer,
select#seller,
select#contractor,
select#goods
{
	min-height: 39px; /* fixes CLS */
}

.formdiv.inner_padding {
	padding: 10px;
}

.manualhider {
	display: none;
}


.new-form {
	padding: 20px;
	position: relative;
}

.new-form.default-style {
	background-color: #edf4fc;
	border: 2px solid #bad7ff;
	border-radius: 7px;
}

.new-form h1 {
	font-size: 30px;
}

.new-form h2 {
	font-size: 26px;
}

.new-form h3 {
	font-size: 22px;
}
.new-form h4 {
	font-size: 18px;
}

.new-form p {
	font-size: 16px;
	margin: 0 0 15px 0;
}

.new-form input, 
.new-form select, 
.new-form textarea {
	font-size: 16px;
	/*width: 450px;*/
	width: 100%;
	box-sizing: border-box;
	border: 1px solid #aaa;
	margin-bottom: 15px;
	padding: 4px;
}

.new-form input[type='checkbox'] {
	font-size: 16px;
	width: auto;
	box-sizing: auto;
	border: auto;
	margin-bottom: auto;
	padding: 4px;
}

.new-form input[type='submit'],
.new-form input[type='button'] {
	background-image: linear-gradient(to bottom, #f7f7f7, #f7f7f7);
	border: 1px solid #afafaf;
    border-radius: 4px;
	width: auto;
	margin-bottom: 15px;
	padding: 5px 10px;
	min-height: 32px;
	box-sizing: border-box;
	box-shadow: initial;
	text-shadow: initial;
	color: initial;
}
.new-form input[type='submit']:hover,
.new-form input[type='button']:hover {
	background-image: linear-gradient(to bottom, #e4e4e4, #f7f7f7);
	background-color: initial;
	background-position: initial;
}

.new-form .center {
	margin: auto;
	display: block;
	min-width: initial;
	max-width: initial;
}

.new-form img {
	margin-bottom: 15px;
}

.new-form input:focus, 
.new-form select:focus, 
.new-form textarea:focus {
	border: 1px solid #AFCDD8;
	background-color: #EBF2F4;
}

.new-form textarea {
	height: 100px;
	resize: none;
}

.new-form label {
	display: block;
	font-size: 16px;
	font-weight: bold;
	margin-bottom: 2px;
}

.new-form .required {
	font-weight: bold;
	color: #F00;
}

.new-form #submit-button {
	width: 100px;
	background-color: #333;
	color: #FFF;
	border: none;
	display: block;
	float: right;
	margin-bottom: 0px;
	margin-right: 6px;
	background-color: #8FB5C1;
}

.new-form #submit-button:hover {
	background-color: #A6CFDD;
}

.new-form #submit-button:active {
	position: relative;
	top: 1px;
}

.new-form i {
	display: block;
	font-size: 12px;
	margin-bottom: 2px;
	color: gray;
}

.new-form .spaceless {
	margin-top: 0;
	margin-bottom: 0;
}
.new-form .spaceless-top {
	margin-top: 0;
}
.new-form .spaceless-bottom {
	margin-bottom: 0;
}

.new-form.spaceless {
	padding-top: 0;
	padding-bottom: 0;
}
.new-form.spaceless-top {
	padding-top: 0;
}
.new-form.spaceless-bottom {
	padding-bottom: 0;
}

.noselect {
  -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
     -khtml-user-select: none; /* Konqueror HTML */
       -moz-user-select: none; /* Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
            user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome and Opera */
}
#error-reporter-container {
	z-index: 1000;
	width: 300px;
	position: fixed;
	right: 72px;
	bottom: 62px;
	border: 1px dashed red;
	padding: 10px;

	border: 1px solid #ccc;
	background-color: #ccc;
	display: none;
}
#error-reporter-container a {
	position: absolute;
	right: 0;
	top: 0;
	text-decoration: none;
	color: red;
}
#error-reporter-container textarea {
	width: 100%;
	height: 100px;
}
#error-reporter-container h5 {
	font-size: 18px;
	margin: 5px;
}
#error-reporter-container input[type="text"] {
	width: 290px;
}
#error-reporter-container input {
	max-width: 100%;
	font-size: 16px;
}
#error-reporter-container input[type=submit] {
	margin: 20px auto 10px auto;
	display: block;
}
#error-reporter-thankyou {
	display: none;
	position: absolute; 
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	background-color: #ccc;
	text-align: center;
}
#error-reporter-loading {
	border: 1px solid #ccc;
	display: none;
	position: absolute; 
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	background: rgba( 255, 255, 255, .8 ) 
		url('https://i.stack.imgur.com/FhHRx.gif')
		50% 50% 
		no-repeat;
}

#error-reporter-trigger{
	z-index: 10;
	display: none;
	width: 42px;
	height: 42px;
	border: 1px solid #ccc;
	background: #9e9e9e;
	text-align: center;
	padding: 5px;
	position: fixed;
	bottom: 10px;
	right: 72px;
	cursor: pointer;
	color: #fff;
	font: normal normal 10px/10px sans-serif;
	border-radius: 5px;
	opacity: .5;
}
#error-reporter-trigger:hover{
	background: #4F4F4F;
	border-radius: 5px;
	opacity: .9;
	border: 1px solid #4F4F4F;
	box-shadow: 0 0 5px 2px #bbbbbb;
}

.mailchecker_block {
	font-size: 10px;
}
.mailchecker_action {
	color: blue;
	background-color: yellow;
}
.mailchecker_action:hover {
	text-decoration: underline;
	cursor: pointer;
}


