File: /home/clinicamaciel/www/wp-content/plugins/trx_addons/widgets/recent_news/recent_news.css
/* Widget: Recent News + Shortcode Recent News */
.sc_recent_news_header {
padding-bottom: 1em;
border-bottom: 3px solid #000;
margin-bottom:2em;
}
.sc_recent_news_header_captions,
.sc_recent_news_header_categories {
display: inline-block;
vertical-align:bottom;
}
.sc_recent_news_header_split .sc_recent_news_header_captions,
.sc_recent_news_header_split .sc_recent_news_header_categories {
width:50%;
-webkit-box-sizing: border-box;
-ms-box-sizing: border-box;
box-sizing: border-box;
}
.sc_recent_news_header_split .sc_recent_news_header_captions {
padding-right:2em;
}
.sc_recent_news_title {
margin:0;
text-transform:uppercase;
}
.sc_recent_news_subtitle {
margin: 0;
text-transform:uppercase;
font-weight: 400;
}
.sc_recent_news_header_split .sc_recent_news_header_categories {
line-height:1.5em;
text-align: right;
}
.sc_recent_news_header_split .sc_recent_news_header_categories > * {
display:inline-block;
margin-left: 1em;
text-transform:uppercase;
font-size:0.9333em;
}
.sc_recent_news_header_category_item_more {
position:relative;
z-index:1000;
cursor:pointer;
}
.sc_recent_news_header_category_item_more:after {
content: '\e882';
font-family:'trx_addons_icons';
display:inline-block;
margin-left:0.5em;
-webkit-transition: all ease .3s;
-ms-transition: all ease .3s;
transition: all ease .3s;
}
.sc_recent_news_header_category_item_more.opened:after {
-webkit-transform:rotate(180deg);
-ms-transform:rotate(180deg);
transform:rotate(180deg);
}
.sc_recent_news_header_more_categories {
display:none;
position:absolute;
right:0;
top: 2em;
z-index:1;
border: 1px solid #eee;
text-align:left;
padding:0.5em 1px;
}
.sc_recent_news_header_more_categories > a {
display:block;
white-space:nowrap;
line-height:2em;
padding:0 1.5em;
}
.sc_recent_news .post_item {
background-color:transparent;
text-align:left;
overflow:hidden;
position:relative;
}
.sc_recent_news .post_item.post_accented_on {
margin-bottom: 2em;
}
.sc_recent_news .post_item.post_accented_off {
margin-bottom: 1em;
}
.sc_recent_news_style_news-magazine .post_accented_border {
/* border-bottom: 1px solid #eee;*/
padding-bottom:2em;
}
.sc_recent_news .post_item .post_featured {
margin-bottom: 0;
}
.sc_recent_news .post_item .post_featured img {
width: 100%;
}
.sc_recent_news .post_accented_on .post_featured {
margin-bottom:1.5em;
}
.sc_recent_news_with_accented .post_accented_off .post_featured {
float: left;
margin-bottom: 0;
width: 35%;
}
.sc_recent_news_with_accented .post_accented_off .post_header {
float:left;
width:65%;
padding-left:1.5em;
-webkit-box-sizing: border-box;
-ms-box-sizing: border-box;
box-sizing: border-box;
}
.sc_recent_news_without_accented .post_accented_off .post_featured {
margin-bottom:1em;
}
.sc_recent_news .post_item .post_featured_bg {
position:absolute !important;
left:0;
top:0;
right:0;
bottom:0;
}
.sc_recent_news .post_item .post_featured_bg .post_thumb {
display:block;
position:absolute;
z-index:1;
left:0;
top:0;
right:0;
bottom:0;
background-position:center;
background-repeat:no-repeat;
background-size:cover;
}
.sc_recent_news .post_item .post_featured .post_info {
display:block;
position:absolute;
left: 0;
bottom:0;
top: auto;
padding: 0 0.8em;
z-index:2;
}
.sc_recent_news .post_item .post_featured:hover .post_info,
.sc_recent_news .post_item .post_featured .post_info {
-webkit-transform: none;
-ms-transform: none;
transform: none;
opacity: 1;
text-align:left;
}
.sc_recent_news .post_item .post_featured .post_info .post_categories {
display:inline-block;
padding:0 0.6em;
line-height:18px;
font-size:12px;
font-weight: normal;
margin-bottom:0.6em;
background-color: #000000;
text-transform: uppercase;
}
.sc_recent_news .post_item .post_featured .post_info *,
.sc_recent_news .post_item .post_featured .post_info *:hover {
color: #ffffff;
}
.sc_recent_news .post_item .post_header {
text-align:left;
margin-bottom:0;
}
.sc_recent_news .post_item .post_title {
margin:0;
letter-spacing:0;
line-height: 1.1em;
font-weight: 400;
}
.sc_recent_news .post_item .post_meta {
margin: 0.2em 0 1em !important;
}
.sc_recent_news .post_item .post_author,
.sc_recent_news .post_item .post_date {
display:inline-block;
font-size:13px;
line-height:1.5em;
}
.sc_recent_news .post_item .post_date:before {
content: '|';
display:inline-block;
margin:0 0.6em;
font-size:0.8462em;
position:relative;
top: -1px;
}
.sc_recent_news .post_item .post_content {
margin-top:0.8em;
}
.sc_recent_news .post_item .post_footer {
margin-top: 1em;
}
.sc_recent_news .post_item .post_footer .post_counters {
text-align:left;
float:none;
width: 100%;
}
.sc_recent_news .post_item .post_footer .post_counters .post_counters_item {
padding:0 1em;
font-size:12px;
margin-left:0 !important;
margin-right:0.5em;
margin-bottom:0.5em;
float:left;
}
.sc_recent_news .post_delimiter {
margin-top: 2em;
margin-bottom: 2em;
}
.sc_recent_news .post_delimiter:before {
content: ' ';
display:block;
height:0;
border-top: 1px solid #eee;
}
/* Style Excerpt */
.sc_recent_news_style_news-excerpt {
overflow:hidden;
}
.sc_recent_news_style_news-excerpt .post_item + .post_item {
padding-top:2em;
margin-top:2em;
border-top: 1px solid #eee;
}
.sc_recent_news_style_news-excerpt .post_featured {
float:left;
width:40%;
margin-bottom:0;
}
.sc_recent_news_style_news-excerpt .post_body {
overflow:hidden;
float:left;
width:60%;
padding-left:2em;
-webkit-box-sizing: border-box;
-ms-box-sizing: border-box;
box-sizing: border-box;
}
/* Style Portfolio & Announce */
.sc_recent_news_style_news-portfolio .columns_wrap {
margin-right: -0.5em !important;
}
.sc_recent_news_style_news-portfolio [class*="column"] {
padding: 0 0.5em 0.5em 0 !important;
}
.sc_recent_news_style_news-portfolio .post_item,
.sc_recent_news_style_news-portfolio .post_featured,
.sc_recent_news_style_news-announce .post_item,
.sc_recent_news_style_news-announce .post_featured {
margin-bottom:0 !important;
}
.sc_recent_news_style_news-portfolio .post_item .post_featured:after,
.sc_recent_news_style_news-announce .post_item .post_featured:after {
content:' ';
position:absolute;
z-index:1;
left:0;
top:0;
right:0;
bottom:0;
background-color:rgba(0,0,0,0.2);
pointer-events: none;
}
.sc_recent_news_style_news-announce .post_item .post_featured:after {
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(0,0,0,0)), color-stop(25%,rgba(0,0,0,0)), color-stop(100%,rgba(0,0,0,0.4)));
background: -webkit-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 25%, rgba(0,0,0,0.4) 100%);
background: -ms-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 25%, rgba(0,0,0,0.4) 100%);
background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 25%, rgba(0,0,0,0.4) 100%);
}
.sc_recent_news_style_news-announce { overflow:hidden; }
.sc_recent_news_style_news-announce .post_item { float:left; }
.sc_recent_news_style_news-announce .post_size_full { width:100%; height: 432px; }
.sc_recent_news_style_news-announce .post_size_big { width:50%; height: 216px; }
.sc_recent_news_style_news-announce .post_size_medium { width:50%; height: 108px; }
.sc_recent_news_style_news-announce .post_size_small { width:25%; height: 108px; }
/* Responsive */
@media (max-width: 1439px) {
.sc_recent_news_style_news-announce .post_size_medium .post_title,
.sc_recent_news_style_news-announce .post_size_small .post_title { font-size: 1.2em; }
.sc_recent_news_style_news-announce .post_size_full { height: 372px; }
.sc_recent_news_style_news-announce .post_size_big { height: 186px; }
.sc_recent_news_style_news-announce .post_size_medium { height: 93px; }
.sc_recent_news_style_news-announce .post_size_small { height: 93px; }
}
@media (max-width: 1262px) {
.sc_recent_news_style_news-announce .post_size_full { height: 344px; }
.sc_recent_news_style_news-announce .post_size_big { height: 172px; }
.sc_recent_news_style_news-announce .post_size_medium { height: 86px; }
.sc_recent_news_style_news-announce .post_size_small { height: 86px; }
.sc_recent_news_style_news-announce .post_size_small .post_title { margin-bottom: 0.8em; }
.sc_recent_news_style_news-announce .post_size_small .post_meta { display: none; }
}
@media (max-width: 1135px) {
.sc_recent_news_style_news-announce .post_size_full { height: 372px; }
.sc_recent_news_style_news-announce .post_size_big { height: 186px; }
.sc_recent_news_style_news-announce .post_size_medium { height: 93px; }
.sc_recent_news_style_news-announce .post_size_small { height: 93px; }
}
@media (max-width: 1023px) {
.sc_recent_news_style_news-announce .post_size_full { height: 336px; }
.sc_recent_news_style_news-announce .post_size_big { height: 168px; }
.sc_recent_news_style_news-announce .post_size_medium { height: 84px; }
.sc_recent_news_style_news-announce .post_size_small { height: 84px; }
}
@media (max-width: 959px) {
.sc_recent_news_style_news-announce .post_item { float:none; }
.sc_recent_news_style_news-announce .post_size_full { width: 100%; height: 198px; }
.sc_recent_news_style_news-announce .post_size_big { width: 100%; height: 198px; }
.sc_recent_news_style_news-announce .post_size_medium { width: 100%; height: 198px; }
.sc_recent_news_style_news-announce .post_size_small { width: 100%; height: 198px; }
.sc_recent_news_style_news-announce .post_size_full .post_featured { max-height: 100%; }
.sc_recent_news_style_news-announce .post_size_big .post_featured { max-height: 100%; }
.sc_recent_news_style_news-announce .post_size_medium .post_featured { max-height: 100%; }
.sc_recent_news_style_news-announce .post_size_small .post_featured { max-height: 100%; }
.sc_recent_news_style_news-announce .post_size_small .post_title { margin-bottom: 0; }
.sc_recent_news_style_news-announce .post_size_small .post_meta { display: block; }
}
@media (max-width: 767px) {
.sc_recent_news_style_news-announce .post_size_full { height: 168px; }
.sc_recent_news_style_news-announce .post_size_big { height: 168px; }
.sc_recent_news_style_news-announce .post_size_medium { height: 168px; }
.sc_recent_news_style_news-announce .post_size_small { height: 168px; }
}
@media (max-width: 639px) {
.sc_recent_news_style_news-announce .post_size_full { height: 124px; }
.sc_recent_news_style_news-announce .post_size_big { height: 124px; }
.sc_recent_news_style_news-announce .post_size_medium { height: 124px; }
.sc_recent_news_style_news-announce .post_size_small { height: 124px; }
.sc_recent_news_style_news-announce .post_item .post_title { margin-bottom: 0.8em; }
.sc_recent_news_style_news-announce .post_item .post_meta { display: none; }
}
@media (max-width: 479px) {
.sc_recent_news_style_news-excerpt .post_item .post_featured {
float:none;
padding-right:0;
margin-bottom:1.5em;
width: 100%;
}
.sc_recent_news_style_news-excerpt .post_item .post_body {
float:none;
width:100%;
padding: 0;
}
.sc_recent_news_header_split .sc_recent_news_header_captions,
.sc_recent_news_header_split .sc_recent_news_header_categories {
width:100%;
padding-right:0;
text-align:left;
}
.sc_recent_news_header_split .sc_recent_news_header_categories {
margin-top:1em;
}
.sc_recent_news_header_split .sc_recent_news_header_categories > * {
margin: 0 1em 0 0;
}
.sc_recent_news_style_news-announce .post_size_full { height: 112px; }
.sc_recent_news_style_news-announce .post_size_big { height: 112px; }
.sc_recent_news_style_news-announce .post_size_medium { height: 112px; }
.sc_recent_news_style_news-announce .post_size_small { height: 112px; }
}