html{
	background: black;
	background-image: url(../images/loader-red.gif), url(../images/overlay.png) ;
	background-repeat: no-repeat, repeat;
	background-position: center 300px, left top;
}
body{
	background:url(../images/overlay.png) repeat;
	font-weight: 300;
	font-size: 14px;
	color: #333;
	-webkit-font-smoothing: antialiased;
	overflow: hidden;
	margin:0px;
	border-top:solid 5px #ff3600;
}
a{
	color: #555;
	text-decoration: none;
}
.container{
	width: 100%;
	position: relative;
	/*background: transparent url(../images/light.png) fixed no-repeat center top;*/
}
#loader{
	top:45%;
	position:absolute;
}
.clr{
	clear: both;
	padding: 0;
	height: 0;
	margin: 0;
}
.main{
	position: relative;
}
#welcome-panel{
	position:fixed;
	top:0px;
	height:50px;
	background:url(../images/overlay.png) repeat;
	width:100%;
	padding-left:10px;
	box-shadow: 0px 0px 5px rgba(0,0,0,0.8);
	-webkit-box-shadow: 0px 0px 5px rgba(0,0,0,0.8);
	-moz-box-shadow: 0px 0px 5px rgba(0,0,0,0.8);
	clear:both;
	z-index:999999 !important;
}
#welcome-panel-trigger{
	position:fixed; 
	left:0px; 
	top:0px;
}
#welcome-logo{
	float:left;
	display:inline;
}
#welcome-nav{
	height:35px;
	padding-top:14px;
	padding-right:12px;
	padding-left:18px;
	float:right;
	display:inline;
}
#welcome-nav a{
	font-size:20px;
	color:#999;
	font-family:"Ostrich_Sans_Black";
	text-transform:uppercase;
	margin-right:15px;
}
#welcome-nav a:hover{
	font-size:20px;
	color:#2FBFFF;
	font-family:"Ostrich_Sans_Black";
	text-transform:uppercase;
	margin-right:15px;
	cursor:pointer;
}
.active{
	color:#fff !important;
}

.ri-grid{
	margin: 40px auto 30px;
	position: relative;
	height: auto;
}

.ri-grid-loading{
	width: 100px;
	min-height: 100%;
	background: #000;
}

.ri-grid ul {
	border-left: 200px solid transparent;
	list-style: none;
	display: block;
	width: 100%;
	margin: 0;
	padding: 0;
}

/* Clear floats by Nicolas Gallagher: http://nicolasgallagher.com/micro-clearfix-hack/ */

.ri-grid ul:before,
.ri-grid ul:after{
	content: '';
    display: table;
}

.ri-grid ul:after {
    clear: both;
}

.ri-grid ul {
    zoom: 1; /* For IE 6/7 (trigger hasLayout) */
}
.ri-grid ul li {
	-webkit-perspective: 400px;
	-moz-perspective: 400px;
	-o-perspective: 400px;
	-ms-perspective: 400px;
	perspective: 400px;	
	margin: 0;
	padding: 0;
	float: left;
	position: relative;
	display: block;
	overflow: hidden;
	background: #000;
	-webkit-box-shadow: 0px 0px 5px rgba(0,0,0,0.8);
	-moz-box-shadow: 0px 0px 5px rgba(0,0,0,0.8);
	box-shadow: 0px 0px 5px rgba(0,0,0,0.8);
}
.ri-grid ul li:hover {
	-webkit-perspective: 400px;
	-moz-perspective: 400px;
	-o-perspective: 400px;
	-ms-perspective: 400px;
	perspective: 400px;	
	margin: 0;
	padding: 0;
	float: left;
	position: relative;
	display: block;
	overflow: hidden;
	background: #000;
	-webkit-box-shadow: 0px 0px 5px rgba(0,0,0,0.9);
	-moz-box-shadow: 0px 0px 5px rgba(0,0,0,0.9);
	box-shadow: 0px 0px 5px rgba(0,0,0,0.9);
	-webkit-transform: scale(3);
	-moz-transform: scale(3);
	-o-transform: scale(3);
	-ms-transform: scale(3);
	transform: scale(3);
	z-index:99999 !important;
	cursor:pointer;
}

.ri-grid ul li.top-row:hover  {
	top: 230px;
}

.ri-grid ul li a{
	display: block;
	outline: none;
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	-webkit-background-size: 100% 100%;
	-moz-background-size: 100% 100%;
	background-size: 100% 100%;
	background-position: center center;
	background-repeat: no-repeat;
	background-color: #333;
	-webkit-box-sizing: content-box;
	-moz-box-sizing: content-box;
	box-sizing: content-box;
}

/* Grid wrapper sizes */
.ri-grid-size-1{
	width: 55%;
}
.ri-grid-size-2{
	width: 100%;
}
.ri-grid-size-3{
	width: 100%;
	margin-top: 0px;
}

/* Shadow style */
.ri-shadow:after,
.ri-shadow:before{
	content: "";
	position: absolute;
	z-index: -2;
	bottom: 15px;
	left: 10px;
	width: 50%;
	height: 20%;
	max-width: 300px;
	max-height: 100px;
	box-shadow: 0 15px 10px rgba(0, 0, 0, 0.7);
	-webkit-transform: rotate(-3deg);
	-moz-transform: rotate(-3deg);
	-ms-transform: rotate(-3deg);
	-o-transform: rotate(-3deg);
	transform: rotate(-3deg);
}
.ri-shadow:after{
	right: 10px;
	left: auto;
	-webkit-transform: rotate(3deg);
	-moz-transform: rotate(3deg);
	-ms-transform: rotate(3deg);
	-o-transform: rotate(3deg);
	transform: rotate(3deg);
}

.ri-grid-loading:after,
.ri-grid-loading:before{
	display: none;
}


/************************************************************************************
NAVIGATION MENU STYLES (only for home page)
*************************************************************************************/
#nav-wrap {
	margin-top: 0px;
}

/* menu icon */
#menu-icon {
	display: none; /* hide menu icon initially */
}

#nav, 
#nav li {
	margin: 0;
	padding: 8px;
}
#nav li {
	list-style: none;
	float: left;
	margin-right: 5px;
}

/* nav link */
#nav a {
	padding: 4px 15px;
	display: block;
	color: #000;
	background: #ecebeb;
font-family:"liberation_Sans";
}
#nav a:hover {
	background: #f8f8f8;
	display: block;
font-family:"liberation_Sans";
}

/* nav dropdown */
#nav ul {
	background: #fff;
	padding: 2px;
	position: absolute;
	border: solid 1px #000;
	display: none; /* hide dropdown */
	width: 200px;
}
#nav ul li {
	float: none;
	margin: 0;
	padding: 0;
}
#nav li:hover > ul {
	display: block; /* show dropdown on hover */
}

/************************************************************************************
MOBILE
*************************************************************************************/
@media screen and (max-width: 600px) {
	#inner-header-nav{
		display:none !important;
	}
}
@media screen and (max-width: 600px) {

	/* nav-wrap */
	#nav-wrap {
		position: fixed;
		z-index:999999 !important;
	}

	/* menu icon */
	#menu-icon {
		color: #000;
		width: 52px;
		height: 42px;
		background:url(../images/menu-icon.png) no-repeat 10px center;
		padding: 0px;
		cursor: pointer;
		display: block; /* show menu icon */
		position:fixed;
		right:0px;
		top:0px;
	}
	#menu-icon:hover {
	}
	#menu-icon.active {
	}
	
	/* main nav */
	#nav {
		clear: both;
		position: fixed;
		top: 38px;
		width: 100%;
		min-width:480px;
		z-index: 10000;
		padding: 5px 10px;
		background:#121212;
		border: solid 1px #000;
		display: none; /* visibility will be toggled with jquery */
	}
	#nav li {
		clear: both;
		float: none;
		margin: 0px;
		border-bottom:solid 2px #444;
font-family:"liberation_Sans";
	}
	
	#nav li:hover {
		background:#2FBFFF;
		border-bottom:solid 2px #444;
font-family:"liberation_Sans";
	}
	#nav a, 
	#nav ul a {
		font: inherit;
		background: none;
		display: inline;
		padding: 0;
		color: #fff;
		border: none;
	display: block;
	text-transform:uppercase;
font-family:"liberation_Sans";
	}
	#nav a:hover, 
	#nav ul a:hover {
		background: none;
	display: block;
		color: #fff;
	text-transform:uppercase;}
	
	/* dropdown */
	#nav ul {
		width: auto;
		position: static;
		display: block;
		border: none;
		background: inherit;
	}
	#nav ul li {
		margin: 3px 0 3px 15px;
	}

}

@media screen and (min-width: 600px) {
	/* ensure #nav is visible on desktop version */
	#main-nav {
		display: block !important;
	}
	#nav-wrap{
		display:none;
	}
}
@media screen and (max-width: 600px) {
	#welcome-nav, #main-nav{
		display:none;
	}
	#nav-wrap{
		display:block;
	}
	#main-logo img {
    margin-left: 10px !important;
    margin-top: -8px !important;
	}
	#master-header {
		text-align:center !important;
	}

}