/**** SIDENAV MOBILE*/

.sidebar{
    position: fixed;
    top: 0;
    left: 0;
    width:0;
    height: 100vh;
    background: #fff;
    overflow: hidden;
    transition: width 0.5s;
    box-shadow: 0 2px 4px rgba(0,0,0,0.6);
    z-index: 9999999;
}
.sidebar.active{
    width: 300px;
}
.sidebar::before{
    content: '';
    position: fixed;
    top: 0;
    left: 300px;
    height: 100vh;
    width: calc(100vw - 300px);
    background: rgba(0,0,0,0.7);
    display: none;
    transition: width 0.5s;
}
.sidebar.active::before{
    display: block;
}
#SideNav{
    display: none;
}
@media(max-width: 992px){
    #SideNav{
        display: block;
    }
}
.side-title{
    width: 100%;
    height: 60px;
    padding: 10px;
    background: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #ccc;
}
.side-title img{
    width: 50px;
    height: 50px;
}
.side-title button{
    width: 30px;
    height: 30px;
    background: red;
    outline: none;
    border:none;
    color: #fff;
    font-size: 17px;
    border-radius: 5px;
}
.side-primaryLink{
    width: 100%;
    /*height: 130px;*/
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap:15px;
    border-bottom: 2px solid #ccc;
}
.side-primaryLink a{
    color: #1E5F67;
    font-size: 16px;
    font-family: sans-serif;
    display: flex;
    gap:6px;
    align-items: center;
}
.action-link{
    width: 100%;
    height: auto;
    /*padding: 10px;*/
    /*background: #ddd;*/
}
.link-title{
    width: 100%;
    padding: 10px;
    cursor: pointer;
    font-size: 16px;
    color: #DE3341;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #ccc;
}
.link-title span, i{
    font-size: 16px;
    font-family: sans-serif;
    font-weight: bold;
}
.link-title i{
    font-size: 20px;
}
.link-title:hover{
    background: #ccc;
}

/*-------------------------*/
/*Mobile dropdown links*/
.buyingToggle{
    width: 100%;
    height:0;
    background: #fff;
    overflow: hidden;
    transition: height 0.5s;
}
.buyingToggle.active{
    height: 150px;
}
.sellingToggle{
    width: 100%;
    height:0;
    background: #fff;
    overflow: hidden;
    transition: height 0.5s;
}
.sellingToggle.active{
    height: 80px;
}
.rentingToggle{
   width: 100%;
   height:0;
   background: #fff;
   overflow: hidden;
   transition: height 0.5s; 
}
.rentingToggle.active{
    height: 150px;
}

/*=========================*/
/*Links inside each dropdown navs*/
.homes-links-header{
    padding-left: 10px;
    padding-top: 10px;
    font-size: 18px;
}
.homes-links{
    width: 100%;
    display: flex;
    flex-direction: column;
    gap:8px;
    padding-top: 10px;
    padding-left: 15px;
    padding-right: 10px;
}
.homes-links a{
    display: flex;
    gap:5px;
    color: #333;
    align-items: center;
}
.homes-links a:hover{
    color: #E85C47;
}
