#Semaphore-Template {
	display: none;
	position: fixed;
	z-index: 100000;
	right: 5%;
	bottom: 0;
	width: 355px;
	/*overflow: auto;*/
	background-color: #ffffff;
	border-radius: 5px 5px 0 0;

	-webkit-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.75);
	-moz-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.75);
	box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.75);
}

#Semaphore-Template #Semaphore-Title {
	background: #2fb68a;
	padding: 10px 25px;
	color: #ffffff;
	text-align: center;
	cursor: pointer;
	/*position: relative;*/
}

#Semaphore-Template #Semaphore-Title span {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
}

#Semaphore-Template #Semaphore-Title i {
	visibility: hidden;
	opacity: 0;
	transition: visibility 0s, opacity 0.2s linear;
	position: absolute;
	background: #9d3838;
	padding: 5px;
	font-size: 0.75rem;
	border-radius: 4px 50% 50% 50%;
	top: 0;
	left: 0;
}

#Semaphore-Template #Semaphore-Title:hover i {
	visibility: visible;
	opacity: 1;
}

#Semaphore-Template #Semaphore-Body {
	display: none;
	padding: 8px;
	height: 450px;
}

#Semaphore-Template #Semaphore-Body form {
	padding: 15px 0;
}

#Semaphore-Template #Semaphore-Body fieldset {
	position: relative;
	padding: 0;
	margin: 15px 5px;
	border: none;
	overflow: visible;
}

#Semaphore-Template #Semaphore-Body input[type="text"],
#Semaphore-Template #Semaphore-Body input[type="tel"] {
	box-sizing: border-box;
	width: 100%;
	padding: 12px 10px 8px;
	border: none;
	border-radius: 0;
	box-shadow: none;
	border-bottom: 1px solid #DDD;
	font-size: 1em;
	outline: none;
	cursor: text;
}

#Semaphore-Template #Semaphore-Body input[type="text"]::-webkit-input-placeholder,
#Semaphore-Template #Semaphore-Body input[type="tel"]::-webkit-input-placeholder {
	-webkit-transition: color 300ms ease;
	transition: color 300ms ease;
}

#Semaphore-Template #Semaphore-Body input[type="text"]:not(:focus)::-webkit-input-placeholder,
#Semaphore-Template #Semaphore-Body input[type="tel"]:not(:focus)::-webkit-input-placeholder {
	color: transparent;
}

#Semaphore-Template #Semaphore-Body hr {
	content: '';
	display: block;
	position: absolute;
	bottom: 0;
	left: 0;
	margin: 0;
	padding: 0;
	width: 100%;
	height: 2px;
	border: none;
	background: #2fb68a;
	font-size: 1px;
	will-change: transform, visibility;
	-webkit-transition: all 200ms ease-out;
	transition: all 200ms ease-out;
	-webkit-transform: scaleX(0);
	transform: scaleX(0);
	visibility: hidden;
	z-index: 10;
}

#Semaphore-Template #Semaphore-Body input[type="text"]:focus ~ hr,
#Semaphore-Template #Semaphore-Body input[type="tel"]:focus ~ hr {
	-webkit-transform: scaleX(1);
	transform: scaleX(1);
	visibility: visible;
}

#Semaphore-Template #Semaphore-Body label {
	position: absolute;
	top: 10px;
	left: 10px;
	font-size: 1rem;
	color: #333333;
	-webkit-transform-origin: 0 -150%;
	transform-origin: 0 -150%;
	-webkit-transition: -webkit-transform 300ms ease;
	transition: -webkit-transform 300ms ease;
	transition: transform 300ms ease;
	transition: transform 300ms ease, -webkit-transform 300ms ease;
	pointer-events: none;
}

#Semaphore-Template #Semaphore-Body input[type="text"]:focus ~ label,
#Semaphore-Template #Semaphore-Body input[type="text"]:valid ~ label,
#Semaphore-Template #Semaphore-Body input[type="tel"]:focus ~ label,
#Semaphore-Template #Semaphore-Body input[type="tel"]:not([value=""]) ~ label {
	-webkit-transform: scale(0.6);
	transform: scale(0.6);
	font-size: 1.2rem;
}

#Semaphore-Template #Semaphore-Body input[type="submit"] {
	position: absolute;
	background: transparent;
	border: none;
	font-size: 1em;
	font-weight: bolder;
	text-transform: uppercase;
	color: #2fb68a;
	bottom: 10px;
	right: 8px;
	padding: 8px 10px;
	cursor: pointer;
}

#Semaphore-Template #Semaphore-Body .authenticate {
	text-align: center;
}

#Semaphore-Template #Semaphore-Body .authenticate button,
#Semaphore-Template #Semaphore-Body .authed button {
	background: #FF0000;
	color: #ffffff;
	padding: 10px 15px;
	border: none;
	border-radius: 2px;
	margin: 25px auto;
	cursor: pointer;

	-webkit-box-shadow: 0px 1px 5px 0px rgba(0,0,0,0.75);
	-moz-box-shadow: 0px 1px 5px 0px rgba(0,0,0,0.75);
	box-shadow: 0px 1px 5px 0px rgba(0,0,0,0.75);
}

#Semaphore-Template #Semaphore-Body .authenticate button:hover,
#Semaphore-Template #Semaphore-Body .authed button:hover {
	-webkit-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.75);
	-moz-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.75);
	box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.75);
}

#Semaphore-Template #Semaphore-Body .authenticate button i {
	padding-right: 10px;
}

#Semaphore-Template #Semaphore-Body p {
	padding: 5px 0;
}

#Semaphore-Template #Semaphore-Body .authed {
	border-top: 1px solid rgba(0, 0, 0, 0.1);
	margin-top: 10px;
	padding-top: 10px;
}

#Semaphore-Template #Semaphore-Body .authed button { background-color: #b3382c }
