/********************************************
   AUTHOR:  			Erwin Aligam 
   WEBSITE:   			http://www.styleshout.com/
********************************************/ 


* { margin: 0; padding: 0; border: 0 }

body {
	background: #B29E7B;
	font: 9pt/1.5em Trebuchet MS, Tahoma, arial, sans-serif;
	color: #666666;
	text-align: center;
	margin: 15px 0;
}


a, a:visited {	
	color: #860C17;
	background: inherit;
	text-decoration: none;
}

a:hover {
	color: #605641;
	background: inherit;
	text-decoration: underline;
}

h2 {
	text-transform: uppercase;
}



ul, ol {
	margin: 5px 20px;
	padding: 0 20px;
}


/********************************************
   LAYOUT
********************************************/ 
#wrap {
	position: relative;
	width: 820px;
	background: #CCC url(../images/content.jpg?z=5952) repeat-y center top;
	margin: 0 auto;
	text-align: left;
}

#top-bg {
    position: absolute;
	width: 820px;
	height: 19px;
	background: #CCC url(../images/top-bg.jpg?z=5952) repeat-y center top;	
	top: 0; left: 0;
	z-index: 2;	
}

#adds-top {
	width: 750px;
	padding: 4px;
	margin: 0px 30px 0px 30px;
}

#adds-left {
	position: absolute;
	text-align:right;
	width: 200px;
	/*height: 450px;*/
	padding: 0px;
	margin: 0px;
	top: 350px;
	left: -190px;
}

#adds-right {
	position: absolute;
	width: 200px;
	/*height: 450px;*/
	padding: 0px;
	margin: 0px;
	top: 350px;
	left: 810px;
}

#content-wrap {
	border-top: 5px solid #FFFFFF;
	width: 760px;
	margin: 0px auto;
	padding: 0;
}

#header {
	width: 820px;
	position: relative;
	height: 100px;
	background: #CCC url(../images/header-bg.jpg?z=5952) repeat-y center top;
	padding: 0;	
	color: #FFF;	
}

#header h1#titleText {
	position: absolute;
	margin: 0; 
	padding: 0;
	font: bold 30pt Trebuchet MS, Arial, Sans-serif;
	letter-spacing: -1px;
	color: #FFFFFF;
	text-transform: none;
	text-decoration: none;	
	top: 25px; 
	left: 40px;	
}


#header h2#sloganText {
	position: absolute;
	margin: 0; 
	padding: 0;
	font: normal 9pt Trebuchet MS, Arial, Sans-serif;
	text-transform: none;
	color: #FFFFFF;
	top: 75px; 
	left: 40px;		
}

#header-photo {
	border-top:5px solid #FFFFFF ;
	border-bottom:5px solid #FFFFFF ;
	clear: both;
	height: 200px;
	width: 760px;
	margin: 0 auto ;
	padding: 0;
	background: #FFF url(../images/header-photo.jpg?z=5952) no-repeat top left ;
}


#nav1 {
	clear: both;	
	margin: 0 auto; 
	padding: 0;
	background: #101010 url(../images/menu.jpg?z=5952) repeat-x;
	font: bold 16px/40px "Trebuchet MS", Arial, Tahoma, Sans-serif;
	height: 40px;
	width: 760px;
}

#nav1 ul {
	float: left;
	list-style: none;
	margin:0; 
	padding: 0;
}

#nav1 ul li {
	display: inline;
}

#nav1 ul li a {
	display: block;
	float: left;
	padding: 0 14px;
	color: #F5EDD6;
	text-decoration: none;
	text-align:center;
	border-right: 1px solid #2e2e2e ;
}

div#nav1 ul li a.function {
	/*display: block;
	float: left;
	color: #F5EDD6;
	text-decoration: none;
	text-align:center;
	padding: 0 5px; */
    border-right: 0px solid #2e2e2e ;
}

#nav1 ul li a:hover {
	background: #B29E7B url( ../images/selectedMenu.jpg?z=5952 ) repeat-x;
	color: #202020;	
}

li.current {
	background-color:#101010;
	color: #F5EDD6;
} 

#main {
	float: left;
	width: 490px;
	padding: 20px 0 0 0;
	margin: 0px 0px 0px 20px ; 
	display: inline;
	background: url(../images/box.jpg) no-repeat;
}

#fullmain {
	float: left;
	width: 720px;
	padding: 20px 0 0 0;
	margin: 0px 0px 0px 20px ; 
	display: inline;
	background: url(../images/box.jpg) no-repeat;
}

#main p, #main h1, #main h2, #main h3, #main ol, #main ul, #main form,
#fullmain p, #fullmain h1, #fullmain h2, #fullmain h3, #fullmain ol, #fullmain ul, #fullmain form {
	margin:10px 0pt 0pt 0pt ;
}

#main p, #fullmain p, #sidebar p {
	text-align:justify;
}

h1 {
	font-family:Trebuchet MS;
	font-size:20pt;	
	color:#B29E7B;
	letter-spacing:3px;
}

h2 {
	font-family:Trebuchet MS;
	font-size:16pt;	
	color:#B29E7B;
	letter-spacing:2px;
}

h3 {
	font-family:Trebuchet MS;
	font-size:13pt;	
	color:#B29E7B;
}

#main .image {
	border:1px solid #CCC;
	padding:5px;
	margin: 10px;
}

a.external {
	background: transparent url(../images/skin/external.png) 5px 50% no-repeat;
    padding-left: 20px;
}

a.newwindow {
	background: transparent url(../images/skin/newwindow.png) 5px 50% no-repeat;
	background-position: top right;
	padding-right: 15px;
}

a, a:visited {
	color:#860C17;
	text-decoration:none;
}

a:hover {
	color:#605641;
	text-decoration:underline;
}


#sidebar {
	float: right;
	width: 230px;
	padding: 0px
	margin: 10px 0 0 0;	
	font-family:Trebuchet MS, sans-serif;
    font-size:9pt;
	color: #707070;
}


#sidebar *  {
	margin: 15px;
}

#sidebar h3 {
	font-family:Trebuchet MS, sans-serif;
    font-size:14pt;
	color: #B29E7B;
}


#sidebar ul.sidemenu {
	list-style: none;
	text-align: left;
	margin: 7px 1px 8px 10px; 
	padding: 0px;
	text-decoration: none;	
	border-top: 1px solid #d1cdd1;	
}

#sidebar ul.sidemenu li {
	list-style: none;
	padding: 4px 0 4px 0px;
	margin: 0px 2px;	
	color: #777;	
	border-bottom: 1px solid #d1cdd1 ;
}
/* margin: 0 2px; */ 
* html body #sidebar ul.sidemenu li {
	height: 1%;
}


#sidebar ul.sidemenu li a {
	text-decoration: none;	
	color: #AA4444;				
}


#sidebar ul.sidemenu li a:hover {	
	color: #000000 ;
}

#sidebar ul.sidemenu li.news a {
	text-decoration: none;	
	color: #AA4444;
	margin: 0px;				
}

#sidebar ul.sidemenu li.news a i {
	margin: 0px;				
}


#sidebar ul.sidemenu li.news a:hover {	
	color: #000000 ;
	margin: 0px;
}

#sidebar ul.sidemenu ul { margin: 0 0 0 5px; padding: 0; }
#sidebar ul.sidemenu ul li { border: none; }



h1, h2, h3 {
	padding-top:10px;
}



#nav1 ul li a {
	font-size:14px;
}


#footer-wrap {
	clear: both;
	width: 820px;
	height:60px;
	font-size: 95%;	
	text-align: left;
	padding: 15px 0;
	background: url(../images/footer-bottom.jpg?z=5952) no-repeat center bottom;	
}


#footer-wrap a {
	text-decoration: none;
	color: #666666;
	font-weight: bold;
}

#footer-wrap a:hover {
	color: #000;	
}

#footer-wrap p {
	margin-top:20px;
	padding:0;
}

#footer-wrap h2 {
	color: #666666;
	margin: 0;
	padding: 0 10px; 
}

#footer-bottom {
	clear: both;
	margin: 0 auto; 
	width: 760px;
	padding: 0;
	text-align: center;
	border-top:2px solid #dbd7db  ;
}

.divider {
	border-bottom: 1px solid #d1cdd1 ;
}

.float-left  { float: left; }
.float-right { float: right; }
.align-left  { text-align: left; }
.align-right { text-align: right; }


.clear { clear: both; }

/* admin */

.dialog table {
    padding: 5px 0;
}

.prop {
    padding: 5px;
}
.prop .name {
    text-align: left;
    width: 15%;
    white-space: nowrap;
    font-weight: bold;
}
.prop .value {
    text-align: left;
    width: 85%;
}
.buttons {
    background: #fff url(../images/skin/shadow.jpg) bottom repeat-x;
    border: 1px solid #ccc;
    color: #666;
    font-size: 10px;
    margin-top: 5px;
    overflow: hidden;
    padding: 0;
}

.submit {
    background: #860C17;
    color: #fff; 
}

.buttons input {
    background: #fff;
    border: 0;
    color: #333;
    cursor: pointer;
    font-size: 10px;
    font-weight: bold;
    margin-left: 3px;
    overflow: visible;
    padding: 2px 6px;
}
.buttons input.delete {
    background: transparent url(../images/skin/database_delete.png) 5px 50% no-repeat;
    padding-left: 28px;
}
.buttons input.edit {
    background: transparent url(../images/skin/database_edit.png) 5px 50% no-repeat;
    padding-left: 28px;
}
.buttons input.save {
    background: transparent url(../images/skin/database_save.png) 5px 50% no-repeat;
    padding-left: 28px;
}

.buttons input.cancel {
    background: transparent url(../images/skin/cancel.gif) 5px 50% no-repeat;
    padding-left: 20px;
}

.buttons input.message {
    background: transparent url(../images/skin/message.png) 5px 50% no-repeat;
    padding-left: 28px;
}

.menuButton a.create {
    background: url(../images/skin/database_add.png) center left no-repeat;
    color: #333;
    padding-left: 25px;
}

/* MESSAGES AND ERRORS */

.message {
    background: #f3f8fc url(../images/skin/information.png) 8px 50% no-repeat;
    border: 1px solid #b2d1ff;
    color: #006dba;
    margin: 10px 0 5px 0;
    padding: 5px 5px 5px 30px
}

.blocked {
    background: #fff3f3 url(../images/skin/exclamation.png) 8px 50% no-repeat;
    border: 1px solid red;
    color: #cc0000;
    margin: 10px 0 5px 0;
    padding: 5px 5px 5px 30px
}

div.errors {
    background: #fff3f3;
    border: 1px solid red;
    color: #cc0000;
    margin: 10px 0 5px 0;
    padding: 5px 0 5px 0;
}
div.errors ul {
    list-style: none;
    padding: 0;	
}
div.errors li {
	background: url(../images/skin/exclamation.png) 8px 0% no-repeat;
    line-height: 16px;
    padding-left: 30px;
}

td.errors select {
    border: 1px solid red;
}
td.errors input {
    border: 1px solid red;
}
td.errors textarea {
    border: 1px solid red;
}

.box-spinner {
	background: url(../images/loading.gif) 2px 0% no-repeat;
	text-align: right;
    width: 20px;
    white-space: nowrap;
    position: absolute;
    top: 5px;
    left: 200px;
}

div#box {
   border: 1px solid #d1cdd1;
   width: 232px;
}

div#box-wide {
   border: 1px solid #d1cdd1;
   width: 490px;
}

div#box-header {
	position: relative;
}

div#box-label {
   border-bottom: 1px solid #d1cdd1 ;
   background: url(../images/box-bg.jpg);
   color: #fff;
   font-weight: bold;
   padding: 4px 4px 4px 8px;
   white-space: nowrap;
   position: absolute;
   width: 220px;
   
}

div#box-label-wide {
   border-bottom: 1px solid #d1cdd1 ;
   background: url(../images/box-bg.jpg);
   color: #fff;
   font-weight: bold;
   padding: 4px 4px 4px 8px;
   white-space: nowrap;
   position: absolute;
   width: 478px;
   
}

div.box-content {
   padding: 28px 4px 4px 4px;
   background: #fff;
}
