/**
 * Common tags
 */


@media (max-width: 1000px) {

}



@media (max-width: 925px) {
	#site-description-right { display: none; }
	.forum-image { display: none; }

	.newpostbutton {
		padding: 4px 8px;
		}

}


@media (min-width: 701px){

	.postbody {
		width: 75%;
		margin-right: 10px;
	}
}


@media (max-width: 700px) {

	ul.topiclist dt,
	ul.topiclist dt .list-inner,
	ul.topiclist.missing-column dt,
	ul.topiclist.missing-column dt .list-inner,
	ul.topiclist.two-long-columns dt,
	ul.topiclist.two-long-columns dt .list-inner,
	ul.topiclist.two-columns dt, ul.topiclist.two-columns dt .list-inner {
		margin-right: 0;
	}

	#wrap {
		margin: 0px !important;
	}

	.wrap {
		padding: 0;
	}


	ul.topiclist dd {
		border-left-color: transparent !important;
	}


	.newpostbutton .icon {
		margin :4px 0 0 0;
	}
	.post .postprofile,
	.post .postbody {
		float: none;
	}

	.has-profile .post-buttons {
		right: 35px;
		top: 25px;
	}

	dl.row-item dt .list-inner {
		padding-left: 52px;
	}

	ul.topiclist dt .list-inner {
		margin-right: 0px !important;
	}

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

	#site-description {
		width: 240px;
		float: none;
		height: auto;
		margin: -10px auto;
		z-index: 0;
	}

	#sitelogo {
		margin: -5px auto;
		max-width: 240px !important;
	}

	.infopolitie-dashboard {
		width: 100%;
		height: 140px;
	}

	/**
	 * Structure
	 */
	.infopolitie-wrapper,
	.infopolitie-footer {
		width: 100%;
		border: 0;
	}

	.infopolitie-wrapper {
		padding: 15px 10px 6px;
	}

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

	.infopolitie-dashboard {
		min-height: inherit;
	}

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

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

	/**
	 * Forum name and description
	 */
	.infopolitie-sitename {
		padding: 10px 0;
	}

	/**
	 * 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).
	 */
	.infopolitie-user-menu {
		margin-right: 50px !important;
		margin-top: 5px !important;
	}

	 .infopolitie-menu li > a {
		max-width: 120px;
		text-overflow: ellipsis;
		overflow: hidden;
		white-space: nowrap;
		padding: 4px 2px;
		z-index: 99;

		}

	.infopolitie-menu li > a:hover{
		overflow: visible;
		white-space: normal;
	}

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

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

	.infopolitie-toggle {
		display: block;
		background: #222;
		color: #fff;
		line-height: 0.6em;
		font-size: 26px;
		margin-top: 5px;
		padding: 0 10px 6px 10px;
	}


	#notification_list_button span{
		display: none;
	}

	.infopolitie_navbar {
		display: none;
	 }


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

	/**
	 * Footer
	 */
	#nav-footer,
	.infopolitie-credits {
		float: none;
		text-align: center;
	}

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

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

	.headerbar,
	.navbar,
	.forabg,
	.forumbg,
	.post,
	.panel {
		border-radius: 0px;
		margin-left: 0px;
		margin-right: 0px;
}

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

	ul.topiclist dd.moderation {
		display: none !important;
	}


	ul.topiclist dd.topics,
	ul.topiclist dd.posts,
	ul.topiclist dd.views,
	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: 2px;
	}

	.post .inner {
		display: block;
	}

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


	.post .postbody {
		width: 100%;
	}

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


	.post .postprofile {
		padding: 0 0 5px 0;
		margin-bottom: 10px;
		border-bottom: 1px solid #EC6400;
	}




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

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

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

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

	.postprofile dd.profile-rank {
		text-align: left;
		/*margin-left: 35px;*/
	}

	/* 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: -34px;
		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: 200px;
	}

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

	ul.topiclist dt .list-inner.with-mark {
		padding-right: 34px;
		margin-right: 0px !important;
		padding-left: 52px;
	}







}

@media (max-width: 550px) {

	.headerbar {
		background: transparent;
		height: 90px !important;
	}

	#sitelogo{
 		margin: -20px auto 0;
		max-width: 240px !important;
	}

	#site-description {
	text-align: center;
	float:none;
	width:auto;
	}

	.linkbar {
		margin-left: 0px !important;
		margin-right: 0px !important;
	}

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


	.infopolitie-wrapper {
		padding: 5px 5px;
	}

	ul.topiclist.forums dd.lastpost {
		display: none;
	}

	ul.linklist > li.infopolitie-time {
		float: none;
		margin: 3px 0 24px;
		text-align: center;
	}

	#pm-disp {
		font-size: 0;
	}

	#notif-disp {
		font-size: 0;
	}

	.infopolitie-menu li > a {
		max-width: 360px;
	}
}


@media (max-width: 360px){
	h1 {
		font-size: 30px;
	}

	.infopolitie-menu li > a {
		max-width: 360px;
		z-index: 99;
	}
}
