<?php

/* error_reporting(0);
ini_set('display_errors', 0);

$parse_uri = explode( 'wp-content', $_SERVER['SCRIPT_FILENAME'] );
require_once( $parse_uri[0] . 'wp-load.php' ); */

global $wcuf_option_model;
$style_options = $wcuf_option_model->get_style_options();

/*** set the content type header ***/
/* header("Content-type: text/css"); */
?>
h2.wcuf_upload_summary_title
{
	margin-top: 20px;
	margin-bottom: 0px;
}
.wcuf_single_upload_field_container 
{
  width:100%;
  display:block;
  clear:both;
  margin-bottom: 50px;
  vertical-align: top;
 /*  border: 1px #dedede solid; */
}
.wcuf_upload_fields_row_element 
{
  display: inline-block;
  vertical-align: top;
  /* float: left; */
  margin-right: 40px;
  margin-bottom: 25px;
  width: <?php if($style_options['css_order_page_multiple_upload_fields_per_row'] == 'yes' ) echo $style_options['css_order_page_upload_field_width'].$style_options['css_order_page_upload_field_width_type']; else echo "100%";; ?>;
  overflow:hidden;
 /*  background: #FaFaFa;*/
  padding: 15px; 
  overflow: hidden;
}
.wcuf_single_upload_field_container p, .wcuf_feedback_textarea
{
	display: block;
    clear: both;
}
.wcuf-approval-status {
	border: 1px solid;
	margin: ;
	padding: 5px;
	margin: ;
	margin-top: 10px;
	display: block;
	text-align: center;
	font-weight: bold;
}
.wcuf-approval-status-rejected
{
	color: red;
}
.wcuf-approval-status-waiting-for-approval
{
	color: blue;
}
.wcuf-approval-status-approved
{
	color: green;
}
.wcuf-approval-feedback
{
	margin-top: 10px;
	margin-bottom: 15px !important;
}
#wcuf_infinite_bar
{
	width:160px;
	height:20px;
	clear:both;
}
#wcuf_progress,#wcuf_saving_loader
{
	display:none;
}
#wcuf_saving_loader
{
	height:16px;
	width:16px;
}
.wcuf_multiple_file_progress_container
{
	display:none;
	margin-bottom: 5px;
}
.wcuf_bar
{
	background-color: grey;
    display: block;
    height: 10px;
    width: 100%;
	border-radius: 3px;
}
.wcuf_upload_status_box
{
	display:none;
	width:90%;
	margin-bottom: 20px;
	margin-top: 10px;
}
.wcuf_required_label:after { content:" *";  color:red;}

.wcuf_spacer
{
	display:block; height:10px;
	width:100%;
	clear: both;
}
.wcuf_spacer2
{
	display:block; 
	height:25px;
	width:100%;
	clear: both;
}
.wcuf_spacer3,.wcuf_spacer4
{
	display:block; height:50px;
	width:100%;
	clear: both;
}
.wcuf_file_uploads_container strong {
  display: block;
}
.wcuf_deleting_message
{
	display:none;
}
.wcuf_deleting_box
{
	display:none;
}
input[type="file"].wcuf_file_input
{
	/* display:none; */
	opacity:0;
	position:absolute;
	z-index: -10;
	width: 10px;
}
.wcuf_file_uploads_container
{
	margin-bottom: 15px;
}
button.button.wcuf_upload_multiple_files_button,.button.wcuf_upload_multiple_files_button,  .woocommerce a.button.wcuf_upload_multiple_files_button, .woocommerce button.button.wcuf_upload_multiple_files_button, .woocommerce input.button.wcuf_upload_multiple_files_button
.woocommerce.single.single-product .entry-summary form button.button.wcuf_upload_multiple_files_button, 
.wcuf_file_uploads_container .button.wcuf_upload_multiple_files_button,
#top form.cart .button.wcuf_upload_multiple_files_button 
{
	display:none;
}
.wcuf_multiple_files_list
{
	margin-top: 3px;
	display:block;
}

.wcuf_file_name
{
	font-weight:bold;
	display:none;
	clear:left;
	margin-top: 15px;
	margin-bottom: 5px;
	padding: 10px 10px 10px 10px;
	border: 1px #dedede solid;
}
.wcuf_file_preview_list_item
{
	margin-bottom: 5px;
}
.wcuf_upload_field_title.wcuf_summary_uploaded_files_title
{
	margin-top:15px;
}
.wcuf_summary_uploaded_files_list_spacer
{
	display:block;
	clear:both;
	height:10px;
}
#wcuf_summary_uploaded_files
{
	margin-bottom:40px;
}
.wcuf_disclaimer_checkbox
{
	 margin-right: 5px;
   /*  top: 3px;
    vertical-align: bottom;
	position: relative; */
}
.wcuf_disclaimer_label
{
	display:block;
	clear:both;
	margin: 10px 0px 10px 0px;
}
.wcuf_upload_field_title
{
	color: <?php echo urldecode($style_options['css_upload_field_title_color']);?> !important;
	<?php $css_upload_field_title_font_size = urldecode($style_options['css_upload_field_title_font_size']);
		  echo $css_upload_field_title_font_size == 'inherit' ? "" : "font-size: ".$css_upload_field_title_font_size.'px  !important;';?>
}
.wcuf_feedback_textarea
{
	<?php if($style_options['css_feedback_text_area_height'] != 0): ?>
		height: <?php echo $style_options['css_feedback_text_area_height'];?>px;
	<?php endif; ?>
	<?php if($style_options['css_feedback_text_area_width'] != 0): ?>
		width: <?php echo $style_options['css_feedback_text_area_width'];?>px;
	<?php endif; ?>
	margin-top: <?php echo $style_options['css_feedback_text_area_margin_top'];?>px;
	margin-bottom: <?php echo $style_options['css_feedback_text_area_margin_bottom'];?>px;
}
.wcuf_max_size_notice
{
	margin-top: <?php echo $style_options['css_notice_text_margin_top'];?>px;
	margin-bottom: <?php echo $style_options['css_notice_text_margin_bottom'];?>px;
}
/* Image preview showed in product table */
.wcuf_image_preview_container
{
	display: inline-block;
	max-width: 200px;
	vertical-align: top;
}
.wcuf_image_preview, .wcuf_file_name_text, .wcuf_file_quantity_text
{
	display:block; 
	clear: both;
}
.wcuf_file_name_text, .wcuf_file_quantity_text
{
	/* text-align: center; */
	word-wrap: break-word;
}