/*  
Theme Name: TGI  Classifieds
Theme URI: http://www.classifieds.thegardenisland.com/
Author: TGI Classifieds
*/

.group:after {
	content: "";
	display: table;
	clear: both;
}

@charset 'UTF-8';
/* CSS Document */

.group:after
{display: table; clear: both; 

		content: '';
}

/* reset css */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote,
pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s,
samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul,
li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary, time, mark, audio, video
{
	font: inherit;
	font-size: 100%;
	
	margin: 0;
	padding: 0;
	
	border: 0;
}

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section
{
		display: block;
}

blockquote:before,
blockquote:after,
q:before,
q:after
{
		content: '';
		content: none;
}

table
{
		border-spacing: 0;
		border-collapse: collapse;
}

body
{
	font: 100% 'roboto', 'Trebuchet MS', sans-serif;
	background-color: white;
}

h2 
{
		font-family: Arial, sans-serif;
		font-size: 36px;
		line-height: 38px;
		font-weight: bold;
		color: #505050;
	 
		text-align: center;
		
		padding: 5px 0px 10px 0px;
		max-width: 582px;
		
		box-sizing: border-box;
}

h4 {
		width: 100%;
		float: left;
		padding-left: 15px;
		display: inline-block;
		font-family: Arial, sans-serif;
		font-size: 14px;
		line-height: 38px;
		font-weight: bolder;
		color: #004b8d; 
		box-sizing: border-box;
}

.merchsublist {
width: auto;
max-width: 582px;
}

a {
text-decoration: none;
color: #575757;   
}

a:hover {
color: #004b8d;   
}


.bigwrapper {
box-sizing: border-box;
		margin: 0 auto;

}

.merchbigwrapper {
box-sizing: border-box;
}

.wrapper
{
		display: flex;

		max-width: 1340px;
		height: auto;
		margin: 0px;
		padding: 0px;
				padding-top: 15px;
		flex-flow: row wrap;
		justify-content: flex-start;
		justify-content: center;
}

 .postwrapper 
{
 width: 100%; 
 max-width:750px;
 margin-top: 23px;
}


.ads-wrapper, .content-wrapper {
		display: flex;
		justify-content: space-around;
		width:100%;
		height:auto;
		max-width: 1270px;
		height: auto;
		box-sizing: border-box;
}

.postbigwrapper {
margin: auto;
width: 100%;
max-width: 1340px;
}

.icon {
background-image: url(images/merchandise_icon_blue.png);
background-repeat: no-repeat; !important;
margin-top: -33px;
margin-left:220px;
width:40px;
height:40px;
}



#buttonmerch {
	margin-left: 50px;
		width:100%;
		height:100%;
		max-height:75px;
		max-width: 75px;
		background: #cccccc;
		font-family: Arial, sans-serif;
		font-size: 14px;
		font-style: italic;
		color: #505050;
		border-radius: 8px;
		border-style: none;

}

#countermerch {
		width: 200px; 
		padding-top: 10px;
		margin-left: 50px;
		font-family: Arial, sans-serif;
		font-size: 10px;
		font-style: italic;
		color: #004b8d;
}

.category-sublist {
			display: inline-block;
			width: auto;
			height: auto;
			font-family: Arial, sans-serif;
			font-size: 11px;
		line-height: 18px;
		text-align: center;
		margin-top: 5px;
		color: #f212a8;
}

.catsublistli {
	display: inline-block;
	width: auto;
					padding-left: 2px;
					padding-right:2px;
	margin-left: 5px;
}

.linedivide {
		border-bottom: 1px solid #9cc7e9;
		width:100%;
		max-width:627px;
		margin-left: 10px;
		margin-top:7px;
}

.ads-left-rail, .content-left-rail {
width: 100%;
height: 275px;
max-width: 230px;
min-width: 150px;
margin-top: 20px;
border-top: solid 5px #3a8ad6;
background-color: #dddcdc;
box-sizing: border-box;
}


.categories a {
font-family: Arial, sans-serif;
font-size: 12px;
font-kerning: normal;
line-height: 21px;
margin-top: 8px;
margin-left: 10px;
color: #004b8d;
}

.categories a:hover {
		color: #207cca;
}

#category-selected {
font-family: Arial, sans-serif;
font-weight: bolder;
font-kerning: normal;   
}

.ads-listing, .content-listing {
width:100%;  
max-width: 650px;
height: auto;
margin-top: 20px;
background-color: white;
border-top: solid 5px #9cc7e9;    
border-left: solid 1px #d6d6d7;
border-right: solid 1px #d6d6d7;
border-bottom: solid 1px #d6d6d7;
box-sizing: border-box;
}

#quicklinks h3 {
		text-align: center;
font-family: Arial, sans-serif;
font-size: 21px;
font-weight: bold;
font-kerning: normal;
color: #004b8d;
margin-left:0px;
margin-top: 2px; 
padding-top: 15px;
padding-left: 0px;
text-decoration: none; 
text-transform: uppercase;
}

.itemlisting{
box-sizing: border-box;
width:100%;
height: auto;
max-width: 650px;
}

.itemlisting a:hover {
		color: #207cca;
}


#tdimage {
width: 50px;
margin: 0px;
padding: 10px 0px 8px 10px;
}


.tddate{
font-family: Arial, sans-serif;
font-size: 11px;
font-weight: bold;
margin: 0px;
width:55px;
padding-bottom: 0px;
color: #f212a8;
}

.tdlisting {
text-decoration: none;
text-align: left;
font-family: Arial, sans-serif;
font-size: 14px;
padding: 0px;
padding-bottom: 10px;
padding-top: 10px;
width:auto;
max-width:390px;
color: #004b8d;
}

.tdprice{
		text-align: left;
font-family: Arial, sans-serif;
font-size: 16px;
font-weight: bold;
padding: 0px;
width: 65px;
padding-left: 15px;
padding-right: 5px;
margin-left:0px;
font-kerning: normal;
padding-bottom: 5px;
color: #f212a8;
}

#tdtimeposted {
position: absolute;
font-family: Arial, sans-serif;
font-size: 11px;
font-style: italic;
margin-top:50px;
margin-left: 113px;
width:auto;
color: #515151;      
}

#tdlocation {
position: absolute;
font-family: Arial, sans-serif;
font-size: 11px;
font-style: italic;
margin-top:50px;
margin-left: 250px;
width:auto;
color: #ca0187;  
}

	.listtable {
		width:625px;
				height: auto;
		border-collapse:collapse;
				padding:0px;
				padding-bottom: 5px;
				padding-top: 5px;
				border-bottom: 1px solid #9cc7e9;
	}

.main-header {
	text-align: left;
}


.main-header .logo2
{
		display: block;
		margin: 0px;
		display: inline;
		padding-left: 15px;

}

.main-header .logo
{
		display: block;
		margin: 0px;
		margin-right:100px;
			display: inline;
			padding-left: 15px;
			width: 100%;
			max-width:900px

}

.buytext {
		display: inline;
		margin: 0px;
		/*margin-top: 80px;*/
		/*width:100%;*/
		max-width:275px;
				box-sizing: border-box;
}


.form
{
		margin: 0px;
		padding: 0px;
		width: 100%;
		max-width: 1280px;
		background: #edf1fa;
}


.form-li
{
		display: inline;
		overflow: hidden;
	-webkit-appearance: none;
		list-style-type: none;
}

#reply
{
		color: white;
		font-family: Arial, sans-serif;
		font-size: 20px;
		margin: 0px;
		text-align: center;
		border: 1px solid #908e8e;
		background-color: #0282bf;
		box-shadow: 1px 1px 1px #505050;
		height: 35px;
		width:100%;
		max-width: 582px;

		-webkit-appearance: none;
}

#search
{
		font-family: Arial, sans-serif;
		color: grey;
		border: 1px solid grey;
		background-color: white;
}

#search-placeholder
{
		font-family: Arial, sans-serif;
		font-size: 16px;
		width: 500px;
		height: 40px;
		margin-left: 5px;
		padding-top: 5px;
		padding-left: 15px;
		color: grey;
		border: 1px solid grey;
}

#button
{
		font-family: Arial, sans-serif;
		font-size: 23px;

		width: 200px;
		margin: 5px;
		margin-left: 5px;
		padding: 7px 25px;

		color: #505050;
		border: 1px solid #908e8e;
		background-color: #c5c5c5;
		box-shadow: 1px 1px 1px #505050;

		-webkit-appearance: none;
}

#addpost
{
		display: flex;
		justify-content: center;
		line-height: 21px;
		margin-bottom: 8px;
		margin-top: -48px;
		margin-left: 725px;
		width: 160px;
		font-family: Arial, sans-serif;
		font-size: 18px;
		padding: 11px 25px 8px 25px;
		color: #fafafa;
		border: 1px solid #908e8e;
		background-color: #0282bf;
		box-shadow: 1px 1px 1px #505050;
}

.button:hover
{
		color: #207cca;
		background-color: #fafafa;
}

#creditcards {
		float:right;
		margin-right: 30px;
		margin-top: 10px;
		max-width:1260px;
}


/**
 * Styling top level items
 */

.nav a
{
		display: block;
		font-family: Arial, sans-serif;

		max-width: 300px;
		padding: 10px;

		color: steelblue;
}

.nav label
{
		cursor: pointer;
		font-family: Arial, sans-serif;
}

	}
			h1 {
			font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
		}

.h2post {
		padding: 12px;
		line-height: 36px;
}

			 .navpost{
			display: block;
			margin-top: 5px;
			margin-bottom: 15px;
			width: 100%;
			font-family: Arial, sans-serif;
			font-size: 14px;
			text-align: center;
		}

		.navpost ul {
			list-style: none;
			margin-top: 10px;
				padding: 0px;
		}

		.navpost li {
			display: inline-block;
		}

		.navpost a {
			color: midnightblue;
			padding: 0px 10px;
			font-size: 14px; 
			border-right: 1px solid midnightblue; 
			text-decoration: none;
		}

		.navpost ul li:nth-last-child(1) a {
			border-right: none; 

		}

		.navpost a:hover {
		color: #207cca;
}

		.navpost select {
			display: none;
		}

.mainimage img{
margin:0px 0px 20px 0px;
width:100%;
height: 100%;
max-width:582px;
max-height: 550px;
box-sizing: border-box;
}



.itemdescription {
	text-align: left;
	font-family: Arial, sans-serif;
	font-size: 18px;
	box-sizing: border-box;
	margin-bottom: 20px;
	width:100%;
	max-width:582px;
}

.ads-right-rail {
box-sizing: border-box;
margin:0px;
padding: 0px;
margin-top:0px;
margin-top:0px;
}

.quicklinks {
font-family: Arial, san-srif;
box-sizing: border-box;
border: 1px solid #004b8d; 
width: 300px;
height: 300px;
margin-top: 25px;
text-decoration: none;

}

.quicktitle {
background: #004b8d;
box-sizing: border-box;
font-family: Arial, sans-serif;
font-size: 21px;
font-kerning: normal;
color:white;
width: 300px;
height: 50px;
margin-left:0px;
margin-top: 0px; 
padding-top: 15px;
padding-left: 10px;
text-decoration: none;

}

#qtitle {
box-sizing: border-box;
font-family: Arial, sans-serif;
font-size: 16px;
line-height: 25px;
color:dimgrey;
padding-left:12px;
margin-top:5px;
text-decoration: none;
}

/**
 * Styling first level lists items
 */

.group-list a,
.group-list label
{
		height: 17px;
		margin-bottom: 2px;
		padding-left: 20px;

		background: #f0f0f0;
		box-shadow: inset 0 -1px #fff;
}

.group-list a:focus,
.group-list a:hover,
.group-list label:focus,
.group-list label:hover
{
		background: #bcbbbb;
}



.fancybox1
{
		width: 300px;
		height: 250px;
		padding-top: 20px;
}

.fancybox2
{
		width: 300px;
		height: 250px;
		padding-top: 20px;
}

.fancybox3
{
		width: 300px;
		height: 250px;
		padding-top: 20px;
}

.annoucements
{
		width: 300px;
		height: 250px;
		padding-top: 20px;
		margin: 0px;
}

.annoucements label
{
		font-size: 18px; 
		margin: 0px; 
		line-height: 40px;
		display: block;
		padding-top: 10px;
		padding-bottom: 5px;;
		padding-right: 20px;
		padding-left: 10px;text-align: left;
		color: #fff;
		height: 40px;
		
		background: #0282bf;
}
.business
{
		width: 300px;
		height: 250px;
		padding-top: 20px;
		margin: 0px;
}

.business label
{
font-size: 18px; 
margin: 0px; 
line-height: 40px;
display: block;
padding-top: 10px;
padding-bottom: 5px;
padding-right: 20px;
padding-left: 10px;text-align: left;
color: #fff;
height: 40px;
		background: #004b8d;

}

.sports
{
		width: 300px;
		height: 250px;
		padding-top: 20px;
		margin: 0px;

}

.sports label {
font-size: 18px; 
margin: 0px; 
line-height: 40px;
display: block;
padding-top: 10px;
padding-bottom: 5px;
padding-right: 20px;
padding-left: 10px;
text-align: left;
color: #fff;
height: 40px;
background: #0074d9;
}

.pets
{
		width: 300px;
		height: 250px;
		padding-top: 20px;
		margin: 0px;

}

.pets label
{
font-size: 18px; 
margin: 0px; 
line-height: 40px;
display: block;
padding-top: 10px;
padding-bottom: 5px;
padding-right: 20px;
padding-left: 10px;text-align: left;
color: #fff;
height: 40px;
		background: #4d8cd8;
}

.merchandise
{
		width: 300px;
		height: 250px;
		padding-top: 20px;
		margin: 0px;

}

.merchandise label
{
font-size: 18px; 
margin: 0px; 
line-height: 40px;
display: block;
padding-top: 10px;
padding-bottom: 5px;;
padding-right: 20px;
padding-left: 10px;text-align: left;
color: #fff;
height: 40px;
				background: #78befb;
}

#garagelabel {
		font-size: 30px; 
		font-style: italic;
}
.garagesale
{
		width: 300px;
		height: 250px;
		padding-top: 20px;
		margin: 0px;
}

.garagesale label
{
font-size: 18px; 
margin: 0px; 
line-height: 40px;
display: block;
padding-top: 10px;
padding-bottom: 5px;
padding-right: 20px;
padding-left: 10px;text-align: left;
color: #fff;
height: 40px;
		background: #0282bf;
		}

.service
{
		width: 300px;
		height: 250px;
		padding-top: 20px;
		margin: 0px;

}

.service label
{
font-size: 18px; 
margin: 0px; 
line-height: 40px;
display: block;
padding-top: 10px;
padding-bottom: 5px;;
padding-right: 20px;
padding-left: 10px;text-align: left;
color: #fff;
height: 40px;
		background: #4d8cd8;
}

.school
{
		width: 300px;
		height: 250px;
		padding-top: 20px;
				margin: 0px;

}

.school label
{
font-size: 18px; 
margin: 0px; 
line-height: 40px;
display: block;
padding-top: 10px;
padding-bottom: 5px;
padding-right: 20px;
padding-left: 10px;text-align: left;
color: #fff;
height: 40px;
		background: #78befb;
}

.legal
{
		width: 300px;
		height: 250px;
		margin: 0px;
		padding-top: 20px;
}

.legal label
{
font-size: 18px; 
margin: 0px; 
line-height: 40px;
display: block;
padding-top: 10px;
padding-bottom: 5px;;
padding-right: 20px;
padding-left: 10px;text-align: left;
color: #fff;
height: 40px;
		background: #0282bf;

}

/**
 * Styling main content menu end
 */



#li
{
		padding-bottom: 0px;
		text-align: center;
}


.footer
{
		font-family: Arial, san-srif;
		font-size: 12px;

		bottom: 0;

		float: inherit;

		box-sizing: border-box;
		width: 100%;
		/*min-width: 300px;
		height: 300px;*/
		margin-top: 30px;
		padding: 30px;
		text-align: center;

		color: white;
		background: black;
}

.footer-logo
{
		top: 55%;
		left: 50%;
		/*padding-top: 10px;*/
}

.div-clear
{
		clear: both;
}

#li
{
		padding-bottom: 0;

		text-align: center;
}

.annoucements,
.business,
.sports,
.pets,
.fancybox1,
.fancybox2,
.merchandise,
.garagesale,
.fancybox3,
.service,
.school,
.legal
{
		margin: 1%;
}

.page-numbers {
		color: #004b8d;
		font-family: Arial, sans-serif;
		font-size: 14px;
		font-weight: 500;
		line-height: 20px;
		padding-top: 5px;
		padding-bottom: 10px;
}

.pagination a {
		margin: 10px;
}
.pagination a, .pagination strong {
		background: #fff;
		text-align: center;
		font-family: Arial, san-serif;
		font-size: 14px;

		display: inline-block;
		padding: 1px 9px;
		text-decoration: none;
	line-height: 1 em;
	
		-webkit-border-radius: 3px;
		-moz-border-radius: 3px;
		border-radius: 3px;
		box-sizing: border-box;
}
.pagination a:hover {
		background-color: #dddcdc;
		color: black;
}
.pagination a:active {
	background: rgba(190, 190, 190, 0.75);
}
.pagination strong {
		color: black;
		background-color: #dddcdc;
}

.entry-content {
	word-wrap: break-word;
}


/* START RESPONSIVE */


@media screen and (max-width: 1300px) {
		
		
	.ads-right-rail {
			margin-right: 20px;
	}
		
	.merchbigwrapper {
		justify-content: center;
		box-sizing: border-box;
		margin: auto;
		width: 100%;
		max-width: 1340px;
	}
		
	.ads-wrapper, .content-wrapper {
		display: flex;
		flex-flow: nowrap;
		justify-content: flex-start;
		justify-content: center;
		width:100%;
		height:auto;
		max-width: 1350px;
		height: auto;
		box-sizing: border-box;
	}
		
	.ads-left-rail, .content-left-rail {
		 width:100%;
		 max-width: 200px;
		 margin-right: 2%;
	}
		
	.ads-listing, .content-listing {
			
	}
		
	.itemlisting{
		box-sizing: border-box;
		width:auto;
		height: auto;
	}
 
	.listtable {
		width:100%;
		max-width:848px;
		height: auto;
		border-collapse:collapse;
		padding:0px;
		word-wrap: break-word;
	}
		
		
		.linedivide {
				width:93%;
				max-width: 545px;
		}
		
#creditcards {
		/*display:none;*/
		float: none;
		text-align: center;
}
		
.buytext {
		display:none;
}
		
		 .postwrapper {
 text-align: center;
 width: auto; 
						 margin-top: 23px;
}

.main-header .logo
		{
				width: 90%;
				height: auto;
				margin: 0 auto;
		}
		
.form
		{
				padding-right: 5px;
				width: 100%;
				max-width: 945px;
				/*height: 105px;*/
				height: auto;
				margin-bottom: 10px;
				margin-left: 10px;
				margin-right: 10px;
		}
		
.navpost ul {
				list-style: none;
				width: 100%;
				max-width: 980px;
		}


		.buytext {
		display:none;
}

		.wrapper
		{
				width: 100%;
				max-width: 1000px;
		}
		
		
		h2 {
		width:100%;
		font-size: 30px;
		font-family: Arial, sans-serif;
		font-weight: bold;
		box-sizing: border-box;
				
		}
		

			#search-placeholder
		{
				width: 98%;
				height: 30px;
				margin: 0px;
				margin-left: 8px;
				margin-top: 5px;
				padding: 0px 5px;
		}
		
		#post
		{
				font-family: Arial, san-srif;
				font-size: 18px;
				padding: 0px;

				color: #fafafa;
				background-color: #0282bf;
				box-shadow: 1px 1px 1px #505050;

				-webkit-appearance: none;
		}
		
		#addpost
		{
				text-align: center;
				font-family: Arial, sans-serif;
				font-size: 17.50px;
				line-height: 24px;
				width: 98.5%;
				max-width: 1200px;
				height: 25px;
				margin: 0px;
				margin-left:5px;
				padding: 0px;
				margin-top: 5px;
				color: #fafafa;
				border: 1px solid #908e8e;
				background-color: #0282bf;
				box-shadow: 1px 1px 1px #505050;

				-webkit-appearance: none;
		}
		
		#button
		{
				width: 98.5%;
				height: 25px;
				margin: 0px;
				margin-left:5px;
				margin-top: 5px;
				padding: 0px;
				text-align: center;
				font-size: 21px;
				 font-family: Arial, sans-serif;
		}
		
		#search
		{
		
				margin: 0px;
				width: 98.5%;
				color: grey;
				border: 1px solid grey;
				background-color: white;
								-webkit-appearance: none;

		}
		
		
}


@media screen and (max-width: 979px)
{
		
.ads-wrapper, .content-wrapper {
			 display: flex;
			justify-content: center;
			flex-flow: row-reverse wrap; 
		width:100%;
		height:auto;
		max-width: 750px;
		height: auto;
		box-sizing: border-box;
}
	
		
		.ads-left-rail, .content-left-rail {
				display: none;
		}

		.wrapper {
		width:100%;
		}
		
		.group-list a,
		.group-list label
		{
				width:auto;
				height: 17px;
				margin-bottom: 2px;
				padding-left: 20px;

				background: #f0f0f0;
				box-shadow: inset 0 -1px #fff;
		}

		.annoucements,
		.business,
		.sports,
		.pets,
		.fancybox1,
		.fancybox2,
		.merchandise,
		.garagesale,
		.fancybox3,
		.service,
		.school,
		.legal
		.group-list a,
		{
						width:100%;
				max-width:700px;
				padding: 20px		
		}

		.form {
				width: 93.4%;
				max-width: 1344px;
				/*height: 105px;*/
				height: auto;
				margin-bottom: 10px;
				padding-left: 10px;
		}
		
		#search-placeholder
		{
				width: 99.5%;
				height: 30px;
				margin: 0;
				margin-right: 5px;
				margin-top: 5px;
				text-align: center;
		}
		
		#post
		{
				font-family: Arial, san-srif;
				font-size: 18px;

				padding: 0;

				color: #fafafa;
				background-color: #0282bf;
				box-shadow: 1px 1px 1px #505050;

				-webkit-appearance: none;
		}
		
		#addpost
		{
				font-family: Arial, sans-serif;
				font-size: 17.50px;
				width: 99.25%;
				height: 25px;
				margin: 0;
				margin-top: 5px;
				color: #fafafa;
				border: 1px solid #908e8e;
				background-color: #0282bf;
				box-shadow: 1px 1px 1px #505050;

				-webkit-appearance: none;
		}
		
		#button
		{
				width: 99.5%;
				height: 25px;
				margin:0px; 
				margin-top: 5px;
				padding: 0;
		}
		
		#search
		{
				font-family: Arial, sans-serif;

				color: grey;
				border: 1px solid grey;
				background-color: white;
		}
		
}
		
		
@media screen and (max-width: 711px)
{
		
		.category-sublist {
			text-align: center;
		}
		
		.postwrapper {
		margin:5px;
		}
		
		h2 {
				margin: auto;
				padding: 0px;
				padding-bottom: 20px;
				width:100%;
				font-size: auto;
		}   
		
			h1 {
			font: 300 21px "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
		}
		
.mainimage img {
		float: none;
		width:100%;
		}
		
	.buytext {
		display:none;
	 }
		
		.wrapper
		{
				width: auto;
		}

		.postimg {
				align-content: center;
		}
		
		#reply {
				width:99%;
				max-width: 582px;
		}
		
		.group-list a,
		.group-list label
		{
				width: auto;
				min-width: 311px;
				max-width: 800px;
				height: 17px;
				margin-bottom: 2px;
				padding-left: 20px;

				background: #f0f0f0;
				box-shadow: inset 0 -1px #fff;
		}

		.annoucements,
		.business,
		.sports,
		.pets,
		.fancybox1,
		.fancybox2,
		.merchandise,
		.garagesale,
		.fancybox3,
		.service,
		.school,
		.legal
		{
				width: 100%;
				min-width: 311px;
				padding: 0 2% 2%;
		}
		
		.navpost {
			display: block;
			width: 100%;
			font-family: Arial, sans-serif;
			font-size: 14px;
			text-align: center;
				line-height: 1.5em;
	 
		}


		.main-header .logo
		{
				width: 60%;
				height: auto;
				margin: 0 auto;
		}

		.form
		{
				width: 97%;
				min-width: 311px;
				max-width: 800px;
				/*height: 110px;*/
				height: auto;
				margin-bottom: 0;
				margin-left: 5px;
				padding-left: 5px;
		}

		#post
		{
				font-family: Arial, san-srif;
				font-size: 18px;

				margin-top: 0;
				margin-left: 5px;
				padding: 0;

				color: #fafafa;
				background-color: #0282bf;
				box-shadow: 1px 1px 1px #505050;

				-webkit-appearance: none;
		}

		#addpost
		{
				font-family: Arial, sans-serif;
				font-size: 17.50px;
				line-height: 30px;
				height: 30px;
				margin-top: 5px;
				margin-left: 0;
				margin-right: 10px;

				color: #fafafa;
				border: 1px solid #908e8e;
				background-color: #0282bf;
				box-shadow: 1px 1px 1px #505050;

				-webkit-appearance: none;
		}

		.footer
		{
				height: 200px;
				margin: 0;
				padding: 15px 0;
		}

		#search-placeholder
		{
				width: 100%;
				margin-top: 5px;
				margin-left: 0;
				margin-right: 2px;
				padding: 0;
		}

		#button
		{
				margin-left: 0;
				margin-right: 10px;
				padding: 0;
		}

		#search
		{
				font-family: Arial, sans-serif;

				color: grey;
				border: 1px solid grey;
				background-color: white;
		}

	.fancybox1,
		.fancybox2,
		.fancybox3
		{
				padding-top: 20px;
				text-align: center;
				padding-bottom: 30px;
		}
		
}
@media screen and (max-width: 450px)
{

				h2 {
				margin: auto;
				padding: 0px;
				margin-top: 25px;
				padding-bottom: 20px;
				width:100%;
				font-size: auto;
		} 
		
		.ads-rightrail {
				padding: 0px;
				display: flex;
				flex-wrap: wrap;
				justify-content: center;
				text-align: center;
		}

		.form {
				margin-left: 10px;
		}
}
@media screen and (max-width: 368px)
{
		.wrapper {
				width: 100%;
		}
		
		
	.annoucements,
		.business,
		.sports,
		.pets,
		.fancybox1,
		.fancybox2,
		.merchandise,
		.garagesale,
		.fancybox3,
		.service,
		.school,
		.legal
		{
				width: auto;
				display: flex;
				flex-flow: wrap;
				justify-content: center;
		}

		.annoucements label,
		 .business label,
		.sports label,
		.pets label,
		.garagesale label,
		.service label,
		.school label,
		.legal label,
		.merchandise label
		{
				padding-left: 20px;
		}
		
		
		
			 .group-list a,
		.group-list label
		{
				height: 17px;
				margin-bottom: 2px;

				width: auto;
				background: #f0f0f0;
				box-shadow: inset 0 -1px #fff;
		}

		.form {
padding-right: 8px;
		}
				
		
}

/* ==== start Don added for TGI =======================================================*/
.ad-container font{
	color: #000000 !important;
}

.ad-container table{
	background-color: #FFFFFF !important;
	width: 100% !important;
    text-align: center !important;
}

.main-category-separator {
	padding: 5px 5px;
	text-align: center;
	font-weight: bolder;
	color: #333;
}

.ad-container {
	text-decoration: none;
	color: #000000; 
}

.ad-container img {
    margin: 5px;
}

/* ==== end Don added for TGI =======================================================*/

/* ==== start max-width: 320px ======================================================= */
@media screen and (max-width: 320px)
{

		
		.ads-wrapper, .content-wrapper{
			width: auto;
		}
		
		.ads-listing, .content-listing{
			width: 320px;
		}
		
		
		.form {
			margin-left: 10px;
			max-width: 310px;
		}
		
		.ads-rightrail {
			padding-right: 10px;
		}
		
 
		.wrapper {
			padding-left: 17px;
		}
		
		#addpost {
			margin-left: 2px;
		}
		
		#button {
			margin-left: 2px;
		}

		#search-placeholder{
			margin-left: 3px;
			text-align: center;
		}
		
		.footer {
			width:355px;
			height: 200px;
			margin: 0;
			padding: 15px 0;
		}
		
} /* ==== end max-width: 320px ======================================================= */
