.thanksmod {
    padding: 30px;
    width: 340px;
    height: 100px;
    margin-top: -80px;
    margin-left: -200px;
    background: rgba(0, 0, 0, 0.85);
    position: fixed;
    top: 50%;
    left: 50%;
    z-index: 5000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    -webkit-transition: all 0.2s ease;
}
.closemod {
    cursor: pointer;
    position: absolute;
    width: 35px;
    height: 35px;
    top: 7px;
    right: 0;
    z-index: 100;
    font-family: Arial;
    font-size: 20px;
    color: #fff;
}
.thanksmod p {
    width: 100%;
    text-align: center;
    font-size: 20px;
    margin-top: 10px;
    display: block;
    color: #fff;
    font-family: Arial;
    font-size: 18px;
    display: block;
}
.thanksmod p strong {
    font-size: 22px;
    line-height: 40px;
}
.zvonok {
  position:fixed;
  right: 0;
  top: 150px;
  width:40px;
  height:180px;
}
.zvonok a {
  background:url(../images/zvonok.jpg) no-repeat right top;
  width:40px;
  height:180px;
  font-size:16px;
  display:block;
  text-decoration:none;
}

	.reveal-modal-bg {
		position: fixed;
		height: 100%;
		width: 100%;
		background: #000;
		background: rgba(0,0,0,.8);
		z-index: 100;
		display: none;
		top: 0;
		left: 0;
		}

	.reveal-modal {
		visibility: hidden;
		top: 20%;
		left: 50%;
		margin-left: -170px;
		width: 300px;
		background: #eee url(../images/modal-gloss.png) no-repeat -200px -80px;
		position: fixed;
		z-index: 101;
		padding: 15px;
		-moz-border-radius: 5px;
		-webkit-border-radius: 5px;
		border-radius: 5px;
		-moz-box-shadow: 0 0 10px rgba(0,0,0,.4);
		-webkit-box-shadow: 0 0 10px rgba(0,0,0,.4);
		-box-shadow: 0 0 10px rgba(0,0,0,.4);
		}

	.reveal-modal.small 		{ width: 200px; margin-left: -140px;}
	.reveal-modal.medium 		{ width: 400px; margin-left: -240px;}
	.reveal-modal.large 		{ width: 600px; margin-left: -340px;}
	.reveal-modal.xlarge 		{ width: 800px; margin-left: -440px;}

	.reveal-modal .close-reveal-modal {
		font-size: 22px;
		line-height: .5;
		position: absolute;
		top: 8px;
		right: 11px;
		color: #aaa;
		text-shadow: 0 -1px 1px rbga(0,0,0,.6);
		font-weight: bold;
		cursor: pointer;
		}

.form_bg input[type="text"]{
    width:227px;
    padding:10px 0 9px 35px;
    border:1px solid rgba(0,0,0,0.09);
    border-radius:3px;
    box-shadow:0 3px 8px #f3f3f3 inset;
    margin:0 0 12px 19px;
    font-family: 'Scada', sans-serif;
    font-size:14px;
}

.form_bg input[name="fio"]{ background:url(../images/name.png) no-repeat 7px 8px; }
.form_bg input[name="fio"]{ background:url(../images/name.png) no-repeat 7px 12px #fff; }
.form_bg input[name="tel"]{ background:url(../images/phone.png) no-repeat 8px 8px; }
.form_bg input[name="tel"]{ background:url(../images/phone.png) no-repeat 8px 9px #fff; }
.form_bg input[name="email"]{ background:url(../images/email.png) no-repeat 8px 8px; }
.form_bg input[name="email"]{ background:url(../images/email.png) no-repeat 8px 12px #fff; }
.form_bg input[name="messa"]{ background:url(../images/messa.png) no-repeat 9px 7px }
.form_bg input[name="messa"]{ background:url(../images/messa.png) no-repeat 9px 7px #fff; }


.imput_submit{
   background: #FF9000; /* Old browsers */
/* IE9 SVG, needs conditional override of 'filter' to 'none' */
background: url(data:images/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzJmNzZiZiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiM0YzkzY2MiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
background: -moz-linear-gradient(top,  #FF9000 0%, #ffab3e 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#FF9000), color-stop(100%,#ffab3e)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top,  #FF9000 0%,#ffab3e 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top,  #FF9000 0%,#ffab3e 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top,  #FF9000 0%,#ffab3e 100%); /* IE10+ */
background: linear-gradient(to bottom,  #FF9000 0%,#ffab3e 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#FF9000', endColorstr='#ffab3e',GradientType=0 ); /* IE6-8 */

  border-radius: 10px;
  color: #FFFFFF;
  cursor: pointer;
  font-size: 18px;
  height: 36px;
  margin: 10px 20px;
  text-decoration: none;
  text-shadow: 1px 1px 0 #999999;
  width: 263px;

}

.imput_submit:hover{
    background: #ffab3e; /* Old browsers */
/* IE9 SVG, needs conditional override of 'filter' to 'none' */
background: url(data:images/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzRjOTNjYyIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiMyZjc2YmYiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
background: -moz-linear-gradient(top,  #ffab3e 0%, #FF9000 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffab3e), color-stop(100%,#FF9000)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top,  #ffab3e 0%,#FF9000 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top,  #ffab3e 0%,#FF9000 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top,  #ffab3e 0%,#FF9000 100%); /* IE10+ */
background: linear-gradient(to bottom,  #ffab3e 0%,#FF9000 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffab3e', endColorstr='#FF9000',GradientType=0 ); /* IE6-8 */


}

.form_bg input[placeholder]{
    color:#9f9f9f;
}

.title_form {
  text-align:center;
  margin:10px 0;
  font-family: tahoma;
}
.form_bg .invalid{

    border: 1px solid red !important;
}
.form_bg .valid{

    border: 1px solid green !important;
}

.err_message{

    color: red;
    font-size: 12px;
    margin: -11px 0 10px 19px;
    padding: 0;
    font-family: tahoma;
}
#report_result{
    display: none;
    font-size: 14px;
    font-weight: bold;
    font-family: tahoma;
    padding: 0 19px;
}
#nmmod {
font-size: 12px;
    text-align: center;
}


div#myModal {
    top: 56px !important;
}

.thanksmod {
    top: 156px !important;
}

.qwe {
    -moz-transform: rotate(90deg);
    -webkit-transform: rotate(90deg);
    -o-transform: rotate(90deg);
    writing-mode: tb-rl;
    width: 298px;
    height: 36px;
    position: fixed;
    top: 275px !important;
    right: -136px !important;
}
