a{
	color: #087021;
}

.table a:visited{
	color: #5cb85c;
}

.navbar-custom .icon-bar {
	background-color:#fff;
}

.navbar-custom {
   	border-bottom: 1px solid #ccc
}

.navbar-custom li>a:hover,.navbar-custom li>a:focus {
	background-color:#49bfff;
}

.navbar-custom a{
    color:#fefefe;
}

.navbar-custom .form-control:focus {
	border-color: #49bfff;
	outline: 0;
	-webkit-box-shadow: inset 0 0 0;
	box-shadow: inset 0 0 0;
}

#main, #main>.row {
	height:100%;
}

#main>.row {
    overflow-y:scroll;
}

#left {
	height:100%;
}

#map-canvas {
    height:50vh;
    min-height: 250px;
    min-width: 150px;
    overflow:hidden;
}

#map-canvas.vertical{
	height: 100%;
	min-height: 400px;
}

#left-selector,#map-wrapper{
	height: 80vh;
	min-height: 400px;
}

#left-selector{
  	overflow-y: auto;
}

#map-wrapper{
	margin:0;
	padding:0
}

ul.errorlist{
    margin: 0;
    padding: 0;
    list-style-type: none;
}

ul.errorlist li{
    display: inline;
}

input.modified {/*stripped background*/
    -webkit-background-size: 50px 50px;
    -moz-background-size: 50px 50px;
    background-size: 50px 50px;
    background-color: #c2e5f8;
    background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(.25, rgba(255, 255, 255, .2)), color-stop(.25, transparent), color-stop(.5, transparent), color-stop(.5, rgba(255, 255, 255, .2)), color-stop(.75, rgba(255, 255, 255, .2)), color-stop(.75, transparent), to(transparent));
    background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, .2) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .2) 50%, rgba(255, 255, 255, .2) 75%, transparent 75%, transparent);
    background-image: -moz-linear-gradient(45deg, rgba(255, 255, 255, .2) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .2) 50%, rgba(255, 255, 255, .2) 75%, transparent 75%, transparent);
    background-image: -ms-linear-gradient(45deg, rgba(255, 255, 255, .2) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .2) 50%, rgba(255, 255, 255, .2) 75%, transparent 75%, transparent);
    background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, .2) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .2) 50%, rgba(255, 255, 255, .2) 75%, transparent 75%, transparent);
    background-image: linear-gradient(45deg, rgba(255, 255, 255, .2) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .2) 50%, rgba(255, 255, 255, .2) 75%, transparent 75%, transparent);
}

.help-inline{
    color:#63b2dc;
    font-size:.9em;
    text-align: justify
}

.footer {
	width: 100%;
	background-color: #f5f5f5;
	padding-top: 9px;
	border-top: 1px solid #ccc;
}

.jumbotron {
	position: relative;
	margin: 0;
	padding: 10px 0 0;
	color: #fff;
	text-align: center;
	text-shadow: 0 1px 3px rgba(0,0,0,.4), 0 0 30px rgba(0,0,0,.075);
	-webkit-box-shadow: inset 0 3px 7px rgba(0,0,0,.2), inset 0 -3px 7px rgba(0,0,0,.2);
	-moz-box-shadow: inset 0 3px 7px rgba(0,0,0,.2), inset 0 -3px 7px rgba(0,0,0,.2);
	box-shadow: inset 0 3px 7px rgba(0,0,0,.2), inset 0 -3px 7px rgba(0,0,0,.2);
	background: #006e2e;
	background: -moz-linear-gradient(top,  #006e2e 0%, #006e2e 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#006e2e), color-stop(100%,#006e2e));
	background: -webkit-linear-gradient(top,  #006e2e 0%,#006e2e 100%);
	background: -o-linear-gradient(top,  #006e2e 0%,#006e2e 100%);
	background: -ms-linear-gradient(top,  #006e2e 0%,#006e2e 100%);
	background: linear-gradient(to bottom,  #006e2e 0%,#006e2e 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#006e2e', endColorstr='#006e2e',GradientType=0 );
}

.jumbotron-index {
	color: #087021;
	background: #ffffff;
	background: -moz-linear-gradient(left, #ffffff 0%, #f6f6f6 47%, #ededed 100%);
	background: -webkit-gradient(left top, right top, color-stop(0%, #ffffff), color-stop(47%, #f6f6f6), color-stop(100%, #ededed));
	background: -webkit-linear-gradient(left, #ffffff 0%, #f6f6f6 47%, #ededed 100%);
	background: -o-linear-gradient(left, #ffffff 0%, #f6f6f6 47%, #ededed 100%);
	background: -ms-linear-gradient(left, #ffffff 0%, #f6f6f6 47%, #ededed 100%);
	background: linear-gradient(to right, #ffffff 0%, #f6f6f6 47%, #ededed 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#ededed', GradientType=1 );
}

.subhead {
	text-align: left;
	border-bottom: 1px solid #ddd;
	width: 100%;
	margin-top: 50px;
}

.subhead h1{
		font-size: 24px !important
}

.shadow {
	-moz-box-shadow: 0 0 20px #515151;
	-webkit-box-shadow: 0 0 20px #515151;
	box-shadow: 0 0 20px #515151;
}

.white-shadow {
	-moz-box-shadow: 0 0 20px #fff;
	-webkit-box-shadow: 0 0 20px #fff;
	box-shadow: 0 0 20px #fff;
}

.soft-white-shadow {
	-moz-box-shadow: 0 0 15px #fff;
	-webkit-box-shadow: 0 0 15px #fff;
	box-shadow: 0 0 15px #fff;
}

img.navbar-brand{
	opacity: .8;
	margin:7px 10px 0 5px;
	height:35px;
	padding:0
}

a.navbar-brand{
	line-height:15px;
	padding-top:8px;
	min-width: 195px
}

.labels {
     color: green;
     background-color: white;
     font-size:  12px;
     text-align: center;
     border: 1px solid #515151;
     white-space: nowrap;
     padding: 5px 10px
}

#info-box{
	font-size: .8em;
	padding: 0
}

#map-legend{
	position:absolute;
	right:5px;
	bottom:20px;
	z-index:1000;
	padding: 0;
	min-height: 30px;
	min-width:130px;
	background-color: rgba(255,255,255,.8);
	font-size: .9em;
	border: 1px solid #ccc
}

#map-legend h5{
	padding-left: 10px;
	margin-bottom: 5px
}

#map-legend ul {
    margin: 0;
    padding: 0
}

#map-legend li {
	border: 1px solid transparent;
	border-left-width:3px;
	border-bottom-color:#ccc;
    font-size: .9em;
    width: 100%;
    padding: 5px 10px;
}
#map-legend li.active{
	border-left-color: red !important
}

#map-legend li:first-child {
    border-top-color:  #ccc
}

#map-legend li:last-child {
    border-bottom: none;
}

#map-legend li:hover{
	border-bottom-color: #515151
}

#map-legend .legend-sq{
	background-color:transparent;
	height:22px;
	width: 22px;
	float: left;
	margin-right: 5px
}

#map-legend a.interval-filter{
	color:transparent;
}

#map-legend a.interval-filter:hover{
	text-decoration: none
}

#map-legend ul,ul.stats li ul{
	list-style: none
}
#map-circles-wraper{
	/*float:left;*/
	padding: 5px;
	/*width: 50%*/
}
#map-legend-separator{
	float:left;
	width:10px;
}
#map-chart-wrapper{

	width: 100%;
	/*float:left;
	margin-right: 5px*/

}
#results_table td{
	font-size:.9em
}

ul.stats li ul li{
	padding: 3px 0
}

li.list-group-item{
	font-size: .9em
}

li.list-group-item a {
	color: #515151;
	font-size: 1.2em;
	font-weight: 600;
}

li.active a {
	color: #087021;
}

span.badge{
	background-color: rgb(92,184,92)
}

.panel-collapse>.list-group .list-group-item:first-child {
	border-top-right-radius: 0;
	border-top-left-radius: 0;
}

.panel-collapse>.list-group .list-group-item {
	border-width: 1px 0;
}

.panel-collapse>.list-group {
	margin-bottom: 0;
}

.panel-collapse .list-group-item {
	border-radius: 0;
}

.panel-collapse .list-group .list-group {
	margin: 0;
	margin-top: 10px;
}

.panel-collapse .list-group-item li.list-group-item {
	margin: 0 -15px;
	border-top: 1px solid #ddd !important;
	border-bottom: 0;
	padding-left: 30px;
}

.panel-collapse .list-group-item li.list-group-item:last-child {
	padding-bottom: 0;
}

.panel-collapse div.list-group div.list-group {
	margin: 0;
}

.panel-collapse div.list-group .list-group a.list-group-item {
	border-top: 1px solid #ddd !important;
	border-bottom: 0;
	padding-left: 30px;
}

.panel-collapse .list-group-item li.list-group-item {
	border-top: 1px solid #DDD !important;
}

@media screen and (max-width:320px) {

	a.navbar-brand{
		padding-left: 0
	}
	.subhead h1{
		font-size: 18px !important
	}
	#left-selector,#map-wrapper{
		height: auto;
	}
	#map-wrapper{
		min-height: 500px;
	}
	#map-canvas.vertical {
		min-height: 250px;
		width: 100%
	}
	#map-legend{
		width: 100%;
		right: 0;
		top: 250px;
		border:none
	}
	#map-legend-separator{
		display: none
	}
	#map-chart-wrapper,#map-circles-wraper{
		width: 100%
	}
	#map-chart-wrapper{
		margin: 0 5px 70px 5px
	}
}
