@media screen and (max-width: 500px) {    /* Devices below or equal to 500px */
	#body {
		width: 100%;
		
	}
	
	#header {
		min-width: auto;
		width: 100%;
	}
	
	#subheader1 {
		background: none;
		
	}
	
	#right-header {
		float: left;
	}
	
	
	
	
	#container-center-bottom{
  display: none;
}
#center-content{
  width:100%;
  display:block;
  float:left;
  z-index:inherit;
  padding-left:10px;
  position:relative;
}

#center-content div{
  float:left;
}

#center-left-col{
  display: none;
}
#center-center-col div
{
    width:100%;
	padding-bottom: 10px;
}


#nav, #nav ul
{
    display: none;
}

#nav
{
    display: none;
}


#center-center-col{
  width:100%;
  padding:5px;
  position:relative;
  font-size:100%;
  color:#393939;
  margin-left:5px;
}

	#center-content{
  width:100%;
  display:block;
  float:left;
  z-index:inherit;

  position:relative;
  background:none;
}


#center-center-col td{
	padding: 10px;
	border-spacing: 10px;
}

#center-center-col tr{
	padding: 10px;
	border-spacing: 10px;
}

#center-center-col p
{
  line-height:1.2em;
  margin-bottom:15px;
}
#content-heading
{
    margin-left:0px;
}
#breadcrumb
{
    margin-left:0px;
}

ul {
	list-style:none;
}

	#footer {
		display: none;
	}

.mega-menu{
position: relative; /* Required */
	display: none;
	
}

	#fullheightcontainer {
		background: #fff;
	}
	

	
#mega-1 .mega-menu {
		
	        color: #000;
        width: 42px;
        height: 30px;
        background: #ecebeb url(<%=skinpath%>/images/menu-icon.png) no-repeat 10px center;/* show menu icon */
        padding: 8px 10px 0 52px;
        cursor: pointer;
        border: solid 1px #666;
        display: none; 
	}
	
	
/*	
#menu-icon {
        color: #000;
        width: 42px;
        height: 30px;
        background: #ecebeb url(http://www.phpgang.com/wp-content/themes/PHPGang_v2/img/menu-icon.png) no-repeat 10px center;
        padding: 8px 10px 0 52px;
        cursor: pointer;
        border: solid 1px #666;
        display: block; 
}
	
	*/

.mega-menu li a {
display: block;
color: #000;
/* text-shadow: 1px 1px 1px #000; */
text-decoration: none;
/* border-top: 1px solid #555; */
border-bottom: 1px solid #fff;
/* border-right: 1px solid #1B1B1B; */
}
.mega-menu li a:hover, .mega-menu li.mega-hover a {
background: #8c7f4a;
color: #fff;
/* border-right: 1px solid #4b4b4b; */
}
.mega-menu li a.dc-mega {
position: relative;
}
/* Add arrow icon to parent links */
.mega-menu li a .dc-mega-icon {
display: block;
position: absolute;
top: 18px;
right: 15px;
width: 6px;
height: 8px;
background: url("/portals/_default/skins/Business-Community/images/arrow_right.png") no-repeat 0 0;
}
/* Mega menu container */
.mega-menu li .sub-container {
position: absolute; /* Required */
background: #8c7f4a;
padding: 10px 10px 0 10px;
overflow: hidden;
/* border: 1px solid #fff; */
border-left: none;
}
.mega-menu li .sub .row {
width: 100%; overflow: hidden; /* Clear floats */
}
.mega-menu li .sub li {
float: none;
width: 150px;
font-size: 1em;
font-weight: normal;
}
.mega-menu li .sub li.mega-hdr {
float: left; /* Required */
margin: 0 5px 10px 5px;
}
.mega-menu li .sub a, .mega-menu.left li .sub a {
background: none;
border: none;
text-shadow: none;
float: none;
color: #fff;
padding: 7px 10px;
display: block;
text-decoration: none;
font-size: 0.9em;
}
.mega-menu li .sub li.mega-hdr a.mega-hdr-a {
padding: 5px 5px 5px 15px;
margin-bottom: 5px;
background: #677f47;
text-transform: uppercase;
font-weight: bold;
color: #fff;
text-shadow: 1px 1px 1px #333;
}
.mega-menu li .sub li.mega-hdr a.mega-hdr-a:hover {
color: #000;
text-shadow: none;
}
.mega-menu .sub li.mega-hdr li a {
padding: 4px 5px 4px 20px;
background: url("/portals/_default/skins/Business-Community/images/arrow_white.png") no-repeat 5px 8px;
font-weight: normal;
}
.mega-menu .sub li.mega-hdr li a:hover {
color: #000;
background: #efefef url("/portals/_default/skins/Business-Community/images/arrow_on.png") no-repeat 5px 8px;
}
.mega-menu .sub ul li {
padding-right: 0;
}
/* Styling for menu items with only 2 levels */
.mega-menu li .sub-container.non-mega .sub {
padding: 10px;}
.mega-menu li .sub-container.non-mega li {
padding: 0;
margin: 0;
width: 150px;
}
.mega-menu li .sub-container.non-mega li a {
padding: 7px 5px 7px 22px;
background: url("/portals/_default/skins/Business-Community/images/arrow_white.png") no-repeat 7px 10px;
}
.mega-menu li .sub-container.non-mega li a:hover {
color: #a32403;
background: #efefef url("/portals/_default/skins/Business-Community/images/arrow_on.png") no-repeat 7px 10px;
}
.mega-menu ul {
list-style:none;
}
}