/*
Theme Name: Design
Template: enfold
*/

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


/*
===================================
COLOURS IN USE
===================================

dark blue #4E7394
mid blue #8EBDD8

*/

/* remove all borders */

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

#header_meta {
	border-bottom: 0 none!important;
}

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

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

/* borders on top level items */
.main_menu ul:first-child>li a {
	border-right-width: 0px!important; 
}


/*
===================================
BASIC ELEMENTS
===================================
*/

/*override as necessary*/
html {
}

body {
	font-size: 16px;
}

#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 > TOPMOST STRIP
===================================*/

/* override enfold setting */
#header_meta {
	background: rgb(0,139,181);
background: linear-gradient(90deg, rgba(0,139,181,1) 0%, rgba(0,115,150,1) 50%, rgba(0,104,136,1) 100%);
	border-bottom: 0 none!important;
	box-shadow: none!important;
	height: 40px!important;
	min-height: 0px!important;
	padding-top: 0px!important;
}

#header_meta .container {
	height: 40px!important;
	line-height: 40px!important;
	min-height: 0px!important;
}

/* Phone info area general */
#header_meta .phone-info {
	color: #FFF;
	display: block;
	border-left: 0 none!important;
	font-size: 14px;
	height: 40px!important;
	line-height: 40px!important;
	font-weight: normal!important;
}

#header_meta .phone-info span {
	height: 40px!important;
	line-height: 40px!important;
	font-weight: normal!important;
}

#top #header_meta .phone-info span a,
#top #header_meta .phone-info span a:visited,
#top #header_meta .phone-info span a:hover,
#top #header_meta .phone-info span a:active,
#top #header_meta .phone-info span a:focus {
	text-decoration: none !important;
	color: #fff;/*phone links*/
}

#top #header_meta .phone-info span a:hover {
	color:!important;
}

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

#top ul.social_bookmarks {
	margin: 0px!important;
	width: auto!important;
	padding-left:0!important;
	text-align: right!important;
	top: 50%!important;
	transform: translateY(-50%)!important;
	display: inline-block!important;
	position: relative!important;
	height: 24px!important;
	line-height: 24px!important;
}

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

ul.social_bookmarks li a {
	background: #DDD!important; 
	color: #222!important;
	height: 24px!important;
	min-height: 24px!important;
	width:24px!important;
	line-height: 24px!important;
	font-size: 1em!important;
	border-radius: 12px!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,
ul.social_bookmarks li a {
	text-decoration: none !important;
}

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


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

#header_main > .container {
	height: 150px!important;
}

.container .logo,
.container .logo a {
	height: 150px!important;
	line-height: 150px!important;/*equal to height, required for img vertical centering*/
	margin-top: 0!important;
}

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

.responsive #top .container .logo img {
	height: 70%!important;/*of parent*/
	max-height: 70%!important;/*of parent*/
	padding-top: 0!important;
	vertical-align: middle!important;
	display:inline-block!important;
	width: auto!important;
}


#top .container .logo svg {
	height: 60%!important;/*of parent*/
	max-height: 60%!important;/*of parent*/
	vertical-align: middle!important;
	display: inline-block!important;
	zzztransform: translateX(-10px);
}
#top .container .logo {
	transform: translateX(-7px);
}


/* HEADER > CUSTOM CONTENT
===================================*/
/* used in conjunction with sidebar widget and function */
#header .widget {
  position: relative;
  width: 100%;/*of parent*/
  margin: 0 auto;
  padding: 0px 50px;/*50px default edge clearance*/
  clear: both;
  position: absolute;
  right: 0;
  top: 50%;/*puts the top in vertical center of parent*/
}

#header .widget img {
  transform: translateY(-50%);/*self-relative, move up to become vertically centred in parent*/
}

@media only screen and (min-width: 991px) {

/* HEADER > MAIN NAVIGATION
===================================*/

/* multiple structures required for background imagery */
#header_main_alternate,
#header_main_alternate .container,
#menu-primary-menu,
#avia-menu.menu {
	background: #f8f8f8!important;
}

/*line beneath main menu*/
#header_main_alternate.container_wrap {
	border-bottom: 1px solid #e8e8e8!important;
	border-top: 1px solid #e8e8e8!important;
}

/*make navigation thinner - logo left, menu right */
.html_header_top.html_main_nav_header .main_menu ul:first-child > li > a {
	height: 40px!important;
	line-height: 40px!important;
}

/*position navigation vertically */
nav.main_menu .av-main-nav-wrap {
	top: 50%!important;
	transform: translateY(-50%)!important;
	position: relative;
}



/* remove vertical line before main menu (under 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 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;
}

/* all items */
.main_menu a {
	font-size: 16px!important;
	font-weight: normal!important;
}

/* top-level items */
.main_menu ul:first-child > li > a {
	font-size: 18px!important;
	color: #000!important;
	margin-right: 8px;
	border-radius: 8px;
	background: #FFFFFF;
	font-weight: 600!important;
	letter-spacing: .03em;
}

.main_menu ul:first-child > li:last-child > a {
	margin-right: 0!important;
}

.main_menu ul:first-child > li > a:hover {
	background: ;
}

/* revert the default 90px minimum width */
.av_seperator_big_border .av-main-nav > li > a {
min-width: 10px;
}

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

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

/* top-level 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: #4E7394!important;
	background: #FFF!important;
}

/* search icon */
li#menu-item-search.menu-item-search-dropdown a {
	color: #000!important;
	font-size: 18px!important;
	font-weight: normal!important;
	margin-top: -2px!important;/*term moves with the icon*/
}
/* search term */
li#menu-item-search a:after {
	content: " Search";
	font-weight: normal!important;
	font-size: 16px!important;
}

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

#top .sub_menu {
	height: 40px!important;
	padding: 0!important;
	margin: 0!important;
}

#top .sub_menu ul#avia2-menu {
	position: relative!important;
	top: 50%!important;
	transform: translateY(-35%)!important;
	height: auto!important;
}

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

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

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

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

/* reposition flyouts - keep in case this still affects the bottom menu
.main_menu .menu ul {
	margin-top:-2px;/*overlap the menu-fx strip
}*/

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

/* mega menu titles */
h4.mega_menu_title > a {
	font-weight: normal!important;
}

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

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

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

}

/* HEADER > HAMBURGER MENU 
====================================*/

/* normalise hamburger menu */
ul#av-burger-menu-ul {
	height: 100%!important;
	min-height: 100%!important;
	padding: 4vh!important;
}

ul#av-burger-menu-ul li,
ul#av-burger-menu-ul li a,
ul#av-burger-menu-ul li a span {
	font-size: 1em!important;
	border: 0 none!important;
}

ul#av-burger-menu-ul li a  {
	padding-top: 1vw!important;
	padding-bottom: 1vw!important;
	margin-top: 0!important;
	margin-bottom: 0!important;
}

ul#av-burger-menu-ul li li a span.avia-bullet {
	left: 2.2vw!important;
}

ul#av-burger-menu-ul li li a {
	padding-left: 6vw!important;
}

li.av-burger-menu-main.menu-item-avia-special span.av-hamburger.av-hamburger--spin.av-js-hamburger.av-inserted-main-menu.is-active {
	height: 0!important;
	line-height: 1em!important;
	top: 0!important;
	min-height: 0!important;
	padding: 0!important;
	margin: 0!important;
}

/* end normalise hamburger menu */




/* HEADER > SECONDARY NAVIGATION
===================================*/

#avia2-menu > li {
	border: 0 none;
}

#avia2-menu > li > a {
	color: #FFF;
	font-size: 1.2em!important;
}

#avia2-menu > li > a:hover {
	color: #FFF!important;
}

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

/* PAGE HEADING 'TITLE'
===================================*/

/* area behind header and breadcrumbs */
.title_container {
	background: #e8f1f4;
	border: 0 none!important;
}

#top .title_container .container {
	padding-top: 0!important;
	padding-bottom: 0!important;	
}

h1 {
	font-size: 28px!important;
	text-transform: none!important;
	letter-spacing: .0em!important;
	font-weight: normal!important;
	line-height: 1.3em;/*especially noticable in the form feedback message*/
}

/*override more specific setting in enfold*/
h1.main-title {
font-size: 28px!important;
	padding: 20px 0 10px 0!important;
	display: inline-block!important;
	font-weight: normal!important;
	color: #264454!important;
	line-height: 1.3em!important;
}
.archive h1.main-title {
	font-size: 28px!important;
	padding: 20px 0 10px 0!important;
}
.archive h1.main-title a {
	padding: 0!important;
}

/*as above, override more specific setting in enfold*/
/*certain blog pages also use strong rather than a h1*/
strong.main-title a,
h1.main-title a,
.woocommerce h1.main-title.entry-title {
	font-size: 28px!important;
	padding: 20px 0 20px 0!important;
	display: inline-block!important;
	font-weight: normal!important;
	color: #000!important;
	line-height: 1.3em!important;
}

.single-post strong.main-title.entry-title a {
	padding: 40px 0 40px 0!important;
}

h1.main-title.entry-title /*search results and events calendar pages*/  {
	color: #000!important;
}
#top.search-no-results h1.main-title.entry-title /*search results*/ {
	padding: 30px 0 40px 0!important;
}

body.search-results h2.post-title.entry-title  {
	margin-top: 10px!important;
}
body.search-results .entry-content p,
body.search-results .entry-content li {
	line-height: 1.6em!important;
}


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

/*reposition breadcrumb area if to the left */
.title_container .breadcrumb {
	position: absolute;
	left: 48px;
	top: auto;
	bottom: 15px;
}

.breadcrumbs {
	color: #000!important;
}

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



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

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

/* bug fix, prevents large gap forming between header and main on home page
.home #main {border-top: 1px dotted transparent!important;} */

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

/* increase space atop content area */
body:not(.home)main.template-page {
	padding-top: 30px!important;
}

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

aside.sidebar_right {
	padding-top: 30px!important;
}



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

h2, h3, h4 {
	text-transform: none!important;
	letter-spacing: .0em!important;
	font-weight: normal!important;
	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: !important;
	margin-top: 2em!important;
}

h3:first-of-type,
h2 + h3 {
	margin-top: 0em!important;
}


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

h4 {
	font-weight:normal!important;
	color: !important;
	font-size: 20px!important;
	margin-top: 2em!important;
}

h4:first-of-type,
h3 + h4 {
	margin-top: 0em!important;
}


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

/*move sidebar nav back up*/
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;
}


/* override enfold's coloured strong */
#main p strong,
#main p b,
#main strong p,
#main li strong {
	color: #000;
}

/* link styling */
#main .template-page .flex_column p a {
	text-decoration: underline!important;
}

#main .template-page .flex_column p a:hover {
	text-decoration: underline!important;
}
#main .template-page a.av-masonry-entry:hover {
	text-decoration: none!important;
}


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

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

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

img.alignleft {
	margin: 0 30px 40px 0;
}

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

img[src*="svg"] {
	width: 100%;
}


/* TABLES */

.avia-data-table caption {
	font-size: 18px;
	color: #000!important;
	font-style: normal;
	text-align: left;
}

th.avia-desc-col {text-align: left!important;}

#main td strong {color: #000;}

/* 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 */
.search .search_not_found,/*this was 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 #search-fail p.entry-content/*the string 'Nothing found'*/
{padding:0!important;}

.search #main div.container {line-height: 1; min-height: 10px}/*remove spaces*/

/* 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;}


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

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

table,
table td {font-size: 1em!important;
	border-collapse: collapse!important;
}

table tr:nth-child(odd) {
    background:  #eee!important;
}

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

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

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

/* remove blog meta */
.blog-meta,
.multi-big .post_author_timeline,
.single-small .post_author_timeline {
	display: none;
}

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

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

/*default size news/portfolio widget*/
.news-thumb {
	min-width: 58px;
	min-height: 58px;
}

.image_size_widget .news-thumb{
	min-width: 58px;
	min-height: 58px;
}

.image_size_widget .tweet-thumb img, 
.image_size_widget .news-thumb img{
	min-width:50px;
	min-height: 50px;
}

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

.sidebar .widget li {
	border: 0 none!important;
	font-size: 1em!important;
}

.sidebar .widget a {
}

.sidebar .widget a:hover {
}

.newsbox h3.widgettitle {
	font-size: 22px!important;
}

.news-headline {
	line-height: 1.3em;
}

a.more-link {
	padding: 10px 0;
}

/* START blog page as custom widget list */

.post-entry .news-link .news-headline {
	font-size: 1.8em;
	font-weight: 300!important;
}
.post-entry .news-link .news-time {
	font-size: 14px;
}
.post-entry .news-thumb {
	margin-right: 20px;
}

/* END blog page as custom widget list */


/*START fix single blog view */ #top .fullsize .template-blog .post .entry-content-header h2,  .post-meta-infos,  #top .fullsize .template-blog .post .entry-content-wrapper ,  #top .fullsize .template-blog .post .entry-content-wrapper > *  {
     text-align:  left!important;
     font-size:  1em;
     width:  100%!important;
     max-width:  100%!important;
 }
 .post-meta-infos  {
     font-size:  .8em;
 }
 /*removes small preview image*/ .blog-meta  {
float: left!important;
margin-right: 30px!important;
 }
 p img.alignright  {
     margin-left:  40px;
     margin-bottom:  30px;
 }
 p img.alignleft  {
     margin-right:  40px;
     margin-bottom:  30px;
 }
 .single-post .post_delimiter  {
     display: none;
 }
 .archive .post-entry  {
     margin-bottom:  60px;
 }


.entry-content-header h1.post-title.entry-title a {
margin-top: 2em!important;
zzfont-size: 1.55em!important;
}
.entry-content h2 {
font-size: 1.25em!important;
}

.single .entry-content-header {
margin-top: 30px;
}

.entry-content h3 {
font-size: 1.15em!important;
}
.widget_categories {
padding-top: 7px!important;
}
@media only screen and (min-width: 768px){
.single-post #main {
margin-top: 30px!important;
}
}

 /*END fix single blog view */



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

form.avia_ajax_form {padding-top: 13px;}

#main input,
#main textarea {
	font-size: 16px!important;
	border-color: #CCC!important;
}

#searchform input {
	font-size: 14px!important;
}

#main input.button {
	border-radius: 12px!important;
	padding: 8px 16px!important;
}

#searchform input.button {
	border-radius: 0px!important;
	padding: 0!important;
	font-size: 18px!important;
}

#searchform input#s {
	font-size: 15px!important;
	padding: 9px 9px 10px!important;
}

#main select {
	font-size: 16px!important;
}

#main label {
	font-size: 16px!important;
}

#main fieldset {
	margin-top: 1px!important;
}

#main fieldset h3 {
	font-size: 24px!important;
	margin-top: -3px;
}

#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: #EEE;
    background-color:  #fcfcfc;
    color: #000;
}


#top #wrap_all .error .text_input, 
#top #wrap_all .error .text_area, 
#top #wrap_all .error .select {
    border: 2px dashed #DF653E!important;
	background: #ffffcc!important;
}

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

.av_promobox {margin: 20px 0 40px 0!important;}
.av_promobox p, .av_promobox a {font-size: 16px!important;}
.av_promobox p {font-weight: bold;}

/* partner/logo element */
.slide-entry-wrap {
	display: table!important;
}

/* blog grid plus partner/logo element */

#top .slide-entry.flex_column {
	display: table-cell!important;
	vertical-align: top!important;
	float: none!important;/*revert enfold default*/
	padding: 0 20px!important;
		transform: translateX(-20px);
}

#top .slide-entry.flex_column.first {
padding-left: 20px!important;
}

#top  .slide-entry.flex_column.post-entry-last {
padding-right: 20px!important;
}

/*woocommerce mods */
.mini_cart_item .woocommerce-placeholder.wp-post-image {
display:none;
}


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

#main #footer.container_wrap {
	border: 0 none!important;
}

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

#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;
}

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

/*Enfold 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 {
	zzcolor: #FFF;
}

#footer .news-headline {
	line-height: 1.3em!important;
}

#footer div.textwidget {
	zzcolor: #FFF;
}

/* div.textwidget, div.textwidget p, div.textwidget a {color:#000!important;} */

#footer div.textwidget a {
	text-decoration: underline;
}

#footer div.textwidget a:hover {
	zzcolor: #FFF!important;
}

#footer strong {zzcolor: #000!important;}


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

.copyright {
	font-weight: normal;
	line-height: 1.3em;
	font-size: 13px;
}

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

#socket.socket_color {
	border: 0 none;
}

#socket .menu li {
	border: 0 none;
}

#socket .menu li:first-child {
	padding-left: 0;
}

#socket .menu a {
	border: 0 none;
	font-weight: normal;
	font-size: 13px!important;
}

#socket ul.social_bookmarks,
#socket ul.social_bookmarks li,
#socket ul.social_bookmarks li a {
	height: 30px!important;
	width: 30px!important;
	min-height: 30px!important;
	line-height: 30px!important;
	text-decoration: none!important;
}
}

#socket ul.social_bookmarks li a {
	background: #000!important; 
	color: #ccc!important;
	font-size: 1.2em;
	border-radius: 50%!important;
}


/*
===========================
REMOVE HOVER EFFECTS
===========================
*/

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

/*images - general */
span.image-overlay {display: none!important;}

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

.avia-image-container-inner {
	margin-bottom: 20px!important;
}

/* add pdf icons to mime type links icons */

a[href$=".pdf"]:before {
    background: url('images/pdf-icon-24x24.png') no-repeat!important;
}

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

#primary-features .avia-image-container,
#primary-features .avia-image-container-inner,
#primary-features .avia-image-container .avia-image-container-inner img {
	margin: 0!important;
	padding: 0!important;
}

#primary-features .avia-image-container .avia-image-container-inner img.avia_image {
	margin-bottom: 0px!important;
	padding-bottom: 0!important;
}


/*social sharing */

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: #990000!important;}
div.av-share-box ul.av-share-box-list li a:hover {background: #990000!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;}


.avia_iconbox_title {font-size: 18px;}

header.entry-content-header {padding-top: 0px!important;}
.template-search header.entry-content-header {padding-top: 0px;}

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

.hide, .invisible {display: none!important}



span.av-upcoming-event-schedule {margin-right: 10px;}

/* hide past events */

.tribe-events-calendar td.tribe-events-past .tribe-events-month-event-title a,
.tribe-events-calendar td.tribe-events-past .tribe-events-viewmore a,
.tribe-events-calendar td.tribe-events-past .tribe-events-viewmore {
	display: none;
}

.events-archive.events-gridview #tribe-events-content table.tribe-events-calendar td.tribe-events-past .type-tribe_events {
	border: none;
	box-shadow: none;
}

/* END hide past events */

#tribe-events-bar {display:none;}

div.tribe-events-event-image,
div.tribe-events-event-image img {
	text-align: left !important;
	margin: 30px 0 !important;
}

span.avia_button_icon {font-size: 24px;}

span.tribe-events-list-separator-month {background: #002663;background: #b7287e;}
span.tribe-events-list-separator-month span {color: #FFF;}

a.tribe-events-read-more {transform: translateY(20px)!important;padding: 8px 16px;border-radius: 10px;background:#b3ec63;color: #FFF!important; }

a.tribe-events-read-more:hover {color: #002663!important;color: #b7287e!important; }

.tribe-events-list-event-description.tribe-events-content p:last-of-type {margin-bottom: 30px!important;}

.av-tribe-events-content-wrap {background: #FFF!important;}

.avia-post-nav {
		display: none;
}

/*scroll to top icon */
#scroll-top-link {
 	bottom: 55px!important;
 	right: 10px!important;
 	font-size: 1.4em!important;
 	padding: 2px 20px!important;
 	width: auto!important;
 	height: auto!important;
 	font-weight: bold;
 	border-radius: 50%!important;
}

/*remove external link symbol */
#top span.image-overlay.overlay-type-extern {display:none!important;}

#top h2.post-title.entry-title a {
text-decoration: none!important;
}

#top h2.post-title.entry-title a:hover {
text-decoration: underline!important;
}

.post_delimiter {
margin: 0!important;
padding:0!important;
}

.avia-icon-list header.entry-content-header {
	padding-top: 0;
}
.avia-icon-list li {
	margin-bottom: .8em;
}

/*reduce space atop all text sections */
.avia_textblock  > :first-child {
padding-top: 0em!important;
margin-top: 0!important;
}

.sidebar_right .widgettitle {
	margin-top: 10px!important;
}

.avia-caption-content p {
	line-height: 1.4em;
}

.avia-slide-wrap {
    display: block;
}

/*improve ajax search*/
#top #searchform .ajax_search_response { 
display: none !important; 
}
.ajax_load {
display: none !important;
}
#top .template-search .entry-content-wrapper.standard-content {
	padding-bottom: 0!important;
		margin-bottom: 2em!important;
}
#top #avia-menu > li:nth-last-child(2) .ajax_search_response a {
    margin-right: 0!important; 
}
/* end improve ajax search*/