/*
 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.3.0
 Text Domain:	enfold-child
*/

/**************************************************************
	REFERENCE - THE EYE HEALTH CENTRE
***************************************************************/

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

/*	colours
*************************************/
/*
	Primary:	#f26522 (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 bar
*************************************/

#header {
	border: none;
}

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

@media only screen and (max-width: 1300px) {
	#header_main .av-logo-container {
		max-width: 100%;
		width: 100%;
		padding: 0 20px;
	}
}


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

@keyframes logo-appear {
    0% {
        transform: scale(0.15);
        opacity: 0;
    }
    50% {
        opacity: 1.0;
    }
    90% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1.0);
    }
}

#header_main .logo-eye {
	position: absolute;
	display: block;
	left: -70px;
    top: -26px;
	animation: 1.4s ease-in-out 0s 1 logo-appear;
	width: 180px;
	line-height: 0;
}

#header_main .logo-eye:hover {
    transform: scale(1.1);
    transition: all 0.3s ease-out 0s;
}

    #header_main .logo-eye img{
    	width: 165px;
    }


.responsive .logo {
	overflow: visible;
	margin-left: 110px;
}

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

	div .logo img {
		padding: 2px 0 3px !important;
		height: 90px;
		margin-top: 10px!important;
	}

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

	#header_main .logo-eye {
		width: 160px;
	}

	.responsive .logo {
		margin-left: 100px;
	}

	.responsive .logo img {
		height: 80px;
		margin: 15px 0!important;
	}

}

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

	#header_main .logo-eye {
		width: 140px;
	}

	.responsive .logo {
		margin-left: 90px;
	}
	
	.responsive .logo img {
		height: 70px;
		margin: 10px 0!important;
	}
	

}

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

	.responsive .logo img {
		height: 70px!important;
	}

}

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

	.responsive .logo {
		margin-left: 72px;
	}
	#header_main .logo-eye {
		width: 110px;
		top: -12px;
		left: -50px;
	
	}
		
}

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

.header-contact {
	position: absolute;
	right: 0;
	font-size: 22px;
	font-weight: bold;
	animation-name: slogan-right;
	animation-duration: 0.5s;
	z-index: 200;
}


.header-contact .phone-number-btn {
	display: inline-block;
	padding-right: 14px;
    padding-top: 14px;
	font-size: 18px;
	line-height: 1.5;
}

.header-contact .phone-number-btn .phone-location-name {
	min-width: 90px;
    display: inline-block;
}

.header-contact .phone-number-btn a:hover {
	text-decoration: none;
}

.header-contact .phone-number-btn .avia_button_icon {
	padding-right: 8px;
}

#top .header-contact .avia-button-wrap {
	vertical-align: middle;
}
   

#top .header-contact .avia-button-wrap .avia-button {
	font-size: 20px!important;
	padding: 10px 14px;
	border-radius: 12px;
}

#top .header-contact .avia-button-wrap .avia-button {
	background: #001e3a !important;
	border: 1px solid #001e3a!important;
	margin: 0;
	border-radius: 17px;
}
#top .header-contact .avia-button-wrap .avia-button:hover,
#top .header-contact .avia-button-wrap .avia-button:focus {
	background: transparent!important;
}

#top .header-contact .avia-button-wrap .avia-button:hover,
#top .header-contact .avia-button-wrap .avia-button:focus {
	color: #001e3a!important;
}



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

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

@media only screen and (max-width: 1699px) {
	
	.header-contact {
		display: none;
	}
	
}


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

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

	#top .main_menu {
		left: 23%;
	}

}


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

.html_av-overlay-side-classic #top #wrap_all .av-burger-overlay #av-burger-menu-ul li a {
	border-color: #eee;
}

#av-burger-menu-ul li ul {
    background: #efefef;
}

/* lines */
#top .av-hamburger-inner,
#top .av-hamburger-inner::before,
#top .av-hamburger-inner::after {
	background-color: #004a8f;
}


@media only screen and (max-width: 1300px) {
	
	/* hide search icon on mobile */
	/*#menu-item-search {
		display: none !important;
	}*/
	#top #wrap_all .header_color .av-menu-button-colored > a .avia-menu-text {
		background-color: transparent;
		color: #001e3a;
		border: none;
		padding: 0;
	}
}

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

/* links */

#top .av-main-nav > li > a {
	font-size: 18px !important;
	color: #01366a;
	font-weight: 600 !important;
    padding: 0 12px;
}
#top .av-main-nav > li:hover > a {
	color: #f26522;
}

/* 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: 468px) {
	#top .av-main-nav > li.menu-phone {
		display: none;
	}
}

/* Menu style breakpoint */

@media only screen and (max-width: 1399px) {
	
	#top .av-main-nav > li > a {
		font-size: 16px !important;
		padding: 0 11px;
	}
	
}

/* Activate burger menu */
@media only screen and (max-width: 1300px) {

	#top #header .av-main-nav > li.menu-item:not(#menu-item-search) {
		display: none!important;
	}
	#top #header .av-burger-menu-main {
		cursor: pointer;
		display: block!important;
	}
}


/* Show that there are subpages */
/* see http://brajeshwar.github.io/entities */
@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: #f26522;
		position: relative;
		top: 2px;
	}
	
	.main_menu li#menu-item-search > a::after,
	.main_menu li > a:only-child::after {
		content: '';
	}
}

@media only screen and (max-width: 767px) {
	
	/* disable mobile search button */
	.responsive #top .av-main-nav .menu-item-search-dropdown {
		display: none !important;
	}
	
}


@media only screen and (min-width: 1301px) {
	#top #wrap_all #av-burger-menu-ul > li.menu-phone,
	#top li.menu-phone-contact {
		display: none;
	}
}

@media only screen and (max-width: 1300px) {
	#top #wrap_all #av-burger-menu-ul > li.menu-phone,
	#top #wrap_all #av-burger-menu-ul > li.menu-phone:hover {
		background: #001e3a!important;
	}

	#top #wrap_all #av-burger-menu-ul > li.menu-phone a,
	#top #wrap_all #av-burger-menu-ul > li.menu-phone a:hover {
		color: #fff!important;
		background: #001e3a!important;
	}
}
/*	submenus
*************************************/

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

#top .av-main-nav ul li a {
	border: 0;
	color: #001e3a!important;
	padding: 9px 25px;
	font-size: 18px!important;
	border-bottom: 1px solid #ddd;
}
#top .av-main-nav ul li a:hover {
	color: #f26522!important;
}

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

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

/* 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: #001e3a !important;
			color: #FFF;
		}
		
		#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;
		}

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

/* show that there are subpages */
/* see http://brajeshwar.github.io/entities */
@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 title bar (below header)
***************************************************************/

/* Fix enfold padding at breakpoint */
@media only screen and (max-width: 989px) and (min-width: 768px) {
	
	.responsive.html_mobile_menu_tablet.html_header_top.html_header_sticky #top #wrap_all #main {
		padding-top: 119px;
	}
	
}

/* the whole bar */
.title_container {
	background: #f26522;
	border: none;
}

.main-title.entry-title,
.main-title.entry-title > a {
	color: #FFF !important;
	font-weight: bold !important;
	font-size: 20px;
	text-transform: inherit !important;
	text-decoration: none !important;
}

.title_container + .container_wrap {
	border: none;
}

    .title_container > .container {
        max-width: none;
        padding-left: 128px;
	}
	
	@media only screen and (max-width: 989px) {
	
		.title_container > .container {
			padding-left: 110px;
		}
		
	}

/* add a header image below the title container */

.page-header-image {
    position: relative;
	background: url('images/header-bkg.jpg') no-repeat center top transparent;
	background-size: cover;
	background-position: unset;
    height: 400px;
	width: 100%;
}
    /* add overlay to header title image */
    .page-header-image .page-header-bkg-overlay {
        position: absolute;
        top: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,.1);
    }

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

	.title_container {
		padding-top: 15px;
	}

	.page-header-image {
		background-size: cover;
		height: 150px;
	}
}

.page-header-image .container {
	display: table;
	table-layout: fixed;
	height: 100%;
}

.page-header-image .container .inner-container {
	display: table-cell;
	vertical-align: middle;
	height: 100%;
	float: none !important;
}

.page-header-image h1,
.page-header-image h2 {
	color: #FFF;
	margin: 0;
	padding: 0;
	line-height: 1;
	font-size: 50px;
	font-weight: 700;
	position: absolute;
	bottom: 20px;
}

/* design option 1: shadow */
.page-header-image h1,
.page-header-image h2 {
	-moz-text-shadow: 0 0 15px rgba(0,0,0,0.6);
	-webkit-text-shadow: 0 0 15px rgba(0,0,0,0.6);
	text-shadow: 0 0 15px rgba(0,0,0,0.6);
}

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

/* hide breadcrumbs on top-level pages */

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

.breadcrumb-trail a{
	pointer-events: none;
}

/* general */

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

/* remove "home" */

.breadcrumb-trail .trail-begin,
.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;
}

/**************************************************************
	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;
	font-weight: 700!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 {
	position: relative;
	font-size: 30px;
	font-weight: 700;
	text-transform: inherit !important;
	line-height: 1.4;
	margin-bottom: 40px;
}
#top .av-special-heading h2.av-special-heading-tag:before {
    content: "";
    position: absolute;
    width: 80px;
    height: 1px;
	bottom: -35px;
	border-bottom: 3px solid #f26522;
}

#top .av-special-heading.modern-centered h2.av-special-heading-tag:before {
    left: calc(50% - 40px);
}

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

@media only screen and (max-width: 1299px) {
	h2,
	.main_color h2,
	.alternate_color h2,
	#top .av-special-heading h2.av-special-heading-tag  {
		font-size: 26px;
	}
}	


@media only screen and (max-width: 989px) {
	h2,
	.main_color h2,
	.alternate_color h2,
	#top .av-special-heading h2.av-special-heading-tag  {
		font-size: 22px;
	}
}	
/*	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;
}

.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;
}
@media only screen and (max-width: 1299px) {
	h3,
	.main_color h3,
	.alternate_color h3,
	#top .av-special-heading h3.av-special-heading-tag {
		font-weight: 600;
		font-size: 20px!important;
	}
}


/*	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: 16px;
	border-top: 20px solid #f26522!important;
}

#footer.container_wrap {
	border: none;
}

footer.container_wrap {
	font-size: inherit;
}

#footer h3.widgettitle {
	margin-bottom: 45px;
}
#footer h3.widgettitle:before {
    content: "";
    position: absolute;
    width: 70px;
    height: 1px;
    top: 60px;
    border-bottom: 3px solid #f26522;
}


#top #footer .social_bookmarks li {
	clear: none;
	display: inline-block;
}



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

	/* Contact us column align*/
	#top #footer .flex_column:last-of-type section.widget_text {
		margin-top: 110px;
	}
}
@media only screen and (max-width: 1099px) and (min-width: 768px) {
	#top #footer .flex_column.av_one_fourth {
		width: 47%;
	}
	#top #footer .flex_column.av_one_fourth:nth-of-type(3n) {
		margin-left: 0%;
	}
}
@media only screen and (max-width: 767px) {
	/* Contact us column align*/
	#top #footer .flex_column:last-of-type section.widget_text {
		margin-top: -15px;
	}
}


/*@media only screen and (max-width: 1200px) {
	#footer .business-details-first iframe,
	#footer .business-details-second iframe,
	#footer .business-details-third iframe {
		display: block;
		float: none;
		margin: 0;
		width: 100%;
	}
}*/

/*@media only screen and (max-width: 989px) and (min-width: 700px) {
	#footer .av_one_third.first {
		width: 46%;
	}
	#footer .av_one_third:nth-of-type(2n) {
		width: 48%;
	}
	#footer .av_one_third:last-of-type {
		width: 100%;
		margin-left: 0;
	}
		#footer .av_one_third:last-of-type section {
			margin-top: 0;
		}
		#footer .av_one_third:last-of-type .textwidget  {
			display: flex;
		}
	
	#footer .business-details-first,
	#footer .business-details-second,
	#footer .business-details-third {
	    margin-right: 25px;
	}

}*/

@media only screen and (max-width: 767px) {
	#footer {
		padding-bottom: 0;
	}
}


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

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

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

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

/* floating footer */

#mobile-footer {
	display: none;
}

@media only screen and (max-width: 767px) {
	
	#wrap_all {
		padding-bottom: 70px !important;
	}
	
	#scroll-top-link,
	#scroll-top-link.avia_pop_class {
		z-index: 1001;
		bottom: 10px;
	}
	
	#mobile-footer {
		display: block;
		position: absolute;
		left: 0;
		bottom: 0;
		width: 100%;
		z-index: 1000;
		background: #FFF;
		position: fixed;
		text-align: left;
		-webkit-box-shadow: 0 0 35px 0 rgba(0,0,0,0.75);
		box-shadow: 0 0 35px 0 rgba(0,0,0,0.75);
		border-top: 5px solid #fff;
		background-color: #f26522;
		z-index: 2;
	}
	#mobile-footer > div {
		padding: 15px;
		text-align: center;
		
	}
	#mobile-footer > div a {
		color: #fff;
		font-size: 22px;
		font-weight: 700;
	}   

	#mobile-footer a,
	#mobile-footer a:hover,
	#mobile-footer a:focus,
	#mobile-footer a:active {
		text-decoration: none !important;
	}
	    /* location columns */
	   /* #mobile-footer > div {
	        float: left;
            width: 33%;
            padding: 15px;
	    }
	    
	    #mobile-footer > div {
	        border-left: 1px solid #DDD;
	    }
	    #mobile-footer > div:first-child {
	        border-left: 0;
	    }
	        
	        /* location names */
	       /* #mobile-footer > div > span:not(.phone-prefix) {
	            color: #000;
	            font-size: 12px;
	            font-weight: 700;
	            text-transform: uppercase;
	            margin-bottom: 5px;
	            line-height: 1;
                display: block;
	        }
        

		    
		    /* phone icon box */
		/*	#mobile-footer a > span:not(.phone-prefix) {
				display: inline-block;
                background: #001e3a;
                border-radius: 3px;
                color: #FFF;
                font-size: 9px;
                width: 35px;
                height: 35px;
                line-height: 35px;
			}
			    
			    /* phone icon */
			/*    #mobile-footer a > span .av-icon-char {
			        font-size: 18px;
			        line-height: 18px;
			        position: relative;
                    top: 2px;
			    }*/
	
}

/*@media only screen and (max-width: 630px) {

/* phone icon box */
/*#mobile-footer a > span:not(.phone-prefix) {
    display: none!important;
}

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

	/* phone icon box */
/*	#mobile-footer a > span.phone-prefix {
		display: none!important;
	}
	
}
@media only screen and (max-width: 374px) {

	/* phone icon box */
	/*#mobile-footer a  {
		font-size: 15px;
	}
	
}*/
/**************************************************************
	BUTTONS
***************************************************************/

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

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

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

#top .dropdown_widget .buttons .button,
#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: #f26522 !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: #001e3a !important;
	color: #FFF !important;
}

#top .main_color .avia-color-theme-color-highlight:hover,
#top .main_color .avia-color-theme-color-highlight:focus {
	background: #fff !important;
	color: #001e3a !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-x-large {
	font-size: 24px !important;
	padding: 15px 20px;
}

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

#top .avia-button.avia-size-medium {
	font-size: 16px !important;
	padding: 10px 15px;
}

#top .avia-button.avia-size-small {
	font-size: 15px !important;
	padding: 5px 10px;
}

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

/*	Cookie consent button
*************************************/

#top .avia-button.avia-cookie-consent-button {
    padding: 8px 15px!important;
    font-size: 15px!important;
}
.avia-cookie-consent {
  z-index: 1001;
}

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

/* placeholder text */

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

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

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

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

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

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

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

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

.alternate_color *::-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;
}

/* hide up and down arrows on number inputs */
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

input[type="number"] {
	-moz-appearance: textfield;
}

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

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

/* time fields */

#top .gform_wrapper .gfield_time_hour {
	/*max-width: calc(4rem + 1.5rem);*/
	max-width: 4.5rem !important;
}

#top .gform_wrapper .gfield_time_minute {
	max-width: 4.5rem !important;
}

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

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

#top .gform_wrapper .field_description_below .gfield_description {
	padding-top: 5px !important;
}

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-third,
	#top .gform_wrapper ul li.gfield.one-third-first,
	#top .gform_wrapper ul li.gfield.two-thirds,
	#top .gform_wrapper ul li.gfield.two-thirds-first,
	#top .gform_wrapper ul li.gfield.one-quarter,
	#top .gform_wrapper ul li.gfield.one-quarter-first,
	#top .gform_wrapper ul li.gfield.two-quarters,
	#top .gform_wrapper ul li.gfield.two-quarters-first,
	#top .gform_wrapper ul li.gfield.three-quarters,
	#top .gform_wrapper ul li.gfield.three-quarters-first {
		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,
	#top .gform_wrapper ul li.gfield.one-quarter-last,
	#top .gform_wrapper ul li.gfield.two-quarters-last,
	#top .gform_wrapper ul li.gfield.three-quarters-last {
		display: inline-block;
		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 {
		width: 72.5%;
	}

	#top .gform_wrapper ul li.gfield.three-quarters-last {
		width: 74.5%;
	}
	
	/* 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 .ginput_container input[type="text"],
#top .gfield_contains_required input[type="email"],
#top .gfield_contains_required input[type="number"],
#top .gfield_contains_required input[type="tel"],
#top .gfield_contains_required textarea,
#top .gfield_contains_required select {
	border: 1px solid #001e3a!important;
}

#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!important;
	width: 100%;
}


/* 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;
	}
	
}
/**************************************************************
	HUSTLE FORMS
***************************************************************/
#hustle-field-email-module-2 {
 margin-bottom: 0px !important;
}


/**************************************************************
	BLOG
***************************************************************/
#top .av-magazine-top-bar,
.av-magazine .av-magazine-sideshow.av_one_half {
	border: 0;
}
#top .av-magazine-thumbnail {
	padding: 0;
}
#top .av-magazine-thumbnail img {
	width: 100%;
}
#top .av-magazine-content-wrap {
	border: 0;
}

/* 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;
}
@media only screen and (max-width: 1199px) {
	
	#top.page-id-12 .entry-content-wrapper .av_three_fourth {
		width: 100%;
	}
	
	#top.page-id-12 .entry-content-wrapper .av_one_fourth {
		display: none;
	}
	#top .avia-content-slider .slide-entry-title {
		font-size: 17px!important;
	}
	#top .slide-entry-excerpt {
		font-size: 16px;
	}
}

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

.slideshow_caption,
.caption_bottom .slideshow_caption {
	width: 45%;
}

	.av_slideshow_full .slideshow_caption .avia-caption-title {
		font-weight: 300;
	}

	.slideshow_caption .avia-caption-title,
	.caption_framed .slideshow_caption .avia-caption-title {
		font-size: 30px;
		margin-bottom: 0px;
		line-height: 1.2;
		font-weight: 700;
	}

	.caption_framed .slideshow_caption .avia-caption-title {
		background: #fff;
		background: rgba(255, 255, 255, 0.85);
		padding: 10px 20px;
	}



	div .slideshow_caption, div .slideshow_caption a, div .slideshow_caption a:hover, div .slideshow_caption h2, div .slideshow_caption h2 .special_amp, div .slideshow_caption strong, div .slideshow_caption h2 strong, div .slideshow_caption p {
		color: #194670;
	}

	.av_slideshow_full .slideshow_caption .avia-caption-content {
		font-weight: 700;
	}

	#top .av_slideshow_full .slideshow_caption .avia-button.avia-color-light {
		background: #194670 !important;
	}

	/*.slideshow_caption .avia-caption-content p,
	.caption_framed .slideshow_caption .avia-caption-content p {
		font-size: 22px;
	}*/

	.caption_framed .slideshow_caption .avia-caption-content p {
		background: #fff;
		background: rgba(255, 255, 255, 0.85);
		padding: 10px 20px;
	}

/* adjust captions on various screen sizes */

@media only screen and (max-width: 1549px) {
	.slideshow_caption,
	.caption_bottom .slideshow_caption {
		width: 55%;
	}
}

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

	.slideshow_caption,
	.caption_bottom .slideshow_caption {
		width: 64%;
	}
	
	#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: 30px !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;
	}

	#top .avia-slideshow-button {
		padding: 11px!important;
    	font-size: 16px!important;
	}
	
}

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

	.slideshow_caption,
	.caption_bottom .slideshow_caption {
		width: 70%;
		padding: 25px;
	}

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

/**************************************************************
	SOCIAL MEDIA
***************************************************************/

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

#top #wrap_all .go-social-media-icons {
	margin-top: 10px;
}

#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-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 (content which is 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;
}

.av-tab-section-container {
	border-top: 1px solid #002a51;
}

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


#top .main_color .av-tab-section-tab-title-container {
	background: #001e3a;
	padding: 0;
}

#top .main_color .av-tab-section-tab-title-container .av-section-tab-title:not(.av-active-tab-title){
	color: #fff;
}

#top .av-tab-section-tab-title-container .av-section-tab-title .av-inner-tab-title {
	text-transform: none;
	font-size: 20px;
}
#top a.av-active-tab-title {
	background: #f26422;
	color: #fff;
}

@media only screen and (min-width: 899px) {
	
	#top .av-section-tab-title {
		padding: 20px 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;
			overflow: visible;
		}
	
}

@media only screen and (max-width: 989px) {
	
	#top .av-section-tab-title {
		padding: 0 10px;
	}

	#top .av-tab-section-tab-title-container .av-section-tab-title .av-inner-tab-title {
		font-size: 17px;
	}

	.avia-tab-title-padding-default .av-outer-tab-title {
		padding-bottom: 0;
	}

	.av-tab-arrow-container {
		top: 10px;
	}

	#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;
		overflow: visible;
	}

}

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

	#top .av-section-tab-title {
		display: block;
	}

	#top .main_color .av-tab-section-tab-title-container {
		max-width: 100%;
	}

	#top .av-section-tab-title .av-inner-tab-title {
		font-size: 18px;
		width: 100%;
	}
	
	#top .av-tab-arrow-container {
		top: 0;
		width: 100%;
		overflow: hidden;
		position: relative;
	}
}


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

#top .indented-list .avia-icon-list {
	margin-left: 30px;
}

/* 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 li:not(.show-icon) [data-av_iconfont="entypo-fontello"]::before,
html body .avia-icon-list-container.numbers li:not(.show-icon) [data-av_iconfont="go-creative"]::before {
	font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
	content: "1";
	font-weight: 700;
}

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

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

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

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

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

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

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

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

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

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

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

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

.team-member-name {
	margin-top: 20px;
}
.team-member-job-title {
	margin-bottom: 15px;
}

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

/*	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;
	padding-bottom: 8px;
}

/* reset font size */
#top .template-search.content .entry-content-wrapper {
	font-size: inherit;
}

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

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

#top th {
	text-transform: inherit;
	letter-spacing: inherit;
	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;
}

.js_active .toggler {
	font-weight: bold;
}
.toggle_icon .vert_icon,
.toggle_icon .hor_icon {
	border-color: #f26522;
}


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

#scroll-top-link.avia_pop_class {
	opacity: 1;
	border: 1px solid #FFF;
	border-radius: 1000px;
	background: #f26522;
	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 laptops */

.laptop-only {
	display: none;
}

.main_menu li#menu-item-1616 > a::after {
    display: none;
}

@media only screen and (min-width: 1219px) and (max-width: 1699px) {
	
	.laptop-only {
		display: block;
	}
	
	.laptop-only.table {
		display: table;
	}
	
	.laptop-only.inline-block {
		display: inline-block;
	}
	
	.main_menu li#menu-item-1616 > a::after {
	    display: inline-block;
	}
	
	#top .av-main-nav #menu-item-1616 .sub-menu {
        margin-left: -100px;
    }
	
}

/* 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;
	}
	
}
/* show only on desktop menu  */
@media only screen and (max-width: 1300px) {
	.html_av-overlay-side-classic #top #wrap_all .av-burger-overlay #av-burger-menu-ul li.desktop-menu-only {
		display: none;
	}
}

/* fix post width on mobiles */

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

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

/* prevent icon animations on load */

.avia_transform .av_font_icon,
.avia_transform .avia_start_delayed_animation.av_font_icon {
	opacity: 1 !important;
	-moz-transform: scale(1)!important;
	-webkit-transform: scale(1) !important;
	-ms-transform: scale(1) !important;
	transform: scale(1) !important;
	-webkit-animation: none;
	-moz-animation: none;
	-msanimation: none;
	animation: none;
}

/* split items into columns automatically */

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

	/*.two-columns,*/
	.avia-icon-list-container.two-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;
	}
	
	/*.three-columns,*/
	.avia-icon-list-container.three-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;
	}
	
	/*.four-columns,*/
	.avia-icon-list-container.four-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;
	}
	
	/*.five-columns,*/
	.avia-icon-list-container.five-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;
}

/**************************************************************
	CUSTOM POST TYPES
***************************************************************/

/*	Sections
*************************************/

.go_section_wrapper #after_section_1,
.go_section_wrapper #after_section_2,
.go_section_wrapper #after_section_3,
.go_section_wrapper #after_section_4 {
	display: none;
}

.go_section_wrapper .container .av-content-small.units {
	width: 100%;
}

.go_section_wrapper:after {
	content: '\0020';
	display: block;
	overflow: hidden;
	visibility: hidden;
	width: 0;
	height: 0;
	clear: both;
}

/* Floating popup buttons */
.go-contact-popup {

}

/* Popup modals */
.go-white-popup-bkg {
  position: relative;
  background: #FFF;
  padding: 20px;
  width: auto;
  max-width: 800px;
  margin: 20px auto;
}


/**************************************************************
	Extra Custom Styles
***************************************************************/

/*	Homepage
*************************************/

/* Hero */
/*#top .homepage-hero {
	border-top: 15px solid #f26522 !important;
}*/
#top .homepage-hero .slideshow_caption a {
	text-decoration: none;
}
#top .homepage-hero .avia-button.avia-color-dark {
	background: #f26522!important;
    color: #fff!important;
    border: 3px solid #f26522!important;
    font-size: 24px!important;
    padding: 15px 20px;
    text-transform: none;
}

#top .homepage-hero .avia-button.avia-color-dark:hover {
	background: transparent!important;
	color: #fff!important;
}

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

	#top .homepage-hero .avia-button.avia-color-dark {
		font-size: 18px!important;
		padding: 10px 15px;
	}

}

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

	#top .homepage-hero {
		display: none;
	}

	#top .home-intro-text {
		border-top: 15px solid #f26522!important;
	}

}

/* Conditions we treat*/
@media only screen and (min-width: 1400px) {
	#top .conditions-section-wrapper {
		background-position: 0 -80px!important;
	}
}


#top .conditions-section-wrapper .av-section-color-overlay {
	background-color: transparent!important;
	opacity: .85!important;
	background-image: linear-gradient(to right top, #001e3a, #002343, #00274d, #002c56, #003160, #003567, #00386e, #003c75, #003f7b, #004382, #004688, #004a8f);
}

#top .conditions-section-wrapper.main_color .avia-button,
#top .conditions-section-wrapper.main_color .avia-button:hover,
#top .conditions-section-wrapper.main_color .avia-button:focus  {
	background: transparent!important;
	background-color: transparent!important
}

#top .conditions-section-wrapper.main_color .avia-button {
	font-size: 26px !important;
	padding-bottom: 0;
	text-align: left;
	padding-left: 30px;
}
#top .conditions-section-wrapper.main_color .avia-button .avia_button_icon {
	left: -0.6em;
}
#top .conditions-section-wrapper.main_color .avia-button:hover {
	color: #f26522!important;
}
#top .conditions-section-wrapper.main_color .avia-button .avia_iconbox_title {
	/*float: left;*/
	font-weight: 300;
}
#top .conditions-section-wrapper.main_color .avia-button .avia_button_icon_right {
	/*float: right;*/
}

@media only screen and (max-width: 1400px) {
	#top .conditions-section-wrapper.main_color .avia-button {
		font-size: 24px!important;
		font-weight: 500!important;
	}
}

@media only screen and (max-width: 1200px) {
	#top .conditions-section-wrapper.main_color .avia-button {
		font-size: 22px!important;
	}
}

@media only screen and (max-width: 989px) {
	#top .conditions-section-wrapper.main_color .avia-button {
		font-size: 18px!important;
		padding-left: 10px;
	}
}


@media only screen and (max-width: 767px) {
	#top .conditions-section-wrapper .extra-padding-left-col,
	#top .conditions-section-wrapper .extra-padding-right-col {
		margin-bottom: 0!important;
	}
}


@media only screen and (min-width: 1300px) {
	#top .extra-padding-left-col {
		padding-left: 14%;
	}
	#top .extra-padding-right-col {
		padding-right: 14%;
	}
	#top .conditions-section-wrapper .av_one_half.el_after_av_one_fourth.el_before_av_one_fourth {
	    padding-left: 7%;
	    padding-right: 7%;
	}
}

/* Team members*/
#top .team-member-job-title {
	font-size: 16px;
    padding: 5px 10px 10px;
    line-height: 20px;
}

#top h3.team-member-name {
	padding: 0 10px;
}

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

	#top .team-member-section .team-member-col {
		width: 21.5%;
	}
	#top .team-member-section .team-member-col:not(.first) {
		margin-left: 4%;
	}
}

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

	#top .home-apel-photo-col {
		padding: 30px 10px 0 30px!important;
	}
	#top .home-apel-bio-col {
		padding: 30px!important;
		border-radius: 0!important;
	}
}



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

	#top .home-apel-photo-col {
		margin-bottom: 0!important;
		padding: 30px 10px 0 10px!important;
		border-radius: 0!important;
	}
	#top .home-apel-photo-col img {
		max-width: 60%;
		margin: auto;
	}
}

@media only screen and (max-width: 989px) {
	#top .home-apel-photo-col img {
		max-width: 100%;
	}
}

/* Eyecare services*/
#top .eyecare-services-section img {
	max-width: 70%;
	margin: auto;
}
#top .eyecare-services-section .av-special-heading {
	margin-top: 25px;
}
#top .services-section-wrapper  {
	width: 70%!important;
}
#top .services-section-side-padding {
	width: 15%!important;
}
@media only screen and (max-width: 1400px) {
	#top .services-section-wrapper  {
		width: 100%!important;
	}
	#top .services-section-side-padding {
		display: none!important;
	}
	#top .services-section-wrapper .avia-image-container {
		max-width: 75%;
	}
	#top .services-section-wrapper .av-special-heading-h3 {
		margin-top: 35px;
	}
}

@media only screen and (max-width: 1200px) {
	#top .services-section-wrapper .avia-image-container {
		max-width: 65%;
	}
}

@media only screen and (max-width: 989px) {
	#top .services-section-wrapper .avia-image-container {
		max-width: 60%;
	}
}


/* Contact Section */
@media only screen and (max-width: 767px)  {
	#top .contact-section .contact-icon-section {
		padding-bottom: 0!important;
	}
}

/*	Resized gridrows
*************************************/
/* Contain 'grid-row-contained' grid-row content to max width */
@media only screen and (min-width: 1600px) {
	.grid-row-contained.contact-section .flex_cell:first-of-type .flex_cell_inner {
		max-width: 680px;
		width: 680px;
		float:right;
	}
	.grid-row-contained.contact-section .flex_cell:last-of-type .flex_cell_inner {
		max-width: 680px;
		width: 680px;
	}

	.grid-row-contained.team-member-section .flex_cell:first-of-type .flex_cell_inner {
		max-width: 400px;
		width: 400px;
		float:right;
	}
	.grid-row-contained.team-member-section .flex_cell:last-of-type .flex_cell_inner {
		max-width: 1070px;
		width: 1070px;
	}
}

@media only screen and (max-width: 1400px) {
	#top .responsive-grid-break .no_margin.av_one_fourth {
		width: 15%;
	}
} 
@media only screen and (max-width: 1200px) {
	#top .responsive-grid-break .no_margin.av_one_fourth {
		width: 9%;
	}
} 

@media only screen and (max-width: 989px) {
	#top .responsive-grid-break .no_margin.av_one_fourth {
		display: none!important;
	}
} 

/*	Contact section
*************************************/

#top .contact-icon-section .contact-iconbox .iconbox_icon {
	color: #fff;
	background: #00386d;
}


#top .contact-icon-section .contact-iconbox.location-icon .iconbox_icon {
	font-size: 34px;
	line-height: 74px;
	float: left;
}

#top .contact-icon-section .contact-iconbox .iconbox_icon:after { 
		content: '';
		display: block;
		position: relative;
		top: -70px;
		left: 4px;
		border-radius: 1000px;
		border: 2px solid #fff;
		height: 60px;
		width: 60px;
	}

	#top .full-col-btns .iconbox,
	#top  .practice-locations .iconbox {
		margin-bottom: 50px;
	}


	#top .full-col-btns .iconbox h3,
	#top  .practice-locations .iconbox h3 {
		font-size: 34px !important;
	}

	#top .full-col-btns .iconbox_left .iconbox_icon,
	#top .practice-locations .iconbox_left .iconbox_icon {
		height: 50px;
		width: 50px;
		line-height: 50px;
		font-size: 50px;
		margin-right: 20px!important;
	}

	#top #text-2 .textwidget li a,
	#top #text-9 .textwidget li a {
		color: #fff;
	}

	#top #text-2 .textwidget li a:hover,
	#top #text-9 .textwidget li a:hover {
		color: #f26522;
	}

	#top .special-notice {
		background: #fef2e9;
		padding: 20px 40px;
		border: 1px solid #f26522;
	}


/*Full column buttons*/
.responsive #top .full-col-btns .iconbox {
	height: 80px;
}

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

	.responsive #top .full-col-btns .iconbox h3, #top .practice-locations .iconbox h3 {
		font-size: 30px!important;
	}
	.responsive #top .full-col-btns .iconbox_left .iconbox_icon, 
	.responsive #top .practice-locations .iconbox_left .iconbox_icon {
		height: 40px;
		width: 40px;
		line-height: 40px;
		font-size: 40px;
		margin-right: 10px!important;
	}
	.responsive #top .full-col-btns .avia-button.avia-size-x-large {
		font-size: 20px !important;
			padding: 12px 16px;
	}
}

@media only screen and (max-width: 1249px) {
	.responsive #top  .full-col-btns-wrapper .template-page{
		padding-top: 0; 
	}
	.responsive #top .full-col-btns .iconbox h3, #top .practice-locations .iconbox h3 {
		font-size: 26px!important;
	}
	.responsive #top .full-col-btns .iconbox_left .iconbox_icon, 
	.responsive #top .practice-locations .iconbox_left .iconbox_icon {
		height: 34px;
		width: 34px;
		line-height: 34px;
		font-size: 34px;
		margin-right: 7px!important;
		margin-top: 6px;
	}
}

@media only screen and (max-width: 1100px) {
	#top .full-col-btns {		
		padding: 30px!important;
	}
	.responsive #top .full-col-btns .iconbox {
		height: 40px;
	}
	.responsive #top .full-col-btns .iconbox h3, #top .practice-locations .iconbox h3 {
		font-size: 22px!important;
	}
	.responsive #top .full-col-btns .iconbox_left .iconbox_icon, 
	.responsive #top .practice-locations .iconbox_left .iconbox_icon {
		height: 30px;
		width: 30px;
		line-height: 30px;
		font-size: 30px;
		margin-right: 7px!important;
		margin-top: 6px;
	}
}

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

	#top .full-col-btns { 
		padding: 30px!important;
	}
	.responsive #top .full-col-btns .avia-button.avia-size-x-large {
		font-size: 18px !important;
	}
}

/* Contact page */
.avia-google-map-container .gm-style-iw p {
	font-size: 1.15em;
}
.avia-google-map-container .gm-style-iw p a {
	font-weight: bold;
}

@media only screen and (max-width: 1400px){
	#top #clinic-locations   .template-page {
		padding-top: 0!important;
	}
    #top #clinic-locations .flex_column.no-padding {
        padding: 40px 0 0!important;
	}
	#top #clinic-locations .flex_column_table:last-of-type .flex_column.no-padding {
        padding: 0!important;
    }

}

@media only screen and (max-width: 989px) {
	.responsive #top .contact-form-section,
	.responsive #top .contact-form-section form {
		margin-bottom: 0;
	}
	.responsive #top .contact-form-section .gform_widget {
		padding-bottom: 0;
	}

	.responsive #top #clinic-locations .template-page {
		padding-top: 20px;
		padding-bottom: 40px;
	}
}


/*Forms*/
body .gform_wrapper .top_label div.ginput_container {
	margin-top: 0;
}

#top .ginput_complex label {
	font-size: 15px; 
}

#jane-scott-bio {
	padding-top : 30px;
}

/*	Conditions and services subpages
*************************************/
/*General */
@media  only screen and (max-width: 1299px) {

	#top .focus-row .flex_cell:first-of-type {
        padding: 50px!important;
	}
}

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

	#top .focus-row .flex_cell:first-of-type {
        padding: 25px!important;
    }
	#top .focus-row .flex_cell {
        margin-bottom: 0!important;
	}
	.av-layout-tab {
		padding-bottom: 20px;
	}

}

/* Special */
/*Corneal transplants page*/
#top .show-ipad-pro {
	display: none;
}

#top .show-small-laptop {
	display: none;
}
@media  only screen and (max-width: 1280px) and (min-width: 990px) {
	#top .show-ipad-pro {
		display: block;
	}
	#top .hide-ipad-pro {
		display: none;
	}
}

@media  only screen and (max-width: 1500px) and (min-width: 1280px){
	#top .show-small-laptop {
		display: block;
	}
}

@media  only screen and (max-width: 467px) {
	#top .surgery-cost-img {
		background-size: contain !important;
		background-position: center!important;
		padding: 130px 30px 120px 30px!important;
	}
}
/* Top bar */
.go-coming-soon-top-bar {
  color: #fff;
  background-color: #f26522;
  text-align: center;
  font-size: 16px;
  position: fixed;
  z-index: 502;
  width: 100%;
  padding: 8px 0;
}
.go-coming-soon-top-bar a {
    color: #fff;
}
@media only screen and (max-width: 767px) {
    .go-coming-soon-top-bar {
        display: none;
    }
}

/* START To Be removed when top bar gets removed */


@media only screen and (min-width: 768px) {
    /*.html_header_top.html_header_sticky #header {
      top: 75px;
    }*/
    
    .html_header_top.html_header_sticky #top #wrap_all #main {
      padding-top: 153px !important;
    }
}


@media only screen and (min-width: 990px) {
    .html_header_top.html_header_sticky #header {
		top: 47px;
		z-index: 99999;
    }
}

@media only screen and (max-width: 989px) and (min-width:768px) {
	.go-coming-soon-top-bar {
		position: absolute!important;
	}
	.html_header_top.html_header_sticky #top #wrap_all #main {
		padding-top: 50px !important;
	}
	.html_header_top.html_header_sticky #header {
		top: 47px;
		
    }
}
@media only screen and (max-width: 905px) and (min-width:768px) {
	.html_header_top.html_header_sticky #header {
		top: 75px;
	}
	.html_header_top.html_header_sticky #top #wrap_all #main {
		padding-top: 75px !important;
	}
}
/* END To Be removed when top bar gets removed */


/*	Education Sheet links
*************************************/
#top .education-sheet-download .iconbox_content_container {
	margin-top: 30px;
}
#top .education-sheet-download .iconbox_content_container a {
	padding: 12px 24px;
    color: white;
    background: #f26522;
    text-decoration: none;
    border-radius: 3px;
    margin-top: 15px;
    font-size: 15px;
}

@media only screen and (max-width: 989px) {
    .go-full-width-mobile-buttons .avia-button {
        width: 100%;
    }
    #top .go-full-width-mobile-buttons .avia-button:nth-child(2) {
        background-color: #004a8f !important;
    }
}

