ul.tabs {
	margin: 0;
	padding: 0;
	float: left;
	list-style: none;
	height: 32px;
	border-bottom: 1px solid #333;
	width: 100%;
}

ul.tabs li {
	float: left;
	margin: 0;
	cursor: pointer;
	padding: 0px 21px;
	height: 31px;
	line-height: 31px;
	border-top: 1px solid #333;
	border-left: 1px solid #333;
	border-bottom: 1px solid #333;
	background-color: #ccc;
	/*background-color: #666;
	color: #ccc;*/
	color: #333;
	overflow: hidden;
	position: relative;
}

.tab_last { border-right: 1px solid #333; }

ul.tabs li:hover {
    /*background-color: #ccc;*/
	/*background-color: #666;*/
	background-color: #F06B3E;
	color: #333;
}

ul.tabs li.active {
	/*background-color: #fff;*/
    background-color:#F06B3E;
	color: #333;
	/*border-bottom: 1px solid #fff;*/
	border-bottom: 1px solid #F06B3E;
	display: block;
}

.tab_container {
	border: 1px solid #333;
	border-top: none;
	clear: both;
	float: left;
	width: 100%;
	
	background: #fff;
	overflow: auto;
}

.tab_content {
	padding: 20px;
	display: none;
}

.tab_drawer_heading { display: none; }

/*730px*/
@media screen and (max-width: 480px) {
	.tabs {
		display: none;
	}
	.tab_drawer_heading {
		background-color: #ccc;
		color: #fff;
		border-top: 1px solid #333;
		margin: 0;
		padding: 5px 20px;
		display: block;
		cursor: pointer;
		-webkit-touch-callout: none;
		-webkit-user-select: none;
		-khtml-user-select: none;
		-moz-user-select: none;
		-ms-user-select: none;
		user-select: none;
	}
	.d_active {
		background-color: #666;
		color: #fff;
	}
}


@media all and (min-width:951.9px)
{
    ul.tabs 
    {
        width:913px;
    }
    
    .tab_container 
    {
        width: 913px;
        height:400px;
    }
}

/*@media all and (min-width: 759.9px) and (max-width: 951.9px)  */
@media all and (min-width: 479.9px) and (max-width: 951.9px)  
{
    ul.tabs 
    {
        width:706px;
    }
    
    .tab_container 
    {
        width: 706px;
        height:400px;
    }
}


/*@media screen and (max-width: 730px) */
@media screen and (max-width: 480px)
{
     ul.tabs 
    {
        /*width:480px;*/
        width:100%;
    }
    
    .tab_container 
    {
        width:100%;
        /*width: 480px;*/
        /*height:400px;*/
    }
}