.topbuttons { grid-area: 1 / 1 / span 1 / span 10; }
.husbandparents { grid-area: 2 / 1 / span 1 / span 4; }
.wifeparents { grid-area: 2 / 5 / span 1 / span 6; }
.husband { grid-area: 3 / 1 / span 1 / span 4; }
.wife { grid-area: 3 / 5 / span 1 / span 6; }
.marriage { grid-area: 4 / 1 / span 1 / span 10; }
.children { grid-area: 5 / 1 / span 1 / span 10; }

.grid-container {
  display: grid;
  grid-template-columns: auto auto auto auto auto auto auto auto auto auto;
  grid-template-rows: auto auto auto auto;
  grid-gap: 20px;
  background-image: linear-gradient(rgb(143,178,221),rgb(45,87,139));
  padding: 20px;
}

.grid-container > div {
  background: rgb(255,255,255);
  text-align: left;
  padding: 0 5px 5px 5px;
  font-size: 15px;
}

a.black {
  text-decoration: none;
  color: black;
}
a.blue {
  text-decoration: none;
  color: blue;
}
a.red {
  text-decoration: none;
  color: red;
}

.one-line-parent {
  background-image: linear-gradient(rgb(231,235,242),rgb(196,206,224));
  text-align: center;
  font-size: 15px;
}
.parents {
  width: 100%;
}

.husband-wife {
  width: 100%;
  background-image: linear-gradient(rgb(231,235,242),rgb(196,206,224));
  text-align: left;
  padding: 0 5px 5px 5px;
  font-size: 15px;
}

.label-head-male {
  background: rgb(169,188,203);
  width: 20%;
  text-align: center;
  border-radius: 5px;
}

.label-head-female {
  background: rgb(217,195,188);
  width: 20%;
  text-align: center;
  border-radius: 5px;
}

.husband-wife-name {
  width: 80%;
  text-align: left;
  font-size: 18px;
}

.label {
  background: rgb(255,255,255);
  text-align: right;
  font-size: 15px;
}

.indent { 
  padding-left: 20px;
}
a.redbutton {
  background: rgb(217,195,188);
  color: black;
  padding: 0 10px;
  text-align: center;
  border-radius: 5px;
  min-width: 40px;
  text-decoration: none;
  display: inline-block;
}
a.bluebutton {
  background: rgb(169,188,203);
  color: black;
  padding: 0 10px;
  text-align: center;
  border-radius: 5px;
  min-width: 40px;
  text-decoration: none;
  display: inline-block;
}
a.greybutton {
  background: rgb(233,233,237);
  padding: 2px 25px;
  color: black;
  text-align: center;
  border-radius: 5px;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
}

.marriage {
  width: 99%;
}

.marriage-name {
  width: 7%;
  text-align: left;
  font-size: 15px;
}

.marriage-data {
  width: 90%;
  text-align: center;
  font-size: 15px;
  cursor: pointer;
}
.grid-child {
  display: grid;
  grid-template-columns: auto auto auto;
  grid-template-rows: auto;
  grid-gap: 0;
  background-color: rgb(255,255,255);
  padding: 5px;
}

.one-height-child {
  height: 15px;
}

.one-line-child {
  background-image: linear-gradient(rgb(196,206,224),rgb(231,235,242));
  text-align: left;
  font-size: 15px;
  }

.dropdown {
  float: left;
  overflow: hidden;
}
.dropdown .dropbtnred {
  cursor: pointer;
  font-size: 14px;  
  border: none;
  outline: none;
  color: black;
  padding: 0 10px; 
  background: rgb(217,195,188);
  margin: 0;
}
.dropdown .dropbtnblue {
  cursor: pointer;
  font-size: 14px;  
  border: none;
  outline: none;
  color: black;
  padding: 0 10px; 
  background: rgb(169,188,203);
  margin: 0;
}
.dropdown-content {
  display: none;
  position: absolute;
  background-color: rgb(207,215,229);
  min-width: 200px;
  z-index: 1;
}

.dropdown-content a {
  float: none;
  color: black;
  padding: 5px 5px;
  text-decoration: none;
  display: block;
  text-align: left;
}

.dropdown-content a:hover {
  background-color: rgb(133,169,212);
}

.show {
  display: block;
}