.mega-slider {
overflow: hidden;
position: relative;
font-size: 14px;
line-height: 1.5;
margin-bottom: 1.5em;
}
.mega-slider__stage {
width: 100%;
height: 360px;
position: relative;
background: #000;
}
.mega-slider__slide {
display: block;
background-position: center center;
background-repeat: no-repeat;
background-size: cover;
z-index: 1;
position: absolute;
width: 100%;
height: 100%;
}
.mega-slider__slide__label {
display: block;
color: #fff;
background: #000;
background: rgba(0, 0, 0, 0.6);
margin: 0;
padding: 10px 15px;
position: absolute;
bottom: -50px;
width: 100%;
box-sizing: border-box;
}
.mega-slider__slide__title {
font-size: 20px;
}
.mega-slider__slide__date {
float: right;
margin-left: 10px;
line-height: 30px;
opacity: 0.6;
}
.mega-slider__sidebar {
position: relative;
z-index: 1;
}
.mega-slider__row {
padding: 10px;
clear: both;
overflow: hidden;
background: #f5f5f5;
border-bottom: 1px solid rgba(0, 0, 0, 0.1);
cursor: pointer;
box-sizing: border-box;
}
.mega-slider__row:hover {
background: #fff;
}
.mega-slider__row--active,
.mega-slider__row--active:hover {
background: #0073aa;
color: #fff;
cursor: default;
}
.mega-slider__row__thumbnail {
display: block;
width: 50px;
height: auto;
max-width: 100%;
float: left;
margin-right: 10px;
}
.mega-slider__row__label {
display: block;
overflow: hidden;
}
.mega-slider__row__title {
display: block;
margin: 4px 0;
font-weight: bold;
font-size: 16px;
line-height: 20px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.mega-slider__row__link {
color: inherit;
text-decoration: none;
float: right;
margin-left: 10px;
}
.mega-slider__row__link:hover {
color: inherit;
text-decoration: underline;
}
.mega-slider__row__link:focus {
outline: none;
border: none;
box-shadow: none;
}
@media screen and (min-width: 783px) {
.mega-slider__stage {
width: 66%;
height: 100%;
float: left;
position: absolute;
}
.mega-slider__sidebar {
width: 34%;
float: right;
}
}