/*
Theme Name:     canvas-child
Description:    Canvas Child Theme
Author:         Joseph Birks
Template:       canvas

(optional values you can add: Theme URI, Author URI, Version, License, License URI, Tags, Text Domain)
*/

/* WooCommerce 3.0 Gallery */
 
.woocommerce-product-gallery {
position: relative;
margin-bottom: 3em
}
 
.woocommerce-product-gallery figure {
margin: 0
}
 
.woocommerce-product-gallery .woocommerce-product-gallery__image:nth-child(n+2) {
width: 25%;
display: inline-block
}
 
.woocommerce-product-gallery .flex-control-thumbs li {
list-style: none;
float: left;
cursor: pointer
}
 
.woocommerce-product-gallery .flex-control-thumbs img {
opacity: .5
}
 
.woocommerce-product-gallery .flex-control-thumbs img.flex-active,.woocommerce-product-gallery .flex-control-thumbs img:hover {
opacity: 1
}
 
.woocommerce-product-gallery img {
display: block
}
 
.woocommerce-product-gallery--columns-3 .flex-control-thumbs li {
width: 33.3333%
}
 
.woocommerce-product-gallery--columns-4 .flex-control-thumbs li {
width: 25%
}
 
.woocommerce-product-gallery--columns-5 .flex-control-thumbs li {
width: 20%
}
 
.woocommerce-product-gallery__trigger {
position: absolute;
top: 1em;
right: 1em;
z-index: 99;
}
 
a.woocommerce-product-gallery__trigger {
text-decoration: none;
}
 
.single-product div.product .woocommerce-product-gallery .woocommerce-product-gallery__trigger {
position: absolute;
top: .875em;
right: .875em;
display: block;
height: 2em;
width: 2em;
border-radius: 3px;
z-index: 99;
text-align: center;
text-indent: -999px;
overflow: hidden;
}
 
.single-product div.product .woocommerce-product-gallery .woocommerce-product-gallery__trigger {
background-color: #169fda;
color: #ffffff;
}
 
.single-product div.product .woocommerce-product-gallery .woocommerce-product-gallery__trigger:hover {
background-color: #1781ae;
border-color: #1781ae;
color: #ffffff;
}
 
.single-product div.product .woocommerce-product-gallery .woocommerce-product-gallery__trigger:before {
font: normal normal normal 1em/1 FontAwesome;
font-size: inherit;
text-rendering: auto;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
display: block;
content: "\f00e";
line-height: 2;
text-indent: 0;
}

#bbpress-forums a {
background: none !important;
}

div.bbp-template-notice.info {
background-color: #F4FFD7 !important;
}

#bbpress-forums .bbp-forums-list li {
display: list-item !important;
font-size: 12px !important
}

div.bbp-forum-content {
font-size: 12px !important
}

#bbpress-forums .bbp-reply-content p, .bbp-topic-contect p {
margin-bottom: 10px;
}

#bbpress-forums .bbp-forum-title, .bbp-topic-permalink {
font-weight: bold
}

.step-cap {
	float: left;
	font-size: 2.5em;
	line-height: 1;
	padding-right: 0.2em;
}

/*Class to use in post for images*/
img.borderless {
  border: 0px;
  padding: 0px;
}

.entry img {
  border: 0px;
  padding: 0px;
}

/*Send in Blue opt in*/
#ws_opt_in_field {
	width: 100%;
}

/*Redundant(?) hacks

/*Stop double sized logo appearing with WP Retina 2x */
#logo {height: 81px; width: 300px;} 
#logo .img {width: 100%}

/*Hack to stop image squashing on iPads (and other devices?)*/
div.entry-content img{max-width:100%;height:auto;}