/*
Theme Name: luckyfloor_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*/
		margin:0;
		padding:0;
}
body{
	min-height:100%; /* force the BODY element to match the height of the HTML element */
	height:100%;
	font-size: 1.05em;
	font-family: Helvetica Neue, Helvetica, Arial, "sans-serif";
	display:table;
	margin:0;
	padding:0;
}

body > div{
    display: table-row;
}

body > div.fill{
    height: auto;
}

/* HEADER business */

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

.header-contained{
	margin: 0px auto;
	max-width: 1176px;
	height:156px;
}

.logo{
	margin-top:50px;
	margin-left:35px;
	float:left;
	/*border:1px solid black*/
}
.logo img{}
/*menu big*/

nav {
	float:right;
	width:720px;
	margin-top:85px;
	margin-right:30px;
}

#menu-icon {
	float:right;
	display: none;
	margin-top:-70px;
	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 {
	padding:0;
	margin:0;
}

nav li {
	/*display: table-cell;*/
	display:inline-block;
	float:left;
	text-align:center;
	width:120px;
	/*border:1px solid blue;*/
	margin:0;
	padding:0;
}

nav a{
	display:block;
	/*width:100%;*/
	text-align:center;
	text-decoration:none;
	color:#2b2b2b;
	/*padding:10px; 0;*/
	font-size:15pt;
	font-family: Helvetica Neue, Helvetica, Arial, "sans-serif";
	/*border:1px solid red;*/
	
}

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

.current-menu-item a{
	color:#2b2b2b;
	font-weight:bold;
}

/*menu small screens*/
@media (max-width : 1200px) {
	nav {
		width:680px;
		margin-right:20px;
	}
	nav ul {
		
	}
	nav li {
		width:110px;
	}

}

@media (max-width : 1100px) {
	
	#menu-icon {
		display:inline-block;
	}
  
	nav {
	  width:0px;
  }
	
	nav ul, nav:active ul { 
		display: none;
		position: absolute;
		right: 40px;
		top: 129px;
		width:150px;
		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:8%;}
	.logo img{width:100%;}
	header{height:unset;}
	
	#menu-icon {
	margin-top:-80px;
	margin-right:1%;
	}
	
	nav ul, nav:active ul { 
		right: 10px;
		top: 130px;
	}

}

@media (max-width : 400px) {
	
	header{height:250px;}
	
	#menu-icon {
	position:absolute;
	left:40%;
	margin-top:15px;
	}
	
	nav ul, nav:active ul { 
		left:33%;
		top: 220px;
	}

}

/* CONTENT business */

.container{
	
}

.content{
	/*background: red;*/
	margin: 0px auto;
	padding:0;
	max-width: 1176px;
	position: relative;
}
.fp-section{
	background:#f7f7f7;
}
.fp-section, .fp-section table{
	width:100%;
}
.fp-section table{border-spacing: 43px;table-layout: fixed;}

#gallery-page{
	margin-top:50px;
}

#fp-products a{
	text-decoration: none;
	font-weight: bold;
	font-size: 16pt;
	display:inline-block;
	height:234px;
	width:524px;
	background-color:#2b2b2b;
	background-repeat:no-repeat;
	background-size:100%;
	color:white;
}
#fp-products a:before {
    content:'';
    height:95%;
    display:inline-block;
    vertical-align: bottom;
		padding-left:4%;
}

#fp-products #cell1 a{background-image: url("/wordpress/wp-content/uploads/laminate-floor.png");}
#fp-products #cell2 a{background-image: url("/wordpress/wp-content/uploads/bamboo-floor.png");}
#fp-products #cell3 a{background-image: url("/wordpress/wp-content/uploads/timber-floor.png");}
#fp-products #cell4 a{background-image: url("/wordpress/wp-content/uploads/floor-accessories.png");}
#fp-products #cell5 a{background-image: url("/wordpress/wp-content/uploads/vinyl-floor.png");}
#fp-products #cell6 a{background-image: url("/wordpress/wp-content/uploads/engineered-floor.png");}

#fp-products a:hover {
	background:white;
	color:#2b2b2b;
	background-repeat:no-repeat;
	background-size:100%;
}

#fp-services td{padding:0;position:relative;padding-bottom:35px;}
#fp-services td img{margin-right:20px;float:left;}
#fp-services td a{float:right;color:white;text-decoration:none;background:#2b2b2b;padding:7px 17px;position:absolute;bottom:0;right:0;}
#fp-services td a:hover{color:#2b2b2b;text-decoration: none;background:white;}
#fp-services h4{font-size:16pt;padding:0;margin:0;margin-top:-20px;}

.title-section{
	background: #2b2b2b;
	color:white;
	padding-top:14px;
	padding-bottom:0;
	padding-left:4%;
	height:64px;
	-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
	-moz-box-sizing: border-box;    /* Firefox, other Gecko */
	box-sizing: border-box;         /* Opera/IE 8+ */
}
.title-section h3{padding:0;margin:0;font-weight:bold;font-size:20pt}

#fp-contact{background: none;}
#fp-contact table, #contact-page table{margin:0;padding:0;margin-top:-15px;}
#fp-contact td, #contact-page td{padding:0;margin:0;vertical-align:top;font-size:16pt}
#fp-map{height:400px}

#fp-text{
	padding:20px 43px;
	-moz-box-sizing: border-box; 
  -webkit-box-sizing: border-box; 
  box-sizing: border-box;
}

/* all h3s...*/
h3{padding:0;margin:0;font-weight:bold;font-size:20pt}


#fp-text .product-img-table{
	margin-left:auto;
	margin-right:auto;
	width:70%;
	padding:0;
	border-spacing: 0px;
	border-collapse: separate;
	/*border:1px solid red;*/
}
#fp-text .product-img-table td{
	padding:8px;
}
.product-img-large{width:100%;}
.product-img-small{width:100%}


#accessories-page #fp-text .product-img-table{
	width:100%;
}
/*#accessories-page #fp-text .product-img-table td{
	padding:0;
}*/

/* Them's the breaks */
@media (max-width : 1200px) {
	
	.fp-section{
		background:#f7f7f7;
		text-align:center;
	}
	.fp-section, .fp-section table{
		width:100%;
	}
	.fp-section table{
		margin:0px auto;
		border-spacing: 0px;
		border-collapse: collapse;
	}
  .fp-section table td{
	  margin:0;
		border:0;
		padding:0;
	}
	
	#fp-products a{
		height:253px;
		width:100%;
		background-size:588px 205px;
	}
	
	#fp-products a:hover {
		background-size:588px 205px;
	}
	
	#fp-services td{padding:10px;font-size:12px;}
	#fp-services td a{color:#2b2b2b;background:none;}
	#fp-services td a:hover{color:grey;text-decoration: none;background:none;}
	#fp-services h4{font-size:16pt;padding:0;margin:0;margin-top:-20px;}

	.title-section{
		background: none;
		color:#2b2b2b;
	}
	
	#fp-contact table, #contact-page table{margin:10px;padding:0;}
  
}

@media (max-width : 850px) {
	#fp-services img{display:none;}
	#fp-services td{padding:20px;padding-bottom:40px;}
	#fp-services h4{font-size:13pt;}
}

@media (max-width : 550px) {
	.slider{
		display:none;
	}	
	
	#fp-products a{
		font-size:14px;
	}
	
	#fp-contact td, #contact-page td{font-size:10pt}
}

/* FOOTER business */

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

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

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