html,body.map-full-page,
.map-full-page #app_root,.mapOuterWrap,.mapWrap,#map{
	width:100%;
	height:100%;
}

.white, .white a,
.icon-white, .icon-white a {
  color: #fff;
}

.navbar-brand{
	padding-top:12px;
	padding-bottom:8px;
}

img.pull-right{
	margin-left:8px;
	margin-bottom:8px;
}

img.pull-left{
	margin-right:8px;
	margin-bottom:8px;
}




.navbar-brand a{
	margin:0px;
	padding:0px;
}



header .help-link{
	display:none;
}


header .navbar-header{
  z-index:1070;
}

header .navbar-inverse .navbar-nav>li.selected,
header .navbar-inverse .navbar-nav>li.selected>a,
header .navbar-nav>li>a:focus
header .navbar-nav>li>a:hover{
    background:#636363;
    color:#FFF;
}



/*.map-full-page li.portal_header_link,
.search-page li.catalog_header_link,
body.metadata li.catalog_header_link,
body.settings-page li.settings_header_link,
.map-full-page li.portal_header_link a,
.search-page li.catalog_header_link a,
body.metadata li.catalog_header_link a,
body.settings-page li.settings_header_link a,
body.settings-page li.settings_header_link a:focus
{
    background:#363636;
    color:#FFF;
}*/

#content{
	margin-top:51px;
  padding-left:30px;
}


#apploader{
	display:none;
}

#apploader p{
	margin-top:20%;
	text-align:center;
	padding-bottom:25px;
	background:url('../images/ajax-loader.png') center 25px no-repeat;
}

#pageloader{
	background:rgba(255,255,255,.5);
	position:fixed;
	bottom:0;
	top:0;
	left:0;
	right:0;
	display:none;
	text-align:center;
}

#pageloader .pageload_icon{
	margin:20% auto;
	width:50px;
	height:50px;
	background:rgba(255,255,255,.7)  url('../images/ajax-loader-small.gif') center 15px no-repeat;
	border-radius:10px;
	border:2px solid #ededed;
	box-shadow: 2px 2px 15px #ededed;

}

body.pageloading #pageloader{
	display:block;
}


body.loading #apploader{
	display:block;
	position:absolute;
	top:0;
	left:0;
	right:0;
	bottom:0;
	background:#333;
	color:#CCC;
}

body.loading header,
body.loading #app_root,
body.loading #feedback{
	display:none;
}



header #logo{
	margin-right:0px;
	padding-right:0px;
}


/* SEARCH */

#search-tools{
	/*background: url("../images/beta-bg.png") top right no-repeat;*/
	padding-right: 20px;
}



#layer_queue .dropdown-menu{
    width:370px;
}


#queued_layers li,
#queued_layers .queued_layer a{
	white-space:normal;
	
}

#queued_layers .queued_layer a{
    min-height:60px;
}

#queued_layers .queued_layer .layer_group_label,
#queued_layers .queued_layer .module_label{
    padding-left:20px;
    display:block;
}

#queued_layers .queued_layer .layer_group_label{
	margin-top:0px;
	padding-top:0px;
}

#queued_layers .queued_layer .module_label{
	font-size:11px;
	padding-top:0px;
	margin-top:0px;
}

#queued_layers .queued_layer img{
	width:50px;
	height:50px;
}

#queued_layers .queued_layer span.remove{
    margin-left:-8px;
    margin-top:3px;
}


/* -- results nav */
#search_header{
	padding:15px 0px;
	background:#fff;
	border-bottom:1px solid #ccc;
	position:static;
	z-index:1000;
	text-align:right;
}

@media (min-width: 992px) {

  #search_header.affix-top,
  #search_header.affix
  {
    width: 675px;
  }
  #search_header{
    position: fixed; /* Undo the static from mobile first approach */
  }


}
@media (min-width: 1200px) {
  #search_header.affix,
  #search_header.affix-top {
    width: 826px;
  }
}




.search-results-header{
	padding:15px 0px;
	background:#fff;
	border-bottom:1px solid #ccc;
	position:static;
	z-index:1000;
	text-align:right;
}




.search-filters-advanced{
  margin-bottom:10px;
}

.search-filters-advanced .filters.open{
  margin-top:5px;
}

.search-filters-advanced .off{
  display:none;
}

.search-filters-advanced .heading{
  cursor:pointer;
  font-weight:bold;
}

.search-filters-advanced .opener{
  margin-top:5px;
  margin-right:5px;
}

.advanced-filter .map-text-control h4{
  font-size:12px;
  margin:8px 0px 0px 0px;
  padding:5px 0px;
  border-top:1px solid #e0e0e0;
  text-transform: uppercase;
  color:#999;
}


.advanced-filter .row{
  margin:0px;
}

.advanced-filter .col-xs-6
{
  padding:0px;
  margin:0px;
}

.advanced-filter .map-text-control label,
.advanced-filter .pickers label{
  font-size:10px;
  margin:3px 0px;
  color:#666;
}

.advanced-filter .map-text-control label,
.advanced-filter .pickers label,
.advanced-filter .map-text-control input,
.advanced-filter .pickers input{
  display:inline-block;
}

.advanced-filter .pickers{
	padding-right:10px;
}


.advanced-filter .map-text-control input
{
  max-width:75%;
  margin-left:5px;
}




.advanced-filter{
  padding:8px 0px 8px 10px;
  border-top:2px solid #FFF;
  background:#ededed;
}

.advanced-filter:first-child{
  border-top:none;
}

.advanced-filter h3{
  font-size:14px;
  font-weight:bold;
  padding:0px;
  margin:0px;
}


.advanced-filter .disabled{
  /*opacity:.5;*/
}

.advanced-filter .disabled .inner{
  display:none;
}

.advanced-filter .disabled .enableSelector{
  opacity: 1;
}

#app_root .advanced-filter .ui-slider .ui-slider-handle{
	width:15px;
	height:15px;
	background:#FFF;
	border:1px solid #999;
}


#app_root .advanced-filter .ui-slider .ui-slider-range{
	margin-top:0px;
}

.advanced-filter .time-bar-wrap{
  margin:20px;
}

.advanced-filter .time-bar path.domain{
  stroke:#999;
}

.advanced-filter .time-bar{
  height:40px;
}

.search-map-filter .map{
  background:#ccc;
  margin-right:10px;
}

.advanced-filter .access-methods p{
  line-height:normal;
  font-size:12px;
  padding:2px 8px;
  margin:0px;

}

.search-map-filter .map{
	height:300px;
}

.advanced-filter .spatial-filter-map,
.advanced-filter .spatial-filter-wrap{
	height:100%;
	position:relative;
	
}

.advanced-filter .spatial-filter-wrap .tools {
    position:absolute;
    z-index:4000;
    right:20px;
    top:10px;
}

.advanced-filter .spatial-filter-wrap.loading .tools{
	display:none;
}

.advanced-filter .spatial-filter-wrap .tools .btn {
   background:rgba(127, 157, 195, 0.7);
   border:3px solid rgba(255,255,255,.6);
  border-radius:4px;
  min-height: 38px;
}

.advanced-filter .spatial-filter-wrap .tools .btn:hover{
	background:rgba(0, 60, 136, 0.7);
}

.advanced-filter .spatial-filter-wrap.drawing .start_bounds{
	border-color:#ffff33;
}


.advanced-filter .spatial-filter-wrap .tools .remove_bounds{
	display:none;
}

.advanced-filter .spatial-filter-wrap.drawing .remove_bounds{
	display:inline-block;
}

.advanced-filter .spatial-filter-wrap .tools .btn .glyphicon{
    color:#FFF;
}

.advanced-filter .spatial-filter-wrap .tools span.glyphicon.glyphicon-stop {
    padding:2px;
    width:19px;
}

.advanced-filter .spatial-filter-wrap .tools .start_bounds{
	padding:5px 6px;
}

.advanced-filter .spatial-filter-wrap .tools button{
	margin-left:3px;
}

.advanced-filter .spatial-filter-map .timeControlWrap,
.advanced-filter .spatial-filter-map .legendControlWrap{
	display:none;
}

.advanced-filter .access-methods label{
  font-weight:normal;
}




.glyphicon.WMS{
  color:#66c2a5;
}

.glyphicon.WFS{
  color:#fc8d62;
}

.glyphicon.ERDDAP{
  color:#8da0cb;
}

.glyphicon.OPENDAP{
  color:#e78ac3;
}

.glyphicon.THREDDS_SUBSET{
  color:#a6d854;
}

.glyphicon.TIME-ENABLED{
  color:#666;
}


header #search-form .twitter-typeahead{
  display:table-cell!important;
}

#search-form span#search-type-select {
    padding-left: 6px;
    padding-right: 6px;
}




@media (min-width: 992px) {

  /* Widen the fixed sidebar */
  #search_header.affix-top,
  #search_header.affix
  {
    width: 675px;
  }


  #search_header.affix-top,
  #search_header.affix
  {
    width: 597px;
  }

  #search_header{
    position: fixed; /* Undo the static from mobile first approach */
  }


}
@media (min-width: 1200px) {
  #search_header.affix,
  #search_header.affix-top {
    width: 826px;
  }

  #search_header.affix,
  #search_header.affix-top {
    width: 731px;
  }

}



/* -- typeahead */

.typeahead,
.tt-query,
.tt-hint {
  width: 100%;
  height: 32px;
  padding: 4px 12px 8px 12px;
  font-size: 16px;
  line-height: 24px;
  border: 2px solid #ccc;
  -webkit-border-radius: 8px;
     -moz-border-radius: 8px;
          border-radius: 8px;
  outline: none;
}

/*@media (min-width: 991px) {
	.typeahead,
	.tt-query,
	.tt-hint {
		width:150px;
	}
}


@media (max-width: 990px) {
	.typeahead,
	.tt-query,
	.tt-hint {
		width:90px;
	}
}
*/



.typeahead {
  background-color: #fff;
}

.typeahead:focus {
  border: 2px solid #0097cf;
}

.tt-query {
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
     -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
          box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
}

.tt-hint {
  color: #999
}

.tt-dropdown-menu,
.tt-menu {
  width: 560px;
  z-index:1300 !important;
  margin-top: 12px;
  padding: 8px 0;
  background-color: #fff;
  border: 1px solid #ccc;
  border: 1px solid rgba(0, 0, 0, 0.2);
  -webkit-border-radius: 8px;
     -moz-border-radius: 8px;
          border-radius: 8px;
  -webkit-box-shadow: 0 5px 10px rgba(0,0,0,.2);
     -moz-box-shadow: 0 5px 10px rgba(0,0,0,.2);
          box-shadow: 0 5px 10px rgba(0,0,0,.2);
}


.tt-dataset-hints,.tt-dataset-layer-groups{
	width:350px;
	float:left;
}

.tt-dataset-hints{
	width:190px;
	margin-right:10px;
	padding-right:10px;
	border-right:1px solid #ccc;
}

.tt-dropdown-menu h4,
.tt-menu h4{
	font-size:16px;
	padding:3px 0px;
	margin:8px 20px;
	border-bottom:1px solid #ccc;
	color:#666;
}

.tt-menu h4{
  font-size:14px;
}

.tt-dropdown-menu .footer,
.tt-menu .footer{
	padding:4px 0px;
	margin:0px 20px;
	border-top:1px solid #e0e0e0;
}

.tt-suggestion {
  padding: 3px 20px;
  font-size: 14px;
  line-height: 18px;
  cursor:pointer;
}

.tt-menu .tt-dataset-hints .tt-suggestion{
  padding:8px 20px;
}

.tt-menu .tt-dataset-hints .tt-suggestion:hover,
.tt-menu .tt-dataset-hints .tt-suggestion.tt-cursor{
  background:#EDEDED;
}


.tt-suggestion p{
	line-height:normal;
	margin:0px;
	padding:0px;
	font-size:14px;
}

.tt-suggestion .moduleLabel{
	font-size:12px;
	color:#666;
	padding-bottom:2px;
}

.tt-suggestion .btn-group{
  float:left;
  margin-right:5px;
}

.tt-suggestion .btn-group .launch{
  display:none;
}

.tt-suggestion .btn-group .btn {
    border-width: 0px;
    font-size: 11px;
    padding: 3px;
    color: #999;
}

.tt-suggestion .btn-group .btn:hover{
    background:#FFF;
    color:#000;
}

.tt-dataset-layer-groups .tt-suggestion:hover{
	text-decoration: underline;
}

.tt-dataset-hints .tt-suggestion.tt-is-under-cursor {
  color: #fff;
  background-color: #0097cf;

}

.tt-suggestion img{
	margin-left:6px;
}

.tt-suggestion p {
  margin: 0;
}

.tt-dataset-layer-groups p.layerGroup{
	margin-bottom:10px;
}



/* -- results */
#results{
	margin-top:70px;
}

/*.spatial-filter-active #results{
	margin-top:670px;
}*/

#results .layer_group{
	padding:10px;
}


#results .layer_group img{
	margin:0px 0px 10px 10px;
}

#results .layer_group h5{
	font-size:12px;
	color:#666;
}

ul.search_results {
    list-style-type: none;
    margin-bottom:20px;
    padding:0px;
}


.search_results .module span.highlight {
	font-weight: bold;
}

.search_results p.temporal-preview {
    color: #666;
    font-size: 14px;
    font-style: italic;
}


.search_results .sensors_label{
  font-weight:bold;
}

.search_results .project{
  margin-bottom:30px;
}

.search_results .project .project-contacts,
.search_results .project .project-keywords{
    display:none;
  }

.search_results .project a.btn-link{
  color:#999;
}

.search_results .project a.btn-link:hover{
  color:#333;
}

.search_results .station .logo{
  max-width:20px;
  max-height:20px;
  margin-top:-2px;
}

.search_results .station .latlon{
  text-align:center;
  margin:0px;
  padding:0px;
  font-size:11px;
}

.search_results .project-contacts,
.search_results .station-sensors{
    font-size:12px;
    color:#666;
    padding:10px 0px;
}

.search_results .station-sources{
  font-weight:bold;
  font-size:12px;
}

.search_results .station-sources .source{
  display:inline-block;
  margin:10px 0px  0px 5px;

}

/*.search_results .station-sensors ul{
  font-size:11px;
  color:#999;
}
*/
.search_results .project-contacts span.glyphicon,
.search_results .station-sensors span.glyphicon{
    float:left;
    margin-top:6px;
}
.search_results .project-contacts ul,
.search_results .station-sensors ul {
    margin-left:0px;
    padding-left:0px;
}

.search_results .project-contacts ul li,
.search_results .station-sensors ul li{
    display:inline-block;
    padding:0px 4px;

}

.search_results .project-contacts ul li:before,
.search_results .station-sensors ul li:before{
    content:'\2022';
    margin:0px 8px 0px 0px;
}

.search_results .project-contacts ul li:first-child:before,
.search_results .station-sensors ul li:first-child:before{
    content:none;
}





.module .layer_groups,
.module .layer_groups ul{
	list-style-type:none;
	margin:5px;
	padding:0px;
}

.module .layer_groups .btn {
    font-size:11px;
    padding:4px 7px;
}

.module .layer_groups table{
	width:100%;
}

.module .layer_groups table td{
	padding:3px;
}

.module table tr{
    border-top:1px solid #ededed;
}

.module table tr:nth-child(1){
    border-top:none;
}

.search_results .module .layer_groups table tr.inactive{
	display:none;	
}

.module .expanded .layer_groups table tr.inactive{
	display:table-row;	
}

.module .expanded .contract{
	display:inline-block;	
}

.module .expanded .expand{
	display:none;	
}

.module .contract{
	display:none;	
}

.module .expand{
	display:inline-block;	
}

.module .layer_groups h4{
	font-size:14px;
}


.module .layer_groups_wrap{
    border:1px solid #ededed;
    border-radius:5px;
}

.search_results .module .layer_groups_wrap{
    width:500px;
}

.layer_groups_wrap.expanded,
.module .layer_groups_wrap:hover{
  -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
          box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  background-clip: padding-box;

}

.module .layer_groups{
    margin:8px;
}

.module .layer_groups table{
    width:100%;

}

.module .layer_groups table td:nth-child(1)
{
    width:100px;
}

.module .layer_groups table td:nth-child(3)
{
	width:60px;
}


.module .toggle_layer_groups{
    background:#ededed;
    font-size:11px;
    margin:0px;
    line-height:normal;
    padding:5px;
    cursor:pointer;
}


.module .layer_group_thumbs{
    /*padding-bottom:20px;*/
}

.module .layer_group_thumb .icons{
  display:block;
  margin-bottom:2px;
  text-align:center;
}

.module .layer_group_thumb .glyphicon{
  margin-left:2px;
  font-size:11px;
}

.portal-42 .module .layer_group_thumb .icons{
  display:none;
}

.module div.layer_group_thumb.active img,
.module img.project_thumb{
    border:2px solid #006699;
    padding:2px;

}

.module img.project_thumb{
  margin-top:10px;
}

.module div.layer_group_thumb.inactive{
    padding:4px;
    opacity:.7;
}

.module div.layer_group_thumb.inactive:hover,
.module .single_layer_group div.layer_group_thumb.inactive{
    opacity:1;
}

.module div.layer_group_thumb {
    float:left;
    width:100px;
    margin:5px;
    padding:5px;
    position:relative;
    border:0px solid #e0e0e0;
    border-radius:5px;
    height:205px;
    overflow:hidden;
}

.module .single_layer_group div.layer_group_thumb{
	width:150px;
	height:230px;
}

.module div.single_layer_group{
	float:right;
	margin-left:10px;
	margin-bottom:8px;
}

.module .extra_layer_groups{
	margin:4px 0px;
}

.module div.layer_group_thumb h4{
    font-size:12px;
    padding:3px 0px;
}



.module div.layer_group_thumb .queue_button{
    text-align:right;
    opacity:0;
}

.module .selected_layer_group{
	margin-top:20px;
	padding:20px 0px;
	border-top:1px solid #ccc;
}



.module .selected_layer_group h3 .dropdown{
	display:inline;
	font-size:18px;
}

.module_layer_group_selector table{
	margin:0px;
}

.module_legend{
	font-size:12px;
}

.module_legend td.selector,
.module_layer_group_selector td.selector{
	width:60px;
}


.module_layer_group_selector{
	z-index:3500;
}

.module_layer_group_selector .popover-title{
	padding:6px;
}
.module_layer_group_selector .popover-content{
	overflow:auto;
	clear:both;
	margin-top:5px;
}

.module_layer_group_selector .selector .radio_selector .glyphicon-record,
.module_layer_group_selector .selector.selected .radio_selector .glyphicon-off{
	display:none;
}

.module_layer_group_selector .selector.selected .radio_selector .glyphicon-record{
	display:inline-block;
}

.module_layer_group_selector .selector.queued .radio_selector{
	color:#ccc;
}



.module_layer_group_selector table tr td{
	font-size:11px;
	padding:4px 3px;
}

.module_layer_group_selector .popover-title{
	background:none;
	border-bottom:none;
}

.module .selected_layer_group h3 .dropdown .glyphicon {
	color:#666;
}

.module div.layer_group_thumb:hover,
.module div.layer_group_thumb:hover .queue_button
{
	opacity:1;
    /*background:#e0e0e0;
    border-radius:5px;*/
    
}

/*.module div.layer_group_thumb:hover .queue_button{
    display:block;
    position:absolute;
    bottom:-28px;
    left:0;
    right:0;
    text-align:center;
    background:#e0e0e0;
    padding-bottom:5px;
    padding-top:5px;

}*/



.module div.layer_group_thumb .queue_button .btn{
    font-size:11px;
    padding:2px 4px;
    border:none;
    background:none;
}



.no-touch .layer_group:hover {
    background:#EDEDED;
}

.no-touch .layer_group .disabled{
	border:1px solid #fff;
	color:#999;
}

/* -- tags */
#sidebar{
	position:static;
}

#sidebar .type-filter{
  position:relative;
}

#sidebar .type-filter .btn.search-type-select {
    padding-left: 0px;
    margin-left: 0px;
    margin-bottom: 0px;
    padding-bottom: 10px;
    font-weight: bold;
    color: #333;
}


.type-filter .types-list .type label{
    font-size:11px;
    font-weight:normal;
    padding-right:10px;
    display:inline-block;
}

.type-filter .types-list .type input{
    float:left;
    margin-right:5px;
    margin-top:0px;
}



.type-filter .heading{
    margin-bottom:5px;
}

.type-filter{
    margin-bottom:12px;
}



.dropdown-menu.search_type_selector li label{
  padding:5px 10px;
  margin:0px;
  display:block;
}

.dropdown-menu.search_type_selector .close{
  margin:0px 5px -10px 0px;
}

.and-search .search-tags .active {
    display:none;
}

.and-search .selected-search-tags a.active,
.and-search .selected-search-tags a.active:hover{
    background:#EDEDED;
    border:none;
    color:#333;
    margin-bottom:2px;
}

.and-search .selected-search-tags a.active:hover{
  background:#E0E0E0;
  color:#999;
}

.and-search .selected-search-tags a.active .badge{
    background:#777;
    color:#FFF;
    margin-left:5px;
    display:none;
}

.and-search .selected-search-tags a.active:hover .badge{
  background:#CCC;
}



@media (max-width: 991px) {
	header .nav li a{
	    font-size:12px;
	    padding-left:8px;
	    padding-right:8px;
	    border-left:1px solid #3c3c3c;
	}
}

@media (min-width: 992px) {

  /* Widen the fixed sidebar */
  #sidebar.affix-top,
  #sidebar.affix
  {
    width: 290px;
  }
  #sidebar{
    position: fixed; /* Undo the static from mobile first approach */
    top: 71px;
    bottom:15px;
    padding:10px 5px 10px 0px;
    overflow:auto;
  }

  #sidbar.affix-bottom ul/*,
  #sidebar.affix .category-nav*/ {
    margin-top: 0;
    margin-bottom: 0;
  }
}

@media (min-width: 1200px) {
  /* Widen the fixed sidebar again */
  #sidebar.affix,
  #sidebar.affix-top {
    width: 350px;
  }
}



.category-nav li.selected a{
    background:#E0E0E0;
    padding:4px;
}

.category-nav a.list-group-item{
	font-size:11px;
	padding:6px 12px;
}

.category-nav a.list-group-item .badge{
	font-size:11px;
}


/* MAP */

#map img{
	max-width:none;
}

body.map-full-page,
.map-full-page #app_root{
	overflow:hidden;
	
	-moz-user-select: none;
   -khtml-user-select: none;
   -webkit-user-select: none;

   /*
     Introduced in IE 10.
     See http://ie.microsoft.com/testdrive/HTML5/msUserSelect/
   */
   -ms-user-select: none;
   user-select: none;
}

body.map-full-page .enable-select,
.map-full-page #app_root .enable-select{
    -moz-user-select: text;
   -khtml-user-select: text;
   -webkit-user-select: text;
   -ms-user-select: text;
   user-select: text;
}

.mapOuterWrap{
	background:#000;
}

.wms_hover{
	background:rgba(256,256,256,.9);
	border:0px solid #fff;
	max-width:350px;
  min-width:100px;
}

.wms_hover .popover-title{
	background:none;
	font-size:11px;
	border-bottom:0px solid #fff;
	font-style: italic;
	padding-bottom:0px;
}

.wms_hover_content.loading{
  background-position: center 20px;
}

.wms_hover_content{
	font-size:11px;
	width:280px;
}

.wms_hover_content .table td{
	font-size:10px;
	margin:2px 0px;
}

.wms_hover_content .module_label{
	font-size:11px;
	color:#666;
	margin:0px;
}

.wms_hover_content .layer_group_label{
	font-size:11px;
	color:#333;
	margin:1px 0px;
	font-weight:bold;
}

.wms_hover_content ul{
	margin:8px;
	padding:0px;
	list-style-type:none;
}


.hover-target,.click-target{
    position:absolute;
    left:0px;
    bottom:0px;
}

#map .popover{
	z-index:2000;
}


/* -- legend -- */
div#legendPanel{
	width:380px;
	max-width:380px;
	background:rgba(250,255,255,.8);
}

body.dragging, body.dragging * {
  cursor: move !important;
}

.dragged {
  position: absolute;
  background:#FFF;
  opacity: 0.8;
  z-index: 2000;
}

/*.dragging #legendPanel td *{
	display:none;
}

.dragging #legendPanel td h5,
.dragging #legendPanel td h6,
.dragging #legendPanel td div,{
	display:block;
}*/

div#legendPanel li.placeholder {
  position: relative;
  /** More li styles **/
}

#legendPanel td.draghandle{
	display:none;
}

#legendPanel td.draghandle{
	width:12px;
	padding:10px 0px;
	cursor: pointer;
}

#legendPanel td.draghandle button{
	padding:0px;
	margin:0px;
	border:1px solid #ccc;
	border-radius:3px;
	opacity:.5;
	width:10px;
	font-weight:bold;
	color:#333;
	line-height:5px;
	padding-bottom:2px;
}

#legendPanel tr:hover td.draghandle button{
	opacity:1;

}

.metadata_layout td.draghandle{
	display:none;
}





#legendPanel .draghandle span.bar{
	width:2px;
	height:15px;
	margin:1px;
	background:#999;
	float:left;
}





#legendPanel .loading .empty_msg,
#legendPanel .is_loading .empty_msg,
#legendPanel .empty_wrap .loading{
  display:none;
}

#legendPanel .is_loading .empty_wrap .loading{
  display:block;
}

#legendPanel .empty_msg{
	text-align:center;
	padding:10px;
	font-style:italic;
	font-size:12px;
}

div#legendPanel tr.placeholder:before {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    border: 10px solid transparent;
    border-left-color: red;
    margin-top: -10px;
    left: -5px;
    border-right: none;
}

div#legendPanel:hover{
	background:rgba(250,255,255,1);
}

.popover-title{
	font-size:12px;
	line-height:normal;
	font-weight:bold;
}

#legendPanel{
}

#legendPanel .popover-title,
.collapsible .header .toggle_viz{
	cursor: pointer;
}

#legendPanel .popover-title .caret,
.collapsible .header .caret{
margin-right: 7px;
border-width: 7px;
margin-top: -2px;
color:#666;

}


.caret-right {
    border-bottom: 5px solid transparent;
    border-top: 5px solid transparent;
    border-left: 5px solid;
    display: inline-block;
    height: 0;
    opacity: 0.8;
    vertical-align: top;
    width: 0;
}

.caret-down {
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 2px;
  vertical-align: middle;
  border-top: 5px solid;
  border-right: 5px solid transparent;
  border-left: 5px solid transparent;
}

#legendPanel .popover-title .opener,
#legendPanel.closed .popover-title .closer,
.collapsible .header .opener,
.collapsible.closed .header .closer{
	display:none;
}

#legendPanel.closed .popover-title .opener,
#legendPanel .popover-title .closer,
.collapsible.closed .header .opener,
.collapsible .header .closer{
	display:inline-block;
}

#legendPanel .popover-title .opener,
.collapsible .header .opener{
	border-top: 0;
  	border-bottom: 7px solid;
  	content: "";
}

#legendPanel .popover-title .close,
.collapsible .header .close{
	margin:5px;
	font-size:20px;
	padding:0px;
}

#legendPanel .collapsible h5.header {
    font-size:12px;
}

#legendPanel .popover-content{
	padding: 5px 0px 5px 5px;
}

#legendPanel .popover-content .tab-content{
	overflow:auto;
	padding-right:10px;
}

#legendPanel .popover-content{
	overflow:auto;
}

#legendControlWrap{
	margin-right:10px;
}

#legendPanel img{
	/*max-width:100%;*/
}

#legendPanel tr td {border-top:1px solid #9C9C9C;}
#legendPanel tr:first-child td {border-top:0px solid #fff;}


.latlon_view{
	padding:3px;
	font-size:10px;
	border-top:2px solid #e0e0e0;
	text-align:center;
}

.legend_content{
	margin-top:-8px;
	max-width: 350px;
}

.legend_content .filters label,
.legend_content .filters select{
	font-size:11px;
}

.legend_content h5{
	font-weight:bold;
	margin-top:0px;
}

.legend_content h6{
	margin-bottom:3px;
	padding-bottom:0px;
}

.legend_content a h6,
.legend_content a h5,
.legend_content h6 a,
.legend_content h5 a{
	color:#333;
	line-height:normal;
	text-decoration: none;
}

.legend_content a:hover{
	text-decoration: none;
}

.legend_content .units{
	font-size:12px;
	font-weight:bold;
	color:#666;
	padding:0px;
	margin:0px;
	margin-top:4px;
	line-height:normal;
	text-align: left;
}

.legend_content p.time_display,
.legend_content p.depth_display{
  margin:0px;
  padding:0px;
  line-height: normal;
}

.legend_content .time_indicator,
.legend_content .depth_indicator{
	font-size:11px;
	padding:3px 0px;
}

/*.legend_content .glyphicon{
	color:#666;
}*/

.legend_content h5 .glyphicon{
	font-size:12px;
}

.restricted-layer-terms{
  margin:50px;
  margin-top:0px;
}

.restricted-layer-terms .content{
  padding:20px;
  overflow: auto;
  border:1px dashed #ccc;
  background:#e0e0e0;
  margin-bottom:40px;
}

ul.layer_legends{
	margin:0px;
	padding-left:0px;
	list-style-type: none;
}

.layer_legends li{
	padding:1px 0px;
	font-size:12px;
}

.table>tbody>tr>td.layer_group_legend,
.table>tbody>tr>td.module_legend{
	padding-top:15px;
	padding-bottom:10px;
}

.module_legend .tools_nav,
.layer_group_legend .tools_nav{
	margin-left:5px;
}




.layer_group_legend .tools_nav .tool{
	margin-left:2px;
  font-size:14px;

}


.single-legend .layer-visibility-tool,
.single-legend .layer-extent-tool{
  display:none;
}

.layer_legends .tool.layer-visibility-tool,
.layer_legends .tool.layer-extent-tool {
    padding:2px 5px;
    cursor:pointer;
    color:#999;
}

.layer_legends .tool.layer-visibility-tool:hover,
.layer_legends .tool.layer-extent-tool:hover{
    color:#333;
}


.layer_group_legend .tools_nav .glyphicon,
.module_legend .tools_nav .glyphicon{
	color:#999;
	cursor:pointer;
}


/*.module_legend .tools_nav a{
	font-size:12px;
	margin:0px;
	padding:2px;
}
*/

.layer_group .tools_nav{
	font-size:10px;
	margin-bottom:-15px;
}



.metadata_layout #data_target{
	padding:0px;
	font-size:12px;
	background:none;
}

.editing .layer_group_legend .options,
.editing .layer_group_legend:hover .options{
	color:#333;
}

.layer_group_legend .edit_options{
	display:none;
  padding: 10px;
  border: 1px dashed #999;
  margin: 10px;

}

.metadata_layout .layer_group_legend .wms-raster .edit_options{
  display:none;
}

.edit_options .opacity_slider{
	width:100px;
	display:inline-block;
	margin-right:5px;

}

.edit_options{
	font-size:11px;
  margin-bottom:11px;
}

.edit_options span.lbl{
	font-weight:bold;
	margin-right:10px;
}

.edit_options .opacity_control span{
	width:100px;
	display:inline-block;
}

.edit_options .opacity_control span.min{
	display:none;
}

.metadata_layout .layer_group_legend .edit_options,
.editing .layer_group_legend .edit_options{
	display:block;
}

.metadata_layout .contacts{
    list-style-type:none;
    padding:0px;
}
.metadata_layout .contacts li {
    padding:10px;
    /* background:#ededed; */
    margin-bottom:2px;
    /* width:50%; */
    /* float:left; */
}


.module_legend:hover .tools_nav .glyphicon,
.layer_group_legend:hover .tools_nav .glyphicon
{
	color:#666;
}



.layer_group_legend .popover-content,
.layer_group_legend .popover{
    max-width:450px;
}

.layer_group_legend .edit_content{
	width:420px;
	min-height:60px;
	padding:10px;
}


.sciwms-legend span.img_graphic {
    display:block;
    min-height:200px;
}

.sciwms-legend span.img_graphic img{
    display:block;
    min-height:188px;
}


.sciwms-settings .style_controls,
.sciwms-settings .autoset{
  display:none;
}
/*.geoport-dev.ncwms-settings .autoset,*/
/*.geoport-dev.ncwms-settings .style_control{
  display:none;
}*/

.geoport-dev.ncwms-legend .img_graphic img {
   /* background: rgba(0,0,0,.7);
    padding: 5px;*/
}

.geoport-dev.ncwms-legend .img_graphic{
    /*display:block;
    max-width:95px;
    overflow:hidden;*/
}





.edit_content span.lbl,
.edit_content .slider_control span.min,
.edit_content .slider_control span.max,
.edit_content .slider_control input.min,
.edit_content .slider_control input.max{
	width:80px;
	display:inline-block;
	font-size:11px;
	font-weight:bold;
	padding:2px;
}

.edit_content .slider_control span.min,
.edit_content .slider_control span.max,
.edit_content .slider_control input.min,
.edit_content .slider_control input.max{
	width:50px;
	margin:4px;
	text-align:center;
	font-weight:normal;
	border:1px solid #fff;
}

.edit_content .slider_control input.min:focus,
.edit_content .slider_control input.max:focus{
	border:1px solid #006699;
}


.edit_content .slider_control .slider{
	display:inline-block;
	width:150px;
	margin-left:8px;
}

.edit_content .slider_control .ui-slider-horizontal .ui-slider-range {
	top: -2px;
	height: 4px;
	cursor: pointer;
	background: #8BBCD5;
}

.edit_content span.control{
	display:inline-block;
	font-size:11px;
	padding:3px 4px;
}


#legendPanel .edit_settings_popover .popover-title button.close{
	margin:0px;
}

.edit_settings_popover .arrow{
  display:none;
}


.single-legend .layer_legends .legend-label{
	font-size:14px;
	font-weight:bold;
	line-height: normal;
	margin:0px;
	padding:0px;

}

.single-legend .simple-symbology img{
	float:left;
	margin-right:5px;
	margin-top:-3px;
	margin-bottom:6px;
}

.legend_content .depth-control {
    clear:both;
    padding:5px 0px;
}

.filter label.all_input {
    display: block;
    padding: 2px 8px;
    font-style: italic;
    margin: 0px -8px 5px -8px;
}


/*.legend_content label.all_input {
    display: block;
    padding: 4px 8px;
    border-bottom: 1px solid #ccc;
    font-style: italic;
    margin: -8px -8px 5px -8px;
    background: rgba(100,100,100,.1);
}
.legend_content .range_view.and {
    padding:8px;
    border:1px solid #CCC;
}*/


.multi-legend .layer_legends li{
    padding:3px 0px;
    margin:0px;
    line-height:normal;
}

.multi-legend .layer_legends li .layer_download{
	padding:8px 0px;
	clear:both;
	font-size:10px;
}


.multi-legend .layer_legends li .layer_download a{
	color:#666;
}

.multi-legend .layer_legends li .dropdown-menu a{
	padding:3px 4px;
	font-size:10px;
}



.multi-legend .layer_legends h5{
	font-weight:normal;
	font-size:11px;
}

.multi-legend .layer_legends h6{
    display:none;
}



.multi-legend .simple-symbology img{
    float:left;
    margin-right:5px;
}

.multi-legend .simple-symbology p{
    margin:0px;
}

img.c4d14166-cae8-4bb0-8cd5-fc876f07d63c,
img.ba74f14c-ea25-11e0-986a-0019b9dae22b{
	background:#999;
	padding:5px;
}


.polygon-tool{
	margin:5px 0px;
}

.polygon-tool label{
	margin-right:8px;
	margin-top:4px;
	font-size:11px;
}

.polygon-tool .draw-polygon,
.polygon-tool .edit .btn{
	margin-right:8px;
}

.feature-hover{
	width:300px;
	max-width:300px;
}

.feature-hover .popover-content{
	line-height:normal;
	font-size:11px;
}

.hover-content{
  z-index:3000;
}

.feature-hover table{
	font-size:11px;
	width:100%;
	margin-bottom:0px;
}
.feature-hover td{
	padding:2px 5px;
}

.loading-hover{
	width:50px;
	height:50px;
	background:rgba(255,255,255,.9) url('../images/ajax-loader-small.gif') center 18px no-repeat;

}


.hover-target .nav{
	display:none;
}

.navbar .popover .nav{
	float:none;
}

.popover .nav li,
.legend_content .nav li{
  line-height:normal;
}
.popover .nav a,
.legend_content .nav a{
  font-size:10px;
  padding:2px 3px;
}








svg.d3svgroot{
	pointer-events:none;
}

.d3features path,
.d3features circle,
.d3features rect,
.d3features text,
.d3features line,
.d3features polyline{
	cursor:pointer;
	pointer-events:visible;
}

.d3features path.line{
  pointer-events:stroke; 
}

rect{
	stroke-width:0px;
	stroke:none;
}




#footer{
	background:rgba(256,256,256,.9);
	z-index:1100;
	border-width:0px;
  min-height:0px;
}

.dataPaneWrap {
  /*visibility: hidden;
  height: 2px;*/
}

.full_map .footerUtilities{
	height:0px;
}

.loading{
	background:url('../images/ajax-loader-small.gif') center 40px no-repeat;
}

div.loading{
	min-height:60px;
}

div.search_results_page.loading{
	min-height:300px;
	background-position: center 200px;
}

.graph .loading{
	height:170px;
	margin:auto 0px;
	
}


.graph_wrap{
	height:170px;
	width:100%;
}

.eventLayerGraph .graph_wrap{
  height:230px;
}


@media (min-width: 992px) {
	#dataModal  .modal-dialog,
  #dataModal2  .modal-dialog{
		width:90%;
	}

	/*#dataModal .modal-body{
		max-height: 400px;
		overflow: auto;
	}*/


}

#dataModal .modal-footer,
#dataModal2 .modal-footer{
	display:none;
}

#dataModal div.loading,
#dataModal2 div.loading{
	padding-bottom:50px;
}


#dataModal .graph_wrap,
#dataModal .graph .loading,
#dataModal .rose{
	height:400px;
}


#dataModal .tab-pane{
	padding:10px;
	font-size:14px;
}

#dataModal .tab-pane .tab-pane{
  padding:0px;
}

.bounds_control{
	display:none;
}

.rosechart{
	text-align:center;
}

#dataModal .bounds_control{
	display:block;
	margin:10px;
}

#dataModal .roseholder{
	height:100%;
}

#dataModal .rose{
	float:right;
}

#dataModal .rose_graph{
	float:left;
}

.dataList .roseholder{
	
}

.dataList .rose{
	height:180px;
	float:right;
}

.dataList .rose_graph{
	float:left;
}

/* */
.dataList .nav-tabs .dropdown-menu {
    right: 0;
    left: auto;
}

.graph_wrap .graph,
.graph_wrap .loader{
	height:100%;
}




.axis path,
.axis line {
  fill: none;
  stroke: #000;
  shape-rendering: crispEdges;
}

.x.axis path {
  display: none;
}

.y .domain{
	stroke:#CCC;
	display:none;
}

.line {
  fill: none;
  stroke: #666;
  stroke-width: 3px;
}

.hover-line{
	fill:none;
	stroke:#ccc;
	stroke-width:1px;
}

.meanLine{
	fill:none;
	stroke:#000;
	stroke-width:2px;
}


.hiLoArea{
	fill:#CCC;
	stroke:#CCC;
	stroke-width:0px;

}

.stdDevArea{
	fill:#666;
	stroke:#000;
	stroke-width:2px;
	opacity:.3;

}

.stdDevArea.compPath{
	stroke:#FF0000;
	fill:#FF0000;
	opacity:.8;
	fill-opacity:.5;
}

.meanLine.compPath{
	stroke:#FF0000;
	stroke-width:3;
	opacity:.8;
}

 .axis text{
	font-size:10px;
	font-family:arial;
	fill:#666;
  text-rendering: optimizeLegibility;
}

.axis.log text{
  font-size:11px;
  fill:#333;
}

text tspan.sup{
	/*baseline-shift:super;*/
	font-size:8px;
}

.axis text.axis-label{
	fill:#666;
	font-size:12px;
}


.legend_graphic .axis text{
	fill:#333;
}

.tick line{
	stroke:#ccc;
	stroke-width:1.2px;
	opacity:.6;
}



.rose-arc{
	fill:#666;
	stroke:#333;
	stroke-width:.5px;
}


.rose-guide{
	fill-opacity:0;
	stroke:#666;
	stroke-width:1;
	stroke-opacity:.8;
	stroke-dasharray:5,5;

}


.rose-label{
	font-size:10px;
	fill:#666;
	font-family:arial;

}


.data_hover_content{
  max-width:350px;
	z-index:5000;
}



.data_hover_content .popover-content{
	font-size:11px;
}

.data_hover_content .popover-content .mean{
	font-weight:bold;
}

.data_hover_content .popover-content .selected{
	font-weight:bold;
	color:#990000;
}


.data_hover_content .popover-title{
	font-size:11px;
	font-weight: bold;
	line-height:normal;
}

.data_hover_content .arrow{
	display:none;
}



.hoverLine{
	stroke:#666;
}



/* -- data controls -- */
.modal-backdrop{
	z-index:2600;
}
.sensor_popup,.modal{
	z-index:2700;
}


#app_root .ui-slider/*,
.modal .ui-slider*/{
    height:3px;
     margin-top:10px;
}

#app_root .ui-slider .ui-slider-handle/*,
.modal .ui-slider .ui-slider-handle*/{
    border-radius:20px;
    background:#006699;
	width: 12px;
	height: 12px;
    cursor: pointer;
}


#app_root .ui-slider .ui-slider-range{
	background:#88A1AD;
	height:5px;
	margin-top:-2px;
	cursor:pointer;
}

div.data_wrap{
	width:420px;
	/*max-height:600px;*/
	max-width:600px;
	z-index:2100;
}

#data_target{
	cursor: pointer;
}

#data_nav{
	margin:0px;
  height:0px;
  visibility: hidden;
}

.data_wrap .popover-title{
	min-height:40px;
}


div.data_wrap .popover-content{
	min-height:280px;
	overflow:auto;
}

.dataList .links .popover{
    width:250px;
    
}

div.data_wrap .popover-content .popover-content{
    height:auto;
    min-height:0px;
}

/*div.data_wrap .popover-title{
	height:65px;
}*/

.data_wrap .dataList .tab-pane{
	padding-top:5px;
}

.data_wrap .dataList p{
	font-size:10px;
	padding:2px 0px;
}

.data_wrap .dataList .eventLayerThumb{
	height:260px;
	overflow:auto;
	font-size:11px;
}



.dataList li.dropdown {
    right:15px;
    position:absolute;
    margin-top:-2px;
}

.dataList li.dropdown .dropdown-toggle{
    font-weight:bold;
    font-size:12px
}

.carousel .item {
    left: 0 !important;
      -webkit-transition: opacity 1s; /*adjust timing here */
         -moz-transition: opacity 1s;
           -o-transition: opacity 1s;
              transition: opacity 1s;
}

.data_wrap .carousel .carousel-control span.glyphicon{
	top:30%;
}

.data_wrap .hide_captions .carousel .carousel-control span.glyphicon{
	top:50%;
}

/* Fade controls with items */
.carousel .next.left,
.carousel .prev.right {
    opacity: 1;
    z-index: 1;
}
.carousel .active.left,
.carousel .active.right {
    opacity: 0;
    z-index: 2;
}

.carousel .caption-inner{
	clear:both;
}

.hide_captions .carousel .caption-inner{
	display:none;
}

.hide_captions .carousel .carousel-indicators{
	display:none;
}

.hide_captions .carousel .carousel-caption{
	padding-bottom:2px;
}

.hide_captions .caption-collapser span.glyphicon-chevron-down{
	display:none;
}
.hide_captions .caption-collapser span.glyphicon-chevron-up{
	display:block;
}

.caption-collapser span.glyphicon-chevron-down{
	display:block;
}
.caption-collapser span.glyphicon-chevron-up{
	display:none;
}

.caption-collapser{
	cursor:pointer;
}

.caption-collapser-button{
    float:left;
    margin-left:5px;
    width:30px;
}


.data_wrap .carousel{
	margin-bottom:5px;
}

.carousel-counter{
	text-align: right;
	font-size:10px;
	padding-right:5px;
}

#dataModal .carousel{
	margin-bottom:10px;
}

.carousel .carousel-caption{
	bottom:0px;
	padding: 2px 0px 20px 0px;
	font-size: 11px;
	left:0;
	right:0;
	background:rgba(0,0,0,.6);
}

.data_wrap .carousel img{
	display:none;
}


.data_wrap .carousel .carousel-inner{
	height:210px;
}

.carousel-indicators{
	margin-bottom:0px;
	bottom:5px;
}

.carousel-indicators li{
	width:7px;
	height:7px;
}


.carousel-indicators .active {
	width: 9px;
	height: 9px;
}


div.slim_nav{
	min-height:0px;
}

#data_feed_nav a{
	padding-top:4px;
	padding-bottom:4px;
	font-size:11px;
	font-weight:bold;
}

#data_feed_nav .close{
	font-size:18px;
	margin-right:px;
}

/* -- time controls -- */


/*.textTimeControl{
	display:none;
}*/

/*.small_map .textTimeControl{
	width:180px;
	float:left;
	padding:5px 0px;
}*/

img.olImageLoadError{
  border:1px solid #FFF;
}

.coastalOverlay img.olImageLoadError{
  display:none;
}


.small_map{
  position:relative;
}
.small_map .legendControlWrap{
  position:absolute;
  top:10px;
  bottom:20px;
  right:10px;
  width:360px;
  pointer-events: none;
  z-index:800;
}

.small_map .legendInner {
  position:absolute;
  bottom:0px;
  background:rgba(255,255,255,.8);
  width:100%;
  max-height:100%;
  pointer-events: all;

}

.data_layer_metadata .small_map .legendInner,
.vector_layer_metadata .small_map .legendInner{
    overflow:auto;
}

/* HIDE ON SMALL MAPS*/
.small_map .activeLayersWrap{
  display:none;
}

.small_map .timeControlWrap .close_trigger,
.small_map .timeControlWrap .open_trigger,
.small_map .timeControlWrap .layer-open .close_trigger{
  display:none;
}

.small_map .timeControlWrap .time-control-header{
  cursor: auto;
}

.metadata_layout .remove-tool,
.metadata_layout .metadata-tool{
  display:none;
}

.metadata_layout .usage_notes h4{
  margin-top:0px;
  padding-top:0px;
}

.metadata_layout .usage_notes {
    padding: 30px;
    margin: 30px 0px;
    border: 1px dashed #ccc;
}

.metadata_layout .time-tool,
.metadata_layout .extent-tool,
.metadata_layout .options-tool{
  display:inline-block;
}



.full_map .timeControWrap{
	margin:5px 20px;
}


.full_map .textTimeControl{
	width:300px;
	float:left;
	padding:5px 0px;
}

.timeControlWrap h5{
	color: #ccc;
	font-size: 12px;
	font-weight:bold;
	margin: 0px;
	margin-left: 20px;
	
}

.timeControlWrap h5 .glyphicon{
	font-weight:normal;
}

.sliceSliderControl{
	float:right;
}


.timeSlider text,
.legendControlWrap,
.timeControlWrap,
.time-slider-tip{
	font-size:10px;
	font-family:arial;
	fill:#999;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: -moz-none;
	-o-user-select: none;
	user-select: none;

}

.timeControlWrap{
	
	background: rgb(76,76,76); /* Old browsers */
	background: -moz-linear-gradient(top,  rgba(76,76,76,1) 0%, rgba(17,17,17,1) 60%, rgba(43,43,43,1) 76%, rgba(28,28,28,1) 91%, rgba(19,19,19,1) 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(76,76,76,1)), color-stop(60%,rgba(17,17,17,1)), color-stop(76%,rgba(43,43,43,1)), color-stop(91%,rgba(28,28,28,1)), color-stop(100%,rgba(19,19,19,1))); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  rgba(76,76,76,1) 0%,rgba(17,17,17,1) 60%,rgba(43,43,43,1) 76%,rgba(28,28,28,1) 91%,rgba(19,19,19,1) 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  rgba(76,76,76,1) 0%,rgba(17,17,17,1) 60%,rgba(43,43,43,1) 76%,rgba(28,28,28,1) 91%,rgba(19,19,19,1) 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  rgba(76,76,76,1) 0%,rgba(17,17,17,1) 60%,rgba(43,43,43,1) 76%,rgba(28,28,28,1) 91%,rgba(19,19,19,1) 100%); /* IE10+ */
	background: linear-gradient(to bottom,  rgba(76,76,76,1) 0%,rgba(17,17,17,1) 60%,rgba(43,43,43,1) 76%,rgba(28,28,28,1) 91%,rgba(19,19,19,1) 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4c4c4c', endColorstr='#131313',GradientType=0 ); /* IE6-9 */

}

.mapControls{
  padding:10px 0px;
}



.timeControWrap .timeSlider .timescale line{
	stroke:#FFF;
	stroke-width:1px;
}

.timeControWrap .timeSlider{
	height:55px;
	margin:100px 0px;
	padding:0px;
}


.timeHoverControl {
    position:absolute;
    /*display:none;*/
    bottom:0px;
    left:0;
    right:0;
    height:50px;
    margin-bottom:-5px;
    padding:5px 10px;
    background: rgba(255,255,255,.8);
     transition: height 2s;
    -webkit-transition: height 2s; /* Safari */
    z-index:3300;
}

.timeControlWrap:hover .timeHoverControl,
.timeHoverControl:hover{
    display:block;
}

.timeSlider .timeSlider .timescale path.domain{
	stroke:#999;
	stroke-width:1px;
	fill:none;
}
.timeSlider .tick line{
	stroke:#999;
	stroke-width:1.2px;
}




.timeSlider .timeSlider .brush .extent {
  fill-opacity: .125;
  shape-rendering: crispEdges;
}

.timeSlider .brush .background,
.timeSlider .brush .extent,
.timeSlider .brush .resize,
.timeSlider  .sliceHandle{
	cursor:pointer !important;
}

.timeSlider .controls g{
	cursor:pointer;
}

.timeControlWrap .activeLayers {
    position:absolute;
    bottom: 95px;
    left:0px;
    right:0px;
    padding:25px 10px 20px 10px;
    background:rgba(0,0,0,.9);
    z-index:1100;
}


.timeControlWrap .activeLayers td{
    color:#FFF;
    font-size:10px;
    border-width:2px;
    border-color:#333;
    padding-top:4px;
    padding-bottom:4px;
}




.timeControlWrap .close_trigger,
.timeControlWrap .layer-open span.glyphicon.open_trigger{
  display:none;
}

.timeControlWrap .close_trigger,
.timeControlWrap .open_trigger{
  margin-right:5px;
}

.timeControlWrap .layer-open .close_trigger{
  display:inline-block;
}

.timeControlWrap .time-control-header{
  cursor: pointer;
}

.timeControlWrap .remove{
  display:none;
}

.timeControlWrap .layer-open .remove{
  display:block;
}

.timeControlWrap button.remove {
  float: none;
  color: #999;
  opacity: .7;
  font-weight: normal;
  position:absolute;
  top:0px;
}



.activeLayers{
  display:none;
}

.activeLayers table.table{
  margin-bottom:0px;
  margin-top:0px;
}

.activeLayers tr:first-child td{
  border-width:0px;
}


.activeLayers td:first-child {
    width:125px;

}


.activeLayers td:nth-child(2) {
  padding-right: 140px;
  padding-left: 20px;
}


.activeLayers .time-indicator{
  height:1px;
  background:#CCC;
  border-radius:2px;
  box-shadow: 1px 1px 2px #ededed;
}

.activeLayers .highlight .time-indicator{
  height:4px;
  background:#ffff33;
}

.activeLayers .highlight td{
  font-weight:bold;
}


.activeLayers td.time-bar{
  vertical-align: middle;
}

.activeLayers table.table th{
  border-bottom:0px solid #FFF;
}


.bracketed_time_control,
.point_time_control{
	height:4px;
}

/*.textTimeControl{
	text-align:center;
}*/

.textTimeControl input.error{
	border-color:red;
	color:red;
}

.textTimeControl input{
	font-size:12px;
	padding:5px;
	margin:0px;
	line-height: normal;
	width:110px;
	border:0px solid #fff;
	background:none;
	display:inline;
}

.textTimeControl input:focus{
	border:1px solid #333;
	padding:4px;
	font-weight:bold;
	background:#fff;
}



.textTimeControl p{
	padding:0px;
	margin:0px;
	line-height:normal;
}

.map-full-page #time_control{
	padding-left:75px;
	padding-right:75px;
}

.olMap .olControlScaleLine {
    bottom:28px;
    right: 10px;
    left:auto;
    font-family: sans-serif;
    color: #E0E0E0;
    z-index:1007;
    background:rgba(0,0,0,.4);
    padding:3px;
}

.olMap .olControlAttribution{
  left:auto!important;
  bottom:18px;
  font-size:10px!important;
  background:rgba(0,0,0,.4);
  padding:3px;
}

.olMap .olControlScaleLineTop,
.olMap .olControlScaleLineBottom{
  border-color:#E0E0E0;
}

#point_time_control .ui-slider-handle{
	background:#FF0000;
	border-radius:3;
}

.bracketed_time_control{
	background:none;
	border:none;
	margin-top:-3px;
}

.time_control{
	margin:5px 0px;
	height:50px;
	padding:0px;
}


.time_control .timescale path,
.time_control .timescale line {
  fill: none;
  stroke: #000;
  shape-rendering: crispEdges;
}

.time_control .timescale path.domain{
	stroke:#999;
	stroke-width:1.5px;
}



.timescale path,
.timescale line {
  fill: none;
  stroke: #000;
  shape-rendering: crispEdges;
}

.time_control .timescale text {
  font: 10px sans-serif;
}

.time_control .brush .extent {
  fill-opacity: .125;
  shape-rendering: crispEdges;
}

.time_control .resize {
  display: inline !important; /* show when empty */
  fill: #666;
  fill-opacity: .8;
  stroke: #000;
  stroke-width: 1.5px;
}

.time_control .sliceHandle{
	cursor:pointer;
}


/*time slider tips*/
div.time-slider-tip{
	line-height:normal;
	background:rgba(255,255,255,.8);
	border:none;
	z-index:1200;
  border-radius:2px;
}


.time-slider-tip .arrow{
	/*display:none;*/
}

div.time-slider-tip .popover-title,
.time-slider-tip .popover-content{
	background:none;
	border-bottom:none;
	font-size:10px;
	padding:4px 8px;
}

.time-slider-tip.top .arrow:after{
	border-top-color:rgba(255,255,255,.8);
}

.time-slider-tip.left .arrow:after{
	border-left-color:rgba(255,255,255,.8);
}

.time-slider-tip.right .arrow:after{
	border-right-color:rgba(255,255,255,.8);
}

.time-slider-tip .popover-title{
	display:none;
}


.time-slider-tip input{
	width:83px;
	border:none;
	background:none;
}



.time-slider-tip .glyphicon{
	cursor:pointer;
	margin-left:5px;
	opacity: .5;
}

.time-slider-tip .prev{
	margin-right:5px;
	margin-left:0px;
}

.time-slider-tip .editing input,
.time-slider-tip input.error{
	border:1px solid #006699;
	padding:4px;
	width:95px;
}

.time-slider-tip input.error{
	border:1px solid red;
	color:red;
}

.time-slider-tip .editing .glyphicon,
.time-slider-tip:hover .glyphicon{
	opacity: 1;
}



/* METADATA */

.metadata_layout{
	margin-top:15px;
}


.metadata_layout .status-message .glyphicon{
  font-size:18px;
  color:#666
}

.metadata_layout .status-message p{
  color:#333;
  padding-left:25px;
}

.metadata_layout .status-message blockquote {
    margin:20px;
    color:#333;
    background:rgba(255,255,255,.6);
    border-color:#CCC;
    font-size:14px;
}


.metadata_layout h4.data_set_header{
	font-size: 24px;
	margin: 30px 0px;
	padding: 20px 0px 0px 0px;
	border-top: 2px solid #e0e0e0;


}

.metadata_layout li#data_feed_nav {
    visibility: hidden;
}

.metadata_body h3{
	margin-top:40px;
}

#map_column{

	padding:0px;
	margin-bottom:20px;
}

#map_column #map_wrap{
	height:400px;
	background:#000;
	clear:both;

}

.map_single_layer .mapWrap{
	height:600px;
}

.map_single_layer #map_wrap{
	height:600px;
}

.module #map_column #map_wrap{
	height:500px;

}

.map_single_layer #map,
#map_column #map{
	position:relative;
}

#map_column .timeSlider{
	height:50px;
}



.map_queue_button{
	margin-top:-20px;
	margin-right:10px;
	margin-left:10px;
	margin-bottom:10px;
}

.module .map_queue_button,
.module .layer_group_metadata_menu{
	margin-top:10px;
	margin-bottom:0px;
}


/* PROJECTS */

.project_metadata li p{
	margin:0px;
	padding:0px;
}

.project_metadata h3{
	color:#666;
	margin-top:35px;
}

.project_metadata li h4{
	padding-bottom:0px;
	margin-bottom:0px;
  margin-top:2px;
}

.project_metadata .olControlBaseLayerSwitcher,
.project_file_metadata .olControlBaseLayerSwitcher{
	display:none;
}

.project_files,.project_files ul{
	list-style-type:none;
}

.project_files h5{
	color:#666;
	margin-top:8px;
	font-weight:bold;
}

ul.project_files li{
	padding:2px 0px;
}



/* extensions */
.project_file a[href$='.txt'],.project_file a[href*='.'] {
	padding: 5px 0px 5px 20px;
	background: transparent url(../images/icons/icon_txt.gif) no-repeat center left;
}

.project_file a[href$='.doc'], .project_file a[href$='.docx'], .project_file a[href$='.rtf'] {
	padding: 5px 0px 5px 20px;
	background: transparent url(../images/icons/icon_doc.gif) no-repeat center left;
}

.project_file a[href$='xls'], .project_file a[href$='.xlsx'] {
	padding: 5px 0px 5px 20px; background-color:red;
	background: transparent url(../images/icons/icon_xls.gif) no-repeat center left;
}

.project_file a[href$='.mdb'], .project_file a[href$='.mdbx'] {
	padding: 5px 0px 5px 20px; background-color:red;
	background: transparent url(../images/icons/icon_access.gif) no-repeat center left;
}

.project_file a[href$='.rss'], .project_file a[href$='.atom'] { 
	padding: 5px 0px 5px 20px;
	background: transparent url(../images/icons/icon_feed.gif) no-repeat center left;
}

.project_file a[href$='.opml'] { 
	padding: 5px 0px 5px 20px;
	background: transparent url(../images/icons/icon_opml.gif) no-repeat center left;
}

.project_file a[href$='.php'] { 
	padding: 5px 0px 5px 20px;
	background: transparent url(../images/icons/icon_phps.gif) no-repeat center left;
}


.project_file a[href$='.torrent'] { 
	padding: 5px 0px 5px 20px;
	background: transparent url(../images/icons/icon_torrent.gif) no-repeat center left;
}

.project_file a[href$='.vcard'] { 
	padding: 5px 0px 5px 20px;
	background: transparent url(../images/icons/icon_vcard.gif) no-repeat center left;
}

.project_file a[href$='.exe'] { 
	padding: 5px 0px 5px 20px;
	background: transparent url(../images/icons/icon_exe.gif) no-repeat center left;
}

.project_file a[href$='.dmg'], .project_file a[href$='.app'] { 
	padding: 5px 0px 5px 20px;
	background: transparent url(../images/icons/icon_dmg.gif) no-repeat center left;
}

.project_file a[href$='.pps'] { 
	padding: 5px 0px 5px 20px;
	background: transparent url(../images/icons/icon_pps.gif) no-repeat center left;
}

.project_file a[href$='.ppt'], .project_file a[href$='.pptx'] { 
	padding: 5px 0px 5px 20px;
	background: transparent url(../images/icons/icon_ppt.gif) no-repeat center left;
}

.project_file a[href$='.pdf'] { 
	padding: 5px 0px 5px 20px;
	background: transparent url(../images/icons/icon_pdf.gif) no-repeat center left;
}

.project_file a[href$='.xpi'] { 
	padding: 5px 0px 5px 20px;
	background: transparent url(../images/icons/icon_plugin.gif) no-repeat center left;
}

.project_file a[href$='.fla'], .project_file a[href$='.swf'] { 
	padding: 5px 0px 5px 20px;
	background: transparent url(../images/icons/icon_flash.gif) no-repeat center left;
}

.project_file a[href$='.zip'], .project_file a[href$='.rar'], .project_file a[href$='.gzip'], .project_file a[href$='.bzip'], .project_file a[href$='.ace'] { 
	padding: 5px 0px 5px 20px;
	background: transparent url(../images/icons/icon_archive.gif) no-repeat center left;
}

.project_file a[href$='.ical'] { 
	padding: 5px 0px 5px 20px;
	background: transparent url(../images/icons/icon_ical.gif) no-repeat center left;
}

.project_file a[href$='.css'] { 
	padding: 5px 0px 5px 20px;
	background: transparent url(../images/icons/icon_css.gif) no-repeat center left;
}

.project_file a[href$='.ttf'] { 
	padding: 5px 0px 5px 20px;
	background: transparent url(../images/icons/icon_ttf.gif) no-repeat center left;
}

.project_file a[href$='.jpg'], .project_file a[href$='.JPG'], .project_file a[href$='.jpeg'],.project_file a[href$='.JPEG'],
 .project_file a[href$='.gif'], .project_file a[href$='.png'], 
 .project_file a[href$='.bmp'], .project_file a[href$='.jpeg'], 
 .project_file a[href$='.svg'], .project_file a[href$='.eps'] { 
	padding: 5px 0px 5px 20px;
	background: transparent url(../images/icons/icon_pic.gif) no-repeat center left;
}

.project_file a[href$='.mov'], .project_file a[href$='.wmv'], .project_file a[href$='.mp4'], .project_file a[href$='.avi'], .project_file a[href$='.mpg'] { 
	padding: 5px 0px 5px 20px;
	background: transparent url(../images/icons/icon_film.gif) no-repeat center left;
}

.project_file a[href$='.mp3'], .project_file a[href$='.wav'], .project_file a[href$='.ogg'], .project_file a[href$='.wma'], .project_file a[href$='.m4a'] { 
	padding: 5px 0px 5px 20px;
	background: transparent url(../images/icons/icon_music.gif) no-repeat center left;
}

.project_file a[href$='.xml'], .project_file a[href$='.xsd'] { 
	padding: 5px 0px 5px 20px;
	background: transparent url(../images/icons/icon_xml.gif) no-repeat center left;
}






/* SETTINGS */

h2 .glyphicon{
	opacity:.5;
}

#settings_menu{
  max-width:240px;
  width:240px;
}

#settings_menu ul{
	list-style-type: none;
	margin:0px;
	padding:0px;
}

#settings_menu a{
	font-size:12px;
}



#settings_menu ul li{
    margin:0px;
    padding:0px;
}

#settings_menu ul li a{
    padding:2px 10px 2px 20px;
    color:#333;
    
    display:block;
}
#settings_menu ul li a:hover{
    text-decoration:none;
    background:#ececec;
}

.settings_manager_layout{
	margin-top:15px;
}

.settings_manager_layout th{

}

.settings_manager_layout td label{
	font-weight:normal;
}

.settings_manager_layout .slider{
	margin-left:30px;
	margin-right:30px;
}

.settings_manager_layout .min,
.settings_manager_layout .max{
	font-size:10px;
	margin-top:-6px;
}


#settings_menu li a .glyphicon{
	display:none;
}


#settings_menu li.manage a{
	font-weight:bold;
}

#settings_menu li.manage a,
#settings_menu li.selected a,
#settings_menu li a:hover{
	padding-left:5px;
}

#settings_menu li.manage a .glyphicon,
#settings_menu li a:hover .glyphicon,
#settings_menu li.selected .glyphicon{
	display:inline-block;
}

#settings_menu li.manage a .glyphicon,
#settings_menu li a:hover .glyphicon{
	opacity: .5;
}

/*#settings_menu li.selected,
#settings_menu li.selected a:hover{
	background:#ccffcc;
}*/

#settings_menu h4{
	font-size:14px;
	color:#666;
	padding:5px 8px;
	border-bottom:1px solid #ccc;
	background:#e0e0e0;
}

#settings_menu ul h4{
	font-size:12px;
	background:none;
	font-weight: bold;
}



/* CUSTOM PORTAL */

/* -- HOME PAGES */

.home-page-container{
	max-width:900px;
	margin:100px auto 0px;
	padding-bottom:50px;
}


/* -- FEEDBACK --  */
@media (min-width: 992px) {
	#feedbackForm  .modal-dialog{
		width:900px;
	}


}

#feedbackForm  .modal-body{
	height:600px;
}

#feedbackForm .feedbackFormWrap{
	height:100%;
}

/*.help_modal,
#feedbackForm{
	width:890px;
	margin-left:-445px;
	max-width:80%;
}


.help_modal .modal-body,
#feedbackForm .modal-body{
	max-height:560px;
	max-height:90%;
}

.help_modal .modal-body iframe,
#feedbackForm .modal-body iframe{
	max-width:100%;
}


#feedbackForm{
	height:540px;
}
*/

#feedback{
	border:0px solid #fff;
	background:#660000 url('../images/feedback-tab-left.png') top left no-repeat;
	width:36px;
	height:100px;
	position:fixed;
	left:-3px;
	top:40%;
	overflow:hidden;
	cursor:pointer;
	z-index:2000;
}



#feedback:hover{
	left:-2px;
}


/* DATATABLES */
#app_root table.dataTable thead .sorting,
#app_root table.dataTable thead .sorting_desc,
#app_root table.dataTable thead .sorting_asc,
.popover table.dataTable thead .sorting,
.popover table.dataTable thead .sorting_desc,
.popover table.dataTable thead .sorting_asc{
  background-image:none;
}



/* BOOTSTRAP ADDITIONS*/

.btn-link{
  cursor: pointer;
}

/* custom inclusion of right, left and below tabs */


.tabs-below > .nav-tabs,
.tabs-right > .nav-tabs,
.tabs-left > .nav-tabs {
  border-bottom: 0;
}

.tab-content > .tab-pane,
.pill-content > .pill-pane {
  display: none;
}

.tab-content > .active,
.pill-content > .active {
  display: block;
}

.tabs-below > .nav-tabs {
  border-top: 1px solid #ddd;
}

.tabs-below > .nav-tabs > li {
  margin-top: -1px;
  margin-bottom: 0;
}

.tabs-below > .nav-tabs > li > a {
  -webkit-border-radius: 0 0 4px 4px;
     -moz-border-radius: 0 0 4px 4px;
          border-radius: 0 0 4px 4px;
}

.tabs-below > .nav-tabs > li > a:hover,
.tabs-below > .nav-tabs > li > a:focus {
  border-top-color: #ddd;
  border-bottom-color: transparent;
}

.tabs-below > .nav-tabs > .active > a,
.tabs-below > .nav-tabs > .active > a:hover,
.tabs-below > .nav-tabs > .active > a:focus {
  border-color: transparent #ddd #ddd #ddd;
}

.tabs-left > .nav-tabs > li,
.tabs-right > .nav-tabs > li {
  float: none;
}

.tabs-left > .nav-tabs > li > a,
.tabs-right > .nav-tabs > li > a {
  min-width: 74px;
  margin-right: 0;
  margin-bottom: 3px;
}

.tabs-left > .nav-tabs {
  float: left;
  margin-right: 19px;
  border-right: 1px solid #ddd;
}

.tabs-left > .nav-tabs > li > a {
  margin-right: -1px;
  -webkit-border-radius: 4px 0 0 4px;
     -moz-border-radius: 4px 0 0 4px;
          border-radius: 4px 0 0 4px;
}

.tabs-left > .nav-tabs > li > a:hover,
.tabs-left > .nav-tabs > li > a:focus {
  border-color: #eeeeee #dddddd #eeeeee #eeeeee;
}

.tabs-left > .nav-tabs .active > a,
.tabs-left > .nav-tabs .active > a:hover,
.tabs-left > .nav-tabs .active > a:focus {
  border-color: #ddd transparent #ddd #ddd;
  *border-right-color: #ffffff;
}

.tabs-right > .nav-tabs {
  float: right;
  margin-left: 19px;
  border-left: 1px solid #ddd;
}

.tabs-right > .nav-tabs > li > a {
  margin-left: -1px;
  -webkit-border-radius: 0 4px 4px 0;
     -moz-border-radius: 0 4px 4px 0;
          border-radius: 0 4px 4px 0;
}

.tabs-right > .nav-tabs > li > a:hover,
.tabs-right > .nav-tabs > li > a:focus {
  border-color: #eeeeee #eeeeee #eeeeee #dddddd;
}

.tabs-right > .nav-tabs .active > a,
.tabs-right > .nav-tabs .active > a:hover,
.tabs-right > .nav-tabs .active > a:focus {
  border-color: #ddd #ddd #ddd transparent;
  *border-left-color: #ffffff;
}


#hover_wrap{
  position: relative;
}


#hover_target{
    position: absolute;
    background: rgba(255,255,255,.9);
    border: 2px solid #ccc;
    min-width: 100px;
    max-width: 300px;
    width:300px;
    z-index:2800;
    
}

#hover_target .head{
  background:#e0e0e0;
  font-size:14px;
  font-weight:bold;
  padding:5px;
}

#hover_target .content{
  font-size: 12px;
}

#hover_target td.val{
    white-space: nowrap;
    text-align:right;
}

.hover-val{
  font-size:22px;
  color:#333;
  font-weight:bold;
  display:inline-block;
  padding:4px;
}

.raster-hover .hover-val{
  color:#999;
}

.hover-units{
  font-size:12px;
}


.home .beta-promo{
  background:#FFF;
  border-bottom:1px solid #CCC;
  font-size:16px;
  padding:10px 20px;
  margin-bottom:30px;
  background: -moz-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(112,112,112,0) 50%, rgba(224,224,224,1) 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(112,112,112,0) 50%,rgba(224,224,224,1) 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(to bottom, rgba(0,0,0,0) 0%,rgba(112,112,112,0) 50%,rgba(224,224,224,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#e0e0e0',GradientType=0 ); /* IE6-9 */
}
