/* -- This is the place to add your own style modifications without touching the original styles -- */

#topnav												{ position: fixed; top: 0px; left: 0px; width: 100%; z-index: 10000; opacity: .8; }
#wrap												{ margin: 60px auto 30px auto!important; }
#logo												{ float:left; }

/* publications */
.company-profile h3									{ margin-bottom: 19px; border-bottom: 1px dashed#ccc; padding-bottom: 14px; }
.company-profile .wp-caption 						{ border: none; }

.publication_download .title 						{ display:none; }
.publication_title 									{ color: #970a12; }
.publication-archive 								{ width:100%; margin-bottom:20px; }
.single-publication 								{ float: left; min-width: 200px; width: 45%; position: relative; height: 105px; overflow: hidden; background: #f5f5f5; margin: 0px 4px 4px 0px; padding: 10px; }
.publication_thumbnail								{ position: absolute; left: 15px; width: 82px; height: 100px; overflow: hidden; border: none; padding: 0px; float: left; top: 13px; }
.publication_thumbnail img							{ width:82px; border:none; padding:0px; background: transparent!important; }
.publication_details								{ padding-left:98px; }
.publication_summary								{ padding:5px 0px; }
.publication_download								{ position:absolute; top: 100px; left:14px; }
/* end publications */


/* Red Styling */

/* Borders */
h3.widgettitle,
h2.widgettitle,
.widget ul.tabs,
h2.feat-title,
.cats-by-2 h2.feat-title,
.cat-posts-stacked h2.feat-title					{ border:none; border-bottom: 4px solid #970a12; }

/* Category Navigation */

div#catnav 											{ position:relative; }
ul.catnav											{ border-bottom:30px solid #970a12; }
#catnav ul ul a 									{ width:auto; }
#catnav ul ul 										{ width: 958px; }
#catnav ul li:hover ul, 
#catnav ul li.sfhover ul							{ left: 2px; background-color: #970a12; } 
#catnav ul ul a 									{ border: none; background: #970a12; color:#eee; }
#catnav ul ul a:hover, 								
#catnav ul ul li.current-menu-item a				{ background: #670802; z-index:3!important; }

/* Cat Nav Level 3 */
#catnav ul ul ul									{ width: auto; margin:0px; }
#catnav ul ul ul a									{ width: 180px; }
#catnav ul li li:hover ul, 
#catnav ul li li.sfhover ul							{ left: auto; margin: 0px;  }
#catnav ul li li li:hover ul, 
#catnav ul li li li.sfhover ul, 
#catnav ul li li li li:hover ul, 
#catnav ul li li li li.sfhover ul 					{ left: auto; }

#catnav > ul > li.current-menu-item > ul			{ left: 2px!important; z-index:1!important;  }
#catnav > ul > li.current-menu-parent > ul			{ left: 2px!important; z-index:1!important; }

#catnav > ul > li.current-menu-parent.current-category-ancestor > ul		{ left: 2px!important; z-index:10!important; }
#catnav > ul > li.current-menu-parent:hover > ul 							{ z-index: 11!important; }

#catnav > ul > li.current_page_item.menu-item-27215 ~ li#menu-item-27221 > ul 				{ left: 2px!important; z-index:1!important; }


#catnav ul ul 										{ border-top: none; }

/* Banners */
.banner468 											{ border: none; }

.flexslider .slides 								{ border-top: 4px solid #970a12; }

/* Text */
a, a:link, a:visited 								{ color: #970a12; }

/* Consistant Header Heights */
h2.widgettitle,
h3.widgettitle,
.cats-by-2 h2.feat-title,
.cat-posts-stacked h2.feat-title					{ line-height: 28px; }
.widget.sidetabs ul.tabs 							{ padding: 10px 5px 5px; }

h2.widgettitle	 									{ letter-spacing: 0; line-height: 28px; margin: 0; padding: 5px 15px; background: #fff url(/wp-content/themes/wp-clear321/images/catnav-bg.png) bottom left repeat-x; font-size: 13px; }

#header												{ margin-top:0px; }
#head-content 										{ padding-top:0px; }
.head-banner468										{ margin-top: 30px; }

/* Homepage Featured Slider */
.flex-caption .excerpt 								{ height: 18.8em; }


/* Two Column Homepage Featured Posts */
.cats-by-2 .entry 									{ height: 12.6em; line-height:1.3em; font-size:8pt;}
.cats-by-2 img.thumbnail 							{ /* height: 12.2em; */ min-width: 25%; }
.cats-by-2 h3.post-title 							{ margin-bottom:8px; font-size:10pt; height: 37px; overflow:hidden; }
.cats-by-2 ul.post_links							{ margin-left: 3px; margin-top: 0px; }
.cats-by-2 ul.post_links li 						{ list-style-type: none; font-size:8pt; margin: 0; padding: 0px 5px 0px 18px; background: url(/wp-content/themes/wp-clear321/images/bullet.png) 0px 1px no-repeat; }

/* Two Column Homepage Featured Posts */
.cat-posts-stacked 									{ border: 1px solid #ebebeb; margin:0px; }
.cat-posts-stacked .entry 							{ border:none; padding: 15px 16px 0px 15px; }

.cat-posts-stacked img.thumbnail 					{ float: left; margin: 0 9px 9px 0px; }
.cat-posts-stacked ul.post_links					{ margin-left: 8px; }
.cat-posts-stacked ul.post_links li					{ margin:0px; font-size:8pt; list-style-position: inside; overflow:hidden; height:1.6em;  }
.cat-posts-stacked ul.post_links li					{ list-style-type: none; margin: 0; padding: 0px 5px 0px 18px; background: url(/wp-content/themes/wp-clear321/images/bullet.png) 0px 1px no-repeat; }
.cat-posts-stacked h3.post-title 					{ margin-bottom:12px; }

/* Featured Articles */
#contentleft .featured	 							{ margin: 0 auto 0px; }


.yop_poll_vote_button {
border:none;
border-color: #a10e18;
background-color: #a10e18;
font-size: 11px;
text-transform: uppercase;
font-family: 'Open Sans Condensed',arial,helvetica,sans-serif;
font-weight: bold;
color: #fff !important;
-webkit-box-shadow: inset 0 0 1px hsla(0,100%,100%,.4) /*Top*/, inset 0 0 1px hsla(0,100%,100%,.4) /*Shine*/;
-moz-box-shadow: inset 0 0 1px hsla(0,100%,100%,.4) /*Top*/, inset 0 0 1px hsla(0,100%,100%,.4) /*Shine*/;
box-shadow: inset 0 0 1px hsla(0,100%,100%,.4) /*Top*/, inset 0 0 1px hsla(0,100%,100%,.4) /*Shine*/;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
cursor: pointer;
padding: 5px 20px;
text-align: center;
}

/* TOP TEN ARTICLES */

ul.topten											{ list-style:none; padding:0px; margin:0px; }
ul.topten li										{ list-style:none; background:none; padding:0px; margin:0px; }
ul.topten li a:hover								{ color:#970a12; }


/* main-archive */
div.main-archive-item								{  }
div.main-archive-item								{ padding:12px 15px; background-color:#eee; margin-top:2px; }
div.main-archive-item p								{ display:inline-block; width:200px; padding:0px; margin:0px; font-weight:bold; text-transform:capitalize; }
div.main-archive-item form							{ display:inline-block; }

/* Login or subscribe to read full article */

.am-form fieldset legend 							{ background: #970a12!important; }
.am-body .grid th 									{ background: #970a12!important; }

.am_login .widget form#loginform					{ padding:15px; }
.am_login .widget a									{ padding-left:15px; display:inline-block; }
.am_login .widget									{ min-height: 300px; }
.am_login .widget p br								{ display:none; }
.am_login .widget form p br							{ display:block; }

/* Input boxes */
#user_login, #user_password, 
#intextbox											{ background: transparent; color: #333; font-size: 12px; margin: 0 3px 0 0; display: inline; padding: 4px 6px; border: 0; width: 200px;
													  /*text-transform: lowercase;*/ font-family: arial, Helvetica, sans-serif; border: 1px solid #ebebeb; background: #fff;
													  -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px; }
#intextbox											{ width:auto; height:17px; border: 1px solid #bbb; }
.wpbdp-main-links 									{ padding-top: 2px; }
.wpbdp-bar 											{ background: #eee; }
form#wpbdmsearchform a.advanced-search-link 		{ font-size: 85%; }
.wpbdp-main-page ul.wpbdp-categories > li 			{ width: 46%; float: left; font-size: 11pt; font-weight:bold; padding-top:0px; padding-bottom:8px;}
.wpbdp-bar 											{ padding: 14px 10px; }

.am_login .cat-posts-left,
.am_login .cat-posts-right							{ border: none; }
.am_login .cat-posts-left .widget,
.am_login .cat-posts-right .widget					{ background-color:#f5f5f5; }

.am_login .cat-posts-right .widget li 				{ padding: 5px 5px 5px 13px; border-bottom: none; background: url(images/bullet.png) -6px 6px no-repeat; display: inline-block; width: 40%; vertical-align: top; }

.am-footer											{ display:none; }
.am-body .am-body-content-wrapper 					{ border: none!important; padding-bottom: 50px; padding:0px; }

/* Red buttons */
a.ls-link											{ font: 11px 'Open Sans Condensed',arial,helvetica,sans-serif; font-weight:bold; text-transform:uppercase; cursor: pointer; padding: 5px 10px; text-align: center;
													  background: #a10e18; border: 1px solid #a10e18; color: #fff !important;
													  -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px; }
p.ls-link-holder									{ padding:0px; margin:0px; text-align:center; }
p.ls-link-holder a.ls-link							{ display:block }

#solrsearchbtn										{ font: 500 18px 'Open Sans Condensed',arial,helvetica,sans-serif!important; text-transform:uppercase; cursor: pointer; padding: 3px 16px!important; text-align: center!important;
													  background: #a10e18; border: 1px solid #a10e18; color: #fff !important;
													  -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px; }

.ls-button, 
.wpbdmsearchbutton,
#wpbdp-bar-view-listings-button,
#wpbdp-bar-show-directory-button,
.listing-actions input,
#wpbdmsearchsubmit,
.view-listing										{ font: 11px 'Open Sans Condensed',arial,helvetica,sans-serif; font-weight:bold; text-transform:uppercase; cursor: pointer; padding: 5px 10px; text-align: center;
													  background: #a10e18; border: 1px solid #a10e18; color: #fff !important;
													  -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px; }
.listing-actions input 								{ padding: 5px 10px; }
.wpbdp-bar .wpbdp-search-form 						{ min-width:200px; margin-left: 0%; width: 50%; float: left; }
.wpbdp-bar .wpbdp-main-links 						{ min-width:200px; width: 50%; margin-bottom:20px; }
.wpbdp-listing-single .listing-actions input		{ position: absolute; top: 18px; right: 16px; }

@media only screen and (max-width:560px) {
.wpbdp-bar .wpbdp-search-form 						{ min-width:auto; margin-left: 0%; width: 100%;  }
.wpbdp-bar .wpbdp-main-links 						{ min-width:auto; width: 100%; text-align:center; margin-bottom:20px; }
}


div.post-login-message 								{ clear:both; padding:20px 0px 40px 0px; text-align:center; }
div.post-login-message a.ls-link					{ color:#eee; padding:12px 12px; font-size:14pt; display:block;}

/* Tyre Tests */

#sort_filter_form label								{ margin:10px 5px; display:inline-block; }
.pdb-searchform										{ text-align:center; }
#sort_filter_form legend							{ display:none; }


/* The CSS */
#sort_filter_form select {
    padding:3px;
    margin: 0!important;
    -webkit-border-radius:4px;
    -moz-border-radius:4px;
    border-radius:4px;
    -webkit-box-shadow: 0 3px 0 #aaa, 0 -1px #fff inset;
    -moz-box-shadow: 0 3px 0 #ccc, 0 -1px #fff inset;
    box-shadow: 0 3px 0 #aaa, 0 -1px #fff inset;
    background: #f5f5f5;
    color:#555;
    border:none;
    outline:none;
    display: inline-block;
    -webkit-appearance:none;
    -moz-appearance:none;
    appearance:none;
    cursor:pointer;
}

/* Targetting Webkit browsers only. FF will show the dropdown arrow with so much padding. */
@media screen and (-webkit-min-device-pixel-ratio:0) {
    #sort_filter_form select {padding-right:30px}
}

.pdb-list.participants-database	{ display:none; }
.pdb-single dd,
.pdb-single dt { margin-bottom: 0px; }

#sort_filter_form .drop_search {width:150px;}
#sort_filter_form label {position:relative}
#sort_filter_form label:after {
    content:'<>';
    font:11px "Consolas", monospace;
    color:#aaa;
    -webkit-transform:rotate(90deg);
    -moz-transform:rotate(90deg);
    -ms-transform:rotate(90deg);
    transform:rotate(90deg);
    right:5px; top:4px;
    padding:0 0 2px;
    border-bottom:1px solid #ddd;
    position:absolute;
    pointer-events:none;
}
#sort_filter_form label:before {
    content:'';
    right:6px; top:0px;
    width:20px; height:20px;
    background:#f5f5f5;
    position:absolute;
    pointer-events:none;
    display:block;
}

@media only screen and (max-width:560px) {

	/* Hide tyre tests columns */
	#pdb-list td:nth-child(2),		
	#pdb-list th:nth-child(2),		
	#pdb-list td:nth-child(3),		
	#pdb-list th:nth-child(3)			{ display:none; visibility:hidden; }

	/* Signup form */
	.am-form div.element 						{ margin-left: 0px!important; padding: 1em 0.5em!important; padding-left: 0px!important; }
	.am-form div.element-title 					{ float: none!important; text-align: left!important; width: 100%!important; }	 
	.am-form div.element b						{ display:block; float:left; clear:right; width: 80%; }	 
	.am-form input[type=radio] 					{ margin-right: 2em; float:left; margin-top:0px; margin-bottom:20px; }
	.am-form span.small 						{ padding:8px 0.5em; display:block; }
}

/* Auto Complete */

ul.ui-autocomplete li.ui-menu-item 						{ padding-left:24px; }
ul.ui-autocomplete li.ui-menu-item a					{ border:1px solid #fff;  width:90%; overflow: hidden;}
ul.ui-autocomplete li.ui-menu-item a.ui-state-focus		{  }

/* Print buttom */
.WP-PrintIcon									{ padding:5px 5px 0px 0px!important; }



