html {
  box-sizing: border-box;
}
*, *:before, *:after {
  box-sizing: inherit;
}

BODY, .EditBody {
	color: Black;
	background-color: Black;
	background-image: url(../images/diag_bg.gif);
	background-repeat: repeat;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 100%;
	text-align: center;
}

#mst {display:none;}


.EditBody{
	background-color: #ffffff;
	background-image: none;
	text-align: left;
}



a:link, a:active, a:visited {
	color: #990000;
}

a:hover {
	color: #696969;
}
.ingLink:link, .ingLink:active, .ingLink:visited {
	color: #cccccc;
}

.ingLink:hover {
	color: #FFFFFF;
	text-decoration: underline
}
 

#MainDiv{
	margin:0 auto;
	text-align: left;
	width: 775px;
	background-color: #ffffff;
}

#Banner{
	margin: 0;
	padding: 0; 
	width: 775px;
	background-color: #666666;
}

#content {
	margin: 0;
	padding: 0;
	width: 600px;
	vertical-align: top;

}

#content p, #content table {
	margin: 0.5em 1em 1em;
}


#content h1, #content h2, #content h3, #content h4, #content h5 {
	margin: 10px 16px;
}

#footer {
	clear: both;
	font-size: 0.8em;
	padding: 5px;
	margin: 0px;
	color: white;
	background-color: #666666;
	width: 775px;
	text-align: center;
}

#footer p {
	margin: 5px;
}

.caption { font-size: 0.825em; font-weight: bold;}

.eLocalLink {
	text-align: center;
	margin: auto;	
}
TABLE.small TD {
	font-size: 0.8em;
}

.rightImage{
	margin: 4px 0 4px 10px;
	text-align: right;
}

.leftImage{
	margin: 4px 10px 4px 0;
	text-align: left;
}

.headerbg img { display: block;}

.search {
	width: 50px;
	color: #000000;
	font-size: 10px;
	font-weight: normal;
	height: 18px;
	margin: 0px;
	padding: 0px;
	border: none;
}

.searchbox {
	width: 125px;
	color: #000000;
	font-size: 10px;
	font-weight: normal;
	height: 18px;
	margin: 0 4px 0 0 ;
	padding: 0px;
	border: none;
	line-height: 18px;
}

.searchForm{
	padding: 0px
	margin: 0px;
	display: inline;
}


#searchdiv {
	width: 35%;
	text-align: right;
	position: absolute;
	top: 2px;
	right: 20px;
	height: 26px;
}

.search_link {
	font-size: 10pt;
}
.hilite {
	background-color: #FCF403;
	color: #000000;
	font-weight: bolder;
}

#titlebar  {
	background-color : #000066;
	color : #FFFFFF;
	font-size : 1em;
	font-weight : bold;
	padding: 5px;
	margin: 0 0 1em 0;
	position: relative;
	height: 26px;

}

#titlebar FORM {
	display: inline;
}

#titlebar { clear: both;}	

.title {
	font-family: "Arial Narrow", Arial, "Sans Serif";
	font-size: 1.2em;
	font-weight: bold;
}



/* ========= Left navigation ========= */


#leftnav {
	padding: 1em 0;
	margin: 0;
	width: 175px;
	height: 100%;
	background-color: #dfdfdf;
	vertical-align: top;
}


ul.SideNav {
	padding: 0;
	margin: 0;
	font-size: 0.9em;
	font-weight: normal;
	margin-bottom: 10px;
}

#content ul.SideNav {
	margin-left: 10px;
	font-size: 1.1em;
}

ul.SideNav ul.SideNav {
	font-size: 0.9em;
}

ul.SideNav LI {
	list-style-position : outside;
}

.sideNavNot1, .sideNavCurNot1  {
	font-weight: bold;
	margin-left: 5px;
	list-style-type : none;
	padding-bottom: 8px;
}

.sideNavNot2, .sideNavCurNot2  {
	margin-left: 25px;
	list-style-type : square;

}

.sideNavNot3, .sideNavCurNot3 {
	margin-left: 35px;
	list-style-type : circle;
}


.sideNavNot4, .sideNavCurNot4 {
	margin-left: 45px;
	list-style-type : disc;
}

.sideNavNot5, .sideNavCurNot5 {
	margin-left: 45px;
	list-style-type : square;
}

.sideNavNot6, .sideNavCurNot6  {
	margin-left: 45px;
	list-style-type : circle;
}


a.sideNavLink, a.sideNavLink:active, a.sideNavLink:visited  {
	text-decoration: none;
	color: #000000;
}

a.sideNavLink:Hover {
	text-decoration: none;
	color: #666666;
}

a.sideNavCurLink, a.sideNavCurLink:active, a.sideNavCurLink:visited {
	text-decoration: none;
	color: #990000;
}

a.sideNavCurLink:Hover {
	text-decoration: none;
	color: #660000;
}



/* ========= App Styles ========= */

/* ====== News App ===== */

#news {
	padding: 0px 0 2px 0;
	margin: 0;
	border-bottom: 1px solid black;
}

.NewsArchive 
{
	font-size: 10pt;
}
.NewsTitle 
{
	font-size: 10pt;
}
.NewsPubDate 
{
	font-size: 9pt;
}
.NewsSubTitle 
{
	font-size: 10pt;
}
.NewsItem 
{
	font-size: 10pt;
}

/* ====== League Mgmt App ===== */

.LMNavTable {
	border-width: 1px 1px 1px 1px; 
	border-style: solid;
	border-color: #000000;
}
.LMNavRow {
	background-color: #CCCCCC;
	vertical-align: middle;
	font-weight: bold;
}

/* ====== Calendar App ===== */

.cal1 
{
	color: Blue;
}
.cal2 
{
	color: Navy;
}
.cal1:hover
{
	color: Red;
}
.cal2:hover
{
	color: Red;
}
.caldir
{
	text-decoration: none;
	font-size: larger;
	font-weight: bolder;
}	
.cal_nav {
	background-color: lightgrey;
}
.cal_today {
	background-color: #e9e9e9;
}
.cal_monthday {
	background-color: #ffffff;
}
.cal_nonmonthday {
	background-color: lightgrey;
}
.cal_listhdr {
	font-weight: bold;
	font-size: 10pt;
}

/* ====== E-Postcard App ===== */

.epcTableBG {
	background-color: #cccccc;
}
.epcInnerTableBG{
	background-color: #FFFFFF;
	border: 1px solid #000000;
}

.epcCardName{
	font-family: Arial, Helvetica, sans-serif; 
	font-size: 12pt; 
	font-weight: bold; 
}

.epcText{
	font-family: Arial, Helvetica, sans-serif; 
	font-size: 9pt; 
	font-weight: bold; 
}

.epcLink{
	color: #993333;
	font-weight: bold;
	text-decoration: none;
}

.epcLink:hover {
	color: #999999;
	font-weight: bold;
	text-decoration: none;
}

.epcLink:active, epcLink:visited {
	color: #993333;
	font-weight: bold;
	text-decoration: none;
}



/* ========= Gallery and Slideshow =========== */


#gallery {

	width: 600px;
	height: auto;
	text-align: left;
	
}
	
#gallery img {
	border: 1px solid #eee;
	background-color: #fff;
	padding: 5px;
	margin: 5px 0 5px 7px;
	-o-transition: all 0.2s linear;
	-moz-transition: all 0.2s linear;
	-ms-transition: all 0.2s linear;
	-kthtml-transition: all 0.2s linear;
	transition: all 0.2s linear;
	-webkit-transition: all 0.2s linear;
	-webkit-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.55);
	-moz-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.55);
	box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.55);
}
#gallery img:hover {
	-webkit-box-shadow: 3px 3px 20px 0px rgba(0,0,0,0.75);
	-moz-box-shadow: 3px 3px 20px 0px rgba(0,0,0,0.75);
	box-shadow: 3px 3px 20px 0px rgba(0,0,0,0.75);
}

.slideshowwrapper, .EditBody .slideshowwrapper {

	width: 600px;
	height: 150px;
	overflow: hidden;
}

 .EditBody .slideshowwrapper {
	overflow: visible;
}