/* Compatibility additions keep the original magazine layout. */
[hidden], .ui-tabs-hide { display: none !important; }
.screen-reader-text { display: block; position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 2px solid #07669c; outline-offset: 3px; }
#left.full_width { width: 100%; }
.image_carousel { width: 100%; max-width: 100%; }
#spotlight { display: flex; float: none; width: auto; margin-right: 45px; overflow-x: auto; scrollbar-width: none; }
#spotlight > a { flex: 0 0 204px; }
.image_carousel a.prev { background: none; }
.image_carousel a.prev::before { content: '‹'; display: block; color: #333; font-size: 36px; text-align: center; }
.londontabs, .londontabs .tabsheader, .londontabs .tab_inside, .londontabs .tabdiv { max-width: 100%; }
.pagging_inside .page-numbers { display: inline-block; padding: 6px 10px; }
.pagging_inside .current { background: #333; color: #fff; }
.firstnav-menu li:focus-within > ul, .firstnav-menu li.kaasujalka-submenu-open > ul,
.secondnav-menu li:focus-within > ul, .secondnav-menu li.kaasujalka-submenu-open > ul { top: 0; left: 0; z-index: 500; visibility: visible; }
.secondnav-menu > li:focus-within > ul, .secondnav-menu > li.kaasujalka-submenu-open > ul { top: 100%; }
.firstnav-menu ul li:hover > ul, .firstnav-menu ul li:focus-within > ul, .firstnav-menu ul li.kaasujalka-submenu-open > ul,
.secondnav-menu ul li:hover > ul, .secondnav-menu ul li:focus-within > ul, .secondnav-menu ul li.kaasujalka-submenu-open > ul { top: 0; left: 100%; }
.kaasujalka-submenu-toggle { float: right; background: transparent; color: inherit; padding: 3px 6px; cursor: pointer; }
.kaasujalka-slider-pause { position: absolute; right: 8px; bottom: 8px; padding: 4px 8px; color: #fff; background: #333; border-radius: 3px; font-size: 12px; cursor: pointer; }
.kaasujalka-lightbox { max-width: 94vw; max-height: 94vh; padding: 12px; border: 0; border-radius: 6px; margin: auto; background: #fff; }
.kaasujalka-lightbox::backdrop { background: rgba(0,0,0,.8); }
.kaasujalka-lightbox img { display: block; max-width: 88vw; max-height: 80vh; object-fit: contain; }
.kaasujalka-lightbox iframe { display: block; width: 80vw; height: 70vh; border: 0; }
.kaasujalka-lightbox button { display: block; margin: 0 0 10px auto; padding: 6px 12px; cursor: pointer; }
.imgf, .shareimg { transition: opacity .2s; }
.imgf:hover, .shareimg:hover { opacity: .7; }
@media (max-width: 767px) {
    #categories.kaasujalka-menu-open { display: block !important; }
    #categories:not(.kaasujalka-menu-open) { display: none; }
    .kaasujalka-submenu-toggle { min-width: 32px; min-height: 32px; }
    #top_navigation { padding-left: 10px; padding-right: 10px; height: auto; min-height: 30px; }
    .londontabs .tabnav li a { padding-left: 10px; padding-right: 10px; }
}
@media (prefers-reduced-motion: reduce) { .imgf, .shareimg { transition: none; } }

/* Clear legacy floats before the featured panel and pagination. */
#featured { clear: both; width: 100%; max-width: 100%; }
#content_bg { clear: both; }
.pagging { clear: both; }
.pagging .pagging_inside { display: flex; gap: 8px; float: none; }
.pagging .page-numbers { float: none; margin: 0; min-width: 33px; width: auto; height: auto; padding: 0 10px; line-height: 28px; }
.featured-preview-title { display: block; max-width: 64px; height: 53px; overflow: hidden; background: #fff; color: #222; font-size: 10px; line-height: 13px; padding: 3px; }
.londontabs .tabnav { display: flex; width: 100%; margin: 0; padding: 0; background: #eee !important; }
.londontabs .tabnav li { flex: 1; float: none; width: auto !important; margin: 0; padding: 0; border: 0; }
.londontabs .tabnav li a { float: none; display: block; width: 100%; padding: 0 6px; font-size: 11px; text-align: center; }
.londontabs .tabsheader { height: auto; }
.list_post { width: 100%; max-width: 100%; }
.list_post .information { height: auto; min-height: 141px; }
ul.firstnav-menu li:hover > ul, ul.firstnav-menu li:focus-within > ul, ul.firstnav-menu li.kaasujalka-submenu-open > ul { top: 0 !important; left: 0; }
ul.secondnav-menu li:hover > ul, ul.secondnav-menu li:focus-within > ul, ul.secondnav-menu li.kaasujalka-submenu-open > ul { top: 100% !important; left: 0; }
ul.firstnav-menu ul li:hover > ul, ul.firstnav-menu ul li:focus-within > ul, ul.firstnav-menu ul li.kaasujalka-submenu-open > ul,
ul.secondnav-menu ul li:hover > ul, ul.secondnav-menu ul li:focus-within > ul, ul.secondnav-menu ul li.kaasujalka-submenu-open > ul { top: 0 !important; left: 100%; }
@media (max-width: 767px) {
    .list_post .image { float: none; margin: 0 0 12px; }
    .list_post .image img { float: none; max-width: 100%; height: auto; }
    .list_post .information { float: none; margin-left: 0; width: 100%; min-height: 0; }
    .list_post .information::after { content: ''; display: block; clear: both; }
    .list_post .readm { clear: both; }
    .list_category, .list_category_new, .other_categories_content, .blog_single, .author_info { max-width: 100%; }
    #featured > .row > div:first-child { min-height: 90px; }
    #featured .info_container { padding-bottom: 42px; }
    #featured .ui-tabs-panel { max-width: 100%; }
    #featured iframe, #featured embed, #featured object { max-width: 100%; }
    #categories .secondnav-menu li ul { position: static; margin: 0; display: none; width: 100%; }
    #categories .secondnav-menu li:hover > ul, #categories .secondnav-menu li:focus-within > ul, #categories .secondnav-menu li.kaasujalka-submenu-open > ul { display: block; }
}
#other_categories { max-width: 100%; display: flex; flex-wrap: wrap; height: auto; }
@media (max-width: 767px) { #other_categories li { float: none; } }
#left .thumb > a { display: block; }
#left .thumb::after { content: ''; display: block; clear: both; }
#right .latest_news h3 a { color: #383838; }
#right .latest_news h3 a:hover { color: #000; }
ol#comments { width: 100%; max-width: 100%; }
#comments li, #comments div.comment { width: 100%; max-width: 100%; }
@media (max-width: 767px) {
    #comments div.comment div.avatar { width: 50px; }
    #comments div.comment div.avatar img { width: 50px; height: auto; }
    #comments li div.comment div.comment_holder { width: calc(100% - 65px) !important; }
    #comments ul.children { margin-left: 15px; padding-left: 0; }
}

/* Readable type without changing the magazine's colours or column layout. */
#content { font-size: 16px; color: #333; }
.pure_content { font-size: 18px; line-height: 1.7; overflow-wrap: break-word; }
.pure_content p, .pure_content td, .pure_content th,
.pure_content dd, .pure_content dt, .pure_content blockquote,
#left .pure_content li {
    font-size: 18px;
    line-height: 1.7;
    color: #333;
}
.pure_content p { margin-bottom: 1.1em; }
.pure_content a, .pure_content span, .pure_content em,
.pure_content b, .pure_content strong { line-height: inherit; }
/* Bold faces already contain their weight; avoid synthetic double bold. */
.pure_content strong, .pure_content b { font-family: 'allerbold', Arial, sans-serif; font-weight: 400; font-size: 1em; }
#left .pure_content ul, #left .pure_content ol { padding-left: 1.5em; margin-bottom: 1.1em; }
#left .pure_content li { float: none; width: auto; padding: .2em 0; }
.pure_content h1, .pure_content h2, .pure_content h3,
.pure_content h4, .pure_content h5, .pure_content h6 {
    float: none;
    clear: both;
    line-height: 1.35;
    margin: 1.2em 0 .6em;
    padding: 0;
    font-family: 'allerregular', Arial, sans-serif;
    font-weight: 400;
}
#left .pure_content h1 { font-size: 30px !important; background: none; color: #222; text-transform: none; }
.pure_content h2 { font-size: 26px !important; }
.pure_content h3 { font-size: 23px !important; }
.pure_content h4 { font-size: 21px !important; }
.pure_content h5, .pure_content h6 { font-size: 18px !important; }
.pure_content .wp-caption p.wp-caption-text, .pure_content .gallery-caption,
.pure_content figcaption { font-size: 14px; line-height: 1.5; color: #595959; }

/* Let long page titles and archive excerpts determine their own height. */
#left .page_heading { position: static; display: block; margin: 0 0 24px; max-width: 100%; }
#left .page_heading h1 { font-size: 22px; line-height: 1.4; padding: 10px 12px; overflow-wrap: break-word; }
#left .blog_single_header h1 { font-size: 30px; line-height: 1.3; text-transform: none; }
.list_category .information { height: auto; min-height: 141px; }
.list_category h3, .list_category h3 a { font-size: 22px !important; line-height: 1.4; }
.list_post h3, .list_post h3 a { font-size: 22px; line-height: 1.4; }
.list_category p, .list_post p, .other_categories_content p,
.other_news_item p, #featured .info_container p { font-size: 16px; line-height: 1.65; color: #3d3d3d; }
.list_category .information p { clear: both; }
body.archive #left > .list_category,
body.search #left > .list_category { width: 100%; display: flow-root; }
body.archive .list_category > .image,
body.search .list_category > .image { width: 40%; margin-right: 24px; }
body.archive #left .list_category > .image img,
body.search #left .list_category > .image img { margin-right: 0; }
body.archive .list_category > .information,
body.search .list_category > .information { float: none; width: auto; margin-left: 0; display: flow-root; min-height: 0; }
.small-listing h4 a, .other_categories_content h4 a,
#right .latest_news h3 a, #right .popular_news h3 a,
.tab_inside div.content h1, .tab_inside div.content a { font-size: 16px; line-height: 1.5; }

.list_category .date, .list_category .date a,
.list_post .date, .list_post .date a,
.small-listing .date, .other_news_item .date,
#left .blog_date, #left .blog_date .the_date a,
#featured .info_container .date, #featured .info_container .date a,
#right .date, #right .popular_news .date, .tab_inside span.date, #comments .date {
    font-size: 14px;
    line-height: 1.5;
    color: #595959;
}
#left .blog_date .the_date { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px; }
#left .blog_date .the_date p, #left .blog_date .the_date li,
#left .blog_date .the_date .seperator { line-height: 1.5; }
#featured .info_container { padding-bottom: 36px; }
#featured .info_container .date { width: 100%; }
#featured .info_container .date, #featured .info_container .date a { color: #595959 !important; }

#right .textwidget, #right .textwidget p, #right .rssSummary,
#right .popular_news p, #right .latest_news p,
#right .rightwidget ul li, #right .rightwidget ul li a,
#comments p, #commentform p, #commentform label,
#contact_form p, #contact_form label { font-size: 16px; line-height: 1.6; color: #3d3d3d; }
#comments p { text-shadow: none; }
#content input, #content select, #content textarea,
#content button, #content input[type="submit"] { font-size: 16px; line-height: 1.5; }
#content input[type="text"], #content input[type="email"],
#content input[type="url"], #content input[type="search"],
#content select { min-height: 42px; }
#commentform #submit, #commentform .form-submit #submit,
#contact_form .formsubmit { font-size: 16px; line-height: 1.5 !important; height: auto; min-height: 42px; padding: 8px 16px; }
.londontabs .tabnav { flex-wrap: wrap; }
.londontabs .tabnav li { flex: 1 1 50%; }
.londontabs .tabnav li a { font-size: 14px; }
.pagging .pagging_inside { flex-wrap: wrap; justify-content: center; }
.pagging .page-numbers { font-size: 16px; min-width: 40px; line-height: 38px; }
.pagging a { color: #444; }

@media (max-width: 767px) {
    #left .blog_single_header h1 { font-size: 26px; }
    .list_category h3, .list_category h3 a { font-size: 21px !important; }
    .list_category .information { height: auto; min-height: 0; width: 100%; margin-left: 0; }
    body.archive .list_category > .image,
    body.search .list_category > .image { float: none; width: 100%; margin: 0 0 16px; display: flow-root; }
    body.archive .list_category > .information,
    body.search .list_category > .information { width: 100%; }
    #left .pure_content .alignleft, #left .pure_content .alignright,
    #left .pure_content .image_left, #left .pure_content .image_right {
        float: none; display: block; margin: 1em auto;
    }
}
