/* 

CBO Drop-down navigation with responsive layout for mobile support

James R B Pearson
12/09/12
---------------------------------------------------- */

/*DESKTOP*/

.topNav {
	position: relative;
	display: block;
	min-height: 50px;
	background: #1e1c1b;
	background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#3d3937 ), to(#1e1c1b));
	background-image: -webkit-linear-gradient(top, #3d3937, #1e1c1b);
	background-image: -moz-linear-gradient(top, #3d3937, #1e1c1b);
	background-image: -ms-linear-gradient(top, #3d3937, #1e1c1b);
	background-image: -o-linear-gradient(top, #3d3937, #1e1c1b);
	min-height: 50px;
	-moz-border-radius: 7px 7px 0 0;
	-webkit-border-radius: 7px 7px 0 0;
	-khtml-border-radius: 7px 7px 0 0;
	/*behavior: url(css/PIE.htc);*/
	border-radius: 7px 7px 0 0;
	z-index: 10;
}
/* level 1 background */
.nav-bar {
	display: inline-table;
	float: left;
	list-style: none outside none;
	margin-bottom: 0;
	position: relative;
	z-index: 2;
	/*width:65%; /*opera*/
	background: #1e1c1b;
	background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#3d3937 ), to(#1e1c1b));
	background-image: -webkit-linear-gradient(top, #3d3937, #1e1c1b);
	background-image: -moz-linear-gradient(top, #3d3937, #1e1c1b);
	background-image: -ms-linear-gradient(top, #3d3937, #1e1c1b);
	background-image: -o-linear-gradient(top, #3d3937, #1e1c1b);
	min-height: 50px;
	-moz-border-radius: 7px 7px 0 0;
	-webkit-border-radius: 7px 7px 0 0;
	-khtml-border-radius: 7px 7px 0 0;
	behavior: url(css/PIE.htc) !important;
	border-radius: 7px 7px 0 0;
}
.nav-bar:after {
	clear: both;
	content: " ";
	display: block;
	height: 0;
	overflow: hidden;
	visibility: hidden;
}
.regLogin {
	float: right;
	margin: 0;
	padding: 15px 20px 0 0;
}
.regLogin a:first-child {
	color: white;
}
.ie7 .regLogin {
	padding: 10px 20px 0 0;
}
.ie7 .regLogin .registerLink {
	position: relative;
	top: -5px;
}
.container #header .topNav .regLogin .small.button.basket {
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	border-radius: 2px;
	background: #876318;
	background: -webkit-gradient(linear, 0 0, 0 bottom, from(#c19d53 ), to(#876318));
	background: -webkit-linear-gradient(#c19d53, #876318);
	background: -moz-linear-gradient(#c19d53, #876318);
	background: -ms-linear-gradient(#c19d53, #876318);
	background: -o-linear-gradient(#c19d53, #876318);
	background: linear-gradient(#c19d53, #876318);
	-pie-background: linear-gradient(#c19d53, #876318);
	behavior: url(css/PIE.htc);
	font-weight: normal;
	position: relative; /* required for ie to work! */
	border: none;
	color: white;
	padding: 5px 10px 5px 30px;
	opacity: 1;
	text-decoration: none !important;
}
.container #header .topNav .regLogin .small.button.basket:hover {
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	border-radius: 2px !important;
	background: #876318 !important;
	font-weight: normal;
	position: relative !important; /* required for ie to work! */
	behavior: url(css/PIE.htc) !important;
	border: none;
	color: white;
	padding: 5px 10px 5px 30px;
	opacity: 1;
	text-decoration: none !important;
}
.book-container .sub-bookcontainer .content-column3 .addtoBasket .small.button.basket {
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	border-radius: 2px;
	background: #876318;
	background: -webkit-gradient(linear, 0 0, 0 bottom, from(#c19d53 ), to(#876318));
	background: -webkit-linear-gradient(#c19d53, #876318);
	background: -moz-linear-gradient(#c19d53, #876318);
	background: -ms-linear-gradient(#c19d53, #876318);
	background: -o-linear-gradient(#c19d53, #876318);
	background: linear-gradient(#c19d53, #876318);
	-pie-background: linear-gradient(#c19d53, #876318);
	behavior: url(css/PIE.htc);
	font-weight: normal;
	position: relative;
	border: none;
	color: white;
	padding: 5px 20px 5px 10px;
	opacity: 1;
	text-decoration: none !important;
	padding-right: 10px;
	text-align: left;
}
/* required for ie to work! */


.book-container .sub-bookcontainer .content-column3 .addtoBasket .small.button.basket:hover {
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	background: #876318 !important;
	font-weight: normal;
	position: relative; /* required for ie to work! */
	behavior: url(css/PIE.htc);
	border-radius: 2px !important;
	border: none;
	color: white;
	padding: 5px 10px;
	opacity: 1;
	text-decoration: none !important;
	padding-right: 10px;
}
.ie7 .book-container .sub-bookcontainer .content-column3 .addtoBasket .small.button.basket:hover, .ie8 .book-container .sub-bookcontainer .content-column3 .addtoBasket .small.button.basket:hover {
	border-radius: 2px !important;
}
/* level 1 menu items */       
.nav-bar > li {
	float: left;
	display: block;
	position: relative;
	padding: 0;
	margin: 0;
	line-height: 50px;
}
.nav-bar > li:first-child {
}
.nav-bar > li:last-child {
}
.nav-bar > li.active {
	background: #000;
}
.nav-bar > li.active > a {
	color: #f5bb42;
	cursor: default;
}
.nav-bar > li.active:hover {
	background: #000;
	cursor: default;
}
.nav-bar > li:hover {
	background: #000;
}
.nav-bar > li:hover:first-child {
	background: #1e1c1b;
	-moz-border-radius: 7px 0 0 0;
	-webkit-border-radius: 7px 0 0 0;
	-khtml-border-radius: 7px 0 0 0;
	behavior: url(css/PIE.htc);
	border-radius: 7px 7px 0 0;
	position: relative;
}
.nav-bar > li > a {
	color: #fff;
}
.nav-bar > li > a:hover {
	color: #F5BB42;
}
/* level 1 menu items */       
.nav-bar > li ul {
	margin-bottom: 0;
}
.nav-bar > li .flyout {
	display: none;
}
.nav-bar > li.has-flyout > a:first-child {
	padding-right: 36px;
	position: relative;
}
/* level 1 menu arrows */
.nav-bar > li.has-flyout > a:first-child:after {
	content: "";
	display: block;
	width: 0;
	height: 0;
	border: solid 4px;
	border-color: #e6e6e6 transparent transparent transparent;
	position: absolute;
	right: 10px;
	top: 22px;
}
.nav-bar > li.has-flyout > a.flyout-toggle {
	border-left: 0 !important;
	position: absolute;
	right: 0;
	top: 0;
	padding: 22px;
	z-index: 2;
	display: block;
}
.nav-bar > li.has-flyout.is-touch > a:first-child {
	padding-right: 55px;
}
.nav-bar > li.has-flyout.is-touch > a.flyout-toggle {
	border-left: 1px dashed #666;
}
.nav-bar > li > a:first-child {
	position: relative;
	padding: 0 20px;
	display: block;
	text-decoration: none;
	font-size: 14px;
}
.nav-bar > li > input {
	margin: 0 10px;
}
.nav-bar.vertical {
	height: auto;
	margin-top: 0;
}
.nav-bar.vertical > li {
	float: none;
	border-bottom: none;
}
.nav-bar.vertical > li.has-flyout > a:first-child:after {
	content: "";
	display: block;
	width: 0;
	height: 0;
	border: solid 4px;
	border-color: transparent transparent transparent #e6e6e6;
}
.nav-bar.vertical > li .flyout {
	left: 100%;
	top: -1px;
}
.nav-bar.vertical > li .flyout.right {
	left: auto;
	right: 100%;
}
/* Position level 2 drop-down */ 
.flyout {
	background: #1e1c1b;
	padding: 20px;
	margin: 0;
	border: none;
	position: absolute;
	top: 49px;
	width: 270px;
	z-index: 40;
}
.flyout p {
	line-height: 1.2;
	font-size: 13px;
}
.flyout *:first-child {
	margin-top: 0;
}
.flyout *:last-child {
	margin-bottom: 0;
}
.flyout.small {
	width: 166.66667px;
}
.flyout.large {
	width: 437.5px;
}
.flyout.right {
	left: auto;
	right: -2px;
}
.flyout.up {
	top: auto;
	bottom: 39px;
}
/* level 2 menu items */  
ul.flyout, .nav-bar li ul {
	padding: 0;
	list-style: none;
}
ul.flyout li, .nav-bar li ul li {
	border-left: none;
	text-align: left;
}
ul.flyout li a, .nav-bar li ul li a {
	background: #000;
	border-top: 1px solid #6b727c;
	border-bottom: 1px solid #575f6a;
	color: #fff;
	display: block;
	font-size: 14px;
	height: auto;
	line-height: 1;
	padding: 15px 20px;
}
ul.flyout li a:hover, .nav-bar li ul li a:hover {
	background: #000;
	color: #f5bb42;
	text-decoration: none;
}
ul.flyout li.active, .nav-bar li ul li.active {
	margin-top: 0;
	border-top: 1px solid #4d4d4d;
	border-left: 4px solid #1a1a1a;
}
ul.flyout li.active a, .nav-bar li ul li.active a {
	background: #4d4d4d;
	border: none;
	color: #fff;
	height: auto;
	margin: 0;
	position: static;
	top: 0;
	-webkit-box-shadow: 0 0 0;
	-moz-box-shadow: 0 0 0;
	box-shadow: 0 0 0;
}
/* HIDE DROP-DOWN MENU IN IE 7 */
.ie7 .nav-bar > li.has-flyout > a:first-child:after {
	content: "";
}
.ie7 .flyout {/*display:none !important;*/
	width: 300px;
}
.ie7 ul.flyout li a, .ie7 .nav-bar li ul li a {
	background: #000;
	border-top: 1px solid #6b727c;
	border-bottom: 1px solid #575f6a;
	color: #fff;
	display: block;
	font-size: 13px;
	height: auto;
	line-height: 1;
	padding: 0 0 0 20px;
}
.ie7 ul.flyout li a, .ie7 .nav-bar li ul li a {
	background: #000;
	border-top: 1px solid #6b727c;
	border-bottom: 1px solid #575f6a;
	color: #fff;
	display: block;
	font-size: 13px;
	height: auto;
	line-height: 1;
	padding: 0 0 0 20px;
}
.ie7 ul.flyout li a:hover, .ie7 .nav-bar li ul li a:hover {
	background: #000;
	color: #f5bb42;
	text-decoration: none;
}
.ie7 ul.flyout li.active, .ie7 .nav-bar li ul li.active {
	margin-top: 0;
	border-top: 1px solid #4d4d4d;
	border-left: 4px solid #1a1a1a;
}
.ie7 ul.flyout li.active a, .ie7 .nav-bar li ul li.active a {
	background: #4d4d4d;
	border: none;
	color: #fff;
	height: auto;
	margin: 0;
	position: static;
	top: 0;
	-webkit-box-shadow: 0 0 0;
	-moz-box-shadow: 0 0 0;
	box-shadow: 0 0 0;
}
.container #header .topNav .regLogin .small.button.basket .basketicon-btn {
	background: transparent url(../img/sprites_v1.png) -780px -264px no-repeat;
	display: inline-block;
	width: 20px;
	height: 20px;
	position: absolute;
	left: 5px;
	top: 5px;
}
.small.button.basket.disabled-btn {
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	border-radius: 2px;
	background: #876318;
	background: -webkit-gradient(linear, 0 0, 0 bottom, from(#b7b7b7 ), to(#555555));
	background: -webkit-linear-gradient(#b7b7b7, #555555);
	background: -moz-linear-gradient(#b7b7b7, #555555);
	background: -ms-linear-gradient(#b7b7b7, #555555);
	background: -o-linear-gradient(#b7b7b7, #555555);
	background: linear-gradient(#b7b7b7, #555555);
	-pie-background: linear-gradient(#b7b7b7, #555555);
	behavior: url(css/PIE.htc);
	font-weight: normal;
	position: relative; /* required for ie to work! */
	border: none;
	color: white;
	padding: 5px 10px;
	opacity: 1;
	text-decoration: none !important;
	cursor: default;
}
@media only screen and (min-width: 900px) and (max-width: 1279px) {
.direct-action #form-search {
	float: left;
	width: 50%;
}
}
 @media only screen and (min-width: 691px) and (max-width: 899px) {
.direct-action #form-search {
	float: left;
	width: 67%;
}
}
 @media only screen and (min-width: 0) and (max-width: 710px) {
.direct-action form label.bookSearch {
	display: none;
}
.direct-action #form-search {
	float: left;
	width: 60%;
}
}



/* Mobile Styles */
@media only screen and (max-device-width: 1280px) {
.touch .nav-bar li.has-flyout > a {
	padding-right: 36px !important;
}
}
@media only screen and (max-width: 1279px) and (min-width: 768px) {
.touch .nav-bar li a {
	font-size: 13px;
	font-size: 1.3rem;
}
.touch .nav-bar li.has-flyout > a.flyout-toggle {
	padding: 20px !important;
}
.touch .nav-bar li.has-flyout > a {
	padding-right: 36px !important;
}
}
 @media only screen and (min-width: 350px) and (max-width: 400px) {
.regLogin {
	float: right !important;
	margin: 0;
	padding: 10px 20px 5px 20px;
	overflow: hidden;
	display: block;
}
}
  /*
 Smartphone ---------------------------------------- */
    @media only screen and (min-width: 0) and (max-width: 620px) {
.touch .nav-bar li a, .touch .topNav a {
	font-size: 11px;
	font-size: 1.1rem;
}
.topNav {
	width: 98%;
	margin: 0 1.2% 0 1.2%;
	height: auto !important;
	display: block !important;
	overflow: hidden;
	padding-bottom: 50px;
}
.nav-bar {
	width: 100%;
	height: auto;
	position: relative;
	top: 45px;
	border-radius: 0;
}
.topNav .regLogin {
	float: right;
	position: absolute;
	top: 0px;
	right: 0;
	display: inline-block;
	z-index: 99;
	padding: 13px 20px 0px 0px;
}
.nav-bar > li {
	float: none;
	display: block;
	border-right: none;
	text-align: left;
}
.nav-bar > li > a.main {
	text-align: left;
	border-top: 1px solid #ddd;
	border-right: none;
}
.nav-bar > li:first-child > a.main {
	border-top: none;
}
.nav-bar > li:first-child:hover {
	-moz-border-radius: 7px 7px 0 0;
	-webkit-border-radius: 7px 7px 0 0;
	-khtml-border-radius: 7px 7px 0 0;
	border-radius: 7px 7px 0 0;
}
.nav-bar > li.has-flyout > a.flyout-toggle {
	position: absolute;
	right: 0;
	top: 0;
	padding: 22px;
	z-index: 2;
	display: block;
}
.nav-bar > li.has-flyout.is-touch > a.flyout-toggle span {
	content: "";
	width: 0;
	height: 0;
	display: block;
}
.nav-bar > li.has-flyout > a.flyout-toggle:hover span {
	border-top-color: #141414;
}
.nav-bar.vertical > li.has-flyout > .flyout {
	left: 0;
}
.flyout {
	position: relative;
	width: 100% !important;
	top: auto;
	margin-right: -2px;
	border-width: 1px 1px 0 1px;
}
.flyout.right {
	float: none;
	right: auto;
	left: -1px;
}
.flyout.small, .flyout.large {
	width: 100% !important;
}
.flyout p:last-child {
	margin-bottom: 18px;
}
.nav-bar > li.hidden-from-mobile {
	display: none;
}
label.bookSearch {
	display: none !important;
}
fieldset#search {
	width: 150% !important;
	margin: 0;
	padding: 0;
}
.bookSearch #form-search input[type="search"] {
	width: 70% !important;
}

.ui-accordion .ui-accordion-header a:hover {
	color: #000;
}
.direct-action a {
	position: relative;
	top: 45px;
	margin-left: -20px;
	margin-bottom: 40px;
}
}


/*@media only screen and (max-width: 768px) DPB_7685 
{*/
	 @media only screen and (min-width: 0) and (max-width: 768px) {
.searchOptions {
	display: inline-block !important;
}

#border_container {
    margin: 2px auto 20px !important;    
}

.rmm-toggled ul li {
	padding: 0!important;	
}

.left_content_container {
	display: none;
}

.rmm-toggled ul li div a {
	display: inline-block !important;
    width: 84% !important;
	background-color: transparent !important;
	font-weight:normal !important;
	 padding:0 0 0 4px !important;
	 border: none !important;
}

.rmm-toggled ul li div input {
	margin-left: 12px;
	vertical-align: text-top !important;
	
}


}

	 @media only screen and (min-width: 0) and (max-width: 480px) {
		 
.boxBody_faceted .right_content_container {
     margin: 0 0 0 10px !important;
	 width: 94% !important;
}

.searchOptions.graphite .rmm-toggled ul li a {
  
   

}

.rmm-toggled div label {
    margin-left: 18px !important;
  
}

.rmm-toggled ul li div a {
	display: inline-block !important;
    width: 84% !important;
	background-color: transparent !important;
	border-top: none !important;
	font-weight:normal !important;
	 padding:0 0 0 4px !important;
}

.rmm-toggled ul li div input {
	margin-left: 12px;
	vertical-align: top !important;
}



}



	 @media only screen and (min-width:599px) and (max-width: 768px) {

.boxBody_faceted .right_content_container {
      width: 94% !important; /* fixed for DPB_7685 */

}
.rmm-toggled ul li div input {
	margin-left: 12px;
	vertical-align: bottom !important;
	
}


}