.userinfo > a > img {
	margin-top:20px;
}

twitter-widget {
	max-width: 100% !important;
}

.quotetitle, .quotecontent {
	margin: 0;
	overflow: auto;
}

.quotecontent {
	margin-bottom: 10px;
}

.uploaded_img {
    max-width: 100%;
}

.sig_img {
	max-height: 150px;
}

.up  {
	margin-right: 15px;
}

.youtubeplayer {
	overflow: auto;
}


.forum-wide-responsive {
	margin-left: 2px !important;
}

.gensmall_left {
	float: left;
}

/*
.gensmall_right {
	float: right;
}
*/

.sm_blue {
        font-size: 0.9em;
        padding: 0px 2px;
        border-radius: 3px;
        text-align: center;
		line-height: 24px;
        min-width: 60px;
		margin-top: 5px;
		margin-bottom: 5px;
}


.forum-wide-responsive { width: 320px; height: 100px; }
@media(min-width: 340px) { .forum-wide-responsive { width: 336px; height: 280px; } }
@media(min-width: 780px) { .forum-wide-responsive { width: 728px; height: 90px; } }

ol {
    list-style-type: none;
    margin: 0;
    margin-left: 3em;
    padding: 0;
    border: none;
    counter-reset: li-counter;
}
ol li{
    position: relative;
    margin-bottom: 15px;
    padding: 1em;
    border: none;
}
ol li:before {
    position: absolute;
    top: 0;
    left: -1em;
    width: 0.94em;
    height: 0.94em;

    font-size: 3em;
    line-height: 0.94;
    text-align: center;
    color: #f5f5f5;

    background-color: #464646;
    content: counter(li-counter);
    counter-increment: li-counter;
}


@media (max-width:801px) {
	.userinfo > a > img {
    	margin-top:0px;
	}

	.sig {
		font-size: 0.75em;
	}

/*
	.forumline {
		margin-top: 20px;
	}
*/
	table {max-width: 100%; }
    table td:empty { display: none; }

	.youtube_forum {
    	max-width: 80vw;
		overflow: auto;
	}

	.small_button {
		margin: 15px 10px 15px 10px;
	}
 
	.uploaded_img {
	 max-width: 100%;
	 overflow:auto;
	}

	.th1 {
		width: 8%;
		max-width: 10%;
	}

	.th2 {
		width: 89%;
		max-width: 89%;
	}

/*
	p { 
		max-width: 600px;
	}
*/	
	.avatar {
		max-width: 33%;
	}

	.fb-comments-container{
		padding: 0px !important;
		float: left;
	}

/*
	.postbody {
		max-width: 600px;
	}
*/

/*
	.quotetitle {
		max-width: 440px !important;
	}

	.quotecontent {
		max-width: 438px;
	}
*/

	textarea {
		max-width: 90%;
		display: block;
		margin-left: auto;
		margin-right: auto;
		font-size: 1em;
	}

	input.button {
		width: 85px;
	}

	.navbar_row {
    	text-align: left;
	}

	.row1{
    	padding-left: 2px;
	}

	.row2 {
    	padding-left: 2px;
	}

    p {
      font-size:1.05em;
    }

    .poll_img {
        max-width: 180px;
        max-height: 14px;
		margin: 0;
    }

	.small-avatar {
		max-width: 50px;
		max-height: 50px;
	}

}

@media (max-width:690px) {

	.sig_img {
    	max-height: 65px;
	}

	.gensmall_left {
		float: none;
	}


	.gensmall_right {
		float: none;
	}
/*
	.postbody p:first-child {
		margin-top: -10px;
	}
*/
	.youtube_forum {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 30px; height: 0; overflow: auto;
	}

	.youtubeplayer iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
	}

 	table, thead, tbody, tfoot, tr {
        display:block;
        border-collapse: collapse;
		vertical-align:top;
    }

	.fb-comments-container{
		max-width: 318px !important;
	}

	.pagination {
		margin-top: 10px;
		margin-bottom: 10px;
	}

	.pagination ul {
		font-size: 13px;
	}
	.thumbsup {
		display: none;
	}

	.avatar {
        max-width: 50px;
		padding: 1px;
    }

	p + div, div + p {
		margin-top: 0;
	}

	td + td {
		margin: 0;
	}

	tr + td {
		margin: 0;
	}

	.top_buttons {
		margin-bottom: 10px;
	}

	.row1, .row2, td.cat { 
		background-color: transparent !important; 
		background: none;
	}

	p, .quotecontent, .postbody {
      font-size:0.97em;
      line-height: 1.35em;
    }

	.post_date {
		font-size: 0.75em;
	}
	.quotecontent, .quotetitle {
		font-size: 0.92em;
	}

	.quotecontent {
    	margin-bottom: 8px;
	}

	.name {
	  font-size:0.82em;
	  display: inline-block;
	  max-width: 100px;
	}

	.userinfo {
		font-size:0.93em;
      	line-height: 1.02em;
	}

	.post_date, .post_number {
		white-space: nowrap;
	}
	
    td, th{
        display: inline;
        border: 0;
		vertical-align:top;
    }

    tr {
		border: 0; 
		vertical-align:top;
	}

/*
	tr + tr  {
		border-bottom: 1px solid gray;
	}
*/

	#posttable img {
	}

	.bar_sep {
		height: 20px;
	}

	.userinfo_container {
		display: table;
	}

	.userinfo_block {
		display: flex;
		flex-direction: column;
		gap: 6px;
		padding: 12px;
		background: #f8f9fa;
		border-radius: 8px;
		border: 1px solid #dee2e6;
	}

	.userinfo {
		font-size: 0.875rem;
		color: #495057;
		line-height: 1.5;
	}

	.userinfo a {
		color: #0066cc;
		text-decoration: none;
	}

	.userinfo a:hover {
		text-decoration: underline;
	}

	.userinfo img {
		max-width: 20px;
		max-height: 20px;
		vertical-align: middle;
	}

	.gensmall {
		margin-top: 3px;
	}
    .postrow {
        padding: 2px;
        padding-top: 8px;
		margin-top: 8px;
    }

	.postrow::before {
		content: "";
		display: block;
		background-color: #c0c0c0;
		width: 100%;
		height: 1px;
		margin-bottom: 3px;
	}

	.postrow_container {
		border: 2px dashed red;
	}
	
	.userblock {
		/*display: none;*/
		overflow: auto;
		max-width: 100%;
	}

	.imagedropshadow {
		margin-bottom: 12px;
	}

	.nav {
		margin-left: 6px;
		line-height: 44px;
	}

	h1 {
		font-size: 1.05em;
		font-family: georgia, serif;
	}

	.banner {
		margin-bottom: -35px;
	}

	.navbar tr {
		margin-bottom: -12px;
	}

	tr.th {
		margin-bottom: -10px;
	}	

	th.thc, th {
		background: none;
		background-image: none;
	}		

    .quotecontent p:first-child {
        margin-top: 10px; /* Override for first <p> in quotecontent */
    }
}

/* ── Box score table: hard reset against all responsive breakpoints ─────────
   Must be at EOF so cascade order guarantees it wins over earlier rules.
   [id^="bs-"] selectors have higher specificity than bare td/th/tr, and
   !important beats any non-!important rule including those above.            */
@media (max-width: 801px) {
    [id^="bs-"]                { display: table !important; min-width: 800px !important; }
    [id^="bs-"] thead          { display: table-header-group !important; }
    [id^="bs-"] tbody          { display: table-row-group !important; }
    [id^="bs-"] tfoot          { display: table-footer-group !important; }
    [id^="bs-"] tr             { display: table-row !important; width: auto !important; }
    [id^="bs-"] td,
    [id^="bs-"] th             { display: table-cell !important;
                                  white-space: nowrap !important;
                                  vertical-align: middle !important;
                                  font-size: 0.75rem !important; }
    [id^="bs-"] td:empty       { display: table-cell !important; }
}
