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

hr {
  margin: 10px 0;
}

ol, ul {
  margin: 1em 1em 1em 3em;
}

li {
  line-height: 1.5em;
}

body {
  background: url(/images/bg.jpg) repeat-x top #1a2858;
  padding: 0;
  font-family: arial, helvetica, "Liberation Sans", sans-serif;
  font-size: 12px;
  margin: 0px auto auto auto;
  color: #0d294f;
}

em {
  color: #AE1600;
  font-weight: bold;
  font-style: inherit;
}

#main_content img {
  border: 0 none;
  -moz-box-shadow: 2px 2px 5px gray;
  box-shadow: 2px 2px 5px gray;
}

a {
  text-decoration: underline;
}

h1, h2, h3, h4, a {
  color: #AE1600;
}

h1, h2, h3, h4 {
  font-family: "Bitstream Charter", "DejaVu Serif", "Cambria", serif;
}

.title h1, .title h2, .title h3, .title h4, .title h5, .title h6 {
  font-family: "Bitstream Charter", "Trebuchet MS", sans-serif;
  font-style: italic;
  color: #0B3861;
  padding: 5px 0;
  margin: 0px;
  text-shadow: 0.1em 0.1em 0.1em #A4A4A4;
}

.title h1 {
  font-size: 2em;
}

.title h3 {
  font-size: 1.3em;
}

.clear {
  clear: both;
}


p {
  text-align: justify;
  line-height: 17px;
  padding: 6px 0 6px 0;
  margin: 0px;
}

img.prod_img {
  float: left;
  padding: 5px 10px 0 0;
}

table {
  margin: 10px 0;
  width: 100%;
  border-collapse: collapse;
}

th, td {
  padding: 5px;
}

th {
  color: #666666;
  font-weight: bold;
  text-align: center;
}

#main_container {
  width: 960px;
  height: auto;
  margin: auto;
  padding: 0px;
  background: url(/images/header_bg.jpg) no-repeat center top;
}

#header {
  width: 677px;
  height: 173px;
  margin: auto;
}

.logo {
  padding: 15px 0 0 100px;
}


/*---------------- menu tab----------------------*/
#menu_tab {
  width: 550px;
  height: 28px;
  padding: 0 0 0 225px;
}


ul.menu {
  list-style-type: none;
  display: block;
  margin: auto;
  padding: 0px;
  background: none;
}


ul.menu li {
  display: inline;
  font-size: 13px;
  font-weight: bold;
  font-style: italic;
  line-height: 28px;
}


a.nav:link, a.nav:visited {
  display: block;
  float: left;
  padding: 0px;
  width: 122px;
  height: 28px;
  margin: 0px 5px 0px 5px;
  text-align: center;
  text-decoration: none;
  background: url(/images/bt.gif);
  color: #313537;
}


a.nav_selected:link, a.nav_selected:visited {
  display: block;
  float: left;
  padding: 0px;
  width: 122px;
  height: 28px;
  margin: 0px 5px 0px 5px;
  text-align: center;
  text-decoration: none;
  background: url(/images/bt_a.gif);
  color: #313537;
}


a.nav:hover {
  color: #313537;
  text-decoration: none;
  background: url(/images/bt_a.gif);
}



/*----------------main_content----------------*/
#main_content {
  width: 787px;
  clear: both;
  height: auto;
  margin: auto;
  background: url(/images/container_center_bg.jpg) repeat-y center;
}

.center_content {
  width: 787px;
  background: url(/images/container_top_bg.jpg) no-repeat center top;
}

.welcome_block {
  width: 500px;
  padding: 20px 0 0 40px;
}

.title {
  clear: both;
  border-bottom: 1px dashed #808dbb;
  padding: 0 0 5px 0;
}

.i_divider {
  width: 1px;
  height: 67px;
  float: left;
  padding: 0 15px 0 15px;
  background: url(/images/i_divider.gif) no-repeat center;
}

.products {
  width: 650px;
  padding: 20px 40px 0 40px;
}

.categories_products {
  padding: 20px 40px 0 40px;
}

.products_box {
  padding: 15px 0 15px 0;
}


.new_products {
  width: 710px;
  padding: 0 10px 30px 40px;
}

.prod_box {
  float: left;
  padding: 10px 10px 10px 15px;
}

.prod_details {
  float: left;
  width: 220px;
  padding: 0 0 0 10px;
}

.store_details {
  float: left;
  width: 320px;
  padding: 0 0 0 10px;
}

.welcome_details {
  float: left;
  width: 370px;
  padding: 0 0 0 20px;
}

.contact_details {
  float: left;
  width: 320px;
  padding: 0 0 0 10px;
}

a.order {
  float: right;
  padding: 5px 0 0 0;
}



/*---------------------pagination-----------------------------*/

div.pagination {
  padding: 20px 0 20px 230px;
  margin: 5px;
  text-align: center;
  float: left;
  font-size: 10px;
}


div.pagination a {
  padding: 2px 5px 2px 5px;
  margin-right: 2px;
  border: 1px solid #ddd;

  text-decoration: none;
  color: #642403;
}

div.pagination a:hover, div.pagination a:active {
  border: 1px solid #ddd;
  color: #642403;
  background-color: #f4d583;
}

div.pagination span.current {
  padding: 2px 5px 2px 5px;
  margin-right: 2px;
  border: 1px solid #ddd;
  font-weight: bold;
  background-color: #f4d583;
  color: #642403;
}

div.pagination span.disabled {
  padding: 2px 5px 2px 5px;
  margin-right: 2px;
  border: 1px solid #ddd;
  color: #ccc;
}

/*------contact form------*/
#contact_form {
  /* float: left; */
  width: 300px;
  padding: 10px 10px 0 140px;
  color: #666666;
  display: block;
}

.contact_input {
  display: block;
  width: 290px;
  height: 17px;
  font-size: 12px;
  /* float: left; */
  background-color: #fff8dc;
  border: 1px #DAB75A solid;
  margin-bottom: 5px;
}

label.contact_form {
  width: 200px;
  padding: 0 0 5px 0;
  font-size: 12px;
}

.contact_textarea {
  width: 290px;
  height: 80px;
  font-size: 12px;
  font-family: Arial, Helvetica, sans-serif;
  float: left;
  background-color: #fff8dc;
  border: 1px #DAB75A solid;
}

input.contact_submit {
  float: right;
  padding: 10px;
}

.cleardiv {
  clear: both;
  overflow: hidden;
  height: 4px;
}


/*----footer---------*/
#footer {
  width: 787px;
  height: 58px;
  background: url(/images/footer_bg.jpg) no-repeat center;
  clear: both;
  padding: 0px;
  margin: auto;
  text-align: center;
  color: #999999;
}

.left_footer {
  float: left;
  padding: 7px 0 0 35px;
}

.right_footer {
  float: right;
  padding: 15px 40px 0 0;
}

.footer_text {
  margin: 16px 0 0 20px;
  float: left;
}


/*-----------------------add-ons------------------------------*/
.body_content {
  padding: 40px;
  min-height: 400px;
}

div.list {
  min-height: 300px;
}

div.alternate_msg {
  text-align: center;
  font-size: 1.1em;
  font-family: serif;
  margin-top: 20px;
}

div.errorExplanation {
  width: 500px;
  background-color: #F6CECE;
  border: thin solid #8A0808;
  margin: 5px 0;
  padding: 10px;
}

#dateblock {
  position: relative;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  border: thin solid black;
  width: 5em;
  text-align: center;
  padding: 5px 10px 5px 0px;
  background-color: #0D294F;
  color: white;
  font-family: "Bitstream Charter", "DejaVu Serif",  "Cambria Math", serif;
}
.dateblock_mon {
  font-weight:bold;
  line-height: 1em;
}
.dateblock_day {
  font-size: 3em;
  font-weight: bold;
  line-height: 1em;
}
.dateblock_year {
  display: block;
  position: absolute;
  right: -10px;
  bottom: 20px;
  letter-spacing: 2px;
  color: #AAA;
  font-weight: bold;
  font-family: "Arial", "Helvetica", "Calibri", sans-serif;
  -webkit-transform: rotate(-90deg); 
  -moz-transform: rotate(-90deg);	
}

#post .content {
  min-height: 200px;
  font-size: 14px;
  font-family: "Liberation Serif", "Georgia", serif;
}

#post .content img {
  margin: 10px 0;
  max-width: 100%;
}

#post .actions {
}

#post #title_block {
  float: left;
  margin-left: 20px
}

#post .title h1 {
  margin-bottom: 10px;
}

#post .title #author {
  font-family: "Trebuchet MS", "Liberation Mono", sans-serif;
  font-size: 1em;
  color: #B77A09;
}

#post #dateblock {
  float: left;
}

#showcase {
  margin: 25px 15px 20px;
  -moz-box-shadow: 2px 2px 5px gray;
  -webkit-box-shadow: 2px 2px 5px gray;
}

#showcase img {
  width: 350px;
  height: 233px;
}

#uploaded_files pre {
  display: inline;
}

#description {
  float: right;
  width: 40%; 
  margin: 40px 20px;
  font-family: "DejaVu Serif", "Bitstream Vera Serif", "Georgia", serif;
}

.news_block {
  margin: 10px 10px;
  min-height: 200px;
}

.news_block > h1, .news_block > h2, .news_block > h3, .news_block > h4, .news_block > h5, .news_block > h6 {
  color: #AE1600;
  font-family: Cambria, serif;
  font-style: italic;
  padding: 5px 0px 5px 20px;
}

.subtitle {
  color: #666666;
  font-style: normal;
  font-family: "Consolas", "Monano", "Liberation Mono", monospace;
  font-size: 0.8em;
}

.author {
  font-variant: normal;
  font-size: 0.8em;
}

#news {
  width: 50%;
  float: left;
}

.news_content {
  padding: 10px 10px 10px 60px;
}

.news_content h1, .news_content h2, .news_content h3, .news_content h4 {
  font-style: italic;
  color: #0B3861;
}

.news_content h1 {
  font-size: 1.5em;
}

.news_content h2 {
  font-size: 1.4em;
}

.news_content h3 {
  font-size: 1.3em;
}

.news_content h4 {
  font-size: 1.3em;
}

#news .title, #how_to .title {
    padding-left: 30px;
}

#how_to {
  width: 50%;
  float: right;
}

#user_panel {
  float: right;
  background-color: rgba(255, 255, 255, 0.6);
  padding: 5px;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
}

#categories {
  float: right;
  width: 25%;
  padding: 20px 0;
  color: #666666;
  font-style: italic;
}

#categories h2 {
  color: #0B3861;
  text-shadow: 0.1em 0.1em 0.1em #A4A4A4;
  margin-bottom: 20px;
}

#categories a {
  text-decoration: none;
}

#categories a:hover {
  background-color: white;
}

#categories a.link {
  color: black;
  font-weight: bold;
}

#categories div.tag {
  font-size: 1.3em;
  padding-top: 5px;
} 

#categories div.children {
  padding: 5px 0 0 15px;
}

#categories div.children a {
  display: block;
  margin-bottom: 4px;
}

#categories span {
  cursor: pointer;
}

#categories a.link {
  text-decoration: none;
}

.left_column {
  width: 70%;
  margin: 10px 0;
  padding: 20px 10px;
  width: 70%;
  border-right: 1px dashed #808DBB;
  min-height: 300px;
}

/*-------User Guide--------*/
.guide_block {
  margin: 20px 40px;
}

.guide_description, .guide_list, .guide_block h2 {
  width: 60%;
}

.guide_block h2 {
  font-style: italic;
  border-bottom: dashed #666666 thin;
  padding-bottom: 3px;
}

.guide_description {
  text-align: right;
}

.guide_list {
  margin: 10px 10px 0;
  color: #AE1600;
}

.guide_list a {
  text-decoration: none;
  padding: 5px 10px;
  color: #0D294F;
  font-style: italic;
  -moz-border-radius: 5px;
}

.guide_list a:hover {
  background-color: #F4D583;
  text-decoration: underline;
  background-color: white;
  font-weight: bold;
  color: #AE1600;
}

.guide_block img {
  float: right;
  height: 120px;
  width: 200px;
  -moz-border-radius: 5px;
  border: white solid thin;
  overflow: hidden;

}
