body {
	color: #1E1E1E;
	font-family: Arial, Geneva, Helvetica, sans-serif;
	font-size: 0.80em;
	font-size-adjust: none;
	font-style: normal;
	font-variant: normal;
	font-weight: normal;
	line-height: 1.7em;
	background: #FEFEFE url(../img/body_bg.jpg) repeat-x scroll 0 0;
}

h1,h2 {
	font-size: 120%;
	color: #A6CE39;
	text-transform: uppercase;
	margin-top: 0;
}

h2 { /*margin-top: 22px;*/
	
}

a {
	color: #005b7d;
	text-decoration: none;
}

a:HOVER {
	color: #00A3F8;
	text-decoration: underline;
}

select {
	width: 200px;
}

textarea {
	width: 200px;
	height: 100px;
}

/* Table */
table {
	color: #212424;
	margin: 0 0 1em 0;
	margin-top: 10px;
	border-spacing: 0;
	border-collapse: collapse;
}

tr,th,td {
	margin: 0;
	padding: 0;
	border-spacing: 0;
	border-collapse: collapse;
}

caption {
	width: 100%;
	height: 39px;
	font-size: 0;
	line-height: 0;
	text-indent: -5000em;
	background: url(caption.gif) no-repeat 98% 0;
}

caption:hover {
	background-position: 98% 100%;
}

/* HEADER */
thead {
	background: #524123;
}

//
}
);
thead tr th {
	padding: 1em 0;
	text-align: center;
	color: #FAF7D4;
	border-bottom: 3px solid #A5D768;
}

/* FOOTER */
tfoot {
	color: #fff;
	background: #524123;
}

tfoot tr th,tfoot tr td {
	padding: .2em .6em;
	border-top: 2px solid #A5D768;
}

tfoot tr th {
	
}

tfoot tr td {
	text-align: right;
}

/* BODY */
tbody tr td {
	background: #DDF0BD url(bg_cell.gif) no-repeat top left;
}

tbody tr.odd td {
	background-color: #D0EBA6;
}

tbody tr td:hover,tbody tr.odd td:hover {
	background: #c5e894;
}

tbody tr th,tbody tr td {
	padding: 0.1em 0.4em;
	border: 1px solid #a6ce39;
}

tbody tr th { /*padding-right: 1em;*/
	padding: 4px 18px;
	text-align: center;
	font-weight: normal;
	background-color: #c5e894;
	text-transform: uppercase;
}

th.orderedDesc {
	background: #c5e894 url(../img/view_sort_descending.png) no-repeat
		center left;
}

th.orderedAsc {
	background: #c5e894 url(../img/view_sort_ascending.png) no-repeat center
		left;
}

table a[href *="taimar.pri.ee"] {
	float: left;
	width: 64px;
	height: 64px;
	font-size: 0;
	text-decoration: none;
}

table a[title ^="Download"] {
	float: none;
	width: auto;
	height: auto;
	font-size: 100%;
	background: none;
}

/* LINKS */ /* style form */
form {
	
}

form input#submitbutton,input#submit {
	width: 60px;
}

form dt,#infoNomAntic-label {
	width: 200px;
	display: inline;
	float: left;
	clear: left;
	background-color: #C5E894;
	border: 1px solid #A6CE39;
	min-height: 25px;
	margin-right: 10px;
	padding: 2px;
}

form dd {
	margin-left: 0;
	/*float: left;*/
	margin-bottom: 4px;
	min-height: 25px;
}

/*
#filetreeInput-label, #ruta-label, #nomAntic-label, #id_alarma-label, #element-label, #alarmadeque-label, #id_element-label, #submit-label, #id_alerta-label, #id_moviment-label, #submit-label, #id_activitat-label, #id_representacio-label, #id_inspeccio-label, #id_movterra-label, #id_expedient-label,#id_controls_movterra-label  {
	visibility: hidden; 
}
*/
#activitats-element {
	margin-top: 40px;
}

td.submitTd {
	text-align: center;
}

/*form #submitbutton {
    margin: 0 auto;
}*/
ul.errors li {
	color: red;
}

#container_id { /*width: 400px;*/ /*border: 1px solid #ccc*/
	
}

#formCanviaNom {
	float: right;
	display: none;
}

#formAuxiliar {
	display: none;
	width: 49%;
	float: right;
	/*position: relative;*/
}

#formAuxiliar h2 {
	text-align: right;
}

#formAuxiliar form {
	float: right;
}

#formAuxiliar table {
	float: right;
}

div#home {
	display: inline;
	float: left;
	padding-left: 25px;
	background: transparent url(../img/folder_home.png) no-repeat 5px center;
	font-size: 92%;
}

a.detallControl {
	cursor: pointer;
}

div#formPrincipal {
	width: 49%;
}

div#formPrincipal table {
	width: 100%;
}

div#footer {
	border: 1px solid #A6CE39;
	height: 80px;
	clear: left;
}

div#hd {
	height: 145px;
	background: transparent url(../img/header_bg.png) repeat-x scroll 0 0;
	width: 100%;
}

div#logoGo {
	float: left;
	background: transparent url(../img/logo_govern.png) no-repeat scroll 0 0
		;
	width: 300px;
	height: 80px;
}

div#logoMa {
	float: right;
	background: transparent url(../img/logo_ma.png) no-repeat scroll 0 0;
	height: 145px;
	width: 273px;
}

div#logoEg {
	float: left;
	background: transparent url(../img/eurogeotecnica.png) no-repeat scroll
		0 0;
	width: 300px;
	height: 60px;
}

div#logoAm {
	float: right;
	background: transparent url(../img/ambiotec.jpg) no-repeat scroll 0 0;
	width: 113px;
	height: 60px;
}

div#doc3 {
	background-color: #FEFEFE;
}

div#toolbar {
	background-color: #D5DDF3;
	text-align: right;
	height: 20px;
}

div#toolbar p {
	padding-right: 5px;
	font-size: 92%;
}

div#bd {
	padding: 20px 5px;
}

div#ft {
	border-top: 1px solid #ccc;
	padding-top: 10px;
	color: #4c4c4c;
	text-align: center;
}

form#login,p.error {
	margin-bottom: 200px;
}

.addElement,.linkElement {
	float: right;
	cursor: pointer;
}

form {
	float: left;
}

td.tria {
	text-align: center;
}

/*alarmes*/
td.alarma1,td.alarma1:hover {
	background-color: red;
}

td.alarma2,td.alarma2:hover {
	background-color: yellow;
}

td.alarma3,td.alarma3:hover {
	background-color: green;
}

.veureAlarma {
	cursor: pointer;
}

ul.list {
	list-style-type: none;
	list-style-position: inside;
	margin: 0;
	padding: 0;
	width: 250px;
}

ul.list li {
	-x-system-font: none;
	background-color: #F5F5F5;
	border: 2px solid #E5E5E5;
	font-family: Verdana, Geneva, sans-serif;
	font-size: 11px;
	font-size-adjust: none;
	font-stretch: normal;
	font-style: normal;
	font-variant: normal;
	font-weight: normal;
	line-height: normal;
	margin-top: 5px;
	padding: 10px;
	/*width:250px;*/
}

img.desvincula {
	cursor: pointer;
	margin-right: 5px;
}

img.desvinculaDoc {
	cursor: pointer;
	margin-right: 5px;
}

#formAuxiliar ul.errors {
	display: none;
}
#controlToggle li {
	display: inline;
}
div#map {
	float: right;
}
/*openlayers*/
div.olMap {
	z-index: 0;
    padding: 0px!important;
    margin: 0px!important;
    cursor: default;
}

div.olMapViewport {
    text-align: left;
}

div.olLayerDiv {
   -moz-user-select: none;
}

.olLayerGoogleCopyright {
    left: 2px;
    bottom: 2px;  
}
.olLayerGooglePoweredBy {
    left: 2px;
    bottom: 15px;   
}
.olControlAttribution {
    font-size: smaller; 
    right: 3px; 
    bottom: 4.5em; 
    position: absolute; 
    display: block;
}
.olControlScale {
    right: 3px;
    bottom: 3em;
    display: block;
    position: absolute;
    font-size: smaller;
}
.olControlScaleLine {
   left: 10px;
   bottom: 15px;
   font-size: xx-small;
}
.olControlScaleLineBottom {
   border: solid 2px black;
   border-bottom: none;
   margin-top:-2px;
   text-align: center;
}
.olControlScaleLineTop {
   border: solid 2px black;
   border-top: none;
   text-align: center;
}

.olControlPermalink {
    right: 3px;
    bottom: 1.5em;
    display: block;
    position: absolute;
    font-size: smaller;
} 

div.olControlMousePosition {
    bottom: 0em;
    right: 3px;
    display: block;
    position: absolute;
    font-family: Arial;
    font-size: smaller;
}

.olControlOverviewMapContainer {
    position: absolute;
    bottom: 0px;
    right: 0px;
}

.olControlOverviewMapElement {
    padding: 10px 18px 10px 10px;
    background-color: #00008B;
    -moz-border-radius: 1em 0 0 0;
}

.olControlOverviewMapMinimizeButton {
    right: 0px;
    bottom: 80px;
}    

.olControlOverviewMapMaximizeButton {
    right: 0px;
    bottom: 80px;
}

.olControlOverviewMapExtentRectangle {
    overflow: hidden;
    background-image: url("img/blank.gif");
    cursor: move;
    border: 2px dotted red;
}
.olControlOverviewMapRectReplacement {
    overflow: hidden;
    cursor: move;
    background-image: url("img/overview_replacement.gif");
    background-repeat: no-repeat;
    background-position: center;
}

.olLayerGeoRSSDescription {
    float:left;
    width:100%;
    overflow:auto;
    font-size:1.0em;
}
.olLayerGeoRSSClose {
    float:right;
    color:gray;
    font-size:1.2em;
    margin-right:6px;
    font-family:sans-serif;
}
.olLayerGeoRSSTitle {
    float:left;font-size:1.2em;
}

.olPopupContent {
    padding:5px;
    overflow: auto;
}    
.olControlNavToolbar { 
    width:0px;
    height:0px;
}    
.olControlNavToolbar div { 
  display:block;
  width:  28px;
  height: 28px;
  top: 300px;
  left: 6px;
  position: relative;
}

.olControlNavigationHistory {
   background-image: url("img/navigation_history.png");
   background-repeat: no-repeat;
   width:  24px;
   height: 24px;

}
.olControlNavigationHistoryPreviousItemActive { 
  background-position: 0px 0px;
}
.olControlNavigationHistoryPreviousItemInactive { 
   background-position: 0px -24px;
}
.olControlNavigationHistoryNextItemActive { 
   background-position: -24px 0px;
}
.olControlNavigationHistoryNextItemInactive { 
   background-position: -24px -24px;
}

.olControlNavToolbar .olControlNavigationItemActive { 
  background-image: url("img/panning-hand-on.png");
  background-repeat: no-repeat;
}
.olControlNavToolbar .olControlNavigationItemInactive { 
  background-image: url("img/panning-hand-off.png");
  background-repeat: no-repeat;
}
.olControlNavToolbar .olControlZoomBoxItemActive { 
  background-image: url("img/drag-rectangle-on.png");
  background-color: orange;
  background-repeat: no-repeat;
}
.olControlNavToolbar .olControlZoomBoxItemInactive { 
  background-image: url("img/drag-rectangle-off.png");
  background-repeat: no-repeat;
}
.olControlEditingToolbar  {
    float:right;
    right: 0px;
    height: 30px; 
    width: 200px;
}
.olControlEditingToolbar div { 
  background-image: url("img/editing_tool_bar.png");
  background-repeat: no-repeat;
  float:right;
  width:  24px;
  height: 24px;
  margin: 5px;
}
.olControlEditingToolbar .olControlNavigationItemActive { 
  background-position: -103px -23px; 
}
.olControlEditingToolbar .olControlNavigationItemInactive { 
  background-position: -103px -0px; 
}
.olControlEditingToolbar .olControlDrawFeaturePointItemActive { 
  background-position: -77px -23px; 
}
.olControlEditingToolbar .olControlDrawFeaturePointItemInactive { 
  background-position: -77px -0px; 
}
.olControlEditingToolbar .olControlDrawFeaturePathItemInactive { 
  background-position: -51px 0px; 
}
.olControlEditingToolbar .olControlDrawFeaturePathItemActive { 
  background-position: -51px -23px; 
}
.olControlEditingToolbar .olControlDrawFeaturePolygonItemInactive { 
  background-position: -26px 0px; 
}
.olControlEditingToolbar .olControlDrawFeaturePolygonItemActive { 
  background-position: -26px -23px ;                                                                   
}
.olControlSaveFeaturesItemActive { 
    background-image: url(img/save_features_on.png);
    background-repeat: no-repeat;
    background-position: 0px 1px;
}
.olControlSaveFeaturesItemInactive { 
    background-image: url(img/save_features_off.png);
    background-repeat: no-repeat;
    background-position: 0px 1px;
}

.olHandlerBoxZoomBox {
    border: 2px solid red;
    position: absolute;
    background-color: white;
    opacity: 0.50;
    font-size: 1px;
    filter: alpha(opacity=50);
}
.olHandlerBoxSelectFeature {
    border: 2px solid blue;
    position: absolute;
    background-color: white;
    opacity: 0.50;
    font-size: 1px;
    filter: alpha(opacity=50);
}   

.olControlPanPanel {
    top: 10px;
    left: 5px;
}  

.olControlPanPanel div {
    background-image: url(img/pan-panel.png);
    height: 18px;
    width: 18px;
    cursor: pointer;
    position: absolute;
}

.olControlPanPanel .olControlPanNorthItemInactive {
    top: 0px;
    left: 9px;
    background-position: 0px 0px;
}
.olControlPanPanel .olControlPanSouthItemInactive {
    top: 36px;
    left: 9px;
    background-position: 18px 0px;
}
.olControlPanPanel .olControlPanWestItemInactive {
    position: absolute;
    top: 18px;
    left: 0px;
    background-position: 0px 18px;
}
.olControlPanPanel .olControlPanEastItemInactive {
    top: 18px;
    left: 18px;
    background-position: 18px 18px;
}

.olControlZoomPanel {
    top: 71px;
    left: 14px;
} 

.olControlZoomPanel div {
    background-image: url(img/zoom-panel.png);
    position: absolute;
    height: 18px;
    width: 18px;
    cursor: pointer;
}

.olControlZoomPanel .olControlZoomInItemInactive {
    top: 0px;
    left: 0px;
    background-position: 0px 0px;
}

.olControlZoomPanel .olControlZoomToMaxExtentItemInactive {
    top: 18px;
    left: 0px;
    background-position: 0px -18px;
}

.olControlZoomPanel .olControlZoomOutItemInactive {
    top: 36px;
    left: 0px;
    background-position: 0px 18px;
}

.olPopupCloseBox {
  background: url("img/close.gif") no-repeat;
  cursor: pointer;
}

.olFramedCloudPopupContent {
    padding: 5px;
    overflow: auto;
}

.olControlNoSelect {
 -moz-user-select: none;
}

/**
 * Cursor styles
 */

.olCursorWait {
    cursor: wait;
}
.olDragDown {
    cursor: move;
}
.olDrawBox {
    cursor: crosshair;
}
.olControlDragFeatureOver {
    cursor: move;
}
.olControlDragFeatureActive.olControlDragFeatureOver.olDragDown {
    cursor: -moz-grabbing;
}


