/*
*
*
Estrutura HTML que o modal deve conter, o que defini o tamanho dos modais são as classes modal-small, modal-medium, modal-big; conforme ex: abaixo; 
<div id="modal-cnpj" class="modal-padrao modal-small">
	<div class="container-modal">
		<a href="#" class="fechar">x</a>
		<h1>Titulo do modal</h1>
		<div class="conteudo"></div>
	</div>
	<div class="mascara"></div>
</div>
*
*
*
*/
/*Estilizando modais*******************************/
.modal-padrao {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 999999999;
	/*z-index: 99999;*/
	width: 100%;
	height: 100%;
	display: none;
}

.mascara {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: #000;
	opacity: 0.85;
	z-index: 1;
}

.mascara-disabled {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: #000;
	opacity: 0.7;
}

.fechar {
	font-size: 24px;
	color: #000;
	font-weight: bold;
	position: absolute;
	top: -7px;
	right: 0px;
	width: 35px;
	height: 35px;
	border-radius: 20px;
	text-align: center;
	/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#ffffff+0,e5e5e5+100;White+3D */
	background: #ffffff; /* Old browsers */
	background: -moz-linear-gradient(top, #ffffff 0%, #e5e5e5 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(top, #ffffff 0%,#e5e5e5 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to bottom, #ffffff 0%,#e5e5e5 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#e5e5e5',GradientType=0 ); /* IE6-9 */
	box-shadow: 0px 0px 10px #333;
	z-index: 30;
}

	.modal-padrao .fechar:hover, .fechar:visited, .fechar:active {
		text-decoration: none;
	}

.modal-padrao .conteudo {
	margin-top: 40px;
}

@media(min-width: 0) {
	.modal-padrao h1 {
		margin: 0;
		font-size: 1.7rem;
		font-weight: bold;
		color: #444;
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		border-top: 1px solid #eee;
		border-bottom: 1px solid #eee;
		padding: 8px 10px;
		margin-bottom: 10px;
		/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#ffffff+0,e5e5e5+100;White+3D */
		background: #ffffff; /* Old browsers */
		background: -moz-linear-gradient(top, #ffffff 0%, #e5e5e5 100%); /* FF3.6-15 */
		background: -webkit-linear-gradient(top, #ffffff 0%,#e5e5e5 100%); /* Chrome10-25,Safari5.1-6 */
		background: linear-gradient(to bottom, #ffffff 0%,#e5e5e5 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
		filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#e5e5e5',GradientType=0 ); /* IE6-9 */
		z-index: 20;
		border-top-right-radius: 4px;
		border-top-left-radius: 4px;
	}
}

@media(min-width: 1024px) {
	.modal-padrao h1 {
		border-top-right-radius: 10px;
		border-top-left-radius: 10px;
	}
}
/*Posicionamento dos modais*****************/
@media(min-width: 0) {
	.modal-padrao .container-modal {
		position: absolute;
		top: 8px;
		left: 3px;
		width: 98%;
		background: #fff;
		z-index: 20;
		padding: 20px;
		border-radius: 4px;
		box-shadow: 0px 0px 20px #333;
	}
}

@media(min-width: 1024px) {
	.modal-padrao .container-modal {
		border-radius: 10px;
	}
}
/*modais pequeno*/
@media(min-width: 1024px) {
	.modal-small .container-modal {
		width: 600px;
		top: 10%;
		left: 50%;
		margin-left: -300px;
	}
}
/*Modais médio*/
@media(min-width: 1024px) {
	.modal-medium .container-modal {
		width: 800px;
		top: 10%;
		left: 50%;
		margin-left: -400px;
	}
}

@media(min-width: 1200px) {
	.modal-medium .container-modal {
		width: 900px;
		top: 10%;
		left: 50%;
		margin-left: -450px;
	}
}
/*Modais grande*/
@media(min-width: 1024px) {
	.modal-big .container-modal {
		/* top: 10%; */
		top: 15px;
		left: 50%;
		width: 80%;
		margin-left: -40%;
	}
}

/*Alerts*************************/
.alert-msg {
	position: fixed;
	width: 40%;
	margin-left: -25%;
	top: 0px;
	left: 50%;
	width: 50%;
	z-index: 99999;
	display: none;
}

	.alert-msg .cont-alert {
		width: 100%;
		border-bottom-right-radius: 5px;
		border-bottom-left-radius: 5px;
		min-height: 100px;
		background: #fff;
		box-shadow: 0px 0px 40px #333;
		border-bottom: 1px solid #ccc;
		border-top: 0;
	}

	.alert-msg .fechar {
		position: absolute;
		top: 3px;
		right: 5px;
		font-weight: bold;
		font-size: 24px;
		text-decoration: none;
		color: #000;
		/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#ffffff+0,e5e5e5+100;White+3D */
		background: #ffffff; /* Old browsers */
		background: -moz-linear-gradient(top, #ffffff 0%, #e5e5e5 100%); /* FF3.6-15 */
		background: -webkit-linear-gradient(top, #ffffff 0%,#e5e5e5 100%); /* Chrome10-25,Safari5.1-6 */
		background: linear-gradient(to bottom, #ffffff 0%,#e5e5e5 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
		filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#e5e5e5',GradientType=0 ); /* IE6-9 */
		width: 35px;
		border-radius: 20px;
		border: 1px solid #ccc;
		text-align: center;
	}

	.alert-msg p {
		display: table;
		color: #000;
		padding: 30px;
	}
/*Pergunta**************************/
.pergunta {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: none;
}

@media(min-width: 0) {
	.pergunta .cont-pergunta {
		position: fixed;
		width: 90%;
		margin-left: -45%;
		top: 0px;
		left: 50%;
		z-index: 99999;
		display: block;
		background: #fff;
		box-shadow: 0px 0px 40px #333;
		border-bottom: 1px solid #ccc;
		border-bottom-right-radius: 5px;
		border-bottom-left-radius: 5px;
		min-height: 100px;
		background: #fff;
		border-top: 0;
	}
}

@media(min-width: 768px) {
	.pergunta .cont-pergunta {
		width: 60%;
		margin-left: -30%;
	}
}

@media(min-width: 990px) {
	.pergunta .cont-pergunta {
		width: 40%;
		margin-left: -20%;
	}
}

.pergunta .fechar {
	position: absolute;
	top: 3px;
	right: 5px;
	font-weight: bold;
	font-size: 24px;
	text-decoration: none;
	color: #000;
	/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#ffffff+0,e5e5e5+100;White+3D */
	background: #ffffff; /* Old browsers */
	background: -moz-linear-gradient(top, #ffffff 0%, #e5e5e5 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(top, #ffffff 0%,#e5e5e5 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to bottom, #ffffff 0%,#e5e5e5 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#e5e5e5',GradientType=0 ); /* IE6-9 */
	width: 35px;
	border-radius: 20px;
	border: 1px solid #ccc;
	text-align: center;
}

.pergunta p {
	display: table;
	color: #000;
	padding: 50px 30px 0px 30px;
	font-size: 18px;
}

.pergunta ul {
	width: 250px;
	margin: auto;
	padding: 0px 0 20px 0;
}

	.pergunta ul li {
		display: inline-table;
		margin: 10px;
		text-align: center;
	}

	.pergunta ul a {
		padding: 10px 30px;
		font-size: 18px;
		display: table;
		color: #fff;
	}

.pergunta a.sim {
	background: #00731B;
}

.pergunta a.nao {
	background: #C80000;
}
/*Carregando************************/
.carregando {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: none;
	text-align: center;
	color: #fff;
	z-index: 999999999;
}
/*.cont-distribuidora .carregando{
	display: block!important;
}*/
@media(min-width: 0) {
	.carregando .conteudo {
		position: absolute;
		top: 20%;
		left: 50%;
		margin-left: -40%;
		width: 80%;
		height: auto;
		display: table;
		z-index: 200;
	}
}

@media(min-width: 768px) {
	.carregando .conteudo {
		width: 50%;
		margin-left: -25%;
	}
}

.carregando p {
	color: #D7D7D7;
}

.carregando h2 {
	display: table;
	padding-top: 70px;
	width: 100%;
	margin: 0;
	background: url('../img/carregando.gif') top center no-repeat;
	background-size: 64px;
	color: #D7D7D7;
}
/***********************/
.modal-promocao .container {
	width: 50%;
	height: 500px;
	position: fixed;
	top: 10%;
	left: 50%;
	margin-left: -25%;
	z-index: 100;
}

.modal-promocao .mascara {
	background: url('../img/banners/fdo_promo_ache.png');
	background-size: 100%;
	opacity: 1;
}

.modal-promocao .produto {
	position: relative;
}

.modal-promocao .texto {
	position: absolute;
	top: 0px;
	right: 0px;
	color: #fff;
	padding: 20px;
	text-align: center;
}

.modal-promocao .produto a {
	border: 2px solid yellow;
	display: block;
	width: 100%;
	height: 100%;
}
/*********************/
.modal-padrao h3 {
	background: #003775;
	color: #fff;
	font-size: 14px;
	text-align: center;
	padding: 10px 0px;
	font-weight: bold;
	width: 100%;
	margin: 10px 0;
}
/*carregaLoja************************/
.carregaLoja {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	text-align: center;
	color: #fff;
	z-index: 9999999;
}

@media(min-width: 0) {
	.carregaLoja .conteudo {
		position: absolute;
		top: 20%;
		left: 50%;
		margin-left: -40%;
		width: 80%;
		height: auto;
		display: table;
		z-index: 200;
	}
}

@media(min-width: 768px) {
	.carregaLoja .conteudo {
		width: 50%;
		margin-left: -25%;
	}
}

.carregaLoja p {
	color: #D7D7D7;
}

.carregaLoja h2 {
	display: table;
	padding-top: 70px;
	width: 100%;
	margin: 0;
	background: url('../img/carregando.gif') top center no-repeat;
	background-size: 64px;
	color: #D7D7D7;
}
/****************************/
.modal-video {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1000;
	display: none;
}

	.modal-video .video {
		width: 560px;
		height: 315px;
		position: absolute;
		top: 50%;
		left: 50%;
		margin-left: -280px;
		margin-top: -157px;
		position: absolute;
		z-index: 10001;
		box-shadow: 0px 0px 10px #000;
		background: #000;
	}

	.modal-video .btn-fechar {
		position: absolute;
		top: -15px;
		right: -5px;
		color: #fff;
		font-size: 18px;
		background: #000;
		width: 30px; /**/
		padding: 2px;
		border-radius: 40px;
		text-align: center;
	}

	.modal-video .video iframe {
		width: 100%;
	}

@media(min-width: 0) {
	/*	#modal-video-tutorial{
		display: block
	}*/
	#modal-video-tutorial iframe {
		width: 100%;
	}

	#modal-video-tutorial .fechar {
		top: -15px;
		right: -10px;
		background: #f61c0d;
		color: #fff;
	}

	#modal-video-tutorial .container-modal {
		padding: 0;
		border: 0;
	}

	#modal-video-tutorial .conteudo {
		margin: 0;
	}
}

@media(min-width: 768px) {
	#modal-video-tutorial iframe {
		width: 560px;
		height: 315px;
		margin: 23px
	}
}

@media(min-width: 0) {
	.btn-video-tutorial {
		position: relative;
		display: table;
		padding: 10px 10px 10px 40px;
		margin: 0 0 10px 0;
		color: #000;
		font-weight: bold;
		text-transform: uppercase;
		font-size: 16px;
		margin-left: 10px;
		line-height: 18px;
	}

		.btn-video-tutorial::after {
			content: '';
			width: 40px;
			height: 40px;
			position: absolute;
			top: 8px;
			left: 0;
			display: table;
			background: url('../img/icones/youtube.svg') no-repeat;
			background-size: 35px;
		}
}

@media(min-width: 768px) {
	.btn-video-tutorial {
		font-size: 18px;
	}

		.btn-video-tutorial::after {
			top: 2px;
		}
}

.btn-video-tutorial:hover {
	color: #000;
}
/****************************************/



#modal-apr-videos .container-modal {
	font-size: 16px;
}


@media(min-width: 0) {
	#modal-apr-videos .conteudo {
		margin: 0;
		text-align: justify;
		padding: 10px 10px 90px 10px;
		overflow: auto;
		height: 100vh;
	}
	#modal-apr-videos .btn-prosseguir {
		width: 300px;
		margin: auto;
		padding: 10px 20px 10px 20px;
		color: #fff;
		font-weight: bold;
		background: #0F059E;
		position: fixed;
		bottom: 10px;
		left: 50%;
		border-radius: 10px;
		font-size: 24px;
		text-align: center;
		margin-left: -150px;
	}

	#modal-apr-videos .btn-prosseguir:hover {
		text-decoration: none;
		background: #B9000B
	}
	#modal-apr-videos h2 {
		font-weight: bold;
		margin: 10px 0 0 0;
		border-top: 1px solid #eee;
		padding: 15px 0 0 0;
		text-align: center
	}
	.texto-apr {
		width: 90%;
		margin: 30px auto;
		text-align: center;
		font-size: 14px;
	}

}
@media(min-width: 768px) {
	#modal-apr-videos {
		position: absolute;
	}
	.texto-apr {
		width: 700px;
	}

	#modal-apr-videos .btn-prosseguir{
		position: absolute;
	}
	#modal-apr-videos .conteudo {
		height: auto;
	}
	#modal-apr-videos h2 {
		text-align: left;
	}
}



#modal-apr-videos .logo-modal {
	width: 100%;
	margin: auto;
	padding: 5px 10px 4px 10px;
	background: #0F059E;
	display: table;
	border-radius: 10px;
}

#modal-apr-videos .logo-modal img {
	width: 150px;
	margin: auto;
	display: table;
}

#modal-apr-videos p {
	margin: 20px 0
}
