/* Content Styles
---------------------------------------- */

.forums .row-item {
    padding: 2px 0px;
}

ul.topiclist {
    border-radius: 3px;
	display: block;
	list-style-type: none;
	margin: 0;
}

ul.topiclist li {
	display: block;
	list-style-type: none;
	margin: 0;
}

ul.topiclist li:last-child {
    border: none;
}

ul.topiclist dl {
	position: relative;
}

ul.topiclist li.row dl {
    line-height: 1.7em;
	margin: 3px 0;
}

.left-column ul.topiclist li.row dl {
    margin: 8px 0;
}

.section-viewforum ul.topiclist li.row dl {
    margin: 3px 0;
}

ul.topiclist dt, ul.topiclist dd {
	display: block;
	float: left;
}

ul.topiclist dt {
	width: 100%;
	margin-right: -390px;
	font-size: 1.1em;
}

ul.topiclist.missing-column dt {
	margin-right: -345px;
}

ul.topiclist.two-long-columns dt {
	margin-right: -250px;
}

ul.topiclist.two-columns dt {
	margin-right: -80px;
}

ul.topiclist dt .list-inner {
	margin-right: 390px;
	padding-left: 0px;
	padding-right: 5px;
}

ul.topiclist.missing-column dt .list-inner {
	margin-right: 345px;
}

ul.topiclist.two-long-columns dt .list-inner {
	margin-right: 250px;
}

ul.topiclist.two-columns dt .list-inner {
	margin-right: 80px;
}

ul.topiclist dd {
	border-left: 1px solid transparent;
	padding: 0;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

ul.topiclist li.row dd {
	padding: 4px 0 999px 0;
	margin-bottom: -995px;
}

ul.topiclist dfn {
	/* Labels for post/view counts */
	position: absolute;
	left: -999px;
	width: 990px;
}

.forum-image {
	float: left;
	padding-top: 5px;
	margin-right: 5px;
}

li.row {
	border-top: 1px solid transparent;
	border-bottom: 1px solid transparent;
}

li.row strong {
	font-weight: normal;
}

li.header dt, li.header dd {
	line-height: 1em;
	border-left-width: 0;
	margin: 3px 0 5px 0;
	font-size: 1em;
	text-transform: uppercase;
}

li.header dt {
	font-weight: bold;
	width: 100%;
	margin-right: -390px;
}

li.header dt .list-inner {
	margin-right: 440px;
}

li.header dd {
	padding-left: 1px;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

li.header dl.row-item dt, li.header dl.row-item dd {
	min-height: 0;
    font-weight: 700;
}

li.header dl.row-item dt .list-inner {
	/* Tweak for headers alignment when folder icon used */
	padding-left: 0;
	padding-right: 50px;
}

/* Forum list column styles */
.row .list-inner { padding: 4px 0; }

dl.row-item {
	background-position: 10px 10px;		/* Position of folder icon */
	background-repeat: no-repeat;
	background-size: 32px;
}

dl.row-item dt {
	background-repeat: no-repeat;
	background-position: 5px 95%;		/* Position of topic icon */
	background-size: 17px;
}

dl.row-item dt .list-inner {
	padding-left: 56px;					/* Space for folder icon */
}

dl.row-item dt, dl.row-item dd {
	min-height: 35px;
}

dl.row-item dt a {
	display: inline;
}

dl a.row-item-link {						/* topic row icon links */
	display: block;
	width: 30px;
	height: 30px;
	padding: 0;
	position: absolute;
	top: 50%;
	left: 0;
	margin-top: -15px;
	margin-left: 9px;
}

dd.posts, dd.topics, dd.views, dd.extra, dd.mark {
	width: 80px;
	text-align: center;
	line-height: 2.2em;
	font-size: 1.2em;
}

dd.posts, dd.topics, dd.views {
	width: 80px;
}

.forumbg:not(.recent-topics) .topiclist.topics > li {
	line-height: 1.7em;
	padding: 4px 0;
}

.euro2020 img {
  width: 70px;
  height: auto;
  padding-right: 6px;
  vertical-align: middle;
}

/* List in forum description */
dl.row-item dt ol,
dl.row-item dt ul {
	list-style-position: inside;
	margin-left: 1em;
}

dl.row-item dt li {
	display: list-item;
	list-style-type: inherit;
}

dd.lastpost, dd.redirect, dd.moderation, dd.time, dd.info {
	width: 220px;
	font-size: 1.1em;
}

dd.redirect {
	line-height: 2.5em;
}

dd.time {
	line-height: 200%;
}

dd.lastpost > span, ul.topiclist dd.info > span, ul.topiclist dd.time > span, dd.redirect > span, dd.moderation > span {
	display: block;
	padding-left: 15px;
}

dd.extra, dd.mark {
	line-height: 200%;
}

dd.option {
	width: 125px;
	line-height: 200%;
	text-align: center;
	font-size: 1.1em;
}
/* Post container styles */

.post-container .inner {

}


/* Post body styles
----------------------------------------*/
.postbody {
	/* padding: 0.25em 0 1em; */
	padding: 0 0 1em;
	line-height: 1.48em;
	width: 77%;
	float: right;
	position: relative;
}

.postbody .ignore {
	font-size: 1.1em;
    opacity: 0.8;
}

.profile_hidden .postbody {
  padding: 0;
}

.warned .postbody, .post-hidden .postbody {
    /* padding: 0; */
}


.post.post-hidden {
    padding-top: 1.2em;
    padding-bottom: 1.2em;
}

.postbody h3.first {
	/* The first post on the page uses this */
}

.postbody h3 {
	/* Postbody requires a different h3 format - so change it here */
    display: inline-block!important;
	float: left;
	font-size: 1.25em;
	/* padding: 2px 0 0 0; */
	padding: 0 0 2px 0;
	margin-top: 0 !important;
	margin-bottom: 0.3em !important;
	text-transform: none;
	border: none;
	line-height: 1;
}

.postbody h3 img {
	vertical-align: bottom;
}

.has-profile .postbody h3 {
	/* If there is a post-profile, we position the post-buttons differently */
	float: none !important;
	margin-right: 180px;
}

.postbody .content {
    font-size: 1.3em;
    overflow-x: auto;
    padding: 1em 5.5em 0 0;
    line-height: 1.85em;
    letter-spacing: 0.15px;
}

.postbody .content > span[data-s9e-mediaembed] {
  display: block !important;
  padding: 12px 0;
}

.postbody .content [data-s9e-mediaembed] {
  max-width: 800px !important;
}

.postbody .content > img:not(.smilies) + br {
    display: none;
}

.postbody img.postimage {
	max-width: 100%;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

.postbody img.postimage[src*="tinypic"] {
    display: none;
}

.postbody .content .postimage {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 4px;
    display: block;
    margin: 6px 0;
}

.postbody .content .postimage[src*="emoji"] {
    background: none;
    border: none;
    padding: 0;
}

.postbody .content td {
    padding: 10px;
    vertical-align: top;
}

.post-reputation span {
    font-size: 1em!important;
}


.content iframe[id*="sofa"] {
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-top: 16px;
}

span[data-s9e-mediaembed] iframe, iframe[data-s9e-mediaembed], span[data-s9e-mediaembed] iframe #media-container {
    border-radius: 4px;
}

.search .postbody {
	width: 68%
}

.media-container {
    border-radius: 4px;
}

img.smilies {
    max-height: 25px;
    width: auto;
}

/* Topic review panel
----------------------------------------*/
.panel .review {
	margin-top: 2em;
}

.topicreview {
	padding-right: 5px;
	overflow: auto;
	height: 300px;
}

.topicreview .postbody {
	width: auto;
	float: none;
	margin: 0;
	height: auto;
}

.topicreview .post {
	height: auto;
}

.topicreview h2 {
	border-bottom-width: 0;
}

.post-ignore .postbody {
	display: none;
}

/* MCP Post details
----------------------------------------*/
.post_details {
	/* This will only work in IE7+, plus the others */
	overflow: auto;
	max-height: 300px;
}

/* Content container styles
----------------------------------------*/
.content {
	clear: both;
	min-height: 3em;
	overflow: hidden;
	line-height: 1.8em;
	font-size: 1em;
	padding-bottom: 10px;
    padding-top: 6px;
    letter-spacing: 0.4px;
}

.content h2, .panel h2 {
	font-weight: normal;
	border-bottom: 1px solid transparent;
	font-size: 1.6em;
	margin-bottom: 0.5em;
	padding-bottom: 0.5em;
}

.panel h3 {
	margin: 0.5em 0;
}

.panel p {
	font-size: 1.2em;
	margin-bottom: 1em;
	line-height: 1.4em;
}


.content p {
	font-size: 1.2em;
	margin-bottom: 1em;
	line-height: 1.4em;
}

dl.faq {
	font-size: 1.1em;
	margin-top: 1em;
	margin-bottom: 2em;
	line-height: 1.4em;
}

dl.faq dt {
	font-weight: bold;
}

.content dl.faq {
	font-size: 1.2em;
	margin-bottom: 0.5em;
}

.content li {
	list-style-type: inherit;
}

.content ul, .content ol {
	margin: 0.8em 0 0.9em 3em;
}

.posthilit {
	padding: 0 2px 1px 2px;
}

/* Post author */
p.author {
	margin-bottom: 1em;
	padding: 0;
	font-size: 1em;
    font-weight: 700;
	line-height: 1.2em;
	clear: both;
}

.post-container .post.hidden_subject .postbody p.author {
    padding: 0;
    margin-bottom: 1em;
}


/* Post signature */
.signature {
	margin-top: 3em;
	padding-top: 0.5em;
	font-size: 1.1em;
	border-top: 1px solid transparent;
	clear: left;
	line-height: 140%;
	overflow: hidden;
	width: 100%;
}

.signature * {
    font-size: 1em!important;
}

.signature.standalone {
	border-top-width: 0;
	margin-top: 0;
}

dd .signature {
	margin: 0;
	padding: 0;
	clear: none;
	border: none;
}

.signature li {
	list-style-type: inherit;
}

.signature .postimage {
    max-height: 155px;
    float: left;
    margin-right: 6px;
}

.signature .postimage + br, .signature br + br {
    display: none;
}

.signature .postlink {
    line-height: 0;
}

.signature ul, .signature ol {
	margin: 0.8em 0 0.9em 3em;
}

/* Post noticies */
.notice {
    border-top: 1px dashed transparent;
	clear: left;
    display: inline-block;
    font-size: 1em;
	line-height: 130%;
    margin-top: 2.5em;
    opacity: .6;
    padding-top: 0.5em;
    width: auto;
}

.notice::before {        /* ikona ołówka */
    content: "\f040";
    font-family: Fontawesome;
}

/* Jump to post link for now */
ul.searchresults {
	list-style: none;
	text-align: right;
	clear: both;
}

/* BB Code styles
----------------------------------------*/
/* Quote block */
blockquote {
	border: 1px solid transparent;
    border-radius: 4px;
    letter-spacing: 0.1px;
    line-height: 1.75em;
	font-size: 0.95em;
	margin: 1.4em 1px 1.2em 1em;
	overflow: hidden;
	padding: 15px;
}

blockquote blockquote {
	/* Nested quotes */
	margin: 1em 1px 1em 15px;
}

blockquote cite {
	/* Username/source of quoter */
	font-style: normal;
	font-weight: bold;
	display: block;
	font-size: 0.9em;
}

blockquote cite cite {
	font-size: 1em;
}

blockquote cite:before, .uncited:before {
	padding-right: 5px;
}

blockquote cite > div {
	float: right;
	font-weight: bold;
}

.postbody .content li blockquote {
	overflow: inherit;
	margin-left: 0;
}

.quotecontent {
	border-radius: 4px;
	padding: 5px 10px;
}

/* Code block */
.codebox {
	border: 1px solid transparent;
	font-size: 1em;
	margin: 1em 0 1.2em 0;
	word-wrap: normal;
}

.codebox p {
	text-transform: uppercase;
	border-bottom: 1px solid transparent;
	margin-bottom: 0;
	padding: 3px;
	font-size: 0.8em !important;
	font-weight: bold;
	display: block;
}

blockquote .codebox {
	margin-left: 0;
}

.codebox code {
	overflow: auto;
	display: block;
	height: auto;
	max-height: 330px;
	padding: 5px 3px;
	font: 0.9em Monaco, "Andale Mono","Courier New", Courier, monospace;
	line-height: 1.3em;
}

/* Attachments
----------------------------------------*/
.attachbox {
	font-size: 13px;
	float: left;
	width: auto;
	max-width: 100%;
	margin: 5px 5px 5px 0;
	padding: 6px;
	border: 1px dashed transparent;
	clear: left;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

.attachbox dt {
	text-transform: uppercase;
}

.attachbox dd {
	margin-top: 4px;
	padding-top: 4px;
	clear: left;
	border-top: 1px solid transparent;
	overflow-x: auto;
}

.attachbox dd dd {
	border: none;
}

.attachbox p {
	line-height: 110%;
	font-weight: normal;
	clear: left;
}

.attachbox p.stats
{
	line-height: 110%;
	font-weight: normal;
	clear: left;
}

.attach-image {
	margin: 3px 0;
	max-width: 100%;
}

.attach-image img {
	border: 1px solid transparent;
/*	cursor: move; */
	cursor: default;
}

/* Inline image thumbnails */
div.inline-attachment dl.thumbnail, div.inline-attachment dl.file {
	display: block;
	margin-bottom: 4px;
}

div.inline-attachment p {
	font-size: 100%;
}

dl.file {
	display: block;
}

dl.file dt {
	text-transform: none;
	margin: 0;
	padding: 0;
	font-weight: bold;
}

dl.file dd {
	margin: 0;
	padding: 0;
}

dl.thumbnail img {
	padding: 3px;
	border: 1px solid transparent;
	box-sizing: border-box;
}

dl.thumbnail dd {
	font-style: italic;
}

.attachbox dl.thumbnail dd {
	font-size: 100%;
}

dl.thumbnail dt a:hover img {
	border: 1px solid transparent;
}

/* Post poll styles
----------------------------------------*/

/* The Modal (background) */
.poll_modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 99; /* Sit on top */
    left: 0;
    top: 0;
    height: 100%;
    width: 100%; /* Full width */
    overflow: hidden; /* Disable scroll */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content/Box */
.poll_modal_content {
    background-color: #fefefe;
    border-radius: 8px;
    margin: 6% auto 5%;
    padding: 5px;
    max-width: 700px;
    position: relative;
}

#myPollModal.poll_modal .poll_modal_content {
    overflow-y: auto;
    max-height: calc(100vh - 20%);
}

.poll_modal_content .content {
    clear: none;
    letter-spacing: 0.1px;
}

.poll_modal_content .panel {
    position: relative;
}

.poll_modal_content .content h2, .panel h2 {
    border: none;
    margin-bottom: 0;
    padding-right: 12px;
}


/* wyniki slider czu */

#sf {
  /* margin-top: -6px; */
}

.ss_slider_content {
  margin: 0;
  height: 100%;
  overflow: hidden;
}



.ss_slider_content_inner {
    /* height: 720px; */
    max-height: calc(100vh - 200px);
    overflow: auto;
}

.ss_slider_content {
  margin: 0;
  height: 100%;
  overflow: hidden;
}


@media only screen and (max-width: 600px) {
    .poll_modal_content {
        max-width: 92%;
    }

    .ss_slider_content_inner {
        height: calc(100vh - 150px);
    }
}



/* The Close Button */
.poll_close {
    border-radius: 0 6px 0px 0px;
    font-size: 28px;
    font-weight: bold;
    padding: 8px;
    position: absolute;
    right: 0;
    top: 0;
    background: white;
    z-index: 1;
}

.poll_close:hover,
.poll_close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}


fieldset.polls {
}

fieldset.polls dl {
	margin-top: 5px;
	border-top: 1px solid transparent;
	padding: 5px 0 0 0;
	line-height: 120%;
}

fieldset.polls dl.voted {
	font-weight: bold;
}

fieldset.polls dt {
    border-right: none;
    display: block;
    font-size: 1.05em;
	float: left;
    line-height: 1.4em;
    margin: 0;
    padding: 0;
    text-align: left;
	width: 45%;
}

fieldset.polls dd {
	float: left;
	border-left: none;
	margin: 0;
	font-size: 1.1em;
}

fieldset.polls dd.resultbar {
    border-radius: 2px;
    width: 35%;
    margin-right: 5px;
}

fieldset.polls dd.poll_option_select {
    float: right;
}

fieldset.polls dd input {
	margin: 2px 0;
}

fieldset.polls dd div {
    font-size: .9em;
    font-weight: bold;
    text-align: right;
    overflow: visible;
    min-width: 8px;
    border-radius: 2px;
    padding-right: 4px;
    box-sizing: border-box;
}

fieldset .poll_vote dd {
    float: right;
    text-align: center;
}

/* fieldset.polls .poll_view_results {
    position: absolute;
    bottom: 18px;
    right: 15px;
} */

fieldset.polls .poll_view_results {
      float: left;
      font-size: .95em;
      margin-top: 18px;
}

fieldset.polls .poll_total_votes {
    float: left;
    font-size: 0.95em;
    line-height: 16px;
    margin-top: 18px;
}

.poll_footer {
  padding: 8px 0 2px;
}


dl.voted ~ .poll_total_votes {
    position: initial;
    float: left;
    margin-top: 15px;
}

.pollbar1, .pollbar2, .pollbar3, .pollbar4, .pollbar5 {
	border-bottom: 1px solid transparent;
	border-right: 1px solid transparent;
}

.vote-submitted {
	font-size: 1.2em;
	font-weight: bold;
	text-align: center;
}

/* Poster profile block
----------------------------------------*/
.postprofile {
    border: 1px solid transparent;
    border-width: 0 0 0 1px;
    display: inline;
    float: left;
    font-size: 1.05em;
	/* margin: 6px 0 10px 0; */
	margin: 0;
	min-height: 80px;
	width: 22%;
}

.postprofile dd, .postprofile dt {
	line-height: 1.55em;
	margin-left: 8px;
}

.postprofile dd {
	overflow: hidden;
	text-overflow: ellipsis;
}

.postprofile strong {
	font-weight: normal;
}

.postprofile dt.no-profile-rank, .postprofile dd.profile-rank, .postprofile .search-result-date {
	margin-bottom: 8px;
}

.postprofile dd.profile-rank {
	line-height:1.4;
}

.postprofile dd.profile-rank img {
	margin-top: 9px;
    max-width: 110px;
}

.postprofile .username, .postprofile .username-coloured {
    font-size: 1.3em;
}

/* Post-profile avatars */
.postprofile .has-avatar .avatar-container {
	margin-bottom: 3px;
	overflow: hidden;
}

.postprofile .avatar {
	display: block;
	float: left;
	max-width: 100%;
    margin-bottom: 4px;
}

.postprofile .avatar img {
	display: block;
	height: auto !important;
	max-width: 100%;
    border-radius: 3px;
}

.postprofile .profile-posts a {
	font-weight: normal;
}

dd.profile-warnings {
	font-weight: bold;
}

dd.profile-contact {
	overflow: visible;
}

.profile-best-comments {
    bottom: 0;
    line-height: 1;
}

.profile-best-comment:first-child {
    margin-top: 12px;
}

.profile-best-comment {
    background: #fff;
    border: 1px solid #d2d2d2;
    border-radius: 3px;
    display: inline-block;
    margin-top: 4px;
    padding: 2px 4px;
}

.profile-best-comment a:hover {
    color: #6a873e;
}

.profile-contact .dropdown-container {
	display: inline-block;
}

.profile-contact .icon_contact {
	vertical-align: middle;
}

.profile-contact .dropdown {
	margin-right: -14px;
}

.online {
	background-image: none;
	background-position: 100% 0;
	background-repeat: no-repeat;
}

/* Poster profile used by search*/
.search .postprofile {
	width: 30%;
}

/* Profile used on view-profile */
.profile-avatar img {
    border-radius: 4px;
    max-width: 100%;
}

/* pm list in compose message if mass pm is enabled */
dl.pmlist dt {
	width: 60% !important;
}

dl.pmlist dt textarea {
	width: 95%;
}

dl.pmlist dd {
	margin-left: 61% !important;
	margin-bottom: 2px;
}

.action-bar div.dl_links {
	padding: 10px 0 0 10px;
}

div.dl_links {
	display: inline-block;
	text-transform: none;
}

.dl_links strong {
	font-weight: bold;
}

.dl_links ul {
	list-style-type: none;
	margin: 0;
	display: inline-block;
}

.dl_links li {
	display: inline-block;
}

.attachment-filename {
	width: 100%;
}

.ellipsis-text {
	display: inline-block;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

table.fixed-width-table {
	table-layout: fixed;
}

/* Show scrollbars for items with overflow on iOS devices
----------------------------------------*/
.postbody .content::-webkit-scrollbar, .topicreview::-webkit-scrollbar, .post_details::-webkit-scrollbar, .codebox code::-webkit-scrollbar, .attachbox dd::-webkit-scrollbar, .attach-image::-webkit-scrollbar, .dropdown-extended ul::-webkit-scrollbar {
	width: 8px;
	height: 8px;
	-webkit-appearance: none;
	background: rgba(0, 0, 0, .1);
	border-radius: 3px;
}

.postbody .content::-webkit-scrollbar-thumb, .topicreview::-webkit-scrollbar-thumb, .post_details::-webkit-scrollbar-thumb, .codebox code::-webkit-scrollbar-thumb, .attachbox dd::-webkit-scrollbar-thumb, .attach-image::-webkit-scrollbar-thumb, .dropdown-extended ul::-webkit-scrollbar-thumb {
	background: rgba(0, 0, 0, .3);
	border-radius: 3px;
}

#memberlist tr.inactive, #team tr.inactive {
	font-style: italic;
}

.breadcrumbs2 .crumb .dropdown-trigger span {
    font-weight: normal;
    font-size: 1.1em;
}

/* CZU collapsible button alignment */

.collapse-btn {
    border-color: #ddd;
	margin: -26px 0 0 0!important;
}



/* CZU sticky nav */

#static-header.shown {
    padding-top: 0px;
}

@media only screen and (min-width: 700px), only screen and (min-device-width: 700px) {

}

/* livescore */

#livescore_wyn iframe {
    display: block;
    height: 295px;
    max-height: 295px;
}

#livescore_wyn h3 {
    display: inline-block;
    padding-right: 4px;
}

.livescore-btns {
  display: inline-block;
}

.livescore-btns button {
    padding: 0px 4px;
}

#quick-login-panel {
    width: 414px!important;
}

#quick-login-panel .ql-options span {
    padding-left: 6px;
}

/* video */

video {
    border-radius: 4px;
    /* width: auto; */
    max-height: 500px;
}

/* SOCIAL BAR */

.fb-like-wrapper {
    display: inline-block;
    max-height: 20px;
    width: 107px;
}

.fb-like {
    margin-bottom: 12px;
}

.fb_iframe_widget {
}

.social-buttons {
    display: inline;
    vertical-align: top;
}

.social-buttons > div {
    display: inline;
    padding-right: 10px;
}

.social-buttons img {
  height: 22px;
  width: 22px;
}

/* Ogłoszenia globalne */
#phpbb_announcement {
    background-color: white!important;
}

#phpbb_announcement div {
    line-height: 2em!important;
    font-size: 1.1em!important;
    font-weight: bold;
}


/* swoodle */

.site-description {
    position: relative;
}

.swoodle {
    position: absolute;
    right: 20px;
    top: 20px;
}

/* recenttopics */


#recent-topics-box .topics dl.row-item dt .list-inner {
    line-height: 1.45em;
    padding-left: 62px;
}

#recent-topics-box li.header dl.row-item dt .list-inner {
    padding-left: 0px;
}

#recent-topics-box dl a.row-item-link {						/* topic row icon links */
	width: 44px;
	height: 44px;
	padding: 0;
	position: absolute;
	top: 50%;
	left: 0;
	margin-top: -23px;
	margin-left: 5px;
}

#recent-topics-box ul.topiclist li.row dl {
	margin: 5px 0;
}

#recent-topics {
    display: block;
}

#recent-topics-box .icon.fa-bar-chart.fa-fw {
    padding-left: 4px;
    font-size: 1em;
}

.avatar_circle_container {
    width: 44px;
    height: 44px;
    position: absolute;
    overflow: hidden;
    border-radius: 100px;
    top: 5px;
    left: 5px;
}

.rt_unread .avatar_circle::after {
    width: 11px;
    height: 11px;
    content: ' ';
    position: absolute;
    left: 34px;
    border-radius: 50%;
}

.avatar_circle img {
  height: auto;
  max-width: 100%;
  min-height: 100%;
  object-fit: cover;
  min-width: 44px;
}

.notification-block .avatar_circle_container {
    width: 49px;
    height: 49px;
    top: 8px;
    left: 10px;
}

.notification_list ul li .avatar_circle img {
    max-height: initial;
    max-width: 49px;
    min-height: 49px;
}

#reputation-popup {
    border: none;
}

/* livescore popup */
/* Popup Overlay Styles */
.livescore-popup-overlay {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1000; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
    overflow-y: auto; /* Important for scroll if popup content is very large */
}

/* Popup Content Styles */
.livescore-popup-content, .birthdayPopupContent {
    background-color: #fff;
    margin: auto;
    padding: 10px;
    border: 1px solid #888;
    border-radius: 8px;
    width: 90%; /* Adjust width as needed */
    max-width: 800px; /* Max width for larger screens */
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    position: relative;
    display: flex; /* Use flexbox for inner content */
    flex-direction: column; /* Stack children vertically */
    /* Set a maximum height for the popup content and allow it to scroll if its children exceed it */
    /* CHANGED FROM 90vh TO 80vh */
    max-height: 75vh; /* Make sure it fits within 80% of the viewport height */
    overflow-y: auto; /* THIS IS KEY: Allows the popup content to scroll if iframe is too tall */
}

/* Close Button */
.livescore-close-btn, .birthdayPopupCloseBtn {
    color: #aaa;
    position: sticky;
    top: 0;
    right: 0;
    align-self: flex-end;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    background-color: #fff;
    padding-bottom: 10px;
    z-index: 1001;
}

.livescore-close-btn:hover, .livescore-close-btn:focus {
    color: #000;
    text-decoration: none;
}

/* Iframe Styles */
.livescore-popup-content iframe {
    width: 100%; /* Iframe takes full width of its container */
    height: 1000px; /* Use the iframe's specified height */
    border: none; /* Remove default iframe border */
    margin-top: -26px;
    /* The iframe's internal scrolling is controlled by its own attributes and content */
}


.birthdayPopupContent {
    display: none;
}
