#Mechanik_RP_Baner_miedzy_postami.active, #Mechanik_RP_Baner_promocyjny.active{
	margin:15px 0px;
}

#Mechanik_RP_Billboard.active, #Mechanik_SG_Billboard.active{
	margin-top: 15px;
}

#Mechanik_RP_Skyscraper.active, 
#Mechanik_SG_Skyscraper.active{
	margin-bottom:15px;
}

#Mechanik_SG_Skyscraper_dol.active, 
#Mechanik_RP_Skyscraper_dol.active{
	margin-top: 20px;
	margin-bottom: 15px;
}

/* box sidebar subpage fix */
.threadListItem
{
	overflow: hidden; zoom: 1;

	margin: 5px 0;
	padding-top: 5px;
	border-top: 1px solid #d7edfc;
}

.threadListItem:first-child
{
	border-top: none;
	padding-top: 0;
}

.threadListItem .avatar
{
	float: left;
	font-size: 0;
}

	.threadListItem .avatar img
	{
		width: 24px;
		height: 24px;
	}
	
.threadListItem .messageInfo
{
	margin-left: 34px;
}

.threadListItem .title
{
	padding: 1px 0;
}

.threadListItem .title,
.threadListItem .additionalRow
{
	overflow: hidden;
	white-space: nowrap;
	word-wrap: normal;
	text-overflow: ellipsis;
}

#Mechanik_SG_Billboard_dol.active,
#Mechanik_RP_Billboard_dol.active,
#Mechanik_SG_Belka_Dolna.active,
#Mechanik_RP_Belka_Dolna.active {
	margin-top: 25px;
}

#Mechanik_RP_Billboard.active,
#Mechanik_SG_Billboard.active {
	margin-bottom: 15px;
}

body[data-template="forum_list"]:not(.injected-Mechanik_SG_Billboard) .p-body-inner::before {
    display: block;
    /* Remove Billboard min-height: 230px; */
    min-height: 0px;
}

body:not(.injected-Mechanik_RP_Billboard):not([data-template="forum_list"]) .p-body-inner::before {
    display: block;
    min-height: 230px;
}
    
body[data-template="forum_list"] #Mechanik_SG_Billboard {
    /* Remove Billboard min-height: 200px; */
    min-height: 0px;
    margin-top: 15px;
    margin-bottom: 15px;
}

body:not([data-template="forum_list"]) #Mechanik_RP_Billboard {
    /* Remove Billboard min-height: 200px; */
    min-height: 0px;
    margin-top: 15px;
    margin-bottom: 15px;
}

@media (max-width: 800px) {
    body[data-template="forum_list"]:not(.injected-Mechanik_SG_Billboard) .p-body-inner::before {
        /* Remove Billboard min-height: 130px; */
        min-height: 0px;
    }
    
    body[data-template="forum_list"] #Mechanik_SG_Billboard {
        /* Remove Billboard min-height: 100px; */
        min-height: 0px;
    }

    body:not(.injected-Mechanik_RP_Billboard):not([data-template="forum_list"]) .p-body-inner::before {
        /* Remove Billboard min-height: 130px; */
        min-height: 0px;
    }
    
    body:not([data-template="forum_list"]) #Mechanik_RP_Billboard {
        /* Remove Billboard min-height: 100px; */
        min-height: 0px;
    }
}

header.p-header {
	max-width: 1380px;
	width: 100%;
	position: relative;
}


@media (max-width: 992px) {
    .portal-logo-right {
        display:none
    }
}

.portal-logo-right__container {
    display: -webkit-box;
    display: flex;
    -webkit-box-pack: right;
    justify-content:right
}

.icon-portal {
    position: relative;
    text-indent: 160px;
    display: block;
    overflow: hidden;
    width: 96px;
    height: 30.3px;
    float:left
}

.icon-portal:last-child {
    margin-right:0
}

.icon-portal:before {
    position: absolute;
    top: 50%;
    left: 0;
    display: block;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    width: 96px;
    content: " ";
    background-repeat: no-repeat;
    background-color: transparent;
    overflow: hidden;
    opacity: 1;
    background-image: url(https://static.motofocus.pl/loga-all-v2.png);
    background-size: 96px;
    height: 30.3px;
    -webkit-filter: grayscale(80%);
    filter:grayscale(80%)
}

.icon-portal.flpl:before {
    background-position:0 0
}

.icon-portal.fmpl:before {
    background-position:0 -30.3px
}

.icon-portal.mkpl:before {
    background-position:0 -60.6px
}

.icon-portal.tfpl:before {
    background-position:0 -90.9px
}

.icon-portal.tfcz:before {
    background-position:0 -121.2px
}

.icon-portal.mfsk:before {
    background-position:0 -151.5px
}

.icon-portal.mflt:before {
    background-position:0 -181.8px
}

.icon-portal.mfcz:before {
    background-position:0 -212.1px
}

.icon-portal.mfpl:before {
    background-position:0 -242.4px
}

.icon-portal.mfbg:before {
    background-position:0 -272.7px
}

.icon-portal.mfro:before {
    background-position:0 -303px
}

.icon-portal.mfeu:before {
    background-position:0 -333.3px
}

.icon-portal.wars:before {
	background-position:0 -363.6px;
	filter: invert(70%) !important;
}

.icon-portal.forumwc:before {
    background-position:0 -393.9px;
	filter: invert(70%) !important;
}

.icon-portal.mfeu10lat:before {
    background-image: url(https://static.motofocus.pl/rene/motofocus-eu-10-lat.png);
    background-position: 0 0 !important;
    height: 40px;
    opacity:1 !important
}

.icon-portal:hover:before {
    opacity: 1;
    -webkit-filter: grayscale(0);
    filter:grayscale(0)
}

.other-portals-top {
	position: absolute;
	top: 0px;
	right: 0;
}

.other-portals-top__wrap {
	position: relative;
}

.other-portals-top__wrap button{
	border: 0px;
	background-color:rgb(55, 55, 55);
	color: #dedede;
}

.other-portals-top__wrap.active .dropdown-menu{
	display: block;
}

.other-portals-top__wrap .dropdown-menu {
	position: absolute;
	top: 100%;
	right: 0;
	z-index: 999;
	display: none;
	border-radius: 5px;
	border: 1px solid #373737;
	overflow: hidden;
}


.other-portals-top ul {
    padding: 10px 0;
    margin: 0;
	list-style:none;
	background-color: #141414;
}

.other-portals-top ul li {
    padding: 2px 10px;
    font-size:12px;
    color: #dedede;
}

.icon-mf {
    position: relative;
    padding-left:20px
}

.icon-mf:before {
    position: absolute;
    top: 50%;
    left: 0;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    display: block;
    width: 16px;
    height: 16px;
    content: " ";
    background-repeat: no-repeat;
    background-color: transparent;
    overflow: hidden;
    background-image:url(https://static.motofocus.pl/icons-v12.webp)
}

.icon-mf.mfpl:before {
    background-position:0 0
}

.icon-mf.tfpl:before {
    background-position:0 -16px
}

.icon-mf.flpl:before {
    background-position:0 -32px
}

.icon-mf.fmpl:before {
    background-position:0 -48px
}

.icon-mf.wars:before {
    background-position:0 -64px
}

.icon-mf.mfro:before {
    background-position:0 -80px
}

.icon-mf.mflt:before {
    background-position:0 -96px
}

.icon-mf.mfcz:before, .icon-mf.tfcz:before {
    background-position:0 -112px
}

.icon-mf.mfsk:before {
    background-position:0 -128px
}

.icon-mf.mfua:before {
    background-position:0 -144px
}

.icon-mf.mfbg:before {
    background-position:0 -160px
}

.icon-mf.wccm:before {
    background-position:0 -176px
}

.icon-mf.mkpl:before {
    background-position:0 -192px
}

.icon-mf.mfen:before {
    background-position:0 -208px
}

.icon-mf.mfhu:before {
    background-position:0 -240px
}

.icon-mf.mfhr:before {
    background-position:0 -224px
}

.icon-mf.amit:before {
    background-position:0 -256px
}