html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
	}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
    display: block;
	}
	
body {
    line-height: 1;
	height:100%;
	}
	
ol, ul {
    list-style: none;
	}
	
blockquote, q {
    quotes: none;
	}
	
blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
	}
 
/* remember to highlight inserts somehow! */
ins {
    text-decoration: none;
	}
	
del {
    text-decoration: line-through;
	}
 
table {
    border-collapse: collapse;
    border-spacing: 0;
	}

/* =Nav Trigger
-------------------------------------------------------------- */
#nav-trigger {
	display: none;
	text-align: right; 
	}
	
#nav-trigger span:after {
    display: inline-block;
    padding: 22px 10px 0 0;
	height:10px;
  	content:url(../img/menu.svg);
    cursor: pointer;
    }

#nav-trigger span.open:after {
	content:url(../img/menux.svg);
    }

/* =Nav Desktop Layout
-------------------------------------------------------------- */
nav#nav-main {
    background-color: transparent;
    padding: 0 0; 
    float:right;
	}

nav#nav-main ul {
    list-style-type: none;
    margin: 1.4em 0 0 0;
    padding: 0;
    text-align: center; 
	}
	
nav#nav-main li {
    display: inline-block;
    border-right: solid 1px #CCCCCC; 
	}

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

nav#nav-main a {
	height:auto;
	text-decoration:none; 
    display: block;
    color: white;
    padding: 6px 8px;
	font-size: .8em; 
	text-shadow: black 0.1em 0.1em 0.2em;
	}

nav#nav-main a:hover {
	color: #cacaca;
	}


/* =Nav Load Social Icons for Desktop and Remove Borders
-------------------------------------------------------------- */
nav#nav-main li.contact  {	
	border-right: none;
	}


nav#nav-main li.social-icon1 a{	
  	text-indent: -9999px;
 	width: 25px;
  	height: 25px;
	padding: 6px 8px;
  	background:url(../img/facebook.svg);
  	background-size: 25px 25px;
	background-repeat:no-repeat;
	}


nav#nav-main li.social-icon1  {
	border-right: none;
	padding-left:1em;
	height:18px;
	}

nav#nav-main li.social-icon2 a{
  	text-indent: -9999px;
 	width: 25px;
  	height: 25px;
	padding: 6px 8px;
  	background:url(../img/instagram.svg);
  	background-size: 25px 25px;
	background-repeat:no-repeat;
	}

nav#nav-main li.social-icon2 {
	height:18px;
	border-right: none;
	}

nav#nav-main li.social-icon3 a{

  	text-indent: -9999px;
 	width: 25px;
  	height: 25px;
	padding: 6px 8px;
  	background:url(../img/tumblr.svg);
  	background-size: 25px 25px;
	background-repeat: no-repeat;
	}

nav#nav-main li.social-icon3 {
	height:18px;
	border-right: none;
	}

/* =Nav Mobile Layout
-------------------------------------------------------------- */

nav#nav-mobile {
	position: relative;
	display: none;
	margin: 38px 0 0 0;
	}
	
nav#nav-mobile ul {
	display: none;
	list-style-type: none;
	position: absolute;
	left: 0;
	right: 0;
	margin-left: auto;
	margin-right: auto;
	text-align: left;
	padding:0;
	background-color: rgba(60,60,60,0.7);
	}
	
nav#nav-mobile li {
	display: block;
	padding: 0 0;
	margin: 0 0;
	border-bottom: solid 1px rgba(60,60,60,0.2);
	}
	
nav#nav-mobile li:last-child {
	border-bottom: none;
	}
	
nav#nav-mobile a {
	text-decoration:none; 
	display: block;
	color: white;
	padding: 1.27em 2em; 
	font-size: .8em;
	}
	
nav#nav-mobile a:hover {
	background-color: rgba(228,228,228,0.8);
	color: #333333;
	}
	
/* = End Nav
-------------------------------------------------------------- */
body {
    font: 16px/1.4em ;
	font-family: 'Droid Sans', sans-serif;
    background-color: #1c1c1c;
	height:100%;
	}
	
html {
	height:100%;
	}

#wrapper{
	width:100%;
	min-height:100%;
	position:relative;
	overflow:hidden;
	}

p{
	line-height:1.5em;
	color: #7c7c7c;
}

p a{
	color: #afafaf;	
}
	  
h1 {
	float:left;
	margin: 0;
	padding: 0;
	}

h1.logo{	
	margin:.4em .1em .2em .4em;
	}

h1.logo a{
	display: block;
  	text-indent: -9999px;
 	width: 129px;
  	height: 52px;
  	background:url(../img/xyluxlogo.svg);
  	background-size: 129px 52px;
	background-repeat:no-repeat;
	}
	




header {
	height: 70px;
	background: -webkit-linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0)); /* For Safari 5.1 to 6.0 */
    background: -o-linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0)); /* For Opera 11.1 to 12.0 */
 	background: -moz-linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0)); /* For Firefox 3.6 to 15 */
 	background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0)); /* Standard syntax */
	}

.content-home{
	height: calc(100% - 90px); /* IE9+ and future browsers */
	height: -moz-calc(100% - 20px); /* Firefox */
	height: -webkit-calc(100% - 90px); /* Chrome, Safari */
	}
	
.content{
	width:100%;
	height:auto;
	padding-bottom:20px;
	overflow:hidden;
	}
	
img.ri{
	position: absolute;
	max-width: 80%;
	top: 10%;
	left: 10%;
	}

img.ri:empty{
	top: 50%;
	left: 50%;
	-webkit-transform: translate(-50%, -50%);
	-moz-transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
	-o-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);	
	}
	
footer{
	width:100%;
	height:20px;
	position:absolute;
	bottom:0;
	left:0;
	overflow:hidden;
	clear:both;
	
}
 
footer p{

	font-size:.7em;
	color:#ffffff;
	text-align:right;
	text-shadow: black 0.1em 0.1em 0.2em;
	margin:0;
	padding:5px 10px 10px 0;
	}


.content-background{
	width:100%;
	background:url(../img/tweed.png);
	border-top:#494949 solid 1px;
	overflow:hidden;	
	}

.content-background-contact{
	background:url(../img/tweed.png);
	border-top:#494949 solid 1px;
	overflow:hidden;
	}

.left {
    float: left;
    width: 30%;
	}

.left-wrap{
	margin:20px;
	text-align:right;
	}

.left img{
    max-width: 100%;
	border-radius:4px 4px 0 0;
	}

.about {
	margin: 0 0 0 0;
	padding:25px 0px 10px 0px;
	height:130px;
	background-color:rgba(0,0,0,0.2);
	border-radius:0 0 4px 4px;
	text-align:center;
}

.about p{
	margin-bottom:15px;
	font-size: 14px;
	
}

.about li{
	display: inline;
	padding: 10px 10px 0 10px;	
	
}

.about li:first-child{
	padding: 10px 10px 0 0;		
}

.about li:last-child{
	padding: 10px 0 0 10px;		
}

.right {
    float: right;
    width: 70%;
	}
	


.right-wrap{
	margin:20px;
	padding:20px;
	background-color:rgba(0,0,0,0.2);
	border-radius:4px;
	}

h2{
	font-family: 'Abril Fatface', cursive;
	-webkit-text-stroke: 1px rgba(175,175,175,0.7);
	font-size: 3em;
	color: #afafaf;
	padding-bottom: 15px;
	text-align:left;
	line-height:normal;
	border-bottom:solid 1px rgba(255,255,255,0.3);
	margin:0 0 15px 0;	
	}

  
h3{
	font-family: 'Abril Fatface', cursive;
	-webkit-text-stroke: 1px rgba(175,175,175,0.4);
	font-size:1.2em;
	color: #afafaf;
	padding-bottom: 10px;
	text-align:left;
	line-height:normal;
	}

.right p{
	text-align:left;
	max-width:600px;	
	font-size: 14px;
	color: #7c7c7c;
	padding-bottom: 20px;
	}

.right-wrap a{
	margin:0;
	padding:0;
	background:none;
	}
	
.clients p{
	line-height: 2.5em;
	}

/* = Slides
-------------------------------------------------------------- */

#slides {
	height: calc(100% - 90px); /* IE9+ and future browsers */
	height: -moz-calc(100% - 150px); /* Firefox */
	height: -webkit-calc(100% - 90px); /* Chrome, Safari */
	overflow-y:hidden;
	white-space:nowrap;
	font-size:0;
	}

#slides li{
	display:inline;
	}

#slides li img{
	max-height:100%;
	height:100%;
	width:auto !important;
	}

.panner {
    display:block;
    position:fixed;
    width:35px;
    height:91px;
    top:45%;
	}

#panLeft {
	background-image:url(../img/arrow_left.png);
	background-repeat:no-repeat;
    left:0px;
	}
	
#panRight {
	background-image:url(../img/arrow_right.png);	
	background-repeat:no-repeat;
    right:0px;
	}

#panLeft:hover {
	background-image:url(../img/arrow_left_hover.png);
	background-repeat:no-repeat;
    left:0px;
	}

#panRight:hover {
	background-image:url(../img/arrow_right_hover.png);
	background-repeat:no-repeat;
    right:0px;
	}

	
/* = Lazy Load Styles
-------------------------------------------------------------- */	

/*.lazy-hidden {
	background:url(../img/loading.gif) no-repeat 50% 50%;
	}

.lazyloaded {
    -webkit-transition: opacity 0.3s;
    -moz-transition: opacity 0.3s;
    -ms-transition: opacity 0.3s;
    -o-transition: opacity 0.3s;
    transition: opacity 0.3s;
    opacity: 1;
	}

.lazyloading {
    opacity: 1;
    transition: opacity 300ms;
    background: url(../img/loading.gif) no-repeat 50% 50%;
}*/
/*.lazyload,
.lazyloading {
    opacity: 0;
	
}
.lazyloaded {
    opacity: 1;
    /*transition: opacity 300ms;*/






/* =Media Queries
-------------------------------------------------------------- */
@media all and (max-width: 768px) {
#nav-trigger {
    display: block; 
	}

nav#nav-main {
    display: none; 
	}

nav#nav-mobile {
    display: block; 
	}
	
header {
	height: 70px;
	background: -webkit-linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0)); /* For Safari 5.1 to 6.0 */
    background: -o-linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0)); /* For Opera 11.1 to 12.0 */
 	background: -moz-linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0)); /* For Firefox 3.6 to 15 */
 	background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0)); /* Standard syntax */
	}
  
h1.logo a{
	display: block;
  	text-indent: -9999px;
 	width: 89px;
  	height: 36px;
  	background:url(../img/xyluxlogo.svg);
  	background-size: 89px 36px;
	background-repeat:no-repeat;
	}
	
h1.logo {
	margin:18px 0 0 8px;
}
	
.left, .right {
    float: none;
    width: auto;
    }
	
.left-wrap{
	padding:20px;
	text-align: center;
	}

h2{
	font-size:1.6em;
	}
	

.right-wrap a{

	text-decoration:none;
	padding:8px;
	background:#3a3a3a;
	border-radius:4px;
	}

.panner {
    display:none;
	}
  
}