/*---------------------------
		GENERAL
-----------------------------*/
@font-face {
  font-family: 'Typicons';
  src: url("fonts/typicons.eot");
  src: url("fonts/typicons.eot?iefix") format("eot"), url("fonts/typicons.woff") format("woff"), url("fonts/typicons.ttf") format("truetype"), url("fonts/typicons.svg#TypiconsRegular") format("svg");
}

@font-face {
  font-family: 'Open Sans';
  src: url("fonts/opensans.eot");
  src: url("fonts/opensans.eot?iefix") format("eot"), url("fonts/opensans.woff") format("woff"), url("fonts/opensans.ttf") format("truetype"), url("fonts/opensans.svg#open_sansregular") format("svg");
}

html {
    -webkit-text-size-adjust: 100%; /* Prevent font scaling in landscape */
}

section {
  display: block;
  float: left;
}

table {
  border-collapse: collapse;
}

body {
  margin: 0px;
  padding: 0px;
  border: 0px;
  font-family: 'Open Sans',LucidaGrande,Helvetica,Verdana,Arial,sans;
  font-size:14px;
  line-height:1.5em;
  min-width:0;
}

body *:hover {
  text-decoration: none;
}

img {
  border: 0;
  font-size:0;
}

a {
  color: #f5802a;
  text-shadow: 1px 1px 0px black;
  text-decoration:none;
}

a:hover {
  text-decoration: underline;
}

a:focus {
	outline:0;
}

a.button, input[type="submit"].button, .itemCommentsForm a {
	border-radius: 3px;
	border: 1px solid black;
	padding: 5px 20px;
	box-shadow:0px 1px 1px rgba(255,255,255,0.5) inset;

	color: white !important;
	text-shadow: 1px 1px 1px rgba(0,0,0,0.4);
	font-weight: normal;
	
	behavior: url(website/static/css/PIE.htc);
}

.upload {
	display:inline-block;
	border-radius:2px;
	padding:0px 7px;
	color:#000;
	font-family:sans-serif;
	font-size:0.95em;
	border:1px solid #9e9e9e;
	width:auto;
	float:left;
	
	background: #f4f4f4;
	background: -moz-linear-gradient(top, #f4f4f4 0%, #dedede 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f4f4f4), color-stop(100%,#dedede));
	background: -webkit-linear-gradient(top, #f4f4f4 0%,#dedede 100%);
	background: -o-linear-gradient(top, #f4f4f4 0%,#dedede 100%);
	background: -ms-linear-gradient(top, #f4f4f4 0%,#dedede 100%);
	background: linear-gradient(to bottom, #f4f4f4 0%,#dedede 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f4f4f4', endColorstr='#dedede',GradientType=0 );

}

.upload:hover {
	border:1px solid #808080;
	cursor:default;
}

input[type="submit"].button {
	font-size:14px;
}

a.button:hover, input[type="submit"].button:hover, .itemCommentsForm a:hover {
	cursor:pointer;
	text-decoration:underline;
}

a.button.inactive {
	opacity:0.5;
}

a.button.inactive:hover {
	cursor:default;
	text-decoration:none;
}

#content h1 {
	font-size:24px;
	line-height:28px;
	font-weight: bold;
	padding: 0px !important;
	background: none !important;
	font-family: "Open Sans",LucidaGrande,Helvetica,Verdana,Arial,sans !important;
}

h2 {
	font-size:24px;
	line-height:28px;
}

#content form {
	border-radius:5px;
	padding:10px 15px;
	overflow:hidden;
}

/*------------------
      CONTENT 
 -----------------*/
#content {
	position:relative;
	top: 20px;
	overflow: hidden;
	width: 1200px;
	margin: 0 auto;
}

.main {
	width:78%;
	position:relative;
	margin-bottom:50px;
}

.main, #sidebar {
	float:left;
}

/*------------------
       LOBBY
------------------*/

.container {
	border-radius:5px;
	padding:10px;
	box-sizing:border-box;
	width:48.5%;
	margin:0 1.5% 20px 0;
	position:absolute;
	float:left;
}

.container.right {
	left:50%;
}

.container header {
  width: 100%;
  margin:2px 0 10px 0;
  background:none;
  position:static;
  overflow:hidden;
}

.container header span,
#sidebar header a span {
	float:left;
	max-width:90%;
	text-transform:uppercase;
}

.container header span.arrow-right,
#sidebar header a span.arrow-right {
  font-family: Typicons;
  font-size: 24px;
  font-weight: normal;
  float: right;
  
  /*!!!!*/
  display:none;
}

#sidebar  header a span.arrow-right {
	font-size:20px;
}

.container a,  #sidebar header a {
	display:block;
}

#sidebar a {
	font-weight:bold;
}

#sidebar header a {
	font-weight:normal;
}

.container header span {
	width:100%;
	overflow:hidden;
	font-size: 18px;
	text-transform: uppercase;
}

.container > a {
	padding:4px 30px 4px 10px;
	margin-bottom:3px;
	word-wrap:break-word;
	position:relative;
}

.container .unread {
	font-weight:bold;
}

/*Favorite forums*/
.no-favorite-forum, .favorite-forum {
	display: inline-block;
	width:20px;
	height:20px;
	background:url(/website/static/images/fav-forums.png) no-repeat;
	position:relative;
	top:4px;
	left:7px;
}

.container .no-favorite-forum, .container .favorite-forum {
	position:absolute;
	right:5px;
	top:5px;
	left:auto;
}
 

/*-----------------------
		CONFERENCE
------------------------*/

table.main{
	width:77%;
	margin-right:1%;
	border-radius:5px;
}

.dcmain, .dcdate, .dcmisc, 
.dcauthor, .dcreplies, .dcviews {
	padding:8px;
}

.dclite img, .dcdark img, .dcnavmenu img {
	border:0;
}

.dclink {
	font-size: 18px;
}

td.dcheading {
	/*font-size:20px !important;*/
	padding:10px;
}

/*------------------
		TOPIC
-------------------*/

.main-wrapper, .main.top  {
	border-radius:5px;
	width:98.5%;
	padding:5px;
	box-sizing:border-box;
}

.main.top {
	margin-bottom:30px;
}


.topicview .title, .dcnavmenu .dcmenu  {
	float:left;
	margin-left:5px;
}	

.topicview .buttons {
	float:right;
	width:22%;
	margin-top:25px;
	text-align:right;
}

.topicview .buttons a, .forum-post #content input.button {
	margin-left:5px;
	padding:6px 15px;
	height:30px;
	width:auto;
}

.dcmenu img, .dcbottomleft img {
	border:none;
}

td.dcpagelink {
	float: right;
	position: absolute;
	text-align: right;
	top: 60px;
	right:0;
	width:350px;
}

.dcauthor { width:15%; }
.dcdate { width:10%; }
.dcreplies, .dcviews { width:5%; }

#image_slider_wrapper , #image_slider_control {
	font-size:13px;
	text-align:right;
}

#image_slider_wrapper {
	padding:25px 10px 10px 10px;
	margin-bottom:15px;
}

#image_slider_wrapper span#next_im {
	margin-left:10px;
}

.subforums #image_slider_wrapper  {
	margin-top:-35px;
}

#image_slider_control {
	padding:10px 10px 0 10px;
	margin-top:35px;
	position:relative;
	top:25px;
}

#image_slider_wrapper .button {
	cursor: pointer;
	height: 17px;
	width: 17px;
}

#image_slider_wrapper .previous {
	background: url(/images/if/button_left.png) top left no-repeat; 
	vertical-align: middle;
}

#image_slider_wrapper .next {
	background: url(/images/if/button_right.png) top left no-repeat;
	vertical-align: middle;
}

.dcinfo p {
	line-height:0;
}

.dcinfo .views{
	position:relative;
	top:5px;
}

.replies span:not(.first):not(.second):not(.ribbons-forum):not(.rating_total_msg_1), .views span {
	font-family:Typicons;
	font-size:18px;
	margin-right:5px;
	position:relative;
	top:5px;
}

.replies .left p span {
	font-size:14px!important;
	margin-right: 0!important;
	top: 0!important;
}
.main *{
	box-sizing:border-box;
} 

.breadcrumb img {
	border:0;
}

.dcnavmenu {
	overflow:hidden;
	margin-bottom:5px;
	width:100%;
}

.dcpagination.top {
	float:right;
	margin-right:23.5%;
}

.dcpagination.bottom {
	float:right;
	margin:5px 2% 0 0;
}

.main .ribbonImgAvatar {
	position:relative;
	top:3px;
}


.ribbons-forum{
	pointer-events: none;
}
.dcauthorlink .ribbons-forum {
	display: block;
}
.ribbons-forum .second {
	display:none;
}
.ribbons-forum.minus .second {
	display:inline;
}
.ribbons-forum .bt-open:after {
	font-family: Typicons;
	content: "7";
	cursor: pointer;
	display: inline-block;
	font-size: 18px;
	font-weight: bold;
	height: 17px;
	text-align: center;
	vertical-align: top;
	width: 17px;
	pointer-events: all;
	color:#f5802a;
}
.ribbons-forum.minus .bt-open:after {
	content: "8";
}

.ribbons-forum img {
	display: inline;
	pointer-events: auto;
}

.title h1 {
	margin: 5px 0 15px 0;
}

.title h2 {
	margin: 5px 0 15px 0;
}

.breadcrumb {
	margin:0 0 5px 0px;
}

.topicview .dclite, .topicview .dcdark {
	overflow:hidden;
}

.dcid, .dcinfo, .dcsubject {
	float:left;
	padding:5px;
}

.dcid {width:5%;padding-top:16px;text-align:center;}
.dcinfo { width:10%;padding-top:0;padding-left: 10px;}
.dcsubject {width:85%;}
td.dcsubject {float:none;}

.topicview .dcsubject > a {
	position:relative;
	top:2px;
	font-size:15px;
}

.dcsubject p {
	margin:0 0 3px 0;
}

.dcsubject .dccaption {
	float:right;
}

/*I WANT TO BUY/SELL ---------------------*/

.main.top  {
	width:77%;
}

.main.top .dccaption {
	display:block;
}

.soldlink {
	float:right;
}

/*DISPLAY BUTTONS UNDER SLIDER*/

.subforums .header {
	overflow:hidden;
}

.subforums #sidebar {
	position:absolute;
	right:0;
	top:64px;
}

#sidebar.shown_image_slider {
	margin-top:50px;
}


.subforums #sidebar.shown_image_slider {
	top: 405px;
}

.has_slider .buttons {
	position:absolute;
	right:0;
}

.shown_image_slider .buttons {
	top:406px;
}

.subforums.shown_image_slider .buttons {
	top:389px;
}

.hidden_image_slider .buttons {
	top:18px;
}

.subforums.hidden_image_slider .buttons {
	top:5px;
}

.hidden_image_slider #image_slider_control {
	margin-top:-25px;
	height:25px;
	width:200px;
	float:right;
}

.subforums.hidden_image_slider #image_slider_control {
	margin-top:0px;
	top:-75px;
}

.subforums.hidden_image_slider .main.top {
	margin-top:-5px;
}

.subforums #image_slider_control {
	margin-top:0;
}

.subforums.shown_image_slider #image_slider_control {
	top:-8px;
}


/*MESSAGE - LINEAR VIEW*/

#content.full-width {
	width:100%;
	padding:0 10px;
	box-sizing:border-box;
}

.main.full-width {
	width:100%;
	margin-right:0;
}

.message-menu .social {
	display:inline-block;
	position: relative;
	top: 2px;
	left: 10px;
}

.message-menu {
	/*float:right;*/
}

div.message {
	background:#101010;
	padding:10px;
	box-sizing:border-box;
	overflow:hidden;
	position:relative;
}

div.message {
	margin-bottom:10px;
}

li.message {
	margin-bottom:20px;
	list-style-type:none;
}

.message .member a {
	font-size:16px;
	margin-right:5px;
}

.member {
	font-size:13px;
	color:#aaa;
}

/*
.message a:hover > img {
	border:1px solid #f5802a;
}
*/

.message .left {
	width:160px;
	float:left;
	text-align:center;
}

.message .left span {
	font-family:LucidaGrande,Helvetica,Arial,sans !important;
	font-size:inherit;
	top:0;
}

.message .left p {
	margin:5px 0;
}

.member-menu {
	margin-top:5px;
}

.member-menu span {
	top:0 !important;
}

.message .member-menu a {
	margin-right:5px;
	text-shadow:none;
}

#requestForm, #successInfo {
	text-shadow:none;
}

.member-menu img {
	border:none;
}	

.forum-avatar {
	width:90px;
	height:90px;
	display:block;
	margin:0 auto;
}

.message .right {
	margin-left:170px;
}

/* the triangle arrow in message
.message .right:before {
	content:"";
	width:0;
	height:0;
	display:block;
	border-left:25px solid transparent;
	border-right:25px solid #181a19;
	border-top:25px solid transparent;
	border-bottom:25px solid transparent;
	position:absolute;
	left:140px;
	top:30px;
}*/

.message .middle {
	padding:10px;
	box-sizing:border-box;
	min-height:125px;
	border-radius: 5px;
	box-shadow: 0px 1px 0px #222 inset;
}

.signature {
	font-style:italic;
	padding-top:10px;
}

.message p.top {
	margin:0 0 5px 0;
}

.message .middle .top {
	overflow:hidden;
}

.message .middle .top img {
	border:none;
}

.message .member {
	float:left;
}

.message .date {
	float:right;
	font-size:13px;
}

p.comment-content a {
	word-wrap:break-word;
}

.message .bottom {
	margin-top:8px;
	font-size:13px;
}

.message .photo {
	border:1px solid transparent;
}

.message .photo-container {
	overflow-y:auto;
}

/*for styling of the reply message - overrides user agent stylesheet*/
ul ul, ol ul {
	list-style-type: disc;
}

/*MESSAGE - THREADED VIEW*/

ul.message-replies {
	padding:0;
}
 
ul.replies {
	margin-left:-40px;
} 

ul.replies.level-1, ul.replies.level-2, ul.replies.level-3, ul.replies.level-4,
ul.replies.level-5, ul.replies.level-6, ul.replies.level-7, ul.replies.level-8,
ul.replies.level-9, ul.replies.level-10 {
	margin-left:0px;
}

/*subject table*/
.dctoc {
	margin-bottom:30px;
}

.dctoc td {
	padding:5px;
}

.main h4 /*number of replies*/{
	font-size:20px;
	margin-bottom:5px;
	font-weight:normal;
}

/*POST A MESSAGE -------------------------*/

.forum-post #content form {
	width:800px;
	margin-bottom:30px;
}

.forum-post #content form div div {
	display:inline-block;
}

#content label, .forum-post .membership p.left {
	width:25%;
	text-align:right;
	float:left;
	padding:0 20px 0 0;
	box-sizing:border-box;
}

#content #sidebar-search-topics label {
	width:auto;
	float:none;
	text-align:left;
}

.forum-post .membership p.left {
	margin-top:2px;
}

input[type="checkbox"] {
	float:left;
	margin: 4px 7px 10px 0;
}

input[type="submit"]:hover {
	cursor:pointer;
}

#content label, #content input[type="text"], #content textarea {
	box-sizing:border-box;
}

.forum-post #content form div div, #content form input, #content textarea, #content select {
	margin-bottom:10px;
}

#content textarea {
	display:block;
}

#content input[type="text"], #content input[type="password"], #content textarea, #content select {
	border-radius:2px;
	border:0;
}

#content input[type="text"], #content input[type="password"], #content textarea, .forum-post .membership .right {
	width:75%;
	padding:4px; 
	max-width:75% !important; /*prevents textarea from going outside of the form*/
}

#content select {
	padding:3px; 
	width:70%;
}

#content select.auto_width, .forum-post #content select {
	width:auto !important;
}

.forum-post #content form .right {
	margin-bottom:15px;
	width:100%;
	text-align:right;
}

.forum-post .one-row {
	overflow:hidden;
	margin-bottom:10px;
}

.forum-post #content form .membership .right {
	text-align:left;
	width:75%;
	margin-left:25%;
	box-sizing:border-box;
}

.forum-post #content form .membership ul.right {
	padding-left:30px;
}

.forum-post #content .attachments input[type="text"] {
	width:64%;
	float:left;
	margin:0 1% 0 0;
}

.forum-post #content .attachments .submit {
	padding:2px 6px;
	width:10%;
	box-sizing:border-box;
	color:black;
	text-shadow: none;
	text-align:center;
	float:left;
	margin:0 0 10px 0;
	
	background:#ccc;
	border:1px solid #aaa;
}

.forum-post .form-buttons {
	text-align:right;
	margin-top:20px;
}

.forum-post #content form .one-row p {
	font-size: 13px;
	display: inline;
}

.attachments {
	position:relative;
}

.attachment-container img {
	margin:0 0px 0 25%; 
}

.attachment-container .attachment-photo {
	display:inline-block;
	width:100px;
	max-height:100px;
	margin:0 10px 0 25%; 
}

.forum-post #content form .attachments .right {
	text-align:left;
	margin:0 0 10px 0;
	position:relative;
	top:-12px;
}

.attachments .info {
	margin:0px 0 -10px 25%;
	cursor:pointer;
}

/* title shown only on touch screens - see mainpagescript.js line 987 */
.attachments .info .title {
    position: absolute;
    top: 23px;
    padding: 5px;
    left: 25%;
	z-index:100;
	font-size:13px;
	text-align:left;
}

a.delete {
	padding:0px 4px 2px 4px;
	margin-left:5px;
}

a.delete:hover {
	text-decoration:none;
}

.attachments input {
	float:left;
	position:relative;
	top:3px;
}

p#upload_process_state {
	display: inline;
	font-size: 11px;
	float: left;
	/*
	position: relative;
	top: -3px;
	*/
}

p#upload_process {
	width: 30px;
	height: 10px;
	margin: 0 0 0 10px; 
	float: left;
	/*
	display: inline;
	position: relative;
	top: -3px;
	*/
}

p#upload_process img {
	margin:0;
	width:18px;
	height:18px;
}

.forum-post #output {
	margin: -15px 0 15px 25%;
}

/* attachments - IE 9*/

.attachments_popup div {
	width:75%;
}

#content .attachments_popup input[type='text']{
	width:83% !important;
	max-width:100% !important;
}

.attachments_popup a {
	float:right;
	padding:0 6px 1px 6px;
	width:16%;
	box-sizing:border-box;
	color:black;
	text-shadow: none;
	text-align:center;
	
	background:#ccc;
	border:1px solid #aaa;
}


/*POLL DESIGN ----------------------------*/

.poll {
	width:900px;
}

.poll .dclite, .poll .dcdark {
	padding:5px;
	overflow:hidden;
}

.poll div div,.poll .bar, .poll .votes  {
	float:left;
}

.poll div div {
	width:20%;
}

.poll .votes {
	width:10%;
	padding-left:5px;
	box-sizing:border-box;
}

.poll .bar {
	width:60%;
}

.poll a {
	width:10%;
	text-align:right;
	float:right;
}

.poll span span {
	margin-left:10px;
} 

/*READ NEW -------------------------------*/

.main-wrapper h3, #sidebar-search-topics h3{
	font-size:18px;
	margin:10px 0;
	font-weight:normal;
}

.main-wrapper h3, .main-wrapper h5 {
	margin-left:5px;
}

.main-wrapper h5  {
	margin-top:5px;
}

.conference {
	margin-bottom:20px;
}

.conference header {
	background: none;
	position:static;
	margin:0 0 7px 5px;
	overflow:hidden;
}

.conference h4 {
	font-size:20px;
	float:left;
	margin:5px 0;
}

.conference .row {
	overflow:hidden;
}

.conference img {
	position:relative;
	top:-9px;
}

/*member icon*/
.dcsubject img.nik_tip {
	top:0;
}

.conference .mark {
	padding: 5px 0 3px 25px;
	float: right;
	margin: 5px 5px 0 0;
}

.read-new .dcpagination {
	font-size:13px;
	margin-bottom:5px;
}

.read-new .dcpagination.top {
	margin-top:-20px;
}

#content #sidebar-search-topics form {
	padding:0;
}

#sidebar-search-topics select {
	width:100%;
	border:0;
	box-sizing:border-box;
	padding:3px;
	border-radius:3px;
	margin:5px 0 10px 0;
}

#sidebar-search-topics select#hits_per_page {
	width:auto;
	float:right;
}

#sidebar-search-topics label.full-width {
	display:block;
}

#sidebar-search-topics div {
	overflow:hidden;
}

#sidebar-search-topics label[for="select_forum"],
#sidebar-search-topics input[type="checkbox"] {
	cursor:pointer;
}

#sidebar-search-topics label[for="search_days"] {
	margin-top:10px;
}

#sidebar-search-topics label[for="hits_per_page"] {
	position:relative;
	top:8px;
}

#content #sidebar-search-topics input[type="submit"] {
	padding: 6px 15px;
	height: 30px;
	width: auto;
	margin:0px 0 15px 0;
	float:right;
}
 
/*SIDEBAR --------------------------------*/

#sidebar {
	width:22%;
	font-size:13px;
}

#sidebar h5 {
	font-size:13px;
}

#sidebar section {
	padding:0px 10px;
	border-radius:5px;
	width:100%;
	margin-bottom:20px;
	box-sizing:border-box;
}

#sidebar header {
  width: 100%;
  margin:10px 0 15px 0;
  background:none;
  position:static;
  overflow:hidden;
  font-size:16px;
  display:block; /*IE8 fix*/
}

#sidebar header a{
	overflow:hidden;
}

.align-right {
	text-align:right;
}

#sidebar .align-right {
	margin-top:-10px;
}

#sidebar section h4 {
	text-transform:uppercase;
	font-size:15px;
	margin-top:15px;
	font-weight:normal;
}

#sidebar_latest_comments a {
	font-size:13px;
	display:block;
	margin:5px 0px 25px 0px;
}

p.date {  
	font-size:11px;
	color:#777;
	display: block;
	margin: 0px 0px 0px 62px;
	line-height: 13px;
}

#sidebar_latest_comments p a {
	font-size:11px;
	margin:0;
	display:inline;
}

#sidebar_latest_comments p {
	font-size:12px;
	margin:5px 0px 20px 62px;
	margin:5px 0px 20px 62px;
}

#sidebar_latest_comments p.date {
	font-size:11px;
	line-height:1.5em !important;
	margin:0;	
	margin-bottom:7px;
	display:block;
}

#sidebar section div {
	min-height:50px;
	margin-bottom:15px;
}

#sidebar section#sidebar-latest-posts div {
	min-height:2px !important;
	margin-bottom:2px !important;
}

#sidebar section#sidebar-latest-posts .align-right {
	margin-top:2px !important;
}

#sidebar section#sidebar_top_articles div.sidebar_public {
	position:relative;
}

#sidebar img {
	width:50px;
	height:50px;
	float:left;
	margin-right:10px;
}

#sidebar_top_articles img.public-sticker{
	width:25px;
	height:25px;
	border:none;
	position:absolute;
	top:-8px;
	left:-8px;
}

#sidebar_top_articles img.public-sticker:hover {
	border:none;
}

#sidebar h5{
	margin: 0px 0px 3px 62px;
}

#sidebar section#sidebar-latest-posts h5{
	margin: 0px 0px 0px 0px !important;
}

/*----------------*/


#sidebar section#sidebar-extra-links {
	padding-bottom:10px;
}

#sidebar-extra-links p {
	margin:0 0 6px 0;
}

#sidebar-extra-links a{
	display:block;
	padding:2px 0 0 27px;
	background:url(/website/static/images/link-arrow.png) no-repeat ;
}

#sidebar_wiki p {
	width:100%;
	text-align:center;
	font-size:24px;
	margin:25px 0 5px 0;
}

#sidebar_wiki a{
	display:inline-block;
	width:100%;
	margin:-18px 0px 20px 0px;
	text-align:center;
}

/*My friends*/

#sidebar-friends a.add_friends {
	font-size:13px;
	position:relative;
	bottom:10px;
}

#sidebar-friends p.date {
	margin:-11px 0 0px 62px;
}

/* Announcements -------------*/
#sidebar section#sidebar-announcements {
	padding-bottom:13px;
	padding-top:10px;
	height:auto !important;
}

#sidebar-announcements p {
	padding:4px 0 3px 30px;
	margin:0;
}

#sidebar-announcements > a{
	display:block;
	padding:4px 0 3px 30px;
	cursor:pointer;
}

#sidebar-announcements .new_inbox_mess {
	background:url("../images/announcement_box/new_inbox_mess.png") no-repeat 0px 2px;
}

#sidebar-announcements .read_new {
	background:url("../images/announcement_box/read_new.png") no-repeat 0px 2px;
}

#sidebar-announcements .mark, .conference .mark {
	background:url("../images/announcement_box/mark_read.png") no-repeat;
	/*margin-bottom:2em;*/
}

#sidebar-announcements .announcement {
	background:url("../images/announcement_box/announcement.png") no-repeat 0px 2px;
}

#sidebar-announcements .announcement_member {
	background:url("../images/announcement_box/new_member.png") no-repeat 0px 1px;
}

#sidebar-announcements .birthday {
	background:url("../images/announcement_box/cake.png") no-repeat 0px 1px;
}

#sidebar-announcements .clock {
	background:url("../images/announcement_box/online_users.png") no-repeat 0px 2px;
} 

/*------------------------*/

#gallery {
	height:auto !important;
}

#sidebar .photos_content div {
	margin-bottom:0;
}

#sidebar img.rsImg {
	margin:0 auto !important; 
	width:auto !important;
	height:180px !important;
	max-width:100%;
	box-sizing: border-box;
	float:none;
}

.rsOverflow{height:180px !important;}

.rsNav{
	height:60px;
	width:330px;
	margin-left:10px;
}

.rsNav.rsThumbs.rsThumbsHor {
	width:100%;
	margin:10px 0 0 0;
}	

.rsDefault.rsWithThumbsHor .rsThumbsContainer {
	position: relative;
	height: 100%;
}
.rsDefault.rsWithThumbsVer .rsThumbsContainer {
	position: relative;
	width: 100%;
}

#sidebar .photos_content img {
  width: 60px;
  height: 40px;
  margin: 10px 7px 0 0;
}

.rsNav img {
	max-width:80px;
}

/* ------------- REGISTRATION --------------*/

#content .registration {
	width:600px;
	overflow:hidden;
	margin:0 auto 30px auto;
	top:0;
}

.registration .header {
	overflow:hidden;
}

.registration .header h2 {
	text-align:center;
}
/*
.registration .counter {
	margin-top:5px;
}

.registration .counter span {
	border-radius:15px;
	padding:3px 10px;
	font-weight:bold;
	display:inline-block;
}

.registration .counter hr {
	display:inline-block;
	width:260px;
	margin:5px -4px;
	border:none;
}

.registration .registration-steps p {
	float:left;
	width:50%;
	text-align:center;
	line-height:1em;
}*/

.registration form {
	margin:10px 0 -5px 0;
	border-radius:5px;
	padding:10px;
	box-sizing:border-box;
	overflow:hidden;
}

.registration form h3 {
	margin:0 0 20px 0;
	font-size:18px;
}

.mandatory:after {
	content:"*";
	margin-left:3px;
	font-size:12px;
}

p.small {
	font-size:12px;
}

.checkboxes {
	margin-left:30%;
	overflow:hidden;
}

#content .registration label {
	padding-top:0;
	width:30%;
}

#content .registration input[type="text"], .registration textarea {
	width:70%;
}

#content .registration textarea {
	max-width:70% !important;
}

#content .checkboxes label {
	float:none;
}

#content input[type="submit"], form a.button {
	float:right;
	margin:20px 0 5px 0;
}

form .buttons {
	overflow:hidden;
	width:100%;
}

form a.button {
	padding:2px 10px 3px 10px;
	margin-right:5px;
}

a.button_donate {
	float: right;
	font-size:13px !important;
	margin: 0px 0px 0px !important;
	padding: 2px 8px 4px !important;
}

a.button_donate, x:-moz-any-link, x:default {
    top: -1px !important;
}

#content.forum-post input[type="submit"] {
	float:none;
}

.registration textarea {
	min-height:100px;
}

.errorMsg {
	color:red;
}

/*Login -----------------------------------------*/

.main.login form {
	width:540px !important;
	margin-bottom:0 !important;
}

.main.login .checkboxes {
	margin-left:25%;
}

div.links-after {
	padding:5px 0 0 5px;
}

div.links-after p {
	line-height:0;
}

/*Scroll back to top -----------------------------*/

#toTop {
	position: fixed;
	bottom: 0px;
	right: 30px;
	background: white;
	box-shadow:1px 1px 4px black;
	color:#202020;
	text-shadow:none;
	cursor:	pointer;
	font-family: 'Typicons';
	font-size:30px;
	padding:20px 10px 8px 10px ;
	display: none;
	opacity:0.6;
	z-index:200;
}

#toTop:hover {
	opacity:1.0;
}

/* ---------------- MEMBERSHIP TABLE ----------------- */

.membership-intro {
	margin:0 auto -40px auto;
	text-align:center;
}

.membership-intro h4 {
	font-size:16px;
	margin:-5px 0 20px 0;
	font-weight:normal;
}

.membership-intro p, .membership-intro span {
	max-width:800px;
	margin-left:auto;
	margin-right:auto;
}

.membership-intro span {
	display:block;
	font-size:13px;
	margin-top:5px;
}

.membership-intro img {
	width:800px;
}

.membership.table-head {
	width:565px;
	float:right;
}

.membership.table-head.sgp {
	width:424px;
}

.membership .pricing, .membership .shields {
	width:100%;
}

.membership .shields img {
	position:relative;
	top:75px;
}

.membership .shields .recommended img {
	position:relative;
	top:60px;
}

.membership .pricing {
	overflow:hidden;
	box-sizing:border-box;
}

.membership.table-head div div {
	width:140px;
	float:left;
	text-align:center;
}

.membership.table-head .shields div {
	width:141px;
}

.membership .pricing div {
	padding:50px 0 20px 0;
}

.membership.footer {
	margin-bottom:40px;
}

.membership.footer .pricing div {
	padding:13px 0 20px 0;
}

.membership .pricing p {
	font-size:24px;
	font-weight:bold;
	margin:10px 0;
}

.membership .pricing .recommended p {
	font-size:30px;
} 

.membership .pricing p, .membership .pricing span {
	position:relative;
	top:-10px;
}

.membership .pricing .recommended p, .membership .pricing .recommended span {
	top:0;
}

.membership .pricing span {
	display:block;
	margin:-5px 0 10px 0;
	position:relative;
}


table.membership  {
	margin:0 auto;
	width:100%;
}

.membership thead {
	display:none;
}

table.membership tbody {
	box-sizing:border-box;
}

table.membership td {
	padding:7px 10px;
	text-align:center;
}

table.membership td.left {
	text-align:left;
}

table.membership h4 {
	text-transform:uppercase;
	font-size:16px;
	font-weight:bold;
	margin-bottom:0;
	text-shadow:none;
}

table.membership thead span {
	font-size:24px;
}

table.membership td.yes, table.membership td.no {
	text-shadow:none;
	width:140px;
	padding:7px 0;
}

/* Payment forms ------------------------*/

#content .registration.payment_form label {
	width:40%;
}

#content .registration.payment_form input[type="text"], #content .registration.payment_form select {
	width:60%;
}

/* Give membership as gift -------------*/

#content .wide label {
	width:40%;
}

#content .wide input[type="text"] {
	width:60%;
}

.give_gift p.right {
	position:relative;
	top:3px;
	margin-left:40%;
}

#content .give_gift input[type="submit"] {
	margin:0px 0 5px 10px;
}

/*------------------- MEDIA QUERIES -------------------*/
@media screen and (max-width: 1280px) {
	#content {
		width: 95%;
	}
	
	#sidebar_top_articles {
		height:auto !important;
	}
	
	.topicview .buttons {
		margin-top:0;
	}
	
	.topicview .buttons a {
		margin:0 0 5px 10%;
		display:block;
		width:80%;
		text-align:center;
		box-sizing:border-box;
		padding:3px 10px;
	}
	
	.has_slider .buttons {
		margin-top:25px;
	}
	
	.shown_image_slider .buttons {
		top: 400px;
	}
	
	.hidden_image_slider .buttons {
		top:60px;
	}
	
	.subforums.has_slider .buttons {
		top:384px;
	}
	
	.subforums.shown_image_slider .buttons {
		top: 386px;
	}
	
	.subforums.hidden_image_slider .buttons {
		top:36px;
	}	
		
	#sidebar.shown_image_slider, #sidebar.hidden_image_slider {
		margin-top: 83px;
	}
	
	.hidden_image_slider #image_slider_control {
		margin-top: 25px;
		width: 20%;
		float: right;
		text-align: center;
	 }
	 
	.subforums.hidden_image_slider #image_slider_control {
		top:-45px;
	}
	
	.dcinfo {width:12%;}
	.dcsubject{width:83%;}
	
	.subforums .main.top {
		margin-top:10px;
	}
	
	.subforums.has_slider .main.top {
		margin-top:-3px;
	}
	
	.subforums #sidebar {
		top:80px;
	}
	
	.subforums #sidebar.shown_image_slider {
		top: 410px;
	}	
	
	.message .member, .message .date {
		float:none;
	}
	
}

@media screen and (max-width: 1150px) {
	.poll {
		width:100%;
	}
}

@media screen and (max-width: 1024px) {
	.dcdate, .dcmisc {
		width:100px;
	}
	
	#image_slider_control, #image_slider_wrapper {
		display:none !important;
	}
	
	.subforums #sidebar.shown_image_slider {
		top: 50px;
	}		
	
	.subforums #sidebar.hidden_image_slider {
		top: 65px;
	}
	
	td.dcpagelink {
		float: none;
		position: static;
		text-align: left;
		padding-left:0;
		width: auto;
	}
	
	.dcnavmenu .dcmenu, .dcpagination.top, .dcpagination.bottom{
		float:none;
	}
	
	.read-new .dcpagination.top {
		float:right;
		margin-right: 23.5%;
	}
	
	.dcpagination.top, .dcpagination.bottom {
		margin:4px 0 0 5px;
	}
	
	.dcpagination a {
		padding:5px;
	}
	
	.topicview .buttons {
		position: absolute;
		right: 0;
		top: 105px;
	}
	
	.topicview.subforums .buttons {
		top:75px;
	}
	
	.topicview #sidebar {
		margin-top:83px;
	}
	
	.topicview .buttons a {
		width:100%;
		margin-left:0
	}
	
	.dcinfo {
		width:13%;
	}
	
	.dcsubject{
		width:82%;
	}
		
	.soldlink {
		float:none;
		display:block;
	}
	
	.has_slider .buttons {
		margin-top:9px;
	}
	
	.shown_image_slider .buttons {
		top: 112px;
	}
	
	.subforums.shown_image_slider .buttons {
		top: 58px;
	}
	
	.subforums.hidden_image_slider .buttons {
		top: 60px;
	}

	.poll .votes {
		width:15%;
	}
	
	.poll .bar {
		width:55%;
	}
	
	a.delete {
		margin-left:3px;
		padding:1px 5px 3px 5px;
	}
	
	#sidebar img.rsImg, .rsOverflow {
		height:140px !important;
	}

}

@media screen and (max-width: 1023px) {
	.dcreplies, .dcviews {
		display:none;
	}/*
	.message .right:before {
		top:50px;
	}*/
	
}

@media screen and (max-width: 960px) {
	#sidebar-search-topics select#hits_per_page {
		width:100%;
		float:none;
	}
	
	#sidebar-search-topics label[for="hits_per_page"] {
		display:block;
		top:0;
	}
	
	.membership.table-head div div, table.membership td.yes, table.membership td.no  {
		width:130px;
	}
	
	.membership.table-head .shields div{
		width:131px;
	}
	
	.membership.table-head {
		width:525px;
	}
	
	.membership.table-head.sgp {
		width: 394px;
	}
	
	.membership .pricing p, .membership .pricing span {
		top:-15px;
	}
	
	.membership .pricing p {
		font-size:18px;
		margin:7px 0;
	}
	
	.membership .pricing .recommended p {
		font-size:24px;
	}
	
	.membership .pricing .recommended p, .membership .pricing .recommended span {
		top:-3px;
	}
	
	.membership .pricing .recommended span.recommended_text {
		top:0;
	}
}

@media screen and (max-width: 885px) {
	.forum-post #content form {
		width:100%;
		box-sizing:border-box;
	}
	
	.forum-post #content .attachments a {
		margin-left:25%;
	}
	
	.membership-intro img {
		width:100%;
	}
}

@media screen and (max-width: 800px) {
	.main {
		width:65%;
		height:auto !important;
	}
	
	table.main, .main.top, .dcmenu  {
		width:64%;
	}
	
	#sidebar, .topicview .buttons  {
		width:35%;
	}
	
	.container {
		position:static !important;
		width:97%;
		margin-right:3%;
	}
	
	.dcmisc {
		display:none;
	}
	
	.dcdate {
		font-size:12px !important;
	}
	
	.dcid {
		width:auto;
		height:auto;
		padding:0 0 0 5px;
	}
	
	.dcid img {
		margin-top:4px;
	}
	
	/*display views and comments inline and above the subject*/
	.dcinfo, .dcsubject{
		width:auto;
	}
	
	.dcinfo {
		height:auto;
		padding-left:6px;
		margin-top:2px;
	}
	
	.read-new .dcinfo {
		display:none;
	}
	
	.dcinfo p{
		display:inline;
	}
	
	.dcinfo .views {
		top:0;
		left:5px;
	}
		
	.dcsubject {
		margin:24px 0 0 0;
		float: none;
		display: block;
	}
	
	.conference .dcsubject {
		float:left;
		margin:0;
		width:93%;
	}
	
	.conference img {
		top:3px;
	}
	
	.dcsubject .dccaption {
		float:left;
		margin: 5px 0 3px 0;
	}
	
	.forum-avatar {
		width:70px;	
		height:70px;
	}
	
	.message .left {
		width:130px;
	}
	
	.message .left p {
		font-size:12px;
	}
	/*
	.message .right:before {
		left:110px;
		top:20px;
	}*/
	
	.message .right {
		margin-left:140px;
		/*margin-top:55px !important;*/
	}
	
	.message .middle {
		min-height:0;
	}
		
	.dctoc .dcauthorlink, .dctoc .dcdatelink{
		display:none;
	}
	
	.message .member-menu {
		margin-top:10px;
	}
	
	.message .member-menu a {
		padding:10px 5px 0 5px;
		margin:0;
	}
	
	.message .date {
		margin-top:-2px;
		font-size:12px;
	}
	
	.message .photo {
		max-width:100%;
	}
	
	p.comment-content {
		line-height:1.4em;
	}
	
	ul.replies {
		padding-left:0;
		margin-left:0;
	}
	
	ul.replies.level-1, ul.replies.level-2, ul.replies.level-3, ul.replies.level-4,
	ul.replies.level-5, ul.replies.level-6, ul.replies.level-7, ul.replies.level-8,
	ul.replies.level-9, ul.replies.level-10 {
		padding-left:20px;
	}
	
	.forum-post #content .attachments input[type="text"] {
		width:59%;
	}
	
	.forum-post #content .attachments .submit	{
		width:15%;
	}
	
	#content .attachments_popup input[type='text']{
		width:79% !important;
	}

	.attachments_popup a {
		width:20%;
	}
	
	.read-new .dcpagination.top {
		float: none;
		margin: 10px 0 10px 5px;
	}
	
	.poll .votes {
		width:20%;
	}
	
	.poll .bar {
		width:50%;
	}
		
	.membership.table-head div div, table.membership td.yes, table.membership td.no  {
		width:114px;
	}
	
	.membership.table-head .shields div{
		width:115px;
	}
	
	.membership.table-head {
		width:461px;
	}
	
	.membership.table-head.sgp {
		width: 346px;
	}
	
	.membership .pricing span {
		font-size:13px;
	}
	
}

@media screen and (max-width: 640px) {
	#content .registration {
		width:100%;
	}

	.registration .counter hr {
		width:180px;
	}
	
	.membership .pricing div {
		padding-top:30px;
	}
	
	.membership.table-head div div, table.membership td.yes, table.membership td.no  {
		width:90px;
	}
	
	.membership.table-head .shields div{
		width:91px;
	}
	
	.membership.table-head {
		width:365px;
	}
	
	.membership.table-head.sgp {
		width: 274px;
	}
	
	.membership .shields img {
		width:50px;
		top:60px;
	}
	
	.membership .shields .recommended img {
		width:70px;
		top:45px;
	}
	
	.membership .pricing .recommended span.recommended_text {
		font-size:11px;
		top:5px;
	}
	
	table.membership td {
		font-size:12px;
	}
	
	table.membership td.left {
		font-size:14px;
	}
	
	.membership a.button {
		padding:4px 10px;
	}
}

@media screen and (max-width: 600px) {
	h2 {
		font-size:18px;
		line-height:24px;
	}

	.main, #sidebar, .container, .main-wrapper {
		width:100%;
	}
	
	.subforums #sidebar.shown_image_slider {
		top: 75px !important;
	}		
	
	.subforums #sidebar.hidden_image_slider {
		top: 75px !important;
	}		
	
	table.main, .main.top, .dcmenu {
		width:100%;
		margin:0 0 10px 0;
	}
	
	.main {
		margin-bottom:0;
	}
	
	.main .topicview {
		width:100%;
		margin:0 0 20px 0;
	}
	
	.main.top {
		margin-bottom:30px;
	}
	
	.container {
		margin-right:0;
	}
	
	.container header h2 {
		font-size:16px;
	}
	
	#sidebar-friends {
		padding-bottom:10px !important;
	}
	
	footer iframe, .forum-post #content form div.right {
		display:none;
	}
	
	.forum-post #content form .attachments div.right {
		display:block;
	}
	
	#footer_bottom p {
		line-height: 12px;
		margin-bottom: -10px;
	}
	
	.topicview .buttons {
		position: static;
		width:100%;
		margin:0 0 5px 0;
	}
	
	.topicview .buttons a {
		width:auto;
		float:left;
		margin-right:5px;
	}
	
	.topicview #sidebar {
		margin-top:20px;
	}
	
	.subforums #sidebar {
		position:static;
	} 
	
	.message .right:before, .message .left p {
		display:none;
	}
	
	div.message {
		padding:35px 6px 6px 6px;
	}
	
	.message .member-menu {
		position:absolute;
		left:0px;
		top:0px;
	}
	
	.message-replies .message .member-menu {
		left:60px;
	}
	
	.message .member-menu a {
		padding:12px 6px 0 6px;
	}
	
	.message .left {
		width:70px;
		min-height:50px;
	}
	
	.message-replies  .message .left {
		width:60px;
	}
	
	.forum-avatar {
		width:50px;
		height:50px;
		margin: 10px 0 0 10px;
	}

	.message-replies .forum-avatar {
		margin:-23px 0 0 0;
	}
	
	.message .right {
		margin:0;
	}
	
	.message .right p.top {
		min-height:50px;
		margin-left:60px;
	}
	
	.message .middle {
		min-height:0;
	}
	
	
	h4 {
		font-size:16px;
	}
	
	.title h2 {
		font-size:20px;
	}
		
	ul.replies.level-1, ul.replies.level-2, ul.replies.level-3, ul.replies.level-4,
	ul.replies.level-5, ul.replies.level-6, ul.replies.level-7, ul.replies.level-8,
	ul.replies.level-9, ul.replies.level-10{
		padding-left:7px;
		border-left: 3px solid #3C3C3C;
	}
	
	#sidebar-announcements {
		position:absolute;
	}
	
	.topicview .title {
		overflow:hidden;
	}
	
	.subforums.has_slider .buttons {
		position:static;
	}
	
	.subforums.has_slider .main.top {
		margin-top: 10px;
	}
	
	.forum-post .message, .forum-post .button.silver, .forum-post #content form .one-row p {
		display:none;
	}

	 #content textarea{
		display:inline;
	}
	
	 #content label {
		padding-right:0;
		text-align:left;
		margin-bottom:10px;
	}
	
	#content label, #content input[type="text"], #content input[type="password"], #content textarea, #content select,
	.forum-post .membership p.left, .forum-post #content form .membership .right, #content .registration textarea  {
		width:100% !important;
		max-width:100% !important;
		text-align:left;
		margin-left:0;
		font-size:1.1em;
	}
	
	#content select.auto_width {
		width: 48% !important;
		margin-right:1.5%;
	}
	
	#content label {
		float:none !important;
	}
	
	#content .attachments label {
		float:left !important;
	}
	
	.checkboxes, .main.login .checkboxes, .attachment-container .attachment-photo, .forum-post #output,
	.give_gift p.right 	{
		margin-left: 0;
	}
	
	.attachment-container .attachment-photo {
		width:50px;
		max-height:50px;
	}
	
	#content .attachments label {
		width:auto !important;
		margin-right:20px;
	}
	
	.forum-post .one-row label {
		width:auto;
		margin-right:10px;
		margin-bottom:0;
	}	
	
	.forum-post #content .attachments input[type="text"] {
		width:79% !important;
		margin-right:2%
	}
	
	.forum-post #content .attachments .submit {
		width:19%;
	}
	
	.attachments_popup div {
		overflow:hidden;
		width:100%;
	}
	
	#content .attachments_popup input[type="text"]{
		width:79% !important;
	}

	.attachments_popup a {
		width:20%;
	}
	
	.forum-post #content h2 {
		font-size:20px;
	}
	
	.forum-post #content .attachments a {
		margin-left:0;
	}

	#sidebar-search-topics {
		position:absolute;
	}
	
	.poll .bar {
		width:40%;
	}
	
	.poll div div {
		width:30%;
	}
	
	#sidebar img.rsImg, .rsOverflow {
		height: 180px !important;
	}
	
	.main.login form {
		width:100% !important;
	}
	
	form a.button, #content input[type="submit"], form a.button {
		margin-top:5px;
	}
	
	/*----   membership   ----*/
	
	.membership.table-head, .membership.table-head.sgp {
		width:100%;
		margin:0 0 40px 0;
	}
	
	.membership.table-head div div, .membership.table-head .shields div {
		width:24%;
		box-sizing:border-box;
	}
	
	.membership.table-head div div.recommended, .membership.table-head .shields div.recommended {
		width:28%;
	}
	
	.membership.table-head.sgp div div, .membership.table-head.sgp .shields div {
		width:33.33333%;
	}
	
	.membership.footer {
		display:none;
	}
	
	.membership thead {
		display:table-header-group;
	}
	
	.membership th {
		padding:0 5px;
		font-weight:normal;
	}
	
	table.membership {
		margin-bottom:40px;
	}
	
	
	table.membership td.yes, table.membership td.no {
		width:auto;
	}
	
	.attachments .info .title {
		left:0;
	}
	
	.membership-intro img {
		display:none;
	}
}

@media screen and (max-width: 480px) {
	.poll .votes {
		width:25%;
		font-size:13px;
	}
	
	.poll .bar {
		width:35%;
	}
	
	.membership .shields img {
		top:54px;
	}
	
	.membership .shields .recommended img {
		width:65px;
	}
	
	.membership .pricing div {
		padding-top:30px;
		padding-bottom:13px;
	}
	
	.membership a.button {
		padding:4px 10px;
	}
	
	table.membership td {
		padding:7px 5px;
	}
	
	#content .attachments_popup input[type="text"]{
		width:68% !important;
	}

	.attachments_popup a {
		width:30%;
	}
}


@media screen and (max-width: 450px) {
	#content select.auto_width {
		width:47% !important;
	}
}

@media screen and (max-width: 400px) {
	.dcdate, .dcauthor {
		display:none;
	}
	
	.forum-post #content .attachments input[type="text"] {
		width:68% !important;
	}
	
	.forum-post #content .attachments .submit {
		width:30%;
	}
	
	.conference .dcsubject {
		width:90%;
	}
	
	table.membership td {
		padding:4px 2px;
	} 
	
	table.membership td.left {
		font-size:12px;
	}
	
	table.membership {
		font-size:11px;
	}

	.membership-intro {
		text-align:left;
	}
	
	.membership a.button{
		font-size:13px;
		padding:2px 8px;
	}
}

@media screen and (max-width: 340px) {
	table.membership td {
		padding:4px 0;
	}
	
	#content .attachments_popup input[type='text']{
		width:100% !important;
	}

	.attachments_popup a {
		width:auto;
	}
}

@media screen and (max-width: 320px) {

	#footer_middle_in .socialmedia div {
		padding:0 30px 20px;
	}
	
	#footer_links {
		width:100%;
	}
	
	#footer_links div{
		width:100%;
		margin:0 0 20px 0;
		text-align:center;
	}
	
	
}

