﻿/* add new style definitions here, not in master.css */

/* Overrides of James' styles; do not edit his files, override them here if necesssary */

div.main.faq h3
{
    text-transform: none;
    margin-bottom: 6px;
}

div.main.faq p
{
    margin-left: 16px;
    margin-top: 0px;
}

div.main.faq p:first-child
{
    margin-left: inherit;
    margin-top: inherit;
}

/* Address and country related */

#billinginfo .submit 
{
    margin: 0px 0 20px 0;    
}

#loader
{	
    width:auto;
    height:auto;
    margin: 0 20px 0 200px;
    float:left;		
    position:absolute;
    display:none;
}

/* Browser warning */
#browser_warning 
{
    margin: 20px 0px 20px 0px;
}

/* Publisher sales stats */
table.sales td
{
    font-weight: normal;
    padding: 4px 10px 4px 0px;
}

table.sales th
{
    padding-bottom: 10px;
    font-weight: normal;
}

table.sales th.title, table.sales td.title
{
    width: 490px;
    font-weight: inherit;
    padding-right: 10px;
}	

table.sales .data
{
    width: 70px;
}

table.sales .data span.zero
{
    color:#837C7C;
}

table.sales tr.magtotals td
{
    font-weight: bold;
    padding-top: 10px;
    border-top: dashed 1px #837C7C;
}

table.sales tr.magtotals td.title
{
    color:#837C7C;
    letter-spacing:0.1em;
    text-transform:uppercase;
    text-align: right;
    font-size: 12px;
    font-style: normal;
    font-weight: normal;
    padding-right: 40px;
}

/* Reduced bottom padding for div.main that has an issue list control */
/* div.main.issuecontrol {
    padding-bottom: 8px;
}*/

/* Context sensitive Edit link */
div.heading .ctxtedit {
	 float: right;
}	

div.blogentry h3.title
{
    font-style: normal;
    font-variant: normal;
    text-transform: none;
    margin-bottom: 2px;
    font-size: 18px;
}
div.blogentry span.date
{
	color: #837c7c;
	 font-weight: normal;
}
div.blogentry p.byline
{
    margin-top: 0px;
     font-size: 12px;
}

/* info, horizontally in div.main instead of in header */
div.main ul.info {
    list-style-type: none;
	margin-top: 0px;
	}
div.main ul.info li {
    display: block;
    float: left;
    width: 25%;
	margin-bottom: 6px;
	line-height: 18px;
	}
div.main ul.info li label {
	color: #837c7c;
	letter-spacing: .1em;
	text-transform: uppercase;
	font-size: 12px;
	}
div.main ul.info li div {
    color:#383131;
	font-size: 14px;
	}
	
/* Shopping cart */
input.text.quantity
{
    width: 32px; 
    margin-right: 8px;
}

a.remove
{
	padding: 0 16px;
	font-weight: bold;
	font-size: 12px;
	line-height: 1em;
	background-repeat: no-repeat;
	background-position: 0 50%;
	background-image: url(/images/icons/unpublish.png);
	text-decoration: none;
}

a.remove:hover {
	background-image: url(/images/icons/unpublish-hover.png);
}

tr.totals td
{
    border-top: solid 1px #cccccc;
}

/* Order Review page */
div.main.ordersummary
{
    width: 300px !important;
}

div .ordersummary ul
{
    margin-bottom: 1em !important;
}

div .ordersummary ul li
{
	list-style-type: none !important;
	list-style-image:none !important;
    list-style-position:outside !important;
    margin-bottom: 0em;
}

div.main.ordersummary ul li.ordertotal
{
    margin-top: 6px !important;
    padding-top: 6px !important;
    border-top: solid 1px #383131 !important;
    font-weight: bold !important;
}

div .ordersummary label
{
    float: left !important;
    width: 200px !important;
	color: #383131 !important;
	margin-right: 0px;
	text-align: left;
}

div.main.ordersummary ul
{
    line-height: 1.2em !important;
}

div.main.ordersummary input 
{
    margin-right: 0px;
    float: none;
}

div form .main.ordersummary p 
{
    margin-left: 0px;
}

div.main.ordersummary label.amt
{
    width: 100px !important;
    text-align: right !important;
	color: #383131 !important;	
}



div.widenotes form ul li span
{
    width: 250px;
}

div.widenotes form ul li input
{
    width: 120px;
}

/*** Used in the shopping cart view ***/
div#leftmain, div#leftmain table {
	width: 500px;
	}
	
div.cart.section.group
{
    margin-bottom: 20px;
}
	
div.rightcallout {
    /*margin-bottom: 20px;   ie7 bug: does not honor bottom margin on float element; so I apply it to the parent: div.cart.section.group */
    border: solid 4px #0e467d;
    float: left;
    margin-right: 0px;
    margin-left: 40px;
    width: 220px;    
    padding: 10px;
}

div.rightheader {
    float: left;
    margin-right: 0px;
    margin-left: 40px;
    margin-bottom: 20px;
    width: 220px;    
    padding: 10px;
}

div.rightheader dt, div.rightcallout dt
{
    font-weight: bold;
    font-size: 90%;
    margin-top: 6px;
}

div.rightheader dd, div.rightcallout dd
{
     margin-left: 20px;
     margin-bottom: 4px;
     font-size: 90%;
}


div.rightheader p, div.rightcallout p
{
    margin-left: 0;
}

.mcstaff
{
    background-color: #FFAAAA;
    padding: 4px;
    font-weight: bold;
}

input.readonly
{
    background-color: #dddddd;
}

/* "plain" forms */
/*form.plain ul {
	margin-top: 8px;
	margin-bottom: 36px;
	}
form.plain ul li {
	margin-bottom: 18px;
	font-size: 16px;
	color: #383131;
	list-style-type: none !important;
	}
form.plain ul label, form ul span.label {
	float: none;
	margin-right: 10px;
	width: 150px;
	text-align: left;
	}
form.plain ul label em {
	color: #837c7c;
	}
form.plain p {
	margin-left: inherit;
	}
form.plain p input {
	float: inherit;
	margin-right: inherit;
	}
form.plain ul li span.notes {
	float: right;
	margin-top: 1px;
	margin-bottom: 6px;
	width: 150px;
	font-size: 12px;
	line-height: 18px;
	color: #837c7c;
	}
form.plain ul strong.result {
	float: left;
	}
form.plain ul input.text, form.plain ul input.password, form.plain ul textarea {
	float: inherit;
	margin-top: -8px;
	width: inherit;
	font-size: 12px;
	}
*/

/* James can merge these into his: */
#menu li.cart a {
	background: url(/images/icons/cart.png) no-repeat 0 50%;
}
#menu li.cart a:hover {
	background-image: url(/images/icons/cart-hover.png);
}
#menu li.cart a {
    display:block;
    padding-left:25px;
}

div.header, div.main {
    padding-bottom: 23px;
}

dl#magazines
{
    padding-bottom: 36px;
}

.actions a.preview {
	cursor: pointer;
	font-size: 12px;
}

.actions a.upload {
	background-image: url(/images/icons/upload.png);
	}
.actions a.upload:hover {
	background-image: url(/images/icons/upload-hover.png);
	}

form li.group.error input.text 
{
    border-color: Red;
}

form li.group div.error, form .formError
{
    margin-left: 160px;
    color: Red;
    display: block;
    font-size: 90%;
    line-height: 120%;
}

form ul li.formErrors
{
	color: Red;
	font-size: 12px;
    margin-top: -5px;
}


/* Orders and order items */
/* orderlist, orderinfolist, orderitem */

.orderlist
{
	line-height: 130%;
}

.orderitem 
{
    margin-left: 20px;
    margin-bottom: 4px;
}

.orderinfolist 
{
	margin-left: 0px;
	line-height: 120%;
}

.orderinfolist dt
{
     text-indent: -20px;
     float: left;
     font-weight: bold;
     margin-bottom: 6px;
}

.orderinfolist dd
{
    clear: left;
}

.orderlist div.address
{
    width: 300px;
}

.orderinfolist a
{
	font-weight: bold;
    text-decoration: none;
}

dl.orderlist dd a.cancel
{
	background-image: url(/images/icons/unpublish.png);
}

dl.orderlist dd a.cancel:hover {
	background-image: url(/images/icons/unpublish-hover.png);
}

dl.orderlist dd.orderseparator
{
     width: 300px;
     margin: 10px 0;
     border-bottom: solid 1px #cccccc;
}

dl.orderlist dd div
{
    float: left;
    width: 100px;
}
	

/* Shipping and billing address formatting */



/* bleed preview */

#bleedPreviewTable 
{
	width: 100%;
	border: 0px;
}

#bleedPreviewTable td 
{
	padding: 4px;
	text-align: center;
}

#bleedPreviewTable .nextNav 
{
	text-align: right;
}

#bleedPreviewTable .prevNav 
{
	text-align: left;
}

/* widgets */

.widgetIframePreview 
{
    border: 1px solid black;
}
