.archive-notice {
    clear: both;
    background: #eff0f2;
    border-top: 1px solid #d6dce0;
    padding: 9px 14px;
    margin: 0 0 8px;
    font-size: 13px;
    line-height: 1.6;
    color: #333;
}
.archive-notice a {
    font-weight: bold;
}
.vkmedia-archive-actions {
    margin: 0 0 15px;
}
.vkmedia-archive-actions a {
    display: block;
    box-sizing: border-box;
    padding: 10px 8px;
    margin: 0 0 7px;
    border: 1px solid #ccc;
    background: #f3f3f3;
    color: #333;
    font-size: 15px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
}
.vkmedia-archive-actions a:hover {
    background: #e8e8e8;
}
.vkmedia-archive-links {
    list-style: none;
    margin: 0;
    padding: 0;
}
.vkmedia-archive-links li {
    margin: 0 0 9px;
}


/* K17c: Restore approved sidebar layout */
.sidebar-buttons UL:after {
content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
	font-size: 0;
}

.sidebar-buttons UL {
display: block;
	*height: 1px;
}

.sidebar-buttons.innerpage {
margin-top: 17px;
}

.sidebar-buttons A {
-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	background-color: #7F7F7F;
	-webkit-box-shadow: 0 3px rgba(0,0,0,.09);
	-moz-box-shadow: 0 3px rgba(0,0,0,.09);
	box-shadow: 0 3px rgba(0, 0, 0, 0.09);
	background-image: -webkit-linear-gradient(bottom, rgba(0, 0, 0, 0.11), rgba(255, 255, 255, 0.11));
	background-image: -moz-linear-gradient(bottom, rgba(0, 0, 0, 0.11), rgba(255, 255, 255, 0.11));
	background-image: -o-linear-gradient(bottom, rgba(0, 0, 0, 0.11), rgba(255, 255, 255, 0.11));
	background-image: linear-gradient(to top, rgba(0, 0, 0, 0.11), rgba(255, 255, 255, 0.11));
	display: block;
	color: #FFFFFF;
	padding: 15px;
	-webkit-transition: all 0.3s;
}

.sidebar-buttons A:hover {
color: #FFFFFF !important;
	background-color: #9A9A9A;
	text-decoration: none !important;
}

.sidebar-buttons A SPAN {
display: block;
}

.sidebar-buttons UL LI {
border: none;
	margin: 0 !important;
	list-style: none;
	text-align: left;
	font-weight: normal;
}

.sidebar-buttons UL {
margin: 0 0 10px !important;
	padding: 0;
}

.sidebar-buttons .c50 {
float: left;
	width: 146px;
}

.sidebar-buttons .c33 {
float: left;
	width: 94px;
	margin-right: 8px !important;
}

.sidebar-buttons .c50.green {
float: right;
}

.sidebar-buttons .c33.last {
margin-right: 0 !important;
}

.sidebar-buttons .orange A {
background-color: #F5811F;
	font-size: 21px;
	line-height: 50px;
	padding: 0 15px;
	height: 50px;
	text-align: center;
	margin-bottom: 8px;
}

.sidebar-buttons .orange A:hover {
background-color: #FE9236;
}

.sidebar-buttons .blue A {
background-color: #0F8EC3;
	font-size: 18px;
	padding: 10px 15px;
	margin-bottom: 8px;
	text-align: left;
}

.sidebar-buttons .blue A:hover {
background-color: #03A8ED;
}

.sidebar-buttons .blue A SPAN {
color: #79D8FF;
	font-size: 13px;
	float: none;
	margin-top: -3px;
	text-transform: none;
}

.sidebar-buttons .green A {
background-color: #A6B901;
	font-size: 18px;
	padding: 10px 15px;
	margin-bottom: 8px;
	text-align: left;
}

.sidebar-buttons .green A:hover {
background-color: #BACE01;
}

.sidebar-buttons .green A SPAN {
color: #EBFF3B;
	font-size: 13px;
	float: none;
	margin-top: -3px;
	text-transform: none;
}

.sidebar-buttons .gray A {
font-size: 13px;
	padding: 10px;
	line-height: 15px;
}

.sidebar-buttons .gray.first A {
padding-left: 15px;
}

.sidebar-buttons .gray.last A {
padding: 0;
	padding-left: 15px;
	line-height: 50px;
}
/* Keep original Tiny News column widths. */

#inner .col3 .ad300x250 {
    height: auto;
    min-height: 0;
}

#inner .col3 .sidebar-buttons {
    margin-bottom: 10px;
}

#inner .col3 .archive-subscription {
    position: relative;
}

#inner .col3 .archive-subscription .ban300 {
    position: relative;
    z-index: 2;
    padding-bottom: 5px;
    min-height: 33px;
}

#inner .col3 .archive-subscription .ban300 img {
    display: block;
    width: 300px;
    max-width: 100%;
    height: auto;
    margin: 0;
}

/* Restore readable multiline historical headings. */

#inner .left-block .headline h3,
#inner .left-block .headline h3 a {
    font-size: 18px;
    font-weight: normal;
    line-height: 1.3;
}

#inner .left-block .excerpt h4,
#inner .left-block .excerpt h4 a {
    font-size: 15px;
    font-weight: normal;
    line-height: 1.3;
}

#inner .left-block .list h4,
#inner .left-block .list h4 a,
#inner .left-block .box h4,
#inner .left-block .box h4 a,
#inner .mid-block .box h4,
#inner .mid-block .box h4 a,
#inner .mid-block li a {
    line-height: 1.3;
}

#inner .left-block .headline,
#inner .left-block .excerpt {
    display: flow-root;
    height: auto;
}

#inner .left-block .excerpt .underline {
    clear: both;
}

#inner .left-block .box .h4-right,
#inner .mid-block .box .h4-right {
    height: auto;
    min-height: 77px;
}

#inner .left-block .box,
#inner .mid-block .box {
    height: auto;
    min-height: 80px;
}

#inner .gallery-block .box {
    min-height: 105px;
}


/* K17d: Article heading and sidebar alignment */

#content > h1 {
    line-height: 1.25 !important;
}

/* Two buttons above, three equal buttons below. */

#inner .col3 .sidebar-buttons ul {
    display: grid !important;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 8px;
    align-items: stretch;
}

#inner .col3 .sidebar-buttons ul::before,
#inner .col3 .sidebar-buttons ul::after {
    display: none !important;
    content: none !important;
}

#inner .col3 .sidebar-buttons li.c50,
#inner .col3 .sidebar-buttons li.c33 {
    float: none !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    box-sizing: border-box;
    min-width: 0;
}

#inner .col3 .sidebar-buttons li.c50 {
    grid-column: span 3;
}

#inner .col3 .sidebar-buttons li.c33 {
    grid-column: span 2;
    display: flex;
}

#inner .col3 .sidebar-buttons li.c33 a {
    display: flex !important;
    align-items: center;
    flex: 1;
    width: auto !important;
    height: auto !important;
    min-height: 70px;
    box-sizing: border-box;
    line-height: 1.2;
    white-space: normal;
}

