/* CSS file for Elliott family history biographies page (biographyScreen.css)

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

  * {
    box-sizing: border-box;
  }

  figure {
    float: left;
    padding: 0;
    /*border: solid green 2px;*/
  }s
  
  p.draft {
   margin: 20px 30px;
	 color: blue;
   background-color: lightBlue;
	}
	
  #photo1 {
    object-fit: contain;
    justify-content: center;
  }
    
  h2 {
    color: black;
    font-weight: bold;
    text-align: center;
   /*background-color: lightBlue;*/
  }
 
  #pTree img {
   display : block;
   /*margin-top: 20px;*/
   /*margin-bottom: 30px;*/
	 margin-left: auto;
	 margin-right: auto;
	 width: 92%;
	 height: 100%;
	 /*background-color: red;*/
   /*border: solid pink 2px;*/
   }

  #pTree h1 {
   text-align: center;
   font-size: large;
   font-style:  normal;
   color: black;
   padding: 0 0 5px 0;
   background-color: transparent;
  }

  #pTree > h2 {
   text-align: center;
   font-size: medium;
   font-style:  normal;
   color: black;
   padding: 0 0 2px 0;
   background-color: transparent;
  }

  .sup {
  /*	vertical-align: baseline; */
	  position: relative;
	  font-size: 0.8em;
	  bottom: 0.5em;
  }

  p.textCenter {
	  text-align: center;
    margin-top: 5px;
    margin-bottom: 5px;
	  /*border: solid 2px red;*/
	}

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

  #photo1 {
    margin: 6px 10px 5px 10px;
	  /*border: solid 2px green;*/
	 }

  #photo {
    float: left;
    /*width: 200px;*/
    margin: 15px 20px;
  }

  .portrait {
  height: auto;
  width: 170px;
  margin: 0;
  /*border: solid 5px green;*/
  }

  figcaption {
    color: black;
    font-size: small;
    font-weight: bold;
    padding: 2px;
    text-align: center;
  }

  .map {
    margin-top: 20px;
    margin-bottom: 20px;
    width: 300px;
    margin: auto;
	  border: solid 2px blue;
	 }

  #photo2 {
    margin-top: 20px;
    margin-bottom: 20px;
    margin-left: auto;
    margin-right: auto;
    float: none;
	  /*border: solid 2px blue;*/
	 }

  #photo3 {
    margin-top: 5px;
    margin-bottom: 5px;
    margin-left: auto;
    margin-right: auto;
    float: none;
	  /*border: solid 2px blue;*/
	 }

  .landscape {
    display: block;
    float: none;
    height: 220px;
    width: auto;
    margin-top: 5px;
    margin-bottom: 5px;
    margin-left: auto;
    margin-right: auto;
	  /*border: solid 2px red;*/
  }

  h2 {
    font-size: small;
    text-align: center;
	  /*border: solid 1px red;*/
  }
  
  #pTree {display: none;}

  .dispTree {
    display: none;
  }
  
  p.textCenter {
    font-size: small;
  }
}

/* 1. Small devices, from 391px up to 450px) */
  @media only screen and (min-width: 391px) and (max-width: 450px) {
  
  #photo1 {
    margin: 10px 10px 5px 10px;
	  /*border: solid 2px blue;*/
	 }

  #photo {
    float: left;
    /*width: 200px;*/
    margin: 15px 20px;
  }

  .portrait {
  height: auto;
  width: 170px;
  margin: 0;
  /*border: solid 5px green;*/
  }

  figcaption {
    color: black;
    font-size: small;
    font-weight: bold;
    padding: 2px;
    text-align: center;
  }

  #photo2 {
    margin-top: 20px;
    margin-bottom: 20px;
    margin-left: auto;
    margin-right: auto;
    float: none;
	  /*border: solid 2px blue;*/
	 }

  #photo3 {
    margin-top: 5px;
    margin-bottom: 5px;
    margin-left: auto;
    margin-right: auto;
    float: none;
	  /*border: solid 2px blue;*/
	 }

  .landscape {
    display: block;
    float: none;
    height: 225px;
    width: auto;
    margin-top: 20px;
    margin-bottom: 10px;
    margin-left: auto;
    margin-right: auto;
	  /*border: solid 2px red;*/
  }

  figcaption {
    font-size: small;
  }

  h2 {
    font-size: small;
    text-align: center;
	  /*border: solid 1px red;*/
  }
  
  #pTree {
    display: none;
  }

  .dispTree {
    display: none;
  }
  
  .noDispTree {
    display: inline-block;
    font-size: small;
    text-align: left;
    /*margin: 0 18px 0 18px;*/
    color: #000000;
    /*border: 2px solid mediumBlue;*/
  }
  
  p.textCenter {
    font-size: small;
  }
}

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

  #photo1 {
    margin: 10px 10px 5px 10px;
	  /*border: solid 2px blue;*/
	 }

  #photo {
    float: left;
    /*width: 200px;*/
    margin: 15px 25px;
  }

  .portrait {
  height: auto;
  width: 190px;
  margin: 0;
  /*border: solid 5px green;*/
  }

  figcaption {
    color: black;
    font-size: small;
    font-weight: bold;
    padding: 2px;
    text-align: center;
  }

  #photo2 {
    margin-top: 20px;
    margin-bottom: 20px;
    margin-left: auto;
    margin-right: auto;
    float: none;
	  /*border: solid 2px blue;*/
	 }

  #photo3 {
    margin-top: 5px;
    margin-bottom: 5px;
    margin-left: auto;
    margin-right: auto;
    float: none;
	  /*border: solid 2px blue;*/
	 }

  .landscape {
    display: block;
    float: none;
    height: 225px;
    width: auto;
    margin-top: 20px;
    margin-bottom: 10px;
    margin-left: auto;
    margin-right: auto;
	  /*border: solid 2px red;*/
  }

  figure {
    margin: 10px 15px;
  }

  h2 {
    font-size: small;
    text-align: center;
	  /*border: solid 1px red;*/
  }
  
  #pTree {display: none;}

  .dispTree {
    display: none;}

  p.textCenter {
    font-size: small;
  }
}

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

  #photo1 {
    margin: 10px 10px 5px 10px;
	  /*border: solid 2px blue;*/
	 }

  #photo {
    float: left;
    /*width: 200px;*/
    margin: 15px 25px;
  }

  .portrait {
  height: auto;
  width: 210px;
  margin: 0;
  /*border: solid 5px green;*/
  }

  figcaption {
    color: black;
    font-size: small;
    font-weight: bold;
    padding: 2px;
    text-align: center;
  }

  #photo2 {
    margin-top: 20px;
    margin-bottom: 20px;
    margin-left: auto;
    margin-right: auto;
    float: none;
	  /*border: solid 2px blue;*/
	 }

  #photo3 {
    margin-top: 5px;
    margin-bottom: 5px;
    margin-left: auto;
    margin-right: auto;
    float: none;
	  /*border: solid 2px blue;*/
	 }

  .landscape {
    display: block;
    float: none;
    height: 350px;
    width: auto;
    margin-top: 20px;
    margin-bottom: 10px;
    margin-left: auto;
    margin-right: auto;
	  /*border: solid 2px red;*/
  }

  figure {
    margin: 20px 35px;
  }

  h2 {
    font-size: medium;
    text-align: center;
	  /*border: solid 1px red;*/
  }
               
	#pTree {
	  display: block;
	  margin-top:20px;
	}

  .dispTree {
    display: inline;
    font-size: medium;
  }
    
  p.textCenter {
    font-size: medium;
  }
}

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

  #photo1 {
    margin: 10px 10px 5px 10px;
	  /*border: solid 2px blue;*/
	 }

  #photo {
    float: left;
    /*width: 200px;*/
    margin: 15px 25px;
  }

  .portrait {
  height: auto;
  width: 210px;
  margin: 0;
  /*border: solid 5px green;*/
  }

  figcaption {
    color: black;
    font-size: medium;
    font-weight: bold;
    padding: 2px;
    text-align: center;
  }

  #photo2 {
    margin-top: 20px;
    margin-bottom: 20px;
    margin-left: auto;
    margin-right: auto;
    float: none;
	  /*border: solid 2px blue;*/
	 }

  #photo3 {
    margin-top: 5px;
    margin-bottom: 5px;
    margin-left: auto;
    margin-right: auto;
    float: none;
	  /*border: solid 2px blue;*/
	 }

  .landscape {
    display: block;
    float: none;
    height: 400px;
    width: auto;
    margin-top: 20px;
    margin-bottom: 10px;
    margin-left: auto;
    margin-right: auto;
	  /*border: solid 2px red;*/
  }

  #figure1 {
    margin: 20px solid green;
  }

  #photo img {
  	width:100%;
  }
  	
  figure {
    margin: 20px 35px;
  }

  h2 {
    font-size: medium;
    text-align: center;
	  /*border: solid 1px red;*/
  }
  
	#pTree {
	  display: block;
	  margin-top:20px;
	}

  .dispTree {
    display: inline;
    font-size: medium;
  }

  .photo {
    height: 400px;
    width: auto;
  }
    
  p.textCenter {
    font-size: medium;
  }
}

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

  #photo1 {
    margin: 20px 20px 5px 10px;
	  /*border: solid 2px blue;*/
	 }

  #photo {
    float: left;
    /*width: 200px;*/
    margin: 10px 35px;
  }

  .portrait {
  height: auto;
  width: 210px;
  margin: 0;
  /*border: solid 5px green;*/
  }

  figcaption {
    color: black;
    font-size: medium;
    font-weight: bold;
    padding: 2px;
    text-align: center;
  }

  #photo2 {
    margin-top: 20px;
    margin-bottom: 20px;
    margin-left: auto;
    margin-right: auto;
    float: none;
	  /*border: solid 2px blue;*/
	 }

  #photo3 {
    margin-top: 5px;
    margin-bottom: 5px;
    margin-left: auto;
    margin-right: auto;
    float: none;
	  /*border: solid 2px blue;*/
	 }

  .landscape {
    display: block;
    float: none;
    height: 400px;
    width: auto;
    margin-top: 30px;
    margin-bottom: 10px;
    margin-left: auto;
    margin-right: auto;
	  /*border: solid 2px red;*/
  }

  #figure1 {
    margin: 20px solid green;
  }
	
  .portrait {
    width: 230px;
    height: auto;
    margin-top: 10px;
    margin-left: 10px;
    margin-right: 10px;
    padding: 0;
    /*border: solid 1px red;*/
	}

  figure {
    margin: 15px 30px 15px 45px;
  }

  h2 {
    font-size: medium;
    text-align: center;
	  /*border: solid 1px red;*/
  }
  
	#pTree {
	  display: block;
	  margin-top: 20px;
	  /*border: solid 1px red;*/
	 }

  .dispTree {
    display: inline;
    font-size: medium;
  }

  .photo {
    height: 400px;
    width: auto;
  }
    
  p.textCenter {
    font-size: medium;
  }
}

 /*6. Extra large devices (large laptops and desktops, 1201px and up) */
  @media only screen and (min-width: 1201px) {

  #photo1 {
    margin: 15px 10px 10px 30px;
	  /*border: solid 2px blue;*/
	 }

  #photo {
    float: left;
    /*width: 200px;*/
    margin: 25px 55px;
  }

  .portrait {
  height: auto;
  width: 250px;
  margin: 0;
  /*border: solid 5px green;*/
  }

  figcaption {
    color: black;
    font-size: medium;
    font-weight: bold;
    padding: 2px;
    text-align: center;
  }

  #photo2 {
    margin-top: 20px;
    margin-bottom: 20px;
    margin-left: auto;
    margin-right: auto;
    float: none;
	  /*border: solid 2px blue;*/
	 }

  #photo3 {
    margin-top: 5px;
    margin-bottom: 5px;
    margin-left: auto;
    margin-right: auto;
    float: none;
	  /*border: solid 2px blue;*/
	 }

  .landscape {
    display: flex;
    align-items: center;
    /*float: none;*/
    height: 500px;
    margin-top: 40px;
    margin-bottom: 10px;
    margin-left: auto;
    margin-right: auto;
	  /*border: solid 2px red;*/
  }

  #figure1 {
    margin: 20px solid green;
  }

  h2 {
    font-size: medium;
    text-align: center;
    margin-top: 10px;
    margin-bottom: 10px;
	  /*border: solid 1px red;*/
  }
  
  #pTree {
    display: block;
	  margin-top: 50px;
	  /*border: solid 1px red;*/
  }

  .dispTree {
    display: inline;
    font-size: medium;
  }

  #photos {
    height: auto;
    width: auto;
    margin: 10px 0 10px 0;
	  /*border: solid 5px red;*/
	 }

  p.textCenter {
    font-size: medium;
  }
}