/*-----------------------------------------------------------------------------------*/
/* Custom CSS */
/*-----------------------------------------------------------------------------------*/

.right_ad_block
{
	width: 300px;
	height: 500px;
}
.table_ad_block
{
	display:inline-block;
	max-width: 300px;
	max-height: 400px;
}

.bottom_ad_block
{
	display:block;
	width:100%;
	height:90px;
	bottom:0; 
	left:0;
	position:fixed; 
	width:100%;
}

footer.desktop_only
{
	padding-bottom:105px;
}

.footer-2
{
	bottom:0;
	padding-bottom:0;
	position:fixed
}

img.WFallLogo
{
	display: block; 
	margin-left: 0px; 
	width: 100%;
	border-style: ridge; 
	border-color: #dddddd; 
	border-width: 5px;
}
td.mobile_landscape_only, p.mobile_portrait_only, p.mobile_landscape_only, .not_desktop, tr.mobile_only, p.mobile_only, td.mobile_portrait_only, .mobile_only_ad_block
{
	display: none;
}
h2.desktop_only, h4.desktop_only, h2
{
	text-align: center;
}
table
{
	padding: 5px;
	border-spacing: 5px;
	border-collapse: separate;
}
td.article_logo
{
	width: 335px;
}
td.article_nearby
{
	width: 50%;
	vertical-align: top;
}
td.waterfall_category
{
	align: center;
	width: 33%;
	padding-bottom: 15px
}
div.zhgm-map-default, div.zhgm-credit
{
	margin: auto !important;
	text-align: center;
	//background-color: transparent !important;
}
div.youtube
{
	width: 365px; 
	margin-top: -26px
}
/* #Tablet (Landscape)
================================================== */

@media only screen and (max-width: 1025px) {
tr.desktop_only, p.desktop_only, h2.desktop_only, h4.desktop_only, .right_ad_block, .sidecol_b
{
	display: none !important;
}
.not_desktop
{
	display: block;
	text-align: center;
}
}

/* #Tablet (Portrait)
================================================== */
    
@media only screen and (max-width: 959px) {


div.zhgm-map-default
{
	width: 100% !important;
	max-height: 400px !important;
}


/* #Mobile (Landscape)
================================================== 
@media only screen and (max-width: 767px) {*/
h2
{
	text-align:center;
}
td.waterfall_category
{
	align: center;
	width: 100%;
}
table, thread, tbody, th, tr, td.article_nearby, tr.mobile_only
{
	display: block; 
	padding: 0px;
	border-spacing: 0px;
	width: 100%;
}
td
{
	display: block;
}
td.article_logo
{
	display: table-cell; 
	padding: 0px;
	border-spacing: 0px;
	width: 40%;
}


td.mobile_landscape_only, td.category_mobile, td.article_main_table
{
	display: table-cell;
}

p.mobile_landscape_only, p.mobile_only
{
	display: block;
	text-align: center;
}
table.mobile_landscape_only, table.article_main_table
{
	display: table;
	width: 100%;
	border: 0px;
	padding: 0px;
    margin: 0px;
}
tr.mobile_landscape_only, tr.article_main_table
{
	display: table-row;
	width: 100%;
}

td.not_mobile, tr.not_mobile, p.mobile_portrait_only, p.not_mobile, h2.not_mobile, td.article_description_ad,
.desktop_only_ad_block
{
	display: none !important;
}
.logo_container, h1.logo, h1.logo a, #logo {
    width: 450px !important;
}
h1.logo a {
    background-size: 440px auto;
    left: 50px;
}
img
{
	display: block; 
	margin-left: auto; 
	margin-right: auto;
	width: auto;
}
img.icon
{
	display: block;
	margin-left: auto; 
	margin-right: auto;
	width: auto;
	float: left;
}

div.spearheadfacebooklike
{
	display: block;
	max-width: 440px !important;
	margin-left: auto; 
	margin-right: auto;
}

#container_top1_modules
{
	display: none;
}
}
/* #Mobile (Portrait) */
@media only screen and (max-width: 440px) 
{
footer.desktop_only
{
	padding-bottom:/*50px;*/0px;
}

table.article_main_table, thread.article_main_table, tbody.article_main_table, th.article_main_table, tr.article_main_table, td.article_main_table,  td.article_description_ad, tr.mobile_portrait_only, td.mobile_portrait_only
.mobile_only_ad_block
{
	display: block; 
	padding: 0px;
	border-spacing: 0px;
	width: 100%;
}

.logo_container, h1.logo, h1.logo a, #logo {
    width: 300px !important;
}
h1.logo a {
    background-size: 300px auto;
	width: 300px !important;
}
div.gm-style, div.spearheadfacebooklike
{
	display: block;
	max-width: 300px !important;
	max-height: 450px !important;
	margin-left: auto; 
	margin-right: auto;
}
td.mobile_landscape_only, p.mobile_landscape_only, div.desktop_only
{
	display: none;
}
p.mobile_portrait_only
{
	display: block;
}
div.youtube
{
	width: 100%; 
	margin-top: -26px
}
.right_ad_block, 
.not_mobile_ad_block,
.bottom_ad_block
{
	display: none !important;
}
}