@import url(http://fonts.googleapis.com/css?family=PT+Sans:400,700);

* {
	padding: 0px;
	margin: 0px;
	font-family: "PT Sans";
}

input, textarea { outline:none; }
input:active, textarea:active { outline:none; }
:focus { outline:none; } 

header {
	height: 990px;
	min-width: 1262px; width: 100%;
	background-image: url(../img/header-bg.png);
	background-position: center;
	color: white;
}

header .main {
	width: 940px;
	margin: 0 auto;
}

header .main .contact {
	left: 495px;
        position: relative;
        top: 70px;
        width: 435px;
}

header .main .contact p {
	font-size: 16px;
        font-weight: bold;
	float: left;
}

header .main .contact p a {
   color: #44a8f3;
   text-decoration: none;
}

header .main .contact p:first-child {
	padding-right: 23px;
}

header .main .line {
	position: relative;
	float: left;
	top: 130px;
}

header .main .line .logo {
	float: left;
}

header .main .line ul {
	position: relative;
	left: 310px;
	list-style: none;
	width: 620px;
	height: 50px;
}

header .main .line ul li {
	float: left;
        text-transform: uppercase;
        font-weight: bold;
	padding-left: 18px;
	line-height: 50px;
        color: #44a8f3;
	cursor: pointer;
}

header .main .line ul li:hover {
	text-decoration: underline;
}

header .main h1 {
	position: relative;
	top: 250px;
	width: 415px;
	font-size: 30px;
	text-align: center;
	font-weight: 200;
	position: relative;
	left: 260px;
}

header .main h3 {
	position: relative;
	top: 280px;
	width: 415px;
	font-size: 18px;
	text-align: center;
	font-weight: 200;
	margin: 0 auto;
}

header .main .form {
	height: 320px;
	width: 370px;
	margin: 0 auto;
	text-align: center;
	position: relative;
	top: 350px;
}

header .main .form input {
	position: relative;
	width: 295px;
	height: 35px;
	border: #fff solid 2px; 
	color: white;
	font-size: 14px;
	padding-left: 15px;
 	background: rgba(0,0,0,0); 
 	margin-top: 30px;
}

header .main .form input::-webkit-input-placeholder {color:#fff;}
header .main .form input::-moz-placeholder          {color:#fff;}
header .main .form input:-moz-placeholder           {color:#fff;}
header .main .form input:-ms-input-placeholder      {color:#fff;}

header .main .form .button {
	cursor: pointer;
	width: 258px;
	height: 49px;
	background-image: url(../img/button-bg.png);
	line-height: 49px;
	position: relative;
	top: 40px;
	left: 60px;
}

#about {
	width: 100%;
	height: 460px;
}

#about .main {
	width: 940px;
	margin: 0 auto;
	text-align: center;
}

#about .main h1, h3 {
	font-weight: 200;
	width: 520px;
	margin: 0 auto;
	position: relative;
	top: 40px;
}

#about .main ul {
	list-style: none;
	position: relative;
	top: 140px;
	color: #454545;
}

#about .main ul li {
	float: left;
	padding-right: 70px;
	padding-left: 70px;
	width: 170px;
	text-align: center;
}

h1 {
	text-align: center;
	font-weight: 200;
}

.gray-block {
	width: 1262px;
	height: 419px;
	margin: 0 auto;
	background-image: url(../img/bg-uslugi.png);
	position: relative;
	top: 25px;
	margin-bottom: 50px;
}

.gray-block .block-inner {
	position: relative;
	color: #7a7a7a;
	top: 30px;
	width: 850px;
	height: 107px;
	border: 2px dotted white;
	margin: 0 auto;
	text-align: center;
	padding: 15px;
	font-size: 18px;
}

.gray-block .block-inner p{
	font-size: 24px;
	color: #ffb400;
}

.gray-block .block-inner img {
	float: left;
	padding-left: 13px;
	padding-right: 13px;
}

.button-orange {
	cursor: pointer;
	width: 258px;
	height: 49px;
	background-image: url(../img/button-orange.png);
	line-height: 49px;
	color: white;
	text-align: center;
	position: relative;
	top: 45px;
	left: 500px;
}

.smm-block {
	width: 1262px;
	height: 549px;
	background-image: url(../img/bg-smm.png);
	margin: 0 auto;
}

.smm-block ul {
	list-style: none;
	position: relative;
	top: 50px;
	left: 165px;
	width: 1000px;
}

.smm-block ul li {
	padding: 15px;
	float: left;
	width: 405px;
	height: 126px;
	border: 2px dotted white;
	margin-left: 30px;
	margin-right: 30px;
	font-size: 18px;
	color: #7a7a7a;
}

.smm-block ul li:last-child {
	position: relative;
	left: 230px;
	top: 60px;
	height: 80px;
}

.smm-block ul li p {
	color: #2789e4;
	font-size: 24px;
}

.smm-block .button {
	cursor: pointer;
	width: 258px;
	height: 49px;
	background-image: url(../img/button-bg.png);
	position: relative;
	color: white;
	top: 450px;
	left: 500px;
}

.smm-block .button p {
	position: relative;
	top: -260px;
	left: 75px;
	height: 0px;
}

#price {
	width: 100%;
	height: 360px;
}

#price .main {
	width: 940px;
	margin: 0 auto;
}

#price .main h1 {
	position: relative;
	top: 25px;
}

#price .main ul {
	list-style: none;
	position: relative;
	top: 50px;
	color: #454545;
}

#price .main ul li {
	float: left;
	padding-right: 70px;
	padding-left: 70px;
	width: 170px;
	text-align: center;
}

#howto {
	width: 100%;
}

#howto .main {
	width: 940px;
	height: 650px;
	margin: 0 auto;
}

#howto .main .howto {
	width: 895px;
	height: 555px;
	margin: 0 auto;
	background-image: url(../img/howto.png);
}

#howto .main .howto  ul {
	list-style: none;
}

#howto .main .howto ul li{
	position: relative;
	top: 220px;
	float: left;
	width: 235px;
	padding-right: 60px;
	text-align: center;
	color: #454545;
}

#howto .main .howto ul li.bot {
	position: relative;
	top: 500px;
}

#howto .main .howto ul li:first-child {
	position: relative;
	right: 20px;
}

#portfolio {
	position: relative;
	top: 25px;
	min-width: 1262px; width: 100%;
	height: 907px;
	background-image: url(../img/portfolio.png);
	background-position: center;
}

#portfolio .main {
	position: relative;
	top: 100px;
	width: 940px;
	margin: 0 auto;
        text-align: center;
}

#last {
	width: 1260px;
	height: 458px;
	margin: 0 auto;
	background-image: url(../img/bg-rupor.png);
}

#last .form {
	width: 356px;
	height: 390px;
	position: relative;
	top: 30px;
	left: 225px;
}

#last .form input {
	position: relative;
	width: 295px;
	height: 35px;
	border: #919191 solid 2px; 
	color: #919191;
	font-size: 14px;
	padding-left: 15px;
 	background: rgba(0,0,0,0); 
 	margin-top: 30px;
}

#last .form input::-webkit-input-placeholder {color:#919191;}
#last .form input::-moz-placeholder          {color:#919191;}
#last .form input:-moz-placeholder           {color:#919191;}
#last .form input:-ms-input-placeholder      {color:#919191;}

#last .form .button {
	cursor: pointer;
	width: 258px;
	height: 49px;
	background-image: url(../img/button-bg.png);
	line-height: 49px;
	position: relative;
	top: 30px;
	left: 30px;
	color: white;
	text-align: center;
}

#modal input {
	position: relative;
	width: 170px;
	height: 30px;
	border: #919191 solid 2px; 
	color: #919191;
	font-size: 14px;
	padding-left: 15px;
 	background: rgba(0,0,0,0); 
 	margin-top: 30px;
 	margin-left: 15px;
}

#modal .button {
	cursor: pointer;
	width: 258px;
	height: 49px;
	background-image: url(../img/button-bg.png);
	line-height: 49px;
	position: relative;
	top: 7px;
	left: 190px;
	color: white;
	text-align: center;
}

#about, #price, #howto {
       min-width: 1262px;
}

h2 {
    font-weight: 200;
    width: 520px;
    margin: 0 auto;
    position: relative;
    text-align: center;
    min-width: 1262px;
    font-size: 2em;
}

#about h2, #price h2, #howto h2 {
    font-weight: 200;
    width: 520px;
    margin: 0 auto;
    top: 30px;
    text-align: center;
    min-width:  inherit;
}

@media screen and (max-width:1024px) { 
   
header {
    min-width: 1024px;
}

#about, #price, #howto {
    min-width: 1024px;
}

h2 {
    min-width: 1024px;
}

.gray-block, .smm-block {
   width: 1024px;
   background-size: cover;
}

.button-orange {
    top: 45px;
    left: 390px;
}

.smm-block ul {
    left: 15px;
}

.smm-block .button {
    left: 385px;
}

#portfolio {
   min-width: 1024px;
   background-size: cover;
}

#last {
   width: 1024px;
   height: 370px;
   background-size: contain;
}

}
