/* Use this template to make site-specific changes to your site. */
/** Yamaha RED = #DD0607 **/


/* ########################################################## */
/* #### GENERIC ############################################# */
/* ########################################################## */

body {
	background-image:url('../images/background.jpg');
	background-color:#FFF;
}

.clearfix:after {
	content:"";
}


/* ########################################################## */
/* #### HEADER ############################################## */
/* ########################################################## */

#site-header-wrapper {
	background-color:transparent;
	margin:0;
	padding:0;
}

#site-header {
	background-color:#002A6F;
	background-image:url('../images/header-bg.jpg');
	background-repeat:no-repeat;
	background-position:top center;
	margin-top:0;
	padding-top:30px;
	-webkit-box-shadow: 0px 0px 1em 0.5em rgba(000, 000, 000, .3);
	-moz-box-shadow: 0px 0px 1em 0.5em rgba(000, 000, 000, .3);
	box-shadow: 0px 0px 1em 0.5em rgba(000, 000, 000, .3); 
}

#branding img {
	margin:5px;
}

#yamaha-branding {
    text-align: right;
	margin-top:38px;
	width:430px;
}

/* ########################################################## */
/* #### PRIMARY MENU ######################################## */
/* ########################################################## */

#primarylinks-wrapper {
	background-color:transparent;
}

#primarylinks ul li a:link, #primarylinks ul li a:active, #primarylinks ul li a:visited {
    margin: 0;
    padding: 0 10px 30px;
	font-family:Arial, Helvetica, sans-serif;	
	font-weight:bold;
}

#primarylinks {
	background:#000;
	background-color:rgba(000, 000, 000, .8);
	color:#FFF;
	-webkit-box-shadow: 0px 0px 1em 0.5em rgba(000, 000, 000, .3);
	-moz-box-shadow: 0px 0px 1em 0.5em rgba(000, 000, 000, .3);
	box-shadow: 0px 0px 1em 0.5em rgba(000, 000, 000, .3); 
}

/* change the left/right padding on this to centre the menu */
ul#om-menu-primary-menu {
	padding-left:10px;
}

ul#om-menu-primary-links-yamaha-only- {
	padding-left:85px;
}

/* this selector needs to be changed to the id of whichever menu items have a drop-down menu */
#om-leaf-om-u1-979373787-2,
#om-leaf-menu-yamaha-primary-links-imported-1376 {
	z-index:999;
}

/* set the width of the menu here (useful when the number of blocks changes) */
/* remember to change the value of "left" to ensure it's sitting in the centre of the page */
.om-menu .om-maximenu-content {
	background-color:#900;
	width:623px;
	min-width:623px;
	z-index:9999;
	position:absolute;
	top:50px;
	left:-35px;
	margin:0;
	padding: 10px 10px 25px;
	text-align:left;
}

/* set the width of each block and ensure they're floating left */
/* we currently have to also set the height to ensure the borders are even */
/* note that block 5-1 is the outboards split in two--this is done in the tpl */
.om-menu .block-views-id-mega_menu-block_1,
.om-menu .block-views-id-mega_menu-block_2,
.om-menu .block-views-id-mega_menu-block_3,
.om-menu .block-views-id-mega_menu-block_4 {
	width:140px;
	margin:0;
	padding:0 10px;
	float:left;
	border-right:1px dotted #FFF;
	height:570px;
}

/* remove left padding from first block */
.om-menu .block-views-id-mega_menu-block_1 {
	padding-left:0;
}

#primarylinks ul li#om-leaf-om-u1-979373787-3 .om-maximenu-content {
    left: -20px;
    min-width: 200px;
    width: 200px;
    height: 80px;
}

#primarylinks ul li#om-leaf-om-u1-979373787-3 .om-maximenu-content ul li {
    display: list-item;
    font-size: 11px;
    line-height: 18px;
    margin: 0;
    text-align: left;
}

#primarylinks ul li#om-leaf-om-u1-979373787-3 ul {
    margin: 0;
    padding: 0;
}

/* remove the right padding and border from the last block on the right */
.om-menu .block-views-id-mega_menu-block_3 {
	padding-right:0;
	border:none;
}



/* ########################################################## */
/* #### HOME PAGE PRODUCT SWITCHER  ######################### */
/* ########################################################## */

#block-block-13 { 
	position:relative;
	height:343px;
	z-index:99;
}

#block-block-13 ul.ui-tabs-nav { 
	padding:0;
	margin:0; 
	position:absolute; 
	top:0; 
	left:0; 
	list-style:none; 
	width:340px;
}

#block-block-13 ul.ui-tabs-nav li { 
	overflow:visible;
	position:relative;
}

#block-block-13 li.ui-tabs-nav-item a { 
	display:block; 
	color:#FFF;
	text-decoration:none;
	height:166px;
	width:340px;
	margin:0;
	padding:0;
	overflow:visible;
	position:relative;
	background-color:#EEE;
	background-image:url('../images/main-home/featured-ul-bg.jpg');
	background-position:0 166px;
}

#block-block-13 ul.ui-tabs-nav #nav-fragment-1 a {
	margin-bottom:11px;
}

#block-block-13 li.ui-tabs-nav-item a:hover {
	background-color:#000;
	background-image:url('../images/main-home/featured-ul-bg.jpg');
	background-position:0 0;
}

#block-block-13 li.ui-tabs-selected, 
#block-block-13 ul.ui-tabs-nav li.ui-tabs-selected a { 
	background-color:#000;
	background-image:url('../images/main-home/featured-ul-bg.jpg');
	background-position:0 0;
}

#block-block-13 .ui-tabs-panel { 
	width:590px;
	height:343px;
	position:relative;
	float:right;
}

#block-block-13 .ui-tabs-hide { 
	display:none; 
}

/* ########################################################## */
/* #### NON YAMAHA VIEW ##################################### */
/* ########################################################## */

#main-content .view-id-non_yamaha_products td {
	display:block;
	width:210px;
	height:180px;
	margin:0 5px;
	float:left;
}

#main-content .view-id-non_yamaha_products .views-field-field-non-yamaha-model-value {
	text-align:center;
	font-weight:bold;
	color:#FFF;
	background:#555;
	font-size:1em;
	font-family:Verdana,Helvetica,Arial,sans-serif;
}

#main-content .view-id-non_yamaha_products img {
	display:block;
	margin:10px auto;
	height:100px;
	width:125px;
}

#main-content .view-id-non_yamaha_products .views-field-path {
	margin-bottom:10px;
	text-align:center;
}


/* ########################################################## */
/* #### NON YAMAHA PRODUCTS ################################# */
/* ########################################################## */

.node-type-non-yamaha-product #overview-photos {
	display:block;
	width:230px;
	text-align:right;
	float:right;
}

.node-type-non-yamaha-product fieldset {
	border:0;
	padding:0;
    width:460px;
}

.node-type-non-yamaha-product fieldset legend {
	border:1px solid #CCC;
    background-color:#CCC;
    display:block;
    margin:0;
    padding:0;
    width:460px;
}

html.js .node-type-non-yamaha-product fieldset.collapsed legend a {
    background-image:url("../images/menu-collapsed-rev.png") !important;
}

html.js .node-type-non-yamaha-product fieldset.collapsible legend a {
    background:url("../images/menu-expanded-rev.png") no-repeat scroll 5px 75% transparent;
}

.node-type-non-yamaha-product legend.collapse a {
	color:#DD0607;
    font-family:'Droid Sans',sans-serif;
    font-size:1.2em;
    text-decoration:none;
}

.node-type-non-yamaha-product fieldset .fieldset-wrapper {
    border:1px solid #CCC;
	padding:10px;
}

.node-type-non-yamaha-product fieldset .fieldset-wrapper .fieldset-wrapper {
	border:none;
}

.node-type-non-yamaha-product fieldset #product_colours_group {
	width:420px;
	overflow:hidden;
}

.node-type-non-yamaha-product fieldset #product_colours_group img {
    display:inline-block;
    padding-bottom:15px;
    zoom:1;
	*display:inline;
	margin:0 20px;
}

.node-type-non-yamaha-product fieldset table {
	margin-bottom: 0;
}

.node-type-non-yamaha-product fieldset table tr,
.node-type-non-yamaha-product fieldset table th {
	border: none;
}

.node-type-non-yamaha-product fieldset table tr.even {
	background-color: #EEE;
}
.node-type-non-yamaha-product fieldset table tr.odd {
	background-color: #FFF;
}

.node-type-non-yamaha-product fieldset table th,
.node-type-non-yamaha-product fieldset table td {
	padding: 2px 5px;
}

.node-type-non-yamaha-product .qtip-link {
	display:inline-block;
	width:100px;
	margin-right:10px;
	margin-bottom:15px;
	font-family: 'Droid Sans',sans-serif;
	float: left;
}

.node-type-non-yamaha-product .qtip-link {
	border-bottom: none;
}

/* ########################################################## */
/* #### PAGES ############################################### */
/* ########################################################## */

body.node-type-product h1#page-title {
border-bottom: 1px dotted #CCCCCC;
}


/* ########################################################## */
/* #### PROMOTIONS ########################################## */
/* ########################################################## */

.section-promotions #main-content .views-field-title {
	padding:0 0 10px 0;
}


/* ########################################################## */
/* #### POSTSCRIPT ########################################## */
/* ########################################################## */

#postscript-wrapper-wrapper {
	background:#002A6F;
	background-color:rgba(0, 34, 92, .9);
}

#block-block-3,
#block-block-5 {
	position:absolute;
	bottom:0;
}

#block-block-2,
#block-block-4 {
	position:absolute;
	bottom:72px;
}


/* ########################################################## */
/* #### FOOTER ############################################## */
/* ########################################################## */

#footer-wrapper-wrapper {
	background:#000;
	color:#FFF;
	margin-bottom:0;
}

#footer-wrapper-wrapper #copyright-wrapper {
	color:#FFF;
}

#footer-wrapper-wrapper a:link,
#footer-wrapper-wrapper a:active,
#footer-wrapper-wrapper a:visited {
	color:#FFF;
	text-decoration:none;
}

#footer-wrapper-wrapper a:hover {
	color:#FFF;
	text-decoration:underline;
}

/* ########################################################## */
/* #### FORMS  ############################################## */
/* ########################################################## */

#webform-client-form-215 {
	position: absolute;
    width: 412px;
}

div#node-webform-217, div#node-webform-216 {
    display: block;
    float: left;
    position: absolute;
    width: 400px;
}

div.field-field-page-images {
    display: block;
    float: right;
    margin: 1px;
}

div.field-field-page-images {
   width: 440px;
    float: right;
    margin: 1px;
}