*, :before, :after {
  margin: 0;
  transition: 0.4s;
}
#cx {
	height: auto;
	width: 90%;
	padding-top: 2.5rem;
	background-color: #FFF;
	margin-right: auto;
	margin-left: auto;
	padding-bottom: 3.5rem;
	max-width:1200px;
	position: relative;
	top: -2.5rem;
	box-shadow:1px 1px 7px #ccc;
}
#cx .title {
	font-size: 1.6rem;
	line-height: 1.6rem;
	text-align: center;
	height: auto;
	width: 100%;
	padding-bottom: 2rem;
	color: #333;
}
@media (max-width: 800px) { 
#cx .title {
	font-size: 1.2rem;
}
}
#cx .tk {
	font-size: 1rem;
	line-height: 3rem;
	width: 85%;
	height: 3rem;
	margin-right: auto;
	margin-left: auto;
	position: relative;
}
#cx .tk .cxtk {
	padding: 0px;
	font-size: 1rem;
	line-height: 3rem;
	float: left;
	height: 3rem;
	width: 80%;
	color: #666;
	margin: 0px;
	text-indent: 40px;
	background-image: url(../images/fdj.png);
	background-repeat: no-repeat;
	background-position: 10px center;
	box-sizing:border-box;
	-moz-box-sizing:border-box; /* Firefox */
	-webkit-box-sizing:border-box; /* Safari */
	border: 1px solid #CCC;
	border-radius:0px;
}
@media (max-width: 800px) { 
#cx .tk .cxtk {
	width: 60%;
}
}

.mfcx {
	padding: 0px;
	margin: 0px;
	font-size: 1rem;
	text-align: center;
	cursor: pointer;
	background-color: #00A2E9;
	float: left;
	width: 20%;
	height: 3rem;
	line-height: 3rem;
	top: 0px;
	right: 0px;
	position: absolute;
	border-top-style: none;
	border-right-style: none;
	border-bottom-style: none;
	border-left-style: none;
	color: #FFF;
}
@media (max-width: 800px) { 
.mfcx {
	width:40%;
	font-size: 12px
}
}

.mfcx.active {
  opacity: 1;
  visibility: visible;
}






.modal {
	height: 39rem;
	width: 30vw;
	margin: auto;
	box-shadow:1px 1px 7px #999;
	position: absolute;
	top: 0px;
	bottom: 0;
	left: 0;
	right: 0;
	min-width:280px;
    transition: .4s, box-shadow .3s .4s;
	z-index: 1111111;
}
.modal.hidden {
	box-shadow: none;
    transition: .4s, box-shadow 0s;
	opacity: 0;
	visibility: hidden;
}
.modal.hidden .form {

}
.modal.hidden .invite {
  top: -100%;
}
.modal.hidden .invite .close {
  height: 0;
  width: 0;
  top: 0;
  right: 0;
}

.form  {
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	background-color: #F6F6F6;
	padding: 25px;
	box-sizing:border-box;
	-moz-box-sizing:border-box; /* Firefox */
	-webkit-box-sizing:border-box; /* Safari */
}
.form .title {
	font-size: 1.5rem;
	line-height: 2rem;
	text-align: center;
	height: 2rem;
	width: 100%;
	border-bottom-width: 1px;
	border-bottom-style: dashed;
	border-bottom-color: #CCC;
	margin-bottom: 1rem;
	padding-bottom: 1rem;
}
@media (max-width: 800px) { 
.form .title {
	font-size: 1.2rem;
}
}

.form button {
	border: none;
	border-radius: 21px;
	outline: none;
	font-size: 1.5rem;
	line-height: 3rem;
	background-color: #00A0EA;
	height: 3rem;
	width: 40%;
	margin-top: 1rem;
	color: #FFF;
	cursor:pointer;
	clear: both;
	float: none;
	left: 30%;
	top: 84%;
	position: absolute;
}
@media (max-width: 800px) { 
.form button {
	border: none;
	border-radius: 21px;
	outline: none;
	font-size: 1rem;
	line-height: 3rem;
	background-color: #00A0EA;
	height: 3rem;
	width: 40%;
	margin-top: 1rem;
	color: #FFF;
	cursor:pointer;
	clear: both;
	float: none;
	left: 30%;
	position: absolute;
}
}

input {
	width: 100%;
	border: none;
	border-radius: 3px;
	outline: none;
	color: #999;
	font-size: 1rem;
	line-height: 2.5rem;
	height: 2.5rem;
	padding: 0px;
	margin-top: 0.2rem;
	margin-right: 0;
	margin-bottom: 0.6rem;
	margin-left: 0;
	text-indent: 10px;
}
input:-webkit-autofill {
  -webkit-box-shadow: 0 0 0px 500px #7a7a7a inset;
  -webkit-text-fill-color: #FFF;
}

label {
	color: #333;
	margin: 0px;
	font-size: 1rem;
	line-height: 2rem;
	height: 2rem;
	padding: 0px;
}

@media (max-width: 800px) { 
label {
	font-size: 12px;
}
}

.invite {
  background: linear-gradient(-45deg, #f857a6, #ff5858);
  left: 50%;
}


.nope {
  background: #474747;
  padding: 10px 15px;
  border-radius: 3px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25);
  position: absolute;
  bottom: 30px;
  left: 50%;
  font-size: 12px;
  white-space: nowrap;
  cursor: pointer;
  transform: translateX(-50%);
}
.nope:hover {
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.25);
  transform: translateX(-50%);
}

.close {
  background: #474747;
  height: 30px;
  width: 30px;
  border: 3px solid #FFF;
  border-radius: 50%;
  position: absolute;
  top: -15px;
  right: -15px;
  cursor: pointer;
  transition: .4s .3s;
}
.close:before, .close:after {
  content: '';
  background: #FFF;
  height: 80%;
  width: 3px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-45deg);
}
.close:after {
  transform: translate(-50%, -50%) rotate(45deg);
}
