/*
Theme Name: Formulário Retiro do Clero 
Theme URI: 
Author: Arquidiocese BH
Author URI: https://arquidiocesebh.org.br
Description: Formulário de inscrição para o Retiro do Clero.
Version: 1.0

*/

/* CSS Document */

:root {
	touch-action: pan-x pan-y;
	height: 100%;
}

html, body{
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	background: #ffffff;
	display: block;
	width: 100vw;
	overflow-x: hidden;
}

.topo {
	width: 100%;
	height: auto;
	margin-bottom: 60px;
	background: url("../img/velas-topo-retiro-do-clero-desk.jpg") no-repeat #000 center;
	background-position: right;
    background-size: contain;
	padding: 30px 1;
}

.container{
	width: 1200px;
	height: auto;
	margin: 0 auto;
	max-width: 90%;
}

.botoes{
	display: block;
	font-size: 0;
}

.btn{
	height: 232px;
	display: inline-block;
	width: calc(33.33% - 20px);
	margin-right: 12px;
	margin-bottom: 12px;
}
.btn-rensa-renser {
	width: calc(66.66% - 29px);
    margin-right: 12px!important;
	background: linear-gradient(90deg, #fbe2b3, #efecff)
}

.btn:nth-child(3n + 1) {
	margin-right: 0;
}

.btn-rensa{
	grid-item: 2;
	background:  rgba(255,229,176,1);
}

.btn-rensc{
	grid-item: 2;
	background: #c3eeff;
}

.btn-rense{
	grid-item: 3;
	background: #e7ffc4;
}

.btn-renser{
	grid-item: 4;
	background: #dcd5ff;
}

.btn-rensp{
	grid-item: 5;
	background: #ffccd0;
	text-align: center;
}
.btn-rensp img {
	max-width: 100%;
	max-height: 100%;
}
.btn {
	text-align: center;
	position: relative;
}
.btn img {
	max-width: 80%;
	max-height: 80%;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}


.title{
	font-size: 1.3em;
	width: 100%;
	color: #681726;
	font-family: 'Montsserat', 'Helvetica', 'Arial', sans-serif;
	text-transform: uppercase;
	font-weight: 300;
	text-align: center;
	margin: 30px auto 40px auto;
}


/* BOTAO VOLTAR */
.voltar{
	display: none;
	margin-top: 15px
}

a.btn-voltar {
	width: 105px;
	height : 30px;
 	display : flex;
 	align-items : center;
 	justify-content : center;
	text-decoration: none;
	background: #dcdcdc;
    padding: 0.75em 1em 0.75em 3em;
	color: #fff;
	position: relative;
}

a.btn-voltar i {
	background: #000;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 54px;
}
a.btn-voltar i:before {
	position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
}

a.btn-voltar img{
	width: 30px;
}

.text-btn-voltar{
	font-family: Tahoma,Arial,sans-serif;
	font-size: 0.9em;
	color: #434343;
	text-transform: uppercase;
	font-weight: bold;
}


a.btn-voltar:hover, .text-btn-voltar:hover{
	font-size: 1em;
	color: #ebae37;
}

/* FORMULÁRIOS - TOPO */

#forms .form{
	display: none;
}

.form, p{
	margin: 30px 0;
	width: 100%;
	height: auto;
	font-family: Segoe UI,Segoe WP,Tahoma,Arial,sans-serif;
}

.cabeca-form{
	width: 100%;
	display: block;
	padding: 35px;
	margin-bottom: 60px;
	box-sizing: border-box;
}

.form h2{
	width: 70%;
	padding: 40px 0 7px 20px;
	color: #4c5c69!important;
    font-family: Segoe UI,Segoe WP,Tahoma,Arial,sans-serif;
    font-size: 36px;
	font-weight: normal;
    margin: 0
}
.logoetitulo h2 {
	padding: 0;
	color: #4c5c69;
	margin-bottom: 15px;
	margin-top: 15px;
	text-align: center;
	width: 100%;
}
.logo-form {
	display: block;
    margin: auto;
}

/* - CORES TOPOS FORMULÁRIOS - */

.text-cabeca-form {
	color: #4c5c69!important;
}

.cabeca-form-rensa{
	background: rgb(232,229,247);
	background: linear-gradient(90deg, #fbe2b3, #d4ccff)
}

.cabeca-form-rensc{
	background: #a3cbee;
}

.cabeca-form-rense{
	background: #acc682;
}

.cabeca-form-renser .text-cabeca-form {
	color: #8e81c9 !important;
}

.cabeca-form-renser{
	background: #d2ceeb;
}

.cabeca-form-rensp{
	background: #eead9c;
}

.logo-form{
	
    max-height: 160px;
	
}

.text-cabeca-form{
	font-family: Segoe UI,Segoe WP,Tahoma,Arial,sans-serif;
	font-size: 1.1em;
	color: #ffffff;
	width: 90%;
	padding: 0;
	margin: 0;

}

.title-cabeca-form{
	font-family: Constantia, "Lucida Bright", "DejaVu Serif", Georgia, "serif";
	font-size: 2.6em;
}




/* FORMULÁRIOS */

.box{
	padding: 35px;
	width: 100%;
	color: #303030;
	box-sizing: border-box;
}

.inputBox{
	position: relative;
}

.inputUser{
	background: none;
	border: none;
	border-bottom: 1px solid #CFCFCF;
	outline: none;
	color: #303030;
	font-size: 15px;
	width: 100%;
	letter-spacing: 2px;
}

.labelInput{
	position: absolute;
	top: 0px;
	left: 0px;
	pointer-events: none;
	transition: .5s;
}

.inputUser:focus ~ .labelInput, .inputUser:valid ~ .labelInput{
	top: -20px;
	font-size: 12px;
	color: #484848;
}

#submit{
	background-image: linear-gradient(to right, rgb(27, 154, 0), rgb(30, 150, 30));
	width: 100%;
	border: none;
	padding: 15px;
	font-weight: bold;
	color: white;
	font-size: 18px;
	cursor: pointer;
	border-radius: 10px;
}

#submit:hover{
	background-image: linear-gradient(to right, rgb(32, 184, 0), rgb(38, 188, 38));
}

input[type="radio"] {
	zoom: 1.5;
    display: inline-block;
    vertical-align: middle;
}
label {
	vertical-align: middle;
}
#loginform {
	max-width: 300px;
    display: block;
    margin: auto;
}
#loginform p {
	font-size: 18px;
    font-weight: normal;
}
#loginform input[type="text"], #loginform input[type="password"], #loginform input[type="submit"] {
	width: 100%;
	padding: 10px 15px;
	font-size: 18px;
}



/* SMARTPHONES (600PX PARA BAIXO) */
@media only screen and (max-width: 768px) {
	.container{
		width: 480px;
		max-width: 90%;
	}
	
	.botoes{
	display: block;
	width: 95%;
    margin: auto;
}
	
.title{
	font-size: 1.1em;
}
	
.btn{
	max-width: 100%;
	height: 110px;
}
	
.btn a img{
	display: none;
}


.btn-rensa{
	grid-item: 1;
	background: rgb(232,229,247);
	background: linear-gradient(90deg, rgba(232,229,247,1) 0%, rgba(255,229,176,1) 100%);
}


.btn-rensc{
	grid-item: 2;
}

.btn-rense{
	grid-item: 3;
}

.btn-renser {
	grid-item: 4;
	background-size: 260px !important;
}

.btn-rensp{
	grid-item: 5;
	background-size: 260px !important;
}





/* BOTAO VOLTAR */


.text-btn-voltar{
	font-family: Tahoma,Arial,sans-serif;
	font-size: 0.9em;
	color: #434343;
	text-transform: uppercase;
	font-weight: bold;
}

a.btn-voltar:hover, .text-btn-voltar:hover{
	font-size: 1em;
	color: #ebae37;
}

/* FORMULÁRIOS - TOPO */


#forms .form{
	display: none;
}

	
#forms, form{
	width: 100%;
}
	
.form{
	margin: 30px 0;
	width: 100%;
	height: auto;
	font-family: Segoe UI,Segoe WP,Tahoma,Arial,sans-serif;
}

.logoetitulo{
	display: block;
	margin: 0 auto;
	width: 100%;
}

.cabeca-form{
	width: 100%;
	display: block;
	padding: 20px;
	margin-bottom: 60px;
	box-sizing: border-box;
}

.form h2{
	width: 100%;
	padding: 0;
	color: #fff;
    font-family: Segoe UI,Segoe WP,Tahoma,Arial,sans-serif;
    font-size: 26px;
	font-weight: normal;
	text-align: center;
	margin-bottom: 20px;
	margin-top: 0;
	margin: 0;
    
}



.text-cabeca-form{
	font-family: Segoe UI,Segoe WP,Tahoma,Arial,sans-serif;
	font-size: 1em;
	color: #ffffff;
	width: 100%;
	padding: 0;
	padding-bottom: 10px;
	text-align: center;
	margin: 0;

}


/* - CORES TOPOS FORMULÁRIOS - */
.logo-form{
    max-height: 132px;
}

.cabeca-form-rensa{
	padding-top: 100px;
}

.cabeca-form-rensc{
	background-size: 50%;
	padding-top: 100px;
}

.cabeca-form-rense{
	background-size: 50%;
	padding-top: 100px;
}

.cabeca-form-renser{
	background-size: 50%;
	padding-top: 100px;
}

.cabeca-form-rensp{
	background-size: 50%;
	padding-top: 100px;
}

.cabeca-form {
	padding-top: 20px;
}
.logoetitulo img {
	max-width: 100%;
	height: auto;
	display: block;
	margin: auto;
	margin-bottom: 15px;
}



.title-cabeca-form{
	font-family: Constantia, "Lucida Bright", "DejaVu Serif", Georgia, "serif";
	font-size: 2.6em;
	
}

.box{
	box-sizing: border-box;	
	}


} /* FINAL (laptops/desktops, 992px para cima) */




/* DISPOSITIVOS LARGOS (laptops/desktops, 992px para cima) */


@media only screen and (min-width: 769px) and (max-width: 992px) {
	.container{
		width: 700px;
		max-width: 90%;
	}
	
	div.btn {
	max-width: 225px;
	max-height: 140px;
	}
	
	div.btn a img{
	max-width: 225px;
	max-height: 140px;
	}
	
	.botoes{
	grid-column-gap: 10px;
	grid-row-gap: 10px;
	}
	
	
	.form h2 {
    padding: 20px 0 15px 20px;
    font-size: 32px;
	}
	
	.logo-form{
	max-height: 120px;
	}
	
	.text-cabeca-form{
	font-size: 1em;
    width: 100%;
    padding: 10px;
	}
	
}



@media only screen and (min-width: 993px) and (max-width: 1250px) {
	.container{
		width: 900px;
		max-width: 90%;
	}
	
	div.btn {
	max-width: 300px;
	max-height: 186px;
	}
	
	div.btn a img{
	max-width: 300px;
	max-height: 186px;
	}
	
	.botoes{
	grid-column-gap: 15px;
	grid-row-gap: 15px;
	}
	
	
	
	
	.form h2 {
    padding: 20px 0 5px 20px;
    font-size: 38px;
	}
	
	.logo-form{
	max-height: 138px;
	}
	
	.text-cabeca-form{
	font-size: 1em;
    width: 100%;
    padding: 10px;
	margin: 0;
	}
		
	
}

.sucesso-incscricao {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	width: 100vw;
	height: 100vh;
	background-color: rgba(0, 0, 0, 0.6);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
}
.sucesso-incscricao.ok {
	display: block;
}
.sucesso-modal {
	background: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    padding: 30px;
    transform: translate(-50%, -50%);
    font-size: 2em;
    box-shadow: 0 0 20px 0 #00000070;
    border-radius: 10px;
    max-width: 80%;
    width: 500px;
    text-align: center;
}
@media screen and (max-width: 800px) {
	.topo {
		background-size: cover;
	}
	.topo img {
		height: 50px
	}
}
/* Dispositivos um pouco maiores, mas ainda pequenos (Pequenos Tablets e Smartphones + largos, 600px para cima) 
@media only screen and (min-width: 600px) {...} */

/*Dispostivos Médios (Tablets deitados, 768px para cima) 
@media only screen and (min-width: 768px) {...} */

/*
/ Dispostivos Largos (laptops/desktops, 992px para cima) /
@media only screen and (min-width: 992px) {...}
*/
/*
/ Super Largos (Telas maiores laptops, desktops e até TVs, 1200px para cima) 
@media only screen and (min-width: 1200px) {...}
*/

.form-rensa.form h2 {
	color: #f8a000;
}

@media screen and (max-width: 900px) {
	div.btn {
		width: 100%!important;
		height: 135px;
	}
	.btn a img {
		display: block;
	}
	.container {
		width: 100%!important;
	}
}

@media screen and (max-width: 800px) {
	.form h2 {
		font-size: 22px;
	}
	.text-cabeca-form {
		text-align: left;
		margin-top: 15px;
	}
	.cabeca-form {
		margin-bottom: 20px;
	}
	.voltar {
		margin-top: 0;
	}
	body > img {
		width: 200%;
		position: relative;
		left: -50%;
	}
	.botoes {
		grid-row-gap: 5px;
	}
	.title {
		text-align: center;
	}
}