.debug {border: 1px solid red}

.print {display: none}

.hidden {display: none}

.orange {color: orange}

.blue {color: blue}

* {
  font-family: Calibri, Verdana, Arial, Helvetica, sans-serif;
  color: #565656;
}

html, body {
  font-size: 1em;
  margin: 0px;
  height: 100%;
}

header#page_header {
  position: fixed;
  z-index: 1;
  top: 0px;
  width: 100%;
}

.page_header {
  background-color: #206BA4;
  padding: 5px;
  font-size: 0.8em;
}

.page_header a {
  color: white;
  text-decoration: none;
}

.page_header a:hover {text-decoration: underline}

.page_header img {
  height: 1.1em;
  margin: 0;
  padding: 0;
}

.page_header div {
  text-align: center;
}

/* Top navigation default */
nav.default {
  height: 60px;
}

div.default {
  padding-top: 10px;
  color: white;
  font-size: 1.2em;
}

div.default img {
  height: 40px;
  padding-top: -10px;
}

/* End of top naviagation default */

/* Top navigation logged */
nav {
  height: 30px;
  background-color: #BBD9EE;
  padding-top: 10px;
  text-align: center;
  font-weight: bold;
  font-size: 1.1em;
  border-bottom: 1px solid #206BA4;
}

nav a {
  text-decoration: none;
  color: white;
  text-shadow: 0 0 0.5em #206BA4;
  cursor: pointer;
}
nav a:hover
{
  color: white;
  text-shadow: 0 0 0.5em #206BA4, 0 0 0.5em #206BA4, 0 0 0.5em #206BA4;
}

nav .active {
  color: #54A4DE;
  text-shadow: none;
}

/* End of top navigation logged */

section {
  padding-top: 70px;
  padding-bottom: 100px;
}

article {
  background-color: #EBF4FA;
  border: 1px solid #BBD9EE;
  width: 100%;
  padding-top: 10px;
  padding-bottom: 10px;
  padding-left: 10px;
  padding-right: 10px;
  margin-bottom: 20px;
  color: black;
  float: left;
  display: inline;
  line-height: 30px;
  border-radius: 15px;
  -ms-border-radius: 15px;
  -moz-border-radius: 15px;
  -webkit-border-radius: 15px;
  -khtml-border-radius: 15px;
   box-shadow: 10px 10px 15px #206BA4;
   -webkit-box-shadow: 10px 10px 15px #206BA4;
   -moz-box-shadow: 10px 10px 15px #206BA4;
}

.container_12 article.grid_10 {
  margin: 0px;
  width: 798px
}

.expandable, .tableRowToggler {
  padding-top: 5px;
  padding-bottom: 5px;
  padding-left: 10px;
  padding-right: 10px;
  cursor: pointer;
}

.expandable img, .tableRowToggler img {
  padding-top: 2px;
  width: 25px;
  height: 25px;
}

footer {
  background-color: #EBF4FA;
  width: 100%;
  position: fixed;
  left: 0px;
  bottom: 0px;
  margin-top: 5px;
  padding: 5px;
  text-align: center;
  font-size: 0.6em;
  border-top: 1px solid #BBD9EE;
}

footer.buttons {
  padding-bottom: 30px;
  font-size: 1em;
  opacity: 0.5;
}

footer.buttons:hover {
  opacity: 1;
}

aside {
  background-color: #EBF4FA;
  width: 150px;
  position: fixed;
  right: 0px;
  top: 80px;
  padding: 5px;
  text-align: center;
  font-size: 0.6em;
  border: 1px solid #BBD9EE;
}

aside.buttons {
  font-size: 1em;
  opacity: 0.5;
}

aside.buttons:hover {
  opacity: 1;
}

h1 {
  color: #206BA4;
  font-size: 1.5em;
}

h2 {
  color: #206BA4;
  font-size: 1.2em;
}

h3 {
  color: #206BA4;
  font-size: 1em;
  margin: 0px;
}

h4 {
  color: #206BA4;
  font-size: 0.8em;
  margin: 0px;
  margin-top:5px;
}

input, textarea, .ui-combobox input, input[type="file"] {
  height: 1.5em;
  vertical-align: middle;
  margin-bottom: 5px;
  border: 2px inset #BBD9EE;
  font-size: 1em;
}

div.gap {
	min-width: 5px
}

.icon img {
  height: 1.7em;
  vertical-align: middle;
  text-align: center;
  border: none;
}

.searching_progress {
  background: url('/images/searching.gif') right no-repeat;
  height: 1.5em;
  margin-top: 0.5em;
  display: table-cell;
  vertical-align: top;
}

.searching_time {
  margin-top: 0.2em;
  text-align: center;
}

header .searching_progress, header .searching_time, header .timer {
  margin-top: 1.5em;
}

header .timer {
  height:1.5em;
  text-align: center;
}


.ui-combobox a {
  position: absolute;
  height: 1.50em;
  border: 2px inset #BBD9EE;
  border-left: none;
  background-color: none;
}

input:not(.ui-widget), textarea, input[type="file"] {
  width: 100%;
  border-radius: 10px;
  -ms-border-radius: 10px;
  -moz-border-radius: 10px;
  -webkit-border-radius: 10px;
  -khtml-border-radius: 10px;
}

input.ui-widget {
  margin-top: 0px;
  width: -webkit-calc(100% - 41px);
  width: -moz-calc(100% - 41px);
  width: -o-calc(100% - 41px);
  width: calc(100% - 41px);
  border-right: none;
}

/* unfortunate hack since Webkit has an issue with Margin-top */
@media screen and (-webkit-min-device-pixel-ratio:0) {
  input.ui-widget {
    margin-top: 1px;
  }
}

input[type="button"] {
  background-color: #BBD9EE;
  width: 100%;
  height: 3em;
  color: #206BA4;
  text-align: center;
  font-size: 1em;
  font-weight: bold;
  border-radius: 15px;
  -ms-border-radius: 15px;
  -moz-border-radius: 15px;
  -webkit-border-radius: 15px;
  -khtml-border-radius: 15px;
  cursor: pointer;
  box-shadow: 2px 2px 5px #54A4DE;
  -webkit-box-shadow: 2px 2px 5px #54A4DE;
  -moz-box-shadow: 2px 2px 5px #54A4DE;
}

/* Left side navigation buttons */
nav#sub {
  height: auto;
  background-color: transparent;
  border: none;
  line-height: 1em;
}

nav#sub a {
  display: block;
  background-color: #BBD9EE;
  border: 1px solid #54A4DE;
  border-top: 1px solid #BBD9EE;
  border-left: 1px solid #BBD9EE;
  text-decoration: none;
  text-align: center;
  font-size: 0.8em;
  font-weight: bold;
  margin-bottom: 10px;
  padding: 5px 10px 6px 7px; /* Links */
  border-radius: 15px;
  -ms-border-radius: 15px;
  -moz-border-radius: 15px;
  -webkit-border-radius: 15px;
  -khtml-border-radius: 15px;
  box-shadow: 2px 2px 5px #54A4DE;
  -webkit-box-shadow: 2px 2px 5px #54A4DE;
  -moz-box-shadow: 2px 2px 5px #54A4DE;
}

nav#sub a:hover {
  color: #fff;
  text-shadow: 0 0 0.5em #206BA4, 0 0 0.5em #206BA4, 0 0 0.5em #206BA4;
  box-shadow: 4px 4px 2px #54A4DE;
  -webkit-box-shadow: 4px 4px 2px #54A4DE;
  -moz-box-shadow: 4px 4px 2px #54A4DE;
}

nav#sub a:active {
  background-color: #206BA4;
  border: 1px solid #206BA4;
  color: #fff;
  box-shadow: 4px 4px 2px #54A4DE;
  -webkit-box-shadow: 4px 4px 2px #54A4DE;
  -moz-box-shadow: 4px 4px 2px #54A4DE;
}

nav#sub .active {
  color: #54A4DE;
  text-shadow: none;
}
/* End left naviagtion */

input[type="checkbox"], input[type="radio"] {
  background-color: #EBF4FA;
  height: 1em;
  width: 1em;
}

input:focus, textarea:focus, input[type="file"]:focus {
  outline: none;
  box-shadow: 4px 4px 2px #54A4DE;
  -webkit-box-shadow: 4px 4px 2px #54A4DE;
  -moz-box-shadow: 4px 4px 2px #54A4DE;
}

input:hover, textarea:hover, .hover_shadow:hover, input[type="file"]:hover {
  box-shadow: 4px 4px 2px #54A4DE;
  -webkit-box-shadow: 4px 4px 2px #54A4DE;
  -moz-box-shadow: 4px 4px 2px #54A4DE;
}


input.date {
  background: white url('ju_images/calendar_view_month.png') 98% center no-repeat;
}

/* BUTTONS */
.buttons a,  .buttons button {
  display: block;
  background-color: White;
  border: 1px solid #54A4DE;
  border-top: 1px solid #BBD9EE;
  border-left: 1px solid #BBD9EE;
  text-decoration: none;
  text-align: center;
  font-weight: bold;
  padding: 5px 10px 6px 7px; /* Links */
  border-radius: 15px;
  -ms-border-radius: 15px;
  -moz-border-radius: 15px;
  -webkit-border-radius: 15px;
  -khtml-border-radius: 15px;
  box-shadow: 2px 2px 5px #54A4DE;
  -webkit-box-shadow: 2px 2px 5px #54A4DE;
  -moz-box-shadow: 2px 2px 5px #54A4DE;
  cursor: pointer;
  font-size: 1em;
  width: 100%;
  overflow: visible;
  padding: 4px 10px 3px 7px; /* IE6 */
}

.product_container {
  position: relative;
  width: 100%;
  padding-bottom: 100%;
}

.product_container button.product, .product_container a.product {
  position: absolute;
  width: 90%;
  height: 90%;
}

.buttons button[type] {
  padding: 5px 10px 5px 7px; /* Firefox */
}

*:first-child+html button[type] {
  padding: 4px 10px 3px 7px; /* IE7 */
}

.buttons a img, .buttons button img {
  margin: 0 3px -3px 0 !important;
  padding: 0;
  border :none;
  width: 1em;
  height: 1em;
}

.product_container button img, .product_container a img {
  max-width: 80%;
  width: 100%;
  height: auto;
}
/* STANDARD */
.buttons a:hover, .buttons button:hover {
  background-color: #BBD9EE;
  border: 1px solid #54A4DE;
  color: #206BA4;
  box-shadow: 4px 4px 2px #54A4DE;
  -webkit-box-shadow: 4px 4px 2px #54A4DE;
  -moz-box-shadow: 4px 4px 2px #54A4DE;
}
.buttons a:active, .buttons button:active {
  background-color: #206BA4;
  border: 1px solid #206BA4;
  color: #fff;
  box-shadow: 4px 4px 2px #54A4DE;
  -webkit-box-shadow: 4px 4px 2px #54A4DE;
  -moz-box-shadow: 4px 4px 2px #54A4DE;
}
/* POSITIVE */
.buttons a.positive, .buttons button.positive {
  color: #529214;
}
.buttons a.positive:hover, .buttons button.positive:hover {
  background-color: #E6EFC2;
  border: 1px solid #C6D880;
  color: #529214;
}
.buttons a.positive:active, .buttons button.positive:active {
  background-color: #529214;
  border: 1px solid #529214;
  color: #fff;
    
}/* NEGATIVE */
.buttons a.negative, .buttons button.negative {
  color: #d12f19;
}
.buttons a.negative:hover, .buttons button.negative:hover {
  background: #fbe3e4;
  border: 1px solid #fbc2c4;
  color: #d12f19;
}
.buttons a.negative:active, .buttons button.negative:active {
  background-color: #d12f19;
  border: 1px solid #d12f19;
  color: #fff;
}
/* End buttons*/

textarea {
  width: 100%;
  height: 6em;
}

table, div.dtable {
  margin: 15px 0px;
  border-collapse: collapse;
}
th, div.dh {background-color: #BBD9EE}
th:first-child, div.dh:first-child {-webkit-border-radius: 15px 0px 0px 0px}
th:last-child, div.dh:last-child {-webkit-border-radius: 0px 15px 0px 0px}
td:first-child, div.dd:first-child {border-left: 1px solid #BBD9EE}
td:last-child, div.dd:last-child {border-right: 1px solid #BBD9EE}
tr:last-child, div.dr:last-child {border-bottom: 1px solid #BBD9EE}
tr:nth-child(2n+1), div.dr:nth-child(2n+1) {background-color: white}

table, div.dtable,
table .col_1, div.dtable .col_1 {width:100%}
table .col_2, div.dtable .col_2 {width:50%}
table .col_3, div.dtable .col_3 {width:33%}
table .col_4, div.dtable .col_4 {width:25%}
table .col_5, div.dtable .col_5 {width:20%}
table .col_6, div.dtable .col_6 {width:15%}
table .col_7, div.dtable .col_7 {width:10%}
table .col_8, div.dtable .col_8 {width:20px}

th a, th span, div.dh a, div.dh span {
  color: rgba(32, 107, 164, 0.5);
  text-decoration: none;
}

div.dh {
  font-weight: bold;
  text-align: center;
}

div.colgroup {
  display:table-column-group;
}
th a:hover, div.dh a:hover {color: rgba(32, 107, 164, 1)}

table tr.highlight, .dtable .dr.highlight {
  background-color:#BBD9EE;
  cursor:pointer;
}

.nowrap {
  table-layout:fixed;
  overflow:hidden;
  white-space:nowrap;
  padding:0 15px 0 25px;
}

td a.delete, td a.delRow {
  text-align: center;
}

td img {
  width: 30px;
}

td.date {
  text-align: center;
}

div.dtable {
  width: 100%;
  display: table;
}

div.dr {
  width: 99%;
  display: table-row;
}

div.dd, div.dh {
  display: table-cell;
  text-align: center;
}

div.dd input, td input:not(.ui-widget), td textarea, td table {
  width: 99%;
}

div.dd span.ui-combobox input {
  width: 90%;
}

div#search div.dd span.ui-combobox input {
  width: 70%;
}

a.delete, a.delRow {
  background: url('/images/cross.png') center no-repeat;
  padding: 5px 15px 10px 10px;
}

.b1 {background-color: #206BA4}
.b2 {background-color: #54A4DE}
.b3 {background-color: #BBD9EE}
.b4 {background-color: #EBF4FA}

.ena {
   box-shadow: 10px 10px 15px #206BA4;
   -webkit-box-shadow: 10px 10px 15px #206BA4;
   -moz-box-shadow: 10px 10px 15px #206BA4;
}

.err, .delayed {
  color: red;
  font-weight: bold;
}

.inactive {
  color: rgba(32, 107, 164, 0.5);
}

.inf {
  color: blue;
  font-weight: bold;
}

.required {
  background-color: #fbe3e4;
}

.sort-icon {
  width: 16px; 
  height: 16px; 
  background-image: url(ju_images/ui-icons_206ba4_256x240.png);
  padding-left: 1em;
}

img.logo {
  height: 100px;
  max-width: 100%;
  border: 1px solid #BBD9EE;
}

div.progress {
  height: 1.7em;
  float:right;
  display:box;
  box-align:center;
  box-pack:center;
  /* Firefox */
  display:-moz-box;
  -moz-box-pack:center;
  -moz-box-align:center;
  /* Safari and Chrome */
  display:-webkit-box;
  -webkit-box-pack:center;
  -webkit-box-align:center;
}

.left {
  text-align: left !important;
  padding-left: 5px;
}

.right {
  text-align: right !important;
  padding-right: 5px;
}

.center {
  text-align: center !important;
}

div.timer {
  height:200px;
  font-size:10em;
  text-align: center;
}

.chart_container {
  margin-bottom: 20px;
}

#help {
  display: none;
}

.important {
  font-weight: bold;
}

.dhx_cal_select_menu {
  display: none !important;
}

.link {
  color: #0066cc;          /* tipiska linka krāsa */
  text-decoration: underline;
  cursor: pointer;         /* rociņa, kā pie <a> */
  display: inline-block;   /* lai hover fonam ir "forma" */
}

.link:hover {
  color: #004999;          /* tumšāks uz hover */
  text-decoration: none;   /* bieži linki pazūd pasvītrojums uz hover */
}

.link:active {
  color: #002f66;          /* vēl tumšāks klikšķa brīdī */
}
