/* This CSS file is for NSMA */
/* Based on TAICHIOZ */
/* Modified by Ric Bolzan Sept 2023 */
/* "#" is used for IDs that are very specific
   "." is used where the class is used multiple times */
/* padding-top, right, bottom, left*/

/*Colours:
Background pale orange:	#FFDAB9
Header - pale blue:		#C6DAFF
Navigation BG pale green:#D3D3D3
Header font red:		#CD5C5C
Header font green:		#008080
Dark Green:				#008080
Navigation font:		#0000EE
Navigation visited:		#551A8B
Navigation current:		#000000
*/

body {
	font-size:1.2em;
	font-family: Times New Roman, Times, serif;
	padding:5px 5px 5px 5px;
	background-color:#FFDAB9;
	overflow-x:auto;
	}
#pagecontainer {
	max-width: 900px;
	margin:auto;
	}
#pagewrap {
	max-width: 900px;
	margin:auto;
	/*padding-top:5px 5px 5px 5px;*/
	}

/* Header Section -------------------------------------------- */
#headingtitle{	
	font-size:2.3em; 
	color:#C00000; 
	font-weight:bold; 
	padding:10px 10px 10px 10px;
	}

#subheading{	
	font-size:1.5em; 
	color:teal; 
	font-style: italic; 
	padding:10px 10px 20px 10px;
	}

#subheading p{
	margin:0;
	padding:10px, 10px, 10px, 10px;
	text-align: center;
	font-size:18px;
	color: #F1F5EC;
	}


/*==================================================================*/
/* DROP-DOWN NAVIGATION SECTION
https://webdesignerhut.com/css-dropdown-menu/ */

#navcontainer{
	margin-top:0;
	padding: 0;
	}

/* Giving a background-color to the nav container. */
nav {
    margin: 0px 0 0 0;
    background-color: #a0d0c0;
}

/* Removing padding, margin and "list-style" from the "ul",
 * and adding "position:reltive" */
nav ul {
    padding:0;
    margin:0;
    list-style: none;
    position: relative;
    }

/* Positioning the navigation items inline */
nav ul li {
    font-size:1.2em;
	font-weight: bold;
    margin: 0px -5px 0 0;
    display:inline-block;
    background-color: #a0d0c0;
    }

/* Colour Current Page Menu Item */
nav ul li.current a{
	font-size:1.2em;
	font-weight: bold;
    color: #000000;
	background-color: #D6ECE4;
	}
	
/* Styling the links */
nav a {
    font-size:1.2em;
	font-weight: bold;
	font-family: Times New Roman, Times, serif;
    text-decoration:none;
    display:block;
    padding:0 17px;
    color:#005400;
    line-height: 50px;
	/*border-left: 1px  solid #ffffff;*/
    border-right: 3px  solid #ffffff;
}

/* Background color change on Hover */
nav a:hover {
    color:#FFFFFF;
	font-weight: bold;
	background-color: #4B818B;
	font-family: "Times New Roman", Times, serif;
    text-decoration:none;
}

/* Hide Dropdowns by Default
 * and giving it a position of absolute */
nav ul ul {
	font-weight: bold;
    display: none;
    position: absolute;
    top: 100%;
}

/* Display Dropdowns on Hover */
nav ul li:hover > ul {
    display:inherit;
    text-decoration:none;
}

/* Fisrt Tier Dropdown */
nav ul ul li {
    min-width:170px;
    display:list-item;
    position: relative;
}

/* Second, Third and more Tiers
 * We move the 2nd and 3rd etc tier dropdowns to the left
 * by the amount of the width of the first tier.
*/
nav ul ul ul {
    position: absolute;
    top:0;
    left:100%;
}

/* Content Section -------------------------------------------- */
#content {
	padding-top: 10px;
	padding-right: 30px;
	padding-bottom: 10px;
	padding-left: 30px;
	font-family: Times New Roman, Times, serif;
	font-size:2em;

}
p {
	/*color: #F1F5EC;*/
	color:  #000000;
	font-size:1.2em;
	text-decoration: none;
	font-weight: normal;
	}

a {
	/*color: #F1F5EC;*/
	color:  #008080;
	text-decoration: none;
	font-weight: bold;
	font-size:1.2em;
	font-family: Times New Roman, Times, serif;
	}

a:hover {
	color:  red;
	text-decoration: none;
	font-weight: bold;
	font-size:1.2em;
	font-family: Times New Roman, Times, serif;
	}

ul {
	list-style-image: url('https://postspot.org/nsma/shared/reddot.gif');
}	
li.foo {
  list-style-image: url('https://postspot.org/nsma/shared/books.gif');
}

.contact_list ul {
    list-style-image: url('https://postspot.org/nsma/shared/books.gif');
}

h1 {
	font-family: Times New Roman, Times, serif;
	font-size:2.5em;
	text-align: center;	
	font-style: italic;
	font-weight: bold;
	color:#C00000;
	padding-top:10px;
	margin-top:.5em;
	margin-bottom:.5em;
	 }
	 
h1, h2, h3, h4, h5, h6 {
	font-family: "Times New Roman", Times, serif;
	text-decoration: none;
	padding-bottom: 0;
	padding-left: 10;
	padding-right: 0;
	padding-top: 0;
	}

h2{
	margin-top:1em;
	font-size: 2.1em;
	font-weight: bold;
	color:#C00000;
	}

h3{
	margin-bottom: 1em;
	margin-top: 1em;
	font-size: 1.5em;
	text-decoration: none;
	color:#C00000;
	}

h4{	margin-top:1em;
	font-size: 20px;
	margin: 0 0 0 0;
	color:#000000;
	}

h5{
	padding: 0px;
	margin: 0px;
	font-size: 18px;
	font-style: italic;
	color:#000000;
	}
	
h6{/*for Blue headings*/
	margin-bottom: 1em;
	margin-top: 1em;
	font-size: 2em;
	text-decoration: none;
	color:blue;
	}
	
hr {
	color: #F1F5EC;	
	background-color: #F1F5EC;
	height: 3px;
	border-width:0;
	width:100%;
	}

img {
	border: 0px;
	max-width: 100%;
	max-height: 100%;
	/*height: auto;*/
	}

.article_title {
	margin-top:1em;
	font-size: 40px;
	letter-spacing: 2px;
	font-weight: bold;
	color: red;
	font-family: Tahoma, Geneva, sans-serif;
	text-align:center;
	margin-top:.5em;
	margin-bottom:1em;
	 }


.nospace{
	margin-bottom:.2em;
	margin-top:-1em;
	font-size: 110%;
	letter-spacing: 3px;
	}

.link{
	margin-top:1em;
	margin-bottom:.1em;
	font-size: 20px;
	letter-spacing: 2px;
	}

.link a{
	color:  #46566B;
	}

.clear{
	clear: both;
	font-weight: bold;

	}



/*Footer  -------------------------------------------- */
#footertitle{	
	font-size:1.1em; 
	color:#C00000;
	font-weight:bold; 
	padding:10px 10px 10px 10px;
	}

#footerupdate{	
	font-size:.9em; 
	color:teal; 
	font-weight:bold; 
	text-align: center;
	padding:10px 10px 10px 10px;
	}


#footer{
	clear: both;
	font-size: 1em;
	border: solid 1px #ccc;
	background-color: gray;
	color: 4B818B;
	}
	
#footerlinks{
	float: left;
	width: 275px;
	height: 280px;
	padding: 0em 0em;
	color: 4B818B;
	background-color: gray;
	border: 2px solid #F1F5EC;
	}
	
#credit{
	text-align: right;
	text-decoration: none;
	color: darkgray;
	font-weight: normal;
	font-family: Tahoma, Geneva, sans-serif;
	font-size: 65%;
	}

	
/* CUSTOM CHECKBOX   -------------------------------------------- */
/* Customize the label (the container) */
.container {
  display: block;
  position: relative;
  padding-left: 35px;
  margin-bottom: 12px;
  cursor: pointer;
  font-size: 22px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Hide the browser's default checkbox */
.container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

/* Create a custom checkbox */
.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 40px;
  width: 40px;
  background-color: #eee;
}

/* On mouse-over, add a grey background color */
.container:hover input ~ .checkmark {
  background-color: silver;
}

/* When the checkbox is checked, add a blue background */
.container input:checked ~ .checkmark {
  background-color: red;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

/* Show the checkmark when checked */
.container input:checked ~ .checkmark:after {
  display: block;
}

/* Style the checkmark/indicator */
.container .checkmark:after {
  left: 9px;
  top: 5px;
  width: 5px;
  height: 10px;
  border: solid 4B818B;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}
/************************************************************************************
MOBILE SETTINGS
*************************************************************************************/

/* Mobile navigation menu  -------------------------------------------- */
#toggleNavMain {/*mobile Menu*/
	display:block;
/*	font-size: 12px;*/
	font-size: .5em;
/*	color:4B818B;*/
	color:white;
	background:green;
	font-weight: bold;
	font-family: Cuprum, Tahoma, Geneva, sans-serif;
	}

/* for 980px or less */
@media screen and (max-width: 1224px) {
	
h2 {

line-height: 1.2em;
	}
	}
	
/* for 1000px or less */
@media screen and (max-width: 1000px) {
	
	#contenttop{
	width: 99%;
	}
	}

/* for 880px or less */
@media screen and (max-width: 930px) {
	#pagewrap {
	width: 100%;
	}	
	}

/* for 700px or less */
@media screen and (max-width: 700px) {

h1 {
	font-size: 2em;
	}

h2 {
font-size: 1.8em;	
line-height: 1.2em;
	}
	}


/* Give your nav elements that "blockie" look for mobile devices */
/* for 1000px or less */
@media screen and (max-width: 1000px) {
	#navlist a { 
	width: 100%; 
	border-bottom: 1px solid black !important; 
	text-align: center; 
	text-transform: uppercase; 
	font-family: font-family: Cuprum, Tahoma, Geneva, sans-serif;
	font-size:.6em;
	padding:1px 1px 1px 1px !important; 
	}

	#navlist a:hover { 
	background-color: none;
	}
	}

@media screen and (max-width:620px) {
		
	#toggleNavMain {
	display:block;
	float: right;
	right: 10px;
	top: 10px;
	background:#F1F5EC;
	padding: 2% 3%;
	text-transform: uppercase; 
	font-family: font-family: Cuprum, Tahoma, Geneva, sans-serif;
	font-size:.8em;
	color: white;
	background: darkgreen;
	cursor:pointer;
	}
	
	#navcontainer {
	display:none;
	}
	
	#navcontainer {
	float:left;
	width:100%;	
	margin-bottom:1%;
	}
	
	#navcontainer li a {
/*	padding:.5% 0% .5% 0% ;*/
	font-size:.6em;
	}
	#contenttop{
	width: 99%;
	}
	h1  h2 h3{
	font-size: 2.8em;
	}

h2 {
font-size: 1.8em;	
line-height: 1.2em;
	}

	}

/* for 480px or less */
@media screen and (max-width: 480px) {

	#header {
	height: auto;
	}

	h1 {
	font-size: 24px;
	}
	
	#contenttop{
	width: 98%;
	}
	

	}

/* for 420 or less */
@media screen and (max-width: 420px){


	}