body {
	color: #333;
	background-color: #eee;
}

/* NAV
--------------------------------------*/

#header {
	background: url(../img/blue-dots-background.jpg) no-repeat 50% 50%;
	background-color: black;
	padding: 1em .5em;
}

#header-inner {
	max-width: 1000px;
	/* background-color: blue; */
	margin: 0 auto;
	opacity: 0.9;
        filter: alpha(opacity=60); /* For IE8 and earlier */
}

#header .logo {
	/* float: left; */	
	border-radius: 7px !important;
	background-color:white;
	border: 2px solid white;
	opacity: 0.9;
	filter: alpha(opacity=60); /* For IE8 and earlier */
	/* display: table-cell; */
	text-align: center;
	vertical-align: middle;

}

#nav {
	float: right;
}

#nav ul li {
	display: inline-block;
	margin-left: 1em;
	padding-top: .2em;
}

#nav a {
	color: #fff;
	text-decoration: none;
	text-transform: uppercase;
	letter-spacing: 1px;
}

#nav .on a {
	color: #FF854E;
}

.button {
border : 1px solid #39adf0;
-webkit-border-radius : 5px;
-moz-border-radius : 5px;
border-radius : 5px;
background : #6ac7fc;
color : white;
font-size : 14px;
text-transform : uppercase;
font-weight : bold;
font-family : Verdana, Arial, Helvetica, sans-serif, Tahoma;
text-shadow : 1px 1px 0 #7a7a7a;
padding : 8px 45px 8px 15px;
cursor : pointer;
}
.button:hover {
background : #70d2fd;
}
.buttons_h, .buttons_h span {
display : inline-block;
-webkit-border-radius : 4px;
-moz-border-radius : 4px;
border-radius : 4px;
}
.buttons_h {
white-space : nowrap;
line-height : 1em;
position : relative;
outline : none;
overflow : visible;
cursor : pointer;
border : 1px solid #999999;
border : rgba(0, 0, 0, .2) 1px solid;
border-bottom : rgba(0, 0, 0, .4) 1px solid;
-webkit-box-shadow : 0 1px 2px rgba(0,0,0,.2);
-moz-box-shadow : 0 1px 2px rgba(0,0,0,.2);
box-shadow : 0 1px 2px rgba(0,0,0,.2);
background : -moz-linear-gradient(
center top,
rgba(255, 255, 255, .1) 0%,
rgba(0, 0, 0, .1) 100%
);
background : -webkit-gradient(
linear,
center bottom,
center top,
from(rgba(0, 0, 0, .1)),
to(rgba(255, 255, 255, .1))
);
filter :  progid:DXImageTransform.Microsoft.gradient(startColorStr='#19FFFFFF', EndColorStr='#19000000');
-ms-filter : "progid:DXImageTransform.Microsoft.gradient(startColorStr='#19FFFFFF', EndColorStr='#19000000')";
-moz-user-select : none;
-webkit-user-select : none;
-khtml-user-select : none;
user-select : none;
margin-bottom : 7px;
}
.buttons_h.full, .buttons_h.full span {
display : block;
}
.buttons_h:hover, .buttons_h.hover {
background : -moz-linear-gradient(
center top,
rgba(255, 255, 255, .2) 0%,
rgba(255, 255, 255, .1) 100%
);
background : -webkit-gradient(
linear,
center bottom,
center top,
from(rgba(255, 255, 255, .1)),
to(rgba(255, 255, 255, .2))
);
filter:  progid:DXImageTransform.Microsoft.gradient(startColorStr='#33FFFFFF', EndColorStr='#19FFFFFF');
-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorStr='#33FFFFFF', EndColorStr='#19FFFFFF')";
}
.buttons_h:active, .buttons_h.active {
top : 1px;
}
.buttons_h span {
position : relative;
color : #ffffff;
text-shadow : 0 1px 1px rgba(0, 0, 0, 0.25);
border-top : rgba(255, 255, 255, .2) 1px solid;
padding : 4px 8px;
line-height : 1em;
text-decoration : none;
text-align : center;
white-space : nowrap;
}
.buttons_h.medium span {
font-size : 11px;
}
.buttons_h.blue {
background-color : #06BBFF;
}

/* CONTENT
--------------------------------------*/

#content {
	max-width: 1000px;
	margin: 20px auto;
	padding: 25px;
	background-color: white;
	border-radius: 5px;
	box-shadow: 0px 0px 2px #ccc;
}

#main aside {
	border-left: 1px #ddd solid;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
}

#main aside h4 {
	background-color: #999;
	padding: 4px 8px;
	color:white;
	border-radius: 2px;
}

#blocks li {
	background-color: #eee;
	border-radius: 2px;
}

#blocks p {
	margin-bottom: 0px;
	color: #555;
}

/* FOOTER
--------------------------------------*/

#footer {
	border-top: 1px solid #ddd;
	padding: 5px .5em;
	color: #666;
	font-size: 12px;
}

#footer-inner {
	max-width: 1000px;
	margin: 0 auto;
}

#footerb {
	padding: 5px .5em;
	color: #666;
	font-size: 12px;
}

#footerb-inner {
	max-width: 1000px;
}

#navb ul li {
	padding-top: .2em;
}

#navb a {
	color: #fff;
	text-decoration: none;
	text-transform: uppercase;
	letter-spacing: 1px;
}

#navb .on a {
	color: #FF854E;
}

.soc-icons {
	float: right;
	width: 300px;
}

.copyright {
	float: right;
}

.lunarpages {
	float: left;
}

.footer_right {
	float: right;
}

/* MOBILE
-----------------------------------------------------------------------------*/
@media only screen and (max-width: 767px) {
	
	#nav ul li { border-bottom: 1px solid #555; padding: 10px 0; width:100%; margin: 0;}
	#nav ul li:last-child {border:0; padding-bottom: 0;}
	#nav .on { text-decoration: none; }
	#nav a { padding: 25px 0; }
	#nav { width: 100%; }
	#blocks li { margin-bottom: 10px; }
	#main aside { border-left: 0px; }
	#main aside .inner { padding: 0px; }
	.soc-icons { display: none; }
	#nav ul li:last-child {border:0; padding-bottom: 0;}
	#content { 	box-shadow: none; padding: 0 .5em; }
	body { background-color: white; }
	
}