/* ----------------------------------------------------------------------------------------------------

Baseado no Super Form Reset

A couple of things to watch out for:

- IE8: If a text input doesn't have padding on all sides or none the text won't be centered.
- The default border sizes on text inputs in all UAs seem to be slightly different. You're better off using custom borders.
- You NEED to set the font-size and family on all form elements
- Search inputs need to have their appearance reset and the box-sizing set to content-box to match other UAs
- You can style the upload button in webkit using ::-webkit-file-upload-button
- ::-webkit-file-upload-button selectors can't be used in the same selector as normal ones. FF and IE freak out.
- IE: You don't need to fake inline-block with labels and form controls in IE. They function as inline-block.
- By turning off ::-webkit-search-decoration, it removes the extra whitespace on the left on search inputs

----------------------------------------------------------------------------------------------------*/

::-webkit-input-placeholder { /* Edge */
	color: var(--cinza-claro);
}

:-ms-input-placeholder { /* Internet Explorer 10-11 */
	color: var(--cinza-claro);
}

::placeholder {
	color: var(--cinza-claro);
}

input[type="text"],
input[type="number"],
input[type="tel"],
input[type="email"],
input[type="password"],
input[type="search"],
input[type="url"],
select,
button,
textarea
{
	margin:0;
	border:0;
	padding:0;
	display:block;
	vertical-align:middle;
	white-space:normal;
	background:none;
	line-height:1;
	width: 100%;
	font-size:16px;
	padding: 11px 28px 10px 11px;
	color: var(--preto);

	font-family: 'Arial', sans-serif;
	background-color: var(--cinzaclaro);
	border-radius: var(--radius);
	margin-bottom: 20px;
	box-shadow: 0 2px var(--cinzamedio);

	appearance: none;
	-webkit-appearance: none;

	transition: 0.3s box-shadow;
}
textarea {
	height: 120px;
}
input:focus,
select:focus,
textarea:focus {
	box-shadow: 0 2px var(--cinzaescuro);
	outline: none;
}
select.aprovado,
input.aprovado,
textarea.aprovado {
	box-shadow: 0 2px var(--verde);
}
input.aprovado,
textarea.aprovado {
	background-image: url(imgs/check.svg);
	background-repeat: no-repeat;
	background-position: calc(100% - 15px) 50%;
}
select.reprovado,
input.reprovado,
textarea.reprovado {
	box-shadow: 0 2px var(--vermelho);
}
button[disabled],
select[disabled],
input[disabled],
textarea[disabled] {
	opacity: 0.65;
}

label {
	display: inline-block;
	text-transform: uppercase;
	line-height:1.2;
	margin-bottom: 7px;
	font-weight: bold;
}
body:not(.login) label:not(.radio) {
	margin-top: 40px;
}

/* Remove the stupid outer glow in Webkit */
input:focus
{
	outline:0;
}

/* Box Sizing Reset
-----------------------------------------------*/

/* All of our custom controls should be what we expect them to be */
input,
textarea
{
}

/* These elements are usually rendered a certain way by the browser */
button,
input[type=reset],
input[type=button],
input[type=submit],
input[type=checkbox],
input[type=radio],
select
{
	appearance: none;
	-webkit-appearance: none;
}

label.radio {
	float: left;
	clear: both;
	font-size: 16px;
	font-weight: normal;
	text-transform: none;
	margin: 12px 0;
	position: relative;
	padding-left: 35px;
}

/* Text Inputs
-----------------------------------------------*/

input[type=date],
input[type=datetime],
input[type=datetime-local],
input[type=email],
input[type=month],
input[type=number],
input[type=password],
input[type=range],
input[type=search],
input[type=tel],
input[type=text],
input[type=time],
input[type=url],
input[type=week]
{
}

/* Button Controls
-----------------------------------------------*/

input[type=checkbox],
input[type=radio]
{
	padding: 0;
	appearance: none;
	-webkit-appearance: none;
	position: absolute;

	background-color: var(--cinzaclaro);
	border: 2px solid var(--cinzaclaro);
	border-radius: 50%;
	width:20px;
	height:20px;
	padding: 0;
	appearance: none;
	-webkit-appearance: none;
	position: absolute;
	left: 0;
	top: -5px;
}
input[type=checkbox]:active,
input[type=radio]:active,
input[type=checkbox]:focus,
input[type=radio]:focus
{
	outline: none !important;
}
input[type=radio]:after {
	content: '';
	background-color: var(--vermelho);
	opacity: 0;
	width: 0;
	height: 0;
	border-radius: 50%;
	top: 50%;
	left: 50%;
	position: absolute;
	display: block;
	transform: translate(-50%,-50%);
	transition: 0.3s transform, 0.3s opacity, 0.3s width, 0.3s height;
}
input[type=radio]:checked {
	box-shadow: none;
}
input[type=radio]:checked:after {
	display: block;
	width: 12px;
	height: 12px;
	opacity: 1;
}

input[type=checkbox] {
	border-radius: 2px;
}
input[type=checkbox]:after {
	content: '';
	background-color: var(--vermelho);
	opacity: 0;
	width: 0;
	height: 0;
	border-radius: 2px;
	top: 50%;
	left: 50%;
	position: absolute;
	display: block;
	transform: translate(-50%,-50%);
	transition: 0.3s transform, 0.3s opacity, 0.3s width, 0.3s height;
}
input[type=checkbox]:checked {
	box-shadow: none;
}
input[type=checkbox]:checked:after {
	display: block;
	width: 12px;
	height: 12px;
	opacity: 1;
}



/* File Uploads
-----------------------------------------------*/

input[type=file]
{

}

/* Search Input
-----------------------------------------------*/

/* Make webkit render the search input like a normal text field */
input[type=search]
{
	-webkit-appearance:textfield;
}

/* Turn off the recent search for webkit. It adds about 15px padding on the left */
::-webkit-search-decoration
{
	display:none;
}

/* Buttons
-----------------------------------------------*/

.btn,
button,
input[type="reset"],
input[type="button"],
input[type="submit"]
{
	border-radius: var(--radius);
	border: none;
	padding: 15px 13px 13px;
	background-color: var(--vermelho);
	color: var(--branco);
	text-transform: uppercase;
	text-align: center;
	width: 100%;
	display: block;
	font-family: 'Roboto', sans-serif;
	font-size: 14px;
	box-shadow: none;
	cursor: pointer;
	transition: 0.3s box-shadow, 0.3s background-color, 0.3s opacity;
}
.btn:hover,
button:hover,
input[type="reset"]:hover,
input[type="button"]:hover,
input[type="submit"]:hover {
	background-color: var(--vermelho);
	box-shadow: 0 2px var(--cinzamedio);
}
.btn:after,
button:after,
input[type="reset"]:after,
input[type="button"]:after,
input[type="submit"]:after {
	display: none;
}

.btn.btn-inline {
	display: inline-block;
	width: auto;
}
.btn.btn-tax {
	padding: 11px 45px;
	border-radius: 23px;
	display: inline-block;
	width: auto;
	margin-right: 30px;
	margin-bottom: 25px;
}
.btn.btn-tax:hover {
	background-color: var(--branco);
	color: var(--vermelho);
}
.btn.btn-link {
	padding: 0 0;
	margin: 0 0;
	font-size: inherit;
	color: var(--vermelho);
	background-color: transparent;
}
.btn.btn-link:hover {
	color: var(--vermelho);
	background-color: transparent;
	box-shadow: none;
}
.btn.btn-ghost {
	border-radius: var(--radius);
	background-color: transparent;
	box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.15);
	border: 1px solid transparent;
	color: var(--cinza);
	width: auto;
	display: inline-block;
	padding-left: 28px;
	padding-right: 28px;
	transition: 0.3s box-shadow, 0.3s border-color, 0.3s color;
}

.btn.btn-ghost:hover {
	box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.25);
	transition: 0.3s box-shadow, 0.3s border-color, 0.3s color;
}
.btn.btn-ghost:active, .btn.btn-ghost.ativo {
	box-shadow: 0 0 0 rgba(0,0,0,0);
	border: 1px solid var(--cinzaghost);
	color: var(--vermelho);
	transition: 0.1s box-shadow, 0.1s border-color, 0.1s color;
}

.btn.btn-ghost-vermais, .nav-previous a, .nav-next a {
	background: transparent;
	border-radius: var(--radius);
	border: 2px solid var(--vermelho);
	color: var(--vermelho);
	text-transform: uppercase;
	height: 52px;
	width: 320px;
	max-width: 100%;
	font-size: 16px;
	margin-top: 10px;
	text-align: center;
}
.btn.btn-ghost-vermais:hover {
	/*background: transparent;*/
	/*border-color: var(--cinza);*/
	/*color: var(--cinza);*/
}
@media (max-width: 991px) {
	.btn.btn-ghost-vermais, .nav-previous a, .nav-next a {
		border-width: 1px;
		height: 40px;
		width: 240px;
		font-size: 12px;
		padding: 12px;
		margin-left: auto;
		margin-right: auto;
	}
}


.btn.transparente {
	opacity: 0;
	pointer-events: none;
}

.ht-skip button {
	 margin-bottom: 0 !important;
}

/* IE8 and FF freak out if this rule is within another selector */
::-webkit-file-upload-button
{	
	padding:0;
	border:0;
	background:none;
}

/* Textarea
-----------------------------------------------*/

textarea 
{
	/* Move the label to the top */
	vertical-align:top;
	
	/* Turn off scroll bars in IE unless needed */
	overflow:auto;
}

/* Selects
-----------------------------------------------*/

select
{
	background-image: url(imgs/select-vermelho.svg);
	background-repeat: no-repeat;
	background-position: calc(100% - 15px) 50%;
}
select.aprovado {
	background-image: url(imgs/select-verde.svg);
}

select[multiple] 
{
	/* Move the label to the top */
	vertical-align:top;
}

fieldset {
	background-color: var(--cinzaclaro);
	border-radius: var(--radius);
	padding: 25px 26px 27px;
	border: none;
}
fieldset input[type="text"],
fieldset input[type="email"],
fieldset input[type="tel"],
fieldset input[type="search"],
fieldset input[type="number"] {
	background-color: var(--branco);
}


.ddown {
    height: 44px;
    background: var(--cinzaclaro);
    width: 100%;
    margin-bottom: 20px;
    display: block;
	box-shadow: 0 2px var(--cinzamedio);
	border-radius: var(--radius);
	text-align: left;
    color: var(--preto);
    align-items: center;
    padding-bottom: 3px;
    cursor: pointer;
    position: relative;
    font-size: 16px;
    overflow: visible;
    transform: 0.3s height, 0.3s padding-bottom;
}
.ddown.escondido {
	height: 0;
	overflow: hidden;
    padding-bottom: 0;
}
.ddown:hover {
	/*border-bottom-right-radius: 0;*/
	/*border-bottom-left-radius: 0;*/
}
.ddown.fechar {
}
.ddown-val {
	line-height: 1.1;
    display: flex;
    align-items: center;
    height: 100%;
    width: 100%;
    position: absolute;
    pointer-events: none;
    padding-left: 12px;
    padding-right: 35px;
	background-image: url(imgs/select-vermelho.svg);
	background-repeat: no-repeat;
	background-position: calc(100% - 15px) 50%;
}
.ddown:hover .ddown-val {
    color: var(--preto);
    box-shadow: 0 10px 15px rgba(0,0,0,0.1);
	/*border-bottom-right-radius: 0;*/
	/*border-bottom-left-radius: 0;*/
}
.ddown.fechar .ddown-val {
    box-shadow: none;
}
.ddown ul {
    list-style: none;
    text-align: left;
    width: 100%;
    display: block;
    padding-left: 0;
    z-index: 20;
    margin: 0 0;
    overflow: hidden;
    max-height: 250px;
    margin-top: 44px;
    margin-left: -1px;
    position: absolute;
    background-color: var(--cinzaclaro);
    border-radius: var(--radius);
    /*border-bottom-left-radius: var(--radius);*/
    /*border-bottom-right-radius: var(--radius);*/
    transition: 0.3s border;
}
.ddown:hover ul {
    overflow-y: scroll;
    overflow-x: hidden;
    box-shadow: 0 15px 15px rgba(0,0,0,0.1);
	/*border-top-right-radius: 0;*/
	/*border-top-left-radius: 0;*/
}
.ddown.fechar ul {
    overflow-y: hidden;
    overflow-x: hidden;
    box-shadow: none;
}
.ddown:hover ul::-webkit-scrollbar {
    -webkit-appearance: none;
    width: 8px;
    margin-left: -8px;
}
.ddown:hover ul::-webkit-scrollbar-track {
    background-color: rgba(255,255,255, .6);
    border-radius: var(--radius);
}
.ddown:hover ul::-webkit-scrollbar-thumb {
    border-radius: var(--radius);
    background-color: var(--cinza);
}
.ddown li {
    padding: 10px;
    height: 0;
    width: 100%;
    line-height: 1.1;
    /*white-space: nowrap;*/
    display: flex;
    justify-content: flex-start;
    align-items: center;
    text-align: left;
    background: var(--cinzaclaro);
    padding: 0 13px;
    overflow: hidden;
    opacity: 0;
    margin-left: -1px;
    color: var(--preto);
    z-index: 10;
    position: relative;
    transition: 0.2s height, 0.3s opacity;
}
.ddown li + li:before {
	content: '';
	display: block;
	background-color: var(--cinzamedio);
	width: calc( 100% - 26px );
	height: 1px;
	position: absolute;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
}
.ddown:hover li {
    height: 44px;
    opacity: 1;
}
.ddown.fechar {
}
.ddown.fechar:hover li {
    height: 0;
    opacity: 0;
}
.ddown li:hover {
    background: var(--cinza-medio);
    color: var(--preto);
}




/*
VALIDACAO
*/
.erro .ddown, .ddown.erro,
.erro textarea, textarea.erro,
.erro input, input.erro {
	box-shadow: 0 2px var(--vermelho);
}
.correto .ddown, .ddown.correto,
.correto textarea, textarea.correto,
.correto input, input.correto {
	box-shadow: 0 2px var(--verde);
}
.correto textarea, textarea.correto,
.correto input, input.correto {
	background-image: url(imgs/check.svg);
	background-repeat: no-repeat;
	background-position: calc(100% - 15px) 50%;
}
.erro input[type="radio"], input[type="radio"].erro,
.erro input[type="checkbox"], input[type="checkbox"].erro {
	border-bottom-color: var(--vermelho);
	border-left-color: var(--vermelho);
	box-shadow: none;
}
.correto input[type="radio"], input[type="radio"].correto,
.correto input[type="checkbox"], input[type="checkbox"].correto {
	border-bottom-color: var(--verde);
	border-left-color: var(--verde);
	box-shadow: none;
}

.alerta {
	font-weight: bold;
	font-size: 16px;
	border-radius: var(--radius);
	padding: 15px;
	background-color: var(--cinzaclaro);
	text-align: center;
	width: 390px;
	max-width: 90%;
	margin: auto;
	margin-bottom: 15px;
}
.alerta.largo {
	width: 425px;
}
.alerta img {
	vertical-align: middle;
	margin-bottom: 3px;
	margin-right: 10px;
}
.alerta.cempc {
	width: 100%;
	max-width: 100%;
	text-align: left;
}

.mensagem {
	pointer-events: none;
	margin-top: -18px;
	height: 0;
	margin-bottom: 18px;
	color: var(--vermelho);
	font-size: 12px;
	line-height: 1.4;
	opacity: 0;
	padding-left: 2px;
	clear: both;
	transition: 0.3s opacity;
}
.erro .mensagem, .erro + .mensagem {
	opacity: 1;
}



@media (max-width: 1300px) {
	.btn.btn-tax {
		font-size: 12px;
		padding: 8px 35px;
		margin-bottom: 15px;
	}
	.btn.btn-link {
		padding: 0 0;
		margin: 0 0;
	}
	.btn.btn-link + .btn.btn-link {
		margin-left: 22px;
	}
}
.btn.btn-small { /* btn-small entra aqui pra mudar soh abaixo de 767 */
	font-size: 12px;
	padding: 4px 20px;
	margin-right: 15px;
	white-space: nowrap;
}
@media (max-width: 767px) {
	.btn.btn-tax {
		font-size: 9px;
		padding: 1px 17px;
		border-radius: 7px;
		margin-bottom: 0px;
		margin-right: 5px;
	}
	.btn.btn-link {
		font-size: 12px;
		padding: 0 0;
		margin: 0 0;
	}
	.btn.btn-link + .btn.btn-link {
		margin-left: 22px;
	}
	.btn.btn-ghost {
		font-size: 12px;
		padding: 5px 13px;
		margin-bottom: 10px;
		margin-right: 12px;
	}
	.btn.btn-ghost + .btn.btn-ghost {
		margin-right: 12px;
	}

}

.wpcf7-form-control-wrap {
	display: block;
}
.wpcf7-not-valid-tip {
	font-size: 12px;
	display: block;
	position: absolute;
	top: 37px;
	left: 0;
	width: 100%;
}




/*
VALIDACAO
*/
.wpcf7 form .wpcf7-response-output {
	font-size: 14px;
	border-radius: var(--radius);
	padding: 7px 15px !important;
	background-color: var(--cinzinha);
	text-align: center;
	margin: auto;
	margin-bottom: 15px;
	margin-top: 0;
	clear: both;
}
.wpcf7 form.invalid .wpcf7-response-output {
	border-color: var(--atencao);
	background-color: var(--atencaobg);
}
.wpcf7 form.failed .wpcf7-response-output, 
.wpcf7 form.aborted .wpcf7-response-output {
	border-color: var(--vermelho);
	background-color: var(--errobg);
}
.wpcf7 form.sent .wpcf7-response-output {
	border-color: var(--sucesso);
	background-color: var(--sucessobg);
}
.wpcf7 .ajax-loader {
	float: right;
	top: -34px;
	margin: 0 0;
	margin-right: -9px;
	background-color: var(--vermelho);
}
.wpcf7-response-output img {
	/*vertical-align: middle;*/
	/*margin-bottom: 3px;*/
	/*margin-right: 10px;*/
}
.wpcf7-response-output {
	/*pointer-events: none;*/
	/*margin-top: -18px;*/
	/*margin-bottom: 18px;*/
	/*color: var(--vermelho);*/
	/*font-size: 12px;*/
	/*line-height: 1.4;*/
	/*padding-left: 2px;*/
	/*clear: both;*/
	/*transition: 0.2s opacity;*/
}

@media (min-width: 992px) {
	.wpcf7 form .wpcf7-response-output {
		margin-top: 20px;
		float: left;
		width: 100%;
		clear: both;
	}
	.wpcf7 .ajax-loader {
		top: 12px;
		right: -21px;
		position: absolute;
	}
	#newsletter input.wpcf7-submit {
		float: right;
	}
}

#rd-form-krydyv9w.bricks--component .bricks-form__input {
	font-weight: bold;
}

@media (max-width: 383px) {
	section#newsletter p {
		margin-bottom: 26px;
	}
	#newsletter label, #rd-form-krydyv9w .bricks-form__label[for="rd-email_field-1yEGB8mqWWHM15NV8fIGXw"] {
		margin-top: -5px;
	}
}
