/*
Theme Name: Avada Child
Description: Child theme for the Avada
Author: Your name here
Template: Avada

FSM Colours:
Red : #ED1D24;
*/

/* --------------------------------------------------------------------------------------------- */
/* HEADER */
/* --------------------------------------------------------------------------------------------- */
/* phone/email details as controlled by theme */
#wrapper div.header-wrapper div.header-v4 div.header-info {
    line-height:13px;
}
#wrapper div.header-wrapper div.header-v4 span.sep {
    display:none;
}
/* --------------------------------------------------------------------------------------------- */
/* HOME PAGE */
/* --------------------------------------------------------------------------------------------- */
/* homepage hacks because the global sidebar doesn't seem to be able to be over-ridden */
.home #sidebar {
    display:none;
}
.home #content {
    float:none;
    width:auto;
}

@media only screen and (max-width: 768px){
	
	.home #content {
width:100% !important;
float:none !important;
margin:0 auto !important;
}

}


.home .woocommerce-loop-category__title, #post-1520 .woocommerce-loop-category__title, #post-2322 .woocommerce-loop-category__title {
	display:none;
}
.woocommerce-loop-category__title .count {
	display:none;
}
.home div.woocommerce ul.products li.product-category {
    border:none;
    padding:0;
    margin:0;
}
.home div.woocommerce ul.products li.product-category img {
    width:70%;
    display:block;
    margin:0 auto;
}
/* --------------------------------------------------------------------------------------------- */
/* HOME PAGE POPUP WINDOW - managed by WordPress Popup plugin */
div.wdpu-msg {
    /*max-width:690px !important;
    min-width:100px !important;
    min-height:280px !important;
    max-height:560px !important;
    background:#000 !important;*/
}
div.wdpu-text {
    /*background:#000 !important;
    max-height:480px !important;*/
    
}
div#a7db43dd616f9fa4a7cfba6d95a473d57 div.wdpu-text .wdpu-title {
    color:#ED1D24 !important;
}

/*div.wdpu-text div.wdpu-content iframe {
    
    top:50%;
    left:50%;
}*/


/* --------------------------------------------------------------------------------------------- */
/* NAVIGATION */
/* --------------------------------------------------------------------------------------------- */
/* top nav */
#wrapper .top-menu a {
    display:block;
}
#wrapper .top-menu a:hover {
    color:#ED1D24;
}

/* sticky nav */
#wrapper #sticky-nav ul li > a {
    color:#fff;
}
#wrapper #sticky-nav ul li > a:hover{
color:#ED1D24;
}
/* --------------------------------------------------------------------------------------------- */
/* MAIN CONTENT */
/* --------------------------------------------------------------------------------------------- */

/* Tables on service dealer listing page */

table.jr-full-width th {
    background:#000;
    color:#fff;
    padding:5px;
}
table.jr-full-width th[colspan] {
    background:#565656;
    color:#fff;
    padding:5px;
}
/* Service Agent */
table.jr-full-width td {
    width:100%;
}
table.jr-full-width td:nth-child(2n+1) {
   width:20%;
}
/* contact email */
table.jr-full-width td:nth-child(2n+2) {
    width:25%;
}
/* phone */
table.jr-full-width td:nth-child(2n+3) {
    width:15%;
}
/* area */
table.jr-full-width td:nth-child(2n+4) {
    width:15%;
}
/* work */
table.jr-full-width td:nth-child(2n+5) {
    width:25%;
}

/* clear*/
.clear-both {
    clear:both;

}
/* contact page table */
table.table-1.jr-peopletable tr td,
table.table-1.jr-full-width tr td{
    font-size:12px;
}
.jr-peopletable tr:hover a {
    color:#fff;
}
.jr-peopletable tr:hover a:hover {
    color:#ED1D24;
}
.jr-peopletable td:first-child {
    width:25%;
}
.jr-peopletable td:first-child+td {
    width:75%;
    padding:10px;
}
.jr-peopletable img {
    width:100%;

}
.jr-peopletable td[colspan] {
    padding:10px;
    background:#000;
    color:#fff;
    font-weight:bold;
}
.jr-peopletable p {
    margin:0;
}
.jr-peopletable p.jr-hilight {
    font-weight:bold;
}

/* --------------------------------------------------------------------------------------------- */
/* SIDEBAR */
/* --------------------------------------------------------------------------------------------- */
.sidebar .widget h3, 
.sidebar .widget .heading h3 {
    font-weight:bold;
    border-top:1px solid #ebebeb;
    color:#f00;
}
/* Accordion menu container */
#sidebar .dcjq-accordion {
   
}
 
/* Main menu and sub-menus */
#sidebar .dcjq-accordion ul#menu-brand-menu > li:first-child > a,
#sidebar .dcjq-accordion ul#menu-product-menu > li:first-child > a{
    font-weight:bold;
}
#sidebar .dcjq-accordion ul {}
 
/* Menu list items */
#sidebar .dcjq-accordion ul li {
    border-bottom:1px solid #ebebeb;
}
 
/* Menu list links */
#sidebar .dcjq-accordion ul a {
    padding:3px 0 3px 5px;
    display:block;
}
#sidebar .dcjq-accordion ul a:before{
    position: absolute;
    font-size: 14px;
    font-family: IcoMoon;
    content: '\f105';
    margin-left: -12px;
}

/* active */
#wrapper #sidebar .dcjq-accordion ul a.active {
   
    background:#fff;
    color:#ED1D24;
}
 
/* Menu list links on hover */
#sidebar .dcjq-accordion ul a:hover {}
 
/* Sub-menus */
#sidebar .dcjq-accordion ul li ul {
    margin-left:10px;
}
 
/* Sub-menu list items */
#sidebar .dcjq-accordion ul li ul li {
    border-bottom:none;
}
 
/* Sub-menu links */
#sidebar .dcjq-accordion ul li ul li a {}
 
/* Parent links only */
#sidebar .dcjq-accordion ul a.dcjq-parent {}
 
/* Active parent links - when sub-menu is open */
div#main #sidebar .dcjq-accordion ul a.dcjq-parent.active {
     background:#ED1D24;
    color:#fff;
}

/* --------------------------------------------------------------------------------------------- */
/* SIDEBAR MENU*/
/* --------------------------------------------------------------------------------------------- */


/* --------------------------------------------------------------------------------------------- */
/* WOOCOMMERCE */
/* --------------------------------------------------------------------------------------------- */
/* WooCommerce Category listing on homepage */
div.woocommerce ul.products li.product-category a:hover {
    opacity:.5;
}
/* hides the product cat name and number of products on homepage */
div.woocommerce ul.products li.product-category img+h3 {
    display:none;
}
/* --------------------------------------------------------------------------------------------- */
/* WooCommerce Products */
/* CATEGORY LISTING */
/* category display - removed 'add to cart/quote' and 'details' button because variations don't get added */
div.woocommerce-container a.add_to_cart_button.product_type_variable {
    display:none;
} 
/* category image display - added a hack in woocommerce/loop/loop-start.php to display category images on category view pages */
div.woocommerce-container div.jr-brand-image {
    width:100%;
    /*margin:0 auto;*/
    float:right;
    position:relative;
    border-radius:10px;
}
/* category image display - if category doesn't have a catimage, then use a span (set in functions.php) */
/* no longer used in FSM */
/*
div.woocommerce-container div.jr-brand-image span.jr-emptyimage {
    width:250px;
    height:250px;
    width:30%;
    float:right;
    display:block;
    margin-bottom:10px;
    border-radius:10px;
}
*/
/* no longer used in FSM */
/*
div.woocommerce-container div.jr-brand-image img{
    width:30%;
    float:right;
    display:block;
    margin-bottom:10px;
    border-radius:10px;
}
*/
div.woocommerce-container div.jr-brand-image p.jr-imagetitle {
    color:#000;
    font-weight:bold;
    /*width:60%;*/ /* if used with a category image */
    /*margin-left:70%;
    margin-bottom:30px;*/
    /*width:100%;*/ /* used without category image */
    text-align:center;
    /*position:absolute;
    top:40%;
    left:0;*/
    background:rgba(255,255,255,0.8);
    color:#000;
    /*background:rgba(0,0,0,0.7);
    color:#fff;*/
    padding:10px;
    border-top:1px solid #ccc;
    border-bottom:1px solid #ccc;
    text-transform:uppercase;
}


div.woocommerce-container ul.products li.product a img[src$="placeholder.png"]{
    display:none;
}



/* category image display - added a hack in woocommerce/single-product/title.php to display category images on single product pages */
div.woocommerce-container div.jr-catimage img {
    width:50%;
    margin-left:50%;
}

/* hide pricing in category listing */
/*
div.woocommerce-container div.product-details-container span.price {
    display:none;
}
*/
div.woocommerce-container div.term-description {
    display:none;
}

/* category display - subcategory 'tiles' */
/* hide the item count */
div.woocommerce-container .products .product-category h3 {
    text-align:center;
    font-size:13px;
    font-weight:normal;
    
}
div.woocommerce-container .products .product-category h3 mark {
    display:none;
}

/* --------------------------------------------------------------------------------------------- */
/* SINGLE PRODUCT */
/* Product Description */
/* short description - hide it but keep it there for SEO */
div.woocommerce-container div.summary-container div.post-content {
    position:absolute;
    left:-1000em;
}
/* List of product variations on product page. */
table.table-1 tr th {
    font-size:9px;
}
table.table-1 tr td {
    padding:2px 3px;
    font-size:10px;
}
table.table-1 tr:hover{
    background:#222222;
    color:#fff;
}
table.table-1 {
    display:block;
    overflow:auto;
}
/* hide pricing in single product */
/* div.woocommerce-container div.product p.price {
    display:none;
}*/
/* hide the category links in product meta */
div.woocommerce-container div.product_meta span.posted_in {
    display:none;
}
/* hide the tags in product meta */
div.woocommerce-container div.product_meta span.tagged_as {
    position:absolute;
    left:-1000em;
}
div.woocommerce-container div.product_meta span.sku_wrapper {
    margin-bottom:20px;
}

/* hide the placeholder image if none exists (ie in some accessories) */
div.woocommerce-container ul.slides img[src$="placeholder.png"]{
    display:none;
}

/* --------------------------------------------------------------------------------------------- */
/* RELATED PRODUCTS */
div.woocommerce-container div.related.products div.jr-brand-image {
    display:none;
}

div.woocommerce-container div.related.products h3.product-title {
    font-size:14px;
    
}
div.woocommerce-container div.related.products span.amount {
    font-size:13px;
    font-weight:bold;
}

/* --------------------------------------------------------------------------------------------- */
/* CART */
/* hide pricing in cart list */
/*div.woocommerce .product-price,
div.woocommerce .product-subtotal {
    display:none;
}*/
/* hide pricing in cart totals */
/*div.woocommerce div.cart_totals h2,
div.woocommerce div.cart_totals table {
    display:none;
}*/

/* empty cart notice */
#main .cart-empty {
    width:auto;
    border:none;
}
/* --------------------------------------------------------------------------------------------- */
/* CHECKOUT */
/* hide pricing and method in checkout  */
/*
div.woocommerce .shop_table th.product-total,
div.woocommerce .shop_table td.product-total,
div.woocommerce .shop_table tfoot,
div.woocommerce div#payment ul.payment_methods{
    display:none;
}
*/

/* hide the 'Hello user name in the top of the cart */
.woocommerce-checkout div.woocommerce .myaccount_user_container .username {
    display:none;
}

/* hide payment methods in cart - it's set to COD */
div.woocommerce div#order_review ul.payment_methods {
    display:none;
}
/* hide payment method in order received, thank you */
div.woocommerce div.avada-thank-you li.method {
    display:none;
}
/* hide the para that follows */
div.woocommerce div.avada-thank-you p {
    display:none;
}
/* hide the payment method in the order details block */
div.woocommerce div.avada-order-details tfoot tr:nth-child(2n+2){
    display:none;
}
/* completely hide the billing and additional info areas */
/* note that the actual fields have been disabled in functions.php */
div.woocommerce div#customer_details,
.woocommerce-checkout div.woocommerce div.woocommerce-info,
.woocommerce-checkout div.woocommerce div.avada-customer-details{
    /* display:none; */
}
/* hide the 'create account' checkbox */
.woocommerce-checkout div.woocommerce p.create-account {
 display:none;   
}
/* hide the 'returning customer login' block  */
.woocommerce-checkout div.woocommerce div.woocommerce-info {
 display:none;   
}
/* hide the 'Additional Information' block  */
.woocommerce-checkout div.woocommerce div#customer_details div.col-2 {
 display:none;   
}
/* now that the 'Additional Information' block is hidden, let the billing details block take up the full width */
.woocommerce-checkout div.woocommerce div#customer_details div.col-1 {
 width:100%;   
}
/* change the height of the 'state' dropdown */
div.woocommerce-billing-fields {
    height:500px;
}
/* --------------------------------------------------------------------------------------------- */
/* WOOCOMMERCE specific product treatments */
/* --------------------------------------------------------------------------------------------- */
/* kitchen ventilation systems custom design, decorative heat lamps, Component Hardware */
.woocommerce-container .post-604 .price,
.woocommerce-container .post-607 .price,
.woocommerce-container .post-611 .price,
.woocommerce-container .post-796 .price,
.woocommerce-container .post-2584 .price,
.woocommerce-container .post-3736 .price{
    display:none;
}
/* --------------------------------------------------------------------------------------------- */
/* FOOTER */
/* --------------------------------------------------------------------------------------------- */
/* woocommerce product categories widget in footer */
footer ul.product-categories li {
    display:none;
}
footer ul.product-categories li.current-cat,
footer ul.product-categories li.current-cat-parent  {
    display:block;
}

/* featured products widget in footer */
footer ul.product_list_widget img.wp-post-image{
    width:180px;
    max-width:240px;
}
/* ajax search widget in footer */
footer div#ajaxsearchlitewidget-2 {
    margin-bottom:20px;
}

/* logo in footer */
footer img.fsmlogo {
    display:block;
    margin:0 auto;
}
/*copyright */
footer div.copyright div{
    margin:0 auto;
    display:block;
    text-align:center;
}

/* chrome browser link */
footer .jr-widget img {
    width:50px;
    height:50px;
    display:inline-block;
    float:left;
}
footer .jr-widget span {
    display:inline-block;
    margin-top:15px;
    margin-left:5px;
}
/* --------------------------------------------------------------------------------------------- */
/* MODAL WINDOWS */
/* --------------------------------------------------------------------------------------------- */
/* modal Product enquiry form */
#contact-container {
   
}
#contact-container #wdm_product_name {
    font-size:18px;
    text-align:center;

    padding:5px 0;
    color:#000;
    margin-bottom:5px;
}
#contact-container .contact-bottom {
    display:none;
}
/* add some text at the bottom of the modal window */
#simplemodal-data:after{
    display:block;
    font-size:18px;
    background:#fff;
    border-radius:0 0 10px 10px;
    text-align:center;
    width:450px;
    padding:5px 0;
    color:#000;
    margin-bottom:5px;
    content:"Please add your State in the Enquiry field";
}

/* ajax search lite */
div[id*="ajaxsearchliteres"] .results .item .content {
    border-bottom:1px solid #ccc;
    padding: 2px 0;
}
div[id*="ajaxsearchliteres"] .results .item .content h3 a {
    font-size:12px !important;
    color:#000 !important;
}
#post-1548 .excerpt-container{
	border-bottom:1px solid #747474;
}

#book-a-service-form p.label {
	font-size:18px; 
	font-family:Arial Narrow;
	font-weight:bold;
	margin-bottom:5px;
}
#book-a-service-form p.label2{
	font-size:12px;
	font-family:Arial Narrow;
	margin-top:-17px;
}
#book-a-service-form .mandatory{
	color:red;
}
#book-a-service-form .wpcf7-select{
	width:100% !important;
	height:33px !important;
	color:#333;
}
#book-a-service-form .wpcf7-date{
	width:50% !important;
	color:#333;
}
.black-background{
	background-color:#000;
	color:#fff;
	padding:10px 15px 10px 15px;
	font-size:15px;
}
#book-a-service-form .wpcf7-text, #book-a-service-form .wpcf7-form textarea, #book-a-service-form .wpcf7-textarea{
	color:#333 !important;
}
#book-a-service-form .wpcf7-radio{
	line-height:34px;
}