/**                      
 * default style file - based on bootstrap functionality
 * 29.11.2024
*/

.navbar-vydej {
  color: #d4e5e3;
}

.bg-header-vydej{
  background-color: #d4e5e3 !important;
}

.bg-vydej {
  background-color: #fffffa !important;
}


/* specific change - caption of any table is on the top! */
table caption{
  caption-side: top;  
} 

/* page loader-spinner functionality */

div.m5-loader_passive{
  position:absolute;
  visibility:hidden;
  top: 0px;
  right: 0px;
  bottom: 0;
  left: 0;
  z-index:9999;
  overflow: auto;
  overflow-y: auto;
  background:url("../img/FhHRx.gif") no-repeat center center rgba(0,0,0,0.25)
}

div.m5-loader{
  position:absolute;
  visibility:hidden;
  width: 100%;
  height:100%;
  display: flex;
  align-items: center;
  justify-content: center; 
  top: 0;
}

/* error box if debug is set */
div.m5-errors{
  background-color: #FFFFC8;
  color: red;
  padding: 5px;
  font-family: monospace;
  font-size:  small;
  float: left; 
  width: 100%; 
  overflow: auto; 
} 

/* buttons form CM subsystem */ 
.m5-errors a {
  border: 1px solid transparent;
  border-radius: 0.25rem;
  padding: 0.375rem 0.75rem;
  border-color:  #fd7e14;
  line-height: 1.5;
  margin: 2px;
}

table.tabe {
	border: solid #C5C5C4 1px;
	background: white;
	border-collapse: collapse;
}

table.tabe caption {
  background-color: #D4E5E3;	color: #6B6B77;
	/*font-variant: small-caps;*/ 
  font-weight: bold;
	margin: 0px 0px 10px 0px;  border: solid #C5C5C4 1px;  padding: 5px;
  text-align: center;
}

table.tabe thead {
	font-style: italic;
	background-color: #DADADA;	color: #6B6B6B;
  border: solid #C5C5C4 1px;  padding: 5px;		
}

table.tabe th{
  text-align: left;
  border: solid #C5C5C4 1px; padding: 4px;
  background-color: #DADADA;
}

table.tabe tfoot {
	border: solid #C5C5C4 1px;	background: #e0e0e0;
}

table.tabe tr {
	background-color: #FFF1D3;
}

table.tabe tr.sudy {
	background-color: #FFF6E4;
}

table.tabe tr:hover, table.tabe tr.sudy:hover {
	background-color: #ffffff;
}

table.tabe td {
  border: solid #C5C5C4 1px;  padding: 4px;
}

table.tabe tbody td {
	color: black;	padding: 4px;
}

table.tabe tr.zahlavi th{
	text-align: left;  border: solid #C5C5C4 1px;   padding: 4px;
  background-color: #DADADA;
}

/*--Styl pro sestavu ----------------------------*/
table.tabv {
	border: none;
	background: white;
	border-collapse: collapse;
}

table.tabv caption {
	background-color: #a0a0a0;
	margin: 0px 0px 10px 0px; 
	text-align: center;
}

table.tabv thead {
	font-style: italic;
	background-color: #DADADA;
	color: #6B6B6B;
  border: solid #C5C5C4 1px;
  padding: 5px;		
}

table.tabv th{
  text-align: left;
  border: solid #C5C5C4 1px;
  background-color: #DADADA;
  padding: 4px;
}

table.tabv tfoot {
	border: solid #C5C5C4 1px;
	background: #e0e0e0;
}

table.tabv tr {}
table.tabv tr.sudy {}
table.tabv tr.sestava {  border-top: 1px solid #aaaaaa;}
table.tabv td {}
table.tabv tbody td {}
table.tabv tr.zahlavi th{
	text-align: left;
  border: none;
}


table.tabd {
	border-collapse: separate;
}

table.tabd th{
  text-align: left;
  font-size:12px;
  font-weight:bold;
  border: solid #C5C5C4 1px; padding: 4px;
  background-color: #DADADA;
}

.tabd_bunka_obecne{
  padding:5px 2px 5px 2px;
  text-align:left;
}

.tabd_bunka_vymera{
  padding:5px 22px 5px 2px;
  text-align:right;
}

.tabd_radek_obec{
 background-color: #f5f5f5;
}

.tabd_radek_katastr{
 background-color: #ffffff;
} 


div.nabidka{
  background-color:#e0e0e0;
  border: 2px solid black;
  padding: 5px;
  position: absolute;
}

div.napoveda{display:inline;position: relative; }
div.napoveda:hover{display:inline;position: relative;cursor:pointer; }
div.napoveda span {position: absolute; left: 100%; top: 0%; display: none; background: #fff; width: 20em; border: 1px solid #666;padding: 10px; color: #000}  
div.napoveda:hover span {display: inline;font-style:italic;z-index:2;}

span.napoveda{display:inline;position: relative; }
span.napoveda:hover{display:inline;position: relative;cursor:pointer; }
span.napoveda span {position: absolute; left: 100%; top: 0%; display: none; background: #fff; width: 20em; border: 1px solid #666;padding: 10px; color: #000}  
span.napoveda:hover span {display: inline;font-style:italic;z-index:2;}

div.outfiles{
  font-family: monospace;
  background-color: #f5f5f5;
  border: 2px solid black;
  padding: 5px;
  position: relative;
  overflow: auto;
  height: 100%;
}


/*----------------------------- komponenta pro vyhledávání searchTableDiv -------------------------------------------------------------------*/

.zvyrazni{
  background-color: #cc9966;

}

/*formát obalového kontajneru */
#searchTableDiv{
	/*background-color: transparent;*/
	background-color: #ffffcc;
	font-style: normal;
	border: 2px solid black;
  z-index: 2000;
}


/* formátování odkazů a*/
#searchTableDiv a{
	font-weight: normal;
	color: black;
	background-color: transparent;
}
#searchTableDiv a:hover{
	font-weight: bold;
	color: black;
	background-color: transparent;
}
#searchTableDiv a:visited{
	font-weight: normal;
	color: darkred;
	background-color: transparent;
}



/*formátování zobrazení objektu nad kterým došlo k události onclick (#id)*/
#searchTableDiv td:target a{
	font-weight: bold;
	color: black;
}
#searchTableDiv td:target {
	background-color: #cc9966;
}



/*formátování nadpisů tabulky th*/
#searchTableDiv th{
	background-color: transparent;
	text-align:center;
}
#searchTableDiv th:nth-child(1) {
  width:50%;
  text-align: center;
}
#searchTableDiv th:nth-child(2) {
  width:60%;
  text-align: center;
}
#searchTableDiv th:nth-child(3) {
  width:10%;
  text-align: right;
  cursor:pointer; 
}
#myInput {
    width: 95%; 
    font-size: 1.2em; 
    /*padding: 12px 20px 12px 5px;*/ 
    border: 1px solid #ddd;
   /* margin-bottom: 12px; */
}
#myInput2 {
    width: 95%; 
    font-size: 1.2em;  
    /*padding: 12px 20px 12px 5px; */
    border: 1px solid #ddd; 
    margin-bottom: 2%;
}



/*tlačítko pro otevírání kontajneru searchTableDiv */
#searchTableDivOpen{
	display: none;
	cursor:pointer; 
	/*float:right;*/
	font-weight: bold;
	text-decoration: none;
	border: 3px solid #8cacbb;
	color: black;
	background-color: #d0d0d0;
	vertical-align: middle;
	margin: 4px;
	padding: 4px 10px 2px 10px;
}
#searchTableDivOpen:hover {
  color: #700000; background-color: #d09293;
  text-decoration: none;
}

/*tlačítko pro zavírání kontajneru searchTableDiv */
.closeButton {
  float:right;
	cursor:pointer;
}


/*zobrazení pro malé obrazovky*/
@media (max-height: 700px){
#searchTableDiv{
	display: none;
	}
#searchTableDivOpen{
	display: none;
}
}


/** styly ze souboru vydej_tool.css **/
/* buttonLink class for buttons that look like links */

.buttonLink {
     background:none!important;
     color:inherit;
     border:none; 
     padding:0!important;
     font: inherit;
     /*border is optional*/
     border-bottom:1px solid #444; 
     cursor: pointer;
}




/*formát obalového kontajneru */
#searchTableDiv{
	/*background-color: transparent;*/
	background-color: #ffffcc;
	font-style: normal;
	border: 2px solid black;
  padding: 5px;
}



/* formátování odkazů a*/
#searchTableDiv a{
	font-weight: normal;
	color: black;
	background-color: transparent;
}
#searchTableDiv a:hover{
	font-weight: bold;
	color: black;
	background-color: transparent;
}
#searchTableDiv a:visited{
	font-weight: normal;
	color: darkred;
	background-color: transparent;
}



/*formátování zobrazení objektu nad kterým došlo k události onclick (#id)*/
#searchTableDiv td:target a{
	font-weight: bold;
	color: black;
}
#searchTableDiv td:target {
	background-color: #cc9966;
}



/*formátování nadpisů tabulky th*/
#searchTableDiv th{
	background-color: transparent;
	text-align:center;
}
#searchTableDiv th:nth-child(1) {
  width:50%;
  text-align: center;
}
#searchTableDiv th:nth-child(2) {
  width:60%;
  text-align: center;
}
#searchTableDiv th:nth-child(3) {
  width:10%;
  text-align: right;
  cursor:pointer; 
}
#myInput {
    width: 95%; 
    font-size: 1.2em; 
    /*padding: 12px 20px 12px 5px;*/ 
    border: 1px solid #ddd;
   /* margin-bottom: 12px; */
}
#myInput2 {
    width: 95%; 
    font-size: 1.2em;  
    /*padding: 12px 20px 12px 5px; */
    border: 1px solid #ddd; 
    margin-bottom: 2%;
}



/* tlačítko pro otevírání kontejneru searchTableDiv */
#searchTableDivOpen{
	display: none;
	cursor: pointer; 
	/*float:right;*/
	font-weight: bold;
	text-decoration: none;
	border: 3px solid #8cacbb;
	color: black;
	background-color: #d0d0d0;
	vertical-align: middle;
	margin: 4px;
	padding: 4px 12px 2px 12px;
}
#searchTableDivOpen:hover {
  color: white; background-color: #2f0cf9;
  text-decoration: none;
}


#searchTableDivResults {
  overflow:scroll;
  height: 82%;
	background-color: #ffffcc;
}


/*tlačítko pro zavírání kontajneru searchTableDiv */
.closeButton {
    float:right;
	cursor:pointer;
}


/*zobrazení pro malé obrazovky*/
@media (max-height: 700px){
#searchTableDiv{
	display: none;
	}
#searchTableDivOpen{
	display: none;
}
}


div.hledaci_formular{
  margin: 0.5rem; 
  padding: 0.5rem; 
  border: 1px solid #8cacbb; 
  background-color:#f0f0f0;
 }

div.formular{
  margin:5px; 
  padding:5px; 
  /*border: 1px solid; */
  background-color:#f0f0f0;
 }


 input[type="button"].polyg { 
 	background-image: url('../img/poly1.png');
  background-position: left 0.2em;
  background-size: 2em 2em;
	/*color: white;*/
	vertical-align: middle;
	/* cursor:pointer;*/
	/*border: none;*/
	background-repeat: no-repeat;
	/* background-color: #f0f0f0;/* původní barva #d0d0d0 */
	width: 15em;
  /* height: 3em; */
  text-align: center;
  
	} 