/*
Theme Name: Design
Template: enfold
*/

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

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

blue #0066A4 (eg. footer bg)
mid blue #0397D6 (eg. button bg)
brighter blue #00B7F1 (eg. button hover)


light blue #e7f3f8
green #6fb149
bright blue #26c1f1
dark blue #0065A0
mid blue #157ebb
light grey #e9e9e9

*/

/* remove all borders */

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

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

/* 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 {
	background: #FFF!important;
}

body {
	font-size: 17px;
	background: #FFF!important;
}

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

/*decrease left and right spacing on all major containers*/
.container {
  padding: 0px 20px;
}


#top div.main_color.container_wrap.fullsize {
	background-color: #FFF!important;
}
.home div.main_color.container_wrap.fullsize {
	background-color: #e9e9e9!important;
}
	

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

#header_main {background: #FFFFFF;}

/* HEADER > TOPMOST STRIP
===================================*/

/* override enfold setting */
#header_meta {
	background: #FFF!important;
	border-bottom: 0 none!important;
	box-shadow: none!important;
	height: 0px!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: #EEE;
	display: block;
	border-left: 0 none!important;
	font-size: 14px;
	height: 40px!important;
	line-height: 40px!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;
}

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

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

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

ul.social_bookmarks li {
	margin-left: 6px!important;
	height: 30px!important;
	width: 30px!important;
	border: 0 none!important;
	background: transparent url('images/angle-bright-blue.png') 0 0 no-repeat!important;margin-left: 4px;border-radius: 0px;border: none!important;
}

ul.social_bookmarks li a {
	zzbackground: #DDD!important; 
	color: #fff!important;
	height: 30px!important;
	min-height: 30px!important;
	width: 30px!important;
	line-height: 30px!important;
	font-size: 1.2em;
	border-radius: 15px!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 {
	zzbackground: #222!important; 
	color: #FFF!important;
}
ul.social_bookmarks li:hover,
ul.social_bookmarks li a:hover{
	background-image: none!important; 
}


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

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

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

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

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


/* HEADER > CUSTOM CONTENT
===================================*/
/* used in conjunction with sidebar widget and function */
#header .widget {
  position: relative;
  width: 100%;/*of parent*/
  margin: 0;
  padding: 0/*50px default edge clearance*/;
  clear: both;
  position: absolute;
  right: 0;
  bottom: 0;
  height: 30px!important;
}

#header .widget {
  transform: translateY(-80px);/*self-relative, move up*/
}

/*widget container for menu*/
div#nav_menu-3 {
	width: 50%!important;
	text-align: right!important;
	margin-right: 200px!important;
}
#top #header ul#menu-custom-header-menu.menu {
	width: 100%!important;/*of parent*/
	height: auto!important;
	text-align: right!important;
	padding: 0 0 0 0!important;
}
#top #header ul#menu-custom-header-menu.menu li {
	width: auto!important;
	height: auto!important;
	line-height: 1em;
	display: inline!important;
	text-align: right!important;
	clear: none!important;/*reverse layout.css*/
	padding: 0 20px;
	border-left: 1px solid #666;
}
#top #header ul#menu-custom-header-menu.menu li:first-of-type {
	border-left: 0 none!important;
}
#top #header ul#menu-custom-header-menu.menu li:last-of-type {
	padding-right: 0!important;
}
#top #header .widget ul#menu-custom-header-menu.menu li a {
	width: auto!important;
	height: auto!important;
	line-height: 1em;
	text-transform: none;
	display: inline!important;
	color: #666;
	text-align: right!important;
	font-weight: normal!important;
	font-family: montserrat!important;
	font-size: .9em!important;
}
#top #header .widget ul#menu-custom-header-menu.menu li a:hover {
	color: #0066A4;
}

/*widget container for social icons */
#top #custom_html-2 {
	width: 240px!important;
	left: 100%!important;
	zfloat: right!important;
	zborder: 1px solid red;
	top: 100%!important;
	height: 50px!important;
	line-height: 50px!important;
	transform: translateY(-90px)!important;
	margin: 0 0 0 -220px;
	padding-right: 40px!important;
}
#top ul#custom-social.social_bookmarks {
	margin: 0!important;
	width: auto!important;
	padding:0!important;
	text-align: right!important;
	top: 100%!important;
	transform: translateY(0)!important;
	display: block!important;
	position: relative!important;
	height: 40px!important;
	line-height: 40px!important;
	zright: 0!important;
	zleft: 50%!important;
	float: right!important;
	zzborder: 1px solid #efefef;
	zzdisplay:none!important;
}


ul#custom-social.social_bookmarks li {
	margin-left: 6px!important;
	height: 30px!important;
	width: 30px!important;
	border: 0 none!important;
	background: transparent url('images/angle-bright-blue.png') 0 0 no-repeat!important;
	margin-left: 4px;border-radius: 0px;border: none!important;
	float: none!important;
	display: inline-block!important;
}

ul#custom-social.social_bookmarks li:hover {
	background-image: none!important;

}

ul#custom-social.social_bookmarks li a {
	zzbackground: #DDD!important; 
	color: #fff!important;
	height: 30px!important;
	min-height: 30px!important;
	width: 30px!important;
	line-height: 30px!important;
	font-size: 1.2em;
	border-radius: 15px!important;
}

ul#custom-social.social_bookmarks li a:visited,
ul#custom-social.social_bookmarks li a:hover,
ul#custom-social.social_bookmarks li a:active,
ul#custom-social.social_bookmarks li a:focus {
	text-decoration: none !important;
}

ul#custom-social.social_bookmarks li a:hover {
	zzbackground: #222!important; 
	color: #FFF!important;
}
ul#custom-social.social_bookmarks li:hover,
ul#custom-social.social_bookmarks li a:hover{
	background-image: none!important; 
}









@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: #ffffff!important;
}

/*line benath main menu*/
#header_main_alternate.container_wrap {
	border-bottom: 2px solid #666!important;
	border-top: 2px solid #666!important;
}

/*make navigation thinner - logo left, menu right */
.html_header_top.html_main_nav_header .main_menu ul:first-child > li > a {
	height: 20px!important;
	line-height: 20px!important;
	text-transform: uppercase!important;
	color: #666!important;
}

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

/* 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: 14px!important;
	font-family: Montserrat, Arial!important;
	font-weight: 300!important;
}


/* top-level items */
.main_menu ul:first-child > li > a {
	font-size: 11px!important;
	font-weight: bold!important;
	text-transform: uppercase!important;
	color: #666!important;
	zzmargin-right: 8px;
	zzborder-radius: 8px;
	background: #ffffff;
}

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

/* remove vertical line before main menu */
.html_header_top.html_bottom_nav_header .main_menu ul:first-child>li:first-child a {border-left: 0 none!important}
.html_header_top.html_bottom_nav_header .main_menu ul:first-child>li>a {border-left: 1px solid #222!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 {
	zzcolor: #FFF!important;
	zzbackground: #000000!important;
}

/* search icon */
li#menu-item-search.menu-item-search-dropdown a {
	color: #0065A0!important;
	font-weight: bold!important;
}

/* search term */
li#menu-item-search a:after {
	content: " Search";
	font-weight: bold!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: 2px solid #0397D6!important;
	margin-top: -1px!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";
}

}

/* END 991 PX HEADER */

.html_header_top.html_bottom_nav_header #header_main_alternate .main_menu>div, 
.html_header_top .av_bottom_nav_header #header_main_alternate .main_menu ul:first-child,
.html_header_top .av_bottom_nav_header #header_main_alternate .main_menu ul:first-child > li,
.html_header_top .av_bottom_nav_header #header_main_alternate .main_menu ul:first-child > li > a{
    height: 20px!important;
    line-height: 20px!important;
}


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

.avia-menu.av-main-nav-wrap.av_menu_icon_beside {
	border-right: 0 none!important;
	padding: 0!important;
	margin: 0!important;
}


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

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

}

#avia2-menu > li > a {
	color: #666;
	font-size: 1.2em!important;
	padding: 3px 0!important;
}

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

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

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

/* area behind header and breadcrumbs */
.title_container {
	background: #f8f8f8!important;
	border: 0 none!important;
	padding-top: 30px!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;
	font-weight: normal!important;
	line-height: 1em!important;
	left: 0px;
}

/*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: 0px 0 20px 0!important;
	display: inline-block!important;
	font-weight: normal!important;
	color: #0066A4!important;
	line-height: 1.3em!important;
}

h1.main-title.entry-title /*search results and events calendar pages*/  {
	color: #000!important;
}

.tribe-events-page-template h1.main-title.entry-title /*events calendar pages*/  {
	padding: 4px 0 26px 0!important;
}

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

/*reposition breadcrumb area if to the left */
.title_container .breadcrumb {
	position: absolute!important;
	left: 20px!important;
	top: auto!important;
	bottom: 10px!important;
}

.breadcrumbs {
	color: #000!important;
}

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



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

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

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

.home .avia-section .content {
padding-top:40px!important;
padding-bottom:10px!important;
min-height:1px!important;
}

.home #primary-feature {
border-bottom: 2px solid #666!important;
padding-bottom: 20px;
}

.home #primary-feature.avia-section .content {
padding-top:16px!important;
padding-bottom:0px!important;
}

/* increase space atop content area */
#top main.template-page {
	padding-top: 30px!important;
	background: #FFF!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: 28px!important;
	color: !important;
}

h3, h3 span {
	font-size: 24px!important;
	color: #157ebb!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: 24px!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 a {
	text-decoration: none!important;
}

#main .template-page a:hover {
	text-decoration: underline!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;
}

/* 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: block!important;
}

.text-sep-cat, .blog-author {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: 36px;
	min-height: 36px;
	border: 0 none;
	padding: 0;
	margin-top: 10px;
	background-color: transparent!important;
}

.news-thumb img {
	background-color: transparent!important;
	-webkit-box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.25);
-moz-box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.25);
box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.25);
}

.image_size_widget .news-thumb{
	min-width: 36px;
	min-height: 36px;
	background-color: transparent!important;
}

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

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

.news-headline,
.news-time {
	font-size: 16px!important;
	margin-top: .4em!important;

}

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

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

.news-time {
	margin-top: .5em!important;
}


div.news-excerpt p {
	font-size: 16px!important;
	line-height: 1.6em;
	}
	
.newsbox h3.widgettitle {
	font-size: 24px!important;
}

#newsbox-2 h3.widgettitle {
	margin-top: 5px!important;
	padding-top: 0!important;
}

.news-archives-link p {padding-top: 10px!important;}



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

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

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

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

#main input.button,
a#gform_save_4_link {
	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;
}

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

.slide-entry.flex_column {
	display: table-cell!important;
	vertical-align: middle!important;
	float: none!important;/*revert enfold default*/
	padding: 0 20px!important;
}

.slide-entry.flex_column.first {
padding-left: 0px!important;
}

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

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

#partners {padding-bottom: 40px!important;}

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

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

#main #footer.container_wrap > .container {
	background: #26c1f1!important;
	padding-left: 15px!important;
	padding-right: 15px!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: 24px!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 h3.widgettitle {
	color: #FFF!important;
}

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

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

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

#footer div.textwidget a {
	color: #FFF!important;
	text-decoration: underline;
}

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

#footer strong {color: #FFF!important;}

/*footer social*/
#socket ul.social_bookmarks li {background: transparent url('images/angle-bright-blue.png') 0 0 no-repeat!important;margin-left: 4px;border-radius: 0px;border: none!important;}
#socket ul.social_bookmarks li:hover {background-image: none!important;}
#socket ul.social_bookmarks a {color: #FFF!important;text-decoration:none!important; font-size: 1.5em!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: bold;
	font-size: 13px!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;
}

.home .av-layout-grid-container {
	width: 1210px;
	margin: 0 auto;
	zbackground: #F8F8F8!important;
}

#main {background: #FFFFFF!important}

/*partner logo */
#top .avia-logo-element-container .slide-entry {
padding: 20px; 
}

#footer .newsbox img {
-webkit-box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.25);
-moz-box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.25);
box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.25);
}


div.flex_cell {margin:0!important;padding:0!important}

/*home news cell: div.flex_cell:nth-child(2) {padding-left:30px!important}

.home .flex_column.avia-builder-el-2 {margin:0 0 0 40px!important;}
.home .flex_column.avia-builder-el-2 h3 {margin-top:10px!important;}*/


.read-more-link a:link,
.read-more-link a:visited {font-size: 16px; margin-top: 40px; padding:10px 20px;background: #0397D6; color: #FFF!important; border-radius: 0px;}

.read-more-link a:hover,
.read-more-link a:active {background: #00B7F1; color:#FFF!important;}


hr {
height: 1px;
color: #FFF;
background-color: #FFF;
border: 0;
border: 0px solid #FFF;
display:block; 
clear:both; 
margin-bottom: 0px;
}

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


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

#footer span.news-time {
	font-size: 14px!important;
	line-height: 1.3em!important;
	text-decoration: none!important;	
}

.pointsbuild {margin: 20px 0 40px 0;}

.avia_iconbox_title {font-size: 18px;}

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

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

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


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

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


/* Twitter feed */

#tp_widget_recent_tweets-2 h3.widgettitle {
	padding-top:0!important;
	margin-top:0!important;
	font-size: 24px!important;
	margin-bottom: .75em!important;
	color: #0397D6!important;
}

.tp_recent_tweets  li {
	padding-left: 40px;
	margin-left: 0px!important;
	border-bottom: 1px dotted #26c1f1;
	padding-bottom: 10px;
	line-height: 1.6em;
	background-image: url('images/angle-twitter-30px.png');
	background-position: 0 8px;
}

.tp_recent_tweets  li + li {
	padding-top: 10px;
	background-position: 0 15px!important;
}

.tp_recent_tweets  a.twitter_time {
	color:#26c1f1!important;
	font-weight: bold!important;
}

/* end Twitter feed */

span.image-overlay {
display: none !important;
}

.book-rule {
	margin: 15px 0 10px 0!important;
}

.page-id-250 .avia-image-container {padding-top: 20px;}


.recent-news-h1 {margin-top: 50px;margin-bottom: 0px!important;}
.recent-news-sep {margin-top: 0px;}

.comment-container, .text-sep-comment {display:none;}

 
/* align image vertically - parent requirements */
.partner-logos-grid .slide-entry {
	line-height: 200px!important;/*must be greater than the image height */
	text-align: center!important;
}

/* align image vertically - child requirements */
.partner-logos-grid .slide-entry img.scaling {
	display: inline-block!important;
	vertical-align: middle!important;
	max-height: 180px!important;
}

/*make space above data tables. Did not respond to margin top */
.avia-data-table {margin-top: 30px!important; margin-bottom: 40px!important;}


/*welcome, member benefits align with tweets
.home-first-third,
.home-second-third {
	border-top: 15px solid #FFF!important;
}*/

/*tweets
div.flex_column.av_one_third:nth-child(3) {
	background: #e7f3f8!important;
	border-left: 15px solid #e7f3f8!important;
	border-right: 15px solid #e7f3f8!important;
	border-top: 15px solid #e7f3f8!important;
	padding-bottom: 15px!important;
	}
*/

/*home slideshow buttfit elements*/
/*overall container*/
main.template-page {padding:0;margin:0;}
/*content island*/
#primary-feature.content-island > .container {
zpadding-left: 0;
}

#primary-feature.content-island .flex_column.av_two_third {
zpadding-left: 0;
}

/*news column*/
.home .news-area {padding: 20px 0 20px 10px!important;}
/*caption*/
.av-slideshow-caption {
	width: 100%!important;
	margin:0!important;
	padding:0 0 40px 0!important;/*make room for the controls*/
	left: 0;
	bottom: 0;
}

.avia-inner-caption {
	width: 100%!important;
	margin:0!important;
	padding:0 0 0 0!important;
	left: 0;
	bottom: 0;
}

.avia-inner-caption h2.avia-caption-title {
	width: 100%!important;
}

.avia-slideshow li img {border-radius: 0px;}
/* controls*/
.avia-slideshow-controls.avia-slideshow-dots {
	text-align: left;
	left: 10px;
}

.avia-slideshow-controls.avia-slideshow-dots a {
	height:20px; 
	width:20px; 
	border-radius: 0px; 
	background: transparent url('images/angle-bright-blue.png') -2px -2px no-repeat; 
	margin:0 2px; 
	padding: 7px;
	bottom: 30px;
	opacity: 1!important;
}

.avia-slideshow-controls.avia-slideshow-dots a:active,
.avia-slideshow-controls.avia-slideshow-dots a:hover {
	background: transparent url('images/angle-white.png') -7px -7px no-repeat; 
	opacity: 1!important;
}






/*reposition scroll to top icon */
#scroll-top-link {
 display: none!important;
}

span#slogan {
	background: transparent url('images/aib-slogan-transparent.png') 0 0 no-repeat!important;
	width: 340px;
	height: 25px;
	text-indent: -9999em;
}

/* ADD BACKGROUND TEXTURES */

/*HEADER */

/* full width container around main menu */
#header_main_alternate {
	background: #fff!important;
}

/* container next outermost of main menu */
#header_main_alternate > div:nth-child(1) {
	zzzborder: 1px dotted orange!important;
	padding-left: 16px;
	padding-right: 16px;
	zzzbackground: #FFF url('images/bg-body-texture.png') 0 0 repeat-x!important;
}

.main_menu {
	margin-left: 0px!important;
	margin-right: 0px!important;
	width: auto!important;
	padding-top: 6px;
	padding-bottom: 6px;
}

/* BODY */
/*home page primary area */
div.main_color:nth-child(1) > div:nth-child(1),
.content-island > .container {
	zzzbackground: #FFF url('images/bg-body-texture.png') 0 0 repeat-x!important;
	zzzborder: 1px dotted red!important;
	min-height: 20px!important;
}

/*home page secondary area */
#after_section_1 > div:nth-child(1) {
	xbackground: #FFF url('images/bg-body-texture.png') 0 0 repeat-x!important;
	zzzborder: 1px dotted blue!important;
	min-height: 20px!important;
}

/*misc strip-seperators */
.strip-seperator {
	xbackground: #FFF url('images/bg-body-texture.png') 0 0 repeat-x!important;
	min-height: 20px!important;
	margin-left: -15px!important;
	margin-right: -30px!important;
	padding-right: 30px!important;
}

main.template-page {
	background: transparent!important;
	padding-top: 16px!important;
}



#main #footer.container_wrap.footer_color > .container {
	zzzbackground: #26c1f1 url('images/bg-body-texture.png') 0 0 repeat-x!important;
	padding-bottom: 20px!important;
}

#main #footer.container_wrap {
	padding-top:0!important;
	padding-bottom: 40px;
	zzzbackground: #26c1f1 url('images/bg-body-texture.png') bottom left repeat-x!important;
}

#final-separator {
	height: 16px!important;
	min-height: 16px!important;
	max-height: 16px!important;
	margin-bottom: 0!important;
	padding: 0!important;
}

/* adjust the size of the iframes for CoreSoft content */
iframe.coresoft {
	width: 100%!important;
	padding: 0!important;
	min-height: 1000px!important;
	zzzborder: 1px dotted red;
}

iframe #page,
iframe .container {
	width: 100%!important;
	margin:0!important;	
	padding:0!important;
}

.sidebar_left.sidebar{text-align: left;}

/* search results page */
.search #main .container_wrap.container_wrap_first.main_color.fullsize {background: #FFF!important;}

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


.mobile-back {display: none!important; margin: 0!important;}
.mobile-back p {padding: 0!important;margin: 0!important;}
section.av_textblock_section:nth-child(1),
section.av_textblock_section:nth-child(2),
section.av_textblock_section:nth-child(2) > div:nth-child(1) > p:nth-child(1),
section.av_textblock_section:nth-child(2) > div:nth-child(1) > p:nth-child(1) > code,
section.av_textblock_section:nth-child(2) > div:nth-child(1) > p:nth-child(1) > code iframe,
section.av_textblock_section:nth-child(2) > div:nth-child(1) > p:nth-child(1) > code iframe html,
section.av_textblock_section:nth-child(2) > div:nth-child(1) > p:nth-child(1) > code iframe body {padding: 0!important;margin: 0!important;}


/*hide sidebar menu in member pages */

#nav_menu-2 {padding-top: 0!important;}

/*member login*/
.page-id-106 nav.widget,
/*change password*/
.page-id-956 nav.widget,
/*forgotten password*/
.page-id-974 nav.widget,
/*update details*/
.page-id-961 nav.widget,
/*pay membership fee*/
.page-id-964 nav.widget,
/*special interest groups*/
.page-id-966 nav.widget,
/*professional development*/
.page-id-967 nav.widget,
/*eNews Subscriptions*/
.page-id-968 nav.widget,
/*pay invoices*/
.page-id-969 nav.widget,
/*log off*/
.page-id-968 nav.widget

{display: none!important;} 

img.border {border: 1px solid #666!important;}


body.page-id-220 section.newsbox,
#black-studio-tinymce-7 {display: none;}

h3.iphorm-title,
.iphorm-outer h3,
.iphorm-group-row h3 {padding-top: 40px!important;}


input[type="submit"] {font-size: 16px!important;}

button::-moz-focus-inner, 
input[type="button"]::-moz-focus-inner, 
input[type="submit"]::-moz-focus-inner, 
input[type="reset"]::-moz-focus-inner {
font-size: 16px!important;
padding: 6px 10px!important;
}

.feature, #yba-cta {padding: 20px;margin-bottom: 20px;}
.feature p {padding-left: 0px!important;}
.feature.grey {background: #F1f1f1}
.feature.blue {background: #e7f3f8}
.feature.green {background: #eaf4e5}
.feature.gold, .feature.yellow, #yba-cta {background: #f6f2e7;}


body .features {
  padding-bottom: 40px!important;
  border-bottom: 2px solid #666!important;
}

/*reduce spaces between features */
body .features div .first,
body .features  div .no_margin {
  margin-left: 0;
}

.features div .av_one_third {
  margin-left: 1.5%;
  width: 32.333333333333332%;
}
/*END reduce spaces between features */



/* reduce tweets spacing*/

.avia-builder-el-15,
.avia-builder-el-15 div,
.avia-builder-el-15 div div {
	padding-bottom: 0!important;
	margin-bottom: 0!important;}



/*#av_section_3 {display:none;}*/

#awards-photos {display:none;}

.gform_body li {padding-bottom: 40px;}

#gform_submit_button_1,
#gform_submit_button_2 {background: #ff6600;}
#gform_submit_button_1:hover,
#gform_submit_button_2:hover {background: #ff9900;}

#gform_save_4_link.gform_save_link {background: #999999;color: #FFF;padding: 11px 20px!important;position: static; top:20px!important;display:inline-block!important;}
#gform_save_4_link:hover {background: #666666;color: #FFF;text-decoration:none;}


/* remove pdf mime type links icons on images */

a.mtli_pdf.alignnone,
a.mtli_pdf.aligncenter,
a.mtli_pdf.alignleft,
a.mtli_pdf.alignright,
div.avia-slideshow a.mtli_attachment.mtli_pdf,
.slide-2 > a:nth-child(1) > img:nth-child(2)
 {
    background-image: none!important;
    padding: 0px!important;
    xxxborder: 2px dotted red!important;
}

a.mtli_pdf.alignnone::after,
a.mtli_pdf.alignleft::after,
a.mtli_pdf.alignright::after,
a.mtli_pdf.aligncenter::after {
    display: none!important;
}

/* end removal of pdf mime type links icons on images */

h3.gform_title {display:none;}

span.avia_button_icon,
span.avia_iconbox_title {font-size: 20px!important;}


/*woocommerce mods*/
ul.cart_dropdown {display:none!important;}

p.alert {border: 1px solid red!important;background: #ffcccc!important; color: red!important;padding-left: 8px;}

div.alert {background: orange;padding: 20px;}
div.alert p {color: white;font-size: 1.5em;}

#main p.red,
#main p.red strong {color: red!important;}

#tribe-events-pg-template {margin-top: 60px;}

#tribe-events-bar:before, 
#tribe-events-bar:after {
border-bottom-style: none!important; 
}

/*national sponsors page, targetted anchors*/
body.page-id-617 hr {padding-top: 40px;}


/* home page announcements - color section and text block with id and class */
.home #announcement,
.home #announcement .template-page.content {padding: 0px!important;margin: 0 0 0!important;}
.home #announcement .container  {padding: 0px!important;height: auto!important;min-height: auto !important;}
.home #announcement  {padding: 0px!important;height: auto!important;min-height: auto !important;}

.home .announcement-text {background: #6CB144!important;padding: 20px!important;margin:0!important;}
.home .announcement-text h3 {color: #FFF!important;text-align: center !important;}
/* end home page announcements */

.news-area {padding: 20px 0;}

.accordion-mod span.toggle_icon {display:none;}
.accordion-mod .js_active .toggler {padding-left: 30px;}

.accordion-mod .togglecontainer {padding-bottom: 60px!important;}
.accordion-mod .toggler {border: 0 none!important;}
.accordion-mod .toggler {color: #0397D6!important;text-decoration: none!important;padding: 6px 10px!important;}
.accordion-mod .toggler:hover {text-decoration: underline!important;}
.accordion-mod .toggle_content {border: 0 none!important;}
.toggle_content p {margin: 2px!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: #666666!important;}
div.av-share-box ul.av-share-box-list li a:hover {background: #666666!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;}


#top #header nav.main_menu ul.social_bookmarks {display: none!important;}


