@charset "utf-8";
/* CSS Document */

.wrapper {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding-right: 20px;
  max-width: 1120px;
  /* padding-top: 10px; */
  padding-left: 20px;
  padding-bottom:20px;
  margin-right: auto;
  margin-left: auto;
}

.sticky-top {
  position: sticky;
  background-color: #1C344C;
  top: 0;
  z-index: 1020;
}

.indiv-header {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  background-color: #1C344C;
  font-size: clamp(3px, 2vw, 16px);
  text-align: center;
  max-width: 1120px;
  color: #ffffff;
  padding: 3px 4px 3px 4px;
  margin-right: auto;
  margin-left: auto;
}

.indiv-header a:link, .indiv-header a:visited {
    color: #ffffff;
}

.indiv-header a:hover {
  color: red;
}

.prenxt {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  font-size: clamp(3px, 2.2vw, 14px);
  font-weight: bold;
  padding: 0px 5px 0px 5px;
}

.sxM {
  background-color: rgb(162, 241, 241);
  }

.sxF {
  background-color: #FFCED7;
  }

.chart-container {
  display: flex;
  width: 100%;
  margin-bottom: 10px;
  border-left: 1px solid rgb(0, 0, 0);
  border-right: 1px solid rgb(0, 0, 0);
}

.charts {
  width: 100%;
}

.chartHdr {
  display: flex;
  flex-direction: row;
  justify-content: center;
  font-size: 18px;
  font-weight: bold;
  /* text-align: center; */
  color: #000000;
  line-height: 25px;
  padding-left: 10px;
  border-top: 1px solid black; 
 }
/* 
.data-container {
  display: flex;
  flex-direction: column;
  flex-wrap: unset;
  align-content: space-between;
  width: 100%;
} */

/* .data-container::before {
  align-self: stretch;
  content: '';
  border: 1px solid rgb(0, 0, 0);
} */

/* .data-container .family-container:first-child {
  order: -1;
} */

/* .data-container > div {
  margin: 0px 0px 5px 0px;
}
   */
.family-container, .event-container {
  display: flex;
  flex-direction: column;
  height: auto;
  background-color: rgba(255, 255, 255, 0.5);
  padding: 0px;
  margin-bottom: 10px;
  border-top: 1px solid rgb(0, 0, 0);
  border-left: 1px solid rgb(0, 0, 0);
  border-right: 1px solid rgb(0, 0, 0);
  border-bottom: 1px solid rgb(0, 0, 0);
}

.Indiv {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: auto;
  color: black;
  text-decoration: none;
  overflow: visible;
/*  border-right: 1px solid black;*/
/*  border-bottom: 1px solid black;*/
/*  border-left: 1px solid black;*/
  }

  .IndivHdr {
    display: flex;
    flex-direction: row;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
    /* text-align: center; */
    color: #000000;
    line-height: 25px;
    padding-left: 10px;
    /* border-top: 1px solid black;  */
   }
    
#family {
  /* display: none; */
    display: block;
    /* border-bottom: 1px solid black;  */
    }

.fam-box {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  background: none;
  opacity: 1;
  width: 100%;
  height: 100%;
  margin: 0 0 0 0;
  padding: 0;
  text-decoration: none;
  }

.fam-row-label {
  font-size: 13px;
  text-align: left;
  font-style: italic;
  font-weight: bold;
  color: #8b4706;
  width: 85px;
  padding-left: 5px;;
  box-sizing: border-box;
  }

.fam-row {
  display: flex;
  flex-direction: row;
  align-content: flex-start;
  width: auto;
  margin-bottom: 3px;
  padding: 0;
  border-top: 1px solid black; 
  }

.row-label {
  font-size: 14px;
  text-align: right;
  font-weight: bold;
  font-style: italic;
  color: #0D5B09;
  width: 170px;
  padding-left: 5px;;
  box-sizing: border-box;
  }

.row-fam-data {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  padding: 2px 5px 1px 5px;
}

.row-fam-line {
  display: flex;
  flex-direction: column;
  /* flex-wrap: nowrap; */
  font-size: 12px;
  font-weight: bold;
  color: black;
  line-height: 15px;
  /* min-width: 240px; */
  width: auto;
  margin-right: 5px;
  padding: 2px 10px 1px 10px;
/*  border: 1px solid black; */
  }




.eventLineData {
  display: flex;
  flex-direction: row;
  white-space: wrap;
  font-weight: bold;
  padding:3px 0px 0px 5px;
}
  
 
 
.eventsContainer {
  display: flex;
  flex-direction: column;
  flex-grow: 3;
  order: 2;
  background-color: rgba(255, 255, 255, 0.5);
  /* width: 58vh; */
  /* margin-top: 10px; */
  margin-bottom: 10px;
  padding: 0px;
  border-top: 1px solid rgb(0, 0, 0);
  border-left: 1px solid rgb(0, 0, 0);
  border-right: 1px solid rgb(0, 0, 0);
  border-bottom: 1px solid rgb(0, 0, 0);
}

#events {
  /* display: none; */
  display: block;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
 /* border-bottom: 1px solid black;  */
  }

.eventBox {
  display: flex;
  flex-direction: column;
  width: 100%;
}
  
.thisEvent {
  display: flex;
  flex-direction: row;
  width: 100%;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.eventDate {
  display: flex;
  align-self: stretch;
  font-size: 12px;
  font-weight: bold;
  text-align: left;
  text-decoration: none;
  background-color: #FFFFFF;
  color: #000000;
  min-width: 85px;
  max-width: 85px;
  padding: 3px 0px 0px 5px;
  border-top: 1px solid black;
}

.eventDetails {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  border-left: 1px solid black;
}

.eventHdr {
  display: flex;
  flex-direction: column;
  align-content: center;
  font-size: 13px;
  font-weight: bold;
  color: #000000;
  text-decoration: none;
  width: 100%;
  height: 22px;
  vertical-align: middle;
  padding: 2px 0px 0px 15px;
  border-top: 1px solid black;
  box-sizing: border-box;
}

.eventItemBox {
  display:none;
  /* display: block; */
  height: auto;
}

.eventItem {
  display: flex;
  flex-direction: column;
  width: 100%;
  justify-content: left;
  align-content: flex-start;
  font-size: 12px;
  min-height: 21px;
  margin: 0;
  padding: 1px 0px 0px 0px;
}

.eventLabelBox {
  align-self: stretch;
  box-sizing: border-box;
}

.eventContentsBox {
  display: flex;
  flex-direction: row;
  width: 100%;
  padding:1px 0px 2px 5px;
  border-top: 1px solid black;
  box-sizing: border-box;
}

.eventLabel {
  display: flex;
  text-align: left;
  font-size: 12px;
  font-style: italic;
  font-weight: bold;
  color: #8b4706;
  width: 120px;
  padding:2px 0px 4px 5px;
  }

.eventContents {
  display: flex;
  flex-direction: column;
  /* background-color: #2d8b5c; */
}

.eventContentsLine {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  white-space: wrap;
  width: 100%;
}

.eventData {
  display: flex;
  flex-direction: row;
  justify-content: left;
  flex-wrap: wrap;
  font-weight: bold;
  text-align: left;
 }

  




  .event-contents {
    display: flex;
    flex-direction: column;
    /* justify-items: stretch; */
    width: 100%;
    border-top: 1px solid black;
    /* white-space: nowrap; */
  }
.event-hdr-row {
  display: flex;
  flex-direction: column;
  /* justify-items: stretch; */
  width: 100%;
  height: 20px;
  /* border-top: 1px solid black; */
  white-space: nowrap;
}
  
.modal-content-rn {
  position: relative;
  word-wrap: normal;
  /* background-color: rgba(0,0,0,0.25); */
  background-color: #ffffff;
  margin: 0px auto 0px auto;
  padding: 0px 10px 10px 10px;
  border: 1px solid #000000;
  max-width: 360px;
  height: auto;
  border-radius: 2px;
  -webkit-animation-name: animatetop;
  -webkit-animation-duration: 0.4s;
  animation-name: animatetop;
  animation-duration: 0.4s
}


.modal-header-rn {
    text-align: center;
    font-size: 14px;
    /* height: 15px; */
    background-color: #ffffff;
    padding: 10px 2px;
  }
  


/* #life {
  display: none;
   display: block;
   border-bottom: 1px solid black; 
   } */
/*  
 .life-box {
   display: flex;
   flex-direction: column;
 /*
   justify-content: flex-start;
   align-content: center;
   flex-wrap: nowrap;
 */
   /* width: auto;
   margin: 0 0 0 0;
   padding: 0 0 0 0; */
   /* } */ */
/*  
 .event-box {
   display: flex;
   flex-direction: column;
   justify-content: flex-start;
 /*  background: none;*/
   /* opacity: 1; */
   /* width: 100%; */
   /* height: 100%; */
   /* margin: 0 0 0 0; */
/* /   text-decoration: none; */
 
 
 .boxcon {
  display: none;
    /* display: block; */
   }
 
 .bb {
   background-color: #FFF2F6;
   }
 
 .mm {
   background-color: #E6FFE6; 
   }
 
 .dd {
   background-color: #D7C2E5;
   }
 
 .mo {
   background-color: #FDF4E6; 
   }
 
 .mi {
   background-color: #C7F4F9; 
   }
 
 .im {
   background-color: #C7F4F9; 
   }
 
 .cc {
   background-color: #FFFAD6; 
   }
 
 .ch {
   background-color: #F7CDD9;
   text-decoration: none;
   }
 
 .event-btn {
   background-color: #4D4D4D;
   border-radius: 5px;
   display: inline-block;
   cursor: pointer;
   font-size: 12px;
   color: #ffffff;
   width: 60px;
   height: 17px;
   margin: 2px 0px 3px 5px;
   padding: 0px 05px;
 }

/* The Modal (background) */
.modal {
  display: none; 
  position: fixed; 
  z-index: 9999;
  padding-top: 15px;
  left: 0;
  top: 0px;
  width: 100%;
  height: 100%;
  background-color: rgb(0,0,0); /* Fallback color */
   background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
  position: relative;
  background-color: #252525;
  margin: 0px auto 0px auto;
  padding: 0px 10px;
  border: 1px solid #000000;
  max-width: 1060px;
  height: auto;
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
  -webkit-animation-name: animatetop;
  -webkit-animation-duration: 0.4s;
  animation-name: animatetop;
  animation-duration: 0.4s
}

/* Modal Content */
.modal-content2 {
  position: relative;
  word-wrap: normal;
  /* background-color: rgba(0,0,0,0.25); */
  background-color: #ffffff;
  margin: 0px auto 0px auto;
  padding: 0px 10px 10px 10px;
  border: 1px solid #000000;
  max-width: 360px;
  height: auto;
  border-radius: 2px;
  -webkit-animation-name: animatetop;
  -webkit-animation-duration: 0.4s;
  animation-name: animatetop;
  animation-duration: 0.4s
}

/* Add Animation */
@-webkit-keyframes animatetop {
  from {top:-300px; opacity:0} 
  to {top:0; opacity:1}
}

@keyframes animatetop {
  from {top:-300px; opacity:0}
  to {top:0; opacity:1}
}

/* The Close Button */

.close {
  float: right;
  font-size: 20px;
}

.close:hover,
.close:focus {
  color: #FF0004;
  text-decoration: none;
  cursor: pointer;
}

.modal-header-mg {
  text-align: center;
  font-size: 20px;
  color: #ffffff;
  height: 25px;
  background-color: #252525;
  /* margin-bottom: 5px; */
  padding: 5px 16px;
}

.modal-header-tr {
  text-align: center;
  font-size: 20px;
  color: #ffffff;
  /* height: 25px; */
  /* background-color: #ffffff; */
  margin-bottom: 5px;
  padding: 5px 16px;
}

.dframe {
  overflow: visible;
  margin: 5px 0px 0px 0px;
  padding: 0px;
  width: 100%;
  height: 100% !important;
  border-top-style: none;
  border-right-style: none;
  border-bottom-style: none;
  border-left-style: none;
  background-image: none;
  }

.tframe {
  overflow: visible;
  margin: 5px 0px 0px 0px;
  padding: 0px;
  width: 100%;
  border-top-style: none;
  border-right-style: none;
  border-bottom-style: none;
  border-left-style: none;
  background-image: none;
  }

/* Add Animation */
@-webkit-keyframes animatetop {
  from {top:-300px; opacity:0} 
  to {top:0; opacity:1}
}

@keyframes animatetop {
  from {top:-300px; opacity:0}
  to {top:0; opacity:1}
}
/*

.modal-header {
  padding: 2px 16px;
  background-color: #5cb85c;
  color: white;
}
*/

.modal-body {padding: 2px 16px;}

.modal-footer {
  padding: 2px 16px;
  background-color: #5cb85c;
  color: white;
}


@media screen and (max-width: 760px) {

  .data-container {
    flex-direction: column;
    width: 100%;
    }

  .family-container {
    order: 1;
    margin-right: 0px;
    padding: 0px;
    }
    
  .events-container {
    order: 2;
    margin-top: 10px;
    margin-left:  0px;
  }

  .family-container {
    order: 1;
    }

}

@media screen and (max-width: 560px) {

  .IndivHdr {
    font-size: 14px;
    line-height: 20px;
   }

  .row-fam-line {
    font-size: 10px;
    line-height: 12px;
    margin-right: 2px;
    padding: 1px 1px 1px 0px;
    }

    .fam-row-label {
    font-size: 11px;
    max-width: 71px;
    min-width: 71px;
    padding-left: 2px;;
    }
  
  
  .eventDate {
    display: flex;
    align-self: stretch;
    font-size: 11px;
    font-weight: bold;
    text-align: left;
    text-decoration: none;
    background-color: #FFFFFF;
    color: #000000;
    min-width: 75px;
    max-width: 75px;
    padding: 3px 0px 0px 5px;
    border-top: 1px solid black;
  }
    
  .eventHdr {
    display: flex;
    flex-direction: column;
    align-content: center;
    font-size: 11px;
    font-weight: bold;
    color: #000000;
    text-decoration: none;
    width: 100%;
    height: 20px;
    vertical-align: middle;
    padding: 2px 0px 0px 15px;
    border-top: 1px solid black;
    box-sizing: border-box;
  }

  .eventLabel {
    display: flex;
    text-align: left;
    font-size: 12px;
    font-style: italic;
    font-weight: bold;
    color: #8b4706;
    width: 120px;
    padding:0px;
    }
  
  .eventContentsBox {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    padding:1px 0px 2px 5px;
    border-top: 1px solid black;
  }
    
  .eventContentsLine {
    display: flex;
    flex-direction: column;
  }

  .eventLineData {
    font-size: 11px;
    padding:3px 0px 0px 15px;
  }

  .modal-header-mg {
    font-size: 11px;
    padding: 5px 10px;
  }
    
  }
