<dtml-call "REQUEST.RESPONSE.setHeader('Content-Type', 'text/css;charset=utf-8')">

<dtml-unless lang>
	<dtml-call "REQUEST.set('lang',getLanguage(REQUEST))">
</dtml-unless>

<dtml-unless manage_lang>
	<dtml-call "REQUEST.set('manage_lang',getLanguage(REQUEST))">
</dtml-unless>

<dtml-unless manage_tabs_message>
	<dtml-call "REQUEST.set('manage_tabs_message',updateVersion(lang,REQUEST))">
</dtml-unless>

<dtml-call "REQUEST.set('ZMS_THIS',getSelf())">
<dtml-call "REQUEST.set('ZMS_HOME',getHome())">
<dtml-call "REQUEST.set('ZMS_DOCELMNT',getDocumentElement())">

<dtml-in "breadcrumbs_obj_path()">
	<dtml-if "meta_type==REQUEST.get('ZMS_DOCELMNT').meta_type">
		<dtml-call "REQUEST.set('ZMS_DOCELMNT',_['sequence-item'])">
		</dtml-if>
</dtml-in>

<dtml-call "REQUEST.set('ZMS_ROOT',REQUEST.get('ZMS_DOCELMNT').absolute_url())">
<dtml-call "REQUEST.set('ZMS_COMMON','%s/common'%getHome().absolute_url())">

<dtml-if "(REQUEST.get('ZMS_PATHCROPPING',_.False) or getConfProperty('ZMS.pathcropping',0)==1) and REQUEST.get('export_format','') == ''">
	<dtml-let base="REQUEST.get('BASE0','')">
		<dtml-if "ZMS_ROOT.find(base)==0">
			<dtml-call "REQUEST.set('ZMS_ROOT',ZMS_ROOT[len(base):])">
			<dtml-call "REQUEST.set('ZMS_COMMON',ZMS_COMMON[len(base):])">
		</dtml-if>
	</dtml-let>
</dtml-if>

/* 	
	******************************************************
	SHINYBUTTONS SMALL
	****************************************************** 
*/

a.shinybutton-small,
button.shinybutton-small {
	float: left;
	display: block;
	background:url('<dtml-var ZMS_ROOT>/mediamanager_files/images/shinybutton_small_b.gif') top right no-repeat; 
	border:0;
	cursor:pointer;
	font-weight:normal;
	padding:0 10px 0 0;
	line-height: 20px;
}

a.shinybutton-small span,
button.shinybutton-small span { 
	height:18px; 
	line-height:18px;
	vertical-align: middle;
	background:url('<dtml-var ZMS_ROOT>/mediamanager_files/images/shinybutton_small_a.gif') top left no-repeat;
	color:#565656; 
	display:block;
	padding:3px 0 3px 10px;
	position:relative;
	white-space:nowrap;	
}

a.shinybutton-small-gray,
button.shinybutton-small-gray {
	background:url('<dtml-var ZMS_ROOT>/mediamanager_files/images/shinybutton_small_b_gray.gif') top right no-repeat; 
}

a.shinybutton-small-gray span,
button.shinybutton-small-gray span { 
	background:url('<dtml-var ZMS_ROOT>/mediamanager_files/images/shinybutton_small_a_gray.gif') top left no-repeat;
}

button.shinybutton-small span{
	margin-top: -1px;
}

a.shinybutton-small{
	font-size: 11px;
	font-family: Arial, Verdana;
}

button.shinybutton-small{
	font-family: sans-serif;
}

a.shinybutton-small:hover span,
button.shinybutton-small:hover span
{
	text-decoration: none;
	background:url('<dtml-var ZMS_ROOT>/mediamanager_files/images/shinybutton_small_a_hover.gif') top left no-repeat; 	
}

a.shinybutton-small:hover,
button.shinybutton-small:hover{
	background:url('<dtml-var ZMS_ROOT>/mediamanager_files/images/shinybutton_small_b_hover.gif') top right no-repeat; 	
	text-decoration: none;
}

a.shinybutton-small-gray:hover span,
button.shinybutton-small-gray:hover span
{
	text-decoration: none;
	background:url('<dtml-var ZMS_ROOT>/mediamanager_files/images/shinybutton_small_a_gray_hover.gif') top left no-repeat; 	
}

a.shinybutton-small-gray:hover,
button.shinybutton-small-gray:hover{
	background:url('<dtml-var ZMS_ROOT>/mediamanager_files/images/shinybutton_small_b_gray_hover.gif') top right no-repeat; 	
	text-decoration: none;
}

.toolbar-button{
	margin-top: -5px;
}

a.single-button span{
}

button.shinybutton-small{
	height: 24px;
	vertical-align: middle;
	padding: 0 5px 0 0;
}

button.shinybutton-small span{
	line-height: 24px;
	height: 24px;	
	padding:1px 0 5px 10px;	
}


/* 	
	******************************************************
	SHINYBUTTONS LARGE
	****************************************************** 
*/

a.shinybutton,
button.shinybutton {
	float: left;
	display: block;
	background:url('<dtml-var ZMS_ROOT>/mediamanager_files/images/shinybutton_b.gif') top right no-repeat; 
	font-size: 12px;
	border:0;
	cursor:pointer;
	font-weight:normal;
	margin:0.5em 0.2em 0.5em 0;
	padding:0 0.9em 0 0;
}

a.shinybutton span,
button.shinybutton span { 
	height:2.3em; 
	line-height:1.9em;
	background:url('<dtml-var ZMS_ROOT>/mediamanager_files/images/shinybutton_a.gif') top left no-repeat;
	color:#585858; 
	display:block;
	padding:0.1em 0 0 0.9em;
	position:relative;
	white-space:nowrap;	
}

a.shinybutton-gray,
button.shinybutton-gray {
	background:url('<dtml-var ZMS_ROOT>/mediamanager_files/images/shinybutton_b_gray.gif') top right no-repeat; 
}

a.shinybutton-gray span,
button.shinybutton-gray span { 
	background:url('<dtml-var ZMS_ROOT>/mediamanager_files/images/shinybutton_a_gray.gif') top left no-repeat;
}

button.shinybutton span{
	margin-top: -1px;
}

a.shinybutton{
	font-size: 12px;
	font-family: sans-serif;
}

button.shinybutton{
	font-family: sans-serif;
}

.hidden_field{
	display: none;
}

.floatright{
	float: right;
}

button.noclear{
	display: inline;
	float: none;
	font-size: 1em;
}

a.shinybutton:hover span,
button.shinybutton:hover span
{
	text-decoration: none;
	background:url('<dtml-var ZMS_ROOT>/mediamanager_files/images/shinybutton_a_hover.gif') top left no-repeat; 	
}

a.shinybutton:hover,
button.shinybutton:hover{
	background:url('<dtml-var ZMS_ROOT>/mediamanager_files/images/shinybutton_b_hover.gif') top right no-repeat; 	
	text-decoration: none;
}

a.shinybutton-gray:hover span,
button.shinybutton-gray:hover span
{
	text-decoration: none;
	background:url('<dtml-var ZMS_ROOT>/mediamanager_files/images/shinybutton_a_gray_hover.gif') top left no-repeat; 	
}

a.shinybutton-gray:hover,
button.shinybutton-gray:hover{
	background:url('<dtml-var ZMS_ROOT>/mediamanager_files/images/shinybutton_b_gray_hover.gif') top right no-repeat; 	
	text-decoration: none;
}



/* 	
	******************************************************
	INDIVIDUAL BUTTONS AND LINKS
	****************************************************** 
*/


.newformtextblock{
	color: green;
}
