.product-table-wrapper { border-radius: 3px; } .news-list .news-title a:hover { text-decoration: underline; } .main-news-block .news-date { font-size: 11px; color: #666; } .main-news-img { margin: 10px 0; } .rss-block p { font-size: 14px; } .main-news-block { font-size: 14px; line-height: 20px; } .newsheader { margin: 0; color: #666; font-size: 20px; font-weight: normal; padding: 10px; border-bottom: 1px solid #cdcdcd; text-align: center; } .news-title, .news-title a { text-decoration: none; font-size: 16px; font-weight: normal; color: #ff6d00; } .go-back-link { font-size: 16px; color: #ff4747; display: block; margin: 10px 0 0 10px; } .go-back-link:hover { text-decoration: underline; } .read-more { font-size: 14px; font-weight: normal; color: #ff4747; } .read-more:hover { text-decoration: underline; } .rss-block { padding: 10px 0; } .rss { color: #666; display: block; margin: 0 auto; padding-bottom: 5px; } .main-news-item { padding: 10px; /* border-bottom: 1px dotted #333; border-radius: 5px; margin-bottom: 17px; width: 24%; */ } .main-news-item:hover { -webkit-box-shadow: 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset, 0 9px 9px -3px rgba(0, 0, 0, 0.4); -moz-box-shadow: 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset, 0 9px 9px -3px rgba(0, 0, 0, 0.4); box-shadow: 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset, 0 9px 9px -3px rgba(0, 0, 0, 0.4); } .main-news-item img { max-width: 100%; } .section-news .widget-table tr th { padding: 9px; } .section-news .noneNews td { padding: 15px 0 !important; } .section-news #add-news-wrapper .product-img-prev .add-img-wrapper { margin-right: 10px; position: relative; top: 0; } .section-news .add-news-form .product-upload-img .prev-img { margin: 0 0 10px 0; } .section-news .add-news-form .product-desc-wrapper { margin: 5px 0 0 0; } .section-news #imageform { font-size: 0; } .section-news #add-news-wrapper .product-img-prev .add-img-wrapper span { width: auto; } .section-news #add-news-wrapper .product-img-prev .add-img-wrapper { width: 110px; box-sizing: border-box; } .section-news .add-news-form label { color: #333; display: block; margin-bottom: 10px; } .section-news .add-news-form input { width: 99%; } .product-upload-img { margin: 10px auto; } /* виджет ------------------------------------------------------------------- */ .news-block { background: #fff; border: 1px solid #999; border-radius: 10px; box-shadow: 0 3px 10px rgb(0 0 0 / 50%); margin: 0.6em auto 0.6em auto; padding: 10px; max-width: 330px; height: fit-content; } .news-block a:hover { text-decoration: none; } .news-block h2 { font-size: 18px; font-weight: normal; } .news-block .news-item { overflow: hidden; padding-bottom: 3px; border-bottom: 1px dotted #333; } .news-block .news-item img { border: 1px solid #fff; border-radius: 5px; width: 98%; height: auto; } .news-block .news-item .news-details .news-date { font-size: 12px; line-height: 1.5; color: #808080; } .news-block .news-item .news-details { overflow: hidden; } .news-block .news-item + .news-item { margin: 15px 0 0 0; } .news-block .news-item .news-details .news-text { color: var(--main-color); display: inline-block; font-size: 1em; font-weight: 600; line-height: 1.3; margin-bottom: 5px; } .news-block .news-item .news-details .news-text:hover { color: #ff4747; } .news-block .news-body { margin: 0 0 10px 0; } .news-block .news-footer { text-align: right; } .news-block .news-footer .show-all { border-bottom: 1px dashed; font-size: 14px; } .news-block .news-footer .show-all:hover { color: #ff4747; } .section-news .future-public { font-size: 12px; font-style: italic; } @media (max-width: 1300px) { .main-news-item img { padding: 10px; width: 320px; } }