#map-poland ul.poland.css-map li a {
  color: #fff;
}
#adresy ul {
  padding: 0;
  margin: 0;
  list-style: none;
}
#map-poland .projekty {
  color: #fff;
  text-shadow: 0 1px 0 #555;
}
#map-poland dt {
  background-image: url(p.png);
  background-repeat: no-repeat;
  padding: 0 0 0 20px;
  width: auto;
}
#map-poland dt a {
  color: #000;
  font-weight: 400;
}
#map-poland dt a:hover {
  color: #333;
  font-weight: 400;
}
#map-poland .css-map > li a .tooltip-arrow {
  border-color: rgba(0, 0, 0, 0.8) transparent;
}
dl {
  margin-bottom: 0;
}
#map-poland {
  width: 660px;
  height: 660px;
}
#adresy {
  width: 340px;
  float: right;
}
@media (min-width: 301px) and (max-width: 400px) {
  #map-poland {
      float: none;
      transform: scale(0.56) translate(-40%, -40%);
      -ms-transform: scale(0.56) translate(-40%, -40%);
      -webkit-transform: scale(0.56) translate(-40%, -40%);
      overflow: visible;
      height: 400px;
  }
  #adresy {
      float: none;
      width: 100%;
  }
  .projekty {
      width: 100%;
  }
  #map-poland dt a {
      font-size: 14px;
  }
}
@media (min-width: 401px) and (max-width: 500px) {
  #map-poland {
      float: none;
      transform: scale(0.56) translate(-40%, -40%);
      -ms-transform: scale(0.56) translate(-40%, -40%);
      -webkit-transform: scale(0.56) translate(-40%, -40%);
      overflow: visible;
      height: 400px;
  }
  #adresy {
      float: none;
      width: 100%;
  }
  .projekty {
      width: 100%;
  }
  #map-poland dt a {
      font-size: 14px;
  }
}
@media (min-width: 501px) and (max-width: 600px) {
  #map-poland {
      float: none;
      transform: scale(0.7) translate(-22%, -20%);
      -ms-transform: scale(0.7) translate(-22%, -20%);
      -webkit-transform: scale(0.7) translate(-22%, -20%);
      overflow: visible;
      height: 490px;
  }
  #adresy {
      float: none;
      width: 100%;
  }
  .projekty {
      width: 100%;
  }
  #map-poland dt a {
      font-size: 13px;
  }
}
@media (min-width: 601px) and (max-width: 700px) {
  #map-poland {
      float: none;
      transform: scale(0.8) translate(-12%, -12%);
      -ms-transform: scale(0.8) translate(-12%, -12%);
      -webkit-transform: scale(0.8) translate(-12%, -12%);
      overflow: visible;
      height: 570px;
  }
  #adresy {
      float: none;
      width: 100%;
  }
  .projekty {
      width: 100%;
  }
  #map-poland dt a {
      font-size: 13px;
  }
}
@media (min-width: 701px) and (max-width: 800px) {
  #map-poland {
      float: none;
      transform: scale(0.92) translate(-5%, -5%);
      -ms-transform: scale(0.92) translate(-5%, -5%);
      -webkit-transform: scale(0.92) translate(-5%, -5%);
      overflow: visible;
  }
  #adresy {
      float: none;
      width: 100%;
  }
  .projekty {
      width: 100%;
  }
}
@media (min-width: 801px) and (max-width: 1100px) {
  #map-poland {
      float: none;
  }
  #adresy {
      float: none;
      width: 100%;
  }
  .projekty {
      width: 100%;
  }
}
@media (min-width: 1101px) and (max-width: 1210px) {
  #adresy {
      width: 240px;
  }
}
.offset-top-40 {
  margin-top: 25px;
}
.search-home-cont {
  width: 100%;
  color: black;
}
.search-home-cont p {
  color: black;
}
.search-home-cont form {
  width: 100%;
  max-width: 600px;
  padding-top: 20px;
}
.brand-logo-big {
  display: none;
}
.search-title {
  color: #505050;
  font-size: 30px;
  margin-top: 5px;
}
@media (min-width: 768px) {
  .brand-logo-big {
      display: block;
  }
  .brand-name {
      display: none;
  }
}
.select2-container--bootstrap {
  margin-bottom: 7px;
}
.footer-logo {
  max-width: 170px;
  margin-top: -22px!important;
  margin-left: -100px!important;
}
.liczba_pochowanych {
  margin-bottom: 5px;
}
.liczba_pochowanych .btn-danger {
  font-size: 16px;
  padding: 2px 10px;
  border-radius: 10px;
  border: none;
}
@media (max-width: 768px) {
  .rd-navbar-brand .brand-logo {
      right: -10px;
  }
  .brand-logo img {
      margin-top: 13px;
      max-height: 35px;
      width: auto;
  }
}
@media (max-width: 991px){
  .range > .cell-md-3{
    flex-direction: row;
    margin-bottom: 30px;
  }  
  .flex-row{
    flex-direction: column;
    margin-left: -15px;
  }
  
  #newsletter-form{
    order: 1!important;
    margin-top: -62px!important;
    margin-left: 80px!important;
    margin-bottom: 30px!important;
  }
  .movedown{
    margin-left: 180px!important;
  }
  .wdrozenia{
    margin-left: -111px!important;
  }
}
@media (min-width: 450px) and (max-width: 767px){
  #newsletter-form{
    margin-top: -2px!important;
    margin-left: 50px!important;
    margin-bottom: 50px!important;
  }
  .movedown {
    margin-left: 50px!important;
}
.search-home-cont p {
  padding-right: 42px!important;
}
.mid-footer{
  padding-left: 93px!important;
}
.range > .cell-md-3 {
  flex-direction: row;
  margin-left: 0px!important; 
  margin-bottom: 30px;
}
.footer-logo{
  margin-top: -70px!important;
}
}
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
  }
  
  /* Modal Content/Box */
  .modal-content {
    background-color: #fefefe;
    margin: 15% auto; /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 80%; /* Could be more or less, depending on screen size */
  }
  
  /* The Close Button */
  .close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
  }
  
  .close:hover,
  .close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
  }

  .normal_image img{
      width:auto;
      margin-top:10px;
  }
  .normal_image{
      text-align: center;
  }
  @media (min-width: 1530px) and (max-width: 1600px) and (min-height: 740px) and (max-height: 880px){
    .jumbotron-wrap{
      margin-top: 0!important;
    }
  }
  @media (min-width: 1250px){
    .width-footer{
      width: 1260px;
      margin: 0 auto;
      display: flex;
      justify-content: space-around;
      padding-top: 20px;
    }
    .offset-top-60{
      padding-bottom: 170px;
    }
    .moveup {
      margin-top: -150px;
    }
    main {
      min-height: 100%;
      margin-bottom: -241px;
  }
  footer{
      height: 241px;
      clear: both;
  }
    .normal_image {
      margin-top: 1.99%;
      width: 900px;
      margin: 0 auto;
      margin-bottom: -9%;
    }
    .normal_image a img{
      width: 80%;
    }
    .footer-left-site{
      width: 32%;
      display: flex;
      flex-direction: column;
      margin-left: -59px;
    }
    .section-bottom-15 {
      margin-top: -40px;
  }
    .footer-left-site span{
    width: 86%;
    }
    .footer-left-site a img{
      width: 40%;
      margin-left: -10px;
    }
    .footer-mid-site{
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: space-between;
      margin-left: -15%;
    }
    .footer-mid-site .mid-up{
      padding-bottom: 20px;
      display: flex;
      flex-direction: row;
    }
    .footer-mid-site .mid-mid a .fb{
      margin-right: 20px;
    }
    .footer-mid-site .mid-mid span{
      margin-left: 13px;
      margin-top: 10px;
    }
    .footer-mid-site .mid-mid{
      padding-bottom: 20px;
      display: flex;
      justify-content: space-between;
      width: 100%;
    }
    .footer-mid-site .mid-down{
      margin-top: 20px;
      text-align: center;
      padding-bottom: -40px;
    }
    .footer-right-site{
      margin-right: -20px;
    }
    .footer-right-site form{
      display: flex;
      flex-direction: column;
      width: 140%;
      margin-left: -21%;
    }
    .footer-right-site form .email{
      height: 50px;
    padding: 18px 20px;
    font-size: 14px;
    line-height: 1.57143;
    color: #8d8d8d;
    background-color: #fff;
    background-image: none;
    border: 1px solid #b2b2b2;
    border-radius: 5px;
    margin-bottom: 5px;
    margin-top: 10px;
    }
    .footer-right-site form .input-submit{
      transition: 0.4s;
    border-radius: 0;
    border: none;
    box-shadow: inset 0 0 0 1px #ceb078;
    background-color: #ceb078;
    color: white;
    height: 30px;
    border-radius: 5px;
    }
    footer{
      margin-bottom: -150px;
    }
  }
  @media (max-width: 1249px){
    .width-footer{
      width: 1200px;
      margin: 0 auto;
      display: flex;
      justify-content: space-around;
      padding-top: 20px;
    }
    .footer-left-site{
      width: 25%;
      display: flex;
      flex-direction: column;
      margin-left: -29px;
    }
    .footer-left-site a img{
      width: 40%;
      margin-left: -10px;
    }
    .footer-mid-site{
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: space-between;
    }
    .footer-mid-site .mid-up{
      padding-bottom: 20px;
    }
    .footer-mid-site .mid-mid{
      padding-bottom: 20px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      width: 100%;
    }
    .footer-mid-site .mid-mid a .fb{
      margin-right: 20px;
    }
    .footer-mid-site .mid-mid span{
      margin-left: 13px;
    }
    .footer-mid-site .mid-down{
      margin-top: 20px;
      text-align: center;
      padding-bottom: -40px;
    }
    .footer-right-site{
      margin-right: -20px;
    }
    .footer-right-site form{
      display: flex;
      flex-direction: column;
    }
    .footer-right-site form .email{
      height: 50px;
    padding: 18px 20px;
    font-size: 14px;
    line-height: 1.57143;
    color: #8d8d8d;
    background-color: #fff;
    background-image: none;
    border: 1px solid #b2b2b2;
    border-radius: 5px;
    margin-bottom: 5px;
    margin-top: 10px;
    }
    .footer-right-site form .input-submit{
      transition: 0.4s;
    border-radius: 0;
    border: none;
    box-shadow: inset 0 0 0 1px #ceb078;
    background-color: #ceb078;
    color: white;
    height: 30px;
    border-radius: 5px;
    }
  }
  @media (max-width: 1173px){
    .width-footer{
      display: flex;
      flex-direction: column;
      align-items: center;
      width: 600px;
      margin: 0 auto;
    }
    .footer-right-site{
      order: -1;
    }
    .footer-mid-site .mid-up{
      order:3;
    }
    .footer-mid-site .mid-mid{
      order: 4;
    }
    .footer-left-site{
      order: 0;
    }
    .footer-mid-site .mid-down {
      order: 5;
    }
    .footer-right-site {
      width: 97%;
      margin-left: -30px;
      margin-bottom: 20px;
    }
    .footer-left-site{
      display: flex;
      width: 100%;
      flex-direction: row;
    }
    .footer-left-site a img{
      width: 100%;
    margin-left: 15px;
    }
    .footer-left-site span{
      margin-left: 23px;
      font-size: 13px;
      text-align: justify;
      width: 90%;
    }
    
  }
  @media (max-width: 825px){
    .normal_image {
      width: 700px;
      margin: 0 auto;
      margin-top: 0%;
      margin-bottom: -10%;
    }
    .normal_image a img{
      width: 80%;
      margin-left: -60px;
      height: 100%;
    }
  }
  @media (max-width: 650px){
    .width-footer{
      display: flex;
      flex-direction: column;
      align-items: center;
      width: 500px;
      margin: 0 auto;
    }
    .normal_image {
      width: 550px;
      margin: 0 auto;
      margin-top: -10%;
      margin-bottom: -20%;
    }
    .normal_image a img{
      width: 80%;
      height: 100%;
      margin-left: 0px;
    }
    .footer-right-site{
      order: -1;
    }
    .footer-mid-site .mid-up{
      order:3;
    }
    .footer-mid-site .mid-mid{
      order: 4;
    }
    .footer-left-site{
      order: 0;
    }
    .footer-mid-site .mid-down {
      order: 5;
    }
    .footer-right-site {
      width: 97%;
      margin-left: -30px;
      margin-bottom: 20px;
    }
    .footer-left-site{
      display: flex;
      width: 100%;
      flex-direction: row;
      align-items: center;
    }
    .footer-left-site a img{
      width: 100%;
    margin-left: 15px;
    }
    .footer-left-site span{
      margin-left: 23px;
      font-size: 13px;
      text-align: justify;
      width: 90%;
    }
    
  }
@media (max-width: 500px){
  .width-footer{
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 400px;
    margin: 0 auto;
  }
  .normal_image {
    width: 450px;
    margin: 0 auto;
    margin-top: -10%;
    margin-bottom: -3%;
  }
  .normal_image a img{
    width: 80%;
    height: 100%;
    margin-left: 0px;
  }
  .search-home-cont p {
    padding-right: 42px!important;
  }
  .main-search{
    margin-left: 15px;
  }
  .footer-mid-site .mid-up{
    display: flex;
    flex-direction: column;
  }
}
@media screen and (max-width: 440px) and (min-width: 400px){
  .normal_image {
    width: 350px;
    margin: 0 auto;
    margin-top: -15%;
    margin-bottom: 5%;
  }
}
@media (max-width: 400px){
  .width-footer{
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 300px;
    margin: 0 auto;
  }
  .normal_image {
    width: 350px;
    margin: 0 auto;
    margin-top: -15%;
    margin-bottom: -5%;
  }
  .normal_image a img{
    width: 100%;
    height: 100%;
    margin-left: 0px;
  }
  .main-search{
    margin-left: 20px;
  }
  .search-home-cont p {
    padding-right: 42px!important;
  }
  .footer-mid-site .mid-up{
    display: flex;
    flex-direction: column;
  }
  .footer-mid-site .mid-mid{
    display: flex;
    flex-direction: column;
  }
}
@media (max-width: 320px){
  .width-footer{
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 250px;
    margin: 0 auto;
  }
  .normal_image {
    width: 270px;
    margin: 0 auto;
    margin-top: -15%;
    margin-bottom: -20%;
    padding-bottom: 14%;
  }
  .normal_image a img{
    width: 100%;
    height: 100%;
    margin-left: 0px;
  }
  .search-home-cont p {
    padding-right: 42px!important;
  }
  .main-search{
    margin-left: 20px;
  }
  .footer-mid-site .mid-up{
    display: flex;
    flex-direction: column;
  }
  .footer-mid-site .mid-mid{
    display: flex;
    flex-direction: column;
  }
}
