#tabs_main {
	border: 1px solid #ccc;
	padding-top: 2em;
	margin: 0 0px 0px 0px;
	padding:0;
	padding-bottom:5px;
	background:#fefff7;
	/*width:345px;*/
}
#tabs_main a{
	font-size:14px;
	color: #191c64;
	margin-right: 15px;
}
#tabs_main a:hover{
	font-size:14px;
	color: #f19c00;
	margin-right: 15px;
}

#contents {
	padding: 1.5em;
	background: #fefff7;
	min-height: 30px;
}

#tabs_header {
	position: relative;
	width: 100%;
	height: 2em;
	/*width: 345px;*/ /* a width is required for Opera, older Mozilla browsers, and Konqueror browsers */
	margin: 0 0px 0 0px;
}

#tabs_header ul#tabs_primary {
	margin: 0;
	padding: 0;
	position: absolute;
	bottom: -1px;

	}

#tabs_header ul#tabs_primary li  {
	display: inline;
	list-style: none;
	
}

#tabs_header ul#tabs_primary a,#tabs_header ul#tabs_primary a,#tabs_header ul#tabs_primary a.current {
	width: 6em;
	display: block;
	float: left;
	padding: 4px 0;
	margin: 1px 2px 0 0;
	text-align: center;
	font-family: tahoma, verdana, sans-serif;
	font-size: 90%;
	text-decoration: none;
	color: #333;
	
}
#tabs_header ul#tabs_primary span,#tabs_header ul#tabs_primary span,#tabs_header ul#tabs_primary span.current {
	/*width: 6em;*/
	display: block;
	float: left;
	padding: 4px 0;
	margin: 1px 2px 0 0;
	text-align: center;
	font-family: tahoma, verdana, sans-serif;
	font-size: 95%;
	text-decoration: none;
	color: #333;
	color: #191c64;
	/*font-weight:900;*/
	
}
#tabs_header ul#tabs_primary a,#tabs_header ul#tabs_primary a.current,#tabs_header ul#tabs_primary a.current:hover {
	border: 1px solid #ccc;
	border-bottom: none;
	background: #fefff7;
	padding-bottom: 6px;
	margin-top: 0;
	
	/*PONISTAVA TACKASTI BORDER OKO LINKA*/
	outline: none;
	-moz-outline-style: none;
}

#tabs_header ul#tabs_primary span,#tabs_header ul#tabs_primary span.current,#tabs_header ul#tabs_primary span.current:hover {
	border: 1px solid #ccc;
	border-bottom: none;
	background: #fefff7;
	padding-bottom: 6px;
	margin-top: 0;
	color: #191c64;
	/*PONISTAVA TACKASTI BORDER OKO LINKA*/
	outline: none;
	-moz-outline-style: none;
	cursor: default;
	padding-left: 5px;
	padding-right: 5px;
	
}

#tabs_header ul#tabs_primary a {
	background: #fdfce2;
	border: 1px solid #ccc;
	border-bottom: none;	


}
#tabs_header ul#tabs_primary span {
	background: #fdfce2;
	border: 1px solid #ccc;
	border-bottom: none;
	padding-bottom: 5px;
	padding-left: 5px;
	padding-right: 5px;
	cursor: pointer;
	
/*	background-image: url("../../images/1.gif");
	background-repeat: no-repeat;
	background-position: bottom;*/
}

#tabs_header ul#tabs_primary a:hover {
	margin-top: 0;
	border-color: #ccc;
	background: #fefff7;
	padding-bottom: 5px;
	
}
#tabs_header ul#tabs_primary span:hover {
	margin-top: 0;
	border-color: #ccc;
	background: #fefff7;
	padding-bottom: 5px;

}

#tabs_header ul#secondary {
	position: absolute;
	margin: 0;
	padding: 0;
	bottom: -1.4em;
	left: 1px;
	width:100%; /* a width is required for Opera, older Mozilla browsers, and Konqueror browsers */
}

#tabs_header ul#secondary li a,#tabs_header ul#secondary li a {
	width: auto;
	display: block;
	float: left;
	padding: 0 10px;
	margin: 0;
	text-align: auto;
	border: none;
	border-right: 1px dotted #AAA;
	background: none;
}
#tabs_header ul#secondary li span,#tabs_header ul#secondary li span {
	width: auto;
	display: block;
	float: left;
	padding: 0 10px;
	margin: 0;
	text-align: auto;
	border: none;
	border-right: 1px dotted #AAA;
	background: none;
}

#tabs_header ul#secondary li a {
	color: #06C;
	text-decoration: underline;
}
#tabs_header ul#secondary li span {
	color: #06C;
	text-decoration: underline;
}

#tabs_header ul#secondary li a:hover {
	color: #333;
	background: transparent;
	padding: 0 10px;
	border: none;
	border-right: 1px dotted #AAA;
}
#tabs_header ul#secondary li span:hover {
	color: #333;
	background: transparent;
	padding: 0 10px;
	border: none;
	border-right: 1px dotted #AAA;
}

#tabs_header ul#secondary li a:active {
	color: #000;
	background: transparent;
}
#tabs_header ul#secondary li span:active {
	color: #000;
	background: transparent;
}

#tabs_header ul#secondary li:last-child a { border: none; }
#tabs_header ul#secondary li:last-child span { border: none; }

.tabs_tab {
	border: none;
    width:97%;
    
}