/*
 KEMIT  
 KESE - keskkonnseire infosüsteem
*/

/*********************************************************************************/
/* Global  */
html {
    color: rgb(0, 0, 0);
}

body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, code, form, fieldset, legend, input, textarea, p, blockquote {
    margin: 0px;
    padding: 0px;
}

html, body {
    height: 100%;
    width: 100%;	
}

div {
    display: block;
}
body {
    background: rgb(255, 255, 255) url(../images/bg.png) 0% 0% repeat-x;
    font-size: 10pt !important;
    color: rgb(0, 0, 0);
    line-height: 1.2 !important;
}

div.links {
    margin-top: 5px;
}

div.static {
    margin: 5px 0px 5px 5px;
}

.staticFieldLabel {
    font-weight: bold;
}

div.content {
    min-width: 850px;
    display: table;
    background-color: rgb(255, 255, 255);
    margin: 5px 0px 0px 10px;
}

div.backButtons {
    margin: 10px 0px;
}

* {
    font-family: Arial, sans-serif !important;;
}

a {
    font-family: Arial, sans-serif;
    color: rgb(0, 110, 181);
    text-decoration: underline;
}

h1, h2, h3, h4 {
    font-weight: bold;
    font-family: Calibri, "Helvetica Neue", Arial, sans-serif;
    color: rgb(68, 68, 68);
}

h1 {
    font-size: 18pt;
}

h2 {
    margin-top: 5px;
    margin-bottom: 1px;
    font-size: 14pt;
}

h3 {
    margin-top: 5px;
    margin-bottom: 1px;
    font-size: 12pt;
}

p:not([class^="Mui"]){
    margin: 5px;
    /*max-width: 850px;*/
    width: 100%;
}

label.label {
    color: rgb(100, 100, 100);
    color: rgb(68, 68, 68);   
}

table input {
  border-color: rgb(210, 210, 210); 
}

input[type="hidden"] {
width: 0px;
margin: 0px;
padding: 0px; 
font-size: 0px;
border: none;
}
input[type="image"] {
padding: 0px; 
}

/* Tabelid */

table:not([class^="Mui"]) {
    margin: 5px 2px;
    border-collapse: collapse !important;
    font-family: "Arial Narrow", Arial, sans-serif;
    color: rgb(0, 0, 0);
    border: rgb(238, 238, 238) solid 1px;
}



td img {
    margin: 0px;
}

th:not([class^="Mui"]) {
  color: rgb(68, 68, 68);
  border-top: rgb(210, 210, 210) solid 1px;
  border-bottom: rgb(210, 210, 210) solid 1px;
  background: rgb(238, 238, 238);
  font-weight: bold;
  padding: 2px;
  text-align: left;
  height: 20px;
  word-wrap: break-word;
  padding: 3px 5px 1px 5px;  
  }

tr > th:first-child {
  /*border-left: rgb(210, 210, 210) solid 1px;*/
}
 
tr > th:last-child{
  /*border-right: rgb(210, 210, 210) solid 1px;*/
} 
  
td {
  border-bottom: rgb(240, 240, 240) solid 1px;
  word-wrap: break-word;
  text-align: left;
  min-width: 10px;
  height: 16px; 
  min-height: 16px;
  vertical-align: top; 
  padding: 3px 5px 1px 5px;  
}

th input[type="checkbox"] {
    float: left;
}

#dataTable table {
width:100%; 
min-width: 800px;
margin: 0px;
}


td .tblBtnDisabled {
    display: inline-block;
}

/* muudetav tekstiväli*/
td.editorField {
    text-decoration: underline;
}

img {
    border: 0px;
}

fieldset {
    border: rgb(210, 210, 210) solid 1px;
    margin: 0px;
}

address, caption, cite, code, dfn, em, strong, var {
    font-style: normal;
    font-weight: normal;
}

ol, ul {
    list-style: none;
    word-wrap: break-word;
}

caption {
    text-align: left;
}

q:before, q:after {
    content: '';
}

abbr, acronym {
    border: 0px;
    font-variant: normal;
}

sup {
    vertical-align: text-top;
}

sub {
    vertical-align: text-bottom;
}

input, textarea, select {
    font-family: inherit;
    font-size: 100%;
    font-weight: inherit;
    border: rgb(210, 210, 210) solid 1px; 
    background: rgb(255,255,255);
 }
 
 input, textarea {
    padding: 2px;
 }

legend {
    color: #000000;
}

.legendText {
    color: rgb(136, 136, 136);
    font-size: 12pt;
    font-weight: bold;
    margin: 0px;
    padding: 0px;
    font-family: Calibri, "Helvetica Neue", Arial, sans-serif
}

.help {
    color: rgb(139, 166, 190);
    max-width: 850px;
    padding: 5px 5px 5px 25px;
    clear: left;
}

.help strong, .help a {
    color: rgb(139, 166, 190);
}

strong {
    color: rgb(0, 110, 181);
    font-weight: bold;
}

input[type="submit"], input[type="reset"], button, .ui-widget-content input[type="submit"] {
    font-family: Arial, sans-serif !important;
    font-size: 10pt !important;
    text-decoration: none !important;
    font-weight: bold !important;
    white-space: nowrap;
    padding: 3px 10px;
    margin-top:3px;
    margin-bottom:3px;
    border-radius: 2px;
    margin-right: 3px;
    vertical-align: inherit;

}
input[type="image"] {
    border: none !important;
}

input[type="submit"], button, .ui-widget-content input[type="submit"] {
    background: rgb(0, 110, 181);
    border: rgb(0, 110, 181) solid 1px;
    color: rgb(255, 255, 255);
}

input[type="submit"] .alt, button.alt, .ui-widget-content input.alt[type="submit"] {
    background: rgb(255, 255, 255);
    border: rgb(0, 110, 181) solid 1px;
    color: rgb(0, 110, 181);
}

input[type="reset"], input[type="submit"].back  {
    background: rgb(255, 255, 255);
    border: rgb(0, 110, 181) solid 1px;
    color: rgb(0, 110, 181);
}

.ui-button-text {
    font-weight: bold !important;
    white-space: nowrap !important;
    padding: 3px 6px !important;
}

input[type="submit"]:disabled, input[type="reset"]:disabled, button[type="submit"]:disabled {
    border: rgb(136, 136, 136) solid 1px;
    background: rgb(238, 238, 238);
    color: rgb(136, 136, 136);   
}

input.alt [type="submit"]:disabled, input.alt[type="submit"][disabled]{
    border: rgb(136, 136, 136) solid 1px;
    background: rgb(238, 238, 238);
    color: rgb(136, 136, 136);   
}

input[type="submit"][disabled], input[type="reset"][disabled], button[type="submit"][disabled] {
    border: rgb(136, 136, 136) solid 1px;
    background: rgb(238, 238, 238);
    color: rgb(136, 136, 136);   
}

input::-ms-clear {
    display: none;
}


/* Login aken*/

#login {
    background: rgb(249, 249, 249);
    border: rgb(210, 210, 210) solid 1px;
    padding: 10px;
    margin: 180px auto;
    display: table;
    width: 480px;
}

#login div {
    border-top: rgb(210, 210, 210) solid 1px;
    padding: 15px 10px 10px 10px;
    margin: 5px 0px;
    width: 460px;
    vertical-align: 50%;
}

#login #loginHeader {
    text-align: center;
    border-top: none;
    margin-top: 0px;
}

#login #securityWarning {
    text-align: center;
    margin-top: 0px;
}

#login img,  #login input[type="image"] {
    margin: 0px 2px;
    padding: 0px; 
    vertical-align: -11px;
}

#login label {
    vertical-align: text-top;
    padding: 0px 3px;
    margin: 2px 3px;
    width: 100px;
    display: inline-block;
    text-align: right;
}

#login input[type="text"], #login input[type="password"]{
    padding: 4px;
    margin: 2px;
}

#selectRole {
  margin: 10px auto;
  width: 90%;
  }


#selectRole label {
  width: 1px;
}

/*Päis ja jalus*/
#kese-body {
  display: table; 
  margin: 0px auto;
  clear: both;
  width: 1575px;
  position: relative;
}

#kese-container {
    position: relative;
    display: table-row; 
    margin: 0px auto;
    padding: 0px;
}

#header {
    max-width: 1575px;
    height:63px;
    margin: 0px auto; 
    overflow: hidden;
    clear: both;
    margin: 0 auto;
    color: rgb(0, 0, 0);
}

#welcomeLink {  position: absolute; }

#welcomeLink img {
    margin: 5px 10px 3px 10px;
    height: 55px;
}

#person {
    float: right;
    margin: 10px 0px;
    color: rgb(150, 150, 150);
    max-width: 50%;
    font-size: 9pt;
    text-align: right;
}

#person strong {
    color: rgb(0, 110, 181);
    font-weight: bold;
}

#person a {
    font-weight: normal;
    color: rgb(150, 150, 150);
}
#person a:hover {
    font-weight: normal;
    color: rgb(0, 110, 181);
}

#person form{
display: inline}

#breadcrumb {
    background: none;
    top: 7px;
    left: 173px;
    position: absolute;
	color: rgb(150, 150, 150);
}

#breadcrumb a:before {
    font-family: "IcoIconicStroke", sans-serif;
    color: rgb(150, 150, 150);
    text-decoration: none;
}

#breadcrumb a {
    color: rgb(150, 150, 150);
    padding: 0px 4px;
}

/* Lehtede üldpilt  ********************************************************************************/
#work-area {
    display: table-cell;
    vertical-align: top;
    padding: 25px 0px 5px 0px;
    min-height: 600px;
    width: calc(100% - 190px);
    min-width: 850px;
    float: left;
   }

   .actions {
  width: calc(100% - 10px);
  border-top: rgb(238, 238, 238) solid 1px;
  margin: 2px auto;
  padding: 0px 0px;
}

.submitButtonRow {
    padding: 5px 2px 2px 2px;
}

.submitButtonRow form, input {
    display: inline-block;
}

input {
    vertical-align: middle;
}

.hiddenForm {
    display: none;
}

.imgLink {
    text-decoration: none;
}

/* Avaleht*/
#welcome {
    max-width: 80%;
    margin: 20px auto;
    margin-top: 140px;
    text-align: center;
}

.welcome-info  {
    font-size: 14pt;
    line-height: 140%;
    color: rgb(150,150,150);
    margin: 20px auto;
    max-width: 80%;
    max-width: 800px;
    text-align: center;
    white-space:pre-line;
}

.welcome-critical {
    font-size: 11pt;
    line-height: 120%;
    background: rgb(187, 8, 31);
    color: rgb(255, 255, 255);
    margin:10px auto;
    max-width: 80%;
    max-width: 800px;
    padding: 0px 15px 15px 15px;
    white-space:pre-line;
}

.welcome-important {
    font-size: 11pt;
    line-height: 120%;
    background: rgb(237, 237, 191);
    color: rgb(17, 17, 17);
    margin: 10px auto;
    max-width: 80%;
    max-width: 800px;
    padding: 0px 15px 15px 15px;
    white-space:pre-line;
}
  

#welcome h1 {
    font-size: 36pt;
    margin: 20px 10px;
}

/* Menüü ********************************************************************************/
#navi {
    border: none;
    display: table-cell !important;
    float: left;
    margin-left: 5px;
    margin-right: 10px;
    /*padding-right: 5px;*/
    width: 170px;
    min-height: 600px;
    height: 100%;
}

#navi ul {
    margin: 0px 5px;
    padding: 0px;
    list-style-type: none;
    font-family:/* 'Trebuchet MS', 'Lucida Grande',*/ Arial, sans-serif;
}

#navi li a {
    display: block;
    padding: 2px 2px;
    margin: 0px;
    text-decoration: none;
    color: rgb(0, 0, 0);
    border: none;
}

#navi li a:hover {
    background-color: rgb(238, 238, 238);
    color:rgb(0, 110, 181);
}

#navi div.navititle {
    color: rgb(0, 110, 181);
    margin: 10px 0px 5px 0px;
    font-weight: bold;
    font-size: 1.1em;
    border-bottom: rgb(210, 210, 210) solid 1px;
    width: 166px;
}

#logos {
    width: 100%;
    margin: 20px auto 0px auto;
    text-align: center;
}

/* Loendi lehel filter  ********************************************************************************/
#filter {
    background: rgb(238, 238, 238);
    margin: 0px 0px 5px 0px;
    padding: 5px 0px;
    width: 850px;
}

#filter legend {
    padding: 0px 8px;
    text-align: right;
}

#filter h1 {
    color: rgb(210, 210, 210);
    font-size: 12pt;
    margin: 0px;
    padding: 0px;
}

#filter .wwlbl {
    padding: 0px;
}

.filter-block {
  float: left;
  clear: right;
  padding: 0px;
  margin: 0px 0px 0px 3px;
  width: 266px;	
}

.static-info-block {
    float: left;
    clear: right;
    padding: 0px;
    margin: 0px 20px 0px 3px;
    min-width: 300px;
    max-width: 450px;
}


.input-block {
 float: left;
 clear: right;
 padding: 0px;
 margin: 0px;
 width: 400px;
}

.input-block table.dataTable {
    margin: 0px 5px;
    max-width: 380px;
}

#object-data .input-block {
 width: 420px;
}

#object-data.wide .input-block.wide {
    width: 610px;
}

#filter input[type="text"], #filter textarea, #filter select {
    border: rgb(210, 210, 210) solid 1px;
    margin: 0px 2px;
    padding: 2px;
}

#filter input[type="text"] { 
  height: 17px;  
  width: 220px;
}

#filter textarea  {
  height: 40px;  
  width: 220px;
}

#filter select  {
  height: 23px;
  width: 226px;
}

#filter select[multiple="multiple"]  {
  height: 66px;  
  width: 226px;
}

#filter input[type="text"]:disabled, #filter textarea:disabled, #filter select:disabled, 
.input-block input[type="text"]:disabled, .input-block textarea:disabled, .input-block select:disabled, .filter-block select:disabled, .input-block select:disabled {
    background: rgb(238, 238, 238);
    border: rgb(210, 210, 210) solid 1px;
    color: rgb(0, 0, 0);
}

#filter input[type="text"][disabled], #filter textarea[disabled], #filter select[disabled], 
.input-block input[type="text"][disabled], .input-block textarea[disabled], .input-block select[disabled], .filter-block select[disabled], .input-block select[disabled] {
    background: rgb(238, 238, 238);
    border: rgb(210, 210, 210) solid 1px;
    color: rgb(0, 0, 0);
}

#filter input[type="text"]:read-only, 
.input-block input[type="text"]:read-only,
 .input-block textarea:read-only{
    background: rgb(238, 238, 238);
    border: rgb(210, 210, 210) solid 1px;
    color: rgb(0, 0, 0);
}

#filter input[type="text"][readonly="readonly"], 
.input-block input[type="text"][readonly="readonly"],
.input-block textarea[readonly="readonly"]{
    background: rgb(238, 238, 238);
    border: rgb(210, 210, 210) solid 1px;
    color: rgb(0, 0, 0);
}

#filter .wwgrp2 input[type="text"] {
    width: 113px;
}

#filter .wwgrp2 input.yearField {
    width: 75px;
}

#filter input[readonly="readonly"] {
    background-color: rgb(238, 238, 238);
}

.filter-save{
	clear: none;
	float: left; 
	text-align:left;
	padding:0px 5px;
 
}

.filter-submit{
	clear: none;
	float: right; 
	padding:0px 5px;
	text-align:right;
}

/* Ajalugu  ********************************************************************************/
.ui-front {

}

.ui-widget-overlay {
    /* background: #aaaaaa url(images/ui-bg_flat_0_aaaaaa_40x100.png) 50% 50% repeat-x;*/
    opacity: 0.4 !important;
    filter: Alpha(Opacity=40) !important;
}

#history {
    text-align: center;
    padding: 0px;
    font-size: 9pt;
}

#history table {
    margin: 10px auto;
    text-align: left;
    width: 100%
}

#history td {
    padding: 2px 5px;
    white-space: normal;
}

/*
#history th {
//    border-top: rgb(136, 136, 136) solid 1px;
    font-weight: bold;
    padding: 5px 5px;
}
*/

#history h1 {
    font-size: 13pt;
    color: rgb(210, 210, 210);
}

#history tr > td:first-child, #history tr > td:first-child + td {
    background: rgb(247, 247, 247);
}

#history tr > td:last-child{
    text-align: left; 
}
#historyPopup {
    height: auto;
    width: auto;
    max-width: 1300px;
    top: 15%;
    display: none;
    position: fixed;
}

#historyContainerOuter {
    max-height: 400px;
    overflow-x: auto;
}

#overlay {
    display: none;
}

/* moodulite servad*/

.relation-list, .nested-relation-list, .enter-values {
    margin: 10px 0px; 
}

.error-list {
    padding: 5px;
    border: rgb(187, 8, 31) 2px solid;
}

.warning-list {
    padding: 5px;
    border: rgb(210, 210, 210) 2px solid;
}

.enter-values{
    width: 100%;
}

.check-list, #block-report  {
    padding: 10px 0px 5px 0px;
    margin: 10px 0px;
    width: 850px;
}

.check-list, #block-report {
}

#object-data  {
    padding: 10px 0px 5px 0px;
    margin: 10px 0px;
    width: 850px;
    background-color: rgb(255, 255, 255);
    border: rgb(210, 210, 210) solid 1px;
    }

#object-data.wide {
    width:1040px;
}

#object-data-no-border {
    padding: 15px 10px 5px 10px;
    display: inline-block
}

.check-list select {
    margin: 2px;
}

.check-list table {
  min-width:850px;  
  width: 100%;
}

.relation-list, #list, .list, .error-list, .warning-list {
    min-width: 850px;
    display: table;
    margin: 5px 0px;
}

.relation-list #observationListTab1, .relation-list #sampleListTab1 {
    min-width: 850px; 
/*    width: 100%;*/
}

#block-report textarea {
    width: 850px;
    min-height: 100px;
}

.secret {
    padding-left: 2px;
    color: rgb(187, 8, 31);
    font-weight: bold;
}

.comment-add {
    min-width: 410px;
    display: table;
}

.comment-add textarea {
    margin: 5px 5px 5px 0px ;
}

.commentable-object-info {
    margin-left: 5px;
}

.latestCommentsTimestamp {
    font-weight: bold;
}

#response-to, #response-to-code {
    font-family: inherit;
}

.comment-response-to {
  display: none;
}

.relation-list .wwbtn {
  width: 100%; 
  min-width: 800px;
}

.check-list, .nested-relation-list {
    min-width: 850px;
    min-height: 100px;
    display: table;
}

#list, .list {
/*    width: 100%;*/
    min-width: 850px;
    margin: 5px 0px;
}

.comment.add {
    margin: 10px 0px;
    padding: 5px;
    border: rgb(238, 238, 238) solid 1px;
}

/*tegevuste veergu ei poolitata*/
.relation-list tr > td:last-child, #list tr > td:last-child, .list tr > td:last-child, #selectionValueList tr > td:last-child {
  white-space: nowrap;
  text-align: right;
}

.relation-list tr > td:last-child a, #list tr > td:last-child a, .list tr > td:last-child a, #selectionValueList tr > td:last-child  a {
  text-decoration: none; 
}  

td.dataTables_empty {
   text-align: center !important ;
   color: rgb(150, 150, 150);  
}

.relation-list .no-actions tr > td:last-child, 
#list .no-actions tr > td:last-child{
    white-space: normal;
    text-align: left; 
}

.left-form {
    float: left;
}

.right-form {
    float: right;
}

/* Sisestuse üldvormil I taseme tabelid*/
#observationListTab1, #sampleListTab1{
    width: 1200px !important;
}

/*Vormid*/

/* Tegevuse tekstiline nupp tabelis */
input.button {
    background: rgb(236, 247, 254);
    border: rgb(0, 110, 181) solid 1px;
    color: rgb(0, 110, 181);
    margin: 1px 2px;
    padding: 2px 5px;
}

.listSelectInput > .wwgrp {
    float: left;
}

.listSelectInput > .checkboxAndLabel {
    float: left;
}

input[type="image"] {
    margin-bottom: 2px;
    margin-top: 2px;
    vertical-align: baseline;
}

.info-block {
    margin-top: 10px;
    margin-bottom: 10px;
}

.predefinedFilter {
    display: table;
    margin: 3px auto;
}

.predefinedFilter #selection {
    float: left
}

.predefinedFilter #loadingIcon {
    height: 20px;
    width: 20px;
    float: right;
    margin-left: 5px;
    background-image: url(../images/waiting.gif);
    background-size: 20px;
    visibility: hidden;
}

.clearFloat {
    clear: both;
}

#customExportForm table {
    display: inline-block;
}

#customExportForm table + table {
    margin-left: 25px;
}

/* Jalus ********************************************************************************/
#footer {
    width: 100%; 
    clear: both;
    margin: 0 auto;
    padding: 5px 0px;
    color: rgb(150, 150, 150);
    border-top: rgb(210, 210, 210) solid 1px;
    text-align: center;
    font-size: 9pt;
}

#footer a, #footer a:link, #footer a:visited, #footer a:active {
    color: rgb(150, 150, 150);
}

#footer a:hover {
    text-decoration: underline;
    color: rgb(0, 110, 181);
}

.clear {
    clear: both;
    margin: 0px;
    line-height: 1px;
}

p.space {
    clear: both;
    min-height: 10px;
}

.line {
    clear: both;
    border-top: rgb(238, 238, 238) solid 1px;
    margin: 15px 0px 5px 0px;
    line-height: 1px;
}

.hidden {
    display: none;
}

.ui-state-highlight {
    background: rgb(236, 247, 254) !important;
    color: rgb(0, 110, 181) !important;
}

/* Teated ********************************************************************************/
.errors, .messages, .warnings {
    width: calc(100% - 40px); 
    /*max-width: 850px;*/
    padding: 5px 20px;
    margin: 3px 0px;
}

.errors ul, .messages ul, .warnings ul {
    margin: 0px;
    padding: 0px 4px 0px 25px;
    list-style-type: square;
}

.errors li, .messages li, .warnings li {
    margin: 0px;
    padding: 2px 2px 2px 0px;
}

.errors {
    background: rgb(187, 8, 31);
    color: rgb(255, 255, 255);
}

.messages {
    background: rgb(118, 153, 0);
    color: rgb(255, 255, 255);
}

.warnings {
    background: rgb(237, 237, 191);
    color: rgb(17, 17, 17);
}

h2.error {
    color: rgb(187, 8, 31) !important;
/*    font-weight: bold;*/
}

.bug {
    width: 1575px; 
    margin: 20px auto;
    padding: 0px;
    background: rgb(255, 255, 255);
    text-align: center;   
}


.bug .errors {
    margin: 10px auto;
}

.bug h1 {
    color: rgb(255, 255, 255);
}

.bug h4 {
    color: rgb(187, 8, 31);
    padding: 5px;
    font-size: 12pt;
}

.bug-detail {
    color: rgb(160, 160, 160);
    padding: 15px;
    text-align: left;
}

.edit, .history, .delete, .check, .enter, .view, .comment, .reports, .copy {
    cursor: pointer;
}

.smallIcon {
    margin-left: 2px;
    margin-right: 2px;
    height: 12px;
}

.smallmap {
    width: 512px;
    height: 256px;
    border: 1px solid rgb(210, 210, 210);
}

.mediummap {
    width: 1024px;
    height: 512px;
    border: 1px solid rgb(210, 210, 210);
}

.mapViewWorkArea {
    width: 1024px;
    margin: 5px 0px; 
}

.msg_head {
    cursor: pointer;
    position: relative;
    background: url('../images/open.png') no-repeat 0 0;
}

.msg_head_collapsed {
    background: url('../images/collapsed.png') no-repeat 0 0;
}

.msg_head h2 {
    padding-left: 12px;
}

.controlsCell form {
    display: inline-block;
    text-align: center;
    margin: 2px 0px 0px 0px;
    padding: 0px;
}

.controlsCell form input {
    margin: 0px;
    padding: 0px;
}

.controlsCell a {
    display: inline-block;
    margin: 2px 0px 0px 0px;
    padding: 0px;
    font-size: 2pt;
}
.controlsCell a img, .controlsCell form img {
    margin: 0px;
}

.hiddenTable {
    display: none;
}

.dialogPopup {
    display: none;
}

.dialogText {
    margin-bottom: 10px;
}

.loadingMessageContainer {
    position: fixed;
    top: 10px;
    left: 250px;
    margin: 10px;
    padding: 0px 20px 10px 220px;
    text-align: left;
    font-size: 25pt;
    color: rgb(4, 146, 84);
    background: url(../images/waiting.gif) no-repeat 180px 0px;
}

.loadingMessage {
}

.disabledLink {
    font-size: 10pt;
    color: rgb(136, 136, 136);
}

.selectedGrouping {
    font-size: 10pt;
    font-weight: bold;
}
/*
#tabs a {
    color: rgb(4, 146, 84);
    padding: 5px;
}
*/
/*
#tabs td {
    font-size: 10pt;
}
*/

.olMap{
margin: 5px 0px !important;
}

.mappopup {
    font-size: .9em;
}

.noBorder {
    border: none;
    margin: 0px;
    padding: 0px;
}

.tabs ul {
    background: inherit;
    border: none;
}

.ui-tabs {
    margin-top: 5px !important;
    border: none !important;
}

.ui-tabs-panel {
    padding: 0px !important;
    border-top: rgb(170, 170, 170) 1px solid !important;
}

/* sisetusvormid */
#parameterValues_input_form {

}
#speciesTraitParameterValues, 
#parameterValues {
  padding: 2px;
  margin: 10px 0px !important ; 
}

#speciesTraitParameterValues td, 
#parameterValues td {
  border: rgb(210, 210, 210) solid 1px;
  padding: 2px;
}

#speciesTraitParameterValues td table, 
#parameterValues td table {
  border: none;
  padding: 2px;
}

#adLogout {
    margin-left: 10px;
}
/*
.sp_EXCEPT {
    background: rgb(215, 239, 203);
    border-left: rgb(4, 146, 84) 2px solid;
}

.sp_FAILED {
    color: rgb(187, 8, 31);
}

.sp_FAILED input, .sp_FAILED select {
    color: rgb(187, 8, 31);
}

.sp_ {

}
*/
.value_block input {
    margin-right: 2px;
}

.sp_EXCEPT img, .sp_VALID img, .sp_INVALID img, .sp_VALID img, .sp_VERIFIED img, .sp_ img {
    float: right;
    margin: 2px 1px 0px 1px;
}

.comment_text {
    color: rgb(0, 110, 181);
    font-style: italic;
    float: left;
    clear: left;
}

#commentText {
    color: rgb(0, 110, 181);
    font-style: italic;
    margin-top: 2px;
    margin-bottom: 1px;
}
.selectListValue{
    width: 240px !important;
    background: rgb(238, 238, 238);
    border: rgb(210, 210, 210) solid 1px;
    color: rgb(0, 0, 0);
    padding: 2px;
    margin: 3px;
}

/*Aruandeplokkide kirjeldused*/
#reportBlockList * input {
    margin: 2px;
}
#reportBlockList * input.num {
    width: 80px;
}

#reportBlockList * input.long_text {
    width: 390px;
}

/*programmide juures taksonite valik*/
#selections select {
    width: 245px;
}

.greyBackground {
    background: rgb(238, 238, 238);
}

.searchArea {
    float: right;
    text-align: right;
}

.searchArea .area {
    margin: 2px 0px 2px 5px;
    width: 80px;
}

.searchArea .error {
    color: rgb(187, 8, 31);
}

.searchArea .wwlbl {
    width: 350px !important;
}

.wwlbl {
  margin: 2px 2px 0px 0px;
  padding-top: 3px;
}

.wwctrl {
    padding: 0px;
    margin: 0px;
}

.listSelectInput {
  display: inline-block;
  position: relative;
}

.listSelectInput input[type="image"] {
  position: absolute;
  bottom: 0px;
  margin-left: 2px;
}

.listSelectInput input[type="image"].more_icons  {
  position: relative;
}

.listSelectInput img.more_icons {
    padding-top: 3px;
}

/* ************************ jQuery DataTable  üle kirjutused *****************/

table.dataTable , table.normal{
  /*min-width: 900px;*/
  width: 100%; 
  float: left;
  margin: 0px auto;
  clear: both;
  border: rgb(210, 210, 210) solid 1px;
  }  

table.dataTable thead th , table.dataTable thead td {
  text-align: left ;
  padding: 5px 18px 5px 0px;
  color: rgb(68, 68, 68); 
  border-bottom: rgb(210, 210, 210) solid 1px;
  font-weight: bold;
  vertical-align: middle;   
}

table.dataTable thead th:first-child , table.dataTable thead td:first-child{
  padding-left: 5px;
}

table.dataTable tbody tr {
 background-color: rgb(255, 255, 255);
}

table.dataTable  tr.odd  {
 background-color: rgb(249, 249, 249) !important;
 /*??*/
}

table.dataTable tr.even {
  background-color: rgb(255, 255, 255) !important; 
/*??*/
} 

table.dataTable tbody td , table.dataTable tbody th {
  background-color: inherit; 
  border: rgb(210, 210, 210) solid 1px;
  border-left: none;
  border-right: none;
  padding:1px 5px 0px 5px;
  height: 23px;
  word-wrap: break-word;
}


table.dataTable  th,
table.dataTable  td {
  word-wrap: break-word;
}

table.dataTable thead .sorting_disabled, 
table.dataTable thead .sorting , 
table.dataTable thead .sorting_asc, 
table.dataTable thead .sorting_asc_disabled, 
table.dataTable thead .sorting_desc,
table.dataTable thead .sorting_desc_disabled {
  background-color: rgb(238, 238, 238);
}

table.dataTable thead .sorting , table.dataTable thead th.sorting:first-child , table.dataTable thead td.sorting:first-child, 
table.dataTable thead .sorting_asc, table.dataTable thead th.sorting_asc:first-child, table.dataTable thead td.sorting_asc:first-child,   
table.dataTable thead .sorting_desc, table.dataTable thead th.sorting_desc:first-child, table.dataTable thead td.sorting_desc:first-child{
  padding-left: 17px;  
}


table.dataTable thead .sorting {
  background: rgb(238, 238, 238) url("../images/sort_both.png") no-repeat 0% 50%;
  padding-left: 17px;  
}

table.dataTable thead .sorting_asc {
  background: rgb(238, 238, 238) url("../images/sort_asc.png") no-repeat 0% 50%;
  padding-left: 17px;  
}

table.dataTable thead .sorting_desc {
  background: rgb(238, 238, 238) url("../images/sort_desc.png") no-repeat 0% 50%;
  padding-left: 17px;  
}

table.dataTable thead .sorting:hover ,table.dataTable thead th.sorting:first-child :hover {
  background: rgb(238, 238, 238) url("../images/sort_both_hover.png") no-repeat 0% 50%;
  padding-left: 17px;  
}

table.dataTable thead .sorting_asc:hover  {
  background: rgb(238, 238, 238) url("../images/sort_asc_hover.png") no-repeat 0% 50%;
  padding-left: 17px;  
}

table.dataTable thead .sorting_desc:hover  {
  background: rgb(238, 238, 238) url("../images/sort_desc_hover.png") no-repeat 0% 50%;
  padding-left: 17px;  
}

table.dataTable thead .sorting_asc, 
table.dataTable thead .sorting_desc {
  color: rgb(31, 78, 121);
}
/************************************* **/


 tr:hover  td{
  background-color: rgb(236,247,254) !important;
}

.sorting_1, .sorting_2, .sorting_3{
background-color: inherit !important;
}

.dataTables_wrapper {
  display:block;
}

/* for table with no pagination and table information summary */
.simpleTable {
    margin-bottom: 25px;
}

/* jquery tabeli ümbruse elemendid **/
.dataTables_wrapper .dataTables_paginate {
  float: right;
  text-align: right;
  margin: 5px -5px 0px 5px; 
  margin: 0px;
  padding: 5px;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
  background: rgb(255, 255, 255);
  border: rgb(255, 255, 255) solid 1px; 
  color: rgb(31,78,121);
  margin: 2px 2px; 
  padding:2px 4px;
  font-size: 8pt;
  cursor: pointer;
  cursor: hand;
  text-decoration: none; 
  font-weight: bold;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current, 
.dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
  color: rgb(31, 78, 121);
  font-weight: bold;
  border: rgb(238, 238, 238) solid 1px;
  background: rgb(238, 238, 238);
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover ,
.dataTables_wrapper .dataTables_paginate .paginate_button:active {
  background: rgb(238, 238, 238);
  color: rgb(31, 78, 121) !important;
  border: rgb(150, 150, 150) solid 1px; 
}

.dataTables_wrapper .dataTables_paginate .paginate_button.disabled {
  background: rgb(255, 255, 255);
  border: rgb(255, 255, 255) solid 1px; 
  color: rgb(210, 210, 210);
}

.dataTables_wrapper .dataTables_paginate .paginate_button.disabled:hover, 
.dataTables_wrapper .dataTables_paginate .paginate_button.disabled:active {
  color: rgb(210, 210, 210) !important;
}

/* csv ekspordi nupp */
.dt-buttons .dt-button{
padding: 2px 5px 1px 5px !important ;
}

/*oodake ****/

.dataTables_wrapper .dataTables_processing {
  position: fixed;
  top: 10px;
  left: 250px;
  margin: 10px;
  padding: 0px 20px 10px 220px;
  text-align: left;
  font-size: 25pt;
  color: rgb(4, 146, 84);
  background: url(../images/waiting.gif) no-repeat 180px 0px ;
}

.dataTables_wrapper .dataTables_length,
.dataTables_wrapper .dataTables_filter,
.dataTables_wrapper .dataTables_info,
.dataTables_wrapper .dataTables_paginate {
  color: rgb(150,150,150);
  margin: 1px auto; 
  padding: 2px;
  font-size: 9pt;
}

.dataTables_wrapper .dataTables_length  select, 
.dataTables_wrapper .dataTables_filter  input {
  border: rgb(210, 210, 210) solid 1px;
  font-size: 9pt;
}

  
  table.dataTable>tbody>tr:last-child  td, 
  table.normal>tbody>tr:last-child  td   {
  border-bottom: rgb(210, 210, 210) 1px solid; 
}

.tblBtnDisabled{
 opacity:0.35;
 filter:alpha(opacity=35);
}
/*** seiretöö tabid ****/

ul#subpage
{
font-family: Calibri, "Helvetica Neue", Arial, sans-serif;
font-size: 24px;
font-weight: bold;
color: rgb(68, 68, 68);
list-style-type: none;
padding-bottom: 40px;
border-bottom: 1px solid rgb(170,170,170);
margin: 0px 0px 10px 0px;
display: block;
}

ul#subpage li
{
float: left;
height: 37px;
background-color:rgb(238, 238, 238) ;
margin: 2px 0px 0 10px;
border-left: solid 1px rgb(170, 170, 170); 
border-top: solid 1px rgb(170, 170, 170); 
border-right: solid 1px rgb(170, 170, 170);  
border-radius: 2px;
}

#subpage a
{
float: left;
display: block;
text-decoration: none;
color: rgb(68, 68, 68);
padding: 4px 15px;
margin: 0px;
}

ul#subpage li.active
{
border-bottom: 1px solid rgb(255, 255, 255);
border-left: solid 1px rgb(170, 170, 170); 
border-top: solid 1px rgb(170, 170, 170); 
border-right: solid 1px rgb(170, 170, 170); 
background-color: rgb(255, 255, 255);
border-radius: 2px;
}

ul#subpage li.disabled 
{
/*text-decoration: none;*/
color: rgb(211, 211, 211);
padding: 4px 15px 0px 15px;
display: block;
height: 33px;
border-top: solid 1px rgb(211, 211, 211); 
border-left: solid 1px rgb(211, 211, 211); 
border-right: solid 1px rgb(211, 211, 211);
border-radius: 2px;
}

#subpage a:hover {
 color: rgb(0,110,181);
 border-radius: 2px;
} 
/***************************/

@media screen and (max-width: 1575px) {
.bug, #kese-body,  #kese-container, #header {
  width: 100%;
  margin: 0px;
  padding: 0px;
}
    
#kese-container {
 display: table-row;
}   
        

#main-work-area, #work-area {
  min-width: calc(100% - 220px);
}

    }


@media print {
    #navi, #navi *, #header, #header *, #footer, #footer * {
        display: none;
    }
}