
/* container to align image and text */
.flex-container {
    display: flex;
    background-color: rgb(232, 239, 247);
  }

.flex-container > div {
    background-color: #f1f1f1;
    margin: 10px;
    padding: 10px;
    font-size: 14px;
}

/* Style the navbar responsive*/

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
}

.topnav {
    overflow: hidden;
    background-color: #FDF9FE
}

.topnav a {
    float: left;
    display: block;
    color: #1D438A;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 17px;
}

.topnav a:hover {
    background-color: #ddd;
    color: rgb(36, 77, 211);
}

.topnav a.active {
    background-color: #04AA6D;
    color: white;
}

.topnav .icon {
    display: none;
}

@media screen and (max-width: 600px) {
    .topnav a:not(:first-child) {display: none;}
    .topnav a.icon {
    float: right;
    display: block;
    }
}

@media screen and (max-width: 600px) {
    .topnav.responsive {position: relative;}
    .topnav.responsive .icon {
    position: absolute;
    right: 0;
    top: 0;
    }
    .topnav.responsive a {
    float: none;
    display: block;
    text-align: center;
    }
}
	
/* Style the navbar */
.navbar {
overflow: hidden;
background-color: #e1eaf3; /* White background color */
}

/* Navbar links */
.navbar a {
float: right;
display: block;
color: #0707ee; /* blue text color */
text-align: center;
padding: 10px 10px;
text-decoration: none;
}

/* Change the color of links on hover */
.navbar a:hover {
background-color: #ddd; /* Light grey background on hover */
color: black; /* Black text color on hover */
}
.parent {
    position: relative;
    top: 95px; /* change this value to adjust the vertical position of the image */
    left: 10px; /* change this value to adjust the horizontal position of the image */
    width: 200px;
    height: 250px;
    border: 1px solid black;
}

img {
    position: relative;
    top: 0;
    right: 0;
    width: 160px;
    height: 200px;
    object-fit: contain;
}

img_med {
    position: relative;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    object-fit: contain;
}

.img_sm {
    position: relative;
    top: 0;
    right: 0;
    width: 200px;
    height: 250px;
    object-fit: contain;
}

.text-column {
    position: relative;
    top: 20px;
    width: 500px;
    height: 280px; /* Adjust the height as needed */
    border: 0px solid #ccc;
    padding: 10px;
    overflow: auto; /* Enable scrolling if content exceeds the height */
}

/* Styling django form */

#id_father_id {
    width: 250px;
    height: 20px;
}

#id_mother_id {
    width: 250px;
    height: 20px;
}

#id_spouse_id {
    width: 250px;
    height: 20px;
}


/* table and hover */

table {
    border-collapse: collapse;
    width: 100%;
  }
  
  th, td {
    padding: 8px;
    text-align: left;
    border-bottom: 1px solid #ddd;
  }
  
  tr:nth-child(even) {background-color: #f2f2f2;}

  .right-align {
    text-align: right;
  }

  .center-align {
    text-align: center;
  }

div.mycontainer {
    width:100%;
    overflow:auto;
}
div.mycontainer div {
    width:50%;  
    float:left;
            
}
span {color:rgb(76, 148, 124);}

