/* cmsms stylesheet: CSA Primary modified: Sunday, February 22, 2026 10:40:03 PM */
/***************** 
Set initial font styles
*****************/
html {
    background-color: #D3D3D3 !important;  /* color of webpage area around CSA website */
}

body {
   text-align: left;
   /* possible option: font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; */
   font-family: Arial, Helvetica, sans-serif; 
   font-size: 75.01%;
   line-height: 1em;
}

/*  set font size for all divs, this overrides some body rules */
div {
   font-size: 1em;
}

/* if img is inside "a" it would have borders, we don't want that */
img {
   border: 0;
}

/* default link styles - set all links to have underline and bluish color */
a,
a:link 
a:active {
   text-decoration: underline;    /* css validation will give a warning if color is set without background color. */
   background-color: inherit;     /* this will explicitly tell this element to inherit bg colour from parent element */
   color: #18507C; 
}

a:visited {
   text-decoration: underline;
   background-color: inherit;
   color: #18507C;                /* different color for visited links */
}

/* remove underline on hover and change color */
a:hover {
   text-decoration: none;
   background-color: #C3D4DF;
   /* color: #385C72; */
   color: #1414A0; /* alanda */
}

/* just for the buttons on the special Tempest wx station page */
a.wxbutton {
  padding: 1px;
  border-radius: 3px;
  display: inline-block; 
  height: 15px;
  text-decoration: none;
  text-align: center;
  /* vertical-align: middle; */
  padding-bottom: 2px;
}

a.wxbutton.wide {
  width: 120px;
  border: 1px outset #917898;
  color: white;
  background-color: #512b5a;
}
a.wxbutton.inverse {
  width: 160px;
  border: 1px outset #917898;
  font-weight: bold;
  color: #512b5a;
  background-color: white;
}


/* RANDOM IMAGES */
/* ************* */
div#csa_random{
  border: 1px solid #cccccc;
  padding: 3px;
  background-color: #ffffff;
  float: right;
  
}

div#csa_randomtext{
  margin-top: 5px;
  margin-bottom: 2px;
  font-style: italic;
  font-size: 110%;
}
/* End Random Images /


/*****************
basic page layout 
*****************/
body {
   /* background-color: #ccc; */
   color: #333;                  /* border: 1px solid black; */
   margin: 0.5em;                /* gives some some space between CSA website and webpage boundary  */
}

/* center wrapper, min max width */
div#pagewrapper {
   border: 1px solid black;
   margin: 0 auto;              /* this centers wrapper */
   max-width: 90em;      
   min-width: 60em;
   background-color: #fff;;
   color: black;
}

/*** header - hide text and replace it with an image, assign a height for it so that the image fits ***/
div#header {
   height: 100px;              /* adjust according to image size */
}

#header h1, #header a {
   display: block;             /* turn inline <a> tag to a block so effects entire header */
   background: #2C3592 url('/phptoolsimages/CSAheader.jpg');    /* set image here*/
                               /* #2C3592;          csa blue color */  
                               /* #385C72;          gray-blue color */   
   margin-top: 0em;
   height: 100px;              /* adjust according to image size */
   text-indent: -999em;        /* this hides the text shifting off the page to the left */
}

/*** breadcrumbs, search ***/
div#sitetoolswrapper {
   padding-top: 0.4em;
   padding-bottom: 0.4em;
   margin-left: 1em;
   margin-right: 2%;
   border-bottom: 1px dotted #C0C0C0;
}
div#breadcrumbs {
   display: inline-block;
   font-size: 0.9em;          /* set to 90%, make consistent below */
   width: 70%;
   color: #006699;font-size: 0.9em; 
}
div#search {
   font-size: 0.9em;          /* set to 90%, make consistent below */
   display: inline-block;
   width: 29.6%;    
   color: #006699;
   text-align: right;
}
.search-input {
   height: 1.2em;
   font-size: 0.9em;          /* overide input size */
   padding-left: 0.5em;
   border-color: #C0C0C0;
   border-radius: 0.5em;
   border-style: solid;
   border-width: 1px;
}
.search-button {
   font-size: 0.9em;          /* overide button size */
   color: #006699;
   background-color: #ECECEC;
   border-color: #C0C0C0;
   border-radius: 0.5em;
   border-style: solid;
   border-width: 1px;
}

/*** sidebar - vertical menu, news ***/
div#sidebar {
   float: left;               /* set sidebar on the left side. Change to right to float it right instead. */
   width: 23%;                /* sidebar width, if you change this please also change #main margins */
   margin-top: 0;
   margin-left: 0;
}

/*** main - primary content area ***/
div#main {
   margin-top:  1em;
   margin-left: 26%;          /* this makes room for sidebar on the left side, make sure this space is a bit bigger than sidebar width */
   margin-right: 2%;          /* just a bit of space to look nice */
}

/*** footer - copyright and acknowledgements ***/
div#footer {
   clear: both;               /* keep footer below content area   */
   color: #fff;
   /* background-color: #385C72;  same bg color as in old header  */
   background-color: #1414A0; /* same bg color as in header  */
}

#footer p {
   margin: 0;
   padding: 1.0em;           /* space around footer text */
   font-size: 0.8em;
   text-align: center;       /* centered text */
}

#footer p, #footer a {
   color: #fff; /* needed because footer link would be same color as background otherwise */
}

/*****************
misc page 
*****************/

/* as we hid all hr for accessibility we create new hr with extra div element */
div.hr {
   height: 1px;
   padding: 1em;
   border-bottom: 1px dotted black;
   margin: 1em;
}

/* relational links under content */
div.left49 {
  width: 49%; /* 50% for both left and right might lead to rounding error on some browser */
}

div.right49 {
  float: right;
  width: 49%;
  text-align: right;
}



********************
CONTENT STYLING
*********************/
div#content {
   
}

/* HEADINGS */
/* ******** */
div#content h1 {
        font-size: 1.6em; /* font size for h1 */
        font-weight: bold;
        color: #000AAA;  /* alanda */ 
	text-align: left;
/* some air around the text */
	padding-left: 0.5em;
	padding-bottom: 1px;
/* set borders around header */
	/* border-bottom: 1px solid #e7ab0b; */
	/* border-left: 1.1em solid #e7ab0b; */
        border-bottom: 1px solid #FADC5A;  /* alanda */
	border-left: 1.1em solid #FADC5A;  /* alanda */
        line-height: 1.5em;
/* and some air under the border */
        margin: 0 0 0.5em 0;
}
div#content h2 {
	/* color: #294B5F; */ 
        color: #000AAA;  /* alanda */ 
	font-size: 1.5em; 
	text-align: left;
/* some air around the text */
	padding-left: 0.5em;
	padding-bottom: 1px;
/* set borders around header */
	/* border-bottom: 1px solid #e7ab0b; */
	/* border-left: 1.1em solid #e7ab0b; */
        border-bottom: 1px solid #FADC5A;  /* alanda */
	border-left: 1.1em solid #FADC5A;  /* alanda */
        line-height: 1.5em;
/* and some air under the border */
        margin: 0 0 0.5em 0;
}
div#content h3 {
   /* color: #294B5F; */ 
   color: #000AAA;  /* alanda */
   font-size: 1.3em;
   line-height: 1.3em;
   margin: 0 0 0.5em 0;
}
div#content h4 {
   /* color: #294B5F; */ 
   color: #000AAA;  /* alanda */ 
   font-size: 1.2em;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
}
div#content h5 {
   /* color: #294B5F; */ 
   color: #000AAA;  /* alanda */ 
   font-size: 1.1em;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
}
h6 {
  /* color: #294B5F; */ 
   color: #000AAA;  /* alanda */ 
   font-size: 1em;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
}
/* END HEADINGS */

/* TABLE */
/* ***** */
table {
    font-size: 1.0em;
    line-height: 1.5em;
    margin: 1em 0em 1em 0em;  /* top right bottom left */
    background: white;  /* whitesmoke */
    border-collapse: collapse;
}

td {
  text-align: center;
  vertical-align: middle;
}

table th, table td {
    border: 1px  silver solid;  /* silver */
    /* padding: 0.2em; */
    text-align: left;
}
table th {
    background: #FFF3CB;  /* gainsboro */
}

table.noborder {
    font-size: 1.0em;
    line-height: 1.5em;
    margin: 1em 0em 1em 0em; /* top right bottom left*/
    background: white;  /* whitesmoke */
    border: none;
}
table.noborder td, table.noborder th {
    padding: 0.2em;
    text-align: left;
    border: none;
}

table.sdata {
    font-size: 1.0em;
    line-height: 1.5em;
    margin: 1em 0em 1em 0em; /* top right bottom left*/
    background: white;  /* whitesmoke */
    border-collapse: collapse;
}
table.sdata td,  table.sdata th {
    border: 1px  silver solid;  /* silver */
    padding: 0.2em;
}
table.sdata td {
    text-align: left;
}
table.sdata th {
    text-align: center;
    background: #FFF3CB;  /* gainsboro */
}

table.caption {
  margin-left: inherit;
  margin-right: inherit;
}

table.safety td {
   text-align: center;
}

/* END TABLE */

/* TEXT */
/* **** */
p {
   font-size: 1em;
   /* margin: 0 0 1.5em 0;  some air around p elements */
   line-height: 1.4em;
   margin: 0 0 1.0em 0;
   padding: 0;
}

blockquote {
   border-left: 10px solid #ddd;
   margin-left: 10px;
}
strong, b {
/* explicit setting for these */
   font-weight: bold;
}
em, i {
/* explicit setting for these */
   font-style:italic;
}
sup {
/* explicit setting for these alanda */
   font-size: .65em;
}
img.rssImage {
/* explicit setting for these alanda */
    float: right; 
    margin-top: 4px;
    margin-right: 4px; 
}

/* Wrapping text in <code> tags. Makes CSS not validate */
code, pre {
 white-space: pre-wrap;       /* css-3 */
 white-space: -moz-pre-wrap;  /* Mozilla, since 1999 */
 white-space: -pre-wrap;      /* Opera 4-6 */
 white-space: -o-pre-wrap;    /* Opera 7 */
 word-wrap: break-word;       /* Internet Explorer 5.5+ */
 font-family: "Courier New", Courier, monospace;
 font-size: 1em;
}

pre {
   border: 1px solid #000;  /* black border for pre blocks */
   background-color: #ddd;
   margin: 0 1em 1em 1em;
   padding: 0.5em;
   line-height: 1.5em;
   font-size: 90%;
}

/* Separating the divs on the template explanation page, with some bottom-border */
div.templatecode {
  margin: 0 0 2.5em;
}
/* END TEXT */

/* LISTS */
/* ***** */
/* lists in content need some margins to look nice */
/* xxxx: top right bottom left */

div#main ul,
div#main ol,
div#main dl {
   font-size: 1.0em;
   line-height: 1.4em;
   margin: -0.5em 0 0.8em 0; /* move up into p space */
}

div#main ul li,
div#main ol li {
   margin: 0.5em 0 0.5em 1em;
}

/* definition lists topics on bold */
div#main dl dt {
   font-weight: bold;
   margin: 0 0 0 1em;
}
div#main dl dd {
   margin: 0 0 1em 1em;
}

div#main dl {
  margin-bottom: 2em;
  padding-bottom: 1em;
  border-bottom: 1px solid #c0c0c0;
}

/* END LISTS */
/* cmsms stylesheet: CSA Vertical Menu modified: Monday, August 12, 2024 11:19:31 PM */
/* CSA three level vertical menu */

/* style vertical menu area */
div#virtmenuwrapper {
   margin: -0.5em 0em 1em 1em;   /* same right and left margin as news - top right bottom left */
}

nav#virtmenu {
}

/* ***General Vertical Menu List Styling*** */

/* style the vertical menu area link text  */
nav#virtmenu a {
    text-decoration: none;
    color: #18507C;
    font-size: 1em;
    margin: 0px;
    min-height: 1em;
}

/* style the virtical menu list properties */
nav#virtmenu ul { 
   display: block;
   list-style: none;
   margin-block-start: 0.5em;
   margin-block-end: 0.5em;
   margin-inline-start: 0px;
   margin-inline-end: 0px;
   padding-inline-start: 0px;
   unicode-bidi: isolate;
}

/* style the virtical menu list first level link properties */
nav#virtmenu ul li { 
    margin: 0px;
    border-bottom: 1px solid #C0C0C0;
}

/* style the vertical menu list - not active- items hover properties */
nav#virtmenu ul li:hover {
   background-color: #C3D4DF;    /* hover color */
}

/* style the vertical menu list -active- items hover properties */
nav#virtmenu ul li.menuactive:hover {
   background-color: unset;
}

/* ***First Level Vertical Menu List Styling*** */

/* style the vertical menu first level links when -not active- */
nav#virtmenu  ul li a {
    display: block;
    padding: 0.8em 0em 0.8em 1.5em;
    background: url(/phptoolsimages/arrow-right.gif) no-repeat 0.5em center;
}

/* style the vertical menu first level link when -active- */
nav#virtmenu ul li a.menuactive {
    /* color: #fff;                   white font color of old site */
    color: #18507C;
    font-weight: bold;
    background: url(/phptoolsimages/arrow-right-active.gif) no-repeat 0.4em center;
    /* background-color: #1414A0;  background color of old site */
    background-color: #C0C0C0;
}

/* ***Second Level Vertical Menu List Styling*** */

/* style vertical menu second level link when -not active- */
nav#virtmenu ul li ul li a {
   padding: 0.4em 0em 0.4em 1.5em;
}

/* style vertical menu second level link when -active- */
nav#virtmenu ul li.menuactive ul li {
   margin-left: 1em;
   border-bottom: 0px solid #C0C0C0;      /* don't inherit underline from first level */
}

/* ***Third Level Vertical Menu List Styling*** *//* style vertical menu second level link when -not active- */

/* style virtical menu third level link -not active- when second level list item is active */
nav#virtmenu ul li.menuactive ul li.menuactive ul li a {
   background: url(/phptoolsimages/dash.gif) no-repeat 0.5em center;
   margin-block-start: -0.5em;
   margin-block-end: -0.5em;
}

/* style vertical menu third level link when -active- */
nav#virtmenu ul li.menuactive ul li.menuactive ul li.menuactive a {
   color: #18507C;
   font-weight: bold;
   font-style: italic;
   background: url(/phptoolsimages/arrow-right-active.gif) no-repeat 0.4em center;
   /* background-color: #C0C0C0; */
} 

/* *** manage level list irregular spacing *** */

/* hide level list when parent level list item in not active */
nav#virtmenu ul li ul.unli  {
   display: none;
}

nav#virtmenu ul li.menuactive ul li ul.unli {
   display: none;
}

/* show level list when parent level list item is active */
nav#virtmenu ul li.menuactive ul.unli {
   display: block;
}

nav#virtmenu ul li.menuactive ul li.menuactive ul.unli  {
   display: block;
}
/* cmsms stylesheet: CSA News  Stylesheet modified: Thursday, July 11, 2024 1:24:20 AM */
div#news {
  margin: 2em 0 1em 1em;  /* margin for the entire div surrounding the news list */
  border: 1px solid #000; 
  /* background: #FFE9AF; */
  background: #FFF3CB;
}

div#news h2 {
   line-height: 2em;
   background: #fff;
}

/* alanda */
.NewsArchive {
  font-weight: bold;
  padding-left: 0.3em;
  padding-bottom: 0.2em;
  margin: 0 0.5em 1em 0.5em;
}

/* alanda */
.NewsSummary {
    padding: 0.1em 0.3em .3em; 
    /* padding: 0.5em 0.5em 1em; padding for the news article summary */
    margin: 0 0.5em 1em 0.5em; /* margin to the bottom of the news article summary */
    border-bottom: 1px solid #ccc; 
}

.NewsSummaryPostdate {
  font-weight: bold;
 }

.NewsSummaryLink {
    font-weight: bold;
    padding-top: 0.2em;
}

.NewsSummaryCategory {
  font-style: italic;
  margin: 5px 0;
 }

.NewsSummaryAuthor {
  font-style: italic;
  padding-bottom: 0.5em;
}

/* alanda */
.NewsSummarySummary, .NewsSummaryContent {
  padding-top: 0.3em;
  margin-bottom: -1.5em; /* getting rid of a large blank area */
  line-height: 120%;
 }

/* alanda */
.NewsSummaryMorelink {
  padding-top: 0.1em;
}

/* alanda */
.NewsPageAdvance {
  font-size: 90%;
  padding-left: 0.3em;
  padding-bottom: 0.2em;
  margin: 0 0.5em 0.5em 0.5em;
}


#NewsPostDetailDate {
  font-size: 90%;
  margin-bottom: 5px;
  font-weight: bold;
  }

#NewsPostDetailSummary {
   line-height: 150%;
   }

#NewsPostDetailCategory {
  font-style: italic;
  border-top: 1px solid #ccc;
  margin-top: 0.5em;
  padding: 0.2em 0;
}

#NewsPostDetailContent {
  margin-bottom: 15px;
  line-height: 150%;
  }

#NewsPostDetailAuthor {

  padding-bottom: 1.5em;
  font-style: italic;
}


/* to add specific style to the below divs, uncomment them. */

/* 
#NewsPostDetailTitle {}
#NewsPostDetailHorizRule {}
#NewsPostDetailPrintLink {}
#NewsPostDetailReturnLink {}
*/
/* cmsms stylesheet: CSA Horizontal Menu modified: Wednesday, August 21, 2024 12:10:45 AM */
/* CSA simple one level horizontal menu */

/* keep menu border right next to sides of page */
#horizmenu {
   margin: 0em;
}

/* style the menu area */
#horizmenuwrapper { 
   margin: 0px; 
   padding: 0px;
   background-color: #ECECEC;
   border-top: 1px solid #C0C0C0;
   border-bottom: 1px solid #C0C0C0;
   width: 100%;
}

/* remove any general ul stying */
#horizmenu ul { 
   list-style: none;
   margin-top: 0px; 
   margin-bottom: 0px;
   padding: 0px;
}

/* set up active menu item higlight and menu item hovering */
#horizmenu li.menuactive { background-color: #C0C0C0; } 
#horizmenu li:hover      { background-color: #C3D4DF; }      /* hover color */
/* #horizmenu a:hover       { background-color: transparent; }  Disable general setting a:hover background color????? */

/* define and style the menu item block */
#horizmenu li { 
   display: inline-block; 
   margin: 0px; 
   padding-top: 5px;
   padding-bottom: 5px;
   width: 16.5%;
   border-left: 1px solid #C0C0C0;
   text-align: center;
}

/* style menu item text */
#horizmenu a {
   font-weight: bold;
   color: #006699;
   text-decoration: none;  /* remove underline */
}
/* cmsms stylesheet: CSA Imagecaption modified: Monday, February 24, 2025 1:35:27 PM */
/* CSS for CSA Image Caption UDT */

div.captionborder, div.captionborderleft, div.captionborderright {
border: 1px solid #cccccc;
padding: 3px;
margin-top: 3px;
background-color: #ffffff;
}

div.captionborder {
   text-align: center;
   margin-left: 1em;
}

div.captionborderright {
float: right;
margin-left: 1em;
}

div.captionborderleft {
float: left;
margin-right: 1em;
}

p.captiontext {
margin: 0;
padding: 0;
font-size: 100%;
/* background-color: #333333;
color: white; */
text-align: center;
font-style: italic; 
}

div.captionborderright p.captiontext  {
text-align: right;
padding-right: 3px;
}

div.captionborderleft p.captiontext  {
text-align: left;
padding-left: 3px;
}
