/* CSS file for Wilkins Family Biographies (familyHistoryAncestralTrees.css)

   Version: 3.0.0 August 2025
      
   Copyright (C) R Wilkins 2025 */

  * {
    box-sizing: border-box;
    }
  
  .flex-container, .flex-container2 {
    display: flex;
    justify-content: center;
    margin-left: auto ;
    margin-right: auto;
    margin-bottom: 20px;
    width: 90%;
    text-align: center;
    border: 2px solid black;
    /*background-color: green;*/
  }
  
  .flex-container > div, .flex-container2 > div {
    display: flex;
    flex-direction: column;
    margin: 5px;
    height: 600px;
    /*border: 2px solid black;*/
    line-height: 30px;
    justify-content: space-around;
    text-align: center;
    /* border: 2px solid red; */
		background-color: transparent;
  }

  .flex-container > div > div, .flex-container2 > div > div {
    display: flex;
    margin: 20px;
		margin-left: auto;
		margin-right: auto;
    height: 32px;
    border: 2px solid black;
    line-height: 30px;
    justify-content: center;
    text-align: center;
    /* background-color: dodgerBlue; */
  }

  .top18th {
    display: flex;
    margin-top: 174px;
    margin-left: auto;
    margin-right: auto;
    /*border: solid green 2px;*/
  }
  
  .top19th {
    margin-top: 232px;
  }
    
  .top20th {
    margin-top: 232px;
  }
  
  a:link {
    color: black;
    text-decoration: none;
  }
  
  .flex-container > div > div a:link, a:visited {
    color: black;
  }

  .flex-container > div > div a:hover {
    color: black;
    filter: grayscale(0);
  }

  .fill-div {
    display:inline-block;
    width:100%;
    height:100%;
  }
  
  .lightSepia {
    background-color: #CF967C;
    opacity: 0.6;
    /*cursor: not-allowed;*/
    color: black;
  }
  
  .darkSepia {
    background-color: #7b4d26;
    color: white;
  }
  
  .sepia17th {
    background-color: #957351;
    color: white;
  }
  
  .sepia18th {
    background-color: #ae957b;
    color: white;
  }
    
  .sepia19th {
    background-color: #c8b7a5;
    color: black;
  }
    
  .sepia20th {
    background-color: #e2d9d0;
    color: black;
  }
  
  .tooltip {
    position: relative;
    display: inline-block;
  }
  
  .tooltip .tooltiptext {
    visibility: hidden;
    width: 120px;
    background-color: darkGray;
    color: #fff;
    text-align: center;
    padding: 5px 0;
    border-radius: 6px;
    top: 15px;
    left: 55%;
    position: absolute;
    z-index: 1;
  }

  /* Show the tooltip text when you mouse over the tooltip container */
   .tooltip:hover .tooltiptext {
    visibility: visible;
  }

/* 0. Extra small phones, 390px and down */
  @media only screen and (max-width: 390px) {

  .flex-container{display: none;}
  .flex-container2{display: flex;}
  
  .flex-container2 > div {
    width: 50%;
  }

  .flex-container2 > div > div {
    font-size: small;
    width: 90%;
  }
		
	.left {
		padding-top: 10px;
		padding-bottom: 50px;
		/* background-color: pink;
		border: solid 2px green; */
	}

	.right {
		padding-top: 82px;
		padding-bottom: 100px;
		/* background-color: Blue;
		border: solid 2px blue; */
	}
}

/* 1. Small devices, from 391px up to 450px) */
  @media only screen and (min-width: 391px) and (max-width: 450px) {
		
  .flex-container {display: none;}
  .flex-container2 {display: flex;}

  .flex-container2 > div {
    width: 50%;
  }

  .flex-container2 > div > div {
    font-size: small;
    width: 90%;
  }

	.left {
		padding-top: 10px;
		padding-bottom: 50px;
		/* background-color: pink;
		border: solid 2px green; */
	}

	.right {
		padding-top: 82px;
		padding-bottom: 100px;
		/* background-color: Blue;
		border: solid 2px blue; */
	}
}

/* 2. Small devices, from 451px up to 600px) */
  @media only screen and (min-width: 451px) and (max-width: 600px) {

  .flex-container {display: none;}
  .flex-container2 {display: flex;}

  .flex-container2 > div {
    width: 50%;
    /*background-color: blue;*/
  }

  .flex-container2 > div > div {
    font-size: small;
    width: 90%;
  }

	.left {
		padding-top: 10px;
		padding-bottom: 50px;
		/* background-color: pink;
		border: solid 2px green; */
	}

	.right {
		padding-top: 82px;
		padding-bottom: 100px;
		/* background-color: Blue;
		border: solid 2px blue; */
	}
}

/* 3. Small devices (portrait tablets and large phones, from 601px up to 768px) */
  @media only screen and (min-width: 601px) and (max-width: 768px){

  .flex-container {display: none;}
  .flex-container2 {display: flex;}

  .flex-container2 > div {
    width: 50%;
    /*background-color: blue;*/
  }

  .flex-container2 > div > div {
    font-size: small;
    width: 90%;
  }

  .flex-container > div > div {
    width: 90%;
		/* font-size: small;
    margin: 20px 50px;		 */
  }

	.left {
		padding-top: 10px;
		padding-bottom: 50px;
		/* background-color: pink;
		border: solid 2px green; */
	}

	.right {
		padding-top: 82px;
		padding-bottom: 100px;
		/* background-color: Blue;
		border: solid 2px blue; */
	}
}

/* 4. Medium devices (landscape tablets, from 769px up to 991px) */
  @media only screen and (min-width: 769px) and (max-width: 991px) {

  .flex-container{display: flex;}
  .flex-container2{display: none;}

  .flex-container > div {
    width: 25%;
  }

  .flex-container > div > div {
    width: 90%;
  }
}

/* 5. Large devices (laptops/desktops, from 992px up to 1200px) */
  @media only screen and (min-width: 992px) and (max-width: 1200px) {

  .flex-container{display: flex;}
  .flex-container2{display: none;}

  .flex-container > div {
    width: 25%;
  }

  .flex-container > div > div {
    width: 90%;
  }
}
 
 /*6. Extra large devices (large laptops and desktops, 1201px and up) */
  @media only screen and (min-width: 1201px) {

  .flex-container{display: flex;}
  .flex-container2{display: none;}

  .flex-container > div {
    width: 25%;
  }

  .flex-container > div > div {
    width: 90%;
  }
}