html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  font-size: 100%;
  vertical-align: baseline;
}

html {
  line-height: 1;
}

ol, ul {
  list-style: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

caption, th, td {
  text-align: left;
  font-weight: normal;
  vertical-align: middle;
}

q, blockquote {
  quotes: none;
}

q:before, q:after, blockquote:before, blockquote:after {
  content: "";
  content: none;
}

a img {
  border: none;
}

article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section, summary {
  display: block;
}

.clear {
  clear: both;
}

.text_left {
  text-align: left;
}

.text_center {
  text-align: center;
}

.text_right {
  text-align: right;
}

.underline {
  text-decoration: underline;
}

.uppercase {
  text-transform: uppercase;
}

.substrate {
  position: absolute;
  display: block;
  margin: auto;
  position: absolute;
  top: 0px;
  left: 0;
  right: 0;
  opacity: 0.5;
  z-index: 2;
}

/*Reset*/
* {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  font-size: 14px;
  color: #2B4A61;
  margin: 0;
}
@media only screen and (max-width: 879px) {
  body {
    background-size: inherit;
  }
}

input {
  font-family: Arial, sans-serif;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

label {
  font-style: normal;
}

a, a:hover, a:active, a:focus {
  color: #fff;
  text-decoration: none;
  -webkit-transition: all 0.1s ease-in-out;
  -moz-transition: all 0.1s ease-in-out;
  -o-transition: all 0.1s ease-in-out;
  transition: all 0.1s ease-in-out;
}

a, input, textarea {
  outline: none !important;
}

h1 {
  font-size: 26px;
}

h2 {
  font-size: 24px;
}

h3 {
  font-size: 18px;
}

.clear {
  clear: both;
}

.text_left {
  text-align: left;
}

.text_center {
  text-align: center;
}

.text_right {
  text-align: right;
}

.underline {
  text-decoration: underline;
}

.uppercase {
  text-transform: uppercase;
}

.container {
  max-width: 1000px;
  margin: auto;
  padding: 0px 15px;
}
@media only screen and (max-width: 640px) {
  .container {
    padding: 0px 10px;
  }
}

::-webkit-input-placeholder {
  color: #000;
}

::-moz-placeholder {
  color: #000;
}

/* Firefox 19+ */
:-moz-placeholder {
  color: #000;
}

/* Firefox 18- */
:-ms-input-placeholder {
  color: #000;
}

/*Header*/
header {
  background: #2B4A61;
  color: #fff;
  font-size: 32px;
  padding: 21px 0px 17px 0px;
}
header a {
  color: #fff;
}
header .phone {
  float: left;
  padding-left: 40px;
}
header .email {
  float: right;
  margin-top: -7px;
  padding-right: 35px;
}
@media only screen and (max-width: 879px) {
  header {
    font-size: 16px;
  }
  header .phone {
    padding-left: 0;
  }
  header .email {
    padding-right: 0;
    margin-top: -2px;
  }
}

/*End header*/
/*Content*/
#content {
  background: url("../images/fon-top.jpg") center 10px no-repeat #fff;
}
#content .title_block {
  float: left;
  width: 45%;
  padding: 33px 0px 0px 37px;
}
#content .title_block h1 {
  font-size: 48px;
  line-height: 55px;
}
#content .title_block h1 span {
  font-size: 112px;
  display: inline-block;
  margin: 49px 0px 0px -5px;
}
#content .image_block {
  float: right;
  width: 55%;
  padding: 42px 0px 0px 16px;
}
#content .image_block img {
  max-width: 100%;
  height: auto;
}
#content .form_block {
  text-align: center;
  position: relative;
  top: -50px;
}
#content .form_block h3 {
  font-size: 40px;
  margin-bottom: 55px;
}
#content .form_block form {
  max-width: 322px;
  margin: auto;
}
/*
#content .form_block form input[type="text"], #content .form_block form input[type="email"] {
  border: 1px solid #000;
  background: none;
  width: 100%;
  display: block;
  height: 32px;
  margin-bottom: 21px;
  text-align: center;
  font-size: 22px;
  color: #000;
}
#content .form_block form input[type="submit"] {
  background: #2B4A61;
  color: #fff;
  display: block;
  height: 32px;
  width: 100%;
  border: none;
  font-size: 22px;
  cursor: pointer;
}
*/
#content .desc_block {
  font-size: 18px;
  margin-top: -18px;
  color: #000;
  padding: 0px 35px;
  line-height: 25px;
}
#content .desc_block p {
  margin-bottom: 25px;
}
#content .copyright {
  text-align: center;
  font-size: 16px;
  margin: 45px 0px;
}
@media only screen and (max-width: 879px) {
  #content {
    background-position: center top;
  }
  #content .title_block, #content .image_block {
    width: 100%;
    text-align: center;
    padding: 0;
    margin-bottom: 20px;
  }
  #content .title_block {
    padding-top: 10px;
  }
  #content .title_block h1 {
    font-size: 30px;
    line-height: 48px;
  }
  #content .title_block h1 span {
    display: block;
    font-size: 44px;
    margin: 0px;
  }
  #content .image_block img {
    max-width: 400px;
    width: 100%;
    height: auto;
  }
  #content .form_block {
    top: 0;
  }
  #content .form_block h3 {
    font-size: 27px;
    margin-bottom: 20px;
  }
  #content .desc_block {
    margin-top: 25px;
    padding: 0px;
  }
}
@media only screen and (max-width: 640px) {
  #content .title_block h1 {
    font-size: 26px;
    line-height: 40px;
  }
  #content .title_block h1 span {
    font-size: 40px;
  }
  #content .form_block form input[type="text"],
  #content .form_block form input[type="email"],
  #content .form_block form input[type="submit"] {
    height: 35px;
  }
  #content .copyright {
    margin: 30px 0px;
    font-size: 14px;
  }
}

#error {
  transition: 0.3s;
  margin-bottom: 20px;
}
#error.error {
  height: auto;
  background: rgba(219, 95, 0, 0.2);
  padding: 15px;
}
#error > div {
  color: red;
  margin-bottom: 5px;
  font-size: 18px;
}
#error > div.success {
  background: green;
  padding: 15px;
  font-size: 18px;
  color: #fff;
}
ul li {
	list-style: disc;
	margin-left: 25px;
}
/*End #content*/
