@charset "utf-8";
/* CSS Document */
 
body {
  margin: 0;
  padding: 0;
  background-color: #fff;
  font-family: Arial, sans-serif;
  color: #444;
  max-width: 1366px;
  margin: auto;
  font-size: 100%;
  line-height: 1.9;
  box-shadow: 0px 0px 13px -10px #222;
}

a, a:visited {
  color: #0000ff;
  text-decoration: underline;
}

a:hover {
  color: #f8b600;
  text-decoration: none;
}

h1 {
  margin-top: 5px;
  color: #555;
  font-weight: 500;
  font-size: 160%;
}

h2 {
  font-size: 140%;
  color: #555;
  font-weight: 500;
}

h3 {
  font-size: 130%;
  color: #444;
  font-weight: 500;
}

.shapka {
  max-width: 100%;
  background:  #FFFFCC url(img/verh.png) repeat-x;
  display: flex;
  justify-content: space-between;
  line-height: 1;
  height:70px
}

.lev_storona {
  display: flex;
  align-items: center;
}

.icon, .icon2 {
  display: none;
  margin: auto;
  margin-right: 0;
  cursor: pointer;
  font-size: 26px;
}

.logo {
  width: 92px;
  display: flex;
  flex-direction: column;
  align-items: center;
  align-self: center;
  margin-left: 50px;
 }

.lk {
  border: none;
  height:55px;
  margin-bottom: 5px;
}

.n1 { height:35px;
margin-bottom: -11px;
margin-left:12px
 
}
 
.linza, .n2 {
  display: none;
}

.poisk {
  margin-top: 22px;
  width: 300px; 
}

.pr_storona {
  display: flex;
  justify-content: flex-end;
  align-items: top;
}
 

/* ПРАВОЕ МЕНЮ */
.menu_bok {
  background-color: #fff;
  flex: 0 0 290px;
  min-width: 290px;
  max-width: 290px;
  text-align: left;
  box-sizing: border-box;
  padding: 5px;
  margin-top: 25px;
}

.menu_bok a {
  display: inline-table;
  text-align: left;
  line-height: 1;
  margin-bottom: 6px;
  font-size: 95%;
  margin-left: 5px;
}
 
 /* КОНТЕНТ */
 
.content {
  display: flex;
  flex-direction: row-reverse;
 }

main {
  flex-basis: 100%;
  box-sizing: border-box;
  padding: 15px;
  text-align: left;
}
 
.main img {
  max-width: 100%;  
}

/* ОФОРМЛЕНИЕ */
 
.table_respon {
  width: 100%;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
 }

.table_respon p { margin: 0;  }
.table_respon td { padding: 0 7px 0 7px;
border: 1px solid #555}

.table_respon  table {
border-collapse:collapse
}

.video {
  font-size: 22px;
  color: #444444;
}

/* ПОДВАЛ  */
footer {
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  background-image: url(img/niz2.png);
  background-repeat: repeat-x;
  background-position: bottom;
  height: 70px;
  background-color:#FFFFCC
}

.down {
  margin-right: 15px;
  font-size: 78%;
  margin-bottom: 10px;
}


@media screen and (max-width : 1060px) {
  
  .icon {
    margin-left: 15px;
    display: inline;
    color: #505050;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  }

  .logo {
    margin-left: 31px;
    margin-top:  3px;
  }

  .center {
   }

  .poisk {
    width: 270px;
  }
  
   .tm1.responsive, .main.responsive {
    pointer-events: none;
    opacity: 0.3;
  }

  .main img {
    max-width: 100%;
    height: auto !important;
  }
}

@media screen and (max-width : 925px) {
  
  .shapka {
    box-shadow: 0 0 3px 0;
    height: 80px;
  }

  .logo { margin-left:20px
    
  }

  .lk {
   }
 
  .poisk {
    width: 250px;
    margin-top: 28px;
  }
 
  .icon2 {
    margin-right: 18px;
    display: inline;
    color: #505050;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  }

  a {
    text-decoration: none;
  }

  .content {
    display: block;
  }

  .main a {
    text-decoration: underline;
  }
 
 /* ПРАВОЕ МЕНЮ */
  .menu_bok {
    width: 0;
    display: none;
  }

  .menu_bok.responsive {
    display: block;
    position: absolute;
    z-index: 9999;
    width: 335px;
    max-width: 99%;
    right: 0;
    top: -20px;
    background-color: #fafffe;
    padding-bottom: 25px;
    padding-top: 26px;
    border: #cdcdcdc 1px solid;
    border-right: none;
    box-sizing: border-box;
    box-shadow: -3px 3px 5px -4px #989898;
  }

  .menu_bok.responsive a {
    display: inline-table;
    line-height: 1;
    text-align: left;
    margin-left: 20px;
    margin-bottom: 17px;
    font-size: 100%;
  }

  
 /* КОНТЕНТ */
  .content {
    display: block;
    position: relative;
  }

  .main {
    text-align: center;
    width: 100%;
    box-sizing: border-box;
  }
  
  .table_respon { 
  margin: auto;
}

.main table {
  margin: auto; 
}
}

@media screen and (max-width : 820px) {

  .shapka {
    height: 70px;
  } 
  
  .center {
    margin-left: auto;
    margin-right: auto;
  }

  .poisk {
    margin-top: 20px;
  }
}

@media screen and (max-width : 780px) {
 
  .shapka {
    position: relative;
    height: 65px;
  }

  .logo {
     width: 65px;
    display: flex;
    flex-direction: column;
    align-items: center;
    align-self: center;
    margin-left: -2px;
  }

  .lk {
    margin-bottom: 3px;
    height: 35px;
  }
  
  .n1 { display:none}
  
  .n2 {
   display:block;
   height:40px;
  margin-left:5px}
   
  .center {
    width: 100%;
    display: flex;
    margin-right: auto;
    justify-content: flex-end;
    align-items: center;
    padding-right: 24px;
  }

  .poisk {
    display: none;
    margin: 0;
  }

  #menu3 {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    cursor: pointer;
  }

  .linza {
    display: block;
    height: 25px;
  }
 
  .poisk.responsive {
    width: 77%;
    position: absolute;
    display: block;
    background-color: #fff;
    border: 1px #ccc solid;
    padding: 7px 5px 4px 5px;
    box-shadow: 0px 0px 8px -3px #6683ce;
    top: 53px;
    right: 40px;
    z-index: 99;
  }

  h1 {
    font-size: 170%;
    line-height: 1.5;
  }
 
}

@media screen and (max-width : 310px) {
  nav {
    max-width: 80%;
  }
}

.blok1 {margin:auto; margin-top:20px; margin-bottom: 20px;}
  .rek1 {margin:auto; max-width: 728px; }
.blok2 {margin:auto; margin-top: 26px; margin-bottom:20px; max-width:91%;  }
.blok3 {margin:auto; margin-top:20px;  max-width: 728px;  }
  .rek3 {margin:auto; max-width: 728px;}
@media (min-width:800px) { .rek1 {margin:auto; max-width:728px; height: 90px; } .blok2 {max-width:730px }}
