* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

*:before,
*:after {
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box
}

article,aside,details,figcaption,figure,footer,header,hgroup,main,nav,menu,section,summary {display: block}[hidden],template{display: none}audio,img,svg,iframe,video,canvas {vertical-align: middle;}audio,canvas,progress,video {display: inline-block;vertical-align: baseline;}audio:not([controls]) {display: none;height: 0;}svg:not(:root) {overflow: hidden;}b,strong {font-weight: bold}hr {height: 0}small {font-size: 80%;}sub,sup {font-size: 75%;line-height: 0;position: relative;vertical-align: baseline}sup {top: -0.5em}sub {bottom: -0.25em}img {border: 0;vertical-align: middle}address {font-style: normal;}figure {margin: 0;}fieldset {border: 1px solid #c0c0c0;margin: 0 2px;padding: 0.35em 0.625em 0.75em}legend {border: 0;padding: 0}button,input,select,textarea {margin: 0;font: inherit;color: inherit;outline: none;}button,input {line-height: normal}button,select {text-transform: none}input {line-height: normal;}select {font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;}button,html input[type="button"],input[type="reset"],input[type="submit"] {-webkit-appearance: button;cursor: pointer}button[disabled],html input[disabled] {cursor: default}input[type="checkbox"],input[type="radio"] {padding: 0}button::-moz-focus-inner,input::-moz-focus-inner {border: 0;padding: 0}textarea {overflow: auto;vertical-align: top;resize: vertical;}

html {
  font-size: 10px;
  font-family: sans-serif;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

html,
body {
  height: 100%;
  min-height: 100%;
}

.ie7 html,
.ie7 body {height: auto;}

body {
  margin: 0;
  font: 14px/1.42857143 "Helvetica Neue", Helvetica, Arial, sans-serif;
  background: url('/images/bg.jpg') center top;
}

a {
  color: #0044ab;
  background: transparent; 
}

a:active,
a:focus {outline: none;}

a:active,
a:hover {color: #000;}

a:visited {}

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

/* ============================ Пишем оформление элементов SiteNN по умолчанию */

h1,h2,h3,h4,.h4,h5,h6 {
  line-height: 100%;
  margin-top: 0;
}

h1 {font-size: 36px;}
h2 {font-size: 30px;}
h3 {font-size: 24px;}
h4, .h4 {font-size: 18px;}
h5 {font-size: 14px;}
h6 {font-size: 12px;}

h1 a,
h1 small,
h2 a,
h2 small,
h3 a,
h3 small,
h4 a,
h4 small,
h5 a,
h5 small,
h6 a,
h6 small {
  font-weight: normal;
  font-size: 12px;
  display: inline-block;
  vertical-align: top;
}

.view input[type="checkbox"],
.view input[type="radio"] {height: 16px;}

.view th h3 {
  margin-bottom: 5px;
  width: 510px;
  padding-bottom: 5px;
  border-bottom: 1px dashed #ccc;
}

.view th {font-size: 13px}

.view td [type="text"],
.view td [type="email"],
.view td [type="password"],
.view td textarea {
  border-radius: 2px;
  border: 1px solid #ccc;
  padding: 5px;
  font-size: 13px;
  box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
  transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
}

.view td [type="text"]:focus,
.view td [type="email"]:focus,
.view td [type="password"]:focus,
.view td textarea:focus {
  border-color: #66afe9;
  box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6);
}

/* ============================ Готовые классы помошники */
.ie7 .cf,
.ie7 .container {zoom: 1;}

.cf:before,
.cf:after,
.container:before,
.container:after {display: table;content: "";}

.cf:after,
.container:after {clear: both;}

.tar {text-align: right;}
.tac {text-align: center;}
.tal {text-align: left;}
.taj {text-align: justify;}
.fl {float: left;}
.fr {float: right;}
.ovh {overflow: hidden;}

/* Простой обнуленный список */
.ln {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Табличный список */
.lt {
  display: table;
  table-layout: fixed;
  width: 100%;
}

.lt > ul {display: table-row;}
.lt > ul > li {
  display: table-cell;
  text-align: center;
  vertical-align: middle;
}

.lt > ul > li > a {display: block;}

/* Таблицы */
.table {
  width: 100%;
  border-spacing: 0;
  border-collapse: collapse;
}

.table td {vertical-align: top;}

/* Фиксированный и центрированный контейнер */
.container {
  position: relative;
  width: 1024px;
  margin: 0 auto;
  min-height: 1px;
}
/*
  ================================================================================================== Основная верстка ================================================================================================== 
*/

/* ============================ Обертка для прижатия футера */
.wrap {
  height: auto !important;
  height: 100%;
  min-height: 100%;
  position: relative;

  background: rgb(255,255,255);
  background: -moz-linear-gradient(top,  rgba(255,255,255,1) 0%, rgba(119,119,119,1) 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,1)), color-stop(100%,rgba(119,119,119,1)));
  background: -webkit-linear-gradient(top,  rgba(255,255,255,1) 0%,rgba(119,119,119,1) 100%);
  background: -o-linear-gradient(top,  rgba(255,255,255,1) 0%,rgba(119,119,119,1) 100%);
  background: -ms-linear-gradient(top,  rgba(255,255,255,1) 0%,rgba(119,119,119,1) 100%);
  background: linear-gradient(to bottom,  rgba(255,255,255,1) 0%,rgba(119,119,119,1) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#777777',GradientType=0 );
}

/* ============================ Шапка */
#header {
  padding-top: 55px;
  height: 121px;
}

/* ============================ Логотип */
#logo {
  text-decoration: none;
  float: left;
}

/* ============================ Контакты */
.contacts {
  float: right;
  
}

.contacts p {margin: 0;}

/* ============================ Верхнее меню */
#topMenu {
  margin-bottom: 40px;
  height: 63px;
  background: url('/images/tm.png') center top;
}

#topMenu li {background: url('/images/sep.png') left center no-repeat;}
#topMenu li:first-child {background: none;}

#topMenu li a {
  font-size: 18px;
  color: #fff;
  text-decoration: none;
  transition: all .28s ease-in-out;
}

#topMenu > ul > li > a.active,
#topMenu > ul > li:hover > a {
  background: ;
  color: ;
}

/* ============================ Тело контента сайта */
#main {padding-bottom: 40px}

/* Заголовок страницы */
.page-title,
#pageTitle {
  margin-top: 0;
  font-size: 18px;
}

.pageTitle {
  width: 100%;
  display: table;
  margin-top: 40px; 
}

.pageTitle .textTitle {display: table-cell;}

.pageTitle .borderTitle {
  display: table-cell;
  width: 100%;
  border-bottom: 1px solid #ABABAB; 
}

/* Путь по сайту */
#path {margin: 0 0 1em 0;}
#path a {}

#path a:last-child {
  cursor: text;
  text-decoration: none;
  color: #ccc;
  pointer-events: none;
}

.img {
  padding: 2px;
  border: 1px solid #fff;
  box-shadow: 0 0 4px rgba(0,0,0,.4);
}

#feedbackForm {
  text-align: center;
  width: 615px;
  margin: 40px auto;
}

#feedbackForm h3 {font-weight: normal;}

#feedbackForm .input {
  width: 100%;
  border: 0;
  background: #E1E1E1;
  border-radius: 3px;
  padding: 0 10px;
  min-height: 48px;
  margin-bottom: 10px;
  font-style: italic;
  font-size: 16px;
  color: #313131;
}

#feedbackForm .input:-moz-placeholder {color: #313131}
#feedbackForm .input::-moz-placeholder {color: #313131}
#feedbackForm .input::-webkit-input-placeholder {color:#313131}

#feedbackForm textarea.input {padding-top: 10px;}

#feedbackForm [type="submit"] {
  width: 204px;
  height: 45px;
  -webkit-border-radius: 9px;
  -moz-border-radius: 9px;
  border-radius: 9px;
  color: #fff;
  font-size: 18px;
  border: 0;
  padding: 0;
  background-color: #0044ab;
  background-image: -webkit-linear-gradient(bottom, #0044ab, #012881);
  background-image: -moz-linear-gradient(bottom, #0044ab, #012881);
  background-image: -o-linear-gradient(bottom, #0044ab, #012881);
  background-image: -ms-linear-gradient(bottom, #0044ab, #012881);
  background-image: linear-gradient(to top, #0044ab, #012881);
}

.formCol3 {
  float: left;
  width: 197px;
  margin-left: 12px;
}

.formCol3:first-child {margin-left: 0}

/* ============================ Подвал */
/* Должен быть равен ПОЛНОЙ высоте блока #footer */
.padding {height: 115px;}

#footer {
  position: relative;
  margin-top: -115px;
  height: 115px;
  border-top: 4px solid #0042AF;
  padding-top: 14px;
}

.counter {margin-top: 5px;}

#footer p {margin: 0;}
