body {
    display: flex;
    justify-content: center;
    align-items: center;
    /*height: 100vh;*/
    margin: 0;
    background-color: #f4f4f4;
    font-family: verdana;
    font-size: 13px;

}
.loginbody{
    height: 100vh;
}
.login-container, .staff-container {
    background: white;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.login-container{

    width: 300px;
}
.staff-container{
    width: 90%;
}

h2 {
        display: block;
    font-size: 1.5em;
    margin-block-start: 0.83em;
    margin-block-end: 0.83em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    font-weight: bold;
    unicode-bidi: isolate;
    text-align:center;
}

h3 {
    display: block;
    font-size: 1.17em;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    font-weight: bold;
    unicode-bidi: isolate;
}


input[type="email"],
input[type="text"],
input[type="password"],
input[type="date"],
select {
    width: 92%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 4px;
}
#qualification{
    width: 95%;
}
#login_form button{
    width: 100%;
}
button, #save-staf, .delmember, .close, .verifysub {
    padding: 10px;
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
}

#save-staf, .cancelbutton{
    margin-top:15px;
}

#surepopup p{
    padding-top: 15px;
}

 .verifysub {
    height: 35px;
    padding-top: 0px;
    padding-bottom: 0px;
}



button:hover {
    background-color: #218838;
}

.form-group input[type="text"]{
    width: 29%;
    margin-right: 2%;
}

.form-group-1, .form-group-3{
    clear:both;
}

input[type="text"],input[type="email"],input[type="date"],select{
   color:grey;  
}
.form-group-1 input[type="text"], .form-group-1 input[type="email"], .form-group-1 input[type="date"], .form-group-1 select, .form-group-2 input[type="text"]{
    width: 21%;
    margin-left:1%;
    margin-right: 1%;
    
}
.form-group-5{
     margin-left:1%;
     width:50%;
}
.form-group-5 input[type="text"]{
    width: 43.5%;
    margin-right: 1%;
}

.form-group-2{
    margin-left: 1%;
}

.block1{
    background-color: #D4D4D4;
}

.block1, .block2{
    float: left;
    width: 100%;
    clear: both;
}
label{
    margin-right: 1%;
}
.radio-group-2{
     width:40%;
}
.radio-group{
     width:51%;
}
.radio-group,.radio-group-2{
   
    margin-top: 10px;
    margin-bottom: 10px;
    float: left;
}

input[name="gender"] {
    margin-top: 10px;
    margin-bottom: 10px;
}

.leftalign{
    float: left;
}

.form-group-3{
    width: 49%;
    margin-left: 1%;
    /*margin-top: 39px;*/
}

.form-group-4 {
    width: 43%;
    margin-left: 20px;
}
.form-group-3 textarea{
    width:95%;
}

.form-group-4 textarea{
    width:100%;    
}

.form-group-3 textarea, .form-group-4 textarea{
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 4px;
}
table{
    border-collapse: collapse;
    border-spacing: 0;
    width: 100%;
    margin:20px 0px;
    border: 1px solid #ccc;
}

table th{
    background-color: #ccc;
    padding: 5px;
}

table td{
    padding:5px 10px 5px 10px;
}
.add_family{
    width: 200px;
    text-align: center;
}
.fulllength{
    width: 100%;
    text-align: center;
    margin-top: 20px;
}



.deletebutton{
    margin-left: 7px;
    cursor: pointer;
    color: red;
    font-weight: bold;

}
/*.form-group-4 p{
    margin:10px 0px;
}*/


.modal {
    background: #FFF;
    width: 280px;
    height: 125px;
    text-align: center;
    box-shadow: 5px 5px 5px rgba(0,0,0,0.5);
    -moz-box-shadow: 5px 5px 5px rgba(0,0,0,0.5);
    -webkit-box-shadow: 5px 5px 5px rgba(0,0,0,0.5);
    position: fixed;
    top: 50%;
    margin-top: -50px;
    left: 50%;
    margin-left: -100px;
    line-height: 25px;
    z-index: 99;
    border-radius: 5px;
}
.modal a {
  line-height: 1em;
}
.modal-bg {
    background: #ccc;
    zoom: 1;
    opacity: 0.8;
    filter: alpha(opacity=80); 
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9;
}

.delmember, .close{
    text-decoration: none;
}
.error{
    color:red;
	padding-top: 10px;
    padding-bottom: 5px;
}
.error_p{
    color: white;
    font-weight: bold;
    background: red;
    padding: 10px;
    border-radius: 5px;
}

.success_p{
    color: white;
    font-weight: bold;
    background: green;
    padding: 10px;
    border-radius: 5px;

}

.modal p{
    margin-bottom: 17px;
    font-size: 14px;
    font-weight: bold;
}

#same-currentadd{
    margin-right:7px;
}
.datepicker{
    font-size: 12px;
}
.datepicker td, .datepicker th{
    background:#fff;
}
@media (max-width: 1400px) { 

 }


@media (max-width: 1200px) { 
    
 }

@media (max-width: 1145px) { 
   
}

@media (max-width: 1110px) { 
    .radio-group{
        width:51.5%;
    }
}

@media (max-width: 992px) { 
    .block2{
        overflow-x:auto;

    }
    
    #qualification{
        width: 94%;
        padding: 2%;
    }
   .radio-group,.radio-group-2 {
        margin-right: 0%;
        width: 100%;
    }
}


@media (max-width: 768px) {
    
   .form-group input[type="text"], input[type="email"], input[type="text"], input[type="password"], input[type="date"], select{
        width:96%;
        padding:2%;
    }
    .form-group-3 textarea, .form-group-4 textarea, .form-group-1 input[type="text"], .form-group-1 input[type="email"], .form-group-1 input[type="date"], .form-group-2 input[type="text"],textarea{
        width:94%;
        padding:2%;
    }
    .form-group-1 select{
         width:98%; 
    }
    .form-group-3,.form-group-4{
        margin-top:0px;
        width:100%;
        margin-left: 1%;
    }
    .form-group-5{
        margin-left:1%;
        width:100%;
    }
    .form-group-1 input[type="date"]{
        width:100%;
    }
    input[name="gender"]:first-child{
        margin-left:2px;
    }
}

// Small devices (landscape phones, 576px and up)
@media (max-width: 576px) { 

}
:root {
  scroll-behavior: auto !important;
}

