/*** Common ***/
body {
	font-family: tahoma,arial,helvetica !important;
	font-size:11px !important;
}

p {
	margin:0.6em 0 0.6em 0;
}

label {
	font-size:12px !important;
	display: block;
}

#loading-panel {
	position:absolute;
	z-index:999;
	background-color:#FFFFFF;
	top:0;
	left:0;
	width:100%;
	height:100%;
}

#loading-box {
	position:absolute;
	z-index:999;
	height:150px;
	width:400px;
	margin-top:-125px;
	margin-left:-200px;
	top:50%;
	left:50%;
	background-color: white;
    box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.1);
	border: 1px solid #EBEBEB;
}

#loading-content {
	padding:30px;
	border-bottom: 1px solid #EBEBEB;
}

#loading-content #loading-logo {
	background-image: url(../img/logo.png);
	width:78px;
	height:50px;
	float:left;
	margin-right: 30px;
	margin-left: -10px;
	margin-top: -10px;
}

#loading-content span#head1 {
	display:block;
	font-size:15px;
}

#loading-content span#head2 {
	display:block;
	font-size:15px;
}

#loading-progress {
	padding:0;
	margin:0;
}

#loading-text {
	float:left;
	position:relative;
	top:10px;
	left:140px;
}

#loading-icon {
	float: left;
	margin-left: 360px;
	margin-top: -5px;
	width:16px;
	height:16px;
	background-image: url(../img/progress1.gif);
}

/* Layout */

.ui-layout-pane { /* all 'panes' */ 
	background: #FFF; 
	border: none; 
	padding: 0px !important;
	margin: 0px !important;
	/*overflow: hidden;*/
} 

.ui-layout-resizer { /* all 'resizer-bars' */ 
	background-color: #E5E5E5 !important;
	border: 0 solid #E5E5E5;
	opacity: 1;
} 

.ui-layout-toggler { /* all 'toggler-buttons' */ 
	background: #AAA; 
} 

.ui-layout-toggler-west-closed {
	background: #F5F5F5 url('../img/expand-panel-arrow.png') no-repeat scroll center 25px !important;
	border: 1px solid #E5E5E5 !important;
	height: 100% !important;
	width: 20px;
	opacity: 1;
}

.ui-layout-toggler-east-closed {
	background: #F5F5F5 url('../img/collapse-panel-arrow.png') no-repeat scroll center 25px !important;
	border: 1px solid #E5E5E5 !important;
	height: 100% !important;
	width: 20px;
	opacity: 1;
}

.ui-layout-pane-north {
	border: 1px solid #E5E5E5 !important;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
	z-index: 201 !important;
}

.ui-layout-pane-west {
	border: 0px solid #BBBBBB !important;
}

.ui-layout-pane-center {
	border: 0px solid #BBBBBB !important;
}

.ui-layout-pane-south {
	border: 1px solid #E5E5E5 !important;
}

/* Header */
#header {
	width:100%;
	height:100%;
	background-color:#F5F5F5;
}

/* Search */
#header #search-box {
	padding:15px 0 0 270px;
	float: left;
}

#header #search-input {
	font-size: 13px;
	border: 1px solid #B9B9B9;
	box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);
	-webkit-box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);
	min-width: 500px;
	border-radius: 1px;
	-webkit-border-radius: 1px;
	height: 28px;
	padding: 0 0 0 5px;
	margin: 0 0 0 0;
	border-color: silver #D9D9D9 #D9D9D9;
	float:left;
	color:#808080;
	line-height: 28px;
}

#header #search-input-clear {
	width:8px;
	height:8px;
	background: white url('../img/input-clear1.png') no-repeat;
	display:block;
	position: relative;
	float:left;
	left: -16px;
	top: 11px;
    cursor: pointer;
}

#header #pomoc {
	display: block;
	float: right;
	margin: 12px 15px 0 0;
	width: 32px;
}

.ui-autocomplete-loading { background: white url('../img/ui-anim_basic_16x16.gif') 96% center no-repeat;}

ul.ui-autocomplete li.ui-autocomplete-category {
	font-size:13px;
	color:black;
	background-color:#EFEFEF;
	line-height: 30px;
	font-weight: bold;
	padding-left: 5px;
	border-bottom: 1px solid #D9D9D9;
}

ul.ui-autocomplete li.ui-menu-item a {
	font-size:12px;
	color:black;
	background-color:white;
	margin:0 !important;
	padding: 0.3em 0.9em;
}

ul.ui-autocomplete li.ui-menu-item #ui-active-menuitem {
	font-size:12px;
	color:black;
	background:none !important;
	background-color: #FFD956 !important;
	border:none !important;
	margin:0 !important;
}

#header #search-btn {
    background: -moz-linear-gradient(center top , #FFF3AF 31%, #FFD956 83%) repeat scroll 0 0 rgba(224, 168, 47, 0.8);
	background-image: -webkit-gradient(linear,left top,left bottom,color-stop(0.31,#fff3af),color-stop(0.83,#ffd956));
	background-color: #FFE88B;
    border: 1px solid #E0A82F;
    color: #333333;
    cursor: pointer;
    font-size: 11px !important;
    font-weight: bold;
	height:29px;
    margin: 0;
    overflow: visible;
    padding: 4px 10px 4px 10px;
}

/* West panel */
#toogle-west-panel-arrow {
	float:right;
	display:block;
	width:30px;
	height:30px;
	text-align:center;
	background:url('../img/collapse-panel-arrow.png') no-repeat scroll center center;
	cursor:pointer;
	/*border:1px solid;*/
}

#west-header-toolbar .ui-button {
	margin-right:2px;
}

#west-header-toolbar {
	height:30px;
	border-bottom:1px solid #E5E5E5;
	padding:15px 0 15px 10px;
}

#west-header-toolbar-btn {
	float:left;
}

#west-panels {
	padding:15px 10px 0 10px;
	overflow: auto;
	height: 85%;
}

/* East panel */
#toogle-east-panel-arrow {
    background: url("../img/expand-panel-arrow.png") no-repeat scroll center center transparent;
    cursor: pointer;
    display: block;
    float: left;
    height: 30px;
    text-align: center;
    width: 30px;
}

#east-header-toolbar {
	height:30px;
	border-bottom:1px solid #E5E5E5;
	padding:15px 0 15px 10px;
}

#east-panels {
	padding:15px 10px 0 10px;
}

/* Map type switcher */
#map-accordion-type-switcher a {
	font-size:11px;
}

#map-accordion-type-switcher .map-accordion-type-switch-button {
	float:left;
    background: -moz-linear-gradient(center top , rgba(66, 115, 169, 0.95) 0pt, rgba(65, 85, 117, 0.95) 100%) repeat scroll 0 0 transparent;
	background: -webkit-linear-gradient(top,rgba(66, 115, 169, 0.95) 0,rgba(65, 85, 117, 0.95) 100%);
	background-color: #51658D;
    color: #FFFFFF;
    cursor: pointer;
    display: block;
    font-size: 11px !important;
    font-weight: bold;
    min-width: 4em;
    padding: 5px 5px;
	margin: 10px 0 0 0;
    text-decoration: none;
	opacity: 0.9;
	border:none;
}

#map-accordion-type-switcher .map-type-desc {
	margin: 0 0 5px 0;
}

/* Map type switch box */
#map-type-switcher {
}

#map-type-switcher-panel-combo-div {
	margin-bottom:10px;
}

.switch-box {
	width:245px;
	margin-bottom:5px;
    cursor: pointer;
	/*-khtml-box-shadow: 0px 1px 10px #666;
	-webkit-box-shadow: 0px 1px 10px #666;
	box-shadow: 0 0 2px 2px #999;*/
	background-color: #F8F8F8;
}

.switch-box:hover {
	width:245px;
	margin-bottom:5px;
    cursor: pointer;
	background-color: #F2F1F1;
}

.switch-box.state-active {
	background-color: #F2F1F1;
}

.switch-box.first {
	/*margin-bottom: 15px;*/
}

.switch-box-menu span.state-active {
	background-color: #F2F1F1;
}

.switch-box .inner-boundary {
	border: 1px solid #C9C9C9;
	padding: 10px;
	height:80px;
}

.switch-box img {
	border: 1px solid #C4BFBF;
	float:left;
	margin-right:10px;
}

.switch-box h5 {
	font-size:11px;
	margin:0;
}

.switch-box p {
	color:#413C3C;
}

.switch-box-menu {
	display:none;
	margin-bottom:5px;
	border: 1px solid #C4BFBF;
}

.switch-box-menu span {
    margin:0;
    padding:0;
	display:block;
	border-bottom: 1px solid #C4BFBF;
	padding:5px 0 5px 10px;
    cursor: pointer;
}

.switch-box-menu span.last {
	border-bottom: none;
}

.switch-box-menu span:hover {
	background-color: #F2F1F1;
}


/* Map combo type switcher */
#map-combo-type-switcher {
	position:absolute;
	right:15px;
	top:15px;
	cursor:pointer;
	background-color:white;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

#map-combo-type-switcher .header {
	width:115px;
	height:12px;
	display:block;
	padding:5px 5px 5px 10px;
	border:solid 1px #ccc;
}

#map-combo-type-switcher .title {
	float:left;
}

#map-combo-type-switcher .arrow {
	width:7px;
	height:12px;
	float:right;
	margin-left:10px;
	background: url('../img/arrow-down.png') no-repeat scroll 0 5px transparent;
}

#map-combo-type-switcher ul {
	display:none;
	margin:1px 0 0 0;
	padding:0;
	border: 1px solid #C9C9C9;
}

#map-combo-type-switcher li {
	list-style: none;
	height:18px;
	padding: 5px 0 0 10px;
	border-bottom: 1px solid #C9C9C9;
}

#map-combo-type-switcher li.active {
	background-color: #F2F1F1;
}

#map-combo-type-switcher li.last {
	border-bottom:none !important;
}

#map-combo-type-switcher li:hover {
	background-color: #F2F1F1;
}


/* Legend tree */
#legend-tree {
	display:block;
	width:200px;
	height:300px;
	margin:10px 0 0 0;
}

.dynatree-container {
	border:none !important;
}

/* Legend */

#legend-items {
}

.legend-item {
	clear:both;
	margin-bottom:5px;
}

.legend-title {
	margin:0 0 5px 0;
	font-size:12px;
	font-weight:bold;
}

.legend-img {
	margin:0 0 0 10px;
}

table.legend-subitems {
	margin: 0 0 0 10px;
}

table.legend-subitems td {
	font-size:11px;
}

table.legend-subitems td.col1 {
	width:30px;
}


/* Print panel */
#print-panel label {
	display:block;
	margin-bottom:5px;
}

#print-panel #execute {
	display:block;
	margin-top:10px !important;
}


/*** Center panel ***/

/* Toolbar */
#toolbar {
	position:absolute;
	top:10px;
	left:10px;
	z-index:10;
	padding:3px 3px 3px 3px;
	border:1px solid #E5E5E5;
	background-color:white;
	height:34px;
	/*-khtml-box-shadow: 0px 1px 10px #666;
	-webkit-box-shadow: 0px 1px 10px #666;
	box-shadow: 0 0 1px 1px #999;*/
	box-shadow: 0 1px 2px rgba(0,0,0,0.1);
	-webkit-box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

#toolbar .button-group {
	float:left;
	margin-right:8px;
}

#toolbar .ui-button-text-only .ui-button-text {
    padding:6px 8px 0 7px;
}

/* Map */

#mapview {
	position:absolute;
	top:0;
	left:0;
	right:0;
	bottom:30px;
	border: none;
	overflow: hidden;
}

#panzoombar {
	position:absolute;
	top:60px !important;
	left:10px !important;
	z-index:10;
}

/* Quick map type switcher */
/*
#map-type-switcher {
	width:70px;
	height:70px;
	position:absolute;
	top:85px;
	right:15px;
	left:75px;
	background: no-repeat url('../img/ortofoto.jpg');
    cursor: pointer;
	-khtml-box-shadow: 0px 1px 10px #666;
	-webkit-box-shadow: 0px 1px 10px #666;
	box-shadow: 0 0 2px 2px #999;
}*/

/* Overviewmap */
#overview-map {
	width:150px;
	height:150px;
}

.olControlOverviewMapMaximizeButton {
    bottom: 0px !important;
    cursor: pointer;
    right: 0;
}

.olControlOverviewMapMinimizeButton {
    bottom: 0px !important;
    cursor: pointer;
    right: 0;
}

/* Footer */
.footer {
	position:absolute;
	bottom:0px;
	width:100%;
	height:30px;
	border-top:1px solid #E5E5E5;
	font-size:12px !important;
}

.footer #scale {
	display:block;
	float:left;
	padding:10px 0 0 20px;
	cursor: pointer;
}

.footer #mouse-position {
	display:block;
	float:left;
	padding:10px 0 0 20px;
}

.footer #scaleline {
	float:right;
	right:10px;
	width:100px;
	margin:10px 0 0 0;
}

.footer #map-loading {
	float:right;
	display:visible;
	margin:8px 10px 0 0;
	background-image:url(../img/progress1.gif);
	background-repeat:no-repeat;
	height: 16px;
	width: 16px;
}

/* qtip */
.ui-tooltip, .qtip {
	max-width: 680px !important;
}

/* Feature info */
table.featureInfo {
	min-width: 475px;
	width: auto;
	margin-bottom: 10px;
}

table.featureInfo, table.featureInfo th, table.featureInfo td {
	border:1px solid #ddd;
	border-collapse:collapse;
	padding: 3px 0 3px 3px;
	font-size: 11px;
}

table.featureInfo th {
	margin:0;
	padding:.2em .2em;
	text-transform:uppercase;
	font-weight:bold;
	background:#eee;
}

table.featureInfo td {
	background:#fff;
	height:18px;
}

table.featureInfo tr.odd td {
	margin:0;
	background:#FBFBFB;
}

table.featureInfo caption{
	margin:0;
	text-align:left;
	font-size:100%;
	font-weight:bold;
	text-transform:uppercase;
	padding:5px 0 5px 0;
}

/* Annotation Toolbar */
#annotation-toolbar .ui-button-text-only .ui-button-text {
	padding:2px 3px 1px 3px;
}

/* WfsSearcher */
.ogcFilter{
	float:left;
}

.ogcFilter button, .ogcFilter input {
	margin:5px 5px 5px 0px;
}

.ogcFilter div.clear{
	clear: both;
}

.ogcFilter div.buttons{
	float:none;
	padding: 0px;
}

.ogcFilter #paramContainer {
	margin-top:10px;
}


.ogcFilter #paramContainer label {
	display: inline-table;
}

.ogcFilter #paramContainer ul {
	list-style: none;
}

.ogcFilter #paramContainer li {
	padding-left: 6px;
}

.ogcFilter .btnRemoveParam {
	background-image: url("../img/delete16.png");
	border-style: hidden;
	width:16px;
	height:16px;
	margin-top: 3px;
	vertical-align: top;
	margin-left: 5px;
	display: inline-table;
} 

/* WfsReporter */
#wfsreporter-elems-list-table {
	margin:10px 0;
	border-collapse:collapse;
}

#wfsreporter-elems-list-table .wfsreporter-show-on-map {
	background-image: url("../img/locate-on-map.png");
	width:16px;
	height:16px;
    cursor: pointer;
}

#wfsreporter-elems-list-table tr, #wfsreporter-elems-list-table td {
    border: 1px solid #A2A0A0;
    padding: 4px;
}

/* WfsSearcher */
#wfssearcher-elems-list-table td {
    cursor: pointer;
}

#parValue {
    border-color: silver;
    border-style: solid;
    border-width: 1px;
}

/* exTworzenieElementow */
#tworz-elem-list {
    border: 1px solid #D7D7D9 !important;
    height: 120px;
    margin: 0 0 10px;
    width: 245px;
}
