
#header .carousel-inner {
    max-height: 800px;
}
#header .carousel-bg {
    height: 800px;
    width: 100%;
    background-size: cover;
    background-position: center center;
    z-index: 1;
}

div#loan-calculator {
    display: none;
}

div#cost-calculator {
    display: none;
}

#menu {
    background: rgb(255 255 255);
    position: fixed;
    top: 0;
    width: 100%;
    box-shadow: 0 0 10px rgb(0 0 0 / 52%);
    z-index: 1000;
}

#menu .header-logo {
    margin-top: 0px;
    margin-right: 20px;
    margin-bottom: 0px;
    height: 85px;
}
#menu .navbar ul>li>a {
    height: 75px;
    margin: 0;
    line-height: 55px;
    padding: 10px;
    font-size: 1.3rem;
    position: relative;
}
#menu .navbar ul>li:hover>a {
    background: 0 0;
    color: #14653f;
}
#navbar li.active a, .language-menu li.active a {
    cursor: default;
    color: #005236;
}
#navbar li.active, .language-menu li.active {
    border-bottom: 3px solid #065839;
    cursor: nw-resize;
}
.carousel-indicators {
    display: none;
}
#menu .navbar ul>li:hover>a {
    background: 0 0;
    color: #16663f;
}
.search-box .search-box-advanced, .search-box .search-box-basic {
    background: linear-gradient(
163deg, rgba(110,185,102,1) 7%, rgba(0,82,54,1) 100%);
    padding: 25px;
}
.search-box{
        margin-top: 100px;
}
.search-box .btn-primary, .search-box .btn-primary:active, .search-box .btn-primary:focus {
    background: #6eb966;
    color: #fff;
    font-size: 1.2rem;
    font-weight: 900;
    border-color: #6eb966;
}
.btn-primary:hover {
    background-color: #fff!important;
    color: #6eb966!important;
    border: 3px solid #6eb966!important;
}
#menu .navbar ul.nav.social-menu li a {
   padding: 0px 16px;
   display: block;
   font-size: 33px;
   color: #4267B2
}
#menu .navbar ul>li>a::after, h1::after, h2::after {
    content: '';
    background: #005236;
}
.offer .offer-price, h1, h2 {
    color: #005236;
    font-weight: 700;
}
.offer .flag {
    z-index: 20;
    top: 0;
    background: #005236;
    line-height: 40px;
    padding: 0 10px;
}
.offer-box .carousel-control {
    background: 0 0;
    position: absolute;
    width: 50px;
    height: 50px;
    top: 45%;
    color: #005236;
    font-size: 3rem;
    opacity: 1;
}
.agent .contact-agent .agent-phone {
    color: #005236;
    border: 0;
    height: 40px;
    line-height: 40px;
    padding: 0 0px;
    font-weight: 900;
    font-size: 1rem;
}
.agent .contact-agent .btn-default {
    background: #005236;
    color: #fff;
    border: 0;
    height: 40px;
    line-height: 40px;
    padding: 0 20px;
    outline: 0;
    border-radius: 0;
    font-size: .8rem;
    font-weight: 900;
}
.agent .agent-avatar {
    border: 2px solid #6eb966;
    background-color: #fff;
    width: 100px;
    height: 100px;
    border-radius: 100%;
    margin: 0 auto;
    position: relative;
    top: -40px;
    margin-bottom: 0px;}

   .agent {
    text-align: center;
    margin-top: 60px;
    border: 2px solid rgb(110 185 102);
    margin-bottom: 10px;
    text-transform: uppercase;
    font-size: 1em;
} 
#footer {
    padding-top: 30px;
    color: #fff;
    background: linear-gradient(
163deg, rgba(110,185,102,1) 7%, rgba(0,82,54,1) 100%);
}
#copyright {
    background: #005236;
    color: #fff;
    font-size: 1rem;
}

.agent .agent-offers {
    background: #6eb966;
    width: 60px;
    height: 60px;
    border-radius: 30px;
    position: absolute;
    top: 30px;
    right: 30px;
    color: #fff;
    text-align: center;
    line-height: 17px;
    display: block;
    font-size: 1rem;
    text-decoration: none;
}
.btn-primary {
    border-radius: 3px;
    background: #005236;
    color: #fff;
    font-size: 1.2rem;
    font-weight: 900;
    border: 3px solid #005236;}
    
    .pricebox-menu {
    background: linear-gradient(
163deg, rgba(110,185,102,1) 7%, rgba(0,82,54,1) 100%);

}
.result {
    padding: 50px;
    background: linear-gradient(
163deg, rgba(110,185,102,1) 7%, rgba(0,82,54,1) 100%);
    color: #fff;
}
.offer-page h1+span, .offer-page h2+span {
    font-size: 1.7rem;
    font-weight: 700;
    display: block;
    color: #005236;
    line-height: 10px;
}
.offer-page h3 {
    font-weight: 700;
    font-size: 1.5rem;
    text-transform: uppercase;
    color: #005236;}
.offer-page h3::after {
    display: block;
    content: '';
    width: 10%;
    height: 3px;
    position: absolute;
    bottom: -2px;
    left: 0;
    background: #005236;
}
.pagination li.active a, .pagination li.active a:hover {
    background: #0c5e3b;
}
.sort-panel.btn-group button.btn.active {
    color: #0c5e3b;
    opacity: 1;
}
.dropdown-menu li.active>a {
    background-color: #005236!important;
    color: #fff!important;
}
.offer-props>div.price span:nth-child(2) {
    font-size: 2rem;
    color: #055738;
}
.listMIESZKANIE .search-box {
   
   z-index: 2;
    width: 100%;
    top:-100px;
   }
    
.listLOKAL .search-box {
   
   z-index: 2;
    width: 100%;
    top:-100px;
   }
   .listDOM .search-box {
   
   z-index: 2;
    width: 100%;
    top:-100px;
   }
   .listDZIALKA .search-box {
   
   z-index: 2;
    width: 100%;
    top:-100px;
   }
   .listKAMIENICA .search-box {
   
   z-index: 2;
    width: 100%;
    top:-100px;
   }
@media(max-width:990px) {
    .offers-list {
        margin-top: 100px;
    }
  #offer-header {
      margin-top:110px;
  }
.search-box {
    margin-top: 10px;
}
   #header .carousel-bg {
    height: 600px; }
#menu .menu-button span {

    background: #2e7d4a;}

.listMIESZKANIE .search-box {
   
   z-index: 2;
    width: 100%;
    top:0px;
   }
    
.listLOKAL .search-box {
   
   z-index: 2;
    width: 100%;
    top:0px;
   }
   .listDOM .search-box {
   
   z-index: 2;
    width: 100%;
    top:0px;
   }
   .listDZIALKA .search-box {
   
   z-index: 2;
    width: 100%;
    top:0px;
   }
   .listKAMIENICA .search-box {
   
   z-index: 2;
    width: 100%;
    top:0px;
   }


}



@media(max-width:499px){

    #header .carousel-bg {
    height: 500px; }

.search-box {
    margin-top: 10px;
}
.agent .contact-agent {
    color: #fff;
    overflow: hidden;
    padding-top: 10px;
    padding-bottom: 10px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
}
.agent .agent-offers {
    background: #6eb966;
    width: 60px;
    height: 60px;
    border-radius: 30px;
    position: absolute;
    top: 30px;
    right: 20px;}
    .banner span:nth-child(1) {
    font-size: 2rem;
    line-height: 2.1rem;
}
}