.section-partners { padding-bottom: 80px; } .partners-title { margin-top: 76px; position: relative; span { position: relative; z-index: 2; background: #fff; padding-right: 10px; font-size: 24px; font-weight: 700; height: 26px; line-height: 26px; } &:before { position: absolute; width: 100%; height: 1px; background: #e0e2e4; content: ''; left: 0; top: 20px; z-index: 1; } } .partners-wr { div { margin-top: 58px; display: table; width: 100%; a, span { display: table-cell; vertical-align: middle; height: 80px; text-align: center; img { vertical-align: middle; max-width: 100%; max-height: 100%; } } } } @media (min-width: 768px) { .slider-partners-5 { .partners-wr { width: 20% !important; } } } .partners-col { //display: table; } .border-mobile { width: 100%; float: left; height: 1px; background: #e0e2e4; margin-top: 36px; } .slider-partners { .owl-nav { display: none; } .owl-dots { position: relative; bottom: auto; left: auto; width: 100%; text-align: center; margin-top: 43px; } } @media (max-width: 767px) { .partners-title { text-align: center; &:before { display: none; } span { background: none; } } }