/**
* Main css file for Texmate, Inc Website.
*
* NB: We are using Blurprints CSS for a CSS Framework.
**/

/* Set the grid to be on the left of the page */
body {
    margin-top: 0px;
    background-color: #d6d6d6;
    background-image: url(../img/page-bg-stars-stripes-meter.jpg);
    background-repeat: no-repeat;
    background-position: top left;
    font-size:80%;
    color:#333;
    /*font-family: Arial, "Helvetica Neue", Helvetica, Arial, sans-serif; /* Override Default Blueprint CSS fonts */
}
.container {
    margin-left: 0px;
}

a {
    color: #2e406b;
    font-weight: bold;
}
a:hover {
    -webkit-transition: all 0.2s linear;
}
/* Header font overrides: links in headers are all bold */
/*h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
    font-weight: bold;
}*/
h1, h2, h3, h4, h5, h6 {
    font-weight: bold;
}

/*
* Make list elements float left, same as div objects do with the grid
*/
.div {
    float: left;
    margin-left: 0px;
    margin-right: 10px;
}
.div li {
    list-style: none;
}
.header {
    font-weight: bold;
    font-size: 1.5em; line-height: 1; margin-bottom: 1em; /* h3 */
}
.header-small {
    font-weight: bold;
    font-size: 1.2em; line-height: 1; margin-bottom: 1em; /* h4ish */
}

/* header, logo, navigation, and all that stuff */
#header {
    padding-top: 10px;
    height: 62px;
}
#header a {
    font-weight: bold;
    color: #000;
    text-decoration: none;
}
#header a:hover {
    text-decoration: underline;
}
#logo {
    background: url(../img/texmate.24.png) top left no-repeat;
    height: 26px;
}
#logo a {
    display: block;
    width: 100%;
    height: 100%;
    text-indent: -3000px;
}
#local {
    height: 26px;
}
#space {
    height: 10px;
}
/* Navigation */
.nav {
    padding-left: 32px;
    margin-right: 10px;
    width: 100% !important;
    list-style-image: none !important;
}
li.span-2, ul.span-4 {
  float: left;
  margin-right: 10px; 
  margin-left: -10px;
}
li.span-2 {
    width: 80px;
}
li.span-2 ul li {
    width: 130px;
}
.nav li {
    float: left;
    list-style: none;
}
.nav li a {
    width: 100%;
    display: block;
}
.nav li a:hover {
    text-decoration: underline;
}
.nav li ul {
	position: absolute;
	left: -999em;
	background: #fff;
	-webkit-box-shadow: 1px 3px 3px #444;
	-moz-box-shadow: 1px 3px 3px #444;
	box-shadow: 1px 3px 3px #444;
	list-style-image: none !important;
}
.nav li:hover ul {
	left: auto;
}
.nav ul li {
    clear: left;
    padding: 3px 10px 3px 10px;
}
.nav ul li a {
    font-weight: normal !important;
}
/* Mootools Nav Hover Classes */
.hover, #home:hover {
    background: #2e406b;
    margin-left: -20px !important;
    padding-left: 10px !important;
}
#home:hover a, .hover>a {
    color: #fff !important;
}
/* Search */
#go {
    margin-left: 10px;
}
/* Breadcrumbs navigation stuff */
.breadcrumbs {
    background: #2e406b;
    min-height: 54px;
    color: #fff;
}
.breadcrumbs a, .breadcrumbs h1 {
    color: #fff;
    font-weight: bold;
}
.breadcrumbs a:hover {
    color: #991f36;
}
.breadcrumbs p {
    margin-bottom: 2px;
    margin-top: 2px;
}
.breadcrumbs h1 {
    font-size: 2.5em;
}
#content {
    background: #fff; /*NOTE: When live make the bg white, for testing leave transparent to show the grid. */
    padding-top: 15px;
}
.border-right {
    background: url(../img/shadow.right.24.png) top right repeat-y;
    padding-right: 4px;
}

/* Footer */
#footer {
    height: 95px;
    padding-top: 15px; /* 95px + 15px = 120px height */
    background: url(../img/footer.8.png) top left repeat-x #393939;
}
#footer p {
    color: #fff;
}
#footer a {
    text-decoration: none;
    font-weight: bold;
    color: #fff;
}
#footer a:hover {
    text-decoration: underline;
}

/*
Custom lists: larger text
for better visibility and useability.
*/
ul {
    list-style-image: url(../img/arrow.red.24.png);
}
ul.plain {
    list-style-image: none;
}
ul.bigger li a, p.bigger, div.bigger {
    font-weight: bold;
    font-size: 1.2em; line-height: 1.1; margin-bottom: 1em; /* h4ish */
}
ul.pdflist {
    margin-left: 0px;
    margin-right: 0px;
    list-style-position: inside;
    list-style-image: url(../img/pdficon_small.gif);
}
ul li.span-3 {
    float: left;
    margin-right: 10px;
    width: 110px;
}
form ul {
    list-style: none;
}
ul.errorlist {
    border-top: 2px solid #991f36;
    color: #991f36;
    font-weight: bold;
    list-style-image: url(../img/arrow.red.24.png);
    list-style-position: inside;
    background: #fae1e1;
    margin-left: 0px;
    margin-right: 0px;
    padding-left: 2px;
    padding-top: 3px;
    padding-bottom: 2px;
}
th, td {
    vertical-align: top;
}
/*
* Code snippets
*/
code, pre {
    color: #991f1f;
    background-color: #f0f0f0;
}
pre {
    padding: 5px;
    white-space: pre-wrap;
    -moz-border-radius: 5px !important;
    -webkit-border-radius: 5px !important;
}
.highlightcode pre {
    color: #000;
}
.linenos pre {
    color: #408080;
}
.box pre {
    background-color: transparent;
    color: #000;
    padding: 0px;
    font-size: 1.2em;
}
.deepblue pre.box { /* This is the Distributor configuration Meter Code display box */
    background: #fff;
    padding-left: 2px;
}
/*
Custom sidebar stuff
*/
.tiger {
    background: url(../img/vert-tiger.jpg) top left no-repeat #2e406b;
}
.leopard {
    background: url(../img/vert-leopard.jpg) top left no-repeat #2e406b;
}
.lynx {
    background: url(../img/vert-lynx.jpg) top left no-repeat #2e406b;
}
.literature {
    background: url(../img/vert-literature.jpg) top left no-repeat #2e406b;
}
.colorbox a, .colorbox h2, .colorbox h3, .colorbox h4 {
    color: #fff;
}
.colorbox a:hover {
    color: #991f36;
}
.colorbox, .box {
    -moz-border-radius: 8px;
    -webkit-border-radius: 8px;
    border-radius: 8px;
}
.box-border {
    border: 3px solid #2e406b;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
}
/* Use a .colorbox to create a colored box inside a column.  */ 
.colorbox {
    background: #e97e00;
    color: #fff;
    margin-right: 5px;
}
.deepred, .errorbox { background: #991f1f; }
.deepred a:hover, .errorbox a:hover { color: #000; }
.red { background: #00a4e9; }
.green { background: #afe900; }
.blue { background: #00a4e9; }
.deepblue { background: #2e406b; }
.white { background: #fff; }
.orange { background: #e97e00; }
.paleblue { background: #f1f4f8; }
.errorbox {
    -moz-border-radius-topright: 0;
	-moz-border-radius-topleft: 0;
	-webkit-border-top-right-radius: 0;
	-webkit-border-top-left-radius: 0;
	border-top-right-radius: 0;
	border-top-left-radius: 0;
}
p img.border {
    border: 3px solid #2e406b;
}
p img.nofloat {
    float: none;
}
p.spaced {
    line-height: 2em;
}
.fontwhite, .fontwhite a {
    color: #fff !important;
}
.fontwhite a:hover {
    color: #000 !important;
}
.fontblack, .fontblack a {
    color: #000 !important;
}
.fontblack a:hover {
    color: #fff !important;
}
li>strong.fontblack {
    background-color: white;display:inline-block;
    width: 100%;
    -moz-border-radius-topright: 5px;
	-moz-border-radius-topleft: 5px;
	-webkit-border-top-right-radius: 5px;
	-webkit-border-top-left-radius: 5px;
	border-top-right-radius: 5px;
	border-top-left-radius: 5px;

}
.inline-block {
    display:inline-block;
}
.normal { font-weight: normal; }
/*
Accordion
*/
#accordion, #accordion2 {
	margin: 20px 0px;
	font-weight: normal !important;
}
.toggler, .togglerB, .toggler-no { /* Used for h2, h3, h4 classes. */
	cursor: pointer;
	border-top: 1px solid #f5f5f5;
	border-right: 1px solid #f5f5f5;
	border-left: 1px solid #f5f5f5;
	border-right-color: #ddd;
	border-bottom-color: #ddd;
	background: #D2E0E6;
	color: #2e406b;
	margin: 0 0 2px 0;
	padding: 3px 5px 5px;
	-moz-border-radius-topright: 10px;
	-moz-border-radius-topleft: 10px;
	-webkit-border-top-right-radius: 10px;
	-webkit-border-top-left-radius: 10px;
	border-top-right-radius: 10px;
	border-top-left-radius: 10px;
}
.toggler-no {
    cursor: auto;
    color: #000;
}
div.element p, div.elementB p, div.element h4, div.elementB ol,
.elementbox p, elementbox h4, .elementbox ul {
	margin:0px;
	padding:4px;
}
.elementbox ol {
    padding-left: 10px;
    padding-bottom: 4px;
}
.elementbox {
    -moz-border-radius-bottomleft: 8px;
    -moz-border-radius-bottomright: 8px;
    -webkit-border-bottom-left-radius: 8px;
    -webkit-border-bottom-right-radius: 8px;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    margin-bottom: 2px;
}
.alt {
    background-color: #edf3fe;
    -moz-border-radius-topright: 8px;
    -moz-border-radius-bottomright: 8px;
    -webkit-border-top-right-radius: 8px;
    -webkit-border-bottom-right-radius: 8px;
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
}
.element .alt {
    background-color: #25afe9;
    -moz-border-radius: 8px;
    -webkit-border-radius: 8px;
}
#accordion ul {
    list-style: none;
}

/* Stripes */
.stripe div:nth-of-type(odd), .stripe li:nth-of-type(odd), .stripe td:nth-of-type(odd) {
    background-color: #edf3fe;
}
.stripehover:hover {
    background-color: #edf3fe;
}
div.stripehover:last-of-type:hover {
    -moz-border-radius-bottomright: 8px;
    -webkit-border-bottom-right-radius: 8px;
    border-bottom-right-radius: 8px;
}
th {
    background: #00a4e9;
    color: #fff;
}
/* Rounded corners on Vertically oriented table th arrangements*/
.th-vert tr:first-of-type th {
    -moz-border-radius-topleft: 8px;
	-webkit-border-top-left-radius: 8px;
	border-top-left-radius: 8px;
}
.th-vert tr:last-of-type th {
    -moz-border-radius-bottomleft: 8px;
	-webkit-border-bottom-left-radius: 8px;
	border-bottom-left-radius: 8px;
}
/*
* Download button
*/
.dl {
    -moz-border-radius: 8px;
    -webkit-border-radius: 8px;
    border-radius: 8px;
    background: url(../img/download-arrow.24.png) no-repeat center right #afe900;
    padding-left: 5px;
    padding-top: 5px;
    pading-bottom: 5px;
}
.dl a:hover {
    color: #fff;
}
/*
*
*/
#engsrv9999_price {
    width: 60px;
}
#engsrv9999_description {
    width: 99%
}

/*
* Initial state for Google Checkout getting Shipping Methods for UPS/FedEx shipping rate quotes.
*/
#shippingmethods, #ca_tax_exemption {
    display: none;
}
#ca_tax_exemption label {
    font-weight: normal;
}
#id_special_instructions {
    height: 50px !important;
    width: 540px;
}
#shippingspinner {
    display: none;
}
/*
* Forum (Using CSS3 selectors)
*/
#djangoForums th, #djangoForumThreads th {
    font-size:1.5em;
    line-height:1;
    margin-bottom:1em;
}
#djangoForums th:first-of-type, #djangoForumThreads th:first-of-type {
    -moz-border-radius-topleft: 8px;
	-webkit-border-top-left-radius: 8px;
	border-top-left-radius: 8px;
}
#djangoForums th:last-of-type, #djangoForumThreads th:last-of-type {
    -moz-border-radius-topright: 8px;
	-webkit-border-top-right-radius: 8px;
	border-top-right-radius: 8px;
}

#djangoForumThreadPosts tr:nth-of-type(odd) td {
    background-color: #edf3fe;
    -moz-border-radius-topright: 8px;
	-moz-border-radius-bottomright: 8px;
	-webkit-border-top-right-radius: 8px;
	-webkit-border-bottom-right-radius: 8px;
	border-top-right-radius: 8px;
	border-bottom-right-radius: 8px;
}
#djangoForumThreadPosts tr:nth-of-type(odd) th {
    background-color: #00a4e9;
    -moz-border-radius-topleft: 8px;
	-moz-border-radius-bottomleft: 8px;
	-webkit-border-top-left-radius: 8px;
	-webkit-border-bottom-left-radius: 8px;
	border-top-left-radius: 8px;
	border-bottom-left-radius: 8px;
}
#djangoForumThreadPosts tr:nth-of-type(even) th {
    background-color: transparent;
    color: #222;
}
#djangoForumThreads tr:nth-of-type(odd), #djangoForums tr:nth-of-type(odd) {
    background-color: #edf3fe;
    -moz-border-radius: 8px;
	-webkit-border-radius: 8px;
	border-radius: 8px;
}
#djangoForumThreads tr:nth-of-type(odd) td:first-of-type, #djangoForums tr:nth-of-type(odd) td:first-of-type {
    -moz-border-radius-topleft: 8px;
	-moz-border-radius-bottomleft: 8px;
	-webkit-border-top-left-radius: 8px;
	-webkit-border-bottom-left-radius: 8px;
	border-top-left-radius: 8px;
	border-bottom-left-radius: 8px;
}
#djangoForumThreads tr:nth-of-type(odd) td:last-of-type, #djangoForums tr:nth-of-type(odd) td:last-of-type {
    -moz-border-radius-topright: 8px;
	-moz-border-radius-bottomright: 8px;
	-webkit-border-top-right-radius: 8px;
	-webkit-border-bottom-right-radius: 8px;
	border-top-right-radius: 8px;
	border-bottom-right-radius: 8px;
}

