/*
Theme Name: VPN
Theme URI: https://wordpress.org/themes/vpnportalen/
Author: Filip Johnsen & Håkon Hess
Author URI: https://filgood.no
Description: A Theme for VPN
Version: 1.3.11
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: vpn
*/

@font-face {
    font-family: 'Mulish';
    src: url('./assets/fonts/Mulish-Light.woff2');
    font-style: normal;
    font-weight: 300;
    font-display: swap;
}

@font-face {
    font-family: 'Mulish';
    src: url('./assets/fonts/Mulish-Regular.woff2');
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: 'Mulish';
    src: url('./assets/fonts/Mulish-SemiBold.woff2');
    font-style: normal;
    font-weight: 600;
    font-display: swap;
}

@font-face {
    font-family: 'Mulish';
    src: url('./assets/fonts/Mulish-Bold.woff2');
    font-style: normal;
    font-weight: 700;
    font-display: swap;
}

@font-face {
    font-family: 'Mulish';
    src: url('./assets/fonts/Mulish-ExtraBold.woff2');
    font-style: normal;
    font-weight: 800;
    font-display: swap;
}

@font-face {
    font-family: 'Open Sans';
    src: url('./assets/fonts/OpenSans-SemiBold.woff2');
    font-weight: 600;
    font-display: swap;
    font-style: normal;
}

* {
    box-sizing: border-box;
    font-family: "Mulish", sans-serif;
    font-weight: 400;
    list-style: none;
}

b *,
strong * {
    font-weight: 700;
}

html,
body {
    height: 100%;
    width: 100vw;
    margin: 0;
}

body {
    overflow-x: hidden;
}

strong {
    font-weight: 700;
}

figure {
    margin: 0;
}

h1 {
    font-weight: 600;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 5px 0;
    padding: 5px 0;
}

.main-title {
    color: #00273d;
    font-weight: 800;
    margin-bottom: 8px;
    font-size: 38px;
    font-family: "Open Sans";
}

p,
li {
    font-weight: 400;
}

a {
    padding: 0;
    margin: 0;
    color: inherit;
}

p {
    margin: 0 0 15px;
    line-height: 1.67em;
}

li {
    margin-bottom: 10px;
    line-height: 1.67em;
}

ol li {
    list-style: decimal !important;
}

hr {
    border: 0.5px solid lightgray;
}

header {
    width: 100vw;
    height: 60px;
    position: relative;
    z-index: 2;
}

menu {
    padding: 0;
    margin-top: 0;
}

body:not(.material-loaded) .material-icons {
    opacity: 0 !important;
    font-size: 0 !important;
}

.top-menu .checkmark {
    font-weight: 600;
    margin-bottom: 5px;
}

.wp-block-image img {
    height: auto;
}

/* Nav */

.main-menu {
    width: 100vw;
    height: 60px;
    background-color: white;
    position: fixed;
    z-index: 1;
    padding-right: 2rem;
    box-shadow: rgb(230, 230, 230) 2px 2px;
}

.menu {
    float: right;
    margin: 25px 0;
    padding: 0;
}

.menu-close {
    display: none;
}

.menu-item {
    float: left;
    position: relative;
    margin-right: 2rem;
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 600;
}

.menu-item-has-children a {
    margin-bottom: 10px;
    display: inline-block;
}

.menu-item a {
    text-decoration: none;
    font-weight: 600;
}

.menu-item a:hover {
    color: rgb(55, 117, 246);
}

.menu-item:hover .sub-menu {
    display: block;
}

.sub-menu {
    position: absolute;
    left: -20%;
    padding: 0;
    white-space: nowrap;
    display: none;
    background: #fff;
    box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
    max-width: 480px;
}

@media screen and (width > 951px) {
    .menu > .menu-item:nth-last-child(-n + 3) .sub-menu {
        left: auto;
        right: -20%;
    }
}

.sub-menu li {
    margin: 0;
    width: 100%;
}

.sub-menu a {
    float: none;
    color: black;
    margin: 0;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-transform: none;
}

.sub-menu a:hover {
    color: black;
}

.sub-menu li:hover {
    background: #ddd;
}

/* End Nav */

button:hover {
    box-shadow: rgb(170, 170, 170) 0px 0px 4px 2px;
    cursor: pointer;
    text-decoration: underline;
}

#error-button {
    background: -webkit-linear-gradient(
        top,
        rgba(255, 85, 0, 0.85) 0%,
        rgb(255, 85, 0) 100%
    );
    background: -moz-linear-gradient(
        top,
        rgba(255, 85, 0, 0.85) 0%,
        rgb(255, 85, 0) 100%
    );
    background: -ms-linear-gradient(
        top,
        rgba(255, 85, 0, 0.85) 0%,
        rgb(255, 85, 0) 100%
    );
    background: -o-linear-gradient(
        top,
        rgba(255, 85, 0, 0.85) 0%,
        rgb(255, 85, 0) 100%
    );
    color: white;
    border: none;
    font-size: 32px;
    width: 40%;
    text-align: center;
    padding: 2% 0;
    margin: 50px auto;
    display: block;
}

form {
    max-width: 600px;
    padding: 0;
}

form * {
    display: block;
}

form textarea {
    width: 80%;
    height: 200px;
    border-radius: 5px;
    border: 1px solid lightgray;
    resize: none;
}

form input {
    width: 50%;
    padding: 5px;
    height: 50px;
    margin: 10px 0;
    border-radius: 5px;
    border: 1px solid lightgray;
}

form input[type="submit"] {
    width: 25%;
    margin: 10px 0;
    height: 40px;
    background: rgb(15, 214, 81);
    color: white;
    border: none;
    border-radius: 5px;
}

.wide-container {
    max-width: 1100px;
    margin: 0 auto;
}

.min-container {
    max-width: 800px;
    margin: 20px auto;
}

.ranking-stars-review {
    margin-top: 10px;
    display: grid;
    align-items: center;
    grid-template-columns: 1fr 1fr;
}

.article-container {
    max-width: 1000px;
    margin: 0px auto;
    padding: 0 20px;
}

.wp-article-container {
    max-width: 1140px;
    margin: 40px auto 50px;
    position: relative;
}

#wp-article-content {
    padding: 0 2.2rem 0;
    box-shadow: 2px 2px 5px #dedede;
    background: white;
    border-radius: 6px;
}

#article-floater {
    height: 100px;
    margin: -10px 0;
    padding: 10px 0;
    box-shadow: 0px 2px 5px lightgray;
    position: fixed;
    display: none;
    top: 0;
    z-index: 999;
    width: 100vw;
    background-color: white;
}

.bullet-list li {
    list-style-type: initial;
    line-height: 1.67em;
}

.article-list-number li {
    list-style-type: decimal;
    font-size: 16px;
    line-height: 1.67em;
    margin-bottom: 15px;
}

.single-article {
    border-bottom: 1px dotted lightgrey;
}

.single-article:last-of-type {
    border-bottom: none;
}

.display {
    display: block;
}

#article-floater .container,
#article-floater .row,
#article-floater .row [class*="col-"] {
    height: 100%;
}

.article-floater-img {
    height: 100%;
}

#article-floater h4 {
    margin-top: 0;
}

#article-floater p {
    margin-top: 0;
}

.logo-container {
    position: fixed;
    z-index: 2;
    top: 5px;
    left: 50px;
}

.logo-container * {
    position: absolute;
}

.logo-container img {
    height: 50px;
    left: 0;
}

.logo-text {
    font-weight: 600;
    font-size: 1.75em;
    color: #00273d;
    left: 110px;
    top: 8px;
}

.logo-text span {
    font-weight: 800;
    left: -60px;
    font-family: "Mulish", sans-serif;
}

.logo-text span:nth-of-type(2) {
    font-weight: 800;
    top: 10px;
}

#nettleser {
    vertical-align: top;
    line-height: 50px;
    font-size: 2em;
    font-weight: 600;
    padding-left: 5px;
}

.nettleser-img {
    width: auto !important;
    height: 50px !important;
}

.nettleser-img + .wp-caption-text {
    display: inline-block;
    vertical-align: top;
    line-height: 50px;
    font-size: 2em;
    font-weight: 600;
    padding-left: 5px;
}

#burger-menu {
    font-size: 2.5em;
    position: absolute;
    right: 5%;
    display: none;
    z-index: 990;
}

#burger-menu:hover {
    cursor: pointer;
}

.exit {
    font-size: 2em;
    padding-left: 15px;
    color: white;
    display: none;
    width: 100vw;
    background-color: #222;
}

#add-disclaimer {
    position: fixed;
    max-width: 300px;
    top: 30%;
    left: 50%;
    background-color: white;
    padding: 10px;
    z-index: 999;
    transform: translate(-50%, -30%);
}

#add-disclaimer-overlay {
    display: none;
    background-color: rgba(0, 0, 0, 0.6);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 998;
    width: 100vw;
    height: 100vh;
}

#ranking-disclaimer {
    position: fixed;
    max-width: 300px;
    top: 30%;
    left: 50%;
    background-color: white;
    padding: 10px;
    z-index: 999;
    transform: translate(-50%, -30%);
}

.disclaimer-title {
    margin: 5px 0;
    padding: 5px 0;
    font-weight: 700;
    font-size: 1.17em;
}

#ranking-disclaimer-overlay {
    display: none;
    background-color: rgba(0, 0, 0, 0.6);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 998;
    width: 100vw;
    height: 100vh;
}

#info {
    font-size: 16px;
    margin-left: 5px;
}

#best-seller {
    border-left: 3px solid #00273d;
    border-right: 3px solid #00273d;
    border-bottom: 3px solid #00273d;
}

#best-seller .row:first-of-type {
    padding: 7px;
}

#best-seller .row:first-of-type [class*="col-"] {
    padding: 0;
}

#best-seller .row:first-of-type [class*="col-"] p {
    margin: 0;
}

#best-seller .row:first-of-type [class*="col-"] .info-container {
    padding: 0;
}

.vpn-img-container {
    width: 150px;
    margin: 0px auto;
}

.button-container {
    min-width: 200px;
    margin: 25% 0 20px;
    float: right;
}

.clear-margin {
    margin: 0 !important;
}

.clear-padding {
    padding: 0 !important;
}

.relative {
    position: relative;
}

.bottom {
    position: absolute;
    bottom: 5px;
}

.right {
    right: 5px;
}

.padding-push {
    padding-top: 20px;
}

.vpn-img {
    padding: 0 10%;
    width: 100%;
}

.nord-img {
    padding: 0;
}

.tall-img img {
    max-height: 300px;
    width: auto;
    margin: 0 auto;
    display: block;
}

.article-img {
    width: 400px;
    margin: 0 auto;
}

.vpn-article-img {
    height: 250px;
    margin: 0 auto;
    display: block;
}

article {
    padding: 0 15px;
}

.full-img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.review-full-img {
    max-height: 300px;
    display: block;
    margin: 0 auto;
}

#safervpn-img {
    margin-top: 8px;
}

.wp-caption-text {
    text-align: center;
    font-style: italic;
}

.bold {
    font-weight: 600;
}

.regular {
    font-weight: 400;
}

#ip-info span {
    font-weight: 800;
}

#iframe {
    height: 100%;
    width: 100%;
}

#proxy {
    font-weight: 800;
}

.proxy-protected {
    color: darkgreen;
}

.proxy-unprotected {
    color: red;
    position: relative;
    display: inline-block;
}

.proxy-unprotected:hover::after {
    white-space: nowrap;
    content: "Skru på VPN for å beskytte dataen din.";
    position: absolute;
    padding: 2.5px 5px;
    left: -30px;
    border-radius: 5px;
    font-size: 10px;
    color: white;
    background-color: rgb(73, 73, 73);
    top: -30px;
}

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.white-text {
    color: white;
}

.p {
    font-weight: 400 !important;
    font-size: 16px !important;
}

.light-font {
    font-size: 12px;
}

.quote {
    font-style: italic;
    text-align: center;
}

.border-lightgray {
    border: 1px solid lightgray;
}

.border-bottom {
    border: 1px solid lightgray;
}

.rank {
    font-size: 3.4rem;
    font-weight: 800;
    font-family: "Open Sans", sans-serif;
}

.leaderboard .rank {
    font-size: 2.5em;
}

.bg-white {
    background-color: white;
}

.bg-blue {
    background-color: #00273d;
}

.bg-lightblue {
    background-color: #f3f6fa !important;
}

.ranking {
    font-size: 1.5em;
    width: 100%;
    margin: 12px auto 0;
}

.ranking p {
    line-height: 25px;
}

.ranking * {
    width: 100%;
    text-align: center;
}

.checkmark {
    list-style: none;
    margin-bottom: 10px;
    font-weight: 600;
}

.article-list li {
    list-style-type: disc;
}

.checkmark::before {
    content: "\2713 \0020";
}

.bulletmark::before {
    content: "\2022 \0020";
}

.operative-system {
    padding: 0px 20px;
}

.operative-system li {
    float: left;
    list-style: none;
}

.operative-system img {
    width: 25px;
    height: 100%;
    margin: 0 5px;
}

#vpn-table {
    max-width: 1100px;
    margin: 0 auto;
    background-color: white;
}

.vpn-table {
    border: 0.5px solid rgb(235, 235, 235);
    height: 225px;
    padding: 15px 0;
    position: relative;
}

.vpn-table [class*="col-"] {
    min-height: 160px;
    padding-top: 10px;
}

.vpn-table:nth-of-type(-n + 2) [class*="col-"]:nth-of-type(2) {
    margin-top: -15px;
    padding: 0;
}

.vpn-table:hover {
    background-color: rgba(168, 232, 255, 0.137);
    border: 0.5px solid lightblue;
    cursor: pointer;
}

.vpn-table .checkmark {
    margin-top: 10px;
    line-height: 16px;
    font-size: 14px;
}

#bottom-promo {
    max-height: 150px;
    padding: 20px 10px;
}

.popup {
    position: absolute;
    top: 0;
    z-index: 996;
    width: 100vw;
    height: 200%;
    background-color: rgba(0, 0, 0, 0.7);
    display: none;
}

#popup-1 {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 996;
    width: 100vw;
    height: 200%;
    background-color: rgba(0, 0, 0, 0.7);
}

#popup-2 {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 996;
    width: 100vw;
    height: 200%;
    background-color: rgba(0, 0, 0, 0.7);
}

.popup-content {
    padding: 10px;
    max-width: 300px;
    margin: 50px auto;
    background-color: white;
    color: black;
    border: 1px solid gray;
    border-radius: 5px;
    text-align: left;
}

.info {
    display: inline;
}

#info:hover {
    cursor: pointer;
}

.number-ranking {
    font-size: 1.5em;
    padding: 20px 0;
    display: block;
    height: 100%;
}

.leaderboard .row {
    border-bottom: 0.3px solid lightgray;
    padding: 15px 5px;
}

.leaderboard .row:hover {
    background-color: rgba(216, 216, 216, 0.411);
}


.leaderboard p {
    margin: 0;
}

.mobile-img {
    height: 250px;
    width: auto;
    margin: 0 auto;
    display: block;
    padding: 10px 0;
}

.disclaimer {
    height: 100px;
    padding: 5px 0;
}

.disclaimer:hover {
    background-color: white !important;
}

.orange-button {
    background: -webkit-linear-gradient(
        top,
        rgba(255, 85, 0, 0.85) 0%,
        rgb(255, 85, 0) 100%
    );
    background: -moz-linear-gradient(
        top,
        rgba(255, 85, 0, 0.85) 0%,
        rgb(255, 85, 0) 100%
    );
    background: -ms-linear-gradient(
        top,
        rgba(255, 85, 0, 0.85) 0%,
        rgb(255, 85, 0) 100%
    );
    background: -o-linear-gradient(
        top,
        rgba(255, 85, 0, 0.85) 0%,
        rgb(255, 85, 0) 100%
    );
    box-shadow: rgb(170, 170, 170) 2px 2px 4px 0px;
    font-size: 1em;
    color: white;
    border: none;
    width: 100%;
    padding: 8% 0;
    font-weight: 600;
    border-radius: 2px;
    margin-bottom: 10px;
}

.green-button {
    background-color: #f8621e;
    box-shadow: rgb(148, 148, 148) 2px 2px 7px 0px;
    color: rgb(255, 255, 255);
    border-radius: 5px;
    border: none;
    width: 170px;
    display: block;
    margin: 10px auto;
    padding: 7% 0;
    font-weight: 800;
    letter-spacing: 1px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
}

article:first-of-type {
    padding-top: 40px;
}

#vpn-article-button {
    padding: 2% 0 !important;
}

.link-blue {
    color: #3537f5;
    font-weight: 400;
    text-decoration: underline;
}

.link-blue:hover {
    font-weight: 800;
}

.find-out-more {
    position: absolute;
    top: 63%;
    right: 7.2%;
}

.star-container {
    display: flex;
    font-size: 18px;
    justify-content: center;
    color: rgb(255, 206, 127) !important;
}

.star-container i {
    width: 13px;
    margin-right: 8px;
}

.review-box {
    border-right: 1px solid lightgray;
    border-bottom: 1px solid lightgray;
    border-left: 1px solid lightgray;
    box-sizing: border-box;
}

.review-box [class*="col-"]:first-of-type {
    border-right: 1px solid lightgray;
}

.review-box [class*="col-"]:nth-of-type(2) {
    padding-left: 15px;
    background-color: rgba(242, 242, 242, 0.3);
}

.review-box .operative-system {
    padding: 10px 0;
}

.review-box h4 {
    margin-bottom: 10px;
}

/* Expert */
.expert-card {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    width: 100%;
    text-decoration: none;
}

.expert-card img {
    border-radius: 50%;
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    object-fit: cover;
    object-position: 50% 10%;
}

.related-pages-container ul {
    padding: 0;
}

.last-modified {
    font-size: 12px;
    color: #727272;
    line-height: 1.2;
    margin: 0;
}

.published-date {
    font-size: 12px;
    color: #727272;
    margin-bottom: 0;
    line-height: 1.2;
    margin-top: 2px;
}

@media only screen and (max-width: 950px) {
    .toggle-display {
        display: none;
    }

    .menu {
        display: none;
        position: absolute;
        left: 0;
        top: 35px;
        width: 50vw;
        background-color: #222;
        height: calc(100vh - 35px);
        z-index: 999;
        padding-top: 32px;
    }

    .menu._opened {
        display: block;
    }

    .menu-close {
        position: fixed;
        align-items: center;
        justify-content: center;
        top: calc(64px + var(--wp-admin--admin-bar--height, 0px));
        left: calc(50% - 28px);
        z-index: 2;
        border: none;
        width: 24px;
        height: 24px;
        font-size: 0;
        margin: 0;
        padding: 0;
        background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none' viewBox='0 0 24 24'%3E%3Cpath stroke='white' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M18 6 6 18M6 6l12 12'%3E%3C/path%3E%3C/svg%3E") no-repeat center / contain !important;
    }

    .menu-close:hover {
        box-shadow: none;
    }

    .menu-close._opened {
        display: flex;
    }

    .menu-item {
        float: none;
        color: white;
        padding: 0.2rem;
        margin-left: 10px;
        margin-top: 10px;
    }

    .menu-item-has-children a {
        margin-bottom: 0;
    }

    .sub-menu {
        left: 46.7vw;
        top: -10px;
        padding: 0;
        white-space: nowrap;
        display: none;
        background: #222;
        z-index: 3;
        box-shadow: none;
    }

    .sub-menu li {
        margin: 0;
        width: 100%;
    }

    .sub-menu li:hover {
        background: none;
    }

    .sub-menu a {
        float: none;
        color: white;
        margin: 0;
        padding: 12px 0px;
        text-decoration: none;
        display: block;
        background-color: #222;
        text-transform: none;
    }

    .sub-menu a:hover {
        color: white;
    }

    #burger-menu {
        display: block;
        font-size: 2em;
        margin-top: 8px;
        position: fixed;
        user-select: none;
    }

    #best-seller {
        border: none;
    }

    .exit {
        font-size: 1em;
        display: block;
        width: 200px;
    }

    .main-title {
        font-size: 30px;
    }
}

@media only screen and (max-width: 850px) {
    #overlay {
        display: none;
    }

    #add {
        left: 0;
    }
}

@media only screen and (max-width: 780px) {
    .top-menu .checkmark {
        font-size: 13px;
    }

    #add-disclaimer {
        width: 300px;
    }

    article {
        padding: 0;
    }

    p {
        line-height: 1.5em;
    }

    form * {
        width: 100% !important;
    }

    .logo-container {
        left: 5%;
    }

    .ranking {
        margin-top: 15px;
    }

    .ranking * {
        font-size: 16px;
    }

    .rank {
        font-size: 32px;
    }

    .button-container {
        margin: 0px auto;
        max-width: 350px;
        float: none;
    }

    .vpn-img-container {
        width: 150px;
        margin: 10px auto;
    }

    .orange-button {
        margin-top: 0;
        padding: 5% 0;
    }

    .blogg-table {
        width: 100vw;
    }

    #article-floater .orange-button {
        padding: 15px 5px;
        font-size: 2vw;
        margin-top: 10px;
    }

    .article-list li {
        font-size: 16px;
    }

    .vpn-table {
        border: 1px solid lightgray;
        margin: 5px 0;
        text-align: center;
        padding-top: 10px;
        height: 350px;
    }

    #vpn-table {
        padding: 10px;
    }

    .vpn-table [class*="col-"] {
        min-height: auto;
        padding-top: 0;
    }

    .vpn-table .full-img {
        width: 80%;
    }

    #bottom-promo {
        max-height: 400px;
        margin: 0 auto;
        padding: 10px 40px;
    }

    .popup-content {
        top: 20%;
        left: 25%;
        max-width: 300px;
    }

    .sm-link {
        display: flex;
        flex-wrap: wrap;
        text-decoration: none;
    }

    .sm-text-center {
        text-align: center;
    }

    .sm-text-right {
        text-align: right;
    }

    .info {
        font-size: 12px;
    }

    .vpn-article-img {
        width: 100%;
        height: auto;
    }

    #review-header {
        border: none !important;
        padding: 10px 40px;
    }

    .review-box {
        border: none;
    }

    .review-box [class*="col-"]:first-of-type {
        border: none;
    }

    .review-box [class*="col-"]:nth-of-type(2) {
        background-color: transparent;
    }
}

@media only screen and (max-width: 420px) {
    .main-title {
        white-space: normal;
    }
}
