/*
Theme Name: Design
Template: enfold
*/

@import url("responsive.css") screen;

/*
===================================
COLOURS
===================================
light green: #bfdb96
mercy green: #2ed4b4
dark green: #58baa9

*/

::selection {
	background-color: #2ed4b4;
	color: #ffffff;
}

/*
===================================
OUTERMOST ELEMENTS
===================================
*/

html {
	font-size: 16px;
	font-weight: 400 !important;/* use numeric weights to assist Chrome consistency */
	-webkit-font-smoothing: antialiased;
}

body {
	font-size: 16px;
	font-weight: 400 !important;/* use numeric weights to assist Chrome consistency */
	-webkit-font-smoothing: antialiased;
}

/* outer shadow for fixed width pages */
#wrap_all {
	-moz-box-shadow: 0 0 5px 5px rgba(0,0,0,0.3);
	-webkit-box-shadow: 0 0 5px 5px rgba(0,0,0,0.3);
	box-shadow: 0 0 5px 5px rgba(0,0,0,0.3);
	background: transparent!important;
}


/*
===================================
HEADER
===================================
*/


/* HEADER > MISC BORDERS
===================================*/

/* removing horizontal borders from default Enfold Theme styling */

/* border butting bottom of meta strip */
#header_meta {
	border-bottom: 0 none!important;
}

/* border butting top of main menu */
#header_main{
	border-bottom-width: 0px!important;
}

/* border above main menu */
#header .container_wrap,
#main .container_wrap {
	border-top-width: 0!important;
	border-top-style: 0 none!important;
}

/* border beneath main menu */
#header_main_alternate { 
	border-bottom-width: 0px!important;
}


/* HEADER > META STRIP (TOP OF VIEWPORT)
=========================================*/

/* override Enfold Theme setting */
#header_meta {
	background: #000!important;
	border-bottom: 0 none!important;
	box-shadow: none!important;
	height: 40px!important;
	min-height: 0px!important;
}

/* adjust the height to suit parent */
#header_meta .container {
	height: 100%!important;
	min-height: 0px!important;
}

/* Phone info outer containment */
#header_meta .phone-info {
	color: #fff;
	display: block;
	border-left: 0 none!important;
	font-size: 14px;
	height: 40px!important;
}

/* Phone info inner containment */
#header_meta .phone-info span {
	height: 40px!important;
	line-height: 32px!important;/* smaller dimension raises the text in y-axis */
	font-weight: 400 !important;/* use numeric weights to assist Chrome consistency */
}

/* Phone info link treatments */
#top main #header_meta .phone-info span a:visited,
#top main #header_meta .phone-info span a:hover,
#top main #header_meta .phone-info span a:active,
#top main #header_meta .phone-info span a:focus {
	text-decoration: none !important;
}

/* Phone info link hover treatments */
#top #header_meta .phone-info span a:hover {
	/*color:!important;*/
}


/* HEADER > SOCIAL
===================================*/

/* social bookmarks outermost unordered list */
#top ul.social_bookmarks {
	margin: 0px!important;
	width: auto!important;
	padding-left: 0!important;
	text-align: right!important;
	top: 50% !important;
	transform: translateY(-50%);/* enables vertical centering on Y-axis origin */
}

ul.social_bookmarks li {
	margin-left: 6px!important;
	height: 40px!important;
	width: 40px!important;
	border: 0 none!important;
}

ul.social_bookmarks li a {
	background: transparent!important;
	color: #fff!important;
	height: 20px!important;
	min-height: 20px!important;
	width: 20px!important;
	line-height: 70px!important;
	font-size: 1em;
	border-radius: 0!important;
	border: none !important;
}
ul.social_bookmarks li a:visited,
ul.social_bookmarks li a:hover,
ul.social_bookmarks li a:active,
ul.social_bookmarks li a:focus {
	text-decoration: none !important;
}

ul.social_bookmarks li a:hover {
	background: #2ed4b4!important;
	color: #FFF!important;
}


/* HEADER > LOGO
===================================*/

/* match or override the theme option height setting */
#header_main > .container {
	height: 130px!important;
}

/* match the height of the outer containment */
.container .logo,
.container .logo a {
	height: 160px!important;
	line-height: 130px!important;/* required for img vertical centering, equal to height, or adjusted for optical balance */
	margin-top: 0!important;/* remove Enfold Theme default spacing */
}

.container .logo a {
	display: block!important;
}

.container .logo img {
	max-height: 70%!important;/* Usually 70% or 80%, vary this dependent on perceptual size of the logo */
	padding-top: 0!important;/* remove Enfold Theme default spacing */
	vertical-align: middle!important;
	display: inline-block!important;
}


/* HEADER > CUSTOM CONTENT
===================================*/
/* used in conjunction with sidebar widget and functions.php */
#header .widget {
	position: relative;
	width: 100%;/* of parent, vary this if overlaps logo */
	margin: 0 auto;
	padding: 0px 50px;/* match the 50px Enfold Theme default edge clearance */
	clear: both;
	position: absolute;
	right: 0;
	top: 50%;/* puts the top in vertical center of parent */
	transform: translateY(-50%);/* vertically centers the widget upon its Y-axis origin */
}

/* used when the widget content is an image */
#header .widget img {
  transform: translateY(-50%);/* if a small image, move up to become vertically centred in parent */
}


/* HEADER > MAIN MENU
===================================*/

/* main menu background imagery, multiple structures required */
#header_main_alternate,
#header_main_alternate .container,
#menu-primary-menu,
#avia-menu.menu {
	/*background: transparent url(images/xxxxxx.png) center center repeat-x!important;*/
}

/* main menu background color and borders */
#header_main_alternate.container_wrap {
	border-top-style: 0 none!important;
	background: #FF0000;
}

/* make navigation thinner - for Enfold Theme header style logo left, menu right */
.html_header_top.html_main_nav_header .main_menu ul:first-child > li > a {
	height: 30px!important;
	line-height: 30px!important;
	padding: 0!important;
	margin: 0 13px;
}

/* reposition navigation vertically - for Enfold Theme header style logo left, menu right */
nav.main_menu .av-main-nav-wrap {
	top: 50%!important;
	transform: translateY(-50%);
	position: relative;
}

/* remove vertical line before main menu (when positioned below header) */
.html_header_top.html_bottom_nav_header .main_menu ul:first-child>li:first-child a {border-left: 0 none!important;}

/* remove default Enfold Theme arrow tip */
.avia-arrow {width: 0px;}

/* remove default border on div surrounding main menu */
.avia-menu {
	border-right: 0 none!important;
}

/* move full menu leftward, this couples with the last-child menu item gap fixes of the same distance */
#avia-menu {
	padding-right: 13px;
}

/* main menu modify Enfold Theme menu-fx */
.header_color .avia-menu-fx {
	bottom: 0;
	background-color: red!important;
	height: 2px!important;
	display: none;
}

/* main menu reposition flyouts - when using menu-fx */
.main_menu .menu ul {
	margin-top: -2px;/* overlap the menu-fx strip */
}

/* main menu modify hover menu-fx color */
.main_menu ul:first-child > li > a:hover .avia-menu-fx {
	/*background-color: !important;*/
}

/* main menu anchors, revert the default Enfold Theme 90px minimum width on top-level items */
.av_seperator_big_border .av-main-nav > li > a {
min-width: 10px;
}

/* remove white borders from theme options */
.av_seperator_small_border .av-main-nav > li > a > .avia-menu-text{border-left:none;}

/* fix Enfold Theme buggy gap at end of main menu */
#avia-menu > li:nth-last-child(1) a {
	padding-right: 13px!important;
	margin-right: -13px!important;
}

/* main menu all anchors (includes submenus) */
.main_menu a {
	font-size: 15px!important;
	font-weight: 400 !important;/* use numeric weights to assist Chrome consistency */
}

/* main menu top-level anchors (excldudes submenus) */
.main_menu ul:first-child > li > a {
	font-size: 15px!important;/* 1px smaller than top-level, since top is uppercase, looks much bigger */
	font-weight: 400 !important;/* use numeric weights to assist Chrome consistency */
	color: #000!important;
	letter-spacing: .02em !important;
}

/* main menu top-level anchors hover */
.main_menu ul:first-child > li > a:hover {
	background: #fff!important;
	color: #2ed4b4 !important;
	border-bottom: solid 2px #2ed4b4!important;
}

/* main menu top-level anchors current and ancestor treatments */
.main_menu ul:first-child > li.current-menu-item > a,
.main_menu ul:first-child > li.current-page-item > a,
.main_menu ul:first-child > li.current-page-ancestor > a,
body.woocommerce li.main-nav-products > a {
	color: #2ed4b4!important;
	border-bottom: solid 2px #2ed4b4!important;
	background: transparent !important;
	font-weight: 400 !important;/* use numeric weights to assist Chrome consistency */
}

/* main menu submenu */
#top ul.sub-menu {
	border-top: 1px solid #e1e1e1!important;
	margin-top: 0px!important;
}

/* main menu reposition deeper submenus */
#top ul.sub-menu ul.sub-menu {
	margin-top: -2px!important;
}

#top ul.sub-menu li a {
	color: #000!important;
	background-color: #fefefe!important;
}

#top ul.sub-menu li a:hover {
	color: #000!important;
	background-color: #efefef!important;
}

/* main menu indent submenu anchors */
#top .widget_nav_menu ul ul li a {
	padding-left: 20px;
}

/* main menu search icon */
li#menu-item-search.menu-item-search-dropdown a {
	color: #000!important; /* colours the icon and the term */
	font-size: 18px!important;
	font-weight: 400 !important;/* use numeric weights to assist Chrome consistency */
	margin-top: -2px!important;/*term moves with the icon*/
}
/* main menu search icon search term */
li#menu-item-search a:after {
	content: " Search";
	font-weight: 400 !important;/* use numeric weights to assist Chrome consistency */
	font-size: 15px!important; /* match main menu size */
	display: none;
}

/* main menu with disabled search icon*/
.html_header_searchicon_disabled #top .main_menu .menu>li:last-child>a .avia-menu-fx {
left: 0;
}


/* HEADER > MEGA MENU 
===================================*/
/* (COMBINES WITH MAIN MENU RULES) */

/* main menu mega menu, reposition relative to menu-fx strip */
#header .avia_mega_div {
	margin: -2px 0 0 0;
	padding-top: 2px!important;
}

/* main menu mega menu titles */
h4.mega_menu_title > a {
	font-weight: 400 !important;/* use numeric weights to assist Chrome consistency */
}

/* mega menu first anchor */
.main_menu ul.sub-menu:first-child > li h4 a {
	font-size: 18px!important;
}


/* HEADER > SECONDARY MENU
===================================*/

/* OVERALL */

/* submenu (secondary menu) outer nav element in topmost strip */
nav.sub_menu {
	padding: 0!important;
	margin: 0!important;
	top: 0;
	height: 100%!important;
}

/* SUBMENU LEVEL 1 (TOP-LEVEL) */

/* submenu top-level unordered list */
ul#avia2-menu {
	border: 0 none;
zzzposition: relative !important;
	padding: 0!important;
	margin: 0!important;
	height: 100%!important;
}

/* submenu top-level list */
ul#avia2-menu > li {
	border: 0 none;
	padding: 0!important;
	margin: 0!important;	
	height: 40px!important;
	line-height: 28px!important;/* smaller dimension raises the text in y-axis */
}

ul#avia2-menu > li.current_page_item > a {
	background: #CDCDCD;
}

/* submenu top-level list anchors */
ul#avia2-menu > li > a {
	color: #666;
	font-size: 15px!important;
	font-weight: 400 !important;/* use numeric weights to assist Chrome consistency */
	padding-left: 10px;
	padding-right: 10px;
	background: #DDD;
	height: inherit !important;/* simplify height, only need to manage parent height */
	display: inline-block; /* enable fit to parent height*/
}

/* submenu top-level list hover anchors */
ul#avia2-menu > li > a:hover {
	color: #000!important;
	text-decoration: none !important;
}

/* SUBMENU LEVEL 2 AND BEYOND */

ul#avia2-menu ul.sub-menu {
	top: auto;/* relative to parent submenu, sits at base of menu item */
	left: auto;/* relative to parent submenu, sits at leftmost point */
	padding: 6px 0!important;/* increase space top and bottom to avoid cramping submenus */
	background: #FFF!important;/* prevent default transparency */
}

ul#avia2-menu ul.sub-menu a {
	font-size: 15px;/* increased from default */
	line-height: 1.2em;/* makes wrapped-lines more apparent that it's the same item */
}

#top nav.sub_menu ul.sub-menu {
	width: auto;/* modify default Enfold Theme fixed width */
	min-width: 170px;/* to allow long anchor character-lengths when necessary*/
	/*max-width: 300px !important; doesn't seem to be having any effect, but I'm leaving it here in case I work out a way */
}

ul#avia2-menu ul > li.current_page_item > a,
ul#avia2-menu ul > li.current_page_parent > a {
	font-weight: 700 !important;
	border-left: 4px solid #FF0000 !important;
	background: #FF0000 !important
}

/* SUBMENU LEVEL 3 AND BEYOND */

#top .sub_menu ul.sub-menu ul.sub-menu {
	left: 100%;/* instead of Enfold Theme negative margin positioning, enables left positioning at rightmost of the parent item */
	top: -5px;/* negative positioning countering the ul padding-top dimension (1px less than the padding, takes into account the border of 1px) */
}


/* SUB MENU (IN SIDEBAR)
===================================*/

/* reposition sidebar submenu bullets */
#top .sidebar_left .widget_nav_menu ul ul li:before {
	left: 0px;
	right: auto!important;/*reverts code in layout.css*/
}

/* change sidebar submenu bullet to em dash*/
#top .widget_nav_menu ul ul li:before {
	content: "\2014";
}

/* collapse space above of sidebar submenu. Space has been more accurately set in aside.sidebar_right */
ul.nested_nav {
	margin-top: 0px!important;
}

ul.nested_nav li a {
	line-height: 1.3!important;
	padding-top: 10px!important;
	padding-bottom: 10px!important;
}



/*
===================================
HEADING
===================================
*/


/* PAGE HEADING (TITLE)
===================================*/

/* area behind header and breadcrumbs */
.title_container {
}
  
h1 {
	font-size: 32px!important;
	text-transform: none!important;
	letter-spacing: .0em!important;
	font-weight: 400 !important;/* use numeric weights to assist Chrome consistency */
	line-height: 1.3em;/*especially noticable in the form feedback message*/
}

/* override more specific setting in Enfold Theme */
h1.main-title {
	font-size: 32px!important;
	font-weight: 400 !important;/* use numeric weights to assist Chrome consistency */
	line-height: 1.3em!important;
	left: 0px;
}

/*a s above, override more specific setting in Enfold Theme */
/* certain blog pages also use strong rather than a h1 */
strong.main-title a,
h1.main-title a {
	font-size: 36px!important;
	padding: 25px 0 25px 0!important;
	display: inline-block!important;
	font-weight: 400 !important;/* use numeric weights to assist Chrome consistency */
	color: #fff!important;/* need this because the theme options set it from the body font colour */
	line-height: 1.3em!important;
}

/* h1 for search results and events calendar pages */
h1.main-title.entry-title   {
	color: #fff!important;/* need this because the theme options set it from the body font colour */
}

/* h1 for individual blog title */
h1.post-title.entry-title  {
	color: #333;
}

/* h1 for individual blog title anchor hover */
h1.post-title.entry-title a:hover {
	color: #333!important;
}


/* HEADING > BREADCRUMBS 
===================================*/

/* reposition breadcrumb to the left, default is to the right */
.title_container .breadcrumb {
	position: absolute;
	left: 48px; /* aligns with h1 headings above them */
	top: auto;
	bottom: 15px;
}

.breadcrumbs {
	color: #fff!important;
}

.breadcrumbs a {
	color: #fff!important;
}



/*
==================================
CONTENT (PAGES)
==================================
*/


/* CONTENT > MAJOR ELEMENTS
==================================*/

/* space between title and content */
.content, 
.sidebar {
	padding-top:40px;
}

/* space atop content area */
main.template-page {
	padding-top:40px!important;
}

/* reduce the space at the end of the main content prior to the footer */
.template-page {
	padding-bottom: 60px!important;
}

.template-page .entry-content-wrapper ul {
	margin-left: 15px;
}
.home.page .template-page .entry-content-wrapper ul {
	margin-left: 0;
}
.home.page .avia-slideshow li img {
	border-radius: 0;
}
#top.home.page #main .slider-color-panel.avia-section .template-page {
	padding: 0 !important;
}
#top.home.page #main .slider-color-panel.avia-section .container {
	padding: 0 !important;
}

/* space atop sidebar submenu */
aside.sidebar_right {
	padding-top: 30px!important;
}


/* CONTENT > HEADINGS 
==================================*/

h2, h3, h4 {
	text-transform: none!important;
	letter-spacing: .0em!important;
	font-weight: 400 !important;/* use numeric weights to assist Chrome consistency */
	line-height: 1.3em;/*especially noticable in the form feedback message*/
}

h2, h2 span {
	font-size: 24px!important;
	/*color: !important;*/
}

h3, h3 span {
	font-size: 20px!important;
	color: #2ed4b3!important;
}

/* fix buggy space on the first h3 ia a one-half column preceeded by a one-half column */
div.av_one_half.el_after_av_one_half div > h3:first-of-type {
	margin-top: .85em;/* match para default margin top, to help align multi column initial spacing */
}

/* widgets in content and sidebar, overridden elsewhere for the footer */
h3.widgettitle {
	font-size: 18px!important;
}

/* if an alternating secondary corporate color is required */
h4 {
	/*color: !important;*/
}


/* CONTENT > MINOR ELEMENTS
==================================*/

/* TEXT AND LINKS */

/* override Enfold Theme's coloured strong element */
#main p strong,
#main p b,
#main strong p,
#main li strong,
#main td b
#main td strong {
	color: #666;
}

/* anchor styling neutral and visited */
#main .template-page a:link,
#main .template-page a:visited {
	text-decoration: none!important;
}

/* anchor styling hover and active */
#main .template-page a:hover,
#main .template-page a:active {
	text-decoration: underline!important;
}

/* increase default caption size */
p.wp-caption-text {
	font-size: 15px!important;
}

.wp-caption {border: 0 none!important;}

.tab_titles div.tab {
	font-size: 18px;	
}

/* IMAGES */

/*space atop galleries */
.avia-gallery {
	margin: 20px 0 0 0!important;
}

/* create runaround space for left-aligned images */
img.alignleft {
	margin: 0 30px 40px 0;
}

/* remove link hover effects on images and popup icons */
.image-overlay,
.image-overlay-inside {
	display: none!important;
}

/* TABLES */

/* tables wouldn't margin or padding space atop, so some trickery was required */
table.avia-table {transform: translateY(40px);margin-bottom: 80px!important;}

/* general table caption treatments */
.avia-data-table caption {
	font-size: 18px;
	color: #000!important;
	font-weight: 400 !important;/* use numeric weights to assist Chrome consistency */
	text-align: left;
}

/* keep th left alignment */
th.avia-desc-col {text-align: left!important;}

/* zero certain table elements */
table,
table td {
	font-size: 1em!important;
	border-collapse: collapse!important;
}

/* colour alternate rows, may be overridden extensively in custom area below */
table tr:nth-child(odd) {
    background:  #eee!important;
}

/* SEARCH PAGE */

/*make search results font consistent with parent*/
#top .template-search.content .entry-content-wrapper {
	font-size: 1em;
}

/*remove extraneous search elements*/
.search .page-heading-container,/* this was a duplicate of the title */
.search .extra-mini-title,/* this was a a duplicate of the title */
.search .search_not_found,/* this is all the extras such as browsing post suggestion */
.search #search-fail p.entry-content strong/* the string 'Nothing found'*/
{display: none;padding:0!important;}

.search #main div.container {line-height: 1; min-height: 10px}/* counteract enlarged Enfold Theme defaults * /

/* remove and style elements on 404 error page */
.error404 .sidebar, 
.error404 .breadcrumb, 
.error404 .hr_invisible + section,
.error404 p.entry-content strong {display: none!important; }
.error404 .content {border: 0 none !important; }
.error404 .container_wrap { border: 0 none!important; }
.error404 #searchsubmit.button {
	padding-top: 0!important;
	font-size: 18px!important;}
.error404 .template-page {padding-top: 0!important;}

/* improve spacing, was too tight by default */
.search-results div.entry-content p {
	line-height: 1.6em !important;
}

/* add space to optically counteract the circular numbering to the left */
.search-results .post-title.entry-title {
	padding-top: .3em;
}

/* MISC */

/* re-assign spacing method for home page hr's */
.home .hr {
	padding: 0;
	margin: 0 0 20px 0;
}



/* 
=======================================
BLOG SPECIFIC 
======================================= 
*/

/* blog title */
.blog .title_container,
.single h1.main-title {
	display: block!important;
}

/* add space between meta and body */
.post-meta-infos {
	margin-bottom: 20px;
}

/* remove blog meta (couples with theme options checkboxes) */
.blog-meta,
.multi-big .post_author_timeline,
.single-small .post_author_timeline {
	display: none;
}

/* override default Enfold Theme background colour */
.blog-meta .small-preview {
	background: transparent!important;
}

/* remove default Enfold Theme line */
.post_author_timeline {border: 0 none!important;}

/* default size news/portfolio widget controls the space between borders and image*/
.news-thumb,
.image_size_widget .news-thumb {
	min-width: 58px;
	min-height: 58px;
}

/* set a minimum size for image thumbnail */
.image_size_widget .tweet-thumb img, 
.image_size_widget .news-thumb img {
	min-width: 50px;
	min-height: 50px;
}

/* sidebar text treatments */
.sidebar p,
.sidebar .widget li {
	color: #000;
}

/* sidebar list treatments, in widgets (not submenu) */
.sidebar .widget li {
	border: 0 none!important;
	font-size: 1em!important;
}

/* sidebar list anchor treatments, in widgets (not submenu) */
.sidebar .widget a {
}

/* sidebar list anchor treatments, in widgets (not submenu) */
.sidebar .widget a:hover {
}

/* optical adjsustments to widget h3s */
.newsbox h3.widgettitle {
	font-size: 22px!important;
}

/* reduces leading/space between lines in headline */
.news-headline {
	line-height: 1.3em;
}

/* increase space around the read more links */
a.more-link {
	padding: 10px 0;
}



/*
======================================
FORMS 
======================================
*/

/* Forms were ignoring much of the theme editor settings, especially regards font sizes */

/* standardise spacing atop forms */
form.avia_ajax_form {padding-top: 13px;}

/* standardise spacing atop forms */
#main fieldset {
	margin-top: 1px!important;
}

/* increase fot size and spacing */
#main fieldset h3 {
	font-size: 24px!important;
	margin-top: -3px;
}

/* increase legibility and visibility of form elements */
#main input,
#main textarea {
	font-size: 16px!important;/* default was too small */
	border-color: #CCC!important;/* default was too light */
}

/* all form buttons, add rounded corners and increase spacing */
#main input.button {
	border-radius: 12px!important;
	padding: 8px 16px!important;
}

/* needs to be set explicitly */
#main select {
	font-size: 16px!important;
}

/* needs to be set explicitly */
#main label {
	font-size: 16px!important;
}

/* provide same treatment for all form elements */
#top .main_color .input-text,  
#top .main_color input[type='text'],  
#top .main_color input[type='input'],  
#top .main_color input[type='password'],  
#top .main_color input[type='email'],  
#top .main_color input[type='number'],  
#top .main_color input[type='url'],  
#top .main_color input[type='tel'],  
#top .main_color input[type='search'],  
#top .main_color textarea,  
#top .main_color select {
	border-color: #CDCDCD!important;/* default was too light */
    background-color: #FCFCFC;
    color: #000;/* increased visibility */
}

/* SEARCH FORM SPECIFIC */

/* increase legibility and visibility of elements */
#searchform input {
	font-size: 16px!important;
}

/* search form buttons */ 
#searchform input.button {
	border-radius: 0px!important;/* revert previous rounding styles */
	padding: 0!important;
	font-size: 18px!important;/* increase size of magnifying glass icon */
}

/* searchform icon box */
#searchform input#s {
	font-size: 16px!important;/* input text */
	padding: 9px 9px 10px!important;
	color: #000!important; /* increase visibility */
}


/*
=====================================
MISC ENFOLD INTERFACE ELEMENTS
=====================================
*/

/* PROMO BOX */
.av_promobox {margin: 20px 0 40px 0!important;}
.av_promobox p, .av_promobox a {font-size: 16px!important;}
.av_promobox p {font-weight: 700 !important
}

/* IMAGE TREATMENTS */

/* increase image default spacing of Enfold Theme */
.avia-image-container-inner {
	margin-bottom: 20px!important;
}

/* gallery thumbs remove hover effects */
#top .avia-gallery .avia-gallery-thumb a:hover {opacity: 1!important;}

/* gallery thumbs remove hover effects */
span.image-overlay {display: none!important;}


/* SOCIAL SHARE TOOLS */

div.av-share-box {margin: 0 auto!important;}
div.av-share-box ul.av-share-box-list {
	text-align: center;
	width: auto!important;
	margin: 0 auto!important;
	border: 0 none!important;
}

div.av-share-box ul.av-share-box-list li {border: 0 none!important;}

div.av-share-box ul.av-share-box-list li a {
	font-size: 30px!important; 
	background:white!important;
	margin-right: 10px;
	width: 60px; 
	height: 60px;
	border-radius: 30px;
	color: #FF0000!important;
	}

div.av-share-box ul.av-share-box-list li a:hover {
	background: #FF0000!important;
	color: #FFF!important;
}

div.av-share-box .avia-related-tooltip {display:none!important}

.home div.av-share-box h5 {display:none!important;}

div.av-share-box h5 {margin-top: 40px!important;}


/* ICON BOXES */

.avia_iconbox_title {font-size: 18px;}


/* 
=====================================
FOOTER 
===================================== 
*/

/* remove Enfold Theme default border */
#main #footer.container_wrap {
	border: 0 none!important;
}
.footer_color {
	background-color: #000;
}

/* footer columns */
#footer .widget {
	margin-top: 24px;
	margin-bottom: 0;
}

/* widgets specifically in footer */
#footer h3.widgettitle {
	text-transform: none!important;
	font-size: 22px!important;
	margin-top: 0px;
	color: #fff!important;
}

/* restyle blog widget elements */
#footer .news-headline,
#footer .news-excerpt,
#footer .widget_recent_entries li,
#footer .widget li /*any li*/ {
	font-size: 1em!important;
	line-height: 1.6em!important;
}

/* decrease multiline headline line spacing */ 
#footer .news-headline {
	line-height: 1.3em!important;
}

/* Enfold Theme incorrectly colors these elements, with no way to override them in the theme options, so must be explicitly set here */
#footer .news-headline,
#footer .news-time {
	color: #FFF;
}

/* since footer is often a dark color, reversed text benefits from reversal of body treatment */
#footer div.textwidget a,
#footer div.textwidget a:visited {
	text-decoration: underline;
}

/* many body fonts make the strong version smaller, 
and this creates slight legibility issues when reversed over dark colour,
so increase size by 10% (ie. 1.1em).
Modify default Enfold Theme strong color treatment */
#footer strong {
	font-size: 1.1em;
	color: #FFF!important;
}

#top .footer_color .input-text, #top .footer_color input[type='text'], #top .footer_color input[type='input'], #top .footer_color input[type='password'], #top .footer_color input[type='email'], #top .footer_color input[type='number'], #top .footer_color input[type='url'], #top .footer_color input[type='tel'], #top .footer_color input[type='search'], #top .footer_color textarea, #top .footer_color select {
	background-color: #fff;
	margin-bottom: 0;
}


/* 
=====================================
SOCKET (BOTTOM-MOST FOOTER)
=====================================
*/

/*remove default Enfold Theme border */
#socket.socket_color {
	border: 0 none;
}

/* copyright text */
.copyright {
	font-weight: 700 !important;/* use numeric weights to assist Chrome consistency */
	line-height: 1.3em;
	font-size: 13px;
}

/* footer menu */
ul#avia3-menu {
	margin-left:0;	
	padding-left:0;
}

/* footer menu, remove default Enfold Theme border */
#socket .menu li {
	border: 0 none;
}

/* footer menu, allow better alignment by emoving space from first child */
#socket .menu li:first-child {
	padding-left: 0;
}

/* footer menu, increase anchor size and visibility */
#socket .menu a {
	font-weight: 700 !important;/* use numeric weights to assist Chrome consistency */
	font-size: 13px!important;
}



/*
===========================
MISC STYLING
===========================
*/

/* HIDE ELEMENTS */
.hide, .invisible {display: none!important} /*hidden is reserved in Enfold Theme */


/* PDF MIME ICONS */

a[href$=".pdf"] {
    background: url('images/pdf-icon-24x24.png') no-repeat!important;
    height: 24px!important;
    display: inline-block!important;
    padding-left: 35px!important;
}

/*
===========================
PLUGIN CONFLICTS
===========================
*/

/*fix Enfold Theme clear method clashing with Mailchimp clear method, to re-enable button visibility*/
#mc_embed_signup .clear {
  overflow: visible;
  visibility: visible;
  width: auto;
  height: auto;
}






/* 
====================================
CUSTOM 
====================================
*/

.home.page .avia-icon-list-container {
	margin: 0;
}
#top.home.page .av-iconlist-small li {
	padding: 5px 0;
	min-height: 0px;
}
.av-main-nav ul {
	width: 250px;
}
.green-panel {
	color: #fff!important;
}
.green-panel h2 {
	color: #fff!important;
	font-size: 30px!important;
}
.green-panel p {
	font-size: 1.4em;
	color: #fff!important;
}
.green-panel .avia-button {
	color: #fff!important;
	border: solid 1px #fff!important;
	border-radius: 8px!important;
	background-color: #58baa9!important;
	padding: 10px 20px;
}
.green-panel .avia-button .avia_iconbox_title {
	font-size: 22px;
}

.home_subhead h1 {
	color: #666;
}
.home_subhead p {
	font-size: 1.4em;
	color: #666;
}

.phone-info span span {
	float: left;
}
.phone-info span .number {
	margin-right: 25px;
}
.phone-info a:hover {
	color: #fff;
}

.mercy-download {
	margin: 20px 0;
}

.quicklinks-box section {
	background-color: #2ed4b3;
	padding: 20px 20px 5px 20px;
	margin: 0;
}
.quicklinks-box .avia-icon-list-container {
	background-color: #2ed4b3;
	padding: 5px 20px 20px 20px;
	margin: 0;
}
#top .quicklinks-box .av-iconlist-small li {
	padding: 5px 0;
}

.quicklinks-box section ul {
	margin: 0;
	list-style: none;
}
.quicklinks-box section h3 {
	color: #fff !important;
	font-weight: bold !important;
}
.quicklinks-box section a, .quicklinks-box .avia-icon-list-container a {
	color: #fff;
	text-decoration: none;
	font-weight: bold !important;
}
.quicklinks-box section a:hover, .quicklinks-box .avia-icon-list-container a:hover {
	color: #fff;
	text-decoration: underline;
}
#top .fullsize .template-blog .post .entry-content-wrapper {
	max-width: 100%;
}


#top.single-post .post-entry .post-meta-infos {
	border: none;
}
#top .av-large-testimonial-slider.avia-testimonial-wrapper .avia-testimonial {
	padding: 0 10px;
}


.home.page .blog-categories.minor-meta {
	display: none !important;
}
.home.page header.entry-content-header {
	padding-top: 0 !important;
}
.home.page .entry-footer {
	display: none;
}
.recentcomments a, .widget_recent_entries li a {
	font-style: normal;
	font-family: 'Open Sans', 'HelveticaNeue', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}
.recentcomments a:hover, .widget_recent_entries li a:hover {
	text-decoration: none;
}
.recentcomments, .widget_recent_entries li {
	border: none;
}
.blog .avia-content-slider .slide-meta {
	display: none !important;
}
.avia-slideshow-arrows {
	display: none;
}
.contact-button .avia_iconbox_title {
	font-size: 24px;
	font-weight: bold;
}


/* increase space between header and content */	
header.entry-content-header {padding-top: 30px;}
/* revert space between header and content */	
.template-search header.entry-content-header {padding-top: 0px;}
.avia-icon-list header.entry-content-header {padding-top: 0px;}

a#scroll-top-link {
 	bottom: 70px!important;
 	right: 40px!important;
 	font-size: 1.4em!important;
 	padding: 2px 20px!important;
 	width: auto!important;
 	height: auto!important;
 	font-weight: 700 !important;/* use numeric weights to assist Chrome consistency */
 	border-radius: 30px!important;
    border: 1px solid #fff;
}

.target {height: 0!important;}
.bottom-negative-30 {margin-bottom: -30px!important;}

#top #main .template-page h3.slide-entry-title.entry-title a:hover {
	text-decoration: none !important;
}

h3.slide-entry-title.entry-title {
	font-size: 1.5em !important;
	line-height: 1em;
	margin: .5em 0 .25em 0;
}

h2.avia-caption-title {
	font-size: 36px !important;
}

/* blog page minor meta info */
span.blog-categories.minor-meta a {
	color: #FF0000;
}

/* search results remove blog page minor meta info */
.search-results .post-meta-infos,
.search-results .blog-categories.minor-meta {display: none;}

/* remove default rounded corners on blog images*/
.avia-content-slider .slide-image, .avia-content-slider .slide-image img {
	border-radius: 0px; 
}

.h3-larger h3 {
	font-size: 30px!important;
	margin: 1.5em 0;
}

span.avia_button_icon {font-size: 20px;}/*increase from default*/
#main .template-page a.avia-button:hover {
	text-decoration: none!important;
}

#main li a strong {
	color: #FF0000!important;
}

#main li a strong:hover {
	color: #FF0000!important;
}

/* remove the align right labels */
#commentform label {
position: relative;
left:auto;
font-size: 14px;
top:-3px;
font-weight: 700 !important;/* use numeric weights to assist Chrome consistency */
}

.caption_framed .slideshow_caption .avia-caption-content p, 
.caption_framed .slideshow_caption .avia-caption-title,
.avia-caption .avia-caption-content p, 
.avia-caption .avia-caption-title {
zzzfilter: alpha(opacity = 90);
background: rgba(189, 189, 189, 0.7);
margin: 0 0 0 0;
padding: 10px 15px;
line-height: 1.2em;
}

.caption_framed .slideshow_caption .avia-caption-title,
.avia-caption .avia-caption-title {
zzzfilter: alpha(opacity = 80);
background: rgba(30, 30, 30, 0.5);
margin: 0 0 0 0;
padding: 10px 15px;
color: #FFF!important;
}

.top40 {margin-top: 40px;}
.bottom40 {padding-bottom: 40px;}

#top #main .template-page a[href^="tel:"],
#top #main .template-page a:hover[href^="tel:"] {
text-decoration:none!important;
border:0 none!important;
color:#000!important;
font-weight: 700 !important;/* use numeric weights to assist Chrome consistency */
}

.mobile-only {display:none!important;}

#main .template-page .av-masonry-container a:hover {
	text-decoration: none !important;
}

/* overall masonry container */
.av-masonry {
	margin-bottom: 60px;
}

/* make first section match the subsequent columns, and override 50px default enfold */
section + .flex_column,
body .column-top-margin {
margin-top:40px !important;
}

.blog-categories.minor-meta ul,
.blog-categories.minor-meta li {list-style-type: none !important;padding-left: 0!important;margin-left:0;}

#top .fullsize .template-blog.template-single-directors .post .entry-content-wrapper, #top .fullsize .template-blog.template-single-management-team .post .entry-content-wrapper {
	max-width: 100%;
}
#top .fullsize .template-blog .post .entry-content-wrapper > * {
	max-width: 80%;
}
#top .fullsize .template-blog.template-single-directors header.entry-content-header, #top .fullsize .template-blog.template-single-management-team header.entry-content-header {
	padding-top: 15px;
}
#top .fullsize .template-blog.template-single-directors .post-title, #top .fullsize .template-blog.template-single-management-team .post-title {
	max-width: 100%;
}

.videoWrapper {
	position: relative;
	padding-bottom: 56.25%; /* 16:9 */
	padding-top: 25px;
	height: 0;
}
.videoWrapper iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

@media only screen and (max-width: 900px) {
	.html_header_top.html_main_nav_header .main_menu ul:first-child > li > a {
		margin: 0 6px;
	}
}

@media only screen and (max-width: 767px) {
	.responsive #top #wrap_all #header_meta .container {
		width: 95%;
		max-width: 95%;
	}
	#header_meta .phone-info {
		font-size: 12px;
	}

}
.avia-testimonial-image {
	width: 150px;
	height: 150px;
	border-radius: 0;
	text-align: center;
}
#top .av-large-testimonial-slider .avia-testimonial-meta .avia-testimonial-image {
	width: 150px;
	height: 150px;
	border-radius: 0px;
}
.avia-testimonial-image img {
	border-radius: 0;
}
#top .av-large-testimonial-slider .avia-testimonial-name {
	margin-top: 1em;
}
@media only screen and (min-width: 768px) and (max-width: 989px) {
	.avia-testimonial .avia-testimonial-image {
		width: 100%;
		text-align: center;
		margin-bottom: 10px;
	}
	.avia-testimonial .avia-testimonial-image img {
		max-width: 150px;
	}
	.avia-testimonial-content {
		overflow: visible;
	}
	.avia-testimonial-meta {
		margin-left: 0;
		text-align: right;
	}
}