/* CSS Document */
body{
  font-family: 'Trebuchet MS','Arial', 'Verdana';
  font-size:14px;
  background:url(../images/background.jpg) #f8f8f8 fixed;
}
h1{font-size:18px;}
h2{font-size:16px;}
a {color:#3e3d13;}
a:hover {color:#a19e0c;}
#main{
    width:850px;
    margin:0 auto;
    position:relative;
}

#header{
    height:150px;
    width:auto;
    cursor:pointer;
    background:url(../images/header.jpg) no-repeat;
}
#wrapper{
    width:auto;
    background:#f5f5f5;
    border-left:1px solid #b9b9b9;
    border-right:1px solid #b9b9b9;
    zoom:1;
    
}
#menu{
    float:left;
    width:166px;
    margin-bottom:20px;
}

#menu ul{
    margin:0px;
    padding:0px;
}
#menu ul li{
    display:inline; 
} 

#menu ul ul{
    padding-left:20px
}

#menu ul a, #menu ul a:visited, #menu ul ul a, #menu ul ul a:visited{
  text-align:center; 
  text-decoration:none;
  border-bottom:1px solid #9299a3; 
  color:#44484f;
  display:block; 
  width:100%;
  padding:5px 0px 
}

#menu ul a, #menu ul a:visited  {
  height:20px; 
  background-color:#d5e2f3;
}

#menu ul a:hover, #menu ul a.active {
  color:#000;
  background-color:#efefef; 
  border-color:#000;
}
  
#menu ul ul a, #menu ul ul a:visited {
  background-color:#ecf1f8;
}
  
#menu ul ul a:hover, #menu ul ul a.sub_active {
  color:#000;
  background-color:#efefef; 
  border-color:#686464;
}
  

#content{
    float:right;
    width:670px;
    padding:10px 5px;
}
.clear{
    clear:both;
}

#footer{
    height:37px;
    width:auto;
    text-align:center;
    font-size:12px;
    background:url(../images/footer.jpg) no-repeat;
    padding:8px 0 0 0;
    color:#3e3b0e;
    zoom:1;
}
#footer a      {color:#3e3b0e;text-decoration:none;}
#footer a:hover{color:#79742c;text-decoration:none;}
#logout{
    text-align:right;
}
.ok, .error{
    margin:5px 150px;
    padding:10px;
    width:auto;
    text-align:center;
}
.error{
    border:1px solid #7c0505;
    background:#ffcece;
}
.ok{
    border:1px solid #006600;
    background:#f2ffe1; 
}

#page_404{
    text-align:center;
}

#TableCategory{
    border-collapse: collapse;
    width:100%;
}
#TableCategory td{
    border:1px solid #000;
    padding:3px 5px;
}
#TableCategory .td_name{
    width:80%;
}
#TableCategory .td_option{
    width:10%;
    text-align:center;
}
#TableCategory  .td_title{
    text-align:center;
    font-weight:bold;
    background:#fff9a6;
}

.cat_name{
    width:160px;
    float:left;
}
.part{
    width:150px;
    height:auto !important;
    height:170px;
    min-height:170px;
    padding:3px;
    margin:3px;
    float:left;
    text-align:center;
    background:#fff;
    position:relative;
}
.part img{border:0;}
.part a{text-decoration:none;}
.part .title{
    font-size:110%;
    font-weight:bold;
}
.part .option{
    position:absolute;
    padding:4px 6px;
    left:0;
    top:0;
    background:#f9f9f9;
    opacity: .8;
	filter: alpha(opacity=80);
    width:90px;
    text-align:left;
}

#more_pages{
    padding:10px;
    margin:0 5px;
    background:#fff;
}
#more_pages a{
    text-decoration:none;
}
#more_pages img{
    border:0;
    width:32px;
    height:32px;
}
.page_number, .page_number_active{   
    float:right;
    border:1px solid #000;
    padding:5px;
    margin:2px;
    cursor:pointer;
}
.page_number_active{
    font-weight:bold;
    background:#ccba4a;
}

#categories{
    border:1px solid #CCC;
    border-bottom:2px dotted;
    background:#fff;
    margin-top:5px;
    padding:0 10px 10px 10px;
}
