/* 

	@Author: Fernando N. S. Costa
	Universidade de Taubaté - 2018
	https://www.linkedin.com/in/fernandonsc5/
	base-color: #004c70 -> #4ca5ce

*/

/*
	Adding new usable fonts
*/
@font-face {
  font-family: Poppins-Regular;
  src: url('../fonts/poppins/Poppins-Regular.ttf'); 
}

@font-face {
  font-family: Poppins-Medium;
  src: url('../fonts/poppins/Poppins-Medium.ttf'); 
}

@font-face {
  font-family: Poppins-Bold;
  src: url('../fonts/poppins/Poppins-Bold.ttf'); 
}

/*
	Redimention default tags
*/
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body, html {
	height: 100%;
	font-family: Poppins-Regular, sans-serif;
}

a {
	font-family: Poppins-Regular;
	font-size: 14px;
	line-height: 1.7;
	color: #666666;
	margin: 0px;
	transition: all 0.4s;
	-webkit-transition: all 0.4s;
 	-o-transition: all 0.4s;
	-moz-transition: all 0.4s;
}

a:focus {
	outline: none !important;
}

a:hover {
	text-decoration: none;
	color: #4ca5ce;
}

h1,h2,h3,h4,h5,h6 {
	margin: 0px;
}

p {
	font-family: Poppins-Regular;
	font-size: 14px;
	line-height: 1.7;
	color: #dbdbdb;
	margin: 0px;
}

ul, li {
	margin: 0px;
	list-style-type: none;
}

input {
	outline: none;
	border: none;
}

input:focus {
	border-color: transparent !important;
}

input::-webkit-input-placeholder { color: rgba(255,255,255,0.8);}
input:-moz-placeholder { color: rgba(255,255,255,0.8);}
input::-moz-placeholder { color: rgba(255,255,255,0.8);}
input:-ms-input-placeholder { color: rgba(255,255,255,0.8);}

button {
	outline: none !important;
	border: none;
	background: transparent;
}

button:hover {
	cursor: pointer;
}

iframe {
	border: none !important;
}

/* Core CSS */
.background {
	width: 100%;  
 	background-repeat: no-repeat;
  	background-position: center center;
  	background-size: cover;
}

.container {
	width: 100%;  
	min-height: 100vh;
	display: -webkit-box;
	display: -webkit-flex;
	display: -moz-box;
	display: -ms-flexbox;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	padding: 15px;
	background: rgba(255,255,255,0.8);
}

.wrap {
	width: 98%;
	height: 80% !important;
  	background: #48843d;
	  	background: -webkit-linear-gradient(45deg, #48843d, #50822a);
	  	background: -o-linear-gradient(45deg, #48843d, #50822a);
	  	background: -moz-linear-gradient(45deg, #48843d, #50822a);
	  	background: linear-gradient(45deg, #48843d, #50822a);
  	border-radius: 10px;
  	overflow: hidden;
  	padding: 72px 55px 65px 55px;
}

.certificate-form {
  	width: 100%;	
}

.form-title {
	display: block;
  	font-family: Poppins-Bold;
  	font-size: 39px;
  	color: #fff;
  	line-height: 1.2;
  	text-align: center;
  	text-transform: uppercase;
  	padding-bottom: 20px;
}

.wrap-input {
	width: 100%;
  	position: relative;
  	border-bottom: 2px solid rgba(255,255,255,0.24);
  	margin-bottom: 5px;
}

.input {
	display: block;
  	width: 100%;
  	background: transparent;
  	font-family: Poppins-Regular;
  	font-size: 15px;
  	color: #fff;
  	line-height: 1.2;
  	padding: 0 5px;
}

.focus-input {
	position: absolute;
  	display: block;
  	width: 100%;
  	height: 100%;
  	top: 0;
  	left: 0;
  	pointer-events: none;
}

.focus-input::before {
	content: "";
  	display: block;
  	position: absolute;
  	bottom: -2px;
  	left: 0;
  	width: 0;
  	height: 2px;

  	-webkit-transition: all 0.4s;
  	-o-transition: all 0.4s;
  	-moz-transition: all 0.4s;
  	transition: all 0.4s;

  	background: #fff;
}

input.input {
	height: 45px;
}

.input:focus + .focus-input::before {
	width: 100%;
}

.container-form-btn {
	padding-top: 23px;
}

.form-btn {
	font-family: Poppins-Medium;
  	font-size: 16px;
  	color: #555555;
  	line-height: 1.2;
  	text-transform: uppercase;

  	display: -webkit-box;
  	display: -webkit-flex;
  	display: -moz-box;
  	display: -ms-flexbox;
  	display: flex;
  	justify-content: center;
  	align-items: center;
  	padding: 0 15px;
  	min-width: 120px;
  	height: 50px;
  	border-radius: 2px;
  	position: relative;
  	z-index: 1;
  	background: #004c70;

}

.form-btn::before {
	content: "";
  	display: block;
  	position: absolute;
  	z-index: -1;
  	border-radius: 2px;
  	width: 100%;
  	height: 100%;
  	top: 0;
  	left: 0;
  	background: #fff;
  	opacity: 1;
  	-webkit-transition: all 0.4s;
  	-o-transition: all 0.4s;
  	-moz-transition: all 0.4s;
  	transition: all 0.4s;
}

.form-btn:hover {
	color: #fff;
}

.form-btn:hover:before {
	opacity: 0;
}

/* Footer data */
.footer {
	position: absolute;
	bottom: 0px;
	padding: 100px;
	color: grey;
	text-align: center;
}

/* PC VERSION SCRIPT SCRIPT */
@media screen and (min-width: 736px) {
	.wrap {
		width: 500px;
	    background: #48843d;
	  	background: -webkit-linear-gradient(45deg, #48843d, #50822a);
	  	background: -o-linear-gradient(45deg, #48843d, #50822a);
	  	background: -moz-linear-gradient(45deg, #48843d, #50822a);
	  	background: linear-gradient(45deg, #48843d, #50822a);
	  	border-radius: 10px;
	  	overflow: hidden;
	  	padding: 72px 55px 65px 55px
	}

}

.validate-form {
	position: relative;
}

