body {
  margin: 0;
  font-family: Helvetica, Trebuchet MS, Arial, sans-serif;
  padding: 0 0 20px;
  color: #6E6E6E;
  background: #A2A2A2;
  font-size: 0.8em;
}

#page {
  margin: 0 auto;
  max-width: 1200px;
  position: relative
}

#header {
  box-sizing: border-box;
  padding: 5px 10px;
}

#logo-title {
  margin: 0;
  position: relative;
}

#logo {
  width: 100%;
  max-width: 457px;
}

#search {
  padding-top: 25px;
  padding-right: 20px;
  float: right;
}

div#navigation {
  background: #76b852;
  background: -webkit-linear-gradient(to left, #76b852 , #8DC26F);
  background: linear-gradient(to left, #76b852 , #8DC26F);
  height: 25px;
  padding: 10px 5px;
}

#primary {
  padding-right: 190px;
}

#primary a {
	color:white;
	border-right: 2px solid white;
  padding: 0 16px;
  margin: 0 1px 0 0;
}

.login-button {
  display: none;
  float: right;
  background-color: #008CBA;
  color: white !important;
  padding: 2px;
  border: 1px solid #191970;
  text-align: center;
  text-decoration: none;
}

#content { 
  overflow:hidden;
}

#sidebar-left {
  float: left; 
  width: 17%;
  margin: 1%;
}

#main { 
  overflow: hidden;
  margin: 1%;
  float: left;
  width: 60%;
}
@media screen and (max-width: 960px) {
  #main { 
    width: 79%;
  }
  div#page.left-menu .login-button {
    display: inline-block;
  }
  div#page.left-menu div#sidebar-right {
    width: 98%;
  }
}

div#page.no-left-menu div#main {
  width: 71%;
}

#sidebar-right { 
  overflow: hidden;
  margin: 1%;
  float: right;
  width: 17%;
}

div#page.no-left-menu  div#sidebar-right {
  width: 25%;
}

/* account login block */
#block-spnet-3 {
	width: 130px;
	background-color: rgb(73, 140, 182);
	position: relative;
  border: 1px solid #191970;
  border-radius: 2px;
  padding: 10px 10px 0 10px;
  margin: 0 auto;
}

#block-spnet-3 h2 {
  color: white !important;
  font-size: 100%;
  margin: 0;
}

#block-spnet-3 input.login_input, #block-spnet-3 label {width: 97%; font-size: 95%}
#block-spnet-3 label {
  background-color: white;
  padding-left: 5px;
}

#block-spnet-3 form {line-height: 36px; height: 8em;}

#block-spnet-3 div.login_button {color: #FFF;  top: 5.5em}

#block-spnet-3 div.login_button input.submit {
	background-color: transparent;
	background-image: url(images/search_button.png);
	text-indent: -9999px;
	border: none;
	width: 20px; height: 20px;
	cursor: pointer;
	margin-left: 5px;
}
#block-spnet-3 div.login_button span { display: inline; }

#password, #block-spnet-3 label.password { top: 3em; }

#block-spnet-3 div.messages.notice {background-color: transparent; border: 0; text-align: right; color: #eee; margin-bottom: 0}
#block-spnet-3 div.messages.notice p {margin: 17px 0 0;}
#block-spnet-3 div.messages.notice a {color: #FFF; font-size: 90%}

/* choose a currency */
/*#block-spnet_custom-0 {
  background: transparent right 74% url(images/visa-mastercard.jpg) no-repeat;
}*/
/* Current curremcy
#block-block-8 {}
*/

.sell .modal-active-ext {
  width: 300px;
}

.modal-active-ext {
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 3.01px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  display: block;
  left: -9999px;
  margin-top: 1px;
  position: absolute;
  text-align: left;
  width: auto;
  z-index: 9999;
}

tbody {
  border: none;
}

tr.odd td, tr.even td {
  padding: 0.3em;
}

h1, h2, h3, h4, h4 {
	padding-bottom: 5px;
	margin: 10px 0;
}

h1 {
	font-size: 2em;
	line-height: normal;
	margin-bottom: 0.5em
}

h2 {
	font-size: 125%;
}

h3 {
   font-size: 110%;
}

h4 {
	font-size:  100%;
}

p {
  margin-top: 0.5em;
  margin-bottom: 0.9em;
}
a {
  text-decoration: none;
  font-weight: bold;
}
a:hover {
  text-decoration: underline;
}

#section2 a:hover {
  text-decoration: underline;
}

fieldset {
  border: 1px solid #ccc;
}
pre {
  background-color: #eee;
  padding: 0.75em 1.5em;
  font-size: 12px;
  border: 1px solid #ddd;
}
table {
  font-size: 1em;
}
.form-item label {
  font-size: 1em;
  color: #222;
}
.item-list .title {
  color: #222;
}
.links {
  margin-bottom: 0;
}
.comment .links {
  margin-bottom: 0;
}

table.sections {
	width: 100%;
	padding: 0;
}

.clr {
	clear: both;
}

td.section {
	padding: 10px 10px;
}

td.section.width49 {
	width: 50%;
}

td.section.width33 {
	width: 33%;
}

#masthead {
  float: none;
  clear: both;
  line-height: normal;
}

#logo-title {
  display:inline;
}

#name-and-slogan {
  display: inline;
}

#site-name {
  display: inline;
}

#site-name a, #site-name a:hover {
  font-weight: normal;
  color: white;
  font-size: 140%;
  margin: 0;
  padding: 0;
}

#site-slogan {
  color: #aaa;
  margin: 0;
  font-size: 85%;
  display: inline;
}


#primary li:last-child a {
	border-right: 0;
  font-size: 1.2em;
}

#primary a:hover,
#primary a.active {
  color: white;
  background: #6E6E6E;
}

div.primary_links ul {
  padding: 0;
  margin: 0;
  list-style: none;
  line-height: 1.6;
}

div.primary_links li {
  display: inline-block;
}

#secondary {
  border-top:1px solid #292929;
}

#secondary li a {
}

#secondary a:hover {
  color: white;
  background-color: #555555;
}

#mission {
  font-weight:bold;
  padding: 2em;
  margin-top:20px;
  margin-bottom:20px;
  font-size: 85%;
  border: solid 1px #BF1D15;
}

#mission a, #mission a:visited {
  color: #104A91;
}

div.primary_links a {
  background-position:0% 0px;
}

div.primary_links a:hover {
  text-decoration: none;
  background-position:0% -42px;
}

div.primary_links a.active {
  background-position: 0% -84px;
}

#secondary {
margin-top:4px;
position:absolute;
border-top-width: 0
}

#secondary ul {
  margin:0;
  padding:0;
  list-style:none;
}
#secondary li {
  margin:0;
  padding:0;
  display:inline;
}

#secondary li a {
  float:left;
  display:block;
  font-size: 90%;
  padding:0px 14px 0px 14px;
}

#secondary a:hover {
  text-decoration: none;
}

#secondary a.active {
  font-weight:bold;
}

#navlist {
  font-size: 1.0em;
  padding: 0 0.8em 1.2em 0;
  color: #fff;
}
#navlist a {
  font-weight: bold;
  color: #fff;
}
#subnavlist {
  padding: 0.5em 1.2em 0.4em 0;
  font-size: 0.8em;
  color: #fff;
}
#subnavlist a {
  font-weight: bold;
  color: #fff;
}
ul.links li {
  border-left: 1px solid #fff;
}
ul.links li.first {
  border: none;
}

a.readon,
a:hover.readon {
	margin-top: 15px;
	padding-left: 5px;
	padding-right: 5px;
	padding-top: 2px;
	padding-bottom: 2px;

	font-weight: bold;
	text-decoration: none;
	text-align: center;
}

#search .form-text, #search .form-submit {
  border: 1px solid #369;
  font-size: 1.1em;
  height: 1.5em;
  vertical-align: middle;
}
#search .form-text {
  width: 8em;
  padding: 0 0.5em;
}
#mission {
  padding: 1.5em 2em;
  color: #000;
}
#mission a, #mission a:visited {
  font-weight: bold;
}
.site-name {
  margin: 0.6em 0 0 0;
  padding: 0;
  font-size: 2em;
}
.site-name a:link, .site-name a:visited {
  color: #9BB3D1;
}
.site-name a:hover {
  color: #9BB3D1;
  text-decoration: underline;
}
.site-slogan {
  font-size: 1em;
  color: #eee;
  display: block;
  margin: 0;
  font-style: italic;
  font-weight: bold;
}
#main {
  position: relative
}

#main h1 {
	font-weight: normal !important;
}

#help {
  font-size: 0.9em;
  margin-bottom: 1em;
}

.messages {
  background-color: #eee;
  border: 1px solid #ccc;
  padding: 0.3em;
  margin-bottom: 1em;
}
.error {
  border-color: red;
}

div#masthead {
	background: #fff;
}

#footer {
  margin:0;
  padding: 0 1em;
  background: #76b852;
  background: -webkit-linear-gradient(to left, #76b852 , #8DC26F);
  background: linear-gradient(to left, #76b852 , #8DC26F);
  height: 100px;
  padding: 10px 5px;
	color: white;
}

#footer a {
  font-weight:bold;
  color: white;
  text-transform: lowercase;
  margin: 0px 1px 0px 0px;
}

#footer a.top_link {
  float: left;
}
div#footer-wrapper {
	background: #fff;
}

#footer-links {
  float: left;
}

#footer-contact {
  float: right;
  height: 50px;
  text-align: right;
  width: 180px;
  margin-top: 12px;
}

@media screen and (max-width: 380px) {
  #footer {
    height: 180px;
  }
  #footer-contact {
    float: left;
    text-align: left;
    clear: both;
  }
}

#content-bottom {
  clear: both;
}

div#breadcrumb {
	font-size: 0.9em;
}

div#content div#breadcrumb a, div#content div#breadcrumb a:link, div#content div#breadcrumb a:visited {
	color: #555;
}

.title, .title a {
  font-weight: bold;
  margin: 0 auto;
}
.submitted {
  color: #8E6126;
  font-size: 0.8em;
}
.links {
  color: #8E6126;
}
.links a {
  font-weight: bold;
}

.section .block,
.section .box {
  padding: 0;
  padding-bottom: 0;
  margin-bottom: 0;
}

.block .title {
  margin-bottom: .25em;
}

.node {
  margin: .5em 0 2em 0;
}
.sticky {
  padding: .5em;
  background-color: #eee;
  border: solid 1px #ddd;
}
.node .content, .comment .content {
  margin: .5em 0 .5em 0;
}
.node .taxonomy {
  font-size: 0.8em;
  padding-left: 1.5em;
}
.node .picture {
  border: 1px solid #ddd;
  float: right;
  margin: 0.5em;
}
.comment {
  border: 1px solid #abc;
  padding: .5em;
  margin-bottom: 1em;
}

.comment .title a {
  font-weight: normal;
}
.comment .new {
  text-align: right;
  font-weight: bold;
  font-size: 0.8em;
  float: right;
  color: red;
}
.comment .picture {
  border: 1px solid #abc;
  float: right;
  margin: 0.5em;
}

#aggregator .feed-source {
  background-color: #eee;
  border: 1px solid #ccc;
  padding: 1em;
  margin: 1em 0;
}
#aggregator .news-item .categories, #aggregator .source, #aggregator .age {
  font-style: italic;
  font-size: 0.9em;
}
#aggregator .title {
  margin-bottom: 0.5em;
}
#aggregator h3 {
  margin-top: 1em;
}
#forum table {
  width: 100%;
}
#forum td {
  padding: 0.5em;
}
#forum td.forum, #forum td.posts {
  background-color: #eee;
}
#forum td.topics, #forum td.last-reply {
  background-color: #ddd;
}
#forum td.container {
  background-color: #ccc;
}
#forum td.container a {
  color: #555;
}
#forum td.statistics, #forum td.settings, #forum td.pager {
  height: 1.5em;
  border: 1px solid #bbb;
}
#forum td .name {
}
#forum td .links {
  padding-top: 0.7em;
  font-size: 0.9em;
}
#profile .profile {
  clear: both;
  border: 1px solid #abc;
  padding: .5em;
  margin: 1em 0em;
}
#profile .profile .name {
  padding-bottom: 0.5em;
}
.block-forum h3 {
  margin-bottom: .5em;
}
div.admin-panel .description {
  color: #8E6126;
}
div.admin-panel .body {
  background: #f4f4f4;
}
div.admin-panel h3 {
  color: #9BB3D1;
  padding: 5px 8px 5px;
  margin: 0;
}

/* demo content */
#newsflashstyles {
    width: 300px;
	height: 250px;
	float:  right;
	position: relative;
    display: inline;
	margin-top: -80px;
}

#newsflashconfig {
    width: 250px;
	height: 250px;
	float:  right;
	position: relative;
    display: inline;
	margin-top: -25px;
}

#configscreen {
    width: 200px;
	height: 177px;
	float:  right;
	position: relative;
    display: inline;
	margin-top: -40px;
}

#configmagglass {
    width: 200px;
	height: 239px;
	float:  right;
	position: relative;
    display: inline;
	margin-top: -40px;
}

#demosite {
    width: 250px;
	height: 320px;
	float:  right;
	position: relative;
    display: inline;
	margin-top: -30px;
	margin-left: 40px;
}

/* table stuff */

table.sections {
	width: 100%;
}

table.sections td div {
	font-size: 90%;
	color: #A2A2A2;
}

table.sections td div a {
	color: #A2A2A2;
}

td.sections {
	padding: 0px 10px;
}



div#section1 td.section {
	padding-top: 10px;
	padding-bottom: 15px;
      padding-left: 20px;
      padding-right: 10px;
}

div#section2 td.section {
	padding-top: 2px;
	padding-bottom: 15px;
      padding-left: 20px;
      padding-right: 10px;
}

#attachments {
   width: 100%;
}


/* spnet */

div#main a.extra-content-link,
div#main a.extra-content-link:link,
div#main a.extra-content-link:visited {color: blue}

#spnet_content td.CELL5 img, #spnet_content.catenq-psel td a img { max-width: 200px; }

#spnet_content th {
    background-color: #498CB6;
    color: #fff;
}

.mainmenu .option_buttons {
  margin-top: 2em;
}
.mainmenu .option_buttons a {
  display: block;
  padding: 1em 0;
}
.mainmenu .option_buttons br {
  display: none;
}

.cord-final .option_buttons {display: none;}
.cord-final input[name^=QTY_] {width: 25px;}
.cord-final input[name^=APR_] {width: 210px;}
.cord-final #CSSID_FORM_1 {margin-bottom: 2em;}

.cord-prddet .option_buttons {display: none;}

.cord-prddet {
  color: #000080;
}

.cord-prddet td {
  padding: 0;
}

.cord-prddet .CELL1 {
  font-size: 24px;
  word-break: break-all;
}
.cord-prddet .CELL5,
.cord-prddet .CELL6,
.cord-prddet .CELL7 {
  color: #97C804;
}

.cord-prddet .CELL3 b {
  font-weight: normal;
}

.CELLCON_TD_1 img, .CELLCON_CELL_1 img,
.PAGE_LAYOUT_TD_3 img, .PAGE_LAYOUT_CELL_3 img,
#CSSID_TD img,
#CSSID_TD_1 img,
#CSSID_TD_2 img,
#CSSID_TD_3 img,
#CSSID_TD_4 img,
#CSSID_TD_5 img,
#CSSID_TD_6 img,
#CSSID_TD_7 img,
#CSSID_TD_8 img,
#CSSID_TD_9 img,
.CELL3, .CELL3 img {
  max-width: 100%;
}
.CELLCON_TD_1 input, .CELLCON_CELL_1 input,
.PAGE_LAYOUT_TD_3 input, .PAGE_LAYOUT_CELL_3 input,
#CSSID_TD input,
#CSSID_TD_1 input,
#CSSID_TD_2 input,
#CSSID_TD_3 input,
#CSSID_TD_4 input,
#CSSID_TD_5 input,
#CSSID_TD_6 input,
#CSSID_TD_7 input,
#CSSID_TD_8 input,
#CSSID_TD_9 input {
  width: 25px;
}
@media screen and (max-width: 440px) {
  .CELLCON_TD_1, .CELLCON_CELL_1,
  .PAGE_LAYOUT_TD_3, .PAGE_LAYOUT_CELL_3,
  #CSSID_TD,
  #CSSID_TD_1,
  #CSSID_TD_2,
  #CSSID_TD_3,
  #CSSID_TD_4,
  #CSSID_TD_5,
  #CSSID_TD_6,
  #CSSID_TD_7,
  #CSSID_TD_8,
  #CSSID_TD_9 {
    display: block;
  }
}

/* The left side (image) of stock */
.cord-prddet form#CSSID_FORM_1 table#CELLCON tbody tr.CELLCON_TR.CELLCON_TR_EVEN td.CELLCON_TD_1.CELLCON_CELL_1 table.CELLCON_TABLE_TD_1 tbody tr.PAGE_LAYOUT_TR.PAGE_LAYOUT_TR_ODD td.PAGE_LAYOUT_TD_1.PAGE_LAYOUT_CELL_3 table#CSSID_TABLE tbody tr.CSSID_TABLE_TR.CSSID_TABLE_TR_EVEN td.CSSID_TABLE_TD_1.CSSID_TABLE_CELL_1 table.CSSID_TABLE_TABLE_TD_1 tbody tr.CSSID_TABLE_TR.CSSID_TABLE_TR_ODD td.CELL2 font b img {
  max-width: 250px;
  min-width: 150px;
  width: 100%;
}
/* The right (price/info) side of stock */
table#CSSID_TABLE_1 {
  min-width: 130px;
  margin-left: 5px;
}
/* Input for qty on the right side */
.cord-prddet form#CSSID_FORM_1 table#CELLCON tbody tr.CELLCON_TR.CELLCON_TR_EVEN td.CELLCON_TD_1.CELLCON_CELL_1 table.CELLCON_TABLE_TD_1 tbody tr.PAGE_LAYOUT_TR.PAGE_LAYOUT_TR_ODD td.PAGE_LAYOUT_TD_1.PAGE_LAYOUT_CELL_3 table#CSSID_TABLE tbody tr.CSSID_TABLE_TR.CSSID_TABLE_TR_EVEN td.PAGE_LAYOUT_TD_2.PAGE_LAYOUT_CELL_4 table#CSSID_TABLE_1 tbody tr.PAGE_LAYOUT_TR.PAGE_LAYOUT_TR_EVEN td.PAGE_LAYOUT_TD_1.PAGE_LAYOUT_CELL_5 table#CSSID_TABLE_2 tbody tr.CSSID_TABLE_2_TR.CSSID_TABLE_2_TR_EVEN td.CELL6 font b input {
  width: 30px;
}

/* Product tables */
table#PRODS {
  font-size: 0.9em;
  table-layout: fixed;
  white-space: normal;
  word-wrap: break-word;
}

table#PRODS tr.PRODS_TR td input {
  width: 60%;
}

table#PRODS tr.PRODS_TR td:last-child img {
  max-width: 100%;
  height: auto;
}

#spnet_category_list.has_image ul {
	margin: 0;
}

#spnet_category_list.has_image div.description_text {
	height: auto;
  position: relative;
}

/* search block */
#block-spnet-2 {
  display: inline-block;
	float: right;
}

#block-spnet-2 a {
	color: white;
}

#block-spnet-2 div, #block-spnet-2 form {
	display: inline !important;
}

#block-spnet-2 h2 {
	display: inline;
	font-size: 1em;
	color: white !important;
	font-weight: bold
}

#block-spnet-2 input.search {
	width: 140px;
	font-size: 1em;
}

#block-spnet-2 input.submit {
	position: relative;
	top: 2px;
}

/* Product menu */
#block-spnet-1 ul {
  padding: 0;
}
#block-spnet-1 ul li {
  list-style: none;
  margin: 0;
}
#block-spnet-1 ul li a {
    background-color: #67AAD4;
    border-top: 1px dashed white;
    color: white !important;
    display: block;
    font-weight: normal;
    padding: 0.5em;
}
#block-spnet-1 ul li.depth1 a {background-color:  #498CB6; }
#block-spnet-1 li a.active {
    background-color: #8DC73F;
    font-weight: bold;
}

#block-spnet-1 ul li a:hover {
    background-color: #9bbed3;
    text-decoration: none;
}

#block-spnet-1 li.depth2 { margin-left: 1em; }
#block-spnet-1 li.depth3 { margin-left: 2em; }
#block-spnet-1 li.depth4 { margin-left: 3em; }
#block-spnet-1 li.depth5 { margin-left: 4em; }
#block-spnet-1 li.depth6 { margin-left: 5em; }
#block-spnet-1 li.depth7 { margin-left: 6em; }
#block-spnet-1 li.depth8 { margin-left: 6.4em; }
#block-spnet-1 li.depth9 { margin-left: 6.5em; }

div#content #spnet_category_list li a:link, div#content #spnet_category_list li a:visited {
	color: #555;
}


#spnet_category_list.has_image > ul > li {
  height: 190px;
	width: 31%;
	padding: 0 1% !important;
  overflow: hidden;
}
@media screen and (max-width: 440px) {
  #spnet_category_list.has_image > ul > li {
    width: 48%;
  }
}
#spnet_category_list.has_image div.category_image {
  position: relative;
  bottom: 0;
  height: auto;
}

#spnet_category_list div.no_image {}

h2.spnet_category_list_heading {text-align: center; font-size: 125%}


/* credit cards block */
#block-block-9.block {
  padding: 0;
}

a:link,
a:visited,
a:hover,
.title, .title a,
.submitted,
.links,
.node .taxonomy,
#aggregator .news-item .categories, #aggregator .source, #aggregator .age,
#forum td .name,
div.admin-panel .description {
  color: #104A91;
}

div#content {
  background: #fff;
}

div#content a,
div#content a:link,
div#content a:visited {
   color: #8DC73F;
}

div#content a.readon,
div#content a:visited.readon,
div#content a:hover.readon {
	background: #104A91;
	color: #fff;
}

div#content .title,
div#content h2 {
	color: #8DC73F;
}

/* shopping cart move */
#extra_content {
	clear: both;
}

#spnet_category_list {
	padding-left: 22%;
	clear: both;
}
#spnet_category_list.has_image {
	padding-left: 0;
}

#spnet_category_list li.leaf {
	padding-left: 0.5em;
}

/* Contact us form elements responsive */
div#page.no-left-menu div#content div#main div#node-105 div.content form#webform-client-form-105.webform-client-form div div div.form-item input {
  max-width: 94%;
}



@media screen and (max-width: 800px) and (min-width: 612px) {
  div#navigation {
    height: 50px;
  }
}

@media screen and (max-width: 612px) {
  div#navigation {
    height: 140px;
  }
  div.primary_links li {
    display: block;
    text-align: left;
  }
  #primary {
    padding-right: 0;
  }
  #sidebar-left {
    width: 98% !important;
    float: none;
    margin: 1%;
  }
  #block-spnet-1 ul {
    height: 150px;
    overflow: auto;
  }
  #main {
    width: 98% !important;
    float: none;
    margin: 1%;
  }
  #block-spnet-2 {
    float: none;
    margin-bottom: 10px;
  }
  #primary a {
    border: 0;
  }
  div#page.no-left-menu div#sidebar-right {
    float: none;
    margin: 2%;
    overflow: hidden;
    width: 96%;
  }
  .login-button {
    display: inline-block;
  }
}
