/*
 * Oxygenblack responsive overlay  (RTL)
 * Mobile-responsive media queries for the Oxygenblack theme.
 * Adapted (left<->right mirrored for RTL) from the proven Oxygen theme
 * responsive rules, with dark-theme colour tweaks.
 * Loaded AFTER Oxygenblack.min.css so it overrides at small widths only.
 * The Oxygenblack.min.css original is never modified.
 */


/* ---- responsive-nav toggle button ---- */
.nav-collapse,
.nav-collapse * {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
a.nav-toggle{display:block; padding:0.43em 1.45em; clear:both; color:#fff; font-weight:bold; font-size:1.2em; height:38px;
	-moz-box-sizing: border-box;
    box-sizing: border-box;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	text-decoration: none;
	position: relative;
	overflow: hidden;
	background-color: #0066b9;
    background-image: -moz-linear-gradient(bottom, #2a6ab8 0, #4795cc 100%);
    background-image: -ms-linear-gradient(bottom, #2a6ab8 0, #4795cc 100%);
    background-image: -o-linear-gradient(bottom, #2a6ab8 0, #4795cc 100%);
    background-image: -webkit-gradient(linear, 0 100%, 0 0, from(#2a6ab8), to(#4795cc));
    background-image: -webkit-linear-gradient(bottom, #2a6ab8 0, #4795cc 100%);
    background-image: linear-gradient(bottom, #2a6ab8 0, #4795cc 100%)
}
a.nav-toggle:hover,a.nav-toggle:focus{color:#fff; text-decoration:none;}
.nav-toggle:before {
  color: #fff;
  font-family: "responsivenav", sans-serif;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  font-size: 28px;
  text-transform: none;
  position: absolute;
  content: "≡";
  text-indent: 0;
  text-align: center;
  line-height: 38px;
  speak: none;
  width: 50px;
  top: 0;
  left: 0;
}
.nav-toggle.active::before {
  font-size: 24px;
  content:"x";
}
.js .nav-collapse {
  clip: rect(0 0 0 0);
  max-height: 0;
  position: absolute;
  display: block;
  overflow: hidden;
  zoom: 1;
}
.nav-collapse.opened {
  max-height: 9999px;
}
.nav-toggle {
  -webkit-tap-highlight-color: rgba(0,0,0,0);
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -o-user-select: none;
  user-select: none;
}

/* ---- responsive media queries (mirrored for RTL) ---- */
@media screen and (min-width: 600px) {
  .js .nav-collapse {
    position: relative;
  }
  .js .nav-collapse.closed {
    max-height: none;
  }
  a.nav-toggle {
    display: none;
  }
}
@media screen and (max-width: 1000px) {
    .forum-forums .main-item ul{width: 42em; left: -43em; margin-right: -42em;}
    .forum-forums .main-item{padding-left: 43em;}
    .forum-forums li.info-forum{width: 15em;}
}
@media screen and (max-width: 760px) {
	html{min-width:320px;}
	.brd{padding-right:0; padding-left:0; min-width:320px; width:auto;}
	#brd-visit #visit-links{clear:right; text-align:right;}

	/*main-content*/
	li.info-topics, li.info-posts, li.info-views, li.info-replies{width:5em;}
	li.info-lastpost{width:9em; padding-left: 1em;}
	li.info-lastpost strong{display:block;}

	.main-content .main-item ul{margin-right: -20em; left:-21em; width: 20em;}
	.main-content .main-item{padding-left:21em;}
	.item-summary .info-topics, .item-summary .info-replies{width:5em; right:979em;}
	.item-summary .info-posts, .item-summary .info-views{width:5em; right:984em;}
	.item-summary .info-lastpost{right: 989em;}
	.item-summary .info-forum{width:15em; right:969em;}
	p.forum-noview .info-replies{right:984em;}

	.forum-forums .main-item ul{margin-right: -30em; left:-31em; width: 30em;}
	.forum-forums .main-item{padding-left:31em;}
	li.info-forum{width:15em;}
  .main-item .item-subject, .main-content .main-item li{margin-bottom:-19.7em; padding-bottom: 20.4em;}
  .post-title small, .post-title small a{white-space: normal;}
  .crumbs span, .crumbs a{ white-space: normal; }
  .crumbs{overflow: hidden;}


	/*post*/
	.postbody, .posthead{margin-right:15em;}
  .postbody{overflow: hidden;}
	.postfoot{padding-right:15em;}
	.postbody .post-author, .posthead .post-byline{width:12.5em; margin-right:-16em;}
	.postfoot .post-contacts{width:12.5em; margin-right:-15em;}
	.postfoot .post-actions {text-align:right; float:none;}
	.postfoot .post-actions > span{margin:0; margin-bottom:0.5em; display:inline-block; vertical-align:top;}
	.postfoot .post-actions a{
		display: inline-block;
		vertical-align: baseline;
		text-align: center;
		text-decoration: none;
		padding: 0.5em 0.6em;
		border-radius: 2px;
		border-style: solid;
		border-width: 1px;
		line-height: normal;
		color: #fafafa;
		background: #4897d9;
		border-color: #2575ae;
		text-shadow: 0 -1px 1px rgba(0, 0, 0, 0.4);
		box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2) inset, 0 1px 2px rgba(0, 0, 0, 0.05);
		background-image: -moz-linear-gradient(top, #5cb7f7, #4897d9);
		background-image: -ms-linear-gradient(top, #5cb7f7, #4897d9);
		background-image: -o-linear-gradient(top, #5cb7f7, #4897d9);
		background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#5cb7f7), to(#4897d9));
		background-image: -webkit-linear-gradient(top, #5cb7f7, #4897d9);
		background-image: linear-gradient(top, #5cb7f7, #4897d9)
	}
	.postfoot .post-actions a:hover{
		color: #fff;
		text-shadow: 0 -1px 1px rgba(0, 0, 0, 0.4);
		border-color: #2575ae;
		background: #2e8bd9;
		background-image: -moz-linear-gradient(top, #5cb7f7, #2e8bd9);
		background-image: -ms-linear-gradient(top, #5cb7f7, #2e8bd9);
		background-image: -o-linear-gradient(top, #5cb7f7, #2e8bd9);
		background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#5cb7f7), to(#2e8bd9));
		background-image: -webkit-linear-gradient(top, #5cb7f7, #2e8bd9);
		background-image: linear-gradient(top, #5cb7f7, #2e8bd9);
		-webkit-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2) inset, 0 1px 2px rgba(0, 0, 0, .2);
		box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2) inset, 0 1px 2px rgba(0, 0, 0, .2)
	}

	.fld-input{display:inline-block; max-width:100%;}
	.fld-input input, .fld-input select{max-width:100%;}

	p.options{float:none; margin-top:0;}
	.options a:link{/*white-space:nowrap;*/ line-height:1.5;}
	.options > span{display:inline-block; padding: 0 0.3em 0 0; margin:0.25em 0.25em 0.25em 0;}

	.frm-buttons>.submit{margin:0; display:inline-block;}

	/*footer*/
	#brd-about, #brd-stats{padding:0 1.5em 1em;}
	#qjump{padding:0;}
  #brd-stats ul li.st-users, #brd-stats ul li.st-activity{float:none; white-space:normal; text-align:right;}
}
@media screen and (max-width: 850px) {
	/*forum edit*/
	.frm-hdgroup{padding-top:0;}
	.frm-hdgroup .mf-set{padding-right:0; border-bottom:1px solid #DBE0E4;}
	.frm-hdgroup .mf-set legend{display:block; height:auto; position:static;}
	.frm-hdgroup .mf-set legend span{position:static; width:auto; margin:0; right:0; display:block;}
	.mf-set .mf-field label, .mf-set .mf-field .aslabel{position:static; top:auto; height:auto; text-indent:0; font-size:1em; line-height:normal; visibility:visible; display:none;}
	.mf-set .mf-field{float:none; border:none; padding:0;}
	.mf-set .mf-field .fld-input{display:inline-block; float:left;}
	.mf-set .mf-box .forum-field{width:auto; float:right; font-weight:bold; font-size:1.2em;}
	.mf-set .mf-field .fld-input input{width:100px;}
	.mf-set legend span{font-weight:normal;}

	.frm-form .mf-set .mf-field .fld-input{float:none; display:block; margin-bottom:1em;}
	.frm-form .mf-set .mf-field .fld-input input{width:90%;}
}
@media screen and (min-width: 600px) and (max-width: 915px) {
    #brd-navlinks ul, ul#brd-admod {float: none; display: inline;}
}
@media screen and (max-width: 600px) {
	/*body*/
	body{font-size:1.2em}
	/*header*/
	#brd-head {display: none !important;}
	/*nav*/
	ul#brd-admod,#brd-navlinks ul,#brd-navlinks ul, .main-menu ul, .admin-menu ul{float:none;}
	#brd-navlinks, .main-menu, .admin-menu{padding-right:0; padding-left:0; font-size:1.2em;}
	#brd-navlinks li, .main-menu li, .admin-menu li, #brd-navlinks a, .main-menu
	a, .admin-menu a{float:none; display:block; margin:0; padding:0;}
	#brd-navlinks a, .main-menu a, .admin-menu a{padding:0.43em 1.45em;}
	#brd-navlinks li, .main-menu li, .admin-menu li{border-top:1px solid rgba(255,255,255,0.12)}

  #brd-navlinks li+li, .main-menu li+li, .admin-menu li+li{display: none;}
  #brd-navlinks.nav-collapse li+li, .main-menu.nav-collapse li+li, .admin-menu.nav-collapse li+li{display: block;}

	/*admin-submenu*/
	.admin-submenu{font-size:1.2em; line-height:1.5}
	.admin-submenu li{margin-left:0.5em; display:inline-block; margin-bottom:0.25em; margin-top:0.25em}
	.admin-submenu a{display:inline-block; white-space:nowrap;}

  .main-head .hn{padding-left: 0;}

	/*main-content*/
	li.info-topics, li.info-posts, li.info-views, li.info-replies{display:none;}
	.main-content .main-item ul{margin-right: -10em; left:-11em; width: 10em;}
	.main-content .main-item{padding-left:11em;}

	.item-summary .info-topics, .item-summary .info-replies,
	.item-summary .info-posts, .item-summary .info-views{display:none;}
	.item-summary .info-forum{width:15em; right:975em;}
	p.forum-noview .info-replies{display:none;}
	.item-summary .info-lastpost{width:9em; padding-right:1em;}

	.forum-forums .main-item ul{margin-right: -25em; left:-26em; width: 25em;}
	.forum-forums .main-item{padding-left:26em;}
	.postbody{padding-left: 1em;}
  .entry-content .codebox{font-size: 0.8em;}
  .entry-content pre{padding-left: 0.8em;}
	.posthead .post-byline a, .posthead .post-byline strong{font-size: 0.8em;}

	/*footer*/
	#copyright{text-align:center;}
	#qjump{float:none;}
	#qjump .frm-input{display:block; line-height:0;}
	#qjump-submit{height:0; padding:0;}
	#brd-about #qjump-select, #brd-stats #qjump-select{width:100%}

	/*post*/
	.postbody, .posthead{margin-right:10em;}
	.postfoot{padding-right:10em;}
	.postbody .post-author, .posthead .post-byline{width:7.5em; margin-right:-11em;}
	.postfoot .post-contacts{width:7.5em; margin-right:-10em;}
	.postbody .post-author ul.author-info{display:none;}
  p.posting{text-align: right; float: none; clear: both;}
  .item-newposts{margin: 0 -0.3em; font-size: 0.9em;}


	/*form set*/
	.ct-box{padding:0.5em 0;}
	.main-frm .ct-box{padding:0.5em 1em;}
	.sf-set, .mf-set, .txt-set, .ct-set{padding-right:0;}
	.txt-box label,
	.sf-box label, .sf-box .aslabel{float:none;}
	.txt-set label span,
	.sf-set .text label span,
	.sf-set .select label span,
	.sf-set .aslabel span,
	.ct-set .ct-legend{float:none; width:auto; text-align:right; padding:2px 0; margin:0 0 2em 0;}
	.txt-set .fld-input{padding:0;}
	.sf-set .fld-input{padding:0; top:2.3em;}
	.sf-set .text label small, .sf-set .select label small{margin-right:0;}
	.frm-buttons{padding-right:0;}
	.sf-box.checkbox .fld-input{top:0.5em; right:0.5em;}
	.mf-set legend{position:static; height:auto; display:block;}
	.mf-set legend span{position:static; width:auto; text-align:right; padding:2px 0; margin:0;}
	/*user page*/
	.ct-group .ct-set{padding-right:0;}
	.ct-set .ct-legend{float:none; margin:0; width:auto; text-align:right;}
	.checklist{margin:0;}
	.button-set .submit{padding-right:0}

	/*user table*/
  /*
	#brd-userlist table .tc0,
	#brd-userlist table .tc1,
	#brd-userlist table .tc2,
	#brd-userlist table .tc3{width:auto; padding: 0.4em 0.5em;}
	#brd-userlist table .tc2{width:7%; min-width:50px;}
  */
  #brd-userlist table,
  #brd-userlist table tbody,
  #brd-userlist table thead,
  #brd-userlist table tr,
  #brd-userlist table td{display: block;}
  #brd-userlist table th{display: none;}
  #brd-userlist table td{display: block; width: auto !important; text-align: right !important;}
  #brd-userlist table .even td{background: rgba(255,255,255,0.04);}


}
@media screen and (max-width: 560px) {
	/*main-content*/
	li.info-forum{width:10em; display: none;}
	.item-summary .info-forum{width:10em; right:979em; display: none;}
	.forum-forums .main-item ul{margin-right: -10em; left:-11em; width: 10em;}
	.forum-forums .main-item{padding-left:11em;}
	.author-ident .usertitle{font-size:12px;}
}
@media screen and (max-width: 460px) {
	/*main-content*/
	li.info-posts, li.info-views{display:none;}
	li.info-lastpost{display:none;}
	.item-summary .info-lastpost{display:none;}
	.item-summary .info-posts, .item-summary .info-views{/*display:block; right:994em; top:0;*/ display: none;}

	.main-content .main-item ul{margin-right: -5em; left:-6em; width: 5em; display: none;}
	.main-content .main-item{padding-left:0;}

	li.info-forum{display:none;}
	.forum-forums .main-item ul{margin-right: -10em; left:-11em; width: 10em;}
	.forum-forums .main-item{padding-left:11em;}
	.item-summary .info-forum{display:none;}
	p.forum-noview .info-lastpost{display:block; top:0;}
	.forum-forums li.info-lastpost{display:block;}

	/*post*/
	.postbody, .posthead{margin-right:100px; }
	.postbody, .posthead .hn{padding-right:10px}
	.postfoot{padding-right:100px;}
	.postbody .post-author, .posthead .post-byline{width:80px; margin-right:-110px; padding-right:10px; padding-left:10px;}
	.postfoot .post-contacts{width:80px; margin-right:-100px;padding-right:10px; padding-left:10px;}
	.author-ident .usertitle{font-weight:normal;}
}
