/* Homepage layout */
body.page-template-template-level1-php #page-bottom
{
	position: relative;
	width: 960px;
    margin-top: -28px; /*Reduce gap between homepage brands menu (page bottom) and quicklinks menu*/
}

body.page-template-template-level1-php h1.entry-title,
body.page-template-template-level1-php #wpseobreadcrumb { display: none; }
body.home #page-top { margin-top: 0; }


/* Homepage Search widget (see navigation.css for form styles) */
#search-5
{
	float: left;
	width: 80%;
	padding:2em 0 2em 17%;
}

.aside #search-5 #searchform #searchsubmit,
#search-5 #searchform input#s
{
	font-size:24px;
	line-height:initial;
	font-family: "FS Me Web Regular", Helvetica, Arial, Verdana, sans-serif;
	font-size-adjust: 0.53;
	font-weight: normal;
	font-style: normal;
}
.aside #search-5 #searchform #searchsubmit {
	font-size:18px;
}

/* Our Brands menu */
#nav_menu-10
{
	width: 100%;
	margin: 0;
    clear: both;
}

#menu-homepage-brands .menu-item
{
	float: left;
	width: 155px;
	height: 150px;
	padding:0; 
    margin: 0 6px 30px 0;
}

#menu-homepage-brands li:last-child
{
    margin-right: 0px; /*fix to remove margin on last item to prevent menu overflow*/
}

#menu-homepage-brands .menu-item a:link, #menu-homepage-brands .menu-item a:visited
{
	background: none;
	text-align: center;
	color: #666;
	text-indent: -10000px;
	display:block;
	height:140px;
	background-repeat:no-repeat;
	background-position:2px 0;
	-webkit-transition: background, 500ms; /* Safari */
    transition: background, 500ms;
}

#menu-homepage-brands .menu-item a:hover, #menu-homepage-brands .menu-item a:active 
{ 
	color: #000; 
	background-color: #ddd;

}

#menu-homepage-brands #menu-item-9837 a
{
	/* HIA_HandyTec */
	background-image: url('../images/HIA_HandyTec.png');
}

#menu-homepage-brands #menu-item-8854 a
{
	/* Help to Buy */
	background-image: url('../images/HTB_backed_by_dark.png');
}

#menu-homepage-brands #menu-item-3767 a
{
	/* Space Property */
	background-image: url('../images/SP-Logo-Portrait---RGB.png');
}

#menu-homepage-brands #menu-item-3768 a
{
	/* FoodWorks */
	background-image: url('../images/FoodWorks.png');
}
#menu-homepage-brands #menu-item-12679 a, #menu-homepage-brands #menu-item-12678 a
{
    display: table-cell;
    width: 155px;
	text-align: center;
	font-size: 18px;
	line-height: 25px;
	border: 0;
	font-family: "FS Me Web Regular", Helvetica, Arial, Verdana, sans-serif;
	font-size-adjust: 0.457;
	font-weight: 200;
	font-style: normal;
	-webkit-transition: background, 250ms; /* Safari */
    transition: background, 250ms;
    background:rgb(0, 181, 221);
    color:#fff;
    text-indent: 0px;
}
#menu-homepage-brands #menu-item-12679 a:hover, #menu-homepage-brands #menu-item-12678 a:hover, #menu-homepage-brands #menu-item-12679 a:active, #menu-homepage-brands #menu-item-12678 a:active
{
    background: rgb(0, 90, 110) !important;	
	border-color: #686b6d !important;
}
#menu-homepage-brands #menu-item-12679 a::before, #menu-homepage-brands #menu-item-12678 a::before
{
    /*line-height: 90px;*/
}

/* Homepage Feature Slider */
#page-top #query-posts-60 
{
	width: 100%;
	margin: 5px 0 6px 0;
	clear:both;
	float:left;
	height:315px;
	overflow:hidden;
}
#page-top #query-posts-60 h3.widgettitle
{
	display:none;
}
#page-top #query-posts-60 div.hentry
{
	background-color: #bebfc0;
	padding:0;
	overflow:hidden;
	width:100% !important;
}

#page-top #query-posts-60 a {
	margin:0;
}
#page-top #query-posts-60 img.attachment-homepage-feature {
	float:left;
	margin:0 1em 0 0;
	border-right:solid #fff 6px;
	width:638px !important;
}
#page-top #query-posts-60 h2.entry-title 
{
	clear:right;
	padding:10px 10px 10px 0;
	font-size:22px;
	letter-spacing:-0.05em;
	font-family: 'Gotham SSm A', 'Gotham SSm B', Helvetica, sans-serif;
	font-weight: 700;
	font-style: normal;
	text-transform: uppercase;
}
#page-top #query-posts-60 h2.entry-title a
{
	color:#000;
}
#page-top #query-posts-60 p.byline 
{
	color:#000;
}
#page-top #query-posts-60 div.entry-summary 
{
	color:#000;
	margin-right:1em;
	font-size:1.25em;
	line-height:1.48em;
}
#minimal-posts-nav.slideshow-nav
{
	width: auto;
	position: relative;
	top: 275px;
	left: 652px;
	z-index: 11;
	padding: 0;
}
#minimal-posts-nav.slideshow-nav:after
{
	clear:both;
}

#page-top #query-posts-60 #minimal-posts-nav.slideshow-nav a
{
	display:block;
	float:left;
	text-indent:-100px;
	width:10px;
	height:10px;
	overflow:hidden;
	margin:3px;
	padding:7px !important;
	border:2px solid #fff;
}


/* Homepage Quicklinks */
#page-top #nav_menu-23
{
	width: 100%;
	margin: 0;
	clear:both;
}

#page-top #nav_menu-23 .widgettitle { display: none; }

#menu-homepage-quicklinks
{
	list-style-type: none;
	padding: 0;
	margin: 0;
}

#menu-homepage-quicklinks li
{
	float: left;
	padding: 0;
	margin: 0px 3px;
	width: 155px;
}
#menu-homepage-quicklinks li#menu-item-8813
{
	margin-left:0;
}
#menu-homepage-quicklinks li#menu-item-8811
{
	margin-right:0;
}

#menu-homepage-quicklinks li a
{
	display: table-cell;
	padding: 10px 8px 15px;
	margin: 0;
	height: 50px;
	width: 144px;
	text-align: center;
	font-size: 18px;
	line-height: 25px;
	border: 0;
	font-family: "FS Me Web Regular", Helvetica, Arial, Verdana, sans-serif;
	font-size-adjust: 0.457;
	font-weight: 200;
	font-style: normal;
	-webkit-transition: background, 250ms; /* Safari */
    transition: background, 250ms;
    background:rgb(0, 181, 221);
    color:#fff;
}

#menu-homepage-quicklinks li a:hover, #menu-homepage-quicklinks li a:active
{
	background: rgb(0, 90, 110);	
	border-color: #686b6d;
}

/* Using @font-face provided by icomoon.io (see top) */
#menu-homepage-quicklinks li a:before, #menu-homepage-brands #menu-item-12679 a:before, #menu-homepage-brands #menu-item-12678 a:before {
	font-family: 'icomoon';
	speak: none;
	font-size: 72px;
	font-style: normal;
	font-weight: normal;
	font-variant: normal;
	text-transform: none;
	width:100%;
	display:block;
	text-align:center;
	/* Better Font Rendering =========== */
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	color:#fff;
	opacity: 0.75;
	-moz-opacity: 0.75;
}

#menu-homepage-quicklinks li a:hover:before {
	opacity: 1;
	-moz-opacity: 1;
}
