/*
 Theme Name:	GO Theme
 Theme URI:		http://www.go-creative.com.au
 Author:		GO Creative
 Author URI:	http://www.go-creative.com.au
 Template:		enfold
 Version:		1.2.0
 Text Domain:	enfold-child
*/

/**************************************************************
	REFERENCE
***************************************************************/

/*	breakpoints
*************************************/
/*
	DEVICE		MIN-WIDTH		MAX-WIDTH
	Phone:		468px			467px
	Tablet:		768px			767px
	Desktop:	990px			989px
*/

/*	colours
*************************************/
/*
	Primary:	#27a9e1 (blue)
	Secondary:	#xxxxxx (xxxxxx)
	Tertiary:	#xxxxxx (xxxxxx)
	Borders:	#efefef (very light grey)
*/

/*	custom fonts
*************************************/

/*@font-face {
	font-family: 'xxxxxxx';
	src: url('fonts/xxxxxxx-webfont.woff2') format('woff2'),
		 url('fonts/xxxxxxx-webfont.woff') format('woff');
	font-weight: normal;
	font-style: normal;
}

body {
	font-family: 'xxxxxxx';
}*/

/**************************************************************
	HEADER
***************************************************************/

/*	top bar
*************************************/

#top .av_header_transparency #header_meta {
	border: none;
}

#top .av_header_transparency #header_meta a {
	color: #eee!important;
}

#header {
	border-bottom: 2px solid #fff;
}

#header.header-scrolled {
	-moz-box-shadow: 0 0 70px 0 rgba(0,0,0,0.2);
	-webkit-box-shadow: 0 0 70px 0 rgba(0,0,0,0.2);
	box-shadow: 0 0 70px 0 rgba(0,0,0,0.2);
}

/*	logo
*************************************/

div .logo {
	overflow: visible;
}

div .logo,
div .logo a {
	height: auto;
}

	div .logo img {
		padding: 15px 0 0 0 !important;
		height: 74px;
	}

@media only screen and (min-width: 768px) {
	
	#header.header-scrolled div .logo img {
		height: 75px;
		padding: 5px 0 !important;
	}
	
}

@media only screen and (max-width: 767px) {
	
	.responsive .logo img {
		max-height: 90px !important;
		height: auto;
		padding-bottom: 5px !important;
	}
	
	#header.header-scrolled div .logo img {
		max-height: 60px !important;
		padding-bottom: 5px 0 0 0 !important;
	}
	
}

@media only screen and (max-width: 467px) {
	
	.responsive .logo {
		padding: 0 !important;
		display: block !important;
		}
		
		.responsive .logo a {
			float: left;
			}
			
			.responsive .logo img {
				padding: 15px 0 !important;
			}
		
}

/*	title bar (below header)
*************************************/

.main-title.entry-title,
.main-title.entry-title > a {
	color: #FFF !important;
	font-weight: bold !important;
	font-size: 45px;
	line-height: 1.5em;
	text-transform: inherit !important;
	text-decoration: none !important;
	padding-top: 15px;
}

/* the whole bar */

.title_container {
	background: #1d7fa9;
	border: none;
}

.title_container + .container_wrap {
	border: none;
}


/*	breadcrumbs
*************************************/

/* hide breadcrumbs on top-level pages */

body#top:not(.page-child) .breadcrumb {
	display: none !important;
}

/* general */

.alternate_color .breadcrumb,
.alternate_color .breadcrumb a {
	color: #FFF;
	text-decoration: none !important;
}

/* remove "home" */

.breadcrumb-trail > span:first-child + a,
.breadcrumb-trail > span:nth-child(3) {
	display: none !important;
}

/* remove "you are here" */

span.trail-before {
	display: none !important;
}

/* remove the duplicate "blog" breadcrumb */

.single-post .breadcrumb-trail > span:nth-child(6),
.single-post .breadcrumb-trail > span:nth-child(7) {
	display: none !important;
}


/*	header title (e.g. slogan)
*************************************/

.header-title {
	position: absolute;
	left: 260px;
	font-size: 26px;
	font-weight: bold;
	color: #fff;
	animation-name: slogan-right;
	animation-duration: 0.5s;
}

.av_header_transparency .header-title {
	color: #FFF;
}

@keyframes slogan-left {
	from { left: 260px; }
	to { left: 140px; font-size: 15px; font-weight: bold; }
}

@keyframes slogan-right {
	from { left: 140px; }
	to { left: 260px; font-size: 26px; font-weight: bold; }
}

.header-scrolled .header-title {
	left: 140px;
	animation-name: slogan-left;
	animation-duration: 0.5s;
	font-size: 15px;
	font-weight: bold;
}

	.header-title .widget {
		padding: 0;
	}

		.header-title > .widget p {
			margin: 0;
		}

@media only screen and (max-width: 767px) {

	.header-title {
		display: none;
	}
	
}

/*	mobile phone tap button
*************************************/

.header-phone {
	display: none;
	z-index: 9999;
	transition: all 0.1s ease 0s;
}

@media only screen and (max-width: 767px) {

	.header-phone,
	.header-phone:hover {
		position: absolute;
		font-size: 27px;
		font-weight: bold;
		display: block;
		width: 46px;
		height: 46px;
		text-align: center;
		background: #27a9e1;
		line-height: 46px;
		border-radius: 1000px;
		border: none;
		text-decoration: none;
	}
	
	.header-phone {
		right: 50px;
		top: 50%;
		margin-top: -23px;
	}
	
		.header-phone .av-icon-char {
			color: #FFF;
			position: relative;
			bottom: 3px;
		}
	
}

@media only screen and (max-width: 989px) {

	/* move the phone if there's a cart icon visible */
	.responsive #top .cart_dropdown + .container > .inner-container > .header-phone {
		right: 100px;
	}

}

/**************************************************************
	PRIMARY NAVIGATION
***************************************************************/

/*	mobile menu
*************************************/

/* breakpoint */

@media only screen and (max-width: 1300px) {
	
	.html_mobile_menu_tablet .main_menu,
	.html_mobile_menu_tablet #header_main_alternate {
		display: none;
	}
	
	.html_mobile_menu_tablet .container #advanced_menu_toggle,
	.html_mobile_menu_tablet #advanced_menu_hide {
		display: block;
	}
	
}

/* mobile tap buttons */
/* generally, use the same design as ".header-phone" */

#advanced_menu_toggle,
#advanced_menu_hide {
	background-color: #27a9e1;
	color: #FFF;
	border: none;
	border-radius: 1000px;
	text-decoration: none !important;
}

/*	top level links
*************************************/
/* links */

#top .av-main-nav > li > a {
	font-size: 15px !important;
	color: #fff;
	font-weight: bold !important;
	text-transform: uppercase;
	letter-spacing: 1px;
}

#top .av-main-nav > li:hover > a {
	color: #fff;
}

/* if the menu bar is below the logo, align the first link properly */

.html_header_top .av_bottom_nav_header .main_menu ul > li:first-child a {
	padding-left: 0;
}

@media only screen and (min-width: 990px) {
	
	.main_menu li > a::after {
		/*content: '\00a0\00a0\25bc';*/ /* space, space, filled arrow */
		content: '\00a0\e877'; /* space, down arrow */
		font-family: 'entypo-fontello';
		font-size: 20px;
		color: #fff;
		position: relative;
		top: 2px;
	}
	
	.main_menu li#menu-item-search > a::after,
	.main_menu li > a:only-child::after {
		content: '';
	}
	
}

/*	submenus
*************************************/

#top .av-main-nav ul {
	width: 240px;
}

#top .av-main-nav ul a {
	font-size: 14px;
	background-color: #FFF !important;
}

#top .header_color .main_menu .menu ul li a:hover,
.header_color .av-subnav-menu ul a:hover {
	background-color: #FAFAFA !important;
}

#top .header_color .main_menu .menu ul li > a:hover {
	color: #fff;
}

/* mega menus */

#top #header .avia_mega_div {
	max-width: 900px;
	background-color: #FFF !important;
	/*left: 0 !important;*/
}

#top #header .main_menu ul:first-child > li > ul,
#top #header .main_menu .avia_mega_div > .sub-menu {
	border: none;
}

	#header .mega_menu_title {
		color: #000;
		font-size: 18px;
		font-weight: 700;
		padding-bottom: 20px;
	}

	#top #header .main_menu ul:first-child > li > ul li a,
	#top #header .main_menu .avia_mega_div > .sub-menu li a {
		color: #000;
		font-size: inherit;
	}
	
	#top #header .main_menu ul:first-child > li > ul li.mega-menu-button a,
	#top #header .main_menu .avia_mega_div > .sub-menu li.mega-menu-button a {
		color: #333;
		background: #FFF;
		padding: 6px 12px;
		border: 1px solid #CCC;
		border-radius: 5px;
		display: inline-block;
		font-weight: bold;
		margin-top: 5px;
	}
	
		#top #header .main_menu ul:first-child > li > ul li.mega-menu-button a:hover,
		#top #header .main_menu .avia_mega_div > .sub-menu li.mega-menu-button a:hover {
			background: #333 !important;
			color: #FFF;
			border-color: #333;
		}
		
		#top #header .main_menu .avia_mega_div .sub-menu li .avia-bullet {
			border-color: #CCC;
		}
		
		#top #header .main_menu .avia_mega_div .sub-menu li > a:hover .avia-bullet {
			border-color: #000;
		}
	
		#top #header .main_menu ul:first-child > li > ul li.mega-menu-button a span.avia-bullet,
		#top #header .main_menu .avia_mega_div > .sub-menu li.mega-menu-button a span.avia-bullet {
			display: none !important;
		}


/* Search tool tip */
.header_color .avia-tt,
.header_color .avia-tt .avia-arrow,
.header_color .avia-tt .avia-arrow {
	background: #fff;
}

#top .avia-tt #s {
	background: #efefef;
}
/**************************************************************
	SECONDARY NAVIGATION
***************************************************************/

/*	top level links
*************************************/

.sub_menu li,
.sub_menu li:hover {
	border: none;
	text-decoration: none;
}

.sub_menu > ul > li > a,
.sub_menu > div > ul > li > a {
	color: #000 !important;
	font-size: 13px;
}

@media only screen and (max-width: 767px) {
	
	.sub_menu > ul > li,
	.sub_menu > div > ul > li {
		padding: 0 !important;
	}

	.sub_menu > ul > li > a,
	.sub_menu > div > ul > li > a {
		padding: 15px 10px !important;
		display: block;
		color: #000 !important;
		font-size: 15px;
	}
	
}

#top .header_color .sub_menu > ul > li > a:hover {
	color: #000 !important;
	text-decoration: none;
}

@media only screen and (min-width: 990px) {
	
	.sub_menu > ul > li.menu-item-has-children > a::after {
		content: '\00a0\00a0\25bc'; /* space, space, arrow */
		font-size: 9px;
		color: #ccc;
	}
	
}

/*	extra information
*************************************/

.phone-info {
	font-weight: normal;
	font-size: 13px;
}
	
	.phone-info span {
		/*line-height: 40px;*/
		text-decoration: none;
	}
	
		.phone-info span,
		.phone-info span a,
		.phone-info span a:hover {
			color: #000 !important;
			text-decoration: none;
		}
		
@media only screen and (max-width: 767px) {
	
	.phone-info {
		font-size: 17px;
		padding: 0 0 10px 0;
	}
	
		.phone-info span a {
			padding: 5px 10px;
		}
	
}

/**************************************************************
	PAGE HEADINGS
***************************************************************/

#top h1 a, #top h2 a, #top h3 a, #top h4 a, #top h5 a, #top h6 a {
	text-decoration: none !important;
}

/*	heading 1
*************************************/

h1,
.main_color h1,
.alternate_color h1 {
	text-transform: inherit !important;
}

.template-page .entry-content-wrapper h1 {
	letter-spacing: inherit !important;
}

/*	heading 2
*************************************/

h2,
.main_color h2,
.alternate_color h2,
#top .av-special-heading h2.av-special-heading-tag {
	font-size: 37px;
	font-weight: bold!important;
	text-transform: inherit !important;
}

.template-page .entry-content-wrapper h2 {
	letter-spacing: inherit !important;
}

/* hide the border by default */

#top .av-special-heading h2.av-special-heading-tag {
	float: none;
}

	#top .av-special-heading.av-special-heading-h2 .av-special-heading-tag + .special-heading-border {
		display: none;
	}

/*	heading 3
*************************************/

h3,
.main_color h3,
.alternate_color h3,
#top .av-special-heading h3.av-special-heading-tag {
	font-size: 21px !important;
	font-weight: 700;
	text-transform: inherit !important;
}

h3 a:hover,
.main_color h3 a:hover,
.alternate_color h3 a:hover,
#top .av-special-heading h3.av-special-heading-tag a:hover {
	color: #27a9e1!important;
}

.slide-entry.av_one_fourth h3.slide-entry-title,
.slide-entry.av_one_fifth h3.slide-entry-title {
	font-size: 14px !important;
}

.main_color h3,
.main_color h3.av-special-heading-tag,
.main_color h3.widgettitle,
.main_color h3.avia-content-slider .slide-entry-title {
	color: #000;
}

.alternate_color h3,
.alternate_color h3.av-special-heading-tag,
.alternate_color h3.widgettitle,
.alternate_color h3.avia-content-slider .slide-entry-title {
	color: #333;
}

.modern-quote h3.av-special-heading-tag {
	font-weight: 700;
}

/*	special headings
*************************************/

.special_amp {
	font-family: inherit;
	font-style: inherit;
	font-size: inherit;
	line-height: inherit;
	font-weight: inherit;
	color: inherit !important;
}

/**************************************************************
	FOOTER
***************************************************************/

/*	general
*************************************/

#footer {
	font-size: 14px;
}

#footer.container_wrap {
	border: none;
}

footer.container_wrap {
	font-size: inherit;
}

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

	#footer .widget + .widget {
		margin-top: 0;
	}

	#footer .flex_column .widget:first-child:not(:last-child) {
		margin-bottom: 0;
	}

}

/* columns on large phones/small tablets
*************************************/

@media only screen and (max-width: 989px) {

	.responsive #top #wrap_all #footer .flex_column {
		width: 47% !important;
		display: block;
		margin: 0 0 20px 6%;
		float: left;
		min-height: 292px;
	}

	.responsive #top #wrap_all #footer .flex_column.first,
	.responsive #top #wrap_all #footer .flex_column:nth-of-type(3) {
		margin-left: 0;
	}

	.responsive #top #wrap_all #footer .flex_column:last-of-type {
		margin-left: 0;
	}

}

@media only screen and (max-width: 767px) {

	.responsive #top #wrap_all #footer .flex_column {
		width: 47% !important;
		float: left;
		display: block;
		margin: 0 0 20px 0;
	}

}

@media only screen and (max-width: 560px) {

	.responsive #top #wrap_all #footer .flex_column {
		float: none;
		display: block;
		margin: 0 0 20px 0;
	}

}

/*	hyperlinks
*************************************/

#footer a,
#socket a {
	text-decoration: none !important;
}

#footer a {
	/*border-bottom: 1px dotted #666;*/
}

#footer a:hover {
	/*border-bottom: 1px dotted #FFF;*/
	text-decoration: underline;
}

#socket a:hover {
	text-decoration: underline !important;
}

#socket .social_bookmarks a:hover {
	text-decoration: none !important;
}

/*	placeholder text
*************************************/

#footer ::-webkit-input-placeholder {
	color: #777777;
}

#footer :-moz-placeholder { /* Firefox 18- */
	color: #777777;
}

#footer ::-moz-placeholder { /* Firefox 19+ */
	color: #777777;
}

#footer :-ms-input-placeholder {
	color: #777777;
}

/*	socket
*************************************/

#socket {
	font-size: 13px;
}

@media only screen and (max-width: 767px) {
	
	#footer .widget,
	.responsive #top #wrap_all .flex_column {
		margin: 15px 0 0 0;
	}
	
	#socket {
		text-align: center;
	}
	
	#socket .copyright {
		float: none;
	}
	
		#socket .copyright span {
			display: block;
		}
	
	.responsive #socket .sub_menu_socket {
		display: block;
		margin: 0;
		float: none;
	}
	
		.responsive #socket .sub_menu_socket ul li {
			float: none;
			display: inline-block;
			line-height: 1.75em;
			padding: 0 4px;
			border: none !important;
		}
		
		/* GO Creative credit notice */
		
		.responsive #socket .sub_menu_socket ul li:last-child {
			display: block;
			margin-top: 10px;
		}
		
	#top #wrap_all #socket .social_bookmarks {
		float: none;
		display: block;
		text-align: center;
		margin: 10px 0 15px 0;
	}
	
		#top #wrap_all #socket .social_bookmarks li {
			display: inline-block;
			float: none;
			position: static;
			top: auto;
		}
	
}

@media only screen and (max-width: 479px) {
	
	.responsive #socket .sub_menu_socket ul {
		margin: 0;
	}
	
		.responsive #socket .sub_menu_socket ul li {
			padding: 5px;
			border: none;
		}
		
		/* GO Creative credit notice */
		
		.responsive #socket .sub_menu_socket ul li:last-child {
			margin-top: 0;
		}
	
}

/**************************************************************
	BUTTONS
***************************************************************/

/*	resets
*************************************/

button::-moz-focus-inner,
input::-moz-focus-inner {
	border: 0;
	padding: 0;
}

#top input[type="submit"] {
	font: inherit;
}

#top .avia-button,
#top .avia-button.avia-color-theme-color,
#top .avia_ajax_form .button,
#top .gform_wrapper .gform_button,
#top .slide-entry-excerpt .more-link,
#top input[type="submit"] {
	background: #27a9e1 !important;
	color: #FFF;
	border: none;
	outline: none;
	font-family: inherit;
	font-size: 18px !important;
	font-weight: bold !important;
	line-height: 1.2;
	text-decoration: none !important;
	letter-spacing: normal;
	min-width: 0;
	border-radius: 3px;
	padding: 15px 20px;
	transition: all 0.3s ease-out 0s;
	opacity: 1 !important;
}

#top .slide-entry-excerpt .more-link {
	margin-top: 10px;
	display: inline-block;
}

#top .main_color .avia-button:hover,
#top .main_color .avia-button:focus,
#top .main_color .avia-button.avia-color-theme-color:hover,
#top .main_color .avia-button.avia-color-theme-color:focus,
#top .main_color .avia_ajax_form .button:hover,
#top .main_color .avia_ajax_form .button:focus,
#top .main_color .gform_wrapper .gform_button:hover,
#top .main_color .gform_wrapper .gform_button:focus,
#top .main_color input[type="submit"]:hover,
#top .main_color input[type="submit"]:focus,
#top .main_color .slide-entry-excerpt .more-link:hover,
#top .main_color .slide-entry-excerpt .more-link:focus {
	opacity: 1 !important;
	background: #333 !important;
	color: #FFF !important;
}

#top .alternate_color .avia-button:hover,
#top .alternate_color .avia-button:focus,
#top .alternate_color .avia-button.avia-color-theme-color:hover,
#top .alternate_color .avia-button.avia-color-theme-color:focus,
#top .alternate_color .avia_ajax_form .button:hover,
#top .alternate_color .avia_ajax_form .button:focus,
#top .alternate_color .gform_wrapper .gform_button:hover,
#top .alternate_color .gform_wrapper .gform_button:focus,
#top .alternate_color input[type="submit"]:hover,
#top .alternate_color input[type="submit"]:focus,
#top .alternate_color .slide-entry-excerpt .more-link:hover,
#top .alternate_color .slide-entry-excerpt .more-link:focus,
#top .alternate_color .avia-button.avia-color-silver:hover,
#top .alternate_color .avia-button.avia-color-silver:focus {
	opacity: 1 !important;
	background: #333 !important;
	color: #FFF !important;
}

#top .main_color .avia-color-theme-color-subtle,
#top .alternate_color .avia-color-theme-color-subtle {
	background: #444;
	color: #FFF;
}

#top .main_color .avia-button.avia-color-light,
#top .alternate_color .avia-button.avia-color-light {
	background: transparent !important;
	color: #FFF !important;
}

#top .main_color .avia-button.avia-color-light:hover,
#top .alternate_color .avia-button.avia-color-light:hover {
	background: #FFF !important;
	color: #000 !important;
}

/*	sizes
*************************************/

#top .avia-button.avia-size-large {
	font-size: 18px !important;
}

#top .avia-button.avia-size-x-large {
	font-size: 24px !important;
}

/* make buttons fullwidth on smaller screens */

@media only screen and (max-width: 767px) {
	
	#top .flex_column > .avia-button-wrap:only-of-type {
		display: block;
	}
	
	.avia-button-wrap.avia-button-left,
	.avia-button-wrap.avia-button-right,
	.avia-button.avia-position-left,
	.avia-button.avia-position-right {
		float: none !important;
	}
	
}

/**************************************************************
	GENERAL FORMS
***************************************************************/

/* placeholder text */

::-webkit-input-placeholder {
	color: rgb(120, 120, 120);
}

::-moz-placeholder {
	color: rgb(120, 120, 120);
}

::-moz-placeholder {
	color: rgb(120, 120, 120);
}

::-ms-input-placeholder {
	color: rgb(120, 120, 120);
}

.gf_placeholder {
	color: rgb(120, 120, 120);
}

/* hide title on contact form when displayed on Contact Us page */

.no-title .gform_widget > .widgettitle {
	display: none;
}

/* form labels */

#top label {
	font-weight: 300;
	font-size: 18px;
}

#top legend {
	font-weight: 300;
	margin: 0 0 10px 0;
}

/* form inputs reset */

#top .input-text,
#top input[type="text"],
#top input[type="input"],
#top input[type="password"],
#top input[type="email"],
#top input[type="number"],
#top input[type="url"],
#top input[type="tel"],
#top input[type="search"],
#top textarea,
#top select {
	font: inherit;
	color: #000 !important;
	font-size: 17px !important;
	padding: 12px 13px !important;
}

#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 {
	background: #FFF;
}

#top div .av-light-form input[type="text"] {
	color: #FFF !important;
}

/* adjust datepickers */

body div#ui-datepicker-div {
	width: auto;
	display: none;
}

	#top .ui-datepicker-title select {
		font-size: 12px !important;
		padding: 4px 4px 5px 4px !important;
	}

/* adjust time fields */

#top .gform_wrapper .gfield_time_hour {
	max-width: calc(4rem + 1.5rem);
}

#top .gform_wrapper .gfield_time_minute {
	max-width: 5.5rem;
}

#top .gform_wrapper .gfield_time_hour i {
	width: 22px;
}

/**************************************************************
	GRAVITY FORMS
***************************************************************/

/*	general
*************************************/

.gform_wrapper {
	max-width: 100% !important;
	margin: 0 !important;
}

.gform_wrapper .gform_heading {
	margin-bottom: 0.85em !important;
}

#top .gform_wrapper .gform_body > ul > li.gsection:first-child {
	margin-top: 0 !important;
}

#top .gform_wrapper .gsection {
	margin-right: 0;
}

#top .gform_wrapper .description,
#top .gform_wrapper .gfield_description,
#top .gform_wrapper .gsection_description,
#top .gform_wrapper .instruction {
	font-size: inherit;
	color: #666;
}

#top .gform_wrapper ul li.gfield {
	margin-bottom: 0 !important;
	padding-right: 0 !important;
	vertical-align: top !important;
}

#top .gform_wrapper ul li.gfield::after {
	content: "";
	display: table;
	clear: both;
}

#top .gform_wrapper textarea {
	margin-bottom: 0;
}

#top .gform_wrapper input[type="radio"],
#top .gform_wrapper input[type="checkbox"],
#top .gform_wrapper input[type="radio"] + label,
#top .gform_wrapper input[type="checkbox"] + label,
#top .gform_wrapper select {
	cursor: pointer;
}

#top .gform_wrapper .top_label div.ginput_container_select {
	float: left;
	display: block !important;
	width: 100%;
}

body .container_wrap .avia-builder-el-no-sibling > .gform_widget {
	padding: 0;
}

/* centre form buttons when placed in a Text Block with centred text */

#top p[style*="text-align: center"] + .gform_wrapper .gform_footer {
	text-align: center;
}

	#top p[style*="text-align: center"] + .gform_wrapper .gform_footer input[type="submit"] {
		margin-right: 0 !important;
	}

/*	field column layouts
*************************************/

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

	/* general */

	#top .gform_wrapper ul li.gfield.one-half,
	#top .gform_wrapper ul li.gfield.one-half-first,
	#top .gform_wrapper ul li.gfield.one-half-last,
	#top .gform_wrapper ul li.gfield.one-third,
	#top .gform_wrapper ul li.gfield.one-third-first,
	#top .gform_wrapper ul li.gfield.one-third-last,
	#top .gform_wrapper ul li.gfield.two-thirds,
	#top .gform_wrapper ul li.gfield.two-thirds-first,
	#top .gform_wrapper ul li.gfield.two-thirds-last,
	#top .gform_wrapper ul li.gfield.one-quarter,
	#top .gform_wrapper ul li.gfield.one-quarter-first,
	#top .gform_wrapper ul li.gfield.one-quarter-last,
	#top .gform_wrapper ul li.gfield.two-quarters,
	#top .gform_wrapper ul li.gfield.two-quarters-first,
	#top .gform_wrapper ul li.gfield.two-quarters-last,
	#top .gform_wrapper ul li.gfield.three-quarters,
	#top .gform_wrapper ul li.gfield.three-quarters-first,
	#top .gform_wrapper ul li.gfield.three-quarters-last {
		display: inline-block;
		margin-right: 2%;
	}
	
	#top .gform_wrapper ul li.gfield.one-half-last,
	#top .gform_wrapper ul li.gfield.one-third-last,
	#top .gform_wrapper ul li.gfield.two-thirds-last {
		margin-right: 0;
	}

	/* halves */

	#top .gform_wrapper ul li.gfield.one-half,
	#top .gform_wrapper ul li.gfield.one-half-first,
	#top .gform_wrapper ul li.gfield.one-half-last {
		width: 49%;
	}

	/* thirds */

	#top .gform_wrapper ul li.gfield.one-third,
	#top .gform_wrapper ul li.gfield.one-third-first,
	#top .gform_wrapper ul li.gfield.one-third-last {
		width: 32%;
	}

	#top .gform_wrapper ul li.gfield.two-thirds,
	#top .gform_wrapper ul li.gfield.two-thirds-first,
	#top .gform_wrapper ul li.gfield.two-thirds-last {
		width: 66%;
	}

	/* quarters */

	#top .gform_wrapper ul li.gfield.one-quarter,
	#top .gform_wrapper ul li.gfield.one-quarter-first,
	#top .gform_wrapper ul li.gfield.one-quarter-last {
		width: 23.5%;
	}

	#top .gform_wrapper ul li.gfield.two-quarters,
	#top .gform_wrapper ul li.gfield.two-quarters-first,
	#top .gform_wrapper ul li.gfield.two-quarters-last {
		width: 49%;
	}

	#top .gform_wrapper ul li.gfield.three-quarters,
	#top .gform_wrapper ul li.gfield.three-quarters-first,
	#top .gform_wrapper ul li.gfield.three-quarters-last {
		width: 66%;
	}
	
	/* fixes */
	
	#top .gform_wrapper ul li.gfield.one-half ul.gfield_checkbox li,
	#top .gform_wrapper ul li.gfield.one-third ul.gfield_checkbox li,
	#top .gform_wrapper ul li.gfield.one-quarter ul.gfield_checkbox li,
	#top .gform_wrapper ul li.gfield.two-thirds ul.gfield_checkbox li,
	#top .gform_wrapper ul li.gfield.two-quarters ul.gfield_checkbox li,
	#top .gform_wrapper ul li.gfield.three-quarters ul.gfield_checkbox li,
	#top .gform_wrapper ul li.gfield.one-half-first ul.gfield_checkbox li,
	#top .gform_wrapper ul li.gfield.one-third-first ul.gfield_checkbox li,
	#top .gform_wrapper ul li.gfield.one-quarter-first ul.gfield_checkbox li,
	#top .gform_wrapper ul li.gfield.two-thirds-first ul.gfield_checkbox li,
	#top .gform_wrapper ul li.gfield.two-quarters-first ul.gfield_checkbox li,
	#top .gform_wrapper ul li.gfield.three-quarters-first ul.gfield_checkbox li,
	#top .gform_wrapper ul li.gfield.one-half-last ul.gfield_checkbox li,
	#top .gform_wrapper ul li.gfield.one-third-last ul.gfield_checkbox li,
	#top .gform_wrapper ul li.gfield.one-quarter-last ul.gfield_checkbox li,
	#top .gform_wrapper ul li.gfield.two-thirds-last ul.gfield_checkbox li,
	#top .gform_wrapper ul li.gfield.two-quarters-last ul.gfield_checkbox li,
	#top .gform_wrapper ul li.gfield.three-quarters-last ul.gfield_checkbox li {
		float: left;
	}
	
	/* accommodate cases where we have empty columns */
	
	#top .gform_wrapper ul li.gfield.one-third-first + li.gfield.one-third-last {
		width: 66% !important;
		padding-right: 34% !important;
	}
	
}

/*	validation
*************************************/

#top .gform_wrapper .gfield_required {
	color: red !important;
}

#top .gfield_contains_required input[type="text"],
#top .gfield_contains_required input[type="email"],
#top .gfield_contains_required input[type="number"],
#top .gfield_contains_required textarea,
#top .gfield_contains_required select {
	border-left: 2px solid #999;
}

#top .gfield_contains_required input[type="text"]:focus:invalid,
#top input[type="text"]:focus:invalid,
#top input[type="email"]:focus:invalid,
#top input[type="number"]:focus:invalid,
#top textarea:focus:invalid,
#top select:focus:invalid {
	border: 1px dotted rgb(255,0,0);
	border-left: 2px solid rgb(255,0,0);
}

#top .gfield_contains_required input[type="text"]:focus:valid,
#top input[type="text"]:focus:valid,
#top input[type="email"]:focus:valid,
#top input[type="number"]:focus:valid,
#top textarea:focus:valid,
#top select:focus:valid {
	border: 1px dotted rgb(0,255,0);
	border-left: 2px solid rgb(0,255,0);
}

/* inline labels (use "no-labels" for the form class) */

.no-labels_wrapper .gfield_label {
	display: none !important;
	float: none !important;
}

#top li.show-label .gfield_label { /* show some specific labels if needed */
	display: block !important;
}

.no-labels_wrapper label.gfield_label + div.ginput_container {
	padding: 0;
	margin: 0;
}

/*	wide forms (use "wide-form" for the form class)
*************************************/

#top .wide-form {
	max-width: none;
	margin: 0;
	padding: 0;
}

#top .wide-form .gform_body {
	float: left;
	width: 74%;
	margin-right: 1%;
}

#top .wide-form .gfield_label {
	display: none;
	float: none;
}

#top .wide-form label.gfield_label + div.ginput_container {
	padding: 0;
	margin: 0;
}

/* three fields + button + hidden field */

#top .wide-form ul li.gfield {
	float: left;
	padding: 0;
	width: 32.333%;
	margin: 0 1% 0 0;
	clear: none;
}

#top .wide-form ul li.gfield:nth-child(4) {
	margin: 0;
}

/* four fields + button + hidden field */

#top .wide-form.four-fields ul li.gfield {
	width: 24.25%;
}

#top .wide-form.four-fields ul li.gfield:nth-child(4) {
	margin: 0 1% 0 0;
}

#top .wide-form.four-fields ul li.gfield:nth-child(5) {
	margin: 0;
}

/* fields */

#top .wide-form ul li.gfield input {
	border-radius: 3px;
	padding: 15px 10px !important;
	color: #000;
	font-size: 16px;
	background: #FFF;
	background: rgba(0, 0, 0, 0.1);
}

#top .light-form .wide-form ul li.gfield input {
	background: #FFF;
}

/* placeholders */

#top .wide-form ul li.gfield input:-moz-placeholder {
	color: #999;
}

#top .wide-form ul li.gfield input::-moz-placeholder {
	color: #999;
}

#top .wide-form ul li.gfield input:-ms-input-placeholder {
	color: #999;
}

#top .wide-form ul li.gfield input::-webkit-input-placeholder {
	color: #999;
}

#top .light-form .wide-form ul li.gfield input::-webkit-input-placeholder {
	color: #333;
}

/* submit button */

#top .wide-form .gform_footer.left_label { /* must set labels to left-align in form settings */
	padding: 0;
	margin: 0;
	float: left;
	width: 25%;
	clear: none;
}

#top .wide-form .gform_footer input[type="submit"].gform_button {
	font-size: 18px !important;
	border-radius: 3px;
	padding: 17px 10px !important;
	width: 100% !important;
}

#top .light-form .wide-form .gform_footer input[type="submit"].gform_button {
	font-size: 18px !important;
	border-radius: 3px;
	padding: 16px 10px 15px 10px !important;
	width: 100% !important;
	background: none !important;
	color: #FFF!important;
	border: 3px solid #FFF;
	box-sizing: border-box;
}

@media only screen and (min-width: 768px) and (max-width: 1299px) {
	
	#top .wide-form .gform_body {
		float: none;
		width: 100%;
		margin: 0 !important;
	}
	
	/* three fields + button + hidden field */
	
	#top .wide-form ul li.gfield {
		width: 32.666%;
		padding-bottom: 10px;
	}

	#top .wide-form:not(.four-fields) ul li.gfield:nth-child(4) {
		margin: 0;
	}
	
	/* four fields + button + hidden field */
	
	#top .wide-form.four-fields ul li.gfield {
		width: 49.5%;
	}

	#top .wide-form.four-fields ul li.gfield:nth-child(3) {
		margin: 0;
	}
	
	/* move submit button below fields */
	
	#top .wide-form .gform_footer {
		display: block;
		clear: both;
		width: 100% !important;
	}
	
	/* if the form is inside a narrow column, display the fields vertically */
	
	#top .av_one_half .wide-form ul li.gfield,
	#top .av_one_third .wide-form ul li.gfield {
		width: 100%;
		margin: 0;
	}
	
	/* move submit button below fields */
	
	#top .wide-form .gform_footer {
		display: block;
		clear: both;
		width: 100% !important;
	}
	
}

@media only screen and (max-width: 767px) {
	
	#top .wide-form .gform_body {
		float: none;
		width: 100%;
		margin-right: 0;
	}
	
	#top .wide-form ul li.gfield {
		float: none;
		width: 100% !important;
		margin: 0 0 15px 0;
		clear: both;
	}
	
	#top .wide-form .gform_footer.left_label {
		float: none;
		width: 100% !important;
		clear: both;
		padding-top: 10px;
	}
	
	#top .wide-form label.gfield_label + div.ginput_container {
		margin-top: 0.375em;
	}
	
}

/**************************************************************
	BLOG
***************************************************************/
/* hide the separator (unless we're showing the author etc) */

.text-sep {
	display: none !important;
}

/* hide the categories if they're not in use */

.blog-categories.minor-meta {
	display: none;
}

/* share toolbar on blog posts */

#top .av-share-box {
	float: none;
	margin-bottom: 0;
}

#top .av-share-box ul {
	background: #FFF;
}

#top .av-share-box ul li a { /* just in case we've set links to have underlines etc */
	text-decoration: none !important;
}

/* individual blog articles */

#top .fullsize .template-blog .post .entry-content-wrapper,
#top .fullsize .template-blog .post .entry-content-wrapper > * {
	max-width: none;
	font-size: inherit;
}

#top .fullsize .template-blog .post-title,
#top .fullsize .template-blog .post-meta-infos {
	text-align: left;
	max-width: none;
}

#top .fullsize .template-blog .post-title {
	padding: 0 0 5px 0;
}

	#top.single-post .template-blog h1.post-title a {
		text-decoration: none !important;
	}

#top.single-post .template-blog .big-preview img {
	width: 100%;
	margin-bottom: 15px;
}

#top .entry-content-wrapper .post-title {
	font-size: 34px;
	padding-bottom: 10px;
	border-bottom: 1px solid #CCC;
}

#top .fullsize .template-blog .read-more-link {
	padding-bottom: 30px;
}

#top .fullsize .template-blog .post_delimiter {
	width: 4000px;
	display: none;
}

#top article.post-entry.post {
	float: none;
	/*padding-top: 10px;
	border-top: 1px solid #CCC;
	margin-top: 20px;*/
}

#top .big-preview img {
	width: 100%;
	/*border-radius: 0;*/
	margin-bottom: 20px;
}

/* recent blog articles list (when displayed as posts) */

#top .avia-content-slider .slide-image {
	background: transparent !important;
	-moz-box-shadow: inset 0 0 40px 5px rgba(0,0,0,0.05);
	-webkit-box-shadow: inset 0 0 40px 5px rgba(0,0,0,0.05);
	box-shadow: inset 0 0 40px 5px rgba(0,0,0,0.05);
}

	#top .avia-content-slider .slide-image img {
		background-color: #FFF !important;
		width: 100%;
	}

#top .main_color .fallback-post-type-icon {
	display: none !important;
	visibility: hidden !important;
}

@media only screen and (max-width: 767px) {
	
	.responsive #top #wrap_all .slide-entry {
		margin-bottom: 20px;
	}
	
	.avia-content-slider .slide-image img {
		width: 100%;
		height: auto;
	}
	
}

/* recent blog articles list (general) */

.news-link,
.news-link:hover,
#top .widget ul li .news-link:hover {
	text-decoration: none !important;
}

.recentcomments,
.widget_recent_entries li {
	font-size: inherit;
	line-height: 1.65em;
	padding: 0;
}

.widget_recent_entries li:first-child {
	margin-top: 7px;
	border: none;
	padding-top: 0;
}

	.recentcomments a,
	.widget_recent_entries li a {
		font-size: inherit;
		font-style: inherit;
		font-family: inherit;
		display: block;
	}
	
	.sidebar .widget_recent_entries li a {
		color: inherit !important;
	}
	
	.recentcomments .post-date,
	.widget_recent_entries li .post-date {
		display: block;
		font-style: italic;
		font-size: 90%;
		color: #CCC;
		margin: 5px 0 0 0;
	}
	
	.widget .news-thumb {
		background: #FFF !important;
		box-shadow: inset 0 0 15px 0 rgba(0,0,0,0.05);
	}

/* recent blog articles list (footer) */

#footer .recentcomments,
#footer .widget_recent_entries li {
	font-size: inherit;
	line-height: 1;
	padding: 10px 0;
	/*border-top: 1px dotted #666;*/
}

#footer .widget_recent_entries li:first-child {
	margin-top: 7px;
	border: none;
}

#footer .recentcomments a,
#footer .widget_recent_entries li a {
	border: none;
}

#top .widget .news-content {
	font-size: inherit;
}

#top .footer_color .widget a.news-link:hover .news-headline {
	color: #FFF;
}

/**************************************************************
	WIDGETS
***************************************************************/

/*	general
*************************************/

/* reset heading format */

.widgettitle {
	text-transform: inherit;
	letter-spacing: inherit;
	font-size: 1.3em;
}

/*	sitemap
*************************************/

#pages-2 .widgettitle {
	display: none !important;
}
	
@media only screen and (min-width: 768px) {
	
	/* split into columns */
	#pages-2 > ul {
		-ms-column-count: 2;
		-moz-column-count: 2;
		-webkit-column-count: 2;
		column-count: 2;
		-ms-column-gap: 30px;
		-moz-column-gap: 30px;
		-webkit-column-gap: 30px;
		column-gap: 30px;
		-webkit-column-break-inside: avoid;
		page-break-inside: avoid;
		break-inside: avoid;
	}
	
}

/**************************************************************
	PHOTO GALLERIES
***************************************************************/

/* popup captions */

figcaption .mfp-title {
	font-size: 20px;
	font-weight: bold;
}

/**************************************************************
	SLIDERS
***************************************************************/

/*	fullwidth easy slider
*************************************/

/* captions */

.slideshow_caption {
	width: 45%;
}

	.slideshow_caption .avia-caption-title,
	.caption_framed .slideshow_caption .avia-caption-title {
		font-size: 30px;
		margin-bottom: 5px;
	}

	.caption_framed .slideshow_caption .avia-caption-title {
		background: #000;
		background: rgba(0, 0, 0, 0.7);
		padding: 10px 20px;
	}

	.caption_framed .slideshow_caption .avia-caption-content p {
		background: #000;
		background: rgba(0, 0, 0, 0.7);
		padding: 10px 20px;
	}

/* adjust captions on various screen sizes */

@media only screen and (max-width: 1299px) {

	#top #main > .avia-fullscreen-slider .avia-slideshow,
	#top #main > .avia-fullwidth-slider .avia-slideshow {
		max-height: 850px !important;
	}
	
	#top #main > .avia-fullscreen-slider .slideshow_caption .avia-caption-title,
	#top #main > .avia-fullwidth-slider .slideshow_caption .avia-caption-title {
		font-size: 35px !important;
	}
	
	#top #main > .avia-fullscreen-slider .slideshow_caption .avia-caption-content,
	#top #main > .avia-fullwidth-slider .slideshow_caption .avia-caption-content,
	#top #main > .avia-fullscreen-slider .slideshow_caption .avia-caption-content p,
	#top #main > .avia-fullwidth-slider .slideshow_caption .avia-caption-content p {
		font-size: 18px !important;
	}
	
}

@media only screen and (max-width: 989px) {

	#top #main > .avia-fullscreen-slider .avia-slideshow,
	#top #main > .avia-fullwidth-slider .avia-slideshow {
		max-height: 600px !important;
	}
	
	#top #main > .avia-fullscreen-slider .slideshow_caption .avia-caption-content p,
	#top #main > .avia-fullwidth-slider .slideshow_caption .avia-caption-content p {
		margin: 5px 0;
	}
	
	#top #main > .avia-fullscreen-slider .avia-slideshow-button,
	#top #main > .avia-fullwidth-slider .avia-slideshow-button {
		margin-top: 5px;
	}
	
}

@media only screen and (max-width: 767px) {
	
	#top #main > .avia-fullscreen-slider .avia-slideshow,
	#top #main > .avia-fullwidth-slider .avia-slideshow {
		max-height: 400px !important;
	}
	
	#top #main > .avia-fullscreen-slider .slideshow_caption .avia-caption-title,
	#top #main > .avia-fullwidth-slider .slideshow_caption .avia-caption-title {
		font-size: 22px !important;
	}
	
	#top #main > .avia-fullscreen-slider .slideshow_caption .avia-caption-content,
	#top #main > .avia-fullwidth-slider .slideshow_caption .avia-caption-content,
	#top #main > .avia-fullscreen-slider .slideshow_caption .avia-caption-content p,
	#top #main > .avia-fullwidth-slider .slideshow_caption .avia-caption-content p {
		font-size: 16px !important;
	}
	
	#top #main > .avia-fullscreen-slider .avia-slideshow-controls,
	#top #main > .avia-fullwidth-slider .avia-slideshow-controls,
	#top #main > .avia-fullscreen-slider .scroll-down-link,
	#top #main > .avia-fullwidth-slider .scroll-down-link {
		display: none !important;
	}
	
}

@media only screen and (max-width: 467px) {

	#top #main > .avia-fullscreen-slider .avia-slideshow,
	#top #main > .avia-fullwidth-slider .avia-slideshow {
		max-height: 300px !important;
	}
	
	#top #main > .avia-fullscreen-slider .slideshow_caption .avia-caption-title,
	#top #main > .avia-fullwidth-slider .slideshow_caption .avia-caption-title {
		font-size: 17px !important;
	}
	
	#top #main > .avia-fullscreen-slider .slideshow_caption .avia-caption-content,
	#top #main > .avia-fullwidth-slider .slideshow_caption .avia-caption-content,
	#top #main > .avia-fullscreen-slider .slideshow_caption .avia-caption-content p,
	#top #main > .avia-fullwidth-slider .slideshow_caption .avia-caption-content p {
		font-size: 13px !important;
	}
	
	#top #main > .avia-fullscreen-slider .avia-slideshow-button,
	#top #main > .avia-fullwidth-slider .avia-slideshow-button {
		font-size: 13px !important;
		padding: 9px 12px;
		margin-bottom: 0;
	}
	
}

/**************************************************************
	LANDING PAGES
***************************************************************/

/* reset the template */

#top.avia-blank #wrap_all,
#top.avia-blank #main .main_color.container_wrap {
	vertical-align: top;
	background: #FFF;
}

#top.avia-blank #main .container_wrap:first-child,
#top.avia-blank #main .container_wrap:last-child {
	border: none;
}

/**************************************************************
	PLUGINS
***************************************************************/

/*	WP Simple Membership
*************************************/

.swpm-pw-reset-widget-form table tr td {
	border: none !important;
}

.swpm-post-not-logged-in-msg {
	margin: 0 auto;
	max-width: 1510px;
	padding: 50px;
	text-align: center;
}

	.swpm-post-not-logged-in-msg a {
		color: #000 !important;
		font-weight: bold;
	}
	
/**************************************************************
	SOCIAL MEDIA
***************************************************************/

/*	in page content or footer column
*************************************/

#top #wrap_all .go-social-media-icons .social_bookmarks {
	text-align: left;
	padding: 0 !important;
	height: auto !important;
}

#top #wrap_all .go-social-media-icons .social_bookmarks > li {
	border-radius: 1000px;
	font-size: 18px;
	height: 32px;
	width: 32px;
	line-height: 32px;
	text-align: left;
	display: inline-block;
	float: none;
	margin: 0 5px 5px 0;
}

	#top #wrap_all .go-social-media-icons .social_bookmarks > li a,
	#top #wrap_all .go-social-media-icons .social_bookmarks > li a::before {
		line-height: 32px;
		float: none !important;
		width: auto;
		color: #FFF;
		border-radius: 1000px;
		text-decoration: none !important;
	}

/* make icons coloured by default */
	
#top #wrap_all .go-social-media-icons.colour .av-social-link-facebook a {
	background: #37589B;
}

#top #wrap_all .go-social-media-icons.colour .av-social-link-twitter a {
	background: #46D4FE;
}

#top #wrap_all .go-social-media-icons.colour .av-social-link-linkedin a {
	background: #419CCA;
}

#top #wrap_all .go-social-media-icons.colour .av-social-link-instagram a {
	background: #A67658;
}

#top #wrap_all .go-social-media-icons.colour .av-social-link-gplus a {
	background: #CC181E;
}

#top #wrap_all .go-social-media-icons.colour .av-social-link-youtube a {
	background: #CC181E;
}

#top #wrap_all .go-social-media-icons.colour .av-social-link-tumblr a {
	background: #529ECC;
}

/* centre icons in their container */

#top #wrap_all .go-social-media-icons.centred {
	text-align: center !important;
	margin-top: 20px;
}
	
	#top #wrap_all .go-social-media-icons.centred li {
		display: inline-block;
		float: none !important;
		line-height: 65px;
	}
	
/* larger icons - can be mixed with "centred" as well */
	
	#top #wrap_all .go-social-media-icons.large li {
		line-height: 65px;
		width: 65px;
		height: 65px;
	}
	
	#top #wrap_all .go-social-media-icons.large li a > span {
		width: 65px;
		height: 65px;
		line-height: 65px;
	}
		
		#top #wrap_all .go-social-media-icons.large li a > span .av-icon-char {
			font-size: 32px !important;
			line-height: 65px !important;
		}
		
		#top #wrap_all .go-social-media-icons.large .social_bookmarks > li a::before {
			top: 15px;
			position: relative;
			font-size: 32px;
		}

/*	footer area (not in a column)
*************************************/

#top #wrap_all #go-social-footer .go-social-media-icons .social_bookmarks {
	text-align: center;
	padding-top: 15px;
	height: auto;
}

#top #wrap_all #go-social-footer .container > div:last-child .go-social-media-icons .social_bookmarks {
	padding-top: 0;
	padding-bottom: 15px;
}

	#top #wrap_all #go-social-footer .go-social-media-icons .social_bookmarks > li {
		border: 2px solid #FFF !important;
		border-radius: 1000px;
		font-size: 30px;
		height: 50px;
		width: 50px;
		line-height: 50px;
		text-align: center;
		display: inline-block;
		float: none;
		margin: 0 5px;
	}

		#top #wrap_all #go-social-footer .go-social-media-icons .social_bookmarks > li a,
		#top #wrap_all #go-social-footer .go-social-media-icons .social_bookmarks > li a::before {
			line-height: 50px;
			float: none !important;
			width: auto;
			color: #FFF;
			border-radius: 1000px;
			text-decoration: none !important;
		}

/*	header
*************************************/

/* remove the divider between icons - top bar */
#top .social_bookmarks li,
.responsive #top #header_meta .social_bookmarks li {
	border: none !important;
}

@media only screen and (max-width: 767px) {
	
	.responsive #top #header_meta .social_bookmarks li {
		border: none !important;
	}
	
}

/* remove the divider between icons - main header area */
.avia-menu.av_menu_icon_beside {
	padding-right: 0;
	border: none;
}
	
/*	Facebook feed widget
*************************************/

.av_facebook_widget_wrap {
	background: transparent;
}

/**************************************************************
	AVIA LAYOUT BUILDER ELEMENTS
***************************************************************/

/*	testimonials
*************************************/

/* set size constraints on smaller devices to avoid jumping */

@media screen and (max-width: 767px) {

	.av-large-testimonial-slider.avia-testimonial-wrapper {
		min-height: 220px !important;
		max-height: 220px !important;
	}

}

/*	tabs
*************************************/

/* tab titles */

.js_active .main_color .tabcontainer .tab,
.responsive.js_active #top .main_color .tabcontainer .tab {
	color: #000;
	font-size: inherit;
	background: #EFEFEF;
}

.js_active .main_color .tabcontainer .tab.active_tab,
.responsive.js_active #top .main_color .tabcontainer .tab.active_tab {
	background: #FFF;
	color: #000;
	font-size: inherit;
	font-weight: inherit;
}

.js_active .alternate_color .tabcontainer .tab,
.responsive.js_active #top .alternate_color .tabcontainer .tab {
	color: #000;
	font-size: inherit;
	background: #EFEFEF;
}

.js_active .alternate_color .tabcontainer .tab.active_tab,
.responsive.js_active #top .alternate_color .tabcontainer .tab.active_tab {
	background: #FFF;
	color: #000;
	font-size: inherit;
	font-weight: inherit;
}

@media only screen and (max-width: 767px) {
	
	.responsive #top .main_color .active_tab_content,
	.responsive #top .alternate_color .active_tab_content {
		background: #FFF !important;
		color: #000 !important;
	}
	
	.responsive.js_active #top .tabcontainer .tab {
		font-size: 130% !important;
	}
	
	.responsive.js_active #top .tabcontainer .tab.active_tab {
		font-weight: bold !important;
	}
	
}

/* tab content containers */

div .main_color .tabcontainer .active_tab_content,
div .alternate_color .tabcontainer .active_tab_content,
.responsive .js_active #top div .main_color .tabcontainer .active_tab_content,
.responsive .js_active #top div .alternate_color .tabcontainer .active_tab_content {
	background-color: #FFF;
	color: #000;
}

/*	tab sections
*************************************/

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

	#top .av-section-tab-title {
		padding: 10px 40px 0 40px;
	}

		#top .av-section-tab-title .av-inner-tab-title {
			font-size: 18px;
			width: 100%;
			min-width: 130px;
		}

		#top .av-tab-arrow-container {
			top: 8px;
			width: 100%;
			min-width: 130px;
		}
	
}

/*	icon
*************************************/

/* the icon */

.main_color .av_font_icon {
	border-color: #EFEFEF;
	color: #333;
}

.alternate_color .av_font_icon {
	border-color: #EFEFEF;
	color: #333;
}

/*	icon list
*************************************/

/* the icon */

.main_color .avia-icon-list .iconlist_icon {
	background-color: #EFEFEF;
	color: #444;
}

.alternate_color .avia-icon-list .iconlist_icon {
	background-color: #666;
	color: #FFF;
}

/* shrink the element on smaller devices */

@media only screen and (max-width: 989px) {

	#top .avia-icon-list li {
		padding-bottom: 15px;
	}

		#top .avia-icon-list .iconlist_icon {
			height: 1.5em;
			width: 1.5em;
			line-height: 1.5em;
			margin-right: 0.5em;
		}
		
		#top .avia-icon-list .iconlist_icon .iconlist-char {
			font-size: 25px !important;
		}
		
		#top .avia-icon-list .iconlist_title,
		#top .avia-icon-list .article-icon-entry .entry-content-header > div {
			line-height: inherit;
			font-size: 15px;
		}
		
		#top .avia-icon-list .iconlist_title {
			line-height: 1.3em;
			padding-top: 0;
			margin-top: 6px;
		}
		
		#top .avia-icon-list .iconlist-timeline {
			left: 24px;
		}
	
}

/* small lists */

#top .av-iconlist-small li {
	padding-bottom: 5px;
}

/* make a medium list size */

#top .medium-list .avia-icon-list li {
	padding-bottom: 15px;
}

	#top .medium-list .avia-icon-list .iconlist_icon {
		height: 2.5em;
		width: 2.5em;
		line-height: 2.5em;
		margin-right: 1em;
	}
	
	#top .medium-list .avia-icon-list .iconlist_icon .iconlist-char {
		font-size: 25px !important;
	}
	
	#top .medium-list .avia-icon-list .article-icon-entry .entry-content-header > div {
		line-height: inherit;
		font-size: 18px;
		padding-top: 5px;
	}

/* display horizontally */
/* apply "horizontal-x" class to element */

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

	#top .horizontal-3 ul.avia-icon-list li,
	#top .horizontal-4 ul.avia-icon-list li,
	#top .horizontal-5 ul.avia-icon-list li,
	#top .horizontal-6 ul.avia-icon-list li {
		float: left;
		clear: none;
	}

	#top .horizontal-3 ul.avia-icon-list li {
		width: 33.333%;
	}

	#top .horizontal-4 ul.avia-icon-list li {
		width: 25%;
	}

	#top .horizontal-5 ul.avia-icon-list li {
		width: 20%;
	}

	#top .horizontal-6 ul.avia-icon-list li {
		width: 16.666%;
	}

	#top .horizontal-3 .iconlist-timeline,
	#top .horizontal-4 .iconlist-timeline,
	#top .horizontal-5 .iconlist-timeline,
	#top .horizontal-6 .iconlist-timeline { 
		display: none;
	}

}

/* use numbers instead */
/* apply "numbers" class to element */

html body .avia-icon-list-container.numbers .avia-icon-list > li {
	min-height: 100px;
}

html body .avia-icon-list-container.numbers [data-av_iconfont="entypo-fontello"]::before {
	font-family: Open Sans;
	content: "1";
	font-weight: 700;
}

html body .avia-icon-list-container.numbers .avia-icon-list > li:first-child [data-av_iconfont="entypo-fontello"]::before {
	content: "1";
}

html body .avia-icon-list-container.numbers .avia-icon-list > li:nth-child(2) [data-av_iconfont="entypo-fontello"]::before {
	content: "2";
}

html body .avia-icon-list-container.numbers .avia-icon-list > li:nth-child(3) [data-av_iconfont="entypo-fontello"]::before {
	content: "3";
}

html body .avia-icon-list-container.numbers .avia-icon-list > li:nth-child(4) [data-av_iconfont="entypo-fontello"]::before {
	content: "4";
}

html body .avia-icon-list-container.numbers .avia-icon-list > li:nth-child(5) [data-av_iconfont="entypo-fontello"]::before {
	content: "5";
}

html body .avia-icon-list-container.numbers .avia-icon-list > li:nth-child(6) [data-av_iconfont="entypo-fontello"]::before {
	content: "6";
}

html body .avia-icon-list-container.numbers .avia-icon-list > li:nth-child(7) [data-av_iconfont="entypo-fontello"]::before {
	content: "7";
}

html body .avia-icon-list-container.numbers .avia-icon-list > li:nth-child(8) [data-av_iconfont="entypo-fontello"]::before {
	content: "8";
}

html body .avia-icon-list-container.numbers .avia-icon-list > li:nth-child(9) [data-av_iconfont="entypo-fontello"]::before {
	content: "9";
}

html body .avia-icon-list-container.numbers .avia-icon-list > li:nth-child(10) [data-av_iconfont="entypo-fontello"]::before {
	content: "10";
}

/*	team member
*************************************/

.avia-team-member {
	text-align: center;
}

.team-img-container,
.team-img-container .avia_image {
	border-radius: 0;
}

/*	promo box
*************************************/

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

	.avia-promocontent p {
		float: left;
	}

}

.avia-promocontent p + p {
	clear: both;
}

/*	color section
*************************************/

/* custom page elements */

.avia-section.custom {
	min-height: 0;
}

	.avia-section.custom .content {
		padding-top: 0;
		padding-bottom: 0;
	}

/* custom sections containing widget areas */

.avia-section.custom.widget-section .widget {
	padding: 0;
}

.avia-section.custom.widget-section .content {
	padding: 20px 0;
}

/* reset the first container after a Color Section */

#after_section_1.container_wrap {
	border-top: none;
}

	#after_section_1.container_wrap > .container {
		padding-top: 0;
	}

/*	grid row
*************************************/

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

	/* display six columns */
	/* requires 2 x grid rows, with 3 cells each */

	#top .grid-row-six-columns {
		width: 50%;
		float: left;
		clear: none;
	}

}

/**************************************************************
	MISCELLANEOUS
***************************************************************/

#top .av-caption-style-overlay .av-masonry-entry .av-masonry-entry-title {
	font-size: 34px!important;
	color: #FFF;
	font-weight: bold;
	text-shadow: 0px 0px 10px #000;
}

/*	resets
*************************************/

/* reset bold text to normal colours */

.alternate_color strong,
.alternate_color b,
.main_color strong,
.main_color b,
.footer_color strong,
.footer_color b {
	color: inherit;
}

/*	hyperlinks
*************************************/

/* link styles in body area */

#main .container a {
	text-decoration: underline;
}

/*	images
*************************************/

/* remove radius from images */

.page-thumb img {
	border-radius: 0;
}

/* remove overlay when hovering over images */

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

@media only screen and (max-width: 767px) {
	
	.avia-image-container.avia-align-left,
	.avia-image-container.avia-align-right {
		float: none !important;
	}

	.avia-image-container .avia-image-container-inner,
	.avia-image-container .avia-image-container-inner img {
		width: 100%;
	}
	
}

/*	tables
*************************************/

/* reset formatting */

.main_color tr:nth-child(2n),
.main_color .pricing-table > li:nth-child(2n),
.alternate_color tr:nth-child(2n),
.alternate_color .pricing-table > li:nth-child(2n),
.main_color tr:nth-child(2n+1),
.main_color .pricing-table > li:nth-child(2n+1),
.alternate_color tr:nth-child(2n+1),
.alternate_color .pricing-table > li:nth-child(2n+1) {
	color: inherit;
	background: #FFF;
}

#top table,
#top td {
	font-size: inherit;
}

@media only screen and (max-width: 767px) {
	
	#top #main table {
		overflow-x: scroll;
		display: block;
	}
	
}

/*	accordions
*************************************/

.ui-widget {
	font-family: inherit;
	font-size: inherit;
}

.ui-accordion .ui-accordion-content,
.ui-widget-content {
	background: #FFF;
	color: inherit;
	font-size: inherit;
	padding: 10px 20px;
}

/*	search page
*************************************/

#top #searchsubmit {
	width: 46px;
	height: 46px;
	font-family: 'entypo-fontello' !important;
	color: #FFF !important;
}

.ajax_load {
	width: 46px;
	height: 46px;
}

#top #avia-menu #s {
	padding-top: 8px!important;
	padding-bottom: 8px!important;
}

/*	"scroll to top" icon
*************************************/

#scroll-top-link.avia_pop_class {
	opacity: 1;
	border: 1px solid #FFF;
	border-radius: 1000px;
	background: #27a9e1;
	color: #FFF;
}

/*	responsive features
*************************************/

/* fix issue with menu appearing to the right on phones */

@media only screen and (max-width: 990px) {
	
	#wrap_all {
		position: relative !important;
	}
	
}

/* show only on mobiles */

.mobile-only {
	display: none;
}

@media only screen and (max-width: 989px) {
	
	.mobile-only {
		display: block;
	}
	
}

/* show only on desktops */

.desktop-only {
	display: none;
}

@media only screen and (min-width: 990px) {
	
	.desktop-only {
		display: block;
	}
	
	.desktop-only.table {
		display: table;
	}
	
	.desktop-only.inline-block {
		display: inline-block;
	}
	
}

/* fix post width on mobiles */

@media only screen and (max-width: 767px) {
	
	.responsive #top #wrap_all .slide-entry.post-entry {
		width: inherit;
	}
	
}

/*	other
*************************************/

/* split items into columns automatically */

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

	/*.2-columns,*/
	.avia-icon-list-container.2-columns ul.avia-icon-list {
		-ms-column-gap: 30px;
		-moz-column-gap: 30px;
		-webkit-column-gap: 30px;
		column-gap: 30px;
		-ms-column-count: 2;
		-moz-column-count: 2;
		-webkit-column-count: 2;
		column-count: 2;
		-webkit-column-break-inside: avoid;
		page-break-inside: avoid;
		break-inside: avoid;
	}
	
	/*.3-columns,*/
	.avia-icon-list-container.3-columns ul.avia-icon-list {
		-ms-column-gap: 25px;
		-moz-column-gap: 25px;
		-webkit-column-gap: 25px;
		column-gap: 25px;
		-ms-column-count: 3;
		-moz-column-count: 3;
		-webkit-column-count: 3;
		column-count: 3;
		-webkit-column-break-inside: avoid;
		page-break-inside: avoid;
		break-inside: avoid;
	}
	
	/*.4-columns,*/
	.avia-icon-list-container.4-columns ul.avia-icon-list {
		-ms-column-gap: 20px;
		-moz-column-gap: 20px;
		-webkit-column-gap: 20px;
		column-gap: 20px;
		-ms-column-count: 4;
		-moz-column-count: 4;
		-webkit-column-count: 4;
		column-count: 4;
		-webkit-column-break-inside: avoid;
		page-break-inside: avoid;
		break-inside: avoid;
	}
	
	/*.5-columns,*/
	.avia-icon-list-container.5-columns ul.avia-icon-list {
		-ms-column-gap: 15px;
		-moz-column-gap: 15px;
		-webkit-column-gap: 15px;
		column-gap: 15px;
		-ms-column-count: 5;
		-moz-column-count: 5;
		-webkit-column-count: 5;
		column-count: 5;
		-webkit-column-break-inside: avoid;
		page-break-inside: avoid;
		break-inside: avoid;
	}
	
}

/* remove margins from elements */

.no-mt {
	margin-top: 0 !important;
}

/* clear floats */

.clear-left {
	clear: left;
}

.clear-right {
	clear: right;
}

.clear-both {
	clear: both;
}

/* Homepage */
#gform_widget-2 .widgettitle {
	display: none;
}