/* COMMON STYLES */

html{

    height: 100%;


}

body {
    font-family: 'Lato', sans-serif;
    color: #484C72;
    color: #3A3E49;
    margin: 0;
}

* {
    box-sizing: border-box;
}

*:focus {
  outline: none;
}

a:active, a:hover {
  outline: 0;
}

a, a:hover {
    color: #0094e3;
}

h1 {
    font-size: 1em;
}

h2 {
    display: inline-block;
    position: relative;
    font-size: 2.3em;
    padding-bottom: 15px;
    margin: 0 0 30px;
}

h2:after {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 4px;
    content: "";
    background: #00c387;
}

h3 {
    margin: 0;
    /* padding-bottom: 20px; */
    font-size: 1.6em;
}

h3.section-heading {
    position: relative;
    margin: 0;
    padding-bottom: 20px;
    font-size: 1.6em;
    margin-bottom: 30px;
    margin-top: 60px;
}

h3.section-heading:after {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 4px;
    content: "";
    background: #dcdcdc;
}

h4 {
    margin: 0;
    padding-bottom: 20px;
    font-size: 1.4em;
}

p {
    font-size: 1.25em;
    line-height: 1.7em;
    margin: 0 0 20px;
}

p:last-child {
    margin: 0;
}

@media (max-width: 480px) {
  h2 {
    font-size: 1.5em;
  }
  h3 {
    font-size: 1.3em;
  }
  h4 {
    font-size: 1.1em;
  }
  p {
    font-size: 1em;
  }
}
/* FIXING SIZES */
/*
.col-md-2 {
    width: 16.66666667%;
    float: left;
}

.col-md-4 {
    width: 33.33333333%;
    float: left;
}

.col-md-8 {
    width: 66.66666667%;
    float: left;
}

.col-lg-5 {
    width: 41.66666667%;
    float: left;
}

.col-lg-6 {
    width: 50%;
    float: left;
}

.col-md-offset-2 {
    margin-left: 16.66666667%;
}

.col-md-offset-3 {
    margin-left: 25%;
}*/

.gif-control .glyphicon {
  font-size: 1.3em;
  color: #000;
  cursor: pointer;
}

.gif-control .glyphicon:hover {
  opacity: 0.6;
}

.spinner {
  width: 40px;
  height: 40px;
  position: absolute;
  display: block;
  left: calc(50% - 20px);
}

.spinner:after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 5px solid #fff;
  border-color: #00c387 transparent #00c387 transparent;
  margin: 0px;
  animation: spin 0.5s linear infinite;
}


@keyframes spin {
   100% {
    transform: rotate(360deg);
  }
}


@media (max-width: 480px) {
  .col-xxs-12 {
    width: 100% !important;
  }
}

.help .row {
  margin-bottom: 15px;
}

/* HEADER */

.header {
    /*min-width: 980px;*/
    background: url('../img/pattern.jpg') repeat;
}

.header-content {
    /*margin: 0 auto;
    width: 980px;
    padding: 20px;*/
    color: #fff;
}

.header-content.-home {
    padding-bottom: 110px;
}

.bar {
    overflow: hidden;
}

.logo {
    background: url('../img/ebp-logo.svg') no-repeat;
}

.demo-viewer {
    width: 150px;
    padding-top: 5px;
    margin-top: 15px;
    text-align: center;
    font-size: .9em;
    font-weight: 300;
    /*text-transform: uppercase;*/
    border-top: 1px solid #656874;
    color: #b0b1b6;
}

.header .logo {
    margin-top: 28px;
    float: left;
    width: 150px;
    height: 100px;
    background-size: 100% auto;
}

.header .multi-logo {
    float: left;
}

.multi-logo .partner-logo {
    margin-top: 25px;
    float: left;
    width: 230px;
    padding-left: 30px;
}

.multi-logo .partner-logo img {
    display: block;
    margin: 0;
    padding: 10px;
    max-width: 230px;
    max-height: 100px;
    height: auto;
    background-color: #fff;
    border-radius: 3px;
}

@media (max-width: 991px) {
  .header .logo {
    width: 80px;
    height: 50px;
  }

  .header .partner-logo img {
    max-width: 115px;
    max-height: 50px;
    padding: 5px;
  }

  .header .partner-logo {
    width: unset;
    margin-top: 28px;
  }
}

.menu {
    float: right;
    width: 520px;
    text-align: right;
}

.close-button {
  display: none;
}

@media (max-width: 991px) {

  .menu {
    width: unset;
  }

  .menu ul {
    margin: 28px 0 0 !important;
  }

}

@media (max-width: 769px) {
  .menu {
    width: unset;
  }
  .close-button {
    display: block;
    float: right;
    margin: 0 30px 30px 0;
    cursor: pointer;
  }
}

.menu ul {
    display: inline-block;
    margin: 50px 0 0;
    padding: 0;
}

.menu li {
    list-style: none;
    float: left;
    margin-right: 1px;
}

@media (max-width: 769px) {
  .menu li {
    width: 100%;
    padding: 17px 0;
    border-bottom: 1px solid #3a3e49;
    text-align: left;
  }

  .menu a {
    background-color: unset !important;
    line-height: 28px !important;
    font-size: 18px;
  }

  .menu li.selected {
    background-color: #00c387 !important;
  }


}

.menu li:last-of-type {
    margin-right: 0;
}

.menu a {
    display: block;
    color: #fff;
    text-decoration: none;
    line-height: 50px;
    background-color: rgba(255, 255, 255, 0.2);
    padding: 0 20px;
    text-shadow: 0 1px 1px rgba(0,0,0,.1);
    -webkit-transition: background-color .3s;
       -moz-transition: background-color .3s;
            transition: background-color .3s;
}

.menu a:hover {
    color: #fff;
    text-decoration: none;
    background-color: rgba(255, 255, 255, 0.1);
}

.menu a:active, .menu a:visited, .menu a:focus {
    color: #fff;
    text-decoration: none;
}

.menu li.selected a {
    background-color: #00c387;
}

.menu li:nth-child(2) a {
    border-radius: 4px 0 0 4px;
}

.menu li:last-of-type a {
    border-radius: 0 4px 4px 0;
}

.intro-quote {
    text-align: center;
    padding: 60px 0 90px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.4);
}

@media (max-width: 480px) {
  .intro-quote {
    padding: 10px 0 20px;
  }
}

.intro-quote h1 {
    margin: 0;
    font-size: 3em;
    font-weight: 400;
    line-height: 1.4em;
}

.intro-quote .hgroup h1 {
    padding-bottom: 30px;
}

.intro-quote h3 {
    padding-bottom: 0;
    font-weight: 200;
    font-size: 1.4em;
}

/* SUBMENU */

.submenu {
    width: 100%;
    height: 60px;
    text-align: center;
}

.submenu.sticky .nav {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1;
}

.submenu .nav {
    width: 100%;
    height: 60px;
    min-width: 980px;
    border-bottom: 1px solid #e6e6e6;
    box-shadow: 0 1px 1px rgba(0, 0, 0, .12);
    background-color: #fff;
}

.submenu ul, .submenu li {
    display: inline-block;
}

.submenu li a {
    color: #00c387;
    font-size: 1.05em;
    line-height: 40px;
}

.submenu li a:hover {
    background-color: #eff3f6;
}

.submenu li a:focus {
    background-color: #fff;
}

.submenu li.active a {
    color: #fff;
    background-color: #00c387;
}

@media (max-width: 769px) {
  .submenu {
    height: unset;
  }

  .submenu .nav {
    position: relative !important;
    min-width: unset !important;
    display: block;
    height: unset;
  }
  .submenu li {
    display: block !important;
  }
}

/* SECTIONS */

.home-content {
    margin-top: -110px;
}

.section-content {
    margin: 0 auto;
      /*width: 980px;*/
    padding: 40px 20px;
}

@media (max-width: 769px) {
  .section-content {
    padding: 20px;
  }
}

.section-content img {
  max-width: 100%;
  height: auto;
}

.section-content.thin{


    padding: 20px 20px 20px 20px;
}

.section-content.thin_2{

    padding: 20px 20px 10px 20px;
}
.viewer {
    margin-bottom: 40px;
}

.map-viewfinder {
    padding-top: 40px;
    background-color: #fff;

    /*text-align: center;*/


    border-radius: 4px 4px 0 0;
}

#controlers {
    padding-bottom: 30px;
}

.viewfinder-explanation {
    text-align: left;
}

.alert {
    margin: 40px 0;
    padding: 30px 20px;
    background-color: #eff3f6;
}

.alert .glyphicon {
    position: relative;
    top: -1px;
    margin-right: 10px;
    display: inline-block;
    vertical-align: middle;
    color: #f4af00;
    font-size: 1em;
    background-color: #fff;
    border-radius: 30px;
}

.alert ul {
    padding-left: 50px;
}

.alert li {
    padding-bottom: 10px;
}

.alert li:last-of-type {
    padding-bottom: 0;
}

.alert-tips{

    margin-top: -20px;

}


.section-grey {
    /*min-width: 980px;*/
    background-color: #eff3f6;
}

.section-line-grey {
    border-top: 1px solid #e6e6e6;
}

.goals {
    padding-top: 20px;
}

.goals p {
    position: relative;;
    padding-left: 45px;
}

.goals p span {
    position: absolute;
    width: 28px;
    height: 28px;
    top: 0;
    left: 0;
    text-align: center;
    line-height: 28px;
    border-radius: 28px;
    background-color: #3A3E49;
    color: #fff;
    font-weight: 200;
    font-size: .8em;
}

.goals ul {
    padding-left: 60px;
}

.goals ul li {
    padding-bottom: 10px;
}

.goals ul li:last-of-type {
    /*padding-bottom: 0;*/
}

.btn-more {
    color: #fff;
    background-color: #00c387;
    border-color: transparent;
    -webkit-transition: background-color .3s;
       -moz-transition: background-color .3s;
            transition: background-color .3s;
}

.btn.btn-more:hover {
    color: #fff;
    background-color: #00a975;
    border-color: transparent;
}

.btn.btn-more:focus {
    color: #fff;
    background-color: #00c387;
    border-color: transparent;
}

.thumbnail {
    display: table;
    float: left;
    height: 130px;
    width: 130px;
    border: 0px;
}

.thumbnail_wrapper {
    display: table-cell;
    vertical-align: middle;
}

.footer {
    /*min-width: 980px;*/
    background-color: #3A3E49;
    background: url('../img/pattern.jpg') repeat;
}

@media (max-width: 480px) {
  .footer {
    text-align: center;
  }
}

.footer h4 {
    color: #fff;
    font-weight: 400;
}

.footer .section-content {
    position: relative;
}

.footer .logo {
    /*position: absolute;
    top: 60px;
    left: 20px;*/
    width: 130px;
    height: 130px;
    background-position: left center;
    background-size: 100% auto;
    margin: 0 auto;
}

.footer a {
    color: #9da3b2;
}

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

.footer li {
    font-size: 1.1em;
    padding-bottom: 5px;
}

.ebcc {
    text-align: center;
}

.ebcc-logo, .ebcc-projects {
    display: inline-block;
    vertical-align: middle;
}

.ebcc-logo {
    padding-right: 40px;
}

.ebcc-projects {
    text-align: left;
}

.ebcc-projects h4 {
    padding-bottom: 10px;
}

.ebcc-projects p {
    font-size: 1em;
    margin: 0;
}

.copyright {
    /*min-width: 980px;*/
    border-top: 1px solid #e6e6e6;
    padding: 20px;
    color: #9da3b2;
    font-size: .9em;
    text-align: center;
}

#return-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #00c387;
    width: 50px;
    height: 50px;
    display: block;
    text-decoration: none;
    -webkit-border-radius: 35px;
    -moz-border-radius: 35px;
    border-radius: 35px;
    display: none;
    -webkit-transition: all 0.3s ease;
       -moz-transition: all 0.3s ease;
        -ms-transition: all 0.3s ease;
         -o-transition: all 0.3s ease;
            transition: all 0.3s ease;
}

#return-to-top:hover span {
    -webkit-transform: translateY(-5px);
        -ms-transform: translateY(-5px);
            transform: translateY(-5px);
}

#return-to-top span {
    color: #fff;
    margin: 0;
    position: relative;
    left: 16px;
    top: 13px;
    font-size: 19px;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.btn-big {
    margin-top: 10px;
    font-size: 1.25em;
    font-weight: 200;
}

/* CSS we have changed from actual web, should be applied on the map */

/* float_box: changed box-shadow and border color; */
.float_box {
    webkit-box-shadow: rgba(0,0,0,0.1) 0 1px 2px; /* CHANGED */
    -moz-box-shadow: rgba(0,0,0,0.1) 0 1px 2px; /* CHANGED */
    box-shadow: rgba(0,0,0,0.1) 0 1px 2px; /* CHANGED */
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    -ms-border-radius: 4px;
    -o-border-radius: 4px;
    border-radius: 4px;
    border: 1px solid #dcdcdc; /* CHANGED */
    background: white;
    z-index: 5;
    cursor: text;
}

/* time_slider_cnt: changed box-shadow and border color; */


.time_slider_cnt {
    padding: 0;
    -webkit-box-shadow: rgba(0,0,0,0.1) 0 1px 2px; /* CHANGED */
    -moz-box-shadow: rgba(0,0,0,0.1) 0 1px 2px; /* CHANGED */
    box-shadow: rgba(0,0,0,0.1) 0 1px 2px; /* CHANGED */
    display: inline-block;
    height: 40px;
    background: white;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    -ms-border-radius: 4px;
    -o-border-radius: 4px;
    border-radius: 4px;
    border: 1px solid #dcdcdc; /* CHANGED */
    position: relative;
    top:-96px;
    left: 425px;
    text-align: center;
    color: #999999;
    margin-top: 4px;
    width: 155px;
}

/* time_info: changed background color; */
.time_info {
    position: relative;
    top: -91px;
    left: 365px;
    z-index: 40px;
    height: 40px;
    width: 202px;
    float: left;
    vertical-align: middle;
    background-image: none;
    border: 1px solid transparent;
    border-radius: 4px;
    -webkit-user-select: none;
    background-color: #3A3E49; /* CHANGED */
    color: #FFFFFF;
    font-size: 13px;
    padding: 0px 4px 2px 4px;
}

@-moz-document url-prefix() {
  .time_info {

       width: 208px;

  }
}

/* Added by David */

.text-more{

    color: #3A3E49;

}

.text-secondary{

    color: #00c387;

}

.lead_sm{

    font-size: 1em;
    line-height: 1.5em;


}

.lead_md{

    font-size: 1.1em;
    line-height: 1.5em;


}


.section-heading_sm {

    margin-top: 25px;
}

/* Feedback form */

.modal-header {

    background-color: #3A3E49;
    background: url('../img/pattern.jpg') repeat;
    color: #fff;

}

  div.cartodb-tiles-loader{

       position: absolute;
       left: 455px;
       top: -40px;
       border-right: 1px solid #E0E0E0;
          webkit-box-shadow: rgba(0,0,0,0.1) 0 1px 2px; /* CHANGED */
    -moz-box-shadow: rgba(0,0,0,0.1) 0 1px 2px; /* CHANGED */
    box-shadow: rgba(0,0,0,0.1) 0 1px 2px; /* CHANGED */
  }

.error_message{

    line-height: 20px;
    color: #fff;

    background-color: #00c387;
    padding: 8px;
    text-align: center;

    border-radius: 8px 8px 8px 8px;

}


.logout{

    position: absolute;
    right: 30px;

    top:0;
    z-index: 20;

    line-height: 20px;
    color: #fff;

    background-color: #00c387;
    padding: 8px;

    border-radius: 0px 0px 8px 8px;

}


.logout a{

    color: #fff;
    text-decoration: none;

}

.logout a:active, .logout a:visited, .logout a:focus, .logout a:hover {

    color: #fff;
    text-decoration: none;

}



.admin{

    position: absolute;
    right: 180px;

    top:0;
    z-index: 20;

    line-height: 20px;
    color: #fff;

    background-color: #00c387;
    padding: 8px;

    border-radius: 0px 0px 8px 8px;

}


.admin a{

    color: #fff;
    text-decoration: none;

}

.admin a:active, .admin a:visited, .admin a:focus, .admin a:hover {

    color: #fff;
    text-decoration: none;

}


/* Extra */

.label-ebp {
  background-color: #3A3E49;
}

.label-ebp-green{

  background-color: #00c387;

}

.table th, .table td {
     border-color: none !important;
 }

.background_green{

  background-color: #00c387;
  padding: 8px;
  margin: 2px;
  border-radius: 8px 8px 8px 8px;

}

.green-light{

  background-color: rgba(0, 195, 135, 0.1);

}

.black-light{

  background-color: rgba(58, 62, 73, 0.1);

}

.white{

  background-color: #fff;

}

.text-yellow{

  background-color: #f1c40f;

}

.text-orange{

  background-color: #d35400;

}

.text-red{

background-color: #c0392b;

}

#reset__range{

  margin-top: 52px;
  margin-left: -20px;


}

#action{

  overflow:auto;

}

#summary{

  margin-top: -30px;

}

.share {
    min-width: 0;
    margin: 2px -70px !important;
}

.socials {
  margin-top: 5px;
  margin-left:820px;
  z-index: 100;
}

.socials i {
  width: 25px;
}

@media (min-width: 1200px) {
  .container {
    width: 980px;
  }
}


/** NAVBAR **/

.icon-bar {
  background: #fff;
}



  @media (max-width: 769px) {
    .navbar-collapse {
      height: 100vh !important;
      width: 50%;
      background-color: rgba(35, 38, 45, 0.95);
      position: fixed;
      max-height: unset;
      padding: unset;
      display: block;
      left: 100%;
      transition: all 0.5s ease-out;
      z-index:100;
    }

    .navbar-collapse.in {
      display: block;
      left: 50%;
      transition: all 0.5s ease-out;
    }

    .navbar-toggle {
      margin-top: 32px;
    }

  }

  @media (max-width: 480px)  {
    .navbar-collapse {
      width: 100%;
    }

    .navbar-collapse.in {
      display: block;
      left: 0px;
      transition: all 0.5s ease-out;
    }
  }

.image {
  text-align: center;
  margin-bottom: 15px;
}

#introduction img {
  max-width: 100%;
}

.main-content iframe {
  max-width: 100%;
}


.iframe-responsive {
  position: relative;
  padding-bottom: 56.25%;
  padding-top: 30px;
  height: 0;
  overflow: hidden;
}

.iframe-responsive iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}



#maps_help .row {
  display: flex;
  align-items: start;
  margin-bottom: 30px;
}

#maps_help .section-heading_sm {
  margin-top: 0px;
}

#networking .row {
  margin-bottom: 50px;
}

@media (max-width: 767px) {
  #networking .section-content img {
    max-width: 200px;
    height: auto;
    margin: 0 auto 2em;
    display: block;
  }
}

@media (max-width: 480px) {
  #maps_help .row {
    display: block;
  }

  #networking .section-content img {
    max-width: 150px;
  }
}

.label-live {
  background-color: #C70039;
  color: #fff;
}

#third_parties tr td:first-child {
  min-width: 200px;
}

#third_parties td {
  padding: 1rem;
  border: 1px solid #ccc;
}
