@media (max-width: 900px) {
  body, html {
    width: 100vw;
    max-width: 100vw;
    overflow-x: hidden;
    box-sizing: border-box;
  }
  .conteiner, main, .main-content, section, header {
    width: 100vw;
    max-width: 100vw;
    box-sizing: border-box;
    overflow-x: hidden;
    margin: 0 auto;
    padding: 0 5px;
  }
  aside, .aside {
    display: none !important;
  }
  header {
    display: block;
    text-align: center;
    position: relative;
    padding: 10px 5px 0 5px;
  }
  header .name, header .p_header {
    width: 100%;
    float: none;
    margin: 0 auto 10px auto;
    text-align: center;
    display: block;
    padding: 0;
  }
  header .name img {
    max-width: 80vw;
    height: auto;
    display: block;
    margin: 0 auto 10px auto;
  }
  header .p_header img {
    max-width: 60vw;
    height: auto;
    display: block;
    margin: 0 auto 5px auto;
  }
  header .name h1, header .name p, header .p_header p, header .p_h, header .p_h_1 {
    text-align: center;
    font-size: 1.1em;
    padding: 0;
    margin: 0 auto 5px auto;
    word-break: break-word;
  }
  .mobile-menu-btn {
    display: block;
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10001;
    width: 40px;
    height: 40px;
    background: #0D5997;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    padding: 0;
  }
  .mobile-menu-btn span {
    display: block;
    position: relative;
    width: 26px;
    height: 4px;
    background: #fff;
    border-radius: 2px;
    margin: 0 auto;
  }
  .mobile-menu-btn span:before,
  .mobile-menu-btn span:after {
    content: '';
    position: absolute;
    left: 0;
    width: 26px;
    height: 4px;
    background: #fff;
    border-radius: 2px;
    transition: 0.3s;
  }
  .mobile-menu-btn span:before {
    top: -10px;
  }
  .mobile-menu-btn span:after {
    top: 10px;
  }
  nav ul {
    display: none;
    flex-direction: column;
    width: 100vw;
    height: 100vh;
    max-height: 100vh;
    background: #0D5997;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 20000;
    overflow-y: auto;
    padding-top: 60px;
  }
  nav ul.active {
    display: flex;
  }
  body.menu-open {
    overflow: hidden;
  }
  nav li, nav li a {
    width: 100%;
    box-sizing: border-box;
    text-align: left;
    padding-left: 20px;
  }
}
  html, body {
    width: 100vw;
    max-width: 100vw;
    overflow-x: hidden;
    box-sizing: border-box;
  }
  .conteiner, main, .main-content, section, header {
    width: 100vw;
    max-width: 100vw;
    box-sizing: border-box;
    overflow-x: hidden;
    margin: 0 auto;
    padding: 0 5px;
  }
  header {
    display: block;
    text-align: center;
    position: relative;
    padding: 10px 5px 0 5px;
  }
  header .name, header .p_header {
    width: 100%;
    float: none;
    margin: 0 auto 10px auto;
    text-align: center;
    display: block;
    padding: 0;
  }
  header .name img {
    max-width: 80vw;
    height: auto;
    display: block;
    margin: 0 auto 10px auto;
  }
  header .p_header img {
    max-width: 60vw;
    height: auto;
    display: block;
    margin: 0 auto 5px auto;
  }
  header .name h1, header .name p, header .p_header p, header .p_h, header .p_h_1 {
    text-align: center;
    font-size: 1.1em;
    padding: 0;
    margin: 0 auto 5px auto;
    word-break: break-word;
  }
  .mobile-menu-btn {
    display: block;
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10001;
    width: 40px;
    height: 40px;
    background: #0D5997;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    padding: 0;
  }
  .mobile-menu-btn span {
    display: block;
    position: relative;
    width: 26px;
    height: 4px;
    background: #fff;
    border-radius: 2px;
    margin: 0 auto;
  }
  .mobile-menu-btn span:before,
  .mobile-menu-btn span:after {
    content: '';
    position: absolute;
    left: 0;
    width: 26px;
    height: 4px;
    background: #fff;
    border-radius: 2px;
    transition: 0.3s;
  }
  .mobile-menu-btn span:before {
    top: -10px;
  }
  .mobile-menu-btn span:after {
    top: 10px;
  }
}
    aside, .aside {
      display: none !important;
    }
  .conteiner {
    min-width: 100vw;
    max-width: 100vw;
    box-sizing: border-box;
    padding: 0 5px;
    overflow-x: hidden;
  }
  header {
    width: 100vw;
    margin-left: 0;
    background-size: cover;
    box-sizing: border-box;
    overflow: hidden;
    padding: 10px 5px 0 5px;
    display: block;
    text-align: center;
    position: relative;
  }
  .mobile-menu-btn {
    display: block;
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10001;
  }
  nav.top_nav {
    display: block;
    position: relative;
    z-index: 10000;
    width: 100vw;
    margin-left: 0;
    box-sizing: border-box;
  }
  header .name, header .p_header {
    width: 100%;
    float: none;
    margin: 0 auto;
    text-align: center;
    padding: 0;
    display: block;
  }
  header .name h1 {
    font-size: 2em;
    padding: 0;
     text-align: center;
  }
   header .name p, header .p_header p, header .p_h, header .p_h_1 {
     text-align: center;
     font-size: 1em;
     padding: 0;
     margin: 0 auto 5px auto;
     word-break: break-word;
   }
   header img {
     max-width: 90vw;
     height: auto;
     display: block;
     margin: 0 auto;
   }
  nav.top_nav {
    width: 100vw;
    margin-left: 0;
    position: static;
    box-sizing: border-box;
  }
  main, .main-content, .content {
    width: 100vw;
    box-sizing: border-box;
    overflow-x: hidden;
    padding: 0 5px;
  }
   .main-content, .content, .banner, .article, .karusel {
     max-width: 100vw;
     overflow-x: hidden;
     box-sizing: border-box;
   }

  .conteiner {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }
  aside, .aside {
    width: 100vw;
    max-width: 100vw;
    box-sizing: border-box;
    float: none;
    margin: 0 0 10px 0;
    display: block;
    position: static;
    order: 1;
  }
  .banner, .main-banner, .main-banner-block {
    width: 100vw;
    max-width: 100vw;
    box-sizing: border-box;
    margin: 0 auto 10px auto;
    display: block;
    position: static;
    order: 2;
  }
  .main-content, .content, main, section {
    width: 100vw;
    max-width: 100vw;
    box-sizing: border-box;
    float: none;
    margin: 0 auto;
    display: block;
    position: static;
    order: 3;
    clear: both;
  }
}
@import url('https://fonts.googleapis.com/css?family=Open+Sans:300,400,400i,600,700&display=swap&subset=cyrillic');

@font-face {
  font-family: MyCustomFont;
  src: url("barkentina.eot") /* EOT file for IE */
}

@font-face {
  font-family: MyCustomFont;
  src: url("barkentina.ttf") /* TTF file for CSS3 browsers */
}

@font-face {
  font-family: HeaderText;
  src: url("bradobrei.eot") /* EOT file for IE */
}

@font-face {
  font-family: HeaderText;
  src: url("bradobrei.ttf") /* TTF file for CSS3 browsers */
}

@font-face {
  font-family: Epit;
  src: url("Monotype_Corsiva.ttf") /* TTF file for CSS3 browsers */
}

* {
  margin: 0;
  padding: 0;
}

img {
  border: none;
}

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

body {
  background: #ececec url("images/granit_texture1841.jpg") fixed;
  /*background-size: cover;*/
  font-family: 'Open Sans', sans-serif;
  font-weight: 400;
  font-size: 16px;
}

.conteiner {
  background: #fff;
  min-width: 1290px;
  max-width: 1290px;
  min-height: 1154px;
  border: 5px solid #fff;
  border-top: 0;
  border-bottom: 0;
  margin: 5px auto 0;
  box-shadow: 0 0 9px 8px rgba(0, 0, 0, .2);
}

header {
  background-image: url(images/4.jpg);
  background-size: cover; /* Нужно, чтобы фоновое изображение покрывало всё доступное пространство */
  background-clip: border-box; /* Обычно это значение и нужно */
  background-origin: border-box; /* Нужно, чтобы фоновое изображение покрывало пайдинги, которые в адаптивных контейнерах обязательно существуют */
  background-position: center; /* Расположение в центре - это самое правильное с визуальной точки зрения решение */
  background-repeat: no-repeat; /* Повторяемое отображение фона не нужно, что собенно важно для обратной совместимости со старыми IE6-8 */
  z-index: 9999;
  width: 1290px;
  margin-left: -5px;
}

header .name {
  float: right;
  font-family: MyCustomFont;
  display: block;
  margin-right: 5%;
  margin-top: 59px;
  width: 33%;
}

header .name p {
  margin-top: 10px;
}

header .name h1 {
  font-size: 5em;
  color: #fff;
  padding-top: 5%;
  padding-left: 5%;
}

header h1 {
  padding-bottom: 4%;
}

header .name p {
  font-size: 1.7em;
  color: #fff;
  padding-left: 5%;
  padding-top: 10%;
}

header .left-header {
  float: right;
  padding-top: 20px;
  padding-right: 5%;
  width: 25%;
  /*height: 90px;*/
}

header .p_header {
  float: right;
  margin-right: -504px;
  margin-top: 170px;
  width: 500px;
  margin-bottom: 20px;
}

header .p_header img {
  padding-right: 20px;
  float: left;
}

header .p_header > p {
  font-size: 26px;
  font-weight: 600;
  color: black;
  margin: 4px 0 10px 73px;
}

header .p-center {
  padding-left: 10%;
}

header .p-header {
  padding-top: 15px;
}

header .rightimg {
  margin: 7px 7px 7px 0;
}

nav {
  background: #0D5997;
  margin-bottom: 25px;

  /*height:60px;
  z-index:170;
  margin:0auto;
  border-bottom:1pxsolid#dadada;
  width:100%;
  position:fixed;
  top:0;
  left:0;
  right:0;
  text-align: center; */
}

.top_nav {
  top: 293px;
  position: fixed;
  z-index: 1;
  width: 1290px;
  margin-left: -5px;
}

nav .left_nav {
  float: left;
}

.right_nav {
  float: right;
}

nav ul {
  width: 100%;
  padding: 0 60px;
  text-align: center;
}

nav li {
  margin-left: 40px;
  display: inline-block;
  height: 50px;
}

nav li:first-child {
  margin-left: 0;
}

  nav ul {
    display: none;
    flex-direction: column;
    width: 100vw;
    height: 100vh;
    max-height: 100vh;
    background: #0D5997;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 20000;
    overflow-y: auto;
    padding-top: 60px;
  }
  nav ul.active {
    display: flex;
  }
  body.menu-open {
    overflow: hidden;
  }
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background: #0D5997;
  border: none;
  border-radius: 5px;
  z-index: 10001;
  cursor: pointer;
}
.mobile-menu-btn span,
.mobile-menu-btn span:before,
.mobile-menu-btn span:after {
  display: block;
  position: absolute;
  width: 26px;
  height: 4px;
  background: #fff;
  border-radius: 2px;
  transition: 0.3s;
}
.mobile-menu-btn span {
  top: 18px;
  left: 7px;
}
.mobile-menu-btn span:before {
  content: '';
  top: -10px;
  left: 0;
}
.mobile-menu-btn span:after {
  content: '';
  top: 10px;
  left: 0;
}

@media (max-width: 900px) {
  .conteiner {
    min-width: 100vw;
    max-width: 100vw;
    box-sizing: border-box;
    padding: 0 5px;
  }
  header {
    width: 100vw;
    margin-left: 0;
    background-size: cover;
  }
  .top_nav {
    width: 100vw;
    margin-left: 0;
    position: static;
  }
  nav ul {
    display: none;
    flex-direction: column;
    width: 100vw;
    background: #0D5997;
    position: absolute;
    top: 60px;
    left: 0;
    z-index: 10000;
  }
  nav ul.active {
    display: flex;
  }
  nav li {
    display: block;
    margin: 0;
    border-bottom: 1px solid #fff2;
    height: auto;
  }
  nav li a {
    display: block;
    padding: 15px 20px;
    font-size: 18px;
    line-height: 1.2;
  }
  .mobile-menu-btn {
    display: block;
  }
  .left_nav, .right_nav, .navpromo {
    display: none;
  }
}

nav li a:hover {
  text-decoration: underline;
  color: #fff;
}

nav li a.clickMe {
  font-weight: 600;
  position: relative;
  border: 1px solid #fff;
  padding: 5px 5px 5px 28px;
}

nav li a.clickMe:before {
  content: '';
  background: url(/views/nekropol/images/Phone2.png) no-repeat;
  position: absolute;
  width: 18px;
  height: 18px;
  left: 5px;
  top: 7px;
}
nav li a.clickMe:hover {
  text-decoration: none;
}

.img {
  margin-top: 3px;
  margin-right: 20px;

}


article .plus_jop {
  float: left;
  height: 28%;
  width: 33%;
  margin: 0 0 20px;
}
article .plus_jop img {
  width: 40px;
  margin: 0 15px 0 0;
}


.plus {
  width: 930px;
  float: left;
}

article .plus_h1 {
  padding-top: 15px;
  padding-bottom: 20px;
  text-align: center;
  font-size: 1.8em;
  color: #0d5997;
}

article .plus_jop p {
  padding-top: 0;
  font-size: 14px;
  margin: 0;
}

article .section_2 {
  margin-right: 20px;
  float: right;
  padding-top: 15px;
  width: 75%;
  /*height: 20%;*/
}

article section .line {
  width: 930px;
  height: 50px;
  float: right;
  background: #0d5997;
  text-align: center;
  margin: 0 0 15px;
}

article section .line p {
  color: #fff;
  line-height: 50px;
  font-size: 23px;
  font-weight: 600;
}
/**************************Прокрутка **************************/
.clearout {
  height: 20px;
  clear: both;
}

#flexiselDemo1, #flexiselDemo2, #flexiselDemo3, #flexiselDemo5 {
  display: none;
  margin-top: 10px;
}


.nbs-flexisel-container {
  float: right;
  position: relative;
  max-width: 930px;
}

.nbs-flexisel-ul {
  position: relative;
  width: 9999px;
  margin: 0px;
  padding: 0px;
  list-style-type: none;
  text-align: center;
}

.nbs-flexisel-inner {
  overflow: hidden;
  float: right;
  width: 100%;
  background: #fff;
  background: #fff;
-moz-linear-gradient(top, #fcfcfc 0 %, #eee 100 %); /* FF3.6+ */
  background: #fff;
-webkit-gradient(linear, left top, left bottom, color-stop(0 %, #fcfcfc), color-stop(100 %, #eee)); /* Chrome,Safari4+ */
  background: #fff;
-webkit-linear-gradient(top, #fcfcfc 0 %, #eee 100 %); /* Chrome10+,Safari5.1+ */
  background: #fff;
-o-linear-gradient(top, #fcfcfc 0 %, #eee 100 %); /* Opera11.10+ */
  background: #fff;
-ms-linear-gradient(top, #fcfcfc 0 %, #eee 100 %); /* IE10+ */
  background: #fff;
linear-gradient(top, #fcfcfc 0 %, #eee 100 %); /* W3C */
  border: 1px solid #ccc;
  border-radius: 5px;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
}

.nbs-flexisel-item {
  float: left;
  margin: 0px;
  padding: 10px;
  cursor: pointer;
  position: relative;
  line-height: 0px;
}

.nbs-flexisel-item img {
  width: 100%;
  cursor: pointer;
  position: relative;
  margin-top: 5px;
  margin-bottom: 5px;
  max-width: 150px;
  max-height: 150px;
}

/*** Navigation ***/

.nbs-flexisel-nav-left,
.nbs-flexisel-nav-right {
  width: 30px;
  height: 30px;
  position: absolute;
  cursor: pointer;
  opacity: 0.5;
}

.nbs-flexisel-nav-left {
  left: 5px;
  margin-top: 5px;
  background: url(./images/button-previous.png) no-repeat;
}

.nbs-flexisel-nav-right {
  right: 5px;
  margin-top: 5px;
  background: url(./images/button-next.png) no-repeat;
}


/******************************Карусель***********************************/
#wrapper {
  width: 930px;
  height: 437px;
  margin: 0 0 40px;
  float: right;
  box-shadow: 0 5px 15px #013;
  position: relative;
}

#carousel {
  width: 890px;
  height: 424px;
  /*overflow: hidden;*/
}

#carousel img {
  display: block;
  float: left;
}

#thumbs {
  display: none;
  border: 1px solid rgba(0, 0, 0, 0.8);
  background-color: rgba(0, 0, 0, 0.5);
  width: 150px;
  height: 75px;
  padding: 10px;
  position: absolute;
  top: 240px;
  right: 10px;
  z-index: 10;
}

#thumbs img {
  display: block;
  float: left;
}


/*********************************Каталог****************************************/
.catalog {
  float: left;
  width: 930px;
  margin: 0;
}

.catalog .h1_catalog {
  float: left;
  width: 100%;
  margin: 0;
}

.catalog > p {
  margin: 0 0 15px;
}

.catalog > ul {
  list-style: none;
  margin: 0 0 20px;
}

.info_catalog {
  height: 41px;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 9px 10px;
}

.product-table {
  background-image: url(images/catalog2.png);
  background-size: 296px 280px;
  float: left;
  width: 296px;
  height: 280px;
  margin: 0 20px 20px 0;
  position: relative;
  padding: 10px;
}

.product-table:nth-child(3n) {
  margin-right: 0;
}

.product-table h2 a {
  text-decoration: none;
  font-size: 22px;
  color: #0d5997;
}

.p_table {
  width: 50%;
  float: left;
}

.cat-table-more a {
  color: #021e46;
  font-weight: 600;
  text-decoration: none;
}

.p_table_sale {
  width: 50%;
  text-align: right;
  color: #fff;
  float: left;
  font-weight: 700;
}

.product-table-img {
  text-align: center;
}

.product-table-img img {
  padding-top: 10px;
}

/*-------------------------------детальный Продукт-------------------------------------*/
.product {
  margin-top: 0;
  margin-left: 0;
}

.product-table2 {
  float: left;
  width: 930px;
  margin: 0;

}

.product-table-img2 {
  text-align: left;
  padding-right: 30px;
  padding-bottom: 30px;
  float: left;
}

.info {
  text-align: left;
  margin: 0 0 15px;
}

.p_info {
  background: #d9d9d9;
  padding: 15px;
}

.p_info p {
  text-align: left;
  font-size: 18px;
  font-family: georgian;
}

.p_table_sale2 {
  /*border: 1px solid black;*/
  text-align: left;
  font-size: 18px;
  padding-top: 10px;
}

.p_table_sale2 p {
  /*border: 1px solid black;*/
  font-size: 18px;
}


.p_table_sale2 span {
  font-size: 24px;
  color: #24CDF4;
}

.line2 {
  text-align: center;
  width: 100%;
  height: 50px;
  background-color: #0D5997;
  margin: 0 0 15px;
}

.line2 img {
  float: right;
}

.line2 h2, .line2 .h2 {
  color: #fff;
  line-height: 50px;
  font-size: 23px;
  font-weight: 600;
}
.line2 h2 small, .line2 .h2 small {
  color: #ccc;
}

/*-------------------------------Аккордеон-------------------------------------*/
.img_lef_menu {
  padding-top: 5px;
  padding-left: 10px;
  padding-right: 10px;
}

/*-------------------------------Footer-------------------------------------*/
footer {
  background: #0d5997;
  padding: 15px;
  color: #fff;
  margin-top: 15px;
  width: 1290px;
  margin-left: -5px;
}

footer a {
  text-decoration: none;
  color: #fff;
}

footer a:hover {
  text-decoration: underline;
}

footer .copy {
  text-align: center;
  font-size: 14px;
  width: 100%;
  margin-top: 30px;
}

footer .city {
  width: 50%;
  float: left;
}

footer .city ul li {
  list-style: none;
  float: left;
  padding: 0 0 0 11px;
}

.footer_left {
  float: right;
  width: 300px;
}

.footer_left li {
  color: #fff;
  list-style: none;
}

.footer_left img {
  padding-top: 5px;
  padding-right: 15px;

}

/*----------------------------------------Тексты из БД---------------------------------------*/
/*На индексной странице*/
.text_index h1, .text_index h2, .catalog h1 {
  text-align: center;
  padding-bottom: 20px;
  line-height: 1.2;
  font-size: 23px;
}

.text_index {
  margin: 0 auto;
  padding-bottom: 20px;
  width: 930px;
  float: right;

}

.text_index p {
  margin-bottom: 15px;
}

.text_index ul {
  font-size: 16px;
  margin-bottom: 15px;
  line-height: 23px;
  padding-left: 40px;
}

.text_index ul li {
  list-style-type: disc;
}

/*контакты*/
.page_contacts {
  float: left;
  width: 930px;
  margin: 0;
}

.page_contacts p {
  margin-bottom: 15px;
}

.page_contacts .map_yandex {
  margin: 0 0 15px;
}

/*--------------------------Обратный звонок----------------------------*/
.phone {
  width: 100%;
  border: 1px solid #B7B7B7;
  font-size: 18px;
  text-align: center;
  margin-top: 20px;
  position: relative;
  height: 70px;
}

.phone a {
  text-decoration: none;
  color: #0d5997;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.phone a:hover {
  background-color: #efefef;
}

.phone img {
  padding: 10px;
  height: 68px;
}

.phone b {
  line-height: 68px;
  text-decoration: none;
}

.phone2 {
  height: 70px;
  width: 200px;
  border: 1px solid #B7B7B7;
  font-size: 18px;
  text-align: center;
  margin-top: 257px;
}

.phone2 img {
  padding-left: 10px;
  padding-top: 10px;
}


.overlay {
  background-color: rgba(0, 0, 0, 0.7);
  bottom: 0;
  cursor: default;
  left: 0;
  opacity: 0;
  position: fixed;
  right: 0;
  top: 0;
  visibility: hidden;
  z-index: 9999;
  -webkit-transition: opacity .5s;
  -moz-transition: opacity .5s;
  -ms-transition: opacity .5s;
  -o-transition: opacity .5s;
  transition: opacity .5s;
}

.popup {
  background-color: #fff;
  display: inline-block;
  left: 50%;
  opacity: 0;
  padding: 15px 20px;
  width: 350px;
  position: fixed;
  top: 50%;
  visibility: hidden;
  z-index: 99999;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  -webkit-transition: opacity .5s, top .5s;
  -moz-transition: opacity .5s, top .5s;
  -ms-transition: opacity .5s, top .5s;
  -o-transition: opacity .5s, top .5s;
  transition: opacity .5s, top .5s;
}

.popup .close_order {
  font-size: 13px;
  display: block;
  position: absolute;
  padding: 3px 8px 5px 8px;
  top: -15px;
  right: -15px;
  cursor: pointer;
  color: #fff;
  font-family: 'tahoma', sans-serif;
  background: -webkit-gradient(linear, left top, right top, from(#3d51c8), to(#051fb8));
  background: -webkit-linear-gradient(top, #3d51c8, #051fb8);
  background: -moz-linear-gradient(top, #3d51c8, #051fb8);
  background: -o-linear-gradient(top, #3d51c8, #051fb8);
  background: -ms-linear-gradient(top, #3d51c8, #051fb8);
  background: linear-gradient(top, #3d51c8, #051fb8);
  background-color: #3d51c8;
  border: 1px solid #061fb8;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -o-border-radius: 50%;
  -ms-border-radius: 50%;
  border-radius: 50%;
  text-align: center;
  box-shadow: -1px 1px 3px rgba(0, 0, 0, 0.5);
  line-height: 1;
}

.popup .close_order:hover {
  background: -webkit-gradient(linear, left top, right top, from(#051fb8), to(#3d51c8));
  background: -webkit-linear-gradient(top, #051fb8, #3d51c8);
  background: -moz-linear-gradient(top, #ff5f0, #3d51c87);
  background: -o-linear-gradient(top, #051fb8, #3d51c8);
  background: -ms-linear-gradient(top, #051fb8, #3d51c8);
  background: linear-gradient(top, #051fb8, #3d51c8);
  background-color: #051fb8;
  border: 1px solid #00385E;
}

.popup .close_order:active {
  background: #8f9be0;
}

#contactform input[type="email"], #contactform input[type="tel"], #contactform input[type="text"] {
  font-size: 15px;
  border: 1px solid #ccc;
  padding: 4px 7px;
  border-radius: 2px;
  -moz-border-radius: 2px;
  -webkit-border-radius: 2px;
  text-align: left;
  -moz-box-shadow: inset 1px 1px 4px #ccc;
  -webkit-box-shadow: inset 1px 1px 4px #ccc;
  box-shadow: inset 1px 1px 4px #ccc;
  margin: 0 0 7px;
  width: 100%;
}

#contactform textarea {
  resize: none;
  padding: 6px;
  width: 100%;
  height: 80px;
  font-size: 17px;
  border: 1px solid #ccc;
  border-radius: 2px;
  -moz-border-radius: 2px;
  -webkit-border-radius: 2px;
  text-align: left;
  margin: 0 0 7px;
  -moz-box-shadow: inset 1px 1px 4px #ccc;
  -webkit-box-shadow: inset 1px 1px 4px #ccc;
  box-shadow: inset 1px 1px 4px #ccc;
}

#contactform input[type="checkbox"] {
  float: left;
}

.popup #contactform {
  position: relative;
  background: none;
}

#contactform h6 {
  display: block;
  font-size: 16px;
  margin: 0 0 5px;
}

#contactform .button {
  background: -webkit-gradient(linear, left top, right top, from(#3d51c8), to(#051fb8));
  background: -webkit-linear-gradient(top, #3d51c8, #051fb8);
  background: -moz-linear-gradient(top, #3d51c8, #051fb8);
  background: -o-linear-gradient(top, #3d51c8, #051fb8);
  background: -ms-linear-gradient(top, #3d51c8, #051fb8);
  background: linear-gradient(top, #3d51c8, #051fb8);
  background-color: #3d51c8;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  -o-border-radius: 4px;
  -ms-border-radius: 4px;
  border-radius: 4px;
  text-shadow: 1px 0px 1px rgba(34, 36, 36, .75);
  border: 1px solid #061fb8;
  color: #ffffff;
  display: block;
  font-size: 14px;
  font-weight: bold;
  width: 98px;
  padding: 6px;
  outline: medium none;
  text-align: center;
  vertical-align: middle;
  margin: 10px auto;
  text-decoration: none;
  cursor: pointer;
  box-shadow: -1px 1px 3px rgba(0, 0, 0, 0.5);
}

#contactform .button:hover {
  background: -webkit-gradient(linear, left top, right top, from(#051fb8), to(#3d51c8));
  background: -webkit-linear-gradient(top, #051fb8, #3d51c8);
  background: -moz-linear-gradient(top, #ff5f0, #3d51c87);
  background: -o-linear-gradient(top, #051fb8, #3d51c8);
  background: -ms-linear-gradient(top, #051fb8, #3d51c8);
  background: linear-gradient(top, #051fb8, #3d51c8);
  background-color: #051fb8;
  border: 1px solid #00385E;
  text-decoration: none;
}

#contactform .button:active, #contactform input[type="submit"].button:disabled {
  opacity: 0.5;
  background: -webkit-gradient(linear, left top, right top, from(#3d51c8), to(#051fb8));
  background: -webkit-linear-gradient(top, #3d51c8, #051fb8);
  background: -moz-linear-gradient(top, #3d51c8, #051fb8);
  background: -o-linear-gradient(top, #3d51c8, #051fb8);
  background: -ms-linear-gradient(top, #3d51c8, #051fb8);
  background: linear-gradient(top, #3d51c8, #051fb8);
  background-color: #3d51c8;
  cursor: default;
}

#contactform .phoneFormat {
  line-height: 12px;
  font-size: 12px;
  color: #ccc;
  margin: 0 0 7px;
}

#contactform label {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
}

/*--------------------------Обратный звонок----------------------------*/
.order {
  float: left;
  margin-top: 20px;
}

.order p {
  text-align: center;
}

/*--------------------------Кнопка оформления заказа----------------------------*/
button {
  float: left;
  margin-top: 15px;
  background: #2E8CE3;
  padding: 7px 30px;
  font-size: 13px;
  font-weight: bold;
  color: #FFFFFF;
  text-align: center;
  border: solid 1px #73C8F0;
  cursor: pointer;
  border-radius: 5px;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  background: -moz-linear-gradient(0% 100% 90deg, #2E8CE3, #73C2FD);
  background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#73C2FD),
  to(#2E8CE3));
  box-shadow: inset 0 1px 0 0 #FFFFFF;
  -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  border-bottom: 1px solid rgba(0, 0, 0, 0.25);
  text-shadow: 0 -1px 1px rgba(0, 0, 0, 0.25);
}

button:hover {
  background: #fff;
  background: -moz-linear-gradient(0% 100% 90deg, #2E69E3, #59C2FF);
  background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#59C2FF),
  to(#2E69E3));
}

button:active {
  background: #fff;
  background: -moz-linear-gradient(0% 100% 90deg, #2E69E3, #59C2FF);
  background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#59C2FF),
  to(#2E69E3));
  box-shadow: inset 1px 1px 0 0 #004A7F;
  -moz-box-shadow: inset 1px 1px 0 0 #004A7F;
  -webkit-box-shadow: inset 1px 1px 0 0 #004A7F;
  padding: 8px 29px 6px 31px;
}

button a {
  text-decoration: none;
  color: #fff;
}

/*---------------------map_yandex---------------------------*/
.contact_img {
  padding-top: 20px;
}

.p_h {
  font-family: 'HeaderText';
  /*text-transform:uppercase;*/

}

.p_h_1 {
  padding-left: 196px;
  font-family: 'HeaderText';
}

.count {
  float: left;
  margin-top: -10px;
}

.page_contacts h2 {
  padding: 15px;
}

.page_contacts h3 {
  padding: 15px;
}


/******************************Карусель-для SEO***********************************/
#wrapper2 {
  width: 930px;
  margin: 0;
  float: right;
}

#carousel2 {
  width: 890px;
  height: 230px !important;
  /*overflow: hidden;*/
}

#carousel2 img {
  display: block;
  float: left;
}

#pager {
  text-align: right;
  padding: 11px 0px;
}

#pager a {
  background-color: #356;
  display: inline-block;
  width: 15px;
  height: 15px;
  margin-right: 6px;
  border-radius: 10px;
  box-shadow: 0 1px 1px #cef;
}

#pager a.selected {
  background-color: #134;
}

#pager a span {
  display: none;
}

#thumbs {
  display: none;
  border: 1px solid rgba(0, 0, 0, 0.8);
  background-color: rgba(0, 0, 0, 0.5);
  width: 150px;
  height: 75px;
  padding: 10px;
  position: absolute;
  top: 240px;
  right: 10px;
  z-index: 10;
}

#thumbs img {
  display: block;
  float: left;
}

.banner-img {
  margin-right: 20px;

}

.text-banner {
  padding-left: 30px;
}

.h1_catalog h1, .page_contacts h1 {
  text-align: center;
  font-size: 24px;
  margin-bottom: 15px;
  padding: 0;
}

.text-banner2 {
  padding-left: 30px;
  text-align: center;
}

.text-justify {
  text-align: justify;
}

.navpromo {
  font-size: 21px;
  font-weight: 600;
  background: #FFD700;
  text-align: center;
  color: red;
  padding: 10px 0;
}

.floatleft {
  float: left;
}