/* Start of CMSMS style sheet 'sussex : sussex_screen' */
/* 
Screen layout: */

/*
This layout depends on modified news summary template

<!-- Start News Display Template -->
{foreach from=$items item=entry}

<h3>
	{$entry->titlelink}
</h3>

<p>
{$entry->category}
{if $entry->author}
	by {$entry->author}
{/if}

{if $entry->formatpostdate}
<strong>
		{$entry->formatpostdate}
</strong><br />
{/if}


{if $entry->summary}
 {eval var=$entry->summary}
</p>
  <p class="textright">[{$entry->morelink}]</p>

{else if $entry->content}
		{eval var=$entry->content}
</p>
{/if}

{/foreach}
<!-- End News Display Template -->

Copy paste this template to your news summary template and delete from here
*/

body {
margin: 0 auto;
padding: 0;
font: 200% Verdana,Tahoma,Arial,sans-serif;
/*background: #f4f4f4 url(uploads/sussex/bg.gif) top center repeat-y;*/
background: #F4FFE4 url(uploads/sussex/bg.gif) top center repeat-y;

}

#wrap {
background: #ffffff;
color: #303030;
margin: 0 auto;
width: 760px;
}

#header {
clear: both;
color: #006501;
margin: 1px 0 0 0;
padding: 0;
height: 12px;
text-align: right;
}

#header h1 {
width: 250px;
margin: 0 0 10px 0;
float: left;
}

#header p {
width: 500px;
float: right;
text-align: center;
color: #a0a0a0;
margin: 0 0 10px 0;
font-size: 0.8em;
line-height: 1.2em;
}

#frontphoto {
margin: 0 0 5px 0;
border: 0;
}
div#sidebar {
   float: left;        /* set sidebar on the left side. Change to right to float it right instead. */
   width: 150px;     /* sidebar width, if you change this please also change #main margins */
   display: inline;  /* FIX IE double margin bug */
   margin-left: 0;
}

.bl2T {background: url(images/cms/bl1.gif) 0 100% no-repeat #B4D788; width: 100%;
margin: 2px;
}
.br2T {background: url(images/cms/br1.gif) 100% 100% no-repeat}
.tl2T {background: url(images/cms/tl1.gif) 0 0 no-repeat}
.tr2T {background: url(images/cms/tr1.gif) 100% 0 no-repeat; padding:1px;
color: #000000;
}

#avmenu {
clear: left;
float: left;
width: 150px;
margin: 0 0 10px 0;
padding: 0;
font-size: 1.2em;
}

#avmenu ul {	
list-style: none;
width: 150px;
margin: 0 0 20px 0;
padding: 0;
font-size: 1.1em;
}	

#avmenu li {
margin-bottom: 4px;
}


/* first level */
#avmenu li a {
font-weight: bold;
height: 20px;
text-decoration: none;
color: #505050;
display: block;
padding: 6px 0 0 10px;
/*background: #f4f4f4;
border-left: 4px solid #cccccc;*/
background:  url(images/cms/menubak.gif) center left no-repeat;

}	
	
#avmenu li a:hover {
background: #eaeaea;
/*color: #286ea0;*/
color: #469333;
/*border-left: 4px solid #286ea0 url(images/cms/menu.gif);*/
background:  url(images/cms/menu.gif) center left no-repeat;
}

#avmenu li a.menuactive {
background: #eaeaea;
/*color: #286ea0;
border-left: 4px solid #286ea0;*/
color: #469333;
background: url(images/cms/menu.gif) center left no-repeat;

}


/* second level */
#avmenu li li a {
font-weight: normal;
height: 20px;
text-decoration: none;
color: #505050;
display: block;
padding: 6px 0 0 24px;
background: #f4f4f4;
border:0;
}	

#avmenu li li a:hover {
background: #eaeaea;
color: #286ea0;
border:0;
}

#avmenu li li a.menuactive {
background: #eaeaea;
color: #286ea0;
border:0;
}

/* third level */
#avmenu li li li a {
font-weight: normal;
height: 20px;
text-decoration: none;
color: #505050;
display: block;
padding: 6px 0 0 34px;
background: #f4f4f4;
border:0;
}	

#avmenu li li li a:hover {
background: #eaeaea;
color: #286ea0;
border:0;
}

#avmenu li li li a.menuactive {
background: #eaeaea;
color: #286ea0;
border:0;
}



.announce {
margin: 5px 0 5px 0;
padding: 5px;
width: 130px;
color: #505050;
background-color: #f4f4f4;
line-height: 1.3em;
}

#extras {
float: right;
width: 190px;
font-size: 0.9em;
line-height: 2.2em;
}

#extras p {
margin: 0 0 0 0;
}

#content {
margin: 0 10px 20px 160px;
border-left: 1px solid #f0f0f0;
/*border-right: 1px solid #f0f0f0;*/
padding: 0 10px 0 10px;
line-height: 1.6em;
text-align: left;
font-size: 1.5em;
}

#content h2 {
font-size: 1.5em;
margin: 0 0 0.5em 0;
}

#content img {
padding: 1px;
display:inline;
background: #cccccc;
border: 4px solid #f0f0f0;
}

h3 {
font-size: 1.3em;
margin: 0 0 10px 0;
}

a {
text-decoration: none;
color: #286ea0;
}

a:hover {
text-decoration: underline;
color: #286ea0;
}

a img {
border: 0;
}

#footer {
clear: both;
margin: 0 auto;
padding: 10px 0 20px 0;
/*border-top: 4px solid #f0f0f0;*/
width: 760px;
text-align: center;
color: #808080;
font-size: 0.9em;
}

#footer a {
color: #808080;
text-decoration: none;
}

#footer a:hover {
text-decoration: underline;
}

.left {
margin: 10px 10px 5px 0;
float: left;
}

.right {
margin: 10px 0 5px 10px;
float: right;
}

.textright {
text-align: right;
}

.center {
text-align: center;
}

.small {
font-size: 0.8em;
}

.bold {
font-weight: bold;
}

.hide {
display: none;
}

div#rightsidebg   {
             background: #FFFFFF url(images/cms/box4.gif) no-repeat;
             font-size: 120%;           

color: #99cc00;

padding: 12px; 
}
div#rightsidebg1   {
             background: #FFFFFF url(images/cms/box3.gif) no-repeat;
             font-size: 120%;
             height: 126px;


color: #99cc00;

padding: 10px; 
}

div#rightsidebg2   {
             background: #FFFFFF url(images/cms/box4.gif) no-repeat;
             font-size: 120%;
             height: 126px;


color: #99cc00;

padding: 10px; 
}


#content textarea
{
width:285px;
height:150px;
}

/* Menu old */

#menuwrapper { 
   width: 100%; 
}


#primary-nav, #primary-nav ul { 
   list-style: none; 
   margin: 0px; 
   padding: 0px; 
   width: 100%; 
   margin-left: -1px;
}
#primary-nav ul { 
   position: absolute; 
   top: 0; 
   left: 100%; 
   display: none; 
}
#primary-nav li { 
   margin-bottom: -1px; 
   position: relative; 
}


/* Styling the basic apperance of the menu elements */
#primary-nav a { 
   border: 1px solid #046500;
/*   border: 1px solid #006699; */
   display: block; 
   margin: 0px; 
   padding: 5px 10px; 
color: #000000;
/*   color: #006699;*/
   text-decoration: none; 
/*background: #B4D788; */
   background: transparent; 
   min-height:1em; /* Fixes IE7 whitespace bug*/ 
}
#primary-nav li, #primary-nav li.menuparent { 
background: #B4D788;
/*background:  url(images/cms/menubak.gif) center right no-repeat;*/

 /*  background-color: #ececec; */
   min-height:1em; /* Fixes IE7 bug*/
}


/* Styling the basic apperance of the active page elements (shows what page in the menu is being displayed) */
#primary-nav li.menuactive { 
/*background-color: #F4FFE4; */
/*background:  url(images/cms/menu.gif) center right no-repeat;*/
color: #000000;
  background-color: #016100; 
}

/* Styling the basic apperance of the menuparents - here styled the same on hover (fixes IE bug) */
#primary-nav li.menuparent, 
#primary-nav li.menuparent:hover, 
#primary-nav li.menuparenth { 
   background-image: url(images/cms/arrow.gif); 
   background-position: center right; 
   background-repeat: no-repeat; 
color: #660033;
}


/* Styling the apperance of menu items on hover */
#primary-nav li:hover, 
#primary-nav li.menuh, 
#primary-nav li.menuparenth, 
#primary-nav li.menuactiveh { 
   /*background-color: #E7AB0B; */
/*background: #B4D788;*/
/*background:  url(images/cms/menu.gif) center right no-repeat;*/
color: #000000;
background-color: #016100; 

}


/* The magic - set to work for up to a 3 level menu, but can be increased unlimited */
#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; 

}
#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; 
color: #660033;
}


/* IE Hack, will cause the css to not validate */

#primary-nav li, #primary-nav li.menuparenth { _float: left; _height: 1%; }
#primary-nav li a { _height: 1%; }


/* section header */
#primary-nav li.sectionheader {
   border-left: 1px solid #006699; 
   border-top: 1px solid #006699; 
   font-size: 130%;
   font-weight: bold;
   padding: 1.5em 0 0.8em 0.5em;
   background-color: #fff;
   margin: 0;
   width: 100%;
}


/* separator */
#primary-nav li hr.separator {
   display:block;
   height: 0.5em;
   color: #abb0b6;
   background-color: #abb0b6;
   width: 100%;
   border:0;
   margin:0;
   padding:0;   
   border-top: 1px solid #006699;
   border-right: 1px solid #006699;
}
div#ads {
   float: right;        /* set sidebar on the left side. Change to right to float it right instead. */
position: relative; 
	margin-left: 2.0em;
 
   width: 120px;  /*    sidebar width, if you change this please also change #main margins */
   display: inline;  /* FIX IE double margin bug */
  
	margin-top: -80.0em;

}

/* End of 'sussex : sussex_screen' */

