@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.pdf-popup .featherlight-content {
	margin: 0;
	padding: 0;
	max-height: 100%;
	max-width: 100%;
}

.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 */
}

.featherlight.fd-variant .featherlight-content {
    margin-left: 5px;
    margin-right: 5px;
}
.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 */
}

/* Formswitcher: auto-hide all formswitcher target elements */
[class*="_formswitcher_"] { display: none; }

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 {
	display: inline-block;
	margin: auto;
	text-align: left;
}
.soglasie.highlight {opacity: 0.5;}
/* зона клика чекбокса больше для удобства на смартфонах */
.soglasie > label {
	font-weight: normal !important;
	font-size: 0.7em !important;
	display: block;
	position: relative;
	padding-left: 37px; /* Отступ слева = ширина чекбокса + отступ, чтобы текст не переносился в зону чекбокса */
	min-height: 24px;
}
.soglasie > label > input {
	margin: 5px 10px;
	margin-left: -26px; /* компенсация отступа label */
}

.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;
}

.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;
}
.crudcontainer li a:hover:not(.active) {
	background-color: #b7c8ec;
}

.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;
}
span.tip_icon {
	display: inline-block;
	width: 1.0em;
	height: 1.0em;
	line-height: 1.0em;
	text-align: center;
	border: 1px solid #aaa;
	border-radius: 50%;
	color: #888;
	margin-left: 0.2em;
	cursor: pointer;
	text-decoration: none;
	vertical-align: middle;
	font-size: 0.8em;
}
span.tip_icon:hover {
	border-color: #666;
	color: #444;
}
.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 {
	padding-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;
}

#tab1 img.copy {
	margin-top: -16px;
	cursor: pointer;
	width: 16px;
	height: 16px;
	max-width: none;
	max-height: none;
}
/* show + (copy) on hover only */
.table_controls img.copy {
	display: none;
}
.table_controls:hover img.copy {
	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 {
	display: block;
	height: 300px; /* fix CLS */
	max-height: 300px; /* fix CLS */
}
.ad_bottom {
	display: block;
	/*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;
}
td.table_controls_3 img.copy {
	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;
}
.display-contents { display: contents; }

/* Traffic Light Status Toggle */
.status-toggle {
    cursor: pointer;
    display: inline-block;
    min-width: 130px;
    padding: 4px 8px;
    border-radius: 4px;
    border: 1px solid #ccc;
    text-align: center;
    font-weight: bold;
    user-select: none;
    font-size: 13px;
    line-height: normal;
}
.status-approved { background-color: #dff0d8; color: #3c763d; border-color: #d6e9c6; }
.status-pending { background-color: #fcf8e3; color: #8a6d3b; border-color: #faebcc; }
.status-declined { background-color: #f2dede; color: #a94442; border-color: #ebccd1; }
.status-approved::after { content: 'Согласовано'; }
.status-pending::after { content: 'На согласовании'; }
.status-declined::after { content: 'Отказано'; }

@media screen and (max-width: 600px) {
    .status-toggle {
        min-width: initial;
    }
}


.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;
}


/**
 * Tagsprinter - Modern Professional B2B Design System
 * 
 * DESIGN STRATEGY: "Layered Contrast"
 * 1. Base (Information): Pure White (#ffffff)
 * 2. Form Area (Work Zone): Ghost Blue Tint (#f4f7f9) - defines focus.
 * 3. Interaction Points (Inputs): Pure White (#ffffff) - invites interaction.
 * 4. Control Elements (Buttons): Professional Slate (#34495e) - clearly actionable.
 * 5. Accents: Tagsprinter Blue (#3498db) - consistent brand identity.
 * 6. Content Tips/Highlights: Soft Gold (#fff3cd) - distinct from functional areas.
 */

span.plus_icon {
	background-image: url(/en/forms/images/add2-min.png);
}
span.import_icon {
	background-image: url(/en/forms/images/import5-min.png);
}

/* Brand and Navigation */
.navbar, .navbar * {
  box-sizing: border-box;
}

.navbar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #2c3e50;
  padding: 0 1rem;
  min-height: 60px;
  font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: white;
}

.navbar .nav-brand {
  font-size: 1.25rem;
  font-weight: 700;
  text-decoration: none;
  color: white;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

/* Desktop Links */
.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.navbar .nav-menu a, 
.navbar .nav-menu .nav-item {
  color: #ecf0f1;
  text-decoration: none;
  padding: 1rem;
  transition: background 0.2s, color 0.2s;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 3px solid transparent; /* Prevent jitter on active state */
}

@media (hover: hover) {
  .navbar .nav-menu a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
  }
}

.navbar .nav-menu a.active {
  background-color: rgba(0, 0, 0, 0.2);
  color: #ffffff;
  font-weight: 600;
  border-bottom: 3px solid #3498db; /* Blue accent line on desktop */
}

/* On mobile, move the accent to the left for better visual hierarchy */
@media screen and (max-width: 768px) {
  .navbar .nav-menu a.active {
    border-bottom: none;
    border-left: 4px solid #3498db;
    background-color: rgba(0, 0, 0, 0.15);
  }
}

.nav-menu .language-item {
  display: flex;
  align-items: center;
  padding: 0.5rem 1rem;
  gap: 8px;
}

.nav-menu select {
  background: rgba(255, 255, 255, 0.1) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  color: white !important;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.85rem;
  outline: none;
  cursor: pointer;
}

.nav-menu select option {
  color: #333;
}

/* Hamburger Toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 10px;
}

/* Mobile Responsiveness */
@media screen and (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .nav-menu {
    display: none;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background-color: #2c3e50;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 15px rgba(0,0,0,0.4);
    z-index: 1000;
  }

  .nav-menu.is-active {
    display: flex;
  }

  .navbar .nav-menu a, 
  .navbar .nav-menu .nav-item {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .navbar .nav-menu select {
    width: 100% !important; 
    max-width: 200px;
  }
}

span.display-contents {
  display: contents;
}

.main-content {
  box-sizing: border-box;
  max-width: 1024px;
  margin: 0 auto 20px auto;
  padding: 0 5px; /* Reduced to 5px to maximize form width on mobile */
  word-wrap: break-word; /* Prevent long text from overflowing */
}

@media screen and (min-width: 1034px) {
  .main-content {
    padding: 0; 
  }
}

.homepage-hero {
  text-align: center;
  padding: 2rem 0;
}

.homepage-menu {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
  font-size: 2.5rem; /* Balanced base size */
  font-weight: 300;
}

.homepage-menu li {
  margin-bottom: 1.5rem;
}

.homepage-menu a {
  text-decoration: none;
  color: #3498db;
  transition: color 0.2s;
}

.homepage-menu a:hover {
  color: #2980b9;
  text-decoration: underline;
}

@media screen and (max-width: 768px) {
  .homepage-menu {
    font-size: 1.75rem; /* Smaller for mobile */
  }
}

/* --- Professional B2B Content Blocks --- */

/* --- Professional B2B Content Blocks (Layered Design) --- */

/* Unified Form Container (The "Work Zone") */
.formdiv, .new-form.default-style {
  background-color: #f4f7f9; /* Subtle "Ghost Blue" tint */
  border: 1px solid #d1d8e0;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

#print-settings {
  background-color: #ffffff;
  border: 1px solid #dcdde1;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

/* Form Elements (The "Interaction Points") */
input[type="text"], 
input[type="password"], 
textarea, 
select {
  background-color: #ffffff !important; /* Pure white makes inputs 'pop' on the tinted background */
  border: 1px solid #c8d1d9 !important;
  border-radius: 3px !important;
  transition: border-color 0.2s, box-shadow 0.2s !important;
}

input:focus, 
textarea:focus, 
select:focus {
  border-color: #3498db !important;
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.15) !important;
}

/* workaround for table-nav */
.tn-controls select {
  color: #333;
}

/* Grid & Modals */
.grid-header, .grid-root {
  border-radius: 3px;
}

.grid-header {
  background-color: #2c3e50;
  color: white;
  border: none;
}

.grid {
  background-color: #f8f9fa;
  border: 1px solid #d1d8e0;
}

.grid-item {
  border-radius: 2px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08) !important;
}

/* Modal/Featherlight Overrides */
.featherlight .featherlight-content {
  background-color: #ffffff;
  border: 1px solid #d1d8e0;
  border-radius: 4px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

/* Global Elements */
a, a:link, a:visited,
span.reg_text, 
span.enter_text, 
span.sendpass_text {
  color: #2980b9; /* Darker blue for accessibility (WCAG AA) */
  text-decoration: none;
  transition: color 0.2s;
  cursor: pointer;
}

a:hover,
span.reg_text:hover, 
span.enter_text:hover, 
span.sendpass_text:hover {
  color: #1c5a85; /* Even darker on hover */
  text-decoration: underline;
}

hr {
  background-color: #d1d8e0;
  color: #d1d8e0;
  height: 1px;
}

/* Content Tips/Highlights (Soft Gold) */
.tinytip {
  background-color: #fff3cd;
  border: 1px solid #ffeeba;
  color: #2c3e50;
  border-radius: 4px;
  padding: 15px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

/* Brand and Navigation */

/* CRUD Tables & Controls - Unified "Work Zone" Palette */
.crudcontainer th, 
.crudcontainer div.buttons, 
.crudcontainer li a.active, 
.crudcontainer .active,
.tabulator .tabulator-header,
.tabulator .tabulator-header .tabulator-col {
  background: #f4f7f9 !important;
  color: #2c3e50;
  border-bottom: none; /* Removed divider */
  font-weight: 700;
}

/* Unselected Tabs - Lighter & Clean */
.crudcontainer li a:not(.active) {
  background-color: #ffffff;
  color: #7f8c8d;
  border: 1px solid #dcdde1;
  border-bottom: none;
  font-weight: 500;
}

.crudcontainer li a.active,
.crudcontainer .active {
  border-top: 3px solid #3498db;
  border-bottom: 2px solid #f4f7f9; /* Merge with the header below */
}

.crudcontainer ul {
  background-color: transparent;
  border-bottom: none;
  margin-bottom: 0;
}


/* --- Context-Specific Table Headers (Inside Forms) --- */
.formdiv th, 
.new-form th,
.formdiv .crudcontainer th,
.new-form .crudcontainer th {
  background-color: #e2e6ea; /* Medium Gray to stand out against Ghost Blue */
  color: #2c3e50;
  border-bottom: 1px solid #d1d8e0;
  font-weight: 700;
}

/* Modernize .forms Table Container */
.forms {
  border: 1px solid #d1d8e0;
  margin: 10px 0; /* Fixed vertical margin, remove side margins */
  width: 100%; /* Take full container width */
  border-radius: 3px;
  border-collapse: collapse;
  box-sizing: border-box;
}

.forms td {
  border: 1px solid #e2e6ea;
}

/* Secondary/Action Links as Buttons (Moved below generic buttons) */

/* Tiny Buttons (Moved below generic buttons) */

/* Tabulator & CRUD Table Cleanup - Borderless Design */


/* Friendly Professional Buttons */
/* Using selectors that match or exceed common.css specificity */
button,
.new-form button,
input[type="submit"],
#formdiv input[type="submit"],
.formdiv input[type="submit"],
.new-form input[type="submit"],
input[type="button"],
.new-form input[type="button"],
.fd-buttons button.fd-btn-primary,
.fd-buttons button.fd-confirm-btn {
  background: #3498db;
  color: white;
  border: none;
  border-radius: 3px;
  font-weight: 600;
  text-shadow: none;
  box-shadow: 0 2px 4px rgba(52, 152, 219, 0.2);
  transition: background 0.2s, transform 0.1s, box-shadow 0.2s;
  cursor: pointer;
  padding: 8px 16px;
}

button:hover,
.new-form button:hover,
input[type="submit"]:hover,
#formdiv input[type="submit"]:hover,
.formdiv input[type="submit"]:hover,
.new-form input[type="submit"]:hover,
input[type="button"]:hover,
.new-form input[type="button"]:hover,
.fd-buttons button.fd-btn-primary:hover,
.fd-buttons button.fd-confirm-btn:hover {
  background: #2980b9;
  box-shadow: 0 4px 8px rgba(52, 152, 219, 0.3);
}

button:active,
.new-form button:active,
input[type="submit"]:active,
#formdiv input[type="submit"]:active,
.formdiv input[type="submit"]:active,
.new-form input[type="submit"]:active,
input[type="button"]:active,
.new-form input[type="button"]:active,
.fd-buttons button.fd-btn-primary:active,
.fd-buttons button.fd-confirm-btn:active {
  transform: translateY(1px);
}

/* Tiny Buttons - specific override */
button.tinybutton {
  background: #3498db; /* Tagsprinter Blue */
  color: white;
  border: none;
  border-radius: 3px;
  font-weight: 500;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  transition: all 0.2s;
  padding: 4px 12px; /* Smaller padding */
}

button.tinybutton:hover {
  background: #2980b9;
  color: white;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

/* Secondary/Action Links as Buttons */
/* Specificity boost + Order to beat the inputs above */
.action_link, 
.button_as_link,
input[type="submit"].button_as_link,
#formdiv input[type="submit"].button_as_link,
button.button_as_link,
#formdiv button.button_as_link,
.formdiv input[type="submit"].button_as_link,
.new-form input[type="submit"].button_as_link {
  color: #3498db;
  font-weight: 600;
  background: none;
  border: none;
  box-shadow: none;
  padding: 0;
  cursor: pointer;
  text-decoration: underline;
}

.button_as_link:hover {
  color: #2980b9;
}

/* Tabulator Pagination (Note: Tabulator CSS must load BEFORE this file for overrides) */
.tabulator .tabulator-footer {
  background: #f4f7f9;
  color: #2c3e50;
  border-top: 1px solid #d1d8e0;
}

.tabulator .tabulator-footer .tabulator-page.active {
  color: #2c3e50;
}

/* Explicit override for Tabulator buttons to ensure Blue background */
.tabulator .tabulator-footer .tabulator-page {
  background-color: #3498db;
  color: white;
  border: none;
  border-radius: 3px;
  font-weight: 600;
  padding: 8px 16px;
  transition: background 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 4px rgba(52, 152, 219, 0.2);
}

.tabulator .tabulator-footer .tabulator-page:hover {
  background-color: #2980b9;
  box-shadow: 0 4px 8px rgba(52, 152, 219, 0.3);
}

.tabulator .tabulator-footer .tabulator-page:active {
  transform: translateY(1px);
}

/* Tabulator Specificity Overrides: Remove Borders */
.tabulator {
  border: none !important;
}

.tabulator-row .tabulator-cell,
.tabulator .tabulator-header .tabulator-col {
  border-right: none !important;
  border-left: none !important;
}

/* Important Section (Profile Links) */
.important_section {
  background-color: #f4f7f9; /* Ghost Blue Tint */
  border: 1px solid #d1d8e0;
  border-radius: 4px;
  padding: 20px;
  margin-top: 20px;
  margin-bottom: 15px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}

.important_section:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transform: translateY(-1px);
}

.important_section .vhcenter {
  display: flex;
  justify-content: center;
  align-items: center;
}

.important_section a {
  color: #3498db; /* Tagsprinter Blue */
  font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  text-decoration: none;
  display: block;
  width: 100%;
}

.important_section a:hover {
  color: #2980b9;
  text-decoration: none;
}

.tp-icon {
    display: inline-block;
    width: 1.25em; /* fa-fw width */
    height: 1em;
    vertical-align: -0.125em;
    background-color: currentColor;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-size: contain;
    mask-size: contain;
}

/* fa-home */
.tp-icon-home {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 9l9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z'%3E%3C/path%3E%3Cpolyline points='9 22 9 12 15 12 15 22'%3E%3C/polyline%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 9l9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z'%3E%3C/path%3E%3Cpolyline points='9 22 9 12 15 12 15 22'%3E%3C/polyline%3E%3C/svg%3E");
}

/* fa-bars */
.tp-icon-menu {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='3' y1='12' x2='21' y2='12'%3E%3C/line%3E%3Cline x1='3' y1='6' x2='21' y2='6'%3E%3C/line%3E%3Cline x1='3' y1='18' x2='21' y2='18'%3E%3C/line%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='3' y1='12' x2='21' y2='12'%3E%3C/line%3E%3Cline x1='3' y1='6' x2='21' y2='6'%3E%3C/line%3E%3Cline x1='3' y1='18' x2='21' y2='18'%3E%3C/line%3E%3C/svg%3E");
}

/* fa-comments */
.tp-icon-chat {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 11.5a8.38 8.38 0 0 1-.9 3.8 8.5 8.5 0 0 1-7.6 4.7 8.38 8.38 0 0 1-3.8-.9L3 21l1.9-5.7a8.38 8.38 0 0 1-.9-3.8 8.5 8.5 0 0 1 4.7-7.6 8.38 8.38 0 0 1 3.8-.9h.5a8.48 8.48 0 0 1 8 8v.5z'%3E%3C/path%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 11.5a8.38 8.38 0 0 1-.9 3.8 8.5 8.5 0 0 1-7.6 4.7 8.38 8.38 0 0 1-3.8-.9L3 21l1.9-5.7a8.38 8.38 0 0 1-.9-3.8 8.5 8.5 0 0 1 4.7-7.6 8.38 8.38 0 0 1 3.8-.9h.5a8.48 8.48 0 0 1 8 8v.5z'%3E%3C/path%3E%3C/svg%3E");
}

/* fa-language */
.tp-icon-language {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cline x1='2' y1='12' x2='22' y2='12'%3E%3C/line%3E%3Cpath d='M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z'%3E%3C/path%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cline x1='2' y1='12' x2='22' y2='12'%3E%3C/line%3E%3Cpath d='M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z'%3E%3C/path%3E%3C/svg%3E");
}

/* fa-times */
.tp-icon-close {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'%3E%3C/line%3E%3Cline x1='6' y1='6' x2='18' y2='18'%3E%3C/line%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'%3E%3C/line%3E%3Cline x1='6' y1='6' x2='18' y2='18'%3E%3C/line%3E%3C/svg%3E");
}

/* fa-user */
.tp-icon-user {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2'%3E%3C/path%3E%3Ccircle cx='12' cy='7' r='4'%3E%3C/circle%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2'%3E%3C/path%3E%3Ccircle cx='12' cy='7' r='4'%3E%3C/circle%3E%3C/svg%3E");
}

/* fa-sign-out */
.tp-icon-logout {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4'%3E%3C/path%3E%3Cpolyline points='16 17 21 12 16 7'%3E%3C/polyline%3E%3Cline x1='21' y1='12' x2='9' y2='12'%3E%3C/line%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4'%3E%3C/path%3E%3Cpolyline points='16 17 21 12 16 7'%3E%3C/polyline%3E%3Cline x1='21' y1='12' x2='9' y2='12'%3E%3C/line%3E%3C/svg%3E");
}

/* fa-user-plus */
.tp-icon-user-plus {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2'%3E%3C/path%3E%3Ccircle cx='8.5' cy='7' r='4'%3E%3C/circle%3E%3Cline x1='20' y1='8' x2='20' y2='14'%3E%3C/line%3E%3Cline x1='23' y1='11' x2='17' y2='11'%3E%3C/line%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2'%3E%3C/path%3E%3Ccircle cx='8.5' cy='7' r='4'%3E%3C/circle%3E%3Cline x1='20' y1='8' x2='20' y2='14'%3E%3C/line%3E%3Cline x1='23' y1='11' x2='17' y2='11'%3E%3C/line%3E%3C/svg%3E");
}

