/*
Theme Name:     Diabolik ORS
Theme URI:      http://www.789webdevelopment.com/
Description:    Child theme for the Diabolik theme 
Author:         Kevin Turner
Author URI:     http://www.789webdevelopment.com/
Template:       Diabolik
Version:        1.0
*/

@import url("../Diabolik/style.css");

a.button, button.button, input.button, #respond input#submit, #content input.button { box-shadow: none !important; }

#main .content { background: #fff url('/wp-content/uploads/2012/01/faux-column.jpg') repeat-y right top; }
#main #homeslider { margin: 5px 0px 10px 0px; }
.home #main .content, .error404 #main .content { background: none; }
ul#menu-footer { padding-top: 0px; margin-top: 0px; }
div#bottom_menu { background-color: #252525; }
#footer { border-bottom: 1px solid #252525; }
.aligncenter, div.aligncenter { display: block; margin: 0px auto; }
.alignright { float: right; margin: 5px 0 20px 20px; }
.alignleft { float: left; margin: 5px 20px 20px 0; }
ul#menu-footer { line-height: 0; }
ul#menu-footer a { line-height: 22px; }
#main .left_part ul { margin-left: 25px; } /* move lists away from left margin */
#sidebar ul li a { display: inline; } /* change from block so wc layered nav list displays correctly */
#footer .bottom_logo { border-top: 1px solid #252525; }
#footer h4 { margin-top: 5px; }
#footer form { margin-top: 5px; }
#footer form input#newsletter_email { width: 190px; }
#footer form input#newsletter_subscribe { margin-top: 3px; padding: 2px; width: 100px; }
.nav-next { font-size: 1.5em; font-weight: bold; float: right; }
.nav-previous { font-size: 1.5em; font-weight: bold; float: left; }
.navigation_folio a { font-size: 1.5em; font-weight: bold; }

/* contact form 7 contact forms */
div.wpcf7 form { margin: 10px 0px 0px 50px; }
div.wpcf7 form p { margin-bottom: 0px; }
div.wpcf7 form input.wpcf7-text { width: 300px; }
div.wpcf7 form input.wpcf7-quiz { width: 20px; }
div.wpcf7 form input.wpcf7-submit { width: 100px; }
div.wpcf7 form img.ajax-loader { padding: 0px; }
div.wpcf7 form .wpcf7-response-output { margin: 0px; }

/* all images centered - media coverage */
.the_content .allImage { margin: 0px auto; width: 510px; text-align: center; }
.the_content .allImage img { display: inline; margin: 8px; }

/* breadcrumbs */
div.content { padding-top: 0px !important; }
p#breadcrumbs { margin-bottom: 0px; background-color: #e7e7e7; padding-left: 3px; }
.left_part { padding-top: 15px; }

/* custom_mod tb testimonials */
#tbtestimonials-widget li.testimonial-slide .testimonial-gravatar, div.in-content-testimonial .testimonial-gravatar, #tbtestimonial-listing div.in-listing-testimonial .testimonial-gravatar { display: none; }
#tbtestimonials-widget li.testimonial-slide .testimonial-data, div.in-content-testimonial .testimonial-data, #tbtestimonial-listing div.in-listing-testimonial .testimonial-data { width: 95% !important; }
.testimonial-data p.testimonial-author { font-style: normal; font-weight: bold; }
#tbtestimonials-widget li.testimonial-slide .testimonial-data { margin-top: 5px; }
#footer ul#tbtestimonials-widget li a {background: none; color: #f90; }
#tbtestimonial-listing div.in-listing-testimonial .testimonial-data { float: none; }

/* cart and account links in main menu */
#header #main-menu #menuCartAccount { position: relative; top: -70px; float: right; }
#menuCartAccount ul { list-style-type: none; }
#menuCartAccount ul li { float: left; margin-left: 5px; }

/* make main menu wrap to 2nd line in correct place, add border and spacing to menu items */
#header #main-menu { width: 610px !important; height: 89px; padding-left: 30px; }
#header #main-menu ul.menu { padding: 30px 0 0 !important; }
#header #main-menu ul.menu li { border-bottom: 1px dotted #f90; margin-left: 4px; }


/* add borders to post listings
.archive .blog_post { border-left: 5px solid #f90; border-top: 1px solid #f90; padding: 0px !important; margin: 0 0 30px;}
.archive .blog_post .head { width: 375px !important; } */

/* add disc marker back to lists */
.single .the_content ul { list-style-type: disc; margin-bottom: 10px; }
.single .the_content ol { list-style-type: decimal; margin-left: 35px; }

/* make galleries look better */
div.gallery { width: 490px; text-align: center; }
.gallery dl.gallery-item { width: 150px !important; margin: auto !important; float: none !important; display: inline-block; vertical-align: top; }

/* style taxonomy lists on single */
.cpt-taxonomy-list { padding: 10px; background-color: #eee; margin-bottom: 10px; }
.cpt-taxonomy-list .tags_list { padding: 0px; background-color: #eee !important; border-color: none; }

/* shorten sidebar lists and style child lists better */
#sidebar ul li a { padding-top: 0px !important; padding-bottom: 0px !important; }
#sidebar ul.children { margin-top: 0px; margin-bottom: 0px; border-left: none; }
#sidebar ul.children li { border-top: 1px solid #D7D7D7; border-bottom: none; }

/* pretty up select box in sidebar */
#sidebar select { margin: 10px; width: 200px; }

/* default caption styles, added gallery class so File Gallery plugin galleries look similar */
.wp-caption, .gallery dl.gallery-item { border: 1px solid #ddd; background-color: #f3f3f3; -moz-border-radius: 3px; -khtml-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px; padding: 4px !important; margin-bottom: 15px !important; }
.wp-caption { text-align: center; margin: 10px; }
.wp-caption img { margin: 0 auto; padding: 0; border: 0 none; }
.wp-caption p.wp-caption-text, dd.gallery-caption { font-size: 11px; line-height: 17px; padding: 0 4px 5px; margin: 0; }

/* spacing for h5, h6 */
.single .the_content h5, .single .the_content h6 { margin: 10px 0px 5px 0px; }

/* even out margin for heading on single tech info pages (because date is not shown) */
.single-ors-tech-info .head h4 { margin-bottom: 3px !important; }

/* style for ors info in sidebar */
#sidebar #sidebarFB { float: left; margin-top: -7px; }
#sidebar #sidebarAddress { line-height: 1.4em; margin: 10px 0px 20px 10px; padding-top: 5px; }

/* account / cart info widget */
#sidebar .accountCartInfo { height: 64px; margin-bottom: 5px; }
#sidebar .accountCartInfo p { line-height: 1.25em; overflow: hidden; }
#sidebar .accountCartInfo .cartInfo { width: 125px; float: right; margin: 0px 0px 0px 2px; }
#sidebar .accountCartInfo .accountInfo { width: 148px; float: right; margin: 0px 5px 0px 0px; }
#sidebar .accountCartInfo img { float: left; }
#sidebar .accountCartInfo .accountInfo span { display: inline-block; margin-top: 10px; width: 76px; }
#sidebar .accountCartInfo .cartInfo span { display: inline-block; margin-top: 10px; width: 51px; }
#sidebar .accountCartInfo .cartInfo span span { margin-top: 0px; font-size: .9em; }

/* style table for eng conv app guide (tech info) */
body.postid-1349 .toggler h4 { font-size: 1.25em !important; }
table.appGuide {
	width: 100%;
	line-height: 1em;
	font-size: .9em;
	border-width: 1px;
	border-spacing: 2px;
	border-style: outset;
	border-color: gray;
	border-collapse: collapse;
	background-color: white;
}
table.appGuide th {
	border-width: 1px;
	padding: 2px;
	border-style: inset;
	border-color: gray;
	background-color: #f90;
	-moz-border-radius: ;
}
table.appGuide tr.one { background-color: #ddd; }
table.appGuide tr.two { background-color: #fff; }
table.appGuide td {
	border-width: 1px;
	padding: 2px;
	border-style: inset;
	border-color: gray;
	-moz-border-radius: ;
}

/* ------- WooCommerce ------------------------------------*/

/* removes box shadow added by woocommerce styles */
#search_form .button { box-shadow: 0 0; padding-left: .7em; padding-right: .8em; }

/* account page - reduce font size on h2 and h3, change top margin on form, reduce text size on labels to prevent wrapping */
.woocommerce-page .the_content h2, .page-id-1496 .the_content h2 { font-size: 30px; }
.woocommerce-page .the_content h3, .page-id-1496 .the_content h3 { font-size: 24px; }
.woocommerce-account form { margin-top: .5em !important; }
.woocommerce-account form label { font-size: 90%; }

/* style cart totals table */
.woocommerce-cart .cart_totals table { margin-left: auto !important; }
.woocommerce-cart .cart_totals table td { width: 40%; padding-bottom: 0px !important; }
form.shipping_calculator h2 { text-align: right; }

/* change alt button from wc purple to orange/red */
a.button.alt, button.button.alt, input.button.alt, #respond input#submit.alt, #content input.button.alt {
	background: -moz-linear-gradient(center top , #ff9900 30%, #ff0000 100%) repeat scroll 0 0 transparent !important;
    border-color: #cb7b04 !important;
    color: #FFFFFF;
}
a.button.alt:hover, button.button.alt:hover, input.button.alt:hover, #respond input#submit.alt:hover, #content input.button.alt:hover {
	background: -moz-linear-gradient(center top , #ff9900 30%, #e00000 100%) repeat scroll 0 0 transparent !important;
    color: #FFFFFF;
}

/* change price style */
.price { color: #666 !important; font-weight: bold !important; }
.price ins { color: #f00; }


/* product page */
/* line up product options better */
table.variations td.label { text-align: right; padding-right: .5em !important; min-width: 75px; }
table.variations td.value { padding-top: 2px; }

/* cat/prod listings */
ul.products li.product { text-align: center; background-color: #eee; }
ul.products li.product h3 { font-size: 1.2em !important; padding-top: 0 !important; }
ul.products li.product h3 mark.count { background-color: transparent; color: #fc9; }


/* product image section small and summary section bigger */
.product .images { float: right !important; width: 25% !important; }
.product .summary { float: left !important; width: 72% !important; border-right: 1px solid #DFDBDF; }
.product .summary h1 { font-size: 3em; border-bottom: 1px solid #DFDBDF; line-height: 20px; padding-bottom: 5px !important; }

/* move product sale image to right */
.type-product span.onsale { top: -6px !important; right: -6px !important; left: auto !important; }

/* fix product tab styling (also had to edit main.css) */
.woocommerce-tabs ul.tabs { margin-left: 0px !important; margin-bottom: 0px !important; }
.woocommerce-tabs .panel { padding: 0px 10px !important; border-left: 1px solid #DFDBDF; border-right: 1px solid #DFDBDF; border-bottom: 1px solid #DFDBDF; }
.woocommerce-tabs .panel h2 { font-size: 1.5em; padding-top: 5px; margin-bottom: 5px; border-bottom: 1px solid #f90; }
.woocommerce-tabs .panel #comments { background: none repeat scroll 0 0 transparent; color: #000; margin-top: 0px; padding: 0px; }

/* related products, cross sells, upsells */
.product .related, .product .upsells, .cross-sells { border: 1px solid #DFDBDF; background-color: #eee; margin-bottom: 5px; }
.product .related h2, .upsells h2, .cross-sells h2 { font-size: 1.75em !important; margin: 5px 10px 10px 10px; border-bottom: 1px solid #f90; }
.related ul.products li.product, .related ul li.product, .upsells.products ul.products li.product, .upsells.products ul li.product { width: 21% !important; margin-bottom: 10px; }
.cross-sells { padding-right: 20px; }
.cross-sells h2 { width: 100%; }

.upsells h2 { font-size: 1.75em; margin: 5px 10px 10px 10px; border-bottom: 1px solid #f90; }

/* wc shop pages - move h2 span up for display consistency */
.woocommerce h2.page-title span { bottom: -1px; padding: 7px 0; }
.woocommerce h2.page-title { margin-bottom: 0px; }

/* custom widget area above products */
#prod-selector-area { float: right; margin-bottom: 1em; text-align: right; }
#prod-selector-area select { width: 175px; }

/* style product lists in sidebar */
#sidebar ul.product_list_widget { line-height: 17px; }
#sidebar ul.product_list_widget li { padding-left: 20px; padding-top: 4px; padding-bottom: 4px; }
#sidebar ul.product_list_widget li a { display: block; margin-left: -20px; margin-bottom: 5px; font-weight: bold; }
#sidebar ul.product_list_widget li a img { margin-top: 5px; margin-bottom: 5px; float: right; margin-left: 4px; width: 32px; height: auto; box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.3); }

/* change review text color */
#reviews ol.commentlist { color: #666 !important; }

/* style product select area - order by, jump to category, eng conv cat layered nav */
form.woocommerce_ordering { position: absolute; }
#prod-selector-area { width: 100%; }
#prod-selector-area #woocommerce_layered_nav-4 { text-align: center; /*border: 1px solid #ddd;*/ margin-top: 5px; /*background-color: #eee;*/ }
#prod-selector-area #woocommerce_layered_nav-4 ul { margin: 0px auto -4px auto; padding-bottom: 5px; }
#prod-selector-area #woocommerce_layered_nav-4 ul li { display: inline-block; background-color: #ddd; margin: 3px 3px; padding: 0px 3px; }
#prod-selector-area #woocommerce_layered_nav-4 ul li.chosen a { background: url("../../plugins/woocommerce/assets/images/cross.png") no-repeat scroll 0px 4px #ddd; border: none; padding: 1px 3px 0px 5px; color: #f90; font-weight: bold; }

/* make lists display correctly in description tab */
#tab-description ul { margin: -10px 0px 10px 0px; }
#tab-description ul li { list-style-type: disc; }

/* add some vertical space between product image thumbnails */
.product .images .thumbnails img { margin-bottom: 5px; }

/* styles notes on cart page */
div.cart_totals p { text-align: center; line-height: 12px; margin-bottom: 5px !important; }
form.shipping_calculator { margin-top: 0px !important; }

/* order notes in my account */
body.woocommerce-account ol.commentlist { margin: 3px 0px 10px; }
body.woocommerce-account ol.commentlist li.comment { padding: 5px !important; }

/* center star rating in product list */
ul.products .star-rating { margin: 0px auto !important; }

/* fix checkbox issue on checkout page */
.woocommerce-checkout .the_content h3#ship-to-different-address { font-size: 18px; margin-top: 7px; }
.woocommerce-checkout .the_content h3 input#ship-to-different-address-checkbox { float: left; margin: 4px 4px 0px 0px; }

form.variations_form select, form.variations_form input { padding: 1px; }