  /* CSS file for Wilkins Family History 2025 index page (index.css)
      Copyright (C) R Wilkins 2025 */

  * {
    box-sizing: border-box;
  }
  
   a:link {
     color: Blue;
     background-color: transparent;
     text-decoration: none;
   }

   a:visited {
     color: Blue;
     background-color: transparent;
     text-decoration: none;
   }

   a:hover {
     color: White;
     background-color: transparent;
     text-decoration: none;
   }

  .contentText {border: solid darkGray 2px;}

  .doublePicture {
    display: flex;
    justify-content: space-evenly;
    /*border: solid 2px red;*/
    align-content: center;
    align-items: baseline;
  }

  .doublePicture > div {
    background-color: #f1f1f1;
    display: flex;
    /*border: solid 2px green;*/
  }
  
  .singlePicture {
    display: flex;
    justify-content: space-evenly;
    /*border: solid 2px red;*/
    align-content: center;
    align-items: baseline;
  }

  .singlePicture > div {
    background-color: #f1f1f1;
    display: flex;
    /*border: solid 2px green;*/
  }
  
  .brothersImage {
    display: block;
    margin: 0 auto;
    padding-bottom: 5px;
    /*border: solid 5px purple;*/
  }
  
  .brotherCaption {
    display: inline;
    caption-side: bottom;
    margin: 0 auto;
    /*border: solid 5px red;*/
    font-size: small;
    font-weight: bold;
    line-height: 3px;
    white-space:pre-wrap;
  }

	.centerList {
		text-align: center;
		list-style-type: none;
		padding: 0;
	}

	.itemL {
		padding: 5px 0;
	}
  
  p.one {
    border-style: solid;
    border-width: 5px;
  }

  .centreImage {
    width: 90%;
    display: block;
    margin: 0 auto;
  }

  .col1 {width: 60%}
  .col2 {width: 20%}
  .col3 {width: 20%;}

  .tabNames {
    table-layout: fixed;
    border-collapse: collapse;
    /*background-color: blue;*/
    width: 40%;
    margin: auto auto;
    border: solid 2px #c8c8c8;
    caption-side: bottom;
  }
  
  td {
    margin: auto auto;
  }
  
  th {
    font-weight: normal;
    border-bottom: solid 2px #c8c8c8;
  }
  
  td.left {
    padding:5px 0 5px 10px;
  }

  th.left {
    padding:5px 0 5px 10px;
  }
    
  th.head {
    background-color: #919191;
    color: white;
  }

  td.center, th.center {
    text-align: center;
  }
    
/* 0. Extra small phones, 390px and down */
  @media only screen and (max-width: 390px) {

  .figCaption {
    font-size: x-small;
    line-height: 5px;
    text-align: center;
  }

	.centerList {
		font-size: small;
	}
  
  .tabNames {
    width: 60%;
    margin-top: 13px;
    margin-bottom: 13px;
		font-size: x-small;
  }

  .tabCaption {
    font-size: x-small;
    font-weight: bold;
    padding-top: 5px;
  }

  tr {
    height: 22px;
  }
  
  figure {
    line-height: 12px;
  }
  
  .brotherCaption {
    font-size: x-small;
    line-height: 5px;
    /*color: red;*/
  }
  
  .singlePicture {display: flex;}
  .doublePicture {display: none;}

  li {font-size: small;
      line-height: 120%;
  }

  ul.device {
    color: black;
    padding: 0 25px 0 25px;
    list-style-position: inside;
    margin-top: 0;
    /*border: solid 2px red;*/}
}

/* 1. Small devices, from 391px up to 450px) */
  @media only screen and (min-width: 391px) and (max-width: 450px) {

  figure {
    line-height: 12px;
  }
  
  .figCaption {
    font-size: small;
    line-height: 13px;
    text-align: center;
  }

	.centerList {
		font-size: small;
	}
  
  tr {
    height: 25px;
  }
      
  .tabNames {
    width: 60%;
    margin-top: 13px;
    margin-bottom: 13px;
		font-size: small;
  }

  .tabCaption {
    font-size: x-small;
    font-weight: bold;
    padding-top: 7px;
  }

  .singlePicture {display: flex;}
  .doublePicture {display: none;}
  
  li {font-size: small;
      line-height: 120%;
  }

  ul.device {
    color: black;
    padding: 0 25px 0 25px;
    list-style-position: inside;
    margin-top: 0;
    /*border: solid 2px red;*/}
}

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

  figure {
    line-height: 12px;
  }
  
  .figCaption {
    font-size: small;
    line-height: 15px;
    text-align: center;
  }

	.centerList {
		font-size: small;
	}

  td, th {
    font-size: small;
  }

  .tabNames {
    width: 60%;
    margin-top: 10px;
    margin-bottom: 10px;
		font-size: small;
  }

  .tabCaption {
    font-size: x-small;
    font-weight: bold;
    padding-top: 7px;
  }

  tr {
    height: 25px;
  }
  
  .brotherCaption {
    font-size: x-small;
    font-weight: bold;
    line-height: 5px;
    /*color: red;*/
  }
  
  .singlePicture {display: flex;}
  .doublePicture {display: none;}

  li {font-size: small;
      line-height: 120%;
  }

  ul.device {
    color: black;
    padding: 0 30px 0 30px;
    list-style-position: inside;
    margin-top: 0;
    /*border: solid 2px red;*/}
}

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

  .figCaption {
    font-size: medium;
    line-height: 15px;
    text-align: center;
  }

	.centerList {
		font-size: medium;
	}

  .tabNames {
    width: 50%;
    margin-top: 15px;
    margin-bottom: 15px;
		font-size: medium;
  }
  
  .tabCaption {
    font-size: small;
    font-weight: bold;
    padding-top: 10px;
  }

  .singlePicture {display: none;}
  .doublePicture {display: flex;}

  li {font-size: medium;
      line-height: 120%;
  }

  ul.device {
    color: black;
    padding: 0 45px 0 45px;
    list-style-position: inside;
    margin-top: 0;
    /*border: solid 2px red;*/}
}

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

  :root { --short: 4; }

	.centerList {
		font-size: medium;
	}

  .tabNames {
    width: 50%;
    margin-top: 20px;
    margin-bottom: 20px;
		font-size: medium;
  }

  .tabCaption {
    font-weight: bold;
    font-size: small;
    padding-top: 10px;
  }

  .singlePicture {display: none;}
  .doublePicture {display: flex;}
  
  li {font-size: medium;
      line-height: 120%;
  }

  ul.device {
    color: black;
    padding: 0 50px 0 50px;
    list-style-position: inside;
    margin-top: 0;
    /*border: solid 2px red;*/}
}

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

  .figCaption {
    font-size: small;
    line-height: 16px;
    border: solid 2px green;
  }

	.centerList {
		font-size: medium;
	}

  .tabNames {
    margin-top: 30px;
    margin-bottom: 30px;
		font-size: medium;
  }
  
  .tabCaption {
    font-size: small;
    font-weight: bold;
    padding-top: 10px;
  }

  .singlePicture {display: none;}
  .doublePicture {display: flex;}

  li {font-size: medium;
      line-height: 120%;
  }

  ul.device {
    color: black;
    padding: 0 70px 0 70px;
    list-style-position: inside;
    margin-top: 0;
    /*border: solid 2px red;*/}
}

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

  .figCaption {
    font-size: small;
    line-height: 16px;
    border: solid 2px green;
  }

	.centerList {
		font-size: medium;
	}

  .tabNames {
    margin-top: 30px;
    margin-bottom: 30px;
		font-size: medium;
  }
  
  .tabCaption {
    font-size: small;
    font-weight: bold;
    padding-top: 10px;
  }

  .singlePicture {display: none;}
  .doublePicture {display: flex;}

  li {font-size: medium;
      line-height: 120%;
  }

  ul.device {
    color: black;
    padding: 0 70px 0 70px;
    list-style-position: inside;
    margin-top: 0;
    /*border: solid 2px red;*/}
}
  