/**
 * Common tags
 */
html,
body {
	background: #fff;
}

@media only screen and (max-width: 1030px), only screen and (max-device-width: 1030px) {

/**
 * Structure
 */
.wrap {
	padding: 0;
}

.inventea-wrapper,
.inventea-dashboard,
.inventea-footer {
	width: 100%;
	border: 0;
}

.inventea-wrapper {
	padding: 5px 7px 6px;
}

.inventea-userbar {
	height: 47px;
	padding-top: 14px;
}

.inventea-dashboard {
	height: auto;
}

.inventea-footer-wrapper {
	box-shadow: none;
	margin: 0;
	border: 0;
}

.inventea-footer {
	margin: 0;
	padding: 0 10px 10px;
}

/**
 * Forum name and description
 */
.inventea-sitename {
	padding: 43px 25px 46px;
}

/**
 * Secondary dropdown menu
 *
 * Alternative menu displayed only on devices with low screen resolution (700px
 * or less). Activated by button located in user menu. Consists all links from
 * dashboard reduced to single dropdown (see navbar_responsive_header.html).
 */
.inventea-user-menu {
	margin-right: 50px !important;
}

.inventea-posts-menu,
.inventea-forum-menu {
	display: none;
}

.inventea-mobile-dropdown-menu {
	position: absolute;
	right: 10px;
	display: block;
	margin-top: -6px;
}

.inventea-mobile-dropdown-menu .dropdown {
	top: 30px;
}

.inventea-toggle {
	display: block;
	padding: 3px 6px 2px;
	border-bottom: 3px solid #ccc;
	border-radius: 5px;
	background: #e9e9e9;
	color: #414141;
	line-height: 1;
	font-size: 21px;
}

.inventea-toggle:focus,
.inventea-toggle:hover,
.inventea-toggle:active {
	outline: 0;
	color: #414141;
	cursor: pointer;
}

/**
 * Footer
 */
#nav-footer,
.inventea-credits {
	float: none;
}

#nav-footer {
	margin-top: 12px;
}

/**
 * Forums and tables
 */
.forabg,
.forumbg,
.post,
.panel {
	margin-right: 0;
	margin-left: 0;
	border-radius: 5px 5px 0 0;
}

ul.topiclist dd,
ul.topiclist.forums dd.lastpost {
	display: table-cell;
}

ul.topiclist dd.topics,
ul.topiclist dd.lastpost,
ul.topiclist dd.info,
ul.topiclist dd.redirect {
	display: none;
}

.forabg ul.topiclist li.row dd.lastpost {
	background-color: #f1f1f1;
}

.forabg ul.topiclist li.row:nth-child(even) dd.lastpost {
	background-color: #e9e9e9;
}


/**
 * Posts and private messages
 */
.post,
.panel {
	border-radius: 5px;
}

.post .inner {
	display: block;
}

.postprofile,
.search .postprofile,
.pm .postprofile,
.post .postbody {
	display: block;
	overflow: hidden;
	width: auto;
}

/* User profile */
.postprofile,
.pm .postprofile,
.search .postprofile {
	border-top-right-radius: 7px;
	border-bottom-left-radius: 0;
}

.post .postprofile {
	padding: 18px;
	margin-bottom: 0;
	border: 0;
}

.postprofile dt {
	display: block;
	text-align: left;
}

.postprofile dd.profile-rank {
	text-align: left;
}

/* Post message */
.post .postbody {
	border-top-right-radius: 0;
	border-bottom-left-radius: 7px;
}

.post.bg1 .postbody:before {
	border-color: transparent transparent #f8f8f8 transparent;
}

.post.bg2 .postbody:before {
	border-color: transparent transparent #f2f2f2 transparent;
}

.post.reported .postbody:before {
	border-color: transparent transparent #f7ecef transparent;
}

/* Post message left triangle */
.post .postbody:before {
	right: 25px;
	margin-top: -29px;
	margin-left: 0;
	border-width: 0 14px 16px 14px;
}

.search .postbody {
	padding: 18px;
}

/**
 * Forms
 */
fieldset dt,
fieldset.fields2 dt,
.section-posting fieldset.fields1 dt,
.section-posting fieldset.fields2 dt {
	float: none;
	width: auto;
}

/* Additional margin between description and input */
fieldset dt span {
	display: block;
	margin-bottom: 10px;
}

/* Reduce input left margin */
fieldset dd,
fieldset.fields1 dd,
fieldset.fields2 dd,
.section-posting fieldset.fields1 dd,
.section-posting  fieldset.fields2 dd {
	margin-left: 0;
}

input[type="search"] {
	box-sizing: border-box;
}

input.inputbox,
textarea.inputbox {
	width: 100%;
}

input.medium {
	width: 50%;
}

input.tiny {
	width: 125px;
}

#register .inputbox,
#login .inputbox {
	width: 100% !important;
}

}

@media only screen and (max-width: 550px), only screen and (max-device-width: 550px) {
	ul.topiclist.forums dd.lastpost {
		display: none;
	}

	ul.linklist > li.inventea-time {
		float: none;
		margin: 3px 0 4px;
		text-align: center;
	}
	ul.topiclist dd.views {
		display: none;
	}

	.asd_logo {
		padding-top: 40px;
		background-size: 200px;
		background-repeat: no-repeat;
	}

	.youtubev {
		width: 225px;
		height: 125px;
		background-repeat: no-repeat;
		background-size: cover;
		background-position: center 35%;
	}

	.play {
		background: rgba(42, 125, 176, 0.7) url(/images/play.png) 10px 2px no-repeat;
		width: 30px;
		height: 30px;
	}

	.play:hover {
		background-position: 10px 2px;
	}
}

/* by rise asdforum */
@media only screen and (max-width: 1030px), only screen and (max-device-width: 1030px) {
	.postbody {
		position: inherit;
	}

	.postprofile, .postbody, .search .postbody {
		display: block;
		width: auto;
		float: none;
		padding: 12px;
		min-height: 0;
	}

	.post .postprofile {
		width: auto;
		border-width: 0 0 1px 0;
		padding-bottom: 5px;
		margin: 0;
		margin-bottom: 5px;
		min-height: 40px;
		overflow: hidden;
	}

	.postprofile dd {
		display: none;
	}

	.postprofile dt, .postprofile dd.profile-rank, .search .postprofile dd {
		display: block;
		margin: 0;
	}

	.postprofile .has-avatar .avatar-container {
		margin: 0;
		overflow: inherit;
	}

	.postprofile .avatar-container:after {
		clear: none;
	}

	.postprofile .avatar {
		margin-right: 5px;
	}

	.postprofile .avatar img {
		width: auto !important;
		height: auto !important;
		max-height: 32px;
	}

	.has-profile .postbody h3 {
		margin-left: 0 !important;
		margin-right: 0 !important;
	}

	.has-profile .post-buttons {
		right: 30px;
		top: 15px;
	}

	.online {
		background-size: 40px;
	}

	h2 {
		margin-top: .5em;
	}

	p {
		margin-bottom: .5em;
		overflow: hidden;
	}

	p.rightside {
		margin-bottom: 0;
	}

	fieldset.display-options label {
		display: block;
		clear: both;
		margin-bottom: 5px;
	}

	dl.mini dd.pm-legend {
		float: left;
		min-width: 200px;
	}

	.topicreview {
		margin: 0 -5px;
		padding: 0 5px;
	}

	fieldset.display-actions {
		white-space: normal;
	}

	.phpbb_alert {
		width: auto;
		margin: 0 5px;
	}

	.attach-comment dfn {
		width: 100%;
	}
	
	ul.topiclist dd.posts {
		display: none;
	}

	.inventea-online {
		padding: 5px 9px 5px;
		float: left;
		margin-right: 5px;
	}

	.postbody .content, .post:target .content {
		font-size: 14px;
	}

	#message-box textarea {
		padding: 10px;
	}

	.responsive-hide { display: none !important; }
	.responsive-show { display: block !important; }
	.responsive-show-inline { display: inline !important; }
	.responsive-show-inline-block { display: inline-block !important; }
}

@media only screen and (max-width: 550px), only screen and (max-device-width: 550px) {
	.postbody .content, .post:target .content {
		font-size: 12px;
	}

	#message-box textarea {
		font-size: 12px;
		padding: 5px;
	}

	blockquote {
		margin-top: 5px;
		margin-bottom: 5px;
		font-size: 11px;
	}
}

@media (max-width: 700px) {
	table.responsive thead, table.responsive th {
		display: initial;
	}

	table.responsive tbody, table.responsive td {
		display: inline-block;
		width: 100%;
	}

	table.responsive td > dfn {
		display: none !important;
	}

	table.responsive.show-header thead, table.responsive.show-header th:first-child {
		display: inline-block;
	}

	table.responsive td.info, table.responsive th.info {
		display: none;
	}

	table.responsive td.posts, table.responsive th.posts {
		display: none;
	}

	table.responsive td .rank-img {
		display: none;
	}

	table.responsive tbody tr.bg1, table.responsive tbody tr.bg2 {
		background: #fff;
	}

	.inner .column2 {
		clear: left;
	}
}

/* asdconf */

.asdconf {
	width: auto;
	height: 82px;
	background: #CDE4F2;
}

.asdcimg1 {
	display: inline-block;
	background: url(./images/img1.png) no-repeat;
	width: 70px;
	height: 70px;
	padding: 0 12px;
	margin: 5px 10px;
}

.asdcimg2 {
	display: inline-block;
	background: url(./images/img2.png) no-repeat;
	width: 40px;
	height: 58px;
	padding: 0 12px;
}

.asdcimg3 {
	display: inline-block;
	background: url(./images/img3.png) no-repeat;
	width: 40px;
	height: 58px;
	padding: 0 12px;
}

.asdctext {
	display: inline-block;
	position: relative;
	color: #077DB4;
	top: -28px;
	margin: 0px 20px;
	font-size: 17px;
	font-family: verdana;
	font-weight: bold;
	text-transform: uppercase;
}

.asdcacl {
	position: relative;
	width: 20px;
	height: 20px;
	float: right;
	margin: 5px;
	cursor: pointer;
}

.asdcdivcl {
	background: #FFF;
	width: 20px;
	height: 20px;
	text-align: center;
	float: right;
}

@media only screen and (max-width: 680px), only screen and (max-device-width: 680px) {
	.asdcimg2, .asdcimg3 {
		display: none;
	}
}

@media only screen and (max-width: 550px), only screen and (max-device-width: 550px) {
	.asdconf {
		display: none;
	}
}
