﻿body {
    margin: 0px;
    padding: 0px;
    color: #000000;
}
div#header 
{
    width: 1050px;
    text-align: center;
    background-color: #FFFFFF;
    height: 140px;
    margin: 0px auto;
    padding: 1px;
}
/* mainwrapper will contain the left-side menu, mid content and right-side logos */
/* the auto in the margin is to centralize the layout horizontally */
div#mainwrapper 
{
    width: 1050px;
    margin: 0px auto;
}
div#navcol {
    padding: 2px 2px 2px 4px;
    width: 150px;
    float: left;
    border-top: 2px solid #CD0000;
}
/* the margin-left of the main div is to make sure it starts 1 pixel after the end of the nav div */
/* the margin-right of the main div is to make sure it will finish 1 pixel before the right side (sidecol) div starts */
div#main {
    padding: 2px;
    margin-left: 151px;
    margin-right: 351px;
    border-top: 2px solid #CD0000;
}
div#sidecol {
    padding: 2px;
    width: 350px;
    float: right;
    border-top: 2px solid #CD0000;
    text-align: center;
}
/* the width of footer is = 1046 to give horizontal space to add the 2-pixel border on the right and left side and together add up to 1050 pixel */
div#footer {
    border: 2px solid #CD0000;
    padding: 3px 0px 3px 0px;
    background-color: #FFFFFF;
    text-align: center;
    color: #000000;
    clear: both;
    margin: 0px auto;
    width: 1046px;
}
/* the column2 created to include side2.gif as the background (a rectangle with color #CD0000) to make sure that the 3 columns will have the same height */
/* side2.gif is a simple rectangle with color #CD0000 and 350 pixel wide */
div#column2 {
    margin: 0;
    padding: 0;
    background-image: url(side2.gif);
    background-position: right;
    background-repeat: repeat-y;
    width: 100%;
    background-color: #FFFFFF;
    
}
/* the column1 created to include side1.gif as the background (a rectangle with color #CD0000) to make sure that the 3 columns will have the same height */
/* side1.gif is a simple rectangle with color #CD0000 and 150 pixel wide */
div#column1 {
    margin: 0px;
    padding: 0px;
    background-image: url(side1.gif);
    background-repeat: repeat-y;
    width: 100%;
    
}

table  /* tables will always be centralized in relation to the area they are created */
{
	margin-left:auto;
	margin-right:auto;
}

/* class to be used to make a row of the table have red background and white bold font */
tr.redbg
{
	color:#FFFFFF;  /* white */
	background-color:#FF0000;
	border-color:#000000;
	border-width:1px;
	border-style:Solid;
	font-weight:bold;
}

tr.lightblue
{
	background-color:#CCFFFF;
}

td  /* every td in a table will have the contain aligned to the left */
{
	text-align:left;
}

/* class to be used inside cells of table if you want smaller font, black and bold */
td.smallblackbold
{
	color:#000000;
	font-weight:bold;
	font-size:small;
}

/* class to be used inside cells of table if you want smaller font, black, or red */
td.smallblack
{
	color:#000000;
	font-size:small;
}

td.smallred
{
	color:#FF0000;
	font-size:small;
}

/* class to be used inside cells of table if you want smaller font, black, or red and centralized */
td.smallblackcenter
{
	color:#000000;
	font-size:small;
	text-align:center;
}

td.smallredcenter
{
	color:#FF0000;
	font-size:small;
	text-align:center;
}

/* color red for cells in tables where you need to show a reschedule */
td.resch
{
	color:#FF0000;
}

/* clear class created to make sure that footer will be shown only after the div with this class that will not contain anything and will make the 3 columns have the same height */
.clear {
    clear: both;
    display: block;
    height: 1px;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.specialtext  
{
	font-size: 12px; 
	font-weight: bold; 
	color: #000000; 
	font-style: italic; 
}

.navlabels  
{
	font-size: 16px; 
	color: #FFFFFF; 
	font-weight:bold; 
}

.navpast  
{
	font-size:smaller;
	color: #FFFFFF; 
}

.IE8Fix 
{ 
    z-index: 1000; 
}

#navcol a:link {font-size:medium; color:Black; text-decoration:none; font-weight:normal; }
#navcol a:visited {font-size:medium; color:Black; text-decoration:none; font-weight:normal; }

a:link {font-size:medium; color:blue; text-decoration: underline; font-weight:normal}
a:visited {font-size:medium;color:red; text-decoration: underline; font-weight:normal}
a:hover {text-decoration: none;	color:Red ; background-color:white}
a:active {text-decoration: none;}

h1.master /* Diablo Valley Futsal written at the top of the master page */
{
	font-size: 46px;
	font-style:italic;
	color:#CD0000;
}

/* titleblue, titleblack, titlered - created for h3 tags for season titles, call the attention titles etc. */
h3.titleblue
{
	text-align:center;
	font-weight:bold;
	color:#0000FF;  /* blue */
}

h3.titleblack
{
	text-align:center;
	font-weight:bold;
	color:#000000;
}

/* if you prefer, you can use bluetitleu if you prefer your title centralized and underlined */
.bluetitleu /* title with blue color, centralized and underlined */
{
	text-align: center;
	color: #0000FF; /* blue */
	font-size: 18px;
	text-decoration: underline;
}

.redtitle /* title with red color, centralized and NOT underlined */
{
	text-align: center;
	color: #FF0000; /* red */
	font-size: 16px;
}

/* attentionred, attentionblue, attentionblack - to have any text written in bold and some color to call the attention to the text */
.attentionred
{
	color:#FF0000;  /* red */
	font-weight: bold;
}

.attentionblue
{
	color:#0000FF;
	font-weight:bold;
}

.attentionblack
{
	color:#000000;
	font-weight:bold;
}

/* if you need the link text to be always blue, use the class below */
.linkblue
{
	color:#0000FF;
	text-decoration:underline;
}

.textcenter
{
	text-align:center;
}
