.navbar-inverse {
    background-color: #e84c3d;
}

#logo-label{
    color: #e84c3d;
}

.navbar-inverse .navbar-nav > .active > a, .navbar-inverse .navbar-nav > .active > a:hover, .navbar-inverse .navbar-nav > .active > a:focus {
    background-color: #BF3330;
    color: #FFFFFF;
}

#breadcrumbs a{
    color: #BF3330;
}

#main-search .form-control {
    background-color: #BF3330;
    color: #fff;
    border: 1px solid #854148;
}

.nav li.active{
    background-color: #BF3330;
}

.nav li.active a{
    color: #fff;
}

.nav > li > a:hover,  .nav > li > a:focus{
    background-color: #BF3330;
    color: #fff;
}

.pagination > .active > a, .pagination > .active > span, .pagination > .active > a:hover, .pagination > .active > span:hover, .pagination > .active > a:focus, .pagination > .active > span:focus {
    background-color: #BF3330;
    border-color: #BF3330;
    color: #FFFFFF;
}

.pagination > li > a, .pagination > li > span {
    background-color: #FFFFFF;
    border: 1px solid #DDDDDD;
    color: #AA3333;
}

a {
    color: #e84c3d;
}

.items_discount {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.items_discount .summary {
    display: none;
}

.items_discount .item_discount {
    width: 290px;
    padding: 0 10px;
    overflow: hidden;
    margin-bottom: 20px;
}

.items_discount .item_discount * {
    transition: all 500ms ease;
}

.items_discount .item_discount .item-container {
    border: 1px solid #f2f2f2;
    transition: all 500ms ease;
    height: 100%;
    position: relative;
}

.items_discount .item_discount .item-container:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.items_discount .item_discount .img-block {
    border-bottom: 1px solid #f2f2f2;
    position: relative;
    overflow: hidden;
}

.items_discount .item_discount .img-block:hover .main_img {
    filter: opacity(100%);
}

.items_discount .item_discount .img-block:hover .firm-logo-image {
    width: 0;
    height: 0;
}

.items_discount .item_discount .img-block .info-block {
    transition: 300ms all ease;
    position: absolute;
    width: 100%;
    background: rgba(0,0,0,0.6);
    color: #ccc;
    bottom: -100%;
}

.items_discount .item_discount:hover .img-block .info-block {
    bottom: 0;
}

.items_discount .item_discount .img-block .info-block .views-count {
    font-size: 14px;
    padding-left: 20px;
}

.items_discount .item_discount .img-block .info-block .views-count > span {
    margin: 2px 5px;
    display: inline-block;
}

.items_discount .item_discount h4 {
    padding: 0 20px;
    font-size: 16px;
    line-height: 1.2;
    margin-bottom: 40px;
}

.items_discount .item_discount .img-block .firm-logo-image {
    max-width: 100px;
    max-height: 100px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 3;
    box-shadow: 0 3px 20px rgba(0, 0, 0, 0.4);
    background: rgba(255, 2555, 255, 0.5);
    width: 100%;
    height: 100%;
    bottom: 0;
    right: 0;
    margin: auto;
}

.items_discount .item_discount .main_img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: opacity(80%);

}

.items_discount .item_discount .firm-logo-image img {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    max-width: 80%;
    width: auto;
    max-height: 80%;
    height: auto;
    margin: auto;
}

.items_discount .item_discount .more {
    font-size: 16px;
    text-decoration: none;
    display: block;
    width: 100%;
    padding: 5px 0;
    color: #d9534f;
    background: #fff;
    border-top: 1px solid #f2f2f2;
    text-align: center;
}

.items_discount .item_discount .more:hover {
    background: #d9534f;
    color: #fff;
    text-decoration: none;
}

.items_discount .item_discount .bottom {
    bottom: 0;
    position: absolute;
    width: 100%;
}

.items_discount .pagination {
    width: 100%;
}

.FirmBlocks {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.FirmBlocks * {
    transition: all 500ms ease;
}

.FirmBlocks .FirmBlock {
    width: 290px;
    padding: 0 10px;
    overflow: hidden;
    margin-bottom: 20px;
    text-align: center;
}

.FirmBlocks .FirmBlock a {
    border: 1px solid #f2f2f2;
    display: block;
    text-decoration: none;
    height: 100%;
    position: relative;
    /*height: 200px;*/
    max-height: 250px;
}

.FirmBlocks .FirmBlock a:hover {
    box-shadow: 0 3px 9px rgba(0, 0, 0, 0.1);
    text-decoration: none;
}

.FirmBlocks .FirmBlock img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
}

.FirmBlocks .FirmBlock .FirmBlockImg {
    display: flex;
    align-items: center;
    height: calc(100% - 40px);
    width: 100%;
    margin-bottom: 50px;
    justify-content: center;
    padding: 20px;
}

.FirmBlocks .FirmBlock .FirmBlockText {
    position: absolute;
    bottom: 10px;
    height: 40px;
    width: 100%;
    overflow: hidden;
}

.FirmBlocks .FirmBlock:hover img {
    transform: scale(1.1, 1.1);
}
