.blogi .item .bg:after,
.blogi .item .bg:after {
   content: '';
   display: block;
   position: absolute;
   left: 0;
   top: 0;
   width: 100%;
   height: 100%;
   z-index: 100;
   transition: .5s;
}
.blogi .item:hover .bg:after,
.blogi .item:hover .bg:after {
   background: rgba(0, 0, 0, 0.6);
}
.blogi .item:hover .link .name,
.blogi .item:hover .link .name{
   color: #fff!important;
}


.news .item.type-0 .bg:after,
.news .item.type-1 .bg:after {
   content: '';
   display: block;
   position: absolute;
   left: 0;
   top: 0;
   width: 100%;
   height: 100%;
   z-index: 100;
   transition: .5s;
}
.news .item.type-0:hover .bg:after,
.news .item.type-1:hover .bg:after {
   background: rgba(0, 0, 0, 0.6);
}
.news .item.type-0:hover .link .name,
.news .item.type-1:hover .link .name{
   color: #fff!important;
}

.news .item.type-3:hover .bg {
   background: #0c54a0!important;
}
.news .item.type-3:hover .name {
   color: #fff!important;
}
.news .item .bg {
   transition: .4s;
}
.news .item.type-4:hover .bg {
   background: #a60000!important;
}
.news .item.type-4:hover .bg + .link .name {
   color: #fff!important;
}

.color_a {
   color: #ffffff;
}

.color_a:active{   
   color: #ffffff; 
}

.color_a:visited{   
   color: #ffffff; 
}


.media {}
.media .item {display: block; border: 2px solid #ffffff; position: relative; color: #fff; transition: all .2s;}
.media .item:hover { transition: all .2s; text-decoration: none; background-color: rgba(0,0,0,0.6);}
.media .item .name {font-size: 1.125rem; font-weight: 700; line-height: 1.2;}
.media .item img {display: block; position: absolute; right: 0; bottom: 0; max-width: 75px; height: auto;}


/* блок поискового меню */
/* желательно сверстать нормально */

@media (max-width: 400px) {
   .form-inline {
      display: -ms-flexbox;
      display: flex;
      -ms-flex-flow: row wrap;
      flex-flow: row wrap;
      -ms-flex-align: center;
      align-items: stretch;
      flex-direction: column;
      flex-wrap: nowrap;
  }
   .form-group.mr-3 {
      margin-right: 0!important;
   }
  
}

@media (min-width: 401px) and (max-width: 562px){
   .form-group.mr-3 {
      width: 100%;
      margin-right: 0!important;
   }
   input.btn.btn-sm.btn-danger {
      margin: auto;
      width: 168px;
   }
}

@media (min-width: 533px) and (max-width: 575px) {
   input.btn.btn-sm.btn-danger {
       width: 168px;
   }

   .row {
       margin-right: 0;
       margin-left: 0;
   }

}

@media (min-width: 563px) and (max-width: 575px) {
   input.btn.btn-sm.btn-danger {
       margin-left: auto;
       margin-right: auto;   
   }
}

@media (max-width: 575px) {
   .row {
       margin-right: 0;
       margin-left: 0;
   }
}

@media (min-width: 576px) and (max-width: 767px) {
   input.btn.btn-sm.btn-danger {
       margin-top: 15px;
       margin-left: auto;
       margin-right: auto;
       width: 168px;
   }
}

@media (max-width: 767px) {
   .search-page {
       margin-top: 30px;
   }
}

/* блок поискового меню  end*/

