.tem08-main-products .irregular-images{width:100%;max-height:250px;overflow:hidden;padding:5px;border:1px solid #ccc;} .tem08-main-products [layout-style="column"] .irregular-images{max-height:1000px;} .tem08-main-products .irregular-images img{width:100%;height:230px;transition:all 0.4s ease-in-out 0s;;} .tem08-main-products [layout-style="column"] .irregular-images img{height:auto;} .tem08-main-products .irregular-images:hover img{opacity:0.75;} .tem08-main-products .tem40-text{width:100%;overflow:hidden;max-height:140px;min-height:140px;} .tem08-main-products h3, .tem08-main-products .h3{font-size:16px;width:100%;line-height:22px;max-height:44px;overflow:hidden;margin:10px 0;} .tem08-main-products .text{font-size:14px;color:#333;line-height:20px;max-height:60px;overflow:hidden;} @media (max-width: 980px){ .tem08-main-products .irregular-images{height:auto;max-height: auto;} .tem08-main-products .irregular-images img{height:auto;} .tem08-main-products h2, .tem08-main-products .h2{font-size:26px;padding:0 15px;} } @media (max-width: 768px){ .tem08-main-products .container, .tem08-main-products.full-screen-spacing .tem40-text{padding-left: 3%!important;padding-right: 3%!important} .tem08-main-products.full-screen-spacing .container.full-screen{padding-left: 0!important;padding-right: 0!important} .tem08-main-products h3, .tem08-main-products .h3{margin:10px 0 5px;} .tem08-main-products .text{ line-height:20px !important;} .tem08-main-products .tem40-text{ max-height:120px;min-height:100px;margin:0 0 10px 0;} } @media (max-width: 480px){ .tem08-main-products .col-xs-6{width:100%;} }