ul.layers-tree {
	/*
	 * prebiti standardniho odsazeni ul
	 */
	margin-left: 0;
	padding-left: 0;
	padding-right: 0;
	/*
	 * odsazeni zeshora, aby nebyl copyrightu, aby nebyl nalepeny na tree view
	 */
	margin-top: 10px;
	/*
	 * odsazeni copyrightu, aby nebyl nalepeny na tree view
	 */
	margin-bottom: 20px;
	min-height: 250px;
}
/* vertikalni zarovnani ikon napric levely vrstev */
ul.layers-tree li.level_0 {
	width: 380px;
}
ul.layers-tree li.level_1 {
	width: 365px;
}
ul.layers-tree li.level_2 {
	width: 350px;
}
ul.layers-tree li.level_3 {
	width: 335px;
}
ul.layers-tree li.level_4 {
	width: 320px;
}
ul.layers-tree li.level_5 {
	width: 305px;
}
ul.layers-tree li.level_6 {
	width: 290px;
}
ul.layers-tree li.level_7 {
	width: 275px;
}
ul.layers-tree li.level_8 {
	width: 260px;
}
ul.layers-tree li input, ul.layers-tree li div, ul.layers-tree liv div .text_label {
	/*
	 * vycentrovani textu a ikon v popisce polozky stromu
	 */
	vertical-align: middle;
}
ul.layers-tree li input {
	/*
	 * prebiti standardniho odsazeni inputu (base.css)
	 */
	margin: 0;
	padding: 0;
}
ul.layers-tree li img {
	/*
	 * prebiti jstree theme style.css pro vycentrovani ikon
	 */
	padding-top: 2px;
}
ul.layers-tree table tbody td, table.layer_search_box tbody td {
   /* zruseni stylu z changelists.css */
    border: none !important;
    padding: 0;
}
td.layer_checkbox, td.layer_icon {
   /* sizing prvnich dvou sloupcu */
    width: 25px;
}
td.layer_checkbox.virtual {
    display: none;
}
.tree li td.layer_label a, .tree li td.layer_label span {
	/* prebiti definice z jstree */
	width: auto !important;
}
ul.layers-tree table tbody td.layer_toolbar {
    width: 50px;
    /* mezera mezi prvni akcni ikonkou a nazvem vrstvy */
    padding-left: 8px;
    padding-right: 10px;
}
td.layer_toolbar div.layer_toolbar_wrapper {
    position: relative;
}
td.layer_toolbar img.layer_loading_control {
    display: none;
    position: absolute;
    top: 0px;
    right: 0px;
}
td.layer_toolbar .layer_visible_toolbar {
    display: inline;
}
td.layer_toolbar .layer_visible_toolbar img.layer_display_control,
td.layer_toolbar .layer_visible_toolbar img.layer_anchor_control,
td.layer_toolbar .layer_visible_toolbar img.layer_remove_control,
td.layer_toolbar .layer_visible_toolbar img.layer_add_to_monitoring_control,
td.layer_toolbar .layer_visible_toolbar a.poi_action,
td.layer_toolbar .layer_visible_toolbar img.layer_remove_from_monitoring_control {
    display: none;
    position: absolute;
    top: 0px;
    right: 19px;
    cursor: pointer;
}
td.layer_toolbar .layer_visible_toolbar a.poi_action {
    right: 35px;
    display: inline;
}
td.layer_toolbar .layer_visible_toolbar img.layer_remove_control {
    opacity: 0.6;
}
table.autoDisplayDisabled td.layer_toolbar img.layer_display_control {
    display: inline;
}
td.layer_toolbar img.layer_loading_control.poi_loading {
    display: inline-block;
}
td.layer_toolbar img.layer_loading_control.label_loading {
    display: inline-block;
}
td.layer_toolbar img.layer_loading_control.poi_loading.layer_disabled {
    display: none;
}
td.layer_toolbar img.layer_loading_control.label_loading.layer_disabled {
    display: none;
}
table.resolution_disabled td.layer_toolbar img.layer_loading_control.poi_loading {
    display: none;
}
table.resolution_disabled td.layer_toolbar img.layer_loading_control.label_loading {
    display: none;
}
td.layer_toolbar img.layer_add_to_monitoring_control.enabled {
    display: inline;
}
td.layer_toolbar img.layer_remove_from_monitoring_control.enabled {
    display: inline;
}
table.resolution_disabled td.layer_label div.text_label a {
    font-style: italic;
    /* prebijime mapovy css.. */
    color: gray !important;
}
td.layer_icon img {
   /* zvetseni radku kvuli ikonam */
    padding-bottom: 5px !important;
   /* zarovnani s checkboxy a labely */
    padding-top: 0px !important;
}
ul.layers-tree div.text_label {
   /* zvetseni polozky osnovy, pokud ikonka je moc mala */
    min-height: 25px;
   /* adekvatni odsazeni jednotlivych polozek osnovy */
    padding-bottom: 5px;
}
table.layer_search_box tbody td {
   /* adekvatni padding v ramci search boxu */
    padding: 5px;
}
td.layer_search_input input {
    /* roztazeni search boxu na maximalni sirku */
    width: 330px;
    padding: 2px 5px 2px 24px;
    line-height: 16px;
    font-size: 12px;
    color: black;
    background: url("../img/selector-search.gif") 4px 2px no-repeat;
}
table.save_state_enabled td.layer_search_input input {
    /* zmenseni o velikost ikony */
    width: 296px;
}
table.layer_search_box td.layer_search_button {
    display: none;
}
table.layer_search_box td {
    /* centrovani elementu v search boxu */
    vertical-align: middle;
}
table.layer_search_box button.layers_tree_save_state {
    width: 22px;
    height: 22px;
    border: 1px solid #CCCCCC;
    border-radius: 5px;
    background-color: #F0F0F0;
    cursor: pointer;
}
table.layer_search_box button.layers_tree_save_state img {
    width: 18px;
    height: 18px;
    position: relative;
    left: -2px;
}
ul.layers-tree li a.layer_dummy_href {
    /* a element je tu jen kvuli funkcnimu hledani, takze jej odstylujme! */
    padding: 0 !important;
    cursor: default;
}
ul.layers-tree li a.layer_dummy_href:hover {
    /* 'a' element je tu jen kvuli funkcnimu hledani, takze jej odstylujme! */
    text-decoration: none !important;
    background: none !important;
    border: none !important;
    padding: 0 !important;
}
ul.layers-tree li a.invalidGeom {
    /* element bez platne souradnice */
    font-style: italic !important;
    /* prebijime mapovy css.. */
    color: gray !important;
}
ul.layers-tree li.active_poi a.enabled {
    background-repeat: no-repeat;
    background-position: right 0;
    padding-right: 20px !important;
    background-image: url("../img/bullet_green.png");
}
ul.layers-tree li.active_poi a.disabled {
    /* element neni aktivni */
    font-style: italic !important;
    /* prebijime mapovy css.. */
    color: gray !important;
    background-image: url("../img/bullet_red.png");
    background-repeat: no-repeat;
    background-position: right 0;
    padding-right: 20px !important;
}
ul.layers-tree li.active_poi a.invalidGeom {
    background-image: url("../img/bullet_gray.png");
    background-repeat: no-repeat;
    background-position: right 0;
    padding-right: 20px !important;
}
ul.layers-tree li a.layer_dummy_href.list_layer_control {
    cursor: pointer;
}
ul.layers-tree li a.layer_dummy_href.list_layer_control:hover {
    text-decoration: underline !important;
}
ul.layers-tree li a.layer_dummy_href.layer_focus_control {
    cursor: pointer;
}
ul.layers-tree li a.layer_dummy_href.layer_focus_control:hover {
    text-decoration: underline !important;
}
ul.layers-tree li div.cdata {
    display: none;
}
ul.layers-tree.tree li li {
    /* zruseni mystickeho overflow: hidden, ktere odezavalo horni okraj
     * ikonek pri jejich vertikalnim vyrovnani na stred checkboxu */
    overflow: visible;
}
*+html ul.layers-tree.tree td.layer_icon img {
    /* v IE7 nelze pri vertikalnim vyrovnani ikonky na stred checkboxu odstranit
     * nezadouci oriznuti horniho okraje, spokojime se s zarovnanim na top */
    margin-top: 0 !important;
}
li.gis_layer.dummy {
    display: none !important;
}
div.feature_icon {
	width: 20px;
	height: 20px;
	position: relative;
}
div.feature_icon.point .inner {
	width: 8px;
	height: 8px;
	position: absolute;
	top: 6px;
	left: 6px;
	border-radius: 4px;
}
div.feature_icon.line {
	width: 15px;
	height: 15px;
	position: relative;
}
div.feature_icon.poly {
	width: 15px;
	height: 15px;
}
.layer_toolbar .layer_config_panel {
	display: inline-block;
	float: right;
	margin-right: 38px;
}
.layer_toolbar .layer_config_panel img {
	display: none;
	float: right;
	z-index: 1; /* temporary control wrapper nesmi prekryvat panel s tlacitky - wrapper ma z-index: 0 */
}
.layer_toolbar .layer_config_panel img.config_panel_control {
	display: inline-block;
	padding-left: 5px; /* mezera mezi poslednim tlacitkem moznosti zprava a tlacitkem ozubeneho kolecka */
	cursor: pointer;
}
.layer_toolbar .layer_config_panel img.add_view_control {
    cursor: pointer;
}
.layer_toolbar .layer_config_panel img.changelist_wms_control {
    cursor: pointer;
}
.layer_toolbar .layer_config_panel img.display_labels_control {
    cursor: pointer;
}
.layer_toolbar .layer_config_panel img.display_labels_control.inactive {
    opacity: 0.6;
}
.layer_toolbar .layer_config_panel img.layer_show_active {
    cursor: pointer;
}
.layer_toolbar .layer_config_panel img.autozoom_control {
    cursor: pointer;
}
/* fixni styly pro panel tlacitek moznosti vrstvy */
.layer_toolbar .layer_config_panel img.visible {
	display: inline-block;
	width: 20px; /* zoom tlacitka, jehoz skutecna velikost je 16x16 */
	position: absolute;
	top: -2px; /* vertikalni vycentrovani tlacitka moznosti vrstvy vuci tlacitku ozubeneho kolecka */
	padding: 2px; /* mezera mezi tlacitky moznosti vrstvy */
	border-top: 1px solid #CCCCCC;
	border-bottom: 1px solid #CCCCCC;
	background-color: #F0F0F0;
}
.layer_toolbar .layer_config_panel img.visible.latest_from_right {
	border-right: 1px solid #CCCCCC;
	border-top-right-radius: 5px;
	border-bottom-right-radius: 5px;
}
.layer_toolbar .layer_config_panel img.visible.latest_from_left {
	border-left: 1px solid #CCCCCC;
	border-top-left-radius: 5px;
	border-bottom-left-radius: 5px;
}
.layer_toolbar .layer_config_panel.permanent img.visible {
	border: 1px solid #CCCCCC;
	border-radius: 5px;
}
.layer_toolbar .layer_config_panel div.temporary_control_wrapper {
	position: absolute;
	height: 36px; /* img {height: 20px; padding-top: 2px; padding-bottom: 2px; border-top-width: 1px; border-bottom-width: 1px;} + 5px bily ramecek nahore + 5px bily ramecek dole */
	top: -7px; /* img {top: -2px;} - 5px bily ramecek nahore */
	right: 59px; /* .layer_config_panel {margin-right: 38px;} + .config_panel_control {width: 16px; padding-left: 5px;} */
	z-index: 0; /* wrapper nesmi prekryvat panel s tlacitky - tlacitka maji z-index: 1 */
	border-radius: 5px;
	background-color: #FFFFFF; /* zajisti bily okraj okolo panelu tlacitek */
}
a#layers_reload {
        float: right;
        margin-right: 12px;
        padding-left: 18px;
        margin-bottom: 5px;
        background: url("../img/reload.png") 0 0 no-repeat;
}
#layers_reload_dialog {
        display: none;
        cursor: default;
        z-index: 10000;
}
img#layers_reload_wait {
        float: right;
}
