br {
	clear: both;
}

div#tcal {
	position: fixed;
}

div#tcal table {
	line-height: 1em;
}

.fdsnevent #mapresults {
	margin: 10px auto 5px auto;
	width: 95%;
	height: 450px;
	display: none;
}

#clearfilter, #loadall {
	cursor: pointer;
}

#filtershade {
	display: none;
	position: absolute;
	background: rgba(0,0,0,0.5);
	left: 0;
	top: 0;
	width: 100%;
	min-height: 100%;
	z-index: 1001;
}

#filtercontrols {
	position: fixed;
	middle:0;
	left: 50%;
	top: 30%;
	width: 600px;
	min-height: 350px;
	margin: -175px 0 0 -300px;;
	background: white;
	border: 1px Solid black;
	border-radius: 5px;
	z-index: 1002;
	padding: 10px;
}

#filtercontrols div table {
	line-height: 1em;
}

#filtercontrols input#close {
	float: right;
	width: 1.8em;
	height: 1.8em;
	padding: 0;
}

#filtercontrols input[type=button] {
	margin: 0 auto 0 5px;
}

#filtercontrols div select {
	width: 190px;
	padding: 5px;
}

#filtercontrols div input {
	width: 170px;
	padding-right: 20px;
}

#filtercontrols div {
	float: left;
	margin: 0 5px 0 0;
}

.fdsnevent {
	margin: 0 auto 0 auto;
	width: 100%;
	min-height: 200px;
	border: 1px Solid black;
}

.fdsnevent #disclaimer {
	clear: both;
	text-align: center;
	margin: 10px 0 5px 0;
}

.fdsnevent #disclaimer p {
	font-size: 0.8em;
	padding: 0;
}

.fdsnevent #filters {
	clear: both;
	margin: 5px 0 5px 0;
	text-align: center;
	font-size: 85%; 
}

.fdsnevent #controlsmessage p {
	width: 70%;
	line-height: 1.3em;
	margin: 0 auto 0 auto;
	text-align: center;
	font-size: 85%;
	color: darkred;
}

.fdsnevent #results {
	margin: 10px 0 5px 0;
	width: 100%;
	padding: 10px;
	background: #fff;
}

.fdsnevent #results th {
	text-align: center;
	padding: 0 0 5px 0;
}

.fdsnevent #results tr.odd > td {
	background: #f8fafb;
	border-bottom: 2px Solid white;
}

.fdsnevent #results tr.even > td {
	background:  #cddfe8;
	border-bottom: 2px Solid white;
}

.fdsnevent #results tr.warn > td{
	background: #FFBE70;
	border-bottom: 2px Solid white;
}

.fdsnevent #results tr.alert > td {
	background: #FF6053;
	border-bottom: 2px Solid white;
}

span.ui-icon {
	float: right;
	display: inline-block;
}

.link {
 cursor:pointer;
}

/*
 * Controls
 */
.fdsnevent #controls {
	text-align: center;
	margin: 10px 0 5px 0;
	padding: 5px;
}

.fdsnevent #controls input {
	margin:0 2px 0 0px;
}

#filter {
}

#mode {
}

#download { 
}

#prev, #next, #plus, #minus {
	width: 1.8em;
}

#next, #plus {
	float: right;
}

#prev, #minus {
	float: left;
}

#all {
	//
}

#first {
	//
}

/*
 * Event Table
 */

th {
	font-size: 115%;
}

td#origin {
	font-family: monospace;
	text-align: center;
	width: 220px;
}

td#latitude {
	font-family: monospace;
	text-align: center;
	width: 70px;
}

td#longitude {
	font-family: monospace;
	text-align: center;
	width: 70px;
}

td#depth {
	font-family: monospace;
	text-align: center;
	width: 80px;
}

td#modo {
	font-family: monospace;
	text-align: center;
	width: 20px;
}

.A {
	color: red;
}

.M {
	color: green;
}

td#magnitude {
	font-family: monospace;
	text-align: center;
	width: 110px;
}

td#region {
	font-style: italic
	padding: 0 0 0 5px;
}

.fdsnevent #results th#region {
	text-align: left;
}

/*
 * Legenda
 */
.fdsnevent #maplegend {
	display:none;
	width: 95%;
	min-height: 40px;
	margin: 5px auto 3px auto;
}

.fdsnevent #maplegend br {
	line-height: 0;
	clear: both;
}

.legenditem {
	position: relative;
	float: left;
	width: 95px;
	height: 45px;
	padding: 5px 0 2px 0;
	margin: 5px 0 0 0;
	text-align: center;
	font-size: 90%;
	display: block;
}

.prof1 {
	width: 10px;
	height: 10px;
	margin: 0px 5px 0px 10px;
	border-radius: 00%;
	background: #0085FF;
	display: inline-block;
	vertical-align: middle;
}

.prof2 {
	width: 10px;
	height: 10px;
	margin: 0px 5px 0px 10px;
	border-radius: 00%;
	background: #FF7800;
	display: inline-block;
	vertical-align: middle;
}

.prof3 {
	width: 10px;
	height: 10px;
	margin: 0px 5px 0px 13px;
	border-radius: 00%;
	background: #940006;
	display: inline-block;
	vertical-align: middle;
}

.magg7 {
	width: 40px;
	height: 40px;
	margin: -3px 2px 0px 2px;
	border-radius: 50%;
	background: #ccc;
	display: inline-block;
	vertical-align: middle;
}

.magg6 {
	width: 30px;
	height: 30px;
	margin: 0px 5px 0px 3px;
	border-radius: 50%;
	background: #ccc;
	display: inline-block;
	vertical-align: middle;
}

.magg4 {
	width: 20px;
	height: 20px;
	margin: 0px 12px 0px 6px;
	border-radius: 50%;
	background: #ccc;
	display: inline-block;
	vertical-align: middle;
}

.magg3 {
	width: 12px;
	height: 12px;
	margin: 0px 14px 0px 14px;
	border-radius: 50%;
	background: #ccc;
	display: inline-block;
	vertical-align: middle;
}

.magl3 {
	width: 10px;
	height: 10px;
	margin: 0px 16px 0px 16px;
	border-radius: 50%;
	background: #ccc;
	display: inline-block;
	vertical-align: middle;
}

.tip {
	margin: 0 0 5px 0;
	padding: 0;
	font-size: 85%;
	font-style:italic;
}

@media only screen and (max-device-width : 920px) {
	#latitude, #longitude, #depth, #modo {
		display: none;
	}

	#origin {
		width: 340px;
	}

	#magnitude {
		width: 135px;
	}

	table tr td {
		vertical-align: middle;
	}
	table tr {
		height: 1.9em;
	}
}
