#template_form
{
	padding: 20px;
	font-size: 14px;
}

#template_form h2
{
	color: #666;
	font-size: 16px;
	margin-bottom: 18px;
}

#template_form .submit
{
	margin-top: 14px;
	text-align: center;
	font-size: 12px;
	font-family: Arial;
}

#template_clone
{
	display: none;
}

#template_list
{
	list-style: none;
	
	margin-top: 12px;

	border: 2px solid #009ACD;

	height: 300px;
	overflow-y: scroll;
	overflow-x: hidden;
}

#template_list li
{
	display: block;
	padding: 5px;
}

#template_list li:nth-child(odd)
{
}

#template_list li:last-child
{
	border-bottom: none;
}

#template_list li:hover
{
	background-color: #EEE;
}

#template_list .name
{
	cursor: pointer;
	margin-right: 10px;
	font-size: 14px;
}

#template_list li .actions
{
	display: none;
	float: right;
}

#template_list li:hover .actions
{
	display: inline-block;
}

#template_list .move
{
	opacity: 0.7;
	margin-right: 4px;
}

#template_list .move img
{
	width: 16px;
	height: 16px;
}

#template_list .delete
{
	color: #009ACD;
	padding: 4px 0;
	opacity: 0.7;
	cursor: pointer;
	background: none;
}

#template_list .move:hover,
#template_list .delete:hover
{
	opacity: 1;
}

#template_save_form
{
	margin-top: 20px;
	padding: 6px;
	padding-top: 20px;
	display: block;
	
	border-top: 1px #AAA solid;
}

#template_save_form label
{
	display: block;
}

#template_save_form .submit
{
	margin-top: 14px;
	margin-right: 20px;

	width: 100px;
	display: inline-block;
}

.ui-widget-overlay
{
	opacity: 0.6;
}

.template_confirm_dialog
{
	font-size: 14px;
	padding-top: 10px;
	border: 1px solid black;
}

#template_delete_dialog,
#template_load_dialog
{
	overflow: none;
	font-family: Geneva, Arial, Helvetica, sans-serif;
	text-align: center;
	vertical-align: middle;
}

.template_confirm_dialog .ui-dialog-titlebar
{
	display:none;
}

.template_confirm_dialog_title .ui-dialog-titlebar
{
	display:block;
	background: white;
}

.template_confirm_dialog .ui-dialog-buttonpane .ui-dialog-buttonset
{
	float: none;
}

.template_confirm_dialog .ui-dialog-buttonpane
{
	padding: 10px 20px;
	border: 0;
}

.template_confirm_dialog .ui-dialog-buttonpane .ui-button
{
	background: none;
	height: 22px;
	margin: 0;
	-webkit-appearance: button;
	-moz-appearance: button;
	appearance: button;
	text-align: center;
	cursor: default;
	color: buttontext;
	padding: none;
	border: 2px outset buttonface;
	border-image-source: initial;
	border-image-slice: initial;
	border-image-width: initial;
	border-image-outset: initial;
	border-image-repeat: initial;
	background-color: buttonface;
	box-sizing: border-box;
	font-size: 14px;
	font-weight: normal;
	text-decoration: none;
	width: 112px;
	text-align: center;
	cursor: default;
}
.template_confirm_dialog .ui-dialog-buttonpane .ui-button:active
{
	border-style: inset;
}
.template_confirm_dialog .ui-button:last-child
{
	float: right;
}

.template_confirm_dialog .ui-button-text:
{
	padding: 0;
}



#success_msg
{
	margin-top: 20px;
}

#form_warning
{
	color: #F44;
	margin-bottom: 10px;
}

.popup_form {
	font-size: 14px;
	padding-top: 10px;
}
.confirm_quantity_popup .select_button,
.confirm_quantity_popup .cancel_button
 {
	background: none;
	height: 19px;
	margin: 0;

	/* Mostly copied from entry.css .submit */
	border: 1px solid #009acd;
	background-color: #009acd;
	color: #ffffff;
	font-size: 14px;
	font-weight: normal;
	text-decoration: none;
	width: 100px;
	text-align: center;
	cursor: pointer;
}

.rich_text_popup .mce-tinymce
{
	margin-bottom: 8px;
}

.rich_text_popup .form_buttons
{
	width: 624px;
	height: 20px;
	margin: 0 auto;
	display: block;
}

.rich_text_popup .form_buttons input
{
	float: left;
	display: block;
}
