/*
 Theme Name:   EMSA
 Theme URI:    http://www.emsaustralia.net.au
 Description:  Designed for Event Management Solutions Australia
 Author:       GO Creative
 Author URI:   http://www.go-creative.com.au
 Template:     enfold
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
 Text Domain:  enfold-child
*/

/**************************************************************
	GENERAL
***************************************************************/

body {
	font-size: 15px;
}

.main_color a {
	/*text-decoration: underline;*/
}

/* don't use the primary colour on strong tags */

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

/* reset button height in Firefox */

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

/* buttons */

.avia-button.avia-size-large,
#top .avia-slideshow-button {
	font-size: inherit;
}

/* promo boxes */

.avia-promocontent p {
	font-size: inherit;
}

/* main page heading */

.main-title.entry-title,
.main-title.entry-title > a {
	color: #000 !important;
	font-weight: bold !important;
	font-size: 20px;
}

.title_container {
	/*border-top: 1px solid #EFEFEF !important;*/
	background: #FFF;
}

	#top .title_container .container {
		padding-top: 0;
		padding-bottom: 0;
		min-height: 40px;
	}

/* other headings */
	
h2 {
	font-size: 24px;
}

/* breadcrumbs */

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

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

div .logo {
	top: 17px;
}

/* facebook icon */

#top #wrap_all .av-social-link-facebook a {
	color: #FFF;
	background-color: #37589B;
}

/* instagram icon */

#top #wrap_all .av-social-link-instagram a {
	color: #FFF;
	background-color: #FF00AA;
}

.avia-menu.av_menu_icon_beside {
	padding-right: 0;
	border: none;
}

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

/* main menu */

.av-main-nav > li > a {
	font-size: 19px;
	text-transform: uppercase;
}

.header_color .main_menu ul:first-child > li > a {
	color: #000;
}

.header_color .main_menu ul:first-child > li > a:hover {
	text-decoration: none;
	color: #00aeef;
}

/* submenus */

#top #header.av_minimal_header .main_menu ul:first-child > li > ul {
	border: none;
	box-shadow: none;
}

#top .av-main-nav ul a {
	font-size: 16px;
}

#top .header_color .main_menu .menu ul li > a {
	border-top: 1px dotted #CCC;
}

#top .header_color .main_menu .menu ul li > a:hover {
	background: #00ABEF;
	color: #FFF;
}

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

#footer {
	font-size: 15px;
}

#footer.container_wrap {
	border-top: 4px solid #CCC !important;
}

#socket {
	font-size: 13px;
}

footer.container_wrap {
	/*border: none;*/
	font-size: inherit;
}

#footer.footer_color .textwidget > p:first-child {
	margin-top: 0;
}

/* buttons */

.footer_color input[type="submit"],
.footer_color .button {
	font-family: inherit;
	font-size: inherit;
	color: #fff !important;
	background-color: transparent !important;
	border: 3px solid #2bafff !important;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
}

.footer_color input[type="submit"]:hover,
.footer_color .button:hover {
	background-color: #00638E !important;
}

	
#footer h3.widgettitle {
	font-size: 23px;
	letter-spacing: 0;
	text-transform: none;
}

#footer .page-list .current_page_item > a {
	font-weight: inherit;
}

/*	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 .social_bookmarks {
		float: none;
		display: block;
		text-align: center;
		margin: 10px 0 15px 0;
	}
	
		#top #wrap_all .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;
		}
	
}

/* events list */

#top #footer .widget ol {
	float: none;
	padding: 0;
	margin: 0;
	width: 100%;
}

.tribe-events-list-widget ol li {
	margin-bottom: 0;
}

.tribe-events-list-widget h4 {
	font-size: 15px;
	line-height: inherit;
	margin-bottom: 0;
	font-weight: normal;
}

	#footer.footer_color .tribe-events-list-widget h4 a {
		color: #555555;
	}
	
	#footer.footer_color .tribe-events-list-widget h4 a:hover {
		color: #ED008A;
		text-decoration: underline;
	}
	
	.tribe-events-list-widget .duration {
		font-weight: normal;
		color: inherit;
		font-size: 12px;
		color: #999;
		line-height: 1;
		margin: 3px 0 10px 0;
	}
	
	.tribe-events-widget-link {
		display: none;
	}

/**************************************************************
	FULLSCREEN SLIDERS
***************************************************************/

/* caption title */

.avia_transform .av_fullscreen h2.avia-caption-title {
	font-size: 40px;
	font-weight: bold;
}

.slideshow_caption {
	width: 52%;
}

div .slideshow_caption h2 {
	text-transform: none;
}

.slideshow_inner_caption {
	/*text-shadow: 0 0 20px rgba(0, 0, 0, 1);*/
}

.avia-caption-content {
	font-size: 18px;
	line-height: 1.5;
}

/* buttons */

#top .avia-slideshow-button {
	text-transform: none;
}

/**************************************************************
	THEMED EVENT PAGES
***************************************************************/

/* main page wrapper */

#top.avia-blank #wrap_all {
	vertical-align: top;
	background: #FFF;
}

/* submenu items */

#top.avia-blank #wrap_all .av-submenu-container {
	-moz-box-shadow: 0 0 10px 0 rgba(0,0,0,0.2);
	-webkit-box-shadow: 0 0 10px 0 rgba(0,0,0,0.2);
	box-shadow: 0 0 10px 0 rgba(0,0,0,0.2);
}

#top.avia-blank #wrap_all .av-subnav-menu > li {
	font-size: 16px;
	font-weight: bold;
	color: #000;
	text-transform: uppercase;
	border-left: 1px solid #efefef;
}

#top.avia-blank #wrap_all .av-subnav-menu > li:last-child {
	border-right: 1px solid #efefef;
}

	#top.avia-blank #wrap_all .av-subnav-menu > li > a {
		border: none;
	}

/* main event heading */
	
#top.avia-blank #wrap_all .custom-color-heading h1.av-special-heading-tag {
	font-weight: bold;
	text-shadow: 0 0 30px rgba(0,0,0,0.5);
}

#top.avia-blank #wrap_all .av-subheading.av_custom_color {
	opacity: 1;
}

/* scroll to top button */

#top.avia-blank #scroll-top-link {
	color: #FFF;
	border: #333;
}

#top.avia-blank #scroll-top-link {
	background-color: #333;
}

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

/* reset the colour of bold text */

.main_color strong,
.alternate_color strong,
.main_color .tab_content strong {
	color: inherit;
}

table td {
	font-size: 15px;
}

/* tabs */

.main_color .sidebar_tab, .main_color .tabcontainer .tab {
	color: #555;
	background: #FFF;
	font-size: inherit;
}

.main_color .tab_inner_content tr:nth-child(2n+1) {
	background: #FFF;
}

/* icon boxes inside alt content areas */

#top .avia-section.alternate_color .main_color.iconbox_top .iconbox_content {
	background: #FFF;
}

/* facebook news feed */

.fb_iframe_widget iframe {
	position: static !important;
	width: 100% !important;
}

.fb_iframe_widget,
.fb_iframe_widget span {
	width: 100% !important;
}

.fb_iframe_widget {
	border: 1px solid #efefef !important;
}

/* list of all events managed by EMS */

.events-page-list {
	/*border: 1px solid #EFEFEF;
	border-bottom: none;*/
}

	.events-page-list > ul {
		list-style-type: none;
		margin: 0;
		padding: 0;
		float: none !important;
	}
	
		.events-page-list > ul > li {
			list-style-type: none;
			margin: 0;
			padding: 0;
		}
		
		.events-page-list > ul > li a {
			display: block;
			padding: 17px 15px;
			border-bottom: 1px solid #EFEFEF;
			/*line-height: 50px;
			min-height: 50px;*/
			line-height: 1.3em;
			font-size: 16px;
			/*color: #333;*/
		}
		
		.events-page-list > ul > li a:hover {
			color: #333;
			text-decoration: none;
			background: #EFEFEF;
		}
		
/* form labels */

#top label {
	font-weight: normal;
	font-size: inherit;
}

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

/* form placeholder text (for inline labels */

#top .main_color ::-webkit-input-placeholder {
	color: #999;
}

#top .main_color ::-moz-placeholder { /* Firefox 18- */
	color: #999;
}

#top .main_color ::-moz-placeholder { /* Firefox 19+ */
	color: #999;
}

#top .main_color ::-ms-input-placeholder {  
	color: #999;
}

/* hide the unnecessary stuff on error pages */

.search_not_found h3,
.search_not_found div,
.404_recommendation h3,
.404_recommendation div {
	display: none !important;
}

.image-overlay ,
.image-overlay-inside,
.image-overlay .image-overlay-inside,
.image-overlay.overlay-type-extern {
	visibility: hidden;
	display: none;
}

/* floating footer */

#top .fixed-footer {
	background: #FFF !important;
	margin-top: 20px;
}

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

	#top .fixed-footer {
		position: fixed !important;
		bottom: 0;
		left: 0;
		width: 100%;
		z-index: 10000;
		-moz-box-shadow: 0 0 20px 0 rgba(0,0,0,0.2);
		-webkit-box-shadow: 0 0 20px 0 rgba(0,0,0,0.2);
		box-shadow: 0 0 20px 0 rgba(0,0,0,0.2);
		margin: 0 !important;
	}

		#top .avia-logo-element-container.fixed-footer .slide-entry {
			padding: 15px;
		}

	.page-id-1526 #contact {
		padding-bottom: 300px !important;
	}

}

.gfield.fifth {
width:20%;
display:inline-block;
padding-right:1%;
}

.gfield.quarter {
width:25%;
display:inline-block;
padding-right:1%;
}

.gfield.third {
width:32.9%;
display:inline-block;
padding-right:1%;
}

.gfield.half {
width:50%;
display:inline-block;
padding-right:1%;
}

.gfield.last {
padding-right:0% !important;
}

.gfield.right {
text-align:right;
}

.gsection {
    margin-top: 50px !important;
}

#top .gform_fields>li {
    vertical-align: top;
}

.ginput_container_singleproduct .ginput_quantity_label {
float: none;
    float: none;
    display: block;
    margin-left: 0px !important;
    margin-right: 10px !important;
    margin-top: 12px !important;
}

.ginput_container_singleproduct .ginput_quantity {
float: left;
    width: 65% !important;
    margin-left: 70px !important;
    margin-top: -32px !important;
}

/**************************************************************
	EWS Derby page 
***************************************************************/

@media only screen and (max-width: 767px)  {
	.background-video-badge .avia-image-container.avia-align-right {
		float: none;
		margin: 0;
	}
}
