.colMS {
	margin-right: 0px;
}

.rozcestnik-obal {
	border: 1px solid var(--border-color);
}
.rozcestnik {
    background: var(--body-bg);
    width: 100%;
}
.rozcestnik img {
    margin-right: 5px;
    vertical-align: middle;
}
.rozcestnik img.field_action_link_icon {
    margin-right: 0px;
}
.rozcestnik p, .rozcestnik ul, .rozcestnik h3, .rozcestnik h4, .rozcestnik dl, .rozcestnik pre {
    padding-left: 10px;
    padding-right: 10px;
}
.rozcestnik a, .rozcestnik a:link, .rozcestnik a:visited {
    font-size: 12px;
    font-weight: bold;
    color: var(--link-hover-color);
}
.rozcestnik a[href^="mailto"], .rozcestnik a[href^="tel"] {
    font-weight: normal;
    text-decoration: underline;
}
/* link na dokumentaci ke stazeni */
.rozcestnik a.doclink {
    font-weight: normal;
    color: var(--link-fg);
}
.rozcestnik td, .rozcestnik th {
    vertical-align: top;
    white-space: nowrap;
}
.rozcestnik td a, .rozcestnik th a {
    vertical-align: middle;
}
/*
 * tohodle se nelze zbavit, byt to na vetsine indexu hapruje a je potreba
 * tam davat width: auto
 * na indexu subjektu v MSIE pri odstraneni teto definice se ale spatne
 * renderuji 'add' a 'change' linky v sekci 'organizacni struktury a jejich obsazeni'
 * momentalne je tedy nad sily tyto historicke elementy predelat ve stylu actionlink_column
 */
.rozcestnik td {
    width: 30px;
}
.rozcestnik th {
    width: 100%; /* viz r6188 */
}
/* vychozi sirka prvniho sloupce rozcestniku */
.rozcestnik td.first_column, .rozcestnik.basic_info td.first_column {
    width: 300px;
}
/* sloupec pro inline addlink/changelink */
.rozcestnik td.actionlink_column {
    width: 30px;
}
/* sloupec pro pripad, kdy akcni link je reprezentovan pouze ikonkou */
.rozcestnik td.icon_actionlink_column {
    width: 20px;
}
.rozcestnik td.description, .rozcestnik.basic_info td.description {
    width: auto;
    min-width: 200px;
    white-space: normal;
}
.rozcestnik th, .rozcestnik.basic_info td.first_column {
    padding-left: 1.2em;
}
.xs .rozcestnik td.first_column, .xs .rozcestnik.basic_info td.first_column {
    width: 115px;
    display: flex;
    white-space: normal;
    padding-left: 5px;
}
.xs .rozcestnik td.first_column[colspan], .xs .rozcestnik.basic_info td.first_column[colspan] {
    display: table-cell;
}
.rozcestnik tr.index-header-row th {
    padding-left: 5px;
}
/* IE7 hook pro korektni sirku prvniho sloupce pri viceradkovem popisu polozky, viz r9754 */
.rozcestnik table.model_icon_table {
    *width: 100%;
}
/* IE7 hook pro korektni odsazeni obsahu prvniho a druheho sloupce pri viceradkovem popisu polozky, viz r9754 */
.rozcestnik table.model_icon_table td.model_icon_text {
    *padding-right: 15px !important;
}
.rozcestnik-2cols {
    background: var(--body-bg);
    width: 100%;
}
.rozcestnik-2cols img {
    margin-right: 5px;
    vertical-align: middle;
}
.rozcestnik-2cols p, .rozcestnik-2cols ul, .rozcestnik-2cols h3, .rozcestnik-2cols h4, .rozcestnik-2cols dl, .rozcestnik-2cols pre {
    padding-left: 10px;
    padding-right: 10px;
}
.rozcestnik-2cols a, .rozcestnik-2cols a:link, .rozcestnik-2cols a:visited {
    font-size: 12px;
    font-weight: bold;
    color: var(--link-hover-color);
}
.rozcestnik-2cols td, .rozcestnik-2cols th {
    vertical-align: middle;
    white-space:nowrap;
}
/*
.rozcestnik-2cols td {
    width: 30px;
}*/
.rozcestnik-2cols th {
	width: 250px;
}
th.props {
    width: 70%;
}
.rozcestnik-2cols td {
    width: 30px;
}
span.notice {
    margin-left: 120px;
    color: gray;
    font-size: 11px;
    font-style: italic;
}
span.info {
    color: gray;
    font-size: 11px;
    font-style: italic;
}
/*
th.heading {
    font-size: 11px;
    font-weight: bold;
}*/
.subjekt-header {
    margin: 0;
    margin-bottom: 10px;
    padding: 2px 5px 3px 5px;
    font-size: 11px;
    font-weight: bold;
    text-align: left;
    border: 1px solid var(--border-color);
    background: var(--darkened-bg) url('/static/admin/img/admin/nav-bg.gif?a0868be71d36') repeat-x scroll left bottom;
    /*background: #7CA0C7 url('/static/admin/img/admin/default-bg-copy2.gif?a0868be71d36') top left repeat-x;*/
    color: var(--body-quiet-color);
}
.subjekt-header h2 {
    margin: 0;
    font-size: 11px;
    font-weight: bold;
    color: var(--body-quiet-color);
}
.subjekt-header a {
    color: var(--body-quiet-color);
}
.rozcestnik-header,
.classic_responsive_design .row .rozcestnik-header {
    margin: 0;
    margin-top: 10px;
    padding: 2px 5px 3px 5px;
    font-size: 11px;
    font-weight: bold;
    text-align: left;
    background: var(--darkened-bg) url('/static/admin/img/admin/nav-bg.gif?a0868be71d36') repeat-x scroll left bottom;
    border: 1px solid var(--border-color);
    color: var(--body-quiet-color);
}
.rozcestnik-header1,
.classic_responsive_design .row .rozcestnik-header1 {
    margin: 0;
    padding: 2px 5px 3px 5px;
    font-size: 11px;
    font-weight: bold;
    text-align: left;
    background: var(--darkened-bg) url('/static/admin/img/admin/nav-bg.gif?a0868be71d36') repeat-x scroll left bottom;
    border: 1px solid var(--border-color);
    color: var(--body-quiet-color);
}
.dashboard #content {
	width: auto;
}
#content-main {
	left: 20px;
	margin-right: 320px;
	width: auto;
	float: none;
	/*min-width: 500px;*/
}
.is_bootstrap #content-main {
        float: left;
        width: 100%;
}
.colSM #content-main {
	margin-right: 0.5%;
}
.colM #content-main {
	margin-right: 0.5%;
}
#content-related {
	width: 300px;
	margin-right: 0.5%;
}
.colSM #content-related .module h2 {
	border-bottom: 1px solid var(--border-color);
}
.index-icon-selected {
    background: var(--index-selected-icon);
}
span.selector-subjchange {
    width: 7em;
    background: url('/static/admin/img/admin/selector-addall.gif?a0868be71d36') left center no-repeat;
    cursor: pointer;
}
.addlink {
    padding-left: 12px;
    background: url('/static/admin/img/admin/icon_addlink.gif?a0868be71d36') 0 .2em no-repeat;
}

.changelink {
    padding-left: 12px;
    background: url('/static/admin/img/admin/icon_changelink.gif?a0868be71d36') 0 .2em no-repeat;
}
.addlink-header {
    padding-left: 12px;
    margin-right: 12px;
    float: right;
    background: url('/static/admin/img/admin/icon_addlink.gif?a0868be71d36') 0 .2em no-repeat;
}

.changelink-header {
    padding-left: 12px;
    float: right;
    background: url('/static/admin/img/admin/icon_changelink.gif?a0868be71d36') 0 .2em no-repeat;
}

/* barva pro nadpis index view - prvni radek */
.index-header {
    margin-bottom: 10px;
    width: 99.5%;
    border:1px solid var(--darkened-bg);
}
.index-header-row {
    background: var(--index-header-row);
}
.index-header-row th {
    line-height: 20px;
}
.index-header-row img.model_icon_img,
.index-header-row div#context_obj_name,
.index-header-row div.header-change-link {
    float: left;
}
.index-header-row div.header-change-link a {
    vertical-align: top;
}
.header-change-link {
    margin-left: 18px;
}
@media print {
    .header-change-link { display: none; }
}
.header-change-link a, .header-change-link a:link, .header-change-link a:visited {
    font-size: 12px;
    font-weight: bold;
}
.rozcestnik th.header-print-link {
	text-align: right;
}
.rozcestnik-errors {
    background: var(--index-errors);
}
.row-warning {
    background: var(--index-row-warning-bg);
    color: var(--error-fg);
}
.row-warning a, .row-warning a:link, .row-warning a:visited {
    color: var(--error-fg);
}
.is_bootstrap .row-warning {
    background: none;
}
.is_bootstrap .row-warning th {
    margin-bottom: 5px;
}
.row-notice {
    background: none repeat scroll 0 0 var(--message-warning-bg);
}
.is_bootstrap .row-notice th {
    border: 1px solid;
}
.alert-table th {
    background: var(--message-warning-bg);
}
.alert-table .row-warning th {
    border: 1px solid var(--btn_danger);
    background: var(--message-warning-bg);
    color: var(--btn_danger);
}
.alert-table th a u {
    color: var(--btn_danger);
}
.is_bootstrap .alert-table {
    width: 98.7%;
    margin-left: auto;
    margin-right: auto;
    border-collapse: separate;
    border: none;
}
.is_bootstrap .alert-table th {
    display: flex;
    align-items: center;
    font-size: 14px;
    border-radius: 10px;
    padding: 10px;
}
.is_bootstrap .alert-table th a {
    font-size: 14px;
    margin-left: 5px;
}

/* MODULY */

#map-module,
#photo-module,
#osnova-module,
#summary-module,
#recent-actions-module,
#panel_osnovy_v_sidebaru {
   margin-bottom: 10px; /* vertikalni odsazeni vice modulu na rozcestniku */
}
.maximized #photo-module,
.maximized #osnova-module,
.maximized #summary-module {
    display: none;
}
#map-module .no_location .no_location_description,
#photo-module .no_photo .no_photo_description,
#photo-module .photo_description {
    border-top: 1px solid var(--body-module-bg);
    margin-top: -3px;
    padding-top: 6px;
    text-align: center;
}
#osnova-module,
#summary-module {
    min-height: 300px;
    padding-bottom: 10px;
}
#map-module {
    position: relative; /* div nastaven jako omezujici blok pro absolutne pozicovane maximalizacni tlacitko */
}
#map-module .no_location {
    text-align: center;
}
#map-module .no_location img {
    margin: 10px;
}
#photo-module {
    text-align: center;
}
#photo-module #show_lightbox {
    float: right;
    padding: 2px 5px 3px 5px;
    font-size: 11px;
    font-weight: bold;
    color: var(--body-quiet-color);
    cursor: pointer;
}
#photo-module .no_photo img {
    margin: 10px;
}
#summary-module table {
    width: 100%;
}
#summary-module td {
    border-bottom: none;
}
#summary-module td.first_column {
    width: 300px;
    padding-left: 6px;
}
#summary-module td.second_column {
    text-align: center;
}
#summary-module td.line_separator {
    border-bottom: 1px solid var(--darkened-bg);
}
#summary-module div.summary_subitem {
    padding-left: 10px;
}

/* SEARCH TOOLBAR */

#toolbar {
    padding: 3px;
    background: var(--heading-bg) url('/static/admin/img/admin/nav-bg.gif?a0868be71d36') top left repeat-x;
    color: var(--body-quiet-color);
    margin-right: 0.5%;
    margin-bottom: 10px;
    border: 1px solid var(--hairline-darker-color);
}
.is_bootstrap #toolbar {
    background: none;
    background-color: #efefef;
    margin-left: 12px;
    margin-right: 12px;
    border-radius: 5px;
}
.maximized #toolbar {
    display: none;
}
#toolbar form input {
    font-size: 11px;
    padding: 1px 2px;
}
#toolbar form input[type=submit]
{
    padding: 4px 5px 5px;
    color: #fff;
    margin: 0 0 0 0.5em;
    vertical-align: middle;
    font-size: 12px;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    outline: none;
    cursor: pointer;
    width: auto;
    height: 25px;
    background: var(--tool-action-link-color);
}
#toolbar form #searchbar {
    padding: 2px;
}
#index-view-search img {
    vertical-align: middle;
}
div#content div#toolbar form#index-view-search div#validator span#input-wrapper label[for=searchbar] img {
    width: 22px;
    height: 22px;
    filter: var(--btn_primary_filter);
}
div#content div#toolbar form#index-view-search div#validator img.top_loader {
    width: 25px;
    height: 25px;
    display: none;
    position: absolute;
    right: 32px;
}
.is_bootstrap div#content div#toolbar form#index-view-search div#validator img.top_loader {
    width: 30px;
    height: 30px;
    right: 20px;
}
#content #toolbar #searchbar {
    width: 30%;
    max-width: 300px;
}
.xs #content #toolbar #searchbar,
.xs #content.colM #toolbar #searchbar,
.xs #content.colSM #toolbar #searchbar,
.xs #content.colMS #toolbar #searchbar {
    max-width: 200px;
}
th img.gis_switch {
	width: 18px;
	margin-bottom: 1px;
}

/* novy layout pro gis switch na rozcestniku */
.index-header-row #gis_switch {
    padding: 3px 5px;
    border-radius: 5px;
    background-color: var(--tool-action-link-color);
    white-space: nowrap;
    color: white;
}
.index-header-row #gis_switch:hover {
    background-color: #444;
}

.rozcestnik a.async_update_start
{
    padding: 4px 5px 5px;
    padding-left: 7px;
    padding-right: 7px;
    color: #fff;
    margin: 0 0 0 0.5em;
    vertical-align: middle;
    font-size: 12px;
    font-weight: bold;
    border: none;
    border-color: var(--hairline-darker-color) var(--hairline-button-darker-color) var(--hairline-button-darker-color) var(--hairline-darker-color);
    border-radius: 5px;
    outline: none;
    cursor: pointer;
    width: auto;
    height: 25px;
    background: var(--tool-action-link-color);
}

/* RESPONSIVE DESIGN */

.classic_responsive_design.dashboard.resp_from_xs.xs #content:is(.colMS, .colSM),
.classic_responsive_design.dashboard.resp_from_sm:is(.xs, .sm) #content:is(.colMS, .colSM),
.classic_responsive_design.dashboard.resp_from_md:is(.xs, .sm, .md) #content:is(.colMS, .colSM),
.classic_responsive_design.dashboard.resp_from_lg:is(.xs, .sm, .md, .lg) #content:is(.colMS, .colSM),
.classic_responsive_design.dashboard.resp_from_xl:is(.xs, .sm, .md, .lg, .xl) #content:is(.colMS, .colSM) {
    display: flex;
    flex-flow: column;
}

.classic_responsive_design.dashboard.resp_from_xs.xs #content:is(.colMS, .colSM) #content-main,
.classic_responsive_design.dashboard.resp_from_sm:is(.xs, .sm) #content:is(.colMS, .colSM) #content-main,
.classic_responsive_design.dashboard.resp_from_md:is(.xs, .sm, .md) #content:is(.colMS, .colSM) #content-main,
.classic_responsive_design.dashboard.resp_from_lg:is(.xs, .sm, .md, .lg) #content:is(.colMS, .colSM) #content-main,
.classic_responsive_design.dashboard.resp_from_xl:is(.xs, .sm, .md, .lg, .xl) #content:is(.colMS, .colSM) #content-main {
    order: 1;
    margin-bottom: 10px;
}

.classic_responsive_design.dashboard.resp_from_xs.xs #content.colMS #content-main,
.classic_responsive_design.dashboard.resp_from_sm:is(.xs, .sm) #content.colMS #content-main,
.classic_responsive_design.dashboard.resp_from_md:is(.xs, .sm, .md) #content.colMS #content-main,
.classic_responsive_design.dashboard.resp_from_lg:is(.xs, .sm, .md, .lg) #content.colMS #content-main,
.classic_responsive_design.dashboard.resp_from_xl:is(.xs, .sm, .md, .lg, .xl) #content.colMS #content-main {
    margin-right: 0;
}

.classic_responsive_design.dashboard.resp_from_xs.xs #content.colSM #content-main,
.classic_responsive_design.dashboard.resp_from_sm:is(.xs, .sm) #content.colSM #content-main,
.classic_responsive_design.dashboard.resp_from_md:is(.xs, .sm, .md) #content.colSM #content-main,
.classic_responsive_design.dashboard.resp_from_lg:is(.xs, .sm, .md, .lg) #content.colSM #content-main,
.classic_responsive_design.dashboard.resp_from_xl:is(.xs, .sm, .md, .lg, .xl) #content.colSM #content-main {
    margin-left: 0;
}

.classic_responsive_design.dashboard.resp_from_xs.xs #content.colMS #content-main :is(.rozcestnik-header1, .rozcestnik-header),
.classic_responsive_design.dashboard.resp_from_sm:is(.xs, .sm) #content.colMS #content-main :is(.rozcestnik-header1, .rozcestnik-header),
.classic_responsive_design.dashboard.resp_from_md:is(.xs, .sm, .md) #content.colMS #content-main :is(.rozcestnik-header1, .rozcestnik-header),
.classic_responsive_design.dashboard.resp_from_lg:is(.xs, .sm, .md, .lg) #content.colMS #content-main :is(.rozcestnik-header1, .rozcestnik-header),
.classic_responsive_design.dashboard.resp_from_xl:is(.xs, .sm, .md, .lg, .xl) #content.colMS #content-main :is(.rozcestnik-header1, .rozcestnik-header) {
    margin-right: 5px;
}

.classic_responsive_design.dashboard.resp_from_xs.xs #content:is(.colMS, .colSM) #content-related,
.classic_responsive_design.dashboard.resp_from_sm:is(.xs, .sm) #content:is(.colMS, .colSM) #content-related,
.classic_responsive_design.dashboard.resp_from_md:is(.xs, .sm, .md) #content:is(.colMS, .colSM) #content-related,
.classic_responsive_design.dashboard.resp_from_lg:is(.xs, .sm, .md, .lg) #content:is(.colMS, .colSM) #content-related,
.classic_responsive_design.dashboard.resp_from_xl:is(.xs, .sm, .md, .lg, .xl) #content:is(.colMS, .colSM) #content-related {
    float: none;
    position: static;
    width: auto;
    margin-right: 0;
    margin-left: 0;
    order: 2;
}

.classic_responsive_design.dashboard.resp_from_xs.xs #content:is(.colMS, .colSM) #content-related #recent-actions-module,
.classic_responsive_design.dashboard.resp_from_sm:is(.xs, .sm) #content:is(.colMS, .colSM) #content-related #recent-actions-module,
.classic_responsive_design.dashboard.resp_from_md:is(.xs, .sm, .md) #content:is(.colMS, .colSM) #content-related #recent-actions-module,
.classic_responsive_design.dashboard.resp_from_lg:is(.xs, .sm, .md, .lg) #content:is(.colMS, .colSM) #content-related #recent-actions-module,
.classic_responsive_design.dashboard.resp_from_xl:is(.xs, .sm, .md, .lg, .xl) #content:is(.colMS, .colSM) #content-related #recent-actions-module {
    width: auto !important;
}

.classic_responsive_design.dashboard.resp_from_xs.xs #content:is(.colMS, .colSM) #content-related:not(.maximized) #map-module #celkova_mapa,
.classic_responsive_design.dashboard.resp_from_sm:is(.xs, .sm) #content:is(.colMS, .colSM) #content-related:not(.maximized) #map-module #celkova_mapa,
.classic_responsive_design.dashboard.resp_from_md:is(.xs, .sm, .md) #content:is(.colMS, .colSM) #content-related:not(.maximized) #map-module #celkova_mapa,
.classic_responsive_design.dashboard.resp_from_lg:is(.xs, .sm, .md, .lg) #content:is(.colMS, .colSM) #content-related:not(.maximized) #map-module #celkova_mapa,
.classic_responsive_design.dashboard.resp_from_xl:is(.xs, .sm, .md, .lg, .xl) #content:is(.colMS, .colSM) #content-related:not(.maximized) #map-module #celkova_mapa {
    /* anulovani nenulove minimalni a maximalni sirky mapy pro dosazeni kompaktni podoby rozcestniku, s mapou pozicovanou pod index fieldsety */
    /* plati pouze pro nemaximalizovany #content-related */
    min-width: 0;
    max-width: none;
}

.classic_responsive_design.dashboard.resp_from_xs.xs #content:is(.colMS, .colSM) #content-related :is(#summary-module, #index_souhrn) table,
.classic_responsive_design.dashboard.resp_from_sm:is(.xs, .sm) #content:is(.colMS, .colSM) #content-related :is(#summary-module, #index_souhrn) table,
.classic_responsive_design.dashboard.resp_from_md:is(.xs, .sm, .md) #content:is(.colMS, .colSM) #content-related :is(#summary-module, #index_souhrn) table,
.classic_responsive_design.dashboard.resp_from_lg:is(.xs, .sm, .md, .lg) #content:is(.colMS, .colSM) #content-related :is(#summary-module, #index_souhrn) table,
.classic_responsive_design.dashboard.resp_from_xl:is(.xs, .sm, .md, .lg, .xl) #content:is(.colMS, .colSM) #content-related :is(#summary-module, #index_souhrn) table {
    /* #index_souhrn je v #recent-actions-module, #summary-module tohoto parenta nema */
    width: auto;
}

.classic_responsive_design.dashboard.resp_from_xs.xs #content:is(.colMS, .colSM) #content-related :is(#summary-module, #index_souhrn) table td.second_column,
.classic_responsive_design.dashboard.resp_from_sm:is(.xs, .sm) #content:is(.colMS, .colSM) #content-related :is(#summary-module, #index_souhrn) table td.second_column,
.classic_responsive_design.dashboard.resp_from_md:is(.xs, .sm, .md) #content:is(.colMS, .colSM) #content-related :is(#summary-module, #index_souhrn) table td.second_column,
.classic_responsive_design.dashboard.resp_from_lg:is(.xs, .sm, .md, .lg) #content:is(.colMS, .colSM) #content-related :is(#summary-module, #index_souhrn) table td.second_column,
.classic_responsive_design.dashboard.resp_from_xl:is(.xs, .sm, .md, .lg, .xl) #content:is(.colMS, .colSM) #content-related :is(#summary-module, #index_souhrn) table td.second_column {
    text-align: right;
}

/* INDEX HEADER ROW */

.classic_responsive_design.dashboard div#container {
    min-width: 0;
}

.classic_responsive_design.dashboard table.index-header tr.index-header-row .btn_l,
.classic_responsive_design.dashboard table.index-header tr.index-header-row .btn_il,
.classic_responsive_design.dashboard table.index-header tr.index-header-row .btn_li {
    white-space: nowrap;
}

/* COMPACT INDEX HEADER ROW */

.classic_responsive_design.dashboard #content.compact_index_header_row div#rozcestnik_index_header_original_background {
    position: absolute;
    background-color: white;
}

.classic_responsive_design.dashboard #content:not(.compact_index_header_row) div#rozcestnik_index_header_original_background,
.classic_responsive_design.dashboard #content.compact_index_header_row.index_header_row_collapsed div#rozcestnik_index_header_original_background {
    display: none;
}

.classic_responsive_design.dashboard #content.compact_index_header_row.index_header_row_expanded div#rozcestnik_index_header_original_background {
    display: block;
}

.classic_responsive_design.dashboard #content.compact_index_header_row table.rozcestnik.index-header:not(.copy) {
    position: absolute;
    width: auto;
    margin-bottom: 0;
}

.classic_responsive_design.dashboard #content.compact_index_header_row table.rozcestnik.index-header:not(.copy) tr.index-header-row th:first-of-type {
    padding: 0;
}

.classic_responsive_design.dashboard #content.compact_index_header_row table.rozcestnik.index-header:not(.copy) tr.index-header-row th:first-of-type > div.header-change-link,
.classic_responsive_design.dashboard #content.compact_index_header_row table.rozcestnik.index-header:not(.copy) tr.index-header-row th:first-of-type > div.index_header_row_th_wrapper {
    margin-left: 0;
    padding: 0 9px;
    border-top: 4px double var(--darkened-bg);
    line-height: 25px;
}

.classic_responsive_design.dashboard #content.compact_index_header_row table.rozcestnik.index-header:not(.copy) tr.index-header-row th:first-of-type > * {
    float: none;
}

.classic_responsive_design.dashboard #content.compact_index_header_row table.rozcestnik.index-header:not(.copy) tr.index-header-row th:first-of-type > div:first-of-type {
    border-top: none !important;
}

.classic_responsive_design.dashboard #content.compact_index_header_row table.rozcestnik.index-header:not(.copy) tr.index-header-row th:first-of-type div.index_header_row_th_wrapper > *:not(style, script) {
    display: inline-block;
}

.classic_responsive_design.dashboard #content.compact_index_header_row table.rozcestnik.index-header:not(.copy) tr.index-header-row th:first-of-type div.index_header_row_th_wrapper a[href="?prt"] img {
    position: relative;
    top: -1px;
}

.classic_responsive_design.dashboard #content.compact_index_header_row table.rozcestnik.index-header:not(.copy) tr.index-header-row th:first-of-type div.index_header_row_th_wrapper a[href="?prt"] div.header_print_link_label {
    display: inline-block !important;
    margin-left: 2px;
}

.classic_responsive_design.dashboard #content.compact_index_header_row.index_header_row_collapsed table.rozcestnik.index-header.original {
    display: none;
}

.classic_responsive_design.dashboard #content.compact_index_header_row.index_header_row_expanded table.rozcestnik.index-header.original {
    display: table;
    min-width: 256px;
    max-width: 256px;
    z-index: 1;
}

.classic_responsive_design.dashboard.sm #content.compact_index_header_row.index_header_row_expanded table.rozcestnik.index-header.original {
    max-width: 416px;
}

.classic_responsive_design.dashboard.md #content.compact_index_header_row.index_header_row_expanded table.rozcestnik.index-header.original {
    max-width: 576px;
}

.classic_responsive_design.dashboard.lg #content.compact_index_header_row.index_header_row_expanded table.rozcestnik.index-header.original,
.classic_responsive_design.dashboard.xl #content.compact_index_header_row.index_header_row_expanded table.rozcestnik.index-header.original,
.classic_responsive_design.dashboard.xxl #content.compact_index_header_row.index_header_row_expanded table.rozcestnik.index-header.original {
    max-width: 768px;
}

.classic_responsive_design.dashboard #content.compact_index_header_row.index_header_row_expanded table.rozcestnik.index-header.original tr.index-header-row > th > div > img {
    float: none;
    width: 16px;
    height: 16px;
    position: static !important;
    top: 0 !important;
    margin-right: 4px !important;
}

.classic_responsive_design.dashboard #content.compact_index_header_row.index_header_row_expanded table.rozcestnik.index-header.original tr.index-header-row > th > div > a,
.classic_responsive_design.dashboard #content.compact_index_header_row.index_header_row_expanded table.rozcestnik.index-header.original tr.index-header-row > th .btn_il .btn_il_l,
.classic_responsive_design.dashboard #content.compact_index_header_row.index_header_row_expanded table.rozcestnik.index-header.original tr.index-header-row > th .btn_li .btn_li_l {
    font-size: 12px;
}

.classic_responsive_design.dashboard #content.compact_index_header_row.index_header_row_expanded table.rozcestnik.index-header.original tr.index-header-row > th > div.has_img_icon > img {
    float: left;
    position: relative !important;
    top: 4px !important;
    right: 1px;
    margin-right: 0 !important;
}

.classic_responsive_design.dashboard #content.compact_index_header_row.index_header_row_expanded table.rozcestnik.index-header.original tr.index-header-row > th > div.has_img_icon > a {
    display: block;
    margin-left: 23px;
}

.classic_responsive_design.dashboard #content.compact_index_header_row.index_header_row_expanded table.rozcestnik.index-header.original tr.index-header-row > th > div > a.changelink {
    display: inline-block;
    background: url('/static/admin/img/icon_changelink_14.png?92d8ac5c12a7') 1px 4px no-repeat;
    padding-left: 23px;
}

.classic_responsive_design.dashboard #content.compact_index_header_row.index_header_row_expanded table.rozcestnik.index-header.original tr.index-header-row div.index_header_row_th_wrapper.header-print-link img#gis_switch_img {
    display: inline !important;
}

.classic_responsive_design.dashboard #content.compact_index_header_row.index_header_row_expanded table.rozcestnik.index-header.original tr.index-header-row div.index_header_row_th_wrapper.header-print-link div#gis_switch {
    padding: 0;
    border-radius: 0;
    color: var(--link-hover-color);
    background-color: transparent;
}

.classic_responsive_design.dashboard #content.compact_index_header_row.index_header_row_expanded table.rozcestnik.index-header.original tr.index-header-row div.index_header_row_th_wrapper.header-print-link div#gis_switch:hover {
    color: var(--link-hover-color);
}

.classic_responsive_design.dashboard #content.compact_index_header_row table.rozcestnik.index-header.copy tr.index-header-row th#model_icon_img_th {
    width: 0;
    vertical-align: top;
}

.classic_responsive_design.dashboard #content.compact_index_header_row table.rozcestnik.index-header.copy tr.index-header-row th#model_icon_img_th img.model_icon_img {
    float: none;
    margin-right: 0;
}

.classic_responsive_design.dashboard #content.compact_index_header_row table.rozcestnik.index-header.copy tr.index-header-row th#context_obj_name_th {
    float: none;
    padding-left: 0;
    white-space: normal;
}

#content div#compact_index_header_row_toggler {
    display: none;
}

.classic_responsive_design.dashboard #content.compact_index_header_row table.rozcestnik.index-header.copy tr.index-header-row th#context_obj_name_th div#context_obj_name div#compact_index_header_row_toggler {
    display: inline-block;
    width: 20px;
    height: 20px;
    position: relative;
    top: -1px;
    margin-left: 7px;
    cursor: pointer;
}

.classic_responsive_design.dashboard #content.compact_index_header_row table.rozcestnik.index-header.copy tr.index-header-row th#context_obj_name_th div#context_obj_name div#compact_index_header_row_toggler img {
    margin-right: 0;
}

/* RESET PAGE LAYOUT */
.classic_responsive_design.dashboard a#reset_page_layout {
    white-space: nowrap;
}

/* mapa pri tisku */
.classic_responsive_design #celkova_mapa.print #tlpmap_title,
.classic_responsive_design #celkova_mapa.print #maximize {
    display: none;
}
.classic_responsive_design #celkova_mapa.print {
    margin-top: 3em;
    margin-left: 3em;
    min-width: 90%;
    min-height: 500px;
}
.classic_responsive_design #content.print #content-main {
    page-break-after: always;
}

#adminsite-map {
	position: absolute;
	margin: 0px;
	padding: 0px;
	width: 500px;
	right: 15px;
	/* some formsets flow above map without this */
	z-index: 5;
	/* fix for h2 map heading - prevent mapdiv overflow */
	overflow: hidden;
}
#adminsite-map.normal_size {
	/* minimum width - checked by resize code */
	min-width: 400px;
	height: 500px;
}
#adminsite-map.small_size {
	/* minimum width - checked by resize code */
	min-width: 380px;
	max-width: 580px;
	height: 425px;
}
#adminsite-map.maximized {
        max-width: none;
	left: 0px;
}
#scrollcontainer,
#scrollcontainer #celkova_mapa,
#scrollcontainer #adminsite-map {
        left: auto !important;
}
.map input, .map textarea, .map select {
	margin: 0px 0;
	padding: 0;
	font-weight: normal;
	font-size: 12px;
	border: none;
	vertical-align: middle;
}
.tlpmapbutton {
	position: absolute;
	top: 7px;
	right: 9px;
}
.olControlEditingToolbarExtended {
        padding-left: 80px;
	margin-top: 10px;
}

.rozcestnik td {
    width: auto;
}
.rozcestnik td, .rozcestnik th {
    white-space: normal;
}
.colMS #content-main {
    margin-right: 460px;
}
.colSM #content-main {
    margin-left: 450px;
}
#content-related {
    width: 430px;
}
#celkova_mapa {
    max-width: 428px;
    min-width: 428px;
    height: 340px;
}
.print_mapa {
    page-break-before: always;
    max-width: 15cm;
    height: 15cm;
}
div.olControlButtonSwitcher {
	left: auto;
	top: 10px;
	right: 5px;
	width: 16em;
	text-align: right;
}
.baseLayersDiv input {
	margin-right: 5px;
	background: url('/static/admin/img/admin/nav-bg.gif?a0868be71d36') repeat-x scroll left bottom #EEEEEE;
	border: 1px solid black;
	cursor: pointer;
	padding: 1px;
}
div.olControlButtonSwitcher .olButtonActive {
	border: 3px double darkblue;
}
div.location {
	bottom: 3px;
}
#maximize {
	top: 4px;
}
#tlpmap_title {
	border-bottom: 1px solid #D4D4D4;
}
/* styling mapy pri maximalizaci */
#content-related.maximized {
    float: none;
    width: 100%;
}
#celkova_mapa.maximized {
    max-width: none;
    border: none;
    margin-bottom: 0px;
    overflow: hidden;
}
#content.maximized {
    margin: 0;
}
#content-related.maximized #map-module {
    margin-bottom: 0px;
    border: none;
}
#content-related.maximized {
    margin-right: 0px;
}
#content-related.maximized #recent-actions-module.module {
    margin-bottom: 0px;
}

#main.admin-view #toolbar {
	display: none;
}
/* snaha o eliminace dvojiteho borderu mezi prvni a druhou tabulkou */
#main.admin-view #content-main table.rozcestnik.table_1 {
	border-bottom: none;
}
#main.admin-view #content-main table.rozcestnik.links {
	border-top-color: #eeeeee;
}

div#postizena_obec_msg {
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto;
    min-height: 65px;
    margin-bottom: 10px;
    font-size: 12pt;
    background-color: #edf3fe;
}

.is_bootstrap div#postizena_obec_msg {
    border: 1px solid rgba(0, 0, 0, 0.175);
    border-radius: 5px;
}

.is_bootstrap.dashboard div#postizena_obec_msg {
    margin: 0 12px 10px 12px;
}

div#postizena_obec_msg a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: inherit;
    padding: 10px;
    font-size: 15pt;
    text-decoration: underline;
    color: red;
}
