/* CSS file for Elliott family history photographs - photographsScreen.css

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

  * {
    box-sizing: border-box;
  }
  
  .photo {
    width: 90%;
    margin-left: auto;
    margin-right:auto;
    background-color: white;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    margin-bottom: 25px;
    /*border: solid 5px dodgerBlue;*/
  }
  
  div.caption {
    text-align: left;
    padding: 20px 20px;
  }
  
  img {
    width: 100%;
    height: auto;
    margin-left: auto;
    margin-right: auto;
  }
 
   .heading {
    font-size: x-large;
    font-weight: bold;
    text-align: center;
    /*color: green;*/
  }

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

  #mainHeader {
    padding: 5px 0px;
    font-size: small;
    font-weight: bold;
    text-align: center;
		/*background-color: dodgerBlue;*/
		margin: 10px 10px;
  }

  .caption {
    font-size: small; }
  
 .notesHeader, li {font-size: small; }
}

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

  #mainHeader {
    padding: 5px 0px;
    font-size: small;
    font-weight: bold;
    text-align: center;
		margin: 10px 10px;
		/*background-color: dodgerBlue;*/
	}
  
  .caption {
    font-size: small; }
  
  .notesHeader, li {font-size: small; }
}

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

  #mainHeader {
    padding: 5px 5px;
    font-size: medium;
    font-weight: bold;
    text-align: center;
		margin: 10px 10px;
  }

  .caption {
    font-size: medium; }
  
  .notesHeader, li {font-size: medium; }
}

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

  #mainHeader {
    padding: 5px 5px;
    font-size: large;
    font-weight: bold;
    text-align: center;
		margin: 10px 10px;
  }
  
  .caption {
    font-size: medium; }
  
  .notesHeader, li {font-size: medium; }
}

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

  #mainHeader {
    padding: 10px 10px;
    font-size: large;
    font-weight: bold;
    text-align: center;
		margin: 10px 10px;
  }

  .caption {
    font-size: medium; }
  
  .notesHeader, li {font-size: medium; }
}

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

  #mainHeader {
    padding: 10px 10px;
    font-size: large;
    font-weight: bold;
    text-align: center;
/*		background-color: dodgerBlue; */
		margin: 10px 10px;
  }
		
  .caption {
    font-size: medium; }
  
  .notesHeader, li {font-size: medium; }
 }
 
 /*6. Extra large devices (large laptops and desktops, 1201px and up) */
  @media only screen and (min-width: 1201px) {

  #mainHeader {
    padding: 10px 10px;
    font-size: large;
    font-weight: bold;
    text-align: center;
/*		background-color: dodgerBlue; */
		margin: 10px 10px;
  }
		
  .caption {
    font-size: medium; }
  
  .notesHeader, li {font-size: medium; }
 }
