/* 
 * Project Name:	Ace Records
 * Author:			Bureau for Visual Affairs
 * Author URL:		www.bureau-va.com
 * 
 * Resources:
 * github.com/necolas/normalize.css
 * h5bp.com/css
 * 
 * ==|== normalize ==========================================================
 */


/* =============================================================================
   HTML5 display definitions
   ========================================================================== */

audio,
canvas,
video {
    display: inline-block;
    *display: inline;
    *zoom: 1;
}

audio:not([controls]) { display: none; }


/* =============================================================================
   Base
   ========================================================================== */

/*
 * 1. Corrects text resizing oddly in IE6/7 when body font-size is set using em units
 * 2. Keeps page centred in all browsers regardless of content height
 * 3. Prevents iOS text size adjust after orientation change, without disabling user zoom
 */
html {
    font-size: 100%;
    overflow-y: scroll;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

body {
	margin: 0;
	background: #B5B5B5;
	color: #444;
	font-size: 12px;
	line-height: 17px;
	letter-spacing:0.03em;
	font-family: Helvetica, Arial, sans-serif;
}

/* 
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection declarations have to be separate
 * Also: hot pink! (or customize the background color to match your design)
 */
::-moz-selection {
	background: #009cff;
	color: #fff;
	text-shadow: none;
}
	
::selection {
	background: #009cff;
	color: #fff;
	text-shadow: none;
}


/* =============================================================================
   Links
   ========================================================================== */

a,
a:visited {
	color: #444;
	text-decoration: none;
}
a:hover { color: #555; }

a:focus,
a:hover,
a:active { outline: 0; }

/* Underlined */
h1 a,
p a,
dd a,
a.back-to-top,
.numbered a,
.social .content a:hover{
	border-bottom:1px solid #00c0ff;
}

h1 a:hover,
p a:hover,
dd a:hover,
a.back-to-top:hover,
.numbered a:hover{
	color: #00c0ff;
}

/* Button */
.button-link {
	line-height: 30px;
	position: relative;
	padding: 0px 48px 0px 0;
}
.button-link span{
	position: absolute;
	right: 8px;
	top: 50%;
	margin-top: -14px;
}

/* Button links icons */
.button-link span      { background-image: url("../img/template/icon-next.png"); } /* by default, uses right arrrow icon */
.button-link .remove   { background-image: url("../img/template/icon-close.png"); }
.button-link .facebook { background-image: url("../img/template/icon-facebook.png"); }
.button-link .spotify { background-image: url("../img/template/icon-spotify.png"); }
.button-link .twitter  { background-image: url("../img/template/icon-twitter.png"); }
.button-link .rss      { background-image: url("../img/template/icon-rss.png"); }

/* Block  */
.blocks span{
	position: absolute;
	right: 8px;
	top: 50%;
	margin-top: -14px;
}

/* Back to top */
.back-to-top{ 
	float:right; 
	margin-top:7px;
}

/* Footer */
.foot a{ color:#b2b2b2; }
.foot a:hover{ color:#fff; }

/* =============================================================================
   Typography
   ========================================================================== */

b,
strong { font-weight: bold; }

dfn { font-style: italic; }

hr {
	display: block;
	height: 1px;
	border: 0;
	border-bottom: 1px solid #e3e3e4;
	color: #e3e3e4;
	margin: 0;
	padding: 0;
}

q { quotes: none; }

q:before,
q:after {
    content: '';
    content: none;
}


/* =============================================================================
   Lists
   ========================================================================== */

ul,
ol {
	margin: 0;
	padding: 0;
}

ul {
    list-style: none;
    list-style-image: none;
}

dl{ 
	padding:5px 20px 0 20px; 
	overflow:hidden;
	margin-top:0;
}
dt,dd{
	float:left; 
	margin-bottom:10px;
}
dt{
	clear:both;
}
dd span{ 
	display:block; 
	color:#737373;
}

/* =============================================================================
   Embedded content
   ========================================================================== */

/*
 * 1. Improve image quality when scaled in IE7
 * 2. Remove the gap between images and borders on image containers
 */
img {
    border: 0;
    -ms-interpolation-mode: bicubic;
    vertical-align: middle;
}

/* Corrects overflow displayed oddly in IE9 */
svg:not(:root) { overflow: hidden; }

/* =============================================================================
   Forms
   ========================================================================== */

form { margin: 0; }

fieldset {
	border: 0;
	margin: 0;
	padding: 0;
}

legend {
	border: 0;
	*margin-left: -7px;
	padding: 0;
}

/*
 * 1. Corrects font size not being inherited in all browsers
 * 2. Addresses margins set differently in IE6/7, FF3+, S5, Chrome
 * 3. Improves appearance and consistency in all browsers
 */
button,
input,
select,
textarea {
    font-size: 12px;
    font-family: Helvetica, Arial, sans-serif;
    color: #333;
    margin: 0;
    vertical-align: baseline;
    *vertical-align: middle;
}

/*
 * 1. Define line-height as normal to match FF3/4 (set using !important in the UA stylesheet)
 * 2. Correct inner spacing displayed oddly in IE6/7
 */
button,
input {
	line-height: normal;
	*overflow: visible;
}

/* Reintroduce inner spacing in 'table' to avoid overlap and whitespace issues in IE6/7 */
table button,
table input { *overflow: auto; }

/*
 * 1. Improves usability and consistency of cursor style between image-type 'input' and others
 * 2. Corrects inability to style clickable 'input' types in iOS
 * 3. Removes inner spacing in IE7 without affecting normal text inputs
 *    Known issue: inner spacing remains in IE6
 */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
    cursor: pointer;
    -webkit-appearance: button;
    *overflow: visible;
}

/*
 * 1. Addresses box sizing set to content-box in IE8/9
 * 2. Removes excess padding in IE8/9
 */
input[type="checkbox"],
input[type="radio"],
input.checkbox{
	box-sizing: border-box;
	padding: 0;
	border:0 !important;
}

/*
 * 1. IE8 and under - shift down checkboxes
 */
.oldie .checkbox{
	position:relative;
	top:4px;
	outline:none;
}

/*
 * 1. Addresses appearance set to searchfield in S5, Chrome
 * 2. Addresses box-sizing set to border-box in S5, Chrome (include -moz to future-proof)
 */
input[type="search"] {
    -webkit-appearance: textfield;
    -moz-box-sizing: content-box;
    -webkit-box-sizing: content-box;
    box-sizing: content-box;
}

/* Removes inner padding that is displayed in S5, Chrome on OS X */
input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; }

/* Removes inner padding and border in FF3+ */
button::-moz-focus-inner, input::-moz-focus-inner {
    border: 0;
    padding: 0;
}

/*
 * 1. Removes default vertical scrollbar in IE6/7/8/9
 * 2. Improves readability and alignment in all browsers
 */
textarea {
    overflow: auto;
    vertical-align: top;
    resize: vertical;
}



/* ==|== primary styles =====================================================
   Author: Gemma Leigh
   ========================================================================== */

/* =============================================================================
   Layout
   ========================================================================== */
.head,
.mod,
.wrapper,
.foot { 
	width: 959px;
	margin:0 auto;
	background: #D9D9D9;
	border: 5px solid #D9D9D9;
	zoom:1;
	margin-bottom:1px;
}

.content-main{
	width:100%;
	float:left;
	background:#e3e3e4;
}

.content-main.f8{
	background: #f8f8f8;
}

.grid-split .divider {
	min-height: 150px;
}

/* Faux grey sidebar (full height) */
/* If a sidebar exists within content-main, it must have a .bg class*/
.content-main.bg{
	background:#f8f8f8 url("../img/template/sidebar.gif") 0 0 repeat-y;
}

.sidebar{
	width:255px;
	float:left;
}

.main {
	width: 703px;
	float: right;
	margin-left:1px;
	background:#e3e3e4;
}

/* =============================================================================
   Typography
   ========================================================================== */

p    { margin: 0 0 17px 0; }

/* Better Helvetica */
h1,
h2{
	font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
	font-weight: 700;
}

h1, h2, h3, h4{ color:#515151; }

/* Headings */
h1,
h2 {
	font-size:20px;
	margin: 0;
}

h1.med,
h2.med,
h3{
	font-size:16px;
	line-height:17px;
	margin-bottom:17px;
}

h2.question{
	padding-top:7px;
}

h3 { 
	font-weight:bold;
}

.item h3,
h4 {
	font-size: 12px;
	line-height: 17px;
	margin:0;
}

.foot h4{
	font-weight:normal;
	color:#fff;
}

/* =============================================================================
   Header
   ========================================================================== */
.head{ 
	margin-bottom:18px;
}

.head-logo{
	float:left;
	display:block;
	margin:25px 0 0 20px;
}

.head-nav{
	width:418px;
	float:right;
	margin-bottom:5px;
}

.head .blocks{
	float:right;
}

.head .blocks a{
	position: relative;
	float: left;
	
	display:block;
	white-space: nowrap;
	
	padding: 4px 50px 4px 14px;
	
	background: #faf9f9;
	height:30px;
	line-height:30px;
}
.head .blocks a:hover,
.head .blocks a.active {
  background: #eaffc1;
}

.head-nav .nav{
	float:right;
	margin-bottom:1px;
}

.head-nav .nav li{
	float:left;
	background:#faf9f9 url("../img/template/header-divider.gif") top right no-repeat;
	padding-right:1px;
}

.head-nav .nav li.last{
	background:none;
	padding-right:0;
}

.head-nav .nav li a{
	display:block;
	padding:6px 0 10px 0;
	background:#faf9f9;
	border-top:8px solid #faf9f9;
	margin-top:-6px;
	min-width:81px;
	text-align:center;
}

.head-nav .nav li a:hover,
.head-nav .nav li.active a{
	border-top-color:#eaffc1;
}

.head-nav .bl-basket{
	margin-left:1px;
	width:141px;
}

.head-nav .bl-saved{
	width:139px;
}

/* =============================================================================
   Navigation
   ========================================================================== */
.nav-bar {
	float: left;
	width: 100%;
	background: #7d8088;
}

.nav-bar .nav {
	float: left;
	border-right: 1px solid #92949b;
}

.nav-bar .nav li {
	font-size: 13px;
	letter-spacing:1px;
	float: left;
	position: relative;
	
	min-height: 55px;
	line-height: 55px;
	border-right: 1px solid #7d8088;
	background: #535761;
}

.nav-bar .nav li.last {
  border-right: 0;
}

.nav li.active {
  background: transparent;
}

/* CSS triangles */
.nav li.active .tip, 
.nav li a:hover .tip {
  display: block;
  width: 0;
  height: 0;
  border-left: 16px solid transparent;
  border-right: 16px solid transparent;
  border-top: 16px solid #D9D9D9;
  position: absolute;
  left: 50%;
  bottom: -17px;
  margin-left: -14px;
}
.nav li.active .tip em, 
.nav li a:hover .tip em {
  display: block;
  width: 0;
  height: 0;
  border-left: 11px solid transparent;
  border-right: 11px solid transparent;
  border-top: 11px solid #EAFFC1;
  margin-top: -17px;
  margin-left: -11px;
}

.nav-bar a {
	display:block;
	padding: 0 15px 0 14px;
	color: #ffffff;
}

.nav-bar a:hover {
  background-color: #eaffc1;
  color: #333333;
}

.nav-bar .active a, 
.nav-bar .active a:hover {
  color: #333333;
  background-color: #eaffc1;
}

/* =============================================================================
   Search
   ========================================================================== */
.search{
	height: 42px;
	padding-top:13px;
	padding-right:8px;
	margin-bottom: 0;
}
.search .text {
	width:140px;
	float:left;
	margin: 4px 0 0 15px;
	color:#515662;
}

/* =============================================================================
   Tabs
   ========================================================================== */
.tabs{
	clear:both;
	background:#e3e3e4 url("../img/template/bg-tabs.png") bottom left repeat-x;
	margin-top:-1px;
	overflow:hidden;
}
.tabs.no-bg{
	margin-top:0;
}

.tabs li{ 
	float:left;
	
	display:inline-block;
	*display:inline;
	*zoom:1;
	
	line-height:46px;
	background:#c2c2c4;
	
	border:1px solid #e3e3e4;
	border-bottom:0;
	
	-webkit-box-shadow: inset 0px -4px 5px #B5B5B5;
	-moz-box-shadow: inset 0px -4px 5px #B5B5B5;
	box-shadow: inset 0px -4px 5px #B5B5B5;
	
	margin-left:-1px;
	padding-bottom:1px;
	overflow:hidden;
}

/* Fallback bottom gradient for tabs */
.oldie .tabs li{
	background:#c2c2c4 url("../img/template/bg-tab.png") bottom left repeat-x;
}

.tabs li.active{
	background:#FFF; 
	margin-bottom:-1px;
	
	-moz-box-shadow: none;
	-webkit-box-shadow: none;
	box-shadow: none;
}

.tabs li a{
	display:block;
	padding:0 21px;
}
.tabs li a:hover{
	color:#333;
}

/* Tabs with a lighter background */
.tabs.bg{
	background: url("../img/template/bg-tabs-light.png") bottom left repeat-x;
}
.tabs.bg li{
	border-color:#F8F8F8;
}

/* Tabbed content header */
.tabs-head {
	background-color: #fff;
	padding: 18px 15px 6px 15px;
}
.tabs-head h3,
.tabs-head p {
	margin: 0;
}
.tabs-head h3 {
	padding-bottom: 11px;
}
.tabs-head p {
	padding-bottom: 9px;
}

/* Tabbed content area*/
.tabs-wrap .content{
	background:#fff;
	margin-bottom:15px;
	padding-top:20px;
}
.no-bg .tabs-wrap .content{
	margin-bottom:0;
}

/* Alphabetical filter */
.filter { 
	background:#fff;
	float:left;
	width:100%;
	margin-bottom:1px;
}
.filter li{ 
	line-height:46px; 
	display:inline;
}
.main .filter li a{ 
	margin-left:13px;
}
.filter li a{
	margin-left:23px;
}
.filter li.active a,
.filter li a:hover{ 
	border-bottom:2px solid #ccc;
}

.filter p {
	margin: 0;
	padding: 14px 21px 15px 21px;
}

/* =============================================================================
   Pagination
   ========================================================================== */
.pagination {
	clear:both;
	background:#F8F8F8;
	height:46px;
	position:relative;
}

.pagination ul {
	width:auto;
	float:right;
	height:46px;
	margin-right:70px;
}

.pagination li {
	display: inline-block;
	*display:inline;
	*zoom:1;
	padding:15px 7px 0 0;
	vertical-align:middle;
}

.pagination a {
	float: left;
	text-decoration: none;
	border-bottom:1px solid #f8f8f8;
}
.pagination .active a{
	font-weight:bold;
}
.pagination .active a,
.pagination a:hover{
	border-bottom:1px solid #969696;
}

.pagination .buttons{
	position:absolute;
	right:8px;
	top:9px;
}

/* =============================================================================
   Buttons
   ========================================================================== */
.button,
.button-link span{
	display:block;
	width:29px !important;
	height:0px;
	padding-top:28px;
	overflow:hidden;
	text-decoration:none;
	border-bottom:none !important;
	cursor: pointer; /* hand-shaped cursor */
	background-repeat:no-repeat;
	background-position:top left;
	background-color:transparent;
}

.button:hover,
.box-button:hover .button,
.button-link:hover span,
.blocks a:hover span{
	background-position:left -30px !important;
}

.button.next,
.button.submit   { background-image: url("../img/template/icon-next.png"); }
.button.prev     { background-image: url("../img/template/icon-previous.png"); }

.button.zoom     { background-image: url("../img/template/icon-zoom.png"); }
.button.close    { background-image: url("../img/template/icon-close.png"); }

.button.play-grey    { background-image: url("../img/template/icon-play-grey.png"); }
/*.button.jp-pause  { background-image: url("../img/template/icon-play.png"); }*/
.button.jp-pause  { background-image: url("../img/template/icon-stop-grey.png"); }

.back .button.prev { background-image: url("../img/template/icon-previous-grey.png"); }

/* Prev / Next */
.buttons .button { 
	float:left; 
	margin-left:2px;
}
.buttons .button.show {
	display:block;
}
/* Submit input */
.button.submit{
	float: right;
	border: 0;
	padding:0;
	text-indent:-99em;
	height:28px;
	line-height:0px; /* ie7 hide text */
}

/* Submit label */
.submit-wrap {
	float: right;
}

.submit-wrap label {
	float: left;
	line-height: 30px;
	padding: 0 10px 0 0;
}


/* =============================================================================
   Sidebar
   ========================================================================== */
.sidebar-nav li{ 
	margin-right:20px;
	padding-left:20px;
	border-bottom:1px solid #e3e3e4;
	line-height:35px;
}

.sidebar-nav li.last{
	border-bottom:none;
}

.sidebar-nav li ul{ 
	margin-left:-20px;
	border-top:1px solid #e3e3e4;
	margin-bottom:-1px;
}
.sidebar-nav li.active li{
	font-weight:normal;
} 

.sidebar-nav li.active li.active{
	font-weight:bold;
} 

.sidebar-nav li li{ 
	padding-left:40px;
	margin-right:0;
}

.sidebar-nav li.active{ 
	font-weight:bold;
	background-color:#f8f8f8;
	background-image:url("../img/template/nav-sub-active.png");
	background-position:left 11px;
	background-repeat:no-repeat;
}

.sidebar-nav li a:hover {
	color: #00c0ff;
}


/* =============================================================================
   Content
   ========================================================================== */
/* Content headline blocks*/
.content-head,
.content-foot{
	width:100%;
	float:left;
	background:#F8F8F8;
}
.content-head{
	margin-bottom:1px;
}

/* Content headlines - 64px */
.content-head h1,
.content-head h2{ 
	line-height:64px; 
	margin-left:16px;
	float:left;
	width:75%;
}

.grid-6 .content-head h2 {
	width: 60%;
}

.grid-split .content-head h1,
.grid-split .content-head h2 {
	width: auto;
}

/* Headline buttons/links */
.content-head .buttons{
	margin-top: 18px;
	float: right;
	margin-right: 8px;
	display: inline-block;
}

.content-head .button-link,
.content-foot .button-link{
	float:right;
	line-height:64px;
}

/* Section dividing titles */
.title{
	text-indent:16px;
	background:#f8f8f8;
	margin:1px 0 0 0;
	line-height:44px;
}

/* Padded dividing blocks */
.divider{
	background:#fff;
	border-top:1px solid #e3e3e4;
	padding:15px 0;
	overflow:hidden;
}
/* No pading, just a top line */
.row.divider{
	padding:0;
}

/* Repeating content blocks */
.content {
	padding: 15px 15px 0 15px; 
	background: #f8f8f8;
	position:relative;
}
.content.no-bg{
	background:#fff;
}
.content.release-content {
	background: #eeeeef;
}
.content .inner{
	width:539px;
	float:left;
}

/* Increase spacing under top blocks */
.content.top{
	padding-bottom:15px;
}
.content.top p{
	margin-right:20px;
}

/* Remove spacing on single para blocks */
.content.intro{
	padding-bottom:6px;
}

.content p.first,.content div.first p{
	color:#000;
}

/* Features - Image blocks with titles */
.feature {
	width:703px;
	position:relative;
	overflow:hidden;
	background:#e3e3e4;
	padding-bottom:1px;
}
.feature img{
	float:left;
}
.feature.feature-page {
	height:290px;
}
.feature.feature-page img {
	float:none;
}
.content hr,.content ul,.content ol {
	margin-bottom:17px;
}
.list .feature{
	padding-bottom:0;
}
.list-placeholder {
	width:289px;
	height:160px;
	background:#D9D9D9;
	display:block;
}
/* Feature headline */
.feature-head{
	background:#f8f8f8;
	
	position:absolute;
	left:9px;
	top:0;
	
	width:296px;
	padding:21px 16px;
}
.feature-head h1,
.feature-head h2{
	margin-bottom:0;
}
.feature-head p{
	margin:7px 0 0 0;
}

/* Small - Artist page carousel */
.carousel{
	padding:15px;
	background:#F8F8F8;
}
.carousel-image{
	position:relative;
}
.carousel-nav{
	position:absolute;
	right:10px;
	bottom:10px;
}
.carousel-nav a{
	margin-left:2px;
}

/* Horizontal thumbs */
.carousel-thumbs{
	background: #e3e3e4 url("../img/template/carousel-thumb.png") -1px 0 repeat-x;
	overflow:hidden;
}

.carousel-thumbs ul{ 
	margin-top:1px;
}

.carousel-thumbs li{
	width:64px;
	height:63px;
	float:left;
	position:relative;
	z-index:1;
}

.carousel-thumbs li img{
	position:absolute;
	left:0;
	top:0;
	z-index:2;
}

.carousel-thumbs li a{
	display:block;
	width:55px;
	height:55px;
	
	position:absolute;
	left:0;
	top:0;
	z-index:3;
	
	/* http://stackoverflow.com/questions/1841842/ie8-navigation-links-not-working*/
	/* ie7/8 requires a background image for links to be clickable */
	background:url("../img/template/fix.gif") 0 0 no-repeat;
	border:4px solid transparent;
}
.carousel-thumbs li a:hover,
.carousel-thumbs li.active a{
	border-color: #00c0ff;
}

/* Vertical thumbnails */
.carousel-thumbs.vert{
	width:64px;
	float:left;
	background:url("../img/template/carousel-thumb.png") -1px -1px repeat;
	height:383px;
}
.carousel-thumbs.vert ul{
	margin-top:0;
}
.carousel-thumbs.vert li{
	height:63px;
	margin-bottom:1px;
}
#loader { 
	background:url("/layout/img/template/ajax-loader.gif") no-repeat;
	height:40px;
	width:40px;
	float:right;
	margin-top:10px;
}
/* =============================================================================
   Rows of products 
   ========================================================================== */
.items{
	float:left;
	border-bottom:1px solid #D9D9D9;
	margin-top:-1px;
}
.items.divider{
	padding:0;
}

.item-row{
	background-position:0 0;
	background-repeat:repeat-y;
	border-top:1px solid #D9D9D9;
}
.item-row.top{
	border-top:0; /* hide top border if there are tabs above */
}

/* White - 5 columns */
.item-row{
	background-image: url("../img/template/grid-five-col.png");
}

/* Light grey  - 5 columns */
.light .item-row{
	background-image:url("../img/template/grid-five-col-light.png");
	border-color:#E3E3E4;
}

/* Mid grey  - 5 columns */
.mid .item-row{
	background-image:url("../img/template/grid-five-col-mid.png");
	border-color:#dcdcdd;
}

/* Dark grey - 5 columns */
.dark .item-row{
	background-image:url("../img/template/grid-five-col-dark.png");
	border-color:#bfbfbf;
}

/* White - 3 columns with 1 narrower column first (127px)*/
.main .item-row{
	background-image:url("../img/template/grid-four-col.png");
}

/* Dark grey  - 3 columns - wider items */
.dark-cols-3 .item-row{
	background-image:url("../img/template/grid-three-col-dark.png");
}
.dark-cols-3 .content-head{
	background:#D4D4D4;
	border-bottom:1px solid #c2c2c2;
	margin-bottom:0;
}

.item{
	float:left;
	width:191px;
	margin-right:1px;
	min-height:255px;
	height:auto !important;
	height:255px; /* ie6 sees height as min-height */
	padding-bottom: 10px;
	position:relative;
	overflow:hidden;
}

.item a{
	display:block;
}

.item img{
	margin:15px 15px 10px 15px;
	border: 1px solid #e0e0e0;
}

.item h2{ 
	padding:16px 16px 0 16px;
}

.item h3, 
.item p {
  margin: 0 30px 0 15px;
  color: #494949;
}

.item.light h3, 
.item.light p {
  color: #ffffff;
}

.item a:hover h3{
	text-decoration:underline;
}


.item p.artist {
  color: #777;
}

.item p.format {
  color: #484848;
}

.item .button-link {
	display: block;
	width: 100%;
	padding:8px 0;
	text-indent: 16px;
}

/* Item components */
.item-head{
	position:absolute;
	left:16px;
	top:16px;
	padding-top:10px;
}
.item-head h3{
	font-size:24px;
	line-height:30px;
}
.item-head p{
	font-size:18px;
	line-height:30px;
}

/* Narrow/empty items */
.item.first{ 
	clear:both; 
	width:127px; 
}

/* Shorter items */
.items.results{
	border-bottom:0;
}
.results .item{
	min-height:251px;
	height:251px; /* ie6 sees height as min-height */
}

/* Rightmost item in a row */
.item.last { 
	margin-right:0;
}

/* Offers */
.offer{
	margin:5px 0 15px 0;
	border:1px solid #00c0ff;
	background:#fff;
	padding:5px 10px;
}
.offer a{
	color:#00c0ff;
}
.item .offer{ 
	margin-left:15px; 
	margin-right:15px;
}

/* =============================================================================
   Modules - related content
   ========================================================================== */
/* Module headlines - 56px */
.mod .content-head h1,
.mod .content-head h2{ 
	line-height:56px; 
}
.mod .content-head .buttons{
	margin-top:14px;
}

/* Light grey */
.light .content-head{
	background:#f8f8f8;
}
.light .item-row{
	border-color:#DBDBDC;
}
	
/* Mid grey */
.mid .content-head{
	background:#EEEEEF;
}
.mid .item-row{
	border-color:#D9D9D9;
}

/* Dark grey */
.dark .content-head{
	background: #d4d4d4;
}
.dark .item-row{
	border-color:#c2c2c2;
}

/* Saved items */
.saved .content-head h1,
.saved .content-head h2{
	line-height:64px; 
}

.saved .item{
	position:relative;
	padding:30px 0 40px 0;
}
.saved .button-link{
	position:absolute;
	bottom:0;
	left:0;
	top:auto;
}
.saved .button-top{
	position:absolute;
	left:0;
	top:0;
	bottom:auto;
}
.saved .content-head .button-link,
.saved .content-foot .button-link{
	position:relative;
}

/* =============================================================================
   List
   ========================================================================== */

.list{
	float:left;
	width:100%;
	background:#e3e3e4;
	margin-bottom:1px;
}

.list li{
	background:#f8f8f8;
	overflow:hidden;
	margin-top:1px;
}

/* Fix doubling up of top margin when pager is empty */
.list.news li:first-child {
	margin-top: 0;
}

.news-list .pagination:first-child {
	margin-bottom: 1px;
}

.list h1,
.list h2{
	margin:15px 15px 0 15px;
}

.list p {
	margin:0 15px 2px 15px;
}

.list p.date {
	color: #515151;
	padding: 3px 0 4px 0;
}

/* Lists containing feature blocks*/
.list.features{ 
	margin-top:-1px;
	margin-bottom:0;
}
.list .feature{ 
	margin-bottom:0;
}
.list .feature h2{ 
	margin-left:9px; 
	margin-top:0;
}

/* Lists of releases - item blocks, then text */
.list.releases {
	margin-bottom:0;
}
.list.releases .item{ 
	margin-right:0;
}
.list.releases .desc p{ 
	margin-right:90px; 
	margin-left:0;
}

.item-wrap {
	width: 191px;
	float: left;
}
.item-wrap .item {
	float: none;
}

.releases-head h3 {
	margin-left: 15px;
	margin-right: 15px;
}

/* FAQ */
.numbered{
	list-style:decimal-leading-zero;
	padding-bottom:17px;
	margin-left:24px;
}
.numbered li{
	line-height:30px;
}
.numbered li a{
	margin-left:5px;
}
.generic-content p,.generic-content ul,.generic-content ol,.generic-content hr {
	width:675px;
}

/* Generated lists */
/* Bulleted */
.rich-text ul{
	list-style:disc;
	margin-left:15px;
}
.rich-text li{
	margin-bottom:10px;
}

.rich-text li a{
	border-bottom: 1px solid #00C0FF;
}

/* Numbered */
.rich-text ol{
	margin-left:20px;
}

/* =============================================================================
   Description text areas
   ========================================================================== */
.desc{ 
	width:512px; 
	float:left;
}
.desc h3{
	margin:15px 0;
}
.desc p{
	margin-bottom:17px;
}
.desc p.tags{
	margin-right:0;
}
.desc-img{
	float:right;
	text-align:right;
	width:127px;
}

/* =============================================================================
   Image
   ========================================================================== */

.image-wrap { padding: 15px; }
.image-wrap img { border: 1px solid #e0e0e0; }

/* Images with captions */
.figure p { 
	color:#515151; 
	padding-top:10px;
}

/* =============================================================================
   Footer
   ========================================================================== */
.foot{ 
	margin-bottom:100px;
}

.foot-nav{
	background:#757575;
	padding-top:17px;
	padding-bottom:40px;
}

.foot-nav li{
	width:174px;
	float:left;
	padding-left:17px;
}

.foot-nav li li{
	width:100%;
	padding-left:0;
}

.foot .foot-bar{
	margin-top:1px;
	height:40px;
	line-height:40px;
	overflow:hidden;
}

.foot-bar p{
	float:left;
	color:#d4d4d4;
	width:856px;
	padding-right:25px;
	text-align:right;
	background:#5f5f5f;
}

.foot-bar a.worldpay{
	border:none;
	margin-right:342px;
}

/* =============================================================================
   Social
   ========================================================================== */
/* Footer icons */
.social{
	float:right;
	background: #e3e3e4;
	margin-bottom:0;
}
.social li{
	float:left;
	width:38px;
	height:40px;
	margin-left:1px;
	background-color:#5f5f5f;
}
.social li a{
	display:block;
	width:100%;
	height:0;
	padding-top:40px;
	overflow:hidden;
	background-repeat:no-repeat;
	background-position:center center;
}
.social .twr a{ background-image:url("../img/template/footer-icon-twitter.png");}
.social .fb a { background-image:url("../img/template/footer-icon-facebook.png"); }

/* =============================================================================
   Homepage styles
   ========================================================================== */


/* Homepage feature area */
.home-feature {
	width:969px;
	height:325px;
	margin:-23px auto -5px auto;
	position: relative;
	overflow:hidden;
}

.home-feature ul.feature-car {
	width:20000px;
}
.home-feature li {
	float:left;
	opacity:0.9;
}

.home-feature .titles {
	position:absolute;
}

.home-feature .dots {
	position:absolute;
	z-index:2;
	float:left;
	top: 20px;
	right:85px;
}

.home-feature .dots li{
	height:10px;
	width:10px;
	background:#ccc;
	display:block;
	border-radius:12px;
	border:3px solid #333;
	margin-left:3px;
}

.home-feature .dots li.active, .home-feature .dots li:hover {
	border:3px solid #00c0ff;
	background:#fff;
	cursor:pointer;
	-moz-transition: all 0.7s ease-out; 
	transition: all 0.7s ease-out; 
	-webkit-transition: all 0.7s ease-out;	
}

.home-feature .buttons {
	position:absolute;
	right:14px;
	top:14px;
}

.head {
	z-index: 3;
	position: relative;
}

.home-feature h1{
	font-size:42px;
	line-height:37px;
	padding-top:70px;
	padding-bottom:10px;
	padding-left: 34px;

}
.home-feature .titles a{
	font-size:24px;
	line-height:37px;
	padding-left: 34px;
}

/* Homepage modules */
.home .mod .items{
	border-bottom:0;
}

.home .mod,
.home .foot{
	background:rgba(217,217,217);
	border-color:rgba(217,217,217);
	-moz-background-clip: padding;
	-webkit-background-clip: padding;
	background-clip: padding-box;
}

/* Spaces between grid items */
.mod .grid-3,
.mod .grid-6 { 
	margin-right:1px; 
	overflow:hidden;
}
.mod .grid-6.last{ margin-right:0}

.mod .grid-6 img{
	border:0;
	margin-top:16px;
}

/* Homepage sub modules */

/* Wider items - single item */
.home .mid .content,
.home .mid .item.grid-6{
	background:#efefef;
}

/* Narrow column */
.newsletter .content,
.social .content{
	padding-right:8px;
}
.mod .grid-3 .content-head{
	margin-bottom:0;
	border-bottom:1px solid #DBDBDC;
}

/* Ace News signup sub module */
.newsletter{ 
	height:120px;
	overflow:hidden;
	margin-bottom:1px;
}
.newsletter .content{
	height:100%;
}
.newsletter label{ 
	display:block;
	width:100%;
	padding:0 0 10px 0;
}
.newsletter .text{
	float:left;
	width:121px;
}
.newsletter .submit{ 
	margin-top:-5px; 
}

/* Twitter / Facebook sub module */
.content-main.social{
	background:#F1F1F2;
	height:107px;
}
.social .content{
	margin-bottom:0;
	padding:13px 10px 0 10px;
}
.social .content p{
	height:26px;
	margin:0 0 5px 0;
	position:relative;
}
.social .button-link{
	line-height:auto;
	padding-right:0;
}
.social .button-link a{
	border:0;
}
.social .button-link span{
	position:absolute;
	right:0;
}

/* Ace top 20 */
.top-releases {
	margin: 0;
	padding: 25px 20px 10px 16px;
}
.top-releases dt {
	width: 65px;
}
.top-releases dd {
	margin-left: 0;
	width: 282px;
}
.top-releases a {
	display: inline;
}

/* Wider 3 col module  */
.home .dark-cols-3 .item-row{
	border-top:0;
}
.home .dark-cols-3 .item h2{ 
	padding:22px 0 4px 16px;
}
.home .dark-cols-3 .grid-5{
	min-height:0;
	padding-bottom:5px;
}

/* =============================================================================
   About - About us & Staff profiles
   ========================================================================== */
.about .sidebar-nav{
	padding-top:15px;
}
.about .tabs li.active{
	background:#f8f8f8;
}

/* =============================================================================
   Box styles - For Product & Checkout - replaces content head & content foot
   ========================================================================== */
.box{
	width:100%;
	float:left;
	background:#F8F8F8;
	padding:15px 0;
}

.box-top{
	margin-bottom:1px;
}

.box-bottom{
	border-top: 1px solid #E3E3E4;
}

.box-step{
	float:left;
	font-weight:bold;
	font-size:56px;
	letter-spacing:2px;
	line-height:56px;
	color:#b2b2b2;
	padding:5px 0 0 12px;
}

.box-title{
	float:left;
	width:80%;
	padding-top:4px;
}

.box-title h1,
.box-title h2{
	line-height: 26px;
	padding-left:16px;
}

.box-title h1 span,
.box-title h2{
	font-weight:normal;
	display:block;
}

/* Content head - buttons */
.box-button{
	display:block;
	margin:0px -20px 0 0;
	padding:14px 15px 10px 15px;
	position:relative;
	min-height:36px;
}
/* Pre order */
.box-button.pre{
	background:#eaffc1;
	border:1px solid #e3e3e4;
}
/* Buy */
.box-button.buy{
	background:#b0eafd;
	border:1px solid #b0eafd;
}
/* Sold out */
.box-button.out{
	background:#e3e3e4;
	border:1px solid #e3e3e4;
}

.box-button p{
	margin:8px 0 0 0;
}
.box-button .button{
	position:absolute;
	top:50%;
	right:0;
	margin-top:-14px;
	margin-right:24px;
}

/* Continue shopping */
.box-button.back{
	background:#e3e3e4;
	margin-right:0;
	margin-left:-20px;
	padding:0 0 0 84px;
	height:66px;
	line-height:66px;
}

.box-button.back .button{
	margin-left:24px;
	margin-right:0;
	left:0;
	right:auto;
}

/* Slim white boxes */
.slim{
	padding:0;
	background:#fff;
	margin:0;
}

.slim h2,
.slim p{
	float:left;
	width:80%;
	padding:0 0 0 15px;
	line-height:48px;
	margin:0;
}
.slim .button-link{
	float:right;
	line-height:48px;
}

/* =============================================================================
   Form styles
   ========================================================================== */
.row{
	width:100%;
	clear:both;
	overflow:hidden;
}
.row p{
	margin:0;
}
.row .indent,
.divider .indent,
.divider .quantity{
	padding-left:15px;
}

/* Order Summary */
.summary .row{
	padding-bottom:22px;
}
.summary .row.top{
	overflow:hidden;
	padding-bottom:10px;
}

/* Form elements */
.row input,
.row textarea{
	border: 1px solid #C3C3C3;
	padding:2px 4px;
}
.row input,
.row textarea,
.row select{
	margin-bottom:14px;
}

/* Full width inputs */
.grid-6 input,
.grid-6 textarea{
	width:373px;
}
.grid-3 input{
	width:181px;
}

.row select{
	width:100%;
}

/* Checkboxes */
.opt-in{
	float:left;
	padding-top:20px;
	padding-left:15px;
	color: #777;
}
.opt-in p{
	margin-bottom:17px;
}
.opt-in a {
	color: #777;
	border-bottom: 1px solid #00c0ff;
}
.opt-in a:hover {
	color: #00c0ff;
}

.row input.checkbox{
	width:auto;
	margin-left:10px;
}
.row input.flipped{
	margin-left:0;
	margin-right:5px;
}

/* Captcha */
.captcha,
.captcha p{
	margin-bottom:17px;
	color:#333;
}

/* Errors */
/* Error - top message */
.error{
	color:#ff0000;
	margin:0px 15px 15px 15px;
	border:1px solid #ff0000;
	background:#fff;
	padding:5px 10px 4px 10px;
}
.error.suberror{
	color:#ff0000;
	margin:5px 0px 0px 0px;
	border:1px solid #ff0000;
	background:#fff;
	padding:5px 5px 4px 5px;
	display:block;
}
/* Error - row */
.row.error{
	border:none;
	margin:0;
	padding:0;
	overflow:hidden;
}
.row.error input{
	border-color:#ff0000;
}
.error p{
	margin-bottom:0;
}

/* Basket - Quantity */
.quantity a{
	display:block;
	width:17px;
	height:0px;
	padding-top:17px;
	overflow:hidden;
	float:left;
}
.quantity .plus{
	background: url("../img/template/icon-quantity.png") -17px 0 no-repeat;
}
.quantity .plus:hover{
	background-position:-17px -17px;
}
.quantity .minus{
	background: url("../img/template/icon-quantity.png") 0 0px no-repeat;
}
.quantity a:hover{
	background-position:0 -17px;
}

.quantity p{ 
	float:left; 
	display:inline-block;
	padding:0 10px;
}

/* Basket - Small product */
.product img{
	float:left;
	margin-right:15px;
}
.product p{
	margin:0;
}
.product .offer{
	padding-left:0;
	border:0;
	margin-top:5px;
}

/* Basket - Price amends */
ins{ 
	display:block; 
	text-decoration:none;
}

.total{ 
	font-size:20px;
}

/* Account - registration and login forms */
.account-form {
	margin-top: 10px;
}

/* Order Options - colour, size */
.order-options {
	float: right;
	width: 126px;
	padding-top: 12px;
}
.order-options li {
	margin-bottom: 7px;
}
.order-options select {
	width: 110px;
	padding: 1px;
}


/* =============================================================================
   Ace catalog
   ========================================================================== */
.catalog .content{
	clear:both;
	background:#fff;
}

.catalog .button-link{
	float:right;
	line-height:48px;
}

.catalog .image-wrap{
	padding-top:30px;
}

/* =============================================================================
	Contact
   ========================================================================== */
.contact .top{
	border-top:0;
	padding-bottom:0;
}
.contact .row.divider{
	padding:15px 0;
}
.contact label{
	padding-left:0;
}
.contact .step{
	margin-top:17px;
}

/* Take 15px off all rightmost grid items */
.contact .grid-6{
	width:368px;
}
.contact .grid-6 input,
.contact .grid-6 textarea{
	width:358px;
}
.contact .grid-3 input{
	width: 181px;
}

.contact .error{
	margin-left:0;
}

/* =============================================================================
   Product page styles
   ========================================================================== */
/* Save item / Buy from */
.buy-links{ 
	color:#6a6a6a; 
	margin:10px 0 0 0 !important;
}
.buy-links a{ 
	color:#6a6a6a; 
	border-bottom-color:#b1b1b1;
}
.buy-links span{ 
	text-align:center; 
	padding:0 4px;
}

/* Product info */
dl.info {
	padding:0;
	width:383px;
}
dl.info dt{
	width:191px;
}
dl.info dd{
	width:191px;
	margin-left:0;
}
dl.info dd.unavailable{
	color:#f23311;
}

/* Track listing */
.track{ 
	margin:-15px;
}
#track-listing h4 {
    font-size: 16px;
    line-height: 17px;
    margin-bottom: 17px;
}
.track li{ 
	float:left;
	width:100%;
	overflow:hidden; 
	line-height:32px;
	border-bottom:1px solid #eeeeef;
}
.track li.stripe{ 
	background:#eeeeef;
}
.track div{ 
	float:left;
}
.track .button-link,
.track .grid-2,
.track .grid-3{ 
	float:right;
}

.track-small {
	margin: 15px 0 0 0;
	float: left;
	width: 512px;
	border-top: 1px solid #eeeeef;
}

/* Checkbox / Preview links */
.track input.checkbox{ 
	margin-left:20px;
}
.track .button-link{ 
	line-height:32px;
}

/* Track titles */
.track-titles li {
	border-color: #d9d9d9;
	padding-top: 9px;
	padding-bottom: 16px;
}
.track-titles li:last-child {
	border-bottom: 0;
}
.track-titles h4 {
	margin-top: 8px;
}
.track-titles p {
	margin-bottom: 0;
	line-height: 16px;
	color: #777;
}

/* Press Quotes */
blockquote{ 
	width:519px; 
	margin:0 0 17px 0; 
	float:left
}

/* Track Listing */
.track-listing .button {
	margin-top: 2px;
}
.track-listing p {
	margin: 0;
	color: #777;
}


/* =============================================================================
   Modal
   ========================================================================== */
.modal{
	background:#fff;
	border:5px solid #D9D9D9;
	border-color:rgba(217,217,217,0.7);
	padding:47px 15px 15px 15px;
}

.modal .close{
	position: absolute;
	top: 10px;
	right: 15px;
}

.modal .carousel-nav {
	bottom: 25px;
	right: 28px;
}

#veil {
	position:fixed;
	z-index:4;
	top:0;
	left:0;
	width:100%;
	height:100%;
	background-color: rgb(60, 60, 60);
	background-color: rgba(0,0,0,0.7);
}

/** AUDIO **/

#lb_container {
	min-width:300px;
	min-height:300px;
	background: url('../img/template/ajax-loader.gif') #ffffff no-repeat center center;
}
#lb_container p {
	position:absolute;
	top:12px;
	padding-right:20px;
}
#lb_container .carousel-nav a{
	display:inline;
}

/* =============================================================================
   Grid
   ========================================================================== */

.grid { float: left; }
.grid.right { float: right; }

.grid-1 { width:64px;  } /* one col + margin */
.grid-2 { width:127px; } /* two cols + margin */
.grid-3 { width:191px; } /* three cols + margin*/
.grid-4 { width:255px; } /* four cols + margin =  ** sidebar **/
.grid-5 { width:319px; } /* five cols + margin */
.grid-6 { width:383px; } /* six cols + margin */
.grid-7 { width:447px; } /* seven cols + margin */
.grid-8 { width:511px; } /* eight cols + margin */
.grid-9 { width:575px; } /* nine cols + margin */
.grid-10 { width:639px; } /* ten cols + margin */
.grid-11 { width:703px;} /* eleven cols + margin =  ** main **/
.grid-split { width: 479px; } /* two cols half the width of page */

/* Grid exceptions */
.grid-1.narrow { width: 50px; }

.grid-1.narrow-indent {
	width: 35px;
	padding-left: 15px;
}

.grid-3.image-wrap { width:161px} /* -15px(x2) padding */
.grid-5.image-wrap { width:289px} /* -15px(x2) padding */

/* First column indents */
.grid-3-indent{ 
	float:left; 
	width:176px; 
	padding-left:15px;
}
.grid-4-indent {
	width: 240px;
	padding-left: 15px;
}
.grid-5-indent{
	float:left; 
	width:304px; 
	padding-left:15px;
}
.track .grid-1 {
	min-height:1px;
}

.track .grid-11{ 
	width:673px; /* eleven cols = 703px - 30px (padding) */
}

/* Grid Gutter */
.gutter { margin-right: 1px; }


/* =============================================================================
   Rounded corners
   ========================================================================== */
/* All corners */
.foot,
.mod,
.product img,
.title,
.wrapper{
	-webkit-border-radius: 5px;
	   -moz-border-radius: 5px;
	        border-radius: 5px;
}

.box,
.box-button,
.carousel-image img,
.carousel-thumbs img,
.carousel-thumbs li,
.carousel-thumbs li a,
.content,
.content-head,
.content-main,
.content-foot,
.content-top,
.divider,
.feature img,
.foot-nav,
.foot-bar p,
.list,
.list li,
.main,
.modal,
.nav-bar,
.nav-bar .nav li,
.nav-bar .nav li a,
.pagination,
.social li,
.modal img{
	-webkit-border-radius: 3px;
	   -moz-border-radius: 3px;
	        border-radius: 3px;
}

/* Top left & right corners */
.tabs li,
.item-row:first-child{
	-webkit-border-top-left-radius: 3px;
	-webkit-border-top-right-radius: 3px;
	-moz-border-radius-topleft: 3px;
	-moz-border-radius-topright: 3px;
	border-top-left-radius: 3px;
	border-top-right-radius: 3px;
}

/* Top right corner */
.tabs ul{
	-webkit-border-top-right-radius: 3px;
	-moz-border-radius-topright: 3px;
	border-top-right-radius: 3px;
}

/* Bottom corners */
.head,
.items:last-child, /* last child isn't supported by IE7&8, so we need a fallback class for the last '.item-row' - '.row-last' */
.row-last,
.home .item-row,
.home .grid-6{
	-webkit-border-bottom-right-radius: 5px;
	-webkit-border-bottom-left-radius: 5px;
	-moz-border-radius-bottomright: 5px;
	-moz-border-radius-bottomleft: 5px;
	border-bottom-right-radius: 5px;
	border-bottom-left-radius: 5px;
}

.feature-head,
.blocks a{
	-webkit-border-bottom-right-radius: 3px;
	-webkit-border-bottom-left-radius: 3px;
	-moz-border-radius-bottomright: 3px;
	-moz-border-radius-bottomleft: 3px;
	border-bottom-right-radius: 3px;
	border-bottom-left-radius: 3px;
}

/* Straighten top left & right corners */
.results .item-row:first-child,
.no-round .item-row:first-child,
.mid .item-row:first-child,
.content-main.newsletter,
.content-main.social,
.newsletter .content,
.social .content{
	-webkit-border-top-left-radius: 0px;
	-webkit-border-top-right-radius: 0px;
	-moz-border-radius-topleft: 0px;
	-moz-border-radius-topright: 0px;
	border-top-left-radius: 0px;
	border-top-right-radius: 0px;
}

/* Straighten bottom left & right corners */
.mid .content-head{
	-webkit-border-bottom-left-radius: 0;
	-moz-border-radius-bottomleft: 0;
	border-bottom-left-radius: 0;
	-webkit-border-bottom-right-radius: 0;
	-moz-border-radius-bottomright: 0;
	border-bottom-right-radius: 0
}

/*
	3rd party objects
*/
.social-icons li {
	float:left;
}
.important { display:none; }
/* =============================================================================
   Hovers & transitions
   ========================================================================== */
/* Hover to 70% opacity */
.social a:hover,
.item a:hover img{ 
 /* IE 8 */
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=70)";
  /* IE 5-7 */
  filter: alpha(opacity=70);
  /* Good browsers */
  opacity: 0.7;
}

.white {
	background:#fff;
}

.list li.white {
	background:#fff;
}

/* ==|== non-semantic helper classes ========================================
   Please define your styles before this section.
   ========================================================================== */
.mb 		  { margin-bottom: 17px !important; }
.no-margin { margin: 0; }
.no-bg     { background:none}
.bold      { font-weight:bold}
.paged     { margin-top:0;}

/* Hide from both screenreaders and browsers */
.hidden {
	display: none !important;
	visibility: hidden;
}
/* Hide visually and from screenreaders, but maintain layout */
.invisible { visibility: hidden; }

/* Clearfix */
.cf:before,
.cf:after {
	content: "";
	display: table;
}
.cf:after { clear: both; }
.cf { zoom: 1; }

/* Clear main content wrappers */
.head:before,
.head:after,
.mod:before,
.mod:after,
.wrapper:before,
.wrapper:after,
.foot:before,
.foot:after,
.content:before,
.content:after,
.item-row:before,
.item-row:after{
	content: "";
	display: table;
}

.head:after,
.mod:after,
.wrapper:after,
.foot:after,
.content:after,
.item-row:after{ zoom:1; clear: both; }

.head,
.mod,
.wrapper,
.foot,
.content,
.item-row{ zoom: 1; }

/* ==|== print styles =======================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: black !important;
        text-shadow: none !important;
        filter:none !important;
        -ms-filter: none !important;
    }
  
    a, a:visited { text-decoration: underline; }
  
    a[href]:after { content: " (" attr(href) ")"; }
  
    abbr[title]:after { content: " (" attr(title) ")"; }
  
    a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; }

    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }
  
    thead { display: table-header-group; }
  
    tr, img { page-break-inside: avoid; }
  
    img { max-width: 100% !important; }
  
    #page { margin: 0.5cm; }
  
    p, h2, h3 {
        orphans: 3;
        widows: 3;
    }
  
    h2, h3 { page-break-after: avoid; }
}