/*
 Theme Name:   Divi Child
 Theme URI:    http://www.barrydesign.ie/source/Divi-child/
 Description:  Divi Child Theme
 Author:       John Doe
 Author URI:   http://www.barrydesign.ie
 Template:     Divi
 Version:      2.2
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
 Text Domain:  Divi-child
*/

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

#main-header{box-shadow: none!important;
}
div#et-top-navigation{
	padding-left:0!important;
}

#logo {margin-bottom:10px;}
@media only screen and (max-width: 980px){
	.et_header_style_left #logo{
		max-width:80%!important;
	}
}

#page-container { -moz-box-shadow:none !important; -webkit-box-shadow:none !important; box-shadow:none !important; }

.et_pb_section {
    padding-top: 0px!important;
	padding-bottom: 0px!important;
	margin:0px!important;
	border:none!important;
}

@media only screen and ( min-width:981px ) {
    /* Set the slider height */
    .et_pb_slider, .et_pb_slider .et_pb_container { 
        height: 550px !important; 
    }
    .et_pb_slider, .et_pb_slider .et_pb_slide { 
        max-height:550px; 
    }
    .et_pb_slider .et_pb_slide_description { 
        position: relative;
        top: 35%; 
        padding-top: 0 !important; 
        padding-bottom:0 !important; 
        height:auto !important; 
    }
}

.et_pb_fullwidth_header {
    padding: 20px 0;
}

/*Hide cart top menu*/
a.et-cart-info{
	display:none!important;
}

/*Add spacing between widgets on left sidebar*/
li#woocommerce_product_categories-3{
	margin-top:20px!important;
	margin-bottom:20px!important;
}

/*Change font colour to blue of left sidebar*/
li#text-2 a{
	color:#2c6fbb;
}

/*Remove padding between sidebar and slider*/
.et_pb_sidebar_0{
	padding-right:20px;
}

/*Style categories into buttons on left sidebar*/

ul.product-categories{
	padding-bottom:20px!important;
	padding-top:20px!important;
}

ul.product-categories li, ul.secondaryLeftMenu li{
	border: 1px solid #6d6d6d;
    margin-bottom: 1px;
    height: 50px;
    line-height: 50px;
    font-size: 14px;
	text-align:center;
	background-color:#2c6fbb;
}

ul.secondaryLeftMenu li{
	background-color:#3ab43d;
}

ul.product-categories li a, ul.secondaryLeftMenu li a{
	color:white;
}

/*Make search larger on left sidebar*/
form.woocommerce-product-search{
	height:50px;
}
.search-field{
	height:50px;
	border: 1px solid #6d6d6d;
	font-size:14px;
	float:left;
	margin-right:5%;
	width:65%;
	padding-left:5px;
}
input[type=submit]{
	height:50px;
	border: 1px solid #6d6d6d;
	float:left;
	width:30%;
	color:white;
	background-color:#2c6fbb;
	font-size:14px;
}
form.woocommerce-product-search a{
	color:white;
}


/*Change font size of search bar*/
@media (min-width: 980px) and (max-width: 1199px) {
	.search-field, input[type=submit]{
		font-size:10px!important;
	}
}

/*Enquiry Form Styling*/
input.wpcf7-form-control.wpcf7-text, textarea.wpcf7-form-control.wpcf7-textarea{
	margin-left:5%;
	width:90%;
}
.wpcf7-form label{
	margin-left:5%;
}

input.wpcf7-form-control.wpcf7-submit{
	margin-left:5%;
}

/*Product button style*/
#productButton{
    color: #ffffff;
    font-size: 15px;
    border-radius: 5px;
    border: 1px solid black;
    padding: 5px 10px 5px 10px;
    background-color: #2c6fbb;
}

/*Change related products font size*/
.product .related h2{
	font-size:20px!important;
}

/*Remove Breadcrumbs*/
nav.woocommerce-breadcrumb{
	display:none!important;
}


/*Widen the product page*/
.single-product #main-content .container  {
	max-width:1400px!important;
    width:90%!important;
}

/*Remove right line next to left sidebar*/ 
.et_pb_widget_area_left{
	border:none!important;
}

/*Remove image container on individual product page*/
div.woocommerce-product-gallery{
	display:none!important;
}

/*Widen the summary of product on individual page*/
div.summary{
	width:100%!important;
	margin-bottom:3em!important;
}

/*Remove image container products page*/
.woocommerce-placeholder.wp-post-image{
	display:none!important;
}

/*Reduce size of Quick View*/
a.button.yith-wcqv-button{
	font-size:14px!important;
}
/*Reduce size of > on hover */
.woocommerce a.button:after{
	font-size:20px!important;
}

/*Make room between View Product & Quick View*/
.addtocartbutton{
	margin-right:5px!important;
}

/*Reduce size of View Product */
a.button.addtocartbutton{
	font-size:14px!important;
}

/*Add border around each product*/
li.product{
	padding:5px 5px 0px 5px!important;
	border:1px solid #ccc;
}

/*Creating a full width products page*/
li.product{
	width:100%!important;
	margin-bottom:5px!important;
}

.woocommerce-LoopProduct-link{
	float:left!important;
	width:300px!important;
}
.product-code{
	float:left!important;	
	margin-left:10px!important;
	margin-right:10px!important;
	width:160px!important;
}
.product-cas{
	float:left!important;
	margin-left:20px!important;
	width:120px!important;
}
a.button.addtocartbutton, a.button.yith-wcqv-button{
	float:right!important;
	margin-top:0!important;
	margin-left:5px!important;
}

span.sku_wrapper{
	content:'Product Code: '!important;
}

div.product-code strong, div.product-cas strong{
	float:left!important;
}

/*Fix screen size desktop*/
@media only screen and (max-width: 1240px) and (min-width: 980px)  {
	div.product-code{
		width:100%!important;
	}
}

/*Tablet & Mobile responsive Design Changes*/
@media (max-width: 980px){
	div.et_pb_column.et_pb_column_3_4.et_pb_column_1{
		margin-top:50px!important;
	}
	.et_pb_gutters1 .et_pb_grid_item:nth-child(n),
	.et_pb_gutters1 .et_pb_filterable_portfolio .et_pb_portfolio_item.et_pb_grid_item:nth-child(n),
	.et_pb_gutters1 .et_pb_shop_grid .woocommerce ul.products li.product:nth-child(n),
	.et_pb_gutters1 .woocommerce ul.products li.product:nth-child(n) {
		width: 100% !important;
		margin-top:5px!important;
	}	
	h2.woocommerce-loop-product__title{
		max-width:250px!important;
	}
	div.product-cas, div.product-code{
		width:100%!important;
	}
}

/*Hide Description (h2)*/
div#tab-description h2{
	display:none!important;
}

/*Change quick view size*/
div.yith-wcqv-wrapper{
	max-width:600px!important;
	max-height:400px!important;
}

/*Hide Documentation section*/
li.local_1_tab{
	display:none!important;
}
