#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;
}

/* SLIMBOX */

#lbOverlay {
	position: fixed;
	z-index: 9999;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: #000;
	cursor: pointer;
}

#lbCenter, #lbBottomContainer {
	position: absolute;
	overflow: hidden;
	background-color: #fff;
}

#lbCenter {
        z-index: 10000;
}

#lbBottomContainer {
        z-index: 9999;
}

.lbLoading {
	background: #fff url('/static/admin/js/slimbox2/css/loading.gif?71b74bc02b0b') no-repeat center;
}

#lbImage {
	position: absolute;
	left: 0;
	top: 0;
	border: 10px solid #fff;
	background-repeat: no-repeat;
}

#lbPrevLink, #lbNextLink {
	display: block;
	position: absolute;
	top: 0;
	width: 50%;
	outline: none;
}

#lbPrevLink {
	left: 0;
	background: transparent url('/static/admin/js/slimbox2/css/prevlabel.gif?71b74bc02b0b') no-repeat 0 15%;
}

#lbNextLink {
	right: 0;
	background: transparent url('/static/admin/js/slimbox2/css/nextlabel.gif?71b74bc02b0b') no-repeat 100% 15%;
}

#lbBottom {
	font-size: 10px;
	color: #666;
	line-height: 1.4em;
	text-align: left;
	border: 10px solid #fff;
	border-top-style: none;
}

#lbCloseLink {
	display: block;
	float: right;
	width: 66px;
	height: 22px;
	background: transparent url('/static/admin/js/slimbox2/css/closelabel.gif?71b74bc02b0b') no-repeat center;
	margin: 5px 0;
	outline: none;
}

#lbCaption, #lbNumber {
	margin-right: 71px;
}

#lbCaption {
	font-weight: bold;
}

/*
* Zduplikovana vybrana cast mapa_na_indexu.css
* pro pripad, kdy mame fotky, ale ne mapu.
*/

.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;
}


:root {
    --bs-card-border-width: 1px;
    --bs-card-border-color: var(--bs-border-color-translucent);
}

.dashboard div.container-fluid div.photo_gallery div.card {
    border: var(--bs-card-border-width) solid var(--bs-card-border-color);
    border-radius: 5px;
}

.dashboard div.container-fluid div.photo_gallery div.card-header {
    padding: 0 12px 0 16px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.dashboard div.container-fluid div.photo_gallery div.card-header > div.row {
    min-height: 33px;
}

.dashboard div.container-fluid div.photo_gallery div.card-header div.gallery_label h1.card-title {
    margin: 0;
    padding: 0;
    font-size: 14px;
    -webkit-text-stroke: 0.7px var(--bs-card-border-color);
}

.dashboard div.container-fluid div.photo_gallery div.card-header div.gallery_open_button button#show_lightbox {
    height: 28px !important;
    cursor: pointer;
}

.dashboard div.container-fluid div.photo_gallery div.card-body {
    margin: 0;
    padding: 5px;
    text-align: center;
}

.dashboard div.container-fluid div.photo_gallery div.card-footer {
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    background-color: #efefef;
    text-align: center;    
}

.dashboard div.container-fluid div.photo_gallery div.card-footer div.photo_description,
.dashboard div.container-fluid div.photo_gallery div.card-footer div.no_photo_description {
    font-size: 14px;
}

.aktualni-stav {
    display: inline-block;
}
.aktualni-stav div {
    display: flex;
    flex-flow: column;
    align-items: center;
    margin: 5%;
    text-align: center;
}

tr.spa_1 td {
  background-color: #F0F8FF;
}
tr.spa_2 td {
  color: white;
  background-color: blue;
}
tr.spa_3 td {
  background-color: #81E240;
}
tr.spa_4 td {
  background-color: #FFD700;
}
tr.spa_5 td {
  color: white;
  background-color: red;
}
tr.spa_6 td {
  color: white;
  background-color: #8A2BE2;
}
