/* Start of CMSMS style sheet 'Sportgala Accessibility' */
/* accessibility */

/* 
menu links accesskeys 
*/
span.accesskey {
   text-decoration:none;
}

/* 
accessibility divs are hidden by default 
text, screenreaders and such will show these 
*/
.accessibility, hr {
   position: absolute;
   top: -999em;
   left: -999em;
}

/* 
definition tags are also hidden 
these are also used for menu links    
*/
dfn {
   position: absolute;
   left: -1000px;
   top: -1000px;
   width: 0;
   height: 0;
   overflow: hidden;
   display: inline;
}
/* end accessibility */


/* wiki style external links */
/* external links will have "(external link)" text added, lets hide it */
a.external span {
  position: absolute;
  left: -5000px;
  width: 4000px;
}

/* make some room for the image */
a.external {
/* css shorthand rules, read: first top padding 0 then right padding 12px then bottom then right */
}
/* colors for external links */
a.external:link {
  color: #d98f1b;
/* background image for the link to show wiki style arrow */

}
a.external:visited {
  color: #d98f1b; /* a different color can be used for visited external links */

/* 
Set the last 0 to -100px to use that part of the external.gif image for different color for active links 
external.gif is actually 300px tall, we can use different positions of the image to simulate rollover image changes.
*/
   
}


/* end wiki style external links */


/* clearing */
/* 
clearfix is a hack for divs that hold floated elements. it will force the holding div to span all the way down to last floated item.
We strongly recommend against using this as it is a hack and might not render correctly but it is included here for convenience.
Do not edit if you dont know what you are doing
*/
	.clearfix:after {
		content: "."; 
		display: block; 
		height: 0; 
		clear: both; 
		visibility: hidden;
	}
	* html>body .clearfix {
		display: inline-block; 
		width: 100%;
	}
	
	* html .clearfix {
		/* Hides from IE-mac \*/
		height: 1%;
		/* End hide from IE-mac */
	}

/* end clearing */
/* End of 'Sportgala Accessibility' */

/* Start of CMSMS style sheet 'Sportgala Layout' */
body {
   text-align: left;
   font-family: Verdana, Helvetica, Geneva, Arial, Helvetica, sans-serif;
   font-size: 75%;
   line-height: 1.4em;
}


div {
   font-size: 1em;
}


img {
   border: 0;
}

a,
a:link 
a:active {
   text-decoration: underline;
/* css validation will give a warning if color is set without background color. this will explicitly tell this element to inherit bg colour from parent element */
   background-color: inherit; 
   color: #d98f1b; 
}

a:visited {
   text-decoration: underline;
   background-color: inherit;
  color: #d98f1b;                /* a different color can be used for visited links */
}

/* remove underline on hover and change color */



body {
   background: #fff url(uploads/bg.png) repeat-x;
   color: #a39a8b;
   margin:0em; 
}

div#pagewrapper {
   border: 0px solid black;
   margin: 0 auto;     /* this centers wrapper */
   max-width: 720px; /* IE wont understand these, so we will use javascript magick */
   min-width: 720px;
   
   color: #a39a8b
}



div#header {
position: absolute
top:210px;
    height: 208px;
   background: transparent url(/header/rotate.php) no-repeat; 
background-position: bottom; 
        
}

div#header h1 a {
   background: transparent; 
   display: block; 
   height: 188px;             /* adjust according your image size */
   text-indent: -999em;  /* this hides the text */
   text-decoration:none; /* old firefox would have shown underline for the link, this explicitly hides it */
}

div#content {
position: absolute
top:410px;
   margin: 0 auto; 
   background: #fff url(uploads/wrap.gif) no-repeat;
    min-height: 500px;
    border: #999999 0px solid;
    border-top: #999999 0px solid;
    
   color: #70613c;
   font-size: 1em;
   margin: 0 0 1.5em 0;  /* some air around p elements */
   line-height:1.4em;
   padding: 0;
}

div#main {
   margin-left: 28%; 
   margin-right: 2%; 
   background: transparent;
   border: #fff 0px solid;
   padding: 10px;
   padding-top: 20px;
   text-align: justify;
   margin-bottom: 0; 

}


div#sidebar {
   float: left; 
   width: 23%;    
   display: inline;  
   margin-left: 10px;
   
   padding-top: 25px;
   padding-right: 0px;
   background: transparent url(uploads/sidebar.gif) no-repeat;
   height: 500px;
   border: #f0e7d2 0px solid;
margin-top: 14px;
   font-size: 90%;

}

div#sidebar.hascontent {
   padding: 0 1%;
   width: 24%;  
}

div#bredhover {
	float: center;
	width: 84px; height: 64px;
	margin: 0 3px 0 0;
	background: url( 'uploads/logobred.gif' ) 0 -100px no-repeat;
	}

div#bredhover a {
	display: block;
	margin: 0; padding:0;
	width:100%; height:100%;
	overflow:hidden;
	background: url( 'uploads/logobred.gif' ) top left no-repeat;
	}

div#bredhover a:hover {
	background: url( 'uploads/logobredh.gif' ) top left no-repeat;
	}

div#logos {
margin-right: 1%; 
background: transparent url(uploads/logos.gif) no-repeat;
padding-top: 7px;
float: right;
 }

div#footer {
   font-size: 9px;
   background: transparent url(uploads/footer.gif) no-repeat;
   float: right;
   padding-top: 3px;
   margin-right: 7px;
   height: 24px;
   width: 503px;
   margin-bottom: 15px;
}
 

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

/* relational links under content */
div.left49 {
  float: left;
  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: 2em;  /* font size for h1 */
   line-height: 1em;
   margin: 0;
}
div#content h2 {
   color: #c39b5b;
   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 #dc982e; 
   border-left: 1.1em solid #c39b5b; 
   line-height: 1.5em;
/* and some air under the border */
   margin: 0 0 0.5em 0;
}
div#content h3 {
   color: #8f7717; 
   font-size: 1.3em;
   line-height: 1.3em;
   margin: 0 0 0.5em 0;
}
div#content h4 {
   color: #8f7717F; 
   font-size: 1.2em;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
}
div#content h5 {
   font-size: 1.1em;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
}
h6 {
   font-size: 1em;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
}
/* END HEADINGS */

/* TEXT */
p {
   color: #70613c;
   font-size: 1em;
   margin: 0 0 1.5em 0;  /* some air around p elements */
   line-height:1.4em;
   padding: 0;
}
blockquote {
   border-left: 10px solid #ddd;
   margin-left: 10px;
}
pre {
   font-family: monospace;
   font-size: 1.0em;
}
strong, b {
/* explicit setting for these */
   font-weight: bold;
}
em, i {
/* explicit setting for these */
   font-style:italic;
}

/* 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%;   /* smaller font size, as these are usually not so important data */
}

/* END TEXT */

/* LISTS */
div#main ul,
div#main ol,
div#main dl {
  font-size: 1.0em;
   line-height:1.4em;
   margin: 0 0 1.5em 0;
}
div#main ul li,
div#main ol li {
   margin: 0 0 0.25em 3em;
}

div#dl dt {
   font-weight: bold;
   margin: 0 0 0.25em 3em;
}
div#dl dd {
   margin: 0 0 0 3em;
}

/* End of 'Sportgala Layout' */

/* Start of CMSMS style sheet 'Sportgala Menu' */
#menu_vert {
   padding-top: 3px;
   padding-left: 30px;
}

/* The wrapper clears the floating elements of the menu */

/* Fix for Opera 8 */
.clearb { clear: both; }
#menuwrapper { 
   /* Fix for Opera 8 */ 
   /*   overflow: hidden;  */ 
background-color: transparent;
   border-bottom: 0px solid #a39a8b;
   width: 100%;
}

/* Set the width of the menu elements at second level. Leaving first level flexible. */
#primary-nav li li { 
   width: 200px; 
}


/* Unless you know what you do, do not touch this */ 
#primary-nav, #primary-nav ul { 
   list-style: none; 
   margin: 0px; 
   padding: 0px; 
}
#primary-nav ul { 
   position: absolute; 
   top: auto; 
   display: none; 
}
#primary-nav ul ul { 
   margin-top: 1px;
   margin-left: -1px;
   left: 100%; 
   top: 0px; 
}
	
#primary-nav li { 
   margin-left: -1px;
   float: left; 
}
#primary-nav li li { 
   margin-left: 0px;
   margin-top: -1px;
   float: none; 
   position: relative; 
}

/* Styling the basic apperance of the menu elements */
#primary-nav a { 
   display: block; 
   margin: 0px; 
   padding: 5px 10px; 
   text-decoration: none; 
   color: #e8e8e8;
}

#primary-nav a:hover { 
   display: block; 
   margin: 0px; 
   color: #e4d2a8;
   background-color: #8e877c;
   }

#primary-nav li a { 
   border-right: 1px solid #afa494;
   border-left: 1px solid #afa494;
}
#primary-nav li li a { 
   border: 1px solid #C0C0C0;
}	
#primary-nav li, #primary-nav li.menuparent { 
   background-color: #a39a8b;
   background-image: url(uploads/menucol.png); 
   background-repeat: repeat; }
}

/* Styling the basic apperance of the active page elements (shows what page in the menu 

is being displayed) */

#primary-nav li.menuactive { 
   background-color: #8f8575; 
}


/* Styling the basic apperance of the menuparents - here styled the same on hover (fixes 

IE bug) */
#primary-nav ul li.menuparent, 
#primary-nav ul li.menuparent:hover, 
#primary-nav ul li.menuparenth { 
/* arrow for menuparents */
   background-repeat: no-repeat; 

}


/* Styling the apperance of menu items on hover */

#primary-nav li:hover, 
#primary-nav li.menuh, 
#primary-nav li.menuparenth, 
#primary-nav li.menuactiveh { 
  
    
}


/* The magic - set to work for up to a 3 level menu, but can be increased unlimited */

/* 
just add 
#primary-nav li:hover ul ul, 
#primary-nav li.menuparenth ul ul ul,
for fourth level 
*/
#primary-nav ul, 
#primary-nav li:hover ul, 
#primary-nav li:hover ul ul, 
#primary-nav li.menuparenth ul, 
#primary-nav li.menuparenth ul ul { 
   display: none; 
}

/* add 
#primary-nav ul ul ul li:hover ul, 
#primary-nav ul ul ul li.menuparenth ul,
for fourth level
*/
#primary-nav li:hover ul, 
#primary-nav ul li:hover ul, 
#primary-nav ul ul li:hover ul, 
#primary-nav li.menuparenth ul, 
#primary-nav ul li.menuparenth ul, 
#primary-nav ul ul li.menuparenth ul { 
   display: block; 
}


/* IE Hacks */
#primary-nav li li { 
   float: left; 
   clear: both; 
}
#primary-nav li li a { 
   height: 1%; 
}
/* End of 'Sportgala Menu' */

