
#map {
  height: 800px;
  margin-bottom: 15px;
  /*border-radius: 10px;*/
  overflow: hidden;
}

#map-wrapper {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #ccc;
}

#embedded-legend-button {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 750;
}

#embedded-legend {
  position: absolute;
  top: 42px;
  right: 12px;
  z-index: 750;
  border: 1px solid #ccc;
  border-radius: 4px;
  width: 280px;
  max-height: 70%;
  outline: none;
}

#embedded-legend-wrapper {
  padding: 10px;
}

#map-buttons {
  position: absolute;
  bottom: 50px;
  right: 0;
  z-index: 1020;
}
#map-buttons button {
  width: 150px;
}

#attribute-data {
  position: absolute;
  top: 180px;
  right: 0;
  z-index: 950;
  width: 250px;
  font-size: 16px;
  color: white;

}
#attribute-data > div {
  padding: 10px;
  border-radius: 4px;
  background-color: rgba(60, 110, 160, 0.65);
  /* For IE 5.5 - 7*/
  filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#bb2d8998, endColorstr=#bb2d8998);
  /* For IE 8*/
  -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#bb2d8998, endColorstr=#bb2d8998)";
}

#aggregated-attribute-overlay {
  position: absolute;
  /*top: 25%;
  top: 180px;
  left: 10px;*/
  z-index: 950;
  min-width: 190px;
  width: 280px;
  max-height: 250px;
  font-size: 14px;
  color: white;
  border-radius: 4px;
}

#aggregated-attribute-overlay .accordion-group {
  border: 0px;
}

#aggregated-attribute-overlay .accordion-heading {
  font-size: 14px;
}

#aggregated-attribute-overlay .accordion-toggle {
  padding: 0px;
  text-decoration: none;
}

#aggregated-attribute-overlay .accordion-inner {
  padding: 0px;
  border-top: 0px;
  background-color: rgba(60, 110, 160, 0);
  /* For IE 5.5 - 7*/
  filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#002d8998, endColorstr=#002d8998);
  /* For IE 8*/
  -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#002d8998, endColorstr=#002d8998)";
}

#aggregated-attribute-overlay > span {
  margin-right: 10px;
  margin-top: 10px;
}

/* REMOVING for OFR */
/*#aggregated-attribute-overlay h4 {
  color: white !important;
  margin-bottom: 2px !important;
}*/


#aggregated-attribute-overlay dl {
  margin-top: 0px !important;
  /*margin-left: 5px;*/
  margin-bottom: 0px;
}

#aggregated-attribute-overlay dt {
  font-weight: normal;
}

#aggregated-attribute-overlay > div {
  padding: 10px;
  border-radius: 4px;
/*  background-color: rgb(60, 110, 160);
*/  /* RGBa with 0.6 opacity */
  background-color: rgba(60, 110, 160, 0.65);
  /* For IE 5.5 - 7*/
  filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#bb2d8998, endColorstr=#bb2d8998);
  /* For IE 8*/
  -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#bb2d8998, endColorstr=#bb2d8998)";
}

#aggregated-attribute-content {
  max-height: 250px;
  padding-bottom: 0px;
  margin-bottom: -8px !important;
}

#aggregated-attribute-content .mCSB_container {
  padding-left: 10px;
  margin-right: 5px;
  overflow: hidden;
}

#aggregated-attribute-content .mCSB_scrollTools {
  padding-top: 30px;
  height: 85%;
  right: -4px;
}

#aggregated-attribute-content .mCustomScrollBox {
  max-height: 250px;
  margin-right: -20px;
  left: -5px;
}

#aggregated-attribute-content .mCSB_dragger_bar {
  width: 6px;
}

#bookmarks-table {
  height: 150px;
  overflow: hidden;
  outline: none;
}

#bookmarks-table {
  max-height: 150px;
  overflow-y: auto;
  overflow-x: visible;
}

#opacity-popover {
  left: 174px;
  width: 230px;
}

#opacity-popover .controls {
  width: 100%;
  height: 40px;
}

#opacity-popover .btn {
  margin-top: 5px;
  margin-bottom: 10px;
}

#map-info {
  margin-top: 10px !important;
}
#pos {
  position: absolute;
  background: white;
  border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
  padding: 5px 10px;
  display: none;
  z-index: 1000;
}

#map .olControlAttribution {
  bottom: 0px;
  left: 3px;
}
#map .olControlZoom {
    position: absolute;
    bottom: 12px;
    right: 12px;
}
#map .olControlScaleBar {
    right: 50px;
    line-height: 17px;
}

i.check {
  position: absolute;
  right: 5px;
  top: 10px;
}

/* the following overrides a 20px margin that was behaving intermittently in conjunction with the hovering of icon-check-empty */
.accordion {
  margin-bottom: 150px !important;
}

.btn-layer.not-active:hover i.icon-check-empty {
  display: block !important;
  opacity: .4;
  /* for IE */
  filter: alpha(opacity=40);
}

.attribution {
  font-size: 10px;
}

.theme-buttons {
  margin-bottom: 15px;
}

img.olTileImage {
    max-width: 256px !important;
}

div.olLayerGoogleCopyright,
div.olLayerGooglePoweredBy
{
  display: none !important;
}

#left-panel {
  height: 100%;
  padding-bottom: 10px;
}

#planner-sidebar {
  overflow-x: hidden;
  overflow-y: hidden;
  min-width: 370px;
  max-width: 370px;
  height: 100%;
  top: 12px;
  z-index: 750;
  margin-left: 12px;
  background-color: white;
  border-radius: 10px;
  opacity: .95;
  border: 1px solid #ccc;
}

.sidebar-nav {
  /*height: 600px;
  padding: 9px 0;*/
}

.sidebar-footer {
  position: absolute;
  margin-top: -50px;
  z-index: 760;
  height: 50px;
  bottom: 0;
  width: 100%;
}

#bottom-button-span {
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 1;
  padding-left: 12px;
  padding-bottom: 12px;
  background-color: #DDD;
  border-top: 1px solid #AAA;
  width: 100%;
}

.tab-content {
  overflow: visible;
}

.in {
  overflow: visible;
}

.layer-buttons {
  position: relative;
}

.layer-menu {
  position: absolute;
  outline: 0;
  max-width: 95%;
}

.layer-menu li a {
  color: #333;
  display: block;
  font-weight: normal;
  padding: 3px 0px;
  margin-left: 5px;
  margin-right: 5px;
}

.layer-menu li a:hover, .layer-menu li a:focus {
  text-decoration: none;
  background-color: #0081c2;
  color: white;
}

.dropdown-menu: {
  z-index: 1100 !important;
  outline: 0;
}

.alert {
  margin-bottom: 0px;
}

.olImageLoadError {
    /* when OL encounters a 404, don't display the pink image */
    display: none !important;
    visibility: hidden !important;
    background-color: transparent;
}

// hide some stuff when using sortable
//   so the controls don't show

.ui-sortable-helper .btn {
  display: none;
}


a.disabled-link,
a.disabled-link:visited ,
a.disabled-link:active,
a.disabled-link:hover {
    color:#aaa !important;
}

/* shifts the map left when hiding the layers panel */
.shift-left {
  margin-left: 0px !important;
}

.fullscreen-map {
  margin-left: 0px !important;
  width: 100% !important;
}
.fullscreen-with-layers {
  margin-left: 0px !important;
  /*width: 68.3% !important;*/
  width: 75% !important;
}
.fullscreen-with-layers-authenticated {
  margin-left: 0px !important;
  /*width: 68.3% !important;*/
  width: 65% !important;
}
.fullscreen-with-legend {
  margin-left: 0px !important;
  width: 80% !important;
}
.fullscreen-with-legend-and-layers {
  margin-left: 0px !important;
  width: 55% !important;
}
.fullscreen-data {
  max-width: 500px;
  max-height: 700px;
}
.fullscreen-data-authenticated {
  margin-left: 0px !important;
  width: 35% !important;
}
.fullscreen-legend {
  margin-left: 0px !important;
  width: 20% !important;
}

#overview-overlay {
  position: absolute;
  /*border-radius: 4px; can't tell if I want this or not...*/
  z-index: 950;
  /*bottom: 0;
  min-width: 100%;
  max-height: 60%;
  overflow-x: hidden;
  overflow-y: auto;*/
  /*overflow: auto;*/
  font-size: 12px;
  /* RGBa with 0.6 opacity */
  background-color: rgba(60, 110, 160, 0.65);
  /* For IE 5.5 - 7*/
  filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#bb2d8998, endColorstr=#bb2d8998);
  /* For IE 8*/
  -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#bb2d8998, endColorstr=#bb2d8998)";
}

#overview-overlay-header {
  margin-bottom: 10px;
}

#overview-overlay-header .dropdown-menu {
  margin-top: 15px;
  background-color: rgba(60, 110, 160, 0.65);
}

#overview-overlay-header .caret {
  /*border-top: 4px solid white;*/
  margin-left: 5px;
  margin-top: 8px;
}
#overview-overlay-header a .dropdown-toggle {
  background-color: rgba(60, 110, 160, 0.65);
  /*color: white;
  text-decoration: none;*/ /*these two lines caused problems with the close 'x' button*/
}

#overview-overlay-header a:hover {
  text-decoration: none;
}

#overview-overlay-header .dropdown-toggle {
  color: white;
  background-color: rgba(60, 110, 160, .5);
  background-image: none;
  font-size: 16px;
  font-weight: bold;
  text-shadow: none;
}

#overview-overlay-dropdown {
  background-color: rgba(60, 110, 160, .9) !important;
  height: 100px;
  width: 100%;
  overflow: auto;
}

#overview-overlay-dropdown a{
  color: white;
  width: 75%;
}

#overview-overlay-dropdown .mCSB_container {
  margin-right: 0px;
}

#overview-overlay-content {
  padding: 10px;
  padding-bottom: 5px;
  color: white;
}

#overview-overlay-content .mCustomScrollBox {
  /*padding-bottom: 5px;
  height: 105% !important;*/
}

#overview-overlay-text {
  height: 100px;
  width: 100%;
  overflow: hidden;
}

#overview-overlay-text .mCSB_container {
  padding: 5px 10px 15px;
  margin-right: 25px;
  /*background-color: rgba(60, 110, 160, 0.25098);*/
}

#overview-overlay-text .mCSB_scrollTools {
  height: 95%;
}

#overview-overlay-text .mCSB_dragger_bar {
  width: 6px;
}

#overview-overlay .title {
  font-size: 16px;
  font-weight: bold;
}

#overview-overlay .text {
  font-size: 15px;
}

#overview-overlay .notes {
  font-size: 15px;
  margin-top: 10px;
  margin-bottom: 10px;
}

#overview-overlay-links {
  margin-top: 10px;
}

#overview-dropdown-button {
    min-width: 250px;
    text-align: left;
}

#overview-dropdown-button .caret {
  border-top: 4px solid white;
}

#fullscreen-error-overlay {
  position: absolute;
  top: 0;
  z-index: 950;
  width: 70%;
  margin-left: 15%;
  font-size: 16px;
  color: white;
}

#error-overlay {
  position: absolute;
  top: 12px;
  z-index: 950;
  width: 50%;
  font-size: 16px;
  color: white;
  left: 400px;
}

#error-overlay > div,
#fullscreen-error-overlay > div {
  padding: 10px;
  border-radius: 4px;
/*  background-color: rgb(60, 110, 160);
*/  /* RGBa with 0.6 opacity */
  background-color: rgba(60, 110, 160, 0.65);
  /* For IE 5.5 - 7*/
  filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#bb2d8998, endColorstr=#bb2d8998);
  /* For IE 8*/
  -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#bb2d8998, endColorstr=#bb2d8998)";
}

.tab-data-accordion .dropdown-menu {
  right: 26px;
  max-height: 160px;
  min-height: 60px;
  width: 336px;
  overflow-y: auto;
}

.tab-data-accordion .dropdown-menu {
  right: 0px;
  margin-top: 0px;
}

.tab-data-accordion li.layer {
	margin-bottom: 10px;
}

.layer .btn-info-sign {
    padding: 4px 8px;
}

.designs-data {
  margin-top: 0px;
}

.design-list .accordion-group {
  border-radius: 0;
}

.designs-accordion {
  width: 370px;
}

.designs-accordion  ul.unstyled {
  margin-bottom: 0px;
  padding: 0px;
}

.designs-accordion li {
  padding-bottom: 10px;
}

.designs-accordion .dropdown-menu {
  margin-top: 0;
  position: absolute;
  left: 210px;
  min-width: 100px;
}

.designs-accordion .dropdown-menu li {
  padding-bottom: 0;
}

.designs-accordion .accordion-toggle {
  width: 280px;
  display: inline-block;
}

.drawing-collections {
  margin-bottom: 10px;
}

.drawing-collections .accordion-group {
  border: none;
}

.drawing-collections .accordion-header .accordion-toggle {
  display: block;
  margin-bottom: -1px;
  padding: 7px 15px 6px;
  position: relative;
  width: 100%;
}

.drawing-collections .accordion-header .accordion-toggle div {
  display: inline-block;
}

.drawing-collections .accordion-header .accordion-toggle:before {
  border-bottom: 4px solid transparent;
  border-top: 4px solid transparent;
  border-left: 5px solid #00446D;
  content: '';
  left: 4px;
  position: absolute;
  top: 12px;
  transition: .2s transform ease-in-out;
}

.drawing-collections .accordion-header.active .accordion-toggle:before {
  transform: rotateZ(90deg);
}

.drawing-collections.accordion-wrap .btn-group:first-child,
.drawing-collections .btn-group + .btn-group {
  margin-left: 0;
}

.drawing-collections .btn-group-layer .btn-layer {
  border-left: 1px solid #ccc;
}

.drawing-collections .collapse.in .accordion-inner,
.drawing-collections .accordion-header.active {
  border: 1px solid #efefef;
  background-color: #fcfeff;
}

.drawing-collections .collapse.in .accordion-inner {
  border-top: none;
}

.drawing-collections .accordion-header.active {
  border-bottom: none;
  margin-left: -1px;
}

#drawing-accordion {
  margin-bottom: 120px;
}

.create-new-button {
  cursor: pointer;
  display: inline-block;
  width: 16px;
  padding: 9px 10px 5px 12px;
  margin-bottom: 0px;
}

.create-new-button:hover {
  background: #e6e6e6;
  text-decoration: none;
}

.tab-data-accordion, .designs-accordion, #sharing-groups, #bookmark-sharing-groups {
    outline: none;
}

.tab-data-accordion, #legend-accordion, .designs-accordion {
  height: 100%;
  overflow-y: auto;
}

.tab-data-accordion .accordion-group {
  border-radius: 0px;
}

.tab-content {
  margin-top: 0;
  position: static;
  top: initial;
  /*bottom: 50px;*/
  height: auto !important;
}

.my-tab-content {
  top: 0px;
  bottom: 50px;
  position: absolute;
}

.tab-content .accordion-inner {
  /*overflow: visible;*/
  background: white;
}

.btn.tweet-trash {
    height: 20px;
    font-size: 16px;
}

.btn.tweet-trash i {
  margin-top: 3px;
  margin-left: 2px;
  padding: 0px;
}

.tweet-cell {
  width: 60px;
  padding-right: 0px !important;
}

#bookmark-popover {
  max-width: 400px !important;
  min-width: 400px !important;
  z-index: 1030;
  top: -68px !important;
}

#bookmark-modal {
  z-index: 1500;
}

.modal-backdrop {
  z-index: 1050;
}

.modal-body .sharing-header {
  text-align: left;
  margin-left: 20px;
}

.group-members-popover {
  cursor: default;
}
.group-members-popover:hover {
  text-decoration: none;
}