html {
  height: 100%
}

body {
  height: 100%;
  margin: 0;
  padding: 0;
}

#map {
  width: 100%;
  height: 100%
}

* {
  box-sizing: border-box;
  font-family: Helvetica;
}

/* ************************* */
/* ************************* */

#open-menu {
  position: fixed;
  left: 20px;
  top: 20px;
  z-index: 1000;
  display: block;
}

#open-layer {
  position: fixed;
  right: 20px;
  top: 20px;
  z-index: 1000;
}

#sidenav #closebtn,
#sidenavR #closebtnR {
  position: absolute;
  top: 0;
  right: 15px;
  font-size: 3em;
  padding: 8px 8px 8px 32px;
}

#logo {
  width: 100%;
}

#overlay-content {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  text-align: center;
  min-height: 100vh;
  flex-wrap: wrap;
}

.project-type {
  cursor: pointer;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  border-radius: 9px;
  background-color: #187dc1;
  margin: 10px;
  width: 300px;
  gap: 10px;
  height: 125px;
  width: 290px;
  height: 144px;
}

#project-1 {
  background-color: rgba(62, 133, 240, 1);
  background-image: url(/images/entrepreneurship_actions-background.png);
  background-repeat: no-repeat;
  background-position: right;
}

#project-3{
  background-color: rgba(0, 176, 216, 1);
  background-image: url(/images/cohesion_fund-background.png);
  background-repeat: no-repeat;
  background-position: right;
}

#project-2 {
  background-color: rgba(237, 119, 40, 1);
  background-image: url(/images/infrastructures-background.png);
  background-repeat: no-repeat;
  background-position: right;

}

#project-social {
  background-color: rgba(168, 168, 168, 1);
  background-image: url(/images/social-background.png);
  background-repeat: no-repeat;
  background-position: right;
}

.project-type-item {
  margin: -29px;
}

.project-type-name {
  text-align: left;
  color: white;
  font-weight: 700;
  width: 60%;
}

.project-type-img {
  width: 40%;
}

.project-type-img img {
  width: 50px;
  height: 50px;
}

.project-type-name a {
  color: white !important;
}

#overlay {
  position: fixed;
  display: none;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 9999;
  overflow-y: auto;
  overflow-x: hidden;
}

.map-caption {
  float: right;
  margin: 0 !important;
  display: none;
}

.map-caption img {
  height: 90px;
}

#sidenav {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 1100;
  top: 0;
  left: 0;
  background: rgba(255, 255, 255, 0.7);
  overflow-x: hidden;
  transition: 0.5s;
  padding-top: 60px;
}

#sidenavR {
  height: 280px;
  width: 0;
  position: fixed;
  z-index: 1100;
  top: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.3);
  overflow-x: hidden;
  transition: 0.5s;
  padding-top: 60px;
}

#sidenav a,
#sidenavR a {
  padding: 8px 25px 8px 25px;
  text-decoration: none;
  color: #818181;
  display: block;
  transition: 0.3s;
}

#sidenav a:hover,
#sidenavR a:hover {
  color: #111;
}

#sidenav a.active,
#sidenavR a.active {
  color: #fff;
}

#sidenav .nav-tabs a {
  font-size: 23px;
}


@media screen and (max-height: 450px) {

  #sidenav,
  #sidenavR {
    padding-top: 15px;
  }

  #sidenav a,
  #sidenavR a {
    font-size: 18px;
  }
}

@media screen and (min-width: 768px) {
  #sidenav {
    width: 280px;
  }

  #open-menu {
    display: none;
  }
}

@media screen and (max-width: 767px) {
  #logo {
    width: 100%;
  }

  #sidenav #closebtn,
  #sidenavR #closebtnR {
    padding: 0px 8px 0px 32px;
  }

  #sidenav #logoA {
    padding: 0px 25px 8px 25px;
  }

  .table-responsive {
    overflow-x: scroll !important;
  }
}

/* Small screens */
@media all and (max-width: 767px) {
  #overlay-content {
    /* On small screens, we are no longer using row direction but column */
    flex-direction: column;
  }
}

.clear-select {
  border-bottom: 1px solid #818181 !important;
}

#searchForm,
#loginForm,
#registerForm,
#updateForm,
#passwordForm {
  padding: 0px !important;
}

#searchForm .form-group,
#loginForm .form-group,
#registerForm .form-group,
#updateForm .form-group,
#passwordForm .form-group {
  margin: 10px 0 5px 0;
}

.sidenavInputAddon {
  border: none;
  border-top: 1px solid #dadcdf;
  border-top-right-radius: 0px;
  border-top-left-radius: 0px;
  background-color: #fff;
  background-image: none;
}

.sidenavInput {
  border: none;
  border-top: 1px solid #dadcdf;
  border-top-left-radius: 0px;
  border-top-right-radius: 0px;
  box-shadow: inset 0 0 0;
}

.sidenavInputAddon:hover,
.sidenavInputAddon:active {
  border-top: 1px solid #3b3f42;
}

.sidenavInput:hover {
  border-top: 1px solid #3b3f42;
}

.bootstrap-select>.dropdown-toggle,
.bootstrap-select>.dropdown-toggle:active,
.bootstrap-select>.dropdown-toggle:focus,
.bootstrap-select>.dropdown-toggle:hover {
  border: none !important;
  border-top: 1px solid #dadcdf !important;
  border-top-left-radius: 0px !important;
  border-top-right-radius: 0px !important;
  box-shadow: inset 0 0 0 !important;
}

.bs-searchbox input[type="text"] {
  border: 1px solid #ccc !important;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075) !important;
}

.bs-searchbox input[type="text"]:hover {
  border: 1px solid #3b3f42 !important;
}

.leaflet-container a.leaflet-popup-close-button {
  font-size: 20px;
  padding: 8px 8px 0 0;
}

/* .leaflet-popup-content { max-height: 550px; overflow-y: scroll; } */
.gm-ui-hover-effect img {
  width: 20px !important;
  height: 20px !important;
  margin: 8px 5px 5px 3px !important;
}

@media screen and (max-width: 767px) {
  .leaflet-popup-content {
    max-height: 400px;
    overflow-y: scroll;
  }
}

.color-box {
  width: 15px;
  height: 15px;
  display: inline-block;
}

/* ************************* */
/* ************************* */

#loading {
  display: none;
  position: fixed;
  top: 0px;
  right: 0px;
  width: 100%;
  height: 100%;
  background-color: #fff;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.5;
  filter: alpha(opacity=50);
  /* For IE8 and earlier */
  z-index: 10000000;
}

#loadingGif {
  display: none;
  position: fixed;
  top: 0px;
  right: 0px;
  width: 100%;
  height: 100%;
  z-index: 10000010;
}

#loadingGif img {
  position: fixed;
  top: 50%;
  left: 50%;
  margin-top: -100px;
  margin-left: -100px;
}

/* ************************* */
/* ************************* */

.padding0 {
  padding: 0px !important;
}

.paddingRight0 {
  padding-right: 0px !important;
}

.paddingLeft0 {
  padding-left: 0px !important;
}

.paddingLeft15 {
  padding-left: 15px !important;
}

.marginTop10 {
  margin-top: 10px !important;
}

.marginTop20 {
  margin-top: 20px !important;
}

.marginTop30 {
  margin-top: 30px !important;
}

.marginBottom5 {
  margin-bottom: 5px !important;
}

.marginLeft20 {
  margin-left: 20px !important;
}

.pointerCursor {
  cursor: pointer !important;
}

.width100 {
  width: 100% !important;
}

.smaller {
  font-size: 70% !important;
}

.smaller pre {
  font-size: inherit;
  padding: 0px;
  border: 0px;
}

.text-wrap {
  white-space: normal !important;
  word-wrap: break-word;
}

label.error {
  color: #a94442
}