﻿/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v7.0.29,
* Autoprefixer: v9.7.6
* Browsers: last 4 version
*/

@font-face {
    font-family: 'Myriad Pro';
    src: url('../fonts/MyriadPro-Regular.eot');
    src: url('../fonts/MyriadPro-Regular.eot?#iefix') format('embedded-opentype'),
        url('../fonts/MyriadPro-Regular.woff2') format('woff2'),
        url('../fonts/MyriadPro-Regular.woff') format('woff'),
        url('../fonts/MyriadPro-Regular.ttf') format('truetype'),
        url('../fonts/MyriadPro-Regular.svg#MyriadPro-Regular') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Myriad Pro';
    src: url('MyriadPro-Bold.eot');
    src: url('MyriadPro-Bold.eot?#iefix') format('embedded-opentype'),
        url('MyriadPro-Bold.woff2') format('woff2'),
        url('MyriadPro-Bold.woff') format('woff'),
        url('MyriadPro-Bold.ttf') format('truetype'),
        url('MyriadPro-Bold.svg#MyriadPro-Bold') format('svg');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

ul:not(.nav) {
    padding-left: 1.25em;
    list-style-type: square;
    margin-bottom: 1.5em;
}

ul:not(.nav)>li {
    margin-top: 0.5em;
}

ul:not(.nav)>li>a {
    font-size: 1.2em;
}

ul:not(.nav)>li>a,
ul:not(.nav)>li>a:link,
ul:not(.nav)>li>a:visited,
ul:not(.nav)>li>a:hover,
ul:not(.nav)>li>a:active {
    text-decoration: underline;
}

.show-for-sr {
    clip: rect(1px, 1px, 1px, 1px);
    height: 1px;
    overflow: hidden;
    position: absolute !important;
    width: 1px;
}

.cookie-banner {
    display: none;
    background-color: #EEE;
    /* text-align: center; */
    padding: 1em 0;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    border-top: 1px solid #CCC;
}

.cookie-banner .container {
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
}

.cookie-banner-buttons {
    margin-bottom: -6px;
    margin-left: 12px;
}

@media (max-width: 745px) {
    .cookie-banner .container {
        display: flex;
        flex-flow: column nowrap;
        text-align: center;
    }

    .cookie-banner .hidden-small {
        display: none;
    }

    .cookie-banner-buttons {
        margin-left: 0;
    }
}

.cookie-banner-info {
    flex: 1;
}

.cookie-banner a,
.cookie-banner a:link,
.cookie-banner a:visited,
.cookie-banner a:hover,
.cookie-banner a:active {
    text-decoration: underline;
}

.cookie-banner a:hover {
    font-weight: bold;
}

.cookie-banner button {
    max-width: 190px;
    margin-bottom: 6px;
}

.block-button.cookie-banner-decline {
    background-color: transparent !important;
    -webkit-box-shadow: inset 0px 0px 0px 2px #000;
    -moz-box-shadow: inset 0px 0px 0px 2px #000;
    box-shadow: inset 0px 0px 0px 2px #000;
    color: #000 !important;
}

.block-button.cookie-banner-decline:hover {
    background-color: #fff !important;
}

.block-button.cookie-banner-accept {
    background-color: #128144 !important;
    color: #fff !important;
}

.block-button.cookie-banner-accept:hover {
    background-color: #000000 !important;
    color: #fff !important;
}

.cookie-text {
    font-size: 1.2em;
    margin-right: 0.5em;
}

/* .site-logo { */
/* margin: 1em 0; */
/* max-width: 80%; */
/* } */
.show-search-field-button {
    position: absolute;
    top: 50%;
    right: 1em;
    margin-top: -17px;
    /* 1/2 of the height of the Search button, 34px. */
}

.search-container {
    width: 300px;
    float: right;
    margin-top: 37px;
    margin-bottom: 0.5em;
}
select {
    font-size: 1.1em;
}

select > option {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    font-size: 1.1em;
}
/* Prevent auto-zooming (iOS devices). */
.search-container select,
.search-container textarea,
.search-container input {
    font-size: 16px !important;
}

.did-you-mean {
    font-size: 16px;
}

.did-you-mean a {
    text-decoration: underline !important;
}

.navbar-container {
    width: 100%;
    height: 50px;
    position: absolute;
    background-color: #E7E7E7;
    border-top: 5px solid #fdc700;
}

.navbar-8sidor {
    background-color: transparent;
    border: 0;
    margin-bottom: 1.5em;

    background-color: #E7E7E7;
    border-top: 10px solid #fdc700;
    border-radius: 0;
}

.navbar-8sidor .navbar-header>button {
    background-color: transparent;
    border: 0;
    border-radius: 0;
}

.navbar-8sidor .navbar-header>.navbar-toggle {
    background-color: transparent;
}

.navbar-8sidor .navbar-nav {
    margin-top: -10px;
    background-color: #E7E7E7;
}

.navbar-8sidor .navbar-header .icon-bar {
    background-color: black;
}

.navbar-8sidor .navbar-collapse {
    border-color: white;
}

.navbar-8sidor .navbar-nav>li>a,
.navbar-8sidor .navbar-brand {
    color: #000000;
    font-weight: 600;
    border-right: 1px solid white;
    -webkit-transition: none !important;
    -o-transition: none !important;
    transition: none !important;
    position: relative;
    padding: 20px 15px;
}

.navbar-8sidor a.navbar-brand::before,
.navbar-8sidor .navbar-nav>li>a::before {
    content: '';
    position: absolute;
    left: 0;
    /* top: 0; */
    bottom: 100%;
    -webkit-transform: translateY(10px);
    -ms-transform: translateY(10px);
    transform: translateY(10px);
    width: 100%;
    border-top: 10px #FDC700 solid;
    z-index: 99;
    -webkit-transition: all 0s linear;
    -o-transition: all 0s linear;
    transition: all 0s linear;
}

.navbar-8sidor a.navbar-brand::after,
.navbar-8sidor .navbar-nav>li>a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 10px;
    width: 100%;
    border-top: 0px #FDC700 solid;
    z-index: 99;
    -webkit-transition: all 0s linear;
    -o-transition: all 0s linear;
    transition: all 0s linear;
}

.navbar-8sidor a.navbar-brand:focus::before,
.navbar-8sidor a.navbar-brand:active::before,
.navbar-8sidor a.navbar-brand:hover::before,
.navbar-8sidor div.active a.navbar-brand::before,
.navbar-8sidor .navbar-nav>li>a:focus::before,
.navbar-8sidor .navbar-nav>li>a:active::before,
.navbar-8sidor .navbar-nav>li.active>a::before,
.navbar-8sidor .navbar-nav>li>a:hover::before {
    /* border-width: 0; */
    /* bottom: 0; */
    /* transform: translateY(0px); */
    /* top: auto; */
    /* transition: all 0s .2s linear; */
    /* opacity: 0; */
}

.navbar-8sidor a.navbar-brand:focus::after,
.navbar-8sidor a.navbar-brand:active::after,
.navbar-8sidor a.navbar-brand:hover::after,
.navbar-8sidor div.active a.navbar-brand::after,
.navbar-8sidor .navbar-nav>li>a:focus::after,
.navbar-8sidor .navbar-nav>li>a:active::after,
.navbar-8sidor .navbar-nav>li.active>a::after,
.navbar-8sidor .navbar-nav>li>a:hover::after {
    border-width: 10px;
    bottom: 0;
    -webkit-transition: all 0s .2s linear;
    -o-transition: all 0s .2s linear;
    transition: all 0s .2s linear;
}

.navbar-8sidor .navbar-nav>li>a,
.navbar-8sidor .navbar-brand,
.navbar-8sidor .navbar-header>.navbar-toggle {
    font-size: 1.3em;
}

.navbar-inverse .navbar-nav>.active>a,
.navbar-8sidor .navbar-nav>li>a:hover,
.navbar-8sidor .navbar-nav>li>a:focus,
.navbar-8sidor .navbar-brand:hover {
    color: #000000;
    -webkit-transition: none !important;
    -o-transition: none !important;
    transition: none !important;
    background-color: #E7E7E7;
    border-top: 0;
}

.navbar-inverse .navbar-nav>.active>a:focus,
.navbar-inverse .navbar-nav>.active>a:hover {
    background-color: #E7E7E7;
    color: #000000;
}

.navbar-8sidor .nav-start:hover,
.navbar-8sidor .nav-start:focus,
.navbar-8sidor .active>.nav-start {
    color: #000000;
    -webkit-transition: none !important;
    -o-transition: none !important;
    transition: none !important;
    background-color: #E7E7E7;
    border-top: 0;
}

.navbar-8sidor .nav-menu {
    border-right: 0;
    border-left: 1px solid white !important;
}

@media (max-width: 767px) {
    .navbar-header {
        margin-top: -10px;
    }

    .navbar-brand {
        height: 60px;
        background-color: #E7E7E7;
    }

    .navbar-8sidor .active .navbar-brand,
    .navbar-8sidor .navbar-brand:focus,
    .navbar-8sidor .navbar-brand:active {
        background-color: #E7E7E7;
        border-top: 0;
        padding-top: 20px;
        padding-bottom: 10px;
        color: #000;
    }

    .navbar-8sidor .navbar-nav>li>a {
        padding: 15px 20px;
    }

    .navbar-8sidor .navbar-nav>li>a::after,
    .navbar-8sidor .navbar-nav>li>a::before {
        display: none;
    }

    .navbar-8sidor .navbar-nav>li.active>a,
    .navbar-8sidor .navbar-nav>li>a:hover,
    .navbar-8sidor .navbar-nav>li>a:active,
    .navbar-8sidor .navbar-nav>li>a:focus {
        border: 0;
        border-bottom: 0;
        border-left: 20px #FDC700 solid;
        padding: 15px 10px;
    }

    .navbar-8sidor .navbar-nav {
        margin-top: 0;
    }
}

.language-helper-container {
    margin-bottom: 1.5em;
}

body {
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    color: black;
}

a,
a:link,
a:visited {
    color: black;
}

a,
a:link,
a:visited,
a:hover,
a:active {
    text-decoration: none;
}

a:hover,
a:focus {
    color: #333;
}

a,
a:link,
button,
input {
    -o-transition: all .2s linear !important;
    -webkit-transition: all .2s linear !important;
    transition: all .2s linear !important;
}

h1 {
    font-size: 3.5em;
}

h2 {
    font-size: 3em;
}

h2.tag-header {
    margin-top: 0;
    margin-bottom: 0.5em;
}

h3 {
    font-size: 2.5em;
}

h4 {
    font-size: 2em;
}

h1 a:hover,
h2 a:hover,
h3 a:hover,
h4 a:hover {
    text-decoration: underline;
}

a:hover~h1 a,
a:hover~h2 a,
a:hover~h3 a,
a:hover~h4 a {
    text-decoration: underline;
}

.widget-title {
    font-size: 2.5em;
}

.widget_polls-widget h2 {
    font-size: 3em;
}

.related-title {
    font-size: 1.3em;
}

.alert {
    margin-bottom: 0;
}

label {
    font-weight: 600;
    margin-right: 0.5em;
}

.gray-dropdown {
    background-color: #EEE;
    border: 0;
    border-radius: 0.5em;
    margin-right: 0.2em;
    padding: 0.5em;
}

.gray-button {
    background-color: #EEEEEE;
    border: 0;
    border-radius: 0.5em;
    padding: 0.5em 1em;
    font-weight: bold;
}

.gray-button:hover,
.gray-button:focus {
    background-color: black;
    color: white;
}

.gray-button:hover > svg > path,
.gray-button:focus > svg > path {
    fill: white;
}

.yellow-button {
    background-color: #FDC700;
    border: 0;
    border-radius: 0.5em;
    padding: 0.5em 1em;
    font-weight: bold;
}

.yellow-button:hover,
.yellow-button:focus {
    background-color: black;
    color: white;
}

.category-header {
    background-color: #E7E7E7;
    color: #000;
    font-size: 1em !important;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0;
    padding: 0.3em 0.8em;
    border-left: 10px #FDC700 solid;
}

.widget .category-header {
    background-color: transparent;
}

.category-header:hover,
.category-header:focus {
    color: #000;
}

.pagination {
    margin: 0;
}

.article {
    margin-bottom: 2em;
    padding-bottom: 2em;
    border-bottom: 1px solid #CCC;
}

.article>img,
.article>a>img,
.article>div>div>a>img,
.article .attachment-large,
.wp-post-image {
    width: 100%;
    height: auto;
}

.video-container {
    position: relative !important;
    /* Keep original ratio: 345/643 ~ 0.5365 */
    padding-bottom: 53.65%;
    /* 56.25% = 16/9 */
    height: 0;
    overflow: hidden;
}

.wpb_video_wrapper {
    padding-top: 0 !important;
}

.video-container iframe,
.video-container object,
.video-container embed,
.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

[class^="huge_it_slideshow_image_wrap"] {
    margin-bottom: 1em;
    width: 100% !important;
}

.article .image-text {
    font-size: 1.2em;
    padding: 0.5em;
    background-color: #EEE;
}

.article-large a:hover h2,
.article-thumbnail a:hover h4 {
    text-decoration: underline;
}

.article-large h2 {
    margin-top: 0.3em;
}

.article .content>p {
    max-width: 300px;
    margin-bottom: 1em;
}

.article .content p {
    margin-bottom: 25px;
}

.article .excerpt p {
    max-width: 300px;
}

.article p,
.article ul {
    font-size: 1.3em;
}

.article p a {
    color: blue;
    text-decoration: underline;
}

.article p strong a,
.article p a strong,
.article p a.no-underline {
    color: #000;
    text-decoration: none;
}

.article p strong a:hover,
.article p a strong:hover,
.article p a.no-underline:hover {
    text-decoration: underline;
}

.article .read-more {
    font-size: 1.3em;
    font-weight: 600;
    text-decoration: underline;
}

.article .bottom-links {
    font-size: 1em;
    margin-top: 0.7em;
    margin-bottom: 0;
}

.article .share {
    font-weight: 600;
    margin-top: 1em;
}

.article .date {
    color: #555;
    margin-right: 1.8em;
    margin-bottom: 0;
}

.article .comments {
    color: #555;
    display: inline-block;
    background-image: url('/wp-content/themes/8sidor/images/comments.png');
    background-repeat: no-repeat;
    background-position: left center;
    padding-left: 25px;
}

.article .comments a {
    color: black;
}

.article .comments a:hover,
.article .comments a:focus {
    color: #555;
}

.article hr {
    border-color: #CCC;
}

#lyssna .rs_skip {
    display: none;
}

.inactive-comments {
    background-color: #ecebeb;
    border-radius: 5px !important;
    margin-top: 30px !important;
    padding: 21px !important;
}

.excerpt [id^="rspeak_read_"] {
    font-size: 1.3em;
    max-width: 300px;
}

/* Comments styling */
.comment-meta {
    font-size: 14px;
}

.comment-body {
    border: solid 1px grey;
    margin: 1em 0;
    padding: 1em;
    border-radius: .5em;
    font-size: 18px;
    word-break: break-word;
    width: 70%;
}

.comment-body p {
    font-size: 18px;
    margin: 1em 0;
    line-height: 1.8em;
}

.comment-list {
    list-style-type: none;
    padding-left: 0;
}

.avatar {
    margin: 0 1em 0 0;
}

.comment-author {
    margin-bottom: 1em;
}

cite {
    font-style: normal;
    font-weight: bold;
    font-size: 18px;
}

.says {
    display: none;
}

#errorMessage {
    font-size: 18px;
    font-weight: bold;
    color: red;
}

.comment-reply-link {
    display: none;
    border: solid 1px grey;
    background-color: #f7f7f7;
    padding: 5px 10px;
    border-radius: .5em;
    border: 0;
    background-color: #000;
    color: #fff !important;
}

.comment-reply-link:hover {
    background-color: #FDC700;
    color: #000 !important;
}

#comment {
    display: block;
    width: 70%;
    margin-right: 0;
    font-size: 1.3em;
    padding: .5em 2em .5em .5em;
    border-radius: 5px;
    resize: none;
    overflow: auto;
}

.comment-form-comment {
    font-size: 18px;
    position: relative;
}

.comment-form-author {
    font-size: 18px;
}

#author {
    padding: .5em;
    border-radius: 5px;
    border: 1px solid rgb(169, 169, 169);
}

#submit {
    padding: 1em;
    font-weight: bold;
    border-radius: .5em;
    border: 0;
    background-color: #000;
    color: #fff;
}

#submit:hover {
    background-color: #FDC700;
    color: #000;
    border: 0;
}

.opinion-wrapper {
    width: 100%;
    padding: 1em;
    background-color: #ecebeb;
    margin-bottom: 2em;
    border-radius: 5px;
    text-align: center;
}

.button-container {
    display: inline-block;
    margin: 0 10px;
}

.like-button {
    float: left;
    padding: 1em;
    border: 1px solid grey;
    border-radius: 0.5em;
    font-weight: bold;
    background-color: #f7f7f7;
}

.like-button:hover {
    background-color: #FDC700;
}

.like-button img {
    width: 1.5em;
    margin-right: 1em;
}

.like-text {
    float: left;
    margin: .7em 2em .7em 1em;
    font-size: 18px;
}

.fa,
.fas {
    font-size: 18px;
}

.comment-author-label {
    padding: 5px;
    font-size: 14px;
    border-radius: 3px;
    background-color: #FDC700;
}

/*Emojis*/
.emojiPicker {
    display: none;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    width: 270px;
    height: 300px;
    padding: 10px 10px 40px 10px;
    position: absolute;
    top: -270px;
    right: 0;
    border: 1px solid black;
    background-color: white;
    overflow: auto;
}

.pickEmojiBtn {
    background-color: transparent;
    padding: 5px;
    border: 0;
    font-size: 1.5em;
}

.toggleEmojiBtn {
    position: absolute;
    right: 30%;
    top: 1.2em;
    background-color: transparent;
    border: 0;
    font-size: 1.5em;
}

.closeEmojiPickerBtn {
    position: absolute;
    right: 0;
    bottom: 0;
    border: 0;
    padding: 10px;
    background-color: transparent;
}

/* Popups*/
.popup {
    position: relative;
    display: inline-block;
    cursor: pointer;
    text-decoration: underline;
    font-size: 18px;
}

.popup .popuptext {
    display: none;
    visibility: hidden;
    width: 450px;
    height: 500px;
    border: 1px solid grey;
    background-color: #f7f7f7;
    text-align: left;
    border-radius: 5px;
    padding: 10px;
    position: absolute;
    z-index: 99999;
    top: 125%;
    left: 35%;
    margin-left: -80px;
    overflow-y: scroll;
}

.popuptext {
    cursor: auto;
}

.rulesHeader {
    font-size: 2em;
}

.closeRules {
    float: right;
    margin: 1em 1em 1em 0;
    border: 1px solid black;
    border-radius: 5px;
    padding: .5em;
    cursor: pointer;
    text-align: center;
}

#showRulesBtn {
    background-color: transparent;
    text-decoration: underline;
    border: 0;
}

.closeMovie {
    float: right;
    margin: 1em 1em 1em 0;
    border: 1px solid black;
    border-radius: 5px;
    padding: .5em;
    cursor: pointer;
    text-align: center;
}

.popup .popuptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #fff transparent transparent transparent;
}

.popup .show {
    visibility: visible;
    -webkit-animation: fadeIn 1s;
    animation: fadeIn 1s;
}

#showMovie {
    width: 640px;
    height: 360px;
    margin: 0;
}

.moviePopup {
    background-color: #f7f7f7;
    border: solid 1px grey;
    border-radius: 5px;
    margin: 1em 0;
}

.movie {
    overflow-y: hidden !important;
    overflow: hidden;
    height: auto !important;
    width: auto !important;
}

.sign-language-icon {
    height: 2.5em;
}

.search-form {
    margin-bottom: 1rem;
    padding: 1rem;
    background-color: #EEEEEE;
}

.search-form legend {
    margin: 0 0.5em 5px 0;
    border-bottom: none;
    font-size: 14px;
    font-weight: 600;
}

@-webkit-keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@media (max-width: 415px) {
    .comment-body {
        width: 100%;
    }

    .popuptext {
        width: 280px !important;
        height: 350px !important;
    }

    #like-button {
        margin-bottom: .5em;
    }

    .opinion-wrapper {
        text-align: left;
        padding: .5em;
    }

    .like-text {
        margin: .7em 0em .7em .5em;
        font-size: 16px;
    }

    #showMovie {
        width: 280px !important;
        height: auto !important;
        margin: 0;
    }

    .movieFrame {
        width: 270px;
        height: auto;
        padding-right: 10px;
    }

    .toggleEmojiBtn {
        right: 0;
    }

    #comment {
        width: 100%;
    }

    .rulesHeader {
        font-size: 18px;
        font-weight: bold;
    }

    .avatar {
        margin-right: .1em;
    }

    #author {
        width: 100%;
    }
}

/* Ugly fix, word-wrap did not work. */
#c4all-widget-container {
    max-width: 750px;
}

#c4all-widget-container .comment-intro {
    border-top: 0 !important;
}

.similar-articles .article {
    border: 0;
}

.current-tags-wrapper {
    margin-top: 2.5em;
}

.current-tags-wrapper.alla-valjare {
    margin-top: 1em;
}

.current-tags-wrapper .row {
    margin: 0;
}

.current-tags {
    background-color: #EEE;
    margin-top: 1em;
    padding: 2em;
}

.current-tags h2 {
    margin: 0;
    margin-bottom: 0.5em;
}

.current-tags ul {
    margin: 0;
    padding: 0;
}

.current-tags ul>li {
    margin: 0;
    margin-right: 0.5em;
    margin-bottom: 0.5em;
    padding: 0;
    display: inline-block;
}

.main-content-sub-wrapper .row {
    margin: 0;
}

.main-content-sub {
    margin-top: 2em;
}

.tidningen-8sidor {
    background-color: #EEE;
    background-position: left center;
    background-repeat: no-repeat;
    background-size: contain;
    padding: 2em;
}

.tidningen-8sidor h2 {
    margin: 0;
    margin-bottom: 0.5em;
}

.tidningen-8sidor ul {
    margin: 0;
    padding: 0;
}

.tidningen-8sidor ul>li {
    margin: 0;
    margin-right: 0.5em;
    margin-bottom: 0.5em;
    padding: 0;
    display: inline-block;
}

.tidningen-8sidor ul>li>a {
    float: left;
}

.tidningen-8sidor ul>li>abbr {
    font-size: 1.2em;
    display: block;
    clear: both;
}

.block-button {
    display: inline-block;
    font-size: 1.2em;
    font-weight: 600;
    padding: 0.5em 0.8em;
    border-radius: 0.5em;
    background-color: black;
    color: white !important;
    border: 0;
}

.block-button:hover,
.block-button:focus {
    background-color: #FDC700;
    color: black !important;
}

.block-button-yellow {
    background-color: #FDC700;
    color: black !important;
}

.block-button-yellow:hover,
.block-button-yellow:focus {
    background-color: black;
    color: white !important;
}

.block-button-allavaljare {
    color: white !important;
}

.block-button-allavaljare:hover,
.block-button-allavaljare:focus {
    background-color: black;
    color: white !important;
}

.sidebar {
    background-color: #EEE;
    margin-bottom: 2em;
}

.sidebar section {
    padding-bottom: 0.5em;
}

.sidebar section:last-of-type {
    border-bottom: 0;
}

.sidebar .article {
    margin-bottom: 1em;
    padding-bottom: 1em;
}

.sidebar input:not([type=button]):not([type=submit]),
.sidebar textarea {
    width: 100%;
    margin-bottom: 1em;
}

.sidebar textarea {
    height: 10em;
}

.main-div-overlay {
    position: fixed;
    /* Sit on top of the page content */
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    /* Hidden by default */
    width: 100%;
    /* Full width (cover the whole page) */
    height: 100%;
    /* Full height (cover the whole page) */
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 3;
    /* Specify a stack order in case you're using a different order for other elements */
    padding: 14px;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    text-align: center;
}

.welcome-background {
    position: fixed;
    /* Sit on top of the page content */
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    /* Hidden by default */
    width: 100%;
    /* Full width (cover the whole page) */
    height: 100%;
    /* Full height (cover the whole page) */
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url(../images/8sidor_oskärpa2.jpg);
    /* Black background with opacity */
    background-size: cover;
    background-repeat: no-repeat;
    z-index: 3;
    /* Specify a stack order in case you're using a different order for other elements */
    padding: 14px;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    text-align: center;
}

.overlay {
    position: fixed;
    /* Sit on top of the page content */
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    /* Hidden by default */
    width: 100%;
    /* Full width (cover the whole page) */
    height: 100%;
    /* Full height (cover the whole page) */
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    /* Black background with opacity */
    z-index: 4;
    /* Specify a stack order in case you're using a different order for other elements */
    padding: 14px;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    text-align: center;
}

.overlay-inner {
    background: white;
    /*max-width: 780px;
    max-height: 100%;*/
    margin: 0 auto;
    padding: 25px 14px;
    /*flex-grow: 1;*/
    position: relative;
    overflow-x: hidden;
    overflow-y: auto;
    cursor: default;
    -webkit-overflow-scrolling: touch;
    max-width: 55%;
}

.overlay-inner .rs_skip {
    display: none;
}

.overlay-inner p {
    margin: 0 auto;
    max-width: 85% !important;
    font-size: 18px;
    margin-bottom: 30px;
}

.overlay-inner .arrow {
    height: 10px;
    width: 10px;
    border: 1px solid black;
    border-width: 2px 2px 0 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    display: inline-block;
}

.overlay-inner .arrowed {
    margin: auto;
}

/* Accordion - start */
.sidebar .menu * {
    list-style-type: none;
}

.sidebar .menu {
    padding-left: 0;
}

.sidebar .menu ul {
    padding-left: 1.5em;
}

.sidebar .menu>li {
    border-bottom: 1px solid #CCC;
    padding-bottom: 1em;
}

.sidebar .menu>li:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.sidebar .menu li {
    margin: 1em 0;
}

.sidebar .menu a {
    font-size: 1.2em;
    font-weight: 600;
    position: relative;
    display: block;
}

.sidebar .menu .dcjq-icon {
    position: absolute;
    width: 13px;
    height: 13px;
    top: 50%;
    right: 0;
    margin-top: -6px;
    background-image: url('/wp-content/themes/8sidor/images/plus.png');
    background-repeat: no-repeat;
}

.sidebar .menu .active .dcjq-icon {
    background-image: url('/wp-content/themes/8sidor/images/minus.png');
    margin-top: -1px;
}

/* Accordion - end */
.audio-player .controls {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1em;
    margin-bottom: 1em;
    width: 100%;
    justify-content: space-between;
}

.audio-player .controls .gray-button {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    height: 41px;
    min-width: 41px;
    justify-content: center;
    align-items: center;
    row-gap: 2px;
    padding: 5px;
}

.audio-player .gray-button span:not(.sr-only) {
    width: 100%;
    justify-content: center;
    white-space: nowrap;
    font-family: 'Open Sans', 'sans-serif';
    font-size: .85em;
}

.audio-player .glyphicon-pause {
    font-weight: normal;
}

.audio-player .mejs__container {
    margin: 0;
    margin-bottom: 1em;
    border-radius: 0.5em;
    background-color: #E7E7E7;
}

.audio-player .mejs__controls {
    border-radius: 0.5em;
    background: #E7E7E7 !important;
    display: flex;
    align-items: center;
    height: 100%;
}

.audio-player .mejs__time-handle-content {
    height: 0.825rem !important;
    top: -0.4125rem !important;
    border: 0.5rem black solid !important;
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
        transform: scale(1);
}

.audio-player .mejs__time-current {
    background: black;
}

.audio-player .mejs__time {
    font-size: 1.2rem;
    color: black;
}

.audio-player .mejs__mute, .audio-player .mejs__unmute {
    align-items: center;
    justify-content: center;
    display: flex;
    margin: 0 1rem;
}

.audio-player .mejs__mute button {
    mask-image: url(../images/unmute.svg);
    mask-size: 100%;
    mask-repeat: no-repeat;
    mask-position: center;
    -webkit-mask-image: url(../images/unmute.svg);
    -webkit-mask-size: 100%;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    color: black;
    height: 100%;
    width: 100%;
    background-color: black !important;
}

.audio-player .mejs__unmute button {
    mask-image: url(../images/mute.svg);
    mask-size: 100%;
    mask-repeat: no-repeat;
    mask-position: center;
    -webkit-mask-image: url(../images/mute.svg);
    -webkit-mask-size: 100%;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    color: black;
    height: 100%;
    width: 100%;
    background-color: black !important;
}

.audio-player .mejs__horizontal-volume-slider {
    display: none !important;
}

.download-recording-button {
    margin-bottom: 0.5em;
    display: inline-block;
}

.select-recording-date-form {
    margin-bottom: 1em;
}

.veckans-tidning-container p,
.inlasningar-container p {
    font-size: 1.3em;
}

.veckans-tidning-container {
    margin-bottom: 2em;
}

.veckans-tidning-container .row {
    margin: 0;
}

.border-bottom {
    border-bottom: 1px solid #CCC;
}

.file-list ul {
    margin-left: 0;
    padding-left: 0;
    list-style-type: none;
}

.footer * {
    color: #CCC;
}

.footer {
    background-color: #555;
    padding: 3em 0;
    margin-top: 2em;
}

.footer a,
.footer a:link,
.footer a:visited {
    color: #CCC;
}

.footer a,
.footer a:link,
.footer a:visited,
.footer a:hover,
.footer a:active {
    text-decoration: underline;
}

.footer a:hover,
.footer a:focus {
    color: white;
}

.footer h2 {
    color: #FDC700;
}

.footer ul {
    list-style-type: square;
    padding-left: 2em;
}

.footer ul>li {
    color: #FDC700;
    margin-top: 0.5em;
}

.footer ul>li>a {
    font-size: 1.2em;
}

.footer p {
    font-size: 1.2em;
}

.footer hr {
    border-color: #999;
}

@media (max-width: 991px) {

    .navbar-8sidor .navbar-nav>li>a,
    .navbar-8sidor .navbar-brand {
        font-size: 1em;
    }

    h1 {
        font-size: 3em;
    }

    h2,
    .widget_polls-widget h2 {
        font-size: 2.5em;
    }

    h3 {
        font-size: 2em;
    }

    h4 {
        font-size: 1.5em;
    }

    .widget-title {
        font-size: 2em;
    }

    .article {
        margin-bottom: 1.5em;
        padding-bottom: 1.5em;
    }

    .article h4 {
        margin-bottom: 0;
    }

    .article-medium img {
        margin-bottom: 0.4em;
    }

    .sidebar {
        padding-top: 1px;
        margin-top: 1em;
        margin-bottom: 1em;
    }

    .current-tags {
        margin-top: 1em;
        padding: 1em 0;
    }

    .main-content-sub {
        margin-top: 1em;
    }

    .tidningen-8sidor {
        background-image: url('') !important;
        margin-top: 0;
        padding: 1em 0;
    }

    .footer {
        margin-top: 1.5em;
        padding: 1em 0;
    }

    .puffbild-special img {
        width: 60%;
        margin-left: 20%;
    }
}

@media (max-width: 767px) {
    .puffbild-special img {
        width: 100%;
        margin-left: 0;
    }

    .cookie-text {
        display: block;
        margin-bottom: 0.5em;
    }

    .site-logo {
        max-width: 60%;
    }

    .search-container {
        display: none;
        float: none;
        width: 100%;
        margin-top: 0;
        margin-bottom: 1em;
    }

    .navbar-8sidor .navbar-nav>li>a,
    .navbar-8sidor .navbar-brand {
        font-size: 1.3em;
    }

    .navbar-8sidor .navbar-nav>li>a {
        border: 0;
    }

    .navbar-8sidor .navbar-collapse {
        background-color: #E7E7E7;
    }

    h1 {
        font-size: 2.5em;
    }

    h2,
    .widget_polls-widget h2 {
        font-size: 2em;
    }

    h3 {
        font-size: 1.5em;
    }

    h4 {
        font-size: 1.3em;
    }

    .widget-title {
        font-size: 1.5em;
    }

    .similar-articles .article {
        border-bottom: 1px solid #CCC;
        margin-bottom: 1.5em;
        padding-bottom: 1.5em;
    }

    .audio-player .background-container {
        position: absolute;
        width: 100%;
        height: 42px;
        top: 0;
        margin-left: -15px;
        margin-right: -15px;
    }

    .audio-player .mejs__container {
        width: 100% !important;
        border-radius: 0;
        margin-top: 1rem;
    }

    .footer ul {
        padding-bottom: 1.5em;
        margin-bottom: 1.5em;
        border-bottom: 1px solid #999;
    }
}

@media (max-width: 550px) {
    .overlay-inner {
        max-width: 95%;
    }

    .welcome-background {
        background-image: url(../images/8sidor.se_oskärpa_mobil.png);
    }
}

@media (min-width: 551px) and (max-width: 1028px) {
    .overlay-inner {
        max-width: 75%;
    }

    .welcome-background {
        background-image: url(../images/8sidor.se_oskärpa_platta.png);
    }
}

@media (min-width: 992px) {
    .wpb_row {
        margin-right: 8px !important;
    }

    .row-equal-height {
        display: table;
    }

    .row-equal-height>[class*="col-"] {
        float: none;
        display: table-cell;
        vertical-align: top;
    }

    .tidningen-8sidor img {
        display: none;
    }
}

@media (min-width: 768px) {
    .search-container {
        display: block !important;
    }

    .navbar-8sidor .navbar-collapse {
        padding: 0;
    }

    .veckans-tidning-container .row:first-child {
        margin-bottom: 50px;
    }
}

/* Keep original ratio: (345/643) * 750 ~ 403 */
.wp-slides>div,
.wp-slides>div>div {
    max-width: 750px !important;
    /* max-height: 403px !important; */
}

/* Taken from the old 8 Sidor site. */
/*Slider Style*/

.tin-slider-wrapper {
    position: relative;
    margin-bottom: 15px;
}

.tin-slide-prev,
.tin-slide-next {
    width: 32px;
    height: 46px;
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAuCAYAAABJcBuEAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyFpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY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Oxuf7nJ0d3dr+kRpaeljtcNpukQUYzmS0nY8Ho9VVlY+w/UrwAmrx3MjIvYDp5ubm59PTk6OR6PRmZGRkcGysrIndDIqVmtQCBaWgz8xu+T+EIVWLtcLEqgyipDf/KayjflRlK4lzHbJJHqwstSSu2FRso6Lu2+WRChrRcttOqWIWRIQp4frtenmOQGSYKOUUzYqlc1KrUalJFtAsFlPWmnVSnyVbFeA7Wb1PwEGABy7rLzk2CeLAAAAAElFTkSuQmCC);
    background-repeat: no-repeat;
    background-color: transparent;
    padding: 0;
    border: none;
    z-index: 999;
    top: 44%;
    display: none;
}

.tin-slide-next {
    -webkit-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    transform: rotate(180deg);
}

.tin-slide-prev::before,
.tin-slide-prev::after,
.tin-slide-next::before,
.tin-slide-next::after {
    display: none;
}

.wp-slides .description_text {
    font-size: 1em;
    padding: 0.5em;
    background-color: #EEE;
    display: block;
}

.wp-slides li {
    /* height: 100%; */
    _width: inherit;
    /* _height: inherit; */
    display: table-cell;
    filter: Alpha(opacity=100);
    opacity: 1;
    position: relative;
    top: 0px;
    left: 0px;
    vertical-align: middle;
    z-index: 1;
    margin: 0px !important;
    padding: 0px !important;
    border-radius: 0px !important;
}

.wp-slides {
    padding: 0px !important;
    margin: 0px !important;
    position: relative;
}

.wp-slides li img {
    width: 100%;
    height: auto;
    position: relative !important;
}

/* WCAG - Skip to content */
.skip-to-content.block-button {
    position: absolute;
    left: -9999999px;
    -webkit-transition: none !important;
    -o-transition: none !important;
    transition: none !important;
    display: block;
}

.skip-to-content.block-button:focus,
.skip-to-content.block-button:active {
    left: 50%;
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
}

.wcag-focus,
input:focus,
textarea:focus {
    outline: 2px #333 solid !important;
    border: 0 !important;
}

.widget_attasidor_articles_widget .category-listing {
    margin-bottom: 30px;
}

.widget_attasidor_articles_widget .row:first-of-type .category-listing:first-of-type {
    margin-top: 30px;
}

header .site-logo {
    max-width: 60%;
    margin: 35px 0 24px;
    display: block;
}

header .header-content.alla-valjare .site-logo {
    margin-top: 57px;
}

header .header-content.alla-valjare .site-logo {}

header .search-container form {
    margin-bottom: 28px;
}

header .search-container {
    margin-top: 0;
    margin-bottom: 0;
}

@media (min-width: 768px) {
    header .header-content .row {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: end;
        -ms-flex-align: end;
        align-items: flex-end;
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between;
    }

    header .header-content .row::before {
        display: none;
    }

    header .site-logo {
        max-width: 80%;
    }

    header .header-content .row .col-md-8,
    header .header-content .row .col-md-4 {
        /* padding: 0; */
        -webkit-box-flex: 1;
        -ms-flex: 1;
        flex: 1;
        width: auto;
    }

    header .site-header-logo {
        display: block;
    }

    header .search-container {
        max-width: 300px;
    }
    .audio-player .controls {
        width: 280px;
    }
}

@media (min-width: 992px) {
    header .header-content.atta-sidor .site-logo {
        width: 716px;
        height: auto;
    }

    header .site-logo {
        max-width: none;
    }

    header .header-content.alla-valjare .site-logo {
        height: auto;
        width: 790px;
    }
}

@media (max-width: 1199px) {
    header .header-content.atta-sidor .site-logo {
        /* max-width: 600px; */
        /* max-height: 80px; */
        width: 580px;
    }

    header .header-content.alla-valjare .site-logo {
        width: 640px;
        margin-top: 53px;
    }
}

@media (max-width: 480px) {
    header .header-content.atta-sidor .site-logo {
        max-width: 202px;
    }
}

.mtm-factbox {
    padding-top: 5px;
}

.mtm-factbox-flex {
    background-color: #EEE;
    padding: 15px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.mtm-factbox-content {
    font: 13.06px/22.66px 'Myriad Pro', sans-serif;
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
}

.article .mtm-factbox p.category-header {
    margin-bottom: 15px;
}

.mtm-factbox ul li:first-child {
    margin-top: 0;
}

.mtm-factbox-image {
    max-width: 50%;
    position: relative;
    padding: 6px 15px;
}

.mtm-factbox-image img {
    width: 100%;
    height: auto;
    border: 1px #000 solid;
}

.mtm-factbox-image-photographer {
    display: block;
    -webkit-transform: rotate(-90deg);
    -ms-transform: rotate(-90deg);
    transform: rotate(-90deg);
    -webkit-transform-origin: top right;
    -ms-transform-origin: top right;
    transform-origin: top right;
    position: absolute;
    right: 15px;
    top: 6px;
    font-size: 0.75em;
}

@media (max-width: 545px) {
    .mtm-factbox-flex {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-flow: column;
        flex-flow: column;
    }

    .mtm-factbox-image {
        max-width: 100%;
        padding-left: 0;
    }
}