@import url('syntax.css');
@import url('mobilemenu.css');
@import url(http://fonts.googleapis.com/css?family=Open+Sans:400,600);

* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

::selection {
	color:white;
	background: #323232;
	}

::-moz-selection {
	color:white;
	background: #323232;
}

html {
	overflow-y: scroll;
	font-size: 100%;
}

body {
	font-family: 'Open Sans', serif;
	font-size: 0.875em;
	color: rgb(50,50,50);
	background:rgb(245,245,245);
}

.footers:after {
content: "";
display: table;
clear: both;
}

.container {
	max-width:60em;
	margin:0 auto;
}

img {
	border-radius: 5px;
}

a {
	text-decoration:underline;
}

a:link {
	color: rgb(50, 50, 50);
}

a.highlighted:link {
	color: #e06d2e;
}

a:visited {
	color: rgb(120, 120, 120);
}

a.highlighted:visited  {
	color: #e06d2e;
}

a:hover,
a:active {
		color: #e06d2e;
}

a.highlighted:hover,
a.highlighted:active {
		color: #e06d2e;
}

h1, h2, h3, h4, h5 {
	font-weight:600;
	margin:0.875rem 0.875rem 0.475rem;
}

h1 { font-size: 1.6rem; }
h2 { font-size: 1.4rem; }
h3 { font-size: 1.2rem; }
h4 { font-size: 1.05rem; }
h5 { font-size: 0.9rem; }

p {
	margin:0.875rem 0.875rem 0;
}

strong {
	font-weight: 600;
}

img {
	max-width: 100%;
	height: auto;
	vertical-align: top; 
}


h1+p,
h2+p,
h3+p {
	margin-top:0;
}

nav {
	float:right;
}

.ulist-m {
	margin:.5em 0.875rem 0 0;
}

nav li {
	list-style-type: none;
}


nav a {
	float:right;
	text-decoration: none;
	font-weight:600;
	padding:.5em 1em;
}


nav a:first-child {
	padding-right:0;
}

.subnav a {
	text-decoration:underline;
}

.subnav a:hover {
	color:#0066FF;
}

ul,ol {
	margin:0.875rem 0.875rem 0;
	padding: 0 0 0 1.4rem;
}

ul ol,
ol ul,
ul ul,
ol ol {
	margin:0;
}

ul {
	list-style: disc outside;
}

ol {
	list-style-type: decimal;
}

header[role="banner"] {
	background:rgba(250,250,250,0.5);
	width:100%;
	box-shadow: 0 0 30px rgba(150,150,150,0.1);
	max-width:none;
}

header img.logo {
	max-height:60px;
	margin:.5em 0;
	float:left;
}

.footing {
	padding-top:.5em;
}

footer {
	margin-bottom:1.75rem !important;
}

footer img {
	margin:auto;
}

footer div.col-xs-6 {
	margin-left:0.875rem !important;
}

.icon {
	width:1.5em;
	height:1.5em;
	margin:0 0 0 1em;
	float:right;
	opacity:.5;
	transition:opacity .2s;
	-webkit-transition:opacity .2s;
}

.icon:hover {
	opacity:1;
}

blockquote {
	margin:1.4rem 2.2rem 0;
	border-left: 1px solid rgba(50,50,50,0.4);
	padding: 0.875rem;
	font-style:italic;
}

.info, .warning, .important, .box, .footers {
	border-radius: 5px;
	padding:.4em 0.875rem;
	margin:1.4rem 0 0 0;
	border-top:1px solid rgba(50,50,50,.1);
	box-shadow: 0 1px 2px rgba(50,50,50,.6);
}

.box {
	text-align:center;
	font-weight:600;
	padding:0.875rem;
}

.box span{
	color:#990000;
}

.footers {
	padding:0.875rem;
}

.footers2 {
	color: rgba(50,50,50,0.5);
}

.info:before {
	Content: "Info!";
	display:block;
	font-weight:600;
	color:#0066FF;
}

.warning:before {
	Content: "Warning!";
	display:block;
	font-weight:600;
	color:#990000;
}

.important:before {
	Content: "Important!";
	display:block;
	font-weight:600;
	color:#339933;
}

/*CSS for Unity to be scalable */

#unity-styles {
	position: relative;
	margin-top:1.4rem;
}

#unity-styles2 {
	padding-top: 56.25%;
}

.unity-styles3, .unityjshack {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
}

.unity-styles3 > embed {
		border-radius: 5px;
}

.unityhide {
	display:none;
}

.unityjshack {
	padding-top:25%;
	cursor:pointer;
	text-align:center;
	font-weight:bold;
	font-size:1.17em;
	border-radius: 5px;
	border-top:1px solid rgba(50,50,50,.1);
	box-shadow: 0 1px 2px rgba(50,50,50,.6);
}

@media all and (max-width: 60em) {

	.mobile-unity {
		display:none;
	}

}

table, th, td {
	border: 1px solid #CCCCCC;
	padding: 0.7em;
}

div.more:before {
	content: ">> ";
}

div.more {
	text-align: right;
}

/* bootstap fix */
a.btn-default {
	text-decoration: none;
}

a.btn-success {
	color: #fff;
	text-decoration: none;
}

a.btn-primary {
	color: #fff;
	text-decoration: none;
}

/* Unity frame */

.unity-frame {
    /* display: table; */
    text-align: center;
    width: 300px;
    height: 200px;
    background-image: url('unity_bg.png');
    position: relative;
    border-radius: 5px;
}
.unity-frame .inside {
    display: inline-block;
    text-align: center;
    /* padding-top: 50%; */
    /* vertical-align: middle; */
    /*background-color: red;*/
}

.unity-frame .not-running {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 200px;
    height: 150px;
    margin: auto;
    background: url('play_flipover.png');
    background-position: 0% 100%;
    cursor: pointer;
}

.unity-frame .not-running:hover {
	background-position: 0 0;
}

.unity-frame .running {
    display: none;
}

.big-search {
	width: 75%;
	height: 1.5em;
	font-size: 20pt;
	display: block;
	margin: auto;
	color:666;
	border-radius: 5px;
}

.showcase {
	text-align: center;
	font-size: 14pt;
	padding-top: 10px;
	padding-bottom: 10px;
}

.showcase .name {
	padding-top: 5px;
	font-weight: bold;
}