.clear_div{
	clear: both;
}

#default_loading_icon{
	height: 100%;
	width: 100%;
	text-align: center;
	position: relative;
}

#default_loading_icon img{
	position: absolute;
	margin: auto;
	top: 0;
	bottom: 0;
}


.module_field_preview {
	max-height: 400px;
	overflow: scroll;
}


/*	Module Styles */

.base_module_field, .module_field_comment_blank, .base_module_right{
	width: 52%;
}
.base_module_right{
	float: left;
}

.module_field_div{
	clear: both;
	padding: 7px 0;
	text-align: left;
}
.module_field_label, .base_module_left{
	float: left;
	width: 30%;
	margin-right: 15px;
	text-align: right;
	font-weight: bold;
	min-height: 1em;
	font-size: 12px;
}
.module_field_hidden{
	display: none;
}
.module_field_label_for_radio_buttons, .module_field_label_for_checkboxes{
	width: 24%;
}

.module_field_label_for_inline_options{
	width: 30%;
}

.module_field_label_top{
	float: none !important;
	width: auto !important;
	text-align: left !important;
	margin: 12px 0 5px;
}

.module_field_label_top + div{
	margin: 0px 0px 0px 32%;
}

.module_field_indent{
	margin: 0 0 0 5%;
}

.module_field_read_only {
    float: left;
}
.module_datepicker{
	width: 100px;
}


.module_field_read_only_no_label{
	text-align: left !important;
	width: 95% !important;
	margin-left:  5% !important;
}

.module_field_preview_holder{
	background: url(/admin/images/admin_button_background.png) left bottom repeat-x #00adee;	
	text-align: center;
	border-radius: 10px;
	-moz-border-radius: 10px;
	padding: 6px;
	position: relative;
}
.module_field_preview{
	margin-top: 6px;
	background: white;
	padding: 10px;
}

.module_field_comment{
	float: left;
	margin: 7px 0 7px 2%;
	font-size: 10px;
	color: #666666;
	width: 65%;
}

.module_field_comment.inline_comment{
	float: none;
	width: auto !important;
	display: inline-block;
}

.module_field_comment_html_link{
	margin: -1px 10px 7px;
}

.module_field_comment_html_link a{
	/*color: <?= $lunarcowCMS['color']['light'] ?>;*/
	font-weight: bold;
}

.module_field_comment_html_link a:hover{
	/*color: <?= $lunarcowCMS['color']['text']['dark'] ?>;*/
}

.module_radio_label{
	display: inline-block;
	margin: 0 12px 0 5px;
	font-size: 13px;
}

.module_radio_button{
	/*float: left;
	display: inline-block;*/
	width: auto !important;
	/*margin: 3px 5px 0 0;*/
	margin: 0;
}

.module_checkbox_label{
	display: inline-block;
	margin-right: 10px;	
	margin-bottom: 5px;
	max-width: 85%;
}

.module_checkbox{
	/*float: left;
	display: inline-block;*/
	width: auto !important;
	/*margin: 3px 5px 0 0;*/
	margin: 0;
}

.module_checkbox_column{
	float: left;
	width: 24%;
	text-align: left;
}

.module_checkbox_single_column, .module_radio_buttons_single_column, .module_radio_buttons_multi_column{
	float: left;
	width: 65%;
}

.module_checkbox_label_inline {
    float: left;
    margin-right: 20px;
	font-size: 13px;
}

.module_checkbox_single_column_object, .module_radio_buttons_single_column_object{
	float: left;
	display: inline-block;
	margin: 0 13px 0 0;
}

.module_checkbox_object_holder {
	margin: 0 0 9px 0;
}

.module_checkbox_sub_label, .module_radio_button_sub_label {
    font-size: 1.15em;
    font-weight: bold;
}

.module_radio_button_sub_label {
	border-bottom: 1px solid;
    clear: both;
    margin: 0 0 3px;
    padding: 10px 0 2px;
}

.module_radio_buttons_column {
    float: left;
}

.for_radio, .for_checkbox{
	cursor: pointer;
}

.base_module_field.integer_field{
	 width: 50px;
}

/*.id_array_holder{
	padding: 5px;
}*/

/*#add_id_array, */
#add_attribute_button, 
.add_linked_sub_module_item_button,
.remove_linked_sub_module_item_button,
.link_table_bulk_upload{
	/*width: 200px !important;*/
	width: auto !important;	
	float: right;
}

.add_linked_sub_module_item_button{	
	float: left;
}
.link_table_bulk_upload{
	display: none;
	margin: 1em;
}

/*.new_id_array_type,*/ .new_sub_type{
	width: 175px !important;
}

#add_fields textarea, .base_module_textarea{
	/*width: 550px;*/
	width: 65%;
	height: 5em;
}

.module_show_hide{
	margin: -10px 0 0;
	float: right;
	font-weight: bold;
	cursor: pointer;
}


.module_field_password_item {
    color: #CC0000;
}

.module_submit_buttons{
	float: right;
	margin: 5px;
}

/*
.module_save_button, .module_cancel_button{
	background: url("images/ui-bg_glass_75_e6e6e6_1x400.png") repeat-x scroll 50% 50% #E6E6E6;
	border: 1px solid #D3D3D3;
	color: #555555;
	font-weight: normal;
}
*/
.base_module_temp_info{

}

.sub_module_fieldset{
	width: 90%;	
	margin: 0 auto;
}

.sub_module_fieldset legend{
	font-size: 13px;	
	cursor: move;
}

.module_input_no_label{
	width: 95% !important;
	margin: 0 auto;
	height: 7em;
}


#fileToUploadInDialog, #fileToUploadInDialog{
	width: 150px;
}

.ajax_upload_form_in_dialog{
	display: none;
}



.module_char_limit_message {
    color: #CC0000;
}


.module_field_required_label, .module_field_required_description{
	color: #CC0000;
    font-size: 1.75em;
    font-weight: bolder;
    vertical-align: middle;
}

.module_field_required_description{
	font-size: 1em;	
}

.module_terms_agreement_content, .module_terms_agreeming_statement{
    margin: 0 auto;
    padding: 2px 2%;
    width: 92%;
}

.module_terms_agreement_content{
	margin: 0 auto !important;
	border: 1px solid;
    max-height: 200px;
    overflow: auto;
}

.module_terms_agreement_label {
    float: none;
    text-align: center;
    width: 100%;
}

.module_terms_agreement_label_confirm {
	text-align: left !important;
}


#_field_quantity[name^="cart_purchases["],
#_field_quantity[name="cart_purchases[0][quantity]"],
#_field_quantity[name="cart_purchases[1][quantity]"],
#_field_quantity[name="cart_purchases[2][quantity]"],
#_field_quantity[name="cart_purchases[3][quantity]"],
#_field_quantity[name="cart_purchases[4][quantity]"],
#_field_quantity[name="cart_purchases[5][quantity]"],
#_field_quantity[name="cart_purchases[6][quantity]"],
#_field_quantity[name="cart_purchases[7][quantity]"] {
    width: 50px;
}

.module_total_item {
    border: none;
	border-color: transparent;
    margin: -2px 0 0 5px;
    float: right;
	width: 25%;
}

.module_total_label {
    float: right;
}

.module_cancel_button_left_align {
    position: absolute;
    left: 30px;
}


.base_module_field[disabled="disabled"] {
    background: #EBEBE4;
	border: 1px solid;
	padding: 2px 1px;
}
.module_ckeditor_show_hide[disabled="disabled"]{
	-moz-opacity: 0.60;
	opacity: 0.60;
	-ms-filter:"progid:DXImageTransform.Microsoft.Alpha"(Opacity=60);
}

.linked_sub_module .collapser {
    float: right;
	cursor: pointer;
	margin: -10px 0 0 0;
}
.linked_sub_module .collapser.all {
	margin: -10px 10px 0 0;
	font-size: 1.05em;
}
.linked_sub_module .collapser .text{
    font-size: 0.85em;
    font-weight: bold;
}
.linked_sub_module .collapser img {
    margin: 0 0 0 3px;
    vertical-align: middle;
}
.linked_sub_module .collapse_name {
    background: #B6D4DC;
    display: none;
    font-weight: bold;
    margin: 0 0 0 2%;
    padding: 3px 10px;
    width: 80%;
	cursor: move;
}
.linked_sub_module .collapse_name .icon {
    max-height: 35px;
	margin: 0 1em 0 0;
}


/*--------------------
	Saving Prompt
----------------------*/
.admin_button_background, .admin_background, .ui-widget-header, .ui-state-default,
.ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default,
.ui-button, input[type="submit"], input[type="button"], button, .ui-widget button,
.btn {
	position: relative;
	/*background: url("/images/admin/admin_button_background.png") repeat-x scroll left bottom #00ADEE;
	color: white;*/
	/*margin: 0 6px 0;*/ margin: 0; padding: 4px 12px;
	min-height: 15px;
	
	background:	#1772a4;
	background:	-moz-linear-gradient( top, #00bcf3 0%, #1772a4 100% );
	background:	-webkit-gradient( linear, left top, left bottom, color-stop( 0%, #00bcf3 ), color-stop( 100%, #1772a4 ) );
	background:	-webkit-linear-gradient( top, #00bcf3 0%,#1772a4 100% );
	background:	-o-linear-gradient( top, #00bcf3 0%,#1772a4 100% );
	background:	-ms-linear-gradient( top, #00bcf3 0%,#1772a4 100% );
	background:	linear-gradient( to bottom, #00bcf3 0%,#1772a4 100% );
	filter:		progid:DXImageTransform.Microsoft.gradient( startColorstr='#00bcf3', endColorstr='#1772a4', GradientType=0 );
	
	border-top: 1px solid #6dcdf2;
	border-bottom: 1px solid #005da8;
	border-left: 1px solid #00bcf3;
	border-right: 1px solid #1772a4;
	border-radius: 3px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	
	font-size: 12px;
	line-height: 20px;
	font-weight: normal;
	text-decoration: none;
	white-space: nowrap;
	color: #fff;
	text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
	
	cursor: pointer;
}
div.ui-dialog-titlebar.warning {
	background: rgb(243,0,0);
	background: -moz-linear-gradient(top,  rgba(243,0,0,1) 0%, rgba(164,23,23,1) 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(243,0,0,1)), color-stop(100%,rgba(164,23,23,1)));
	background: -webkit-linear-gradient(top,  rgba(243,0,0,1) 0%,rgba(164,23,23,1) 100%);
	background: -o-linear-gradient(top,  rgba(243,0,0,1) 0%,rgba(164,23,23,1) 100%);
	background: -ms-linear-gradient(top,  rgba(243,0,0,1) 0%,rgba(164,23,23,1) 100%);
	background: linear-gradient(to bottom,  rgba(243,0,0,1) 0%,rgba(164,23,23,1) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f30000', endColorstr='#a41717',GradientType=0 );
	border-bottom: 1px solid #5d1338;
	border-right: 1px solid #5d1338;
	border-top: 1px solid #fc7d38;
	border-left: 1px solid #fc7d38;
}
input[type="submit"]:hover, input[type="button"]:hover, button:hover, .ui-state-hover, .btn:hover {
	/*border: 1px outset <?=$lunarcowCMS['color']['dark'] ?>;*/
	background:	#00bcf3;
}
.ui-button, input[type="submit"], input[type="button"], button, .ui-widget button, .btn {
	display: inline-block;
}
.ui-button-text-only .ui-button-text { padding: 0; }
*.ui-widget-header {
	display: block !important;
}.
ui-widget input, .ui-widget select, .ui-widget textarea {
	font-size: 12px;
}
.cke_skin_kama .cke_path a, .cke_skin_kama .cke_path .cke_empty {
	color: #fff;
}
.cke_skin_kama .cke_path a:hover, .cke_skin_kama .cke_path .cke_empty:hover {
	/*text-decoration: underline;*/
}
span.cke_skin_kama {
	-moz-border-radius:5px 5px 0 0;
	-webkit-border-radius:5px 5px 0 0;
	border-radius:5px 5px 0 0;
	/*border:1px solid #D3D3D3;padding:5px;*/
	border: none;
	padding:5px 5px 0;
}
.cke_skin_kama .cke_wrapper {
	-moz-border-radius: 5px 5px 0 0;
	-webkit-border-radius: 5px 5px 0 0;
	border-radius: 5px 5px 0 0;
}
.ck_options {
	margin: 0 5px;
	border: 0;
	-moz-border-radius: 0 0 5px 5px;
	-webkit-border-radius: 0 0 5px 5px;
	border-radius: 0 0 5px 5px;
}
.components { display: inline-block; }
.ui-datepicker-trigger { margin-left: 4px; cursor: pointer; }
.ui-datepicker-calendar .ui-state-default {
	text-align: center;
	padding: 3px;
}
.ui-dialog-content h1 {
	font-family: Helvetica, Arial, sans-serif;
	font-size: 18px;
}
.ui-dialog-content h2 {
	font-family: Helvetica, Arial, sans-serif;
	font-size: 13px;
}
.ui-dialog-content form label {
	width: 70px;
	padding-right: 10px;
	display: inline-block;
	font-size: 12px;
}
.ui-dialog-content form input[type=text] {
	display: inline-block;
	width: 266px;
	font-size: 12px;
}
.ui-dialog-content span.extension {
	display: inline-block;
	width: 60px;
	padding-left: 10px;
	font-size: 12px;
	font-weight: bold;
}



/*--------------------------------------
	Ajax Response Message
----------------------------------------*/

#ajax_response_message {
    background: none repeat scroll 0 0 #00CC00;
    border-radius: 0 0 10px 10px;
    box-shadow: 3px 3px 4px #000000;
   	-moz-border-radius: 0 0 10px 10px;
    -moz-box-shadow: 3px 3px 4px #000000;
    -webkit-box-shadow: 3px 3px 4px #000000;
    font-size: 16px;
    font-weight: bold;
    left: 0;
    margin: 0 auto;
    position: fixed;
    right: 0;
    text-align: center;
    top: 0;
    vertical-align: middle;
    width: 100%;
    z-index: 99999;
	color: #FFFFFF;
}
#ajax_response_text {
    padding: 15px;
}
#ajax_message_close {
    cursor: pointer;
    margin: 5px;
    position: absolute;
    right: 0;
    top: 0;
}
.ajax_response_message_error {
    background-color: #CC0000 !important;
    display: inline-block;
}
.module_error_message {
    background: none repeat scroll 0 0 #CC0000;
    color: #FFFFFF;
    font-size: 0.9em;
    font-weight: bold;
    margin: 2%;
    padding: 3px;
    text-align: center;
}
.module_error_field {
    background: none repeat scroll 0 0 #CC0000;
    color: #FFFFFF;
}
.module_error_message_item {
    font-size: 0.9em;
    font-weight: normal;
    padding: 0 15px;
    text-align: left;
}
.module_error_message_field_name {
    font-weight: bold;
}

.module_field_label_only .module_field_label:first-child {
	border-bottom: 2px solid;
    width: 100%;
    text-align: left;
    font-size: 1.35em;
    padding: 0;
}

fieldset#sub_module > legend{
    font-size: 1.35em;
	font-weight: bold;	
}

.module_field_label_only .module_field_label:first-child {
	border-bottom: 2px solid;
    width: 95%;
    text-align: left;
    font-size: 1.35em;
    padding: 0;
}

.module_field_label_only .module_field_comment {
    width: 100%;
    margin: -10px 10px 0;
}
.module_field_label_only{
    margin: 20px 0 3px;
}

.apply_to_children_option {
    margin: 10px 0 10px 33% ;
    font-size: 1.1em;
}

.apply_to_children_input {
    width: auto;
}
.cms_approval_message {
    background: none repeat scroll 0 0 #F7E200;
    border-radius: 15px;
    margin: 0 3em;
    padding: 1em;
    text-align: center;
}
.cms_approval_message > * {	margin: 0;	}
.cms_approval_message > * + * {	margin: 1em 0 0;	}
/*
.cke_dialog_background_cover:first-child{
	display:none !important;
}*/


/*--------------------
	Version Controls
----------------------*/
.database_form_version_controls{
	display: none;
}	

.version_item_holder{
	max-height: 185px;
	overflow: auto;
	border: 1px solid;
}

.database_form_version_controls > h2{
	margin: 5px 0;
}

.version_item{
	padding: 7px 1%;
	width: 98%; 
	font-size: 14px;
	clear: both;
	height: 2.25em;
	border-bottom: 1px solid;
}

.version_item:last-child{
	border-bottom: none;
}

.version_item_controls {
    float: right;
}


.version_title, .version_date, .version_user{
	margin: 0 20px 0 0;
	display: block;
    float: left;
	font-size: 0.85em;
}

.version_title{
	font-weight: bold;
	font-size: 1.15em;
}

.version_item_button_icon {
    background-color: #1A2151;
    border-radius: 10px;
    -moz-border-radius: 10px;
    margin: 0 2px 0 0;
    padding: 2px;
    vertical-align: middle;
	max-height: 16px;
}

.version_item_button {
    font-weight: bold !important;
    margin: 0 0 0 5px;
    padding: 3px 5px;
	min-height: 20px;
}

.version_published_indicator{
	display: block;
  	float: left;
    margin: 0 10px 0 0;
}

.version_item_button_log .version_item_edit_history{
	display: none;
}

.version_item_button_log .version_item_button_icon{
	border: none;
	border-radius: 0;
	-moz-border-radius: 0;
	background: none;
}

.version_item_edit_history_state{
	border-bottom: 1px solid;
    clear: both;
    padding: 3px 0;
}

.version_item_edit_history_state:last-child{
	border: none;
}

.version_item_edit_history_state_editor{
	float: right;
}

.version_item_edit_history_state_title{
	font-weight: bold;
}
.ui-dialog-buttonpane {
    position: relative;
}
#database_form_button_view_versions {
    left: 5px;
    position: absolute;
    bottom: 7px;
}


/*-----------------------------
	Preview Window
--------------------------*/
#record_preview_holder{
	width: 100%;
	height: 100%;
}	

/*-----------------------
	Published Message 
-------------------------*/
#published_message_holder h3{
	margin: 0;
}

#version_delete_message h3, #ok_message_dialog h3{
	margin: 0;
}

/*--------------------------
	Multilingual Support
---------------------------*/
.multilingual_controls{
	display: none;
	position: absolute;
	top: 0;
	width: 100%;
	height: 100%;
	left: 0;
	z-index: 1003;
}
.multilingual_controls .languages{
	margin: 1%;
}
#database_form_button_view_lang_controls {
	left: 5px;
    position: absolute;
    bottom: 7px;
}
#database_form_button_view_versions:not([style="display: none;"]) + #database_form_button_view_lang_controls {
    left: 135px;
}
.multilingual_controls .background{
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	background: #CCCCCC;
	-moz-opacity: 0.60;
	opacity: 0.60;
	-ms-filter:"progid:DXImageTransform.Microsoft.Alpha"(Opacity=60);
}
.multilingual_controls .language{
	overflow: auto;
}
.multilingual_controls .language > h3{
	margin: 0;
}
.multilingual_controls .language .module_field_container .ignore{
	float: left;
    font-weight: normal;
    padding: 0.45em 0 0 1.25em;
}
.multilingual_controls .language > h3 .ignore{
	float: right;
	font-size: 0.75em;
}
.multilingual_controls .language .ignore .ignore_selector{
	width: auto;
	margin: 0;
}
.multilingual_controls .language .ignore label {
    line-height: 1em;
    vertical-align: top;
}

.multilingual_controls .languages .ui-tabs-nav > .title {
    font-size: 1.2em;
    font-weight: bold;
    margin: 0.35em 0 0.35em 1em;
}
.multilingual_controls .languages .ui-tabs-nav .ui-dialog-titlebar-close{
	float: right;
}
.multilingual_controls .languages .ui-tabs-nav .ui-icon:hover{
    background-image: url("../../jquery-ui/images/ui-icons_454545_256x240.png");
}
.multilingual_controls .languages .ui-tabs-nav .ui-dialog-titlebar-close:hover{
	background: url("../../jquery-ui/images/ui-bg_glass_75_dadada_1x400.png") repeat-x scroll 50% 50% #DADADA;
    border: 1px solid #999999;
    color: #212121;
    font-weight: normal;
}

.base_module .preview_select{
	display: none;
}