/* 
 * PBC 11/18/2023
 * This style sheet appears to be the only one used in the 550 Squadron project
 * It is used in at least 468 (.php) files
 */

body {
     background-color: #F0F8FF ; /* previously CornSilk, #F0F8FF, #F0F8FF #D4FFFF, then #FFFFFF */ 
     color: black;
     font-family: "Trebuchet MS", Verdana, Helvetica, Sans-serif;
     font-size: 1em;
     margin: 2em;
     padding: 10px;
}

/*
 * PBC 13/03/2024: from https://www.w3schools.com/css/css_rwd_viewport.asp
 * the viewport is the user's visible are of a web-page
 * HTML5 introduced a method to let web develops take control over the viewport through the <meta> tag (see the main site index.php)
 */
@viewport {
  width: auto;
}

/*
 * PBC 14/03/2024: see:
 *  https://www.w3schools.com/css/css3_mediaqueries.asp
 *  https://www.w3schools.com/cssref/css3__pr_mediaquery.php
 * the following remains for now experimental (minimal definitions are provided in each definition block)
 */
@media screen and (max-width: 600px) {
  /* Styles for screens with a maximum width of 600px, typically for smartphones */
  /*
  body {
    background-color: LemonChiffon;
  }
  */
}

@media screen and (min-width: 601px) and (max-width: 1024px) {
  /* Styles for screens with a width between 601px and 1024px, typically for tablets */
  /*
  body {
    background-color: RoyalBlue;
  }
  */
}

@media screen and (min-width: 1025px) {
  /* Styles for screens with a width greater than 1024px, typically for desktops */
  /* would want to work on this as the default, and adapt the site to mobile/tablet gradually */
}

/* layout styles ------------- */

#header { padding-bottom: 1px }

#wrap {
    /* background: url('/images/550sqdn-squadron-crest.jpg') left top repeat; */
    background-color: #D4FFFF;
    background-image: url('/images/550sqdn-squadron-crest.jpg');
    /* background-image: url('/images/backgrnds/falling-poppies.jpg'); /* good, image located and used */
    background-repeat: repeat;
    background-position: 0% 0%;
    background-attachment: fixed
    margin: 1% 1% 1% 1%;
    padding: 40px 40px 40px 40px;
    width: 99%;
}

#wrapform {
    background-color: #D4FFFF;
    background-image: url('/images/550sqdn-squadron-crest.jpg');
    background-repeat: repeat-y;
    background-position: 95% 95%;
    background-attachment: fixed;
    margin: 1% 1% 1% 1%;
    padding: 40px 40px 40px 40px;
    width: 99%;
}

#rptform {
    background-color: #D4FFFF;
    margin: 1% 1% 1% 1%;
    padding: 40px 40px 40px 40px;
    width: 99%;
}

#main { 
    float: left;
    width: 70%;
}

#rightsidebar {
    margin-left: 72%;
    background: #F5F8FA;
    padding: 4px;
}    

#footer {
    clear: both;
    border-top: 1px dotted sienna;
}

.entry {
    border-right: 2px dashed #B74E07;   /* a lightish brown */
    margin-bottom: 2em;
    margin-right: 1em;
}

.photo_text {
    margin-left: 0;
    position: relative;
    font-size: x-large;
    font-variant: small-caps;
    color: teal;
}

.photo_text_small {
    margin-left: 0;
    position: relative;
    font-family: Verdana; 
    /* font-variant: small-caps; */
    font-weight: normal;
    font-size: 	0.7em;
    color: teal;
}


/* text styles ------------- */

h1 {
    text-transform: uppercase;
    text-align: center;
    font-size: 2em;
    font-weight: bold;
    color: #FFC; /* pale yellow */
    background-color: #0080B4;  /* blue/green/gray */
    margin: 0.2em 0.2em 0.2em;
    padding: 0.25em;
    letter-spacing: 0.5em;
    border-bottom-style: solid;
    border-bottom-width: 0.1em;
    border-bottom-color: #CC0000; 
}

h2 {
   color: black;
   font-size: 1.5em;
   font-weight: bold;
   margin: 0.2em 0.2em 0.2em;
   padding: 0.25em;
   padding-left: 0;
}
   
h3 {
    color: black;
    font-size: 1.25em;
    font-weight: bold;
    margin: 0.2em 0.2em 0.2em;
    margin-bottom: 0.4em;
}

h4, h5, h6 {
    color: #660000;
    font-size: 1.0em;
    font-weight: normal;
    margin: 0.2em 0.2em 0.2em;
}

p {
    font-family: "Trebuchet MS", Verdana, Helvetica, sans-serif;
    font-size: 0.8em;
    line-height: 1.0em;
    margin: 0.5em 0.5em 0.5em 0.5em;
    padding-right: 10px;
}
   
li {
    color: black;
    font-family: "Trebuchet MS", Verdana, Helvetica, sans-serif;
    font-size: 0.8em;
    font-style: normal;
    line-height: 1.0em;
}

hr { color: sienna; }

.horizontal_dotted_line{
  border-top: 1px dotted gray;
  width: 90%;
}

a { color: #003366; }
a:link {color: blue; padding: 0.2em}
a:visited {color: fuchsia; padding: 0.2em}
a:focus { color: teal; padding: 0.2em }
a:active { color: orange; padding: 0.2em }
a:hover { color: red; padding: 0.1em; font-style: italic; background-color: yellow; }

strong { font-weight: bold; } 

img {
    border-style: solid;
    border-width: 2px;
    border-color: #ccc;
}

pre {
    width: 98%;
	overflow: auto;
    font-family: Verdana, "Courier New", Sans-serif;
    font-size: 0.8em;
    font-weight: normal;
    font-style: normal;
    text-decoration: none;
    text-transform: none;
    font-variant: normal;
    color: DarkGreen;
}

.style1 {
        font-family: Verdana, Arial, Sans-serif;
        font-size: 1.0em;
        color: black;
}

.style2 {
        font-family: Verdana, Arial, Sans-serif;
        font-size: small;
        color: black;
}

.style3 {
        font-family: Verdana, Arial, Sans-serif;
        font-size: x-small;
        color: black;
}

.style4 {
        font-family: Verdana, Arial, Sans-serif;
        font-size: 12px;
        color: black;
}

.bookquotestyle {
        font-family: Arial, Verdana, Sans-serif;
        font-size: 12px;
		font-weight: normal;
        color: DarkGreen;
		word-spacing: 0.3em;
		letter-spacing: 0.1em;
		text-align: left;
}

.footerstyle4 {
        font-family: Verdana, Arial, Sans-serif;
        font-size: 10px;
        color: teal;
}

.emph { font-style: italic; font-weight: bold; }

.date {
    padding: 0;
    position: relative;
    top: -1.1em;
    margin: 0 1em 0 0;
    text-align: right;
}

.standard-notification {
        font-family: Verdana, Arial, Sans-serif;
        font-size: 150%;
        font-weight: bold;
        font-style: normal;
        color: green;
}

.warning-notification {
        font-family: Verdana, Arial, Sans-serif;
        font-size: 150%;
        font-weight: bold;
        font-style: normal;
        color: red;
}

.caption {
     font-size: 0.8em;
     font-style: italic;
     color: black;
     text-align: center;
}


/* table styles ------------- */

table {
      border-style:solid;
      border-color:navy;
      border-width:1px;
      border: 2px;
      /* bgcolor: "#C0C0C0"; grey */
      padding: 1px;
      /* spacing: 1px; */
}

td, th { color: #330000; }	/* dark brown */

/* ------------- */

table.mytable {
      width: 96%;
      table-layout: auto;

      background-color: white; /* #FFFDED  */
      vertical-align: top; 
      text-align: left;
      
      font-family: "Trebuchet MS", Verdana, Helvetica, Sans-serif;
      font-weight: normal;
      font-size: small;
      color: black; 
      
      border: 2px;
      border-width: thin;
      border-color: gray;
      border-style: ridge;
      border-spacing: 2px;

      padding: 4px;
}

table.mytable th { 
    font-size: small;
    padding: 2px;
    border: 1px navy solid;
}

table.mytable td {
    font-size: x-small;
    padding: 2px;
    border: 1px navy solid;
}

table.mytable tr { vertical-align: top; }


/* database table presentation text styles ------------- */

table.mydatatable {
      width: 96%;
      table-layout: auto;

      background-color: white;
      vertical-align: top; 
      text-align: left;
      
      font-family: "Trebuchet MS", Verdana, Helvetica, Sans-serif;
      font-weight: normal;
      font-size: normal;
      color: black; 
      
      border: 1px;
      border-width: thin;
      border-color: gray;
      border-style: ridge;
      border-spacing: 1px;
      border-collapse:collapse;

      padding: 4px;
}

table.mydatatable th { 
    font-size: medium;
    padding: 2px;
    border: 1px gray solid;
}

table.mydatatable td {
    font-size: small;
    padding: 2px;
    border: 1px gray solid;
}

table.mydatatable tr { vertical-align: top; }

/* ------------- */

table.mysidebartable { 
    width:20%;
    color:blue;
    font-family:verdana;
    font-size:10pt;
    border-style:solid;
    border-color:navy;
    border-width:1px;
    border-collapse:collapse;
    border-spacing:4px;
    padding:4px;
}

table.mysidebartable th {
    font-size:10pt;
    color:blue;
    border-style:solid;
    border-width:1px;
    text-align:center;
}

table.mysidebartable td {  
    color:blue;
    font-size:8pt;
    text-align:center;
}

table.mysidebartable tr { vertical-align:center; }

/* ------------- */
 
.yescell {
    color: green;
    text-align: center;
}
 
.nocell {
    color: red;
    text-align: center;
}

/* ------------- */

/* the rest are other text styles ------------- */

.description {
    position: relative;
    left: 1em;
    margin-bottom: 0.2em;
}
     
.continued { margin-top: -5px }
       
#navbuttons {
    position: relative;
    float: right;
    z-index: 1;
}

/* color definitions ------------- */
/* for details see: https://www.w3schools.com/cssref/css_colors.php */

/* color: purple = #800080 */
/* color: navy = #000080 */
/* color: maroon = #808080 */
/* color: green = #008000 */
/* color: teal = #008080 */
/* color: blue = #0000FF */
/* color: HotPink = #0FF69B4 */
/* color: LavenderBlush = #FFF0F5 */
/* color: LightCoral = #F08080 */
/* color: LightCyan = #E0FFFF */
/* color: HoneyDew = #F0FFF0 */
/* color: Wheat = #F5DEB3 */
/* color: Ivory = #?????? */
/* color: dark brown #330000*/
/* color: cyan #00FFFF; */

/* font-size definitions ------------- */
/* for details see: https://www.w3schools.com/cssref/pr_font_font-size.php */

/* xx-small */
/* x-small */
/* small */
/* medium */
/* large */
/* x-large */
/* xx-large */
