
@import url(https://fonts.googleapis.com/css?family=Roboto:400,500,700&subset=latin-ext);
@import url(dd-upload.css);

body {
	padding: 0;
	margin: 0;
	font-family: 'Roboto', sans-serif;
	background: #f0f0f0;
	/*background: url('../img/bg.png') repeat-y center;*/
}

input {
	font-family: 'Roboto', sans-serif;
}

a {
	color: #333;
}

.message {
	margin: 20px;
	border: 1px solid #999;
	background: #f6f6f6;
	padding: 10px;
	color: #444;
	font-weight: 500;
}

.notice {
	margin: 20px;
	border: 1px solid #900;
	background: #fee;
	padding: 10px;
	color: #900;
	font-weight: 500;
}

.hidden {
	display: none;
}

div.loading {
	padding: 20px 20px 50px 20px;
	text-align: center;
	font-size: 20px;
}

#header {
	background: #fa0000 url('../img/header-bg.png');
}

#header a {
	text-decoration: none;
}

#header .banner {
	text-align: center;
	padding: 8px;
}

#header-bar {
	width: 1060px;
	margin: 0 auto;
	height: 62px;
}

#header-bar h1 {
	margin: 0;
	padding: 0;
	float: left;
	background: url('../img/logo.png') no-repeat 28px 3px;
}

#header-bar h1 a {
	display: block;
	width: 145px;
	height: 62px;
}

#header-bar h1 span {
	display: none;
}

#header-bar a.button-a,
#header-bar a.button-b {
	display: block;
	float: left;
	margin: 7px 10px 0 0;
	padding: 8px 9px 6px 9px;
	border-style: solid;
	border-width: 2px;
	border-radius: 5px;
	font-size: 18px;
	font-weight: 500;
}

#header-bar a.button-a {
	background: #9c0000;
	color: white;
	border-color: white;
}

#header-bar a.button-a:hover {
	background: #f00;
	border-color: #7f0000;
}

#header-bar a.button-b {
	background: #ff0000;
	color: #7f0000;
	border-color: #7f0000;
}

#header-bar a.button-b:hover {
	color: #fff;
	border-color: #fff;
}

#header-search-form {
	margin: 11px 31px 0 0;
	padding: 0 22px 0 8px;
	float: right;
	display: block;
	border: 1px solid #7f0000;
	border-radius: 5px;
	height: 30px;
	background: white url('../img/search.png') no-repeat right center;
}

#header-search-form input {
	width: 156px;
	height: 28px;
	font-size: 17px;
	font-weight: 500;
	color: #7f0000;
	background: none;
	border: none;
	outline: none;
}

#header-search-form a {
	display: block;
	position: absolute;
	margin: 3px 0 0 156px;
	width: 20px;
	height: 25px;
}

#navigation-bar {
	background: #7f0000;
}

#navigation {
	width: 1060px;
	margin: 0 auto;
	height: 40px;
	font-size: 17px;
	font-weight: 500;
}

#categories-button {
	display: block;
	float: left;
	width: 123px;
	color: white;
	margin: 0 30px 0 20px;
	padding: 10px 0 9px 15px;
	background: url('../img/arrow-down.png') no-repeat 124px 19px;
}

#site-menu {
	margin: 0;
	padding: 0;
	list-style-type: none;
}

#site-menu li {
	float: left;
	margin-right: 26px;
}

#site-menu li a {
	display: block;
	color: #f00;
	padding: 10px 0 0 0;
	height: 28px;
}

#site-menu li a:hover {
	color: #fff;
}
	
#site-menu li a.active {
	border-bottom: 2px solid white;
}

#adultswitch {
	display: block;
	float: left;
	color: white;
	margin: 7px 0 0 49px;
	padding: 3px;
	width: 70px;
	background-position: 58px 6px;
	background-repeat: no-repeat;
}

#adultswitch.switched-on {
	background-image: url('../img/nsfw-checked.png');
}

#adultswitch.switched-off {
	background-image: url('../img/nsfw-unchecked.png');
}

#categories {
	width: 1060px;
	margin: 0 auto;
}

#categories ul {
	display: none;
	position: absolute;
	background: white;
	margin: 0 0 0 20px;
	padding: 0;
	list-style-type: none;
	background: white;
	-webkit-box-shadow: 3px 3px 10px -1px rgba(0,0,0,0.75);
	-moz-box-shadow: 3px 3px 10px -1px rgba(0,0,0,0.75);
	box-shadow: 3px 3px 10px -1px rgba(0,0,0,0.75);
}

#categories li {
	border-bottom: 1px solid #ccc;
}

#categories a {
	display: block;
	padding: 4px 15px;
	font-size: 13px;
	color: black;
	font-weight: 500;
}

#categories li:first-child a {
	padding-top: 6px;
}

#categories a:hover {
	background: #eee;
}

#categories a span {
	font-weight: normal;
    font-size: 9px;
    color: #aaa;
    vertical-align: bottom;
    line-height: 13px;
    padding: 0 0 0 2px;
}

#main {
	width: 740px;
	margin: 0 auto;
	padding: 10px 320px 0 0;
	/*background: #f0f0f0;*/
}

#side {
	position: absolute;
	margin: 0 0 0 720px;
	width: 300px;
	padding: 0 20px 20px 20px;
	/*background: #f0f0f0;*/
}

#side .banner {
	text-align: center;
	margin: 0 0 10px 0;
}

#side ul.side-post-list {
	list-style-type: none;
	margin: 10px 0 0 0;
	padding: 0;
}

#side ul.side-post-list li {
	padding: 0;
	margin: 0 0 10px 0;
}

#side ul.side-post-list li img {
	width: 300px;
	border: none;
	display: block;
}

#newsletter {
	background: #d8d8d8;
	text-align: center;
	padding: 10px;
	margin: 10px 0 10px 0;
	color: #666666;
}

h2 {
	font-weight: 500;
	margin: 10px 20px;
	padding: 0;
	font-size: 25px;
	color: #7c0000;
}

input.text,
input.button,
a.button,
select.select,
textarea.text {
	border: 1px solid #999999;
	color: #666;
	border-radius: 5px;
	font-size: 17px;
	font-weight: 500;
	padding: 5px;
	margin: 5px 0;
	text-decoration: none;
}

select.select {
	height: 32px;
}

a.button,
input.button {
	background: #cacaca;
	padding: 5px 10px;
	color: #444 !important;
}

a.button:hover,
input.button:hover {
	background: #c00;
	border-color: #600;
	color: #fff !important;
	cursor: pointer;
}

input.text {
	background: white;
}

input.tiny,
select.tiny {
	width: 100px;
}

input.small,
select.small {
	width: 200px;
}

input.wide,
select.wide {
	width: 500px;
}

textarea.large {
	width: 500px;
	height: 150px;
}

ul.gallery {
	list-style-type: none;
	margin: 0;
	padding: 0;
}

ul.gallery li {
	display: block;
	background: white;
	margin: 0 0 20px 20px;
	width: 700px;
	color: #737373;
}

ul.gallery img {
	border: none;
	width: 700px;
}

ul.gallery a {
	color: #737373;
}

ul.gallery a:hover {
	color: black;
}

ul.gallery h3 {
	padding: 1px 10px 0 13px;
	margin: 0;
	font-size: 30.5px;
	font-weight: 500;
}

ul.gallery a.titlelink {
	text-decoration: none;
}

ul.gallery div.description {
    padding: 4px 14px 11px 14px;
    font-size: 16px;
	border-bottom: 1px solid #f0f0f0;
	line-height: 20px;
}

ul.gallery div.tags {
	padding: 8px 14px 7px 35px;
    font-size: 11.6px;
    border-bottom: 1px solid #f0f0f0;
    font-weight: bold;
	font-family: arial, helvetica, sans-serif;
	background: url('../img/tags.png') no-repeat 14px 8px;
}

ul.gallery div.info {
    padding: 7px 14px 7px 15px;
    font-size: 12px;
    font-weight: 500;
}

ul.gallery span.views {
	padding-left: 21px;
	background: url('../img/views.png') no-repeat 2px 2px;
}

ul.gallery a.comments {
	padding-left: 21px;
	background: url('../img/comments.png') no-repeat 2px 0px;
	text-decoration: none;
}

ul.gallery div.actions {
	display: block;
	position: absolute;
	margin: 4px 0 0 500px;
	width: 195px;
	text-align: right;
}

ul.gallery a.action {
	display: inline-block;
	width: 21px;
	height: 21px;
}

ul.gallery a.action span {
	display: none;
}

ul.gallery a.up {
	background: url('../img/up.png') no-repeat;
}

ul.gallery a.down {
	background: url('../img/down.png') no-repeat;
}

ul.gallery a.share {
	background: url('../img/share.png') no-repeat;
}

ul.gallery div.facebook {
	display: inline-block;
	line-height: 8px;
}

ul.gallery span.rate {
	display: inline-block;
	vertical-align: top;
	padding: 5px 2px 0 0;
	color: #999999;
	font-size: 14px;
	line-height: 12px;
}

ul.gallery div.last-comment {
    border-top: 1px solid #f0f0f0;
	padding: 7px 14px 7px 15px;
	font-size: 12px;
}

ul.gallery div.last-comment-info {
	font-weight: 500;
	padding-bottom: 3px;
}

#addCommentForm {
	margin: 20px;
}

#addCommentForm textarea {
	width: 688px;
	height: 150px;
}

div.comment {
	margin: 20px;
	clear: both;
}

div.comment div.avatar {
	width: 48px;
	height: 48px;
	border: 1px solid #666666;
	padding: 1px;
	background: white url('../img/user.png') no-repeat 1px 1px;
	background-size: 48px 48px;
	position: absolute;
}

div.comment div.avatar a {
	display: block;
	width: 48px;
	height: 48px;
}

div.comment div.avatar img {
	width: 48px;
	height: 48px;
	display: block;
	border: none;
}

div.comment svg {
	position: absolute;
	margin: 19px 0 0 54px;
	width: 7px;
	height: 14px;
}

div.comment div.bubble {
	margin: 0 0 0 60px;
	padding: 5px;
	border: 1px solid #666666;
	border-radius: 4px;
	background: #fff;
	font-size: 14px;
	color: #444444;
}

div.comment div.bubble a {
	color: #0099ff;
}

div.comment-info {
	border-bottom: 1px solid #666666;
	margin: 0 0 7px 0;
	padding: 2px 2px 6px 2px;
	text-align: right;
}

div.comment-info a {
	text-decoration: none;
	float: left;
}

div.comment div.text {
	margin: 1px;
	overflow-wrap: break-word;
	word-wrap: break-word;
	/*-ms-word-break: break-all;*/
	/*word-break: break-all;*/
	word-break: break-word;
	/*-ms-hyphens: auto;
	-moz-hyphens: auto;
	-webkit-hyphens: auto;
	hyphens: auto;*/
}

div.comment div.showComment {
	cursor: pointer;
	color: #0099ff;
}

div.comment div.bottom {
	margin: 5px 1px 0 1px;
	text-align: right;
	line-height: 12px;
	height: 22px;
}

div.comment span.reply-to {
	display: block;
	padding: 5px 0 0 0;
	float: left;
	color: #999;
}

div.comment span.reply-to a {
	color: #999;
}

div.comment a.rate-up,
div.comment a.rate-down {
	display: inline-block;
	margin: 0;
	width: 21px;
	height: 21px;
	background-repeat: no-repeat;
}

div.comment a.rate-up {
	background-image: url('../img/up.png');
}

div.comment a.rate-down {
	background-image: url('../img/down.png');
}

div.comment span.rate {
	display: inline-block;
	vertical-align: top;
	padding: 5px 2px 0 0;
	color: #999999;
}

div.comment a.reply {
	display: inline-block;
	vertical-align: top;
	padding: 5px 3px 0 0;
	margin: 0 0 0 3px;
	text-decoration: none;
}





form.pageform {
	margin: 20px;
	padding: 20px;
	border: 1px solid #999;
	background: #f6f6f6;
}

table.form {
	margin: 0 auto;
}

table.form th {
	text-align: right;
	font-weight: normal;
	vertical-align: top;
	padding: 13px 13px 0 10px;
}

table.form th.required {
	font-weight: bold;
}

table.form tr.error {
	background: #fee;
	outline: 1px solid #fcc;
}

table.form tr.error th {
	color: #900;
}

form .instruction {
	font-size: 14px;
	color: #666;
	margin: 0 0 10px 0;
}

#login {
	width: 300px;
}

#login h2 {
	text-align: center;
	margin: 10px 0 20px 0;
}

#login form {
	padding-bottom: 10px;
}

.window-active {
	background: white;
	padding: 15px;
}

div.message-window {
	width: 300px;
}

div.share-menu {
	display: none;
	background: white;
    position: absolute;
	box-shadow: #666 0 0 6px;
    z-index: 100;
}

div.share-menu a {
	display: block;
	font-size: 15px;
	color: #333333;
	text-decoration: none;
	padding: 7px 10px 4px 10px;
	border-bottom: 1px solid #d1d1d1;
}

div.share-menu a:hover {
	background: #eee;
}



div.profile {
	margin: 0 12px 12px 12px;
	padding: 10px 10px 18px 10px;
	border: 1px solid #999;
	background: #f6f6f6;
}

div.profile img {
	display: block;
	width: 96px;
	height: 96px;
	border: 1px solid #666;
	float: right;
}

table.datasheet {
	border-collapse: collapse;
	margin: 10px 0;
}

table.datasheet th {
	text-align: left;
	font-weight: normal;
	padding: 4px 10px 4px 0;
}

table.datasheet td {
	font-weight: 500;
	padding: 4px 0;
}

ul.picture-gallery {
	list-style-type: none;
	margin: 0;
	padding: 0;
}

ul.picture-gallery li {
	display: block;
	background: white;
	margin: 0 0 20px 20px;
	width: 700px;
}

ul.picture-gallery li h4 {
	padding: 7px 10px;
	margin: 0;
	font-size: 20px;
	font-weight: 500;
}

ul.picture-gallery li img {
	display: block;
	width: 700px;
}

#bubble {
	display: block;
	text-align: center;
	margin-bottom: 10px;
}
