*{
	box-sizing: border-box;
}

body{
    
    font-family: Cairo;
    background-color: #fff;
    color:#367b97;
	overflow-x: hidden;
    transition: 0.5s;
}
nav{
    background-color: #367b97;
    text-align: right;
    padding-right: 30px;
    width: 100%;
    height: 100px;
}
.previous{
	margin-top: 50px;
	cursor: pointer;
	background-color: white;
	height: 200px;
	padding-top: 50px;
	border-radius: 20px;
	box-shadow: 1px 2px #888888;
}
.previous:hover{
	cursor: pointer;
	background-color: white;
	height: 200px;
	padding-top: 50px;
	border-radius: 20px;
	box-shadow: 3px 4px 3px 4px #888888;
    transition: 0.5s;
}
.new{
    width: 100px;
	margin-top: 50px;
    border-radius: 20px;
	box-shadow: 1px 2px #888888;
	cursor: pointer;
	background-color: white;
	height: 200px;
	padding-top: 50px;
	margin-right: 120px;
    transition: 0.5s;
}
.new:hover{
	cursor: pointer;
	background-color: white;
	height: 200px;
	padding-top: 50px;
	border-radius: 20px;
	box-shadow: 3px 4px 3px 4px #888888;
}

label{
    font-size: 20px;
}
.heading{
    padding-top: 5px;
    padding-bottom: 5px;    
}


#form-container{
    text-align: right;
	background-color: #eee;
    
}
#showHide{
    transition: 0.5s;
    float: left;
    margin-left: 20px;
    
}
.headOfMarriage{
    height: auto;
   border: solid 2px #eee;
    background-color: #367b97;
    border-radius: 5px;
    text-align: right;
    padding-right: 20px;
    color: white;
}
#form-container-Marriage{
    text-align: right;
	background-color: #eee;
    
}
#showHideMarriage{
    transition: 0.5s;
    float: left;
    margin-left: 20px;
    
}
.headOfMed{
    height: auto;
   border: solid 2px #eee;
    background-color: #367b97;
    border-radius: 5px;
    text-align: right;
    padding-right: 20px;
    color: white;
}
#form-container-med{
    text-align: right;
	background-color: #eeeeee;
    
}
#showHideMed{
    
    float: left;
    margin-left: 20px;
    
}
.headOfRep{
    height: auto;
   border: solid 2px #eee;
    background-color: #367b97;
    border-radius: 5px;
    text-align: right;
    padding-right: 20px;
    color: white;
}
#form-container-rep{
    text-align: right;
	background-color: #eee;
    
}
#showHideRep{
    
    float: left;
    margin-left: 20px;
    
}

#childern{
    display: block;
}
#geneticDiseases{
    display: block;
}
#bmiDiv{
    display: block;
}

.submitButton{
    background-color: #367b97;  
  
}
.submitButton:hover{
    background-color: #51a2c3;  

 
}
.backButton{
    background-color: darkslategray;
    margin-left: 40px;
    margin-top: 10px;
}
.backButton a{
    text-decoration: none;
    color: white;
}
.backButton:hover{
    background-color: #6a7575;
}
.PrintButton{
    background-color: #367b97;  
    margin-top: 10px;
}
.PrintButton:hover{
    background-color: #51a2c3;  
    margin-top: 10px;
 
}
footer{
    background-color: #8fbc8f;
    text-align: center;
    width: 100%;
    height: 60px;
    color: white;
    padding-top: 20px;
    font-size: 22px; !important
    font-weight: 500;
     bottom: 0px;
    left: 0px;
    right: 0px;
    margin-bottom: 0px;
}
.form-popup {
  display: none;
  position: fixed;
  bottom: 0;
  right: 15px;
  border: 3px solid #f1f1f1;
  z-index: 9;
}