
#headnav {
	padding:0px;
	text-align:left;
	width:100%;
}

#navbar {
	width:100%;
	background:url(/Content/images/tpl_navbar_bg.gif) repeat-x;
	height:50px;
    overflow: hidden;
}

#navsubbar {
	width:100%;
	background:url(/Content/images/tpl_subnavbar_bg.gif) repeat-x;
	height:25px;
	line-height:20px;
}

#navcontainer {
	position:relative;
	top:23px;
	width:960px;
	margin:0px auto;
}

#navcontainer ul {
	margin:0;
	padding:0;
	list-style-type:none;
	text-align:center;
	font:bold 12px/27px Arial, Helvetica, sans-serif;
}

#navcontainer li {
	display:inline;
	margin:0;
	padding:0;
}

#navcontainer a {
	float:left;
	display:block;
	width:103px;
	height:27px;
	margin-right:1px;
}

#navcontainer a:link, #navcontainer a:visited {
	float:left;
	background:url(/Content/images/tpl_navbar_btn.gif) no-repeat left top;
	background-position:0% -27px;
	color:#1c1c1c;
	text-decoration:none;
}

#navcontainer a:hover {
	float:left;
	background:url(/Content/images/tpl_navbar_btn.gif) no-repeat left top;
	background-position:0% -54px;
	color:#1c1c1c;
	text-decoration:none;
	line-height:27px;
}

#navcontainer li a#currentTab {
	float:left;
	background:url(/Content/images/tpl_navbar_btn.gif) no-repeat left top;
	background-position:0% 0px;
	color:#ffffff;
	text-decoration:none;
	line-height:27px;
}

#navsubbar p {
	margin:0px auto;
	padding:2px 0;
	text-indent:20px;
	width:970px;
	color:#ffffff;
	text-align:left;
}

#navsubbar p a {
	margin:0px 7px;
	color:#ffffff;
}

.main {
    width:960px;
    margin:auto;
}

.main_left {
    float:left;
    width: 75%;
    padding: 2px;
}

.main_right {
    float:left;
    width: 25%;
}

.ad_long_container {
	overflow: hidden;
}


.main_left::after, .main_right::after, .main::after {
	content: "";
	clear: both;
	display: table;
}

.main_left .container {
	width: 100%;
}


.main_right .container {
    width: 100%;
    margin: 10px;
    border: 1px solid #2f2f2f;
    padding: 2px;

    font: normal 12px "Tahoma", Arial, Helvetica, sans-serif;
    line-height: 18px;
    color: #dadada;
}

.main_right .content-border {
    padding: 15px;
	border:0;
}
.main_right .content-border a {
    color: #d5f406;
    text-decoration: none;
    outline: medium none;
}

.textDark, .main_right .content-border a.textDark {
    color: #888888;
}

.main_right .content-border a:hover {
    color: #648f06;
    text-decoration: none;
}

.divAds, .divAds2 {
    background-color: #121212;
    color: white;
    margin: 10px 0;
    border: 1px solid #2c2c2c;
    padding: 5px;
	text-align: center;
}

.divAds3, .divAds4 {
    background-color: #161616;
    color: white;
    margin: 10px 0;
    border: 0px solid #2c2c2c;
    padding: 5px;
	text-align: center;
}

.category_mid {
	width: 960px;
	margin:auto;
}

.like-area {
    margin: 5px auto;
    padding: 5px;
    text-align: center;
}

.items-left {
	display: none;
}

@media only screen and (max-width: 1000px) { /* Resize Main, but with sidebar */
	.main {
		width: auto;
		padding: 2%;
	}
	#navcontainer {
		width:auto;
	}
	.category_mid {
		width: auto;
	}
	.items-left {
		display: block;
	}
}

@media only screen and (max-width: 650px) { /* Ads One */
	.divAds, .divAds2 iframe:nth-child(2) {
		display: none;
	}
	.main_left {
		width: 70%;
	}
	
	.main_right {
		width: 30%;
	}
	
}

@media only screen and (max-width: 650px) { /* Ads One */
	.divAds3, .divAds4 iframe:nth-child(2) {
		display: none;
	}
	.main_left {
		width: 70%;
	}
	
	.main_right {
		width: 30%;
	}
	
}



/* cm is useful because it is the size of the physical device *centimeter* */
@media only screen and (max-width: 14cm), (max-width: 28cm) and (max-height: 14cm) { /* Mobile Portrait & Landscape */
	/*
		main_right
		main_left
		headnav
		remove first ads
		remove second-second ads



	
	*/

	.main {
		width: auto;
		padding: auto;
	}

	.main_right {
		display:none;
	}

	.main_left {
		width: auto;
		float:none;
	}

	#headnav {
		display:none;
	}
}



