/* Encoding: UTF-8 (āčēģīļķņšūž) */
HTML {
    height: 100%;
}
BODY.main,
BODY.main_iframe {
    height: 95%;
	background:#FFF url(./images/2010winter/bg_top.jpg) repeat top left;
	font-family: Verdana, Arial, Helvetica, Sans-Serif;
	font-size: 12px;
	font-weight: normal;
	margin: 0px;
	padding: 0px;
	color: black;
	text-align: center;
	vertical-align: top;
}
BODY.main_iframe {
	background-color:#C0FFC0;
}
/* Konteinera tabula */
table.container {
	width: 100%;
	height: 100%;
	vertical-align: middle;
	text-align: center;
	border: 0px;
	border-collapse: collapse;
	border-spacing: 0px;
}
/* Visu bloku konteinera bloks */
div.container {
	background:transparent url(./images/2010winter/bg.jpg) no-repeat center -4px;
    background-size: 100% 100px;
	/*z-index: 1;*/
	min-width: 1000px;
	min-height: 600px;
    height: 95%;
	text-align: center;
	margin: 0 4em;
}
/* Programmas nosaukuma bloks */
div.header {
	height: 72px;
	position: relative;
}
/* Menu bloks */
div.menubar {
	/*z-index: 4; @deprecated 2021-01-15*/
	position: relative;
	height: 28px;
	background:transparent url(./images/2010winter/btn.png) repeat-x center bottom;
	/*margin:auto; @deprecated 2021-01-15*/
}
/* Programmas pamatloga bloks */
div.main {
	/*height: 526px; @deprecated 2021-01-15 */
    height: 95%;
	background-color: transparent;
	text-align: center;
	overflow-y: auto;
	overflow-x: visible;
	margin:auto;
}
/* Programmas info rindas bloks */
div.footer {
	height: 12px;
	color: white;
	background:transparent url(./images/2010winter/btn.png) repeat-x center bottom;
	font-size: 10px;
	margin:auto;
}
/* Formas info rindas bloks */
div.form_footer {
	width:auto;
	height: 12px;
	color: white;
	background:transparent url(./images/2010winter/btn.png) repeat-x center bottom;
	font-size: 10px;
	margin:auto;
	clear:both;
}
/* Kludas pazinojuma teksts */
div.error_text {
	border: 0px;
	color: red;
	font-size: 14px;
	font-weight: bold;
	text-align: center;
}

/* Menu shuunu stili ======================================================= */
div.center {
  margin: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}
div.centery {
  margin: 0;
  position: absolute;
  top: 50%;
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
}
/* Menu shunas bloks*/
div.menucell,
div.menucell_over,
div.menucell_disabled {
	/*z-index: 5; @deprecated 2021-01-15*/
	position: absolute;
	border: 0px;
	padding: 0px;
	font-size: 14px;
	font-weight: bold;
	cursor: pointer;
	height: 28px;
}
div.menucell div.center,
div.menucell_over div.center,
div.menucell_disabled div.center {
  margin: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}
/* SubMenu bloks */
div.menucell {color: white;} /* aktiiva */
div.menucell_over {color: red;border-bottom: 1px solid darkgreen;} /* aktiiva - mouseover */
div.menucell_disabled {color: gray;} /* neaktiiva */
div.submenucont {
	/*z-index: 6; @deprecated 2021-01-15*/
	position: absolute;
	border: 0px;
	background:transparent;
	text-align: left;
}
/* SubMenu shunas bloks */
div.submenucell,
div.submenucell_over,
div.submenucell_disabled {
	/*z-index: 7; @deprecated 2021-01-15*/
	position: absolute;
	border: 0px;
	padding-left: 2px;
	padding-right: 2px;
	font-size: 12px;
	font-weight: bold;
	cursor: pointer;
	height: 24px;
	background:transparent url(./images/2010winter/btn.png) repeat-x center bottom;
	text-align: left;
}
div.submenucell {color: white;} /* aktīva */
div.submenucell_over {color: red;} /* aktīva - mouseover*/
div.submenucell_disabled {color: gray;} /* neaktīva */

/* Tabulu stili ============================================================ */
/* Dialoga tabula */
table.dialogtable {
	background-color: #B0B0B0;
	color: black;
	width: 50%;
	border: green 1px solid;
	text-align: center;
	vertical-align: middle;
	border-collapse: collapse;
	border-spacing: 0px;
	margin:auto;
}
/* Datu saraksta tabula */
table.listtable {
	background-color: #197019;
	color: black;
    width: 100%;
	height: auto;
	border: green 1px solid;
	text-align: left;
	vertical-align: middle;
	border-collapse: collapse;
	border-spacing: 0px;
	/*margin-top:10px;*/
	margin-top:0px;
}
/* Datu saraksta tabulas nosaukums */
table.listtable caption,
td.listtitle,
th.listtitle {
	background:transparent url(./images/2010winter/btn.png) repeat-x center bottom;
	color: white;
	height: 14px;
	text-align: center;
	font-size: 14px;
	font-weight: bold;
	cursor: default;
}
/* Datu saraksta tabulas galvina */
td.listheader,
th.listheader {
	background-color: #c2ff9d;
	color: black;
	height: 16px;
	text-align: left;
	font-size: 11px;
	font-weight: bold;
	border-top: gray 1px solid;
	border-right: gray 1px solid;
	border-bottom: gray 1px solid;
	cursor: pointer;
}
td.listheader img:hover,
th.listheader img:hover {
    opacity: 0.5;
}

/* Datu saraksta tabulas apaksa */
td.listfooter,
th.listfooter {
	background:transparent url(./images/2010winter/btn.png) repeat-x center bottom;
	color: white;
	height: 12px;
	text-align: center;
	font-size: 11px;
	font-weight: bold;
	cursor: default;
}
/* Datu saraksta tabulas parasta rinda */
td.listnormal,
th.listnormal,
td.listdisabled,
th.listdisabled,
td.listselected,
th.listselected {
	background-color: #e0fdcd;
	color: black;
	height: 16px;
	text-align: left;
	font-size: 11px;
	font-weight: normal;
	border-right: gray 1px solid;
	border-bottom: gray 1px solid;
	cursor: pointer;
}
/* Datu saraksta tabulas parasta rinda - tikai aktiva*/
tr:hover td.listnormal.mouseover,
tr:hover th.listnormal.mouseover
{
	background-color: #ccfead;
}
/* Datu saraksta tabulas parasta rinda - tikai selekteta*/
td.listselected,
th.listselected {
	background-color: #40B040;
}
/* Datu saraksta tabulas disablēta rinda*/
td.listdisabled,
th.listdisabled {
	color: gray;
}

/* Contract tree formas stils ============================================== */
.contract-form-container {
	height:670px;
	width:100%;
	overflow:hidden;
	float:left;
	border:none;
	text-align:left;
	/*background: transparent url(./images/2010winter/bg_bottom.png) repeat-x center bottom;*/
	background:transparent;
}
.contract-tree {
	height:670px;
	width:265px;
	overflow-y:auto;
	overflow-x:hidden;
	float:left;
	border:none;
	text-align:left;
	/*background:transparent url(./images/2010winter/bg_top.jpg) repeat right -30px;*/
	background:transparent;
}
.contract-form {
	height:670px;
	width:720px;
	overflow-y:auto;
	float:left;
	border:none;
	text-align:center;
	/*background:transparent url(./images/2010winter/bg_top.jpg) repeat-x left -30px;*/
	background:transparent;
}
#container {width:50px;}
.Ktree, .KtreeRoot {
	list-style-type:none;
	padding:0px;
	margin:0px;
	border:0px;
}
.Ktree {
	/* Indentation of a sub-item compared to its parent */
	padding-left:5px;
	margin-left:5px;
	border-left:1px dotted #aaa;
}
.Knode {
	/* Top and bottom space for a node item */
	margin-top:2px;
	margin-bottom:2px;
	padding-top:0px;
	padding-bottom:0px;
	/* Node background color */
	background:transparent;
	/* Font specifications for a node */
	font-family:verdana;
	font-weight:normal;
	font-size:11px;
	color:#aaa;
	border:0;
}
.Knode a {
	text-decoration:none;
	color:black;
}
.Knode a:hover {
	text-decoration:none;
	color:red;
}
.Knode a img {
	border:0px;
	vertical-align:middle;
}

/* Formu stili ============================================================= */
.button,
.button_disabled {
	font-family: Verdana, Arial;
	font-size: 9px !important;
	font-weight:bold;
	text-align:center;
	text-shadow: none;
	text-transform: capitalize;
	width: 68px;
	/*margin:-1px 1px;*/
	cursor: pointer;
	/*
    background: #ECCF8E url(./images/2010winter/button.gif) repeat-x scroll 0 0;
	border-color: #C9A584 #5D4C2F #5D4C2F #C9A584;
	border-width: 3px;
	border-style: double;
    */
	padding: 2px;
	color: #542C0F;
	white-space: nowrap;
	display: inline;

    margin: 2px;
    background-image: linear-gradient(to right, #ECCF8E 0%, #C9A584 51%, #ECCF8E 100%);
    transition: 0.5s;
    background-size: 200% auto;
    box-shadow: 0 0 20px #eee;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    transition: all 0.3s cubic-bezier(.25,.8,.25,1);
}
.button:active {
	border-color: #5D4C2F #C9A584 #C9A584 #5D4C2F;
}
.button:disabled,
.button_disabled {
	/*display:none;*/
	/*background: #C9A584;
	border-color: #5D4C2F;*/
    background:gray;
    opacity:0.5;
	cursor: default;
}
.button:hover {
	/*color:#B03937;*/
    color: #FFF;
    box-shadow: 0 5px 10px rgba(0,0,0,0.29), 0 3px 3px rgba(0,0,0,0.33);
    /*background-position: right center;*/
}
.editbox,
.editbox_disabled {
	font-family: Verdana, Arial;
	font-size: 9px !important;
	height: 12px !important;
	background-color: field;
}
.editbox_disabled {
	background-color: navajowhite;
	color: #542C0F;
}
/* for editable jQuery datepicker fields */
.hasDatepicker {
    width: 10em;
}
.hasDatepicker.editbox {
	background-image: url(./jquery-ui/images/calendar.gif);
	background-repeat: no-repeat;
	background-position: right top;
}
.combobox,
.combobox_disabled {
	font-family: Verdana, Arial;
	font-size: 9px !important;
	background-color: field;
}
.combobox_disabled {
	background-color: navajowhite;
	color: #542C0F;
}
.checkbox,
.checkbox_disabled {
	font-family: Verdana, Arial;
	font-size: 9px !important;
	height: 12px !important;
	background-color: field;
}
.checkbox_disabled {
	background-color: navajowhite;
	color: #542C0F;
}
.textarea,		.textarea_disabled,
.textarea_300,	.textarea_300_disabled,
.textarea_500,	.textarea_500_disabled,
.textarea_600,	.textarea_600_disabled,
.textarea_800,	.textarea_800_disabled {
	font-family: Verdana, Arial;
	font-size: 9px !important;
	background-color: field;
}
.textarea_disabled,
.textarea_300_disabled,
.textarea_500_disabled,
.textarea_600_disabled,
.textarea_800_disabled {
	background-color: navajowhite;
	color: #542C0F;
}
.textarea_300,	.textarea_300_disabled {width:300px;}
.textarea_500,	.textarea_500_disabled {width:500px;}
.textarea_600,	.textarea_600_disabled {width:600px;}
.textarea_800,	.textarea_800_disabled {width:800px;}

.file-list {text-align:left;}
.file-list-error{font-weight:bold;color:red;}
.file-list-row a {cursor:pointer; /*background: transparent url("./images/2010spring/bg_stone.jpg") repeat scroll 0 0;*/}
.file-list-row .button {visibility:hidden; margin-left: 3em;}
.file-list-row:hover .button {visibility:visible; }
.file-list-row .auditinfo {cursor:help;float: right;}

/* Jaunie stili - CRM ====================================================== */
#divCRMLoading {
	height:17px;
	width:67px;
	background:transparent url(./images/loading_ajax.gif) no-repeat;
	display:none;
}
#divCRMSearch {
	text-align:left;
}
#divCombo {
	position:absolute;
	z-index:10000;
	overflow-y:scroll;
	overflow-x:hidden;
	border:1px solid blue;
	background:yellow;
	text-align:left;
	display:none;
}
#divCRMBody {
	text-align:left;
	height:473px;
	margin-top:5px;
}
#divCRMPageset {
	text-align:left;
	background-image:url(./images/2010winter/menue_back.png);
	background-position:top left;
	background-repeat:repeat-x;
	height:33px;
}
#divCRMPages {
	background:transparent url(./images/2010winter/bg_stone.jpg) repeat;
	height:440px;
	overflow-y:auto;
	overflow-x:hidden;
}
#tblCombo{
	border:0px;
	padding:0;
	margin:0;
	width:100%;
}
#tblCombo td {
	vertical-align:top;
	border-bottom:1px solid gray;
}
#tblCombo .td_over {
	vertical-align:top;
	background-color:orange;
	cursor:pointer;
}
#divCRMPageset table {
	padding:0px;
	margin:0px;
	empty-cells:show;
}
#divCRMPageset table td {
	cursor:pointer;
}
#divCRMPageset td {background-color:transparent; background-repeat:no-repeat; background-position:top; text-align:center; vertical-align:middle;}
#divCRMPageset td.n_back	{background-image:url(./images/2010winter/menue_n_back.png); background-repeat:repeat-x;}
#divCRMPageset td.s_back	{background-image:url(./images/2010winter/menue_s_back.png); background-repeat:repeat-x;}
#divCRMPageset td.n_left	{height:33px;width:10px;background-image:url(./images/2010winter/menue_n_left.png);}
#divCRMPageset td.n_right	{height:33px;width:10px;background-image:url(./images/2010winter/menue_n_right.png);}
#divCRMPageset td.s_left	{height:33px;width:10px;background-image:url(./images/2010winter/menue_s_left.png);}
#divCRMPageset td.s_right	{height:33px;width:11px;background-image:url(./images/2010winter/menue_s_right.png);}
#divCRMPageset td.nn_center	{height:33px;width:20px;background-image:url(./images/2010winter/menue_nn_center.png);}
#divCRMPageset td.ns_center	{height:33px;width:20px;background-image:url(./images/2010winter/menue_ns_center.png);}
#divCRMPageset td.sn_center	{height:33px;width:21px;background-image:url(./images/2010winter/menue_sn_center.png);}

table.borderlist {
	border:1px solid #CFAB65;
	border-collapse:collapse;
	border-spacing:0;
	empty-cells:show;
	margin:auto;
	padding:0;
}
.borderlist caption {
	background:transparent url(./images/2010winter/bg_table_head.png) repeat scroll 0 0;
	border:1px solid #CFAB65;
	line-height:28px;
	padding:0 3px;
	font-weight:bold;
}
.borderlist tr.mouseover:hover {
	cursor:pointer;
	color:red;
}
.borderlist th {
	background:transparent url(./images/2010winter/bg_table_head.png) repeat scroll 0 0;
	border:1px solid #CFAB65;
	height:21px;
	padding:0 3px;
}
.borderlist td {
	background:transparent url(./images/2010winter/bg_table_cell.jpg) repeat scroll 0 0;
	border:1px solid #CFAB65;
	height:21px;
	padding:0 3px;
}
.borderlist tr.selected td {
	background:transparent url(./images/2010winter/bg_table_cell_marked.jpg) repeat scroll 0 0;
}
.borderlist tr.selected2 td {
	background:transparent url(./images/2010winter/bg_table_cell_marked2.jpg) repeat scroll 0 0;
}


/* Jaunie stili - MAIN_INNER =============================================== */
#divMAINLoading {
	height:17px;
	width:67px;
	background:transparent url(./images/loading_ajax.gif) no-repeat;
	display:none;
	position:absolute;
	top:16px;
	left:820px;
}
#divMAINBody {
	text-align:left;
	min-height:430px;
	height:95%;
	margin-top:5px;
}
#divMAINPageset {
	text-align:left;
	background-image:url(./images/2010winter/menue_back.png);
	background-position:top left;
	background-repeat:repeat-x;
	height:33px;
}
#divMAINPages {
	background:transparent url(./images/2010winter/bg_stone.jpg) repeat;
	min-height:397px;
	height:95%;
	overflow-y:auto;
	overflow-x:hidden;
}
#divMAINPageset table {
	padding:0px;
	margin:0px;
	empty-cells:show;
}
#divMAINPageset table td {
	cursor:pointer;
}
#divMAINPageset td {background-color:transparent; background-repeat:no-repeat; background-position:top; text-align:center; vertical-align:middle;}
#divMAINPageset td.n_back	{background-image:url(./images/2010winter/menue_n_back.png); background-repeat:repeat-x;}
#divMAINPageset td.s_back	{background-image:url(./images/2010winter/menue_s_back.png); background-repeat:repeat-x;}
#divMAINPageset td.n_left	{height:33px;width:10px;background-image:url(./images/2010winter/menue_n_left.png);}
#divMAINPageset td.n_right	{height:33px;width:10px;background-image:url(./images/2010winter/menue_n_right.png);}
#divMAINPageset td.s_left	{height:33px;width:10px;background-image:url(./images/2010winter/menue_s_left.png);}
#divMAINPageset td.s_right	{height:33px;width:11px;background-image:url(./images/2010winter/menue_s_right.png);}
#divMAINPageset td.nn_center{height:33px;width:20px;background-image:url(./images/2010winter/menue_nn_center.png);}
#divMAINPageset td.ns_center{height:33px;width:20px;background-image:url(./images/2010winter/menue_ns_center.png);}
#divMAINPageset td.sn_center{height:33px;width:21px;background-image:url(./images/2010winter/menue_sn_center.png);}

/* Jaunie stili - DOTS ===================================================== */
div.dot         {min-height:10px;min-width:10px;cursor:help;background-repeat:no-repeat;background-position:center;}
div.dot_red     {background-image:url(./images/2010winter/dots/red.png);}
div.dot_yellow  {background-image:url(./images/2010winter/dots/yellow.png);}
div.dot_green   {background-image:url(./images/2010winter/dots/green.png);}
div.dot_blue    {background-image:url(./images/2010winter/dots/blue.png);}

/* ================================ */
/* Lietvedības moduļa, C_mail stili */
/* ================================ */
#div_cm_search {
	text-align:left;
	margin-top:5px;
	margin-bottom:5px;
	clear:both;
}
#div_cm_search_expand {
	text-align:left;
	display:none;
	clear:both;
}

#div_cm_tree {
	background:transparent url(./images/2010winter/bg_stone.jpg) repeat;
	border:1px solid green;
	text-align:left;
	width:198px;
	height:455px;
	float:left;
	overflow-x:auto;
	overflow-y:auto;
	clear:both;
}

#div_cm_data {
	background:transparent url(./images/2010winter/bg_stone.jpg) repeat;
	border:1px solid green;
	border-left:0;
	text-align:left;
	width:779px;
	height:455px;
	float:left;
	overflow-x:hidden;
	overflow-y:auto;
}

/* Table paginator ========================================================= */
.paginator {padding:0em 1em;}
.paginator .item {display:flex;float:left;padding:0.3em 0.6em;border:1px solid gray;background-color:darkgreen;text-decoration:none;color:#aaa;cursor:pointer;}
.paginator .item.active {background-color:green;color:#fff;}
.paginator .item:hover {color:#fff;}
.paginator .separator {display:flex;float:left;width:0.5em;}
.paginator .info-right {display:flex;float:right;padding:0.3em 0.6em;color:#aaa;}
.paginator .info-left {display:flex;float:left;padding:0.3em 0.6em;color:#aaa;}

.borderlist .paginator .item {background-color: #C9A584;color:#542C0F;}
.borderlist .paginator .item.active {background-color:#ECCF8E;color:#fff;}
.borderlist .paginator .item:hover {color:#fff;}
.borderlist .paginator .info-right {color:#542C0F;}
.borderlist .paginator .info-left {color:#542C0F;}

/* Columns view ============================================================ */
.columns {display:grid; grid-template-columns: auto; gap:10px;}
.columns .column {padding: 10px;}

/* Box view =================================================================*/
.box {
    /*width: 400px;*/ /* Set a fixed width for the container */
    /*margin: 0 auto;*/ /* Center the container horizontally */
    margin: 0.5em;
    background-color: #f5f5f5; /* Background color */
    border: 1px solid #ddd; /* Border */
    padding: 12px 20px; /* Padding inside the container */
    border-radius: 5px; /* Rounded corners */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Box shadow for a subtle elevation */
}
.box h2 {
    font-size : 1.3em;
    border-bottom: 1px solid #CFAB65;
}
.box-vacation {
    text-align:left;
    border:1px solid #CFAB65;
    background:transparent url(./images/2010winter/bg_stone.jpg) repeat;
}
.vacation-header, .vacation-status {
    margin-top:0;
    text-align:left;
    color:#333;
    text-shadow:2px 2px 4px rgba(0, 0, 0, 0.5);
}
.vacation-status {
    text-align:right;
}
