* {margin: 0; padding: 0; box-sizing:border-box} /* устанавливаем для всего отступы 0*/
body{
  min-height: 100%;
  display: flex;
  flex-direction: column;
}
footer{
  text-align: center;
  font-size: 1.5em;
  text-shadow: 5px 5px 0 rgba(0,0,0,0.1);
  flex: 0 0 35px;
  align-items: center;
  padding-top: 7px;
}

@-ms-viewport {
  width: device-width;
}

/*из сьарого css*/

.Block_1 { /* Описываем блок контента (слева) нашего сайта по резиновому Div  ID*/
  min-width: 150px; 
  flex: 0 1 200px;
  margin: 10px 0 0;
  align-self: flex-start;
  /*position: relative;
  float: left; 
  background-color: magenta;
  width: 25%;*/
  background: rgba(255, 255, 255, .1);
  padding: 0 10px 0 20px;
}


.Block_2 {  /*Описываем блок контента нашего сайта по резиновому Div  ID*/
  /*position: relative;
  float: left;
  background-color: grey;
  width: 75%;*/
  min-width: 350px;
  margin: 10px 0 0;
  align-self: flex-start;
  flex: 1 1 800px;
  background: rgba(255, 255, 255, .1);
  padding: 0 10px 0 10px;
}



#content { /*Обертка (Макет) нашего меняющегося контента 2-колоночного в нем вся резина Div  ID*/
  position: relative;
  margin: 2px 0px 2px 0px; /* Отступы сверху и снизу основного контейнера */ 
  
  overflow-y: auto;  /* Скроллер для блока content*/ 
}



table {
  border-collapse: collapse; 
  line-height: 1.1;
  font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif;
  color: #0C213B;
}
/*caption {
  font-family: annabelle, cursive;
  font-weight: bold;
  font-size: 2em;
  padding: 10px; 
  color: #F3CD26;
  text-shadow: 1px 1px 0 rgba(0,0,0,.3);
 }
caption:before, caption:after {
  content: "\274B";
  color: #A9E2CC;
  margin: 0 10px;
}*/
th {
  font-size: 16px;
  padding: 10px; 
  border: 2px solid black;
}
td {
  font-weight: 500;
  font-size: 13px;
  padding: 5px 7px;
  border: 2px solid black;
}






/*из сьарого css*/

/* правка сайта*/
.box_img{
  display: flex;
  flex-direction: row;
  align-items: stretch;
  flex-wrap: wrap;
  justify-content: space-around;
  flex: 0 0 auto;
}

#all-flex-conteiner{
  display: flex;
  flex-direction: row;
  position: relative;
  justify-content: space-around;
  align-items: stretch;
  flex-wrap: wrap;
  margin: 5px 0 0;
  flex: 1;

}




/* контейнер (устанавливает  ширину блока в зависимости от ширины viewport) */
#container {
  display: -webkit-flex; 
  display:flex;
  flex-flow: column wrap;
  padding: 10px;

}


.container1 {
  display:flex;
  position: relative;
  margin: 5px 0  0;
  flex: 1;
}



.head{ /*ОК*/
  display: flex;
  flex-direction: row;
  justify-content: center;
  min-height: 70px;
  align-items: center;
  align-content: center;



}

.box1{
  color:red;
  text-shadow: 5px 5px 0 rgba(0,0,0,0.1);
  flex: 5 1 auto;
  letter-spacing: 10px; 
  font-size: 2em;
 align-self: center;

}

.box2{
  font-size: 2em;
  flex: 1 1 auto;
}

.content{
  display: inline-flex;
}

.box3{
  flex: 1 1 auto;
  flex-flow: column wrap;
padding: 0  8px 0 0;


}
.box4{
  flex: 5 1 auto;
    flex-flow: column wrap;

  text-align: center;
padding: 0 0 0  8px;
}
.foot {
  background-color: yellow;
  margin:  0 10px;
  height: 40px;
}



/* Some CSS Setup - nothing to do with flexbox */



.wrapper {
  flex: 1;
  flex-direction: column;
  height: 100%;

}

/* Flex Box Starts Here! */


/* Flex Container */
.flex-nav ul {
    box-sizing: border-box;
  border:1px solid black;
  list-style: none;
  margin: 0;
  padding: 0;
  display:flex;
}

/* Flex Item */
.flex-nav li {
  flex:1;
}


@media all and (max-width:400px) {
  .head{
    display: flex;
    flex-direction: column;
  }
  #all-flex-conteiner{
    flex-direction: column;
  }
  .block_2{
    display: flex;
    width: 350px;
    font-size: 8px;
  }
  body{
    font-size: 12px;
  }
}





@media all and (max-width:760px) {
  .head{
    flex-wrap:wrap;
  }
}

@media all and (max-width:1000px) {
  .flex-nav ul {
    flex-wrap:wrap;
  }

  .flex-nav li {
    flex:1 1 50%;
  }


}

@media all and (max-width:500px) {
  
  .flex-nav li {
    flex-basis:100%;
  }

}

.swiper-pagination{
  position: relative!important;
  padding-top: 4px;

}
.swiper-pagination-bullet{
  width: 15px!important;
  height: 15px!important;
}

.swiper-container {
    height: 478px;
    width: inherit;
    margin: 0 auto;
    position: relative;
}
.swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;

    /* Center slide text vertically */
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
}
.swiper-slide img {background-size: contain; width: auto; height: 100%}



