/*
Theme Name: Cuide do Sorriso
Theme URI: http://teialocal.com/
Author: Giovani Faganello
Author URI: http://teialocal.com/
Description: Moldura de trabalho para temas Wordpress.
Version: 3.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: teialocal, painel de opções, camaleão, adaptoide
Text Domain: adaptoide

Changelog:
20170321: 3.0.0 ~ Reconstrução completa e lançamento inicial
20160621: 2.1.1 ~ Atualização MetaBox 4.8.7
20160621: 2.1.1 ~ Correções menores + atualização de caixa de comentários de acordo com Vertigo 2016
20160515: 2.1.0 ~ Atualização MetaBox 4.8.5
20160515: 2.0.6 ~ Diversas melhorias mas ainda com Meta-Box 4.5.6
20160229: 2.0.5 ~ Adição Google reCaptcha nos comentários, login, registro e senha
20160219: 2.0.4 ~ Adição de Facebook Sharer
20160211: 2.0.3 ~ Ajustes nos arquivos Woocommerce
20160109: 2.0.2 ~ Ajustes em blocos/comentarios.php devido a WP 4.4
20151116: 2.0.1 ~ Integração com Woocommerce
20150921: 2.0.0 ~ Reconstrução completa 
20141206: 1.1.3 ~ Pequenos bugs corrigidos
20141130: 1.1.2 ~ Rebuild Parte 2 (Novas redes sociais e configs institucionais)
20141127: 1.1.1 ~ Rebuild
20140416: 1.1.0 ~ Nova função redes sociais
20140416: 1.0.9 ~ Novo Ajax original com new WP_Query
20140416: 1.0.7 + 1.0.8 ~ Ajax original com query_posts + Carregamento de widgets socias em modo assíncrono
20140416: 1.0.6 ~ Melhorias na apresentação das meta boxes e adição de estilo dinâmico na administração
20140416: 1.0.5 ~ Retoques META IMAGE UPLOADED e criação de BAKS-n-HACKS
20140413: 1.0.4 ~ Diversos pequenos ajustes
20140412: 1.0.3 ~ Melhoras nos comentários
20140408: 1.0.2 ~ Diversas correções
20140401: 1.0.1 ~ Adição de Nivo Slider às funcionalidades
20140331: 1.0.0 ~ Integração com tema Camaleão e release inicial
20140227: 0.2.8 ~ Atualização das Meta Boxes para 3.4.8
20131201: 0.2.7 ~ Adição de metaboxes nas taxonomias
20131119: 0.2.6 ~ Atualização plugin meta-box e diversos fixes
20131107: 0.2.5 ~ Adição de Metabox que lista os usuários
20131107: 0.2.4 ~ Correções menores 
20131020: 0.2.3 ~ Adição de função para busca imagem da taxonomia em taxonomy-{tax}.php
20131020: 0.2.2 ~ Correção Image Tax.
20131018: 0.2.1 ~ Adição de Simplefade e várias correções de bugs.

Notas:

	— Paginações:
	Quando em arquivo de GATEGORIAS ou TAGS, a paginação do mesmo só funciona com POST
	Para usar paginação em categoria/similar de um CPT, deve-se utilizar uma TAXONOMIA própria
		Ex:
		Usando POSTS: 	home/categoria/diversos 	(Pode-se utilizar a taxonomia de categoria nativa)
		Usando CPTS: 	home/variacoes/cores 		(Não se utiliza a taxonomia de categorias nativa)

	— Páginas estáticas setadas como FRONT/HOME:
	Quando setar uma página interna como HOME e esta página possuir um loop com paginação, deve-se usar em conjunto com os argumentos:
		if ( get_query_var('paged') ) {
			$paged = get_query_var('paged');
		} elseif ( get_query_var('page') ) {
			$paged = get_query_var('page');
		} else {
			$paged = 1;
		}
		
*/

/* -------------------------------------------------------------- */			
/* Reset */			
/* -------------------------------------------------------------- */

	html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p,
	blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font,
	img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i,
	center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption,
	tbody, tfoot, thead, tr, th, td
							{ background: transparent; border: 0; margin: 0; padding: 0; vertical-align: baseline; }
	.clearfix:after,
	.linha:after,
	.woocommerce-tabs:after,
	section:after,
	header:after,
	footer:after,
	article:after,
	nav:after
							{ content: "."; display: block; height: 0; clear: both; visibility: hidden; }
	html 					{ font-size: 100%; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; /*height: 100%;*/ }
	body                    { line-height: 1; }
	h1, h2, h3, h4, h5, h6  { font-weight: normal; font-size: 100%; }
	ol, ul                  { list-style: none; }
	blockquote              { quotes: none; }
	blockquote:before,
	blockquote:after        { content: ''; content: none; }
	del                     { text-decoration: line-through; }
	table                   { border-collapse: collapse; border-spacing: 0; }
	caption, th				{ text-align:left; }
	a img                   { border: none; }
	img                     { display: block; border: 0; vertical-align: middle; -ms-interpolation-mode: bicubic; }
	fieldset 				{ border:0; }
	svg:not(:root) 			{ overflow: hidden; }
	figure 					{ margin: 0; }
	address,caption,cite,
	code,dfn,th,var			{ font-style:normal; font-weight:normal; }
	:focus 					{ outline:none; }
	.limpar-ambos			{ clear: both; }
	.limpar-esquerda 		{ clear: left; }
	.limpar-direita 		{ clear: right; }

/* -------------------------------------------------------------- */			
/* Elementos */			
/* -------------------------------------------------------------- */

	article, aside, details, figcaption, figure, footer, header, hgroup, nav, section, summary {
		display: block;
	}
	
	audio, canvas, video {
		display: inline-block;
		*display: inline;
		*zoom: 1;
	}
	
	audio:not([controls]) {
		display: none;
	}
	
	[hidden] {
		display: none;
	}

	sub, sup {
	  font-size: 75%;
	  line-height: 0;
	  position: relative;
	  vertical-align: baseline;
	}
	 
	sup { top: -0.5em; }
	sub { bottom: -0.25em; }	

	html {
		box-sizing: border-box;
	}
	*, *:before, *:after {
		-webkit-box-sizing: border-box;
		-moz-box-sizing: border-box;
		box-sizing: border-box;
	}
	
	
/* -------------------------------------------------------------- */			
/* Forms */			
/* -------------------------------------------------------------- */

	form 			{ margin: 0; }
	fieldset 		{ border: 0; margin: 0; padding: 0; }
	label 			{ cursor: pointer; }
	legend 			{ border: 0; padding: 0; white-space: normal; *margin-left: -7px; }
	button, input 	{ line-height: normal; }
	button, input, select, textarea
					{ font-size: 100%; margin: 0; vertical-align: baseline; *vertical-align: middle; }
	button, input[type="button"], input[type="reset"], input[type="submit"]
					{ cursor: pointer; -webkit-appearance: button; *overflow: visible; }
	button[disabled], input[disabled]
					{ cursor: default; }
	input[type="checkbox"], input[type="radio"]
					{ box-sizing: border-box; padding: 0; *width: 13px; *height: 13px; }
	input[type="search"]
					{ -webkit-appearance: textfield; -moz-box-sizing: content-box; -webkit-box-sizing: content-box; box-sizing: content-box; }
	input[type="search"]::-webkit-search-decoration, input[type="search"]::-webkit-search-cancel-button
					{ -webkit-appearance: none; }
	button::-moz-focus-inner, input::-moz-focus-inner
					{ border: 0; padding: 0; }
	textarea 		{ overflow: auto; vertical-align: top; resize: vertical; }



/* -------------------------------------------------------------- */			
/* Imagem Responsiva */			
/* -------------------------------------------------------------- */

	img {
		max-width: 100%;
		height: auto;
		-ms-interpolation-mode: bicubic;
	}
	
	@media \0screen {
	  img { 
		width: auto; /* for ie 8 */
	  }
	}

	
/* -------------------------------------------------------------- */
/* Youtube e Vimeo responsivos */
/* -------------------------------------------------------------- */
	
	.caixa-video {
		position: relative;
		padding-bottom: 56.25%;
		padding-top: 0; height: 0; overflow: hidden;
		margin: 2em 0;
	}
	 
	.caixa-video iframe,
	.caixa-video object,
	.caixa-video embed {
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
	}
	.texto p iframe, .texto iframe { max-width: 100%; }	
	

/* -------------------------------------------------------------- */			
/* Outros */			
/* -------------------------------------------------------------- */

	body {
		/*overflow-y: scroll;*/
	}

	/* Palavras Longas */
	.quebra-palavra {
		word-wrap: break-word;
	}

	/* Pre e the_meta(); */
	pre {
		font-family: monospace;
		background: #fff; font-size: 12px; color: #000;
	}	
	
	/* Casca do sítio, centralizada */
	.casca { margin: 0 auto; }
	
	/* Flutuantes */
	.esquerda, .alignleft { float: left; }
	.direita, .alignright { float: right; }
	.centro, .aligncenter, .alignnone { float: none; clear: both; margin: auto; }
	
	.alignleft { margin-right: 2em; margin-bottom: 1em; }
	.alignright { margin-left: 2em; margin-bottom: 1em; }
	
	.busca-vazia { clear: both; }
	
	/* Redondas */
	.redonda, .redondo, .redonda img, .redondo img { -moz-border-radius: 50%; -khtml-border-radius: 50%; -webkit-border-radius: 50%; border-radius: 50%; }
	
	/* Larguras */
	.x-450 { width: 450px; max-width: 450px !important; }
	.x-400 { width: 400px; max-width: 400px !important; }
	.x-350 { width: 350px; max-width: 350px !important; }
	.x-300 { width: 300px; max-width: 300px !important; }
	.x-250 { width: 250px; max-width: 250px !important; }
	.x-225 { width: 225px; max-width: 225px !important; }
	.x-200 { width: 200px; }
	.x-175 { width: 175px; }
	.x-150 { width: 150px; }
	.x-125 { width: 125px; }
	.x-100 { width: 100px; }
	.x-90 { width: 90px; }
	.x-80 { width: 80px; }
	.x-70 { width: 70px; }
	.x-60 { width: 60px; }
	.x-50 { width: 50px; }
	.x-40 { width: 40px; }
	.x-30 { width: 30px; }
	.x-20 { width: 20px; }
	.x-auto { width: auto; }	
	
	.x-max100 { max-width: 100px; }
	.x-max150 { max-width: 150px; }
	.x-max200 { max-width: 200px; }
	.x-max250 { max-width: 250px; }
	.x-max300 { max-width: 300px; }
	.x-max350 { max-width: 350px; }
	.x-max400 { max-width: 400px; }
	.x-max500 { max-width: 500px; }
	.x-max600 { max-width: 600px; }	
	
	/* Alinhamentos */
	.texto-esquerda, .txt-e { text-align: left; }
	.texto-direita, .txt-d { text-align: right; }
	.texto-centro, .txt-c { text-align: center; }
	
	/* Inline */
	.em-bloco { display: block !important; }
	.em-linha { display: inline !important; }
	.em-linha-bloco { display: inline-block !important; }
	
	/* Enchimentos para inline */
	.p-5 { padding: 0 5px; }
	.p-10 { padding: 0 10px; }
	.p-15 { padding: 0 15px; }
	.p-20 { padding: 0 20px; }	
	
	/* Enchimentos top e bottom */
	.pt-0 { padding-top: 0; }
	.pt-5 { padding-top: 5px; }
	.pt-10 { padding-top: 10px; }
	.pt-15 { padding-top: 15px; }
	.pt-20 { padding-top: 20px; }
	.pt-30 { padding-top: 30px; }
	.pt-40 { padding-top: 40px; }
	.pt-50 { padding-top: 50px; }

	.pb-0 { padding-bottom: 0; }
	.pb-5 { padding-bottom: 5px; }
	.pb-10 { padding-bottom: 10px; }
	.pb-15 { padding-bottom: 15px; }
	.pb-20 { padding-bottom: 20px; }
	.pb-30 { padding-bottom: 30px; }
	.pb-40 { padding-bottom: 40px; }
	.pb-50 { padding-bottom: 50px; }	
	
	/* Margens */
	.m-auto { margin: auto; }
	
	/* Margens top e bottom */
	.mt-0 { margin-top: 0; }
	.mt-5 { margin-top: 5px; }
	.mt-10 { margin-top: 10px; }
	.mt-15 { margin-top: 15px; }
	.mt-20 { margin-top: 20px; }
	.mt-30 { margin-top: 30px; }
	.mt-40 { margin-top: 40px; }
	.mt-50 { margin-top: 50px; }

	.mb-0 { margin-bottom: 0; }
	.mb-5 { margin-bottom: 5px; }
	.mb-10 { margin-bottom: 10px; }
	.mb-15 { margin-bottom: 15px; }
	.mb-20 { margin-bottom: 20px; }
	.mb-30 { margin-bottom: 30px; }
	.mb-40 { margin-bottom: 40px; }
	.mb-50 { margin-bottom: 50px; }

	/* Pos */
	.pos-rel { position: relative; }
	.pos-abs { position: absolute; }
	.pos-sta { position: static; }
	.pos-fix { position: fixed; }

	
	/* Texto */
	.italico { font-style: italic; }
	.negrito { font-weight: bold; }
	.caixa-alta { text-transform: uppercase; }
	.caixa-baixa { text-transform: none; }
	
		
	/* Bgs 100% que envolvem cada bloco do sítio */
	.secao { width: 100%; }
	
	/* Rodapé */
	#rodape { padding-bottom: 20px; }
	#google-maps iframe { margin-bottom: -5px; }
		
	/* Paginação */	
	.paginacao { clear: both; margin-top: 30px; padding-top: 0; font-size: 1.5em; font-weight: 100; text-align: center; }
	.paginacao .next:hover, .paginacao .prev:hover { border-color: #fff; }
	.paginacao .page-numbers { padding: 0 10px; }
	.paginacao .prev { margin-right: 15px; padding: 0 20px; }
	.paginacao .next { margin-left: 15px; padding: 0 20px; }
	.paginacao .current { background: silver; }	

	/* Tags, Arquivos e Contato */
	body#tag header h2, body#categoria header h2 { margin: 0; padding: 0; margin: 1em 0; }
	.tag-etiqueta { font-size: 13px; float: left; padding: 3px 6px; margin: 2px; background: rgba(255,255,255,0.5); border: 1px dashed rgba(0,0,0,0.1); }
	.tag-corrente { color: #8E8E8E; }
	.separador { color: rgba(0,0,0,0.2); padding: 0 10px; }
	
	/* Busca e buscar novamente */
	body.search #corpo h2.resultados { margin: 0; padding: 0; margin: 0.5em 0; }
	body.search-no-results #conteudo p.sem-resultados { max-width: 500px; margin: 40px auto; text-align: center; }
	.novamente { margin: 25px auto 40px auto; width: 290px; float: right; }
	.form-de-busca { width: 100%; max-width: 290px; }
	.form-de-busca .botao { float: right;  }
	.search-input { width: 95% !important; }
	.search-submit.buscar { padding: 0 !important; }
		
	/* Tags */
	.nuvem-de-tags { width: 70%; margin: auto; }

	/* Contact Form 7 */
	.wpcf7-form-control-wrap {  }
	
	form.wpcf7-form .campo:focus, select:focus { border-color: #D3C072; background: #FFFAE5 !important; }
	form.wpcf7-form .wpcf7-captchar { font-size: 2.5em; width: 130px; text-align: center;}
	form.wpcf7-form .wpcf7-captchac { width: 120px !important; margin: auto; height: auto !important; }
	form.wpcf7-form .campo-captcha { width: 155px; margin: auto; }
	div.wpcf7 img.ajax-loader { width: 16px; height: 16px; margin: 1em auto -20px auto; display: block; }
	form.wpcf7-form .wpcf7-submit { margin: 20px auto 0 auto !important; display: block; }
	form.wpcf7-form .wpcf7-not-valid-tip { text-align: left; }	

	form.wpcf7-form input[type="text"],
	form.wpcf7-form input[type="email"],
	form.wpcf7-form textarea { transition: 0.5s; }
	form.wpcf7-form textarea { height: 136px; }
	
	form.wpcf7-form .wpcf7-not-valid { border: 1px solid red; background: rgba(255,0,0,0.05); }
	div.wpcf7-validation-errors, div.wpcf7-mail-sent-ng, div.wpcf7-mail-sent-ok, div.wpcf7-spam-blocked { width: 100%; max-width: 300px; border: none; background: #ffba00; text-align: center; }
	div.wpcf7-response-output { margin: 20px auto; padding: 12px 15px; text-align: center; }	
	div.wpcf7-mail-sent-ng { background: #D11B1B; color: #fff; }
	div.wpcf7-spam-blocked { background: #831ACE; color: #fff; }
	div.wpcf7-mail-sent-ok { background: #099904; color: #fff; }
	div.wpcf7-recaptcha { width: 305px; margin: auto; }
	
	/* Banners */
	.centro .banner img { margin: auto; }	
	
	/* Post Nav */
	.post-nav { width: 45%; margin-top: 2em; height: 40px; }
	.post-posterior { text-align: right; float: right; margin-top: 1em !important; margin-bottom: 1em !important; }
	.post-anterior { text-align: left; float: left; margin-bottom: 1em !important; margin-top: 1em !important; }
	.post-nav .nav-icone i.fa { display: block; font-size: 36px; color: #ddd }
	.post-nav .nav-icone { width: 24px; vertical-align: middle; padding: 0 15px; }
	.post-nav .nav-link { vertical-align: middle; }
	
	.post-nav.post-posterior .nav-icone { border-left: 1px solid rgba(0,0,0,0.1); }
	.post-nav.post-anterior .nav-icone { border-right: 1px solid rgba(0,0,0,0.1); }
	.post-nav.post-posterior .nav-link { padding-right: 15px; }
	.post-nav.post-anterior .nav-link { padding-left: 15px; }	

	.post-nav.post-posterior .nav-link img { float: right; }
	.post-nav.post-anterior .nav-link { }		
		
	/* Menu com taxonomia */

	.menu-tax .abre-abre {
		background: gray; color: #fff;
		display: block; float: right;
		width: 20px; text-align: center;
		}

	ul.tax-pais li { border-top: 1px solid #ededed; }
	ul.tax-pais li.primeiro, ul.tax-filhos li.primeiro { border-top: none; }
	ul.tax-pais, ul.tax-filhos, ul.tax-netos { background: rgba(0,0,0,0.1); }	
	
	
/* -------------------------------------------------------------- */			
/* Rolagem Suave */			
/* -------------------------------------------------------------- */

	.rolagem-suave {
		width:48px;
		height:48px;
		/*opacity:0.3;*/
		position:fixed;
		bottom:45px;
		right:25px;
		display:none; z-index: 9999;
		text-indent:-9999px;
		background: url(img/rolagem-suave.png) no-repeat;
	}
	
	.rolagem-suave:hover { cursor: pointer; }	


/* -------------------------------------------------------------- */			
/* Parallax */			
/* -------------------------------------------------------------- */	
	
	.parallax {
		height: 600px;
		background-position: 15% 100%;
		background-repeat: no-repeat;
		background-attachment: fixed;
		-webkit-background-size: cover;
		-moz-background-size: cover;
		-o-background-size: cover;
		background-size: cover;
		overflow-y: hidden;
	}
	.parallax-img {
		background-image: url(http://wp/wp-content/uploads/2015/09/011-800x450.jpg);
	}
	
	
/* -------------------------------------------------------------- */			
/* Avisos */
/* -------------------------------------------------------------- */

	.erro { font-size: 13px; background: #fff; color: red; -moz-border-radius: 3px; -khtml-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px; }

	.aviso { padding: 15px 15px 15px 82px;  }
	.aviso h1, .aviso h2, .aviso h3, .aviso h4 { margin: 0 !important; padding: 0 !important; }

	.aviso-erro { color: #fff; background: #d12e2e url(img/aviso-erro.png) left center no-repeat; }
	.aviso-atencao { color: #fff; background: #e8ae00 url(img/aviso-atencao.png) left center no-repeat; }
	.aviso-sucesso { color: #fff; background: #40a43e url(img/aviso-sucesso.png) left center no-repeat; }		
	
	.moderacao {
		display: block; max-width: 320px;
		-moz-border-radius: 3px; -khtml-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px;
		background: #CC0000; color: #fff; font-weight: bold; font-size: 12px; padding: 5px 10px; }

/* -------------------------------------------------------------- */			
/* 404 */
/* -------------------------------------------------------------- */
		
	.error404 .miolo { text-align: center; }	
	.error404 #corpo .fa { font-size: 128px; }	
	
/* -------------------------------------------------------------- */			
/* Carregando */
/* -------------------------------------------------------------- */
	.carregando-bloco {
		width: 16px; margin: auto; padding: 50px 0;
	}
	.carregando-bloco img { width: 16px; margin: auto; }
	.escondido { display: none; }
	.abre-abre, .fole { cursor: pointer; }
	
/* -------------------------------------------------------------- */			
/* Consertos gerais */			
/* -------------------------------------------------------------- */

	/* Quick fix para o z-index da janela FB vs. outros elementos */
	.single-product .woocommerce-tabs, #comments, #respond, #post-entries {
		z-index: 0;
		position: relative;
	}

	
/* -------------------------------------------------------------- */			
/* Colorbox Tema 4 (branco) */			
/* -------------------------------------------------------------- */

	#cboxSlideshow{	position:absolute; bottom:0px; right:42px; color:#444 !important;}
	#cboxPrevious{	position:absolute; bottom:-2px !important; left:0 !important; font-size:17px; }
	#cboxNext{		position:absolute; bottom: -2px !important; left: 85px !important; font-size:17px; }
	#cboxCurrent {	left: 28px !important; }
	.cboxPhoto { border-bottom: 6px solid #fff !important; }
	#colorbox, #cboxOverlay, #cboxWrapper { z-index: 10001 !important; }
	