/* Еднакво за трите проекта */
/* media screen width
	Mobile до 576px
	Tablet 768-1000
*/
* {
	font-family: 'Lucida Sans Unicode', Geneva, Verdana, Sans-Serif;
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
}
/*html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,dl, dt, dd, ol, ul, li, fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	font-weight: inherit;
	font-style: inherit;
	font-size: 100%;
	font-family: inherit;
	vertical-align: baseline;
}*/
/*:focus {
	outline: 0;
}*/
/* end reset.css */

html,
button,
input,
select,
textarea {
	font-size: 13px;
	/* font-weight: normal; */
	color: black;
}
@media screen and (max-width: 810px) {
	html,
	button,
	input,
	select,
	textarea {
		font-size: 1rem;
	}
}
html {
	height: 100%;
}
body {
	height: 100%;
}

a, a:visited {
	text-decoration: none;
	color: rgb(0,112,192);
}
a:hover {
	color: black;
}

*, *::before, *::after {
	box-sizing: border-box;
}

.loadingScreen {
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: none;
	position: fixed;
	background-color: rgba(170, 170, 170,0.3);
	z-index: 9020 !important;
  text-align: center;
}
.loadingScreen div {
  display: block;
  overflow: hidden;
  position: fixed;
  top:50%;
  left:50%;
  transform:translate(-50%,-50%);
  -ms-transform:translate(-50%,-50%);
  -webkit-transform:translate(-50%,-50%);	
  -moz-transform:translate(-50%,-50%);
  -o-transform:translate(-50%,-50%);
}
.loadingScreen img {
	height: 5rem;
}
.loadingScreen .loadingScreen-message {
	background-color: white;
}

.container {
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	height: 100%;
	overflow-y: hidden;
	padding-left: 5px;
}
.container * {
	box-sizing: border-box;
}
.report {
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	height: 100%;
	overflow-y: hidden;
	width: 100%;
	padding-left: 5px;
}
.scroll_container {
	height: 100%;
	overflow: auto;
	display: flex;
	flex-direction: column;
}

.sidemenu-container {
	width: 235px;
	height: 100%;
	overflow: auto;
	margin-left: 5px;
	display: none;
	flex-direction: column;
	float: left;
}
.container .button-menu {
	background: url("/images/menu-icon.png") no-repeat left center scroll;
	cursor: pointer;
	height: 40px;
	width: 40px;
	align-self: start;
	flex-shrink: 0;
}
@media screen and (min-width: 811px) {
	.container .button-menu {
		display: none;
	}
	.sidemenu-container {
		display: flex;
	}
}
@media screen and (max-width: 810px) {
	.sidemenu-container {
		display: flex;
		float: none;
		position: fixed;
		z-index: 20;
		background: white;
		top: 2.5rem;
		width: calc(100% - 15px);
		height: calc(100% - 2.5rem);
		left: -100%;
		margin-left: 0;
		padding: 10px;
		transition: 0.5s;
		-moz-transition: 0.5s;
		-webkit-transition: 0.5s;
		-o-transition: 0.5s;
	}
	.sidemenu-visible {
		left: 0;
	}
	.sidemenu-img {
		display: none;
	}
	.sidemenu-home {
		display: unset !important;
	}
}

.sidemenu {
	margin-top: 0.5rem;
	border-bottom: 1px solid #EFEFEF;
}
.sidemenu ul {
	text-align: left;
	font-size: 1.1rem;
}
.sidemenu ul li {
	list-style: none;
	padding-top: 3px;
	padding-right: 5px;
	padding-bottom: 0px;
	padding-left: 5px;
	border-bottom: 1px solid #EFEFEF;
}
.sidemenu ul li a.selected {
	font-weight: bold;
}
.sidemenu ul li a:link,
.sidemenu ul li a:visited {
	color: #996633;
	padding-left: 0;
}
.sidemenu ul li a:hover {
	color: #000;
}
.sidemenu ul ul {
	margin: 0 0 0 5px;
	padding: 0;
}
.sidemenu ul ul li {
	border: none;
}
.sidemenu img {
	max-width: 100%;
}
.sidemenu-login {
	display: flex;
	flex-direction: column;
	padding: 0.3rem 0;
	background-color: #F3F4F5;
}
.sidemenu-login  label {
	width: 60px;
}
.sidemenu-login  input {
	width: 150px;
	flex: 1;
}
.sidemenu-login  button {
	align-self: start;
}
.sidemenu-logout {
	display: flex;
	align-items: center;
}
.sidemenu-logout label {
	font-size: 0.9rem;
}
.sidemenu-test {
	font-weight: bold;
	color:#069;
}
.sidemenu-home {
	display: none;
}
.info-text {
	font-size: 1.1rem;
	white-space: pre-line;
	max-width: 800px;
}



.flex-row {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
}
.flex-row-nowrap {
	display: flex;
	align-items: center;
}

.row {
	width: 100%;
	display: flex;
	flex-wrap: wrap;
}
.row::after {
	content: "";
	clear: both;
	display: block;
}
.col {
	display: flex;
	flex-direction: column;
	padding-right: 0.5rem;
	max-width: 100%;
}
/*@media screen and (max-width: 440px) {
	.col {
		max-width: 100%;
	}
}*/
@media screen and (max-width: 576px) {
	.hide-on-mobile {
		display: none;
	}
}
.margin-left-auto {
	margin-left: auto;
}
.margin-right-auto {
	margin-right: auto;
}


/* table */
table.rawTable {
	border-spacing: 0;
	border-collapse: separate;
	align-self: start;
}
table.borderBottom {
	border-bottom: 1px solid #111;
}
table.rawTable tr {
	background-color: #FFF;
}
table.rawTable th {
	background-color: #2C76A6;
	/* border-color: #308ABA; */
	color: #fff;
}
table.rawTable th {
	padding: 3px 5px;
	font-weight: normal;
	border-right: 1px solid #ddd;
	border-bottom: 1px solid #ddd;
}
table.rawTable td {
	padding: 3px 5px;
}
table.rawTable .selectedRow:not(.sub_data) {
	background-color: rgba(214, 227, 255, 0.65) !important;
}
table.rawTable tbody tr:hover {
	background-color: #f6f6f6;
}

/*table tbody tr.first_p85 td {
	border-top: 2px solid #000;
}*/
.table-paging {
	margin: 5px 0px;
	display:block;
	clear: left;
}

.row-button {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	margin-top: 20px;
}

.button {
	/* padding: 6px 8px; */
	margin: 0 0.2rem;
	padding: 0.5rem 1rem;
	border-width: 0;
	cursor: pointer;
	color: #FFF;
	background-color: #2C76A6;
}
.button:hover, .button:focus {
	background-color:#004085;
	color: #FFF;
}

.cancel_button {
	margin: 0 0.2rem;
	padding: 0.5rem 1rem;
	border-width: 0;
	cursor: pointer;
	color:#444;
	background-color: #E6E6E6;
}
.cancel_button:hover, .cancel_button:focus {
	background-color:#004085;
	color: #FFF;
}

.delete_button {
	margin-left: auto;
	padding: 0.5rem 1rem;
	border-width: 0;
	cursor: pointer;
	color:#555;
	background-color: #E6E6E6;
	/* float: right; */
}
.delete_button:hover, .delete_button:focus {
	background-color:#e23e4d;
	color: #FFF;
}

.show_is_mandatory {
	display: inline-block;
	min-width: 0.5rem;
	height: 0.5rem;
	flex-shrink: 0;
	background: url("/images/mandatory.png") no-repeat center center/contain transparent;
	vertical-align: middle;
}
.show_info {
	min-width: 1.25rem;
	height: 1.25rem;
	flex-shrink: 0;
	background: url("/images/info.png") no-repeat center center/contain transparent;
	vertical-align: middle;
}
.help_edit_button {
	padding-left: 1.5rem;
	border-width: 0;
	cursor: pointer;
	height: 2rem;
	background: url("/images/edit_icon.svg") no-repeat left center/1.25rem transparent;
	font-size: inherit;
	font-weight: inherit;
	margin-left: 1rem;
}
.help_edit_button:hover, .help_edit_button:focus {
	background-color: #E6E6E6;
 }
.history_show {
	padding: 4px;
	border-width: 0;
	cursor: pointer;
	width: 24px;
	height: 24px;
	background-image: url("/images/file11.gif");
	background-repeat: no-repeat;
	background-position-x: center;
	background-position-y: center;
	background-color: transparent;
	background-size: 12px;
}
.edit_button:hover, .history_show:hover, .edit_button:focus, .history_show:focus {
	background-color: rgba(0, 0, 0, 0.06);
}
button.add_button {
	padding: 4px 5px 4px 2.5rem;
	border-width: 0;
	cursor: pointer;
	color: #FFF;
	background: #3da16a url(/images/add_icon.svg) no-repeat left center;
	background-size: contain;
}
button.add_button:hover, button.add_button:focus {
	background-color: #1b8048;
}
button.add-line {
	padding: 4px 5px 4px 2.5rem;
	border-width: 0;
	cursor: pointer;
	color: #FFF;
	background: #3da16a url(/images/add_icon.svg) no-repeat left center;
	background-size: contain;
}
button.add-line:hover, button.add-line:focus {
	background-color: #1b8048;
}

/*.delete-line {
	font-family: Arial,monospace;
	font-size: 1.75rem;
	vertical-align: middle;
	padding: 2px 5px;
	cursor: pointer;
	color: #c4191c;
}
.delete-line:hover {
	background-color: #e23e4d;
	color: #fff;
}*/
.delete-line {
	padding: 2px 1rem;
	cursor: pointer;
	background: url("/images/trash-can.svg") no-repeat center center/1rem;
}
.delete-line:hover, .delete-line:focus {
	background-color: #e23e4d;
	color: #fff;
}

.help-list > ul {
	margin-bottom: 1.5rem;
	margin-left: 1.5rem;
	margin-right: 0.7rem;
}
.help-list .help-topic {
	font-size: 1.2rem;
	font-weight: bold;
}
.help-list .help-topic * {
	vertical-align: middle;
}
.help-list > ul > li {
	list-style: none;
	font-size: 1.1rem;
	margin-left: 0.7rem;
}
.help-list > ul > li * {
	vertical-align: middle;
}
.help-body {
	padding: 10px 10px;
	margin-left: 10px;
	border: 1px solid #c9d7e0;
	margin-bottom: 20px;
}
.help-body ol, .help-body ul,
.wysiwyg ol, .wysiwyg ul {
	list-style-type: disc;
	list-style-position: outside;
	padding-left: 30px;
}

ul.ul-list {
	margin: 0 0 0.7rem 1rem;
}
ul.ul-list > li {
	list-style: none;
	font-size: 1.1rem;
	margin: 0;
}

textarea.language-edit {
	width: 100%;
	max-width: 1000px;
	height: 500px;
}
textarea.textarea-edit {
	width: 800px;
	height: 400px;
}

.header-list {
	padding: 0.6rem 0;
	display: flex;
	align-items: center;
	/* flex-wrap: wrap; */
	gap: 0.5rem;
}
.header-caption {
	font-size: 1.3rem;
	font-weight: bold;
	/* margin-right: 0.8rem; */
}


.expand_colapse {
	cursor: pointer;
	text-align: center;
	font-size: 1rem;
	font-weight: bold;
}
div.expand_colapse {
	padding: 0.4rem 0.8rem;
}
.expand_colapse:hover, .expand_colapse:focus {
	background-color: #aaa;
	color: white;
}
.nomedit-header {
	padding: 0.3rem 0;
	font-size: 1.3rem;
	font-weight: bold;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: center;
}

/* параметри */

.filter-btn {
	background-color: #3b74b9;
	border: 1px solid transparent;
	color: #fff;
	height: 2.3rem;
	padding: 0 1rem;
	background: #3b74b9 url("/images/filter.png") no-repeat center center;
	width: 2rem;
}
.filter-btn:hover, .filter-btn:focus {
	background-color: #114d96;
}
#table-params {
	background-color: #F3F4F5;
	border: 1px solid #E2E4E7;
	display: flex;
	flex-wrap: wrap;
	width: 100%;
}
/*@media screen and (max-width: 810px) {
	#table-params {
		overflow-y: auto;
		max-height: 100%;
	}
}*/
.table-row {
	padding: 0.1rem 0.3rem;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
}
@media screen and (max-width: 440px) {
	.table-row {
		padding-top: 0.5rem;
	}
}
.table-row:hover{
	background-color: #ebebeb;
}
.table-cell-label {
	width: 12rem;
	white-space: normal;
	word-wrap: break-word;
	line-height: 1rem;
	margin-right: 0.5rem;
}
.table-cell {
	position: relative;
	max-width: 100%;
}
.table-cell .chosen-container:not(.w100):not(.w200):not(.w300):not(.w450),
.table-cell select:not(.w100):not(.w200):not(.w300):not(.w450) {
	width: 450px;
}
/* край на параметри */

input:not([type="checkbox"]):not([type="button"]):not([type="radio"]),
textarea, 
select {
	padding: 0 0.3rem;
	border: 1px solid #c9d7e0;
	max-width: 100%;
	background-color: #fff;
}
input:not([type="checkbox"]):not([type="button"]):not([type="radio"]),
textarea, 
select:not([multiple]) {
	height: 2.3rem;
}
input[type="checkbox"], input[type="radio"] {
	margin: 0 0.2rem 0 0;
}

input:focus:not(.readonly):not(.button),
select:focus:not(.readonly),
textarea:focus:not(.readonly) {
	box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.075) inset, 0px 0px 8px rgba(102, 175, 233, 0.6);
	border-color: #66AFE9;
}

textarea {
	height: 50px;
}
.w100 {
	width: 100px;
}
.w200 {
	width: 200px;
}
.w300 {
	width: 300px;
}
.w450 {
	width: 450px;
}
.w_unset {
	width: unset !important;
}
.number {
	width: 10rem;
	text-align: right;
}
/* Number up to 99999.99 */
.number-small {
	width:60px;
	text-align: right;
}
.date {
	width: 7.0rem;
}
.dateTime {
	width: 10.0rem;
}
.checkbox {
	vertical-align: middle;
}
.readonly {
	background-color: #F0F0F0 !important;
}


/* realty_edit */
.realty_edit {
	overflow-x: auto;
}
@media screen and (max-width: 1200px) {
	.realty_edit .scroll_container {
		height: auto;
	}
}
.realty_edit-header {
	padding: 0.3rem 0;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: center;
	column-gap: 1rem;
	border-bottom: 1px solid lightgray;
}
.realty_edit td.td-re-property_id  {
	vertical-align: middle;
	text-align: center;
	color: #707981;
	width: 3rem;
	min-width: 3rem;
}
.realty_edit td.td-re-label {
	width: 300px;
	padding-right: 0;
	line-height: 1.1em;
}
.realty_edit td.td-re-label label {
	margin-right: auto;
}
.realty_edit tr.group-detail.sub_data_header_row td.td-re-label label {
	margin-right: 1rem;
}
.realty_edit td.td-re-value  {
	width: 450px;
}
@media screen and (min-width: 1366px) {
	.realty_edit .w450  {
		width: 650px;
	}
	.realty_edit td.td-re-value  {
		width: 650px;
	}
}
.realty_edit td.td-re-history  {
	vertical-align: middle;
	width: 24px;
	padding: 0;
}
.group-header td {
	background-color: #F0F0F0;
	font-weight: bold;
	font-size: 1.1rem;
}
.realty_edit tr.sub_data_header_row  {
	background-color: #F8F8F8;
	font-weight: bold;
}
.realty_edit tr.sub_data_footer_row  td {
	text-align: right;
	padding-bottom: 1rem;
}
.realty_edit tr.sub_data  table {
	border: 3px solid #E2E4E7;
}
.realty_edit tr.sub_data.selectedRow table {
	border: 3px solid #3da16a;
}

.isnan {
	border: 1px solid red !important;
}
.isRequired {
	border: 1px solid red !important;
}
.isAttention {
	background-color: #FFECEC !important;
}
select.mandatory.mandatory-empty option {
	color: black;
}
select.mandatory.mandatory-empty option[disabled] {
	color: grey;
}
select.mandatory.mandatory-empty {
	color: grey;
}

.paging  {
	vertical-align: middle;
}
.paging  a, a.paging  {
	min-width: 1.5em;
	padding: 5px 10px;
}
.paging a:hover, a.paging:hover {
	background-color: rgba(0, 0, 0, 0.06);
}
.paging  a.disabled, a.paging.disabled ,
.paging a.disabled:hover, a.paging.disabled:hover {
	cursor: default;
	opacity: .3;
}

/* --------------------------
  Промени по компонентите 
----------------------------*/
/* Да се центрира вертикално картинката */
.ui-datepicker-trigger {
	vertical-align: middle;
	cursor: pointer;
}
.ui-datepicker th {
	font-weight: normal;
	border-right: 1px solid #ddd;
	border-bottom: 1px solid #ddd;
	background-color: #2C76A6;
	color: #fff;
}
.ui-datepicker {
	z-index: 10001 !important;
}
/* За да се появява ui-dialog над magnificPopup */
.ui-dialog {
	z-index : 9020 !important;
	max-width: 100%;
}
.dlg-no-title .ui-dialog-titlebar {
	display: none;
}
/* Да разкарам картинката от background */
.ui-dialog-titlebar {
	background: #F0F0F0 none repeat scroll 0% 0%;
}

/* За да се появява ui-autocomplete над magnificPopup */
/*.ui-autocomplete.ui-front.ui-menu.ui-widget.ui-widget-content { */
.ui-autocomplete {
	 z-index: 10000 !important;
}
.ui-autocomplete {
	max-height: 300px;
	overflow-y: auto;
	/* prevent horizontal scrollbar */
	overflow-x: hidden;
	/* add padding to account for vertical scrollbar */
	/*padding-right: 20px;*/
}
/* За да няма margin-top: 5px */
.ui-menu .ui-menu-divider {
	margin: 0;
}

/* Magnific Popup CSS */
.mfp-bg {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1042;
  overflow: hidden;
  position: fixed;
  background: #0b0b0b;
  opacity: 0.4;
}
.mfp-wrap {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1043;
  position: fixed;
  outline: none !important;
  -webkit-backface-visibility: hidden;
	overflow-x: auto !important;
}
.mfp-container {
  text-align: center;
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  padding: 0 8px;
  box-sizing: border-box;
}
.mfp-container:before {
  content: "";
  display: inline-block;
  height: 100%;
  vertical-align: middle;
}
.mfp-align-top .mfp-container:before {
  display: none;
}
.mfp-content {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  margin: 0 auto;
  text-align: left;
  z-index: 1045;
}
.mfp-inline-holder .mfp-content {
	width: auto;
	max-width: 100%;
	padding: 10px 10px;
	background-color: #F9F9F9;
	border-radius: 4px;
}
.mfp-auto-cursor .mfp-content {
  cursor: auto;
}
.mfp-hide {
  display: none !important;
}
.mfp-close {
  width: 1.5rem;
  height: 1.5rem;
  line-height: 1.5rem;
  position: absolute;
  right: 0;
  top: 0;
  text-align: center;
  opacity: 0.65;
  padding: 0;
  color: #FFF;
	background-color: #000;
	font-weight: bold;
  font-size: 1.5rem;
  z-index: 1046;
}
.mfp-close:hover, .mfp-close:focus {
  opacity: 1;
}
.mfp-close:active {
  top: 1px;
}
@media all and (max-width: 900px) {
  .mfp-container {
    padding-left: 6px;
    padding-right: 6px;
  }
}
.white-popup-block {
	position: relative;
	display: inline-block;
	max-width: 100%;
}
/* end Magnific Popup CSS */


.dropzone {
	padding: 0px;
	min-height: auto;
}
.dropzone .dz-message {
	margin: 1.5em 0px;
}
.dz-details {
	padding: 0 !important;
}
.dz-preview {
	min-height: 0px !important;
}
.dz-image {
	border-radius: 5px !important;
	height: 60px !important;
}
.dropzone .dz-preview.dz-file-preview.dz-error.dz-complete .dz-image {
	background: red;
  opacity: 0.3;
}
.dropzone .dz-preview.dz-file-preview.dz-error.dz-complete .dz-remove {
	display: none;
}
.dz-error-message {
	top: 60px !important;
}
.row-flie-dz {
	text-align: center;
	vertical-align: middle;
	white-space: nowrap;
}
.row-flie-dz-button {
	width: 100%;
	float: left;
	white-space: normal;
	text-align: center;
}
.row-flie-dz-delete_all {
	vertical-align: middle;
	line-height: 70px;
}
.attached-files-container {
	display: flex;
	flex-direction: column;
	min-width: 300px;
}
.attached-files-row {
	display: flex;
	align-items: center;
	padding: 5px;
}
.attached-files-row:hover {
	background-color: rgba(0, 0, 0, 0.06);
}
.attached-file-img {
	display: flex;
	cursor: pointer;
}
.attached-file-img img {
}
.attached-file-name {
	flex-grow: 1;
	margin-left: 5px;
	word-break: break-all;
}
.attached-file-name span {
	overflow-y: hidden;
	/* Колкото са иконите за файловете */
	max-height: 48px;
	width: 100%;
	vertical-align: middle;
	display: inline-block;
}
.attached-file-name textarea {
	width: 100%;
	height: 100%;
	max-width: 100%;
}
.attached-file-delete {
	margin-left: 0.5rem;
	cursor: pointer;
	background: url("/images/trash-can.svg") no-repeat center center;
	height: 1.5rem;
	width: 1.5rem;
	flex-shrink: 0;
}
.attached-file-delete:hover, .attached-file-delete:focus {
	background-color: red;
}

.w5 {
	width: 5px;
}

/* dataTable override */
/* end dataTable override */

/* Chrome има проблем при Fixed Header. Направо не се показва th, когато няма title */
table.dataTable tbody th.dt-body-wrap,
table.dataTable tbody td.dt-body-wrap {
	white-space: pre-line !important;
}
table.dataTable tbody th.dt-body-wrap-pre,
table.dataTable tbody td.dt-body-wrap-pre {
	white-space: pre !important;
}
/*table.dataTable .dt-min150 {
	min-width: 150px;
}
table.dataTable .dt-min200 {
	min-width: 200px;
}
table.dataTable .dt-min250 {
	min-width: 250px;
}*/
@media screen and (min-width: 441px) {
	table.dataTable .dt-min100 {
		min-width: 100px;
	}
	table.dataTable .dt-min150 {
		min-width: 150px;
	}
	table.dataTable .dt-min200 {
		min-width: 200px;
	}
	table.dataTable .dt-min250 {
		min-width: 250px;
	}
}
table.dataTable .dt-max200 {
	max-width: 200px;
	word-wrap: break-word;
}
table.dataTable .dt-max250 {
	max-width: 250px;
	word-wrap: break-word;
}
table.dataTable .dt-max350 {
	max-width: 350px;
	word-wrap: break-word;
}
table.dataTable .dt-400 {
	min-width: 400px;
	max-width: 400px;
	word-wrap: break-word;
}
table.dataTable tbody td.dt-indent-first p {
	text-indent: -10px;
	padding-left: 10px;
}
.td-max-height {
	overflow-y: hidden;
	max-height: 10rem;
	overscroll-behavior-block: contain;
}
.td-max-height-show {
	max-height: unset;
}
tr.border_top td {
	border-top: 1px solid #ddd;
}
tr.border_bottom td {
	border-bottom: 1px solid #ddd;
}
tr.group-subdetail td:nth-child(2) {
	border-left: 1px solid #ddd;
}
tr.group-subdetail td:last-child {
	border-right: 1px solid #ddd;
}
tr.tr-subtotal td {
	border-bottom: 1px solid #000;
	font-weight: bold;
}
tr.tr-bold td {
	font-weight: bold;
}

/* Да се скрие Search, но все пак да прави филтриране. Ако се забрани със searching: false в опциите, то не прави търсене */
.dataTables_filter {
	display: none;
}
table.dataTable thead.columns_filtered {
	color: #0000c2;
	box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.075) inset, 0px 0px 8px rgba(102, 175, 233, 0.6);
}

/* Скриване и показване на колони, без да се изтриват от DOM */
.hidden {
	display: none !important;
}

/* За слагане на datatables бутоните в #headerrow - Excel button */
/*div.dt-buttons {
	float: none;
	display: inline;
}*/
/*button.dt-button, div.dt-button, a.dt-button {
	display: inline;
	font-size: 100%;
	padding: 3px 7px;
	margin-left: 5px;
}*/
button.buttons-excel {
	border-width: 0;
	cursor: pointer;
	background-color: transparent;
	/* margin-left: 20px; */
	padding: 0;
	vertical-align: top;
}
button.buttons-excel img {
	vertical-align: middle;
}

table.dataTable tbody td.no-padding {
	padding: 0;
}

/* dataTable override */

/* end dataTable override */

td.td-no-padding {
	padding: 0px !important;
}
.td-href {
	padding: 4px 8px;
	box-decoration-break: clone;
	-webkit-box-decoration-break: clone;
}
.td-href-readonly {
	padding: 4px 8px;
}
.td-href img {
	vertical-align: middle;
}
.td-href:hover {
	background-color: rgba(0, 0, 0, 0.06);
}
.text-center {
	text-align: center;
}
.text-right {
	text-align: right;
}
.text-nowrap {
	white-space: nowrap;
}
.text-wrap-pre {
	white-space: pre;
}

.ellipsis, .ellipsis select  {
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: 15rem;
}
#check_ellipsis {
	white-space: nowrap;
	position: absolute;
	left: -999em;
}

.tablebox {
	background-color: #fff;
	height: 100%;
	margin: 0;
	padding: 0px;
}

/* Disabled / Enabled - сиво */
tr.enum_disabled,
td .enum_disabled,
tr.enum_disabled input:not(button):not(.delete-line) {
	color: #adadad;
}
option.enum_disabled {
	color: #adadad;
}
tr.enum_bold,
td .enum_bold,
tr.enum_bold input:not(button):not(.delete-line) {
	font-weight: bold;
}
option.enum_bold {
	font-weight: bold;
}
tr.prop_disabled {
	text-decoration: line-through;
}

.searchbox {
	width:250px;
}
.searchbox::-ms-clear {
	display: none;
}
.clear-input {
	font-family: Arial,monospace;
	font-size: 1.75rem;
	padding: 2px 5px;
	cursor: pointer;
}
.clear-input:hover {
	background-color: #E6E6E6 !important;
	color: #000 !important;
}
.search-highlight {
  background: yellow;
  color: black;
}


.chosen-container {
	/* max-width: 450px; */
	font-size: inherit;
	max-width: 100%;
}
@media screen and (min-width: 1366px) {
	.chosen-container {
		max-width: 650px;
	}
}
/*
.chosen-container .chosen-results li.active-result {
	padding: 5px 20px 5px 6px;
}
*/
.chosen-container .chosen-results li.group-option {
	padding-left: 1rem;
}
.chosen-container.chosen-container-single .chosen-single {
	padding: 0 0.3rem;
	border: 1px solid #c9d7e0;
	background: #fff;
	border-radius: unset;
	box-shadow: unset;
	min-height: 2.3rem;
	line-height: 2.3rem;
	color: #000;
}
.chosen-container.chosen-container-multi .chosen-choices {
	padding: 0 2px;
	border: 1px solid #c9d7e0;
	background: #fff;
	min-height: 2.3rem;
	cursor: pointer;
	display: flex;
	flex-wrap: wrap;
}
/*.chosen-container.chosen-container-multi .chosen-choices span {
	margin-right: 10px;
}*/
.chosen-container.chosen-container-single .chosen-single span.mandatory-empty,
.chosen-container.chosen-container-multi .chosen-choices span.mandatory-empty {
	color: grey;
}
.chosen-container.chosen-container-multi .chosen-choices li.search-field input[type="text"].mandatory-empty {
	color: grey;
}
.chosen-container.chosen-container-single .chosen-drop,
.chosen-container.chosen-container-multi .chosen-drop {
	border-radius: unset;
	width: auto;
	white-space: normal;
	min-width: 100%;
}
.chosen-container.chosen-container-single .chosen-drop .chosen-results,
.chosen-container.chosen-container-multi .chosen-drop .chosen-results {
	color: #000;
}
.chosen-container.chosen-container-single .chosen-drop .chosen-results .enum_disabled,
.chosen-container.chosen-container-multi .chosen-drop .chosen-results .enum_disabled {
	color: #adadad;
}
.chosen-container.chosen-container-single .chosen-drop .chosen-results .enum_bold,
.chosen-container.chosen-container-multi .chosen-drop .chosen-results .enum_bold {
	font-weight: bold;
}
.chosen-container.chosen-container-single .chosen-drop .chosen-results li.highlighted,
.chosen-container.chosen-container-multi .chosen-drop .chosen-results li.highlighted {
	color: #000;
	background: #D7E4FF !important;
}
.chosen-container.chosen-container-single .chosen-drop .chosen-results li.highlighted.enum_disabled,
.chosen-container.chosen-container-multi .chosen-drop .chosen-results li.highlighted.enum_disabled {
	color: #adadad;
	background: #EAF1FF;
}
.chosen-container.chosen-container-single .chosen-drop .chosen-results .result-selected,
.chosen-container.chosen-container-multi .chosen-drop .chosen-results .result-selected {
	border: 1px solid blue;
}
/*.chosen-container.chosen-container-multi .chosen-choices {
	cursor: pointer;
	padding: 0 5px;
}*/
.chosen-container.chosen-container-multi .chosen-choices li.search-choice {
	margin: 1px 2px 1px 0;
	padding: 0.2rem 1.2rem 0.2rem 0.2rem;
	border-radius: unset;
	border: 1px solid #c9d7e0;
	white-space: normal;
	background: none;
	color: inherit;
	line-height: unset;
}
.chosen-container-multi .chosen-choices li.search-field {
	height: 100%;
}
.chosen-container-multi .chosen-choices li.search-field input[type="text"] {
	font-family: inherit;
	font-size: inherit;
	margin: 0;
	height: 100%;
}
.chosen-container.chosen-container-active .chosen-single,
.chosen-container.chosen-container-active .chosen-choices {
	box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.075) inset, 0px 0px 8px rgba(102, 175, 233, 0.6);
	border-color: #66AFE9;
}
.chosen-disabled {
	opacity: 1!important;
}
.chosen-disabled .chosen-single,
.chosen-disabled .chosen-choices {
	background-color: #F0F0F0 !important;
}
.chosen-container.chosen-container-multi.chosen-multi-grid .chosen-choices {
	display: grid;
}
.chosen-container.chosen-container-multi.chosen-multi-grid .chosen-choices li.search-choice {
	width: 100%
}

/* dashboard */
.dashboard-logo {
	flex-shrink: 1;
}
.dashboard-logo img {
	max-width: 100%;
}
.dashboard-panel {
	margin-top: 0.5rem;
	margin-bottom: 1rem;
	margin-right: 1rem;
	display: flex;
	flex-direction: column;
	align-items: start;
}
table.dashboard-table.dataTable {
	margin-left: 0;
}
table.dashboard-table.dataTable thead th {
	width: auto !important;
}
table.dashboard-table.dataTable tbody td {
	padding: 1px 5px !important;
}
/* end dashboard */

/* es-tooltip */
/*.group-detail {
	position: relative;
}*/
table td {
	position: relative;
}
table tbody {
	position: relative;
}
.es-tooltip {
	max-width: 650px;
	min-width: 300px;
	border: 2px solid red;
	background: #fff;
	position: absolute;
	z-index: 9999;
	-webkit-box-shadow: 5px 5px 5px #aaa;
	box-shadow: 5px 5px 5px #aaa;
}
.es-tooltip .es-tooltip-caption {
	background-color: rgb(255, 197, 197);
	position: relative;
	padding: 0.25rem 1.5rem 0.25rem 0.75rem;
	font-weight: bold;
	text-align: center;
}
.es-tooltip .es-tooltip-button-close {
	width: 1.5rem;
	height: 1.5rem;
	line-height: 1.5rem;
	border: 1px solid #F0F0F0;
	background-color: #F0F0F0;
	color: #555;
	font-family: Arial,monospace;
	font-size: 2rem;
	padding: 0;
	cursor: pointer;
	position: absolute;
	top: 0;
	right: 0;
}
.es-tooltip .es-tooltip-button-close:hover {
	border: 1px solid #000;
	color: #000;
}
.es-tooltip-content {
	padding: 0.5rem 0.75rem;
	font-weight: normal;
	text-align: left;
	white-space: pre-line;
}
/* end es-tooltip */

/* Tooltip container */
/*.tooltip {
	position: relative;
	display: inline-block;
}*/
.tooltip .tooltiptext {
	width: max-content;
	max-width: 40rem;
	background-color: #FEFFD6;
	color: #000;
	border: 1px solid #000;
	text-align: left;
	white-space: pre-line;
	padding: 0.5rem;
	border-radius: 4px;
	position: absolute;
	z-index: 1;
	display: none;
}
.tooltip:hover .tooltiptext {
	display: unset;
}
.tooltip:focus .tooltiptext {
	display: unset;
}
/* end Tooltip container */

.show_word_search {
	position: absolute;
	margin-left: -1rem;
	min-width: 1.25rem;
	height: 1.25rem;
	flex-shrink: 0;
	background: url("/images/info.png") no-repeat center center/contain transparent;
	vertical-align: middle;
}

/* bootstrap */
.p-1 {
  padding: 0.25rem !important;
}
.pt-1,
.py-1 {
  padding-top: 0.25rem !important;
}
.pr-1,
.px-1 {
  padding-right: 0.25rem !important;
}
.pb-1,
.py-1 {
  padding-bottom: 0.25rem !important;
}
.pl-1,
.px-1 {
  padding-left: 0.25rem !important;
}

.p-2 {
  padding: 0.5rem !important;
}
.pt-2,
.py-2 {
  padding-top: 0.5rem !important;
}
.pr-2,
.px-2 {
  padding-right: 0.5rem !important;
}
.pb-2,
.py-2 {
  padding-bottom: 0.5rem !important;
}
.pl-2,
.px-2 {
  padding-left: 0.5rem !important;
}

.p-3 {
  padding: 1rem !important;
}
.pt-3,
.py-3 {
  padding-top: 1rem !important;
}
.pr-3,
.px-3 {
  padding-right: 1rem !important;
}
.pb-3,
.py-3 {
  padding-bottom: 1rem !important;
}
.pl-3,
.px-3 {
  padding-left: 1rem !important;
}

.p-4 {
  padding: 1.5rem !important;
}
.pt-4,
.py-4 {
  padding-top: 1.5rem !important;
}
.pr-4,
.px-4 {
  padding-right: 1.5rem !important;
}
.pb-4,
.py-4 {
  padding-bottom: 1.5rem !important;
}
.pl-4,
.px-4 {
  padding-left: 1.5rem !important;
}

.p-5 {
  padding: 3rem !important;
}
.pt-5,
.py-5 {
  padding-top: 3rem !important;
}
.pr-5,
.px-5 {
  padding-right: 3rem !important;
}
.pb-5,
.py-5 {
  padding-bottom: 3rem !important;
}
.pl-5,
.px-5 {
  padding-left: 3rem !important;
}

.m-1 {
  margin: 0.25rem !important;
}
.mt-1,
.my-1 {
  margin-top: 0.25rem !important;
}
.mr-1,
.mx-1 {
  margin-right: 0.25rem !important;
}
.mb-1,
.my-1 {
  margin-bottom: 0.25rem !important;
}
.ml-1,
.mx-1 {
  margin-left: 0.25rem !important;
}

.m-2 {
  margin: 0.5rem !important;
}
.mt-2,
.my-2 {
  margin-top: 0.5rem !important;
}
.mr-2,
.mx-2 {
  margin-right: 0.5rem !important;
}
.mb-2,
.my-2 {
  margin-bottom: 0.5rem !important;
}
.ml-2,
.mx-2 {
  margin-left: 0.5rem !important;
}

.m-3 {
  margin: 1rem !important;
}
.mt-3,
.my-3 {
  margin-top: 1rem !important;
}
.mr-3,
.mx-3 {
  margin-right: 1rem !important;
}
.mb-3,
.my-3 {
  margin-bottom: 1rem !important;
}
.ml-3,
.mx-3 {
  margin-left: 1rem !important;
}

.m-4 {
  margin: 1.5rem !important;
}
.mt-4,
.my-4 {
  margin-top: 1.5rem !important;
}
.mr-4,
.mx-4 {
  margin-right: 1.5rem !important;
}
.mb-4,
.my-4 {
  margin-bottom: 1.5rem !important;
}
.ml-4,
.mx-4 {
  margin-left: 1.5rem !important;
}

.m-5 {
  margin: 3rem !important;
}
.mt-5,
.my-5 {
  margin-top: 3rem !important;
}
.mr-5,
.mx-5 {
  margin-right: 3rem !important;
}
.mb-5,
.my-5 {
  margin-bottom: 3rem !important;
}
.ml-5,
.mx-5 {
  margin-left: 3rem !important;
}
/* end bootstrap */