* {
  margin: 0;
  padding: 0;
}

body, html {
    margin: 0;
    text-align:center;
    height: 100%;
   /* overflow:  hidden;*/
}
a{
  text-decoration: none;
  
}
footer{
    flex: 0 0 auto;
    text-align: center;
}

#hea {
    top:40px;
    overflow: hidden;
    position: relative;
    font-size:50px;
    font-family: 'Helvetica Neue',Helvetica,sans-serif;
    text-decoration: none;
    font-weight: 100;
  	height: 170px;
}
#hea h3 {
    font-size:25px;
    margin: 5px;
}
#hea h1{
    font-size:50px;
    font-family: 'Helvetica Neue',Helvetica,sans-serif;
    text-decoration: none;
}

#pri {
    color: #6aa436;
}

#wrapmain{
    width: 100%;
  	position: relative;
  	min-height: 100%;
    top:0px;
    height: 1200px;
    overflow: hidden;
    background-image: url('img/fon.png');
    background-repeat: repeat;
}

#main{
    display: block;
    width: 1200px;
 /*   height: 1100px;*/
	height: 100%;
    top:30px;
    left:50%;
    margin-left: -600px;
    overflow: hidden;
    position: relative;
}

#imgbg{
    width: 100%;
}


#p299, #p999{
    display: block;
  	position: absolute;
    top:355px;
    left:26%;
    overflow: hidden;
  	z-index:500;
    
}


#p299{
  	top:822px;
   left:68%;
  
}

/* ------------ Forma ---------------- */
.form-container {
   position: absolute;
   top:30px;
   left: 50%;
   margin-left: -220px;
   border: 1px solid #b3b3b3;
   background: #FFFFFF;
   background-image: -ms-linear-gradient(top, #ffffff 0%, #dbdbdb 100%);
   -webkit-border-radius: 10px;
   -moz-border-radius: 10px;
   border-radius: 10px;
   font-family: 'Helvetica Neue',Helvetica,sans-serif;
   text-decoration: none;
   vertical-align: middle;
   min-width:300px;
   padding:20px;
   width:400px;
   z-index:1000;
   }

.form-field {
    outline: none;
   border: 1px solid #c4c4c4;
   background: #ffffff;
   -webkit-border-radius: 15px;
   -moz-border-radius: 15px;
   border-radius: 15px;
   color: #828282;
   -webkit-box-shadow: rgba(255,255,255,0.4) 0 0px 0, inset rgba(000,000,000,0.7) 0 0px 0px;
   -moz-box-shadow: rgba(255,255,255,0.4) 0 0px 0, inset rgba(000,000,000,0.7) 0 0px 0px;
   box-shadow: rgba(255,255,255,0.4) 0 0px 0, inset rgba(000,000,000,0.7) 0 0px 0px;
   padding:8px;
   margin-bottom:20px;
   width:95%;
   }
.form-field:focus {
   background: #fff;
   color: #474747;
   }
.form-container h2 {
   font-size:22px;
   margin: 0 0 10px 0;
   font-weight: 300;
   text-align:center;
    }
.form-container h1 {
   font-size:40px;
   margin: 0 0 10px 0;
   font-weight: 300;
   text-align:center;
   }

.form-title {
   margin-bottom:10px;
   font-weight: 200;
   color: #757575;
   }
.form-primer {
   font-size:30px;
   margin-bottom:10px;
   font-weight: 200;
   color: #757575;
   }
.submit-container {
   margin:25px 20px;
   text-align:center;
   }
.submit-button {
   cursor: pointer;
   outline: none;
   border: 0px solid #6aa436;
   background: #6aa436; 
   -webkit-border-radius: 30px;
   -moz-border-radius: 30px;
   border-radius: 30px;
   color: #ffffff;
   font-family: helvetica, serif;
   padding: 15px 45px;
   font-size: 14px;
   text-decoration: none;
   vertical-align: middle;
   }

.rod {
   border: 2px solid #CCCCCC;
   background: #FFFFFF;
   color: #CCCCCC;
   }

.submit-button:hover {
   background: #86d43e;
   background-image: -ms-linear-gradient(top, #8dc059 0%, #6aa436 100%);
   color: #fff;
   }

.rod:hover{
   background: #86d43e;
   border: 2px solid #86d43e;
   color: #fff;
}

.submit-button:active {
   background: #8dc059;
   background-image: -ms-linear-gradient(top, #6aa436 0%, #8dc059 100%);
   color: #fff;
   }

/* ------------ end Forma ---------------- */

#footer {
   position: fixed; /* Фиксированное положение */
   left:0px;
   bottom:0px;
   height:50px;
   padding:5px;
   width:100%;
   background:#FFFFFF;  
   z-index:100000;
   }
  
  
#footer-title {
   top:10px;
   font-size:12px;
   font-family: 'Helvetica Neue',Helvetica,sans-serif;
   text-decoration: none;
   font-weight: 100;
   margin:10px;
   font-weight: 200;
   color: #757575;
   z-index:100000;
   }

#footer-title a{
   color: #757575;
   }

/*@media all and (min-height: 930px) {

#footer {
   position:block;
	top:1050px;
   }


}*/