/*
Theme Name: SEO Layout 6
Description: A <a href='http://codex.wordpress.org/Child_Themes'>Child Theme</a> for the Enfold Wordpress Theme.
Version: 1.0.1
Author: Ryan Olson
Author URI: https://sequoiaims.com/
Template: enfold
*/

/*#advanced_menu_toggle {
	top: 25%;
}
*/
body .av-special-heading .av-special-heading-tag {
	text-transform: none;
	letter-spacing: normal;
	font-weight: 600;
}
#header #text-3,
#header #text-5,
#header #text-7,
#header #text-8 {
	margin: 0;
	padding: 0;
	height: auto;
	line-height: normal;
	z-index: 999;
	-webkit-transition: all 0.3s ease-out;
	transition: all 0.3s ease-out;
}
/*Phone widget*/
#header #text-3,
#header #text-7 {
	text-align: center;
  right:0;
  top: 25%;
}

.header-phone {
	font-family: 'Open Sans', sans-serif;
	margin: 8px 0;
	font-size: 20px;
}

.header-phone a {
	-webkit-transition: color 0.3s ease-in-out;
	transition: color 0.3s ease-in-out;
}

.header-phone a:hover {
	text-decoration: none;
}
.header-phone span {
	font-weight: bold;
	font-size: 28px;
}

/*Sidebar nav, uppercase first item*/
.widget_nav_menu li:first-child { text-transform:uppercase;}

@media only screen and (min-width: 768px) and (max-width: 920px) {
	#header #text-8,
	#header #text-5 {
		width: 25%;
	}
	.header-phone span{
		display: block;
	}
	#header.header-scrolled #text-5,
	#header.header-scrolled #text-8 {
		width: auto;
	}
	.header-scrolled .header-phone span{
		display: inline;
	}
}

/*Button widget*/
#header #text-8,
#header #text-5 {
  left:0;
  top: 30%;
}
.fun-text {
	font-family: 'Shadows Into Light Two', cursive;
}
.font-fun h2{
	font-size: 32px;
	font-family: 'Shadows Into Light Two', cursive;
}
#top #header_main .avia-button {
	font-family: 'Shadows Into Light Two', cursive;
	font-weight: bold;
	letter-spacing: 1px;
	border-radius: 0;
	-webkit-transition: background 0.2s ease-in;
	transition: background 0.2s ease-in;
	border: none;
	display: block;

}

.header_color .main_menu ul:first-child > li > a {
	color: #fff;
	font-weight: normal;
	font-size: 16px;
}

@media only screen and (min-width: 993px) {
	.header_color .main_menu ul:first-child > li > a {
		padding: 0 30px;
	}
}

@media only screen and (min-width: 1238px) {
	.header_color .main_menu ul:first-child > li > a {
		padding: 0 50px;
	}
}

.header_color .main_menu ul:first-child > li > a:hover,
.header_color .main_menu ul:first-child > li.current-menu-item > a,
.header_color .main_menu ul:first-child > li.current_page_item > a {
	color: #fff;
}

.floating-form {
	width: auto;
	position: relative;
	float: none;
	max-width: 60%;
	margin: 40px auto;
}

#footer .widget {
	text-align: center;
}
@media only screen and (min-width: 768px) {

	#header #text-7,
	#header #text-8,
	#header #text-3,
	#header #text-5 {
		position: absolute;
	}
	#header #text-7,
	#header #text-3 {
		text-align: left;
	}
	#header.header-scrolled #text-7,
	#header.header-scrolled #text-8,
	#header.header-scrolled #text-3,
	#header.header-scrolled #text-5 {
		top: 0;
	}

	#top #header_main .avia-button {
		float: left;
		font-size: 18px;
		padding: 15px 45px 13px;
	}

}

@media only screen and (min-width: 1024px) {
	#hero-block {
		margin-top: -239px;
	}
}
