*{
    padding: 0;
    margin: 0;
    text-decoration: none;
    list-style: none;
    box-sizing: border-box;
    
}
body{
    font-family: montserrat;
    font-size: small;
    
    
}

.nav_user_menu{
    display: none;
}
   
nav{
    background: #0082e6;
    height: 80px;
    width: 100%;
}
label.logo{
   color: white; 
   font-size: 30px ;
   line-height: 80px;
   padding: 0 100px;
   font-weight: bold;
   
}
nav ul {
    float: right;
    margin-right: 20px ;
}
nav ul li{
    display: inline;
    line-height: 80px;
    margin: 0 5px;
}
nav ul li a{
    color: white;
    font-size: 17px;
    padding: 7px 0px;
    border-radius: 4px ;
    text-transform: capitalize;

}
a.active, a:hover{
    background: #1b9bff;
    transition: .5s;

}
.toggle-button {
    position: absolute;
    top: .75rem;
    right: 1rem;
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
}
.toggle-button .bar{
    height: 3px;
    width: 100%;
    background-color: white;
    border-radius: 10px;

}
.checkbtn{
    font-size: 30px;
    color: white;
    float: right;
    line-height: 80px;
    margin-right: 40px;
    cursor: pointer;
    display: none;

}
#check{
    display: none;

}


.content_wrapper{
    display: grid;
    width: 100dvw;
    min-height: auto;
    text-align: center;
        
    grid-template-columns: 1fr 3fr 1fr;
    padding: 10px;
    color: #0c0ceb;
}

.testwrapper {
    display: grid;
    width: 100%;
    min-height: auto;
    text-align: center;
        
    grid-template-columns: 1fr 3fr;
    padding: 10px;
    color: #0c0ceb;
}

.side_menu{
    border: 1px solid;
    border-style: outset;
    border-color: #0c0ceb;
    padding-left: 5px; 
    padding-right: 5px;
    border-radius: 6px;
    text-align: left;
 
    
}

.content_body img {
    height: 95%;
    width: 100%;
}
.content_body p {
    padding: 3px;
        
}
.smallscreenimage{
    display: none;
}
@media (max-width: 1200px){
    label.logo{
        font-size: 30px;
        padding-left: 50px ;
    }
    nav ul li a{
        font-size: 12px;
    }
    .content_wrapper{
        font-size: 10px;
    }

}
@media (max-width: 840px){
    .nav_user_menu{
        display: block;
    }
    .toggle-button{
        display: flex;
    }
    nav ul{
        position: fixed;
        width: 100%;
        height: 100vh;
        background: #2c3e50;
        top: 80px;
      
        left: -100%;
        text-align: center;
        transition: all .5s;
        color: white;
    }
    nav ul li{
        display: block ;
        margin: 10px 0;
        line-height: 15px;
        
    }
    nav ul li a{
        font-size: 12px;
    }
    .content_wrapper{
        font-size: 10px;
        display: none;
    }
    a:hover, a.active{
     background: none;  
     color: #0082e6; 
    
    }
    .smallscreenimage{
        display: none;
    }
  
   .content_wrapper_right_panel{
        display: flex;        
        grid-template-columns: none;
        grid-template-rows: auto;
        width: 100dvw;
             
            
    }
    .side_menu {
        display: none;
      
        
    }
    .content_body , .main_body {
        width: 100dvw;
        line-height: 18px;  
           
    }

 
 
    .testwrapper {
        display: grid;
        width: 100%;    
        min-height: auto;
        text-align: center;
        grid-template-columns: none;    
        grid-template-rows: auto;
        padding: 10px;
        color: #0c0ceb;
    }
    .testleft{
        display: none;
    }
    .occupancy{
            
        font-size: 12px;
           
    }

    .smallscreenimage {
        
        display: block;
        justify-content: center;
        justify-items: center;
    }
    .smallscreenimage img {
        max-width: 100dvw;
        

    }

}

.section1{
    background:  url( "frontpage.jpg" ) no-repeat;
    background-size: cover;
    height: calc(100vh - 80px);
}
messagestyle{
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #1b9bff;
  }

.btn-primary { 
     
     border-radius: 4px;
     color: white;
     background-color: #2690e0;
     padding: 5px 10px 5px 10px;
     margin-top: 10px;
    
     
}

.newssum h3 {
    background-color: #1b9bff;
    color: white;
    border-radius: 3px;
    font-weight: normal;
    text-align: center;
}

.side_menu_news{
    
    border: 1px solid;
    border-style: outset;
    border-color: #0c0ceb;
    border-radius: 5px;
        
    overflow-y: scroll;
    display: block;
    margin-bottom: 10px;
    margin-right: 10px;
    margin-left: 5px;
    
}

.content_wrapper_news_detail{
    display: grid;
    width: 100dvw;
    
    text-align: center;
        
    grid-template-columns: none; 
    grid-template-rows: 1fr 4fr;
    padding: 10px;
    
}
.content_wrapper_right_panel{
    display: grid;
    grid-template-columns: 1fr 5fr;
    text-align: center;
    width: 100%;
    padding: 10px;
    
} 
.middle_Column{
    padding-left: 5px; 
    padding-right: 5px;
    border-radius: 6px;
    text-align: left;
       

}



.newssum_edit{
    text-align: left;
    align-items: flex-start;
    color: black;
    
    height: calc(100vh - 450px);
    overflow-y: scroll;
}
.news_card{
    border-style: outset;
    border-color: blue;
    margin-left: 5px;
    margin-bottom: 10px;
    margin-right: 5px;
    margin-top: 5px;
    border-radius: 5px;
    padding: 5px;
    border-block-width: 1px;
    
}
#id_address, #id_subject, #id_news, #id_name {    
    width: 58%;
}

.single-form{
    margin: auto;   
    text-align: center;

    
}
.single-form p {
    padding: 5px;

}
.occupant_band_middle_Column{
    display: grid;
    grid-template-columns: 1fr 1fr;
}
.occpants_left , .occupants_right , .map , .syspaymentform .tablestyle, .userlist, .houselist{ 
    margin-top: 10px;
    margin-right: 10px;
    padding: 10px;
    border: 1px solid;
    box-shadow: 5px 10px 8px #888888;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    border-color: #0c0ceb;
}
.column_heading {
    background-color: #0082e6;
    border-radius: 5px;
    text-align: center;
    font-weight: bold;
    color: white;
    margin-bottom: 5px;
}

.news_card a{
    background-color: #0082e6;
    color: white;
    padding-left: 5px;
    font-size: small;
    border-radius: 5px;
    margin-left: 5px ;
    padding: 5px;  
}

.at_tag{    
    background-color: #0082e6;
    color: white;
    padding-left: 5px;
    border: solid 1px;
    border-radius: 5px;
    margin-left: 5px ;
    padding: 5px;
}
table, th, td {
    border: 1px solid blue;
    border-collapse: collapse;
    padding-left: 5px;
    padding-right: 5px;
  }

  tr:nth-of-type(2n) {
    background-color: hsla(199, 74%, 87%, 0.793);
  }
th{
    background-color: hsla(198, 71%, 76%, 0.793) ;
}
  .card_head{
    background-color: #52aff7;
    margin-right: 10px;
    margin-left: 10px;
    border-top-right-radius: 5px;
    border-top-left-radius: 5px;
    border: solid 1px;
    border-color: blue;
    padding-left: 5px;
    
  }

  .card_body{
    
    margin-right: 10px;
    margin-left: 10px;
    border-bottom-right-radius: 5px;
    border-bottom-left-radius: 5px;
    border: solid 1px;
    border-color: blue;
    padding-left: 5px;
    padding-bottom: 5px;
    
  }
  .syspaymentform p {
    margin-bottom: 5px;
    
  }
  /* Apply intcomma filter */
.decimal-field {
    padding-right: 10px;
}
.decimal-field::after {
    content: ',' attr(data-value);
    color: red;
    font-size: 12px;
}

/* Apply floatformat filter */
.decimal-field::before {
    content: '$';
    color: red;
    font-size: 12px;
}

/* Hide original input */
.decimal-field[readonly] {
    display: none;
}

.form-box{
    position: relative;
    width: 400px;
    height: 450px;
    background: transparent;
    border: 2px solid rgba(0, 0, 255, 0.5);
    border-radius: 20px;
    backdrop-filter: blur(15px);
    display: flex;
    justify-content: center;    
    align-items: center;
    
}
.inputbox{
    position: relative;
    margin: 30px 0;
    width: 310px;
    border-bottom: 2px solid #fff;
}
.inputbox label{
    position: absolute;
    top: 50px;
    left: 5px;
    transform: translateY(-100%);
    color: #fff;
    font-size: 1em;
    pointer-events: none;
    transition: .5s;


}
.button{
    width: 50%;
    height: 40px;
    border-radius: 40px;
    background: blue    ;
    border: none;
    outline: none;
    cursor: pointer;
    font-size: 1em;
    font-weight: 600;
    transition: 0.5s;
}
.button:hover{
    background: #009688;
    border-color: #009688;
}
h7{
    font-size: 2em;
    color: blue;
    text-align: center;
    position: relative;
    top: -150px;
    left: 140px
}


.occupancy{
    width: 100%;
    display: grid;
    padding-left: 10px;
    height: calc(100vh - 200px);
    max-height: calc(100dvh - 200px);
    
    grid-template-columns:1fr 1fr ;
 
    column-gap: 10px;
}



#houseslist, #userslist{
    display: flex;
    flex-direction: column;
    max-height: calc(100dvh - 250px);
    overflow-y:auto;
    
    
}
.assinged{
    padding-left: 10px;
}
.noborder {
    border: none;
}

.noborder tr  {
    border: none;
    background-color: transparent;
}

.noborder tr td {
    border: none;
    background-color: transparent;
}

.noborder tr th {
    border: none;
    background-color: transparent;
}
.list_of_user{
    height: 70dvh;
    overflow-y: scroll;
    display: inline-block;
    padding-left: 5px;
    padding-right: 5px;
}
.list_of_user thead {
    position: sticky;
    top: 0;
    background-color: #0082e6;
}
.right-left{
    display: grid;
    grid-template-columns: 1f 1fr;
}

.house_add{
    display: block;
    height: 40dvh;
    overflow-y: scroll;
    padding: 5px;
    
}
#add-house {
    position: sticky;
    position: -webkit-sticky;
    top: 0;
    

}