/**
 * @file
 * Homepage manufacturers styles
 *
 */

.block-manufacturers {
    /*margin: 24px 0;*/
}

.block-manufacturers__title {
    text-align: center;
    margin-bottom: 1.5rem;
}

.block-manufacturers__list,
.block-manufacturers__item {
    margin: 0;
    padding: 0;
    display: block;
}

.block-manufacturers__list {
    margin: 0;
    display: flex;
    flex-flow: wrap;
    justify-content: center;
    overflow: hidden;
}

.block-manufacturers__item {
    /*float: left;*/
    margin: 9px;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.block-manufacturers__link {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    display: block;
    width: 108px;
    height: 108px;
    margin: 0;
    padding: 5px;
    border-radius: .375rem;
    background-color: #fff;
    /*overflow: hidden;*/
    -moz-box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.15);
    -webkit-box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.15);
    box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.15);
}

.block-manufacturers__logo {
    width: 98px;
    display: block;
}

/*
.block-manufacturers footer {
    clear: both;
}*/

.block-manufacturers__link {
    position: relative;
}

.block-manufacturers__link .tip {
    position: absolute;
    left: auto;
    right: auto;
    top: 88px;
    /*right: 0;*/
    z-index: 10;
    /*position: absolute;*/
    /*left: auto;*/
    /*right: auto;*/
    /*z-index: 10;*/
    opacity: 0;
    width: auto;
    padding: .5em 1em;
    margin: 0 auto;
    border-radius: 4px;
    box-shadow: 0px 3px 6px 0px rgba(0, 0, 0, 0.15);
    background-color: #333;
    background-color: rgba(0, 0, 0, .5);
    color: #fff;
    white-space: nowrap;
    pointer-events: none;
    transition: opacity 200ms;
}

.block-manufacturers__link .tip strong,
.block-manufacturers__link .tip small {
    display: block;
    line-height: 1;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, .25);
}

.block-manufacturers__link .tip strong {
    font-size: 20px;
}

.block-manufacturers__link .tip small {
    color: #eee;
    text-align: right;
}

.block-manufacturers__link:hover .tip {
    /*display: block;*/
    opacity: 1;
}

.block-manufacturers__link:hover:after {
    top: 80px;
    left: 50%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    border-color: rgba(0, 0, 0, 0);
    border-bottom-color: rgba(0, 0, 0, .75);
    border-width: 4px;
    margin-left: -4px;
}
