.main-header{
    position: relative;
    min-height: 300px;
}
.main-header img{
    max-width: 1110px;
    position: absolute;
    width: 100%;
    z-index: 98;
}

.main-header .other-links .searcher{
    position: relative;
    display: inline-block;
    float: right;
    width: 250px;
    height: 40px;
}
.main-header .other-links .searcher input{
    width: 250px;
    height: 40px;
    position: relative;
    z-index: 100;
    float: right;
}
.main-header .other-links .searcher button{
    position: relative;
    width: 40px;
    height: 40px;
    position: absolute;
    right: 0;
    z-index: 100;
    text-align: center;
    border: none;
    outline: none;
    background: none;
}

.main-header .other-links .searcher button img{
    position: relative;
    width: 30px;
    height: 30px;
    right: 2px;
    filter: invert(22%) sepia(41%) saturate(449%) hue-rotate(69deg) brightness(88%) contrast(94%);
}
.other-links{
    max-width: 1070px;
    width: 100%;
    position: absolute;
    top: 245px;
    color: #fff;
    background: rgb(40,66,39);
    background: linear-gradient(180deg, rgba(40,66,39,1) 0%, rgba(40,66,39,1) 35%, rgba(50,93,48,1) 77%);
    border-radius: 3px;
    padding: 5px 25px;
    transform: translateX(2%);
    z-index: 1001;
}

.other-links ul{
    list-style: none;
    padding: 0;
    display: inline-flex;
    margin-bottom: 0;
    height: 100%;
}

.other-links ul li{
    line-height: 40px;
    padding-right: 25px;
}

.other-links ul li a{
    text-decoration: none;
    color: #ccc;
    transition: .3s;
}

.other-links ul li a:hover{
    color: #fff;
}

#searcher .show-results{
    position: absolute;
    max-height: 400px;
    width: 300px;
    overflow-y: scroll;
    background: #ccc;
    padding: 3px;
    z-index: 1001;
}

#searcher ul{
    padding: 0;
    max-width: 300px;
    display: block;
}
#searcher ul li{
    list-style: none;
    margin-left: 0;
    border: .5px solid grey;
    margin-bottom: 10px;
    background: #fff;
}
#searcher ul li a span{
    max-height: 100px;
    line-height: 35px;
    border-bottom: 1px solid grey;
    width: 100%;
    display: block;
    color:#284227;
    margin-left: 0!important;
    padding: 0px 7px;
    overflow: hidden;
    display: flex;
    flex-wrap: wrap;
}
#searcher ul li a span:hover{
    color:grey;
}
#searcher ul li a p{
    max-height: 100px;
    line-height: 50px;
    padding: 0 7px;
    margin-left: 0!important;
    overflow: hidden;
    display: flex;
    flex-wrap: wrap;
}

.partials-content{
    padding: 15px;
    position: relative;
}
.green-top{
    width: 100%;
    line-height: 30px;
    color: white;
    background: rgb(40,66,39);
    background: linear-gradient(
180deg
, rgba(40,66,39,1) 0%, rgba(40,66,39,1) 35%, rgba(50,93,48,1) 77%);
    font-size: 22px;
    font-weight: 600;
    outline: none;
    font-weight: 100;
    font-size: 20px;
    border-radius: 3px;
    padding: 0 25px;
    height: 30px;
}
.green-title{
    width: 100%;
    line-height: 30px;
    color: white;
    background: rgb(40,66,39);
    background: linear-gradient(
180deg
, rgba(40,66,39,1) 0%, rgba(40,66,39,1) 35%, rgba(50,93,48,1) 77%);
    font-size: 22px;
    font-weight: 600;
    outline: none;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 100;
    color: #FFFFFF;
    font-size: 20px;
    border-radius: 3px;
    padding: 0 25px;
}
.main-content{
    padding: 7px 25px!important;
    background: #f1fcf0;
    position: relative;
    border-radius: 7px;
    z-index: 1000;
    width: 730px;
    min-height: 870px;
    margin-bottom: 170px;
    display: inline-block;
    vertical-align: top;
    -webkit-box-shadow: 4px 4px 10px 1px rgba(34, 60, 80, 0.18);
    -moz-box-shadow: 4px 4px 10px 1px rgba(34, 60, 80, 0.18);
    box-shadow: 4px 4px 10px 1px rgba(34, 60, 80, 0.18);
}

.main-content .main-content-item{
    background: #ecf7eb;
    border-radius: 3px;
    margin-bottom: 15px;
}

.main-content .main-content-item h3{
    width: 100%;
    line-height: 30px;
    color: white;
    background: rgb(40,66,39);
    background: linear-gradient(180deg, rgba(40,66,39,1) 0%, rgba(40,66,39,1) 35%, rgba(50,93,48,1) 77%);
    font-size: 22px;
    font-weight: 600;
    outline: none;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 100;
    color: #FFFFFF;
    font-size: 20px;
    border-radius: 3px;
    padding: 0 25px;
}

#for-sale .for-sale{
    display: inline-table;
}

/* #for-sale .for-sale .for-sale-item{
    display: inline-block;
    width: 50%;
} */

#for-sale .for-sale ul, 
#services .services ul{
    list-style: none;
    padding: 0;
}
#for-sale .for-sale ul li,
#services .services ul li{
    display: inline-block;
    width: 49%;
    padding: 15px;
    text-align: center;
    vertical-align: top;
}
#for-sale .for-sale ul li .for-sale-item,
#services .services ul li .services-item{
    color: #284227;
    text-decoration: none;
    cursor: pointer;
    transition: .3s;
}
#for-sale .for-sale ul li .for-sale-item:hover,
#services .services ul li .services-item:hover{
    color: #fff;
    text-decoration: none;
    cursor: pointer;
}

#for-sale .for-sale ul li .for-sale-item img,
#services .services ul li .services-item img{
    width: 100%;
    object-fit: cover;
    max-height: 200px;
    height: 100%;
    border-radius: 25px;
    margin-bottom: 10px;
}

#latest-posts .latest-posts ul{
    list-style: none;
    padding: 0;
}

#latest-posts .latest-posts ul .card{
    padding: 10px 10px 25px;
    margin-bottom: 7px;
    border-left: 13px solid #284227;
    background: #fafffa;
}

#latest-posts .latest-posts ul .card .latest-posts-item{
    text-decoration: none;
    display: block;
    cursor: pointer;
    background: #fafffa;
}

#latest-posts .latest-posts ul .card img{
    max-width: 300px;
    object-fit: contain;
}

#latest-posts .latest-posts ul .card h2{
   color: #284227;
}

#latest-posts .latest-posts ul .card p{
    color: #284227;
    max-height: 70px;
    overflow: hidden;
    display: flex;
    flex-wrap: wrap;
 }
#latest-posts .latest-posts ul .card small{
    color: #616469;
 }

.sidebars{
    width: 355px;
    padding-left: 23px;
    position: relative;
    display: inline-block;
    vertical-align: top;
    
}
.sidebars #hover-arrow{
    filter: invert(89%) sepia(99%) saturate(2%) hue-rotate(188deg) brightness(114%) contrast(100%);
    padding-left: 3px;
    width: 24px;
    transform: rotate(-1deg);
    transition: .3s;
    display: none;
}

@media only screen and (max-width: 992px) {
    .sidebars #hover-arrow{
        display: inline-block;
    }
    .sidebars .list-group-flush{
        display: none;
    }
}

.sidebars .navigation .navgbar{
    position: relative;
    background: #f9ffd5;
    width: 320px;
    height: auto;
    border-radius: 7px;
    overflow: hidden;
    padding: 40px 18px 18px;
    z-index: 110;
    margin-bottom: 15px;
    -webkit-box-shadow: 4px 4px 10px 1px rgba(34, 60, 80, 0.18);
    -moz-box-shadow: 4px 4px 10px 1px rgba(34, 60, 80, 0.18);
    box-shadow: 4px 4px 10px 1px rgba(34, 60, 80, 0.18);
}

.sidebars .navigation .navgbar button{
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    line-height: 30px;
    color: white;
    border: none;
    background: rgb(40,66,39);
    background: linear-gradient(180deg, rgba(40,66,39,1) 0%, rgba(40,66,39,1) 35%, rgba(50,93,48,1) 77%);
    font-size: 22px;
    font-weight: 600;
    outline: none;
}


.sidebars .navigation .navgbar ul .list-group{
    list-style: none;
    border-bottom: .5px solid grey;
    line-height: 35px;
    padding: 5px 0;
    display: block;
    border-radius: 0rem;
}
.sidebars .navigation .navgbar ul .list-group a{
    text-decoration: none;
    color:#284227;
    display: block;
    padding:  0 5px;
    border-radius: 3px;
    transition: .3s;
}
.sidebars .navigation .navgbar ul .list-group a:hover{
    background: #cccc;
}

.sidebars .contacts .contact,
.footer-contacts .contact{
    background: #dcd0a8;
    width: 320px;
    min-height: 300px;
    height: auto;
    border-radius: 7px;
    overflow: hidden;
    padding: 40px 18px 18px;
    position: relative;
    -webkit-box-shadow: 4px 4px 10px 1px rgba(34, 60, 80, 0.18);
    -moz-box-shadow: 4px 4px 10px 1px rgba(34, 60, 80, 0.18);
    box-shadow: 4px 4px 10px 1px rgba(34, 60, 80, 0.18);
}
.sidebars .contacts .contact h2,
.footer-contacts .contact h2{
    position: absolute;
    /* background: #284227; */
    top: 0;
    width: 100%;
    left: 0;
    text-align: center;
    color: white;
    background: rgb(40,66,39);
    background: linear-gradient(180deg, rgba(40,66,39,1) 0%, rgba(40,66,39,1) 35%, rgba(50,93,48,1) 77%);
}

.sidebars .contacts .contact ul,
.footer-contacts .contact ul{
    padding-left: 25px;
}
.sidebars .contacts .contact .socia-media .contact-info-item,
.footer-contacts .contact .socia-media .contact-info-item{
    border-radius: 3px;
    font-size: small;
    padding: 7px 15px;
    text-align: center;
    width: 32%;
    display: inline-block;
    text-decoration: none;
    margin-bottom: 5px;
    transition: .3s;
    outline: none;
}
.sidebars .contacts .contact .socia-media .contact-info-item img{
    width: 50px;
    filter: invert(22%) sepia(41%) saturate(449%) hue-rotate(69deg) brightness(88%) contrast(94%);
}

.footer-contacts .contact .socia-media .contact-info-item img{
    width: 32px;
    filter: invert(90%) sepia(29%) saturate(245%) hue-rotate(12deg) brightness(106%) contrast(104%);
}
.footer-contacts .contact .socia-media .contact-info-item:hover{
    background-color: #6cb2eb;
    
}
.sidebars .contacts .contact .socia-media .contact-info-item:hover{
    background: #f9ffd5;
}

.footer-content{
    background: #284227;
    width: 100%;
    position: relative;
    display: block;
    padding: 10px;
}

.footer-content .domik{
    position: absolute;
    top: -100px;
    z-index: -1;
    left: 20%;
}
.footer-content p{
    clear: both;
    line-height: 50px;
    padding: 5px;
    font-size: 11.5px;
    color: #a8c47c;
}
.footer-contacts{
    display: none;
}

.footer-content .other-links-footer ul{
    list-style: none;
    padding-left: 0;
}
.footer-content .other-links-footer ul li a{
    color: #ccc;
    text-decoration: none;
    line-height: 32px;
    padding-left: 5px;
    transition: .3s;
}

.footer-content .other-links-footer h3{
    color: #fff;
    line-height: 40px;
}

.footer-content .other-links-footer ul li a:hover{
    color: #fff;

}

#post-page h1{
    font-size: 26px;
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin: 13px 0 14px 0;
    color: #eb4034;
    padding-left: 15px;
}

#post-page p{
    font-family: "Nunito Sans", sans-serif;
    color: #333333;
    font-size: 1em;
    line-height: 1.75em;
    -webkit-font-smoothing: antialiased;
    font-size: 17px;
    font-weight: 400;
    padding: 0px 0px 48px 0px;
    max-width: 550px;
    padding-left: 15px;

}



#post-page .main-post-img{
    width: 200px;
    height: 150px;
    overflow: hidden;
}

#post-page .main-post-img img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#post-page .post-galery{
    display: flex;
    flex-wrap: wrap;
    overflow: hidden;
  }

  #post-page .post-galery .postgalery-img{
    width: 160px;
    height: 160px;
    overflow: hidden;
    padding: 1px;
  }
  #post-page .post-galery .postgalery-img img{
    width: 100%;
    height: 100%;
    object-fit: cover;
  }



@media only screen and (max-width: 1400px) {
    .footer-content img {
        left: 10%;
    }
}

@media only screen and (max-width: 1199px) {
    .container{
        max-width: 100%;
        padding:  0;
    }

    .main-header img{
        max-width: 100%;
    }
    .main-header .other-links{
        max-width: 100%;
        transform: translateX(0%);
        height: 55px;
        background: #284227;
        border-radius: 0;
    }
    .main-header .other-links input{
        top: 2px;
    }

    .main-header .other-links .searcher button img {
        top: 2px;
    }

    .sidebars {
        width: 100%;
        display: block;
        padding-left: 0;
        margin-top: 5px;
    }
    .sidebars .navigation .navgbar {
        width: 76%;
        margin: 0 auto 15px;
        text-align: center;
    }

    .contacts{
        display: none;
    }
    .main-content{
        position: initial;
        transform: translateX(0);
        margin: 0 auto 200px;
        display: block;
        width: 76%;
    }
  }

  @media only screen and (max-width: 991px) {
    .main-header{
        min-height: 265px;
    }
    .main-header .other-links{
        top: 210px;
    }
    .main-content{
        width: 90%;
        border-radius: 0;
    }
    .sidebars .navigation .navgbar {
        width: 90%;
    }
    #for-sale .for-sale ul li .for-sale-item h4, 
    #services .services ul li .services-item h4 {
        font-size: 18px;
    }
    .footer-content{
        padding: 0;
    }
    .footer-contacts{
        display: block;
        color: white;
    }
    .footer-contacts .contact {
        background: none;
    }
    .footer-content .other-links-footer{
        padding: 25px;
    }
    .sidebars .contacts .contact h2, 
    .footer-contacts .contact h2 {
        background: none;;
    }
    .footer-content p {
        line-height: 65px;
        background: #000;
        padding: 0 25px;
    }
  }

  @media only screen and (max-width: 768px) {
    .main-header {
        min-height: 255px;
    }
    .main-header .other-links input{
        top: -60%;
        float: left;
    }
    .main-header .other-links {
        top: 170px;
        height: 85px;
    }

    .main-header .other-links .searcher {
        display: block;
        width: 100%;
    }
    .main-header .other-links .searcher input {
       float: left;
    }
    .main-header .other-links .searcher button {
        left: 210px;
        top: -2px;
     }
    .other-links ul {
        height: 43%;
    }
    .other-links ul li{
        line-height: 25px;
    }
    .main-content{
        width: 95%;
    }
    .sidebars .navigation .navgbar {
        width: 95%;
    }
    #for-sale .for-sale ul li .for-sale-item img, 
    #services .services ul li .services-item img {
        max-height: 140px;
    }
    #for-sale .for-sale ul li .for-sale-item h4, 
    #services .services ul li .services-item h4 {
        font-size: 16px;
    }
  }

  @media only screen and (max-width: 600px) {
    .main-header {
        min-height: 275px;
    }
    .main-header .other-links {
        top: 135px;
        height: 140px;
    }
    .main-header .other-links input {
        top: -35%;
    }
    .main-header .other-links ul{
        display: block;
        height: 63%;
    }
    .main-header .other-links ul li{
        width: 100%;
    }
    #for-sale .for-sale ul li .for-sale-item img, 
    #services .services ul li .services-item img {
        max-height: 124px;
    }
    .main-content{
        width: 100%;
        padding: 0!important;
    }
    .sidebars .navigation .navgbar {
        width: 100%;
        border-radius: 0;
    }
  }


  @media only screen and (max-width: 475px) {
    .main-header {
        min-height: 255px;
    }
    .main-header .other-links {
        top: 115px;
    }
    #for-sale .for-sale ul li, 
    #services .services ul li {
        width: 100%;
    }

    #for-sale .for-sale ul li .for-sale-item img, 
    #services .services ul li .services-item img {
        width: 90%;
        min-height: 210px;
    }
    .main-content{
        width: 100%;
    }
    .sidebars .navigation .navgbar {
        width: 100%;
    }
    .footer-content p{
        line-height: 30px;
    }
  }

  @media only screen and (max-width: 375px) {
    #for-sale .for-sale ul li .for-sale-item img, 
    #services .services ul li .services-item img {
        min-height: 170px;
    }
  }