/*
Theme Name: S&N Manufacturing
Theme URL: https://www.snmanufacturing.com.au
Author: Adz Power Agencies
Author URI: http://www.adzpower.com.au
*/

/* * * 1.0 General * * */

body{
	font-family: 'Monda', sans-serif;
}

*{
	margin:0;
	padding:0;
}

a{
	text-decoration:none;
}

.clear{
	clear:both;
}

.right{
	float:right;
	padding:0 0 15px 15px;
}

/* * * 2.0 Slideshow * * */

.slideshow-inner, .header-inner, .heading-inner, main, .footer-inner, nav ul li, nav, footer ul li, .product, #gallery img, input, textarea, #contact-form{
	-webkit-box-sizing: border-box;
  	-moz-box-sizing: border-box;
  	box-sizing: border-box;
	padding-left:15px;
	padding-right:15px;
}

.rslides {
  position: relative;
  list-style: none;
  overflow: hidden;
  height:678px;
  width: 100%;
  }

.rslides li {
  position: absolute;
  display: none;
  width: 100%;
  height:678px;
  left: 0;
  top: 0;
 }
 
.rslides h1{
	color:white;
	font-size:60px;
}

.rslides p{
	color:white;
	line-height:150%;
	width:100%;
	max-width:400px;
	padding-bottom:200px;
}
 
.slideshow-inner{
	width:100%;
	max-width:1200px;
	left:0; right:0;
	margin:0 auto;
	position:absolute;
	bottom:0;
}
 
.slide1{
	background:url(images/slideshow/slide1.jpg) center center no-repeat;
	background-size:cover;
}

.slide2{
	background:url(images/slideshow/slide2.jpg) center center no-repeat;
	background-size:cover;
}

.slide3{
	background:url(images/slideshow/slide3.jpg) center center no-repeat;
	background-size:cover;
}

.slide4{
	background:url(images/slideshow/slide4.jpg) center center no-repeat;
	background-size:cover;
}

.slide5{
	background:url(images/slideshow/slide5.jpg) center center no-repeat;
	background-size:cover;
}

.slide6{
	background:url(images/slideshow/slide6.jpg) center center no-repeat;
	background-size:cover;
}

.slide7{
	background:url(images/slideshow/slide7.jpg) center center no-repeat;
	background-size:cover;
}

@media all and (max-width: 700px) {
	
.rslides {
  	display:none;

}

}

/* * * 3.0 Header * * */

header{
	position:absolute;
	width:100%;
	top:0;
	z-index:999;
	background:url(images/header-bg.jpg) center center;
	height:110px;

}

.header-inner{
	height:100%;
	width:100%;
	max-width:1200px;
	margin:0 auto;
}

.logo{
	width:40%;
	float:left;
}

.logo img{
	padding:14px 0 0 0;
	max-width:100%;
	height:79px;
}

.phone{
	text-align:right;
	width:40%;
	float:right;
}

.phone img{
	padding:25px 0 0 0;
	max-width:75%;
	height:auto;
}

@media all and (max-width: 700px) {

header{
	height:auto;
	position:static;
	background:url(images/slide1.jpg) center center no-repeat;
	background-size:cover;
}

.header-inner{
	background:url(images/heading-bg.png);
}

.logo{
	width:100%;
	text-align:center;
	padding-top:20px;
}

.phone{
	width:100%;
	text-align:center;
	padding-bottom:20px;
}

}

nav{
	width:100%;
	max-width:1200px;
	position:absolute;
	left:0; right:0;
	margin:0 auto;
	top:495px;
	z-index:999;
}
nav ul{
	display:flex;
	list-style-type:none;
	width:100%;
	border-radius:10px;
	-moz-border-radius:10px;
	-webkit-border-radius:10px;
	background:#3d3c41;
	padding:10px 0;
	flex-direction:row;
	align-items:stretch;
	justify-content:center;
}

nav ul li{
	text-align:center;
	border-right:1px solid white;
	flex:1;
	padding:0 5px;
}

nav ul li:last-child{
	border-right:none;
}

nav ul li a{
	display:flex;
	height:100%;
	align-items:center;
	justify-content:center;
	line-height:150%;
	color:white;
	font-size:14px;
	color:#fac902;
}

nav ul li a:hover{
	color:white;
}


@media all and (max-width: 850px) {
	
nav ul li a{
	font-size:13px;
}

}

@media all and (max-width: 700px) {

nav{
	position:static;
	background:#3d3c41;
}

nav ul{
	padding:10px 0;
	flex-wrap:wrap;
}

nav ul li{
	flex:0 0 50%;
	padding:8px 0;
}

nav ul li:nth-child(even){
	border-right:none;
}

nav ul li a{
	font-size:14px;
}
	
}

/* * * 4.0 Content * * */

.heading{
	width:100%;
	height:111px;
	background:#716c70;
	border-bottom:10px solid #fac902;
	margin-top:-111px;
	z-index:999;
	position:relative;
}

.heading-wrap{
	width:100%;
	max-width:1200px;
	margin:0 auto;
	height:100%;
}

.heading-inner{
	width:100%;
	max-width:1200px;
	display:table;
	margin:0 auto;
	height:100%;
}

.heading h1{
	display:table-cell;
	width:100%;
	height:100%;
	vertical-align:middle;
	color:white;
}

main{
	width:100%;
	padding:25px 15px 10px 15px;
	max-width:1200px;
	display:block;
	margin:0 auto;
}

main h2{
	padding:5px 0 5px 10px;
		background:#fac902;
}

main h3{
	padding:5px 0 5px 10px;
	background:#fac902;
	font-size:20px;
	margin-bottom:15px;
}

main p{
	font-size:13px;
	line-height:145%;
	padding-bottom:15px;
	color:#252525;
}

main p a{color:#252525;}

main ul{
	padding-bottom:15px;
	list-style-position:inside;	
}

main li{
	font-size:13px;
	line-height:145%;
	padding-bottom:3px;
	color:#252525;
}


#gallery img{
	display:inline-block;
	padding:7px 15px;
	width:16.72%;
	height:auto;
	margin-left:-4px;
}



@media all and (max-width: 1000px) {
#gallery img{
	width:20%;
}
}

@media all and (max-width: 800px) {
#gallery img{
	width:25%;
}
}

@media all and (max-width: 650px) {
#gallery img{
	width:33%;
	padding:7px 10px;
}
}

@media all and (max-width: 500px) {
#gallery img{
	width:50%;
}
}

.product{
	background:#EDEDED;
	padding:15px;
	margin-bottom:25px;
}

#address{
	width: calc(100% - 320px);
	float:left;
}

#contact-form{
	width:287px;
	float:right;
	padding:10px 10px 0 10px;
	background:#EDEDED;
	margin-bottom:15px;
}

input, textarea{
	width:265px;
	border:none;
	padding:3px;
}

input[type=submit]{
	background:#fac902;
}

input[type=submit]:hover{
	cursor:pointer;
	opacity:0.8;
}

iframe{
	width:100%;
	height:200px;
	padding-top:7px;
}

@media all and (max-width: 700px) {
	
.heading{
	height:auto;
	border-bottom:10px solid #fac902;
	margin-top:0;
	z-index:999;
	position:relative;
}

main img, .right{
	display:block;
	margin:0 auto;
	padding:10px 0 20px 0;
	float:none;
	clear:both;
	max-width:100%;
	height:auto;
}

#address{
	width: 100%;
	float:left;
}

#contact-form{
	width:100%;
	margin-top:15px;
	margin-bottom:15px;
}

input, textarea{
	width:100%;
}

iframe{
	padding-top:0;
}


}

/* * * 5.0 Footer * * */

footer{
	width:100%;
	background:#252525;
	border-top:10px solid #fac902;
}

.footer-inner{
	width:100%;
	max-width:1200px;
	margin:0 auto;
	padding:20px 15px;
}

footer ul{
	list-style-type:none;
	width:75%;
	float:left;
}

footer ul li{
	display:inline-block;
	width:25%;
	padding:5px 10px 5px 0;
	margin-left:-3px;
	font-size:13px;
}

footer ul li a{
	color:white;
}

footer ul li a:hover{
	color:#fac902;
}

.footer-contact{
	float:right;
	text-align:right;
	
}

.footer-contact h2{
	color:white;
	font-size:13px;
	padding-top:5px;
}

.footer-contact img{
	padding-left:10px;
	padding-top:3px;
	width:25px;
	height:auto;
}

.footer-details{
	margin-top:15px;
	padding:15px 0 0 0;
	border-top:1px solid #ed1c24;
	width:100%;
	text-align:center;
	font-size:13px;
	color:#5c5c5c
}

.footer-details a{
	color:#5c5c5c
}

@media all and (max-width: 640px) {
	


footer ul{
	list-style-type:none;
	width:100%;
	float:left;
}

footer ul li{
	display:inline-block;
	width:50%;
	text-align:center;
}

.footer-contact{
	text-align:center;
	width:100%;
}

.footer-contact h2{
	padding-top:15px;
	padding-bottom:10px;
}

.footer-contact img{
	padding-left:15px;
	padding-right:15px;
}

}