/* Start:/bitrix/templates/megamotors/components/bitrix/news.list/main_news/style.css*/ /****************** * News styles *******************/ .news { margin-top: 11px; } /****************** * высота и ширина контейнеров с выпадающими ссылками внизу *******************/ .news-item { width: 328px; height: 213px; position: relative; border: 1px solid #e2e2e2; overflow: hidden; margin-right: 17px; margin-bottom: 17px; } .content-container .news-item { width: 310px; height: 200px; margin-right: 14px; } .news-item.last { margin-right: 0; } .content-container .news-item.last { float: right; margin-left: -4px; } .news-item img { max-width: 328px; margin: 0; padding: 0; display: block; } /*.content-container .news-item img { max-width: 310px; }*/ .news-content { display: inline-block; width: 282px; height: 151px; position: absolute; top: 159px; left: 0; padding: 7px 23px 10px; background: url(../../../../../templates/megamotors/components/bitrix/news.list/main_news/images/bg-news.png) repeat; } .content-container .news-content { top: 147px; } .news-title { display: block; font-weight: bold; color: #ffffff; font-size: 14px; height: 38px; overflow: hidden; } .news-text { display: block; margin-top: 11px; color: #ffffff; height: 102px; overflow: hidden; } .news-more { display: block; width: 93px; height: 20px; position: absolute; top: 3px; right: 0; font-weight: bold; color: #ffffff; text-indent: 13px; line-height: 20px; background: url(../../../../../templates/megamotors/components/bitrix/news.list/main_news/images/bg-news-more.png) no-repeat; -khtml-opacity: 0;-moz-opacity:0;opacity: 0; ms-filter:progid:DXImageTransform.Microsoft.Alpha(opacity=0); filter: alpha(opacity=0); } .news-item:hover .news-content { top: 45px; } .news-item:hover .news-more { -khtml-opacity: 1;-moz-opacity:1;opacity: 1; ms-filter:progid:DXImageTransform.Microsoft.Alpha(opacity=100); filter: alpha(opacity=100); } /* End */