/* ============================= */
/* ====== Map Controller ======= */
/* ============================= */
/* ============================= */
/* ======== Main layout ======== */
/* ============================= */
/* ===================== */
/* ====== Loader ======= */
/* ===================== */
.loader,
.analysis-loader {
  margin: 60px auto;
  font-size: 4px;
  position: relative;
  text-indent: -9999em;
  border-top: 2px solid rgba(200, 200, 200, 0.5);
  border-right: 2px solid rgba(200, 200, 200, 0.5);
  border-bottom: 2px solid rgba(200, 200, 200, 0.5);
  border-left: 2px solid #0b4d70;
  -webkit-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-animation: load8 0.7s infinite linear;
  animation: load8 0.7s infinite linear; }

.loader,
.analysis-loader,
.loader:after,
.analysis-loader:after {
  border-radius: 50%;
  width: 10em;
  height: 10em; }

@-webkit-keyframes load8 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg); }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg); } }
.loader_wrap {
  opacity: 1;
  position: absolute;
  top: 0;
  width: 100%;
  height: 110%;
  background-color: lightgrey;
  z-index: 100000;
  transition: opacity 1s ease-out;
  visibility: visible; }
  .loader_wrap .loader {
    margin-top: 300px; }

/* ========================= */
/* ========= HEADER ======== */
/* ========================= */
body > header {
  background-color: #0b4d70;
  -webkit-box-shadow: 2px 5px 22px -1px rgba(0, 0, 0, 0.49);
  -moz-box-shadow: 2px 5px 22px -1px rgba(0, 0, 0, 0.49);
  box-shadow: 2px 5px 22px -1px rgba(0, 0, 0, 0.49);
  /*
     todo hardcode for puerto.
  */ }
  body > header.puerto {
    border-bottom: 3px solid #808080; }
  body > header .logo {
    max-height: 60px;
    margin-top: 10px;
    margin-bottom: 10px; }
  body > header .secondary_logo {
    max-height: 60px;
    margin-left: 2px; }
  body > header .navigation {
    list-style-type: none;
    padding-right: 0;
    margin-bottom: 15px; }
    body > header .navigation li {
      display: inline-block;
      background-color: #0b4d70;
      margin-right: 10px;
      margin-top: 10px; }
      body > header .navigation li a {
        display: inline-block;
        line-height: 5em;
        text-decoration: none;
        color: #b2dbfb;
        padding: 0 10px;
        outline: none; }
        body > header .navigation li a:hover {
          text-decoration: none;
          color: #b2dbfb;
          background-color: #3b708c; }
  @media (max-width: 991px) {
    body > header .navigation {
      text-align: left;
      list-style-type: none;
      padding: 0;
      margin: 0; }
      body > header .navigation li {
        margin: 0;
        display: block;
        border-top: 1px solid #3E5E77; }
        body > header .navigation li a {
          width: 100%; } }
  body > header .hamburger {
    margin-top: 22px;
    /*
       Remove right margin on mobile devices.
    */ }
    @media (max-width: 991px) {
      body > header .hamburger {
        margin-right: 0; } }
    @media (max-width: 991px) {
      body > header .hamburger.navbar-toggle {
        display: block !important; } }
    body > header .hamburger .icon-bar {
      background-color: white; }
  @media (max-width: 991px) {
    body > header {
      /* since 3.1.0 */ }
      body > header .navbar-header {
        float: none; }
      body > header .navbar-toggle {
        display: block; }
      body > header .navbar-collapse {
        border-top: 1px solid transparent;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1); }
      body > header .navbar-collapse.collapse {
        display: none !important; }
      body > header .navbar-nav {
        float: none !important;
        margin: 7.5px -15px; }
      body > header .navbar-nav > li {
        float: none; }
      body > header .navbar-nav > li > a {
        padding-top: 10px;
        padding-bottom: 10px; }
      body > header .navbar-text {
        float: none;
        margin: 15px 0; }
      body > header .navbar-collapse.collapse.in {
        display: block !important; }
      body > header .collapsing {
        overflow: hidden !important; } }

footer {
  min-height: 80px;
  position: relative;
  padding-top: 10px;
  background-color: #0b4d70;
  -webkit-box-shadow: 2px 5px 22px -1px rgba(0, 0, 0, 0.49);
  -moz-box-shadow: 2px 5px 22px -1px rgba(0, 0, 0, 0.49);
  box-shadow: 2px 5px 22px -1px rgba(0, 0, 0, 0.49);
  font-size: 11px;
  color: #eee;
  padding: 15px; }
  footer .copyright-wrapper {
    /*
       Add space between copyright and links on to mobile devices.
    */ }
    @media (max-width: 991px) {
      footer .copyright-wrapper {
        margin-bottom: 10px; } }
    footer .copyright-wrapper .copyright p {
      margin-bottom: 0; }
  footer a {
    color: #eee; }
    footer a:hover {
      color: #eee; }

html, body, #map {
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  font-size: 13px; }

body {
  background-color: #d1d1d1; }

main {
  background-color: white;
  padding: 0 15px; }

.notice {
  width: 50%;
  margin: 0 auto;
  border: 1px solid #f7a4af;
  box-shadow: 0 1px 4px rgba(255, 0, 0, 0.6); }

/* Temporary (start) */
.btn-group .btn {
  box-shadow: none; }
  .btn-group .btn:hover {
    box-shadow: none; }

/* Temporary (end) */
/* ===================================================== */
/* ======== Customize bootstrap & global styles ======== */
/* ===================================================== */
a {
  color: #074d71; }

.nowrap {
  white-space: nowrap; }

i.icon {
  background: url("../Resources/public/img/bg.gif");
  width: 21px;
  height: 9px;
  display: inline-block; }
  i.icon.icon__bottom {
    height: 4px;
    margin-bottom: 4px;
    background: url("../Resources/public/img/desc.gif"); }
  i.icon.icon__top {
    height: 4px;
    margin-bottom: 4px;
    background: url("../Resources/public/img/asc.gif"); }

.nav-pills > li.active > a,
.nav-pills > li.active > a:hover,
.nav-pills > li.active > a:focus {
  background-color: #0b4d70; }

.mainmenu {
  margin-top: 0;
  margin-bottom: 3px; }
  .mainmenu li {
    margin: 0 2px; }
  .mainmenu select,
  .mainmenu select:focus {
    outline: none;
    border: none;
    box-shadow: none; }

.form-control__inline {
  display: inline-block;
  width: auto; }

/*
   Set z-index for date picker.
*/
.datepicker-dropdown {
  z-index: 10000 !important; }

.disabled {
  cursor: not-allowed !important;
  color: #BBBBBB !important;
  background-color: #F3F3F3 !important; }

/*
   Pagination sortable.
*/
.sortable a i {
  background: url("../Resources/public/img/bg.gif");
  width: 21px;
  height: 9px;
  display: inline-block; }
.sortable a.asc i {
  height: 4px;
  margin-bottom: 4px;
  background: url("../Resources/public/img/asc.gif"); }
.sortable a.desc i {
  height: 4px;
  margin-bottom: 4px;
  background: url("../Resources/public/img/desc.gif"); }

/* ========================= */
/* ======== CartoDB ======== */
/* ========================= */
div.cartodb-tooltip {
  min-width: inherit;
  margin-top: 10px;
  margin-left: 10px; }

div.cartodb-tooltip-content-wrapper {
  background-color: rgba(0, 0, 0, 0.9); }

div.cartodb-tooltip-content-wrapper p {
  color: white; }

.leaflet-tile-pane .leaflet-layer:last-child {
  z-index: 1000; }

/* ========================= */
/* ======== Adverting ======== */
/* ========================= */
.monetizations {
  max-width: 728px;
  margin: 0 auto;
  overflow: hidden; }
  .monetizations_top, .monetizations_bottom {
    padding: 18px 0 0 0; }

.message_form_container {
  margin: 20px 50px; }

.mapController {
  margin-bottom: 20px;
  /* ========================= */
  /* ======= TYPEAHEAD ======= */
  /* ========================= */
  /* ========================= */
  /* ========== MAP ========== */
  /* ========================= */
  /* ===================== */
  /* ====== Loader ======= */
  /* ===================== */ }
  .mapController .typeahead_wrap {
    margin-top: 40px;
    margin-bottom: 10px; }
    .mapController .typeahead_wrap .twitter-typeahead {
      display: block !important; }
    .mapController .typeahead_wrap .typeahead_government {
      display: block;
      background-color: #fff;
      padding-left: 10px !important; }
    .mapController .typeahead_wrap .typeahead_elected {
      display: block;
      background-color: #fff;
      padding-left: 10px !important; }
  .mapController .tt-menu {
    width: 100%;
    background-color: #fff;
    border-top: 1px solid rgba(0, 0, 0, 0.2);
    -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    cursor: default;
    z-index: 2000 !important;
    max-height: 150px;
    overflow-y: auto; }
  .mapController .tt-suggestion {
    padding: 8px 12px;
    font-size: 24px;
    line-height: 30px;
    text-align: left; }
  .mapController .tt-suggestion:hover, .mapController .tt-cursor {
    color: #fff;
    background-color: #0097cf;
    cursor: pointer; }
  .mapController .tt-suggestion p {
    margin: 0; }
  .mapController .sugg-box {
    position: relative;
    border-bottom: 0 solid #eee;
    overflow: hidden; }
  .mapController .sugg-state {
    top: 0;
    left: 0;
    margin-right: 20px;
    float: left;
    z-index: 0;
    font-size: 18px;
    color: #337ab7;
    font-weight: bold; }
  .mapController .sugg-name {
    font-size: 20px;
    display: inline;
    text-transform: uppercase; }
  .mapController .sugg-govname {
    font-size: 13px;
    text-transform: uppercase; }
  .mapController .sugg-type {
    font-size: 70%;
    color: #337ab7;
    float: right;
    top: 36px;
    right: 0;
    line-height: 100%; }
  .mapController .loader,
  .mapController .analysis-loader {
    margin: 60px auto;
    font-size: 4px;
    position: relative;
    text-indent: -9999em;
    border-top: 2px solid rgba(200, 200, 200, 0.5);
    border-right: 2px solid rgba(200, 200, 200, 0.5);
    border-bottom: 2px solid rgba(200, 200, 200, 0.5);
    border-left: 2px solid #0b4d70;
    -webkit-transform: translateZ(0);
    -ms-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-animation: load8 0.7s infinite linear;
    animation: load8 0.7s infinite linear; }
  .mapController .loader,
  .mapController .analysis-loader,
  .mapController .loader:after,
  .mapController .analysis-loader:after {
    border-radius: 50%;
    width: 10em;
    height: 10em; }
@-webkit-keyframes load8 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg); }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg); } }
  .mapController .loader_wrap {
    opacity: 1;
    position: absolute;
    top: 0;
    width: 100%;
    height: 110%;
    background-color: lightgrey;
    z-index: 100000;
    transition: opacity 1s ease-out;
    visibility: visible; }
    .mapController .loader_wrap .loader {
      margin-top: 300px; }
  @media screen and (max-width: 771px) {
    .mapController .map_mobile {
      padding: 0; } }
  .mapController #map_wrap {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    /* ============================ */
    /* ========== Legend ========== */
    /* ============================ */
    /* ================================== */
    /* ========== Range Legend ========== */
    /* ================================== */
    /**
     * Move CartoDB color range legend on top
     */ }
    .mapController #map_wrap #menu {
      opacity: 0;
      position: absolute;
      list-style-type: none;
      width: 130px;
      background: #ffffff;
      font-size: 11px;
      z-index: 10;
      right: 10px;
      padding: 0;
      box-shadow: 0 0 5px gray;
      transition: opacity 1s ease-out;
      /*map legend circles*/ }
      .mapController #map_wrap #menu .legend-header {
        position: relative;
        padding: 8px 8px 8px 19px;
        background-color: #f5f5f5; }
      .mapController #map_wrap #menu .legend-item {
        position: relative;
        padding: 8px 8px 8px 19px;
        background-color: #f5f5f5;
        cursor: pointer; }
        .mapController #map_wrap #menu .legend-item:first-child {
          background-color: #dddddd; }
        .mapController #map_wrap #menu .legend-item:hover {
          color: #3c763d;
          border-color: #d6e9c6;
          background-color: #dff0d8; }
        .mapController #map_wrap #menu .legend-item.selected {
          color: #3c763d;
          border-color: #d6e9c6;
          background-color: #dff0d8; }
        .mapController #map_wrap #menu .legend-item a {
          color: gray;
          text-decoration: none;
          outline: none; }
      .mapController #map_wrap #menu .marker-triangle-up {
        display: inline-block;
        width: 0;
        height: 0;
        margin-left: 4px;
        margin-right: 4px;
        border-bottom: 12px solid #103252;
        border-left: 6px solid transparent;
        border-right: 6px solid transparent;
        vertical-align: middle; }
        .mapController #map_wrap #menu .marker-triangle-up.red {
          border-bottom-color: #f00; }
        .mapController #map_wrap #menu .marker-triangle-up.blue {
          border-bottom-color: #add8e6; }
        .mapController #map_wrap #menu .marker-triangle-up.purple {
          border-bottom-color: #800080; }
      .mapController #map_wrap #menu .marker-circle {
        display: inline-block;
        width: 12px;
        height: 12px;
        margin-left: 4px;
        margin-right: 4px;
        vertical-align: text-top;
        -webkit-border-radius: 50%;
        -moz-border-radius: 50%;
        border-radius: 50%;
        background: white; }
        .mapController #map_wrap #menu .marker-circle.red-stroke {
          border: 1px solid #f00000; }
        .mapController #map_wrap #menu .marker-circle.blue-stroke {
          border: 1px solid #add8e6; }
        .mapController #map_wrap #menu .marker-circle.purple-stroke {
          border: 1px solid #800080; }
        .mapController #map_wrap #menu .marker-circle.red-fill {
          background-color: #f00000; }
        .mapController #map_wrap #menu .marker-circle.blue-fill {
          background-color: #add8e6; }
        .mapController #map_wrap #menu .marker-circle.purple-fill {
          background-color: #800080; }
      .mapController #map_wrap #menu .grey-line {
        width: 12px;
        height: 2px;
        background: #808080;
        display: inline-block;
        margin: 0 4px;
        vertical-align: middle; }
      .mapController #map_wrap #menu .glyphicon.glyphicon-ok {
        display: none;
        position: absolute;
        left: 8px;
        top: 12px; }
      .mapController #map_wrap #menu .selected .glyphicon {
        display: inline; }
    @media (max-width: 767px) {
      .mapController #map_wrap #menu {
        width: 100%;
        left: 0;
        right: 0;
        background-color: rgba(255, 255, 255, 0.67); }
        .mapController #map_wrap #menu .legend-item a {
          color: black; }
        .mapController #map_wrap #menu .legend-item.selected {
          background: none;
          padding: 2px 8px; }
        .mapController #map_wrap #menu .glyphicon.glyphicon-ok {
          left: auto;
          right: 10px;
          top: 6px; }
      .mapController #map_wrap .legend-header {
        display: none; }
      .mapController #map_wrap .legend-item {
        width: 50%;
        float: left; }
      .mapController #map_wrap .leaflet-top.leaflet-left {
        display: none; } }
    .mapController #map_wrap .cartodb-legend-stack__top {
      top: 5px;
      right: 5px;
      bottom: inherit; }
    .mapController #map_wrap .cartodb-legend.custom.vertical {
      padding: 0; }
      .mapController #map_wrap .cartodb-legend.custom.vertical .legend-title {
        padding: 6px 15px;
        margin: 0;
        font-size: 10px;
        width: 100px;
        text-align: center;
        background-color: #E6E6E6;
        border-top-left-radius: 4px;
        border-top-right-radius: 4px; }
      .mapController #map_wrap .cartodb-legend.custom.vertical li {
        display: block;
        text-align: center;
        height: auto;
        padding: 6px 15px;
        margin: 5px;
        border: 1px solid #ddd;
        border-radius: 5px; }
        .mapController #map_wrap .cartodb-legend.custom.vertical li.active {
          background-color: #dff0d8; }
        .mapController #map_wrap .cartodb-legend.custom.vertical li:hover {
          background-color: #dff0d8;
          cursor: pointer; }
        .mapController #map_wrap .cartodb-legend.custom.vertical li .bullet {
          float: none;
          display: inline-block; }
    .mapController #map_wrap .cartodb-legend.custom.horizontal {
      padding: 0; }
      .mapController #map_wrap .cartodb-legend.custom.horizontal .legend-title {
        padding: 6px 15px;
        margin: 0;
        text-align: center;
        font-size: 10px;
        background-color: #E6E6E6;
        border-top-left-radius: 4px;
        border-top-right-radius: 4px; }
      .mapController #map_wrap .cartodb-legend.custom.horizontal ul {
        display: inline-block;
        vertical-align: middle;
        text-align: center;
        width: 100%;
        padding: 0 5px; }
      .mapController #map_wrap .cartodb-legend.custom.horizontal li {
        display: inline-block;
        padding: 5px 15px;
        text-align: center;
        height: auto;
        border: 1px solid #ddd;
        border-radius: 5px;
        margin-top: 3px;
        margin-bottom: 3px; }
        .mapController #map_wrap .cartodb-legend.custom.horizontal li.active {
          background-color: #dff0d8; }
        .mapController #map_wrap .cartodb-legend.custom.horizontal li:hover {
          background-color: #dff0d8;
          cursor: pointer; }
        .mapController #map_wrap .cartodb-legend.custom.horizontal li:last-child {
          margin-left: 5px;
          margin-right: 5px; }
        .mapController #map_wrap .cartodb-legend.custom.horizontal li:not(:last-child) {
          margin-left: 5px; }
        .mapController #map_wrap .cartodb-legend.custom.horizontal li .bullet {
          float: none;
          display: inline-block; }
    .mapController #map_wrap .svg {
      margin: 0 4px;
      vertical-align: middle; }
    .mapController #map_wrap .mapOnProcessing {
      margin-top: 200px;
      text-align: center;
      opacity: 0;
      display: none;
      transition: opacity 1s ease-out; }
    .mapController #map_wrap .loader {
      margin-top: 200px; }
    .mapController #map_wrap #map {
      opacity: 0;
      width: 100%;
      height: 100%;
      transition: opacity 1s ease-out; }
  .mapController .intro-text .title h3 {
    text-align: center;
    color: #074d71; }
  .mapController .intro-text .content {
    font-size: 16px; }
