@media screen and (max-width:1499px){
.header_brand{
flex-wrap:wrap;
}
div.media-body:nth-child(1){
text-align:center;
}
}
/*исправление жирной шапки*/
@media screen and (max-width: 560px){
  #carousel-example-generic .carousel-item {
    height: 180px;
}
}
@media (min-width:980px) and (max-width: 1560px){
  #carousel-example-generic .carousel-item {
    height: 340px;
}
}
@media (max-width: 1500px){
header .header_top_nav > .container > .row > div:first-of-type {
    width: 60%;
    order: 0; 
    padding: 10px 0;
}
header .header_top_nav > .container > .row > div:last-of-type {
    order: 0;
    border-bottom: 1px solid #ebebeb;
}
header .header_top_nav > .container > .row {
    display: flex;
    flex-direction: row;
}

}

body > header > div.header_top_nav.background_light_gray{
    display: flex;
    flex-direction: row;
  background: #478477;
}
header .header_top_nav ul li a {
    color: white;
}
header .header_top_nav ul.right_nav li a {
    color: white;
}
footer {
    background: #478477;
}
.side_panel .table-menu > ul > li:hover {
    background: #478477;
}
.side_panel .table-menu > ul > li > ul > li:hover {
    background: #478477;
}
.side_panel .table-menu ul > li:hover > a {
    background: #478477;

}
.side_panel .table-menu ul > li > a:hover{
  color: white!important;
}
header .header_top_nav ul li a:hover {
    color: #bdbcbc;
}

.test_flex{
    display: flex;
    flex-flow: column wrap;
}
.test_block:nth-child(odd){
   border-radius: 20px;
    background: #f4f4f4;
}
.test_block{
   border-radius: 20px;
    padding: 10px 2% 10px 2%;
  display: flex;
}
.test_img{
  width: 130px;
    height: 130px;
    margin: 10px 70px 10px 5px;
    border-radius: 30%;
    display: flex;
    align-items: center;
    background: #eaeaea;
    justify-content: center;
}
 div:nth-child(even) > div.test_img{
  margin: 10px 5px 10px 70px!important;
}
 div:nth-child(even) > div.test_img{
    order: 2;
}
.test_img > img{
  width: 130px;
}

@media (max-width: 520px){
  .test_block{
flex-wrap: wrap;
}
  .test_img {
    margin: 10px 22% 10px 22%;
}
   div:nth-child(even) > div.test_img{
    order: 0;
}
}
.phone_number{
font-weight:900;
  font-family: arial;
}