html, body, div, span, iframe, h1, h2, h3, h4, h5, p, pre, a, code, em, img, small, strike, strong, fieldset, form, label, legend, table, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline
}
.clear {
	clear: both
}
table {
	border-collapse: collapse;
	border-spacing: 0
}
a {
	color: #428bca;
	text-decoration: none
}
a:hover {
	color: #327bba;
	text-decoration: underline
}
html{height:101%}
body {
	width:100%;
	height:100%;
	background: #f5f6f7 url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAABqCAMAAABtVkrKAAAAM1BMVEUAAADO3+3W5fHT4/DA1um40eatyuLJ3OzF2uu0zuW80+ixzOSox+G/1eikxeDM3u2gwd3tFi9ZAAAAAXRSTlMAQObYZgAAAIlJREFUOMvtzEkKAzEMRFH1L0ueesj9Txvbyz5BIC4QSA9U9j9J79jxzpYtW7Zs+VEJpJCIAu5QTOg+xF1EraKcNuBhQXeRYvScGU6HOmEcNv/jmnDg48iWUHdWxzUhDHkF7yL1zNObLbhClMjk7ph3VALyhOrIgqyPHp1Z6lVHsuStrWne0liuL7uDCb2C3TbZAAAAAElFTkSuQmCC) repeat-x 0 0;
	font:14px/1.42 'Open Sans',sans-serif;
	font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Roboto","Oxygen","Ubuntu","Cantarell","Fira Sans","Droid Sans","Helvetica Neue",Arial,sans-serif;
	font-weight: normal;
	font-size: 13px;
	line-height: 1.4em;
}
h1 {
	font-size: 22px;
	padding: 6px 0 16px
}
h2 {
	font-size: 18px;
	padding: 6px 0 16px
}
h3 {
	font-size: 16px;
	padding: 6px 0 16px
}
p {
	padding: 4px 0 14px
}
strong {
	font-weight: bold
}
#container {
	width: 992px;
	margin: 0 auto
}
#header {
	height: 130px;
	position: relative
}
#header-infoblock {
	float: right;
	margin: 14px 0 0
}
#content-infoblock {
	margin: 10px auto;
	text-align: center
}
#content {
	background: #fff;
	padding: 20px 15px;
	border: 1px solid #eee;
	width: 534px;
	float: left
}
#left-sidebar {
	width: 172px;
	padding: 0 16px 0 0;
	min-height: 600px;
	float: left
}
#sidebar {
	width: 220px;
	float: right
}
#left-sidebar h3, #sidebar h3 {
	font-size: 12px;
	margin: 0;
	padding: 6px 20px;
	width: auto;
	display: inline-block;
	background: #369;
	color: #fafafa;
	border: 1px solid #eee;
	border-bottom: 0
}
#left-sidebar .box, #sidebar .box {
	padding: 12px;
	border: 1px solid #eee;
	margin: 0 0 25px 0;
	background: #fff
}
#sidebar .box.nopadding {
	padding: 0
}
.abox {
	padding: 6px 0 3px;
	border: 1px solid #eee;
	margin: 0 0 20px 0;
	background: #fff
}
#logo {
	float: left;
	margin: 46px 0 0
}
#items li {
	float: left;
	width: 120px;
	height: 180px;
	padding: 0 29px;
	text-align: center
}
#random li {
	display: block;
	width: 120px;
	height: 180px;
	padding: 0;
	text-align: center;
	margin: 0 auto
}
#random li .avatar-id,
#items li .avatar-id {
	color: #bbb;
	text-align: right;
	display: block;
	font-size: 12px;
	padding: 1px 0;
	margin: 0 15px
}
#random li .title,
#items li .title {
	color: #333;
	display: block;
	font-size: 13px;
	padding: 2px 0;
	margin: 0 -5px
}

#random li .in-category,
#items li .in-category {
	display: block;
	font-size: 12px;
	color: #777
}

/* index category list */

#index-categories li {
	width: 50%;
	height: 180px;
	margin: 0;
	padding: 0;
	float: left
}

#index-categories li a {
	width: 240px;
	height: 150px;
	overflow: hidden;
	margin: 0 auto;
	display: block;
	padding: 0;
	position: relative;
	border: 1px solid #000
}

#index-categories li a .category-title {
	position: absolute;
	top: 20px;
	left: 10px;
	padding: 4px;
	font-size: 38px;
	line-height: 38px
}

#index-categories li a .category-title strong {
	background: #000;
	color: #fff;
	padding: 0 6px;
	font-weight: bold
}

#index-categories li a:hover .category-title strong {
	color: #000;
	background: #fff
}

#index-categories li img {
	float: left;
	width: 80px;
	height: 80px
}

#footer {
	margin: 20px 0 0;
	border-top: 1px solid #c0d6e9;
	padding: 16px 20px;
	height: 35px;
	background: #cedfed;
	font-size: 12px;
	color: #445
}
#copyright {
	padding: 2px 0;
	margin: 0;
	float: right;
	text-align: right
}
#footer-links {
	padding: 0;
	margin: 0;
	float: left
}
#footer-links li {
	padding: 2px 0
}
.paginator {
	text-align: center;
	margin: 25px 0;
	padding: 0;
	font-size: 120%;
	color: #bbb
}
.paginator span {
	color: #333
}
.paginator .current {
	font-weight: bold
}
#category-menu, .box ul, #footer ul, ul#items {
	list-style: none;
	padding: 0;
	margin: 0;
}
#category-menu li {
	border-bottom: 1px dotted #ccc;
	padding: 0;
	margin: 0;
}
#category-menu li a {
	display: block;
	margin: 4px 0;
	font-size: 15px;
	padding: 5px 0 5px 50px
}
#category-menu li a span.small {
	display: block;
	font-size: 11px
}
#category-menu li a span.count {
	color: #aaa;
	font-size: 13px
}
#category-menu li a.active {
	color: #000
}
#breadcrumbs {
	text-align: right;
	color: #777;
	margin: 0;
	padding: 6px 0 0;
	font-size: 90%
}
#breadcrumbs a {
	color: #333
}
.url {
	font-family: monospace;
	border: 1px solid #eee;
	padding: 2px 3px
}

/* buttons */
.button {
	cursor: pointer;
	display: inline-block;
	background-color: #e6e6e6;
	background-repeat: no-repeat;
	background-image: -webkit-gradient(linear,0 0,0 100%,from(#fffffe), color-stop(25%,#fffffe), to(#e6e6e6));
	background-image: -webkit-linear-gradient(#fffffe,#fffffe 25%,#e6e6e6);
	background-image: -moz-linear-gradient(top,#fffffe,#fffffe 25%,#e6e6e6);
	background-image: -ms-linear-gradient(#fffffe,#fffffe 25%,#e6e6e6);
	background-image: -o-linear-gradient(#fffffe,#fffffe 25%,#e6e6e6);
	background-image: linear-gradient(#fffffe,#fffffe 25%,#e6e6e6);
	padding: 5px 13px 5px;
	text-shadow: 0 1px 1px #ccc;
	color: #333;
	font-size: 11px;
	line-height: normal;
	border: 1px solid #ccc;
	border-bottom-color: #bbb;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	-webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,0.2), 0 1px 2px rgba(0,0,0,0.05);
	-moz-box-shadow: inset 0 1px 0 rgba(255,255,255,0.2), 0 1px 2px rgba(0,0,0,0.05);
	box-shadow: inset 0 1px 0 rgba(255,255,255,0.2), 0 1px 2px rgba(0,0,0,0.05);
	-webkit-transition: 0.1s linear all;
	-moz-transition: 0.1s linear all;
	-ms-transition: 0.1s linear all;
	-o-transition: 0.1s linear all;
	transition: 0.1s linear all
}
.button.danger, .button.error, .alert-message.danger, .alert-message.error {
	background-color: #c43c35;
	background-repeat: repeat-x;
	background-image: -khtml-gradient(linear,left top,left bottom,from(#ee5f5b), to(#c43c35));
	background-image: -moz-linear-gradient(top,#ee5f5b,#c43c35);
	background-image: -ms-linear-gradient(top,#ee5f5b,#c43c35);
	background-image: -webkit-gradient(linear,left top,left bottom,color-stop(0%,#ee5f5b), color-stop(100%,#c43c35));
	background-image: -webkit-linear-gradient(top,#ee5f5b,#c43c35);
	background-image: -o-linear-gradient(top,#ee5f5b,#c43c35);
	background-image: linear-gradient(top,#ee5f5b,#c43c35);
	text-shadow: 0 -1px 0 rgba(0,0,0,0.25);
	border-color: #c43c35 #c43c35 #882a25;
	border-color: rgba(0,0,0,0.1) rgba(0,0,0,0.1) fadein(rgba(0,0,0,0.1), 15%)
}
.button.success, .alert-message.success {
	background-color: #57a957;
	background-repeat: repeat-x;
	background-image: -khtml-gradient(linear,left top,left bottom,from(#62c462), to(#57a957));
	background-image: -moz-linear-gradient(top,#62c462,#57a957);
	background-image: -ms-linear-gradient(top,#62c462,#57a957);
	background-image: -webkit-gradient(linear,left top,left bottom,color-stop(0%,#62c462), color-stop(100%,#57a957));
	background-image: -webkit-linear-gradient(top,#62c462,#57a957);
	background-image: -o-linear-gradient(top,#62c462,#57a957);
	background-image: linear-gradient(top,#62c462,#57a957);
	text-shadow: 0 -1px 0 rgba(0,0,0,0.25);
	border-color: #57a957 #57a957 #3d773d;
	border-color: rgba(0,0,0,0.1) rgba(0,0,0,0.1) fadein(rgba(0,0,0,0.1), 15%)
}
.button.info, .alert-message.info {
	background-color: #339bb9;
	background-repeat: repeat-x;
	background-image: -khtml-gradient(linear,left top,left bottom,from(#5bc0de), to(#339bb9));
	background-image: -moz-linear-gradient(top,#5bc0de,#339bb9);
	background-image: -ms-linear-gradient(top,#5bc0de,#339bb9);
	background-image: -webkit-gradient(linear,left top,left bottom,color-stop(0%,#5bc0de), color-stop(100%,#339bb9));
	background-image: -webkit-linear-gradient(top,#5bc0de,#339bb9);
	background-image: -o-linear-gradient(top,#5bc0de,#339bb9);
	background-image: linear-gradient(top,#5bc0de,#339bb9);
	text-shadow: 0 -1px 0 rgba(0,0,0,0.25);
	border-color: #339bb9 #339bb9 #22697d;
	border-color: rgba(0,0,0,0.1) rgba(0,0,0,0.1) fadein(rgba(0,0,0,0.1), 15%)
}
.button:hover {
	background-position: 0 -15px;
	color: #333;
	text-decoration: none
}
.button:focus {
	outline: 1px dotted #666
}
.button.primary {
	color: #fff;
	background-color: #0064cd;
	background-repeat: repeat-x;
	background-image: -khtml-gradient(linear,left top,left bottom,from(#049cdb), to(#0064cd));
	background-image: -moz-linear-gradient(top,#049cdb,#0064cd);
	background-image: -ms-linear-gradient(top,#049cdb,#0064cd);
	background-image: -webkit-gradient(linear,left top,left bottom,color-stop(0%,#049cdb), color-stop(100%,#0064cd));
	background-image: -webkit-linear-gradient(top,#049cdb,#0064cd);
	background-image: -o-linear-gradient(top,#049cdb,#0064cd);
	background-image: linear-gradient(top,#049cdb,#0064cd);
	text-shadow: 0 -1px 0 #444;
	border-color: #0064cd #0064cd #003f81;
	border-color: rgba(0,0,0,0.1) rgba(0,0,0,0.1) fadein(rgba(0,0,0,0.1), 15%)
}
.button:active, .button.active {
	-webkit-box-shadow: inset 0 2px 4px rgba(0,0,0,0.25), 0 1px 2px rgba(0,0,0,0.05);
	-moz-box-shadow: inset 0 2px 4px rgba(0,0,0,0.25), 0 1px 2px rgba(0,0,0,0.05);
	box-shadow: inset 0 2px 4px rgba(0,0,0,0.25), 0 1px 2px rgba(0,0,0,0.05)
}
.button.disabled {
	cursor: default;
	background-image: none;
	filter: alpha(opacity=65);
	-khtml-opacity: 0.65;
	-moz-opacity: 0.65;
	opacity: 0.65;
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	box-shadow: none
}
.button[disabled] {
	cursor: default;
	background-image: none;
	filter: alpha(opacity=65);
	-khtml-opacity: 0.65;
	-moz-opacity: 0.65;
	opacity: 0.65;
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	box-shadow: none
}
.button.large {
	font-size: 15px;
	line-height: normal;
	padding: 9px 14px 9px;
	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
	border-radius: 6px
}
.button.small {
	padding: 3px 6px;
	font-size: 11px
}

.related {
	list-style: none;
	padding: 2px;
	outline: 1px dotted #bbb;
	margin: 2px 0 15px;
	overflow: hidden;
	display: inline-block;
	display: block
}

.related li {
	float: left;
	margin: 2px;
	padding: 2px;
	width: 45px;
	height: 45px;
	text-align: center
}

.description {
	margin: 20px 0;
	color: #555
}

.description p {
	text-indent: 2em;
	margin: .7em 0;
	padding: 0
}

.tmp-img {
	border: 2px solid #fafafa
}

.tmp-selected {
	border: 2px dotted #ee1111
}

.input label {
	display: block
}

#top-buttons {
	height:32px;
	float: right;
	margin: 72px 99px 0 0
}

.top-button {
	text-indent:0;
	border:1px solid #3866a3;
	display:inline-block;
	color:#14396a;
	font-size:15px;
	font-weight:bold;
	font-style:normal;
	height:32px;
	line-height:32px;
	text-decoration:none;
	text-align:center;
	float: left;
	margin: 0 4px;
	padding: 0 20px;
	background: #369;
	color: #fafafa
}
.top-button:hover {
	background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #468ccf), color-stop(1, #63b8ee) );
	background:-moz-linear-gradient( center top, #468ccf 5%, #63b8ee 100% );
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#468ccf', endColorstr='#63b8ee');
	background-color:#468ccf
}
.top-button:active {
	position:relative;
	top:1px
}

.top-button.selected {
	background: #f5f6f7;
	color: #347;
	border-bottom: 1px solid #f5f6f7
}

/* jquery.Jcrop.min.css */
.jcrop-holder{direction:ltr;text-align:left}
.jcrop-vline,.jcrop-hline{background:#FFF url('/img/site/jcrop.gif') top left repeat;font-size:0;position:absolute}
.jcrop-vline{height:100%;width:1px!important}
.jcrop-hline{height:1px!important;width:100%}
.jcrop-vline.right{right:0}
.jcrop-hline.bottom{bottom:0}
.jcrop-handle{background-color:#333;border:1px #eee solid;font-size:1px}
.jcrop-tracker{-webkit-tap-highlight-color:transparent;-webkit-touch-callout:none;-webkit-user-select:none;height:100%;width:100%}
.jcrop-handle.ord-n{left:50%;margin-left:-4px;margin-top:-4px;top:0}
.jcrop-handle.ord-s{bottom:0;left:50%;margin-bottom:-4px;margin-left:-4px}
.jcrop-handle.ord-e{margin-right:-4px;margin-top:-4px;right:0;top:50%}
.jcrop-handle.ord-w{left:0;margin-left:-4px;margin-top:-4px;top:50%}
.jcrop-handle.ord-nw{left:0;margin-left:-4px;margin-top:-4px;top:0}
.jcrop-handle.ord-ne{margin-right:-4px;margin-top:-4px;right:0;top:0}
.jcrop-handle.ord-se{bottom:0;margin-bottom:-4px;margin-right:-4px;right:0}
.jcrop-handle.ord-sw{bottom:0;left:0;margin-bottom:-4px;margin-left:-4px}
.jcrop-dragbar.ord-n,.jcrop-dragbar.ord-s{height:7px;width:100%}
.jcrop-dragbar.ord-e,.jcrop-dragbar.ord-w{height:100%;width:7px}
.jcrop-dragbar.ord-n{margin-top:-4px}
.jcrop-dragbar.ord-s{bottom:0;margin-bottom:-4px}
.jcrop-dragbar.ord-e{margin-right:-4px;right:0}
.jcrop-dragbar.ord-w{margin-left:-4px}
.jcrop-light .jcrop-vline,.jcrop-light .jcrop-hline{background:#FFF;filter:Alpha(opacity=70)!important;opacity:.70!important}
.jcrop-light .jcrop-handle{-moz-border-radius:3px;-webkit-border-radius:3px;background-color:#000;border-color:#FFF;border-radius:3px}
.jcrop-dark .jcrop-vline,.jcrop-dark .jcrop-hline{background:#000;filter:Alpha(opacity=70)!important;opacity:.7!important}
.jcrop-dark .jcrop-handle{-moz-border-radius:3px;-webkit-border-radius:3px;background-color:#FFF;border-color:#000;border-radius:3px}
.jcrop-holder img,img.jcrop-preview{max-width:none}

/* responsive */
.gif-avatars-sidebar { width: 170px; height: 600px; }

@media all and (max-width: 960px) {
	#left-sidebar, .gif-avatars-sidebar {
		display: none
	}
	#container {
		width: 800px
	}
}

@media all and (max-width: 759px) {
        #container {
                width: 100%;
		margin: 0;
        }
	#content {
		width: auto;
		margin: 10px 0;
		float: none
	}
	#sidebar {
		width: 100%;
		float: none;
		margin: 10px 0
	}

	#items {
		margin: 10px 0;
		padding: 0
	}

	#items li {
		width: 33%;
		overflow: hidden;
		margin: 10px 0;
		padding: 0
	}

	#top-buttons {
		margin: 0;
		padding: 10px 0 0;
		float: none
	}

	#logo {
		display: block;
		float: none;
		clear: both;
		margin: 0;
		padding: 40px 20px 23px
	}
	#social-buttons {
		display: none
	}
}
