#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?6f2ee6d7a9a3') 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;
}
