.wrap-registration {
  width: 280px;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  padding: 12px 20px 12px 18px;
  margin:20px auto;
  box-shadow: 0 5px 10px 0px black;
  -moz-box-shadow: 0 5px 10px 0px rgba(0, 0, 0, 0.1);
  -webkit-box-shadow: 0 5px 10px 0px rgba(0, 0, 0, 0.1);
  -o-box-shadow: 0 5px 10px 0px rgba(0, 0, 0, 0.1);
  -ms-box-shadow: 0 5px 10px 0px rgba(0, 0, 0, 0.1);
}
#reg_button {
	margin-left:45px;
}
.reg_forgot_pass {
	float:right;
	color: #4E8EF5;
	text-decoration:underline;
	margin-top:20px;
	margin-right:-10px;
	font-size:14px;
	font-style:italic;
}
.reg_input {
	width:100%;
}
.reg_forgot_pass:hover {
	color: #4E8EF5;
}
.registation_header {
	text-align:center; 
	font-size:21px
}

.labels {
	font-style:italic;
	font-size:14px;
}
@-webkit-keyframes swing {
  15% {
    -webkit-transform: translateX(9px);
    transform: translateX(9px);
  }
  30% {
    -webkit-transform: translateX(-9px);
    transform: translateX(-9px);
  }
  40% {
    -webkit-transform: translateX(6px);
    transform: translateX(6px);
  }
  50% {
    -webkit-transform: translateX(-6px);
    transform: translateX(-6px);
  }
  65% {
    -webkit-transform: translateX(3px);
    transform: translateX(3px);
  }
  100% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
}

@keyframes swing {
  15% {
    -webkit-transform: translateX(9px);
    transform: translateX(9px);
  }
  30% {
    -webkit-transform: translateX(-9px);
    transform: translateX(-9px);
  }
  40% {
    -webkit-transform: translateX(6px);
    transform: translateX(6px);
  }
  50% {
    -webkit-transform: translateX(-6px);
    transform: translateX(-6px);
  }
  65% {
    -webkit-transform: translateX(3px);
    transform: translateX(3px);
  }
  100% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
}
.swing {
  -webkit-animation: swing 0.6s ease;
  animation: swing 0.6s ease;
   -webkit-animation-iteration-count: 1;
   animation-iteration-count: 1;
}

*:focus {outline: none;}
/* === Form Typography === */
.contact_form h2, .contact_form label {font-family:Georgia, Times, "Times New Roman", serif; font-size: 16px;}
.form_hint {font-size: 12px;}
.contact_form{
   box-shadow:
   0 1px 4px rgba(0, 0, 0, .3),
   -23px 0 20px -23px rgba(0, 0, 0, .8),
   23px 0 20px -23px rgba(0, 0, 0, .8),
   0 0 10px rgba(0, 0, 0, .1) inset;
}
/* === List Styles === */
.contact_form ul {
    list-style-type:none;
	list-style-position:outside;
	margin:0px;
	padding:0px;
}
.contact_form li{
	padding:6px; 
	border-bottom:1px solid #eee;
	position:relative;
} 
.contact_form li:first-child {
	
}

/* === Form Header === */
.contact_form h2 {
	margin:0;
	display: inline;
}

.required_notification {
	color:#d45252; 
	margin:0 0 0 0; 
	display:inline;
	float:right;
	font-size: 14px;
}

/* === Form Elements === */
.contact_form label {
	min-width:15%;
	margin-top: 3px;
	display:inline-block;
	float:left;
	padding:3px;
}
.contact_form input {
	height:20px;
	padding:3px 6px;
}
#miniwidth {
width: 20px;
}
.contact_form textarea {padding:4px; width:400px;}
.contact_form button {margin-left:156px;}
/* form element visual styles */
.contact_form input, .contact_form textarea { 
	border:1px solid #aaa;
	box-shadow: 0px 0px 3px #ccc, 0 10px 15px #eee inset;
	border-radius:2px;
	padding-right:30px;
	-moz-transition: padding .25s; 
	-webkit-transition: padding .25s; 
	-o-transition: padding .25s;
	transition: padding .25s;
	font-size:16px;
}
.contact_form input:focus, .contact_form textarea:focus {
	background: #f6f6f6; 
	border:1px solid #555; 
	box-shadow: 0 0 3px #aaa;  
}
/* === HTML5 validation styles === */	
.contact_form input:required, .contact_form textarea:required {
	background: #fff url(images/red_asterisk.png) no-repeat 98% center;
}
.contact_form input:required:valid, .contact_form textarea:required:valid {
	background: #fff url(images/valid.png) no-repeat 98% center;
	box-shadow: 0 0 5px #5cd053;
	border-color: #28921f;
}
.contact_form input:focus:invalid, .contact_form textarea:focus:invalid {
	background: #fff url(images/invalid.png) no-repeat 98% center;
	box-shadow: 0 0 5px #d45252;
	border-color: #b03535
}

/* === Form hints === */
.form_hint {
	background: #d45252;
	border-radius: 3px 3px 3px 3px;
	color: white;
	margin-left:8px;
	padding: 1px 6px;
	z-index: 999; /* hints stay above all other elements */
	position: absolute; /* allows proper formatting if hint is two lines */
	display: none;
}
.form_hint::before {
	content: "\25C0";
	color:#d45252;
	position: absolute;
	top:1px;
	left:-6px;
}
.contact_form input:focus + .form_hint {display: inline;}
.contact_form input:required:valid + .form_hint {background: #28921f;}
.contact_form input:required:valid + .form_hint::before {color:#28921f;}
	
/* === Button Style === */
button.submit {
	background-color: #68b12f;
	background: -webkit-gradient(linear, left top, left bottom, from(#68b12f), to(#50911e));
	background: -webkit-linear-gradient(top, #68b12f, #50911e);
	background: -moz-linear-gradient(top, #68b12f, #50911e);
	background: -ms-linear-gradient(top, #68b12f, #50911e);
	background: -o-linear-gradient(top, #68b12f, #50911e);
	background: linear-gradient(top, #68b12f, #50911e);
	border: 1px solid #509111;
	border-bottom: 1px solid #5b992b;
	border-radius: 3px;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	-ms-border-radius: 3px;
	-o-border-radius: 3px;
	box-shadow: inset 0 1px 0 0 #9fd574;
	-webkit-box-shadow: 0 1px 0 0 #9fd574 inset ;
	-moz-box-shadow: 0 1px 0 0 #9fd574 inset;
	-ms-box-shadow: 0 1px 0 0 #9fd574 inset;
	-o-box-shadow: 0 1px 0 0 #9fd574 inset;
	color: white;
	font-weight: bold;
	padding: 6px 20px;
	text-align: center;
	text-shadow: 0 -1px 0 #396715;
	margin:0;
	font-size:15px;
}
button.submit:hover {
	opacity:.85;
	cursor: pointer; 
}
button.submit:active {
	border: 1px solid #20911e;
	box-shadow: 0 0 10px 5px #356b0b inset; 
	-webkit-box-shadow:0 0 10px 5px #356b0b inset ;
	-moz-box-shadow: 0 0 10px 5px #356b0b inset;
	-ms-box-shadow: 0 0 10px 5px #356b0b inset;
	-o-box-shadow: 0 0 10px 5px #356b0b inset;	
}

/*CSS для спойлера Жалобы*/
.spoiler-wrapper {
  text-align: right;
  margin: 3px 12px;
}
.spoiler a{
	 font-size: 15px;
	 color: red;
	 border-bottom: red dashed 1.5px;
	 text-decoration: none;
	 font-style:italic;
}
.spoiler:hover {
     cursor: pointer;
}
.spoiler-text {
     margin: 8px -9px;
	 font-size: 18px;
	 text-align: left;
}
@media (max-width:815px){
.contact_form textarea {width:70%;}
}

@media (max-width:564px){
.contact_form textarea {width:82%;}
.required_notification,  {display:none;}
.commentform {border:0px;}
.contact_form, .commentform,.comment_form {margin-left:-7px;padding:0px;}
}