/**
 * Uzdevumu kartiīte
 */
 #taskFormTableLeft {
	width: 50%;
	padding-right: 20px;
}

/**
 * #49939 Popup logos select platums 100%
 */
.ui-dialog select:not([id^='dtC_']),
#Box select:not([id^='dtC_']) {
	width: 100% !important;
}
.ui-dialog input[type="text"]:not(.date_input):not(.time_input):not(.year_input),
#Box input[type="text"]:not(.date_input):not(.time_input):not(.year_input):not([data-link="https://edus.lv"]),
#Box input[type="password"]:not(.date_input):not(.time_input):not(.year_input) {
	width: 100%;
}
.ui-dialog select[id^='dtC_'],
#Box select[id^='dtC_'] {
	float: right;
}

.ui-dialog .field_multi_select table,
#Box .field_multi_select table,
.control_row .field_multi_select table,
.control_multi_select table
 {
	/* min-width: 300px; */
    max-width: 505px;
/*    table-layout: fixed;
*/	border-spacing:0;

	margin-top: 5px;
	border-collapse: collapse;
}
.control_row .field_multi_select > table > tbody >tr > td {
	padding:0;
	border:none !important;
}
.control_multi_select input[type="text"] {
	width:100%;
	border-right:none;
}

/**
 * Pretty checkboxes
 * Kods balstīts uz https://lokesh-coder.github.io/pretty-checkbox/
 */
@keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Firefox < 16 */
@-moz-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Safari, Chrome and Opera > 12.1 */
@-webkit-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Internet Explorer */
@-ms-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Opera < 12.1 */
@-o-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.pretty {
	position: relative;
	display: inline-block;
	margin-right: 6px;
    top: 1px;
}
.pretty.pretty-radio{
	left: 4px;
    top: 4px;
}
.pretty.pretty-checkbox input[type='checkbox'],
.pretty.pretty-radio input[type='radio'] {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    cursor: pointer;
    opacity: 0;
}

.pretty.pretty-radio input[type='radio'] {
	display:inline;
}

.pretty.pretty-checkbox input[type='checkbox'] {

	position: absolute !important;
}
#ajaxPopUp .pretty.pretty-radio input[type='radio'] {
	z-index: 10000;
}
.pretty.pretty-radio{
    height: auto;
}
.pretty.pretty-radio input[type='radio']{
    position: relative;
    opacity: 1;
    width: auto;
    height: auto;
}
.pretty i{
    font-size: 1em !important;
    display: inline-block;
    box-sizing: initial;
    min-width: 1em;
    padding: 1px;
    text-align: center;

}

.pretty i:before {
    left: 0;
    display: inline-block;
    vertical-align: bottom;
    color: transparent;
    content: '\0000';
    height: 16px;
    width: 16px;
}

.pretty:not(.no-fade) i:before {
	-webkit-animation: fadein 0.5s; /* Safari, Chrome and Opera > 12.1 */
	-moz-animation: fadein 0.5s; /* Firefox < 16 */
	-ms-animation: fadein 0.5s; /* Internet Explorer */
	-o-animation: fadein 0.5s; /* Opera < 12.1 */
	animation: fadein 0.5s;
}
.pretty.pretty-checkbox > input[type='checkbox'] + label > i:before{
    background: url( '/styles/images/checkbox_unchecked.png' ) no-repeat left center;
}
.pretty.pretty-checkbox > input[type='checkbox']:checked + label > i:before {
	background-image: url( '/styles/images/checkbox_checked.png' );
}
.pretty.pretty-checkbox > input[type='checkbox']:indeterminate + label > i:before {
	background-image: url( '/styles/images/checkbox_indeterminate.png' );
}
.pretty.pretty-checkbox > input[type='checkbox'].locked-field:hover,
.pretty.pretty-checkbox > input[type='checkbox'].disabled:hover{
    cursor: not-allowed;
}

.pretty.pretty-radio label{
	display: none;
}

.pretty.pretty-radio.eaddress-radio label{
	display: block;
}
.pretty label {
	font-weight: normal;
}


/**
 * Dokumentu sasaistes popup pagination
 */
.pagination-container_saist_dok .simple-paginator {
	text-align: left;
	padding: 0;
	margin: 0;
}
.pagination-container_saist_dok .simple-paginator a {
	margin: 0 1px 1px 1px !important;
}
.pagination-container_saist_dok .simple-paginator a:first-child {
	margin-left: 0 !important;
}

/**
 * Kontakta izveides popups
 */
.koresponent_hide {
	color: red;
}

/**
 * Multi select headeris
 */
.multi-header {
	background-color: #DADADA;
	font-size: 10px;
}

.table_multi_select-header, .table_multi_select-header th.normall {
	background-color: #DADADA;
	font-size: 10px;
}
.table_multi_select-header th {
	width: 80%;
}
.table_multi_select-header th th {
	width: 20%;
}

/**
 * Delete ikona
 * IMG aizvietotājs
 */
.edus-delete-icon {
	display: inline-block;
	width: 12px;
	height: 12px;
	background: url( '/images/del.gif' ) no-repeat;
	cursor: pointer;
}

/**
 * Edit ikona
 * IMG aizvietotājs
 */
.edus-edit-icon {
	display: inline-block;
	width: 16px;
	height: 16px;
	background: url( '/images/edit_picture.jpg' ) no-repeat;
	cursor: pointer;
}

/**
 * Add ikona
 * IMG aizvietotājs
 */
.edus-add-icon {
	display: inline-block;
	width: 15px;
	height: 16px;
	background: url( '/images/uzdevumi/add_note.gif' ) no-repeat;
	cursor: pointer;
}


/**
 * Autorizācijas skats ar izslēgtu intranetu
 */
.big-login-wrap-table {
	width: 642px;
}
.big-login-wrap-cell {
	width: 640px;
	height: 451px;
}
.big-login-form-cell {
	background-image: url( '/images/login-box-bg.jpg' );
	width: 240px;
	height: 164px;
}
.big-login-form-cell > table {
	margin-top: 22px;
}
.big-login-button-wrap {
	text-align: right;
}
.big-login-button {
	height: 18px;
}
.big-login-version {
	display: none;
}
.big-login-logo {
	display: none;
}
.big-login-form {
	margin-bottom: 0px;
}
.big-login-ntlm {
	width: 100%;
}
.big-login-username-tr td {
	padding-top: 15px;
}
.big-login-username-tr td:last-child,
.big-login-password-tr td:last-child {
	text-align: right;
}
.big-login-input {
	width: 132px;
	margin-right: 0 !important;
}

/**
 * Popup calendar - datepicker
 */
.popup-calendar {
	font-family:Arial, sans-serif;
	font-size:11px;
	border:1px solid #a0a0a0;
	background:#ffffff;
}
.popup-calendar-header {
	background-color: #AA0000;
}
.popup-calendar-today {
	color: #ff0000;
}
.popup-calendar-control {
	border:1px solid #fff;
	cursor:pointer;
}
.popup-calendar-control:hover {
	border-color: #ff0000;
}
.popup-calendar-drop-down {
	font-family:Arial, sans-serif; 
	font-size:11px; 
	border:1px solid #A0A0A0;
	background:#FFFFDD;
	cursor: pointer;
}
.popup-calendar-drop-item {
	background-color: transparent;
	cursor: pointer;
}
.popup-calendar-drop-item:hover {
	background-color: #FFCC99;
}
.popup-calendar-selectYear {
	margin-left: 6px;
}
.popup-calendar-close {
	display: inline-block;
	width: 15px;
	height: 13px;
	background-image: url( '/images/calendar/close.gif' );
	background-repeat: no-repeat;
}


/**
 * Atsevišku popup formatējums
 */
.confirm-delete-popup {
	z-index: 2000 !important;
}
.simple-dialog.add-new-event {
	width: 380px !important;
}
.popup-contact-objects {
	width: 378px !important;
}
.popup-contact-events {
	width: 450px !important;
}
.popup-contact-view .control_row {
	padding-right: 5px;
}
.popup-multi-data {
	width: 378px !important;
}
.pv-residence {
	width: 400px !important;
}
.pv-edit-block-fields {
	height: 500px !important;
}
.pv-atv-add {
	width: 430px !important;
}
.pv-close-period {
	border:1px solid #AA0114;
}
.popup-button-padding {
	padding-left: 4px;
}
.popup-task-forms {
	/* #49927 Uzdevumu popup platums samazināts */
	width: 350px !important;
}
.popup-nomenclature-format {
	width: 400px !important;
}
.popup-nomenclature-format .nom-title {
	color: #BD0B01;
	padding-left: 2px;
	font-weight: bold;
}
.popup-nomenclature-format .button-block {
	padding: 4px 6px;
}
.popup-register-create .button-block {
	padding: 0 10px 4px 10px;
}
.popup-contact-structure .button-block,
.popup-contact-worker .button-block {
	padding: 4px 4px 0px;
}
.popup-user-copy-permissions {
	width: 378px !important;
}
.popup-user-copy-permissions .button-block {
	padding: 15px 4px 0px 0px;
}
.popup-sedes-info-add .button-block {
	padding: 10px 4px 0 4px;
}
.popup-sedes-veidi .button-block {
	padding: 4px 4px 0px;
}
.popup-sedes-info-add .main-table {
	margin: 4px 4px 4px 0;
}
.popup-sedes-info-add .files-cell {
	padding-left: 4px;
	padding-top: 4px;
}
.popup-sedes-info-add .pretty {
	margin-right: 0;
}
.popup-sedes-info-add .pretty-row {
	text-align: center;
	padding: 2px;
}


/**
 * Popup platums /ajax/popup/DocAdresats.php
 */
.popup-doc-adresats {
	width: 332px !important;
}
.popup-doc-adresats .button-block {
	padding: 4px;
}

/**
 * Multi DIV autocomplete defaultais izskats
 * Autocomplete menu priekš multi_div(), objects()
 */
.multi-div-autocomplete {
	z-index:900; 
	overflow:scroll; 
	overflow-x:hidden; 
	height:200px; 
	width:444px; 
	position:absolute; 
	display:none;
}

/**
 * Adreses meklēšanas ievads, kurai galā ir ikona
 */
.find-address-field-input {
	width: 194px;
}
.find-address-field-input.kontakti2 {
	width: 80%;
}

/**
 * PV darbinieks multi-lauks doc.kartiņā
 */
td.pv_darbinieks-edit a {
	height: 16px;
	width: 16px;
	background-image: url('/images/company_icon_small.gif');
	display: inline-block;
	cursor: pointer;
}

/**
 * Dinamiskais izvēlnes lauks
 */
.human-table {
	display: table;
	width: 100%;
	border-spacing: 0;
	border-collapse: inherit;
}
.human-thead {
	display: table-header-group;
}
.human-tbody {
	display: table-row-group;
}
.human-tr {
	display: table-row;
	width: 100%;
}
.human-th {
	display: table-cell;
	text-align: center;
}
.human-td {
	display: table-cell;
	vertical-align: middle;
}


.human-input-wrapper {
	width: 100%;
}
.human-input {
	width: 92%
}

.ui-dialog .human-input,
#Box .human-input {
	width: 100%
}
.human-name {
	color: #000 !important; 
	font-weight: bold;
}
.human-adrese {
	color: #000 !important;
}
.human-botline {
	border-bottom: 2px solid #CCC; 
	color: #666 !important;
}
.human-botline.human-edit,
.human-botline.human-delete,
.human-botline.human-letter {
	border-bottom: 2px solid #CCC;
}
.human-button {
	width: 30px;
	height: 30px;
	background-image: url( '/images/human.gif' );
	background-repeat: no-repeat;
}
.human-edit > div {
	display: inline-block;
	width: 16px;
	height: 16px;
	background-image: url( '/images/company_icon_small.gif' );
}
.human-letter > div {
	display: inline-block;
	width: 12px;
	height: 12px;
	background-image: url( '/images/letters.gif' );
}
.human-delete > div {
	display: inline-block;
	width: 12px;
	height: 12px;
	background-image: url( '/images/del.gif' );
}
.human-delete.human-disabled > div {
	display: inline-block;
	width: 12px;
	height: 12px;
	background-image: url( '/images/del_disabled.gif' );
}

/**
 * Datuma/laika lauku atdalītājs
 */
span.dt-split {
	padding-left: 3px;
	padding-right: 3px;
}

/**
 * Datepicker atvēršanas poga
 */
input.dt-calendar {

}
input.dt-calendar.padding {
	margin-left: 5px;
}

/**
 * Default izskats priekš fast select close 
 */
#fastSelectClose {
	margin: 1px;
    background-color: white;
    border-left: 1px solid black;
    border-right: 1px solid black;
    border-top: 1px solid black;
    height: 15px;
}
#fastSelect1, #fastSelect2 {
	border:1px solid black;
}

/**
 * Default šis bloks ir neredzams, to iespējos redesign skins
 */
div.renew-document-status.restyle,
#header_line #topline #topend,
#tab_row #nav .search {
	display: none;
}

input {
	border-radius: 0;
	-webkit-border-radius: 0;
	padding: 0 2px;
}

/* newstyles */
#ajax-loading-spinner-container {
	text-align: center;
}

#ajax-loading-spinner {
	width: 40px;
	height: 40px;
	display: none;
}

#PadomesLoceklaViedoklisContainer_td .dataCell_gray {
	padding-left: 5px;
	font-weight: normal;
}

#PadomesLoceklaViedoklisContainer_td a.faili_link {

	font-size: 11px;
	color: #646464;
	font-family: Tahoma, sans-serif;
	text-decoration: none;
	cursor: pointer;
}

#PadomesLoceklaViedoklisContainer_td a.faili_link:hover {
	text-decoration: underline;
	font-size: 11px;
	color: #646464;
	font-family: Tahoma, sans-serif;
	cursor: pointer;
}

#PadomesLoceklaViedoklisContainer_td td.img-container {
	text-align: right;
	padding: 4px 0;
}

#document-statuses .status-color-container {
	display: block;
	position: relative;
	width: 170px;
	height: 40px;
}

#document-statuses .status-color-name {
	position: absolute;
	left: 0;
	top: 0;
	margin: 0;
	padding: 13px 4px;
	background: #fff;
	width: 100%;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

#document-statuses .status-color-picker {
	display: block;
	position: absolute;
	left: 0;
	top: 0;
	margin: 0;
	padding: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

_::-ms-reveal, #document-statuses .status-color-picker {
	height: 36px;
}

#document-statuses .status-color-picker:focus {
	outline: 0;
}

div.result-message.success {
	font: bold 1.2em sans-serif;
	position: absolute;
	z-index: 9999;
	top: 0;
	left: 50%;
	width: 276px;
	margin-left: -138px;
	color: #005000;
	background-color: #DCFDBA;
	border: 1px solid #007000;
	padding: 5px 4px 5px 4px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
	cursor: default;
	display: none;
}

div.result-message span {
	display: inline-block;
	width: 210px;
}

div.result-message a {
	margin-left: 10px;
	text-decoration: underline;
	cursor: pointer;
	color: #B10003;
}

div.ajax-loading-spinner {
	height: 20px;
	width: 200px;
	background-color: #EFEFEF;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	border-radius: 4px;
	padding: 5px 4px 1px 4px;
	font: bold 1.2em sans-serif;
	color: #555;
	border: 2px solid lightGray;
	position: absolute;
	left: 50%;
	margin-left: -100px;
	display: none;
	z-index: 9999;
}

img.renew-document-status {
	margin-left: 4px;
	margin-bottom: -2px;
	cursor: pointer;
}

#edit-period-title-container {
	padding-left: 2px;
}

#edit-period-title-form {
	width: 320px;
}

#edit-period-title-form label {
	float: left;
	margin: 3px 0;
}

#edit-period-title-form input {
	float: right;
	margin-right: 0;
}

#edit-period-title-form input.failure {
	background: #FEF1EC;
	border: 1px solid #B10003;
	color: #B10003;
}

#edit-period-title-form div.button-row {
	position: relative;
	overflow: hidden;
	clear: both;
}

#edit-period-title-form .save-period-titles-button {
	margin-top: 10px;
	float: right;
}

#edit-period-title-form div.message-row {
	display: none;
	margin-top: 8px;
	clear: both;
}

/* #47848 Uzlabot jaunā dokumenta atlases loga darbību. */
.register-tree li ul {
	padding-left: 20px;
	margin-left: 10px\9  !important;
	padding-left: 0 \9  !important;
}

.register-tree li a {
	text-decoration: none;
	padding: 2px;
	display: inline-block;
	cursor: pointer;
}

.register-tree li a:hover,
.register-tree li a:active {
	background-color: #EAEAEA;
	text-decoration: none;
}

.register-tree ul.tree-root {
	margin: 0;
	padding-left: 20px;
}

li.tree-closed {
	list-style-image: url("/images/register_tree/tree-collapsed.png");
}

li.tree-open {
	list-style-image: url("/images/register_tree/tree-expanded.png");
}

li.tree-leaf {
	list-style: none;
}

.hidden {
	display: none;
}

li.tree-leaf-active {
	font-weight: bold;
}

/* End of #47848*/

/* #47635 Priekšskatījums PDF */
img.open-pdf-preview.in-reg-list {
	margin-left: 5px;
}

img.open-pdf-preview {
	cursor: pointer;
}

/* End of #47635*/

/* #47799 Burbulis čatam par jaunu ziņu */
#chat-notification-cont {
	display: none;
	position: absolute;
	top: 50px;
	right: 0;
	z-index: 1000;
}

#chat-notification-cont .content {
	min-width: 150px;
	max-width: 300px;
	height: 26px;
	white-space: normal;
}

#chat-notification-cont .content #chat-notification-text {
	font-size: 8pt;
	font-weight: bold;
	color: #961416;
}

/* End of #47799 */

/* Dialoglogu paziņojumi */
p.dialog-message-container {
	display: none;
	margin: 0;
	padding: 4px 6px;
}

p.dialog-message-container.failure {
	background: #FEF1EC;
	border: 1px solid #B10003;
	color: #B10003;
}

p.dialog-message-container.success {
	background: #DCFDBA;
	border: 1px solid #007000;
	color: #005000;
}

p.dialog-message-container.notice {
	background: #FFF2BD;
	border: 1px solid #DDBA86;
	/*color: #745424;*/
	color: #6F4E1E;
}

/* End of Dialoglogu paziņojumi */

/* #47732 Jauns nomenklatūras lauks. */
#db_nomenklatura.login.documentCardTboxWithButton {
	height: 18px;
	width: 100% !important;
}

#show-nomenclature-full-list {
	cursor: pointer;
}

#nomenclature-list-container {
	position: absolute;
	left: 0;
	right: 0;
	margin: 0;
	padding: 0;
	display: none;
	width: 330px;
	background: #fff;
	border: 1px solid #000;
	max-height: 200px;
	height: 200px;
	overflow-x: hidden;
	overflow-y: scroll;
}

#nomenclature-list-container #nomenclature-table {
	width: 100%;
	border-collapse: collapse;
	color: #000080;
}

#nomenclature-table tr.nomenclature-row.hover {
	background: #000080;
	color: #fff;
}

#nomenclature-table tr.nomenclature-row td {
	cursor: pointer;
}

#nomenclature-list-container td.nomenclature-number-cell {
	width: 30%;
}

#nomenclature-list-container td.close-list-cell {
	text-align: right;
}

#nomenclature-list-container td.close-list-cell span {
	color: #BD0B01;
	cursor: pointer;
}
.nomeclature-input-td {
	width: 100%;
}

/* End of #47732 */

/* #47692 Poga virziena iestatījumu atvēršanai */
#open-direction-settings-container {
	padding: 0 0 5px 0;
}

/* End of #47692 */

tr.loader td img {
	height: 20px;
	width: 20px;
}

#calframe1, #calframe2 {
	background: #F8F8F8;
	border: 1px solid #BDBDBD;
	width: 99%;
	height: 99%;
	overflow: hidden;
	margin-left: 2px;
}

div#back_button_content {
	padding: 5px 3px 0 5px;
}

.file_doc_popup {
	background-color: #FFFF2B;
	height: 17px;
	color: black;
	font-weight: bold;
	border-bottom: 1px solid #FFB400;
	visibility: visible;
}

/* stylesheet */
.doc_sel_node {
	display: inline;
	margin-top: 1px;
	margin-bottom: 1px;
	padding: 1px;
	z-index: 10;
}

.doc_sel {
	background-repeat: repeat;
	border: 1px solid #FFB400;
	background-color: transparent;
	text-align: left;
	padding: 0;
	position: absolute;
	z-index: 9;
	font-family: Verdana, Tahoma, Sans-Serif;
	font-size: xx-small;
}

/* end of newstyles */
html, body {
	margin: 0;
	padding: 0;
	font-family: Tahoma, verdana, sans-serif;
	font-size: 10px;
	background: #fff;
	color: black;
	height: 100%;
}

/* stylesheet */

.nstr {
	padding: 0;
	height: 0;
}

.title_row {
	background-color: #EBEBEB;
	font-family: Tahoma, sans-serif;
	font-size: 10pt;
	height: 18px;
	padding: 2px 2px 2px 20px;
	width: 188px;
	color: #636363;
	border-left: solid 4px white;
	border-right: solid 5px white;
	border-top: solid 3px white;
	word-break: normal;
}
/**
 * 49927 Popup logiem šaurāks title_row
 */
.ui-dialog .title_row,
#Box .title_row {
	width: 30%;
}

.title_row_sia {
	background-color: #EBEBEB;
	font-family: Tahoma, sans-serif;
	font-size: 10pt;
	height: 18px;
	padding: 2px 2px 2px 20px;
	width: 70px;
	color: #636363;
	border-left: solid 4px white;
	border-right: solid 5px white;
	border-top: solid 3px white;
	word-break: normal;
}

.control_row {
	border-top: solid 2px white;
	padding:5px 0 5px 0;
}

#filterFormTable .control_row {
	padding:0;
}

.control_multi_select .select_arrow {
	display: block;
	width:19px;
	height:18px;
	border:none;
	margin:0;
	padding:0;
	left: -2px;
	background: transparent no-repeat left center;
	background-image: url('/images/multi_select_arrow.gif');
	cursor:pointer;
}

.edit-classificator {
	display: inline-flex;
	width:20px;
	height:20px;
	border:none;
	margin:0;
	padding:0;
	background: transparent no-repeat center center;
	background-image: url('/images/doc_card_icons/add_resolution_task.png');
	bottom: -4px;
	position: relative;
}

.elemTD-delete {
	display:block;
	width:12px;
	height:12px;
	border:none;
	margin:0;
	padding:0;
	background: transparent no-repeat center center;
	background-image: url('/images/del.gif');
	cursor:pointer;
}


.HideTR {
	display:none;
}

.vertical_control_cell {
	border-left: solid 3px white;
}

.title_row_n {
	background-color: #E2E2E2;
	height: 18px;
	padding: 0 2px 0 5px
}

#prombutne_iemesls_classifier {
	width: 100%;
	display: block;
}

#db_planned_leave_reason {
	width: 100%;
	height: 45px;
}

/* projektu diagrammaam */

/* striipinja */
.daycell {
	text-align: center;
	width: 11px;
	height: 10px;
	border-left: 1px solid black;
	border-right: 1px solid black;
	border-top: 1px solid black;
	display: inline;
}

.itemcell {
	text-align: center;
	width: 11px;
	height: 11px;
	border-left: 1px solid black;
	border-right: 1px solid black;
	border-top: 1px solid black;
	display: inline;
}

.hilite {
	width: 11px;
	background-image: url('/images/bg.gif');
	height: 100%;
	min-height: 400px;
	margin: 0;
	display: inline;
}

.unhilite {
	width: 11px;
	height: 100%;
	min-height: 400px;
	margin: 0;
	border-left: 1px solid black;
	display: inline;
}

/* # statusi - todo */
.status_high {
	background-image: url('/images/i_highredarrow.gif');
	background-repeat: no-repeat;
}

.status_normal {
	background-image: url('/images/i_normalgreen.gif');
	background-repeat: no-repeat;
}

.status_low {
	background-image: url('/images/i_low.gif');
	background-repeat: no-repeat;
}

/* ######################## */

/* ############### GALERIJAS STILI ######## */
/* Atteela preview; */
.gal_smallthumb_td {
	height: 120px;
	width: 120px;
	border: 0 solid #aaa;
	text-align: center;
	padding: 10px 6px 10px 6px;
}

.gal_smallthumb_title {
	color: #9B9B9B;
	min-height: 25px;
	text-align: center;
}

.gal_thumb_image {
	text-align: center;
	max-height: 100px;
	border: 0;
	height: 90px;
}

/* virsraksti - Pedejie 5 pievienotie piemeram 1.lapaa */
.firstpage_titles {
	font-family: Verdana, Tahoma, sans-serif;
	font-size: 12px;
	padding-left: 0;
	margin-bottom: 5px;
	margin-top: 15px;
	color: #9b9b9b;
	width: 100%;
	border-bottom: 1px solid #9b9b9b;
}

.firstpage_last {
	font-family: Verdana, Tahoma, sans-serif;
	font-size: 12px;
	margin-bottom: 15px;
	padding: 15px 15px 15px 0;
	margin-top: 15px;
	color: #9b9b9b;
	width: 100%;
}

img {
	border: 0;
}

td, tr, body, table {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 10px;
}

body {
	scrollbar-face-color: white;
	scrollbar-highlight-color: white;
	scrollbar-shadow-color: gray;
	scrollbar-light-color: gray;
	scrollbar-3dlight-color: gray;
	scrollbar-arrow-color: gray;
	scrollbar-track-color: white;
	scrollbar-darkshadow-color: white
}

td.tab {
	border-top: 1px solid #999;
	border-right: 1px solid #666;
	border-left: 1px solid #999;
	border-bottom: none;
	border-radius: 2px;
	-moz-border-radius: 2px;
}

a {
	color: #5C6F83;
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

a.nav {
	color: #5C6F83;
	text-decoration: underline;
}

.login-text {
	border: 0;
	font: 11px Courier, serif;
	color: black;
}

.login-input {
	margin: 2px;
	border: 1px solid #999999;
	background: #FFFFFF;
	font: 12px Tahoma, serif;
	color: black;
}

input, textarea, select {
	border: 1px solid #999999;
	background: #FFFFFF;
	font: 12px Tahoma, serif;
	color: black;
}

.button {
	border: 1px solid #999999;
	background: #E5E5E9;
	font: 12px Tahoma, serif;
	color: black;
	cursor: pointer;
}

.narrowbutton {
	border: 1px solid #999999;
	background: #E5E5E9;
	font: 11px Tahoma, serif;
	color: black;
	cursor: pointer;
}

.nobox {
	border: 0 solid #999999;
	background: #FFFFFF;
	font: 12px Tahoma, serif;
	color: black;
}

.stat-small {
	color: #666666;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 9px;
}

.inputframe {
	border: 1px solid black;
	background: #E5E5E9;
	font: 12px Tahoma, serif;
	color: black;
}

.inputbg {
	border: 0 solid black;
	background: #E5E5E9;
	font: 12px Tahoma, serif;
	color: black;
}

.tabula {
	border: 0 solid #F4F4F4;
	background: #FAFAFA;
	font: 12px Tahoma, serif;
	color: black;
	padding-left: 5px;
}

.tabula1 {
	border: 0 solid #F4F4F4;
	background: #EBEBEB;
	font: 12px Tahoma, serif;
	color: black;
	padding-left: 5px;
}

.tabulag {
	border: 0 solid #F4F4F4;
	background: #FAFAFA;
	font: 12px Tahoma, serif;
	color: gray;
}

.tabula1g {
	border: 0 solid #F4F4F4;
	background: #EBEBEB;
	font: 12px Tahoma, serif;
	color: gray;
}

.tabula2 {
	border: 0 solid #F4F4F4;
	font: 12px Tahoma, serif;
	color: black;
}

.tabula2g {
	border: 0 solid #F4F4F4;
	font: 12px Tahoma, serif;
	color: gray;
}

.tabula1h {
	border: 0 solid #F4F4F4;
	background: #EBEBEB;
	font: 11px Tahoma, serif;
	color: #5D5D5D;
}

.tabulah {
	border: 1px solid #F4F4F4;
	background: #F4F4F4;
	font: 12px Tahoma, serif;
	color: black;
}

/* ffffffffff */

.xBox {
	padding: 5px;
	font: 12px Tahoma, serif;
	color: #6A819C;
}

.xSbox {
	font: 12px Tahoma, serif;
	color: #6A819C;
}

.xSbox2 {
	font: 10px Tahoma, serif;
	color: #6A819C;
}

.login {
	border: 1px solid #999999;
	background: #FFFFFF;
	font: 12px Tahoma, serif !important;
	color: black;
}

.inpt {
	border: 1px solid #999999;
	background: #FFFFFF;
	font: 12px Tahoma, serif;
	color: black;
}

.inpt2 {
	border: 1px solid #5C6F83;
	background: #EE8239;
	font: 10px Tahoma, serif;
	color: #FFFFFF;
	scrollbar-base-color: #EE8239;
}

.brd {
	border: 1px solid black;
}

.dotted-brd {
	border-bottom: 1px dotted #93B8E1;
}

.brd2 {
	border: 1px solid #547BA7;
}

.bfnt {
	font: 12px Tahoma, serif;
	color: #C73D3D
}

.xS {
	font: 12px Tahoma, serif;
	color: #6A819C;
	padding: 0;
}

td.event {
	font-weight: bold;
	background-color: blue;
	color: red;
}

td.news {
	font-weight: bold;
	color: black;
	background-color: blue;
}

fieldset {
	padding: 5px 5px 5px 5px;
}

div.auto_complete {
	position: absolute;
	width: 250px;
	background-color: white;
	border: 1px solid #888;
	margin: 0;
	padding: 0;
}

div.auto_complete ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
}

div.auto_complete ul li.selected {
	background-color: #ffb;
}

div.auto_complete ul li {
	list-style-type: none;
	display: block;
	margin: 0;
	padding: 2px;
	height: 16px;
	cursor: pointer;
}

.title_cell {
	border-right: 1px solid #000000;
	border-bottom: 1px solid #000000;
	color: #888888;
	text-align: right;
	padding-right: 10px;
}

.big_header {
	font-size: 13pt;
	font-weight: bold;
	color: #BF0900;
}

.contact_padded {
	padding-left: 5px;
	padding-bottom: 0;
}

.cursor_pointer {
	cursor: pointer;
}

.headertd {
	background: url('/images/backgr.gif') transparent repeat-x center left;
	height: 20px;
	color: #BD0B01;
	font-weight: bold;
	font-family: Tahoma, Arial, sans-serif;
	font-size: 11px;
}

.headertd_small {
	height: 20px;
	font-weight: normal;
	font-family: Tahoma, Arial, sans-serif;
	font-size: 11px;
}

.headertd_small_bold {
	height: 32px;
	color: #BD0B01;
	font-weight: bold;
	font-family: Tahoma, Arial, sans-serif;
	font-size: 11px;
}

.headerback {
	background: url('/images/backgr.gif') repeat-x center left;
}

.year_input {
	border: 1px solid #999999;
	background: #FFFFFF;
	font: 12px Tahoma, serif;
	color: black;
	width: 35px;
}

.date_input {
	border: 1px solid #999999;
	background: #FFFFFF;
	font: 12px Tahoma, serif;
	color: black;
	width: 25px;
}

#content blockquote {
	margin-left: 5px !important;
	margin-right: 0 !important;
}

/*style for data list*/
table.dataList_allBorders {
	border: solid 1px #c7c7c7;
}

table.dataList_withLeftBorder {
	border-left: solid 1px #c7c7c7;
}

table.dataList_withRightBorder {
	border: solid 1px #c7c7c7;
}

table.dataList_withTopBorder {
	border-top: solid 1px #c7c7c7;
}

table.dataList_withBottomBorder {
	border-bottom: solid 1px #c7c7c7;
}

.dataList_headerCell {
	border-bottom: solid 1px #c7c7c7;
	background-color: #e8e8e8;
	padding: 2px;
	font-family: Tahoma, Arial, sans-serif;
	font-size: 11px;
	color: #636363;
	font-weight: normal;
}

.dataList_headerCell a {
	color: #636363;
}

.dataList_notFirstHeaderCell {
	border-left: solid 1px #c7c7c7;
}

tr.dataList_rowWithLink {
	cursor: pointer;
}

tr.dataList_hoveredRow {
	background-color: #f2f2f2;
}

.dataList_dataCell {
	padding: 2px 2px 2px 6px;
	font-family: Tahoma, Arial, sans-serif;
	font-size: 11px;
	color: #636363;
}

.dataList_notFirstDataCellColumn {
	border-left: solid 1px #c7c7c7;
}

.dataList_notLastDataRow {
	border-bottom: solid 1px #c7c7c7;
}

.dataCell_gray {
	font-size: 11px;
	color: #646464;
	font-family: Tahoma, sans-serif;
}

.dataCell {
	font-size: 11px;
	font-family: Tahoma, sans-serif;
}

.documentCardTbox {
	width: 226px;
}

.documentCardTboxWithButton {
	width: 190px;
}

.documentCardSbox {
	width: 226px;
}

.documentCardSbox2 {
	width: 190px;
}

.documentCardSboxWithButton {
	width: 190px;
}

.documentCard2CellTextarea {
	width: 100%;
	margin-right: 4px;
}

.threeDotsButton {
	width: 32px;
	height: 18px;
	margin-left: 2px;
	margin-right: 4px;
}

.replyOnDocTbox {
	width: 168px;
}

.multiSelectTbox {
	width: 204px;
}

.FormSbox {
}
#activeUsersTable #x_html_table .dataList_headerCell:last-child {
	white-space:normal;
}
#dokform #doc_contents_variable {
	width:100%;
}

/**** JavaScript-based pagination UI ****/

div.pagination-ui-wrapper {
	padding: 4px 0;
}

div.pagination-ui {
	text-align: center;
}

div.pagination-ui a {
	display: inline-block;
	height: 20px;
	text-align: center;
	width: 20px;
	padding: 1px;
	margin: 0 2px 0 0;
	background-color: #F2E2E2;
	border: 1px solid #CB8A8B;
	text-decoration: none;
}

div.pagination-ui a:hover {
	text-decoration: none;
}

div.pagination-ui a.page:hover {
	background-color: #961416;
	color: #fff;
	border-color: #961416;
}

div.pagination-ui a.page-curr {
	background-color: #fff;
	cursor: default;
}

div.pagination-ui a span {
	position: relative;
	top: 4px;
	top: 2px\9;
}

div.pagination-ui p {
	display: inline-block;
	display: inline\9;
	margin: 0 2px 0 0;
	position: relative;
	top: 10px;
	top: 1px\9;
	cursor: default;
}

/**** Delivery information block ****/

#delivery-info-cont p {
	margin: 2px 2px 4px 5px;
	padding: 0;
	font-size: 110%;
}

.block-title {
	color: #961416;
}

#delivery-info-cont p.block-title {
	margin-bottom: 10px;
	font-weight: bold;
}

#delivery-info-cont .feed-item-cont p.feed-item {
	padding: 0 10px 0 20px;
}

#delivery-info-cont p.feed-item.description-lable {
	margin-bottom: 10px;
}

p.feed-item span {
	color: #961416;
}

/**** const_lang interface ****/

table.constants-table {
	margin: 15px auto;
	margin-left: 10px\9;
	border: 1px solid #c0c0c0;
	border-collapse: collapse;
	width: 98%;
}

table.constants-table.search {
	margin: 5px auto;
	margin-left: 10px\9;
}

table.constants-table.search td p {
	color: #8C1214;
	font-size: 115%;
}

table.constants-table td, table.constants-table th {
	font-size: 110%;
	border: 1px solid #c0c0c0;
	border-collapse: collapse;
	height: 100%;
	padding: 2px;
}

table.constants-table td {
	height: 25px\9;
}

table.constants-table.search td {
	width: 20%;
}

p.search-title, p.sort-title {
	color: #4F4F4F;
	font-size: 110%;
	font-weight: bold;
	margin: 10px 0 5px 12px;
	padding: 0;
	text-align: left;
	clear: both;
}

table.constants-table.search td.const-name,
table.constants-table.search td.lang-lv,
table.constants-table td.lang-other,
table.constants-table td.lang-ru,
table.constants-table td.description {
	background-color: #F2E2E2;
	padding: 1px 2px 3px 2px\9;
}

table.constants-table td.const-name textarea,
table.constants-table td.lang-lv textarea,
table.constants-table td.lang-other textarea,
table.constants-table td.lang-ru textarea,
table.constants-table td.description textarea {
	background-color: #FDFBFB;
	border: medium none;
	color: #961416;
	width: 100%;
	border-radius: 2px;
	-moz-border-radius: 2px;
	-webkit-border-radius: 2px;
	resize: none;
	overflow-y: hidden;
	height: auto;

}

div.commentCopy {
	width: 100%;
	visibility: hidden;
}

button.constants-save {
	margin: 0 10px 10px;
}

button.constants-add {
	margin: 10px 0 0 10px;
}

div.new-const-dialog {
	position: absolute;
	width: 50%;
	padding: 4px 4px 10px 4px;
	background-color: #fff;
	border: 1px solid #848484;
	border-radius: 6px;
	-moz-border-radius: 6px;
	-webkit-border-radius: 6px;
	box-shadow: 3px 3px 5px #C0C0C0;
	-moz-box-shadow: 3px 3px 5px #C0C0C0;
	-webkit-box-shadow: 3px 3px 5px #C0C0C0;
}

div.new-const-dialog table {
	width: 100%;
}

div.new-const-dialog td {
	height: 20px;
}

div.new-const-dialog td input {
	border-radius: 4px;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	color: #545454;
	font-size: 150%;
	height: 40px;
	width: 100%;
}

div.new-const-dialog div {
	width: 100%;
	height: 100%;
	position: relative;
}

div.new-const-dialog div span.close {
	background-color: #F7EEEE;
	border: 1px solid #CB8A8B;
	border-radius: 3px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	font-size: 130%;
	padding: 0 5px 2px;
	color: #961416;
	cursor: pointer;
	position: absolute;
	right: 0;
	top: 0;
}

div.new-const-dialog div span.close:hover {
	cursor: pointer;
	background-color: #F2E2E2;
}

button.dialog-constants-add {
	margin-left: 2px;
}

div.message-container {
	font-size: 120%;
	margin: 0 4px;
}

.new-const-dialog div.message,
.new-const-dialog div.error {
	font-size: 120%;
	padding: 8px 0 0;
}

.message {
	color: #1b580f;
}

.error {
	color: #c2242a;
}

div.poga-container {
	position: relative;
}

a.constants-save.bottom {
	margin: 0 10px 10px;
}

a.constants-search, a.constants-show-all, a.constants-export-xls,
a.constants-import-xls, a.constants-save.top {
	margin: 0 0 0 10px;
}

a.poga.constants-search .bcont, a.constants-show-all .bcont {
	text-align: center;
	width: 74px;
	width: 90px\9;
}

p.search-no-results {
	color: #961416;
	font-size: 150%;
	font-weight: bold;
	margin: 15px 0;
	text-align: center;
}

div.sort-block a.poga {
	margin: 3px 0 10px 10px
}

div.bcont a {
	color: #464646;
	text-decoration: none;
}

#show-const-name, label.show-const-name {
	margin: 5px;
}

label.show-const-name {
	margin-left: 12px;
}

td.const-name {
	word-wrap: break-word;
}

#xls-upload-form {
	margin: 0 0 0 10px;
}

#xls-upload-form a.poga {
	position: relative;
	top: 5px;
}

#xls-upload-form input {
	position: relative;
	top: -1px\9;
}

.hidden {
	display: none;
}

/* Daži maketēšanas labojumi */
div.constans-interface-pagination {
	clear: both;
}

div.constans-interface-pagination .pagination-ui {
	display: block;
}

#search-buttons-wrapper {
	overflow: hidden;
}

#search-buttons-wrapper a, #search-buttons-wrapper input, #search-buttons-wrapper label {
	float: left;
}

a.poga.constants-search div.bcont, a.poga.constants-show-all div.bcont {
	height: 12px;
}

#ui-row-top {
	overflow: hidden;
	padding: 10px 0 0 0;
}

#ui-row-top a, #ui-row-top form {
	float: left;
}

#ui-row-top a.poga.constants-save.top div.bcont,
#ui-row-top a.poga.constants-export-xls div.bcont,
#ui-row-top a.poga.constants-import-xls div.bcont {
	height: 16px;
}

a.constants-save.bottom {
	display: inline-block;
	margin-bottom: 10px;
}

a.constants-save.bottom div.bcont {
	height: 16px;
}

.sort-block {
	overflow: hidden;
	padding-bottom: 15px;
}

.sort-block a.poga.constants-sort {
	display: block;
	float: left;
	margin: 0 0 0 10px;
}

.sort-block a.poga.constants-sort div.bcont {
	height: 12px;
}

/* MAINTANCE */
div#maintance {
	width: 320px;
	text-align: center;
	padding: 4px;
	color: #961416;
	font-weight: bold;
	font-size: 12px;
	border: 1px solid #961416;
	background-color: #FFFFFF;
	z-index: 10;
	position: absolute;
	top: 15px;
	left: 524px;
}

div#maintance #maintance_timer {
	color: #FF0000;
	font-size: 18px;
}

div#maintance #maintance_finish {
	color: #FF0000;
	font-size: 14px;
}

/* MAINTANCE NO INTRA */
div#maintance_intra {
	width: 320px;
	text-align: center;
	padding: 4px;
	color: #961416;
	font-weight: bold;
	font-size: 12px;
	border: 1px solid #961416;
	background-color: #FFFFFF;
}

div#maintance_intra div#maintance_timer {
	color: #FF0000;
	font-size: 18px;
}

div#maintance_intra span#maintance_finish {
	color: #FF0000;
	font-size: 14px;
}

/* LIETOTAJI HISTORY */
table.user_history {
	margin-left: 3px;
	empty-cells: show;
	border-collapse: collapse;
	width: 360px;
}

table.user_history, table.user_history td, table.user_history th {
	border: 1px solid #C7C7C7;
	padding: 3px;
}

table.user_history th {
	text-align: left;
	background-color: #E8E8E8;
	color: #636363;
	font-weight: normal;
}

table.user_history td {
	text-align: left;
	background-color: #FFFFFF;
	color: #636363;
	font-weight: normal;
}

div.user_history_message {
	clear: both;
	font-family: Tahoma, sans-serif;
	font-size: 9pt;
	margin-right: 1px;
	padding: 3px;
	text-align: center;
	width: 97%;
	display: none;
}

div.user_history_message.error {
	background-color: #FFFFBF;
	border: 1px solid #FF0000;
	color: #FF0000;
}

div.user_history_message.complete {
	background-color: #dcfdba;
	border: 1px solid green;
	color: green;
}

/* BALSOЉANA */

.PollTable {
	border-collapse: collapse;
}

.PollTable th {
	background-color: #E8E8E8;
	border-bottom: 1px solid #C7C7C7;
	color: #636363;
	font-family: Tahoma, sans-serif;
	font-size: 8pt;
	font-weight: normal;
	padding: 2px;
	vertical-align: middle;
}

.PollTable tr.poll_toggle {
	display: none;
}

.PollTable tr.HoverFocus {
	background-color: #F2F2F2;
	cursor: pointer;
}

.PollTable td {
	text-align: center;
	border-bottom: 1px solid #C7C7C7;
	color: #636363;
	font-family: Tahoma, sans-serif;
	font-size: 8pt;
	font-weight: normal;
	padding: 2px;
}

.PollTable td.UserList {
	padding: 0;
}

.PollTable .BorderLeft {
	border-left: 1px solid #C7C7C7;
}

.PollTable .NoBorderBottom {
	border-bottom: 0;
}

.PollTable .VerticalTop {
	vertical-align: top;
}

.PollTable .AlignLeft {
	text-align: left;
}

.PollTable .AlignRight {
	text-align: right;
}

.PollTable div.StatusText {
	background-color: #E0E0E0;
}

.PollTable span.Green {
	color: green;
	font-weight: bold;
}

.dynamic-menu-button {
	display: inline-block;
	width: 100%;
	height: 24px;
	background: transparent url(/images/skrepka_gray.jpg) no-repeat center center;
}

.dynamic-menu-button.active {
	background-image: url(/images/skrepka_red.jpg);
}

#dynamic_menu {
	position: absolute;
	top: 0;
	left: 0;
	display: none;
	width: 250px;
	max-height: 180px;
	border: 1px solid #D3D3D3;
	overflow: hidden;
	z-index: 1000;
}

#dynamic_menu .close {
	height: 10px;
	background: #EDEDED url(/images/context_menu/close_menu.png) no-repeat center right;
	font-size: 9px;
	text-align: right;
	cursor: pointer;
}

#dynamic_menu .file-list {
	padding: 5px;
	max-height: 160px;
	background: #EDEDED url(/images/context_menu_bg.gif) repeat-x top left;
	overflow-x: hidden;
	overflow-y: auto;
	font-family: Tahoma, sans-serif;
}

#dynamic_menu .file-list .row {
	display: block;
	overflow: hidden;
}

#dynamic_menu .file-list .row a {
	display: block;
	float: left;
	overflow: hidden;
	font-size: 11px;
	color: #646464;
	text-decoration: none;
	cursor: pointer;
}

#dynamic_menu .file-list .row a .icon {
	display: block;
	float: left;
	width: 24px;
	height: 24px;
	background: transparent no-repeat center center;
}

#dynamic_menu .file-list .row a .text {
	display: block;
	float: left;
	width: 175px;
	height: 24px;
	line-height: 24px;
	overflow: hidden;
	text-overflow: ellipsis;
}

#dynamic_menu .file-list .row a .text:hover {
	text-decoration: underline;
}

#dynamic_menu .file-list .row .open-pdf-preview {
	display: block;
	float: right;
	width: 24px;
	height: 24px;
	background: transparent url(/images/preview_1_.png) no-repeat center center;
	cursor: pointer;
}

/* AJAX POPUP */
div#ajaxPopUp {
	display: none;
}
/* TODO rework this to classes instead of IDs */
table#LoginOverlay {
	background: url('/images/overlay.png') repeat left top;
	position: absolute !important;
	left: 0;
	top: 0;
	z-index: 1001 !important;
}

table#LoginOverlay div#Box, table#loadingOverlay div#Box {
	width: 300px;
	padding: 4px;
	background-color: #FFFFFF;
	border: 1px solid #AA0114;
	outline: 2px solid #FFFFFF !important;
}

table#LoginOverlay div#Box div.boxHeader,
table#LoginOverlay1 div#Box div.boxHeader,
table#LoginOverlay2 div#Box div.boxHeader,
table#LoginOverlay3 div#Box div.boxHeader,
table#loadingOverlay div#Box div.boxHeader {
	border: 1px solid #D3D3D3;
	background: #E7E7E7 url('/images/accordion_cntl/background.gif') repeat-x scroll left top;
	height: 20px;
	-moz-background-clip: border;
	-moz-background-origin: padding;
	-moz-background-inline-policy: continuous;
}

table#LoginOverlay div#Box div.boxHeader span.boxHeaderTitle {
	float: left;
	display: inline-table;
	text-align: left;
	margin-top: 3px;
	margin-left: 3px;
}

table#LoginOverlay div#Box div.boxHeader div.xClose,
table#LoginOverlay1 div#Box div.boxHeader div.xClose,
table#LoginOverlay2 div#Box div.boxHeader div.xClose,
table#LoginOverlay3 div#Box div.boxHeader div.xClose,
table#loadingOverlay div#Box div.boxHeader div.xClose {
	float: right;
	cursor: pointer;
	background-image: url( '/images/viz_denied.png' );
	width: 19px;
	height: 16px;
	display: block;
	clear: none;
	margin-top: 2px;
}

table#LoginOverlay div#Box form {
	margin: 0;
	padding: 0;
}

table#LoginOverlay div#Box table.boxTable {
	border: 1px solid #D3D3D3;
}

table#LoginOverlay div#Box input.button {
	padding: 2px 8px;
	width: auto !important; /* IE table-cell margin fix */
	overflow: visible;
	background-color: white;
	font: 12px Tahoma, serif;
	border: 1px solid #AA0114;
}

table#LoginOverlay div#Box input.button[type="submit"],
table#LoginOverlay1 div#Box input.button[type="submit"],
table#LoginOverlay2 div#Box input.button[type="submit"],
table#LoginOverlay3 div#Box input.button[type="submit"] {
	border: 1px solid #AA0114;
	padding: 2px 8px;
	margin: 0;
	width: auto !important;
	background-color: white !important;
}

table#LoginOverlay div#Box form input.removeButton {
	width: 70px;
	margin: 2px;
	height: 20px;
	padding: 0 6px;
}
table#LoginOverlay div#Box textarea {
	width: 100%;
/*	width: 397px;
*/	height: 250px;
        resize: vertical;
	white-space: pre-wrap;
	word-break: keep-all;
}

.no-margin-top {
    margin-top: 0 !important;
}

.img-close {
	margin-top: 4px;
	cursor: pointer;
}

.add-register-table {
	height: 100% !important;
}

.control_row_textarea {
/*	width: 500px;
*/}

/**** Personāla vadība ****/

/* PV kalendārs */
#calendar-container {
	width: 720px;
	overflow: hidden;
	margin: 10px;
}

#pv-calendar {
	border: 1px solid #c7c7c7;
	border-collapse: collapse;
	margin: 10px 0;
	clear: both;
	width: 100%;
}

#calendar-form {
	position: relative;
}

#pv-calendar th, #pv-calendar td {
	border: 1px solid #c7c7c7;
	color: #636363;
	font: normal 12px Tahoma, sans-serif;
}

#pv-calendar th.header-cell {
	background-color: #e8e8e8;
	padding: 4px;
}

#pv-calendar td.calendar-cell {
	padding: 2px 4px;
	overflow-wrap: break-word;
	word-break: break-all;
}

#pv-calendar input.reason-field {
	width: 100%;
	padding: 2px;
	padding: 0 2px\9;
	line-height: 16px\9;
	display: none;
}

#pv-calendar p.reason-text {
	margin: 0;
	padding: 0;
}

#pv-calendar td.delete-cell img {
	margin: 0 auto;
	margin: 0 10px\9;
	display: block;
	cursor: pointer;
}

#pv-calendar tr.calendar-row.edited {
	background-color: #FFFFC8;
}

#calendar-container #buttons-container {
	overflow: hidden;
}

#calendar-container div.create-new-date-button {
	float: right;
	margin-right: 5px;
	margin-right: 18px\9;
}

#calendar-container div.save-button {
	float: left;
}

#create-date-dialog input, #create-date-dialog select {
	font: normal 1.2em Tahoma, sans-serif;
}

#create-date-dialog #reason-row input, #create-date-dialog select {
	width: 100%;
}

#create-date-dialog #reason-row input {
	padding: 2px 4px;
	padding: 0 2px\9;
	line-height: 16px\9;
}

#create-date-dialog #message-container {
	display: none;
	margin: 10px 0 0 0;
	padding: 4px 6px;
}

#create-date-dialog #message-container.success {
	background: #DCFDBA;
	border: 1px solid #007000;
	color: #005000;
}

#create-date-dialog #message-container.failure {
	background: #FEF1EC;
	border: 1px solid #B10003;
	color: #B10003;
}

#calendar-form #save-message-container {
	position: absolute;
	width: 300px;
	text-align: center;
	top: 0;
	left: 50%;
	margin-left: -150px;
	padding: 4px 6px;
}

#calendar-form #save-message-container.success {
	background: #DCFDBA;
	border: 1px solid #007000;
	color: #005000;
}

#calendar-form #save-message-container.failure {
	background: #FEF1EC;
	border: 1px solid #B10003;
	color: #B10003;
}

/* Jauna atvaļinājuma pievienošanas dialoglogs */
#add-holiday-table #pv_ligums {
	width: 100%;
}

#add-holiday-table input, #add-holiday-table select {
	font: normal 1.2em Tahoma, sans-serif;
}

p.period-row, p.date-row.readonly, p.num-of-days-row.readonly {
	margin: 0;
	padding: 2px 6px;
	font: normal 1.2em Tahoma, sans-serif;
	color: #636363;
}

p.period-row, p.date-row.readonly, p.num-of-days-row.readonly {
	color: #000;
	padding-left: 0;
}

#message-container.add-holiday-dialog-message {
	display: none;
	margin: 0 10px 0 10px;
	padding: 4px 6px;
}

#message-container.add-holiday-dialog-message.success {
	background: #DCFDBA;
	border: 1px solid #007000;
	color: #005000;
}

#message-container.add-holiday-dialog-message.failure,
#edit-periods-dialog p.edit-period-dialog-message.failure {
	background: #FEF1EC;
	border: 1px solid #B10003;
	color: #B10003;
}

#edit-periods-dialog p.edit-period-dialog-message.failure {
	margin: 0 10px 0 10px;
	padding: 4px 6px;
}

/* Periodu rediģēšanas dialoglogs */
#edit-periods-dialog #period-list input, #edit-periods-dialog select {
	font: normal 1.2em Tahoma, sans-serif;
}

#edit-periods-dialog #select-contract-table #contract-row-popup td {
	border-bottom: 10px solid #fff;
}

#period-list .save-button-row td {
	border-bottom: 1px solid #D8D8D8;
	padding-bottom: 10px;
}

#period-list .period-start-row td {
	border-top: 10px solid #fff;
}

#period-list .period-status-row.not-approved td.status-cell {
	color: #D81212;
	font-weight: bold;
	font-size: 1.1em;
}

#period-list .period-status-row.approved td.status-cell {
	color: green;
	font-weight: bold;
	font-size: 1.1em;
}

#period-list input.period-change-reason {
	width: 100%;
}

#period-list .top-border-row td {
	border-top: 1px solid #D8D8D8;
}

#period-list .save-button-row td .save-button,
#period-list .save-button-row td .approve-button {
	float: right;
}

table#DrawBlockHeader td.draw-block-header {
	padding: 0;
	border: 1px solid rgb(211, 211, 211);
	background: rgb(231, 231, 231) url(/images/accordion_cntl/background.gif) repeat-x scroll left top;
	height: 22px;
	-moz-background-clip: border;
	-moz-background-origin: padding;
	-moz-background-inline-policy: continuous;
}

table#DrawBlockHeader td.draw-block-title {
	border: 0;
	cursor: pointer;
	font-family: Tahoma, sans-serif;
	font-size: 10px;
	padding-left: 5px;
	text-align: left;
}

#logindiv {
	display: none;
}

#logindivad {
	display: none;
}

#passdiv {
	display: none;
}


table#LoginOverlay1, table#LoginOverlay2, table#LoginOverlay3, #loadingOverlay {
	background: url('/images/overlay.png') repeat left top;
	position: absolute !important;
	left: 0;
	top: 0;
	z-index: 20000 !important;
}


table#LoginOverlay1 div#Box, table#LoginOverlay2 div#Box, table#LoginOverlay3 div#Box, #loadingOverlay div#Box {
	width: 300px;
	padding: 4px;
	background-color: #FFFFFF;
	border: 1px solid #AA0114;
	outline: 2px solid #FFFFFF !important;
}

/*
table#LoginOverlay1 div#Box div, table#LoginOverlay2 div#Box div, table#LoginOverlay3 div#Box div {
	border: 1px solid #D3D3D3;
	background: #E7E7E7 url(/images/accordion_cntl/background.gif) repeat-x scroll left top;
	height: 20px;
	-moz-background-clip: border;
	-moz-background-origin: padding;
	-moz-background-inline-policy: continuous;
}
*/

table#LoginOverlay1 div#Box div span, table#LoginOverlay2 div#Box div span, table#LoginOverlay3 div#Box div span, table#loadingOverlay div#Box div span {
	float: left;
	display: inline-table;
	text-align: left;
	margin-top: 3px;
	margin-left: 3px;
}

table#LoginOverlay1 div#Box div img, table#LoginOverlay2 div#Box div img, table#LoginOverlay3 div#Box div img {
	float: right;
	cursor: pointer;
}

table#LoginOverlay1 div#Box form, table#LoginOverlay2 div#Box form, table#LoginOverlay3 div#Box form {
	margin: 0;
	padding: 0;
}

table#LoginOverlay1 div#Box table, table#LoginOverlay2 div#Box table, table#LoginOverlay3 div#Box table, table#loadingOverlay div#Box table {
	border: 1px solid #D3D3D3;
}

/*
table#LoginOverlay1 div#Box input[type="submit"], table#LoginOverlay2 div#Box input[type="submit"], table#LoginOverlay3 div#Box input[type="submit"] {
	outline: 2px solid #FFE9E8 !important;
	border: 1px solid #AA0114;
}
*/

.hideThisField {
	display: none;
}

table.multi-data {
	width: 100%;
	color: #636363;
	border-collapse: collapse;
	border: 1px solid #c7c7c7;
}
table.multi-data th.header-cell {
	font: 12px Tahoma,sans-serif;
	background-color: #e8e8e8;
	border: 1px solid #c7c7c7;
	padding: 4px;
}

table.multi-data td.data-cell {
	font-size: 12px;
	border: 1px solid #c7c7c7;
	padding: 2px 4px;
}

table.multi-data td.edit-cell, table.multi-data td.delete-cell {
	text-align: center;
}

table.multi-data td.edit-cell img, table.multi-data td.delete-cell img {
	cursor: pointer;
}

.multi-data.add-button, .add-cenu-bloks.add-button {
	float: right;
	cursor: pointer;
}

/*START Style from doc.reg.php START*/
.sortable {
	width: 100%;
	border-style: solid;
	border-color:#C7C7C7;
	border-width: 0 0 1px 1px;
	color:#636363;
	font-size:8pt;
	font-family:Tahoma, sans-serif;
	empty-cells:show;
	margin-right:10px !important;
}

.sortable th {
	border-style: solid;
	border-color:#C7C7C7;
	background-color:#E8E8E8;
	border-width: 1px 1px 0 0;
}

.sortable td {
	border-style: solid;
	border-color:#C7C7C7;
	border-width: 1px 1px 0 0;
	font-weight:normal;
	height:40px;
	cursor:pointer;
}

table.sortable thead {
	background-color:#eee;
	color:#666666;
	font-weight: bold;
	cursor: pointer;
}

.sortable td hr{
	border-style: solid;
	border-color:#C7C7C7;
	border-width: 1px 1px 0 0;
	width: 70%;
}

.sortable td .dataList_allBorders {
	border: 0px !important;
}

.sortable td .dataList_allBorders > tbody > tr > td {
	border-width: 0 0 1px 1px !important;
}
/*END Style from doc.reg.php END*/

.add-document-dialog .documents-list .dataList_dataCell, .saistitas-lietas1 .dataList_dataCell {
	cursor:pointer;
}

.intra-news-preview {
	top: 5px !important;
	width: 75% !important;
	max-width: 1000px;
}

.intra-news-gallery {
	top: 5px !important;
}
.intra-news-gallery form {
	padding: 0.5em 0px 0px !important;
}

.elrte-gallery .nav {
	padding: 2px 2px 1px 2px;
}
.elrte-gallery .nav ul {
	margin: 0px;
	padding: 0px;
}
.elrte-gallery .nav ul li {
	list-style: none;
	text-align: left;
	margin-bottom: 1px;
	padding: 6px 4px 6px 14px;
	background-color: #F8F8F8;
	cursor: pointer;
	background-image: url('/images/register_tree/tree-collapsed.png');
	background-repeat: no-repeat;
	background-position: 4px 50%;
}
.elrte-gallery .nav ul li:hover {
	background-color: #E9E9E9;
}
.elrte-gallery .nav ul li.selected {
	background-color: #E9E9E9;
}
.elrte-gallery .picture_list {
	border-left: 1px solid #999;
	width: 542px;
	padding: 2px;
}
.elrte-gallery .picture_list img {
	cursor: pointer;
}
.elrte-gallery .picture_list div {
	overflow: auto;
}
#err_div .err_table {
	border-collapse: collapse;
	margin:2px;
}
#err_div .err_table, #err_div .err_table tr, #err_div .err_table td, #err_div .err_table th {
	border:1px solid #ffc896;
	padding:6px;
}
#err_div .err_table th {
	background-color: #ffecb1;
	font-weight:normal;
}

.komunalo_bloks >tbody>tr>td {
	padding:4px 0 0 0;
}
.komunalo_bloks >tbody>tr>td.skaititajs_table {
	padding:0 0 4px 0;
	border-bottom:1px solid #CCCCCC;
}
.komunalo_bloks .skaititajs_table td {
	text-align:center !important;
}
.komunalo_bloks .skaititajs_table table tr  td[cell="hide"] {
	display:none;
}

tr.linked-document {
	background: #f2ffe4 none repeat scroll 0 0;
}

.clear-fix:after {
	visibility: hidden;
	display: block;
	content: "";
	clear: both;
	height: 0;
}
* html .clear-fix { zoom: 1; } /* IE6 */
*:first-child+html .clear-fix { zoom: 1; } /* IE7 */

/* START - Special task content block - START */
#DocumentTasksContainer .block-content-container {
	border:0px;
}
.document-tasks-block {
	margin-top: 10px;
}
.document-tasks-block select option {
	padding: 0 0 0 3px;
}
.document-tasks-block .create-task {
	border: 1px solid #333333;
	color: #333333;
	margin-left: 6px;
	padding: 3px 6px;
	position: relative;
	cursor: pointer;
	background-color: #FFFFFF;
}
@-moz-document url-prefix() {
	.document-tasks-block .create-task {
		padding: 2px 6px;
		top: -1px;
	}
}
.document-tasks-block .create-task.inactive {
	color: #d3d3d3 !important;
	border-color: #d3d3d3 !important;
	cursor: default;
}
.document-tasks {
	border-top: 2px solid #D3D3D3;
	border-right: 1px solid #D3D3D3;
	/*border-bottom: 1px solid #999999;*/
}
.document-tasks.no-data {
	border: 0px;
}
.document-task {
	/*border-top: 1px solid #999999;
	border-right: 1px solid #999999;
	border-bottom: 1px solid #999999;
	border-left: 0px;*/
	border: 0px;
	display: flex !important;
	color: #636363;
	cursor: pointer;
}

.document-task[data-task-statuss="6"] .column-user .created, .document-task[data-task-statuss="6"] .column-info .content,
.document-task[data-task-statuss="8"] .column-user .created, .document-task[data-task-statuss="8"] .column-info .content,
.document-task[data-task-statuss="101"] .column-user .created, .document-task[data-task-statuss="101"] .column-info .content,
.document-task[data-task-statuss="6"] .column-user .created, .document-task[data-task-statuss="6"] .column-info .replays,
.document-task[data-task-statuss="8"] .column-user .created, .document-task[data-task-statuss="8"] .column-info .replays,
.document-task[data-task-statuss="101"] .column-user .created, .document-task[data-task-statuss="101"] .column-info .replays,
.document-task[data-task-statuss="6"] .column-info .priority,
.document-task[data-task-statuss="8"] .column-info .priority,
.document-task[data-task-statuss="101"] .column-info .priority {
/*	display: none;*/
}

.document-task[data-task-statuss="6"]:not(.expanded) .column-info .data,
.document-task[data-task-statuss="8"]:not(.expanded) .column-info .data,
.document-task[data-task-statuss="101"]:not(.expanded) .column-info .data {
/*	border: none;*/
}

.header-wrapper + #document_tasks_block > .document-task {
	margin-bottom: 1px;
}

.header-wrapper + #document_tasks_block .bar-fprint {
	display: flex;
}
.header-wrapper + #document_tasks_block .bar-fprint img {
	height: auto !important;
	flex: 0 0 auto;
}

.header-wrapper {
	height: 14px !important;
	table-layout: fixed;
}

/*.document-task .column-level {*/
	/*flex: 0 0 40px;*/
	/*display: flex;*/
/*}*/

/*.document-task .arrow-wrapper {*/
	/*flex: 1;*/
	/*display: flex;*/
    /*position: relative;*/
/*}*/

/*.document-task .column-level .arrow {*/

/*}*/

/*.document-task .arrow-wrapper + .bar {*/
	/*flex: none;*/
/*}*/

/*.document-task .bar {*/
	/*flex: 1;*/
/*}*/

.document-task:hover {
	background-color: #eeeeee;
}
.document-task.view-task .column-user {
	-webkit-box-shadow: inset 2px 0px 0px 2px rgba(189,11,1,1);
	-moz-box-shadow: inset 2px 0px 0px 2px rgba(189,11,1,1);
	box-shadow: inset 2px 0px 0px 2px rgba(189,11,1,1);
}
.document-task.view-task .column-info {
	-webkit-box-shadow: inset -2px 0px 0px 2px rgba(189,11,1,1);
	-moz-box-shadow: inset -2px 0px 0px 2px rgba(189,11,1,1);
	box-shadow: inset -2px 0px 0px 2px rgba(189,11,1,1);
}
.document-task .column-level {
    float: left;
    width: 40px;
    background-color: #FFFFFF;
    overflow: hidden;
    position: relative;
    flex: 0 0 40px;
    display: flex;
}
.document-task .column-level .bar {
    width: 100%;
    background-color: #ebebeb;
    float: right;
    border-bottom: 2px solid #D3D3D3;
    box-sizing: border-box;
	display: flex;
    margin-left: auto;
}
@media screen {
	.document-task .column-level .arrow {
		background: url('/images/uzdevumi/task_tree_arrow.png') no-repeat right #fff;
        left: 0px;
        width: 0px;
        height: 100%;
        min-width: 1px;
        position: absolute;
        /*right: 0;*/
        /*top: 50%;*/

        /*left: auto !important;*/
        /*transform: translatey(-50%);*/
	}
}

@media print {
	#document_tasks_block > div {
		page-break-inside: avoid;
		page-break-after: avoid;
		page-break-before: avoid;
		overflow-wrap: break-word;
	}
	#document_tasks_block + table {
		page-break-inside: avoid;
		page-break-after: avoid;
		page-break-before: avoid;
		overflow-wrap: break-word;
	}
	img {
		margin-bottom: 2px;
	}
	/*.document-task .column-level .arrow:after {
		content:url('/images/uzdevumi/task_tree_arrow.png') !important;

		display: list-item;
		list-style-image: url('/images/uzdevumi/task_tree_arrow.png');
		list-style-position: inside;
	}*/
	/*.document-task .column-level .bar:after {
		box-shadow: inset 0 0 0 1000px #ebebeb !important;
	}*/
}
#uzd_dok + td {
	position: relative;
}
#uzd_dok + td a {
    max-width: 327px;
    overflow: hidden;
    display: block;
	white-space: nowrap;
}
#uzd_dok + td .overflowing:after {
	content: '[..]';
	display: inline-block;
	position: absolute;
	right: 0;
	width: 17px;
	background: white;
	padding-left: 4px;
}
.document-task .column-level .line {
	background-color: #D3D3D3;
	height: 100%;
	float: left;
	width: 1px;
	position: absolute;
	left: 0;
    z-index: 1;
}
/*@media print {
	.document-task .column-level .line {
		box-shadow: inset 0 0 0 1000px #D3D3D3 !important;
		z-index: 1000;
	}
}*/
.document-task .column-level .last-child {
	height: 50% !important;
}
.document-task .column-level .hidden {
	background-color: #FFFFFF !important;
	display: block;
}
.document-task .column-user {
	float: left;
	height: auto;
	border-left: 1px solid #D3D3D3;
    width: 40%;
	padding: 4px 10px;
	border-bottom: 2px solid #D3D3D3;
    flex: 0 0 auto;
}
.document-task .column-user .created {
	margin: 4px 0px 0px 10px;
}
.document-task .column-user .star {
	background: url('/styles/images/favorite-activ.png') no-repeat left center;
	padding-left: 16px !important;
	background-size: 14px 14px;
}
.document-task .column-user .author, .document-task .column-user .doer {
	font-weight: bold;
}
.document-task .column-user .doer {
	color: #000000;
	font-size: 12px;
}
.document-task .column-user .author_info, .document-task .column-user .doer_info {
	font-style: italic;
}
.document-task .column-user .alert {
	color: #BD0B01;
}
.document-task .column-info {
    float: left;
    height: auto;
    border-left: 1px solid #D3D3D3;
    width: 60%;
    border-bottom: 2px solid #D3D3D3;
    word-break: break-all;
    flex: 4;
}
.document-task .column-info .data {
	border-bottom: 1px solid #D3D3D3;
	padding: 4px;
}
.document-task .column-info .data .actions-sub {
	display: none;
	position: absolute;
	background-color: #F0F0F0;
	border: 1px solid #d3d3d3;
	padding: 4px;
	z-index: 1;
}
.document-task .column-info .data .actions-sub .div-button {
	padding: 8px;
	font-weight: bold;
	color: #333333;
	text-align: center;
	cursor: pointer;
	white-space: nowrap;
}
.document-task .column-info .data .actions-sub .div-button:hover {
	background-color: #CCCCCC;
}



.document-task .column-info .content {
	border-bottom: 1px solid #D3D3D3;
	padding: 4px;
	font-weight: bold;
	color: #000000;

}
.document-task .column-info .content.no-border-bottom {
	border-bottom: 0px !important;
}
.document-task .column-info .info {
	float: left;
}
.document-task .column-info .actions {
	float: right;
}
.document-task .column-info .actions .action-button {
	float: left;
	margin-left: 4px;
}
.document-task .column-info .actions .action-button a {
	display: inline-block;
    height: 21px;
    width: 23px;
}
.document-task .column-info .actions .assign-task a {
	background: url( '/images/uzdevumi/apstiprinat.gif' ) no-repeat center center;
}
.document-task .column-info .actions .send-task a {
	background: url( '/images/uzdevumi/atbildet.gif' ) no-repeat center center;
}
.document-task .column-info .actions .done-task a {
	background: url( '/images/viz_ok.png' ) no-repeat center center;
}
.document-task .column-info .actions .sign-task a {
	background: url( '/images/viz_ok.png' ) no-repeat center center;
}
.document-task .column-info .actions .cancel-task a {
	background: url( '/images/uzdevumi/cancel.gif' ) no-repeat center center;
}
.document-task .column-info .actions .delete-task a {
	background: url( '/images/uzdevumi/dzest.gif' ) no-repeat center center;
}
.document-task .column-info .actions .close-task a {
	background: url( '/images/viz_denied.png' ) no-repeat center center;
}
.document-task .column-info .actions .repeat-task a {
	background: url( '/images/uzdevumi/refresh.gif' ) no-repeat center center;
}
.document-task .column-info .actions .add-task a {
	background: url( '/images/uzdevumi/add_note.gif' ) no-repeat center center;
}
.document-task .column-info .actions .take-task a {
	background: url( '/images/uzdevumi/apstiprinat.gif' ) no-repeat center center;
}
.document-task .column-info .replays {
	padding: 4px;
}
.document-task .task-replay .star {
	background: url('/styles/images/favorite-small-activ.png') no-repeat left center;
	padding-left: 14px !important;
	background-size: 11px 11px;
}
.document-task .task-replay .replay-text {
	margin-left: 25px;
	font-weight: bold;
}
.document-task .task-replay .delete {
	position: relative;
	top: 2px;
	width: 12px;
	height: 12px;
	background: url(/images/del_disabled.gif) no-repeat center center;
	display: inline-block;
}

.document-task .task-replay .delete:hover {
	cursor: pointer;
	background-image: url(/images/del.gif);
}
/* END - Special task content block - END */

#start-after-block .add-task-button {
	border: 1px solid #49708a;
	color: #49708a;
	margin-left: 6px;
	padding: 2px 6px;
	position: relative;
	cursor: pointer;
	background-color: #FFFFFF;
	font-size: 8pt;
}
#start-after-block img {
	cursor: pointer;
}

.rTable {
	display: table;
	width: 100%;
	border-spacing: 0;
	margin-top: 5px;
	border-top: 1px solid #a5bfd0;
	border-left: 1px solid #a5bfd0;
}
.rTableRow {
	display: table-row;
}
.rTableHeading {
	display: table-header-group;
}
.rTableBody {
	display: table-row-group;
}
.rTableFoot {
	display: table-footer-group;
}
.rTableCell {
	display: table-cell;
	text-align: center;
	border-right: 1px solid #a5bfd0;
	border-bottom: 1px solid #a5bfd0;
	padding: 2px;
	font-size: 11px;
}
 .rTableHead {
	display: table-cell;
	background-color: #d0e0eb;
	border-right: 1px solid #a5bfd0;
	border-bottom: 1px solid #a5bfd0;
	color: #000000;
	font-weight: bold;
	padding: 2px;
	font-size: 11px;
	text-align: center;
}
.multi_doc_contact_add {
	background: url(/images/add_absent_reason.png) no-repeat center center;
	display: block;
	width: 20px;
	height: 20px;
	cursor: pointer;
}
.contact_visitors textarea,
.contact_transports textarea,
.document_visitors_person_action_dialog textarea,
.document_visitors_transport_action_dialog textarea
{
	width: 100%;
}
.documents-list-search .human-input {
	width: 80% !important;
	margin-top: 3px;
}
.document_visitors_person_dialog,
.document_visitors_transport_dialog {
	overflow: visible !important;
}
.document_visitors_person_dialog .ui-dialog-content,
.document_visitors_transport_dialog .ui-dialog-content {
	position: static !important;
}
.document_visitors_person_dialog .visitor_search_block,
.document_visitors_transport_dialog .transport_search_block {
	white-space: nowrap;
	float: right;
	width: 100%;
}
.document_visitors_person_dialog .visitor_search_block table,
.document_visitors_transport_dialog .transport_search_block table {
	margin: 0 !important;
}
.document_visitors_person_dialog .visitor_search_block input,
.document_visitors_transport_dialog .transport_search_block input {
	height: 18px;
	margin: 0px;
	vertical-align: top;
	padding: 0px;
}
.document_visitors_dialog textarea,
.document_visitors_visit_dialog  textarea,
.document_visitors_transport_dialog  textarea {
	width: 100%;
}
.module-visitor-history {
	float: unset !important;
}
.visitors-table-panel {
	margin: 4px 0 4px 0;
}

#ApmekletajuBloksContainer_td .failure,
#ApmekletajuBloksPersonContainer_td .failure,
#ApmekletajuBloksVehicleContainer_td .failure {
	background: #FEF1EC;
	border: 1px solid #B10003;
	color: #B10003;
	padding: 4px 6px;
	text-align: center;
}

.suggestion_list{
	z-index: 10001 !important;
}
.show-modal-dialog{
	min-width: 500px;
}
.confirm-delete-popup + div.ui-widget-overlay, .document_visitors_transport_dialog, .document_visitors_person_action_dialog {
	z-index: 10001 !important;
}
.confirm-delete-popup {
	position: inherit !important;
	z-index: 10002 !important;
}
.contact_transports + div.ui-widget-overlay {
	z-index: 10002 !important;
}
.contact_transports {
	z-index: 10003 !important;
}
.contact_transports .ui-dialog {
	z-index: 10003 !important;
}

.last-change {
	margin-left: 4px;
	position: relative;
	top: 7px;
	color: #636363;
	font-style: italic;
}

.last-change.user-visibility-change {
	top: -2px;
	margin-left: 0;
}

#header_block #topinfo #fast_select table td .quick-doc-select-container {
	z-index: 1000;
}

.main-header {
	z-index: 999 !important;
}

#absence_popup .pretty.pretty-checkbox input[type=checkbox], #absence_popup .pretty i, #absence_popup .pretty i::before {
	z-index: auto;
}

.workflow-list {
	height: 100%;
	width: 50%;
}

.workflow-diagram {
	height: 50%;
	width: 100%;
}

.ui-dialog.ui-widget > form {
	max-height: calc(100vh - 90px);
}

.pdf-iframe-dialog > form {
	max-height: none !important;
}

.rename-folder-dialog .ui-dialog-content,
.rename-folder-dialog form > #RenameFolderInputField {
	min-height: 0 !important;
	min-width: 0 !important;
}

.rename-folder-dialog #RenameFolderSubmit {
	margin-top: 15px;
	margin-bottom: -10px;
	border: none;
	background-color: #49708A;
	color: #FFF;
	padding: 3px 13px;
	font-weight: bold;
	cursor: pointer;
}
.rename-folder-dialog #RenameFolderSubmit:hover {
	background-color: #698EA6;
}

#RenameFolderForm {
	padding: 10px;
	margin-top: -10px;
}

.block-container td[align=center] {
	text-align: center;
}

.my-documents-header {
	max-width: 100%;
}

.my-documents-header .title {
    max-width: 75%;
	white-space: nowrap;
}

.my-documents-header .title .bubbleSpan {
	width: 100%;
}

.my-documents-header .elements {
	display: flex;
}
.main-header.my-documents-header .elements > form {
	margin: auto;
	display: flex;
}
.main-header.my-documents-header .elements > form > * {
	margin: 0;
}

.main-header.my-documents-header .elements > form > button {
	padding: 0;
	margin: auto;
}
.main-header.my-documents-header .elements > button {
	margin-top: auto;
	margin-bottom: auto;
	margin-left: 10px;
}

.my-documents-header .overflowing:after {
	content: '[..]';
	display: inline-block;
	width: 17px;
	padding-left: 5px;
	position: relative;
	bottom: 4px;
}

.document-favorites-subfolder input[name=folder_name] {
	min-width: 0 !important;
}@media screen and (max-width: 1366px) {
    .document-tasks-block .documentCardSbox2 {
        width: 100%;
    }
    .document-tasks-block #assign-new-tasks {
        top: 5px;
        margin-left: 0;
    }
}

.show-all {
	position: relative;
	width: 20px;
	height: 20px;
	cursor: pointer;
	-webkit-transition: all 200ms;
	-moz-transition: all 200ms;
	-ms-transition: all 200ms;
	-o-transition: all 200ms;
	transition: all 200ms;
}

.show-all:before,
.show-all:after {
	content: '';
	display: block;
	height: 13px;
	width: 2px;
	background: #636363;
	position: absolute;
	top: 4px;
}
.show-all:before {
	-webkit-transform: rotate(-45deg);
	-moz-transform: rotate(-45deg);
	-ms-transform: rotate(-45deg);
	-o-transform: rotate(-45deg);
	transform: rotate(-45deg);
	left: 4px;
}
.show-all:after {
	-webkit-transform: rotate(45deg);
	-moz-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	-o-transform: rotate(45deg);
	transform: rotate(45deg);
	left: 13px;
}

.document-task {
	-webkit-transition: all 200ms;
	-moz-transition: all 200ms;
	-ms-transition: all 200ms;
	-o-transition: all 200ms;
	transition: all 200ms;
}

.document-task.expanded .column-user .created,
.document-task.expanded .column-info .content,
.document-task.expanded .column-info .replays,
.document-task.expanded .column-info .priority {
	display: block;
}

.document-task.expanded .show-all {
	-webkit-transform: rotate(180deg);
	-moz-transform: rotate(180deg);
	-ms-transform: rotate(180deg);
	-o-transform: rotate(180deg);
	transform: rotate(180deg);
}

.pdf-iframe-dialog {
	top: 50% !important;
	width: 80% !important;
	left: 50% !important;
	-webkit-transform: translate(-50%,-50%);
	-moz-transform: translate(-50%,-50%);
	-ms-transform: translate(-50%,-50%);
	-o-transform: translate(-50%,-50%);
	transform: translate(-50%,-50%);
}

.sensitive-info-dialog form {
	display : -webkit-box;
	display : -moz-box;
	display : -ms-flexbox;
	display : -webkit-flex;
	display : flex;
}

.sensitive-info-dialog .form-wrapper {
	display : -webkit-box;
	display : -moz-box;
	display : -ms-flexbox;
	display : -webkit-flex;
	display : flex;
	flex-direction: column;
	flex: 1;
}

.sensitive-info-dialog .buttons {
	margin: auto auto 0 auto;
}

.sensitive-info-dialog {
	-webkit-transform: translate(-50%,-50%);
	-moz-transform: translate(-50%,-50%);
	-ms-transform: translate(-50%,-50%);
	-o-transform: translate(-50%,-50%);
	transform: translate(-50%,-50%);
}

.confirm-sensitive-information {
	position: fixed;
	top: 0;
	right: 0;
	width: 100%;
	height: 100%;
	z-index: 9999;
}
.confirm-sensitive-information #box {
	 -webkit-transform: translate(-50%,-50%);
	 -moz-transform: translate(-50%,-50%);
	 -ms-transform: translate(-50%,-50%);
	 -o-transform: translate(-50%,-50%);
	 transform: translate(-50%,-50%);
	 max-width: 400px;
	 position: relative;
	 top: 50%;
	 left: 50%;
	z-index: 1;
 }

.confirm-sensitive-information .box-header {
	background: #49708A !important;
	height: 26px;
	display: flex;
	justify-content: flex-end;
}

.confirm-sensitive-information .box-header > span {
	align-self: center;
	margin-left: 5px;
	font-size: 12px;
	color: white;
}

.confirm-sensitive-information .box-header > a {
	align-self: center;
	margin-left: auto;
	margin-right: 5px;
}
.confirm-sensitive-information form {
	min-height: 100px;
	border: 1px solid #49708A;
	border-top: none;
	background: white;
	display : -webkit-box;
	display : -moz-box;
	display : -ms-flexbox;
	display : -webkit-flex;
	display : flex;
}

.confirm-sensitive-information .information {
	font-size: 13px;
}

.confirm-sensitive-information .form-wrapper {
	display : -webkit-box;
	display : -moz-box;
	display : -ms-flexbox;
	display : -webkit-flex;
	display : flex;
	flex-direction: column;
	flex: 1;
	padding: 20px;
}

.confirm-sensitive-information .form-wrapper .buttons {
	bottom: 20px;
	text-align: right;
	right: 20px;
	position: absolute;
	z-index: 9999;
}

.confirm-sensitive-information .form-wrapper .buttons > button {
	-webkit-transition: background-color 100ms;
	-moz-transition: background-color 100ms;
	-ms-transition: background-color 100ms;
	-o-transition: background-color 100ms;
	transition: background-color 100ms;
	background: #49708A;
	color: #FFFFFF;
	border: none;
	font-weight: bold;
	padding: 4px 13px;
	font-size: 12px;
	outline: none;
	cursor: pointer;
}

.confirm-sensitive-information .form-wrapper .buttons > button:hover {
	background-color: #698EA6;
}

.confirm-sensitive-information .overlay {
	background: #34414B;
	position: absolute;
	height: 100%;
	width: 100%;
	z-index: 0;
	top: 0;
	opacity: 0.7;
}

#classList-container {
	overflow-x: auto;
}

#transport_search,
#visitor_search {
	border-right: none;
	outline: none;
}

#room {
	overflow: visible;
}

.transport_search_block,
.visitor_search_block {
	display : -webkit-box;
	display : -moz-box;
	display : -ms-flexbox;
	display : -webkit-flex;
	display : flex;
}

.control_multi_select .suggestion_list {
	position: relative;
}

#adrese_nos + td > div:first-child {
	display : -webkit-box;
	display : -moz-box;
	display : -ms-flexbox;
	display : -webkit-flex;
	display : flex;
}

#contactsChangeUserDetails .table-body {
	background-color: #F9F9F9;
	color: #636363;
	padding: 5px 3px;
	border: 1px solid #C7C7C7;
	display: none;
    margin-top: 3px;
}

#ContactFormTable .name-change-row > td {
    padding: 5px 0;
}

#contactsChangeUserDetails .table-body > div {
	display : -webkit-box;
	display : -moz-box;
	display : -ms-flexbox;
	display : -webkit-flex;
	display : flex;
	margin-bottom: 5px;
}

#contactsChangeUserDetails .table-body label {
	flex: 0 0 109px;
}

#contactsChangeUserDetails a {
	display: inline-block;
	overflow: auto;
}

#contactsChangeUserDetails > .open-button-wrapper {
	display: -webkit-box;
	display: -moz-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	justify-content: flex-end;
}

#contactsChangeUserDetails button {
	float: none;
}

.term-wrapper > .term-body {
	border: 1px solid #d1dfec;
	padding: 17px 5px 5px;
}

.term-wrapper > .term-heading {
	border: 1px solid #b6c4d1;
	background: white;
	display: inline-block;
	position: relative;
	top: 10px;
	left: 5px;
	font-weight: bold;
	padding: 3px;
}

.term-wrapper .term-classifier {
	display: block;
	margin-top: 10px;
	width: 100%;
}

.term-wrapper .notes-wrapper {
	margin-top: 10px;
}

#user_history > .history-table-header {
	display : -webkit-box;
	display : -moz-box;
	display : -ms-flexbox;
	display : -webkit-flex;
	display : flex;
	border: 1px solid #C7C7C7;
}

#user_history > .history-table-header {
    display : -webkit-box;
    display : -moz-box;
    display : -ms-flexbox;
    display : -webkit-flex;
    display : flex;
    border: 1px solid #C7C7C7;
}

.eaddress-register-remove {
	display: inline-block;
	float: right;
}

#user_history {
	margin-top: 5px;
}

#user_history > .history-table-body {
	border: 1px solid #C7C7C7;
	border-top: none;
}

#user_history .history-table-header > div,
#user_history .history-table-body > .row > div {
	width: 33.33%;
	padding: 3px;
	background-color: #D0E0EB;
	color: #636363;
	flex: 1;
}

#user_history .history-table-header > div:not(:last-child),
#user_history .history-table-body > .row > div:not(:last-child) {
	border-right: 1px solid #C7C7C7;
}

#user_history .history-table-body > .row {
	display : -webkit-box;
	display : -moz-box;
	display : -ms-flexbox;
	display : -webkit-flex;
	display : flex;
	width: 100%;
}

#user_history .history-table-body > .row:not(:last-child) {
	border-bottom: 1px solid #C7C7C7;
}

#user_history .history-table-body > .row > div {
	background-color: #fff;
}

.edit-classifier-dialog,
.add-classifier-dialog {
	width: auto !important;
}

.add-classifier-dialog .title_row {
    width: 15%;
}

.edit-classifier-dialog .button-container {
	display : -webkit-box;
	display : -moz-box;
	display : -ms-flexbox;
	display : -webkit-flex;
	display : flex;
}

.custom-select > .select-bar {
	display : -webkit-box;
	display : -moz-box;
	display : -ms-flexbox;
	display : -webkit-flex;
	display : flex;
}

.custom-select .selected-element-title {
	flex: 1;
	border: 1px solid #999;
	border-right: none;
	font-size: 11px;
	padding: 0 5px;
	position: relative;
	white-space: nowrap;
	max-width: 100%;
	overflow: hidden;
}

.custom-select .select-arrow {
	flex: 0 0 19px;
	display: block;
	background: transparent no-repeat center;
	background-image: url('/images/multi_select_arrow.gif');
	cursor: pointer;
	min-height: 18px;
	position: relative;
}
.custom-select .selected-element-title:after {
	content: '';
	display: block;
	height: 100%;
	position: absolute;
	right: 0;
	background-color: white;
	width: 4px;
	top: 0;
}
.custom-select .select-data {
	position: absolute;
	display: none;
	background: white;
	z-index: 1;
	border: 1px solid #999;
	width: calc(100% - 2px);
	max-height: 250px;
	overflow-x: hidden;
    overflow-y: auto;
    border-top: none;
}

.custom-select ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.custom-select {
	position: relative;
}

.select-data .active,
.select-data .selected {
	background: #226dff;
	color: white;
}

.select-data li {
	padding: 5px;
	font-size: 11px;
}

.added-files-list tr.versions-shown > td {
	background-color: #F6F6F6 !important;
	border-top: 2px solid #C7C7C7;
}

.added-files-list tr.file-version.last > td {
	border-bottom: 2px solid #C7C7C7;
}

.added-files-list .file .lock {
	background: url(/images/file_locked.gif) no-repeat center left;
	padding: 3px 3px 3px 20px;
	color: #767676;
}

.added-files-list .file .description.invalid {
	background: #FFB5B5;
	border: 1px solid #D51111;
}

.added-files-list .file .description .file-icon {
	display: inline-block;
	width: 24px;
	height: 24px;
	background: url(/com/mod_faili/images/fi/default.gif) no-repeat center center;
}

.added-files-list .file .description .file-icon:hover {
	cursor: pointer;
	opacity: 0.6;
}

/* code files */
.added-files-list .file .description .file-icon.icon-htm,
.added-files-list .file .description .file-icon.icon-html {
	background-image: url(/com/mod_faili/images/fi/html.gif);
}

.added-files-list .file .description .file-icon.icon-php {
	background-image: url(/com/mod_faili/images/fi/php.gif);
}

.added-files-list .file .description .file-icon.icon-asp {
	background-image: url(/com/mod_faili/images/fi/asp.gif);
}

.added-files-list .file .description .file-icon.icon-css {
	background-image: url(/com/mod_faili/images/fi/css.gif);
}

.added-files-list .file .description .file-icon.icon-js {
	background-image: url(/com/mod_faili/images/fi/js.gif);
}

.added-files-list .file .description .file-icon.icon-vbs {
	background-image: url(/com/mod_faili/images/fi/vbs.gif);
}

/* text/document files */
.added-files-list .file .description .file-icon.icon-txt {
	background-image: url(/com/mod_faili/images/fi/txt.gif);
}

.added-files-list .file .description .file-icon.icon-doc,
.added-files-list .file .description .file-icon.icon-docm,
.added-files-list .file .description .file-icon.icon-docx,
.added-files-list .file .description .file-icon.icon-dotm,
.added-files-list .file .description .file-icon.icon-dotx,
.added-files-list .file .description .file-icon.icon-rtf {
	background-image: url(/com/mod_faili/images/fi/doc.gif);
}

.added-files-list .file .description .file-icon.icon-xls,
.added-files-list .file .description .file-icon.icon-xlam,
.added-files-list .file .description .file-icon.icon-xlsb,
.added-files-list .file .description .file-icon.icon-xlsm,
.added-files-list .file .description .file-icon.icon-xlsx,
.added-files-list .file .description .file-icon.icon-xltm,
.added-files-list .file .description .file-icon.icon-xltx {
	background-image: url(/com/mod_faili/images/fi/xls.gif);
}

.added-files-list .file .description .file-icon.icon-ppt,
.added-files-list .file .description .file-icon.icon-potm,
.added-files-list .file .description .file-icon.icon-potx,
.added-files-list .file .description .file-icon.icon-ppam,
.added-files-list .file .description .file-icon.icon-ppsm,
.added-files-list .file .description .file-icon.icon-ppsx,
.added-files-list .file .description .file-icon.icon-pptm,
.added-files-list .file .description .file-icon.icon-pptx,
.added-files-list .file .description .file-icon.icon-sldm,
.added-files-list .file .description .file-icon.icon-sldx,
.added-files-list .file .description .file-icon.icon-thmx {
	background-image: url(/com/mod_faili/images/fi/ppt.gif);
}

.added-files-list .file .description .file-icon.icon-ods,
.added-files-list .file .description .file-icon.icon-odg,
.added-files-list .file .description .file-icon.icon-odp,
.added-files-list .file .description .file-icon.icon-odt {
	background-image: url(/com/mod_faili/images/fi/ods.gif);
}

.added-files-list .file .description .file-icon.icon-pdf {
	background-image: url(/com/mod_faili/images/fi/pdf.gif);
}

.added-files-list .file .description .file-icon.icon-edoc,
.added-files-list .file .description .file-icon.icon-asice {
	background-image: url(/com/mod_faili/images/fi/edoc.gif);
}

/* image files */
.added-files-list .file .description .file-icon.icon-gif {
	background-image: url(/com/mod_faili/images/fi/gif.gif);
}

.added-files-list .file .description .file-icon.icon-jpg {
	background-image: url(/com/mod_faili/images/fi/jpg.gif);
}

.added-files-list .file .description .file-icon.icon-png {
	background-image: url(/com/mod_faili/images/fi/png.gif);
}

.added-files-list .file .description .file-icon.icon-bmp {
	background-image: url(/com/mod_faili/images/fi/bmp.gif);
}

.added-files-list .file .description .file-icon.icon-tif {
	background-image: url(/com/mod_faili/images/fi/tif.gif);
}

/* video files */
.added-files-list .file .description .file-icon.icon-avi {
	background-image: url(/com/mod_faili/images/fi/avi.gif);
}

.added-files-list .file .description .file-icon.icon-mpg,
.added-files-list .file .description .file-icon.icon-mpeg {
	background-image: url(/com/mod_faili/images/fi/mpg.gif);
}

/* audio files */
.added-files-list .file .description .file-icon.icon-mp3 {
	background-image: url(/com/mod_faili/images/fi/mp3.gif);
}

.added-files-list .file .description .file-icon.icon-wav,
.added-files-list .file .description .file-icon.icon-wma {
	background-image: url(/com/mod_faili/images/fi/wma.gif);
}

/* archive files */
.added-files-list .file .description .file-icon.icon-zip {
	background-image: url(/com/mod_faili/images/fi/zip.gif);
}

.added-files-list .file .description .file-icon.icon-rar {
	background-image: url(/com/mod_faili/images/fi/rar.gif);
}

/* other files */
.added-files-list .file .description .file-icon.icon-mdb {
	background-image: url(/com/mod_faili/images/fi/mdb.gif);
}

.added-files-list .file .description .file-icon.icon-msg,
.added-files-list .file .description .file-icon.icon-eml {
	background-image: url(/com/mod_faili/images/fi/msg.gif);
}

.added-files-list .file .description .file-icon.icon-url {
	background-image: url(/com/mod_faili/images/fi/url.gif);
}

.added-files-list .file .description .file-icon.icon-vsd {
	background-image: url(/com/mod_faili/images/fi/vsd.gif);
}

.added-files-list .file .description .name {
	display: inline-block;
	padding: 5px;
	vertical-align: top;
}

.added-files-list .file .description .name:hover {
	text-decoration: underline;
}

.added-files-list .file .description .name,
.added-files-list .file .description .size {
	font-family: Tahoma, sans-serif;
	font-size: 11px;
	line-height: 14px;
	color: #646464;
}

.added-files-list .file .description .size {
	display: inline-block;
	padding: 5px 5px 5px 0;
	vertical-align: baseline;
}

.added-files-list .file .description .open-pdf-preview {
	display: inline-block;
	width: 24px;
	height: 24px;
	background: url(/images/preview_1_.png) no-repeat center center;
}
.preview-doc-alpha, .download-doc-alpha{
	text-decoration: none !important;
	line-height: 18px;
	position: relative;
	display: inline-block;
}
.preview-doc-alpha:before,
.download-doc-alpha:before{
	content: '';
	display: inline-block;
	width: 24px;
	height: 24px;
	background: url(/images/preview_1_.png) no-repeat center center;
	position: relative;
}

.download-doc-alpha:before{
	background: url(/images/context_menu/drive-download.png) no-repeat center center;
}

.added-files-list .file .children {
	padding-left: 24px;
}

.added-files-list .signature-group {
	white-space: normal;
}


.added-files-list .signature {
	display: table; /* the only way to make a DIV have fluid width without floating it */
	margin: 3px 0;
	border: solid 1px #D3D3D3;
	background: #EDEDED url(/images/esignedDocumentBground.gif) left top;
}

.added-files-list .signature,
.added-files-list .signature .data td {
	font-family: Tahoma, sans-serif;
	font-size: 11px;
	color: #646464;
}

.added-files-list .signature .error {
	color: #E21515;
	padding: 4px 0px;
	font-weight: normal;
	font-size: 10px;
}

.added-files-list .signature .error .main {
	font-weight: bold;
}

.added-files-list .signature .data {
	overflow: hidden;
	min-height: 45px;
	padding-left: 60px;
	background: url(/images/esignedDocument.png) no-repeat 12px center;
	background-size: 35px 35px;
}

.added-files-list .signature.invalid .data {
	background: url(/images/err_invalid.png) no-repeat 12px center;
	background-size: 35px 35px	
}

.added-files-list .signature.warning .data {
    background: url(/images/err_large.gif) no-repeat 6px center;
	background-size: 35px 35px	
}

.added-files-list .signature .warning {
    color: #000;
    padding: 2px 4px;
    border-bottom: solid 1px #D3D3D3;
}

.added-files-list .signature .warning .main {
    font-weight: bold;
}

.added-files-list .signature.invalid.validating .data {
    background: url(/images/err_large.gif) no-repeat 6px center;
}

.added-files-list .signature .data .header {
	border-left: 1px solid #D3D3D3;	
	font-weight: bold;
	padding-left: 5px;
    border-bottom: solid 1px #D3D3D3;	
}

.added-files-list .signature .data .error {
	border-left: 1px solid #D3D3D3;	
	color: red;
	padding-left: 5px;	
}

.added-files-list .signature .data .body {
	border-left: 1px solid #D3D3D3;	
	min-height: 45px;
	height:100%;
}

.added-files-list .signature .data .body table+table {
	margin-top:5px;
	border-top: 1px solid #D3D3D3;		
}	

.added-files-list .signature .data td {
	padding: 2px 4px;
}

.added-files-list .signature .data td.value {
	font-weight: bold;
}

.added-files-list .signature .data .bottom td {
	border-bottom: 1px solid #D3D3D3;
}

.added-files-list .signature .data .bottom:last-child td {
	border-bottom: 0;
}

.added-files-list .context-menu-toggle {
	display: inline-block;
	width: 20px;
	height: 20px;
	background: url(/images/ContextMenu.png) no-repeat center center;
	position: relative;
	top: -6px;
}

.added-files-list .file-version > td,
.added-files-list .lock {
	line-height: 14px !important;
}

.added-files-list .context-menu-toggle.open {
	background-image: url(/images/OpenedContextMenu.png);
}

.added-files-list .context-menu {
	display: none;
	position: absolute;
	width: 180px;
	border: 1px solid #d3d3d3;
	padding: 4px;
	background: #EDEDED url(/images/context_menu_bg.gif) repeat-x top left;
}

.added-files-list .context-menu .close {
	height: 10px;
	background: url(/images/context_menu/close_menu.png) no-repeat center right;
}

.added-files-list .context-menu .close:hover {
	background-color: #EEEEEE;
}

.added-files-list .context-menu .entry .icon {
	width: 20px;
	min-height: 20px;
	background: transparent no-repeat center center;
}

.added-files-list .context-menu .entry .icon.locked {
	background-image: url(/images/file_locked.gif);
}

.added-files-list .context-menu .entry .icon.unlock {
	background-image: url(/images/context_menu/icon_key.gif);
}

.added-files-list .context-menu .entry .icon.download {
	background-image: url(/images/context_menu/drive-download.png);
}

.added-files-list .context-menu .entry .icon.add-version {
	background-image: url(/images/context_menu/new.png);
}

.added-files-list .context-menu .entry .icon.rename {
	background-image: url(/images/context_menu/rename.png);
}

.added-files-list .context-menu .entry .icon.edit-description {
	background-image: url(/images/context_menu/edit.png);
}

.added-files-list .context-menu .entry .icon.sign-edoc {
	background-image: url(/images/context_menu/add_e_sign.png);
}

.added-files-list .context-menu .entry .icon.check-edoc {
	background-image: url(/images/context_menu/check_e_sign.png);
}

.added-files-list .context-menu .entry .icon.edoc-validation-data {
	background-image: url(/images/attached_files/e_document.png);
}

.added-files-list .context-menu .entry .icon.print {
	background-image: url(/images/context_menu/print.png);
}

.added-files-list .context-menu .entry .icon.delete {
	background-image: url(/images/context_menu/delete.png);
}

.added-files-list .context-menu .entry .text {
	padding: 4px 0 4px 4px;
	font-family: Tahoma, sans-serif;
	font-size: 11px;
	color: #646464;
}

.added-files-list .context-menu .entry[onclick]:hover .text {
	color: #000000;
}

#file_description {
	display: none;
	position: absolute;
}

#file_description table {
	border: 1px solid #D3D3D3;
	background: #EDEDED url(/images/context_menu_bg.gif) repeat-x top left;
}

.added-files-list.print-view table.theader > tbody > tr > td:nth-child(2) {
	text-align: center !important;
}

.added-files-list .theader tbody td {
	-moz-white-space: pre-wrap;
	white-space: pre-wrap;
	-ms-word-wrap: break-all;
	-webkit-word-break: break-word;
	-webkit-word-wrap: break-word;
	word-break: break-word;
	word-wrap: break-word;
	-webkit-hyphens: auto;
	-moz-hyphens: auto;
	-ms-hyphens: auto;
	hyphens: auto;
}

.added-files-list .children .file .size {
	padding: 0;
	line-height: 18px;
	margin-left: 10px;
}

.added-files-list .children .file .name {
	line-height: 18px;
}

.added-files-list .children .file .description {
	display : -webkit-box;
	display : -moz-box;
	display : -ms-flexbox;
	display : -webkit-flex;
	display : flex;
}

.added-files-list:not(.print-view) .theader > tbody > tr > td:first-child,
.added-files-list:not(.print-view) .theader > tbody > tr > td:nth-child(2) {
	line-height: 0;
}

.added-files-list .file .description .name,
.added-files-list .file .description .filename,
.added-files-list .signature .value {
	hyphens: auto;
	-ms-word-wrap: break-all;
	-webkit-word-break: break-word;
	-webkit-word-wrap: break-word;
	word-break: break-word;
	word-wrap: break-word;
	-webkit-hyphens: auto;
	-moz-hyphens: auto;
	-ms-hyphens: auto;
	hyphens: auto;
}
.added-files-list .signature .value {
  white-space: normal;
}	

.added-files-list .signature table td:first-child {
	width: 75px;
}

.added-files-list:not(.print-page):not(.print-view) table,
.added-files-list.print-page table:not(.theader),
.added-files-list.print-view:not(.print-page) table {
	table-layout: fixed;
}

.added-files-list table th:first-child {
	width: 27px;
}

.added-files-list table th:nth-child(3) {
	width: 46px;
}

.added-files-list table th:nth-child(4) {
	width: 350px;
}

.added-files-list table th:nth-child(5) {
	width: 72px;
}
.added-files-list table th:nth-child(6) {
	width: 24px;
}

.added-files-list table > tbody td:nth-child(3) {
	text-align: center;
	padding-left: 2px;
}

.added-files-list table > tbody td:nth-child(5) {
	text-align: center;
	padding-left: 2px;
}

.added-files-list table > tbody td:nth-child(6) {
	position: relative;
}

.added-files-list table > tbody td:nth-child(6) .context-menu {
    top: auto !important;
    left: -162px !important;
    z-index: 1;
}
.added-files-list.print-view table > thead tr > th:nth-child(1) {
    width: 50%;
}

.added-files-list.print-view:not(.print-page) table > thead tr > th:nth-child(2) {
/*    width: 4px;*/
}

.added-files-list.print-view.print-page table > thead tr > th:nth-child(3) {
    width: 46%;
}

.added-files-list.print-view table > thead tr > th:nth-child(3) {
    width: 42%;
}

.added-files-list .file .description-wrapper {
	display : -webkit-box;
	display : -moz-box;
	display : -ms-flexbox;
	display : -webkit-flex;
	display : flex;
}

.added-files-list .file .description .file-icon {
	align-self: center;
	flex: 0 0 24px;
}

.added-files-list .file .name > span.download-btn {
	position: relative;
	top: 2px;
	margin-left: 4px;
}

.added-files-list .file .name > span.open-pdf-preview {
	position: relative;
	top: 2px;
	margin-left: 4px;
	height: 18px;
}

.added-files-list.print-view .no-spaces {
	width: 100%;
}

.added-files-list.print-view .filename {
	text-align: left;
}

.added-files-list.print-view .theader > tbody td:nth-child(3) {
	text-align: left !important;
}

.added-files-list .file span.size,
.added-files-list.print-view .file span.filename {
	line-height: 24px;
	padding: 0;
}

.added-files-list.print-view .file .text-wrapper > span {
	line-height: 18px;
}

.added-files-list.print-view .children .name {
	align-self: center;
    text-align: left;
}

.added-files-list .text-wrapper {
	font-size: 12px;
	margin-left: 5px;
	max-width: calc(100% - 40px);
	align-self: center;
}

.added-files-list.print-view .size {
	margin-left: 5px !important;
}

.added-files-list .file .description span.filename {
	margin-right: 10px;
}

.day-events .event {
    padding: 3px;
}

.day-events .delete {
    margin-left: auto;
}

.day-events .events-wrapper {
    display : -webkit-box;
    display : -moz-box;
    display : -ms-flexbox;
    display : -webkit-flex;
    display : flex;
}
.day-events .events-wrapper > .time {
    margin-right: 5px;
}

.add-comment {
    margin-left: 45px;
    margin-top: 3px;
}

.day-events .event {
	padding: 3px;
}

.day-events .delete {
	margin-left: auto;
}

.day-events .events-wrapper {
	display : -webkit-box;
	display : -moz-box;
	display : -ms-flexbox;
	display : -webkit-flex;
	display : flex;
}
.day-events .events-wrapper > .time {
	margin-right: 5px;
}

.add-comment {
	margin-left: 45px;
	margin-top: 3px;
}

.multi-data-box tbody > tr > td {
    -moz-white-space: pre-wrap;
    white-space: pre-wrap;
    -webkit-word-break: break-word;
    -webkit-word-wrap: break-word;
    word-wrap: break-word;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
}

.mail-file-list .mail-file {
    -moz-white-space: pre-wrap;
    white-space: pre-wrap;
    -webkit-word-break: break-word;
    -webkit-word-wrap: break-word;
    word-wrap: break-word;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;

	display : -webkit-box;
	display : -moz-box;
	display : -ms-flexbox;
	display : -webkit-flex;
	display: flex;

	margin-bottom: 5px;
}

.mail-file-list .mail-file > div {
	align-self: center;
}

.mail-file-list .file-img-wrapper {
	margin-right: 10px;
}

.mail-file-list .file-name {
	min-width: 0;
}

.mail-list-form > table {
    table-layout: fixed;
}

.add-classifier-dialog {
	min-width: 350px;
	max-width: 350px;
}

.new-classifier-table .table-row {
	display : -webkit-box;
	display : -moz-box;
	display : -ms-flexbox;
	display : -webkit-flex;
	display : flex;

	margin-bottom: 5px;
}

.new-classifier-table .table-row > .title {
    align-self: center;
	flex: 0 0 90px;
	font-family: Tahoma, Verdana, sans-serif;
}

.new-classifier-table .table-row > div.input > input {
	min-width: 0;
}

.popup-classificator-edit.old .pretty.pretty-radio {
	top: 1px;
}
.new-classifier-table.old {
	margin-top: 10px;
}
.new-classifier-table.old .title {
	background-color: #EBEBEB;
	padding: 2px;
	margin-right: 10px;
	box-sizing: border-box;
	padding-left: 15px;
	font-size: 12px;
	color: #636363;
}

#calendar-container > .information {
	margin-top: 2px;
}

#classList-container {
	max-height: 400px;
}

.tasks-termless-dialog .dialog-message-container {
	display: block;
}

.termless-task-type-table {
	font-size: 12px;
}

.termless-task-type-table th .pretty {
	margin-right: 0;
    margin-left: 4px;
}

.termless-task-type-table .heading-check-all {
	padding-right: 4px;
}

.termless-task-type-table .heading-title {
	padding-left: 1px !important;
}

.termless-task-type-table .task-type-title {
	font-size: 12px;
    line-height: 18px;
	height: 18px;
	display: inline-block;
	position: relative;
	float: left;
}

.termless-task-type-table .task-type-row .pretty {
	float: left;
}

.task-term-wrapper {
	display: inline-block;
	margin-right: 10px;
}

.label-for-term {
    line-height: 20px;
}

.label-for-term .pretty-checkbox {
	bottom: -3px;
	margin-right: 0;
}

input:disabled,
select:disabled,
textarea:disabled {
	background-color: #DDD;
}

select:disabled {
	background-color: #DDD !important;
}

#VerifyEAddressButton {
	cursor:pointer;
	float:left;
	background-image: url(images/main_header/buttons/eadrese.png);
	background-color: transparent;
	outline: none;
	border: none;
	content: "V";
}

.human-input {
	width: 87% !important;
}

#copy-document-dialog .register-tree {
	width: 100%;
	float: none;
	border-right: none;
}

#copy-document-dialog .documents-list {
	width: 100%;
	float: none;
	margin: 0 0 20px 0;
	max-width: auto;
}

.simple-dialog.simple-alert.basic .ui-dialog-content {
	background: none !important;
	padding: 16px 6px 16px 16px !important;
}

.eamessage-status-sent{
	font-weight:bold;
}

.eamessage-status-rejected{
   color:red;	
   font-weight:bold;   
}

.eamessage-status-accepted{
	color: black;
	font-weight:bold;	
}

.eamessage-status-deliverydelayed{
	color: red;
	font-weight:bold;
}

.eamessage-status-recipientaccepted{
	color: green;
    font-weight:bold;	
}

.eamessage-status-recipientrejected{
	color: red;
	font-weight:bold;
}

#UserAddedNotesContainer .document-note-list .text{
	max-width: 450px !important;
	word-wrap: break-word;
}

#PsvUserAddedNotesContainer .document-note-list .text{
	max-width: 810px !important;
	word-wrap: break-word;
}
#DocumentNotesContainer{
	position: relative;
}
#DocumentNotesContainer .document-note-list .text{
	max-width: 450px !important;
	word-wrap: break-word;
}

#ContactNotesBlock{
	position: relative;
}
#ContactNotesContainer .contact-note-list .text{
	max-width: 450px !important;
	word-wrap: break-word;
}
#DeletedDocumentContainer
{
	position: relative;
}
