/* FORM */
form {
	margin-bottom: 1rem;
	padding: 1rem;
	
	border: 1px solid #606060;
}

form label {
	margin-bottom: 1rem;

	font-size: 4rem;
	line-height: 5rem;
	font-weight: 300;
	color: #c0c0c0;
}

form label.required{
	position: relative;
}

form label.required::after{
	color: #ff4040;
	font-weight: 400;
	position: absolute;
	right: -20px;
	top: -10px;
	content: '*';
}

form p.required {
	font-weight: 400;
	color: #ff4040;
}

form input {
	display: block;
	
	width: 100%;
	
	margin-bottom: 1rem;
	padding: 0.5rem;
	
	font-size: 3rem;
	line-height: 4rem;
	color: #ffffff;
	text-align:left;
	font-weight: normal;
	
	background-color: #404040;
	border: 1px solid  #808080;
}

form select {
	display: block;
	
	width: 100%;
	
	margin-bottom: 1rem;
	padding: 0.5rem;
	
	font-size: 3rem;
	line-height: 4rem;
	color: #ffffff;
	text-align:left;
	font-weight: normal;
	
	background-color: #404040;
	border: 1px solid  #808080;
}

form .fa {
	color: #ffffff;
	text-align: center;
}

form .upload {
	margin-top: 1rem;
	margin-bottom: 1rem;
	
	padding-top: 1rem;
	
	border-top: 1px solid #808080;
}

form .thumbnail {
	margin-bottom: 1rem;
}

form .rotate {
	position: relative;
	
	display: block;
	
	height: 100%;
	
	font-size: 25vw !important;
	line-height: 25vw !important;
	color: #000000;
}

form .error {
	margin-bottom: 1rem;
	color: #ff4040;
}

.success {
	color: #80ffa0;
	font-weight: 300;
}

/* FORM CUSTOM CHECKBOX */
form input[type="checkbox"] {
	display: none;
}
form input[type="checkbox"]:checked + label span.checked {
	color: #80a0ff;
	display: inline-block;
}
form input[type="checkbox"]:checked + label span.unchecked {
	display: none;
}
form input[type="checkbox"] + label span.checked {
	color: #80a0ff;
	display: none;
}
form input[type="checkbox"] + label span.unchecked {
	display: inline-block;
}

/* FROM ELLIPSIS */
form .ellipsis {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis
}
form .ellipsis p {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis
}

/* FROM BUTTON */
form label.button {
	display: block;
	
	padding: 1rem;
	
	background-color: #606060;
	border: 1px solid #c0c0c0;
	
	text-align: center;
}
form label.button:hover {
	background-color: #808080;
	border: 1px solid #ffffff;
}

form label.button span.fa {
	display: inline;

	font-size: 3.5rem;
	line-height: 4.5rem;
	color: #c0c0c0;
}
form label.button:hover span.fa {
	color: #ffffff;
}

form label.button span.text {
	display: inline;
	
	font-size: 3.5rem;
	line-height: 4.5rem;
	font-family: "Roboto", sans-serif;
	font-weight: 400;
	color: #c0c0c0;
}
form label.button:hover span.text {
	color: #ffffff;
}

@media (max-width: 1007px) and (min-width: 600px) { 
	form {
		padding: 0.75rem;
	}
	
	form input {
		font-size: 2.5rem;
		line-height: 3.5rem;
	}
	
	form select {
		font-size: 2.5rem;
		line-height: 3.5rem;
	}
	
	form label {
		font-size: 3rem;
		line-height: 4rem;
	}
	
	form label.button span.fa,		
	form label.button span.text {
		font-size: 3rem;
		line-height: 4rem;
	}

	form .error {
		font-size: 2.5rem;
		line-height: 3.5rem;
	}
}

@media (max-width: 599px) and (min-width: 481px) { 
	form {
		padding: 0.5rem;
	}

	form input {
		font-size: 2rem;
		line-height: 3rem;
	}
	
	form select {
		font-size: 2rem;
		line-height: 3rem;
	}

	form label {
		font-size: 2.5rem;
		line-height: 3.5rem;
	}

	form label.button span.fa,		
	form label.button span.text {
		font-size: 2.5rem;
		line-height: 3.5rem;
	}

	form .error {
		font-size: 2rem;
		line-height: 3rem;
	}
}

@media (max-width: 481px) {
	form {
		padding: 0.5rem;
	}

	form input {
		font-size: 2rem;
		line-height: 3rem;
	}
	
	form select {
		font-size: 2rem;
		line-height: 3rem;
	}

	form label {
		font-size: 2rem;
		line-height: 3rem;
	}

	form label.button span.fa,		
	form label.button span.text {
		font-size: 2rem;
		line-height: 3rem;
	}

	form .error {
		font-size: 1.5rem;
		line-height: 2rem;
	}
}
