/*
Theme Name: Enfold Child
Description: A <a href='http://codex.wordpress.org/Child_Themes'>Child Theme</a> for the Enfold Wordpress Theme. If you plan to do a lot of file modifications we recommend to use this Theme instead of the original Theme. Updating wil be much easier then.
Version: 1.0
Author: Kriesi
Author URI: http://www.kriesi.at
Template: enfold
*/



/*Add your own styles here:*/

/* hides display of category on Search Result pages - by nrb 08/15/15 */
add_filter('avf_which_archive_output','avf_change_which_archive', 10, 3);
function avf_change_which_archive($output)
{
	if(is_category())
	{
		$output = single_cat_title('',false);
	}

	return $output;
}

/* adds underline to links - by nrb 09/01/15 */
a { text-decoration: underline; outline: 0; max-width:100%; max-width:none\9; }

/* changes footer font color - by nrb 09/01/15 */
#footer .widgettitle { color: #4D4D4D !important; }

/* changes sidebar title & font color - by nrb 09/01/15 */
.widgettitle { color: #4D4D4D !important; }

.widget { color: #4D4D4D !important; }

/* overrides built-in table styles - by nrb 09/04/15 */
/* #Table
================================================== */
table {
	width: 90%;
	padding: 0;
	margin: 0 0 20px 0;
	font-size: 13px;
}

table caption {
	padding: 0 0 5px 0;
	width: auto;
	font-style:italic;
	text-align: right;
	font-size: 12px;
}

th {
	font-weight:bold;
	letter-spacing: .8px;
	text-transform: none;
	text-align: left;
	padding: 4px 4px;
	border-style: solid;
	border-width: 1px;
}

td {
	font-size: 13px;
	padding: 2px 2px;
	border-style: solid;
	border-width: 1px;
	border-left: none;
	border-top: none;
}

tr th:first-child, tr td:first-child{
	border-left-style: solid;
	border-left-width: 1px;
}

tr:first-child th, tr:first-child td{
	border-top-style: solid;
	border-top-width: 1px;
}

#top th.nobg {
	background: none;
	border-top: 0;
}

/* changes Testimonial images to square w/rounded corners and increases size - added by nrb 01/05/17 */
.avia-testimonial-image img {
border-radius: 5%;
width: 180px;
height: 180px;
}
.avia-testimonial-image {
border-radius: 5%;
width: 180px;
height: 180px;
}

/* fixes a woocommerce issue with theme in wc release 3.0-3.01 */
.woocommerce-product-gallery__trigger{
    position: absolute !important;
    top: 1em;
    left: 1em;
    z-index: 99;
}
