/*
 * Basic elements
 */

body {
	margin: 0;
	padding: 0;
	overflow: hidden;
}
iframe {
	border: none;
	margin: 0;
	padding: 0;
	width: 100%;
	display: block;
}
div#nav-bar {
	width: 100%;
	height: 48px;
	line-height: 48px;
	position: absolute;
	bottom: 0;
	z-index: 20;
	background: #fff;
	color: #333;
	font: normal 13px Arial, Helvetica, sans-serif;
	box-shadow: 0 0 4px rgba(0, 0, 0, 0.4);
	-moz-box-shadow: 0 0 4px rgba(0, 0, 0, 0.4);
	-webkit-box-shadow: 0 0 4px rgba(0, 0, 0, 0.4);
	-ms-box-shadow: 0 0 4px rgba(0, 0, 0, 0.4);
	-o-box-shadow: 0 0 4px rgba(0, 0, 0, 0.4);
}
div#nav-bar div.inner {
	width: 410px;
	margin: 0 auto
}
/*
 * Selectors in nav-bar
 */

div#selector-extensions,
div#selector-templates {
	background: url('../images/arrow_up.png') no-repeat 25px 0;
	float: left;
	width: 200px;
	height: 48px;
	line-height: 48px;
	border-left: 1px solid #eee;
	border-right: 1px solid #eee;
	text-align: center;
	cursor: pointer;
	font-weight: bold;
}
div#selector-templates {
	border-right: none;
}
div#selector-extensions:hover,
div#selector-templates:hover {
	color: #000;
	background-color: #f7f7f7;
}
/*
 * Templates list
 */

div#templates-hide,
div#extensions-hide {
	position: absolute;
	bottom: 48px;
	z-index: 10;
	overflow: hidden;
	width: 614px;
	background: #fff;
	color: #333;
	font: normal 12px Arial, Helvetica, sans-serif;
	line-height: 28px;
	box-shadow: 0 0 4px rgba(0, 0, 0, 0.4);
	-moz-box-shadow: 0 0 4px rgba(0, 0, 0, 0.4);
	-webkit-box-shadow: 0 0 4px rgba(0, 0, 0, 0.4);
	-ms-box-shadow: 0 0 4px rgba(0, 0, 0, 0.4);
	-o-box-shadow: 0 0 4px rgba(0, 0, 0, 0.4);
}
div#extensions-hide {
	z-index: 11;
}
div#list-templates,
div#list-extensions {
	overflow: hidden;
	padding: 20px;
}
div#list-templates .column {
	float: left;
	width: 36%;
}
div#list-templates .column.last {
	width: 18%
}
.column {
	margin-left: 20px;
}
.column:first-child {
	margin-left: 0;
}
.column ul,
ul.thumbs {
	list-style-type: none;
	margin: 0;
	padding: 0;
}
.thumbs li {
	border-bottom: 1px solid #eee;
	padding: 4px 0 4px 4px;
	cursor: pointer;
}
.column h2 {
	margin: 0 0 10px;
	padding: 4px 4px 4px 20px;
	font-size: 12px;
	font-weight: bold;
	color: #333;
	background: #f6f6f6;
}
.column a,
.list-submenu div a,
#list-extensions a {
	text-decoration: none;
	font-weight: bold;
	color: #333;
}
.thumbs li:hover a,
.list-submenu div a:hover,
#list-extensions p:hover a {
	color: #E55E48;
}
div#list-extensions div p {
	float: left;
	width: 108px;
	background: #f9f9f9;
	border: 1px solid #eee;
	padding: 10px 10px 2px;
	margin: 0 12px 25px 0;
	text-align: center;
}
div#list-extensions div p:hover {
	background: #f1f1f1;
	border: 1px solid #dadada;
	cursor: pointer;
}
#list-extensions img {
	border-bottom: 1px solid #eee;
	padding-bottom: 5px;
}
.list-submenu {
	position: absolute;
	z-index: 25;
	overflow: hidden;
	width: 200px;
	background: #fff;
}
.list-submenu div {
	border: 2px solid #E55E48;
	width: 198px;
	padding: 20px;
	font: normal 12px Arial, Helvetica, sans-serif;
	line-height: 28px;
}
/*
 * Tooltips
 */

#tooltip {
	padding: 10px;
	border: 1px solid #eee;
	position: absolute;
	z-index: 25;
	background: #fff;
	-moz-box-shadow: 0px 0px 10px #333;
	-webkit-box-shadow: 0px 0px 30px #333;
}
#tooltip strong {
	display: block;
	margin: 0 0 5px 0;
}
#tooltip img {
	display: block;
	width: 200px;
	height: 160px;
}
/*
 * display:none class
 */

.unvisible { /* element goes out from document flow */
	position: absolute; /* go out left browser edge */
	left: -10000px; /* for some different browsers which needs both positioning coordinates */
	top: auto; /* additional rules for big resolutions and specific problems with positioning */
	width: 1px;
	height: 1px;
	overflow: hidden;
}
/*
 * Badges
 */
 
.badge-j16,
.badge-j15,
.badge-j10,
.badge-new,
.badge-hot,
.badge-free {
	color: #fff;
	background: #666;
	font-size: 9px;
	float: right;
	height: 13px;
	line-height: 13px;
	margin: 8px 0 0;
	padding: 0 3px;
}
.badge-j10 {
	background: #4299cb;
}
.badge-new {
	background: #8DC03C;
	margin-right: 4px;
}
.badge-hot {
	background: #E55E48;
	margin-right: 4px;
}
.badge-free {
	background: #5FAAE3;
	margin-right: 4px;
}
#join {
	background: #E55E48;
	border-radius: 2px;
	text-decoration: none;
	color: #fff !important;
	display: inline-block;
	font: 600 16px/36px Arial, Helvetica, sans-serif;
	height: 36px;
	margin: 6px 36px 0 0;
	float: right;
	padding: 0 28px !important;
	text-shadow: 0 0 1px rgba(0, 0, 0, 0.3);
	-moz-text-shadow: 0 0 1px rgba(0, 0, 0, 0.3);
	-webkit-text-shadow: 0 0 1px rgba(0, 0, 0, 0.3);
	-ms-text-shadow: 0 0 1px rgba(0, 0, 0, 0.3);
	-o-text-shadow: 0 0 1px rgba(0, 0, 0, 0.3);
}
#join:hover {
	background: #454242
}
