/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 1.0.1
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/*
    Add your custom styles here
*/
			if( function_exists('acf_add_local_field_group') ):

acf_add_local_field_group(array(
	'key' => 'group_622e7dc8eb111',
	'title' => 'Informações do núcleo',
	'fields' => array(
		array(
			'key' => 'field_62313d7f5168e',
			'label' => 'Nome da unidade',
			'name' => 'nome_da_unidade',
			'type' => 'text',
			'instructions' => 'Insira abaixo o nome completo da unidade.',
			'required' => 0,
			'conditional_logic' => 0,
			'wrapper' => array(
				'width' => '',
				'class' => '',
				'id' => '',
			),
			'default_value' => '',
			'placeholder' => '',
			'prepend' => '',
			'append' => '',
			'maxlength' => '',
		),
		array(
			'key' => 'field_622e8698b3f58',
			'label' => 'Unidade protegida por sígilo',
			'name' => 'unidade_protegida_por_sigilo',
			'type' => 'true_false',
			'instructions' => 'A unidade é protegida por sigilo?',
			'required' => 0,
			'conditional_logic' => 0,
			'wrapper' => array(
				'width' => '100',
				'class' => '',
				'id' => '',
			),
			'message' => '',
			'default_value' => 0,
			'ui' => 1,
			'ui_on_text' => '',
			'ui_off_text' => '',
		),
		array(
			'key' => 'field_62353e0225023',
			'label' => 'Contato',
			'name' => '',
			'type' => 'tab',
			'instructions' => '',
			'required' => 0,
			'conditional_logic' => 0,
			'wrapper' => array(
				'width' => '',
				'class' => '',
				'id' => '',
			),
			'placement' => 'top',
			'endpoint' => 0,
		),
		array(
			'key' => 'field_623796cf43275',
			'label' => 'E-mail',
			'name' => 'ciap_email',
			'type' => 'email',
			'instructions' => '',
			'required' => 0,
			'conditional_logic' => 0,
			'wrapper' => array(
				'width' => '100',
				'class' => '',
				'id' => '',
			),
			'default_value' => '',
			'placeholder' => '',
			'prepend' => '',
			'append' => '',
		),
		array(
			'key' => 'field_6237960a43272',
			'label' => 'Telefone 01',
			'name' => 'ciap_telefone_01',
			'type' => 'text',
			'instructions' => '',
			'required' => 0,
			'conditional_logic' => array(
				array(
					array(
						'field' => 'field_622e8698b3f58',
						'operator' => '!=',
						'value' => '1',
					),
				),
			),
			'wrapper' => array(
				'width' => '33',
				'class' => '',
				'id' => '',
			),
			'default_value' => '',
			'placeholder' => '(11) XXXX-XXXX',
			'prepend' => '',
			'append' => '',
			'maxlength' => 16,
		),
		array(
			'key' => 'field_6237969e43273',
			'label' => 'Telefone 02',
			'name' => 'ciap_telefone_02',
			'type' => 'text',
			'instructions' => '',
			'required' => 0,
			'conditional_logic' => array(
				array(
					array(
						'field' => 'field_622e8698b3f58',
						'operator' => '!=',
						'value' => '1',
					),
				),
			),
			'wrapper' => array(
				'width' => '33',
				'class' => '',
				'id' => '',
			),
			'default_value' => '',
			'placeholder' => '(11) XXXX-XXXX',
			'prepend' => '',
			'append' => '',
			'maxlength' => 16,
		),
		array(
			'key' => 'field_623796ac43274',
			'label' => 'Whatsapp',
			'name' => 'ciap_whatsapp',
			'type' => 'text',
			'instructions' => '',
			'required' => 0,
			'conditional_logic' => array(
				array(
					array(
						'field' => 'field_622e8698b3f58',
						'operator' => '!=',
						'value' => '1',
					),
				),
			),
			'wrapper' => array(
				'width' => '33',
				'class' => '',
				'id' => '',
			),
			'default_value' => '',
			'placeholder' => '(11) XXXXX-XXXX',
			'prepend' => '',
			'append' => '',
			'maxlength' => 15,
		),
		array(
			'key' => 'field_62353dec25022',
			'label' => 'Endereço',
			'name' => '',
			'type' => 'tab',
			'instructions' => '',
			'required' => 0,
			'conditional_logic' => array(
				array(
					array(
						'field' => 'field_622e8698b3f58',
						'operator' => '!=',
						'value' => '1',
					),
				),
			),
			'wrapper' => array(
				'width' => '',
				'class' => '',
				'id' => '',
			),
			'placement' => 'top',
			'endpoint' => 0,
		),
		array(
			'key' => 'field_62353ec68cb04',
			'label' => 'Endereço da unidade',
			'name' => 'ciap-endereco',
			'type' => 'wysiwyg',
			'instructions' => 'Informe o endereço da unidade.',
			'required' => 0,
			'conditional_logic' => array(
				array(
					array(
						'field' => 'field_622e8698b3f58',
						'operator' => '!=',
						'value' => '1',
					),
				),
			),
			'wrapper' => array(
				'width' => '',
				'class' => '',
				'id' => '',
			),
			'default_value' => '',
			'tabs' => 'all',
			'toolbar' => 'basic',
			'media_upload' => 0,
			'delay' => 0,
		),
		array(
			'key' => 'field_62391a026ccc1',
			'label' => 'Google maps',
			'name' => 'ciap-google',
			'type' => 'url',
			'instructions' => 'Coloque aqui o link do Google Mapas.',
			'required' => 0,
			'conditional_logic' => array(
				array(
					array(
						'field' => 'field_622e8698b3f58',
						'operator' => '!=',
						'value' => '1',
					),
				),
			),
			'wrapper' => array(
				'width' => '',
				'class' => '',
				'id' => '',
			),
			'default_value' => '',
			'placeholder' => 'https://goo.gl/maps/vDncjLKnnaNKSuQK6',
		),
		array(
			'key' => 'field_62353dbf25021',
			'label' => 'Fotos',
			'name' => '',
			'type' => 'tab',
			'instructions' => '',
			'required' => 0,
			'conditional_logic' => array(
				array(
					array(
						'field' => 'field_622e8698b3f58',
						'operator' => '!=',
						'value' => '1',
					),
				),
			),
			'wrapper' => array(
				'width' => '',
				'class' => '',
				'id' => '',
			),
			'placement' => 'top',
			'endpoint' => 0,
		),
		array(
			'key' => 'field_62353d20b6bf3',
			'label' => 'Galeria de fotos',
			'name' => 'ciap-galeria',
			'type' => 'gallery',
			'instructions' => 'Cliquem em "ADICIONAR À GALERIA DE FOTOS", para inserir fotos da unidade.',
			'required' => 0,
			'conditional_logic' => array(
				array(
					array(
						'field' => 'field_622e8698b3f58',
						'operator' => '!=',
						'value' => '1',
					),
				),
			),
			'wrapper' => array(
				'width' => '',
				'class' => '',
				'id' => '',
			),
			'return_format' => 'array',
			'preview_size' => 'medium',
			'insert' => 'prepend',
			'library' => 'all',
			'min' => '',
			'max' => '',
			'min_width' => '',
			'min_height' => '',
			'min_size' => '',
			'max_width' => '',
			'max_height' => '',
			'max_size' => '',
			'mime_types' => '',
		),
	),
	'location' => array(
		array(
			array(
				'param' => 'post_type',
				'operator' => '==',
				'value' => 'nucleos',
			),
		),
	),
	'menu_order' => 0,
	'position' => 'normal',
	'style' => 'default',
	'label_placement' => 'top',
	'instruction_placement' => 'label',
	'hide_on_screen' => array(
		0 => 'page_attributes',
	),
	'active' => true,
	'description' => '',
	'show_in_rest' => 0,
));

acf_add_local_field_group(array(
	'key' => 'group_623bbc29ce789',
	'title' => 'Logotipo',
	'fields' => array(
		array(
			'key' => 'field_623bbc4af47ab',
			'label' => 'Link do parceiro',
			'name' => 'link_do_parceiro',
			'type' => 'url',
			'instructions' => 'Informe a endereço do site do parceiro.',
			'required' => 0,
			'conditional_logic' => 0,
			'wrapper' => array(
				'width' => '',
				'class' => '',
				'id' => '',
			),
			'default_value' => '',
			'placeholder' => 'https://',
		),
	),
	'location' => array(
		array(
			array(
				'param' => 'post_type',
				'operator' => '==',
				'value' => 'parceiro-ciap',
			),
		),
	),
	'menu_order' => 0,
	'position' => 'normal',
	'style' => 'default',
	'label_placement' => 'top',
	'instruction_placement' => 'label',
	'hide_on_screen' => '',
	'active' => true,
	'description' => '',
	'show_in_rest' => 0,
));

acf_add_local_field_group(array(
	'key' => 'group_623d0e4f7da76',
	'title' => 'Slides',
	'fields' => array(
		array(
			'key' => 'field_623d140025f29',
			'label' => 'Destino do slide',
			'name' => 'destino_do_slide',
			'type' => 'post_object',
			'instructions' => 'Clique na seta abaixo e aguarde carregar, para selecionar a página de destino.',
			'required' => 0,
			'conditional_logic' => 0,
			'wrapper' => array(
				'width' => '',
				'class' => '',
				'id' => '',
			),
			'post_type' => array(
				0 => 'post',
				1 => 'page',
				2 => 'atendimento',
			),
			'taxonomy' => '',
			'allow_null' => 0,
			'multiple' => 0,
			'return_format' => 'object',
			'ui' => 1,
		),
		array(
			'key' => 'field_623d109f124f4',
			'label' => 'RECOMENDAÇÕES:',
			'name' => '',
			'type' => 'message',
			'instructions' => '',
			'required' => 0,
			'conditional_logic' => 0,
			'wrapper' => array(
				'width' => '',
				'class' => '',
				'id' => '',
			),
			'message' => '• Utilize o campo ao lado, <b>"Imagem do Slide"</b>, para definir a imagem do slide.
• Evite enviar imagem com dimensões grande, ou arquivo muito pesado para não comprometer o tempo de carregamento da página.</li>
• <b>Dimensões mínima recomenda: </b>1200 x 800 px.',
			'new_lines' => 'br',
			'esc_html' => 0,
		),
	),
	'location' => array(
		array(
			array(
				'param' => 'post_type',
				'operator' => '==',
				'value' => 'slide',
			),
		),
	),
	'menu_order' => 0,
	'position' => 'normal',
	'style' => 'default',
	'label_placement' => 'top',
	'instruction_placement' => 'label',
	'hide_on_screen' => '',
	'active' => true,
	'description' => '',
	'show_in_rest' => 0,
));

acf_add_local_field_group(array(
	'key' => 'group_623bb82ab6354',
	'title' => 'Tansparência',
	'fields' => array(
		array(
			'key' => 'field_623bb867c6e1d',
			'label' => 'Documento',
			'name' => 'documento',
			'type' => 'file',
			'instructions' => 'Faça upload do pdf.',
			'required' => 1,
			'conditional_logic' => 0,
			'wrapper' => array(
				'width' => '',
				'class' => '',
				'id' => '',
			),
			'return_format' => 'url',
			'library' => 'uploadedTo',
			'min_size' => '',
			'max_size' => '',
			'mime_types' => '',
		),
	),
	'location' => array(
		array(
			array(
				'param' => 'post_type',
				'operator' => '==',
				'value' => 'transparencia',
			),
		),
	),
	'menu_order' => 0,
	'position' => 'normal',
	'style' => 'default',
	'label_placement' => 'top',
	'instruction_placement' => 'label',
	'hide_on_screen' => array(
		0 => 'the_content',
		1 => 'excerpt',
		2 => 'discussion',
		3 => 'comments',
		4 => 'revisions',
		5 => 'slug',
		6 => 'author',
		7 => 'format',
		8 => 'page_attributes',
		9 => 'featured_image',
		10 => 'categories',
		11 => 'tags',
		12 => 'send-trackbacks',
	),
	'active' => true,
	'description' => '',
	'show_in_rest' => 0,
));

acf_add_local_field_group(array(
	'key' => 'group_62711453b8351',
	'title' => 'Banner menor',
	'fields' => array(
		array(
			'key' => 'field_62711476b95a9',
			'label' => 'Banner',
			'name' => 'banner',
			'type' => 'image',
			'instructions' => '<strong>Importante!</strong><br>
A imagem deve medir 360px por 240px.<br>
Faça o upload da imagem do banner menor',
			'required' => 0,
			'conditional_logic' => 0,
			'wrapper' => array(
				'width' => '',
				'class' => '',
				'id' => '',
			),
			'return_format' => 'array',
			'preview_size' => 'full',
			'library' => 'all',
			'min_width' => '',
			'min_height' => '',
			'min_size' => '',
			'max_width' => 360,
			'max_height' => '',
			'max_size' => '',
			'mime_types' => 'jpg, png, gif',
		),
	),
	'location' => array(
		array(
			array(
				'param' => 'post_type',
				'operator' => '==',
				'value' => 'amigo-solidario',
			),
		),
	),
	'menu_order' => 4,
	'position' => 'side',
	'style' => 'default',
	'label_placement' => 'top',
	'instruction_placement' => 'label',
	'hide_on_screen' => '',
	'active' => true,
	'description' => '',
	'show_in_rest' => 0,
));

endif;		