input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus {
    border-color: #4BAA94;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset, 0 0;
    outline: 0 none;
}

.caret {
    position: relative;
    top: 10px;
    right: 8px;
}

.dropdown-item.active,
.dropdown-item:active {
    background-color: green;
}

.avatar {
    vertical-align: middle;
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

div .login-snip {
    margin-top: 20px;
}

.login-snip,
label {
    color: #000;
    margin-bottom: 40px;
}

.login-snip .login,
.login-snip .sign-up-form {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    position: absolute;
    transform: rotateY(270deg);
    backface-visibility: hidden;
    transition: all .4s linear
}

.login-snip .sign-in,
.login-snip .sign-up,
.login-space .group .check {
    display: none
}

.login-snip .tab {
    margin-right: 15px;
    margin-bottom: 210px;
    cursor: pointer;
    margin: 0 15px 10px 0;
    display: inline-block;
    border-bottom: 2px solid transparent
}

.login-snip .sign-in:checked+.tab,
.login-snip .sign-up:checked+.tab {
    color: #27AE60;
}

.grid {
    /* border: 2px blue solid; */
    height: 500px;
    width: 500px;
    display: grid;
    grid-template-columns: 50% 25% 2fr 1fr;
    grid-template-rows: 200px 200px;
    grid-row-gap: 10px;
    grid-column-gap: 15px;
    text-align: center;
}

.grid li {
    cursor: pointer;
    line-height: 20px;
    color: rgba(0, 0, 0, 0.71);
}

a:hover {
    color: #27AE60;
}

a .nav-link :active {
    color: #27AE60 !important;
}

.nav-link {
    color: rgba(0, 0, 0, 0.71);
}

.local-govt {
    color: rgba(0, 0, 0, 0.71);
    font-weight: bold;
    line-height: 40px;
}

.local-govt label {
    color: rgba(51, 51, 51, 0.9);
    font-size: 14px;
    cursor: pointer;
}

.custom-control {
    position: relative;
    display: block;
    min-height: 1.5rem;
    padding-left: 1.5rem;
}

p,
.services-wrapper {
    font-size: 14px;
    line-height: 22px;
    letter-spacing: 0.02em;
    color: #4a4a4a;
    margin-top: 2px;
}

.custom-checkbox .custom-control-input:checked~.custom-control-label::before,
.custom-radio .custom-control-input:checked~.custom-control-label::before {
    background-color: #27AE60;
    border: #27AE60;
}

.apartment-img {
    width: 100%;
    height: 303px;
   
    background-size: cover;
    border-radius: 5px;
}
.apartment-img>img{
    width: 100%;
    height: 303px;
}
#aparts{
    width: 60vw;
    grid-column-gap: 30px;
}
#aparts>div>div{
    width: 400px;
}
.featured-apartment .apartments {
    margin-top: 36px;
    display: -ms-grid;
    display: grid;
    /* -ms-grid-columns: (1fr)[2];  */
    grid-template-columns: repeat(2, 1fr);
    grid-column-gap: 50px;
    /* margin-bottom: 6px; */
}

.featured-apartment .apartments .last {
    display: none;
}

@media screen and (max-width: 1150px) {
    .featured-apartment .apartments {
        -ms-grid-columns: (1fr)[2];
        grid-template-columns: repeat(2, 1fr);
        grid-row-gap: 30px;
    }
    .featured-apartment .apartment .last {
        display: block;
    }
}

@media screen and (max-width: 770px) {
    .featured-apartment .apartment .apart{
        -ms-grid-columns: 100%;
        grid-template-columns: 100%;
        grid-row-gap: 30px;
    }
  
    #aparts{
        -ms-grid-columns: 100%;
        grid-template-columns: 100%;
        
}
#aparts>div{
    width: 80vw;
   grid-column-gap: 0px !important;
   margin-left: -30px !important;
}
#aparts>div>div{
    width: 80vw;
}
.ls{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    font-size: 12px;
}

.featured-apartment .apartments .apartment-wrapper .apartment-img {
    width: 350px;
    height: 303px;
    
    background-size: cover;
    border-radius: 5px;
}

.featured-apartment .apartments .apartment-wrapper .ap-img2 {
    
    background-size: cover;
}

.featured-apartment .apartments .apartment-wrapper .ap-img3 {
       background-size: cover;
}

.featured-apartment .apartments .apartment-wrapper .description-wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: end;
    -ms-flex-align: end;
    align-items: flex-end;
    padding-top: 23px;
    margin-bottom: 30px
}

.featured-apartment .apartments .apartment-wrapper .description-wrapper h3,
.featured-apartment .apartments .apartment-wrapper .description-wrapper p,
.featured-apartment .apartments .apartment-wrapper .description-wrapper a {
    font-weight: 600;
}

.featured-apartment .apartments .apartment-wrapper .description-wrapper .description a {
    font-size: 1rem;
    line-height: 23px;
    color: #4F4F4F;
}

.featured-apartment .apartments .apartment-wrapper .description-wrapper .description a:hover {
    -webkit-text-decoration-line: underline;
    text-decoration-line: underline;
}

.featured-apartment .apartments .apartment-wrapper .description-wrapper .description h3 {
    margin: 8px 0;
    font-size: 1.2rem;
    line-height: 30px;
    color: #27AE60;
}

.featured-apartment .apartments .apartment-wrapper .description-wrapper .description p {
    font-size: 1rem;
    line-height: 23px;
    color: #333333;
}

.featured-apartment .apartments .apartment-wrapper .description-wrapper .review h3 {
    font-size: 1.2rem;
    line-height: 35px;
    color: #333333;
}

.featured-apartment .apartments .apartment-wrapper .description-wrapper .review h3 i {
    color: #F2C94C;
    margin-right: 14px;
}

.featured-apartment .apartments .apartment-wrapper .description-wrapper .review p {
    font-size: 1rem;
    line-height: 20px;
    color: #4F4F4F;
}