/*
Theme Name: sandacab_theme
Author: Nuno Das Neves
Description: Badass
Version: 1.0
*/

html,body
{
    width: 100%;
    margin: 0px;
    padding: 0px;
    overflow-x: hidden; 
}

html{
    min-height:100%;/* make sure it is at least as tall as the viewport */
    position:relative;
	overflow-x: hidden; /* without this you get a weird white space on the right on small screens*/
}
body{
	min-height:100%; /* force the BODY element to match the height of the HTML element */
	height:100%;
	margin:0;
	font-size: 1.05em;
	line-height: 1.25em;
	font-family: Helvetica Neue, Helvetica, Arial, "sans-serif";
	display:table;
}

body > div{
    display: table-row;
}

body > div.fill{
    height: auto;
}

/* HEADER business */

header{
	display:table-row;
	width:100%;
	height:230px;
}

.header-contained{
	margin: 0px auto;
	max-width: 1200px;
	padding-top:30px;
	height:150px;
}

.logo{
	margin-top:0px;
	margin-left:30px;
	float:left;
	/*border:1px solid black*/
}
.logo img{width:400px;}
/*menu big*/

nav {
	margin-top:90px;
	width:100%;
	/*border:solid 1px red;*/
}

#menu-icon {
	float:right;
	display: none;
	margin-top:-40px;
	margin-right:20px;
	width: 72px;
	height: 72px;
	background: url(http://sandacabinets.test.hornetmarketing.com.au/wordpress/wp-content/themes/sandacab_theme/images/nav-button.png) no-repeat center;
	background-color: white;
}

a:hover#menu-icon {
	background-color: white;
}

nav ul {
	float:right;
	display: table;
	table-layout: fixed;
	width:590px;
	padding:0;
	margin:0;
	/*border:solid 1px black;*/
}

nav li {
	display: table-cell;
	padding-right:30px;
	/*border:1px solid red*/
}

nav a{
	display:block;
	/*width:100%;*/
	text-align:center;
	text-decoration:none;
	color:#888;
	padding:0.4em 0;
	font-size:1em;
	font-family:sans-serif;
	/*border:1px solid*/
}

#menu-item-16{}

nav a:hover{
	/*background:#005fad;*/
	color:#444;
	text-decoration:none;
	}

.current-menu-item a{
	color:#444;
}

/*menu small screens*/
@media (max-width : 1050px) {
	
	#menu-icon {
		display:inline-block;
	}

	nav ul, nav:active ul { 
		display: none;
		position: absolute;
		right: 40px;
		top: 180px;
		width:120px;
		/**border:4px solid #eeeeee;*/
		background:white;
		z-index:100;
	}
	nav a{
		display:block;
		font-size:1em;
		padding:1em;
	}

	nav li {
		text-align: center;
		width: 100%;
		padding: 0px 0;
		margin: 0;
		display:table-row;
	}

	nav:hover ul {
		display: block;
	}
}

@media (max-width : 600px) {
	.logo{width:50%;min-width:240px;margin-top:4%;}
	.logo img{width:100%;}
	header{height:unset;}
	
	#menu-icon {
	margin-top:-80px;
	margin-right:1%;
	}
	
	nav ul, nav:active ul { 
		right: 10px;
		top: 145px;
	}

}

@media (max-width : 400px) {
	
	header{height:250px;}
	
	#menu-icon {
	float:left;
	margin-top:15px;
	}
	
	nav ul, nav:active ul { 
		left: 10px;
		top: 240px;
	}

}

/* CONTENT business */

.container{
}

.content{
	margin: 0px auto;
	padding:0;
	max-width: 1200px;
	position: relative;
	height:100%;
}
/*
#service-page::after{
	content: "";
	background: url("http://parramead.test.hornetmarketing.com.au/wordpress/wp-content/uploads/test-img-1.jpg") no-repeat;
	background-size:100%;
  opacity: 0.3;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  position: absolute;
  z-index: -1;   
}
*/

/* front page */
#front-page{color:black; display:block;}
#front-page .slider{height:600px;}


/*#fp-text td{border:1px solid red}*/
#fp-icons {margin-top:30px;margin-left:20px}
#fp-icons img{width:20px}

/* map height doesn't seem to operate consistently - so check it*/
#contact-map{
	height:510px;
}

/* other pages */
h3{;font-weight:normal;padding:0;margin:0;margin-bottom:25px;}

#colours-page ul{list-style: none;}
#colours-page li{display:inline-block;padding-bottom:40px}
#colours-page li a{display:block;padding:40px;padding-top:0;width:400px;height:200px;overflow:hidden;}
#colours-page li a img{width:600px;}

/* Them's the breaks */
@media (max-width : 1260px) {

}

/* FOOTER business */

.footer-container{
	width:100%;
	height:45px;
	/*margin-top:240px;*/
	bottom:0;
	left:0;
}

#footer{
	margin:0px auto;
	padding-top:10px;
	max-width: 1200px;
	position: relative;
	color: #888;
	font-family: Helvetica Neue, Helvetica, Arial, "sans-serif";
}
#f-left{float:left;padding-left:25px;}
#f-right{float:right;padding-right:25px;}
#f-right a{color:#888}

/*footer first break */
@media (max-width : 800px) {
	#f-left{width:100%}
	#f-right{float:left; padding:0px; padding-left:25px; width:100%}
}
/* footer second break */
@media (max-width : 400px) {
	#footer{font-size:0.6em;}
}