/*.security_blocs_wrapper {display: flex;}*/
.security_index {
    display: table;
    width: 100%;
    overflow: hidden;
}
.security_index_bloc {
    width: 20%;
    display: inline-block;
    margin: 0;
    float: left;
    overflow: hidden;
    position: relative;
    background: #dbdbdb;
}
.security_index_bloc img {
    width: 100%;
    max-height: 370px;
}
.security_index_title {
    padding: 70px 0;
    background: #123b8a;
    text-align: center;
    color: #FFF;
    font-weight: bold;
    font-size: 50px;
    text-transform: uppercase;
}
.security_index_title span {
    line-height: 50px;
    position: relative;
    padding: 10px;
    letter-spacing: 3px;
}
.security_index_title span:before {
    position: absolute;
    content: "";
    width: 160px;
    height: 7px;
    bottom: -5px;
    left: 10px;
    background: #FFF;
}
.security_category_title {
    padding: 10px;
    text-align: center;
    text-transform: uppercase;
    color: #123b8a;
    font-size: 26px;
    background: #dbdbdb;
    position: relative;
    min-height: 80px;
    line-height: 60px;
}
.security_category_text {
    /*overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;*/
    width: 100%;
}

.security_index_bloc:nth-child(even) .security_category_title {
    background: #d0cece;
}
.security_index_bloc:nth-child(even) {
    background: #d0cece;
}
.security_index_bloc:after {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    background: rgba(18, 59, 138, 0.6);
    transition: 0.6s ease all;
    transform: translateY(100%);
}
.security_index_bloc:hover:after {
    transform: translateY(-100%);
}
.security_index_bloc:hover .security_category_text {
    color: #FFF;
    transition: 0.3s ease all;
    position: relative;
    z-index: 2;
}
.security_index_bloc {
    text-decoration: none;
}
.security_index_bloc:hover {
    text-decoration: none;
}
@media (max-width: 1440px) {
  .security_category_title {
    font-size: 18px;
  }
  .security_index_title {
    padding: 50px 0 60px 0;
    font-size: 40px;
  }
}
@media (max-width: 1200px) {
  .security_category_title {
    font-size: 16px;
    line-height: 60px;
  }
}
@media (max-width: 1260px) {
.security_category_title {
    line-height: normal;
}
}

@media (max-width: 991px) {
.security_index_bloc {
    width: 33.3333%;;
}
  .security_category_title {
    line-height: 60px!important;
  }
.security_blocs_wrapper {
    width: 100%;
    display: flex;
    flex-flow: wrap;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}
}

@media (max-width: 767px) {
.security_index_bloc {
    width: 50%;;
}
}

.security_index_bloc:hover img {
    -webkit-transform: scale3d(1.1, 1.1, 1);
    transform: scale3d(1.1, 1.1, 1);
    transition: all 0.4s linear;
    -moz-transition: all 00.4s linear;
    -o-transition: all 0.4s linear;
    -webkit-transition: all 0.4s linear;
}
.security_index_bloc img {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
    transition: all 0.4s linear;
    -moz-transition: all 00.4s linear;
    -o-transition: all 0.4s linear;
    -webkit-transition: all 0.4s linear;
}

.security_blocs_wrapper {
    width: 100%;
    display: flex;
    flex-flow: wrap;
    flex-wrap: wrap;
}




@media (max-width: 470px) {
.security_category_title {
    font-size: 14px;
    line-height: 50px;
}
}

@media (max-width: 425px) {
.security_index_bloc {
    width: 100%;
}
.security_category_title {
    font-size: 16px;
}
}
