@charset "UTF-8";
@import url(https://fonts.googleapis.com/css?family=Oswald|Roboto);


.table {
  display: table;
  width: 100%;
  height: 100%;
}

.table-cell {
  display: table-cell;
  vertical-align: middle;
  -moz-transition: all 0.5s;
  -o-transition: all 0.5s;
  -webkit-transition: all 0.5s;
  transition: all 0.5s;
  padding:20px;
}

.mycon{
  position: relative;
  width: 100%;
  margin: 30px auto 0;
  height: 320px;
  background-color:  #83204C;
  top: 50%;
  margin-top: 0px;
  -moz-transition: all 0.5s;
  -o-transition: all 0.5s;
  -webkit-transition: all 0.5s;
  transition: all 0.5s;
}
.mycon .box {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.mycon .box:before, .mycon .box:after {
  content: " ";
  position: absolute;
  left: 152px;
  top: 50px;
  
  
  width: 300px;
  height: 285px;
  -moz-transition: all 0.5s;
  -o-transition: all 0.5s;
  -webkit-transition: all 0.5s;
  transition: all 0.5s;
}
.mycon .box:after {
  
  top: -10px;
  left: 80px;
  width: 320px;
  height: 180px;
}
.mycon .container-forms {
  position: relative;
}
.mycon .btn {
  cursor: pointer;
  text-align: center;
  margin: 0 auto;
  
  color: #fff;
  background-color:  #83204C;
  opacity: 1;
  -moz-transition: all 0.5s;
  -o-transition: all 0.5s;
  -webkit-transition: all 0.5s;
  transition: all 0.5s;
}
.mycon .btn:hover {
  opacity: 0.7;
}
.mycon .btn, .mycon input {
  padding: 10px 15px;
}
.mycon input {
  margin: 0 auto 15px;
  display: block;
  width: 220px;
  -moz-transition: all 0.3s;
  -o-transition: all 0.3s;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}
.mycon .container-forms .container-info {
  text-align: left;
  font-size: 0;
}
.mycon .container-forms .container-info .info-item {
  text-align: center;
  font-size: 16px;
  width: 300px;
  height: 320px;
  display: inline-block;
  vertical-align: top;
  color: #fff;
  opacity: 1;
  -moz-transition: all 0.3s;
  -o-transition: all 0.3s;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}
.mycon .container-forms .container-info .info-item p {
  font-size: 20px;
  margin: 20px;
}
.mycon .container-forms .container-info .info-item .btn {
  background-color: transparent;
  border: 1px solid #fff;
}
.mycon .container-forms .container-info .info-item .table-cell {
  padding-right: 35px;
}
.mycon .container-forms .container-info .info-item:nth-child(2) .table-cell {
  padding-left: 35px;
  padding-right: 0;
}
.mycon .container-form {
  overflow: hidden;
  position: absolute;
  left: 30px;
  top: 30px;
  width: 305px;
  height: 250px;
  background-color: #fff;
  box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.2);
  -moz-transition: all 0.5s;
  -o-transition: all 0.5s;
  -webkit-transition: all 0.5s;
  transition: all 0.5s;
}
.mycon .container-form:before {
  content: "✔";
  position: absolute;
  left: 160px;
  top: -50px;
  color: #5356ad;
  font-size: 130px;
  opacity: 0;
  -moz-transition: all 0.5s;
  -o-transition: all 0.5s;
  -webkit-transition: all 0.5s;
  transition: all 0.5s;
}
.mycon .container-form .btn {
  position: relative;
 
  margin-top: 30px;
}
.mycon .form-item {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  opacity: 1;
  -moz-transition: all 0.5s;
  -o-transition: all 0.5s;
  -webkit-transition: all 0.5s;
  transition: all 0.5s;
}
.mycon .form-item.sign-up {
  position: absolute;
  left: -100%;
  opacity: 0;
}
.mycon.log-in .box:before {
  position: absolute;
  left: 180px;
  top: 62px;
  height: 265px;
}
.mycon.log-in .box:after {
  top: 22px;
  left: 192px;
  width: 324px;
  height: 220px;
}
.mycon.log-in .container-form {
  left: 265px;
}
.mycon.log-in .container-form .form-item.sign-up {
  left: 0;
  opacity: 1;
}
.mycon.log-in .container-form .form-item.log-in {
  left: -100%;
  opacity: 0;
}
.mycon.active {
  width: 260px;
  height: 140px;
  margin-top: -70px;
}
.mycon.active .container-form {
  left: 30px;
  width: 200px;
  height: 200px;
}
.mycon.active .container-form:before {
  content: "✔";
  position: absolute;
  left: 51px;
  top: 5px;
  color: #5356ad;
  font-size: 130px;
  opacity: 1;
}
.mycon.active input, .mycon.active .btn, .mycon.active .info-item {
  display: none;
  opacity: 0;
  padding: 0px;
  margin: 0 auto;
  height: 0;
}
.mycon.active .form-item {
  height: 100%;
}
.mycon.active .container-forms .container-info .info-item {
  height: 0%;
  opacity: 0;
}
.modalDialog {
    position: fixed;
    font-family: Arial, Helvetica, sans-serif;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 99999;
    opacity:0;
    -webkit-transition: opacity 400ms ease-in;
    -moz-transition: opacity 400ms ease-in;
    transition: opacity 400ms ease-in;
    pointer-events: none;
}
.modalDialog:target {
    opacity:1;
    pointer-events: auto;
}
.modalDialog > div {
    width: 700px;
    position: relative;
    margin: 10% auto;
    padding: 5px 20px 13px 20px;
    border-radius: 10px;
    background: #fff;
   
}
.close {
	padding-left:3px;
    background: #142440;
    color: #FFFFFF;
    line-height: 25px;
	font-size: 28px;
    font-weight: bold;
    position: absolute;
    right: 12px;
    text-align: center;
    top: 10px;
    width: 24px;
    text-decoration: none;
    font-weight: bold;
    -webkit-border-radius: 12px;
    -moz-border-radius: 12px;
    border-radius: 12px;
    -moz-box-shadow: 1px 1px 3px #000;
    -webkit-box-shadow: 1px 1px 3px #000;
    box-shadow: 1px 1px 3px #000;
}
.close:hover {
    background: #4ac8ed;
}


@media only screen and (max-width: 768px){
	.mycon .container-forms .container-info .info-item{    width: 170px;}
	.mycon .container-form{left:0px;width:205px;}
	.mycon .container-forms .container-info .info-item p{margin:0px;}
	.mycon.log-in .container-form{left: 135px;}
	.modalDialog > div {width:350px;}
	#getqz{padding:4px 0;margin-top:10px;}
	#tel{margin-top:5px;}
	#subject{margin-top:5px;}
}

@media only screen and (max-width: 640px){
	.mycon .container-form{width:190px;}
	.mycon .container-forms .container-info .info-item{    width: 160px;}
	
	
}
@media only screen and (max-width: 568px){
	.mycon .container-form{width:170px;}
	.mycon .container-forms .container-info .info-item{    width: 140px;}
	.modalDialog > div {width:310px;}
	
	
}
@media screen and (max-width: 1200px) and (min-width: 768px) {
	
	.mycon .container-form{left:0px;width:305px;}
	.mycon .container-forms .container-info .info-item{    width: 340px;}
	.mycon.log-in .container-form{left: 365px;}
	.modalDialog > div {width:700px;}
	#getqz{padding:4px 30px;margin-top:10px;}
	
}
@media screen and (max-width: 1024px) and (min-width: 800px) {
	
	.mycon .container-form{left:0px;width:260px;}
	.mycon .container-forms .container-info .info-item{    width: 230px;}
	.mycon.log-in .container-form{left: 205px;}
}

@media screen and (min-width: 320px) and (max-width: 480px) {
	
	.mycon .container-forms .container-info{margin-left: -20px;}
	.mycon.log-in .container-form{left: 125px;}
	.mycon .container-forms .container-info .info-item{margin-left:10px;}
}

